skysight-inc/HackerNews huggingface dataset:
For me none of the things that are suppose to "relieve packaging pain" have ever done anything but cause more pain.

Plain virtual environments with venv work fine. If you need a different version of python, download the source, build it and install with make altinstall, then use it to make your venv.
Creation of a new molecule through innovative combination of two reactions
you can use pyenv to have multiple parallel python versions installed and you can choose per virtual environment which version you want to use.
I agree to the point that whenever I see someone with a laptop I often wonder, "how much work are you actually getting done on that thing?"

I've known people who exclusively work on laptops, no keyboard, sometimes no mouse. How productive are they, really? I feel not very.
The developer behind curl still receives abuse from confused and crazy people despite being an objective force for good in the software world.

https://daniel.haxx.se/blog/2021/02/19/i-will-slaughter-you/ is proof that there are people out there whose mental illness will result in threats on your life (at least this specific person apologized later: https://daniel.haxx.se/blog/2021/08/09/nocais-apology/).

It's difficult to blame people for their mental illness, but a valid excuse doesn't make dealing with this crap any better. At least paranoid Github issues don't usually come with death threats...
I have the same workflow. The only issue is that size grows really quickly as nothing is shared between the environment. With just handful of environments my conda folder is 15 GB or so.
HN submission is simple to understand: Hype the underrated, and blame the overrated.
I gave the situation in Australia - I have no idea which country the GP lives in.

I'd wager that small referral fees in Australia amount to considerably less than surgery costs in countries with no socialised health care systems.
> I wonder if servers could be located close to solar or even attached to individual panels. So that during times of excess you sell cheap computing resources. This could reduce demand on the electricity grid at peak times.

That doesn't really make a lot of sense. Servers are too expensive to keep off except in "times of excess".

That being said, it's a long established practice to co-locate data centers with cheap power.
My Pareto law senses are tingling.
If you don't want to spend money on the expensive peak design tripod, you can find many alternatives at half the cost like the "Ulanzi Zero Y Lightweight Travel Tripod"
Damn, the reddit shuts down really is bringing a lot more attention to my blog. I've got links on the front pages posted twice.

Well, AMA, I suppose.
This is mostly true, but does depend a bit. There are of course investors looking for a steady price and steady dividend (income investors, as opposed to growth). Nobody is ever annoyed when their stock goes up of course, but it isn't always the primary factor in selecting securities.

That said, TECH stock investors mostly are growth investors, because the dividends are typically fairly paltry.
Most editors doing this keep publishing the original version as well
Agree. One of the most infuriating things we tolerate as a society. The number of good and solid companies adding value to society that have then been raided in order to line the pockets of a few is such a disgrace.
Is the fact that there are multiple package managers for the same package fornat/spec the reason why people say it's a mess?

Genuine question: How is PyPI different from NPM, Maven, crates.io, etc..?

Why "Python packaging is a mess" and not the others?
If you want another, slightly more feaureful toy platform to emulate, consider uxn/varvara.
The Bitcoin network is steered by these developers, but as we saw with the User Acitvated Soft Fork (UASF) of 2016, the users ultimately decide what Bitcoin is.

The vast number of users, or at least, those who run their own node, choose to run a forked version of the client software that activated a contentious upgrade (the upgrade was Segregated Witness).

Only after the fact, this code was merged into the Core branch.
In Python at least you "only" have to figure out venv, pip and conda and you're mostly set. In C/C++ world adding a dependency is such a pain that most projects have less than five dependencies. Most of the time it's simpler to just quickly write and debug a worse version yourself than to figure out how to find and integrate a library. Until you reach sufficient scale, at which point the sane thing seems to be to make your own build system instead
This is REALLY interesting. Thank you very much.
> Rural living gets constantly gassed up as this incredibly serene, peaceful place to live and yet even in the age of remote work people aren’t budging.

