skysight-inc/HackerNews huggingface dataset:
My biggest software related wish is to have notepad++ on macos. It's far and away better than anything else.
To confirm a theory that I had [0], I once tried to track what languages the software I actually use is written in. I basically arrived at the same conclusion as OP - almost everything I use is written in C++. From the browser, to my favourite games, to even the backends of a lot of websites I use frequently, it's pretty much all C++ with other languages sprinkled in. This, mind you, is not even counting the fact that most JVM implementations and Node interpreters are also written in C++.

If I ever wanted to learn a new language, C++ would be it.

[0] The theory I had was that almost none of the software I use is written in Haskell. Which was true by a long shot.
This sounds much like the same malady that has befallen movie production, and to some extent illustration and music.

The kind of artistic result achieved with true "do everything in triplicate" drafting and capturing one good performance, has fallen by the wayside when everything changes at the last moment. Movie budgets have become dominated with post-production, even when they make the effort to record in-camera scenes and effects.

And what I've noticed about illustration is the rise of a cargo cult of "the blind leading the blind" online akin to programmers who have only learned Bob Martin, driven by young people want to learn drawing digital-first, for some legitimate reasons, but also because of the gadgetry and because they want to cling to the undo button and use layers. But it's the same thing: most of the knowledge of drawing, like with every other trade, is tacit, motor-skills heavy and needs to be trained into muscle memory. Being very bad at getting the line you want and mashing undo to force your way through just means every project is frustrating.

And once you do cross that threshold and train it, having the undo and layers are nice additions, but predispose you to not do as much planning. Thus, much of digital illustration tends to have a formulaic quality to it: the artist could configure things all sorts of ways, but the overwhelming tendency is to drive towards excessive detail and excessive rendering, because the medium is an enabler for that and doesn't require you to think it through.
A portable home dir works if you have the same os and software on all the laptops.

When I bought a macbook the first time (ostensibly to develop for iphone), I hated the UI, so ran linux in a virtualbox as my main os.

I think that would work really well from an external drive - but an sdcard is way too slow, it should be on a usb c nvme.
I'll admit that when I saw the title I thought to myself "yes, I used to brute-force Rubik's Cubes all the time when I was a kid by taking them apart and reassembling them into a solved cube."
Slomo (2014)
I dunno, it seems like a YAGNI situation to me.

Edit: OP is probably planning on adding that. Same time as updating the README. It's fairly simple how it is right now, to just edit the literals in the code and run it.
The best thing with TS is you can apply as much or as little as you want. Start by adding the compiler to your workflow and get it to work without making any changes to your code. Then add a couple types and see how it goes.
The most significant impact of this change is that python threads can run at the same time. Before, calls to C API were essentially cooperative multithreading yield points - even if you have 100 python threads, they can't run concurrently under the GIL. 99 are blocked waiting on the GIL.

C extensions have always been able to use real threading. But now there is no GIL to synchronize with the python interpreter on ingress/egress from the extension.
The only thing Japan has done is adopt the TDM exceptions that the EU has. In the US the only certainty we have is that text-to-image AI art generation is not a creative process and thus does not accrue copyright on its own.

That being said - and, again, sticking with US law - if your AI generated an anime character that looks like an existing character, and that character was either in the training set or described in your prompt, then you'd have an open and shut case. Otherwise it'd be considered a happy accident. That's also the standard for non-AI art as well. It's called "access and substantial similarity."

I fully expect Nintendo to privately tell all their licensed developers not to use AI art generators. Actually, boycotting is probably going to be the most effective solution from the perspective of human artists who don't want their job being turned into SEO keyword stuffing[0]. While AI art proponents think that progress is inevitable, the reality of it is that in order for the AI generators to "get better", we need bigger models and more research, both of which are resting on exponential price curves. So if human artists as a class decide they aren't going to use AI, then AI will always be relegated to "second best", even if we can always finetune on those human artists' work.

[0] No seriously I think this is what human artists actually fear. It's one thing to point out that they're being put on a treadmill to train the bot that will replace them. But a lot of artists seem to hate the idea of working with a text-to-image art generator, even if that art generator was trained on ethically sourced data. They feel as if their fun has been taken away.
Pascal isn't too bad; actually I think that it has some advantages over some more modern programming languages. It isn't perfect though and does have disadvantages too. I sometimes use for Pascal and BASIC for DOS programming; Pascal does look OK for that, at least (and C seems not as good for DOS programming (at least in real mode), even though it is sometimes done). However, for programming in Linux, I generally prefer C (although I also use PostScript; I think that both C and PostScript have some advantages compared with some more modern programming languages). Pascal can be used for other programs too; even TeX is written in Pascal.
Is there any way to link up which designer works with which contract manufacturer (or at least the models)? And are there any exceptions? I seem to recall Alienware stuff was made in Florida at some point.
I was just thinking this. The home team loses some control over their architecture and might gain tech debt this way, especially if different teams have different development philosophies and preferences.

