skysight-inc/HackerNews huggingface dataset:
This was already posted at https://news.ycombinator.com/item?id=35000415, I don't know why it didn't detect the duplicate. I'll repost my comment from there:

This is a strange article. It's got the talking point about Python that we were hearing about 10 years ago - "tired of those pesky curly brackets in Java, try this new language you might not have heard of: Python!". Who reading the GitHub blog has not heard of Python?

Also, that snippet used in the "What is Python commonly used for" section is strange:

import antigravity

def main():
antigravity.fly()

if __name__ == '__main__':
main()

It's overly verbosely written (especially given the example just above about how you don't need main function in Python) and refers just to an insider joke/Easter egg. I can't see that it's going to convince anyone to try Python, only make them feel that they're on the outside of a joke.

It then ends with what seems like it might have been the point of the article, an advert for Copilot. It seems the way to get started writing Python is to write a short comment and then spam <TAB> and let the AI auto-complete your project.

(Also, and perhaps less importantly, looking at the author's GitHub profile I can't see a single instance of Python there. Though I'm not doing a deep-dive as that feel overly picky and there's plenty of private contributions that could well be Python.)
Good to hear! I'm just about to start the process of getting my teaching qualification, but it feels really daunting to make the switch and leave my fairly comfortable job behind, where I'm well appreciated (but personally I don't feel like I'm really contributing to the world).

What subject are you teaching? Mine will be physics, if all goes well.
> The Parliament appoints Jim to build the road

No parliament appoints any Jim to build any road in democratic countries.

Jim's company needs to win a regular tender and have to respect a very long list of regulatory and financial requirements.

Jim's company is a supplier, commissioners are regulators.

Much like in my country (and many others in Europe) ministers are appointed by the Prime Minister who is not elected, but appointed by the parliament, by a majority of the votes.

It doesn't make the Prime Minister and all the ministers equal to an average Joe who's been called to fix a squeaking door.
> It is so condescending to believe your own language-police more then the person you are talking to.

This is exactly it. They have theories that spin a narrative telling them that you just don't understand why your preferred language is oppressive. Like women who just want to be housewives and stay at home with kids are suffering from internalized misogyny, or that Hispanic people almost universally hate the term LatinX but we must keep using it because gender neutrality is way more important than pissing off almost everyone.
You're not actually saving anything in the long term, though.

Let's say you start with brand new tires on both wheels. Let's further suppose that you completely wear out your rear tire in 1 year and your front tire in 4 years. If on the first anniversary you rotate and place the new tire in front, you'll need to repeat the procedure after 9 months, and then every 9 months after that. On the 4th anniversary you'll have bought 5 tires: on the 12th, 21st, 30th, 39th, and 48th months. If you simply replace each tire as it wears out without any rotation, on the 4th year you'll have bought 5 tires, 1 to replace the front tire once and 4 to replace the rear tire 4 times.
I would guess the one big difference is respect. For some reason, there is no respect for tech workers.
That’s the usual vim clutch. I used to use it that way but the pedal I used did not offer enough resistance and so my foot would tire.
Every codebase will eventually be rewritten in Rust sometime before the heat death of the universe.
I feel like just patronizing other businesses and watching others work should provide enough perspective. Not having to deal with the general public is itself an amazing benefit.
I would feel like that's a waste of paper. They could have pulled it up on a laptop or tablet.
That's what the original global illumination papers for path tracing did: They built a physical Cornel box and then compared photo and render [0].

[0] http://www.graphics.cornell.edu/online/box/compare.html
'Renewables.' You keep using that word
Technology is not the problem the industry is the issue. Find somewhere with a low cost of living and other things you enjoy and do that while thinking about what tech you like for its own sake and try to figure out an entry point.
I enjoy working with my hands and making things and what I have decided is that I will pursue the 100 year form factor of a computer. It seems plausibly that nobody really wants to use a pointing device, keyboard, and display all day.
I doubt I will get anywhere but manufacturing is so cheap that I have built a small run factory and will try to produce parts using current parts combined in some form that can be maintained 100 years.
An individual in USA can totally fabricate their own reality and not engage in the hot conversations but producing gratifying work in technology. Some states like Vermont will kick start your reality with $10K for moving there. I find HN interesting because it contains content that transcends the Tech chatter of media.
What are you rewriting from? At director level focus is usually more on things like how easy is it to staff / get support for something. Python is strong here - you can find programmers globally who can do pretty well with it.

Can you say the same about your solution?
> at 10x the speed

Is a coping canard invented by programmers who can't into more powerful programming languages.

By far the slowest language for developing is PHP, it's even worse than plain C in that regard.
By far my favorite eurobeat song, and objectively one of the best
You mean the others don't make public beta tests.
We are going teetotal: Saying goodbye to The Daily Swig
Sure, but what's not really python per se. One could also call C++ libraries from java via JNI and pretend java is super fast.

