Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dnautics
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
51 ms
·
901.
▲
by
dnautics
5y ago
I thought the idea of parse, don't validate is that your parser should contain validation logic. So instead of text -> generic json parser -> validate json -> ... you would do text -> custom json parser that stops if encoun
902.
▲
by
dnautics
5y ago
come again? I didn't say you can't validate while parsing for untrusted input, I said for untrusted input you will probably STILL need additional separate validation methods. Key emphasis on negating don't absolute imperat
903.
▲
by
dnautics
5y ago
I wanted to be able to move the applet bar to not the top of the screen, because I have two monitors and I like to spread vscode over two monitors -- top section for code, bottom section for console (for my purposes vscode console is, sadly
904.
▲
by
dnautics
5y ago
Without defending russia: the same argument does apply for selected parts of ukraine that still have not been yet annexed by russia. I wonder how long it will take for russia to get tired of subsidizing crimea and they will beg to go back t
905.
▲
by
dnautics
5y ago
> In fact, modifying gravity to fit the set of observations here is so hard that most scientists have just given up on it by now. Wait what? I was under the impression that more scientists are turning to MOND than ever. I have a hot ta
906.
▲
by
dnautics
5y ago
I think the domain models are different. "parse-don't-validate" is great when your users are internal and trusted (e.g. a library that does codegen - the operators of the parser are already in the codebase). When your users
907.
▲
by
dnautics
5y ago
no, you can deduce a new observation that is then observed. In the case of dark matter, this would most convincingly take the form of a multimodal observation. Predict that X particle is DM. It then has interaction Y that isn't gra
908.
▲
by
dnautics
5y ago
no. We infer dark matter. To use gravitation to say "there might be dark matter" and then later say 'dark matter exists because we see gravitational anomalies' is begging the question.
909.
▲
by
dnautics
5y ago
The tully-fisher relation is an empirical relationship IIRC used to calculate distances to galaxies. You don't know that the tully-fisher relation applies in exactly the same way to a class of galaxies that are characteristically diff
910.
▲
by
dnautics
5y ago
I don't know if you have selective memory, but the discourse was not at all like how I suggested it could have been.
911.
▲
by
dnautics
5y ago
Not the article author, but until such time as the larger study is done, the attacks could be construed as senseless. There were lots of "attacks" on hcq in the beginning when at best the response should have been, "we'
912.
▲
by
dnautics
5y ago
> (and even formal proof systems don't use two column proof notation) Might be interesting to see a crack at that, though.
913.
▲
by
dnautics
5y ago
it kind of doesn't matter why it is, it just is (the why might also be unknowable, or too facilely reducible to just-so stories). And it's actually not TOTALLY unusual in coronaviruses, it's unusual in the coronavirus subfam
914.
▲
by
dnautics
5y ago
> the only request is my own Literally, elixir doesn't work like that. There is a bunch of other stuff running around in the VM, even if you don't ask for it. It's like an operating system. > is why people some peopl
915.
▲
by
dnautics
5y ago
I could be wrong but I believe those valves are harvested for their cartilagenous (non-alive) components, their cells stripped, the valves throughly cleaned, and implanted in place. This is not quite the same as implanting an organ with li
916.
▲
by
dnautics
5y ago
On the other hand (and I am being flippant... Slightly) how do you know that removing this one gene doesn't unlock consciousness?
917.
▲
by
dnautics
5y ago
> What % is too human to harvest for organs I don't think it's really measurable, because a meaningful "%" implies a relatively context-free, relatively uniformly distributed importance to genetic sequence. The most i
918.
▲
by
dnautics
5y ago
You probably don't want to use an ide-driven debugger for elixir, you'll want to use :dbg which has a different "conceptual model" than what you are used to and doesn't map well onto Conventional debuggers. It'
919.
▲
by
dnautics
5y ago
Just coming from a scientist that is SUPER used to reading graphs -- It's really hard to tell from those graphs because the scariness of those graphs could wind up being (horizontal) scaling artifacts, because we know in the countries
920.
▲
by
dnautics
5y ago
> Most people are more comfortable with imperative languages Unscientific poll with possibly a biased sample: more people find functional easier to work with. But telling, the difference is more pronounced among bootcampers and inform
921.
▲
by
dnautics
5y ago
> The majority of people Is this true? Basically a lot of people in europe will jump to soft g. Will latin america pronounce "gi" as the aspirated H?. Don't know anything about the countries in africa, I hear nigeria is
922.
▲
by
dnautics
5y ago
> The virus is still very dangerous to the unvaccinated Do we know this about omicron? How dangerous is "very dangerous"? As it is with pre-omicron, CFR for COVID-19 was, pessimistically, 0.5-1%, less if you're not in an
923.
▲
by
dnautics
5y ago
it's way different now. I've actually never deployed elixir on a deployment service till last week (either: "was R&D and never deployed to prod", "I ran elixir on-prem inside a DC", "my prod environme
924.
▲
by
dnautics
5y ago
> since the G represents the hard-G word 'Graphic' it only makes sense. Would it also "make sense" to pronounce jpeg "jay-feg"? Or "nasa" "neh-sa"? Or "laser" "lah-ssur&qu
925.
▲
by
dnautics
5y ago
Well, the creator proposed it to be called "jiff" to specifically reference that word. Because Gifs are compressed, they would download much faster (a jiffy) over slow dialup internet connection than a bmp.
926.
▲
by
dnautics
5y ago
Just be careful :) the last language I used before elixir was Julia, haven't gone back yet (mostly due to industry demand being higher)
927.
▲
by
dnautics
5y ago
I think another interesting contender in this space is Elixir's live book. If someone figures out how to do custom kernels for this (not trivial, since the backend will have to parse the target language and create "local virtual
928.
▲
by
dnautics
5y ago
It's still copied but if you are using an ets table you're likely only copying a small subset of the data per query instead of schlepping the whole index every time.
929.
▲
by
dnautics
5y ago
> Go is the only modern language to make PITL. I'd say elixir hits this really well. We're managing a huge project with lots of painful, legacy code that should probably be chopped off, but it's not godawful to maintain.
930.
▲
by
dnautics
5y ago
mnesia had very difficult to debug consistency issues that can crop up. Have these been fixed?
More ›