Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
winrid
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
27 ms
·
601.
▲
by
winrid
2y ago
Hit a wall because they didn't want to buy faster disks? What hardware were they running?
602.
▲
by
winrid
2y ago
The latency advantage is nothing compared to the advantage you can get with a better query planner.
603.
▲
by
winrid
2y ago
You mean like a cyrex 6x86? 0.0
604.
▲
by
winrid
2y ago
And yet, if you want to actually lubricate things, there are much better, cheaper, options that will last longer. It's just marketing.
605.
▲
by
winrid
2y ago
Yes, I've used ATF to fix seized up motors. Just fill cylinder and let it sit for a few days.
606.
▲
by
winrid
2y ago
The dynamic aspect of Python is once again probably the major penalty here. One major difference here is that in Python you can overwrite min(), so it has to access this function through more abstraction, but not in PHP. I bet PyPy is close
607.
▲
by
winrid
2y ago
Actually even on a modern CPU that property lookup does add another ~10% penalty. Granted it's like a .1 second difference out of a second runtime for 10m iterations, but it's measurable! Although I wouldn't be using python o
608.
▲
by
winrid
2y ago
Sure, let's benchmark it :) It is consistently around 8% to 15% faster on 3.10.12 and 3.11 for me. On 3.12.5 (latest) I seem to get the same result. https://www.online-python.com/B6AgKW5zod (please copy the code to you
609.
▲
by
winrid
2y ago
Also I imagine the dict lookup for the module is the slow part? So declaring in local scope just removes a dict lookup? I am by no means a python expert :) I just use it occasionally.
610.
▲
by
winrid
2y ago
> It does have to walk the locals and the globals scopes right, this is what I meant.
611.
▲
by
winrid
2y ago
AFAIK this is because CPython has to walk the scope up to find the import for every call in your loop, and still applies to python3, right? You can still use the built in min, just create a "closer" reference before your loop for
612.
▲
by
winrid
2y ago
> I like jumping in to help where it's needed, even on the front-end Did you say this in the interviews? Even if you said you don't do frontend, if you said this too, that's why. I'd try to apply to jobs with titles
613.
▲
by
winrid
2y ago
I've never seen this. At all startups I've been at, there were either frontend, backend, or FS people, but the separation and ownership was clear. They wouldn't waste a Java Dev's time assigning them CSS stuff, that'
614.
▲
by
winrid
2y ago
I use it on Windows and Linux for game development, mostly, with Meson or Cmake.
615.
▲
by
winrid
2y ago
CLion has a free trial you can try. I find it works really well. I use it on a 6yo laptop quite often for C++.
616.
▲
by
winrid
2y ago
which is neat because I have absolutely no memory for music. I love music, but I could never recall a single song in entirety other than simple ones I currently sing our kid.
617.
▲
by
winrid
2y ago
Yeah, my goal at some point was to add animations and stuff, and then I'd do something like you're doing. But I moved onto other projects :)
618.
▲
by
winrid
2y ago
I see what you're doing is submitting shapes over the wire. That's a bit different than what a pixel art application has to do, unless we were doing like color fill and stuff, which it doesn't support. Every pixel you draw it
619.
▲
by
winrid
2y ago
These are fun projects. About six years ago I launched Pixmap on android, which is a little collaborative pixel editing app, supporting larger images (like 1024x1024 grids etc). I had a queue that would apply each event to png images, and t
620.
▲
by
winrid
2y ago
anyone know, for example where this is already done with Bun, how this impacts startup times with large applications?
621.
▲
by
winrid
2y ago
Thanks. Also, interesting, so this all runs on the client?
622.
▲
by
winrid
2y ago
You talk a lot about performance in this thread but I haven't seen any numbers. What is the performance requirement before it's "too slow"? On what data size? Part of your issue is doing the calculation on read. If you c
623.
▲
by
winrid
2y ago
link training does have an impact, but regardless of link training it looks like many users still report 15+ seconds before ever reaching the bootloader: https://www.reddit.com/r/buildapc/comments/1815vyr/
624.
▲
by
winrid
2y ago
Did you use AM5? It was hardly without issues, with users experiencing 30+ second POST times. I'm not even sure that's fixed yet with most motherboards OOTB.
625.
▲
by
winrid
2y ago
This discussion around adding shadows to window boarders in imgui is also interesting: https://github.com/ocornut/imgui/issues/1329
626.
▲
by
winrid
2y ago
Just tap the map once on mobile to refresh it seems.
627.
▲
by
winrid
2y ago
Remember to increase the buffer pool size to use that ram!
628.
▲
by
winrid
2y ago
You can volunteer for comms at stage rallies, we always need volunteer hams. My first stage rally experience, over 10yrs ago now, was sitting around the campfire in the Mendocino forest with a bunch of hams the night before the event. They
629.
▲
by
winrid
2y ago
But not dedicated ones
630.
▲
by
winrid
2y ago
Yeah you can get a refurbished Dell Optiplex for about $100 w/ keyboard, mouse, and wifi adapter, and should have a passmark score of around 6k (for reference the i7 in thinkpad x1 carbons from 2018 has a passmark score of 8k). I got o
More ›