skysight-inc/HackerNews huggingface dataset:
I don't know how much it's really used these days, but when I've done asm stuff before if you have tight timing requirements in assembly, say you're bit banging an IO for some arcane serial protocol a la WS281X LED series, where it doesn't use a hardware supported serial protocol like SPI (where you can just DMA what you want to send to the controller) you then have to implement this protocol manually, in code, switching the IO pin on & off according to the timing requirements of said serial protocol/what data you want to send.

For the purposes of this, the nop instruction is useful as it's a great way to delay the processor for 1 instruction at a time and given you know the clock speed and therefore instructions per second you can:
* Set the IO high
* Use nops (or other instructions) to waste time
* Set the IO low

This is very useful in situations where the timing needs to be too precise to use interrupts, which are somewhat unpredictable. Obviously this means an entire CPU is held up running this code.

Another timing usage is for generating a signal to display a picture on a CRT using a microcontroller. Plenty of others as well.

Personally, though, I would never bother. It's always better to get a dedicated chip/controller for something like driving those stupid LEDs (or just get an SPI LED) or to generate a TV signal.

Reading up on it further, apparently it is also used as a way to reserve space in code memory, I imagine for self-modifying code (ie fill with nops which can be replaced with actual instructions by your code, depending on code execution). But I've never actually done this myself.
Goodhart's Law Isn't as Useful as You Might Think
might be easier to add a new circuit
> likely have some non-compliance with the current electrical code.

It frustrates me that every year quite a lot of people are killed due to old houses not having whole-building GFCI's.

A GFCI costs only $20 and can be installed inside 10 minutes. So it seems crazy to be letting people die...

Yet typically electrical regs require that if an electrician installs a GFCI, they bring the whole house up to modern standards. Suddenly the $20+10 minute job has turned into a $15k and 3 weeks complete rewire. So most people don't have a key safety device added. And still every year people die from not having one.
Agreed. I would add an extra thought around "Try to go monolith until things really breakdown" but you get at that in so far as the point where things breakdown is where either:

a) engineers are afraid of or find making changes difficult
b) uptime issues result in heavy endpoints/services taking down others

To your point, microservices should be introduced expressly to solve those two problems, and not before.
Is it the app named "Windy.com", "Windy.app", or something else?

Edit: I suspect it's the Windy.app one. My initial impression is it looks quite nice. Available on both iOS and Android.
I will say that with the transition Microsoft is doing a one-time PTO payout, which is pretty nice.

Sucks for people who tracked PTO religiously before though.
It's not simple, and most electricians hate doing it unless it's a fresh install because power companies can be a pain to deal with sometimes.
New database maps proteins that could predict cancer
Hi,

I started this project four years back to improve my work as a frontend developer. I was on a break for a while and resuming my work.

I'm reaching out to you for your feedback and support. If you like the project star it, leave feedbacks.

Here is blueprint of design
https://raw.githubusercontent.com/imvetri/ui-editor/6e8bf195...

Current state
https://github.com/imvetri/ui-editor/raw/master/docs/gifs/Ba...

Source code
https://github.com/imvetri/ui-editor

I have demo recorded videos for individual concepts, I hope you appreciate it.

Drag and drop Concept - https://vimeo.com/manage/videos/642968726

Unlimited canvas space Concept - https://vimeo.com/manage/videos/555138771

Layout designer Concept - https://vimeo.com/manage/554105526/general

ReactJS Code generation concept - https://vimeo.com/manage/549552977/general

Todo app builder - https://vimeo.com/manage/511559933/general

Add events on screen to Div - https://vimeo.com/manage/486768355/general

Editor parts and pieces Sample - https://vimeo.com/manage/464104903/general

Architecture concept - Message passing between components - https://vimeo.com/manage/386239513/general

Building component with dynamic state Concept - https://vimeo.com/manage/386239443/general

Building component with dynamic contents Concept - https://vimeo.com/manage/386239417/general

Building a component with dynamic state Concept- https://vimeo.com/manage/386239387/general