One big reason is that remote work was never guaranteed to last. It's starting to crumble now with big tech requiring RTO x days a week or factoring in physical presence into performance reviews. People that aren't already independently wealthy couldn't risk buying a house in the country. In my rural home town your options for work if you lost your tech job(easier because crappy internet options) would be hard labor on a farm or dairy or maybe work at the grocery or fast food joint - nothing else.
I imagine that's exactly the reason OP is reposting this article from January at this particular moment.
If you need Windows, like I do for multiplayer games' anticheat, Windows LTSC is an option. It has much less bloat (no Microsoft Store, Camera, Cortana, OneNote, GameBar, ...), but you still get the Windows platform.

But of course, you are either in or out, and unless you're completely out, you're in. As long as there's MS stuff on the PC and it's connected to the internet, some bullshit will surely seep in.
This pops up on HN regularly. Was extensively discussed at https://news.ycombinator.com/item?id=25398027

Interestingly, we have a similar "BASIC line numbering" system in our company. Allows for easy traversing the directories if you can remember the numbers (I cannot), such as "05_Contracts/15_Employees/041_John_Doe/07_Testemonies".
I'll provide a witty reply to this comment as soon as conda finishes resolving the dependencies for my projects. Any time now...
You're going to be downvoted to oblivion because the only thing HN hates more than Reddit is people pointing out that HN is infatuated with Reddit.
That so many things doesn't run on the latest stable version is one of them. Python 3.11 was published in all the way back in October, and it's still not stable and well supported.
"It’s possible that simply including more terms in the approximation of the nuclear force might be the answer. On the other hand, it’s also possible that these ballooning helium nuclei have exposed a fatal flaw in our understanding of the nuclear force."

I bet on more terms.
Pipx helps with this use case.. though you still need Pipx!
In terms of execution the development and release of Perl 6 was undeniably a flub. What eventually got released was ultimately a fine language, but it was years late, largely incompatible with existing Perl code (hence the rename) and a sizeable portion of what was left of the Perl community didn't adopt it and stayed on Perl 5.x. Sizeable enough that there are now some rumblings around tidying 5.x up a bit and releasing it as Perl 7.
> There’s no guarantee that blowing up your life turns out well.

ahem... agreed. In fact, I have seen this many times, and most have not turned out well.

But some have turned out quite well.

A lot of times, we have no idea what's good for us, and when we get what we want, we find that the fox wasn't worth the chase.

In my case, I was forced into my current situation, and it has turned out well.

I was laid off my previous career, as a manager/engineer at a very well-known camera manufacturer, and discovered, to my anger and dismay, that the current tech industry actively hates people over 50.

Not a fun time.

But it forced me to take stock, and I realized that I actually have plenty to retire on, and there really wasn't a need for me to be desperately seeking work.

I then lowered my requirements, since I didn't need the money. I would have been happy to work at risky startups, for equity. I have a pretty vast array of experience and skills that would have been almost ideal for a startup.

Still wasn't enough. I'm still old. Damn.

Well, I guess I'm retired, then, whether I like it or not.

Turns out, I like it. I can afford the tools I need, and I still work (more than I ever did). I just don't make money at it, and the folks I'm working with, though young, appreciate me and my work. They know the value they are getting, and the gray hair doesn't fill them with fear. Surprisingly, I'm actually pretty good at working in a team. May have something to do with having worked on high-functioning teams for my entire career.

TL;DR: I was afraid to take the plunge, and needed to be pushed.

In my case, it's worked, but I was very fortunate. A lot of others, in the same case, would have been absolutely clobbered.

I have a friend that is a chef. He got pushed out for being old (actually won an age-discrimination suit). He used his winnings to set up a catering business, and now makes way more than he ever did, as a wage slave.

He's really, really good at what he does. That's the thing that a lot of ageists don't seem to understand. That gray often caps a great deal of competence and ability. It isn't just about "culture." Getting Stuff Done requires Discipline, Competence, Tenacity, Skill, Intelligence, and Ability. Many older folks have these, in spades.

> "I hate to advocate drugs, alcohol, violence, or insanity to anyone, but they've always worked for me."

