Better HN
topnewbestaskshowjobs
Log inSign up

fivea

934 karma · joined Nov 14, 2021 (5y ago) · 384 submissions

Submissions

comment 4y ago · link · parent

> I've spent months in 4 different countries since Covid hit and it’s politicized everywhere.

There's a world of difference between criticizing a government for imposing a lockdown at 10pm instead of 11pm or enforcing a 80% occupancy limit instead of 50%, and attacking basic public health measures like taking a vaccine based on sheer lunacy and conspiracy theories.

comment 4y ago · link · parent

> Does this mean COVID is over?

When I took my first jab, the local clinic handed out a flier explaining in no uncertain terms that:

a) the current batch of vaccines work by giving our immune system a workout to be able to experience a COVID infection as either totally unnoticed or at most a mild case,

b) the current batch of vaccines does not nor did ever guaranteed you won't contract and spread COVID,

c) even with all shots we still need to practice basic higiene and health precautions like wearing a mask, wash hands, and social distance.

We're talking about pre-Delta times. This has been widely known from the start.

How come antivaxxers are the only ones repeating cynical comments on how the initial batch of vaccines, which we all are lucky to have but are still at the level of being better than nothing, would be a silver bullet?

comment 4y ago · link · parent

> Can’t wait for the follow on months of real data disproving their terrible study.

Can you please elaborate on exactly which study are you referring to and your reasoning to accuse it of being "terrible"?

Meanwhile, we've endured at least two strains which are significantly different than the original 2019 Wuhan strain, and thanks to the vaccine the mortality risk has dropped to residual levels.

comment 4y ago · link · parent

> All languages back then, all of them, were "high-level" languages, including C.

The only interpretation where this assertion rings remotely true is if you follow a definition of "high level language" which boils down to "it's not assembly", which has not been the case for around half a century.

It makes absolutely no sense to claim that languages such as COBOl and C are even close at the same level of abstraction, just because C is compiled, has loops, and has a standard library.

comment 4y ago · link · parent

> You know, seeing one of the few existing Rust CVEs (...)

It is a real world CVE of use-after-free on real world Rust code in production.

This demonstrates that, unlike claims from fanboys, mindlessly migrating to Rust does not magically make your code safe and immune to vulnerabilities such as use-after-free, and just like with any other language you still need to know what you are doing.

comment 4y ago · link · parent

> Eh that's rather revisionist, C was a high-level language for the 70s.

No, not really. C was always, right from the start, a kin to portable assembly. You'd be hard pressed to come up with a language from the 70s which was at the same level or lower than C. Neigher Fortran nor COBOL nor ALGOL nor Lisp nor BASIC were lower level than C. Precisely which language, other than assembly, leads you to believe that C ever was considered a high-level language?

I don't understand what leads anyone to argue otherwise.

comment 4y ago · link · parent

> But is is changing

No, not really. At least in practical terms.

C11 saw some changes, and arguably only minor ones.

C17 is a bugfix update to C11.

And C20 is still in the works, and none of the proposed changes are relevant.

Consequently, C as been dormant since the release of C99, which already was criticized for not bringing anything new to the table other than C++98 tuneups, and support for inline comments (?!)

comment 4y ago · link · parent

> I'd say making buffer overflow and UAF CVEs Just Go Away -- forever -- is a DAMN good reason to switch to Rust.

rocket Crate up to 0.4.6 on Rust uri::Formatter use after free

https://vuldb.com/?id.172079

If only people stopped with the cargo cult nonsense that leads to this absurd belief that adopting a tool is a silver bullet to fix their sloppy practices.

comment 4y ago · link · parent

> The C standards committee doesn't really know what to do with the language it seems.

Honest question: why should C change? I mean, if all we want is access to higher-level core language features not provided by C, isn't it better to just pick up a higher-level language that already offers it? After all, if you add higher level features like smart pointers, is it really worth it to keep other features like the extensive reliance on the C preprocessor, dangerous string handling, and a spartan and in some cases outright unsafe standard library? Or would it be better to cut our losses and just adopt languages that already fixed those issues?

comment 4y ago · link · parent

> Here's a better idea, can't you have an npm cache/clone that keeps all the artifacts you use in your code? So you pull from it, it pulls from npm and caches?

Not only is that possible, that's also expected to be mandatory in any company that is required to monitor ad control dependencies. I know for a fact that some FANGs do manage and enforce the use of internal npm repositories, mainly because of infosec audits, and I doubt Google is not one of them.

comment 4y ago · link · parent

In the carbon cycle, the impact is obvious. Think about it: one just recycles carbon through photosynthesis with at worse no net change in the amount of carbon in the system, while the other is based on literally digging industrial amounts of carbon out of the ground to introduce it into the system.

comment 4y ago · link · parent

> We have internationally coordinated programmes of work to get people to move away from burnt fuel stoves to just about anything else, because so many people's lives are cut short by indoor air pollution.

I'm not sure you read the doc you quoted.

I mean, it's recommendations are to ditch unprocessed coal and kerosene stoves, not biomass. On solid fuel (wood and biomass) the recommendations are to use better insulated stoves instead of open fires.

Thus, I fail to see the relevance of this in this discussion, given that the use of thermoelectric generators that served as a basis for the proposal already implies that your WHO recommendations are already been followed.

comment 4y ago · link · parent

> Net CO2 is one measure of badness, but damage to human health is likely a more relevant one personally.

This thread is about deploying thermoelectric generators on stoves which are already in use. Smoke is already been emitted since ever. The value proposition is to seep a bit of the thermal energy already being produced to generate electricity. Thus the options on the table are a) keep a stove burning and use that to generate electricity, b) keep the same stove burning and run a fossil fuel generator on the side.

