skysight-inc/HackerNews huggingface dataset:
"""However, there is no lock file. You could manually generate a kind of lock file using something like pip freeze >> environment.lock, as this will look at all the packages currently installed in your environment and write them to a file. However, such a manual process is error prone and most people prefer to use a dedicated tool to manage lock files.

"""

"error prone", ok pal, ok -- undermine your entire article with this.

Keep the output of "pip freeze" in version control and you're good to go. When you want to upgrade you need to diff the old to the new. Do the work and stop complaining.
I normally do not take vacations, and I have a very busy and cerebral job. I love what I do.

To do that, I manage my internal battery by being aware of my internal state.. It translates to doing sport every week, doing stuff I like such as cooking, being mindful when I do stuff. Helping others in my job, that's very relaxing for me. I work on programming or learning stuff) (mostly maths) that I'm interested in but that it is not related directly to my main job.

All those activities are productive from an outside point of view, but for me, they are the places where I enjoy the most of the time I spend and refill my mood and energy level.

An important thing, is that if I'm sleepy, I rest, even if I have important and urgent work to do, the output will not be good if I'm too sleepy.

Finally,I manage my stress levels, work is stressful most of the time, good stress management is key.

The main drawbacks for me, and maybe the only things that would lead to taking time off, is administration, administratives tasks drain me.
ZetaOffice is focusing on developers wanting to integrate it (be that a web app, or a desktop line-of-business application, e.g. via Eclipse RCP) - having the exact same code built across all platforms should make for excellent consistency (document rendering, and API compatibility). We can also offer LTS support & security updates, beyond the normal LibreOffice 1-year lifetime.
Maybe zig will become what rust is for python.

But JS needs a better compiled extension story for that to happen. The absence of a standard like wheels makes everything difficult.
I’m a computer engineer - a lot of programming, but also a writer so a lot of writing, and we also generally do a lot of writing in our daily lives - emails, chats, prompting… :D I am generally split between English and French writing mostly.

I use a combination of Dygma Defy with its awesome thumb cluster, along with macros for frequent series of letters (think “tion” and such) as well as chords using https://github.com/rvaiya/keyd/ . And I use the Optimot layout because I’m French, for English speakers, Dvorak is probably enough, but Colemak and many other alternatives offer various advantages depending on your usage.

As many have hinted here, it’s absolutely not only about speed. It’s about comfort, both physical and psychological.

Using the thumb is a great way to avoid moving the hands too much because now your pinkies don't have to reach keys on the side which generally causes a slight extension of the hand. After a year of using the Defy, I don't have any form of strain building up in the thumbs, even though I use them quite a lot - but still a lot less than other fingers.

Macros for short series of letters are very powerful in my opinion: it doesn't necessarily goes faster as it breaks the flow of typing, but you have a lot less keys to press which also minimizes errors. The same goes with chords using keyd (I know it’s originally not exactly designed for that usage, but it still works great at least for me) - less keys, less coordination.

Finally, the choice of keyboard layout is critical. Originally I’ve switched from the French Azerty to Bépo because I notices how much my wrists were moving when I was typing in French with Azerty compared to English in Dvorak. There was a huge difference and I could feel it in my bones after long sessions of typing. So yes, choose your layout wisely.

As a last note, typing speed does matter. But it’s not about typing at the 0.001% fastest percentile. Typing speed will not make you really faster, but you just don't want it to slow you down too much. Typically, you don't want to be in the position where your thoughts go so fast that you feel the frustration of not being able to type fast enough and losing some of your thoughts in the process. Besides, for coding it’s much more about having the right tools at your disposal: powerful auto-complete and suggestions, easy refactoring processes, keyboard shortcuts to do everything you need, easy access to symbols on your keyboard/layout, etc. Typing speed is rarely an issue while programming compared to when writing plain text.
The majority of the customers.

