skysight-inc/HackerNews huggingface dataset:
Ask HN: Is there a service to quickly build APIs from Docker containers?
I want to be able to just provide a Docker container or upload a shell script and then get a URL which I can expose along with API tokens I can hand out. My container can either return just text or a file after processing for a while. Examples would be pdf generation, calculations, running an LLM. The file would be uploaded to some object storage and give me a temporary URL. Queuing, rate limiting etc should be handled automatically. Is there something like this or do I need to build it myself?
Is it open source? What programming language and what GUI toolkit does it use?

I really want GUI programs that don't lose a frame no matter what.
> A few towns in the UK are off in the sea

And some, notably Manchester, are entirely absent.
As the parent of kids spanning an age range through imminent high-school graduate, I can assure you there's not much thought given to a "bleak economic outlook" among my kids or their peers.

Now, it's possible—probably likely—that I'm in an economic bubble, but these same kids do suffer from other anxieties and would likely fit the studies.
I mean, like he said, it’s kind of alright, but not what I’d call great music (I’m listening now and I’m going to have to try really really hard to call it good).

Here’s some great bands/artists to check out (not saying they are in whatever category Cindy Lee wants to be):

Islands (Nick Thorburn/Nick Diamonds/The Unicorns/Mister Heavenly)

The Growlers

Blonde Redhead

Bill Callahan

Cat Power (the older stuff especially)

Molly Nilsson

Lady Lamb

Big Thief

Andrew Bird

Chastity Belt

Thao

WHY?

Mark Ribot y los postizos cubanos

Intergalactic Lovers

Felice Brothers

Goran Bregovic

Kevin Morby

Hurray for the riff raff

Cherry Glazerr

Michael Kiwanuka

Hamilton Leithauser

M Ward

Khruangbin
TL;DR recommends using Patreon and avoiding platforms with algorithmic feeds (disclaimer: the speaker is the creator of Patreon)
No offense, but who made this? How did the submitter find this? The Download page has a name but a Google search doesn’t return much.

Not that anyone would run a binary just like that, but I do find it interesting.
TDD comes up with some really novel designs sometimes.

Like, I expect it should look one way but after I'm done with a few TDD cycles I'm at a state that's either hard to get there or unnecessary.

I think this is why some people don't like TDD much, sometimes you have to let go of your ideas, or if you're stuck to them, you need to go back much earlier and try again.

I kind of like this though, makes it kind of like you're following a choose your own adventure book.
I'm not on a VPN. Just a regular suburban FIOS connection.
It was Tamagotchis that got taken away in my school, but I agree.
One of the benefits of Electron is being able to build the same app for multiple operating systems. When writing GUI app using native OS calls, how does one make sure the code is compatible with all three major operating systems?
Something like 30% of 30-year-olds still live with their parents. Almost 40% of American adults cannot afford a $400 emergency expense. People are suffering and you're indifferent because you exist in a different class.
Russia takes advantage of Ukraine's depleted arsenal and the weather to advance
I didn't find anything in the article about nicotine, but that sounds like a ridiculous comparison. Nicotine-processing skills aren't generally required for a successful life these days and in the future.
The alt.suicide.holiday FAQ has existed for a very long time.
The core framework (sched_ext) was written for general workloads and can quite beneficial. It lowers the costs of creating and iterating on schedulers quite a bit.

To be honest, when they started working on it I don’t think any of us expected for it to be a source of collaboration with gaming companies :)

(I’m a middle manager at Meta)
Really? How do you prove that?
GDP is not a meaningful measurement unless you somehow believe in nonsense trickle-down economics of the most extreme degree.
It may do, but the CFS scheduler is really good for generic purposes, and the new replacement for it, EEVDF, that became default in a recent kernel, does even better.

