Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
__s
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
186 ms
·
2071.
▲
by
__s
11y ago
There's more to paying taxes, there's obeying laws. As a canadian, I'll cite our current Prime Minister's father: http://www.cbc.ca/archives/entry/omnibus-bill-theres-no-plac... Pay taxes, obey
2072.
▲
by
__s
11y ago
memset with 0 length becomes more likely due to the mess of NULL and malloc/realloc/free
2073.
▲
by
__s
11y ago
It is not always defined. It's defined to take an address to a pointer with an offset within the object's space plus one. Subtracting two pointers to distinct objects is undefined. This is to allow for segmented memory architectur
2074.
▲
by
__s
11y ago
On x86 the shift only looks at the leftmost 5 bits, so 1<<33 is 2. Whereas elsewhere 1<<33 may be 0. It wouldn't be strange if a platform decided to have 1<<33 throw an overflow fault. The key is that this choice shou
2075.
▲
by
__s
11y ago
Examples you listed would be better made "implementation defined." ie use RFC language with "Programmers should avoid shifting by more than the bitwidth, compilers should produce an implementation defined result, but may spec
2076.
▲
by
__s
11y ago
Currently dealing with work start time being 9am but scrum starts at 9:30 so I aim to show up at 9:20. Nobody minds thankfully Worked in flooring last year. Hours were 8 to 4. Coffee stop was on the way in. Generally started right away, but
2077.
▲
by
__s
11y ago
I've been segfaulting CPython quite a bit with stack underflows while developing a befunge-to-python-bytecode JIT that uses the python stack as the befunge stack. It has to include instrumentation to track the stack depth so that it su
2078.
▲
by
__s
11y ago
& claim the code as their own
2079.
▲
by
__s
11y ago
It could detect all scenarios by compiling to a C virtual machine which checks for UB at runtime
2080.
▲
by
__s
11y ago
No love for the BSDs or Redox or TempleOS
2081.
▲
by
__s
11y ago
Not really. It's chromeless, doesn't render anything. So you boot into a black screen & Alt+Q opens st in the upper left corner (this could change by modifying nobox's st invocation with geometry options) I have st invoke
2082.
▲
by
__s
11y ago
scc, suckless C compiler, is in progress: http://git.suckless.org/scc
2083.
▲
by
__s
11y ago
Suckless inspired my naming of sxi: https://github.com/serprex/sxi & dwm served as the base from which I learnt to create nobox: https://github.com/serprex/nobox Good stuff. Though seeing dwm
2084.
▲
by
__s
11y ago
Until you simplify your sort function into insert sort (which, admittedly, is really fast before container size hits triple digits)
2085.
▲
by
__s
11y ago
Possibly some backwards incompatible change was introduced & nobody feels like having to maintain version checking down to minor releases. systemd should learn how to run as a non-init service daemon
2086.
▲
by
__s
11y ago
https://news.ycombinator.com/item?id=10443276
2087.
▲
by
__s
11y ago
https://github.com/ludamad/boarders was a start on trying to implement off of the Zillions of Games format