Readit News logoReadit News
stirfish commented on Don't pick weird subnets for embedded networks, use VRFs   blog.brixit.nl/dont-pick-... · Posted by u/LorenDB
mindslight · 5 days ago
The real official answer is to register/allocate a new subnet, with no intention of putting it into the global routing tables. IPv6 only comes into play because doing that with IPv4 is mostly impractical these days.

The author lost me when they got into raw iproute commands. Not because I'm not acquainted (I run my own custom complex router using a standard Linux distro). But rather if someone knows enough to configure things at this level, then they would just come to this solution on their own. Most people trying to solve this problem will not - eg think that mobile video rack belonging to a touring musician.

Readily-accessible solutions I can come up with off the top of my head:

1. Two off the shelf routers and double NAT. The middle network can be changed if it conflicts with the outer network

2. One router/NAT, but two IP networks on the inner network - one statically assigned for devices to communicate with each other, and one assigned via DHCP for accessing the horizon through NAT. That second network can then easily be changed.

3. Play battleship more strategically using class E address space, DOD/BigCo address space, and/or smaller subnets in the middle of the customary size for a range (eg 192.168.1.160/27).

stirfish · 4 days ago
I've been using a router as 4.20.69.1. It's good to hear other solutions, as I've just been figuring it all out as I go along
stirfish commented on Claude Code is all you need   dwyer.co.za/static/claude... · Posted by u/sixhobbits
thewebguyd · 15 days ago
> For me LLM:s are just a computer interface you can program using natural language.

Sort of. You still can't get a reliable output for the same input. For example, I was toying with using ChatGPT with some Siri shortcuts on my iPhone. I do photography on the side, and finding a good time for lighting for photoshoots is a usecase I use a lot so I made a shortcut which sends my location to the API along with a prompt to get the sunset time for today, total amount of daylight, and golden hour times.

Sometimes it works, sometimes it says "I don't have specific golden hour times, but you can find those on the web" or a useless generic "Golden hour is typically 1 hour before sunset but can vary with location and season"

Doesn't feel like programming to me, as I can't get reproducible output.

I could just use the LLM to write some API calling script from some service that has that data, but then why bother with that middle man step.

I like LLMs, I think they are useful, I use them everyday but what I want is a way to get consistent, reproducible output for any given input/prompt.

stirfish · 15 days ago
For things where I don't want creativity, I tell it to write a script.

For example, "write a comprehensive spec for a script that takes in the date and a location and computes when golden hour is." | "Implement this spec"

That variability is nice when you want some creativity, e.g. "write a beautiful, interactive boids simulation as a single file in html, css, and JavaScript."

Words like "beautiful" and interactive" are open to interpretation, and I've been happy with the different ways they are interpreted.

stirfish commented on What's your favorite CLI tool for integrating LLMs into your terminal workflow?    · Posted by u/menisadi
stirfish · 15 days ago
I discovered two days ago that you can pipe directly into ollama. Like

cat idea.txt | ollama run "$MODEL" " Write a comprehensive spec from this prompt" | ollama run "$MODEL2" "Implement this spec"

stirfish commented on Running GPT-OSS-120B at 500 tokens per second on Nvidia GPUs   baseten.co/blog/sota-perf... · Posted by u/philipkiely
XCSme · 19 days ago
That's true, but the data is only approximately represented in the weights.

Maybe it's better to have the AI only "reason", and somehow instantly access precise data.

stirfish · 15 days ago
Is this Retrieval Augmented Generation, or something different?
stirfish commented on Grok 4 is now free for all users worldwide   twitter.com/xai/status/19... · Posted by u/tosh
gkoos · 16 days ago
Yep, what's the catch?
stirfish · 15 days ago
The catch is mechahitler
stirfish commented on Read your code   etsd.tech/posts/rtfc/... · Posted by u/noeclement
nsxwolf · 22 days ago
Might as well have it code in assembler then. Get the performance boost.
stirfish · 22 days ago
Too many tokens, imo.

I like to vibe code single self-contained pages in html, css, and JavaScript, because there's a very slim chance that something in the browser is going to break my computer.

stirfish commented on Names are not type safety (2020)   lexi-lambda.github.io/blo... · Posted by u/azhenley
b_e_n_t_o_n · 22 days ago
Hmm, IME the preferred type systems are structural - a function shouldn't care what the name is of the struct passed to it, it should just work if it has the correct fields.
stirfish · 22 days ago
> should just work if it has the correct fields.

Correct fields by...name? By structure? I'm trying to understand.

stirfish commented on The Ski Rental Problem   lesves.github.io/articles... · Posted by u/skywalqer
newsclues · 22 days ago
This is what I recommend to people who are interested in a new expensive hobby. Try it before you buy it, make sure you love it and get an idea of what you like and plan your investment from there.
stirfish · 22 days ago
For tools, I buy the cheapest one. If (when) it fails, I replace it with one that is better along the metric that the original failed in.

For hobbies, they say "buy once, cry once", but there are so many ways to be unhappy! I won't limit myself! I say buy all, cry all, and learn all the different ways to cry. I don't ski, but for the analogy, I'd try short ones, long ones, cross country ones, racing ones, red ones, blue ones, etc and then only buy really nice ones once I understand exactly what the nice ones do that the others don't. There's a good chance that I'll learn I like skis more than I like skiing, and that's okay.

stirfish commented on Browser extension and local backend that automatically archives YouTube videos   github.com/andrewarrow/st... · Posted by u/fcpguru
rpdillon · 23 days ago
> I don't get around to using plenty of things for the first time a year after I've purchased them

Examples always tell the story! Can you give two or three?

stirfish · 23 days ago
1. For consumables like film, or semi-consumables like storage media, I may buy it and sit on it for a while.

2. I might get a new [thing], but not make it to the [place where I can safely use [thing]] for a while

3. Videogames, or games in general

4. Idk sometimes I get depressed

stirfish commented on Browser extension and local backend that automatically archives YouTube videos   github.com/andrewarrow/st... · Posted by u/fcpguru
danieldk · 24 days ago
I am the exact opposite and sell or throw away pretty much everything that I don't use. I find that doing so not only clutters the house less, but also gives you less to worry about.

My general rule is - if I didn't use it for a year, I don't need it. There are obviously some exceptions like a fire extinguisher (which I hope to never use) and digitized photos, which only go through a careful selection.

I think the thing I kept the longest was a Libranet Linux 3.0 CD set because I worked for Libra Computer Systems for a while and this was the release that I helped building. A few years ago I threw it away, I think after I saw someone uploaded it to archive.org. When I'm 60 and want to install it again for good old time's sake I can.

tl;de: if you don't use something for a year, you probably don't need it.

stirfish · 23 days ago
I'll will be buried with my box of miscellaneous cables.

u/stirfish

KarmaCake day460March 25, 2021
About
pronounced like an adjective
View Original