What I think is more interesting in this project is it's one of the first "real world" uses of sched_ext, https://lwn.net/Articles/922405/, which makes it trivial to build and experiment with new schedulers. It'll be interesting to see what will come out of the research opportunities this now provides.
You want a Docker container that runs a script and responds to requests it receives, and an address that it can receive data at, is that correct? That sounds like an HTTP server. You should configure a Docker container with the appropriate scripts, give it the ability to respond to HTTP requests, upload it to a container registry (AWS, DigitalOcean), and then run it on a container service (e.g. AWS ECS). You'll then be provided an IP address that you can issue requests to.
This is the only practical way (IMHO) to do a good job, but there can be an irreducibly complex kernel to a problem which manifests itself in the interactions between components even when each atomic component is simple.
Shielding is probably bad and expensive, but is it illegal?
Opening a 1GB JSON file and scrolling, editing, and keeping syntax highlighting correct is something that even native text editors struggle with.
>Even for cases where the UAT applies (which is not everywhere, as I show next), your caveat understates the case. There are dramatically better and worse algorithms for differing problems.

The grand goal of AI is a general learner that can at least tackle any kind of problem we care about. Are DNNs the best performing solution for every problem? No and I agree on that. But they are applicable to a far wider range of problems. There is no question what the better general learner paradigm is.

>* Or am I wrong? Is there a theoretical result I don't know about?

Thankfully, we don't need to get into theoreticals. Go ask GPT-4 to sort an arbitrary list of numbers. Change the length and try again.
Keep an eye on https://lapce.dev/ and https://zed.dev/ . Both immature, but show a lot of promise! Also both open source, so (in theory, I haven't tried) you can contribute patches to fic your issues
If rent to income increased two times in 25 years, I totally see how significant fraction of population downsized.
I'm here at Bayer right now and that is pretty much what is happening. The RIFs are finishing up and my team leader is now my peer. Our boss now has 10x the reports. Even a 30 minute 1:1 with everyone would take his entire week.

And some people just need (or want) to be told what to do. You can't have everyone be a Steve Jobs and dream up things with nothing concrete getting done.

I believe this is just a smokescreen to make Wall Street happy - until they can figure out which USA politicians to buy and get the glyphosate lawsuits under control.
Connection with Reality, its added value in age of AI generated content [video]
Still better than the native artifactory UI, which looks just like an httpd index page, except it's actually a view in their 20 MB SPA.
What qualifies as good habits for a tween using TikTok or instagram, and is it actually reasonable to expect their developing brains to be able to carry out instructions regarding limiting their usage of highly-addictive platforms?
Yeah, but that is still one application. You might come fr enough with CDPATH and configuring .inputrc to do something smart with ^m and the %-character (for the root of your document folder).

If it will be enough, I don't know. It might be enough for some, but it is still something which can be done without getting the maintainers of openssh to agree with the idea of a clean ~.
Landlines, voip, panic buttons. People made calls to 911 before the iPhone was invented.

When I was in school every single classroom was wired for landlines and Ethernet. You can also set up your wifi networks in ways that limit certain things and not others.
Voltpost wants to bring curbside EV charging to a lamppost near you
> akin
I hope developers are among the most careful about putting new things on their systems. I hope.
The salary varies from 60k to a middle-of-nowhere tower to $150k in New York or California which is not enough to live on comfortably. Of course we are going to burn out and make mistakes when we have to drive an hour plus to and from the city six days a week because we can't afford to live any closer and staffing isn't better because people quit because of the pay.

It's not a supply problem with staffing, it's a pay problem. Over 50,000 people apply every year, but people are quiting because quality of life sucks, and the biggest thing the FAA can do to change it, is to increase pay, and they aren't doing that.
Forge: A Tool to Teach Formal Methods
In such a scenario, iostat is your friend.
https://manpages.debian.org/unstable/sysstat/iostat.1.en.htm...
Automated Social Science: Language Models as Scientist and Subjects
It's not about foreign ideas. It's about a foreign, arguably hostile, government having control over what gets amplified and what gets hidden. I don't think anyone would have an issue with an official CCP account posting CCP positions on social media platforms they don't control. Those things are very, very different!
Overheard in the flock:

"nee nah, I bet you dare not to jump!"
And it's a problem that predominates literally every other aspect of one's life, and one's children's lives. Discussing it as though it's just one little exception is not just out of touch; it's practically insanity.
Considering the coarseness of the borders, I am very surprised this takes up as much space as it does. It seems like the total data size is well under the threshold of utility vs. filesize. If it were double the size, the borders wouldn't be so janky, for example.
That’s fair. GP doesn’t really seem that upset, they just don’t like the record.

When I wrote this I was coming off another comment where the commenter seemed genuinely upset over the distribution medium. I think a little bit of my sentiment about that post dribbled through.

Even so, I wish people were more live-and-let-live about very subjective things like music. It’s a big world and art is not zero-sum.
Good info. Yeah I think a lot of the grief centers on housing costs and, most acutely, consumer inflation.

What's mysterious about the inflation to me is that there's very little discussion exploring an inflation rationale that links it to record corporate profits and a record raging bull market.

That lack of emphasis reads political to me. The people being most harmed by increased consumer prices are generally not the ones who are most benefiting from them.
Weird how there seems to exist simultaneous support for banning cigarettes and legalizing smoking weed.

Do the same parties hold both views? Can they be reconciled?
I see the appeal of adding error nodes, but I'm not a huge fan. If you do this rather than either bombing out immediately on the first error or storing a stack of errors, then the syntax errors pollute the generated tree. This will require you to either add a separate pass for building a new tree that is the same as the old except without the error nodes, or you will have to handle syntax errors downstream in the analysis or code gen phase.

A recursive descent parser does not have to be procedural. I have written one in a functional language that I designed that has no mutable variables or loops (recursive functions handle both of these cases).

Parser generators are great for iterating on language syntax design. Once you know the language syntax, handwriting the parser should be easy. If it isn't, then it is most likely that either your language design or parsing skills need work. Both require time and practice.
GitHub – mon/bad_Apple_virus: Bad Apple using Windows windows
Super interesting. I recently went down the DIY rabbit hole for solar, electricity, etc. I tested out https://stepify.tech/video/O8eVxRVwlnw and looks decent:

1. It took about ~45 seconds for the page to load once I put the URL in. You should have a loader on a page showing that the website is "doing something" while the AI transcribes.

2. It would be great to sync the chapters in the YT video with the guide details.

3. Even more advanced would be the specific items like "Drill holes, insert expansion bolts, and secure the inverter to the wall using nuts and washers." showed a timestamp and thumbnail with a link to the video part.

4. It would be great to have a checklist functionality (maybe this is the "pro version"). I often do something, get halfway and then need to scrub the YT video to find the specific place where he talks about the action item.

EDIT:

5. IMO iFixit has the best "guide" formatting: https://www.ifixit.com/Guide/How+to+Recover+Data+From+a+MacB... if you could somehow generate this by the video, that would be insanely useful.
That’s not the whole picture.

Most of western civilization is in severe danger of collapsing into fascist dictatorships or being taken over by same, egged on by truly deranged billionaires who somehow don’t think it will negatively affect them. Antivax hysteria is bringing back mid-20th century disease. Climate change appears to be accelerating on the worst-case side. Militarized police departments. Racial injustice has always been with us in the USA, but now it’s been made visible to everyone, and it’s very clear that some people — who were supposed to be the good guys — not only don’t care, but actively support it. Multiple state governments are now encouraging book banning and child labor. Do we need to mention women’s healthcare?

And you, old person, are saying “you have it better than I had it in 1970’s jfc” — that’s true for some values of “you” and “I”, but you’re completely missing the point.
> If it was really enjoyable, you will remember it. The human memory is designed to fix emotional experiences. No need for celluloid or pixels. If you were with a loved one, your future conversations about that time will keep the memory alive.

Words to live by.

My point is this: the act of capturing photo and/or video is itself the draw for some people. It's an art form - beauty isn't just captured in a photograph, it's created through composition. A great photo is never just a photo of a great thing.

