Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
arinlen
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
34 ms
·
331.
▲
by
arinlen
4y ago
> Meanwhile, the Ruble is up from where it was just before the invasion. A massive economic sanctions package, which eliminates their ability to import goods and services while having their sole export stockpile foreign currencies, doe
332.
▲
by
arinlen
4y ago
> It's not sustainable in the long term, but that term is actually quite long. I'm not so sure about that. There were a bunch of news outlets warning that Gazprom is on the brink of a massive default. Gazprom, of all companie
333.
▲
by
arinlen
4y ago
> So then the wider gauge is helpful to increase lateral stability (to prevent tipping over) since the cars are so light. If they didn't wanted to reinvent the wheel, they could have adopted another standard railway track gauge: t
334.
▲
by
arinlen
4y ago
> (...) Everyone has the same 24 hours available to them. You don't have to accept the status quo if you don't want to. But you need to accept some risks. (...) That sounds like "let them eat cake"-level of advice.
335.
▲
by
arinlen
4y ago
> If one really needs metaprogramming, it's time to move to a more powerful language. It's wholly wrong to try to frame this as "more powerful", specially considering the fact that C already supports generic selecti
336.
▲
by
arinlen
4y ago
> I never really had a good grasp of C. Why is this code novel? It looks like importing a function in any language. Unity builds are a very old and widely established concept. I dare to speculate they are older than the regular header
337.
▲
by
arinlen
4y ago
> Also reduces link time. It's important to stress that it does more than reduce link time: unity builds completely eliminate linking when plugging together submodules, and the final project linking simply has far fewer object fil
338.
▲
by
arinlen
4y ago
> Yeah. Though most projects still use header files with unity builds, so I decided not to call them that. There is nothing inherently special in header files. They are just a convention where you use a specific extension in source fil
339.
▲
by
arinlen
4y ago
> Does this impose limitations on the code? It does. Any technique that relies on features specific to translation units, such as taking advantage of internal linkage to reuse symbols to hold data specific to translation units, cannot
340.
▲
by
arinlen
4y ago
> This style is called "amalgamation" and SQLite is distributed (but not developed) in this way. These are actually called "unity builds" or "jumbo builds", and some build systems such as CMake offer suppo
341.
▲
by
arinlen
4y ago
> I feel two ways about this. You need to give people time to grow into a role and time to get really good at it. But you also need to watch closely and make sure that growth and expertise are occurring, and if not, get better people in
342.
▲
by
arinlen
4y ago
Thank you for your insight. Really solid advice. I have a question thought. > My personal Kubernetes nightmare is having to build a cluster from scratch on bare metal. Can you share a few details about which distribution you used and h
343.
▲
by
arinlen
4y ago
> The big question is: Do you need that kind of functionality? What functionality? Automated unit tests to ensure you're not shipping code that is so broken that it even breaks basic invariants? Automated integration tests that en
344.
▲
by
arinlen
4y ago
> Still enough for 99% of websites. I'm not sure you have much experience working on websites. Multiple deployments are required for performance reasons, which is the main driving force for paying hefty bills for CDNs, and their r
345.
▲
by
arinlen
4y ago
> They said that the world is bad software on top of bad software, so it’s not one thing. I don't know about OP, but I personally feel like software like GCC/clang/MSVC and Debian/Ubuntu and Docker and SSH and Git a
346.
▲
by
arinlen
4y ago
> My classic C programmer curmudgeon take is that the root of the problem, as with everything else in this industry, is bad software built on top of bad software built on top of bad software... and on it goes. No, not really. Nowadays
347.
▲
by
arinlen
4y ago
Also not pictured: * 2005: ship it if it builds. * 2022: run unit testing, deployment to beta, run integration testing, run UI testing, deployment to preprod, run internationalization testing, run regional/marketplace-specific testing,
348.
▲
by
arinlen
4y ago
Oh god your CV must be a headhunter's wet dream.
349.
▲
by
arinlen
4y ago
> Most of the "evidence" against lab-leak is just weird insinuation. Trying to refute evidence rejecting a theory is not equivalent to proving a theory, though. It's just broken reasoning. https://en.wikipedia
350.
▲
by
arinlen
4y ago
> (...)it would need to get more than 1000 degrees (...) No, not really. You were already repeatedly corrected on this personal assertion alone. Moreover, if you had any interest in expressing a realistic and informed opinion you'd
351.
▲
by
arinlen
4y ago
> Maybe the mobile crematoria were intended to "disappear" some kidnapped and murdered Ukrainian people (mayors, prominents, intelligentsia), not dead Russian soldiers. Supposedly the initial goal of Russia's fleet of mo
352.
▲
by
arinlen
4y ago
It's amusing how you switched in only a few posts from claiming the idea Russia operates mobile crematoriums to be absurd to unquestionably support the need to dispose of mass bodies, including standardizing mass graves, as some eviden
353.
▲
by
arinlen
4y ago
> 1. This doesn't get hot enough to cremate bodies. You initially questioned if cremating bodies in mobile crematoria was technically possible. Then you were pointed out that not only is it technically possible, there are smaller
354.
▲
by
arinlen
4y ago
> It's improbable for the same reasons it was improbable the last time it wasn't true. Secret mass cremations just aren't practical from a logistical standpoint. Your personal assertion doesn't really hold any water
355.
▲
by
arinlen
4y ago
> Almost none of that ecosystem is relevant to kernel. What exactly leads you to believe that? From the Rust 2021 survey, 2420 said they use nightly to access one or more language features they need, 1028 claimed a Crate dependency req
356.
▲
by
arinlen
4y ago
> Less than 20% of devs use nightly. You tried to make that sound like few Rust developers use nightly, but the same survey you linked to states that, while 7449 said they use the latest stable version for local development, 3333 said
357.
▲
by
arinlen
4y ago
> It might take a while for these to bear fruit, (...) That's the problem. There are no GCC-based Rust compilers, nor is there a fixed timeline for one to be delivered, specially in the short term. Therefore, as the OP pointed out
358.
▲
by
arinlen
4y ago
> Try setting it up on your own without Ubuntu doing the legwork. Why? Do you also see any purpose in hopping on one foot to work instead of driving there? I don't understand what leads people like you to try to move goalposts to
359.
▲
by
arinlen
4y ago
> You also had a pentest of your setup so you are perfectly sure you don't expose something to the internet that you are not supposed to? What are you talking about? With Kubernetes you need to explicitly expose something. In code
360.
▲
by
arinlen
4y ago
> IME, the 4 hour assignment comes at the 'coding interview' stage, and most companies have a full day of interviews right after. This is not true at all. I know for a fact that some FANGs do hour-long phone screens followed
More ›