Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
renox
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
16 ms
·
211.
▲
by
renox
3y ago
The emphasis on tests made me laugh: I work on a project where it's mandated that all the code is covered by Unit Tests. In my estimate the time to make UT is 3* the time to create the code. And no, nobody use TDD in this project becau
212.
▲
by
renox
3y ago
Maybe but currently the quality of the content available on Prime is far below Netflix's.
213.
▲
by
renox
3y ago
I wouldn't put NEdit in the 'obscure X11 Apps' category. It's very useful, for example to visualise logs.
214.
▲
by
renox
3y ago
Uh? While generational reference are memory safe your program still crash when there is a memory issue.. It's much better than going on in a corrupted state but still it's a crash.
215.
▲
by
renox
3y ago
How about infix function with a prefix? That is to say #+ would be an overloadable infix function, + would be a non overloadable operator.
216.
▲
by
renox
3y ago
You're right, but it doesn't matter: Modula-2 didn't catch up, Zig has a small chance to succeed thanks to its focus on embedded and on its good tooling for cross-compilation.
217.
▲
by
renox
3y ago
Microwaved plastic is obviously something to avoid I agree but what I would like to know is what happens on plastic plates in washing machine?
218.
▲
by
renox
3y ago
Blame the CPU makers. Fun fact: in Zig, unsigned overflow are undefined too.
219.
▲
by
renox
3y ago
I'm not sure what's your point, single threaded CPUs exist.
220.
▲
by
renox
3y ago
Except that as soon as you have two instructions instead of one, people starts talking about cache pressure and turns off the safety. Optional security == no security.
221.
▲
by
renox
3y ago
Nope it was a differential probe. I suspect that we broke something in the board when plugging the probes..
222.
▲
by
renox
3y ago
This reminds me of a school project (building a sound card) where I noticed that when I plugged the oscilloscope at one point it changed the output at another point --> I threw out the board and decided to never do hardware again..
223.
▲
by
renox
3y ago
Even a very low penalty isn't something that the industry is willing to produce.. For example, the RISC-V is derived from the MIPS, the MIPS had some instruction to trap on integer overflow, it's a very minor penalty to have these
224.
▲
by
renox
3y ago
Swimming with clothes on is very hard!
225.
▲
by
renox
3y ago
> I am not much of a Zig-head, but the best compromise I can think of is having a few operators which purely and solely exist for this purpose. In other words, there is no operator overloading, but you can define, say, "#+" for
226.
▲
by
renox
3y ago
Note that it's not really the activity, it's the people who matters: I was part of several scuba diving club when I was younger: each had his strong points, and the community aspect differed a lot from one club to another..
227.
▲
by
renox
3y ago
Well French is super complicated (I know I'm French) but in this case your issue is specialised vocabulary: I have exactly the same issue in English, when I read GoT the hardest part for me was the meal descriptions..
228.
▲
by
renox
3y ago
> Maybe Rust offers the best of both worlds? (I say this mostly but not entirely tongue in cheek.) AFAIK Rust's solution for tree/graph is to replace pointers by indexes. IMHO this is worse because if you get it wrong with poin
229.
▲
by
renox
3y ago
Yes, yet 'set -x' in Bash is more useful than in any other languages I know. Because Bash is used to call utils so you see the partial trace of your script that you want to see, not the inside of the tools/utils that you don&
230.
▲
by
renox
3y ago
> the net code density is on par between x86 and ARM It was similar with Thumb, but now that there's ARMv8, ARM code density has probably decreased.
231.
▲
by
renox
3y ago
The only CPU I know which had integer overflow detection was MIPS. RISC V is somewhat based on MIPS but they removed this part :-(
232.
▲
by
renox
3y ago
I’ve been reading about capabilities since a long time, is-it used in ‘normal’ software ?
233.
▲
by
renox
4y ago
This kind of things exist as a set of python scripts for C++. It should be possible to do the same for Rust.
234.
▲
by
renox
4y ago
Have you read the article? Not only you're paying Windows but you have to waste time to disable its antifeatures..
235.
▲
by
renox
4y ago
Python became popular without being the 'web language', the Lisps didn't.
236.
▲
by
renox
4y ago
You have good points but "the syntax is hard to manipulate programmatically"?? Maybe you haven't noticed but Lisp is now a tiny niche and most new languages aren't homoiconic either..
237.
▲
by
renox
4y ago
> I tried zig after reading so many HN articles and I am not impressed. You have to remember to free after each allocation. You write like it was a something surprising, but you know Zig is often described as a replacement for C..
238.
▲
by
renox
4y ago
Yes, women are treated as a subspecies in some of these countries listed, what a poor article!
239.
▲
by
renox
4y ago
Yes, I use this trick at work to remove the generated build directory. IMHO this behaviour should be added to 'rm', but not by default due to the background work triggered.
240.
▲
by
renox
4y ago
Rust as an example of good syntax, seriously? I don't know Rust but when I see examples they're not especially readable.. That said system languages have a disadvantage, they can't even concatenate two strings 'simply&#x
More ›