Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mercurial
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
1.
▲
by
mercurial
1y ago
Short of using a different data structure, I'm not sure how you would get out of that one. The claim was that some of these leaks ("leaks"?) could be avoided by using a language with a GC. As far as I know, most modern langua
2.
▲
by
mercurial
1y ago
> the pattern of allocating a vec as pseudo-RAM, using indices as pseudo-pointers, and never freeing anything till the container itself is unused Are you talking about hand-rolled arena allocation? I don´t see how a GC language would hav
3.
▲
by
mercurial
2y ago
You need to authenticate once. You will get your vaults locally and you will be able to access them without an internet connection
4.
▲
by
mercurial
3y ago
IMO, rustc_codegen_gcc is much more reasonable in scope. It also stands a chance of actually keeping up with subsequent Rust releases. I would be surprised if gcc-rs ever achieved any traction. Not to say it's not a fun project, but I
5.
▲
by
mercurial
3y ago
The culture and ecosystem should definitely be a huge part of selecting a language.
6.
▲
by
mercurial
4y ago
Rust has a small(ish) but high quality stdlib. It does not aim to be Python. Like with any language, you have to know the ecosystem in order to be productive. That said, sure, having a full-featured stdlib can be convenient. It's a mat
7.
▲
by
mercurial
5y ago
> In french you say "Omelette du fromage". No you don't, that's literally "Omelet of the cheese". You say "Omelette au fromage", which is "Omelet with cheese". I do agree with your broade
8.
▲
by
mercurial
6y ago
Thanks! This is exactly the kind of mistake that annoys me.
9.
▲
by
mercurial
6y ago
Wars are rarely won by single battles. That said, it really depends what period of history you are interested in. If you want to stick to the XXth century, Anthony Beevor regularly produces very readable books on WWII or the period immediat
10.
▲
by
mercurial
6y ago
Hardly. This is in no way a historical treaty.
11.
▲
by
mercurial
6y ago
I have no sympathy for right-wing extremists, but EU countries still operate within the rule of law. You cannot deport people who are member of a legal organization, and I don't think there is enough evidence to declare it a terrorist
12.
▲
by
mercurial
6y ago
I don't think any of the people they assassinated were even alive at the time of the Armenian genocide, so it's really not comparable.
13.
▲
by
mercurial
6y ago
Caesar's biography by Adrian Goldsworthy is excellent, but quite extensive.
14.
▲
by
mercurial
6y ago
Works fine here (Denmark)
15.
▲
by
mercurial
7y ago
Apparently, the native tribes don't get the right to choose.
16.
▲
by
mercurial
8y ago
> Rust is a compiled language. There's a compile step when you make a code change. That said, it really depends on what you're doing. If you are debugging something, it can be a bit painful but not terrible (typically, you'
17.
▲
by
mercurial
8y ago
The .NET ecosystem is a lot more mature than Rust's, there is no arguing that. As for code cleanliness, though, it's debatable. Rust has ADTs, Option, exhaustive pattern matching, Option and Result. C# doesn't.
18.
▲
by
mercurial
8y ago
Rust is amazing (but also frustrating), but RLS is, frankly, terrible. It is unreliable, slow and unstable.
19.
▲
by
mercurial
8y ago
There is nothing particularly outstanding about C#'s type system. It has reified generics and some basic type constraints, but so what? No option type, no ADTs, no pattern matching... Working with Typescript at the same time, I feel cr
20.
▲
by
mercurial
8y ago
A database provides developers with the convenience of composing queries by concatenating strings. You still need to be really incompetent to do so in 2018.
21.
▲
by
mercurial
8y ago
I don't know what it's worth in terms of security, but it's really convenient. And Danish bureaucracy is the smoothest I've seen yet.
22.
▲
by
mercurial
8y ago
The article forgets to mention a crucial point: one of the Republicans' main reasons for not granting independence to Morocco was to avoid antagonizing the UK and France, who were major colonial powers. Throughout the war they hoped to
23.
▲
by
mercurial
8y ago
The strategy of the Stalin-backed communists was to not alienate the middle class. The anarchists, on the other hand, were not about letting war get in the way if social reform, and had taken over factories and collectivised land. It was al
24.
▲
by
mercurial
8y ago
In this particular instance, clearly not. However, a rule of "first come first served" does not do anything but validate domain name squatting as a business model. It's like patents, you may have a patent linked to a legitima
25.
▲
by
mercurial
8y ago
Also known as "enabling domain name squatters".
26.
▲
by
mercurial
8y ago
> As for lifetimes, that syntax is from OCaml, though they use it for something else. I hadn't noticed the similarity but it makes sense. This is the OCaml syntax for generics, eg: type 'a list_with_generic = 'a list
27.
▲
by
mercurial
8y ago
> At-will employment would have changed little about Roy’s situation vs a huge international political bully. That entirely depends on the country. There is no "huge international bully" clause in employment law. Not to mention
28.
▲
by
mercurial
8y ago
> Is an employee allowed to quit? What about the "violence" it does to the company, investors, and fellow employees? Must they stick around to provide continuity? If so, how is this not indenture? Grotesque. Many industries in
29.
▲
by
mercurial
9y ago
Works fine in React.
30.
▲
by
mercurial
9y ago
Well, an order of magnitude of difference is a hint that, whatever the quality of the existing crates, there are definitely areas for which you are going to be hard-pressed to find a good solution (say, localization), or a solution at all.
More ›