Why should the transience of my art deter me, if I myself am also transient?
Ask HN: What's missing for you on Google News?
I think these 4/3rds camera were dismissed by armchair photographers in the early years because of the sensor size, and I think these pixel shift type features were added so that they could add a higher resolution mode to the headline features of the camera, to compete with higher resolution sensors.

However, as you have probably found, 16mp is actually a very useful size - a good compromise between image size and resolution. I actually shoot a 16mp camera (Fuji X1) most of the time, even though I have much higher resolution cameras to hand.
How about an unladen African Swallow, though?
He also notices she got rid of their picture and a few other things I thought
My favourite example of the self-perpetuating nature of German bureaucracy is the story of the chinese tourist who, asking for directions in some administrative building, got mistaken for a refugee.

It took more than a month, including placement in a refugee centre, before the administrative wheel stopped turning and it was realised that he was, in fact, only a tourist visiting Germany.
Do you utterly reject essentially every mainstream language? Which languages do you use that do not use a handwritten parser?
"I don't care about c# or typescript"
That’s a rather specific edge case and I can’t think of any sync that handles it relatively well except for BitTorrent. At that point you are limited by so many things, it’s not worth optimizing for because all the error cases you have to handle (inode exhaustion, network limits, etc).

99.99% of the time only a single file changes at a time, which is the use case here.
> devops-y things (Terraform, OpenTofu, JSON, python, yaml, txt, dockerfiles, etc.)

> I so, so wish there was a better way to do this without fucking electron.

I do all of those things in vim and it works fine. No GUI and I'm sure it's missing some fancy new features, but it's fast and reliable (and it's not electron).
> $JS_FRAMEWORK_OF_THE_DAY

I see this sentiment all of the time and it just doesn't register. What new "frameworks" have you had to learn in the past 10 years beyond React, Typescript, and maybe next?
TL;DR here's how to configure Vector data pipelines.
https://xkcd.com/242/
https://retailwire.com/google-news-blocks-california-media-n...

Protesting an asinine regulation
Risks have to be based in reality. Our greatest reality check is the scientific process.

We can make up risks endlessly, see the AI-as-an-existential-threat debate. It simply is not grounded in reality. All I'm asking is transparency. People make non-scientific claims and conclusions all the time. Folks just need to be honest that this is what they're doing so they aren't fooling themselves and others.
I don’t see any reference to genetically engineering the rats to get cancer in the studies I linked. The results are terrifying in rodents.
Oh man, soulseek brings back serious nostalgia for me. Is it still pretty active?
And when it’s an abortion clinic you went to in a neighboring state because it’s illegal where you live? How about when it shows you did something that could get you prosecuted in your home country?
It's comforting to see the data bear Tabula Rasa out.
This should really include capitals even if they are smaller than 40k and star them in some way
To add to this: owning the platform and controlling what gets amplified is very different than posting information on someone else's platform which also is different from posting the information and disclosing your affiliation. I'm pretty sure we could easily get a strong consensus that there is zero issue in an official CCP account posting official CCP positions on Twitter or Facebook.
They could just be lucky, and have a kid with that kind of attitude (on top of the things you mentioned). I've seen a number of stable families (at least outwardly) around school/work whose kids are glued to the damn things.

What really makes me sad is when I'm at a restaurant or shop or similar and there is a parent with a small child getting restless and they pacify them by sticking a phone with Youtube in their face.
You can earn cash shop points by doing a lot of grinding.
It's GTK on Linux, win32 on Windows, and Cocoa on macOS.
It seems to be very source-able in both bash and zsh. If you just executed it, it will run in bash.

They seem to have gone through some effort for this to be true.
The second is something I’ve thought about and probably the closest to something that could work, although I think the UK is naturally too free-market minded to accept it.

