Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
feelamee
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
91.
▲
by
feelamee
8mo ago
yes, but not soo much as my production C++. I know that that's our choice, but I underline the difference between C and C++ here
92.
▲
by
feelamee
8mo ago
Of course people do" virtual functions" in C, but I think this is not an argument despite C. I noticed that making virtual in C++ is sooo easy that people start abusing it. This making reading/understanding/debugging co
93.
▲
by
feelamee
8mo ago
> Ever compiler has their own version of PCH and they all work different in annoying ways. I don't care because I use cmake
94.
▲
by
feelamee
8mo ago
We live with that for *decades*. For me this is not a daily problem. So yes, this is not compelling, unfortunately.
95.
▲
by
feelamee
8mo ago
do you publish dotfiles and scripts anywhere? I'm interested to see them
96.
▲
by
feelamee
8mo ago
can someone explain security consideration of placing scripts into $HOME? Some time ago I moved all my scripts to /usr/local/bin, because I feel that this is better from security perspective.
97.
▲
by
feelamee
9mo ago
not every. I have not lived in 90s at all, I am from the current millennium, but.. I am nostalgic about 90s. This is strange, but I feel nostalgia about times I never live
98.
▲
by
feelamee
9mo ago
> Triangles are easy to rasterize sure, rasterizing triangle is not so hard, but.. you know, rasterizing rectangle is far far easier
99.
▲
by
feelamee
9mo ago
why use modules if PCH on your diagram is not much worse in compile times?
100.
▲
by
feelamee
9mo ago
rust is not complex for C++ experts. Both have the same concepts. For beginners of course rust is harder, but that didn't mean bad for beginners
101.
▲
by
feelamee
10mo ago
The user interface looks very similar to Niagara Launcher. I found it a really fresh and comfortable alternative to the default android launchers
102.
▲
by
feelamee
10mo ago
wow, can you elaborate how adding a string field can break some assumptions?
103.
▲
by
feelamee
10mo ago
> This is why other systems languages are taking off (besides the expressiveness or memory safety bandwagon) is because there are clear instructions in the docs on what this does with examples of how to use it properly. I have never seen
104.
▲
by
feelamee
10mo ago
> sometimes that’s actually what you meant — you’re calling it only for its side effect. Back in 2022, Stephan T. Lavavej estimated of unique_ptr::release that “90% of discards are a bug, but 10% are maybe valid… What are these 10% valid
105.
▲
by
feelamee
10mo ago
better add a button to *enable* AI
106.
▲
by
feelamee
10mo ago
Thanks, it looks promising! I built it and felt cargo-style - friendly and colorful. Look like you really know what you do and what C community wait from such tool. So, I leave my humble star on repo :). Good luck!
107.
▲
by
feelamee
10mo ago
I mean that bug is *not in* uninitialized variable - bug in program logic. E.g. one of code pathes don't initialize variable. So, I see uninitialized variables as a good way to find such logic errors. And, therefore, advice to always i
108.
▲
by
feelamee
10mo ago
uninitialized values are not the source of bugs. This is a good way to find logic errors in code (e.g. using sanitizer)
109.
▲
by
feelamee
10mo ago
is it already in open source? I would like to see and test it. Share it here - on HN, when you will be ready
110.
▲
by
feelamee
10mo ago
isnt jj undo the equivalent of git reflog (+ reset/checkout)?
111.
▲
by
feelamee
10mo ago
Can you explain how to do same workflow in jj? It would be nice to compare bads and goodies of git/jj
112.
▲
by
feelamee
11mo ago
I think rust has a lot of slippery points too. And this number will grow with years. So, yes - rust made a lot of good choices over C++, but this does not mean it has no its own problems. Therefore I can't say Rust is simple in this se
113.
▲
by
feelamee
11mo ago
if Linux is a JavaScript, then what is Windows? haha
114.
▲
by
feelamee
1y ago
looks like you are right, but... I almost never used all of this features with bat. Maybe tail -f sometimes. Do you really need this in daily workflow?
115.
▲
by
feelamee
1y ago
fun fact: I cant select text in this website from phone.. I am use firefox nightly. Selection only works on .txt version of site
116.
▲
by
feelamee
1y ago
> Though I would argue the absurd amount of undefined behavior makes it not even simple by design. What? UB is the simplest thing you can do when you just don't want to specify behavior. Any specified behavior can't be simpler
117.
▲
by
feelamee
1y ago
believing that rewriting to rust will make code safe is unsafe) Of course it will be safer, but not safe. Safety is a marketing feature of rust and no more. But a lot of people really believe in it and will be zealously trying to prove that
118.
▲
by
feelamee
1y ago
can you elaborate please? Why jj is more feature complete for you than git? I tried jj and for now it looks like too raw. The problem is also its git backed. I really don't want to care about two states of repo at the same time - one
119.
▲
by
feelamee
1y ago
why everyone is fixated around `import std`?? Its only one library. If you can't use `import std` this is not mean that you can't use modules... > it is also unknown how you're gonna export and share modules across depend
120.
▲
by
feelamee
1y ago
gcc and clang implemented them too, but partialy. My comment about this absolutely wrong point: > all of your code need to use modules With all three major compilers you can right now use modules and at the same time include some other d
More ›