Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
winrid
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
42 ms
·
811.
▲
by
winrid
3y ago
These were all pretty easy optimizations though!
812.
▲
by
winrid
3y ago
I did find that my RSI etc was always way worse doing work I hated. Maybe there's some kinda feedback loop there, or with stress. Been almost gone since I got into better jobs.
813.
▲
by
winrid
3y ago
Maybe the early 70s Zinsco electrical panel my landlord refuses to replace? :P
814.
▲
by
winrid
3y ago
I imagine the asbestos is sealed inside? Don't chew the fridge. Also old fridges inefficiency mostly comes from two things. The seals on the door, which you can replace, and 2nd the compressors are less efficient. Why are they less eff
815.
▲
by
winrid
3y ago
I love the comment on the video pointing out that the sound started as a beep and has gotten drawn out over the years. Some old machinery in a closet somewhere slowly failing. Wonder if it's some worn out capacitors in the noise genera
816.
▲
by
winrid
3y ago
It's a neat idea but it's most likely just a marker so nobody else uses the frequency.
817.
▲
by
winrid
3y ago
It doesn't need to be developed... An int isn't going to store a String in Java because of a bug, that doesn't require further development.
818.
▲
by
winrid
3y ago
I will say that WebEx has worked every time I've used it.
819.
▲
by
winrid
3y ago
The client still has references to AngularJS in the source (as of last month anyway)...
820.
▲
by
winrid
3y ago
Use message sent date for one, and check how late messages are arriving. If late, ping a status check endpoint.
821.
▲
by
winrid
3y ago
The sanity checks don't add up to much with speculation etc. Since the Rust compiler has more information about memory management it can optimize some things a c++ compiler can't. Also, you can write unsafe rust just like c++ and
822.
▲
by
winrid
3y ago
> Libraries like But this is already solved by so many other runtimes... Without a library..
823.
▲
by
winrid
3y ago
Also, TS type checking is not at run time (with NodeJS). So some library could allow unsanitized data as a wrong type etc. at least with Python it'd fail fast.
824.
▲
by
winrid
3y ago
That's interesting. But no. I can write queries so fast with the Django ORM it's silly. Especially dealing when dealing with relationships... Pycharm will auto complete like 4 levels of joins in two seconds. That's faster tha
825.
▲
by
winrid
3y ago
I found the best way for me to write backend applications is with an ORM. Because SQL is super slow to write. The exception is sqlx in Rust when I want something super correct.
826.
▲
by
winrid
3y ago
FastComments main backend is around 200k lines of plain JS. I do extensively use JSDoc however.
827.
▲
by
winrid
3y ago
I'm not sure you can call one or the other "better". Python is more type safe due to run time type checks (less lolwut). Also, less typing. But, you also get the Django ORM which is great for productivity (good for complex bu
828.
▲
by
winrid
3y ago
I don't think the choice is hard to understand types vs no types with most runtimes.
829.
▲
by
winrid
3y ago
yeah, only a few dozen developers
830.
▲
by
winrid
3y ago
yeah, just thought it'd be fun to compare :) ordered is a big difference.
831.
▲
by
winrid
3y ago
Unicorn is nowhere near production ready. The main author makes major changes in untyped Python and JS without any unit tests and every minor version change has had major regressions that can be hard to catch.
832.
▲
by
winrid
3y ago
It can be nice, but TS the language lets you get really fancy and dealing with excited library developers gets old fast. Also the TS compiler tends to be buggy and break in weird ways with minor version changes.
833.
▲
by
winrid
3y ago
I had a nice experience at first but have moved away. Decent codebase with dozens of components, throwing it out. It's too fragile and breaks too often. Users will send screenshots of broken UIs and I feel helpless - not a good situati
834.
▲
by
winrid
3y ago
Neat, thank you! I'd love to see how it compares to the libgdx IntMap[0]. [0] https://github.com/libgdx/libgdx/blob/master/gdx/src/com/bad...
835.
▲
by
winrid
3y ago
I don't understand what full means. It is weird being at a place long enough to see ticket 1 and ticket 60k, though.
836.
▲
by
winrid
3y ago
It's a type-safe macro that allows you to use async or sync system calls transparently: https://nim-lang.org/blog/2016/09/30/version-0150-released.h...
837.
▲
by
winrid
3y ago
Nim [0][1], but will obviously evolve in 10 years. Even Java will likely deprecate some things in that time... Nim allows importing C/C++ OOTB. [0] https://livebook.manning.com/book/nim-in-action/chapter-8
838.
▲
by
winrid
3y ago
That just makes people perform worse, too. Because then your vacation and fun time sucks. So then you don't get a proper break and suck at work.
839.
▲
by
winrid
3y ago
nimlang solves this with multisync
840.
▲
by
winrid
3y ago
In the comments they said they used to drive in the snow with FWD but prefer AWD. They might not be okay with RWD. I personally loved sliding around my 240s in the snow but that's not for everyone :)
More ›