Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
chlorion
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
56 ms
·
181.
▲
by
chlorion
3y ago
Wayland works okay for me so far! All you need to do is share the compositors socket and /dev/dri with the "container" and it "just works" for me! I do not have xwayland enabled either, all of the software I us
182.
▲
by
chlorion
3y ago
Yes I think that this is actually very common and we just don't hear about it much. Most of these online multiplayer games are implemented with heaps of unsafe c++, and due to the nature of the game, are constantly parsing inputs from
183.
▲
by
chlorion
3y ago
In C++ or C, you are always twisting the brain of the programmer into being a "safe compiler". I don't think that is an advantage personally. Lifetimes don't go away just because there isn't a borrow checker or wa
184.
▲
by
chlorion
3y ago
I don't understand what's getting you all bent out of shape about this. Unexpected emergent behaviors are extremely common in programming language design. Even when carefully planning every language feature, unexpected interaction
185.
▲
by
chlorion
3y ago
Google services work perfectly for me. I think the users of this website just really like to repeat anything that fits the "Google bad" narrative, and if you don't have interactions with people outside of the bubble, it seems
186.
▲
by
chlorion
3y ago
Pure functional programming is always about purity, functional programming is about first class functions. Pure functional programming is a subset of functional programming, not the other way around. I'm not really sure where you are g
187.
▲
by
chlorion
3y ago
I do not think functional programming is about mutable state at all. It's about functions being first class values, nothing more. Lisp and Scheme are examples of functional languages that do not restrict mutability. The term for what y
188.
▲
by
chlorion
3y ago
F:NV was a lot better about this IMO. Right after leaving the docs place you can head to the strip in a straight line, and it will take you through a route with some of the most powerful creatures, like giant radscorpions and cazadors, and
189.
▲
by
chlorion
3y ago
It's not like common lisps practices are that great anyways. It being an old lisp convention, to me, is actually a reason to not follow it . I want to see a modern take on sexpr based languages instead of being stuck in the past forev
190.
▲
by
chlorion
3y ago
Many people don't realize that Arch is basically just providing the latest stable release from upstreams, nothing more and nothing less. Most projects do testing before making a release of course, and for lots of software releases are
191.
▲
by
chlorion
3y ago
It depends on what device you have. On some of the older devices, nouveau actually works very well right now. On these devices the open driver is as stable and performant as the closed driver and has all of the same features with the except
192.
▲
by
chlorion
3y ago
I setup SSHD to listen on a wireguard interface rather than listening on all interfaces. This makes SSHD only accessible to wireguard peers rather than the entire internet. A nice aspect of wireguard is that it's "steath", me
193.
▲
by
chlorion
3y ago
>That's some spooky action at a distance nonsense. In pretty much all languages operators are just sugar for calling a method. There is no difference other than an easier to read syntax. In rust for example, doing a + b is exactly t
194.
▲
by
chlorion
3y ago
Don't be sad. This is definitely a skewed perspective from a single person which makes it worse than useless as a way to gauge a random persons competence. I'm sure you could find a person who would claim this same exact thing for
195.
▲
by
chlorion
3y ago
It's definitely just a fad that will die out any day now!
196.
▲
by
chlorion
3y ago
I can't seem to find any benchmarks for this but Gankra did a long write up about Rust's btree implementation! I did not read this entire thing so it's very possible it contains a benchmark somewhere but I couldn't find
197.
▲
by
chlorion
3y ago
Emacs now has an optimizing native code emitting compiler for elisp. It's definitely not slow, but not as fast a luajit. Not sure why performance matters in this case anyways though.
198.
▲
by
chlorion
3y ago
>Did we both just watch the latest Crust of Rust Yes that's exactly how I knew about this!
199.
▲
by
chlorion
3y ago
The Rust BTreeMap implementation is an example of this as well. It does a linear scan through the nodes instead of a binary search because it's actually faster in this case! https://doc.rust-lang.org/std/collection
200.
▲
by
chlorion
3y ago
You kind of do know who they are, the first message was signed by the the first key, so you know that key is associated with that message and the author who sent that message. You don't know their name, but you know that this author, w
201.
▲
by
chlorion
3y ago
Thanks for posting that link. I did not realize that the GPG maintainers were so terrible. This strongly reaffirms my choice to move away from GPG where possible!
202.
▲
by
chlorion
3y ago
There is a lot more going on here. The first issue is actually downloading the dependencies, doing this manually quickly becomes infeasible for any non-trivial project. The second issue is keeping everything updated, and making sure that al
203.
▲
by
chlorion
3y ago
This is where the TOFU model comes in, you implicitly trust the key on first use. Finding a legitimate download one time is better than having to find it every time . Bootstrapping keys is a difficult thing for sure, but TOFU is still be
204.
▲
by
chlorion
3y ago
You can just create a new passkey on the device from the new provider and register it with whatever service you are using. You can have multiple keys registered for a single service, like one unique key per device. In this case, you can use
205.
▲
by
chlorion
3y ago
Those are interesting points, thank you for writing all of that out!
206.
▲
by
chlorion
3y ago
Yes, "by the book" is a very commonly used metaphor in English, even when no book is involved. It's roughly equal to saying that you are doing something strictly by the rules (and the rules don't have to be contained in
207.
▲
by
chlorion
3y ago
I'm not exactly sure how anything you said supports that CL isn't a dynamic language. When using SBCL for example, none of CLs dynamic features are restricted from the programmer in any way. So whether it's compiled to native
208.
▲
by
chlorion
3y ago
Yes, but Common Lisp is also "stupid dynamic"! I don't think there's anything Python can do that Common Lisp can't in terms of dynamic-ness! This is a quote from python.org: >These languages are close to Python i
209.
▲
by
chlorion
3y ago
>the dynamic nature of the language means many optimizing techniques just aren't available. This is something that seems like it should be true, but counter evidence exists that proves that it's not the case. The first example
210.
▲
by
chlorion
3y ago
It's the default on pretty much any modern Linux system!
More ›