skysight-inc/HackerNews huggingface dataset:
> Even so, I wonder what advantages Java has, that makes using it in that environment so overwhelmingly compelling over other languages.

Presumably not the whole thing needs to be that fast, only the part that actually handles the individual events. Java has the advantage of being an industry standard, or at least being very common in the financial sector.

So you can work in a single language while only having to write some un-idiomatic Java in places where performance is critical.
Are the apps really at fault here? It's it possible that some men had an inflated sense of self-worth, and the apps are just providing a reality check?
I've been working remotely for 4 years and will likely never go back to the office if I can help it. That being said let me be the devil's advocate and say that if I owned a large company I would likely fight against remote work.

While a minority of workers thrive remotely and they have the results to show for it, this is clearly not the case in general. Lots of people can't focus from home and lots still simply take advantage to slack as much as possible. These things are from the horse's mouth.

In person social pressure pushes people to work more. It's too hard and too expensive to measure performance per person, I mean we have regular threads about that. And even if you could measure you can not act because you can't fire most people and neither can you discriminate who is allowed remote and who isn't.

Overall I think it is more honest to frame this as a conflict of interest (in a lot of cases) between employer and employee, and not as right vs wrong.
The past 3 times I have tried to use tinder, I was left thinking it's just a front for onlyfans, sex workers and scammers. Profiles would either have 'onlyfans $name' or 'of $name' or 'I don't use this app much here's my Instagram'. But when you opened up their insta profile first line in their about me section was a onlyfans link. Sprinkle in some gift card scammers, sex workers, not being good looking and huge anxiety problems and I was left disappointed and frustrated every time. If I reported profiles it would just show them later on and not block them. So I would always report them again and again.

I would always play along with the scammers. Mostly out of curiosity and bordem. I would practice my osint skills. And try to report domains for abuse.
With a static page generator, the file is still on disk. You've got a read cache for the disk, but that's not entirely reliable.
No objection here. It's not one or the other; it's both.
I think saying that physical activity accounts for the differences in weight isn't supported by the evidence. I mean, surely if eating pure honey for half your calories but exercising a bunch led to good health outcomes and lower weight, we'd see people losing weight by exercising without dieting. We don't see that.

