skysight-inc/HackerNews huggingface dataset:
Reading from sockets definitely works. It'd be pretty useless if it didn't.

Some operations that don't cause a task switch to another virtual thread are:

- If you've called into a native library and back into Java that then blocks. In practice this never happens because Java code doesn't rely on native libraries or frameworks that much and when it does happen it's nearly always in-and-out quickly without callbacks. This can't be fixed by the JVM, however.

- File IO. No fundamental problem here, it can be fixed, it's just that not so many programs need tens of thousands of threads doing async file IO.

- If you're holding a lock using 'synchronized'. No fundamental problem here, it's just annoying because of how HotSpot is implemented. They're fixing this at the moment.

In practice it's mostly the last one that causes issues in real apps. It's not hard to work around, and eventually those workarounds won't be needed anymore.
The same could be said about the meat and dairy industry and various other foods. But what’s the problem with this CO2 butter? Just more fear of novel foods like the comment above predicted?
Where did you learn about these entire cities burning down? Could you share any link?
In-person collaboration has real benefits for some situations. Team cohesion is not a totally made up thing. So, if it's reasonably cheap, such as everyone in the same city, it's worth getting the team together regularly.

Some distributed organizations strive to bring even international teams together from time to time, even if it's just once a year.
Australia's target is more ambitious, but China has a larger share right now:
https://en.wikipedia.org/wiki/List_of_countries_by_renewable...

I am also not clear that it is that much more ambitious. You are not comparing the correct numbers. 1200 GW in 2030 is just solar and wind, they are targeting 3.9TW renewables by 2030 and 80% non-fossil by 2060.
Haha I too was confused about this J character for a long time and took it for some corporate thing when I first started out on a full time corporate job.

Took me years until I got a windows laptop and saw emails in outlook.
In large numbers the cost of switching between threads does consume CPU while they're waiting for the database. This is why green threads exist, to have large numbers of in flight work executing over a smaller number of OS threads.
Man made horrors beyond comprehension. Leaded gasoline, asbestos, transfats, seed oils, sugar, hfcs, tobbacco, alcohol - all good in moderation.
Unfortunately, depending on country the same legal rules that make SSID mapping legal without any requirements for opt out are also rules that protect your freedom in other ways[1].

The proper way would be to design the protocol so that the identification information is useless in addition to disabling SSID broadcast.

That would of course mean that joining a device to network would be way harder unless you enabled at least network name broadcasting, which enables tracking again.

[1] under polish law, majority [2] of uses of received broadcast/shared public medium signal, is automatically legal. The only provision of privacy is encryption of said signal, because it's treated like shouting the information in public space.

Bypassing encryption is what turns it into unlawful violation of privacy.

[2] for historical reasons there's a mess involving radio&TV tax which was supposed to be paid per receiver, a bit like UK TV license.
It sounds like a terrible place to work. I will choose 5-day WFH over 4-day in open-plan office without hesitating for a second.
Supermaven has a $10/month subscription which covers unlimited use of the in editor code autocomplete stuff.

It also has a pay as you go chat which is integrated into the IDE w/ hotkeys, however the above subscription gives you $5 free credits for it a month. This doesn't call their own model but stuff like gpt-4o which is presumably why they don't offer unlimited free usage.
The title is a little bit dishonest, because they are optimizing their own bignum library.
Working from the office gets more useful when more people do it, because of easier communication with teammates, so mandates can absolutely make the work environment better for someone who wants to work in the office.
NCCL is open source and permissively licensed.
>I recently saw a literacy product aimed at parents, and which costs $50/month. They justify their pricing based on its substitutes being a tutor or private school tuition.

There's a software startup aimed at teaching 3-5 year olds reading called Mentava that charges parents $500/month (not a typo). And there are plenty of online tutoring services for kids at the $200/month level.

I think educational software aimed at parents has traditionally priced themselves too low, hampering the development of what's possible.
I think it's needlessly complex if you have to write resolvers by hand.

