Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
renox
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
72 ms
·
841.
▲
by
renox
8y ago
Is there such thing as 'simple sequential code'? Simple? Additions may overflow, printf may fail, etc. Usually code looks simple only because it ignores errors.. As for sequential, we're in the age of multiple cores and GPUs.
842.
▲
by
renox
8y ago
I don't know much about this topic but I've heard that Hindley-Milner's type inference has also drawbacks as it doesn't work well with partial compilation and subtyping. So does the benefits outweight the drawbacks?
843.
▲
by
renox
8y ago
Because C has big flaws (signed/unsigned automatic conversion, arrays without length) that Rust doesn't have. That said, you're right that I find Rust "story" that you should wrap unsafe operation behind safe APIs a
844.
▲
by
renox
8y ago
camelNotation,vanterdon: Reread what the GP said: he used the present tense, not the past tense. If you rewrite what he said in the past tense, I agree, but for the present tense? No, while it 's true that in many countries religions s
845.
▲
by
renox
8y ago
> Religion also provides inclusion for those that would otherwise feel outcast. Except for those who don't fit in the religion narrow view of what is acceptable.. > It provides a framework for you to build culture upon.[cut]It pr
846.
▲
by
renox
8y ago
Yes, it tries to put complexity server side also if memory serves, it tries to be robust against various loss.
847.
▲
by
renox
8y ago
Framemaker? This brings back old memories (circa 1993) the only editor I liked.. All the other editors I've used since then feels like a downgrade (for technical documentation purpose at least)
848.
▲
by
renox
8y ago
> Patterns are just named best practices Not best practices: just common practice, few would argue that the singleton pattern is a best practice.. But yes, the naming truly help communications.
849.
▲
by
renox
8y ago
Really? Python's syntax looks clean at first OK then later I realized that it has no variable declaration (and old memories of time lost in BASIC due to spelling errors start coming back), no static typing, is slow and isn't parti
850.
▲
by
renox
8y ago
Note that the detection of gravitational waves necessitated the modelisation of these waves first . So astronomy is needed as an input and also progress as an output of the telescope..
851.
▲
by
renox
8y ago
1) it doesn't really solve the issue except if you can allocate everything you need at startup: if you need more memory but someone else had a bug which used all the memory you also have a problem..
852.
▲
by
renox
8y ago
Go the language OK but Go rely on a GC which required lots of work..
853.
▲
by
renox
8y ago
1) some of these complaints are invalid: yes Linux kill a "random" process when there is no more memory available, but except in 'static' configuration where everything has a known size, what's the alternative? You
854.
▲
by
renox
8y ago
> RISC-V is pretty nice in that the ISA gets out of your way Except for the C variant where they went to 110% complexity for maximum ICache efficiency: 32bit instructions aligned to 16bit?? I wonder if there are other RISC ISA which made
855.
▲
by
renox
8y ago
WebKit wasn't designed for BeOS so I'm not sure that using native API to draw is enough to make it a real native BeOS..
856.
▲
by
renox
8y ago
WebKit is modern yes but it isn't really "BeOS native"
857.
▲
by
renox
8y ago
I'm surprised it doesnt talk about failures IMHO the most important thing is having a sane architecture which can deal with failures (like Chrome vs old Firefox) or Arcan https://arcan-fe.com/2017/12/24/c
858.
▲
by
renox
8y ago
The Amiga didn't have multiple address space so that's cheating.. I've never used an Amiga but BeOS was really much more responsive than either Linux or Windows but that was before SSD and multiple cores were available so may
859.
▲
by
renox
8y ago
RedHat's business is servers' support: it's quite logical that the desktop they provide is as much as possible similar to the server's configuration because developers will test on their workstation.. So no, I don't
860.
▲
by
renox
8y ago
Easy: the constant part of the polynomial is x^0.
861.
▲
by
renox
8y ago
It is straightforward to create a language where a user can specify any type of index (like Ada), if you need to import a library everywhere to have the correct behaviour then this library should be a part of the language instead.
862.
▲
by
renox
8y ago
> If the decorations are done server-side then all applications will look the same anyway. Uh? You should read about QubesOS..
863.
▲
by
renox
8y ago
> The compositor isn't supposed to draw anything, it just copies things to the frame buffer. Depends, some of us thinks that server side decorations are better for security, because otherwise a client can fake the look of another cl
864.
▲
by
renox
8y ago
OK so seL4 is safer than Linux, that's not really news.. I have questions about seL4 though: is it able to manage several multicore CPU efficiently? What about power management, does it work?
865.
▲
by
renox
8y ago
If I remember well, there was a sound card which talked on the PCI bus after it should have stopped talking, these kind of bugs can break any OS, microkernel or not..
866.
▲
by
renox
8y ago
I already know about this but if you use someone else's code in a library for example in Julia the library will most likely only work with 1-indexed array, in Ada it will work with any base index. Default matters!
867.
▲
by
renox
8y ago
The problem is the default behaviour: in Ada you can use whatever you want, in Julia the default is 1-based which is quite controversial.
868.
▲
by
renox
8y ago
I'm not sure what you mean by 'a fully mapped type' but uninitialised padding bytes are read without problem in C++ when you do a memcpy of a structure..
869.
▲
by
renox
8y ago
> I initially defended the choice, but I now agree that 1-based indexing now seems like a poor choice since Julia has become something more than the original mission of a better MATLAB or Octave. It’s a, admittedly, minor tragedy of Juli
870.
▲
by
renox
8y ago
> A constructor is simply a function that takes a block of un-initialized memory and assigns every byte In C++, the constructor doesn't initialise every bytes (padding for example)..
More ›