Similarly, look at their article on obesity in different professions - it does not align with who does the most physical labor. Rather, certain professions with high levels of exposure to endocrine disruptions are the most obese on average.
I'm not an emacs user, but it's interesting to look at the sort of changes going into a program that was originally written in 1981 (Gosling Emacs, the basis for Stallman's Emacs).

There's not many other programs that are in a similar place of very old + still in widespread use + still seeing regular feature development.

The impacts of what sort of design decisions linger on, and for how long? What change is born out of the program itself vs. having to adapt to changes in the environment? What's more likely to result in defect counts going up again? All sorts of interesting data points re lifecycle ...
> it's poor people who eat more calories now, not rich people

That's my point; if you look at a map of obesity rates in the US overlaid with a map of poverty, there's a very strong correlation.

The cheap access to calories today makes it easier to overconsume. In the past, the high cost of calories meant that only the wealthy could really ever become obese (outside of genetic factors).
I thought this article was going to cite plastic as being the container of choice for most of the ultra processed junk that supermarkets are selling and we shouldn't be eating.
I have a 3950X and a 5950X. I thought it was the other components at first but then someone pointed me to the official Ryzem master software. It shows CPU package power, which has a persistently high floor consumption. Idle temps are also higher on the same cooler. It’s a well-known phenomenon on the forums when I searched.
Mozilla market share and lack of income begs to differ. They will be broke in less than 10 years, and either dissolve or reskin chromium. Browsers are now mobile tools, that's where the users and money is.
I'm very curious, in all of these cases, what the replacement will be and even if there will be a replacement.

I mentioned that to my wife (we're Canadian), and her response was why do we even need a head of state if we have a Prime Minister? And I'll be honest, I didn't have an answer.
I used it entirely during the time it was owned by Match.com

It may degrade from here but they didn’t immediately mess it up.
As a non-diabetic (though demonstrably insulin resistant and leptin resistant), I've found metformin's gastro side effects and impact on blood glucose levels to be annoyingly unpredictable. Metformin also causes a noticeable drop in testosterone that can be especially counterproductive for men if weight loss/maintenance is a goal and one already has relatively low baseline testosterone levels.
If we required it as a matter of law I hope that my property interest in the actual hardware combined with a statute outweighs those licensing deals.
For those confused like me, this conversation is about US circuits. On a typical European 230V 16A circuit, it's not a problem.
> the important thing about destructors is that you know where to find them

The problem isn't that programmers have trouble finding a destructor. The problem is it's not apparent looking at any snippet of C++ code which objects have destructors running additional cleanup logic or other extra code without looking up each class declaration and verifying.

I believe Odin is trying to solve this by forcing the programmer to make this code explicit, but reduce the number of footguns by allowing the programmer to keep the initialization and free close to each other.
Ask HN: Okay, so finally I have decided to go with CouchDB. Any advi[C|s]e?
I was looking for a database for my side project.

I wanted the following from the DB:

0. Support for malleable schema and data i.e being able to change frequently (as I am not entirely sure on the complete requirements from the get go, I wanted the DB to be easily adaptable to requirement changes)

1. Support for scalable near real-time change notifications/feeds.

2. Support for scalability and high-availability, when required, without having to manage multiple moving parts.

3. Does not have to depend on "third-party language driver" to use the DB from a chosen language.

4. Open source and free.

CouchDB ticked all the boxes. Is there any other DB that I could evaluate that is a better option than CouchDB?
No doubt that's a significant problem for you and others like you.

But then how do we reconcile your requirements with those of others, especially when their requirements differ significantly from yours?

The usual answer is to base this on a democratic decision. Either way, the minority loses out.

On that point, my comments to this story turned out to be provocative but that definitely wasn't my original intention. Nevertheless, what has been very informative has been the voting on my comments, they've oscillated continually but on average they've ended up pretty close to neutral.

This tells me that strongly opposing views are held in relatively equal numbers across the population and other surveys seem to indicate this depending on country, location etc. That said, the opponents of DST seem to be making a stronger pushing politically at the moment (fashions change, where I am DST was overwhelming supported when first introduced and it still has relatively strong support although its opponents are more vocal nowadays).

As a person who doesn't care one way or other, it seems I'm part of a rather small minority.
We bought a Roomba early this year and the factor that tipped the scales towards iRobot over others was that they still sell parts for the original Roomba, which suggested we could count on being able to repair ours well into the future. If Amazon changes that, I'll be ticked.
fn reticulate2(splines2: anytype) void {}

The compiler would ducktype splines2 and everything would work fine.
It's great that this Browser is now independently developed from Serenity OS. But I'm not a huge fan of the QT dependency. You might as well use Qt WebEngine Widgets at this point.
As someone who has been and still is working on one of my own for many years now (and at this point it's far even from his efforts), I think having the time to do it is the biggest challenge.
yeah, that's why I only surf the internet using the ??? browser
Directly. It stimulates insulin release from the pacreas.
I don't think there is anything else more illogical in modern society than waking up in building A, hopping in a car and fighting traffic for an hour to get to building B just to sit in front of a computer for 8 hours (perhaps with a few minimally productive meetings here and there), then commute back to building A 8 hours later. Building B sits empty for 16 hours a day while Building A sits empty for 10 with both being temperature controlled for 24 hours. The employee wastes 2 of their 16 available waking hours in the non-productive commute while incurring significant financial costs (lease/insurance/fuel/energy) in order to support this patently absurd activity. Similarly the employer wastes time and energy negotiating leases, re-arranging offices, purchasing AV equipment for meeting rooms in building B, etc.,etc., in addition to paying the likely enormously expensive lease itself. The impacts on the environment, the number of hours of human life wasted in commute, the pointless buildings and associated costs to employers as well as the public infrastructure to support it (roads, trains, busses, etc.) are all incredibly wasteful. Surely, all of this could only be justified if physical presence had a dramatic impact on productivity. Yet, we cannot tell one way or the other if it actually improves outcomes.
Would anything of value be lost if it didn't? I cannot find it in me to cling to shopping malls.
Not them, but I would hope the messages are better than "WIP" and expose context vs a commit that simply says 'Implemented X feature". I usually leave those for a tag.
What if the reality is that a large chunk of the population is just incompetent/lazy and performs better in an office environment where they are being watched?
Interesting. You can also have emojis in URLS apparently. (rolled up newspaper emoji).fm, for example.
What a low effort comment - as if burgers and cheese and big ole pieces of meat didn't exist before plastics? HN's comments are supposed to make the conversation more interesting and more engaging.
So something else I wonder. Over the last 50-90 years we've selectively bred our entire food chain to prioritize rapid growth, then pack it full of growth hormones to accelerate this.

My dad decided to raise chickens back in the 80's. The broiler hens grew so fast that they broke their legs, and this was when fed on our kitchen waste (i.e. no growth hormones).

I do wonder how much of this spills over into human obesity; if everything you eat comes from a plant or animal which is hyperoptimizing for unhealthy growth rates, what does that do to the human body?

And if you are looking for a biological mechanism, it might be related to epigenetics. Not saying it is so, but am saying that a biological link is not a-priori impossible.
In the Netherlands there are tax breaks for home improvement such as this. Building codes have kept up though, I don't think I've seen new construction (or old) elsewhere with better insulation.

I wonder why so much housing stock is so old in Britain though. I guess we tear more stuff down.
Bit late to the party, but there's no visual distinction between visited and unvisited links - is that by design?
On the flip side, if everyone is working from home with the heating and lights on, cooking their own lunch, then energy usage is much less efficient than having everyone in the same building eating lunch in the cafeteria.

I have no idea whether this outweighs the environmental benefit of having fewer cars on the road - just saying that you need to consider all the trade-offs.
On the one hand, sure, you can probably squeeze some cycle or two out of buffering everything in memory. Even though your disk read is a memory read in all likelihood given how filesystem caching works, it's still an IO call, which isn't free.

Keeping everything in user space buffers might just be faster.

On the other hand, you're sending that sucker over network, and what you save doing this is most likely best counted in microseconds/request. It's piss in the ocean compared to the delay introduced even over a local network.
> Try different paths until someone stumbles on the One True Way™.

I'm aware there isn't a perfect solution (because of Rice Theorem). But we don't need perfect, we need better than status quo (C).

> Plus, `if (a=4)` will emit a compiler warning

It's still a step down. What is better than a compiler warning that people can ignore? Prohibiting the syntax altogether.

> goto error;

This is another example of a famous chain-footgun. Most langs eschew use of goto even if it allows more flows than plain old for/while loops.
Meaning? I can video anyone and be filmed by anyone (which I am against outside crimes in actual progress) except if it’s my underage kids having fun splattering around in the pool, I go to jail for kiddy porn in the US even though that’s normal here? It’s not sexual and all parents do it here to remember the good times. Different definitions of freedom. More (innocent) people in prison (also on pre trial) than anywhere else also seems not freedom to me. Having to carry a gun to protect myself also seems further away from freedom even though that seems to be the ultimate idea of freedom for some over there. With cheap AI involved, most things with cameras seems really the opposite of freedom to me. We create a virtual prison where we are tracked by 1000s of cameras (on phones or buildings) and we can only get out by going into the jungle or desert.

I don’t want to be filmed or photographed by anyone in public or private and I get most stuff kicked off social media easily because the data protection laws of the EU, which I like, if I did not give consent; but I am against that it is illegal in some countries to record the police. They need to be held accountable. I like it very much that the streets here are not littered (there are 0 where I live) with cams ‘against terrorism’ or what not; that is more important freedom for me.
"King Charles III had just taken the throne last week when one Caribbean leader floated the idea of doing away with the British monarch as his country's head of state."

This is sloppy reporting.

Browne has previously made clear his intention to do what Barbados did and hold a referendum to get rid of the British monarch as ceremonial head of state if and when wins another term. He was asked by the press at the accession ceremony whether he still intended to do that and responded, "yes, probably within three years but not right now".

Is that really "floating the idea"? It sounds like he's confirming what had always been his platform.

I mean, what would they expect him to say? "I was going to but I like Charles so much that I've changed my mind"?
It’s telling that you aren’t mentioning why they were unavailable? I’m certain you found out. Catch them on their lunch hour? While they were handling an emergency with family? Taking a mental health break from tech? Internet outage?

Also, why is there only one employee able to fix the issue?
I can't say there's anything wrong with what the author states. It all rings true. But when I read these articles I constantly detect a theme of "one size fits all" or "this works for me". For some companies, remote works fine, for some, its a partial failure (or even worse).

If you have teams that are mature, and have solid interpersonal relationships, remote can be a boon to productivity. But, you need to have defined workflows and protocols for getting things done. If you don't have that, being remote exacerbates the problem of bringing things to completion. I'd also say that if you're a manager and your team can't get stuff done remotely, you are failing as a manager.

Conversely, if you have younger (not in age but company tenure) teams, you may need that in-person time to build the relationships and workflows. There's nothing wrong with that, and as a manager you should codify them ASAP so they can be taught and learned by new hires.

When it comes to remote work YMMV. I'd actually like to see someone do an in-depth study of this and quantify the performance of many companies that WFH/Hybrid/Office and find out what the actual performance numbers are. I'd then like to see some research into best practices about how to create teams that thrive WFH and also what makes them fail at WFH.

It's a new world folks, it's probably going to take some time to suss this all out. And until that happens, I'm going to enjoy the 2 days per week I work from home.
Many republics have a president who is formally appointed, does not have any direct political power, and who often no one has heard of.

France and the United States are the notable exceptions where the president is more important than the prime minister.
You only need to take care of object allocation count for hot paths. You can still use java "best practices" for everything around that (if they are what you want)
Relying on people to magically solve tragedy of the commons by themselves never works.
The Chrome or Firefox Browser where literal billions of dollars and hundreds of developers work to ensure the worst fuck ups that follow from being written in C++ are mitigated.
> they translate “500 GB of HD videos” into “1,200 minutes of video content”

Where does it say this? I can't find it.
No one is owed a remote job. Unfortunately, if you work for the state, it is highly likely you don't have the skills and leverage to force the issue as most of the positions are just supporting some sort of bureaucracy and fundamentally have to exist because a lobbyist at one point got a law passed. State jobs, like it or not, are often effectively just political appointments.

Also keep in mind that you can't fire or terminate anyone, ever, in the state, so there's also a chance leadership feels this is the first time they can turnover roles that aren't doing much or meeting their goals. That's a very rare opportunity. If you think "rest-and-vest" is bad in tech, you ain't seen anything when it comes to government. Imagine jobs where no one has accomplished anything in a decade or more.

Of course you immediately jump to some sort of conspiracy though.
Unacceptable performance costs are pretty contextual though. Plenty of code becomes a unidiomatic if you have to avoid a malloc() or new at all costs for example.

HFT folks in any language tend to break idioms to wring every cycle they can out of a machine. I'd bet you'd be faster in well tuned C++ code, but why not asm then?
Justifying the off-the-shelves TDP of new GPUs/CPUs by saying it's still lower than what overclockers reach is the same as saying a car doing 50L/100KM is completely fine because an M1 Abraham uses 2000L/100KM offroad.
Website title: My Blog is Hilariously Overengineered to the Point People Think it's a Static Site

Seeing the initial comments here I think it would be better to go with the original title.
I would very much use this browser for everything if I could, just to be different.

That said, I'd prefer if they had used plain C, which is even more portable.
“The only thing known to go faster than ordinary light is monarchy, according to the philosopher Ly Tin Wheedle. He reasoned like this: you can't have more than one king, and tradition demands that there is no gap between kings, so when a king dies the succession must therefore pass to the heir instantaneously. Presumably, he said, there must be some elementary particles -- kingons, or possibly queons -- that do this job, but of course succession sometimes fails if, in mid-flight, they strike an anti-particle, or republicon. His ambitious plans to use his discovery to send messages, involving the careful torturing of a small king in order to modulate the signal, were never fully expanded because, at that point, the bar closed.”

― Terry Pratchett, Mort
It’s fanatstic how quickly these models can be shared with anyone.
https://madlib.apache.org/

https://docs.timescale.com/timescaledb/latest/how-to-guides/...

https://duckdb.org/2022/05/04/friendlier-sql.html

It's a shame that so many people regard SQL using the reference SQL92 spec when in fact that it is continually evolving and improving like any other language still in use.
> three-button-mouse heavy sam/acme

Acme is great. I haven't been able to find another editor that integrates as tightly with the operating system. The closest I've gotten is Kakoune. And I wish mouse chording were a thing more generally. If we're going to use mice, we should optimize their utility.
1) Okay, but...

2) Why? There are plenty of blogs walking you through how to use FFMPEG to generate multibitrate HLS packages. I get faster than realtime encoding making 5 different bitrates.

2->1) Now you're only storing the highly compressed versions instead of the original (at whatever compression chosen for that)
Last week I went into the office for the second time since February 2020, and I said one of the things on bad-mock list: "You cant whiteboard over zoom" as a cohort and I scribbled gleefully over the four 6x10 foot whiteboards facing inwards for three hours straight.

