Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
renox
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
38 ms
·
541.
▲
by
renox
5y ago
I remember reading recently about a "Firefox bug" caused by a buggy "portability" patch of one of their dependencies. Accepting 'portability patch' isn't free..
542.
▲
by
renox
5y ago
Camel case consistent? You must be reading different code than me: Ue/UE, Subcell/SubCell, cellgroup, cellGroup all seen in the codebase I work..
543.
▲
by
renox
5y ago
I do something similar for long job on the remote server: an alias to send me an email + a rule in Outlook which opens a popup when an email with this subject is received (I haven't managed to get sound from VNC)
544.
▲
by
renox
6y ago
Yep, been there too: paint is really something where you want to avoid the big shop and goes to speciality stores instead (paint peeling from the wall? Color changing after a year? Done and done --> switched to a dedicated paint store ==
545.
▲
by
renox
6y ago
Interesting 'single purpose' language though I'm surprised that 1) variables have to be declared before the code (I had to do this a long time ago and it was annoying) 2) the separated section for uninitialised variable in st
546.
▲
by
renox
6y ago
Yesterday grep didn't work because it 'autodetected' that the target file was a binary.. So I 1) cursed whoever made this non backward compatible change 2) used man to find the '-a' option..
547.
▲
by
renox
6y ago
> const -> immutable const -> read_only_view is better
548.
▲
by
renox
6y ago
These commands should be also provided behind an 'advanced' submenu which would make them both discoverable AND not used by default by normal users.
549.
▲
by
renox
6y ago
Good GUIs can be discoverable yes, but what about about Windows XP's file explorer shift right-click option (to make reappear 'Open with..'), Windows 10 right click on the 'start' menu? Do you find these things
550.
▲
by
renox
6y ago
In theory, that's true, unfortunately often "professionals" write poor code like amateurs and then spend all their time in debugging :-(
551.
▲
by
renox
6y ago
Well I've had a few lesson in APL a long time ago and what I remember is that APL is a write-only language. So I doubt that it would 'cut down on bugs'
552.
▲
by
renox
6y ago
> I ran into issues running 32-bit binaries You could use a VM to workaround this issue no? It seems to me that making a working demo of Frank as an open source project should be the first priority even if it runs only in a 32-bit VM, b
553.
▲
by
renox
6y ago
I'm very doubtful that this paper is correct, otherwise it would mean that we can put things FTL with just enough energy..
554.
▲
by
renox
6y ago
I won't go into detail but this was related to macros and separated compilations: if you're not careful with macros, the 'same' object can have different size in different .cpp..
555.
▲
by
renox
6y ago
Except for the battery, my GS7 is fine otherwise..
556.
▲
by
renox
6y ago
It doesn’t happen very often but each time there was a new developer on the team they made such mistake, that’s a way to teach them about valgrind (what a wonderful software!) I guess. We work in a ‘low latency’ domain where heap allocation
557.
▲
by
renox
6y ago
Yep, ‘-O2 or above’ we used to compile our UTs without optimizations because otherwise it takes too long, but now we have an additional(less frequent) CI job for UT with optimizations to benefit from these improved error detection.
558.
▲
by
renox
6y ago
For who? Beginners or experts?
559.
▲
by
renox
6y ago
Bah, it's the same as Maths: notations 'compress' the formulas but at the cost of having to learn these notations..
560.
▲
by
renox
6y ago
The 'Word' equivalent was called Frank but AFAIK nobody has been able to reproduce what was demonstrated.. Quite painfully ironic for a software research project that they didn't use properly a VCS..
561.
▲
by
renox
6y ago
Yep been there done that two months ago, took me two days (at least) to find the issue as a corruption which happen in -O3 but not in debug build which neither valgrind nor ASAN can find is pretty mysterious..
562.
▲
by
renox
6y ago
Having an array 'view' with a pointer to the end of the array seems much more simple to manage that having to manage a sentinel value. Less accidentally quadratic algorithms, this way!
563.
▲
by
renox
6y ago
>I would hazard a guess that your coworkers would struggle in pretty much any language? Uh? This issue wouldn't happen in Java because everything is heap(GC) allocated. Which is probably why developers new to C++ have this issue. Wa
564.
▲
by
renox
6y ago
What I find funny is his choice of languages: 'hipe driven' I'd say. If you can use a GCd language like Go why would you go with Rust(which add a lot of complexity) or Zig(which is unsafe(1)) instead of the numerous existing
565.
▲
by
renox
6y ago
I must admit that I don't really understand the RedLeaf design if it doesn't use hardware protections you cannot run C or use unsafe Rust "safely"?? Everything in 100% safe Rust isn't going to happen ever so it isn&
566.
▲
by
renox
6y ago
I'll have a look thanks but note that seL4 is implemented in C because C has a formally verified compiler CompCert which Rust doesn't have..
567.
▲
by
renox
6y ago
Maybe but this is at the cost of worst design.. For me the 'logical' thing to do to build a 'safety first' OS in the 21st century would be: use the seL4 microkernel and then Rust to build the full OS kernel. Though I don
568.
▲
by
renox
6y ago
D and Nim looks like competition here except for the Ruby look-alike syntax of course.
569.
▲
by
renox
6y ago
This kind of reasoning can be used to justify slavery..
570.
▲
by
renox
6y ago
> I imagine it might have a significant performance impact, It depends on the CPU: MIPS has(had if you consider MIPS dead) some integer operations which trapped in case of integer overflow AFAIK the 'trapping operations' were a
More ›