Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mgaunard
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
39 ms
·
781.
▲
by
mgaunard
2y ago
Anyone claiming such things doesn't understand Unicode at all. The whole concept of having special Unicode-aware strlen or substr is nonsense.
782.
▲
by
mgaunard
2y ago
Because this method of deployment is not only unsafe but also doesn't scale. In the age of cloud, you just run your web application as its own server, and just have a proxy that fronts it.
783.
▲
by
mgaunard
2y ago
Why would you use PHP when Python exists?
784.
▲
by
mgaunard
3y ago
There is a pretty successful world language standard: English.
785.
▲
by
mgaunard
3y ago
They're small in the sense that their dependency on the rest of your codebase is small.
786.
▲
by
mgaunard
3y ago
Splitting everything in small files makes it so that very little needs to recompile when you change something. Linking is pretty much just I/O-bound unless you're using LTO. This is assuming you're using a modern linker like
787.
▲
by
mgaunard
3y ago
Except that doesn't improve the time of iterative builds, which are the only ones that really matter to software development.
788.
▲
by
mgaunard
3y ago
DIWYDU sound like a better tool than IWYU.
789.
▲
by
mgaunard
3y ago
That's not how compounding percentages works.
790.
▲
by
mgaunard
3y ago
The upside is larger, but is longer-term and uncertain. You don't get the offer in the first place if it is certain.
791.
▲
by
mgaunard
3y ago
In my experience, people would rather be employees paid in cash whose amount is agreed ahead of time than partners where they're paid depending on the company's profits.
792.
▲
by
mgaunard
3y ago
How is it different from a normal partnership?
793.
▲
by
mgaunard
3y ago
Same as any other branch. They're fast if predicted correctly and slow if not. If they cannot be predicted, write your code accordingly.
794.
▲
by
mgaunard
3y ago
Could just be inefficient spilling caused by ABI requirements due to the inability to inline. In general if you're manipulating values that fit into registers and work on a platform with a shitty ABI,you need to be very careful of what
795.
▲
by
mgaunard
3y ago
What final enables is devirtualization in certain cases. The main advantage of devirtualization is that it is necessary for inlining. Inlining has other requirements as well -- LTO pretty much covers it. The article doesn't have suffi
796.
▲
by
mgaunard
3y ago
Notice how I said most ; also I would argue that yes, those aren't really serious programming languages. Haskell is an academic experiment and is mostly esoteric in the industry. It has however impacted a number of other languages tha
797.
▲
by
mgaunard
3y ago
That's silly, in math those two are just different notations for the same thing, and usually fractions are preferred. Also anyone who's done any bit of programming should know that numbers as represented by a computer are discrete
798.
▲
by
mgaunard
3y ago
0 is also the behaviour of C and of pretty much any serious programming language.
799.
▲
by
mgaunard
3y ago
kamikaze.
800.
▲
by
mgaunard
3y ago
Yet not something that can be written in pure Swift.
801.
▲
by
mgaunard
3y ago
A program's correctness goes way beyond memory safety, and is entirely at the mercy of thr programmer doing a good job. This is true regardless of whether the language has undefined behaviour or not.
802.
▲
by
mgaunard
3y ago
Receiving stocks in the UK means paying a lot of tax that you have to pay immediately (45% of the fair value) on an asset that is an illiquid investment. It is a bad idea and you're much better off getting stock options, so that you on
803.
▲
by
mgaunard
3y ago
std::list is a value type which copies the underlying elements on copy.
804.
▲
by
mgaunard
3y ago
If the value semantics aren't customizable, you can't really build abstractions. How would you even implement std::list? Ultimately Swift is dependent on having all significant abstractions be built as part of the language-enabled
805.
▲
by
mgaunard
3y ago
UB is a feature; people who keep on fighting it are such a pain. Regarding your question, nothrow operations are essential to maintaining invariants. And maintaining invariants is how you make code correct in a world where UB exists.
806.
▲
by
mgaunard
3y ago
Serialization is the trivial part; the hard part is building a lockfree mpmc queue or message bus (depending on what you want) on top of fixed-size pre-allocated memory segments. I can't tell what this library does; the blog articles a
807.
▲
by
mgaunard
3y ago
It's injected as part of configuring the build of the tests. Just make the two separate projects, where the test project depends on installed binaries.
808.
▲
by
mgaunard
3y ago
The main vector of attack was patching the code as part of running tests. I would expect to see more projects try to protect against this in general by attempting to separate the building and testing procedures.
809.
▲
by
mgaunard
3y ago
"An incredible leap", more like an over-hyped trend to get money out of venture capitalists. In practice it's a recipe for spending large amounts of money on GPU cloud compute to achieve things that could have been done just
810.
▲
by
mgaunard
3y ago
x86 motherboards usually come with a 10Gbps onboard NIC. It's the standard. I don't know what kind of world you live in to convince yourself it's exclusive. 100Gbps is also available pretty cheap, but typically only as a sepa
More ›