Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
danachow
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
29 ms
·
241.
▲
by
danachow
5y ago
> We're in the age where we're able to serve an entire sqlite database over a static website Making use of the SQLite database is entirely client side and requires JavaScript or WASM (the distinction is unimportant) - it requir
242.
▲
by
danachow
5y ago
It used to be amazing - a pretty full featured mail application, snappy in 2005 on much less sophisticated browser runtimes. It’s relatively a piece of shit now.
243.
▲
by
danachow
5y ago
The whole point of generics is to avoid this - why do you think you would have to use reflection?
244.
▲
by
danachow
5y ago
Why not? You later seem to think that this would require reflection - but that makes it apparent you don't understand how generics work in a language. They're used at compile time - to avoid runtime checking.
245.
▲
by
danachow
5y ago
This is a joke, right? Your trivial implementation isn't even correct.
246.
▲
by
danachow
5y ago
It hasn’t been out for 10+ years. Even if you count the prototype FaxJS predecessor it’s barely 10 years old, and that was only a Facebook internal project.
247.
▲
by
danachow
5y ago
> In such situations, it would make sense to allow programmers to indicate the desired strategy to the compiler. If the function truly has no side effects then why would the programmer care which strategy was used other than cost? This i
248.
▲
by
danachow
5y ago
> as there is a trade-off of always calculating a value which may be unused vs. the cost of the conditional branch. I don’t really understand the point you’re trying to make. Figuring out if a value is unused is most definitely the purv
249.
▲
by
danachow
5y ago
No. The northeast has plenty of anti-abortion, sex shops, fireworks, CBD/marijuana (MM is legal in PA - any state with legalized dispensaries will have these billboards. Don’t know what you consider a normal product but for truckers an
250.
▲
by
danachow
5y ago
> You essentially dump your cache when this happens, but you can do it. Never heard of this and it makes no sense. The cache is pretty decoupled from the CPU pipeline. I saw a similar comment from someone discussion RISC-V mentioning tha
251.
▲
by
danachow
5y ago
It didn’t compete with 68k which is much older traditional CISC processor which was never scaled up. The 68k died out with Apple switching to PPC except for embedded use where it lived on primarily with the Motorola Dragonball line. Freesca
252.
▲
by
danachow
5y ago
You got a cite for that? I’m not saying it doesn’t exist, but that seems horribly overengineered for what has been traditionally accomplished with tracking the average speed of vehicles using radar or vehicle detectors - they have had these
253.
▲
by
danachow
5y ago
Seriously? It takes you 5 to 20 seconds to move your hand to the mouse?
254.
▲
by
danachow
5y ago
Our bodies include our brains - the same ones that evolved for us to be social, develop language and then the technology and logistics to develop modern food production. This is all part of evolution.
255.
▲
by
danachow
5y ago
I read the blog post once and concluded this poor chap was confusing type 1 and type 2 diabetes - because really the first paragraph is silly - that testimonial is classic for type 2 diabetes. I’m still a bit skeptical this dude actually ha
256.
▲
by
danachow
5y ago
Glucose is produced constantly by numerous cells in the body, and that is an essential function - regardless of diet. > I know of at least one T1 diabetic that is OFF INSULIN on a ketogenic (carnivore) diet. No, you do not. Fully progres
257.
▲
by
danachow
5y ago
Absolutely not. A virtualenv is typically a pointer to a systemwide python, or something managed by yet another piece of crap - chpy, asdf, whatever - they are not self contained. Upgrading the system python will typically break the virtual
258.
▲
by
danachow
5y ago
I said the body runs on glucose (ie it is essential for survival) - you claimed that was misinformation (which it isn’t) - I said nothing about dietary carbohydrates. Blood glucose levels for those on even the extreme keto diets will be reg
259.
▲
by
danachow
5y ago
Because it’s not misinformation - the body absolutely needs glucose homeostasis to survive - if you don’t eat carbs it will make it out of protein. The body has numerous mechanisms and basically dedicated organs for the conversion, metaboli
260.
▲
by
danachow
5y ago
Lol "sometimes is enough, sometimes not" is a bit of a backpedal from definitively putting cancer into remission. If it's an area of legitimate research for cancer treatment, then why do you lead with a reference to an indivi
261.
▲
by
danachow
5y ago
> and this is someone working in the medical field Well, yes, even a crackpot can claim to be working in the field. This in no way supports your claim of “routine” cures through diet. There is no evidence that a fucking keto diet will cu
262.
▲
by
danachow
5y ago
Lord jesus what a strawman. You have any good evidence that math word problems in elementary ed are systematically biased in this way - and the plural of anecdote is not data, so don't waste our time.
263.
▲
by
danachow
5y ago
Yes, this is what it means. Why does everybody here assume everyone outside the software profession is an idiot. Obviously if it only attacked 30% of tumor cells it would be useless. I'm not going to go over the physiology of cancer he
264.
▲
by
danachow
5y ago
Curing 30 to 40% of a population is still a big win.
265.
▲
by
danachow
5y ago
The main argument is that it’s not in the right ballpark though - which has no universal correct answer. However at this point 80 is not arbitrary - It’s primarily used as a default because of ancient history when 4k let alone 640k was enou
266.
▲
by
danachow
5y ago
1000… pft.. just holding open a connection and sending on average a few bytes a second hardly costs anything and the memory requirements on eg Linux are minimal. You can easily do 100k or more with python and a few hundred megs of memory. M
267.
▲
by
danachow
5y ago
> The 8088/8086 had a MMU that provided only addressing space extension, from 16-bit to 20-bit. In hardware this is literally an add. Calling a single add (with aliasing) an MMU is quite a reach. The 80286 is not merely an extension
268.
▲
by
danachow
5y ago
It bothers you? Then don’t buy it. I doubt they’re making very much money on something like this - at these prices the volumes are obviously going to be small and the custom keycaps and machining for a short run are not cheap. If someone is
269.
▲
by
danachow
5y ago
The 8088/8086 did not have an MMU.
270.
▲
by
danachow
5y ago
There are quite a few “Mediateks” - Intel never had any interest in them - and they willingly sold off just about every embedded asset they had. Maybe look into the history of StrongARM and xscale to start.
More ›