skysight-inc/HackerNews huggingface dataset:
> I've upgraded debian thru the ages and /usr/bin/python defaulted to python2

It was, in the past.

When python2.7 deprecated and removed in Debian testing, python ceased to exist as a command. You need to install these packages (python-is-python{2,3}) to get the python command and point to the correct interpreter you like.

This behavior is consistent in two Debian testing systems, installed 6 and 9 years ago, respectively.

> Another mistake in Py3 migration was keeping the interpreter name as python...

I installed python-as-python3 myself, after python2 disappeared from system to fix an oddball python3 script which bundled as a part of a bigger software package which is not in official repositories.

Maybe they have fixed it, but I didn't bother to check till now. I'm not even sure which program it was.

So, it was an addition to a clean system and didn't inadvertently directed python2 code to python3 interpreter.
I’m the creator of syntax suggest, the syntax error detection library that ships with Ruby 3.2

I’ve switched my perspectives on whitespace significance. It makes for shorter source code but comes with a signal to noise problem. If there’s a mistake in the indentation it’s harder to determine intent. Versus if you expect well formatted and indented code (I love auto formatters like cargo fmt), and syntax to declare intent, then your tools can make better guesses and suggestions than if you only have one signal.

The other problem I’ve found working with Python is I often want to copy code and paste into my REPL but it’s usually inside of another context so I get an indentation error.

While I like significant whitespace, I LOVE tooling that understands my intent and helps me fix it. I’ll trade slightly more verbosity if it means better tooling. Though obviously I’m quite biased.
As a C++-head with little experience in Python - I would ask you to elaborate a little. What were trying to achieve with Numba, that gave you headaches?
I moved to Paris to start a new job recently, and the housing situation sucks so much.

The prices in Paris are fairly high, 1000€ for a 30m² flat. But that's the relatively small heart of "Paris intra muros", excluding the "banlieues" (suburbs) which are cheaper and 30 minutes to an hour with the Métro (or the RER). That doesn't sound more unaffordable than London, not on a tech salary and colleagues have told me co-habitation is not a thing here (whereas most of my friends and colleagues in London lived in shared flats, for example).

What makes Paris impossible to rent in, is the absolutely insane demand for housing that frees real estate agents to do whatever the fuck they please. I spent three weeks calling every day, multiple agencies, only to be told by each and every one of them that they wouldn't let to me because I am a salaried worker in a trial period ("salarié en periode d' essaie", a three-month trial period mandated by French law). Even with my company offering to be my guarantor (which means they would shoulder all the risk of rent arrears) they would not let to me. Not one. My contacts list is still full of numbers of "immobiliers" (real estate agencies), I know 80% of the agencies and I have masochistic fun pointing them out when I pass outside them with friends. Not one of them would let to me. Not. One!

That's without all the absolutely insane amount of documentation they require (three months of recent rent receipts, proof of having paid taxes in France in the last year, etc) which you won't have if you haven't already lived and worked in France for a while, and the complete bollocks demand of earning three times the rent in salary, and being able to afford two times the rent in advance (as a guarantee; we'll see if I get mine back). But I think that's all par for the course in big cities.