How can option b) be assumed to be cleaner?

> Natural gas is almost clean by comparison

Does this assumption take into account the environmental impact of bottling and shipping natural gas to these small villages?

comment 4y ago · link · parent

> Yes, a huge difference. The latter is orders of magnitude worse.

Do you base your personal assertion on any evidence? I'd love to see the basis for this line of reasoning. I mean, carbon emissions-wise the difference between biomass and burning oil/coal is already undisputed.

comment 4y ago · link · parent

> Calling that "sustainable" is... maybe a sign how meaningless the word sustainable is.

There's a huge difference between burning fossil fuels, with all the logistics that involves, and burning whatever trimmings you're getting from your surroundings.

comment 4y ago · link · parent

> He offers a long list of arguments and even though I don't check in node_modules, some of the arguments are compelling (...)

Are they, really?

The less debatable point is arguing that making CICD pipelines slightly faster, but this feels like an appeal to microoptimization. Any free tier CICD system out there let's you do a single npm install and move these dependencies as far as you'd like into the pipeline as artifacts. Is a git checkout really faster that a npm install?

For example, is adding a npm dependency really invisible if you already track package.json and even package-lock.json? Those files show up in diffs, and it's hard to miss them.

Also, if the goal is to get replicated builds, isn't this handled by pinning versions and tracking package-lock?

The left_pad example is particularly ridiculous as I highly doubt that a company like Google, like any company that cares about auditing and vending dependencies, does not run its own npm proxy with cherry-picked packages.

comment 5y ago · link · parent

> 40 miles away from a major city is hardly the "middle of nowhere." That's still within spontaneous day-trip range.

I call "40 miles away" a daily commute distance.

comment 5y ago · link · parent

> Why they have a poor track record is a separate discussion.

The whole point is that if you're trying to dismiss an obvious option for it's track record, even though it is quite capable and able to do the legwork, then being aware of the root cause of that problem, and the fact that it's an artificial constraint with ideological roots, is very much central to the discussion.

comment 5y ago · link · parent

> The argument is specific to logistics. Our government has a poor track record in that domain outside the military.

US public services have a long track record of being actively sabotaged by governments. See the US Post Office being undermined by Trump's appointment of DeJoy.

comment 5y ago · link · parent

> "The value of the stock is relative to the performance of the company"

That's true if companies are evaluated on their fundamentals.

If you start to deal with stocks as if they were meme coins, with no concern of cash flows or business models or profitability, and you add a decade of quantitative easing, then you get stocks like Tesla, and a stock market that's driven by the need to park free cash no matter how risky and absurd the investment is.

comment 5y ago · link · parent

> Show me a stock anyone is interested in that isn’t expected to go up and reward early adopters.

Eve though you framed your challenge as a "no true Scotsman" argument, history is packed with IPOs that tanked after the companies went public.

https://money.howstuffworks.com/10-biggest-ipo-flops.htm

Last year Uber dropped considerably when it's IPO got out of the gate.

The main mistake of your argument is trying to compare something with tangible value with schemes driven by speculation and fear of missing out.

comment 5y ago · link · parent

> The idea that an asset is deflationary or inflationary implies that the supply of the asset determines its price.

Isn't this one of the most basic properties of supply and demand, though?

I mean,what do you expect to happen if your supply is artificially capped and early adopters start to pump up demand for the stuff they own?

In fact, isn't that the whole point of these schemes? I mean,do you know anyone who decided to waste their own money subsidizing anything related to crypto? Each and every single evangelist and proponent of crypto is invested in getting in cheap and pumping it up to get out with the maximum possible markup.

comment 5y ago · link · parent

> Also came here to ask this. Seems like something being simple and something being sort of done and not under active development are two sides of the same coin.

This. To me Docker's swarm mode is already feature-complete and solid. The only thing that I'm aware that needs some work is the notorious intra-node connection speed issue, but that's not a blocker in any way.

comment 5y ago · link · parent

> Have you tried a C/C++ lsp server like https://github.com/MaskRay/ccls?

I never tried it and to me that's not acceptable or desirable. I want an IDE/text editor that works, and not adopt yet another tool that needs maintenance and configuration and attention.

comment 5y ago · link · parent

Why do you feel it's a good idea to shove networking into the standard library? Doesn't your choice of network library depend on other tech decisions regarding things like sync/async IO?

And moreover, if you want a java-like standard library that's good enough then you already have a bunch of options like Qt, Boost, POCO, etc.

comment 5y ago · link · parent

> What operator would you have used?

Qt does it right: fluent-style interface which does string interpolation.

comment 5y ago · link · parent

Even though I wouldn't classify it as "awful", I do agree with the sentiment. Whenever I use Clion, I feel I need to have vscode also on the same project to mitigate the shortcomings of it's code completion and even search.

Clion's support for CMake is particularly enfuriating, with it's propensity to actively replate a target's name with filenames, even if they do not match in caps, which makes absolutely no sense at all and feels it is doing it's best to get in the way and sabotage your productivity.

comment 5y ago · link · parent

> I have seen a team be forced to use microservices for things still running on the same machine years later, with absolutely no benefit other than the powerpoint architecture slides looking fancier.

The main driving force for microservices is not technical but organizational. Therefore, there are plenty of non-technical issues, such as for example budget to grow and split a team, that make or break the adoption of this style of architecture.

comment 5y ago · link · parent

> EU got to the brink of collapse with 1 million Syrian refugees (...)

That's quite the extraordinary claim. Can you offer any extraordinary evidence that supports your claim? Because from what I've gathered, it barely holds any bearing with reality.

1
910111213