I essentially only do that for mutations, and they are no more complex than writing POST handlers.

Essentially all the rest is schema-first and it's _so_ quick and simple.

https://lighthouse-php.com
The author seems to be under the impression that classes didn't exist before OO. Of course they have always been used to describe broad groups of things and in that context their use in CSS is perfectly consistent.
Is making things accessible bad?
The broader point with all this is every field comes up with jargon because it's a form of compression rather than repeating the same phrases again and again. The differences between what you've written there and how they've been used in the teams I've been in are the point here. Instead of saying "manhours but with a conversion factor that we figure out over time and an understanding of the variation" you say "story points".

Story points aren't hours. People are really bad at estimating with time, but they're much better if you just get them to compare things and say which one seems like it'll take longer.

Stories aren't tasks, either. A task is a single unit of work that you can do and complete. Stories are groups of things that solve a particular problem.

For example, adding a password reset is a story. But that might be distinct tasks that different people can take on, or should be coded and released independently. Maybe that requires setting up an email service or server, UI changes in the frontend, backend changes, is there design that needs doing for it, etc.

> Subtask = sprint

Sprint is a bit of a weird one sure but it's a short length of time. Different for different teams, typically 1-4 weeks.

> Upcoming tasks = backlog

Backlog isn't a very custom term here is it? Also it's not the upcoming tasks, it's things that probably should be done but not right now. New idea? New feature? Cool, backlog, doesn't interrupt the current set of work for the next couple of weeks.

Every field can do this with every other field. Doctors with their fancy words like anterior, why don't they just say "the bit at the front"?

I know there can be cringey project managers, yes. On the other hand, I've also seen highly skilled engineers scoff at these kinds of things then spend way too long building stuff that doesn't actually address what the user needs, misses out key parts because they never thought about who was actually tracking those ancillary pieces of work and making sure they're done, and fail to deliver.

Oh and finally if someone wants to come along and say "well we did it differently", if that worked for you then great! The classic point of agile was that you should try things and keep what works. None of these concepts are particularly complex imo.
I don't understand how "<div class="Card" data-size="big"></div>" is better than just <div class="Card big">, then using a .card.big selector?

The article just says "but this can cause specificity issues, which can create problems further down the line" to move the same thing into attributes rather than just use the thing for what it was designed for there has to be a good reason.
I also hate WFH and go in every day even though my company allows full WFH, but RTO mandates suck. The WFH option means the only people who come in, are the people who want to be there. It makes the experience much more pleasant (and less crowded!). I think it'd be nice if more people chose to come in, and I support making changes so more people choose to do that (travel compensation, free child care, more private offices & cubes). But a mandate only makes it worse for everyone.
Website is hard to read on mobile. There is a large column on the left for very little information (the service name), then the details are squashed at no more than a couple of words per line. Zooming in makes the grade emoji disappear.
I believe most managers think employees are more likely to slack at home. And I do feel in many cases this feeling is justified (though of course people can also slack on the job).

Though, I do know for myself I am very productive at home. So, I personally will avoid working from some office. I prefer to manage my own time and also be flexible in how I divide time in my day. I also don't feel energized by working with many colleagues (as an introvert, it's quite the opposite for me, actually).
Axiomatic by Greg Egan
It's not recommended though.

See https://openjdk.org/jeps/429

If you keep ThreadLocal variables, they get inherited by child Threads. If you make many thousands of them, the memory footprint becomes completely unacceptable. If the memory used by ThreadLocal variables is large, it also makes it more expensive to create new Threads (virtual or not), so you lose most advantages of Virtual Threads by doing that.
Hey @robin_reala, thank you for posting the article!

