Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fl0ki
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
25 ms
·
241.
▲
by
fl0ki
3y ago
You can use a language chosen by the middle of the bell curve and still get a lot of satisfaction and success out of being on the right of the bell curve of skill in that language. There are many mundane C++ programmers out there just getti
242.
▲
by
fl0ki
3y ago
Most computer users never monitor their cooling effectiveness at all. They get used to the fans spinning up when the computer is doing anything that THEY think is non-trivial, even if it actually should be trivial. Then there's a smoot
243.
▲
by
fl0ki
3y ago
Regulation can raise the floor of company quality, but nationalization also lowers the ceiling, especially if it means no competitors are ever viable. This needs more regulation, not nationalization.
244.
▲
by
fl0ki
3y ago
I don't think this is a fair comparison. If you want to teach that you can write(2) to raw FDs in Rust, you can, just like you can use write(2) or fprintf(3) in C. C has a standard library which students should understand even though i
245.
▲
by
fl0ki
3y ago
This one bug greatly undermined my confidence in Go forever: https://github.com/golang/go/issues/64474 That this can happen in the standard library and stay in a stable release for 5-6 months, in fact very ne
246.
▲
by
fl0ki
3y ago
In my experience, outright forgetting is very rare because an unused err should be a warning, but the following is not nearly as rare as it should be: if err != nil { return nil } With how boilerplate the correct version is, you learn to
247.
▲
by
fl0ki
3y ago
This is a well-known essay that everyone should read, and yet nobody should ever cite it as a commandment for what other engineers can or cannot do. Joel was talking about commercial desktop software in the extremely competitive landscape o
248.
▲
by
fl0ki
3y ago
> Python is also much easier to learn than, say, Rust I don't doubt it, but learning is only the first step to using a technology for a series of projects over years or even decades, and that step doesn't last that long. People
249.
▲
by
fl0ki
3y ago
What is the programming analogy here? Two decades ago, you could (as e.g. Paul Graham did at the time) argue that dynamically typed languages can get your ideas to market faster so you become viable and figure out optimization later. It
250.
▲
by
fl0ki
3y ago
> the linux kernel do not bother anymore and is compiled for "generic" x86_64 for instance, it is not worth it (and may cause more harm in the end) This is not the reason why. Indeed x86_64 has a much broader instruction &
251.
▲
by
fl0ki
3y ago
> it will take more time, be a bit more painful and require a different training... but your code will be shielded against compiler and language complexity and planned obsolescence, which has stellar value on the long run. This is a bit
252.
▲
by
fl0ki
3y ago
CPU-specific optimization has waxed and waned in importance over the years. It used to be that a lowest common denominator compilation would not even include MMX or SSE, which could make a huge difference for some kinds of CPU-bound algorit
253.
▲
by
fl0ki
3y ago
Hot take: It's nice that Box, Arc, etc. are all just types and nothing special to the user, but it's not as nice that modern async code in particular ends up with Arc<T>, :Send+Sync+'static, Future<Output=T>, copi
254.
▲
by
fl0ki
3y ago
It might be simpler than that. Like many other watch and phone features, it might just depend on the user's region. Hopefully only in software, but there's also precedent for regional hardware differences.
255.
▲
by
fl0ki
3y ago
> I've heard some companies say that they should never put in writing that they're aware of anyone else's IP, to mitigate the risk of treble damages. I've been instructed by a big company to take all possible notes on
256.
▲
by
fl0ki
3y ago
> However, I don’t want to give the impression we should say no to all proposals. There are plenty of opportunities to improve our user’s lives through proposals. Here are a few concrete examples: [all 3 are just library additions that e
257.
▲
by
fl0ki
3y ago
With GCC itself being written in C++, what is better about GCC's own bootstrap story except that it's been part of operating system distributions for longer? I am not aware of anyone using clang or MSVC to bootstrap GCC on Linux d
258.
▲
by
fl0ki
3y ago
My experience with "extremely liberal use of feature flags" is that most combinations of flags are never tested because there are exponentially many combinations to test. That's true even for a single version of a binary, and
259.
▲
by
fl0ki
3y ago
"When a measure becomes a target, it ceases to be a good measure, but a great way to trigger fraud investigations"
260.
▲
by
fl0ki
3y ago
> which you'll then (presumably) enter your password into. One of the many arguments for using pubkeys so that's all they'll get. Neverthless, the rest of the session could still be anything, and agent forwarding should ne
261.
▲
by
fl0ki
3y ago
Really, we're still only hearing two sides of the story. I for one will wait for the Critique Critique Critique. Though really, ...
262.
▲
by
fl0ki
3y ago
That compounds really badly with another lack of specificity in JSON: parsers can treat duplicate keys in arbitrary ways, e.g. keep only the first or last value, combine values somehow, error out, etc. When keys are not unique, their order
263.
▲
by
fl0ki
3y ago
This might be the best they can do to maintain any hope among nervous investors. That this may actually be the most rational play available to them would be incredibly sad.
264.
▲
by
fl0ki
3y ago
The point is that someone is paying the cost of maintaining the library's ABI surface area even if it's not you. In a thread specifically for developers considering how to offer an interface to their software, I think it's on
265.
▲
by
fl0ki
3y ago
Trying it out in https://copy.sh/v86/?profile=kolibrios , it's also clearly a love letter to Windows 95 in particular. That could be an unstated goal here, create a very particular PC experience under very particu
266.
▲
by
fl0ki
3y ago
The premise is that any time you say "Python [...] faster than Rust [...]" you get page views even if it's not true. People have noticed after the last few dozen times something like this was posted.
267.
▲
by
fl0ki
3y ago
That's not a great example given OpenSSL versions are famously backwards-incompatible. Older versions get ABI-compatible security patches because people put in the time to backport all of them to every version still supported, in many
268.
▲
by
fl0ki
3y ago
I also tend to advise people not to write so many services -- a generation of developers has entered the workforce thinking "cloud native microservices" are the only way to factor software of any kind -- but I also caution people
269.
▲
by
fl0ki
3y ago
That's exactly what people expect from fsync(). The problem explained in the article is that, due to the difficulties of tracing every possible related write, it is (was?) often implemented conservatively and waited for more writes to
270.
▲
by
fl0ki
3y ago
I almost agree except that I may have in mind a different kind of engineer than you do: people who don't think about the instruction cache even though they are writing performance-critical code. This post won't change that, but
More ›