Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sacado2
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
181.
▲
by
sacado2
7y ago
I've been using Hugo for a few years now. Pretty long to set up if you want to addapt one of the available templates to suit your needs, but then it's really great! I would not advise it to a non-programmer/tech savvy person
182.
▲
by
sacado2
7y ago
Books are incredibly cheap to produce, so it's way easier (as in: less risky) to produce stories for niche communities through books rather than through movies.
183.
▲
by
sacado2
7y ago
I'd say Mesopotamia, Egypt, Ancient Rome, Holy Roman Empire.
184.
▲
by
sacado2
7y ago
> dep was slow because of I/O, not SAT solving. Actually dep tended to produce suboptimal solutions, meaning in some cases it downloaded too many packages to solve dependencies. And that meant more I/O operations than needed. P
185.
▲
by
sacado2
7y ago
Maybe we would be using oberon. But then, go owes as much to oberon as it owes to C.
186.
▲
by
sacado2
7y ago
Go is Oberon's and C's secret child. They met thanks to Robert Griesemer, who worked under Wirth's supervision, AFAIK, during his PhD. I like how go gives access to the cool parts of Oberon within a relatively popular languag
187.
▲
by
sacado2
7y ago
That's a very good point. Thing is, markdown (or a subset of it, as on HN) is very limited. Great for short comments, bad when you want to do something a little more complex, like a blog post (I always end up addding some HTML here a
188.
▲
by
sacado2
7y ago
I know, not my fault, I just copy/pasted the actual source code of the page while I was commenting.
189.
▲
by
sacado2
7y ago
AFAIK notebooks are a list of cells, each cell consisting in text, but there is no meta information within the cells, so JSON looks OK there.
190.
▲
by
sacado2
7y ago
Quite readable but it's a hell to parse. The first argument is the name of the element, but what is the second one? If it is a string or an array, it's the first child, but if it's an object, it's the attribute set?
191.
▲
by
sacado2
7y ago
I don't know JSON schema really well; Can you say you want a `price` value to be a non-negative decimal value with at most two digits after the comma, and you want the `currency` value be exactly one of the following : "EUR",
192.
▲
by
sacado2
7y ago
Well, for instance, let's take the HTML code of your comment (which happens to be a valid XML document): <span class="commtext c00">I have yet to read anything that convinces me that XML is good for <i>anyth
193.
▲
by
sacado2
7y ago
What XML is also very good at is: representing tagged text, what is called "mixed content" in XML terminology. Just try to write the JSON equivalent of: <div>The <a href="https://www.json.org/&qu
194.
▲
by
sacado2
7y ago
This is not memory-safety per se, but Rust goes further, though. You can't have 2 objects that can modify the same object at the same time, for instance, as in: l1 = [1, 2, 3]; l2 = l1; l2.push(0); // Oops, I al
195.
▲
by
sacado2
7y ago
In ten weeks even a fricking blog cannot get above a dozen of visitors each week. So an online community that needs momentum and a ton of visitors from the get go? Did that guy really think you can go from scratch to success and fame in 2 m
196.
▲
by
sacado2
7y ago
Well that's brillant, up to the moment when the ask for the PIN code.
197.
▲
by
sacado2
7y ago
Naive Bayes is a good baseline since it's both very fast and quite efficient, and it doesn't need a big training set. But it's not often the best model you can find, and it only works if your classes can be linearly separable
198.
▲
by
sacado2
7y ago
At first I read it backwards, I thought he had had sex with a model just to hide a scandal about a "model of restraint" and thought " wow, that guy is really doing all he can to hide the scandal". And then I remembered i
199.
▲
by
sacado2
7y ago
Strange to hold such a position on a news aggregator like HN.
200.
▲
by
sacado2
7y ago
And google chose option 2, and the French government is pissed off because they expected Google to choose option 1 and give agencies free money.
201.
▲
by
sacado2
7y ago
There is no safer option anyway if you can be given an arbitrary JSON object in the first place.
202.
▲
by
sacado2
7y ago
Great! That's a very subjective opinion anyway.
203.
▲
by
sacado2
7y ago
I've seen people banned from official forums because they disagreed with design decisions. And several threads locked with messages like "oh yeah, haha, we don't really want you to talk about that" ( https://di
204.
▲
by
sacado2
7y ago
This is not FUD. Using it in production is a risky bet. And I say that as someon using Elm in production. We use it in a short-term, demo project. The project was started using version 0.18. Now we're stuck, either we rewrite huge part
205.
▲
by
sacado2
7y ago
I like Elm as a language, but the community is extremely toxic, and it's not production-ready yet (version < 1.0, one-person project). Too bad, because it's a great project.
206.
▲
by
sacado2
7y ago
Will my Elm code written today still be maintainable with an up-to-date elm environment in 3 years? It certainly isn't the case with code written 3 years ago.
207.
▲
by
sacado2
7y ago
The biggest problem with elm in production right now is that there is no backward compatibility yet (version < 1.0). Code written in Elm 0.18 is not compatible with code written in Elm 0.19.
208.
▲
by
sacado2
7y ago
IMO, Rust + GC = OCaml.
209.
▲
by
sacado2
7y ago
interface{}
210.
▲
by
sacado2
7y ago
> The interesting thing about Go is Rob Pike envisioned it as a systems programming language but any language with GC is a complete nonstarter as a systems programming language. AFAIK, by "systems programming" he meant "no
More ›