P. S. I’m one of the developers of OKLCH-based products like oklch.com and the Harmony accessible UI palette. I’d be happy to answer any questions about using OKLCH in real-world projects.
Trump says Taiwan should pay the U.S. for defense
That "static image" is actually the game screen. If you had arrow keys on your iPhone, you could make it dynamic.
A sad day for small businesses and software developers.
Real question: I see a lot of YouTube videos bragging about "leoparding" (spots on the bottom). Does it really matter? My point: Can you cook a pizza that tastes just as good _without_ "leoparding"?

> My setup at home is a 20kg pizza steel and pre-heat it in the oven at max temp for at least 1 hour.

Sheesh. This is my second complaint about endless YouTube videos about the "perfect pizza at home": What is the carbon footprint per pizza? (Exception: I can forgive anyone who has a magical setup that is 100% electric and has solar panels / wind turbines to supply it! Also: Hat tip to any of the crazies that are producing their own green hydrogen at home via electrolysis for their hydrogen-gas-fired pizza oven!)
Damn this gather.town looks ridiculously cool. I'd apply for jobs advertising this just to experience it.
Real threads don't suck but they pay a price for generality. The kernel doesn't know what software you're going to run, and there's no standards for how that software might use the stack. So the kernel can't optimize by making any assumptions.

Virtual threads are less general than kernel threads. If you use a virtual thread to call out of the JVM you lose their benefits, because the JVM becomes like the kernel and can't make any assumptions about the stack.

But if you are running code controlled by the JVM, then it becomes possible to do optimizations (mostly stack related) that otherwise can't be done, because the GC and the compiler and the threads runtime are all developed together and work together.

Specifically, what HotSpot can do moving stack frames to and from the heap very fast, which interacts better with the GC. For instance if a virtual thread resumes, iterates in a loop and suspends again, then the stack frames are never copied out of the heap onto the kernel stack at all. Hotspot can incrementally "pages" stack frames out of the heap. Additionally, the storage space used for a suspended virtual thread stack is a lot smaller than a suspended kernel stack because a lot of administrative goop doesn't need to be saved at all.
This has been my experience with remote working in general (not specifically gather town). I've interacted with more people since remote working, including those in other offices, clients etc. It's been a massive boost to the amount of contact I've had. I can go on webcam as much as I want too, without it being an issue like in an open office.
The fact that GitLab continues to serve them tells me that they are more likely, than not, to be contributing to the bottom line.
How is using markup filled with data-attributes better than "messy" atomic CSS? I don't see how this is an improvement over simply using classes. Maybe it's just me.
July 17th is World Emoji Day
Yes, if you're happy with the reactive frameworks there's no reason to migrate.
Most people, however, would love to remove their complexities from their code bases. Virtual Threads are much, much easier to program with. There's downsides, like not being able to easily limit concurrency, having to implement your own timeout mechanisms etc. but that will probably be provided by a common lib sooner or later which hopefully provides identical features to reactive frameworks, while being much, much simpler.
Looking for work after traumatic injury
Hey HN,

A few years ago I was impaled in a climbing accident - I fell 20 feet straight onto a 3" PVC pipe (https://publications.americanalpineclub.org/articles/13201216284). I couldn't walk or take care of myself for most of a year, and the recovery was extremely difficult. A fantastic 15+ year systems development career to came to an abrupt halt after my company was acquired while I was on medical leave, and I found myself without work to return to. Shortly after, I separated from my partner of 20 years, giving her and my son our family home and opting to stay for a while alone in a Dodge Ram van. Unfortunately my van was stolen at gunpoint, along with everything I owned, and I have been homeless on the streets of Tacoma, WA for the past 2 years.

I'm mentally and physically ready to get back to work, but it is difficult navigating this challenge without a computer or a roof over my head. I'm an adept hacker, having won a black badge in CTF at Defcon. I specialize in build and release automation, and am comfortable wearing any hat as long as I am writing code.

I'm hoping for advice, help, or maybe even an interview or contract offer from someone in a position to offer me a chance. I'm a tenacious, thoughtful and creative developer that excels at solving intractable problems and quickly resolving critical issues.

