Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nly
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
331.
▲
by
nly
2y ago
And if you clicked his nose it used to squeak.
332.
▲
by
nly
2y ago
- Buy pans that can go in the dishwasher, or just accept they will have a reduced lifespan. - Buy more utensils and plates than you need. It's just me and my partner but we have something like 20 mugs in the kitchen, 12-18 plates etc.
333.
▲
by
nly
2y ago
Good tablets come with a built-ij dose of rinse aid now. The modern multicoloured ones work much better than the compressed detergent ones.
334.
▲
by
nly
2y ago
Pods work fine without prerinsing
335.
▲
by
nly
2y ago
Interest rates shouldn't be relevant when you're taking a position intraday or for a few days
336.
▲
by
nly
2y ago
A lot of this is just social change from the womens liberation movement. Women went to work and the market adapted. Now, in the main, you need 2 incomes to run a home. It's worse in a lot of countries where tax policy disadvantages the
337.
▲
by
nly
2y ago
I've rarely seen more than a handful of compiler options even on very large codebase If anything there's tonnes people should be using more of. The problem with all these hardening options though is they noticeably reduce performa
338.
▲
by
nly
2y ago
While this is true, you can do so much these days with functions with 'auto' return types (function templates), constexpr functions/lambdas and "if constexpr"
339.
▲
by
nly
2y ago
The company is imploding. BYD is eating their lunch on most real metrics except their absurd valuation.
340.
▲
by
nly
2y ago
Just the other month I replaced my laptop battery (not removable but easily done), fans, repasted the cpu and cleaned out the heat sink. It gave a 5 year old laptop a completely new lease of life. Nothing you're describing is unusual.
341.
▲
by
nly
2y ago
Unless newlines in strings are escaped
342.
▲
by
nly
2y ago
Always UTF-8. Never a BOM. Always a header
343.
▲
by
nly
2y ago
Last field rather than last record. The first row will give you column count.
344.
▲
by
nly
2y ago
The joy of CSV is everyone knows roughly what you mean and the details can communicated succintly. The python3 csv module basically does the job.
345.
▲
by
nly
2y ago
Search and replace + text to columns after the fact works fine.
346.
▲
by
nly
2y ago
That's the point. We don't do that. You link to the system libcurl dynamically and everyone is told to do the same. If you want to use a private curl as an implementation detail then the only safe way to do it is to ship a .so, ma
347.
▲
by
nly
2y ago
Exactly this. You don't want multiple versions of cURL loaded in to your process dynamically. You need to be in control of the final link if you're shipping a .a to other teams
348.
▲
by
nly
2y ago
My recent projects in C++ are just using cURL, but given some of the versions of cURL I have to support are 10 years old it isn't being turned on anytime soon. Even the latest deployments on Rocky 9 are using a 4 year old version of cU
349.
▲
by
nly
2y ago
Yeah, an extra layer of type indirection for expressing various implicit encodings is useful for e.g. dates My point overall is that there is tonnes of prior art for compile time reflection libraries in c++ for this kind of thing. Boost has
350.
▲
by
nly
2y ago
Apache Avro's C++ deserializer for the JSON serialization used to expect exactly that: keys to be in schema order. Trust me you don't want this. Usually the reason you want to use JSON in the first place is you want to support thi
351.
▲
by
nly
2y ago
Here's something like that I wrote in C++ in 2017 for JSON using Boost.Fusion + simple function overloading of a single 'from_json' function for handling different types. It works for nested objects, it's runtime type ch
352.
▲
by
nly
2y ago
The whole point of UDP is to allow alternative protocols to be implemented on top. SCTPs mistake was it wasn't implemented as a userland library on top of UDP to begin with.
353.
▲
by
nly
2y ago
It gets worse in practice. Congestional control algorithms on the internet need to play nice with TCP Cubic regardless of how good they are.
354.
▲
by
nly
2y ago
The kebab shop in my local Tube station in London used to wrap his kebabs in free bakery counter bags stolen from the local Tesco. Presumably to save on costs. I don't mind saying it was the worst kebab I've ever had.
355.
▲
by
nly
2y ago
How about basics like : who will have better a retirement outcome at 60? 1) Bob who invests $1000/mo from age 20 to age 30, then nothing afterwards 2) Alice who starts investing $1000/mo from age 30 all the way to age 60. 3) John
356.
▲
by
nly
2y ago
Well humans are aware of their own mortality and can talk about it with one another. Your man can find peace because he would know his wifes outlook on life and her wishes We are entirely responsible for the health and welfare of domestic d
357.
▲
by
nly
2y ago
Not for UK investors apparently.
358.
▲
by
nly
2y ago
Trying to find a good C++ parquet library is equally hard
359.
▲
by
nly
2y ago
Most of them simply bypass the Linux kernel altogether Processes reading and writing directly to FPGA/NIC ring buffers. Shunning TCP in favour of UDP based protocols that are easy to optimize for your particular usecas in userspace. Re
360.
▲
by
nly
2y ago
I had a friend who worked there and he claims they have a tonne of dogshit code and C++ as well. He also claims they're full of elitists from top universities and are not receptive to ideas outside that bubble.
More ›