skysight-inc/HackerNews huggingface dataset:
> But do you edit code on prod?

For a very small startup that seems like a good approach. I think the right approach differs greatly depending on the size of the company and the culture.

Me, having been employed mostly in medium sized companies, I only do so for absolute time and business critical issues. It gets the management of my back so I can focus and fixing it properly on my own time later.

For everything else. Nope. Everything needs to follow the proper processes. Nothing gets merged without code review. No, I can't directly deploy on prod. We will test on stage first.

You need to be firm or you end up with the slippery slope of "Can you just fix this small thing quickly?". No, sorry, please write a ticket we can discuss it next sprint. You can't let management know how easy deployments are these days, they must feel like it is a huge deal or they will mess up your whole sprint.

So the right approaches have more to do with company politics than what is technically the best and that is what is missing from this discussion. One of the most important priorities for a employed developer is to keep his peace of mind. At my current job I don't even have access to the prod. So even those time critical fixes are not possible. And it absolutely slows me down sometimes from discovering and fixing certain bugs but I sure as hell wont ask for access.
You can see his house in one of the pictures he has on his twitter, +$2M house. Instead of trying for this attention he could just donate and have had the vehicle towed. It's childish behavior for attention, just scroll down his feed and there are other examples like where he talks about breaking free a signed basketball from his dentist office.
but that's the problem. there isn't enough food and housing to go around. you can't fix it with fake raises. you have to add competition back into the market at the corporate level. but investors don't like competition.
> I personally see no upside to shoving an unpaid third party between user and developer.

I think F-Droid is a good example of striking a balance between those two extreme models. Their existence enforces community vetting of apps as well as somewhat-reproducible thanks to their standardized build infra, which are two major wins.

I personally have much more trust in such schemes (such as guix/nix) because i don't necessarily trust all of the developers of apps i use not to get hacked, and i believe enabling one-click updates to every user of an app without review is a dangerous pattern for security.
Bug Report – Broken Code, Passing Tests
Fossil fuel will die only when the alternatives are better. Focusing positively there is where the effort should be.

So reduce environmental review for solar, massively reduce red tape for fission, invest in fusion, and invest in carbon capture technology are the main things here IMO.

We should strive for energy abundance, not austerity.
As someone who procrastinates a lot by targeting "perfection only" in my side projects, this resonates with me. Thanks for sharing.
Managing the Cybersecurity Vulnerabilities of Artificial Intelligence
We already have global conflict. Multiple.
> blocking information that later turns out to be correct.

They're not even claiming the censored posts were incorrect, merely "misleading". I.e. they are compelling people to use the government-mandated context when presenting information, or they get censored.

I wonder if it'll stay limited to only COVID-related topics. I sure wouldn't wanna commit any slippery slope fallacies...
> I can write a Python script that turns a JSON API response into a native Python object with a single line of code. How can you do _that_ with a HATEOAS response that is basically guaranteed to contain arbitrary HTML?

These aren't equivalent scenarios. The JSON response is a programmatic endpoint so of course it only contains programmatically-relevant data. Typically the HTML is not from a programmatic endpoint, but it could be.

Strip out all styling and non-programmatic content from an endpoint that returns HTML and you basically have pseudo-XML document that can just easily be mapped to a native object as JSON, with the added benefit that you can actually identify links without needing a separate schema as you do with JSON. This isn't typically done but there's no reason it can't be done.

In fact, it would be considerably more powerful than JSON because you can actually transmit functions. For instance, a <form> input and its associated inputs can be translated into a native function with parameters whose names correspond to the input names that makes a remote call. So theoretically, hypertext is JSON + first-class functions. This is why HATEOAS is more flexible.
Early IC Package with Rolled Legs
Early IC package I've had for a while, showing an era in which DIP leadframe pins were rolled into a tubular form rather than just being stamped as they are now.