Thanks,
Vetri
good naming

Maybe that is not "architecture" or "technique" but is is definitely not trivial and is important in almost any context -- but also probably not what you were going for.
It is always curious when someone writes that they are bowing out of a discussion, as if they don't realize that no longer replying conveys the exact same information. Was there an additional takeaway here that I missed?
Maybe Real Modernity Has Only Just Started
The feeling of modernity, originally described by writers well over a century ago, is today shared by more people than ever.
Google exact phrase matching definitely feels like it has deteriorated.
Apple announcement: https://www.apple.com/newsroom/2023/01/introducing-apple-bus...
WeaWow is good. Donation-supported.
For me, it was AltaVista. When Google came out, it was simply mind-blowing how much better it was and I switched immediately.
" ... as soon something is quantified, power is given to the measurer."

Maybe this is what the "agile wars" are all about. To measure the project progress you have agree on how to measure it, and then whoever defines those rules has the power.
I think it needs to be coupled with a minimum, at the very least. X weeks is required, but not the maximum.
It's because of war. War destroys value.
It’s insane radicals that try and shut everything down that are causing people to have to become more self-reliant.

Most people I know have trouble remembering to change the oil in their car. Being in charge of electrical generation and giant batteries is not a good idea for many.
That doesn't make much sense, you're not testing for efficacy in general mice populations. Both wild and lab-bred mice have different genetics to humans anyway.
> I wanted to keep my above comment to the data only, so I'll post this here: "Equipment Failure" can cover just about anything.

Stuxnet was after all an equipment failure. Sure, with an interesting plot to get there.

(Just commenting on the term "equipment failure", don't know anything about the FAA failure of today.)
I think it appeals people who want a fast booting, snappy OS with base low memory usage.

If you focus on apps using the original tooling/toolkit it looks very integrated. A bit less if you start using gtk/qt apps though.

Since it has some virtualization support it should be able to run docker/podman from a vm, which is basically what happens with docker on MacOS or Windows. I haven't seen a project similar to docker/podman desktop on it but this is not a show stopper imho. I would look at a project like portainer for people wanting a gui for docker that can run wherever docker run.
I think it’s more than just electricians that we need. We need additional training for electricians so they understand how some of the newer technologies work. I bought a high end LED light fixture that had a more modern dimmer that ensures the LEDs won’t flicker when dimmed. The dimmer wiring was completely different but well defined and standardized. I had a hard time finding an electrician that understood how to wire the fixture.

I drew a schematic for them and I found out of 5 electricians only 1 could read the schematic.
Just a few years ago the Dominican Republic erased birthright citizenship and deported 70k Haitians. They clearly don't want that.

https://www.theatlantic.com/ideas/archive/2018/11/dominican-...
It sounds like it was just a COVID-related delay during the height of the pandemic.

I also own a home in Berkeley and had no trouble getting 2 quotes for a panel replacement, and work started less than a week after the first phone call. It cost $12k for the new 200 amp panel and 4 new outlets.

Now, landscape contractors, that’s been a harder nut to crack.
Gardening makes me miserable. Plants and pollen make me itch, and I really hate the feeling of dirt or soil on my hands.
> So they must have been having to touch all those components anyway.

Or they conveniently misunderstood the regulatory requirements.
I think there's some of this in there too. Out-of-code is grandfathered in unless you're touching that part of the system in most places.
Sure. Then it's fair game for lays offs too.
The Style Guide for America’s Highways
Driving across America, you will encounter a wide variety of cultures, landscapes, people and animals. But the one consistent thing that will stay the same from Maine to California are the signs you pass on the highway. That is because America’s roads and highways have a big, fat style guide.
> There is mooooore than enough spare grid capacity to deliver the electricity to electrify homes.

I'm going to disagree with this for three reasons.

1) We have places that have brown outs today. The grid isn't able to deliver. In other areas people have setups where power companies can cut (for periods of time) power to their air conditioner and that is used. There have been other areas where cables have run into issues with so much electricity going over it. The grid today runs into problems with the existing demands on it.