Plus, you lose a ton of time implementing features outside your area.

Your away team didn’t know that those 5 functions had to happen in order, due to a timing issue nobody could figure out, so your code to change how a panel animates is now breaking unrelated calculations somewhere and causing data loss. You blame the home team for having bad architecture, but then learn a different group of three different away teams set that up and nobody can figure out how to clean it up because of the ripple effect bugs. There be dragons
https://chatbotkit.com
I'm sure you know this, but as a general psa: threads are the lowest common denominator way of doing this kind of thing. Where possible, it is nicer to use epoll/kqueue/whatever the windows equivalent is. For a library though I totally get how annoying it would be to interface with the platform event system on each os. Indeed, if there isn't already a python library that can handle subprocesses for you on a single thread then it might be something worth building (I don't use python personally so I don't know the ecosystem).
I have a T420 gathering dust in a drawer. It was my everyday laptop in college for a couple years but then I switched to buying used Thinkpad tablet PCs for taking notes. I eventually went back to it last year and upgraded a few parts but regretted how hot the thing got with such poor battery life. It was fine running in a docking station but wasn't great on the move which is annoying if I want to use it in bed or on the couch. I remembered how much I disliked the thing so I bought a used X280 and am overjoyed with the purchase.
It was a popular national monument, until it was robbed to extinction
I've heard it said that the people who were the most fanatical about the individual and societal dangers of COVID-19 are the ones who are most likely nowadays to chuckle and say "Boy, things sure got a little ridiculous back then, eh?"
> simple question : have you encountered an anti-cheat mechanism that works to stop cheaters?

I find them to be rare, but I consider the existence of both cheating and anti-cheat software to be a symptom of a bigger problem: shitty games and shitty game mechanics.

If cheats maximize enjoyment for the cheater playing your game, your game sucks and you should focus on retooling the game to deliver that experience without third party tools.
Hmm that's interesting. My notifications niche is filled by my home assistant setup, but that's lacking persistence.
> plants are pegged to (IIRC) 10-15% theoretical max efficiency...

OTOH, plants (i.e. trees) can live for hundreds of years, they are self-replicating, they extract their own minerals from the ground, require very little energy input to put in place, play an crucial role in the water cycle [1], reduce the albedo effect [2], cool the air [3], provide a habitat for a multitude of species, and bring joy to our hearts.

Oh, I almost forgot, they also fix carbon! And they do all this for free, the only thing you have to do is, you know, not cut them down.

I would say that's a pretty good deal.

[1] https://sustainablefootprint.org/nederlands-trees-and-the-wa...
[2] https://en.wikipedia.org/wiki/Albedo#Trees
[3] https://www.epa.gov/heatislands/using-trees-and-vegetation-r...
You do what you want with the news feed. Not much difference in taking the new articles and posting them to twitter or another social network (which has been done before). In all likelihood someone is doing the same or similar already, but don't let that stop you.
What you’re explaining didn’t make much sense. Would like to see an example where it’s messy because I haven’t seen one yet.

The ids changing is annoying tho!
There is a reason for Excels dominance. CFOs and executives down to junior analysts can quickly do tasks same day that would take weeks to build using overly complex programming languages. This is just more empire building by “I’m
Smarter than all you dumb people, why can’t you think like me” programmers.

I don’t need c++ or Python to build a net present value analysis that I could show the CFO. I can build it in excel in an afternoon, and I can hand it to the least technical salesperson, and he can make changes in my model and see the results instantly then send it back to me. And then my boss can. And then someone in marketing can.

And the bonus is I don’t get a bunch of useless errors that no one understands like “Stack Overflow Error” or “Cannot process because of error 1994505 super duper data transformation canooter value fluctuation.” The worst error I get is that it crashes and I lose 10 mins of work.

Face it - Excel is a phenomenal achievement and it burns arrogant programmers like you because we can do all this and completely shut you out. That’s why it’s a “horrible tool” lol.
It's not cell phones that's the stress, it's too much demands for attention, time and money combined with too little income. Cell phones are just where you see it showing up the most...

And usually money as the primary problem. Weathering past money problems also only seems to be getting worse.
(from observing both a lot of people, and a lot of discussion over the subject by professionals).
The model was originally: OS + processes. Due to security reasons (which are wrong) it changes to: hypervisor + OSs + processes. However, the hypervisor and the OS really do the same thing; they multiplex multiple programs onto a single piece of hardware. The unikernel people recognized that and decided to collapse the OS + processes so you now just have: hypervisor + (hypercall library/OS stub + process)s. The better model is just making a better OS so you can drop the hypervisor layer and return to OS + processes. This model has better performance, easier development, more observability, and is basically just better in every way.

