skysight-inc/HackerNews huggingface dataset:
I'm talking about shell implementation not shell usage.

To implement job control, there are several signals you need to be aware of:

- SIGSTSP (what the TTY sends if it receives ^Z)

- SIGSTOP (what a shell sends to a process to suspend it)

- SIGCONT (what a shell sends to a process to resume it)

- SIGCHLD (what the shell needs to listen for to see there is a change in state for a child process -- this is also sometimes referred to as SIGCLD)

- SIGTIN (received if a process read from stdin)

- SIGTOU (received if a process cannot write to stdout nor set its modes)

Some of these signals are received by the shell, some are by the process. Some are sent from the shell and others from the kernel.

SIGCHLD isn't just raised for when a child process goes into suspend, it can be raised for a few different changes of state. So if you receive SIGCHLD you then need to inspect your children (of course you don't know what child has triggered SIGCHLD because signals don't contain metadata) to see if any of them have changed their state in any way. Which is "fun"....

And all of this only works if you manage to fork your children with special flags to set their PGID (not PID, another meta ID which represents what process group they belong to), and send magic syscalls to keep passing ownership of the TTY (if you don't tell the kernel which process owns the TTY, ie is in the foreground, then either your child process and/or your shell will crash due to permission issues).

None of this is 100% portable (see footnote [1]) and all of this also depends on well behaving applications not catching signals themselves and doing something funky with them.

The bug I've got is that Helix editor is one of those applications doing something non-standard with SIGTSTP and assuming anything that breaks as a result is a parent process which doesn't support job control. Except my shell does support job control and still crashes as a result of Helix's non-standard implementation.

In fairness to Helix, my shell does also implement job control in a non-standard way because I wanted to add some wrappers around signals and TTYs to make the terminal experience a little more comfortable than it is with POSIX-compliant shells like Bash. But because job control (and signals and TTYs in general) are so archaic, the result is that there are always going to be edge case bugs with applications (like Helix) that have implemented things a little differently themselves too.

So they're definitely not easy to use and can break in unexpected ways if even just one application doesn't implement things in expected ways.

[1] By the way, this is all ignoring subtle problems that different implementations of PTYs (eg terminal emulators, terminal multiplexors, etc) and different POSIX kernels can introduce too. And those can be a nightmare to track down and debug!
yeah I couldn't find any product demo. It would be great if there's a product demo so user can understand before buying it
Let's get a professional cryptographer without vested interest in the matter to give that assessment

https://blog.cryptographyengineering.com/2024/08/25/telegram...
> An analysis of car fire reports from 2012 to 2022 revealed that a passenger EV battery has a 0.0012% of catching fire, while the same sample indicates that ICE cars have a 0.1% chance of catching fire.
Extending Wide Angle Analytics. We are entering growth phase and getting more clients, which means more sophisticated features and needs.

The industry and the niche is cut throat with large number of disingenuous competitors. Beginnings were brutal but perseverance was worthy strategy.
That's like saying that comparing a veggie burger to a normal burger sucks because neither are ice cream.

A/B tests, by definition, test between A and B. It is very likely that neither is the best option.

But how will you find the best option if you don't measure options against each other.
Yes lets
It doesn't. Groups chats lack E2EE and all desktop chats, including 1:1 lack E2EE.
Not particularly good either, so on the whole pretty much just an ad.
My company's clients dislike US companies so much that we had to switch from very cheap AWS SES, European region, only used to send emails to very expensive (10x at least) European competitor. The AWS entry in the GDPR DPA was generating so many meetings that it was just worth it.
I think it's because he pretended to care.

> Altman pulled from science fiction stories, he told the journalists he’s not trying to achieve immortality, but rather wants to “give people another 10 years of healthy, vigorous life.”

I get that CEOs don't actually care, but this one promised that the advances in AI was going to help us. Which he had me already fooled with the "Open" part of OpenAI. It honestly gave me hope that AI was going to make a positive difference for the moral good and not for greed, but shrugs it is what it is.

As a software engineer, OpenAI did not help me much. I tried it out but I just went back to using Google and StackOverflow.
Best payment processor for hybrid for people who hate stripe (if you were doing it today for a bootstrapped startup)?
Show HN: After a Month of Coding, AI Image Upscaler Update–10x and 12K Upscale
Last month, I launched an image upscaler tool called Mejorar Imagen and introduced it on Hacker News. The feedback I received was incredibly valuable, with many suggestions being really helpful.

So, I spent another month upgrading the website based on those suggestions, and now it’s even better.

I think it’s time for more people to discover it,

## What’s New?

- Increased Upload Limit: You can now upload images up to 100MB.

- More Supported Formats: In addition to JPG and PNG, we now support JPEG, WEBP, BMP, and TIFF formats.

- Task Concurrency: We’ve gone from handling one task at a time to supporting unlimited concurrent tasks.

- Email Login: You can now log in using your email.

- Task Deletion: You can delete tasks if needed.

- Multi-Language Support: Added more language options.

- Auto Language Suggestion: Optimized the site to automatically suggest languages based on browser settings.
Plus, we’ve made some other small tweaks to the design and user experience.

## Quick Overview

Mejorar Imagen is an AI-powered image enhancer that stands out by allowing you to enlarge images up to 10 times, whereas most tools only offer 2x or 4x. Additionally, our tool supports resolutions up to 12K, compared to the 4K max of many others.

## Product Hunt Launching

The website is also launching on Product Hunt today. Product Hunt is offering a 30% discount code for the website.

Here’s the Product Hunt link: https://www.producthunt.com/posts/mejorar-imagen

would love your feedback pls
They shouldn't be worried just like programmers shouldn't be worried as these things are often subtly wrong in uncanny ways. People who know me immediately see it's fake. But most people don't know me, so it's good enough for many things and complete crap for others.
The benchmark result is for 100 concurrent users
I don't think it's always an explicit choice. I joined a company and despite asking many questions to try and avoid weird policies that could affect work-life balance, after joining I discovered they had certain types of code that had to be shipped outside of their client's business hours. Due to timezone differences, that meant extremely early or late hours for me.

I like the company but absolutely hate this. However I can't just leave because of this. Even if I wanted to, finding a new job is not an easy task and it's exhausting.

This is why laws are important. You don't have to figure this out for every company you interview. If they do it, it's illegal. You can change your default to a reasonable expectation.
Give Claude 3.5 a try at some point, I find it's better at programming tasks compared to GPT4o.
There's nothing in Telegram that couldn't be implemented with security in mind. They just lack the expertise in designing cryptographic protocols that offer those features, and Durov is too proud to consult experts in helping improve the design. Well, now he gets to enjoy French hospitality.
https://en.wikipedia.org/wiki/Brexit

> Following a referendum held on 23 June 2016, Brexit officially took place at 23:00 GMT on 31 January 2020 (00:00 1 February 2020 CET).

With one leg out.
At least Italy is still interesting when it comes to software development. Unlike Japan which had a good start but it is not that good anymore (https://www.youtube.com/watch?v=ky1nGQhHTso)
Taking my managed container image registry service as an example.

- The only critical alert that can actually page people is if the blackbox test fails. Every 30 seconds, it downloads a test image and if the contents don't match the expectation, an alert is raised (with some delay).

- Warning alerts are mostly for any errors being returned from background tasks, but these are only monitored during business hours.
That's what i call "stuck". Solar went from essentially zero to a larger share of generation than nuclear in China, in 5 years. In the same time, nuclear has stopped growing there. China commissions a few nuclear reactors per year and ~400 GW per year of solar and wind.

When comparing nuclear in China, we need to compare it with... well other things that happen in China. Which are on a completely different scale vs rest of the world combined.

Nuclear power progress might seem impressive there compared to rest of the world, but not at all compared to other things that are being done in China itself.
Getting Rich Off Fan Conventions: Taking Home "Garbage Bags Full of $20s"
Many will disagree with you because your stance does not take an all-or-nothing approach, so good on you for asking these tougher questions. We have the same sort of questions in the US, though a very specific group would love to turn this who country into a police state (they even have their own flag). I am a big privacy advocate, but also recognize that it is ripe for abuse by bad actors, so the solutions are muddy and need some serious beta testing before they can be called solutions. This where people tend to get lost in the debate and start responding with emotions rather than reason, which unfortunately does not progress us a viable solution. I see the same thing happening in the EU, but from afar, so my perception is likely skewed.
Using search as a primary datastore since the docs said not to
This also blows my mind, instead of adding more berucracy to apply for funding to review funding to give funding.

just give tax credits based on innovation / investment criteria, to both companies and employees, Europe needs digitalization so badly, yet they find more complex ways to enable it.
Can you (and GP, and others in the thread) suggest alternatives?

I'm about to work on payments for a new product, would like to try something new!
To Master Physics, First Master the Rotating Coordinate System [video]
I'm planning my house right now and yeah the garage is a big problem, there is no way I'm keeping even an electric bicycle close to my living quarters.

Gas cars can also spontaneously burn but if you have an alarm and a few fire extinguishers you have a chance to at least delay the spread until the firefighters arrive, with a battery fire you're fucked
You cannot be sure and yet Telegram often gets mentioned for being the only platform where states do not have easy access to user information or the ability to censor certain messages/content.

So from a broad perspective, they probably behave better than comparable services.

I think Telegram should not be trusted, but I also do not trust the alternatives, that readily share information with states. A special focus for me is that my own jurisdiction does not have access to my social media content. Other countries are secondary at first.
You are talking about a company whose primary business idea it is to lock up as much of the world's information as possible behind their login.

The secondary business idea it to tie their users logins to their real world identities, to the point of repeatedly locking out users who they live under threat and refuse to disclose their real name.
> Certain points like the fact that Emacs isn't multithreaded are thrown around by people who don't have the intuition that multithreading isn't the right thing for a lot of applications. The added complexity that multithreading would add to Emacs would seriously outweigh the usefulness it would provide. Emacs already has a decent process model, and having to deal with only a single shared state makes programs much cleaner.

I theoretically understand this but having to deal with company-mode providers that, when they start performing badly, start hanging everything is not fun!

Obviously thread-count and async-codestyle-ease are not the same thing, but given the world of LSPs and plugins that do I/O on the main thread (this is a big enough reason to have async interfaces that are actually used) it would be good to have some effort spent there
And 20 times harder to handle ?
dingllm.nvim is another nvim LLM plugin to look at:

https://github.com/yacineMTB/dingllm.nvim
The LIRR QR codes change every few seconds, on the App. But you do need an App.
Are you one of these persons who like to have cops on their property?
Every day I'm amazed at what OpenType fonts can do on their own.
Material Design icons font, fonts with built-in syntax highlighting and now this.
This is one of those things that I can see happening, but also has never happened anywhere I've worked.
Glitch the game never even showed up on my radar. Too bad (or maybe, for the best) it was never something I heard about.

So I had to do some googling for what seemed like a pretty obscure thing that morphed into a huge thing that takes up way too much of my brainpower these days, and found this story about the shutdown of Glitch and the start of Slack https://johnnyrodgers.is/The-death-of-Glitch-the-birth-of-Sl...
How much better is cursor than continue?
I've been trying continue with codestral and am only moderately impressed so far.
The Simpsons': 34 Times the Fox Comedy Successfully Predicted the Future
Show HN: I Made a Platform for React Native Cloud Components
Hey HN,

I'm a web/mobile developer and I decided to create a platform for storing React components and translations for React Native. This platform allows you to upload your JS/TS components directly to the cloud through CLI and then change UI without full mobile update.

It's also fully open-sourced. I hope that this tool will be helpful and allow you to save time and create mobile apps faster.
Would love your feedback pls

Igor
Sure, but the small compiler that you write in C can't compile rustc. So you write a new Rust compiler that uses much simpler Rust that the small compiler in C can compile. Then that new Rust compiler can compile rustc.

And since that new Rust compiler might not have much of an optimizer (if it even has one at all), then you recompile rustc with your just-compiled rustc.
Crazy fact is this;: That works out to an almost incomprehensible one planeload every eight minutes for nearly a decade. how???
> When creating a Megolm session in a room, clients must share the corresponding session key using Olm with the intended recipients, so that they can decrypt future messages encrypted using this session. An m.room_key event is used to do this. Clients must also handle m.room_key events sent by other devices in order to decrypt their messages.

https://spec.matrix.org/v1.11/client-server-api/#mmegolmv1ae...

OLM is the public key encryption scheme, similar to the Signal Protocol.
It is used to exchange room_key messages, but not the room messages itself.

MEGOLM as linked in the specification: https://gitlab.matrix.org/matrix-org/olm/blob/master/docs/me...
Once again we blame developers for corporations not testing deployments and pushing changes live.

Nobody can test everything. Big deployments require big testing.
He's been publicly chewed out at hearings by U.S. Senators, at least on the Republican side, for things like that. But the senate apparently doesn't have the power to do anything about it, or at least prioritize it with the rest of what is on their plate. I agree though that if Zuckerberg had been a Russian citizen, France probably would have arrested him too.
I'm referring to the following:

>> @amelius: Can't the EU make their own messaging app?

> @tptackek: Wasn't Matrix in the running for this?

Three points:

1) From https://matrix.org/foundation/about/: The evolution of Matrix is managed through an open governance process, looked after by The Matrix.org Foundation - a non-profit UK Community Interest Company, incorporated to act as the neutral guardian of the standard on behalf of the whole Matrix community.

2) Matrix is a protocol, not a messaging app.

