skysight-inc/HackerNews huggingface dataset:
Battery storage seems eminently scalable compared to other energy developments. A commodity that can be manufactured in a factory and that we would need anyway for cars. Small components that can be built into enclosures, and racked in a container. And the sites are nice and simple. A fence, some substation gear, a concrete pad.
Hi, HN!

I started creating this tool for discovering similar NPM packages based on dependencies listed in a package.json.

Mainly useful when resurrecting that 3-year-old project, suggesting alternatives that are popular nowadays.

I'm still fine tuning the package matching, but I wanted to share it and know what think!

Something that could be improve? Anything that needs to change or is missing in the page? I appreciate any feedback.
Fennel 1.0.0 Released
That is how our Tcl based application server was, the configuration files were a Tcl DSL.
There's something very satisfying when a piece clicks in place :)
The Day I Got Old
The consignment model and paying for shelf space are the exception in retail though, not the rule.

They tend to exist only where there is a huge asymmetry in power between retailer (usually large chains) and suppliers.
Someone else in the thread linked https://www.theguardian.com/world/2001/oct/14/afghanistan.te...
He earned it, and has delivered 4 decades of exemplary public service.
I use Dexcom G6 CGMS with Nightscout and xDrip+.
xDrip+ runs on Android, gets the data from the Dexcom transmitter, and sends it to a Pebble watch and also to a mongodb database.
xDrip itself supports a lot of CGMS systems, I've been using it since G4, which was not Bluetooth ready initially, so you had to build a bridge that read the data from the transmitter and sent it to the phone. Way easier nowadays,as the transmitter is using BLE.
If the market rewards battery storage it will get built quickly.
You can parse JSON in a streaming fashion with many libraries. You just don't know at the beginning if it is going to be valid or not.
You can run multiple Python processes with a MC simulation and combine the results in the end.
It's simple. For config files, choose the format that has the best tooling in your company and that supports comments. For data transfer, choose that supports schemas, backwards compatibility and good tooling (protobufs is just one e.g. that I'm most familiar with).
It's not just on the West coast. Catalytic converter thefts have exploded here in Michigan. They're stealing them in broad daylight in Detroit, Flint and Saginaw. Lansing was exempt until two years ago. But now out of state crews came in two years ago and stole a couple of hundred in one summer.
if you blow up a pipeline the oil company will collect insurance money and then the price of oil will go up juicing their profits even more lol.
You can make web apps, for that you need a web space. Or you can install the programs locally in the web browser storage with the code runner - that's a PWA (progressive web app).
It's not actually easy to ban long-haul travel. It's technologically simple, which is probably the angle you are looking from, but politically very difficult.
I have no idea, that's why I am not using an insulin pump either:)
Right, but everyone agrees that UHD is an enormous improvement worth buying new hardware for. You said "there are no technical problems or impracticalities" to high frame rates, but 2.5 times the uncompressed bitrate is a technical problem, and so you have to have a situation where people are willing to pay for an upgrade. Most people seemingly don't care enough.
>The pattern 'X is the sick man of Y' specifically refers to 'Sick man of Asia' [1].

...no, it doesn't. As even your linked article notes, the phrase originated as the "sick man of Europe"[1], referring to the Ottoman Empire in the mid-19th century. It was later applied to China.

[1] https://en.wikipedia.org/wiki/Sick_man_of_Europe
It's innevitable it will ho wrong though. Apple or Google bans the app, millions of dollars of hardware bricked.
What I want from YAML (or a competitor) is access to the concrete syntax tree.

For one of my art projects I make YAML files that describe the front side, back side, and web side of a "three sided card". I generate these out of several templates, currently using ordinary string templating.

I'd love to be able to load a YAML file and add something programatically to the list and have the list stay in the same format that it was in, so if it was a

[1,2,3]

list I get

[1,2,3,4]

if it was a

- 1
- 2
- 3

list I want

- 1
- 2
- 3
- 4

