Viewing profile — corank
corank
HN member- Joined
- Fri, Apr 05, 2024, 5:13 PM UTC
- HN karma
- 26
- Public activity
- 27 items
- HN profile
- View on Hacker News ↗
About corank
No profile information was provided.
Recent public activity
- story
- story
-
comment
Comment #45934716
If you want automatic tiling, there are Kwin scripts for that eg https://github.com/anametologin/krohnkite/ Essentially turning kwin into a tiling WM
-
comment
Comment #44954139
As I understand it this is precisely why in Haskell and OCaml standard libraries we get lots of things like map : (a -> b) -> a list -> b list instead of map : a list -> (a -> b) -…
-
comment
Comment #44439979
I see. My understanding is that Rust doesn't have _automatic_ reference counting as in Swift only because it has an alternative (move), which requires the programmer to specify the…
-
comment
Comment #44430959
I was actually talking about automatic reference counting. I think both Rc and Arc count as automatic reference counting? It's just that the term (which was apparently coined by Ap…
-
comment
Comment #44427035
The point about Rust is to avoid any extra runtime cost by statically enforcing a set of rules (borrow checking) on reference use that are sufficient to guarantee memory safety. It…
-
comment
Comment #44426075
I think I saw them sharing it on Reddit earlier
-
comment
Comment #44426029
I'd love to learn more about how AMT works. How would a doubly linked list work in this language for example? Does the conversion happen during run-time? Isn't that going to be sup…
-
comment
Comment #44223796
There are different types of harmonicas. For 10-hole/blues harmonicas bending is a fairly common technique. It's less common or easy to do on other types of harmonicas, eg chromati…
-
comment
Comment #43640194
What are some safety guarantees for CSS?
-
comment
Comment #43602533
> It forces functions to be memory pure (pure with respect to memory), even if they aren't. What if the unsafe code is not supposed to be pure but mutates some memory? For example,…
-
comment
Comment #43545803
I own a Kindle Oasis 2. Amazon stopped software updates for it so I just jailbroke it and loaded KOReader. It's way better than the official software, probably the most feature-ric…
-
comment
Comment #43530262
I wouldn't call it an entirely new distro. It's just an Fedora image bundled with the necessary changes to create the UX. It doesn't provide its own software repositories. It's mor…
-
comment
Comment #43520267
It seems to me that the part about unsafe operations is pretty much still unspecified. It's currently just a short paragraph saying it may cause undefined behaviour and a list of h…
-
comment
Comment #43431835
> if a process were to expose a mechanism for other processes to essentially proxy keychain queries through it, that can undermine the security of the whole system. This looks like…
-
comment
Comment #42769219
Perhaps these 1. Stress relief 2. Makes boring work a bit more interesting 3. Rubber duck debugging 4. A small amount of distraction might actually boost productivity by allowing u…
-
comment
Comment #42758341
I think as long as the code sticks to the discipline of never actually doing I/O but only manipulating functions that perform them it would basically be doing the same thing as IO …
-
comment
Comment #42753280
Is there evidence showing that such things do boost productivity? Or any research on how they affect the way people work?
-
comment
Comment #42633827
It likely doesn't have performance that's good enough for production use. Doesn't look like there's JIT so it's all instruction by instruction interpreting.
-
comment
Comment #42593164
Have you tried using Google in China? Or post anything that the government/party doesn't like online?
-
comment
Comment #42415102
Pretty confident that it's not covered at all.
-
comment
Comment #42357708
I think an important difference between how I use vim and how I use a web browser is that in vim I need to type frequently. Though I may spend most time in normal mode in vim, I st…
-
comment
Comment #42357644
That's indeed a nice use case. In general keeping to the keyboard can be helpful in the context of typing, but if I'm just reading news or blog posts or watching videos I'd go with…
-
comment
Comment #42356327
For text editors or IDEs, basically contexts where we expect a lot of typing, I get why sticking to the keyboard is desirable. I don't get how it's better to browse the web without…