skysight-inc/HackerNews huggingface dataset:
Yeah, you should see the Canada.ca design system[0]. It's ultra-boring, but it works, and has been the same for a very long time (and I'd be happy if it doesn't change much at all). Having such a simple design standard makes it so I can hit the website of any government service and understand how to "parse" the site and find my way around. I never have to relearn a totally new design language and information architecture, which is huge for me, as I cannot stand having to "re-learn" sites every couple years!

[0] https://design.canada.ca/
And batteries impact both of those markets.

For EVs, it's obvious.

For power generation, battery technology lets us shift from coal and gas powered plants to more solar, wind, geothermal, etc... and then store that energy for when it is useful at a time when the supply from the primary energy source may not be producing but the demand is still there.

Batteries can help make fundamental changes in both of those key pieces of the economy.
Agreed. I don't care how loud the dishwasher is. It runs at night and it's in the kitchen not the bedroom.
I see that, too. Info about the company is sparse, short of buying a DNB report.

The company address, 18529 East Gale Ave City of Industry, CA 91748, US, is a warehouse. They're not manufacturing there. They left the overhead door open and Google Earth shows the inside. It's all cartons and pallets.
How AI could help detect wildfires earlier
As it applies to RISC-V, you'll want to get started by looking at the privileged ISA spec, the SBI spec and the platform spec.
Pure capitalism leaves no incentive to protect the environment.
So how do you think we should avoid all the costs and realize the benefits? The costs are enormous. How do we handle massive food production loss, migrations, flooding, etc.?

Our civilization was built for the climate as it has been for 10,000 years. Do we just toss out much of that capital? Who will pay for it?
The helium is one of the lowest cost parts of an MRI machine.

There is a big heavy spinning magnet that spins around your whole body at like 50 rpm. It's not an easy thing to make.
Some of the trickiness that comes from HFT and adjacent things like this is you can be working on tremendously powerful hardware but still be miserly about bits because every extra byte you have to cram into a packet is extra latency. The HFT firm I worked for would "re-use flags" in the sense that each packet literally had an 8-bit section called "flags" (and further down in the message, another 8 bit section called flags2 because of course) and each bit in there was a Boolean that could be on or off - a flag. So we weren't reusing flags as much as we were re-allocating what a high bit at that index in flags meant.

We were very conscious of this kind of error though and we managed them like Scrooge counting his farthings.
Over the years I have realized that some comments are
needed and useful. These days I add comments when there
is something particularly tricky, either with the
implementation, or in the domain.

Ah, yes. Another convert. There are dozens of us. Dozens!!

Nothing makes me feel crazier than trying to get fellow engineers to comment their code. Code alone can only tell you the "what." If the "why" is not obvious, comment it.

Unit testing private methods.

I am always dismayed by engineers who vote a hard and unyielding "no" on this issue.

I guess ideally your private methods should not be tested directly. If you work at an ideal shop doing ideal things under ideal conditions, please let me know if you are hiring.

In all or most of these cases the tests for private code will hopefully be somewhat temporary; perhaps think of them as scaffolding used during construction or renovation.

- For example, perhaps you have a good reason to write the private methods first and you would like to make sure they are sound before proceeding.

- Perhaps you have a division of labor due to a time crunch and you are writing the private methods while somebody simultaneously writes the public methods.

- Perhaps you are encountering some thorny preexisting code with no test coverage and you would like to just make sure things work.

- Perhaps the public methods are undergoing a lot of flux and you would like to make sure the private methods do not suffer regressions during this flux

- Sometimes it's just easier to test private methods directly rather than indirectly via a public interface. Maybe this is a code smell, but also maybe you don't have time for a full refactor.
There are low temperature dishwashers that sanitize with a sanitizing solution (generally chlorine based) and high temperature dishwashers that sanitize with heat.

