Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mgaunard
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
39 ms
·
871.
▲
by
mgaunard
3y ago
You don't really expose yourself to such copyright infringement unless you redistribute somebody else's work. If you're gonna do that, you better make sure you're allowed to and under what conditions.
872.
▲
by
mgaunard
3y ago
A court still needs to decide on whether there was wilful infringement, which is unlikely if it was a genuine mistake. The alternative, which the new license provides, is that attribution isn't really required, since you can just add i
873.
▲
by
mgaunard
3y ago
I'm complaining about clickbait.
874.
▲
by
mgaunard
3y ago
Being open to litigation does not destroy you. Also a contract is serious business.
875.
▲
by
mgaunard
3y ago
I hate articles that go on and on about some story before finally explaining what's in the title.
876.
▲
by
mgaunard
3y ago
That's not what the white house said and they're not an authority in software engineering anyway. Just sensationalist journalism.
877.
▲
by
mgaunard
3y ago
Those are the main compiler frameworks used by all the major platform providers (Microsoft, Google, Apple, Facebook, IBM...) and support dozens of languages...
878.
▲
by
mgaunard
3y ago
ever heard of nomad?
879.
▲
by
mgaunard
3y ago
What are the new APIs that require Windows 10+?
880.
▲
by
mgaunard
3y ago
I don't use Windows much, can someone explain to me the actual difference with Chromium?
881.
▲
by
mgaunard
3y ago
A functor is a mapping between categories, just like a function is a mapping between sets. What kind of insights this means for programming is quite up to interpretation and how you choose to formally describe its semantics (and most popula
882.
▲
by
mgaunard
3y ago
Programming practice shows that overly generic constructs aren't that useful and typically lead to over-engineering, difficulty of maintenance and reduced productivity. There are enough complexities in the problem domain and the system
883.
▲
by
mgaunard
3y ago
The role of the compiler is to automatically perform the task of translating a program in a given programming language to a program that runs on a computer, making the best possible use of that computer's resources. Writing a compiler
884.
▲
by
mgaunard
3y ago
It seems the trend is in increased diversity of hardware, with the dominance of x86 being reconsidered with smartphones, energy-optimal cloud, GPU computing, and ML accelerators. LLVM allows hardware manufacturers to more easily provide ma
885.
▲
by
mgaunard
3y ago
Functors come from category theory. They're relevant in programming languages that are based on that, e.g. Ocaml, Haskell, and other sorts of overly academic and impractical esoteric stuff. Like most ideas in programming based on theor
886.
▲
by
mgaunard
3y ago
ha, you're a Rust zealot; that explains it. Believing that all new software should be written in Rust rather than C++, and that this situation is inevitable anyway, is one of the core tenets of this church.
887.
▲
by
mgaunard
3y ago
I don't think they are. So long as you were not trained before the 70s, any knowledge there is still very relevant today. ISAs are still very similar, and so is the relative performance of the various operations. Registers, caches, pip
888.
▲
by
mgaunard
3y ago
While I don't know anything about that project, your comment sounds a bit unwarrantingly anti-C++. Most compilers and operating systems are built in C++ nowadays, it's the industry standard for any systems-level programming.
889.
▲
by
mgaunard
3y ago
AI could be used to choose which of the valid transformations to apply and in which order. Current compilers do not guarantee that re-running the optimization passes a second time is idempotent. Every pass just does some "useful"
890.
▲
by
mgaunard
3y ago
Before writing compilers, I think it's best to understand computer architectures, and what needs to be generated by the compiler to yield the most efficient machine code. Unfortunately, in my experience, computer architecture and even
891.
▲
by
mgaunard
3y ago
That restriction was lifted in 2020. tuple_accessor::name is a const char* which is what you asked for. static_value here is an implementation detail and the type of its members is irrelevant.
892.
▲
by
mgaunard
3y ago
for demonstration purposes only. #include <array> #include <tuple> constexpr std::array<char, 11> itos(unsigned n) { std::array<char, 11> s; unsigned i = 0; while (n) { s[i++] = &
893.
▲
by
mgaunard
3y ago
You mean way after he introduced the bad way of doing things? Looks like an afterthought.
894.
▲
by
mgaunard
3y ago
There is zero need for template recursion here, or even templates at all. The functionality can be computed as a simple constexpr function. A string as a char template parameter pack is a textbook example of an antipattern.
895.
▲
by
mgaunard
3y ago
Pretty bad "idioms"; anything involving recursive template instantiations is a terrible idea. How to use fold expressions on operator comma isn't even touched on.
896.
▲
by
mgaunard
3y ago
But the windows processes don't run as Linux processes.
897.
▲
by
mgaunard
3y ago
By running the process under a different filesystem namespace than "normal" processes, you're effectively sandboxing it.
898.
▲
by
mgaunard
3y ago
A national/central/reserve bank is very different from a normal bank. To such a bank, national tender is actually pretty much a bond, and therefore they can issue more of it. No such bank sells mortgage products to retail customer
899.
▲
by
mgaunard
3y ago
A docker container is essentially a sandboxed process, not a VM.
900.
▲
by
mgaunard
3y ago
Let's say I have 1 million. I can use it for example to buy beer brewing equipment and a warehouse, which allows me to start a beer business which generates income. Or I can lend it to someone. But then I can't do my beer business
More ›