skysight-inc/HackerNews huggingface dataset:
I have gripes with some things in the current state of Python, package management particularly, but choosing JavaScript because Python's standard library is "barebones" doesn't really make any sense to me.

I've always found the Python standard library to have tons of useful stuff, and when I'm doing something in JS I often feel like I'm missing my toolbelt or something. Then I install a single npm package to do something simple and it winds up having 350 dependencies.
I think you watched too many movies. In real life this even happens to people from the west working there. They need your passport to take a copy, and then it's gone. You're going to fight them then and there? Good luck with that, security and the cops won't be nice to you.

I once worked at a company where some had to go to Dubai to install one of our systems. Some of my more knowledgeable colleagues refused to go, and after hearing their stories, I would also never go.
> Being browser compliant would be great, but just being 70% of the way there would be cool too.

Thanks. I think aiming a 70% compatibility is a realistic goal, going up to 90% would probably need 10 times more efforts, and 95% ten times more, with 100% being unreachable anyway because no two browser behave exactly the same.
Meanwhile, it was the most used language to solve the advent of code, and the language the winning solutions tended to be written in.

> my go-to language for a quick bit of scripting where another language might feel too heavy duty

So this article is not from someone who has used Python full time professionally...
Carrefour is one of the largest retailers on earth utilizing a big box model. They’re all over bedroom communities in suburban Paris.
I have, for the life of me, never understood the 'beginner friendly' argument for python.

Java, PHP or JavaScript for 'widespread use and longevity'. None of these are going anywhere, and I think you'd find more resources for beginners to advanced users for those 3. Yes, of course there's others - everyone has their faves. And Python will continue to kick around as well, but I've just never understood the 'beginner friendly' bit.
I do. Having source code available does6 mean anything if you can't verify the source yourself, or if the source can't be community certified. There's no point in a backend being open source, if nobody can verify what is running there. There's no point in an iOS app being open source if the app is distributed through the app store, as we have no way to verify that it is what it says it is.

Meanwhile if I'm running Debian I trust the maintainers have built the source code to distribute to me, similarly with homebrew and chocolatey.

> Its a matter of trust and good faith

Indeed it is, and you have to trust 1password, and if you don't, it doesn't matter whether there's good faith or not.
I exclusively buy physical books and then pirate the ebook. If I'm going to own a book, I'm going to OWN the book. Reading on a proper e-ink device is just too nice to give up, though.
The thing is, every language has serious issues, whether usability issues, documentation issues, performance issues, community issues, standard library issues, dependency issues, whatever. And for every issue, there are some people who just don't feel affected by it (or disagree that it is even an issue), and others who feel it deeply, to the point of outrage. So even if you ever get a consensus on what the issues are, there's even less of a consensus on how much they matter and what to do with them. Some people can live with certain problems and others are really distracted or bothered by them. It depends hugely on the context and environmental constraints too (can your org switch languages? when? on what terms? etc).

I think there's something deeply path dependent about how software people go through languages and fall in and out of love with them. Python was the first language I ever used professionally. It was amazing at the time compared to Java. But I haven't touched it in years now and don't especially want to. It's not that I "broke up" with it -- I just went elsewhere and it wasn't used there. You usually have to speak the local language wherever you go...

At a certain point, I think a lot of us give up on the idea of "loving" or "not loving" the language we use. They are all just tools. Some professional software people still have love affairs with their tools. That's cool I guess, but I have to say, I've written useful software in horrible languages (PHP) and I feel good about that too, and about not caring about the lovability factor (so to speak) of my professional toolkit.
And France have easily one of the best teams, with lots of very talented youngsters waiting for a chance to prove themselves. Even with multiple injured highly important players that would have otherwise started (Pogba, Kanté, L. Hernandez, Benzema, Nkunku to an extent) they got to the final. For every player retiring (Benzema, probably Giroud and Lloris) there are younger players ready to step in, all the way down to the youth teams. And this is at every position, unlike most other teams like Brazil, Argentina, Germany, Spain that have obvious gaps in at least one position. The only other ones that come close in terms of all roundness of talent are England.

