Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
whyever
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
21 ms
·
181.
▲
by
whyever
9y ago
> "systems language" is a pretty vague term, but one of the things I think is important is that memory be manually managed Go does not let you manage memory manually.
182.
▲
by
whyever
9y ago
It is really not difficult if you go the petgraph way. Just use a vector and indices into it instead of references.
183.
▲
by
whyever
9y ago
> Can't wait to see how WebAssembly will be used against us. Have you heard of Coinhive [1]? They are using WebAssembly to mine bitcoins in the browser. [1] https://krebsonsecurity.com/2018/03/who-and-what-
184.
▲
by
whyever
9y ago
I'm curious which docs you are talking about. The Python standard library has much less examples than Rust's in my experience. numpy has excellent documentation, but that's some library. Also, I don't see the redundancy
185.
▲
by
whyever
9y ago
I'm not sure what you mean with your question. My point is that Rust's GUI ecosystem is improving due to investment of Gnome.
186.
▲
by
whyever
9y ago
> So, when mentally ill people want to cause harm they don't use those methods. Not sure what you mean by mentally ill, but they have definitely been used for that in Europe.
187.
▲
by
whyever
9y ago
Not sure how serious you were, but AFAIK Rust's ecosystem for GUI programming is extremely immature. (Hopefully this will improve, seeing that the Gnome project is investing in Rust [1,2,3].) [1] https://github.com/GNOM
188.
▲
by
whyever
9y ago
You make a good point, but car use is orders of magnitude higher than gun use, and I would expect accidents to be proportional to use. If guns kill as many as cars with so much less use, it's very scary! If you compare it to other nati
189.
▲
by
whyever
9y ago
How can you say guns are safe when so many get killed by them in the U.S.?
190.
▲
by
whyever
9y ago
Funny, I have seen what you describe about Indonesia in Malaysia.
191.
▲
by
whyever
9y ago
Compressed Sensing originated in math, you might be interested in the original paper: https://statweb.stanford.edu/~donoho/Reports/2004/Compressed...
192.
▲
by
whyever
9y ago
You should not assume your communications are private if there is no end-to-end encryption. Also, the employers are often required to do this because of regulations. (I think those are silly regulations given that end-to-end encryption is s
193.
▲
by
whyever
9y ago
That blog post does not give any convincing argument against XKCD-style passwords. It seems to incorrectly assume they are "security by obscurity".
194.
▲
by
whyever
9y ago
> performance in general. Really? Forcing you to copy whenever you want to modify gives you worse performance. > If strings weren't immutable, you'd have to copy s to avoid changing / breaking it. That seems like a disa
195.
▲
by
whyever
9y ago
Why? The blog post was before Matrix.org even had encryption. The Signal project has limited resources, which it focused on the Signal protocol. Matrix builds on this work and invests in federation.
196.
▲
by
whyever
9y ago
> Signal is a proof-of-concept application that Open Whisper Systems uses to show off and sell their technology to other chat companies like how they have been doing with WhatsApp[2], Google[3] and Microsoft[4]. This is a very uncharitab
197.
▲
by
whyever
9y ago
Probably yes, because you always want to convert to and from base 10 strings. mpdecimal [1] (which was developed for Python) might be a better choice, because it uses base 10 internally. [1] http://www.bytereef.org/mpdecimal
198.
▲
by
whyever
9y ago
> All of the languages you mention put developer experience above portability, so usually require a basic runtime. Rust's runtime is comparable to C's. It is less portable because it uses LLVM as a backend, not because of the r
199.
▲
by
whyever
9y ago
Ever heard of Hollywood accounting?
200.
▲
by
whyever
9y ago
No, you could outlaw degrading functionality, which is what they are doing in the new law.
201.
▲
by
whyever
9y ago
I would argue that calling them "dark stars" is just as misleading and "limiting thinking". In fact, I think you are a victim of this in your post: you incorrectly ascribe nuclear fusion (which is typical for many stars)
202.
▲
by
whyever
9y ago
Optional parameters are tricky because of type inference. See this tracking issue: https://github.com/rust-lang/rfcs/issues/323
203.
▲
by
whyever
9y ago
Also see the editor used for creating the art in that gallery: http://www.gridsagegames.com/rexpaint/
204.
▲
by
whyever
9y ago
There are not sum types though.
205.
▲
by
whyever
9y ago
In practice, it's punished as a criminal offense only if you are a serial offender.
206.
▲
by
whyever
9y ago
Really depends on the city! In some my ticket was checked twice a year, in others more like twice a week.
207.
▲
by
whyever
9y ago
This is true, but there are still incentives to fake your residency. For example, you only have to pay the Rundfunkbeitrag (17,50 € per month for the public media) once per household, so students can save money by pretending to live at thei
208.
▲
by
whyever
9y ago
People use the SHA1 hash when signing commits. If you can create collisions you can create repositories with arbitrary code without breaking the signature. See Github's blog post on the mitigations for more details: https://
209.
▲
by
whyever
9y ago
Note that Github actually checks for the SHA1 collisions discussed above: https://github.com/blog/2338-sha-1-collision-detection-on-gi...
210.
▲
by
whyever
9y ago
It's not a concern for Linus, but maybe it should be? If SHA1's security properties don't matter, why was SHA1 chosen and not something faster? What about signing commits? This is affected by SHA1 collisions.
More ›