If I ran a restaurant, I would go with high temp to avoid residual chlorine taste. And I would skip the rinse aid, thank you very much.
A bit late but my desk is a sit-stand-race desk. I built a "wall" from an old 2x8 attached to an electric sit-stand desk and mounted a telescoping TV mount to it. When I want to play racing games, I extend the monitor out to the edge of the desk and position my racing cockpit right under it.
Same, we knew of it as the Knightmare too.
How about another response: Do something about it. You're not a spectator; it's in your hands.
I used to be ambivalent about Edge. It actually has some nice integrated features I would normally need (slow) addons for, and better integration in Windows features (like better DRM for video streaming).

I even used it in linux some.

...But I just recently tested it on a brand new Windows desktop, and I can't believe how slow and spammy it feels out-of-the-box compared to Thorium/Chromite now.
Show HN: Slotmachine, to book and free server ports at scale
This is a very specialized Go library and, frankly, somewhat of a straw man: I've found myself needing to quickly assign ports on servers with a high density of highly ephemeral inbound/outbound connections where the protocol relies on a specific port number. Obviously, running sequentially through a list of ports until I find one I have not already allocated does not perform very well.

I was surprised when I did not find anything already addressing this need. So, this is the straw man part: surely I missed it!

Anyway, should you ever need something like that... here it is.
There was a time I used to think I was doing my part by recycling. I did not know then, this stuff gets ship overseas to be dumped, or that it often gets burned. Or that the ethics of recycling was a result of clever marketing by the corps involved to shift this burden onto individuals. I grew up with it and recycling made be feel as if I was doing my part to help save the planet without really ever considering a change in the way of life.

This is exactly what I am seeing with the messaging around “climate change” and “carbon emissions” and “carbon credits”. It allows people to continue with the way of life they are used to and feel good about doing their part.

When I say “get connected with the local ecosystem”, I am not espousing a hippie view.

Part of our modern way of life insulates us from really understanding at an instinctual and bodily level, what it means to be a part of an ecosystem or a community. I mean it literally: many people do not actually know what it is like to eat an apple off a tree, let alone a relationship with that particular tree, and all the birds, bees, worms, fungi, and microbes involved with that apple.

I don’t know how to say this any more literally and directly. Advocating for “doing something about CO2/warming” is so far away from getting your hands dirty, and knowing at a deep level, that this is our home, and we’re not the only ones living here, and that the land can very well provide healthy food, and our actions directly
impacts the land around us.

Oh and as for warming — the Soviets were able to adapt warm-weather fruit bearing trees, and we can do the same. There are plenty of heat-hardy edible plants, if we are willing to go beyond the small handful of monocropped “food” we have standardized on. We can try using industrial scale solutions, but we are just kicking the can down the road. It is our way of seeing the world around us that lead us here.
Wait, what? Tagging system? What is it? 2015? Doesn't emacs have a good LSP support by now?

Nowadays with the popularity of treesitter and LSP even small-community command line text editors can have most of what IDEs do built-in.
Do you believe that the US, at least, doesn't emit more per capita than most less-developed countries?
I see this view a lot on HN, but this kind of wish for great new development can be unrealistic simple because there are no more low hanging fruit for these very physical processes.

It could easily be the case that RO is going to see only marginal improvements for the next decade or two (except perhaps some test membranes that are too expensive), and modern RO already uses energy recovery in the process.
It's a convenience for frequent/wealthy travelers and for CBP to reduce the number of people they need to screen.
MRI machines don't spin. You are thinking of CT scanners.
Qilou seem much more oriented around shelter from the rain than for shelter from the sun, though. I agree that they're a great addition to urban streets for pedestrians!
We have a very hard time building nuclear power stations. This claim, which seems to absolve energy consumption, is easy to say but very hard to do in practice.
What strikes me, looking through their "conditions" page, is that they have many conditions listed that I'm not really concerned about. Like noticing if I'm missing a kidney, I'm good on that. But I do want to know if I have a brain tumor, because lots of that in my family. It's odd, I don't see brain tumor listed, but these things that are not much of a concern are.

Am I missing something?
We will have to wait for an AI that can truly understand us.