France will be a menace for at least the next decade.
There is nothing in that article to indicate those studies may have been biased.
And make the conditions not suck! At the very very least this means an office with a door that closes? And ideally blinds on interior windows.

I’ve been remote for 8 years now and doubt I could ever go back, but above would be like a bare minimum to even consider - that and a minimum of a 25% comp bump over a remote option.
Users still using LastPass remind me of this closing scene: https://youtu.be/wtmnf7QlX_4
Or 4 parallel runways like Detroit Metro (KDTW): 4R, 4L, 3R, and 3L.

https://aeronav.faa.gov/d-tpp/2213/00119AD.PDF
> It's really a shame that data science, ML, and notebooks are so wrapped up in it. Otherwise we could jettison the whole thing into space

Although I personally feel Python has its place, I contribute to a project that hopes to diversify the ML/scientific computing space with a TypeScript tensor lib called Shumai: https://github.com/facebookresearch/shumai
It's no problem. I only found out about it when I got a free old 3rd gen intel Lenovo minipc from work and spent $20 to get a better wifi card for it.

Apparently, the only solutions are to either use only approved lenovo devices for that specific hardware or to export, edit, and reimport the BIOS after removing the bootloop protections from it, which while feasible isn't worth the time and effort to me just to have a small PC to use as a media player on my TV.
If you want "beginner-friendliness, widespread use, and longevity" then Python remains a fantastic choice.
People joke that Python programming is 'pip install solution', but it's honestly not too far from the truth. Until Go, Rust, or whatever fancy new language can match the wealth of well maintained libraries that Python has, I don't see it ever getting replaced for the quick scripting that the author talks about.
Yeah, that caught me off-guard, too.

I agree, though, the urllib module that he links to it's not the best thing ever when it comes to Python, and I say that as a guy who has written Python code for a living for 17 years now. But other than that I find the standard library more than ok.

The only thing that I can agree on is the slowness, but even that is relative, as we're not all writing speed-critical code. The type annotations never took off because they were, and are, basically un-pythonic, trying to force types on Python's throat, so to speak, is definitely un-pythonic. Unfortunately the "types are a silver bullet"-hype is all too real, so there's also that.

He should have also learned to love dir()-ing stuff.
In the US, media is totally critical of Shiite-majority nations while avoiding any serious critical view of Sunni-majority nations. If that's too opaque, then another way to put it is that the US stigmatizes, sanctions and engages in military interventions in countries that the Saudi government is hostile towards: Iran, Iraq, Yemen and Syria; who are Shiite-majority and Shiite-ruled. The Saudis are themselves Sunni and they treat Shiites as "barely Muslim". Saudi interventions in Oman or Yemen are ignored while Iranian interventions get reported to American audiences.

What is happening in the Middle East is a modern version of the Thirty Year's War. This time, instead of Catholic vs Protestant, it is Sunni vs Shiite.

Disclaimer: I've lived in both Iran and Saudi Arabia - dad was in the oil business.
Can't wait for someone to come up for a solution to copyright that will benefit everyone.
He was the first I know of that did such thing.
I don't disagree with any of his points, actually, and agree with almost all of them. The standard library has some holes - though I think that's true everywhere. I don't know that eg Ruby or java don't have holes either.

I do think the packaging Story in python is nuts. Why does gem just work for Ruby but python's story is such a disaster? Though imo my modern advice is "just use poetry and ignore everything else".

Pythons main draw for me is some combination of:

Type hinting is good enough. It has a big escape hatch to be able to do C stuff if you need to. Numpy. The language is still straightforward enough that beginners can approach it and the experienced can wax reasonably eloquent with it. And it's pervasive.

So when I sit here and I'm like "ugh I need a thing to sit here and hit an api and dump it to a file every day in a cron job, and I don't want to spend a whole day writing this". I go for python. And while go and java and rust etc would be just fine, I still end up taking longer than I'd like.