Thanks to Evil Mad Scientist Labs for taking actually good macro photos of this part!
It's clear that "national security" was always a euphemism for "the financial interests of certain rich capitalists who not coincidentally spend considerable sums on political lobbying".
The whole point is that this is technically worse and only being used to try to bootstrap a walled garden where they (RedHat, Canonical for flatpack or snap) get paid a fee due to a monopoly on app distribution to their users. This is not 'the revolution' we should support. I encourage you to study the technical arguments until you understand them well enough that they become convincing.
I just want to say thank you for your amazing work.
find /home -type f -name test.*
What Every Engineer Should Know: The Biggest Contributor to Happiness
cop26 has barely ended as everyone happily forgot all the climate pledges.
> Indeed, my biggest complaint with python's static typing efforts are how hamfisted nominal typing has been shoved on top of python, as-if it were just "failing to be java".

This is the best way I've seen my feelings on this summarized. Thanks! I really find that efforts to bring nominal typing to Python really just restrict it, and it becomes not the same language anymore. If I want that kind of typing, I prefer to use a language that does it properly. Otherwise, I want a type system that works for how Python is designed.

I'm really finding these days that I have to restrict the range of types my functions are designed to work on just to satisfy a bunch of linters. It's very annoying. And imho goes against the grain of why I chose Python in the first place.
Fun with Red Star OS
Speech recognition using the Speech framework
A kind of Kafkaesque webdesign
Lee from Vercel here. Happy to answer any questions about Vercel and our plans for this new round of funding.
Europe has caused cookie banner hell globally. It's not just in Europe.
If it goes up: "Imagine how much higher the price would have been if I hadn't opened the strategic oil reserves!"
I stab them in the head before boiling. I believe this is more humane.
Maybe you misspelled it, because I get thousands of results on both google and duckduckgo.
RPC has its place in life, but hypermedia is extremely powerful for application development. I believe many systems would be best served by providing both: a hypermedia-based web application and a JSON-based data API. This essay on the topic may be of interest to you:

https://htmx.org/essays/splitting-your-apis/
They can tax vehicle registrations. Vehicles with more weight can be taxed more since they cause more road damage.
> our quality of life is dramatically higher

(as a fellow European) By what metric ? Would love to know.
Winamp: A fast, flexible, high-fidelity music player for Windows (1998)
Doubly so when the people telling me to tighten my belt, are flying to climate conferences in private jets.
I mean in 2 years from now after the tap is turned off and prices have adjusted accordingly.
Patronizing?

I’m sure we can sit here all day and debate what material kids should learn. My point is that 1. people do well in any subject when they care about it and 2. tutors often help kids care. I’m trying to distinguish this emotional effect of tutoring from the cognitive effect —- otherwise it is difficult to explain the 2 sigma findings.
> If you want people to "care", be careful what you wish for. We could drastically
reduce our human carbon emissions by feeding all the first-world vegans to pigs,
and improve our signal-to-noise ratio on the Internet as well. /sarc

Why is this marked as sarcasm? The greatest personal contribution to the
reduction of carbon gas emissions that a person can possibly make is to stop
breathing, although that's true for non-vegans as well.

Meanwhile, almost 75% of greenhouse gas emissions come from power production and
so from burning fossil fuels:

https://ourworldindata.org/emissions-by-sector

It's burning fossil fuels that's causing climate change, not eating cows and
certainly not eating pigs and chickens (who are the most widely consumed meat
animals). We've had farming for more than 10 thousand years but the
greenhouse effect causing climate change started only in the last couple hundred
years, along with the Industrial Revolution. Why? Because the carbon gasses
released by farming are part of the carbon cycle that circulates carbon gasses
between the atmosphere and the biosphere, and that is relatively stable and has
never caused a greenhouse effect in the billion years of life on the planet.
While burning fossil fuels releases carbon gasses at rates and amounts that the
natural mechanisms in the environment that normally bind carbon can't cope with:

https://en.wikipedia.org/wiki/Atmospheric_carbon_cycle