- Hunter S. Thompson
Why not? The whole point of the thing is that one of the parents might prefer to sacrifice their career, for some time, to care for the kids, and there's nothing wrong with that IMO. In case of divorce why wouldn't the sacrifice count? Or another scenario, one of the partners pursues a less financially rewarding field (say arts, or music, or teaching; or part time work to spend time with kids, volunteer work, hobbies, etc.) - in that case they'd always be at a massive disadvantage, which is just ripe for abuse. Daring to file for a divorce knowing it will put you in poverty overnight takes a lot of courage and things have to be really bad. Not saying one should finance their ex-partner's lifestyle forever, of course, but this is too much.

> Sometimes you have to nudge people into freedom.

I'm not sure it's freedom to force people to work at the threat of destitution.
Fast Frequency Response is something that can be provided by all inverter-driven systems, but isn't. Once a strategy is agreed it can be retrofitted at very reasonable expense.
Update: I'm going to start with PCem.

See https://pcem-emulator.co.uk/downloads.html and for LTT review video https://www.youtube.com/watch?v=mWEE2RJj3YI
Virtual envs are actually quite simple -- they contain a bin/ directory with a linked python binary. When the python binary runs, it checks it sibling directories (it knows it was executed as e.g. /home/user/.venv/bin/python) for what to load. You don't need the activate shell scripts or anything, just running that binary within your venv is enough; the shell script is just for convenient of inserting the bin directory into the $PATH so just "python" or "pip" runs the right thing.
The idea that to some people being a top artist comes naturally is just the excuse that lazy people use.
I don't mind owning a server (or a power plant for that matter) that only operates a few hours per day, as long as the price I get paid for those hours is high "enough" compared to the risk on the investment.

The problem is, of course, that at the prices needed for that most consumers will no longer be interested in buying my computing services or power.
I'm familiar with the statue and the criticisms, and I don't know of any revisionist arguments against it. Which of their reasons is revisionist?

Sibling comment links to the Wikipedia article, which links to a news article, in case you need a refresher.
On a large complex single page webapp, it can be very non-trivial to have a popup/modal over everything else in the page. That’s why things like React Portals[0] exist, as well as many, many libraries that provide similar functionality. z-index is not an absolute number and depends on your stacking context.
[0] https://react.dev/reference/react-dom/createPortal
There are plenty of 24h demands. Office/Street lighting, industry, etc.

Baseload is just a product of certain demand.
You want to hand judicial authority to regulatory agencies?
I think the point is that only developers on Macs need to ignore them. If they properly do so, these files will never appear on other developer’s machines, and they therefore don’t need them in .gitignore.
How is `node_modules` different from `/path/to/venv/lib/python3.X/site-packages` ?

Are PyPI, cargo, Maven, etc... all immune to supply chain attacks?
What's wrong with bundler / gem?
Title nitpick: Starting with "Why not..." sounds like a suggestion. I'd recommend "Why you should not..."
If I have a surgery, I want it done by a surgeon and team that does this surgery every day, not by a surgeon in a rural hospital that does whatever surgeries someone needs within 50 miles.
More “official” stores never changed their prices. They just never had any.

PiShop in Canada, for example, still lists the Pi 4 4GB for $76.95, but rpi locator says last time it was in stock was June 2022. Some item’s have an empty field for last seen and I've been assuming that means the tool has never seen them in stock.

So I would have needed to find another way to get it, and scalpers/Amazon never waste a good crisis.
Why does it matter if a program is a self-contained binary? It seems like such an odd requirement. If you really want that it seems in principle easy to compile it all into one script with no imports and put a shebang at the top. What's the point, though?

Pyinstaller is pretty good for if you need a standalone installer.
> Economically infeasible I assume, but is that because of increased hardware costs

Economically infeasible because of decreased hardware costs. Panels are so cheap compared to tracking systems.