2) I've talked with people in some locales that only have 60A drops to their home. The local home and their local grid needs to be updated before everything can go electric.

3) When you read articles that say the grid can handle it they cover how the grid needs to be updated to handle all the things being electrified. So, they say the grid we have today can't cover it. Here's an example [1]. If it could handle it now there wouldn't be a need to it to be updated.

[1] https://cars.usnews.com/cars-trucks/features/can-the-nations...
Cheers, TIL. Source?

What about the repercussions of closing them down prematurely? We're burning oil 24/7 at peak plants that are normally sleepibg most of the year. The amount of cheap coal power that we've imported to compensate for the closing of Barsebäck (more than a decade now) is terrible.

Given the (political) unfeasability of building wind turbines near people, is it worth closing down functional plants to burn fossil fuels in their place?

Genuinely curious; I'm not comfortable with either solution, but burning coal/oil seems like the worse option.
Speaking of industries that need to do layoffs...
I'm not arguing that the results are worse. Google is obviously more accurate with a larger index etc. But...

Ads. Google's SERPs are about 75% ads above the fold on a laptop. They're horrible.

Privacy. Everything you do on Google is tracked up the wazoo. It's pretty much impossible to stop too.

Share-ability. You can't share a Google search because personalization means everyone gets different results.

API access. Yahoo in particular had a really good Search API. You could search via the API and do things with the results. Google only allows you to embed an iframe to their site to display the results their way, with their ads. You can't search programmatically any more unless you pay a lot of money.
This is not what I mean actually. Windows simplifies some procedures, which can be beneficial for most users. I'm a big Linux fan boy, but it's easy to mess up your config and get a false impression of security, especially with some distros.
>The pans are specially designed to contain a heating coil in them which implicitly is closer to your food.

This is not correct. Any ferric-metal pan/pot will work.
If a magnet can stick to your pot it will work.
Sry but that is just some completely optional 3rd party library.

Zig has been compiling to AVR targets sucessfully for a very long time.
It might be worth thinking about where there were successful electric vehicles before cars. All the scenarios I can think of are times the vehicle purchaser is willing to deal with charging infrastructure in return for the benefits.

Milk floats were quiet and didn't need to haul heavy loads, which was convenient for early morning deliveries. Distribution point/dairy can be the charge point.

Golf karts/utility vehicles. Never stray far from their chargers. Being quiet makes them more comfortable.

Forklifts are majority electric, and that was before lithium. Cheaper to run than fuel equivalents. They're still majority Lead Acid. A lead acid battery is heavy (a positive for a forklift) and lasts a shift before charging cheaply at overnight rates or swapping out the battery if there's another shift needing to use it. Lack of combustion fumes for an indoor warehouse or factory is real nice.

On technology specifically, range is next to useless if you can't tell how much you've left. I understand that tracking energy in and out the battery to a high level is not easy for a BMS - sample at the wrong rate and the potential error in over/underestimating range is quite large.
Because without a common language for what color wires carry load a simple oversight can be fatal.
> Don’t they support the same set of terminal command as in other Unix-like systems? From what I saw [1] there aren’t much difference. Well that is what what people care about unix, right?

You can use bash so yes most builtin shell commands are supported. You won't have all the linux specific commands though.
Yep. As long as there is clear path to get that 10% back. Problem is most companies still have record years and fire people.
The "hate" is directly proportional to the failure of microservice zealots to deliver on the ultimate, everlasting, universal prosperity and harmony, that they promised.
Also in that vein, battery pack thermal management is key to operating an EV successfully (i.e. at all) over seasonal temperature extremes
Just trying to give benefit of the doubt. I suspect this was a tack-on.
Needing the knowledge to do the "right" steps doesn't mean the steps stop being simple, it just means it's "simple but easy to fuck up".
Solar is only the opposite of nuclear if you ignore storage requirements. There is potential for use of distributed battery storage, but we're decades away from being able to build that out economically at scale. Installing some home battery backup or EV reverse charging systems won't be sufficient; we have to be able to keep heavy industry running through multiple days of little sunshine.
Weatharrr!
The work was complete within 4 hours, coordination was easy with the siding contractors as I managed it. Called them up and they were here in 20 minutes to put the J-Block in right after the electrical guys removed the old meter box.