Somehow python is just the shortest, sanest route to just getting a small to medium sized doodad out the door and running reliably in a small footprint of time without needing to remember boilerplate (java) or think way lower level than I'd like to (go/rust). Python just lets me do it with low cognitive overhead. Sometimes while I'm half-listening to a meeting I'm in!

Honestly my biggest gripe with python is it's really hard to tell early enough when your program is on a trajectory to be too big for python. And I don't mean from a perf perspective or anything, I just mean when it goes from being "easy python" to "oops it's spaghetti now." There's a tipping point and I think even seasoned people end up well past it by the time they pause and rub their eyes and think "ugh I wish this were in java."
I use go and python pretty heavily, and I probably write twice the amount of functionality and three times the number of bugs in python in a day as go in a day. I take that to mean that they're good at different things, and therefore probably aren't quite as interchangable as the author makes them out to be.
Last time I argued, like the TFA does, that Python's typing system is both too complex for casual users and useless for power users ("it doesn't do anything" is about right), and that this makes it hard to evangelize its use to other devs who aren't sold on type systems ("but this doesn't do anything!"), I got into a 30-level nesting flame war with some HN regular who just wouldn't let go.

So that's still my line of thought, but I'm already regretting typing this on HN.
Right, seniors who live in the suburbs like remote. Juniors who tend to live near the office have less to gain in a remote environment and a lot more to lose.
It's a neat theory, but Apple was 4% of Twitter's Q1 ad revenue. I don't think the My Pillow guy has $100M to spend on anything, let alone Twitter ads.

Crypto scams and fake nutrition pills aren't the top advertisements on Infowars because Alex Jones knows more about the media business than Fox or CNN. They're the top advertisements on Infowars because mainstream advertisers won't touch Jones with a ten foot pole.

Same goes for the Twitter that Musk built.
How does saying private jets are unethical contradict reality? I don't follow you at all... does reality only reflect things which are ethical? Surely that's not the case. What on earth could you mean?
It just completely locks up for me right now, might have to try later. Front page of HN and whatnot.
> What wins a world cup is a team, not individuals.

Also just luck. You can be in an "easy" play-off pool or a "difficult" one, you can have "easy" or "difficult" quarter finals, semi-finals, and finals.

Of course it still takes great skill and preparation from the entire team to win no matter what, and I don't want to take away from that, but the way the thing is set up means that in the end, "winning" doesn't mean nearly as much as it's made out to be.
Also, EDDF/FRA, in which one runway got renamed to C when they opened a smaller one in the 2010s.

Then you have airports like ORD which have more than three parallel runways - but pretend some of them are ten degrees off to get more naming space. [1]

[1] https://upload.wikimedia.org/wikipedia/commons/a/aa/FAA_O%27...
I use Node.js/TypeScript for all my scripting needs. Together with pm2 which can auto-generate a systemd service if it needs to run as a service on boot. Coming back to a strongly typed project / script is actually really beneficial to refactor or extend.
Node is an interpreter just like Python, gives access to OS features like sockets, file systems and processes, so yes, you can.

However I’d rather not if you value your sanity and want to use typescript, because then you introduce packages and compilers and the whole npm ecosystem which makes building C++ look easy and sane.
It's quite a large body of scholarship (much of it quite recent) to reject. But even so, the Romans also performed human sacrifices so it's hard to score points either way.
Digital nomad visas offer the best of two worlds
Amongst all unimportant subjects, football is by far the most important.

(Pope John Paul II according to a quick Google search)
I think early 80s is when it becomes tricky to _legally_ beat kids in schools in the uk. I suspect collective punishment was actually illegal long before that but it wasn’t tested in courts.
Is that web site accessible with ipfs?
Which farmers are you referring to? The European nations he defeated in the World Cups?

Besides, Europe didn't always have the strongest clubs in the world. South American clubs were just as good all the way through the 80's.