sadly I'm the only one who thinks this way.
Before turning seven or so I and my friends thought they really shoot people on set. All for the sake of the art, you know, somebody has to sacrifice to make a good movie. I remember that we argued whether it’s fake or not, and the consensus was it seemed real.
Would you please stop posting unsubstantive comments and flamebait to HN? You've been doing a ton of this, unfortunately. We ban such accounts, regardless of which ideology they're battling for.

I'll give you the benefit of the doubt that maybe you weren't aware of the site guidelines, but if you'd please review them (https://news.ycombinator.com/newsguidelines.html) and stick to the intended spirit from now on, we'd appreciate it. The basic idea is: if you have a substantive point, make it thoughtfully; if not, please don't comment until you do. And please use the site primarily for curiosity, not ideological battle; we ban accounts that do the latter.
Animals and plants are perfectly happy living under solar panels.
While true, this is what being a supperset means. What it means is that any JSON document is, without modification, valid YAML document and can be read with a YAML parser.
Because React's model requires tracking the entire DOM tree for changes and rewriting whole branches where a change is detected.

Svelte bypasses the whole problem for the most part.
https://youtu.be/AdNJ3fydeao?t=247
Consider the american built environment since WW2, gas at 7.50/gal would simply make many people’s daily lives unaffordable, and the most impacted people have the largest clout politically due to the rural bias at every level of our government. We would happily commit climate suicide first.
> In a lot (most?) of the US most places are far enough away [...]

I've never seen a grocery store with a parking garage (opposed to a parking lot) that wasn't in a city. If the grocery store has a parking garage instead of a parking lot, then it is almost certainly in an urban area and public transit and is within walking distance of many residences and businesses.

This is in fact the case for the particular Trader Joe's in question. Look up "Trader Joes’s at Hollywood and Vine". That neighborhood is easily walkable, has at least some public transit, and their parking garage is within easy walking distance of numerous other businesses.
Sure, but then why doesn't every exchange just warehouse? This is the same principle as Bitcoin's Lightning network: the layer 1 network (the exchange) is too slow, so we have a layer 2 network (the warehouse) that buffers it.

OP dismisses this out of hand because it would be a "monopoly" and jack fees. But has that been the case for the NYSE in other areas? I bet it hasn't been.

What it seems like is that these trading houses are padding their percentages by being market makers, and padding their models with order flow. Retail investors can do neither, so I think it's reasonable to say this isn't super fair.
What makes you think they are overstated? Do hospitals refuse people and postpone treatment for fun?

Every time after measures are taken the spread of COVID slows down, every time they are loosened it increases again.
Oh delusional amazonians thinking they can successfully prevent those in the know for lobbying for their removal from "FAANG".

Amazon is by far the lowest of the FAANG. Horrific WLB, worse pay than all others listed (esp the vesting schedule), toxic culture, terrible benefits (lol bananas). Don't delude yourself, Facebook is a great place to work and actually deserves to stay in the acronym
I'm going to sound like a jerk but there is just so much "fluff" to this, including the side bar Bio on the author.
> So you prefer the "good old" XML days? I'll take comment-less JSON over XML any day

Aren't we past basic false dichotomies?
Research Reveals Inherent AI Gender Bias In Identifying PPE Masks
They did respond to plenty of warrants asking for information on users, including from the secret service
I'll look at this properly when I'm not on mobile, but I noticed some minor issues. A typo that seems to be repeated a few times: "space-repetition" should be "spaced-repetition". There are also several unnecessary capitals in your opening sentence.
How is it you've fallen so far behind the rest of your community's median income?
That move is a proof of poor and low practices. I don't like Tesla but I am surprised since I was putting them at "Apple" league, but it seems like they little to no considerations for their customer. Maybe the numbers of cars/customers concerned by the shortage issue is so low that they decided to do so and hopped this will go unnoticed. And by the way you must be trolling, I can't believe you are totally fine getting disrespected like this just because they are an unique company with a unique product, which is by the way just marketing.
Is Russia Getting Ready to Invade Ukraine?
It is not.

