Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
_dain_
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
181.
▲
by
_dain_
2y ago
thanks ants. thants.
182.
▲
Reckoning
(infrequently.org)
5 points
by
_dain_
2y ago
|
0 comments
183.
▲
by
_dain_
2y ago
I don't understand. It's just a link to a blank page?
184.
▲
by
_dain_
2y ago
>People who don't have aphantasia see objects in their visual field, occluding reality? That sounds like hallucination, and very unsafe unless you have a high degree of control over it. An imaginary horse pops into your visual fiel
185.
▲
by
_dain_
2y ago
What's wrong with doing it in two passes? N iterations each doing 2 operations is exactly the same cost as 2*N iterations each doing 1 operation. Because multiplication is commutative.
186.
▲
by
_dain_
2y ago
>C was a clear example of "worse is better" with some kind of topological defect in the design such that there's a circularity in the K&R book that makes it confusing if you read it all the way through. Aww you can&#
187.
▲
by
_dain_
2y ago
Python's pytest framework achieves this without macros. As I understand it, it disassembles the test function bytecode and inspects the AST nodes that have assertions in them.
188.
▲
by
_dain_
2y ago
Definitely. Once you aren't adding new features, the only thing left to do is fix bugs. New rewrites can make the same old mistakes. But there is the potential to have a lower "bug floor" in a safer language.
189.
▲
by
_dain_
2y ago
>If a certain piece of software is working well, what is the benefit of rewriting it in Rust? The "working" C program has a high risk of undiscovered bugs relating to concurrency and memory safety. Rust lets you rule out a la
190.
▲
by
_dain_
2y ago
it's not a multiplication. decimal points used to levitate in those days.
191.
▲
by
_dain_
2y ago
way to shoot the messenger.
192.
▲
by
_dain_
2y ago
There's also this infamous textbook: https://wozniak.ca/blog/2018/06/25/1/index.html >Why is this important? As I read the book (and if you read my notes, you know where this is going) I st
193.
▲
by
_dain_
2y ago
It seems the children's model is BASIC-like in that a function call is just equivalent to "GOTO <#LINE>" >The part that is missing is the stack. Bingo. Function-call-as-GOTO and not knowing about the stack are th
194.
▲
by
_dain_
2y ago
>SQLite doesn’t have data types on columns. Data types (and there are only five) are on values only, so anything can go anywhere. You can use CREATE TABLE STRICT[1] to get a typed table. [1] https://www.sqlite.org/stric
195.
▲
by
_dain_
2y ago
They should have names: - 1500s: The Columbian Century - 1600s: The Westphalian Century - 1700s: The Century of Enlightenment - 1800s: The Imperial Century - 1900s: The Century of Oil - 2000s: The Current Century (
196.
▲
by
_dain_
2y ago
you aren't stupid. philosophers forgot how to write clearly sometime in the past century.
197.
▲
by
_dain_
2y ago
Energiewende is a failure in both technical and economic senses: half a trillion euros spent to get a more expensive and less reliable power grid, and a fleet of perfectly functional nuclear power plants were spitefully binned.
198.
▲
by
_dain_
2y ago
that poor rocket wanted to go to space so badly ;_;7
199.
▲
by
_dain_
2y ago
> Do they see their own distorted version of a bike? Yes. For most people it's more like a "schema" or a lossy compression. It can be placed in space, left or right or above or below other image-fragments, there can be c
200.
▲
by
_dain_
2y ago
>If you have a skewed distribution you might not be able to use the central limit theorem at all. The CLT only requires finite variance. Skew can be infinite and you still get convergence to normality ... eventually. Finite skew gives
201.
▲
by
_dain_
2y ago
But you still need to choose a significance threshold, which is just an opinion. There's nothing "scientific" about p=0.05; surely God loves p=0.06 almost as much.
202.
▲
by
_dain_
2y ago
They'd be perturbed a little but it's not like they'd go colliding into anything. It's not a big deal; shell theorem applies.
203.
▲
by
_dain_
2y ago
You disassemble a planet for the raw materials. Mercury would do. The real problem is that Dyson spheres are wasteful because stellar fusion is thermodynamically inefficient. If you harvest the material of the star and fuse it yourself, you
204.
▲
by
_dain_
2y ago
There continues to be no sound in space.
205.
▲
by
_dain_
2y ago
mate I can't give you a citation for something that hasn't happened yet. it's a reasonable extrapolation of current trends. don't give me this "citation needed" whining.
206.
▲
by
_dain_
2y ago
For one thing, before this decade is out we will have the lift capacity to get an ELT-worth of mass to L2. And the lack of need to correct for atmospheric distortion would simplify the design considerably. But it's beside the point. Su
207.
▲
by
_dain_
2y ago
> That needs some citations. The James Webb Telescope's mirror is 6.5m in diameter. It took decades and billions of dollars of overruns and a prayer to launch and work correctly. There is no hope of most hardware repairs. Because
208.
▲
by
_dain_
2y ago
there are portals ...
209.
▲
by
_dain_
2y ago
>implicit variable declarations, and how that worked with variable shadowing. Coffeescript was before my time so I never used it, can you give an example of the problems this caused?
210.
▲
by
_dain_
2y ago
No I don't think it's about compactness of expression, but rather what it's possible to express at all.
More ›