Better HN
topnewbestaskshowjobs
Log inSign up

VikingCoder

8,119 karma · joined Oct 11, 2011 (15y ago) · 2,990 submissions

Submissions

comment 9mo ago · link · parent

It'll be nice to see how quickly I burn through this free money with auto-reload off.

Unless they somehow say, "You owe us $181,902, bucko! Turning off auto-reload just meant 'Don't add more money to pay off your debt!' It didn't mean, 'Don't incur more debt!' SUCKER!"

comment 9mo ago · link · parent

The World Factbook wasn't prone to hallucinations, intentional omissions, the whims of billionaires, or the unstated goals of astroturfing groups.

If the government has somewhere to tell you what it thinks is true, you can use that to double-check another part of the government that's misleading you on that same data. You can also double-check it against other sources of truth to gain insight about potential manipulation in one or more of the systems.

Here's one hot take:

https://tcf.org/content/commentary/a-well-informed-electorat...

comment 10mo ago · link · parent

I suck at electronics, so -

Could you possibly make a modern cell phone that runs off of rechargeable AA batteries?

How many would it take to have roughly the same amount of screen time?

ChatGPT says it's a bad idea, but roughly I'd need 10 AA batteries and a boost converter.

comment 10mo ago · link · parent

I made an Actually Portable Executable web server out of this. You download one file, and it can run on many different systems.

https://github.com/MattCruikshank/emu_ape

I'm trying to set it up so you can add roms to a folder, and it'll use them. (Remember Actually Portable Executables are ZIP files, too!)

comment 10mo ago · link · parent

I've got it working. Used Mongoose. Unfortunately Actually Portable Executables seem to not play well with WSL, and the suggested fixes didn't work. I'm able to play with it in a VM. Not as portable as I'd hoped, but I'll see how it goes.

comment 10mo ago · link · parent

I desperately want to write C/C++ code that has a web server and can talk websockets, and that I can compile with Cosmopolitan.

I don't want Lua. Using Lua is crazy clever, but it's not what I want.

I should just vibe code the dang thing.

comment 10mo ago · link · parent

If I'm not mistaken, there was not supposed to be a standing army.

If you have a standing army, that creates a whole rats nest of problems.

And ps, I've talked to people who think we shouldn't have a standing army, and I frankly think they're insane.

comment 10mo ago · link · parent

I'd like to start with something that works, and then make it affordable.

Rather than start with something free, that demonstrably doesn't work where it needs to.

comment 10mo ago · link · parent

Please, sell me a USB-C device that gives me mesh networking on my phone.

I'd like a Small, Medium, and Large option. Ideally, each would have a passthrough charger, so I can charge my phone even with the device plugged in to my phone.

The Small is just the device, and I guess it would drain my phone's battery. The Large would have a 25,000mAh and be just small enough to legally take on an airplane in the United Stated. The Medium has a smallish battery, maybe?

Give me what you can. Wifi. FRS. CB. LoRa. The ability to switch between those? The ability to broadcast across all of those in some spread-spectrum broadcast?

Make me use your special App that I have to install on my phone.

Make the device also act like a storage device. The Small has usb storage big enough to store the APK for the app for me to side-load.

The Large has enough usb storage for, I dunno, all of Wikipedia and medical texts, and open maps, and a few other things, and the Kiwix app to side-load.

Make the Medium and the Large also be able to be a hotspot, for other people nearby to be able to connect to, so they can download the app and browse Kiwix, and send messages through my phone? Or just let my phone be that hotspot, I guess?

And most importantly, give me messaging. Secure point-to-point, exchanging keys by touching our phones together, or using QR codes, or something.

Or broadcast messaging. With configurable repeating.

And then make the Base Station version of this, which has solar panels, and a battery, and it's just a repeater. You install and forget.

If you're only going to build one thing, build the Small version I described. Next, I guess, would be the Base Station. Next would be the Large.

Where is the Kickstarter? I'll back it right now. I'll buy 2 Large, 6 Small, and 4 Base Stations. Right now.

comment 10mo ago · link · parent

Fuck cancer.

comment 10mo ago · link · parent

cat StarWars.mkv > claude "Make Leia the hero Jedi warrior, and Luke the handsome prince she rescues" > vlc

comment 10mo ago · link · parent

Does it help get repeatable results if you say, "Use a random seed of 42 for this task"? Or if you somehow lower the temperature, so it's more deterministic?

comment 10mo ago · link · parent

I've daydreamed the same thing.

I can picture my family of four getting on our PJs and hopping in a sleeper car on Friday night. We tell the car if we need to stop for a restroom, or anything else...

And we wake up on Saturday morning, up to eight hours away from home (were we allowed to go 90 mph? Or more?) And then we spend all day Saturday, all day Sunday, enjoying some town. Sunday night, we put on our PJs and hop in the sleeper car. We wake up Monday morning back at home, the kids go to school, and the adults go to work.

I could get to Duluth, Charleston WV, Sioux Falls, Toronto, Pittsburgh.