If people write program logic in python it will run at python speeds. Otherwise you're not really writing python, like nobody says some linux native program is bash because it happens to be launched from a bash script.
Your examples don't depend on the language but on the libraries. You can be as simple and concise in most languages, provided the libraries let you, instead of needing to add boiler plate.

But what if your web request fails? Do you deal with it in time or use some_value_I_want which might contain junk?
Yes and no.

On the one hand, Nosey Parker is effectively a special-purpose `grep` with a bunch of security-relevant patterns built-in, including one for PEM-encoded keys: <https://github.com/praetorian-inc/noseyparker/blob/main/data...>

On the other hand, to naively run the check you describe, you would need access to a copy of all of GitHub, which isn't feasible.

What you can do with Nosey Parker is use its GitHub enumeration features to specify your GitHub organization and a list of GitHub usernames you are interested in, and scan against just those. This will implicitly list all the relevant public repositories, clone them, and scan their entire history.

For your use case, another thing you could do is use the new GitHub code search (<https://cs.github.com>) to regex search for particular keys or tokens. That new search seems to cover lots of the public content available on GitHub.

Also, to put some color on this use case: in offensive security engagements (aka "red team" engagements) at Praetorian, we frequently find leaked credentials or tokens on GitHub or elsewhere, which allow us deeper access into the client's systems. It's a significant problem.
> Do the developers not want Emacs to give the most value as possible to users?

They clearly do not.
Regulation is most effective when used to prevent the widespread commercial exploitation of personal data. Such exploitation involves multiple parties. Conspiracies are more fragile.

Regulating the widespread abuse of personal data for commercial gain is basically a prerequisite to other privacy improvements. Once you get such abuse under control, then other privacy invasive activity becomes more obvious.
That will be very VERY slow. Pcie bandwidth is way too slow.
My problem is the lack of respect. What can I do about it?
As I've become older and now own a house, I've really become a lot more interested in most trade work, such as electrician, plumber, construction, mechanic. I love getting my hands dirty and fixing/creating something physical... sure beats sitting in a chair.
> This week our Director ordered a total rewrite of two years of work in Python

WTF? Unless your system is originally written in a proprietary language that literally no one outside your company knows, I'll say it's a good sign that you need to change team (or change job). Don't work under a director like that.
I completely agree - but you say that like it's a bad thing. I work as a developer alongside data scientists, who might have strong knowledge of statistics or machine learning frameworks rather than traditional programming chops.

For the most part they don't need to know about concurrency, memory efficiency etc, because they're using a library where those issues have been abstracted away.

I think that's what makes python ideal - it's interoperability with other languages and library ecosystem means less technical people can produce good, efficient work without having to take on a whole bunch of the footguns that would come from working directly in a language like c++ or Rust.
Nobel Prize-winning activist sentenced to 10 years in Belarus jail
As someone who's tried/trying, here are some thoughts from my experience (DevOps -> Jazz Musician)

- The general pay and flexibility of a tech job is too good, it's easy to forget how privileged it is to be in a position holding a tech job. A lot of people out there are struggling, the fact that we can imagine starting over (and maybe have the time and means to do so as an option) says it all

- It's hard to escape the curse of tech. Even when I stopped working in tech, I have to use a computer and the internet everyday...and old habits come back, enticing opportunities arise, savings are disappearing...

- Money is not everything, but a day's tech work of pay equaling a week's worth of gigs or teaching really makes it easy to say no, especially when you live in a expensive city with expensive rent. For two years I working harder trying to doing both at full throttle and it drained me. I think with the current capitalistic system, by design it's really hard for people to pursuit multiple professions without a large sacrifice, e.g., for the majority of jobs you need to work full-time to make ends meet, not leaving one much focus time for other pursuits

- I felt guilt that I was "wasting" my tech skills, given tech industry really helped in my upward mobility. I don't have lifestyle creep (I'm okay with descaling), but not being able to save money for situations where I could help my parents and whatnot in the future definitely made me feel at unease

- I did learn that I was pushing myself and it's much better to only work a few days a week, or take a few months off a year (if you're contracting). Prior I would never take a day off and wouldn't think twice about it, now I get more FOMO about all the things in life I do outside of tech

- Success in some fields outside of tech is different, and in some cases arbitrary. Say in the arts, the competitive culture is very much there, and there isn't a shortage, but weirdly I didn't care and do my own thing (even just making ends meet is often considered success)
Is that a straight period of a day or so or do you do 3.5 hrs/day? How does this work?
> Many senior devs are still sufficiently out of touch to think that this means they deserve more rather than execs deserving less.

