Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
__s
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
98 ms
·
841.
▲
by
__s
5y ago
They already are https://www.theguardian.com/technology/2018/mar/07/google-ai...
842.
▲
by
__s
5y ago
The "not" is that they want freedom to make the type checker more strict, ie expand it to detect type errors it failed to detect previously
843.
▲
by
__s
5y ago
Rust does have a standard futures runtime API (edit: thinking over, maybe you meant there should be a runtime in std) This then opens up alternative runtimes to tokio (async-std, smol, glommio, monoio) Then your suggestion of a single thr
844.
▲
by
__s
5y ago
To be fair you can greatly reduce the necessity of those other things you list if you take on a role of contributing to FOSS dependencies used by where you work. Because you can have a significant portion of your time devoted to that work &
845.
▲
by
__s
5y ago
Meanwhile, C89: https://port70.net/~nsz/c/c89/c89-draft.html#3.3.5 > When integers are divided and the division is inexact, if both operands are positive the result of the / operator is the largest in
846.
▲
by
__s
5y ago
Yes Postgres only updated to C99 with PG12 https://www.postgresql.org/docs/11/source-conventions.html https://www.postgresql.org/docs/12/source-conventions.html Some blame to be had by M
847.
▲
by
__s
5y ago
Not from Heap, but I use https://github.com/wal-g/wal-g
848.
▲
by
__s
5y ago
Oddly enough hyperfocus is a symptom of ADHD Besides that, if you've met one person with autism, you've met one person with autism
849.
▲
by
__s
5y ago
It's a bit off, plenty of not-a-programming-language entries, & it isn't comprehensive Anyways, if you want lots of silly languages https://esolangs.org/wiki/Language_list I'll list some languages I&
850.
▲
by
__s
5y ago
Trig is useful to at least know the unit circle for sin/cos/tan: http://crystalclearmaths.com/wp-content/uploads/2015/11/Unit... (Amusingly I had to learn about this outside of class, but it c
851.
▲
by
__s
5y ago
Potentially cyclic values are statically known But yes, GCs have evolved in the past decade, so these things are subject to change
852.
▲
by
__s
5y ago
Haskell does, https://wiki.haskell.org/GHC/Memory_Management
853.
▲
by
__s
5y ago
The memory optimization at the end is neat I assume there are generally only a few channel ids being used, since otherwise the code could've still been optimized to use a bitset instead of an array of numbers. That'd only require
854.
▲
by
__s
5y ago
Contributing to open source is often a mixed bag. Some projects are receptive, some aren't. & arguably this is fine: maintainers offer the source so that you can scratch your itch without needing their approval Personally I conside
855.
▲
by
__s
5y ago
> Since no alternative has presented itself, every time I revisit wasm-pack I’m pained by new potholes that have risen due to neglect I've had open PRs for a year now: https://github.com/rustwasm/wasm-pack/
856.
▲
by
__s
5y ago
Python's csv imports _csv for core functionality, which is C: https://github.com/python/cpython/blob/main/Modules/_csv.c
857.
▲
by
__s
5y ago
Counting population based on deaths alone isn't accurate If the ecosystem is healthy, a dozen birds dying will make way for a dozen more to replace them
858.
▲
by
__s
5y ago
Correction: checking x%y==0 is slow, not Math.Sqrt Would be neat to know what's causing the perf gap, but thread is mostly people posting their numbers & some people pointing out that Sqrt isn't the hotspot & some "be
859.
▲
by
__s
5y ago
But you can have your cake & eat it too: install on a VM. OS level sandboxing ideally would allow running a program in a non-VM sandbox
860.
▲
by
__s
5y ago
Over selling being necessary is a drag, & it exists in internal politics too. It's priced in, so giving someone a realistic schedule/budget causes two problems: they lower your expected range by thinking your realistic numbers
861.
▲
by
__s
5y ago
I got to revisit C++ to port some code to boost::asio It crashed because the object was deallocated by time the handler ran. So now I'm taking a shared_ptr parameter thisref parameter to keep "this" alive. Ideally it'd b
862.
▲
by
__s
5y ago
https://www.chessratingcomparison.com/Graphs There's also https://chessgoals.com/rating-comparison if you prefer a table
863.
▲
by
__s
5y ago
You have to pay extra to see 3
864.
▲
by
__s
5y ago
But if your frame buffer is text, you can store the text in a rope data structure like JS vms do So you don't necessarily have an allocation for every single character, but you're still able to share memory between buffers I'
865.
▲
by
__s
5y ago
You're wrong, JS has immutable strings & so VMs use ropes to make mutable usage & slicing fast https://gist.github.com/mraleph/3397008 https://twitter.com/rauschma/status/12699641
866.
▲
by
__s
5y ago
https://calteches.library.caltech.edu/51/2/CargoCult.htm search for "All experiments in psychology are not of this type" A paper found that in order to prevent rats cheating the floor needed to have sand
867.
▲
by
__s
5y ago
Better would've been to suggest a memory leak But the level being near 256 suggests an integer overflow
868.
▲
by
__s
5y ago
Start with the system you're on Or, pull out an emulator & go with a system where people may've been more prone to develop in assembly (eg 6502 & then try make a rom that'll run in an NES emulator) For the most part o
869.
▲
by
__s
5y ago
That's kosher Writing has no laws, only rules meant to be broken English is also a descriptivist language, rather than prescriptivist. ie English has no spec, unlike French (tho you then have French as it is spoken & French as it
870.
▲
by
__s
5y ago
Semicolons aren't just for high literature: https://serprex.github.io/w/ ; > Semicolons are hot Dash seems a poor substitute. A dash is closer to a period. Semicolons work well for when just using multiple comma
More ›