(That majority of the customers might stand for less than the turnover of the minority that enjoys discounts. But that does not help you if you belong to the majority.)
This is just the static html renderer, it has no JavaScript to update client side, but the author has another project for fastapi + this + htmx: https://github.com/volfpeter/fasthx
> Reusable bottles is unlikely to be realistic.

It used to be the norm in the UK for milk.
Ask HN: How are you handling data aggregation across multiple tools and systems?
How are you handling data aggregation & movement across multiple tools and systems?
Kubernetes upgrades? Don't those risk bricking everything with just 1 environment?
They'd be drinking, I'd wager, Schrodinger's KoolAid (safely partitioned in the bowl at n-atoms per N moles of punch) while honoring FbK
To everyone blaming consumers: I encourage you to take a solution driven mindset here. Consumers won't change. There's far too many people, some of which don't care about the environment.

Tight regulations and additional tax on single use plastics can reduce plastic waste.
It's risky though, if the protest is annoying or damaging enough (antisocial behaviour basically) it can actively turn people away from your position. As in "Oh these are a bunch of insane/evil/violent etc people and that type of person tends to have this type of view, I as a good person do not have these kinds of views"
Those "necessary" add-ons and sidecars are out of control, but its the people problem. I'm part of the infra team and we manage just couple of k8s clusters, but those are quite big and have very high traffic load. The k8s + terraform code is simple, with no hacks, reliable and easy to upgrade. Our devs love it, we love it too and all of this makes my job pleasant and as little stressful as possible.

But we recently hired a staff engineer to the team (now the most senior) and the guy just cannot rest still. "Oh we need a service mesh because we need visibility! I've been using it on my previous job and its the best thing ever." Even though we have all the visibility/metrics that we need and never needed more than that. Then its "we need a different ingress controller, X is crap Y surely is much better!" etc.

So its not inexperienced engineers wanting newest hotness because they have no idea how to solve stuff with the tools they have, its sometimes senior engineers trying to justify their salary, "seniority" by buying into complexity as they try to make themselves irreplaceable.
Visible plastic pollution is horrible, and is only part of the problem. This then breaks down and was shown to enter and accumulate in not only animal bodies, including human bodies (soft tissue, lungs, even placenta[0][1]), but individual cells[2]. This includes BPA, a xenoestrogen used in most or all plastic bottles, which in EU is among the candidates for SVHC (substances of very high concern)[3].

[0] https://www.sciencedirect.com/science/article/pii/S016041202...

[1] https://academic.oup.com/toxsci/advance-article-abstract/doi...

[2] https://www.sciencedirect.com/science/article/abs/pii/S00489...

[3] https://en.wikipedia.org/wiki/Substance_of_very_high_concern (I expect the oil industry to do its utmost to delay this from having any legal effect, as per.)
1000x thanks, from the normal marketing material and post I could not tell if it was a drop in replacement, even if mostly. Looking forward to upgrade my uConsole.
Deposits on cans and PET bottles is well-established in Sweden, and rates seem to be around 90% now according to the responsible company [1], so yes.

[1]: https://pantamera.nu/en/private-citizen/facts--statistics/de...
The IQ test is heavily influenced by where and how you grew up. So yes, it can be criticized as such. Did I mention it's a very difficult, impossible even, task to balance all arguments?
Not recommending Telegram, but personally, I suspect that signal is compromised. They've been permanently storing sensitive user data in the cloud for a long time time (https://community.signalusers.org/t/proper-secure-value-secu...) but the very first sentence of their Terms and Privacy page still claims "Signal is designed to never collect or store any sensitive information." and they've been asked multiple times but refuse to update their privacy policy. I suspect that lie is being kept there as a giant dead canary.

Making the change to start keeping exactly the data that the government has been asking them to turn over isn't a very good look. "Securing" user's data with something as week as a PIN isn't great either. https://www.vice.com/en/article/pkyzek/signal-new-pin-featur...
Note that the "solution" of disabling pins mentioned at the end of the article was later shown to not prevent the collection and storage of sensitive user data. It was just giving users a false sense of security. To this day there is no way to opt out of the data collection.
"Last night I reinstalled Windows 11..."

