Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fpoling
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
37 ms
·
571.
▲
by
fpoling
6y ago
I was not aware that unquoting in Common Lisp can be applied to data. So it is not a specialized sub language just for macros, but a general purpose template system that could also generate code.
572.
▲
by
fpoling
6y ago
Still the compiler has to deal with that. So one ends up with an interpreter in the compiler for very esoteric and hard to write/read language instead of just embedding an interpreter of a subset of Java. One alleged benefit of Java co
573.
▲
by
fpoling
6y ago
Even Java and Rust ended up with Turing-complete generics.
574.
▲
by
fpoling
6y ago
Zig compile-time evaluation even allows to construct an arbitrary type like a struct with a platform-specific members all using the same core language. This beats even Rust macros and in retrospect I wonder why this not used in other langu
575.
▲
by
fpoling
6y ago
I need to compile a lot. As that sometimes takes hours with max load, I have discovered that Intel Mac book Pro 13” 2020 was surprisingly loud. It is louder than a water-cooled Windows desktop at the office. This became especially apparent
576.
▲
by
fpoling
6y ago
If I need to get a M1 Mac, I will not bother with Pro. Surely under sustained load it is like 20% faster as Air throttles down, but if this important, then I guess just get a desktop which will still be faster despite using older Intel CPUs
577.
▲
by
fpoling
6y ago
The duct tape even does not look ugly when you work as it is hidden behind the lid.
578.
▲
by
fpoling
6y ago
If you cannot have fully encrypted setup, then you can consider encrypting at least most of data. At work due to remote work I cannot have fully encrypted disc with Windows as I have to reboot remotely. So I left a small enough partition fo
579.
▲
by
fpoling
6y ago
Yes, I meant affine types.
580.
▲
by
fpoling
6y ago
Even with bitcoins just consider what happens once all bitcoins are mined. Does the whole thing collapse? Or do bitcoins continue to be used similar to POS?
581.
▲
by
fpoling
6y ago
Bitcoin probably is not fixable, but other designs are much better at supporting cheap transactions. There is nothing inherently expensive in maintaining the block chain.
582.
▲
by
fpoling
6y ago
Cryptocurrency are inefficient by the design only at creation. But once mined, in principle with the right setup transactions can be arbitrary cheap. It is similarly as with gold. It is expensive to dig it once, but once a coin is minted, i
583.
▲
by
fpoling
6y ago
The biggest advantage of Rust is that the liner types and the borrow checker forces one to structure the application in a way that is much more manageable long-term and less error-prone even with occasional sprinkle of unsafe code. Surely o
584.
▲
by
fpoling
6y ago
The GIL is not problematic if one uses processes, not threads, for parallelism. And for system-level programming it may be even better long-term solution as one can sandbox child-processes. But GC is really problematic.
585.
▲
by
fpoling
6y ago
It is relatively straightforward to dissolve cellulose. So adding it to epoxy does not necessary make it harder to recycle. I can speculate that with the right chemistry it can be more energy efficient to recycle the mixture compared with p
586.
▲
by
fpoling
6y ago
Or drilling healthy teeth without anesthesia and setting dental fillings so there would be no proof that the teeth was healthy.
587.
▲
by
fpoling
6y ago
And the capacity increase 3 years ago was from 4TB to 5TB and I bought my first 4TB disc IIRC 6 years ago.
588.
▲
by
fpoling
6y ago
In many cases the UI changes are driven by the desire to attract new users under assumption that the previous UI was not sufficiently attractive.
589.
▲
by
fpoling
6y ago
In case of Gmail many changes were to grab more attention from the user, not to improve anything.
590.
▲
by
fpoling
6y ago
I work on a desktop application. Developing on a laptop is often a requirement especially when dealing with touchpad/touchscreen input and animations. Realistically one cannot do that over a remote desktop. It just adds too much latenc
591.
▲
by
fpoling
6y ago
I need it when working with huge source trees. Windows sucks at that and extra memory that allows for more caching helps. Mac sucks less in that respect. Still git status on Intel MacBook Pro 2020 takes 2-3 seconds while on Thinkpad X280 f
592.
▲
by
fpoling
6y ago
In Norway one and halve year ago I did 1000km round trip in eGolf. The trip was over mountains and I needed to charge quite a few times. It was not possible to pay with a credit card directly without installing an app. All charging stations
593.
▲
by
fpoling
6y ago
Few years ago EUV was not considered production ready. Intel made a reasonable bet that given their lead in the traditional lithograph by continuing with it they would stay ahead of competition until EUV matures. TMSC instead decided to try
594.
▲
by
fpoling
6y ago
EUV machinery was delivered to TMSC by a firm from The Netherlands.
595.
▲
by
fpoling
6y ago
The blog post incorrectly states that Go is a memory-safe language. It is not in its standard configuration. And it does not mention that hypervisor bugs allowing to escape from a VM are typically due to wrong logic, not memory safety. Usi
596.
▲
by
fpoling
6y ago
If one only allows container to run as a non-root user (no user namespace either) with all privileges dropped with strong mount isolation and some form of syscall filtering, then the attack surface is similar to that of hypervisors if not s
597.
▲
by
fpoling
6y ago
Another thing is that in C null pointer is invalid. Yet the index zero is valid. With one-based indexes this discrepancy is removed.
598.
▲
by
fpoling
6y ago
After some experience with Go I realized that in quite a few cases it will be nice to have 1-based indexes. If one have a variable that is an index into an array, then it is natural to initialize it to an invalid index like -1. But in Go ev
599.
▲
by
fpoling
6y ago
On a few occasions in C++ I have found few boolean flags are superior to enum in code that evolves. What happens was that code changes effectively turned deterministic state machine into nondeterministic one. Modeling the relevant parallel
600.
▲
by
fpoling
6y ago
The stability of any complex organic molecule depends very strongly on the temperature, acidity, presence of other components etc. Without reference to the precise conditions the number is meaningless.
More ›