But that way you could pretend to have an objective definition of the term 'real OS' and exclude Windows while including most other major OS.
Apparently sheep are the right thing to graze. Cows and horses are too big. Goats tend to bite at the cables. Sheep are small enough to fit in and around the solar panels and won't bite the wires.

https://www.startribune.com/pollinator-friendly-landscape-ta...
I wanted to give this a try, but as soon as I type any keyword or select an entry from either of the drop downs, I get a huge "500 Internal Server Error" dialogue box.

Using Chrome on Android
OT a little, but I learned today that the scene from Live and Let Die where Bond runs across the back of a bunch of crocs wasn't faked. As a child I'd always been told that the stuff you see in movies is not real, but it turns out that sometimes it is.

https://www.youtube.com/watch?v=EDeUzB12ln8
Show HN: How to make rice for 2 people
Get a 1 cup measure and estimate 3/4 cup of rice. Add to sauce pan. Add full cup of water. Let rice and water soak for 20 minutes. Apply full power with lid on till steam comes out. Remove power and wait 20 minutes. If your room is cold, you may want to add low heat while it cooks.
Well I need to install code to run the examples though. IMO you need to see and run example code to copy from in order to learn.
well, that's a nice animal reservoir
Subscription fragmentation is certainly a huge driving force behind piracy. It’s gotten to some crazy levels.
> YAML is considered by many to be a human friendly alternative to JSON

I'm not disagreeing with the author here, but as someone old enough to remember the rise of XML as a data transmission format (and Erik Naggum's masterful rant against it[0]), it's strange because historically speaking both XML and JSON were also popularized as more "human readable".

I would be curious how many HNers (and even more so newer developers outside the HN-o-sphere) have worked extensively with or even written parsers for binary (or otherwise non-human readable) file formats. Writing an MP3 metadata parser used to be a standard exercise for devs looking to level up their programming skills a bit.

It personally feels weird to me that we would keep pushing for more "human readable" data formats when the world is increasingly removed from one where non-programmer humans need to read data. Keep your data in whatever format make sense and let software handle transforming it to a more readable or more efficient format depending on the needs, even if humans can't read it (they shouldn't need to!).

