Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
aldanor
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
21 ms
·
241.
▲
by
aldanor
4y ago
As a fish user, I'd be concerned about the opposite - having a burden of a big c++ codebase and all it's build shenanigans to maintain which is not fun at all anymore could lead to the project becoming stale, especially with a low
242.
▲
by
aldanor
4y ago
That's exactly what I'm wondering about - what kind of patterns?
243.
▲
by
aldanor
4y ago
You can't write "truly performance-oriented programs" in Rust" but in C++ you can? Mind expanding on that?
244.
▲
by
aldanor
4y ago
Sum types. And/or proper error handling (also related to sum types).
245.
▲
by
aldanor
4y ago
Compared to Rust. Once you you've worked enough with proper enums and matches, that's the first thing you'll be lacking in C++ (and no, std::variant is a horrible mess without proper syntax support and doesn't even get c
246.
▲
by
aldanor
4y ago
You forgot HR!
247.
▲
by
aldanor
4y ago
It always baffles me how there are 3k people working at, say, Dropbox. What are they all doing? There's a product, it simply syncs files, it synced files pretty much the same way 10 years ago, give or take some polishing and optimisati
248.
▲
by
aldanor
4y ago
Depends on what you're doing / whether you're using IDEs and hungry editors or plain vim etc. As an example, CLion may eat 4-5gb of that. How many of those electron apps do you have open because each one can easily eat 0.5gb
249.
▲
by
aldanor
4y ago
Depends on what you're doing, you could similarly say "Python is a slow runtime language that isn't suited". When you dataset sizes are measured in 10-100gbs, some Python/numpy quirks may become pretty painful and w
250.
▲
by
aldanor
4y ago
Actually, ChatGPT should be real nice for generating test data for whatever schema you want.
251.
▲
by
aldanor
4y ago
Thanks for the laugh :)
252.
▲
by
aldanor
4y ago
Similarly, sorry, but C++ is doomed to be forever solely used for (a) maintaining codebases that noone wants to maintain but doesn't have a choice, and (b) organising cpp conferences to maintain self-confidence of a crowd of programmer
253.
▲
by
aldanor
4y ago
I gave it a try with jokes, too. Some jokes were just awful, but some make you think where did that come from. Me: C++ programmer and Rust programmer meet in a bar. Please finish the joke. ChatGPT (1): The C++ programmer says
254.
▲
by
aldanor
4y ago
Barely fits in an int32.
255.
▲
by
aldanor
4y ago
Not really. Most HFTs would choose some sort of kernel bypass for critical path networking needs. (unless that's what you mean by near stock)
256.
▲
by
aldanor
4y ago
Time to start finally building that [Irish Sea Bridge]( https://en.wikipedia.org/wiki/Irish_Sea_Bridge )?
257.
▲
by
aldanor
4y ago
It's a matter of habit, I guess, but. - Ctrl-[ is a chord that you have to press with 4/5 fingers using both hands at once. - Whereas jk/fd etc are next to each other on the home row and pressed with 2/3 of the same hand
258.
▲
by
aldanor
4y ago
j and k are both fairly common index variable names.
259.
▲
by
aldanor
4y ago
You can only map CapsLock to a single modifier in keyboard settings? Which is how I've always had it myself (caps->ctrl) but that's not what's being discussed here.
260.
▲
by
aldanor
4y ago
Try typing word "taj" and exiting the insert mode using your jk right after that last 'j'.
261.
▲
by
aldanor
4y ago
Looks interesting. I've always remapped capslock to CTRL myself, of course, but haven't thought of remapping tap-capslock to ESC. It looks like you need external software to do this though (like Karabiner Elements on mac, or xcape
262.
▲
by
aldanor
4y ago
For anyone who's used to fd/jk/kj/jj/jf or the like in Vim as an alias to ESC to exit insert mode, it looks like Helix is not too usable as of today: https://github.com/helix-editor/helix/i
263.
▲
by
aldanor
4y ago
Disagreed. Example: Numi.app and Soulver3.app = both are essentially just fancy calculators with built-in unit conversions and a few other convenient features. I use them maybe once a month, but €30 for a lifetime license with no subscripti
264.
▲
by
aldanor
4y ago
Safe Rust prevents you from doing stuff, it just won't compile. More importantly, it prevents your dependencies from doing stupid stuff if they're forbid(unsafe). "Safe C++" you can segfault or mem leak in a single line.
265.
▲
by
aldanor
4y ago
I've only asked a question once on Math SE without hoping for an answer (in regards to compactness of the set of densities of equivalent martingale measures, a very narrow topic), when I was completely stuck on it while writing my PhD
266.
▲
by
aldanor
4y ago
The point, IIUC, is not in being forced to live - it's that ending your own life may, in this way or another (like in this example with Amazon), explicitly or implicitly, encourage others to end theirs, who would not have went for it o
267.
▲
by
aldanor
4y ago
Helix needs a jumping tool, badly.
268.
▲
by
aldanor
4y ago
Agreed, concerto 2 is (in my opinion) of the most beautiful and epic music pieces ever. Interesting fact: Carmen's (C. Dion's) All By Myself is largely based on this concerto's 2nd movement. IIRC Rachmaninov is even listed as
269.
▲
by
aldanor
4y ago
You mean, existed 100 years ago?
270.
▲
by
aldanor
4y ago
Given that many phones these days have half a dozen cores...
More ›