It is funny how these kind of essays don't critque the protagonist.

"Sweet universe save me from this tide of enshittification."

Nope. You do it. Atleast suggest a boycott of the listed entities.
This Krebs guy is a doxxer through and through, I wouldn't take anything that he writes down as being serious. If he thinks he knows something and he has palpable proof for it then he should contact the relevant authorities.
Ask HN: Have You Been Debanked?
After watching pmarca's eye opening interview this morning, I am curious to know how pervasive the debanking phenomenon is.

Did you ever have a bank account closed on you for no good apparant reason?

What are some other ways this is enforced? I know for example, the the industry in Europe maintains a list for politically exposed persons, for which there is no recourse or transparency. So if you get on that list accountants will refuse to work with you and banks will close silently, and there is no way to contest it. According to pmarca this could be an arbitrary use of power for something you do for work.
Is that really the case? Because if so, it seems like simply replacing the capacitors would save a lot of waste and unnecessary purchases of new TVs...
> I do hate Helm to some degree

I feel you. I learned K8s with an employer where some well intentioned but misguided back end developers decided that their YAML deployments should ALL be templated and moved into Helm charts. It was bittersweet to say the least, learning all the power of K8s but having to argue and feel like an alien for saying that templating everything was definitely not going to make everything easier on the long term.

Then again they had like 6 developers and 30 services deployed and wanted to go "micro front end" on top of it. So they clearly had misunderstood the whole thing. CTO had a whole spiel on how "microservices" were a silver bullet and all.

I didn't last long there but they paid me to learn some amazing stuff. Which, in retrospect, they also taught me a bunch of lessons on how not to do things.
agreed, cloud shit can fuck off. they market themselves as the solution to problems you will never have so that you build your shit on their land and they can charge you rent, and most people eat it up and think they're doing them a favour.
Cryptpad, which includes a bundled copy of onlyoffice, works quite nicely.
git-secrets
I'm also an EU citizen and I very much like to see SkyNet happen.

Joke aside, these regulations, however "common sense" they look like, it will make the EU lag behind every other country when the genie comes out of the bottle. So instead of being at the forefront of AI, or close, the EU will be in the last place.
OnlyOffice has decent performance and is pure canvas. However, they have (or had) issues with respect to accessibility, as screen readers don't read canvas.
Madagascar's ocean algae bloom was caused by dust from southern Africa
Cool idea. Amazingly they've found a way to put "in-app purchases" though.

This app could just be an image set as your lock screen background.

I've found a good way to discourage mindless phone staring is to set the display to monochrome (e.g. through colorblind emulation). The decreased visual stimulation seems to have an effect on me, at least until I want to see a photo or video in colour and go back to normal.
> I assume this is a few hours or overnight. Even slow charging from a regular outlet gives enough over night or a 6 hour stay.

Not even close. We don't have a fast charger at home, so just charging from regular outlet. We charge from midnight to 3pm, or 15 hours a day (these are the cheaper hours with PG&E, although still a ripoff).

That's not enough to charge fully in a day. Fortunately my partner only goes to work every other day, so it's ok. If we needed the car every day, it wouldn't work.
I think “one time” is the key word here. Multiple use glass and metal containers were just fine before plastic; they can be the norm again.
The real problem is everyone using plastic bags to haul their purchases (which might be wrapped in five layers of plastic but who cares). That’s what the telly tells me.
Police raids in long sieges happen ~ 3:30-4:30am

People have wacky schedules but it's about when you never work

You could do an analysis on HN comments.

It's very hard to fake, you'd have to schedule on all channels. For instance don't look at all of a users HN comment's just ones posted less than a hour after it was on the front page.