I still try to read HN every day, write code, and stay up on the latest and greatest tech. Walking is still a challenge, but the rest of me works just fine. Please let me know if you have any help or advice to offer. Thanks kindly.

Brandon
digiphilo@gmail.com
> There are broader implications for the economy if a large percentage of people continue to WFH. In larger cities, many smaller businesses, like food outlets, are sustained by workers coming to their city offices most weekdays.

The opposite is true as well. Many (likely more) small businesses have gone bankrupt because of people concentrating to other locations due to urbanization.
Real estate costs to 0, variable costs including electricity, heating, cooling to 0, health and safety, workplace insurance, cleaning, catering, security and other cost centre's all gone.

It's a beancounting optimisers wet dream.
On of my neighbors SSID used to be some bad words towards people working in IT. I think he got some bad experience with his ISP support.
Not worth the cost. If I want to talk to someone I'll screen share, it's better than going to their desk anyway.
We know that saturated fats are bad for the same reasons we know trans fats are bad but that doesn’t stop people from eating butter. But yeah, it’s very easy to make people scared of novel food. Though we know much more about nutrition than we did when trans fats were thought to be better than butter. But that doesn’t let butter off the hook just because there’s something worse than it.
So close. I have always hoped for an edit in markdown (or limited formatting) mode.
Importance of Secure Development in the Generative AI Adoption Era
BTW Bag of words models were once considered ML not too long ago.
This is great feedback, I'll strongly consider updating the description to help people make this decision faster.

Would love to get your feedback on this description, is it clear? what is missing:

Hoop.dev keeps sensitive data safe and checks important changes to make sure they're done right. It hides sensitive data in databases automatically and turns repeated tasks into easy, automatic ones. It also helps teams fix problems quickly by connecting with chat tools like Slack and MS Teams.
Great follow-up. Thanks! I never saw anyone comment like this: "you have much less tolerance for error". That is the key to understanding Ooni vs kitchen oven. Brilliant.

Have you tried Adam Ragusea's NYC pizza recipe? He gives a lot of sensible advice about how to get a great pie from a shitty kitchen oven!
It depends.

Many global open source development projects are very, very, successful. There's no office there.

If anything, a fully remote set of developers should encourage a significant uplift in information transfer via design and documentation.

Walking across the office and asking 'the guru' how X works, means there's little incentive to share that knowledge, simplify the code, and document it.

And that's a problem that has existed in most companies forever.

"Juniors" should be self-starters, and the 'interaction' is often and frequent code reviews.
> The next 4 years of Trump

If he gets re-elected, it might not be only 4 years.
The whole point of this discussion is that decisions based on somebody's opinions but applied to everybody give poor results. In this case, if you forced "office Mondays", you would lose several seniors. The question is, is the net result worth it? You can be convinced it is, but without hard data it's meaningless.

(I work for an international corporation and we have hybrid meetings once a year but it never works 100% in person because people work from different continents, it would make no sense.)
All the skilled workers that leave, go to somewhere else. Those places improve. It's not all downward.
I worked for a few weeks in a company where coming to office was mandatory. Given the job we were doing, it didn't make sense.
Until I learned that the boss was owning the building personally and was renting it to the company.
Seen this way, it was much clearer why they wanted to have people in, instead of downsizing or just not having offices at all.
I doubt most CEOs have ulterior motives other than just wanting things to go back to “normal”. People generally don’t like change.
> Schools, (K-12, Univ)

Didn't Apple make a great deal of their revenue in the early days (1976-1985) by selling to schools? I seem to recall that schools were their main focus. A $3000 Apple II in 1980 would be $12,000 in today's money, and schools often bought many units. Is Karpathy's product really that different from an Apple Computer in how it would be marketed to schools?
> Now your design system team is tasked (or burdens other engineering teams) with orchestrating all of this tooling.

