Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
smaddox
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
110 ms
·
601.
▲
by
smaddox
9y ago
Reference counting [1] and atomic reference counting [2] are supported within Rust, and are sufficient for any persistent data structure without cycles. There's also a prototype crate for a mark and sweep GC [3], which would likely wor
602.
▲
by
smaddox
9y ago
I generally agree, although I do tend to engage in discussions about evolution and climate change with those who do not believe, since I find it interesting. I no longer try to convince them they are wrong, though. I just try to get them to
603.
▲
by
smaddox
9y ago
To clarify, the P in P-type stands for positive free charge. Phosphorous is actually an N-type dopant in Silicon, where the N is for negative free charge.
604.
▲
by
smaddox
9y ago
Existing VR displays have your eyes fixed focused either several meters out, or at the horizon, so the kind of eye strain your talking about is not an issue. MagicLeap supposedly has variable distance focus working.
605.
▲
by
smaddox
9y ago
How are exceptions in C++ any more zero-cost than Option or Result in Rust? There must still be a branch operation in the code that C++ generates, or it wouldn't be able to handle the exception.
606.
▲
by
smaddox
9y ago
Are you hiring?
607.
▲
by
smaddox
9y ago
Which is perfectly controllable if your model includes delayed feedback. Unfortunately, the dominant macroeconomic models contain neither delayed feedback nor nonlinearity, and are not capable of simulating recessions without resorting to a
608.
▲
by
smaddox
9y ago
I'm guessing the answer is that inserting a feature to serve 500 to a fraction of the incoming requests would have required a similar amount of effort as just enabling the chillout feature.
609.
▲
by
smaddox
9y ago
Have you tried TeXmacs for math-heavy notes? Thanks to copy/paste, I find I'm quicker in it than on paper, as long as the work isn't too diagram heavy. For simple diagrams, there's a vector image editor built in.
610.
▲
by
smaddox
9y ago
I just had an idea this morning for how to fund universities that I think could solve many of the issues associated with student loans. The idea is that instead of students paying tuition, they would sign contracts to pay a fraction of thei
611.
▲
by
smaddox
9y ago
> The only way to prevent this is to impose fines, tariffs and penalties on businesses undertaking this behaviour (effectively disincentivising it financially), since it fundamentally unbalances the power dynamic between Government and b
612.
▲
by
smaddox
9y ago
Thanks for pointing out Lobste.rs. I had never seen it before. It looks like it adds back some of the good ideas from the Slashdot of yore.
613.
▲
by
smaddox
9y ago
I can't count the number of times recently that I've starting composing a comment on here, only to decide against posting it due to laziness and/or disinterest in the response. In fact, just a minute ago, while writing this c
614.
▲
by
smaddox
9y ago
Intel.
615.
▲
by
smaddox
9y ago
The verbosity is not in the function definition, its in the match expression needed at _every single call site_. In Idris, the definition would be similar length or longer, but call sites would not need a match expression.
616.
▲
by
smaddox
9y ago
Yes, you can always generate a new union type for your return type and then pattern match on it. That is certainely better than C where you must use unsafe tagged unions or void pointers. It is more verbose than in dynamic duck-typed langua
617.
▲
by
smaddox
9y ago
Rust doesn't require use of unsafe for cacheing 15 levels deep if you use the right primitives, i.e. a Mutex. If you dont use safe primitives, then yes you need to use the unsafe keyword to mark the code as unsafe. How is that unreason
618.
▲
by
smaddox
9y ago
Dynamic typing is objectively much more flexible and easier to prototype in. Static typing is much easier to build large and robust systems in. Eventually we'll get to the point where everything you can do in dynamicly languages can be
619.
▲
by
smaddox
9y ago
I doubt Ben took them seriously. He's well known for having fabricated popular stories on slow publication weeks/months. This was likely his form of click-bate.
620.
▲
by
smaddox
9y ago
Copyright is not, and never was, for creators. It's for publishers.
621.
▲
by
smaddox
9y ago
I'm curious, have you ever used TeXmacs? It is, in my non-expert oppinion, by far the best WYSIWYG editing experience (barring some minor implementation bugs). The visual bounding box cues, in particular, make formatting much easier.
622.
▲
by
smaddox
9y ago
How does pilot wave theory make violating conservation of momentum possible?
623.
▲
by
smaddox
9y ago
The Copenhagen interpretation is trivially invalid in the sense that it is incomplete: it doesn't provide a clear definition of what a "measurement" is. The De Broglie-Bohm interpretation doesn't have this problem, becau
624.
▲
by
smaddox
9y ago
Or, more precisely, alters entanglement in an unkown way. Since the alteration is unkown, it interferes with execution and interpretation of the quantum algorithm.
625.
▲
by
smaddox
9y ago
I assume the vast majority of the loans were bundled into mortgage backed securities, and then pawned off to various pension funds.
626.
▲
by
smaddox
9y ago
That's what youtube 1.5x / 2x speedup is for ;-)
627.
▲
by
smaddox
9y ago
Hmm. I'll have to look at this closer. If it's adjustable, that might greatly improve the responsiveness.
628.
▲
by
smaddox
9y ago
I suspect it would be more responsive using Macvim/Gvim. I suspect the terminal emulator adds some keypress latency.
629.
▲
by
smaddox
9y ago
I haven't tried using sublime as a full IDE, so I'm not comparing against sublime.
630.
▲
by
smaddox
9y ago
As much as I dislike the inherent complexity of Electron, VSCode and Discord are existence proofs that it can be used effectively. VSCode is far faster than any other IDE I've used, and even beats VIM in terminal in terms of responsive
More ›