The idea that eating cows causes climate change is the dirty lie of vegan
propaganda, spread by people who, in truth, don't know anything about the
environment and don't really care about the environment or climate change and
only care about whether other people eat meat. It is a lie because it's false
and it's a dirty lie because it's obscuring the real cause of climate change.
And it's the dirtiest of dirty lies because it tells people that they can save
the environment if they have a soy burger now and then, rather than giving up on
their cars (hear that OP?) not buying a new iphone twice a year, not flying to
their Instagrammable holiday destinations, not stuffing their houses with
useless houseould appliances and generally stopping their incredibly wasteful
use of energy produced by the burning of fossil fuels.
Not particularly convinced about the Brexit angle or the comments on sales - for example, you can bet that The City has some highly aggressive salesmen/women given its status. But from my perspective Europe suffers from a problem of culture - there is seriously old money here and, I'd assert, a related, outdated zero-sum/dog in the manger mentality. Anything like FAANG, Tesla, SpaceX etc that seriously threatens to disrupt the status quo is either stillborn, strangled at birth or shortly thereafter as this guild's dead hand does its work.
I think it's great, but we're still far off from an ideal solution because it's not exactly fine-grained. For example, flatpak portals enable me to grant/block access to my home folder, but don't enable me to allowlist a specific folder in my home. So i'm stuck with the possibility that a vulnerability in the app can take over my entire system (eg. by rewriting ~/.profile), or with my app not accessing my home folder at all.

As a user, I'd like to give Krita/Libreoffice permissions for ~/Documents and Tor Browser permissions for ~/Downloads. I don't know yet of a user-friendly method to achieve that.
You say third party, but I think you mean proprietary. Essentially everything running on these devices is third party. Pine themselves aren't making PineChat and similar programs.

Lack of support for proprietary apps is something to blame those proprietary app developers for, generally. They haven't given the people freedoms to port them.

Matrix and XMPP are third party, free, and already usable on a PinePhone.
Export Tabs URLs

https://addons.mozilla.org/en-US/firefox/addon/export-tabs-u...

Used to dump tab URLs into a text file for later use. Has the option of selecting and editing the text of the file before saving, filtering the file contents, only selecting tabs from the current window in Firefox, and adding the title of each tab above its URL.
Of course, you can still buy drug paraphernalia. For example there are plastic Roses in a glass vase sold at gas stations that are really crack pipes. And there are lots of shady "tobacco shops" out there.

Some of these products seem pretty nice, I'd buy a couple of them if I did cocaine.
Maybe, just maybe, if we stopped building telescopes like fragile porcelain dolls with glass heads that can't take a scratch and started building them like tanks that can take a beating..
This is something that people will need to come to their own senses about. Politicians run to get elected/re-elected and economy is almost always the #1 driver for building a platform.

In the economic sense, if everyone reduced consumption then unemployment would go up, GDP down, recession, etc…

This is just my observation of how some dominoes might fall. There will always be upsides and downsides.
> I think GP is suggesting that, absent the lobbying power of the alcohol industry, you might see commercial development of safer ways of dosing alternatives.

Well yes, substances are like religions, and alcohol is like Christianity.

Nobody knows how or why it emerged, maybe one of the reason is that you could ballpark doses and unless you really screw up or have a deathwish you'd be able to survive and reproduce.

Same thing for Christianity, there is not a whole lot of stuff in there that prompts people to get in harms way.

Whatever the reason, it's now grandfathered in and it will be really hard to change this.

The fact that the alcohol lobby tries to fight alternatives, and also the fact that there is an alcohol lobby at all...is somehow embedded in society.

I honestly don't know why we are managing to get rid of cigarettes which were similarly grandfathered in and are much lower risk than alcohol
I remember at least one mead recipe that claims honey is anti-microbial and instructs you to boil the mixture before fermentation. But I can confirm it works without boiling.
I yearn for the day where all drugs are legal.