This isn't a complaint, it's a question - what are people using for remote whiteboarding? I won't say what my os/meeting software so as to keep any responses somewhat general. Thanks, though, I know people must be doing something better than what I have run into.
Modern air coolers are extremely performant. The popular Noctua NH-D15 can handle these TDPs and more without problem, and has been available for years.
The borrow checker is much less strict if the data only lives inside your skull. Much harder to mutably borrow.
Show HN: A new JSON deep diff tool
The AI Unbundling
Cheated twice, not was banned twice.
People focus too much on Google Chrome, and when they read "Open Source Browser" they instantly think of competing with Chrome.

Google Chrome is a product. But a new browser doesn't have to be a product. And doesn't have to compete with Chrome.

Linux as a project wasn't created to compete with other Unixes. And it wasn't deemed a failure when it lacked features compared to them 20 years ago
The machine learning element isn't really needed if the instagram posts are tagged by date/time...
Note that there are two variables for running the simulation:

t - duration of simulation for each individual particle

N - number of simulated particles

I believe if you leave t fixed, and then increase the size of the grid, then yeah, the number of simulated particles you need probably increase exponentially (or worse) for finding one that reaches the exit.

But you probably want to increase t with the grid size as well, and I think that would mitigate this to be less bad than exponential. This is basically diffusion, and characteristic distance travelled by diffusion is proportional to sqrt(t).