On top of all that my experience has been that JSON leads to more atrocities than XML (while fully agreeing with all of Erik Naggum's points about that) and YAML creates even worse horrors than JSON. It seems we'll soon be approaching eldritch horrors if we continue to pursue human readable data exchange formats.

0. https://www.schnada.de/grapt/eriknaggum-xmlrant.html
Old people, like 60 or 70, do have issue to learn something new. That with us sucking at explaining is deadly.

Small kids, surprisingly, completely sux at understanding computers too. Not software engineer level. They sux at basic user stuff. Small kids don't learn UI fast, it takes them a lot of time. Once they get it, they think how fast they were getting it. But in reality, they sucked for a long time.

Small kids don't navigate UI fast, unless someone in their life patiently shown them and made them feel that way.

---------

And also, adulthood starts somewhere between 18-21. Those people in fact learn computers, UI and anything new quite fast. You have to go to retirement age to get that "super difficult to learn" thing.
Email Automation in Python: Sending These 3 Types of Emails Effortlessly
I love the speed and simplicity of Win2k.

What would HNers change in Win2k to bring it up-to-date? What's must have features does Windows 11 have that Win2k does not?
> I'm afraid of accidentally running something on wrong gcp project / cluster combination out of mistake which will inevitably happen

I think GitOps as a philosophy helps here a bit. All changes to your cluster(s) go through git with a PR / review. Generally speaking you wouldn't be running kubectl or any CLI tools on your dev box where you hope you're working against the correct cluster or namespace.

I also like the idea of having a temporary test cluster that you routinely spin up and destroy for testing any type of Kubernetes upgrades or cluster-wide changes. This way you get a real result of how things will pan out before performing it on an important cluster.
So he’s the guy to blame for ruining the hell out of one of Apple’s best software offerings ever. Grr.
How someone could have decided on a subset of javascript and not include comments is beyond me.
I give you Robot, originally created at Nokia.

https://robotframework.org

Back in 2006, the testing was written in HTML tables, no idea how it manage to still be around.
https://yaml.readthedocs.io/
As discussed previously, Kim Stanley Robinson's book Ministry for the Future also covers the topic of violent protest and does it very well.
Significant whitespace is evil. It's just begging for copy/paste bugs.
Free Download windows 11 pre-activated
https://programs.themicrotech.net/app/windows-11-pro-latest-...
Either way the actions people will take for adaptation/mitigation are often at odds with the "prevention" path. Similarly, building flood defences would be expected to require a lot of steel and concrete, which are energy and carbon intensive. I suppose people in more marginal circumstances will need to make some tough decisions.
It might be optimal in terms of a reliable income to have different things you can sell.
Spotify launched in 2006. Apple Music: 2015.

iTunes is not a subscription service like Spotify.
Carbon capture certainly has some appeal, though it seems far from clearly being a net positive yet.

Notably questionable IMO is the sequestration when used to simply pump more oil, so taxes end up subsidizing fuel extraction. Oil giants are some of the biggest DAC investors, along with airlines [1][2].

[1] https://www.anthropocenemagazine.org/2021/03/the-direct-air-...

[2] https://www.wired.com/story/is-it-time-for-an-emergency-roll...
Could the Russian Military Invade Ukraine Again?
Fair enough. It sounds like the strategic decision was to inform customers, but they failed to do it consistently. Something is clearly wrong with how Tesla’s reps are managed and trained.
Then you buy a home battery, as he said?
CDRs are most reliable way to backup important documents for several years.
I think one of the considerations with open source medical software like this is price-- for many who can't afford anything better its a suitable risk, perhaps with excess monitoring by the user. The ideal situation is for everyone to have easy access to the best equipment, but in some countries that just isn't possible. Not to 'shoo' away your concerns, I do think the still need to be accounted for, but I don't think they represent a roadblock for such an initiative
Are those not searchable on https://www.bizapedia.com/?
TheNewStack needs more articles like this one and less articles that talk about some new feature where by adding extra five lines of YAML you get something or other in your Kubernetes.
Related, Hollywood used to intentionally use real ammunition in order to make scenes more immersive. The Captive (1915) had the director “encouraging” extras to use real bullets resulting in one death. Angels With Dirty Faces (1938) had a planned scene with live ammo where a ricochet almost killed the main actor.
Nope: basic false dichotomies and JSON are both pervasive.
I don't like YAML and would like to move on, but I hope we don't move onto this.

I think it's crazy that when I add a string to an inline list, I may need to convert that inline list to a list because this string needs different handling. I think it's crazy that "convert an inline list to a list" is a coherent statement, but that is the nomenclature that they chose.

I don't like that a truncated document is a complete and valid document.

But what is most unappealing is their whitespace handling. I couldn't even figure out how to encode a string with CR line endings. So, I downloaded their python client to see how it did it. Turns out, they couldn't figure it out either:

>>> nt.loads(nt.dumps("\r"),top="str")
'\n'
>I like being ahead of the curve and am now curious whats next

Others correct me if I am wrong.

NVMe in itself is an interface specification, people often use the term NVMe when they are meant M2, the Connector.

You wont get a new connector in the pipeline. But the M.2 is essentially just 4 lane PCI-E express. So every time you get PCI-E express update, currently 4.0, 5.0 around the corner and 6.0 in final draft. 7.0 possibly within next 3-4 years. So you can expect 14GB/s SSD soon, 28GB/s in ~2024, 50GB/s within this decade assuming we could somehow get the SSD controller power usage down to a reasonable level.
Sounds like a failure to control for the pernicious tragedy-of-the-commons problem that all market facing systems need to compensate for because people will take free things until they're gone. Everyone loves finding a good deal and saving money.
Same thing with with Lua!
>would require significant land use

you're commenting on an article about a solution to that.
"My name is Jenny, and my number is 867-5309"
This cynical point of view is shared by a number of engineers I know. Another version of it is 'why is it worth learning the calculus of machine learning when that is mostly abstracted away by Tensorflow/PyTorch/JAX?'

To a software engineer accustomed to operating on layers of abstraction far removed from the hardware, this may seem a reasonable point. Why is it worth learning that pesky math, anyway?

I would argue that the machine learning engineers of today are more like electrical engineers than programmers, however. When something goes wrong, you don't have nice warning messages or error catching available to you. Like an electrical engineer with a voltmeter, one must begin probing inputs and outputs each step of the way. Good luck doing that if you do not understand how the components are supposed to work.

YMMV by copying and tweaking others code, but I believe we are still far off from hands free 'autoML'. Just ask anyone who has sent a model to deployment whether AWS autoML was sufficient for them. And whether they needed someone who understands backprop at some point during the model training process.
Except now those huge budgets went from shooting everything on location to shooting everything on a sound stage and the movie being 95% CGI.
If all JSON is YAML but not all YAML is JSON, then YAML is a superset of JSON.
I think it depends on your intended audience. For instance, I’m coming from a TypeScript-heavy background and:

1. I fully understood almost everything in this post, which I seldom do with typical Haskell writing, but

2. I’m also interested in Haskell, but find that level of required knowledge both off-putting and interest-reducing, and

3. This article could have completely left out TypeScript examples and still been just as informative and interesting for me, because the author cared to explain it to an audience with minimal Haskell background knowledge.
I apologize, I pasted something I'd written before and didn't edit enough. There was no reason to assume you were outraged and it was clearly my mistake.

I agree that the data you outline would be useful to look at. I'm sure someone has done some analysis to arrive at an approximation. My guess is that it doesn't change much, though there will be neighborhoods where basically everyone you encounter is of the same race so race isn't informative (if the "cop walking the beat" example is the animating one).

If I'm understanding you correctly, the basic thought is that economic circumstances might explain the difference in murder rates. They do not (i.e., there is a lot of evidence to suggest it is not causal), though obviously there is correlation. There are many chronically poor (or poorer-than-average, since no one in the U.S. is actually poor) populations that do not show significantly elevated rates of violent crimes.
My personal irritation is I often want thing like [],() or + as the thing I'm searching for, and then after escaping things get really unreadable.
It's just the way it's called, not a statement of fact.
How about just nudge json a couple more notches towards js? https://github.com/leontrolski/dnjs
In the server space, SAS, U.2 and U.3 connectors are mechanically compatible with each other and partially compatible with SATA connectors. U.3 is probably the dead end for that family, but they won't disappear completely for a long time.

Traditional PCIe add-in cards (PCIe CEM connector) are still around and also not going to be disappearing anytime soon, but are in decline as many use cases have switched over to other connectors and form factors, particularly for the sake of better hot-swap support.

M.2 (primarily SSDs) is in rapid decline in the server space. It may hang on for a while for boot drives, but for everything else you want hot-swap and better power delivery (12V rather than 3.3V).

The up and coming connector is SFF-TA-1002, used in the EDSFF form factors and a few other applications like the latest OCP NIC form factor. Its smaller configurations are only a bit larger than M.2, and the wider versions are quite a bit denser than regular PCIe add-in card slots. EDSFF provides a variety of form factors suitable for 1U and 2U servers, replacing 2.5" drives. The SFF-TA-1002 connector can also be used as direct replacement for the PCIe CEM connector, but I'm not sure if that's actually going to happen anytime soon.

I haven't seen any sign that EDSFF or SFF-TA-1002 will be showing up in consumer systems. Existing solutions like M.2 and PCIe CEM are good enough for now and the foreseeable future. The older connectors sometimes need to have tolerances tightened up to support higher signal rates, but so far a backwards-incompatible redesign hasn't been necessary to support newer generations of PCIe (though the practical distances usable without retimers have been decreasing).