Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
astrobe_
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
81 ms
·
931.
▲
by
astrobe_
7y ago
One can construct an aligned pointer on a chunk of allocated memory by asking for the needed quantity plus the size of the alignment and the "nudge" the pointer you get to the next word boundary (and you can do something with th
932.
▲
by
astrobe_
7y ago
What they really want is to find a way to convince their boss to rewrite everything in Go.
933.
▲
by
astrobe_
7y ago
Actually it is not uncommon to see 0, 1 and -1 defined as built-in primitives. The benefit is that in some interpretation schemes (bytecode, DTC) it is either faster or smaller, sometimes both. It also allows to ' 0 ("tick"
934.
▲
by
astrobe_
7y ago
There are many things wrong with that. Speed is not the most important thing during exams. If it does, it means one of two wrong things (sometimes both): - Poorly designed exam: Too many questions and not enough time to complete it for the
935.
▲
by
astrobe_
7y ago
> So, imagine being able to use the same sorting/filtering logic on the output of `ls` as you might on the output of `ps`, and without relying on hacky solutions like pipelines to `grep`, `cut`, and `sort` That would awksome.
936.
▲
by
astrobe_
7y ago
Anyone can outrun a car... In a sufficiently dense forest. AI always have had this problem that reality is a very dense forest.
937.
▲
by
astrobe_
7y ago
Forth love if honk then Be careful what you wish for...
938.
▲
by
astrobe_
7y ago
I've heard that in Japan, stamping with your personal stamp is accepted (and perhaps sometimes even required?). They have made electronic gadgets that store their stamps as images so that they can directly sign (stamp) an electronic do
939.
▲
by
astrobe_
7y ago
It's not the picture that broke, it's not the user that is dumb, but the system that is broken. Dot extensions is a concept that should never have seen the light of the 21st century. Or at least it should be a last resort for the
940.
▲
by
astrobe_
7y ago
> It's also worth mentioning that newlines are significant in TCP syslog (for batching log messages) but not in UDP syslog (because of frame size limits) More because of the D in UDP, I believe. UDP is a packet (datagram) protocol;
941.
▲
by
astrobe_
7y ago
We (maybe it's just a local thing, though) say sometimes "oui mais non!" ("yes but no!") for when you agree with the premises but not the conclusion. It is generally said with a smile, or makes people smile or laugh
942.
▲
by
astrobe_
7y ago
> why are people obsessed with simplicity? > "make things as simple as they can be but no simpler". Those people are obsessed, precisely, with the "can be".
943.
▲
by
astrobe_
7y ago
Not only. Checkout Forth Inc. last year's projects [1]. In one of them, Forth is used everywhere from micro-controllers to the monitoring PCs. [1] https://wiki.forth-ev.de/doku.php/events:ef2018:forth-in-tha...
944.
▲
by
astrobe_
7y ago
> Chuck Moore's supposedly astonishing productivity notwithstanding, I notice that all of the software I actually use is a heavily layered tower of abstraction (and, curiously, none of it is written by Chuck Moore) Perhaps you never
945.
▲
by
astrobe_
7y ago
It's the usually game of MPUs becoming cheaper or more stuffed for the same price because the demand allows to manufacture bigger batches, and the demand is to allow more portability by the means of more stuffed MPUs that allow more ab
946.
▲
by
astrobe_
7y ago
> This may hold true for small-scale hardware like controllers. They have a well-defined set of tasks, small enough to fit in your head. People usually insist that software should be modular, so that you don't have to have millions
947.
▲
by
astrobe_
7y ago
No, not writing everything in assembler, this isn't about high or low level. It's about writing things yourself for what you actually need. Because most of the complexity comes from code (esp. libraries and drivers) trying to solv
948.
▲
by
astrobe_
7y ago
So 15 minutes of fame.
949.
▲
by
astrobe_
7y ago
Yes. The argument almost defeats itself: why do you waste my time with irrelevant stuff? Why did you make read a whole page of details before coming to the critical point? That has been my experience: make your messages as short and straigh
950.
▲
by
astrobe_
7y ago
Really? Between webgames (2048, Ager.io, Krunker, ...) and instant Linux games (Cube2, STK, ...) there are more than enough options.
951.
▲
by
astrobe_
7y ago
Eternal September.
952.
▲
by
astrobe_
7y ago
Excel is a first order optimal strategy [1]. It is good for casual players, but not good enough for pro players. [1] http://www.realityrefracted.com/2011/03/first-order-optimal-...
953.
▲
by
astrobe_
7y ago
From what I've seen with Zero-K (a Total Annihilation descendant) on Twitch, strong players play most of the time zoomed-out to see the whole map at once; some just disable the minimap entirely. IANAPGM, but one can observe that TA and
954.
▲
by
astrobe_
7y ago
Because Autorun so gud. Will people ever learn?
955.
▲
by
astrobe_
7y ago
What makes them more "radiation-proof" than us?
956.
▲
by
astrobe_
7y ago
I don't miss cassettes jammed in the player and vinyls ruined by scratches, personally. At least CDs are more resilient.
957.
▲
by
astrobe_
7y ago
> How are you going to enforce using such a scheme? What would stop people from downloading software with real encryption? Does "anti-circumvention clauses" ring a bell? Or illegal numbers? > Also, how do you oversight that
958.
▲
by
astrobe_
7y ago
YAGNI. Just use whatever Notepad-like app that was pre-installed on your device.
959.
▲
by
astrobe_
7y ago
Lua is a far better counter-example as a successful small and (conceptually) beautiful language.
960.
▲
by
astrobe_
7y ago
It looks like what you want is type-mismatch as warnings. I'm not sure it would be viable though, because dynamic languages can throw an exception in this case, while static languages will segfault. Unless the compiler inserts instrume
More ›