Many people discredit Pelé's goals in state championships and friendlies, but fail to consider how at the time those state championships were considered more valued than national and continental ones.
How? The login screen only allows 4 digit pins, and if you get it right then you have to confirm with 2FA.
Everyone gets screwed commensurate to their organized labor power. Industries of "illegal" immigrants have the least leverage, and that's reflected in institutional legal frameworks
You could try pnpm or yarn?
The End of Open Research in Deep Learning
Please don't be a jerk in HN comments. We're trying for something else here.

https://news.ycombinator.com/newsguidelines.html
my friend made a write up before about the inadequecies of python: https://dustri.org/b/friends-dont-let-friends-write-producti...

Personally, I’ve been pretty happy with python, I think it works wonderfully as a glue language (like bash); I.E: you shouldn’t write a lot of it, you should use it for plumbing. Its fantastic for that.
I understand, it is frustrating seeing people blame and reject things are useful just because they are not used tho them or are foreign to their culture.

Part of the reason we co-slept is because my wife was breastfeeding and it would have been unfair for her to have to get up, leave the room to take care of the baby. Also, I am good at adapting and quickly learnt to sleep through hunger cries...so probably for the best we were not doing the swap schedule.
Nobody is saying residential buildings don't exist.

The claim -- which all the experts seem to back -- is you can't convert large office buildings to residential. For some of the reasons parent says, plus more importantly, you only have a habitable outer shell or donut given light requirements. And it's extremely expensive to take water and sewer, which are all located in the core, and distribute them out to each future apartment.

See eg https://slate.com/business/2022/12/office-housing-conversion...
In my experience PowerShell fits well as a toe-dipping language.

It allows to solve the menial tasks someone with no programmng experience usually needs to solve, can interact with HTTP/REST-like APIs, sometimes has the modules for a popular solutions, is object oriented, lax on the indentation *smirk*.
We have far more to fear from those that peddle fear than from those we are told to be fearful of.
> For years, Python has been my go-to language

> ...

> Python sucks. I mean the syntax itself.

So author notices that syntax sucks afters years of usage?
Northstar is a modding framework/launcher: https://github.com/R2Northstar
It could be ChatGPT
Just a little feedback: the typing does not keep up with me (and I only type around 80wpm), and lags so far behind that I can get around 15-20 characters in before it registers that a mistake was made 15 characters ago.

I'm running it on Firefox, on Windows 10.

Based on other responses, I'm assuming this doesn't happen for everyone, so if it's just me, feel free to ignore. Just putting it out there in case you'd like to investigate.
> for something for which there was no initially no evidence

That's not true:

"The FDA has, however, issued an emergency use authorization for the drug.

In press releases, the FDA has stressed that “there are no currently approved treatments for COVID-19.” However, the agency says both hydroxychloroquine and chloroquine phosphate “have shown activity in laboratory studies against coronaviruses,”"

This is back in 2020, so yes, there was some evidence. Later studies showed it didn't work - but that wasn't known in 2020.
I'll second this; Supabase obviously popularized this whole method of doing things, but once you've worked in it it genuinely feels like the first step forward this industry has had in five years.

One of my related pocket theories for the next ten years: many people keep saying AI is going to eat jobs. Probably not in engineering, at least for a while. But, we're starting to see a new generation of software companies being built on these kinds of truly new-way-of-doing-things technologies, whether that's Postgrest/RLS, functions as a service, or no-code tools like Retool. The productivity and efficiency advantage that these companies will have over the incumbents is incomprehensible.

I think a lot of legacy programmers won't adjust. Its hard to admit to yourself that, honestly, we're spending most of our days doing really freakin similar things as other engineers as other companies; and we as an industry are starting to solve these problems in more and more off the shelf ways.