I suspect the status quo is much more popular with the voters though.
Turn off your browser plugins.
If the economy is so strong, why does the media need to resort to such desperate measures for attention? Like, shouldn't they also be reaping profits and such from the healthy economy, and as such not have to be forced into this grubby practice of manufacturing dissatisfaction?
VSCode is slow?

I mean, for 7 years? Somewhere around early 2017 things started to get out of hand and VSCode was super hyped. To the point 99% on HN was saying it was very fast. Initially ( Pre 2017 ) it was compared to Atom which means the bar was low. And then somehow people start claiming it was as fast as Sublime or they see no difference.

As someone mentioned down below, both Lapce and Zed is designed with speed in mind. Or just use VIM.

VSCode may be flexible, but it is only fast by the measure of an electron App.
> I hope.

I have... simply the worst of news.
You obviously didn't grow up poor, because if you did you'd realize how impossible that is to do when you are. Your parents are working 2 or 3 jobs and won't be home until you're almost asleep so you have to take the bus home; no afterschool activities or time with friends. That one thing alone selects the friends you can choose from. The well-to-do kids all hang out with each other because they have parental support that puts them in healthy environments they can relate to. You're speaking from a place with a lot of privilege.
There shouldnt even be pilots much less air traffic controllers. This is the same as the people that think subways need human drivers.
And? Do documents suddenly become suitable for kids when they — the documents, not the kids — are old enough?
I started shooting on a 12mp sensor after spending most of my time on 24mp (Sony A7 II to a Nikon D700) and I was surprised at how much detail was in the 12mp images. Unless you're cropping really heavily or printing really large, you really don't need the resolution most of the time.
Air Traffic Controller here. A major problem is staffing, and that's still a problem because of Reagan's mass-firing.

I don't care about unions one way or the other. I'm just a member of my union for the "job insurance", but now I'm thinking about quiting next January (we can only quit in January) because they showed themselves to be ineffective and not representative of my needs (pay).
This could easily be sold for $5/seat to giant corporations who want to stick spyware all over their employee workstations.
> Alcott and colleagues (2020) randomly assigned 2743 adults.

I stopped there. We're talking specifically about teenage depression and the cited study is adults. If Haidt wants us to take results from one subgroup and apply it to another, he has to provide evidence. That's how this process works.
Neither is Saint Pierre et Miquelon. There is the island of la Réunion but no name, and the name for Ibiza but no island...

I hope those can be fixed, I love the concept.
WhatsApp's new Quick Share alternative inches closer to release
I was wondering when that .box TLD would become a liability for them.
Blame it on the CCP, their weaponized industrial espionage network, their Wolf Warrior diplomacy, and countless other needless aggression against other nations. This along with the numerous cases of Chinese Nationals caught stealing IP from foreign companies, it is only logical for the US to be wary of China protect its interests at all costs.
Such middleboxes can also be seen in cellular networks. (And firewall in free access points / guest networks)
Yeah the problem these kind of interviews don't even test how well you think about a problem and how capable you are of designing the solution. The expectation is that you basically perfectly memorize the optimal solution (which was probably found by some Ph.D. working on algos). And in the end you're end up implementing some endpoints for a 1k MAU CRUD.
But "unless it is misleading or linkbait"
Though I should add, never give up on your principles. We may have to make compromises with ourselves because we live in a society in which it costs money to live. Your job isn't your identity though and there are some lines which aren't worth crossing.

It's also hard to sustain a career in this environment alone for long periods of time. Consider your relationships as your most important asset. And consider organizing.

Differences can be made. Programming computers won't get you there. It will take some changes to the social environment around you.
Being a poor urban worker in modern day has a lot of advantages over being a subsistence farmer in a community of 90% subsistence farmers in history. And yet, it has a lot of disadvantages and existential dread as well.
> There is not a lot of bureaucracy surrounding vaccinations at least not from a patients point of view. So if you forgot or lost your vaccination pass you could probably just get another shot especially if you’re older/at risk.

That was by design, to facilitate and speed-up the vaccination process, and in the context, there was nothing wrong with that approach to keep the population safe and the country running.