No difference between cocaine and caffeine or alcohol. They’re all drugs if you remove your bias and conditioning.
How Ocean Shipping Works (and Why It's Broken)
Flatpak is the future of Linux desktop applications for so many reasons, but among them it allows users not to be caught up in the dependancy mess that plagues Linux distributions. Some of the criticism here does not belong to Flatpak. E.g Fedora's weird duplication of repositories is exclusively a Fedora problem. Has absolutely nothing to do with Flatpak.

Applications such as VLC and GIMP which 'ship' with access to whole filesystem permission is an eternal dilemma. Would you rather the authors ship without access to this permission and break app functionality ? Or let them ship with restrictive permission and allow users to manually enable respective permissions to regain function when the software breaks? It is easy to see the feasible decision here that works for all parties here. The permission on the different accessibility store however has confusing labels on sandboxing, I agree with the point that the store should make this as clear as possible.

I think the bigger point the article misses is the ability to control these permissions at this level. Even if the software author ships 'dangerous' default permissions, the user can always revert this decision and sandbox it effectively if they so wish.

Flatpak is a crucial needed fix for the Linux package distribution problems highlighted elaborately by this article but in my humble assessment, the benefits to this solution massively outweigh the nuances such as the one the author mentioned about package sizes.
> IMO, the benefits of HATEOAS are very much overblown

Much overblown in the context of JSON APIs.

In this article I am (in part) arguing that HATEOAS (and, therefore, REST) don't make much sense when working with JSON, but make a ton of sense when working with HTML, and, therefore, when building hypermedia-based systems.
IME, all running portal services add up to around 30MB RAM usage, and the two processes that need to run with each Flatpak are around 1MB each. (XDG portals aren't Flatpak-specific and can be used by host applications for some cross-desktop APIs as well.)
Now this is a PR stunt i can applaud
They dropped it?
Very interesting hypothesis. Will it be proved wrong? We now know that the vaccine effectiveness fades very quickly that after 6 months the booster is required. But how AZ compares with Pfizer vaccine? It is possible that the studies that try to measure it, mostly measures breakthrough infections or hospitalizations but not severe disease status.
> what today will sound absurd in the future?

Mark my words:

1. Eating meat

2. Valorizing excess

3. Bonfires and fireworks

4. Anonymity

5. Air, noise, and light pollution

6. Having more than 2 kids

7. Proof of work

8. Buying new stuff all the time

9. Suits, ties and other western formalwear

10. Non-synthetic pornography

11. Academic papers

12. Golf

13. Body modification and tattoos

14. Lawns

15. Running unaudited code

16. Non-tailored medicine

17. Tribal politics

18. Daylight savings time

19. Circumcision

20. Burial

21. Men standing to pee

22. Treating 18-year-olds as full adults

23. Tipping

24. Advertizing

25. Imperial units

26. Coffee fetishization

27. Changing your name when marrying

28. Work-or-starve as the two primary options

29. Cosmetic products

30. Gender

31. Automotive fatalities

32. Demarcation between Movies and TV
If I had to guess, it’s because the people in charge care more about short-term targets than they care about the company or its people.

Those in power abusing the people under them has been a human flaw since the beginning of history.
It's actual spam at this point. It's not like a real recruiter that really wants exactly you for a specific position somewhere.
I've been working with some recruiters who are REALLY great.
Remix have just been released and you're already jumping to conclusions ? What's missing from NextJS to connect your own backend framework like django rails express or whatever ? Or even using their api routes + something like Prisma and a SQl/NoSQL database ? Basically nothing.
I feel like the right solution to using the modern web is a allow-list based approach. Let the user be in control of the details of every request and response and action taken by the browser. Then everyone can choose their own way to interact with the web.
And nobody talks about Slax modules. Too many years ago, they had some basic containerization (only at filesystem level). If it got some kind of dependency managment, it would be really great.
Yes, I agree entirely. The crux of the issue is that HTML has stalled as a hypermedia for a few decades now, but I am trying to fix that with htmx:

https://htmx.org

htmx is the result of my research :)
Haha thanks. The second picture is great.
Study: People who believe in astrology are more narcissistic, less intelligent
> Or perhaps there’s enough evidence, but it takes a long time to process it? But then how come the prediction markets are already 90% sure what decision they’ll make?

Is this kind of a Grossman-Stiglitz Paradox? I guess the FDA should just consult the prediction market to figure out what decision they will make!
Not even Naive Bayes would be needed if recruiters would use a "more suited technique" to predict exactly who is going to be interested in a job and only bother emailing those.
Correlation does not imply causation. Just purely saying “consume more and you will have a higher quality of life” seems off. Consuming the right things is important imo.
I re-read your parent four or five times, searching for the smugness or self-righteousness that seemed to offend you. I could not find it.
They do not cover the same use case. If you have 80 tabs each for 3 different topics, you end up managing 240 tabs. It's sometimes more manageable to split this off into entirely different browser profiles (or browsers, even).
People have tried to provide a packaging format that would allow apps to declare their depencies in a distribution neutral manner[1]. It was, uh, not a huge success.

Let's take an extreme example. If I build an app on Ubuntu and then try to run it against the system libraries on Alpine, it'll fail, because Alpine is built against a different libc. We can simply declare Alpine out of scope and only support glibc based distributions, but if we want good cross-distribution support we're still going to be limited to what's shipping in the oldest supported version of RHEL. So let's skip that problem by declaring LTS distros out of scope and only target things shipped in the last 3 years - and now apps can't target any functionality newer than 3 years old, or alternatively have to declare a complicated support matrix of distributions that they'll work with, which kind of misses the point of portability.

In an ideal world distributions would provide a consistent runtime that had all the functionality apps needed, but we've spent the past 20 years failing to do that and there's no reason to believe we're suddenly going to get better at it now. The Flatpak approach of shipping runtimes isn't aesthetically pleasing, but it solves the problem in a way that's realistically achievable rather than one that's technically plausible but socially utterly impossible.

Flatpak is a pragmatic solution for an imperfect world - just like most good engineering is.

Edit to add: one of the other complexities is that dependencies aren't as easy to express as you'd like. You can't just declare a dependency on a library SONAME - the binary may rely on symbols that were introduced in later minor versions. But you then have to take into account that a distribution may have backported something that added that symbol to an older version, and the logical conclusion is that you have to expose every symbol you require in the dependencies and then have the distribution resolve those into appropriate binary package dependencies, and that metadata simply doesn't exist in every distribution.

[1] http://refspecs.linux-foundation.org/LSB_4.1.0/LSB-Core-gene...
Making LSM-based rules for desktop applications is relatively complex and inflexible (what if the user wants to grant access to a file for a short amount of time? Portals let you do that). Are you rebuilding policies on the fly?
Then we could spend 10,000x on the launch? Nah, let's let the people managing the rocket science continue to do so.
> I'm not sure what translation error led to solar being described as "fatal".

Yes, I think it's a bad translation from french (https://fr.wikipedia.org/wiki/%C3%89nergie_de_r%C3%A9cup%C3%...). The author uses it to denote energies which are not available on-demand and depend on external conditions (solar, wind). A better translation would be intermittent energy (source: https://www.proz.com/kudoz/french-to-english/energy-power-ge...)
What if accusation is proven (and this person agrees with it) but said person does eir work really good. Should ey be forcefully removed from this position? What if there is no good replacement candidate at this time?

p.s.
pronouns used are from https://www.orionsarm.com/eg-article/495360fba7a46 , I don't think singular they is correct thing.
Black Friday. Let's Gooooooo
Thanks for answering for me, that’s spot on!
I find searching for a package installed files very useful, as to locate the eventual configuration, templates, assets …

dpkg -L packagename | grep doc

On Debian for instance.

Or even finding out which package installed a specific file with apt-file.
...they'd mass too much to launch. But I'm sure they'd look neat mounted on plinths in front of the KSC parking lot!