3) UK is no longer EU.

Read it however you like, I'm simply pointing out that private efforts in non-EU member states are difficult to roll under "EU effort to create their own messaging app".
Reddit suffers greatly from the lack of quality moderation. The moderators on reddit remove spam or off-topic submissions but more than often leave low effort or just worthless threads up, which in turn invites more people to post similar content.

My favorite example of this is the /r/snes subreddit where most of the new posts seem to be photos of the games someone bought off somewhere. I've never seen anything like this on any old-style forums outside of a thread dedicated solely to this kind of thing.
Why would you go this length and do this witch hunting? Do you have some issue in reading other people's views? I have commented this same view twice in different context and you consider that a "mission"? This is a behaviour I have seen so widespread here that it seems like a trend. In fact it's a thing! Go asking on r/india and see how that is. Now that would also be a very small set for you, isn't it? Well, that is definitely orders of magnitude higher than hn when it comes to this particular country. So get a feel there maybe?

Well, what is your mission? Since I mentioned my country's name (which I guess could be yours as well but I am not sure) is this somehow become a "prestige" issue for you?

I don't know whether a tag works here, but @dang is this kind of witch-hunting or attack acceptable here? Or is it rather kosher?
> The cost of ... far out of budget ...

Yes maybe, but now you changed the topic and started talking about money and how expensive things are. Have a nice day anyway
> Of course if you hide the fact that your product might cost a lot of money from your users, more of them will sign up