I always set the time zone on my PC to a fake one. It cause's havoc sometimes and it's not even close to enough. It's hard once someone is after you.
Ah Americans... thinking everyone's walls are just plaster board on studs. I don't know what OP's situation is, but adding a cable to my walls would require machinery to cut a channel into the brickwork.
checkout primatejs
If you haven't coded serious projects in at least 5 very different languages, you likely adore one language because you just don't know better.

There is such a variation between js, perl, python, rust, C#, lisp, bash, haskell, erlang and sql that the blind spot is huge.

It's like eating hot dogs all your life and debating food merits with people that tasted japanese, indian and french food.
If diesel is bad, why not just say "make gas powered cars and hybrids only, no more diesel for consumer cars under 3.5T or 7T"? Seems easier than the current agenda.
Mozilla begs courts to allow Google search deal for Firefox to continue
Exactly. You might want to have one cluster per environment so you can test your deployments and rollback plans
In theory: absolutely. This is just anecdata and you are welcome to challenge me on it, but I have never had a problem upgrading Kubernetes itself. As long as you trail one version behind the latest to ensure critical bugs are fixed before you risk to run into them yourself, I think you are good.

Edit: To expand on it a little bit. I think there is always a real, theoretical risk that must be taken into account when you design your infrastructure. But when experience tells you that accounting for this potential risk may not be worth it in practice, you might get away with discarding it and keeping your infra lean. (Yes, I am starting to sweat just writing this).
Most people miss that most people in the world live in the apartments and not in the private houses. I wouldn't be able to charge EV at home even via 1A usb cable, simply because there is no wiring whatsoever on the parking.
Posting this mostly as a complaint about Apple taking so long to get this to a functioning version.
I do. I know that colors.js is a meme by now.
This is an amazing project.

One suggestion - Make the JSON editor panel collapsible or resizable.
> I'm also happy to answer any questions about this!

If you're still checking, I have a semi-related question:

You're solving the problem for a circle in a plane (actually, a semicircle in a plane), and the reduction in dimensions is related to something that has bothered me.

I can easily segment a circle into a bunch of identical arcs (say, by making each arc 3 degrees long and getting 120 identical copies). Polar coordinates are great for this.

But spherical coordinates are terrible for accomplishing the same thing on a sphere, and my understanding is that the analogous effect - tiling the surface of a sphere with a single shape - can't be achieved?

What motivated me to thinking about this was the idea of a coordinate system that would allow every "square" on a map to be the same as the other squares, regardless of how much distortion there might be between the shape of the region on the spherical surface and the shape of the same region as a square on this fancy map. But it also seems relevant to the question of how well your two-dimensional analogue to the onion problem answers the original three-dimensional question. (I'm writing this comment in the middle of reading your article, so I don't know if the 3D solution is ultimately addressed.)

I'd be happy for any comments you might have related to this.
I really like the slightly silly writing style! Reminds me of a toned-down Douglas Adams. Honestly, I'm not particularly interested in Janet but the style sucked me in.
Well understanding the problem and finding competent people is hard, riding on tool marketing and hiring bootcampers to do as you say is easy.
I think a lot of people in Cork would have had a stint in Apple at some point.
It’s a massive employer in the area.

I worked shifts there for a few months, responsible for installing the motherboards into the G4’s being made. There was a problem with some where the motherboard would seem to be seated correctly, but actually wasn’t and so the audio jack would pop out. I did my best, honest.

I also remember someone in Switzerland spending something like $15k for a 32GB machine.
Quantum mechanism identified as a key to accelerating ocean temperatures
Surely the morality depends on how they go about their protest.
good sentiment, but how did you reach that remote island?
most likely, that 2 hour walk produced quiet a hefty amount of disproportionate pollution.
Without plastic modern consumerist society as we now experience it wouldn't be possible, as such, that party-goer from the movie The Graduate was very correct in the assumptions he made towards the end of the 1960s.

