Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ludocode
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
91.
▲
by
ludocode
5y ago
I think the idea is that this is the shortest game where the loser makes no mistakes. The four turn game in TFA has the loser making no decisions whatsoever. Of course it ignores the auction rule, but it could be amended to say the loser bu
92.
▲
by
ludocode
5y ago
Why would it be absurd for the game to require that? It could just require that the person landing on it bid $1 as penalty for landing there. Seems perfectly reasonable to me. Besides, you can always immediately mortgage a property so it&#x
93.
▲
by
ludocode
5y ago
I mean they weren't "forced" to use anything. They chose the chip. If they had different requirements they could have chosen a different chip. Most likely they just used the specific kernel version with closed binary blobs fr
94.
▲
by
ludocode
5y ago
> - PIA is much better designed for privacy than many competitors I used Private Internet Access for a long time. When they merged with Kape Technologies (resulting in the ludicrous situation of having Mark Karpelès as their CTO) I lost
95.
▲
by
ludocode
5y ago
There is a lot of truth to this. I'm generally good at avoiding this at work but I devolve into "DIY everything" in all of my side projects. It's certainly not the most productive way of producing software but it's
96.
▲
by
ludocode
5y ago
I built Pottery, a C template library. It provides vectors, hash tables, binary search trees, priority queues, sort algorithms, etc. https://github.com/ludocode/pottery These templates are composable: high-level templa
97.
▲
by
ludocode
5y ago
At least for Falcon 9, this is true even at minimum thrust. They don't have the ability to hover at all. The rocket is so light when empty that the thrust of a single engine at minimum throttle during landing is enough to make it take
98.
▲
by
ludocode
5y ago
This would require adding the force of drag to the dynamics timestep, since the purpose of the belly-flop (after re-entry) is to minimize terminal velocity by maximizing drag. Currently his solver assumes no drag. Calculating the drag on an
99.
▲
by
ludocode
5y ago
Another Earth is what I would call "fake sci-fi". The other Earth in the movie has almost no impact whatsoever on the story. It doesn't affect anything, the characters don't really react to it in any way, and the movie e
100.
▲
by
ludocode
5y ago
Wargames is a great hacking movie. The ending is a little meh, but the old-school tech is fantastic. It inspired the video game DEFCON. Sneakers is another great movie. It seems a lot more faithful to how hacking works in real life: as you
101.
▲
by
ludocode
5y ago
I use a normal dotfiles repository with an install script that symlinks files out. My solution for multi-machine is that the install script just checks for a file suffixed by -$HOSTNAME to link instead: install() { SRC=$DOTFIL
102.
▲
by
ludocode
5y ago
That's nice, until you accidentally type "git clean -fdx" into the wrong terminal and nuke your home directory. I would be way too scared to have all my files be untracked in an unclean repo.
103.
▲
by
ludocode
5y ago
Yep same. How does a bare repository make it simpler if you have to run a setup script anyway? A setup script can be as simple as this: #!/bin/sh mkdir -p ~/.config ln -sf ~/.dotfiles/vim ~/.vim
104.
▲
by
ludocode
5y ago
I agree. Some of the most violent criminals can't ever be re-integrated into society, so the only alternative is life imprisonment. I've seen many arguments that this is preferable to the death penalty because "We will accide
105.
▲
by
ludocode
5y ago
He is either delusional or he's lying. How else can you explain his claim that labor has prevailed? As Amazon and Tesla employees fail to unionize, as Uber buys a law to avoid treating their drivers as employees, as the Democrats fail
106.
▲
by
ludocode
5y ago
This statistic is misleading. The U.S. government defines the poverty line based on a 1955 model of spending patterns. It's completely inadequate for modern needs. The poverty line for a family of four is defined as a household income
107.
▲
by
ludocode
5y ago
> You would think, after having been on the side of labor in its fight with capital for almost two centuries, that the far left would be happy that labor has finally prevailed. But none of them seem to be. You can almost hear them saying
108.
▲
by
ludocode
5y ago
Yes! The include style of templates in C is way better than the old way of huge macros to instantiate code. The template code can look mostly like idiomatic C, it interacts way better with a debugger, it gives better compiler errors... ever
109.
▲
by
ludocode
6y ago
There are many reasons why it's lame! Here's a short list: - There is only one global hash table for the whole process! If you want individual hash tables you need to use implementation-specific extensions (hcreate_r().) - There i
110.
▲
by
ludocode
6y ago
hcreate_r() can be used on some of the BSDs as well, but of course they're not 100% compatible with GNU. I've implemented a platform-independent POSIX hsearch as a wrapper to a templated hashtable in Pottery: https://gi
111.
▲
by
ludocode
6y ago
Ah wow, thanks for the tip. I guess you can edit the root group to change it globally? Thanks, I'll try this.
112.
▲
by
ludocode
6y ago
I tried using this but the final "enter" made me too uncomfortable. I really wish it was optional so I could verify where it just typed the password before submitting. After accidentally sending my password in the wrong field/
113.
▲
by
ludocode
6y ago
> actively building the largest and most advanced factories on every major continent They are not the most advanced factories, not even close. Tesla uses much more human labor per vehicle than its competitors; the "alien dreadnought
114.
▲
by
ludocode
6y ago
> I don't think this will happen. Do you mean you don't think they'll compete with Twitch, or you don't think they'll compete with Steam and Amazon? Personally I think investing in GME today is no different than
115.
▲
by
ludocode
6y ago
These options are already in lots of parsers. That's part of why this proposal is attractive: we don't need much to start using it. In fact I've been using JSON with comments and trailing commas in my own projects a lot alrea
116.
▲
by
ludocode
6y ago
I wholeheartedly agree with this idea. In case anyone wants a fast C++ parser for this, RapidJSON [1] has optional support for comments and trailing commas; I actually added trailing comma support to it. I did this to support hand-writing g
117.
▲
by
ludocode
6y ago
This seems like the worst solution of all. You've just added a bunch of shift keypresses and a ton of difficulty remembering what letters are uppercase for very little extra entropy. Each coin flip is just one bit. Part of the thesis o
118.
▲
Diceware Is (Slightly) Overrated
(ludocode.com)
1 points
by
ludocode
6y ago
|
2 comments
119.
▲
by
ludocode
6y ago
This has not been my experience with Netflix at all. I regularly unsubscribe and resubscribe later. Unsubscribing is always just a click of a button and I've never had to speak to anyone at Netflix for anything. Incidentally they also
120.
▲
by
ludocode
6y ago
My wife and I are moving into a smaller house in six weeks. We're trying to get rid of around half of our stuff and almost all of it has been going to the Buy Nothing group. It's been fantastic. So many things I'll say "
More ›