The problem with their calculator was that the users introduced slightly wrong data, or misunderstand what means some metric, and suddenly a 1000x the real price was shown. Their dilemma was "how to fix those cases", and the solution was "get rid of the messy calculator".

But they are not hidding a 1000x cost, they are avoiding losing users that get a wrong 1000x quote.
Can't have it both ways.

Elisp is either a scripting language for a text editor,

OR

a fully-featured programming language for doing All The Things.
Perhaps, but I wonder how much having so many different languages contributes to that. In the US, most people all speak English (though there's a growing Spanish-speaking population, but even here most younger ones probably end up being bilingual), so there's not that much to do for your company to do business in all 50 states, depending on just how much interaction with state governments you require. And state laws are all pretty similar usually. Not so in the EU.
One of the best games I played back in the day. However, I'm not "hyped" by this news. I'm way too afraid Ubisoft will favor nice gfx instead of a polished gameplay.

I hope to be wrong, and I'll probably give it a chance, but I definitely have no expectations regarding the games.
i don't use a 3rd party billing solution. I straight up created my own.

If you have a single type of pricing(eg, variable, or tiered) its very easy rolling your own.

The issues happen when you change from variable to tiered(or vice versa), change from anniversary to calendary dates, add coupons, per user custom pricing, credits, etc etc.

I don't recommend building your own if you aren't familiar with Stripe or any other billing system. Once you understand how billing works, feel free to make a custom billing solution.
This is nearly always a myth.

On call has a huge precedent, it's not tech, it's the health sector.

"Paid" on call is already defined as the active portion where you're responding to a page, not the passive portion where you're carrying the pager.

Some countries have rules around time to respond within the definition of active vs passive, but most do not and the carrying the pager isn't compensated at all.

Even with the active part, time-in-lieu can be the definition of paid... still 40h per week (or whatever), but if you only responded to 1h of active on call in a week, finish work an hour earlier one day the next week.

People in tech like to imagine that their salary rises by some significant %, but it seldom does... nurses and A&E staff aren't paid far more for being on-call and carrying a pager, and that precedent travels far, countries aren't legislating in a way that makes their health services untenable.

Some countries do legislate hard in this area, i.e. France, but then... they have a much smaller tech sector as a lot of companies will avoid hiring there or setting up an office there (especially when neighbouring countries do not have such legislation).

To be clear I don't know what the exact text of the Australian law is, but I'm just clarifying that on call does not have to be paid, and as soon as one thinks about the health service and the impact of such legislation it's clear why. Sure one can also view this as wage theft in every industry, but in that case workers need to go make that case. Most large companies will likely continue to avoid such legislation by treating their workforce as fluid, and just withdrawing from some countries and only hiring in others.

Note: None of the above is reflective of where I currently work, but are things I've learned from prior places of employment.
This article is capitalizing on the Crowdstrike incident. It was costly but a mistake. As a software engineer, I just know that's all it is. I don't think there is a upward trend of these mistakes because they are always trying to be careful and sometimes they also get careless. Some additional processes might be added to avoid it, but years later it may happen again somewhere else in another company. I don't think it's because of "software erosion." And the recovery was a costly day or two but it was fixed and we all went back to normal.
I'm so confused that the manager felt the need to say this or that your country would need such a right for you to have that right (because unless it's in your work contract, you've not agreed to work when you're not working)

Two questions: assuming you have fixed hours, does anyone (colleagues, direct supervisor, big boss) expect you to see messages or emails outside of your working hours? Second question: what culture does your answer apply to?

For me the answer is a confident "no", having worked in the Dutch and German tech sector, mainly in small companies