(Quick envelope calculation: Amazon offered me a 400w panel for £200. Amortize that to about 6h of effective daytime use, that's 21600 seconds or 8kWh/day. 25 year warranty lifetime; derate that by, say, 20% to allow for degradation. 20 years is about 7300 days. That's about 58,400kWh. UK electric costs are all over the place at the moment, but at £0.30 that means .. you're buying £17,520 of electricity for £200.)

NOT INCLUDING BALANCE OF SYSTEM COSTS, solar panels are really cheap.
To me the solution is just use system python. If some packages do not work, then patch them if easy, or just avoid using if not.

Docker as last-resort solution.
No, they didn't. [EDIT: Nvm.]
r/embedded feels like it has become 75% "how do I find my first job as an embedded programmer", which gets old after a while.

AskElectronics is pretty good though, in large part thanks to Davide's moderation. Losing places like that is sad tbh.
Kind of, but some languages are definitely easier to build than others (on average).
The non-hierarchical, not-reused, reinvented package convention. The most popular package repository being incredibly hard to find one package you want among a sea of crap. The lack of a single standard solution to the most common problems. Frequent backwards compatibility issues.

It's definitely not the worst. But it's hilarious how bad it is considering how popular it is and how long it's been around
This is great editorial coverage by the App Store team. I’ve long thought Apple to be discarding a great opportunity with marginal curation and storytelling regarding great apps, niche or otherwise, so this is encouraging to see. I hope we see more like this BBEdit story.
> "If you're reading it, it's for you"

"It" here would have to be the situation/article, right?

The thing they don't care about is what will happen to Coinbase in the future. They're not reading that.
Cool story. Now explain why almost everything we see is moving away from us, where fresh hydrogen for stars comes from in an ancient universe, where the cosmic background radiation comes from, why the distant universe appears 'younger'...

Note that the 'laws' of physics are no better than normal scientific theories, scientists just had more hubris back then.
Confronting and forgiving the people who instilled fear in my heart
Also, it seems the main issues are shifted to the baseload/nuclear, instead of incentivizing or asking the flexible power sources like wind to switch on/off as per needed.
He explains both your questions in detail, with references. He explains where his time scales comes from.

I’ll spoon feed you the abyssal heating data: https://agupubs.onlinelibrary.wiley.com/doi/full/10.1002/201...

So what’s left of your criticism is you don’t like his ‘persuasions’ or ‘and so too.’

Please try to engage with his argument.
I recently switched back to venv and pip with pip-tools with dependencies configured via pyproject.toml. I have a basic Makefile containing convenience command aliases with inter-dependencies.

While not perfect, the venv/pip approach has simplified my development process, allowed conventional deployments to PaaS, and made things easier for new developers.

I will gladly dispense with pip-tools and Makefile if Python had/has a more capable standard library CLI.
I think this article is rather long-winded and not super informative. The previous post [1] lays out what one should actually do, and I agree with most of it, at least from a developer perspective.

1: https://www.bitecode.dev/p/relieving-your-python-packaging-p...
Hearing is unable to detect colors, so I won't use it.
I’m a fairly recent convert to poetry, but I definitely acknowledge the bootstrapping problem with it— it seems to work best if you have some non-Python means of acquiring poetry itself, whether that's a PPA, nixpkgs, or something else that's already "at hand".
Sample apps using PyTorch are best examples of an adventure, when ran on Windows. One needs to carefuly consider a WSL2 machine, full vm or Anaconda, because each comes with some caveats. WSL doesn't implement sound/microphone access, full vm's don't pass through the main display GPU, Anaconda based ones complain that the host system doesn't support hard symlinks (unless the Developer mode is turned on)
Show HN: Cone – a real time color picker for the world
The defining characteristic of PCIe isn't faster bus timings. It is that PCIe isn't even a "bus" in the traditional sense. With a bus, you have a number of shared physical wires for addresses and data, and an arbitration system that assigns those shared wires to one device at a time. The available bandwidth is just the bandwidth of the bus, divided into the time you can reserve it for yourself.

PCIe is a tree-shaped network (root is the root hub in the CPU, inner nodes are switches, leafs are devices) with point-to-point links (called lanes) that transmit packets. Bandwidth is determined by the number of lanes that a device's path up to the root hub has at the narrowest node.
Storage is the functional replacement for baseload. Lack of storage was the reason for baseload generation in the first place

Japan’s vast hydro storage was actually built to solve the issue of too much nuclear baseload generation at night (to be discharged during the day). Later as Japan added a lot of Photovoltaic after Fukushima, the same hydro storage was doubly useful
Perl, Ruby, JavaScript, PHP, Bash, Go, C, C++, Rust and even Java is easier to deal with than Python tools. Seeing that it is a Python tool usually make my heart drop a lot and makes me look for alternatives before attempting to get it running.
It is the same "let's use image from something else to fill in this gap and hope nobody would notice" mindset.

xerox use image snippets from same document, samsung use something the their "AI" made up.
Both of them are trying to be smart and replace stuffs with something "similar"
Holy moley, my first “real” computer ran 98SE and had BLACK ICE, which behaved exactly the way you described.

I remember I would take the IP addresses of the “attackers” and plug them into a McAfee graphical tracert tool, and it felt like nothing short of something out of GoldenEye.

Thanks for the memories!
> Or you can simply go to a grocery store and buy as much alcohol as you want.

Depending on where you live, of course. Saudi Arabia doesn't allow alcohol. Sweden limits the purchase of high ABV drinks to state run stores, as do some states in the US. Dry counties exist in the US too, and those places have _massive_ issues.
You want something that manages different versions of Python itself. pyenv is a popular option for doing this, but I'm partial to rtx which is largely language agnostic and also handles Python virtual environments in a very elegant way.

https://github.com/jdxcode/rtx
Laptop strapped in: https://ibb.co/yNgbtRf

Here is a shot of the underside: https://ibb.co/ZhpxdYg

Here is a shot of the top. The glue marks were from me trying out having rubber feet on the breadboard to insure no slippage but it turns out my MBP has pretty decent rubber feet: tohttps://ibb.co/rbs2bVK

Standard mounting screw straight through the bread board. I drilled the hole maybe 1mm smaller than the bolt size and then just jammed it in there, and I leave the quick mount just attached to the breadboard: https://ibb.co/5W9BvCH
What if I crawl reddit comments without ever clicking on „agree“/signing up?
Have you ever tried mamba[0]? It's much, much faster than conda for me.

0: https://github.com/mamba-org/mamba
> Among other things, it advised not to use homebrew, pyenv, anaconda, poetry, and other tools.

Why are there so many so low quality programmers jumping on this problem? Why cannot they just step aside and leave this to people who actually understand what they are doing?

OP has no clue what they are writing about. Anaconda is a different distribution of Python with a bunch of it's own packages, tools, processes... It definitely doesn't belong in the same group with homebrew, pyenv or Poetry. What are Python users supposed to do if they get a project exclusively distributed as an Anaconda package?

The real list of things you shouldn't use to install Python packages is anything that's governed by PyPA -- it's all garbage. Unfortunately, this is impractical. The situation is in a way very similar to Linux and proprietary drivers. If you want Linux to run on your laptop, you will most likely end up needing proprietary drivers. And that's bad. And you have to compromise.

So... setuptools? -- bad, shouldn't be used, but, realistically, you will end up using it anyways. pip? -- even worse, but it's very hard to avoid. In situations where you create a library, you'll probably have to also at some point face the need to provide it in Anaconda distribution, and you'll have to use conda too... which is also bad, but there's nothing you can do about it, and even if projects like mamba exist, it's still not going to help you because you must test your library with the tools the users are going to use on it, and it's a choice between not supporting a bunch of users and having to use crappy tools.
I guess part of the problem with boycotts is that it's very hard to know who will not buy your product because of e.g DRM, and who won't buy it because they're not interested in it.

I haven't bought a single Sony product since the rootkit fiasco, but I've never been able to tell them this directly. I don't buy products with DRM in them. I just don't. I'm not going to be appearing in the balance sheet, however, and won't appear in the calculus of lost growth for an MBA.

The only time I think boycotts do work is when they cause a direct negative action to a company's bottom line that is sufficiently obvious that an accountant can see it. Long, slow protests -- such as exist against Nestlé for example -- are worthy but likely for the birds.