I agree, senior developers are not really taking all the risks of starting business / startup. They have traded that for taking a senior dev salary and tiny stock options.
For US users it’s probably worse. As much as we may think our government doesn’t like us, the Chinese government likes us much less.
Isn’t the Bay Area problem that housing prices are crazy high so that the salaries that look high are really going to landlords?

My son and I were talking about Sam Bankman Fried moving in with his parents to a “$4 million house” and said it must be a mansion and we looked it up and found it looked pretty ordinary but by the standards of the area it is exceptional because it has a 1 acre lot, 3000 sq ft, and a pool.
Also moved in to teaching high school CS. It's hard but the kids are great. I've found that it's a lot less about doing a great job explaining loops or whatever and more about mentorship and getting kids excited about the topic. If anyone's interested in making the switch my email is in my bio, I'd be happy to chat.
I mean this as politely as possible: no one cares what a few people in the HN bubble think.

Units sold are units sold, and the total global addressable market for EVs is substantial (60-80 million units/pa, depending on bucketing).

I too have personal opinions, but crucially, one should not extrapolate them out to entire markets without a rigorous examination of observations and data. Put your ear to the ground, otherwise you’ll get trampled.
Without saying one thing or another about the bots ability or propriety, I'd still argue that if the burden of summarizing succinctly something you wrote is so great that you need to pull out high-powered AI technology to do it, you should probably should spend some more time thinking about what you are writing.

Who cares about pure velocity if you are really trying to communicate something? We shouldn't measure written word by pure word count, or how quickly you can ship it. Not everything needs to be just some kind of hyper-advertising.

Just gives the impression they only care so much about what they wrote, that they only care so much about their readers!
best system design interview advice i got (and put to successful use in loops with goog and fb) was to not try to give the "right" answer -- it's like a professor grading papers on a topic they've taught countless times, you have more of an opportunity to fail than you do to succeed. instead, be decisive and give answers or approximations for any questions that arise, and bring your unique perspective to the problem -- in my case i have a background in mobile app development, so i spent a lot of time speaking to those use-cases.

if you try to cover every base and fret about everything being optimal, you're going to barely have time to get started.
Why wouldn't you just keep a local version? Do you have a "top git project" for checking out others? Seems like it could be convenient, I suppose.
Oh I just read your comment and I want to tell you that I read it. I wish you better luck around the corner. I know tech depression, I wish you all the best going forward.
I meant of the photo pieces.

Most of the parts of a photography burger are literally inedible.
Take a day off of work and substitute teacher.

Depending on the district you end up in, it's not for the feint of heart.
I think HN automatically removes certain words like "This" and "How" from the start of titles. But this only happens on initial submission - the user who submitted it can then edit the title to fix it if necessary.
Love that explanation. And gives motivation to reduce your circles.
you can - slowly - run Bloom 3b and 7b1 on the free (trial) tiers of Google Cloud Compute if you use the low_cpu_mem_usage parameter of from_pretrained
I used to work as a compiler engineer in the US for several years, before deciding to try starting over at the age of 30, in pure mathematics. I moved from the US to Paris in pursuit of an affordable mathematics education, and spent two years in a Masters program. I did have a considerable amount of savings, but it was very risky nevertheless: if it didn't work out, I'd be out-of-touch with compilers, and it would be hard to interview again, with a considerable career gap in my résumé.

For various reasons, mathematics didn't work out, and I was forced to interview again. Fortunately, I did manage to find a job as a compiler engineer again, and will be moving to London soon.