comment 10mo ago · link · parent

In an alternate universe, pi is rational, and Jeff Dean is not.

comment 10mo ago · link · parent

I think you're very close to being right...

But I think "Fuck you money" implies, "I honestly don't have to worry about money, ever again."

Now, we all have different definitions for that, but the kind of thing I was talking about is definitely not "Fuck you money," to me.

I think if I had "Fuck you money," my best friends and close family would all have their medical debts paid off. I think my parents and in-laws would have their mortgages paid off.

comment 10mo ago · link · parent

FIYNTBOM

Financial Independence, You're Not The Boss Of Me.

Once you're financially independent, at a level that you're comfortable with, you don't have to put up with crappy bosses.

If you're Sergey Brin, you kind of don't really have a boss, do you?

If you "retire" into working at a hardware store, or volunteering at the Humane Society, or just shifting into a lower-stress job...

Well, that's the dream, isn't it?

I was so happy when I realized that, unless there were dramatic shifts in the markets, I would always be able to find "decent" work for great wages. And maybe I could be patient and find "good" work for "pretty great" wages.

Once I had that level of comfort, I was way, way more brave at work. I thought, "Well, they could fire me for their own reasons, any day. So, I might as well do The Right Thing™. If they fire me for doing The Right Thing™, well, I didn't really want to work there anyway, did I?"

And then there were dramatic shifts in the markets, lol. But fortunately for me, I had built up a nest egg, and now I've shifted into a lower-stress job.

I honestly don't know what advice I'd give to younger folks. Move to Norway?

comment 11mo ago · link · parent

I'd love a landscape keyboard for my Pixel 8 in landscape mode.

Oh well.

comment 11mo ago · link · parent

I don't know what you'd call something structured like this, but I really love that advice:

"You can't change the people around you -

But you can change the people around you."

comment 11mo ago · link · parent

Did you grab lunch at Smitty's?

I live 5 miles west of the maker space in the last photo, and I've been thinking about getting some Meshtastic nodes...

comment 11mo ago · link · parent

Where are my Jacobian Texels?

comment 11mo ago · link · parent

Just out of curiosity, what happens when you buy a gift card for Toys R Us or Red Lobster or K-Mart, and then the company goes out of business?

comment 11mo ago · link · parent

I think Tailscale shares is what we currently are supposed to use?

You share some "semi-public" host with all of your friends...

And then you're not necessarily chatting with famous people, but you can have a near-and-dear-social network of people you actually know...

comment 11mo ago · link · parent

Hi, sure, you can say, "I will always view the world through the eyes of Game Theory."

But don't forget, we discovered Nash Equilibrium, which changed how people behaved, in many interesting scenarios.

Also, from a purely Game Theoretic standpoint... All kinds of atrocities are justifiable, if it propagates your genes...

comment 11mo ago · link · parent

In college, we printed out the screenplay, and picked parts, and read it together. It was tremendous fun. Highly recommended.

comment 11mo ago · link · parent

You need to scroll the windows to see all the numbers. (Why??)

comment 11mo ago · link · parent

·puᴉɯ oʇ ǝɯoɔ ʇɐɥʇ sʇuoɟ ɹǝɥʇo ǝɹɐ ǝɹǝɥꓕ

comment 11mo ago · link · parent

Boids, Game of Life, Genetic Algorithms, Pixel Shaders...

All so satisfying to play with.

One of my favorites was when I was sure I was right about the Monty Hall problem, so I decided to write a simulator, and my fingers typed the code... and then my brain had to read it, and realize I was wrong. It was hilarious. I knew how to code the solution better than I could reason about it. I didn't even need to run the program.

comment 11mo ago · link · parent

Can I ask for a Starfleet Commbadge form factor?

comment 11mo ago · link · parent

In grad school, I wrote an ant simulator. There was a 2D grid of squares. I put ant food all over it, in hard-coded locations. Then I had a neural network for an ant. The inputs were "is there any food to the left? to the diagonal left? straight ahead? to the diagonal right? to the right?" The outputs were "turn left, move forward, turn right."

Then I had a multi-layer network - I don't remember how many layers.

Then I was using a simple Genetic Algorithm to try to set the weights.

Essentially, it was like breeding up a winner for the snake game - but you always know where all of the food is, and the ant always started in the same square. I was trying to maximize the score for how many food items the ant would eventually find.

In retrospect, it was pretty stupid. Too much of it was hard-coded, and I didn't have near enough middle layers to do anything really interesting. And I was essentially coming up with a way to not have to do back-propagation.

At the time, I convinced myself I was selecting for instinctive knowledge...

And I was very excited by research that said that, rather than having one pool of 10,000 ants...

It was better to have 10 islands of 1,000 ants, and to occasionally let genetic information travel from one island to another island. The research claimed the overall system would converge faster.

I thought that was super cool, and made me excited that easy parallelism would be rewarded.

I daydream about all of that, still.

12345
100