Design system team? I'd like to have that problem.
My job involves 60% writing software and 40% testing with hardware. I work about 5% of my days from home, when I’m sick or have other obligations.

I don’t have the space, time or incentive to set up a home office in the place I live. This unfortunately means all the stuff around me become distractions. I find it harder to sustain long work sessions at home.

I miss having quick chats with coworkers by their desk. Sometimes I hit an issue and all I need is a 30-second talk with the dev 2 aisles over. And it’s mutual: I find these quick chats great for helping folks out and keeping myself in the loop. Instant messaging is not an adequate substitute.

And lastly this is tied to my work and company policies but usually I can only access test hardware at the office, due to logistics or confidentiality.
> Conceptually you could think of these as classical inheritance (so class Card extends Div) - inherit the semantics and base styles of div while making a re-usable style for a Card class.

You could, but you’d be wrong. The CSS selector specificity algorithm has nothing in common with OO inheritance, and classes are only one of many equivalent ways to interact with that algorithm.
Frankly, this just gives more reasons to switch.
Erlang, not Go, should be the obvious choice for concurrency, but it's impossible to retrofit Erlang's concurrency onto existing systems.
If you're interested in even more details you could also have a look at Tom's book about bignum arithmetics. C.f. third paragraph of https://github.com/libtom/libtommath#summary

The library evolved since then, so the algorithm documentation only exists in code nowadays.

FTR I'm involved in the project as maintainer.
It’s a game changer for me, always an office available for myself or a meeting, async check if someone is available in its office or is in a meeting, when you move into someone’s office the camera and mic shows up (if activated) and cuts of when leaving the office.
I wasn’t sure at first but it really gives a feeling of a real office and works great. I prefer it to coming at a real office, more convenient and no 3D gives a nice light sensation
afaik uBlock wouldn't be able to block these in most scenarios since the resource requests look like any other. ublock is still based on huge lists
The explanation in that first video is more interesting to me than all of the Shakespeare I was ever taught in school.
Stationary Steam Engines in Puerto Rico and the U.S. Virgin Islands
Increasingly, steel is being produced from steel. 70% of the steel production in the US is recycling of scrap. When fossil fuel use declines the massive quantity of steel in that infrastructure, particularly pipelines, will become available.
That doesn't make much sense though, I'm sure a lot of people would happily WFH for less pay than if they have to commute, spend all day in a noisy open office, etc.
Is Arm more efficient than x86?
presumably because it's saturated with a monoculture, and the hope (rightly or wrongly), some of the other roads might lead to some alternative breakthrough.
That was the idea. You give them a copy of your actual DB, which is held up-to-date on a best-effort basis. If they break it, or it is too slow, it's on them.

When it comes to changes of the DB schema, you must inform them but they ultimately act as conformists rather than having a Consumer/Producer relationship (which is the only way GraphQL can work imho).
If you don't need to write resolvers by hand, from experience I can tell you writing an OpenAPI over an ORM/ODM is trivial and will accomplish the same end. It's schema-first and quick and simple (it's as simple as defining the schema in your ORM library, your generator will handle the rest)

If you do need them, as you said it's going to be complex either way.
Perjury prosecution is relatively rare in both the US and the UK.

Take from that whatever you will.
If this news elicits such a strong reaction as this, it makes me wonder why you are even using Gitlab right now, if there is even any likelyhood of such an outcome?
Sounds like a call to return to the days of <P ALIGN="LEFT">.

I occasionally use attribute selectors - really useful when you have crazy requirements like "Here's a table with rows having generated data-index attributes. Make the background of each[0] prime-indexed row blueish".

For other uses classes are quite simply shorter.

Also, if I have to write a lot of CSS then either:

-The stakeholders insist on an "unique look", in which case kill me.

-I'm making a component framework of sorts. If it's an internal project, also kill me.

[0] well, not "each". Just the first 100 or so. Users don't read long lists anyway.