Which is all to say, the three-fold theory/prediction is: "backend engineering" will experience the least growth, or even highest decline, in job openings of any software engineering specialty over the next ten to fifteen years. The effort involved in it will move left-and-right on the spectrum: higher demand for frontend engineers, and higher demand for DevOps/Cloud/etc. We will see billion dollar software companies selling software as a service with the vast majority of their "backend stack" having no code (potentially some number of serverless functions to plug gaps in no-code capabilities).
You're moving the goalposts here.

The fact is that the original claims about HCQ weren't coming from politicians, they were coming from doctors. You might not like the doctors, those doctors might have heterodox ideas, but that is okay.
And more people (probably different people) would live in Manhattan if it weren't so expensive. But they are expensive so people tend not to move to them absent a well-paying job.
> Obesity is 'you're going to die an early death because you're overweight'.

No, its not. Even morbidly obese doesn’t mean that, though it statistically correlates with a greater reduction in expected lifespan.

> 73.6% of American Adults over 20 years old are overweight. [...] I didn't correlate to eating disorders resulting in people being under weight - I've seen a decent amount of that too. Probably 5 to maybe even 10%.

1.6% of adults over 20, actually, using 2018 numbers. [0]

At any rate, even if it was your 5-10%, not enough to make the “at a healthy weight” number close to 0 (even if underweight was relevant in context of being more likely to suffocate an infant, which I would hazard a guess it is not.)

[0] https://www.cdc.gov/nchs/data/hestat/underweight-adult-17-18...
Phil Stutz's Tools for Life
If you haven't already or aren't aware, install IPython, use ipython3 as a replacement REPL and use the '?' or '??' operators to open the docs/definitions of the object you want to inspect.

ipython3
import some_module
some_module?
# or
some_module??

You can also type the object's name and hit tab to get a drop-down menu that will list its methods and attributes, like dir() with a better UX. Modules are objects, too.
Just some guy whining on the Internet.

Python remains the most popular programming language worldwide.
Please don't break the site guidelines like this, regardless of how strongly you feel about an issue.

https://news.ycombinator.com/newsguidelines.html
> Our pleas turned to dire warnings. But they went unheeded. After all, the stock price was up so what could be wrong?

Wonder how many software engineers at Southwest immediately sold their vested shares and bought real tech stocks (like FAANG). They must be laughing right now!
Isn't that the same approach?
> You cannot trust facts reported in an article that's advocating change.

There's zero reason why an article advocating for a change can't also contain trustworthy facts. I'm not saying this article is a good example of one, but I wouldn't follow "You cannot trust facts reported in an article that's advocating change." as a general rule. Pretty much every article advocating for a change is going to include facts, but that doesn't make them all untrustworthy. Advocating for something in an article doesn't require the author to ignore everything that doesn't support their viewpoint, or lying/misleading, or cherry-picking.

Identifying that an author is advocating for something should cause you to be on the look for out for those types of things (that's just critical thinking), but they shouldn't be assumed and the article or the facts it contains shouldn't be immediately dismissed as untrustworthy or wrong based on that assumption.
Watching rival Argentina win what many would consider the greatest WC final ever had to kill him.
> This sublanguage will either be useless or will not prevent DoS.

Thinking in absolutes is not very helpful. PostgREST's API is designed to prevent DoS and it is flexible enough for most of your queries and when it isn't you can write a custom function and PostgREST will expose it for you as '/rpc/<my_function>'.
It’s also strictly superior, because it doesn’t contain cookies or JavaScript and loads quickly even on slower connections.
Node.js can be used for command line scripts. Its chromes v8 JavaScript engine strapped to an API for interacting at the system level.
Jason Scott from archive.org may be interested in such things.
For my second kid it worked wonderfully. There was one hard night. After that he had, for the first time in his young life, the ability to put himself back to sleep at night when he woke up. That was a gift for him as well as us. We used the Ferber method.
NixVim: Configure Neovim with Nix
From the article:

> For others, it can be hours of crying, even to the point of vomiting (common enough to be a frequent topic of conversation on sleep-training forums and addressed by baby sleep books including Ferber's

The article also includes a reference to 2-3 hours.