Which is to say, are you sure that the current powers that be are ready to withstand the backlash of their political constituencies once that consumerist policy is actively reversed?
The logic of type hint is not bad but sadly I think that type hint are making python source code messy and unreadable.

I'm missing a lot simple functions with explicit argument names and docstrings with arguments types and descriptions clearly but discreetly documented.

It was one big strength of Python to have so simple and clean code without too much boilerplate.

Also, I have the feeling that static typing extremist are trying to push the idea that type hinting allows to ensure to not mix types as it would be bad. But from my point of view the polymorphic and typing mixing aspect is a strong force of Python.

Like having dictionaries that are able to hold whatever you want is so incredible when you compare to trying to do the equivalent in Java for example.

One part where I find type hint to be wonderful still is for things like pydantic and dataclasses!
Commodore just kept doing this. Just listing shoddy craftsmanship would take forever, and then we get to intentional bad decisions, like giving the A1200 a power supply that's both defective (capacitors ofc) and barely enough to support the basic configuration with no expansions, which is extra funny because PSUs used with weaker models (A500) had greater output...
You do know how much CO2 is expended to make batteries, no? The fact that is not done in Europe doesn't make it less bad. Those mining machines don't run on water, you know, they run on tons and tons of diesel.
“We’ll start with some numbers” I was expecting he’ll start by proclaiming it’s that language that uses floats for integers.
Inconvenience is also very high, compared to "throw it in a recycling bin".
Yep. My TV, a 42" Panasonic plasma, dates from 2009 and is still working perfectly. I haven't replaced it, because why would I?
Using a language that is actually good at DSLs means you can "extend" the language, so all the tooling for it still works with your DSL, too.

Then your DSL is essentially just library.
When WotC first offered digital cards, they had a system whereby you could redeem a complete set for its physical equivalent. At the time this helped convince naysayers they weren’t giving money for nothing. Twenty years later, with their latest online offerings, nobody really cares. I’ve certainly spent more money and had more fun with online Magic, and when I wanted to build my own cube I just got proxies printed anyway. I think the “collectible” part fell away a long time ago and now you’re happy just paying for an experience.
„Just buy a new modem“ they say … sure won’t be a D-Link ever again.
Some people wrap their phone in an elastic band or there’s always Opal if you want more fine grained control: https://apps.apple.com/gb/app/opal-screen-time-control/id149...
I think Human Layer is a great idea. Recently, my baby turned one year old, which made me reflect on many issues. We train AI with a lot of data but overlook the impact that decades of seemingly useless data from human growth experiences have on our brain development. As a result, humans still have an incomparable advantage over LLMs in terms of the so-called "big picture." For example, a recent experience I had was when I asked Claude 3.5-sonnet to write a bash script; it inadvertently modified the PATH variable, costing me a lot of time to fix it. Such attention to detail in work is difficult to avoid through vector db recall or manual context completion. But I believe that a true bash expert would not make such mistakes.
Using it to run easily-scalable Spark clusters. Previously used it for large distributed builds. It's been pretty great (even if annoying at times).
In the managed k8s space, the data is on a PVC in the same availability zone as the node it is being mounted on. If the node dies, the volume is just mounted on to a new node in the same zone. There is no data movement required.
> Airpods pro: Keeps disconnecting. ANC keeps turning on and off, living its own life. Sometimes only one side has sound. But it doesn't sound bad, when it works. It doesn't happen very often though. Too bad Apple ran out of SW developers.

Given the popularity of the product you’re presumably aware this isn’t a typical experience. I certainly haven’t encountered disconnects or ANC switching off uncommanded, and the only time I get one-sided sound is if one side runs out of battery. You might consider asking Apple to replace them.
If War Comes to the UK
Five European countries have just produced guides to help people prepare for war. Here's a version for Brits.
This is the interview OP is referring to: https://news.ycombinator.com/item?id=42253963
My thoughts exactly. I was expecting the classic millions of dependencies. Very nice!
Chefs kiss!