Unfortunately, nobody wants to do this because everybody wrongly believes that hypervisors are magically more secure than operating systems for the reasons I stated in my previous comment. This is really the only thing propping up the hypervisor and, by extension, the unikernel concept. As soon as you no longer believe they are magically more secure there are hardly any reasons to prefer a hypervisor over a properly designed operating system beyond the one use case I mentioned in a sibling comment which is running a binary-only program targeting a different operating system.
This is how I finally memorized my multiplication tables in elementary school. My father paid me. He made me a set of flash cards and had a schedule of credits for each fact learned but I did not get the payout until I learned them all flawlessly.
Wasn't the last hottest year like 2016? Seven years ago. Is it really that fast?

We've had a few consecutive years of la nina. This year is the revenge el nino. It was going to be hotter.
Anecdotal, but my M1 MacBook Pro doesn’t have amazing battery life. The other day I went to a coffee shop with 60% charge and only made it about 2.5 hours doing iOS development.
I prefer vue over svelte but at this point anything is better than react.
While I'm not completely against performance-based pay, there are some issues that would make this particular approach unworkable.

One is that in dealing with children, personal compatibility matters a great deal more. Some teacher-student relationships will "just click" and others fail.

Another is the dependence of the students' performance on their home environment.

So, even an excellent teacher will get poor results when working in a disadvantaged district. These things would have to be taken into account when designing a reward system for teachers.
Maybe if you have big amounts of RAM and never turn off your computer nor close your browser.

I like being able to read my bookmarks a week, or even a month later.
Pota-to, po-tato?
It’s actually a Kubernetes focussed course. The JVM isn’t going to auto scale or distribute my service.
School doesn’t matter when school is made useless. Almost a tautology.
For fake data you need all data to reduce positives.

I don't like it
What is your program called?
Is this just a way of saying, “stop wasting all your review time on the style guide and look at the system design”?

Although, the style guide should just be followed and fixed before you get to code review phase. That’s just a matter of professionalism
I have a tiny service I put on Vercel that takes a bookmarklet I click on any page, get the URL, scrape the content I send to it through my browser, then save that to Airtable.

I just realized I have like 12,000+ links I've saved (many of them from HN over the years), and Airtable is great for tagging, searching, etc!
You should care. My point is give me coarser info or no info, but not fake information—and I say this as a researcher working on synthetic data generation methods to improve privacy. Fake information is a pain for developers _and_ users. Unreliable fake data has real, significant (and potentially disastrous) consequences that are often difficult to anticipate.
Oh yeah absolutely. I mainly do notes in my personal life, coding is a whole different thing that I’m still in the process of figuring out lol
Ugh, diesels need to go, they’re an air quality nightmare.

I agree with you that new cars are a bad value, they’re a rapidly depreciating asset, but that has little to do with the drivetrain.

The truth is that if you give any shit about the environment or people breathing the air around you, EVs or at least a gasoline hybrid are the verified lesser evil. They’re just so much more efficient on energy consumption during operation that it easily negates their production impact.

But the best thing to do is reduce car trips and car dependency entirely, because cars themselves are not sustainable and waste all our hard-earned money on inefficient infrastructure.
Not sure why they posted an AMP link, here's the correct one: https://programming-language-benchmarks.vercel.app/rust-vs-j...
Most of the newer business class laptops I've seen just have a few screws to pull the back panel and replace the battery. It takes about 5-10 minutes.
How does that work when the thing you want to change is a complex micro-service with a public API? Do you want to spin up your own version of that service and own it forever? Even if you’re okay with that, you’ll not have the clients the older version has

Open-source model works for libraries, or small changes in service code (where the maintenance burden is trivial). But it doesn’t work for complex services with high maintenance burdens
It's generally a mistake to take a few sentences from a legal document out of context. In the context of even the paragraph I cited (much more so in the document as a whole) it's clear what the judge is saying—he's talking about a combination of the text exchanges and the subsequent actions.
Ask HN: What problems/ideas would you like to see someone else work on?
Howdy HN! Some friends and I are getting away to an Airbnb next weekend to focus on hacking on projects and supporting each other building stuff. I’m really excited but I’m undecided on what I want to work on.

Do you have any (smaller) problems or ideas you think are worth exploring but that you don’t want to do yourself?
I love it. I’d also like to see a bellalloc which plays the system warning sound on every allocation.[1]