Now, the price of my adventure was quite steep. I uprooted my life when I moved from the US to Paris (especially because I didn't know French at the time), and the upcoming move to London will once again be difficult. I nearly halved my savings, by studying mathematics at my own expense, and will be back to earning the equivalent of my starting salary in the US.

However, I'm an adventurous person, and view my experience in positive light. I'd been wanting to study Jacob Lurie's books for the longest time, and I finally did it. I worked on a mathematical manuscript, which is now up on arXiv [1], and on a type theory project which has been submitted to LICS '23 [2]. I've had a good life in Paris, and my French is decent.

There's the larger philosophical question of "What is a life well-lived?", and for me, the answer is to pursue those things that you're truly passionate about, even if it doesn't work out.

[1]: https://arxiv.org/abs/2211.09652

[2]: https://artagnon.com/logic/νType.pdf
Why not both? The idea behind allowing the sandbox to be pluggable is the sandbox authors can decide how and what to expose. If the sandbox author thinks it's safe to expose the native accessibility APIs directly it can, if they don't then they may wish to expose a platform-specific proxy emulation with extra validation (in the way that Chrome exports OpenGL into the sandbox), or they may wish to expose only a platform abstraction, and that platform abstraction could also be used outside of any sandboxes as well if the app is code signed.

AccessKit certainly looks highly competent - putting an Mojo RPC interface over it would be a good way to expose an abstraction over platform specific a11y interfaces. And of course there's no rule that says an abstraction must always provide just the lowest common denominator. Abstractions can also expose platform specific features for the unique stuff that can't be properly abstracted.

I suspect a11y APIs will gain significant importance this decade, once people realize they can hook AI up to accessibility trees more easily than working with pixels and the like.
>It's got the talking point about Python that we were hearing about 10 years ago - "tired of those pesky curly brackets in Java, try this new language you might not have heard of: Python!"

That was a talking point closer to 20 years ago, at this point.
Yes every hypervisor has this "feature" unless it uses CPU features to protect memory, such as encrypted VM memory available on newer AMD CPUs (SEV) : https://www.qemu.org/docs/master/system/i386/amd-memory-encr...
Scraping Craigslist from 2006-2023
Network Engineer > Front end Engineer > Hotel owner.
Yeah, it only exists at compile time, so in "real" code you won't know the type of e.g., array index 2 at compile-time, but you will know "each item in this array is either type A or type B".

You'll often want to work on only the A's in the array, and so you need to whittle down the data, but also inform TypeScript that you've done so. The return type on your .filter() callback tell TS what type the entire resulting array should be.

When filtering out nulls, you normally have to write a user-defined type guard everywhere you call .filter(), which is irksome, so this project configures the built-in Boolean() function to behave similarly when passed to .filter().
... how is that a good test of anything?

I mean what if I click on a /b/ link "at work"? Does that make my work output immediately tainted and the company has to immediately file for bankruptcy?
> Hence the practice of these articles in paywalled publications getting published online elsewhere.

OK, if you know a set of these elsewheres, perhaps you can help with this.

What's the absolute minimum viable research subscription (open first, then paywall) sites required to search and get access to articles for by-and-large all* research papers in science, technology, engineering, and math?

What about even just technology?

As a private individual who reads a lot of research, over past decade, I've tried several times to figure out the minimum viable total subscription coverage by starting here:

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

But it adds up very quickly.

* Doesn't have to include obscure or niche.
Just about any transactional datastore will do. Just google for “job queue in [insert name of datastore here]”.
Didn’t quit my tech job but I’m a (very very low level) pro Muay Thai fighter on the side. Honestly tech has quite a few benefits in terms of work though I think on its own it can seriously induce burnout.

Personally I think that having any kind of balance is a good idea. Even if engaged in another field I can imagine I’d have something to complement whatever it was.
"The osmium of computational density" just doesn't have the same ring to it.
At least we are not beta testing a vaccine.
Can I spend $5K and run it at home? What GPU(s) do I need?
Personally I would welcome some action on China.

I find this pretty confusing however:

First, there is really no way to know or prove if/how/how-much China is supporting Russia. The sort of support that China would offer is for generic products like artillery shells. You won't find "made in China" on those when they arrive in Ukraine. You won't know they've crossed the border even.

And Second it's weird to me that all the shit China has pulled (bullying it's neighbours, starting actual fighting with India, running internal concentration camps, retreating from what little rule of law it had, launching multiple new zoonotic diseases etc), the bit the US actually cares about is support for Russia? The issue with this is that the US (and the rest of the west) lack credibility. China will rightfully wonder if our warnings are sincere or just posturing and for internal political consumption.
The EU fines are just fly bites for them.

It's now the game over state for personal and family privacy. All the sites and apps and even casio watches has telemetry always-enabled (via mobile apps). Even cars. No one in governments or agencies cares about privacy anymore. Call it whatever one wants: corruption or lobbying, the name does not matter.

The possible solutions are impossible for the non-software engineers (pihole and dns set in the home wifi, personal openvpn gateway set on all 4/5G connected devices). Younger generations don't care. Older ones just don't understand.

It's the dark age of privacy. Literally no hope.

I wonder what the consequences would be in the next 5-10 years when the collected data would be analyzed by AI and sold to anyone for a more and more cheaper price. What should happen for the people to push the unprivacy back hard enough to stop or revert?
You're right, I think I was caught out by the unending march of time :)
You guys don’t have to pay for your lunches? That’s pretty cool
It's not about moderation only.

For example, I can not even just log in to Github without needness to either have a cookie or being logged in mail.
And I can not just log in to gmail because (sometimes, especially from new IP) first I need to turn my GSM phone on and receive the verification data.
That means that despite my 2-factor is always turns off but since a service has tricked me to share my phone number, I am using the 2-factor forcingly! Just for the sake of logging in to the account with a few helloworlds.

What is happening with web since the middle of 10's?
The purpose is that in the law we have clearly determined concepts such as Women's Rights. Thus, the justice system needs to be able to determine who is or not a woman in order to do its job properly. For instance, in the UK wolf-whistling can be considered a hate-crime if and only if the receiver is a woman.