In the end I was only able to find an apartment because an estate agent who's friends with my boss did me a favor. And even he wouldn't talk to me until I barged into his office. So I got 15 m² with a 3m² bathroom with no sink (there's a 5lt washing machine in its place) and a "kitchen corner" that's barely enough to make breakfast cereals, all for the price of 720€.

For the record, I'm an EU citizen and I have a doctorate in a tech subject. My French colleagues have shared similar rental horror stories. I have no idea how people manage who are worse off financially, or come from outside the EU.

tl;dr: no, you don't want the housing situation in your city to be like that in Paris.
I'll be working on my own mobile proxy build: https://scrapingfish.com/blog/byo-mobile-proxy-for-web-scrap...
You talk as if Jobs brought us innovation that never would have arrived without him. In reality, he was able to get it to us a year or two earlier and maybe with a little more style.

Being slightly earlier to market and with a little more style is what made him a business juggernaut. But I don't think being first really means all that much when it comes to an ends justifying the means conversation.

Given the choice, I'll take the product not made under duress, even if I have to wait a bit longer.
No doubt some things broke "needlessly", or that things couldn't have been done better, but I don't see how it could have been avoided since there is no way to distinguish between "I know that this string will always be ASCII" vs. "this string can contain non-ASCII".

For example, what if I want to enter "ουτοπία.δπθ.gr" in an application, via direct user input, a config file, or something else? Or display that to the user from punycode? No one expects users to convert that manually to "xn--kxae4bafwg.xn--pxaix.gr", and no one will understand that when being displayed, so any generic IDN/domain name library will have to deal with non-ASCII character sets.

The same holds true for email addresses: "ουτοπία <a@example.com>" is an email address. Sure, this may get encoded as "=?UTF-8?q?…?=" in the email header (not always, "bare" UTF-8 is becoming more common) but you still want to display that, accept it as user input, etc. People sometimes to forget that the name part of an email address is widely used and that any serious email system will have to deal with it, and non-ASCII input has been common there for a long time.

In specific applications you can often "get away" by ignoring non-ASCII input because you sometimes don't need it. For example I'm working on some domain name code right now which can because everything is guaranteed to be ASCII or "punycode ASCII", so it's all good. But in generic libraries – such as those in Python's stdlib – that's much harder.
Having primarily used Python 3 since 2016 with some very specific (rare) exceptions and having found the switch remarkably pain free it's difficult to empathize with those still going on about this like it was massive, and yet there are major banks still struggling with the transition in key areas so there must be something.

Is there a risk it becomes like one of those situations where certain people use a topic simply to make conversation? Or the modern exaggeration to avoid seeming boring? Or a bunch of "oh, it's gonna cost ya" contractors plying the age old lines of car mechanics negotiating basically anything. Someone below referred to carnage. I wonder how far off we are to someone claiming it was actual violence.
SEEKING WORK

Location: Greater New York (US Citizen)

Remote: Yes (Remote Only)

Willing to relocate: No

Technologies:

• Web: React | TypeScript | Node.js | Express.js | GraphQL | MongoDB | Chart.js | D3.js | Material-UI | Bootstrap | Figma | Retool

• Microsoft: .NET Core | C# | Asp.Net MVC | Web API | Linq | Entity Framework

• Data: SQL Server | NoSQL | MySQL | MongoDB | Redis | CouchDB

• Cloud: AWS | Azure | GCP | Docker | IAM | S3 | EC2 | SQS | RDS | Aurora | DynamoDB | Serverless Functions

• Packages & Tools: Typegoose | Mongoose | Axios | WebPack | Babel | NPM | Git | Jenkins | Splunk | SumoLogic | Jira | Keycloak

• API Integration: Salesforce | Zoom | Google Calendar | Zuora

Email: jainrasik [at] gmail.com

Résumé/CV: https://www.rasikjain.com/resume/

Stackoverflow: https://stackoverflow.com/users/1993944/rasik-jain

LinkedIn: https://www.linkedin.com/in/rasikjain/

Github: https://github.com/rasikjain

ABOUT: Experienced fullstack Software Engineer in React js / TypeScript / Node.js / GraphQL / MongoDB / C# / AWS / Cyber Security. Worked in different roles dealing with Product Development, Solution & Enterprise Architecture, Security & Cloud
I came for the article, stayed for the wonderful writing on what I thought would be a boring subject.
I was wrong, I just spent three hours reading this blog and learned so much about so many things.
I recently fell in love with node-based editors so I'm working on several plugins for my game engine https://github.com/nem0/LumixEngine, e.g. node-based procedural geometry plugin, node-based image editor, visual scripting or node-based level generator. I am also thinking about using WASM as runtime for the visual script, which also means easier support for scripting in other languages which can compile to WASM.
Python is quite visual by using whitespace as meaningful part of the language.

I would also try swift playgrounds if the kid is used to voice over.
As a newbie into programming, I get pulled all the time by people to learn my first compiled language either in C++ or Rust. Every time I ask even the most innocent question in any forum it becomes a shitshow, and I can see, I'm late to the party here in HN.
Mailing system for 1100 user list for birthday automation+events (SMS&email)?
What system would you recommend to implement in order to email a list of 1100 people with events (once every few months) and send birthday cards messages to email and SMS?

What are best options from paid ones and what free alternatives exist?

Ideally this should be implemented for free.

Are there any existing solutions one can host on their own server?

If not, which paid options are best for this purpose?
I haven't used Java since school so I'm curious about modern Java. Do you need to worry about circular references preventing garbage collection or are there easy tools to detect such cases?
DNS-the-protocol still doesn't support non-ASCII input, but DNS-as-people-use-it does. I expanded on that in another comment I just posted, so I won't repeat it here: https://news.ycombinator.com/item?id=34230218
Foreigners are not the only ones who buy up properties as investments! I would love to see them ban mega-landlords, too, foreign or not.
Yep, so real question is if it is fine that cash using companies are subsidized by non-cash using companies. If you do not cover the banks' cost of handling the cash in cash fees, then you need to cover it in net interest margin.
Statements like these only serve to polarize people, not encourage them to write safer code / use safer languages.

There are many places where C/C++ (and many other non-Rust languages) are still used, and where it would not be feasible at this time to fully rewrite them in rust.

Modern resources like the OP posted should be encouraged, as they actively teach about proper use of the language, and foot-guns to avoid (e.g. don't use c-style strings + strcpy, use smart pointers, etc).
Warm Banks Shouldn’t Exist
Past submissions:

https://news.ycombinator.com/item?id=31283119 (14 comments)

https://news.ycombinator.com/item?id=18734687 (0 comments)

https://news.ycombinator.com/item?id=5268301 (0 comments)
There are other considerations. OP must be focused on being a non-intrusive (non-disruptive) member of the team. You know you are going away OP (but they don't) so don't play politics, don't push for introducing tech you are comfortable with but the team isn't, etc. Keep your nose down, do your job, and take the money for your labor, and don't leave them in a lurch with half completed matter when you say your goodbyes.
I just stepped on a poodle.
Spanish has "llover a cántaros" too.
I'm guessing a few reasons:

1. The kit has like thirty individual devices in it, many of which are unique or have a bunch of tactile buttons and sliders. Marketing for the product suggests that they were designed to be really durable so students wouldn't be afraid of breaking them.

2. Because it's a relatively niche accessibility product, they probably don't sell very many of them. So they need to charge more to cover all the fixed costs of designing the product, setting up manufacturing, writing all the companion materials, etc.

3. In the US, the APH Federal Quota Program subsidizes some of the cost of buying products like this. https://www.aph.org/about-federal-quota/ also suggests that there are programs where you can borrow or rent the kit instead of buying it.
So not a single Cyrillic path in your INI or CSV files, or in the user input (CP_ANSI) to be printed onto the Windows console (CP_OEM, unless you’re in IDLE or redirecting the output, in which case CP_ANSI)? (The standard library’s CSV module was particularly atrocious at Unicode as I remember.) Not a single Chinese comment in your hardware descriptions? I envy you, but that’s a still a very specific corner of the world.
Show HN: Athelas – Automagically Repair Broken Code
Athelas reads stacktraces and comments, taking into account potential logic errors, to automagically repair broken code.
Location: Belgrade, Serbia

Remote: Preferable

Willing to relocate: Yes

Technologies: C#, ASP.NET Core, MSSQL, MongoDB, Angular, Vue.js, Typescript, HTML, and SCSS

Résumé/CV: https://drive.google.com/file/d/1rQEjdzXS0yXGDNQ2QKPIWRbf3oC...

Email: vulalaza@gmail.com
One of my coworkers is blind and he's one of the best in the company.
Driving long distances on the freeway typically is the best way to optimize for mileage though? at least seems you couldn’t have been going too fast ;)
Must’ve been fun in the mx5
For Java'eans, here's an interesting StackOverflow question about why there's no Garbage Collector in C++ and what it means:

https://stackoverflow.com/q/147130/1593077

and my particular answer:

https://stackoverflow.com/a/48046118/1593077

in essence, with Modern C++, it is relatively easy to just not produce garbage which needs to be collected :-)
I still find the slide-rule, a two piece nomograph to be quite useful.

Thank you for sharing such an intriguing source of information.
They're likely referring to the (not too crazy idea) to slowly deprecate C++ in favor of Rust. There's plenty of extant code to work on, of course.

https://www.zdnet.com/article/programming-languages-its-time...
Supertokens – Implement Authentication into your Web App in no seconds
Bullying your mum isn’t activism
I went to one of his stand-up shows last year. Both him and the guys he had opening all had maybe 30% trans jokes. He's definetely catering to an antitrans crowd these days
Avocados take 10 years to start producing. Strawberries are available that growing season. Any wild drop in avocado prices I'd imagine would have to be something changing in the economic playing field (unless it is just a ten year delay from a jump in tree planting).

The Mexican cartels have been squeezing avocado farmers, there is an episode on Rotten (Netflix, I think) about it. Any price swinging makes me wonder how the cartels may have been involved.
Same. We use 64-bit ints as "Entity IDs", and countless other stuff. Saying that it's a "parser problem" is not really helpful, bc many parsers refuse to support 64-bit ints, even if they could, bc compatibility with JavaScript is more important than 64-bit ints for them. For example: jsonnet
Poll: Have your wages adjusted for the rate of inflation over the last 12mos?
- Consumer prices are up 9.1% YoY, largest increase in 40 years [1]

- Prices of food at home rose 12.0 percent over the last 12 months [2]

Everything has gotten more expensive. Have your wages been adjusted to compensate for the rate of inflation over the last 12 months?

[1] https://www.bls.gov/opub/ted/2022/consumer-prices-up-9-1-percent-over-the-year-ended-june-2022-largest-increase-in-40-years.htm

[2] https://www.bls.gov/opub/ted/2022/consumer-price-index-up-7-1-percent-over-the-year-ended-november-2022.htm
Burn: Deep Learning Framework in Rust
Ask HN: How chat GPT is/will impact you?
I am a cybersecurity engineer with over 10 years of experience. Since the chat GPT came out, I feel like I have a wingman who does things for me super quickly. I've used it a bit and am aware of how to use it. From a security perspective, it does some cool things, like figuring out security issues in code and sometimes providing proof-of-concept code for exploiting them. Sometimes the vulnerabilities are very theoretical and don't make sense, but I think that's alright. Other automated tools that do code reviews also bring in false positives.

I personally think chat GPT has a lot of potential and will grow and learn more over time. I don't see any reason why I wouldn't use it for almost all of my questions.

What do you think about chat GPT and how do you think it will transform your future?
The bad thing about significant whitespace is it breaks copy-pasteability of code, with no way to get broken formatting back without understanding what the code does.

That is a lot worse than formatting squabbles, especially for a glue language where you are expected to be able to copy snippets for short scripts all the time.
> Plenty of incredibly smart people think and do incredibly stupid things.

I mentioned this on an Elon thread and an SBF thread, and it fits here also. When people are so rich and powerful, it's often their own hubris that takes them down.
I've taught many people to program and can safely say python is an awful first language even for sighted users. Invisible characters being part of the syntax is awful.

Scheme IMO is the best for both sighted and blind people. There's very minimal syntax and I'd imagine a good editor with s-expression motions would make things much easier if you can't see.
My AP classes were phenomenal and honestly much better than my undergrad courses which would have had a hundred students in them and met much less frequently. They also cut a year from my undergrad.
I was reading this comment, and thinking, this sounds like the author.
Then I looked at your name. Oh. Hahahaha
> Programming isn't really suitable for the blind

That's like saying reading and writing on a computer isn't suited for the blind, which is horseshit cause many blind people do it. I've also ready many blog posts by blind programmers, some of them with follow-up comments on HN by them about their evolving setup.
Isn't that worse ? "We exploit the few for amusement of many, where option of just making them work less and pay CEOs less and remains unexplored"?
Exploring the Disneyland app internal API
SEEKING WORK | REMOTE

Location: Greater New York (US Citizen)

Remote: Yes (Remote Only)

Willing to relocate: No

Technologies:

• Web: React | TypeScript | Node.js | Express.js | GraphQL | MongoDB | Chart.js | D3.js | Material-UI | Bootstrap | Figma | Retool

• Microsoft: .NET Core | C# | Asp.Net MVC | Web API | Linq | Entity Framework

• Data: SQL Server | NoSQL | MySQL | MongoDB | Redis | CouchDB

• Cloud: AWS | Azure | GCP | Docker | IAM | S3 | EC2 | SQS | RDS | Aurora | DynamoDB | Serverless Functions

• Packages & Tools: Typegoose | Mongoose | Axios | WebPack | Babel | NPM | Git | Jenkins | Splunk | SumoLogic | Jira | Keycloak

• API Integration: Salesforce | Zoom | Google Calendar | Zuora

Email: jainrasik [at] gmail.com

Résumé/CV: https://www.rasikjain.com/resume/

Stackoverflow: https://stackoverflow.com/users/1993944/rasik-jain

LinkedIn: https://www.linkedin.com/in/rasikjain/

Github: https://github.com/rasikjain

ABOUT: Experienced full-stack Software Engineer in React js / TypeScript / Node.js / GraphQL / MongoDB / C# / AWS / Cyber Security. Worked in different roles dealing with Product Development, Solution & Enterprise Architecture, Security & Cloud
"We have better protection laws that some regimes and 3rd world countries!"
B is the flat symbol not the note.
This is a different framework
You're completely missing my point. The point is that both prevent the control flow from continuing in that direction. Both prevent the variables declared later to ever "exist".
>In other top destinations — Canada, the United Kingdom, Germany, Israel, Australia and other advanced economies — most Americans arrive on purpose. Or at least that’s how it looks at first glance. But when you scratch the surface of almost any American emigrant, you often find a series of accidents.

I moved to Singapore for a 1.5 year expat assignment when I was 25. My project finally ended 4.5 years after arriving, during which time I met my girlfriend and got married. Rather than repatriate, we decided to stay in SG. I've now been overseas for 13 years. Nearly my entire professional adult life has been spent overseas, I'm not sure how'd re-integrate back into an American office.

My story is a lot like other foreigners I meet in Singapore.. get moved over for a project and decide to stay. It's an easy and safe place to live with great travel around the region. Unfortunately, most of us who've been here long term (and are still not permanent residents) are getting priced out by the flood of expats coming in China and Hong Kong.
Recently I was considering auditing a class from a masters in public health program because I’m starting a niche population health management company and I need to better understand the economics. To my amazement the professor of the course that I wanted to take put all of her lectures on YouTube and I was able to watch them for free.
I'm not sure if mechanical copies of electrical circuits will do that though, it will probably be something more babbage engine like.
I dunno, seems to be working for many assholes just fine
Lots of open source is either people doing it as part of their job, or people doing it as part of building up a portfolio to get a certain job.

But of course there are more intrinsic motivations like wanting to give back to the community, practising their hobby, etc. Those would be equally valid reasons to make youtube videos.
I think in that context, it's already literal. "All over the shop" as an idiom means disorganized, chaotic. I don't use it to mean "all over the place" in the sense of something pervading some location.
> If the US wasn't how it is, another power would rule. Would that other power be as benign and cooperative as the US has been? In current days, the alternative powers would be China, and I don't think a Chinese world power system would be better for everyone.

From this European’s perspective, I welcome the US’s benign power, now and historically (the Marshall plan), and agree the alternatives have always been terrible (unless, say, Canada were to step up in the event of US decline).

However, I’m not sure I would share this perspective if I were living in one of the South American countries where the US has overturned elections, or Iraq or Vietnam. US power is benign as long as you’re on their side.
I remember a few months ago some people were already sharpening their pitchforks because Eugen implemented a change that would make local search results a bit more relevant if the instance wasn't using Elasticsearch.
I explained here that I consider having to check many return values to be a smell: https://news.ycombinator.com/item?id=34217251

And from my own experience, no I don't have to check a lot of return values.
TLDR: They use a small LSTM model to predict the velocity and delay that a human player might have for each piano keypress based on the MIDI notes.
Depending on the pet some have grown up with and the animal sounds google search has played for them, they fill in the blanks with those sounds and keep playing without any interrupt .
So, somehow, releasing CO2 to partially burn biomass and produce biochar gets counted as "offsetting" CO2?

Without planting trees to offset the biochar creation, it only contributes to the problem, and the CO2 concentration in the atmosphere increases.
> I'd like to see how he gets bullied by someone tbh.

Bit difficult seeing how he died of cancer in 2011.