[1]: https://en.m.wikipedia.org/wiki/Bell_character
Is the app you built with it heavily dynamic? I'd love to consider HTMX for my team given the sheer volume of React code that we're having to write.
"It’s appalling how California cares more about homelessness, undocumented immigrants, and Medicare over education."

Can you explain what those subjects have to do with education and how one affects the other?
Amazing how people were thinking seriously about privacy even then.
This reminded me a lot of what would appear a few years later as the Freedom network from Zero Knowledge Systems. https://en.wikipedia.org/wiki/Zero_Knowledge_Systems

A big pivot in my life was interviewing and then declining a job there in Montreal in the 90s (over a relationship, what a difference those things make in youth) and I always looked back with the sense that they were another Canadian political sabotage story, like the Avro Arrow well before, or Blackberry much after them. They were right far too soon. Tor was basically the same idea in the end, but sponsored by the US Govt instead of some hackers from Montreal. The deeper story of that company and tech almost 30y later would be interesting to read.
FastChat-T5 can work for such a use case and it runs on (beefy) CPUs. With a 700$/month instance, it can do 4 conversations simultaneously, without needing GPUs.

The instant a company has sensitive data, this becomes very viable.
Your experiences are absolutely out of date.

For example, the recent (6th season) of JoJo, are all sorts of references that the fansubbers can make from the original material, but the corporate subbers aren't legally able to.

In fact, the corpo-subs are considered degraded and garbage, compared to a fansub. There aren't 'sensibilities' to maintain, nor is there corporate rights etc to hold up. And frankly, we make better!

If you want a comparison between corporate and fansubs, look no further than the book and movie of Ready Player One. That's a fair comparison.
OP claims still holds I guess. There are secondhand M1 in the market.
They’ve already placed anti-nuke installations in Romania and Poland, that can be retrofitted to launch them —and now Poland wants nukes for their planes. There is no way to claim they’ll never put nukes in Ukraine.

“No one wants” to do a lot of things, but when the tools are there, the next administrations may very well do those same things. That’s been the story of NATO expansion, US colonists’ expansion, erosion of civil liberties, outlawing cash etc etc.
Learning trigonometry so late makes zero sense. It should go geometry, trigonometry, then algebra, and so on.
Quickly check the last note to remember what I was doing? Often. Search through? Rarely, maybe once a month. The times I do though it's really helpful. I realized I was forgetting lots of semi important things that had no default place to write down.

This frequency informed the design, in fact. Easy to write, easy to read the last couple entries, moderate difficulty in finding older entries (in exchange for lower cost of making individual notes).

I think for me this is why it's so important for the system to be almost zero effort, else I'll just kinda stop using it. Just having an ubiquitous default place to dump something out of my brain helps.

Of note. A very slightly modified version of this runs on an ancient Thinkpad in my bedroom for diary/mental health reasons. I find the separation helpful. Those I almost never ever read, but I think that's the point of those.

Edit: at work I didn't really use this system, it's mostly for my own life. At work I used the ticket tracker, wikis, and calendar. I found that taking personal notes at work was best substituted by making actual documents that my team could find and use. There were much fewer uncategorized tasks at work.
Agreed, so obnoxious, especially since as you say the OS has a “select some photos” permission setting that they should be able to play nice with.
> - '=' is for equality only - assignment is ':=' which is the next best symbol you can find in math for that purpose

That is just syntax. I am not so sure if it is better or worse or not, but there it is.

Different programming languages do have different syntax, and sometimes that can be helpful if their structure is different. However, what I think is that the syntax for types in C is confusing (when you are making types combining by e.g. function of array of integer, or whatever).

> numeric data types are 'integer' and 'real', no single/double nonsense

It is helpful to be able to specify how many bits you want. (In the case of integers, range types (as you also mention) might help, though.)

> 'functions' are for returning values, 'procedures' for side effects

It is useful in C to be able to have side effects and return values, and to be able to ignore return values sometimes. (BASIC doesn't have and that sometimes annoys me)

> Function and procedure definitions can be nested. I can't tell you what shock it was for me to discover that's not a thing in C.

In GNU C you can do that, although a function that refers to stuff in the function it is inside of is only valid before the outer function returns. (And, you are not allowed to declare the inner function as "static" to allow it to work even after it returns in case it does not access stuff that is only valid before the outer function returns.)

> Array indexing is your choice. Start at 0? Start at 1? Start at 100? It's up to you.

That is good, and it is useful. Usually I think starting at zero makes sense, but sometimes there is sense to start at any integer, including positive and negative numbers, so it is good to be able to specify any number.
Correction: Starlette is made by the guy who made the Django REST Framework, not Django. DRF is a separate project from Django.
What’s the reference here that I’m not getting?
Wow. That sucks. "Happy 4th of July. Hope you had a nice holiday... because you're all laid off"