A jest I fear may be taken too seriously by the reality we seem to be quickly heading into.

—

I would guess that despite all the disparate systems, the basic computations will be similar. Different parts of our generalized connectome, making different connections at different time frames.

I.e. time and multi-signal integration with decay, positive and negative acting signals, squashing or frequency limiting functions, with forward, lateral & feedback connections.
I love the UK government site design, in particular their font (Transport something or other?). Sadly the font may not be used anywhere but .gov.uk sites.
SEEKING WORK | REMOTE
- C++, Golang, Rust, Scala, Kotlin, Java, C#/F#

- Functional programming: Haskell, Ocaml (once CUFP speaker)

- Dasca Senior Data Scientist Certified, Pytorch, Pytorch C++ APIs...

- AI/ML Engineering & Computer Vision

- Numerical algorithms: PDE, MC, Matrix routines, ...

- Fintech, quant finance, Crypto development (both trading and blockchain engineering)

- Fetish with formal methods: F*/fstar, Z3 verification of static asserts, ...

- 20y+ experience

- The classics: Python, Javascript, Typescript, PHP, jQuery, React, PostgreSQL, AWS, GCP, Azure

- Or anything else that is a bit tricky to develop. I can build the team, the MVP, the infra for you

- If you have a budget: renaud42@proton.me
Microservices are more than just an organizational abstraction. They allow you to scale up services as needed for one thing.
I launch apps from the Win key all the time, never ending up in Edge. The worst for me is ending up in “Internet Options” when I want to launch IntelliJ.
There are reasons to want branch protection but audit isn’t one of them. An auditable system would be keeping an immutable log of the git repo actions in a separate, append-only location. It wouldn’t rely on the thing being written to all the time, by users, to never get broken. In your model, your audit history only needs one bug in the branch-protection tool for it to be destroyed.

Think of it like syslog. It’s good to keep a log of events but it’s bad to rely on the /var/log/syslog on your web server. You should be logging to a remote, append-only system.

(However I would concede that if we are talking about lawyer-proof-audit — SOC2, ISO etc — rather than actual security auditing, then branch protection is probably just fine.)
McKinsey will never go away because all levels of public structure are addicted to getting things done, no matter the consequences, because of the vibe of election promises. When your professional public servants can't deliver, you reach for the cheque book and ring McKinsey, or one of the big-five.

We've just had a massive "fuck around and find out" moment here in Australia where the tax office worked out the consultants were simultaneously advising the ATO to reduce tax on corps, and selling the "we know because we wrote it" secrets to the corporate sector: Both double dipping, and public policy shaping for private endeavour. Not to mention breaking the implicit bond of secrecy around this kind of consultency.

If you want to run Abu Ghraib efficiently, in the end there's only one company to call. Oh, sorry did I mean Rikers island? Same-Same.

It would be impossible to write this stuff up properly and not break Godwins law into tiny pieces.

Ask yourself who designs giant razor-wire floating balls for border rivers, and who finds contractors to make them, test them, certify and install them. You won't have to go very far from the consultency firms in the beltway to get somebody who will do it, for the right fee.
> The framing of expanded early detection as "Silicon Valley's quest to live forever" seems uncharitable.

Totally agree.

Also, we should be encouraging those with the means to spend on medical technology! It'll bring down the cost for everyone over time.
He also shows off good features that are worth owning, making us more confident buyers as well. For instance I feel his video on smoke detectors should be required viewing to any responsible homeowner/renter. And he showcases the decline/lack of adoption of proper features in consumer appliances, i.e. all toasters should be variations of the Sunbeam T-20B IMO.
Windows 10 Enterprise LTSC. Smooth as butter, I love it. No app store, none of that candy crush stuff. Its what I expected Windows to be. Its a shame that I considered myself a power user but only learnt about it 2 years back.
> this isn't a medical procedure

MRI techs and radiologists aren’t cheap.
Most systems do. At pastjob we had a few different levels:

- halt - just stop trading