Getting the work done properly was important to me. After the replacement, the random occasional 2-3 second power outages went away and it looks great.

My point was mostly to concur with parent that often you do incur unexpected work when updating legacy electrical, and that adds a bit of cost. To a homeowner, a box swap seems simple but can wind up costing thousands more than you expect.
Signs that a Startup is Going Bad
As much as I grump about not having enough people to do what is being asked of us, I'm also thankful that we run leaner than most in times like this.
same experience. the only person who used it in earnest was the head of HR. For lower tier employees it was much worse than a given X number of days - they had to request the time off from their manager and could (and were) denied taking time off.
This is why I don't reuse keys. I setup the config like this for every host and in fact, I then set a bash alias like

alias example='ssh example.com'

It's no inconvenience for me, it's rare I'm setting up a new box so adding it to my config convention isn't a big deal.
There’s a big difference between people trying to survive 40° weather and 0° weather when the grid has problems.
If we ignore the fact that everyone else supports them, regardless if they are their foundation or not.

https://custom-elements-everywhere.com/
Amazing. I wonder if there could be hardware-based Tetris processors? It seems such a simple model to begin with.

All that computers would be doing then would be playing Tetris all day long.
Because while it is simple, the power is out while I do it. When it is just a single circuit no problem, but if I'm missing one part that means several more hours while I track it down (home depot might or might not have it). A real electrician will have the parts on the van, or at least know where to get the missing one. Not to mention there is probably power to the box, while I can work on live circuits I prefer not to. (or if there is no power, that means there is no power for days because I work on weekends, then the inspector comes on Monday, and only after that does the power company reconnect).

There are some jobs that I can do, but I hire someone else to do anyway.
Seems like a bad idea to me. There are many people (myself included) who forget to take vacation time or never feel like it's a good time to take it. Short term, that's probably good for the company, but it can lead to burnout. Good managers insist that people use their PTO if only to keep highly valued people from suddenly snapping under their workload. There are, on the other hand, people who jealously guard their time off. Giving them unlimited time just sets them up for conflicts with management because there is no pre-agreed upon notion of what is fair.
Yes, it was great. I'd love to have it back.

20+ years ago, I could search for exactly what I wanted. Today's search engines often give me a page or so of irrelevant but popular results before I find what I need.
I think we have very different situations in our mind as we go bath and forth like this. It'd be fun to discuss this further over beer, but I think we've mostly hit the limit of what we can do in a HN thread. I'm picking the one major thing you said that I disagree with most:

> Your spell checking service shouldn't also be a translation service, and your translation service shouldn't also be a spell checking service.

