934 karma · joined Nov 14, 2021 (5y ago) · 384 submissions
comment 4y ago · link · parent
You're confusing a service where anyone can distribute their half-assed package with the dependencies you adopt for your package.
It's not the job of crates.io nor npm to vend dependencies. That job is on you and on anyone who wants to consume a third-party package.
It's weird how some people complain that they are not obligated to perform any form of due diligence at all on basic things like be responsible for the crap they decide to mix with their work. I mean, the protest release of the colors package was done with a very obvious and very glaring major version bump, and people just swallowed it whole without any check at all? That's a problem of your own making, not npm or crates.io.
comment 4y ago · link · parent
The validity if your statement depends heavily on what's your personal definition of free speech, and where you draw the line regarding acceptable censorship and persecution from the state.
Considering the spectrum of free speech includes absolutists who argue speech can only be free if it's free from any consequences from the state, there's a huge grey zone on where to draw the line.
comment 4y ago · link · parent
This baseless assertion is quite wrong and completely detached from reality. Boost is not a one-man show which is a git commit away from disaster. Boost is a commmunity-driven project where any change to an existing package is subjected to a public review and proposals for new components are performed through a submission process.
comment 4y ago · link · parent
Is it, though? I'm sure it's not, and the ratio of women to men is much much lower. I know of a FANG which rejects male candidates with PhDs but goes to the extents of admitting female candidates with a single boot camp on their resume, and even then most teams barely have more than a couple of women in their ranks.
comment 4y ago · link · parent
If you're referring to the colors package in NPM, that is not an attack at all nor did it proved what you think it proved. If anything, the colors package episode just showed that there are companies mindlessly ingesting dependencies without a shred of due diligence.
comment 4y ago · link · parent
This sounds like a gross misrepresentation of what happened.
It has been reported that the author of the colors and faker packages announced last year that he was no longer willing to do free work for Fortune500 companies.
He also proceeded to state quite publicly that either companies paid him for his work, or they should fork the project and maintain it themselves instead of taking advantage of everyone else's work.
After a year has passed, the author proceeded to release a couple of major versions that had a more artistic feel.
https://web.archive.org/web/20210704022108/https://github.co...
Source:
https://www.theverge.com/2022/1/9/22874949/developer-corrupt...
These packages are his circus, and his clowns run the act he chooses.
If anything, this update showcases the completely abhorrent security culture in place in these mega-companies, which literally ingest into their product line anything that they can find on GitHub without a shred of due diligence.
comment 4y ago · link · parent
That problem does not magically go away with a bloated stdlib. Take Java, for example, with it's colossal list of standard modules, with which Rust cannot possibly match or even rival. Yet, any reasonably sized Java project still ends up dragging in dozens of third-party modules to the point that not using a dependency management system is unheard of.
comment 4y ago · link · parent
It should be noted that the vast majority of participants on that thread do advocate against bloating Rusty's stdlib, and they point out a very thorough and convincing list of prior experiences from other programming languages that justifies this stance.
It's as if they learned from other people's mistakes and bad experiences.
comment 4y ago · link · parent
I've been following /r/antiwork for a while and I never stumbled upon anything remotely similar to the story you've made up. Practically all comments are in the line of "good for you for quitting", "you should have done it sooner", "why even put a two weeks notice?", "You should talk to a lawyer to not get screwed over". But feel free to link to posts that support your personal assertion.
comment 4y ago · link · parent
What makes this gaslighting attempts so mind-numbingly pathetic is the fact that even some FANGs, which are supposedly references in terms of high-quality, highly-paid work, are renowned for their poor working conditions and hiring processes. And they have been known for that for around a decade, now.
If this is an expected occurrence in high-quality work in fields where the job market is firmly on the worker's side, why are these guys trying to fool everyone into believing that abusive workplaces are completely unheard of in other less fortunate sectors?
comment 4y ago · link · parent
+1
I mean, the /r/antiwork subreddit features mostly posts reporting how people quit their jobs following a history of workplace abuse, or red flags during hiring processes.
Moreover, the subreddit isn't even exclusive to reports from the US.
Are we now supposed to believe that there is no such thing as a bad interview or poor working conditions anywhere we look?
Why are these accounts so hell bent on gaslighting everyone into thinking that there is no such thing as an abusive boss, and quiting a bad job or rejecting a job offer is unheard of?
comment 4y ago · link · parent
From where I'm standing, the stupidity that stands out is how some people are desperately trying to gaslight themselves and everyone around them by trying to depict people chatting about workplace abuse as being something outlandish and utterly inconceivable.
I happen to stumble upon posts from /r/antiwork and I have to say that personally I had the misfortune of experiencing far worse than what's reported there on any random day, and in western European countries where workers rights actually exist and are enforced.
comment 4y ago · link · parent
Do you honestly believe that it's impossible to find a few thousand persons from the US who have bad experiences with recruiting and/or bosses, or experience any sort of abuse at the workplace?
I mean, given how widespread is at-will employment in the US, and how that ensures employers have all the leverage they can possibly have on an employee, specially in high-unemployment regions, isn't abuse a natural occurrence?
More importantly, a hefty share of posts in /r/antiwork are about workers quitting abusive jobs or reporting bad interview experiences. Who in their right mind denies this sort of stuff ever happens?
comment 4y ago · link · parent
It's a filter. You can name-drop math stuff and even mention monads and the like, but it's just predicates, maps, a reductions.
Also, I'm not aware of a single person who ever looked at relational algebra beyond the introductory lessons of a relational databases 101 course, and even then that stuff was mostly in the way.
comment 4y ago · link · parent
Not quite. QE created inflation in assets that are not a part of inflation indicators, at least directly, like stock and real estate. QE resulted in phenomena like Tesla's utterly absurd meteoric valuation during the past year.
There are some markets where QE and stimulus checks, such as rent prices, which mixes an increase in disposable income on the demand-side and a need to validate inflated investments in real estate on the supply-side.
comment 4y ago · link · parent
Bash is described as a "command language" and not a programming language per se.
Bash is what you use to type in commands, and automate said commands if you need to whip out a quick script that runs what you would otherwise run manually. Bash, scripting-wise, is command line glue.
If all you want to do is run commands with some logic, PowerShell is simply dreadful and outright developer-hostile. I doubt there is a single person on earth who uses PowerShell as a command shell like Bash is used.
comment 4y ago · link · parent
It might be just me, but PowerShell feels outright developer-hostile even when compared to Bash. Perhaps it's their approach to rely primarily on .NET stuff which makes things so arcane, but when given the option it's far simpler and better to go with, say, python than PowerShell.
comment 4y ago · link · parent
Do you mean something like:
.[].k1
Give it a try.jq does have a learning curve, but just like any query language, including SQL, first you need to learn the basics of the query language in order to get things to work.
In this case:
* you know that .[] iterates over objects, so you use it to unpack the root array,
* you know you get a stream of objects, thus from those you use the .k1 filter to get the values of each k1 key.
Here's jq's manual on basic filters: https://stedolan.github.io/jq/manual/#Basicfilters
After you get jq to filter out what you want, you can work on getting it to output results in whatever format you wish.
comment 4y ago · link · parent
I'm not sure those are related. I bet that was just one of the unintended consequences of stimulus checks in the US economy.
Keep in mind that poverty in the US is increasing like wildfire. In 2019, about 69% of Americans reported having less than $1000 in a savings accounts.
https://www.yahoo.com/now/survey-69-americans-less-1-1719272...
That falls well within living paycheck-to-paycheck territory, if not even below. This means the vast majority of Americans cannot afford luxuries or even basic necessities. Things haven't got better for the average Joe since 2019, too.
Then all of a sudden the whole country received a comparatively huge check in the mail to freely spend however they feel like it.
Expectedly, this sudden increase in disposable income and purchasing power will reflect in a hike in demand for the things being tracked by inflation índices. Increases in consumer demand lead to higher consumer prices, and thus inflation indicators go up.
comment 4y ago · link · parent
Companies are being valuated with total disregard about their results.
The whole stock market is currently in deep memestock territory. We are seeing a single low-output car maker being valued more than the whole car industry altogether even though they exclusively serve a car market niche that only amounts for a single-digit market share of the global auto market.
Real estate is suddenly seeing an influx of institutional investment that hiked the demand so much it priced out the vast majority of families.
In crypto, everything is unashamedly driven by a mix of speculation and capital flight to an asset that's believed to be resilient to inflation and crashes.
We're fooling ourselves if we believe that we saw such a massive hike in efficiency in the past few years, specially given the global context. What we're seeing is a massive influx of free cash into the hands of institutional investors who are now desperate to park it somewhere.
comment 4y ago · link · parent
The cheapest commercial 3D printers sell for hundreds of dolars, while you can buy a cheap printer with wifi and bluetooth and a scanner and mobile phone app to boot for about 50 dollars brand new. Used ones can't even be given away for free.
Furthermore, you can print whatever you want in printer stores for a few cents a page.
Also, 3D printers are much more forgiving regarding low resolution output.
comment 4y ago · link · parent
There is a less charitable and more realistic explanation for that: quantitative easing injected a massive amount of cash into the economy, and low/negative interest rates are pushing said investors towards riskier investments to park all that cash. Consequently we see a massive volume of institutional investments in things like real estate, the stock market, and even crypto.
comment 4y ago · link · parent
Is it, though? That sounds pretty awesome, specially as renewables lower/eliminate energy imports thus improve a country's balance of trade.
Also, one aspect of renewables that results in energy dissipation/loss is energy storage. Wind and solar farms generate energy that don't coincide with peaks in demand, thus that production is stored and reintroduced in the grid resulting in a drop of efficiency. However, it would be stupid to argue that losses from, say, restocking the reservoir of a pumped storage hydroelectric plant, specially one which has been retrofitted as an energy reservoir, makes the technology worse than only generating power during periods where demand surpasses supply.
comment 4y ago · link · parent
Base32 is a representation format which provides a textual representation of numbers, not a storage format.
I mean, anyone is free to dump Base32, or even base 2, into a string and just run with that, but that would be highly inefficient.
comment 4y ago · link · parent
Aren't you referring to the initial subsidized program where private companies were enticed to invest their own cash in renewable energy sources in exchange for assured profitability during the initial period?
comment 4y ago · link · parent
You mean the kind of service companies like PG&E are already providing their customers?
https://www.pge.com/en_US/residential/solar-and-vehicles/gre...
comment 4y ago · link · parent
It's a good thing, then, that that's a false dilemma and nuclear and/or fossil fuels are clearly not the only options on the table.
As a reference, Germany already relies on renewables to supply around 60% of their energy needs, and it's production is still ramping up.
comment 4y ago · link · parent
There are countries which already started transitioning to renewable energies which not only endured long periods of energy independence from renewable sources alone but also already reported energy production surpluses which even led to null and negative energy prices.
Therefore your baseless assertion regarding shutting down nuclear and coal plants seems to be totally made up and completely unfounded.
Can you provide any basis for your assertion, and point out any rational basis for that so-called "energy starvation" scenario?