Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
winrid
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
42 ms
·
841.
▲
by
winrid
3y ago
Yeah, the 2020 Tiguan I just got averages 27 if I'm lucky. You'd probably have to get a Honda CRV or something smaller like that.
842.
▲
by
winrid
3y ago
My 2015 Chevy Colorado has a backup camera, but the screen is not a touch screen. Base model (with optional heated seats) FTW :)
843.
▲
by
winrid
3y ago
I think when I was 17 some old guy asked me why I hadn't changed my oil yet* and I said I hadn't got around to it. He ran into his shed and came out with a round piece of wood that said "to it" on it... So I changed the
844.
▲
by
winrid
3y ago
By the way, you can also get a little 1000-2000 watt inverter on Amazon for less than $200. It can run off your car battery. Great for emergencies, cheaper than a generator for short term usage. I've used mine to run a stick welder and
845.
▲
by
winrid
3y ago
Nice :)
846.
▲
by
winrid
3y ago
I imagine a future where viruses that target infrastructure could be LLM powered. Sneak a small device into a power plant's network and it collects audio, network traffic, etc and tries to break things. It would periodically reset and
847.
▲
by
winrid
3y ago
This is true, but it's easy for them to weasel out of those questions.
848.
▲
by
winrid
3y ago
Having a little UPS handy might be useful if you have power outages. You could just plug the machine into it to unlock it. Ridiculous, but an idea.
849.
▲
by
winrid
3y ago
That's cool, but 200k is pretty low. Also 10ms with logn and indexes hot in memory should be able to sort through a billion or so index keys at least
850.
▲
by
winrid
3y ago
Aw, was hoping for live.
851.
▲
by
winrid
3y ago
Right, sorry, forgot that. Edited!
852.
▲
by
winrid
3y ago
wow! how big was the WAL? what kinda IOPS/disks are you using?
853.
▲
by
winrid
3y ago
Steam also does not allow GPL licensed code: https://partner.steamgames.com/doc/sdk/uploading/distributin... Edit: if you want to link against SteamWorks
854.
▲
by
winrid
3y ago
This, used race cars are cheap. Always buy your first one.
855.
▲
by
winrid
3y ago
I know of teams that spent over a year trying to build a generic import system on streams, at multiple companies, and in both cases they should have just stood up a simple service on boxes with a lot of ram and auto scaling. Load CSV into m
856.
▲
by
winrid
3y ago
I get what they're trying to do but I'm not sure this [0] syntax is the answer. [0] https://github.com/redplanetlabs/twitter-scale-mastodon/blob...
857.
▲
by
winrid
3y ago
Someone was maintaining a MySQL build for OS/2 up until 2019!? https://hobbes.nmsu.edu/?path=%2Fpub%2Fos2%2Fserver%2Fdataba...
858.
▲
by
winrid
3y ago
True, but regular water rarely harms circuit boards for a one time exposure. Salt water, or soda, on the other hand... What Apple really needs is a USBC taste tester :)
859.
▲
by
winrid
3y ago
I really knocked a smile off a CTO once when I said I wanted to have another kid.
860.
▲
by
winrid
3y ago
One thing a timer does is it gamifies it. This helps keep me focused. Probably same the psychology used in crappy mobile games ^_^ Sometimes I do go over, too, but I try not to. I try to have something to look forward to afterward (play wit
861.
▲
by
winrid
3y ago
Yep! No effort required. My first experience with this was with a girl in my teenage years, and we were doing some hand game that I forget now, and she's like "don't worry, tomorrow you'll know how to do it" (????)
862.
▲
by
winrid
3y ago
I saw an infra guy using 2fa with the desktop app and had the same reaction. Like wait, why is that a thing...
863.
▲
by
winrid
3y ago
I like to set a timer. "One hour to figure this out". Then I don't work on it for another day/week. The brain solves problems during sleep, no need for me to stress out. :)
864.
▲
by
winrid
3y ago
He's most likely using SQLite per account, because that's the easiest way to have an offline DB and sync it, which will most likely scale perfectly fine with appropriate indexes as long as you are careful about the feature set.
865.
▲
by
winrid
3y ago
Python with types is indeed great.
866.
▲
by
winrid
3y ago
I agree that the simplest solution in each language is the best way to compare - however this problem seems less about showing off java and more about challenging folks.
867.
▲
by
winrid
3y ago
Putting everything in a class has some really nice benefits. For example, for performance monitoring/debugging, it's really nice to see memory usage and thread creation by package/class. Whereas, I've seen teams spend
868.
▲
by
winrid
3y ago
have you worked with any compiled languages? It's not much different. It can get a lot worse ^_^. Java's one of the best languages to work in IMO.
869.
▲
by
winrid
3y ago
Yes, just read a file in chunks and spread the math across cores. How many ways could you possibly implement that?? :)
870.
▲
by
winrid
3y ago
Wow, that's pretty fast considering how simple main.cc looks. I do love c++. Nice use of coroutines, too.
More ›