- exit-only - only exit positions (but do so according to our alphas, no hurry)

- flatten - exit in a hurry but obey certain limits (often if liquidity was thin we would just "journal" the shares - move them to a long-term-hold (meaning more than the current day) account to exit in the opening auction the next day

- market exit - get the fuck out, now, no matter what the cost.

I never saw us use that last one.
> Calcium is supposedly alkaline

Most reliable sources of information describing calcium as alkaline stem from PRAL (potential renal acid load) and other kidney literature. Combined with the right chemicals (as you find in the kidneys), calcium does reduce acidity (contrasted with a buffering agent, the formulae are more linear, and a linear amount of other shit requires a linear amount of calcium or other alkalizing compounds to compensate) in the kidneys.

As something of a fun aside, most "alkaline diets" recommend a diet of weakly to strongly acidic foods which have an alkalizing effect on the kidneys and nearly no pH impact anywhere else in the body.

No comment on the rest. I just want to reiterate that acid/alkaline in one context (most commonly a description of the hydrogen concentration or other related ions) absolutely does not translate without extra effort and math and chemistry to other contexts (like anything describing calcium as alkaline). When those two ideas are mixed in presentation, a correct interpretation absolutely requires you to understand the details of what/where/why an author means when they refer to pH as something other than hydrogen/hydroxide concentration.
I'm still thinking that a 3D video recording would be the best way to gather this information.

Don't worry about taking stills or optimal placement of the camera for stills, because all the information you need is captured in the process of taking a decent 3D video scan of each room. And each frame of that 3D video captures important information not only from the objects it's closest to, but also of the objects across the room, including which objects may partially or completely occlude other objects.
This doesn't answer my question... If an admin does not want their users using Edge, is there an actual way to configure the default browser that doesn't end up opening links and such in Edge?
Why?

The US has had (roughly) four kinds of toilet:

1. The old 5 gallon per flush kind. Didn’t clog all that often. Flushed very very slowly. Contributed to downstream clogs because the outflow was insufficient to get the solids flowing well through the pipes.

2. The early lower-water-consuming kind. These were awful. Replace them if you have one!

3. Modern toilets. They use 1.28-0.8 gallons per flush, they rarely clog, and they don’t tend to clog the pipes downstream. They are generally quite good.

4. Flushometer toilets. They are often messy - they flush loudly and spray water around. Eww.

Why go backwards?

Modern toilets are tested for their ability to flush well:

https://map-testing.com/
Nginx can reload configs on HUPs -- https://docs.nginx.com/nginx/admin-guide/basic-functionality...
That's great. What's the build quality, is it creaky/plasticky like the cheap ones in 2010's, or are they now making it rigid/sturdy like Thinkpads were? (Didn't buy laptop for a looong time.)
Don’t ever hit the help menu. So the problem is that MS opens help in it’s own browser? That complaint seems disingenuous at best.
Remote Work, Wages, and Hours Worked in the United States
Here is the abstract of this study: Remote wage employment gradually increased in the United States during the four decades prior to the pandemic, then surged in 2020 due to social distancing policies implemented to stem the spread of COVID-19. Using the 2010-2021 American Community Survey, the authors examine trends in wage and hours differentials for full-time remote workers and office-based workers as well as within occupation differences in wage growth by work location. Throughout the period, remote workers earned higher wages than those working on-site, and the difference increased sharply during the pandemic. Real wages grew 4.4 percent faster for remote workers within detailed occupation groups and remote work intensity was positively associated with wage growth across occupations. Before the pandemic, remote workers worked substantially longer hours per week than on-site workers, but by 2021, hours were similar.
The helium is used whether you use the machine or not, it is just keeping the superconducting magnet cool (and you can't really put it out of field without an incredible cost and risk of never being able to put it in field again). Plus most recent machines have decent recycling systems (that do not reduce to 0 but over 90% reduction in many cases)
Bash would really be bad idea if it is going to use bash stitching so many gnu utils for this kind of job.

I once had to rewrite a bash script into awk[1] that is big enough and it made the program more readable and the total time execution came down from 12 mins to less than 1 second.

I think maybe the original bash script would have written badly, (each util command will invoke it's own process and it has to piped to others instead of using awk which will be running in a single process).

[1] - https://github.com/berry-thawson/diff2html/blob/master/diff2...
Return-to-office is a $1.3T problem few have figured out
Yes! I actually found him through his Sunbeam toaster videos after my wife and I inherited one—I wanted to better understand how it works. They're every bit as cool as he says.
Interesting! I wonder if this has to do do with the width of the boat vs length. For the same displacement, a narrower front, and therefore longer boat will clearly win. It's like a missile vs a peterbuilt
Two Kinds of “Dual Licensing”
I ended up blocking Edge in the firewall so it would at least close quickly without loading any useless stuff. Even then the firewall rule would reset periodically so I made a new one that points to the Edge binary.
That was probably their brand-neutral way of saying to use Cascade Platinum. Not to sound like a shill but that’s the only product that’s actually worked well for my current dishwasher. Everything else leaves a lot of residue or doesn’t actually clean.
When LK-99 was a possible room-temperature superconductor, among the first use cases people pointed to were cheaper, more-available MRIs. I can’t begrudge anyone with the means who decides to do this. And the demand has value. When was the last time a non-incumbent took a top-down look at reducing an MRI machine’s cost?
You missed it.

I didn't say trying to do good. I was talking about the proclamation of such. Please respond to what I actually put down.
So what’s the solution? Ban people from participating in activities where they have to travel too far?
Not exactly true. Has happened with so many companies recently(Google, Amazon, Coinbase etc..,). And it hits most employees hard since they might be someone who just got laid off. This is even harder with people on visas who might be running out of time to find a new job or leave the country. Also, this happens more in a tougher economic climate where the people with rescinded offers are left in a really hard place. A lot of people on visas might have also planned their exits a few months before since visa transfer and everything takes a while. And lot of companies with hiring freezes will 100% refuse to give your job back.
I will routinely make pancakes, have a glass measuring bowl with pancake batter still in it, throw it in the dishwasher, and it comes out clean.
Not only is fixing more difficult, but also looking for likely weaknesses (and thus the inputs and outputs to focus on for testing).
If you have source mapping you can do basically what C compilers perform which is symbol mapping. If you are trying to map the HTML content to source you have to "tag" each of the steps in the process so you can figure out where the content came from.
Windows: ads in the start menu, candy crush, hey you are trying to install chrome and I don't like that.

Ubuntu: one line message in the terminal about we released <new thing> thing, feel free to try it.

Yeah, basically the same thing.
I've always thought clothes washers washed clothes but dishwashers don't actually wash dishes and everybody knows it. I thought it was just a universally shared joke that everybody was in on, like "Grape Nuts contain neither grapes not nuts, and dishwashers don't actually wash dishes because of course they don't."

Only now I'm beginning to think I've been out of the loop.
Also uncommon in Asia and Australia.
The one they clearly explained in the comment, using __get_attribute__
I in no way said that they were precepts I was following. So that's a swing and a miss on the hypocrisy.

But my point wasn't about the following, it was about the proclamation of such. Putting on the white hat for all to see.
Only needed 1 tech for my MRI which lasted well under an hour. They may be expensive, but they don't get $100 an hour, so hard to believe that is a cost driver for a scan that costs over $1000.
Thank you, this is exactly the kind of thing I come to HN for. Delicious esoterica
Risky. I suspect there will be a lot of short-sellers for arm, the growth story doest warrant the valuation and p/e multiple
There was a similar discussion just over a year ago [1], and I was shocked then to find out that India offers full-body MRIs for probably 20% of the price.

[1] https://news.ycombinator.com/item?id=31446568
One of the reasons why people get excited about room temperature superconductor is because it can make MRI imaging very cheap. Currently cooling the superconductors in the MRI machine is a significant part of the cost.