I just want to stress how tremendously inflexible that is, and just how heavy of a decision you have to make any time you implement a new feature. This sounds like all the negatives of microservices (or DLL hell if that's your deployment model) with none of the positives. Boundaries are fuzzy! I have written a spell checker before. Later I needed an auto-complete service. Turns out: serendipity! I could implement auto-complete easily by simply implementing a separate error model that didn't take off points for "deletion errors" at the end of the word. And as a bonus, it was "fuzzy", so if you typed "Arnold Shwarz" it would suggest Schwarzenegger even though you missed the 'c'. The difference between the Spell Checking Service and the Fuzzy Autocomplete Service was one class of about 10 lines.

If you immediately set out with the mindset "your spell checking service shouldn't also be an autocomplete service" as if this is some sort of wisdom (it really, truly isn't), then you're hamstringing yourself from getting these kinds of easy wins. And maybe you decide autocomplete is close enough to spell-checking to warrant being in the same service, but your colleague might not, so now you needlessly argue over it. It shouldn't be a big decision! Just write it! So auto-complete goes in the service, but it's really close to feature X, which involves vectorizing words, which is the basis for a translation service. Now your spell checker is also a translation service. But what have we really lost? Who gives a crap that Wordsmith now has an extra feature? Nobody who was using its old features; they don't have to change at all.

> > I spent about 30 seconds coming up with "Wordsmith". It does something with words.

> Well, maybe until you're better at it, spend more time.

Needlessly nasty. Maybe I don't want to have a beer with you after all. Come on Wordsmith, I think you're beautiful just the way you are.
Probably not, but the main issue would be that overseas certifications aren't valid. I'm sure it would be quicker to recertify / learn the local regulations than to start from scratch, but it's not free.
As an aside, for those watching from home - you can put LARGER connections downstream of smaller ones (50 amp outlet on a 40 amp breaker) because the worst case is your breaker will flip.

You can put SMALLER outlets on a larger breaker (40 amp outlet on a 50 amp breaker) because the outlet is SUPPOSED to keep you from overloading it (and the outlet will actually be rated for more than the "plug size")

The DANGER you must avoid is having a 50 amp outlet on a 50 amp breaker but only having wiring between them that can support 40 amps - and the amount of amperage a wire can support DROPS over longer distances. So it's best to size everything correctly from the beginning.
I think this is traditional for this topic: https://nandgame.com/

Say goodbye to a couple hours!
Was that because of insufficient grid capacity, or not generating enough juice for everyone?
> A big caveat is that many people will attempt to bypass system requirements, trying to upgrade old machines to Windows 11, which is a very bad move, as it's not meant for that by definition, and you may lose both the security benefits and the usability (e.g., hardware performances). Many advanced security features, like VBS are available on Windows 10 too.

Is that right? I can believe forcing an upgrade to 11 on unsupported hardware will prevent some features from working... but does that make 11 worse than 10? How?
Earned/accrued PTO is part of your compensation package.

"Unlimited PTO" is PR-style spin on the loss of that compensation; you're being fleeced by your employer.

When you leave a company with PTO where you worked your ass off and never took any vacation, you're cut a check for that unused PTO.

When you leave a company with "unlimited PTO" after doing the same, you get nothing.

Edit: according to some comments, this is state-specific. The above applies to CA.
So that 380V would be for 3 phase to a home which is not always the case. There are plenty of homes in Europe that only have single phase to the house which is at 230V.
That's the opposite of my experience. Depending on the decoder, lower resolutions may be more efficiently handled by the CPU instead of the hardware decoder (which is a decent chunk of silicon and takes extra power to use). But once you hit a certain resolution, the hardware decoder is pretty much always way more efficient than a software CPU decoder. Some well-implemented hardware decoders even handle low resolutions more efficiently.

My experience is largely focused on battery-powered mobile devices (Android/iOS), though.
You're ignoring clouds.

It rains a whole lot more in Seattle than it does in Los Angeles.

Edit: controlling (more or less) for latitude, it rains a whole lot more in New Orleans than it does in Los Angeles.

Los Angeles averages 34.1 rainy days per year. New Orleans averages 115.1.
> Of all the trades, electricity is the one that I know enough about to supervise somebody. (e.g. I am baffled by plumbing)

Curiously, we’re in opposite situations. I have a (very) basic understanding of electricity, just enough to change power outlets and the like. But in general I’m baffled by it because it’s a bunch of dangerous stuff I can’t see with values I don’t fully understand¹.

Plumbing, on the other hand, is water inside tubes controlled mechanically. Taking things apart reveals the simplicity of the system. After doing a fix I can feel confident in the safety and reliability of the work even before opening on the main valve again².

¹ If anyone has recommendations on a trustworthy course / YouTube playlist which teaches enough basics to understand electrical wiring in residential homes, I’m interested.

² I’m not doing super complex jobs, but in my own home it’s been years since I’ve needed to call a plumber.