skysight-inc/HackerNews huggingface dataset:
Current prices are kinda nutty and are largely determined by the size of your buy. Retail prices for home batteries (a few kWhs) are roughly $1000/kWh. A Model 3 gets you about $700/kWh (with two free motors and an ipad). A Tesla megapack is $290/kWh, but you have to spend $1000000 to get that price. Tesla probably gets cells from the factory at round $80-$90/kWh.

Long-term it seems pretty reasonable that retail prices should be a small multiple of the factory price (which keeps decreasing), so I think $1000 for a 20kWh battery is totally reasonable.
> professional magicians

Centuries of prior art on disappearing!
Just a quick side note not that I think you are wrong here at all just pointing it out as an FYI but there is a tool currently in development called jj or jiu-jitsu which is currently implemented on top of git but exposes a totally different cli and set of workflows which people seem to think is a huge improvement over git. It’s a cool project to keep an eye on.
They have an unbelievably small brain case for a medium-sized quadruped mammal
Whitespace Programming Language (2004)
AFL++, a fuzzer, has a tool to minimize (shrink) test cases.
IMHO, I believe the peak was due to a combination of Zero Interest Rate Policy (ZIRP) and the pandemic, both of which have faded out this year. Elon Musk's highly publicized firing of a big part of the Twitter work force also set a precedent for lay-offs in the industry. But I am still optimistic that we will many such peaks ahead of us.
Thanks! Technique for sure does a lot, but after you find the right tool, it's just pain to go back.
HE.net problem
This video describes a building's features. Genius doesn't make an appearance.

Also, pizza boxes.
Show HN: I made Chrome Extension to have custom Short URLs for me
I'm pretty sure it's a Signal ID.
I 100% agree.
Following a couple implementation and security checklists is not hard.
I was wondering why anyone would go through all that trouble if s/he already had that level of control of the plane?

Good to have someone more knowledgeable explain that I'm not necessarily crazy.
This is designed for low hundreds per week and probably is priced much more reasonably for that market than what you are suggesting.
Often the sequence of topics will be deeply significant once you are up to speed. Also for really hard work, knowing someone that knows the material is going to grade your homework is (at least for me) extremely motivating to do my best to master the material. Also office hours- periodically I get stuck trying to prove false things due to careless reading, and the professors are quite good at backing up and asking why I am trying to prove something they know to be false.

As with many human activities it is startlingly easy to fool oneself and so things involving a more experienced person can help. Grading, code reviews, peer review, certifications, etc.
I don't think that implementation is particularly good, although this is a big trick with Sans-IO: is the event loop responsible for buffering the input bytes? Or are the state machines?

In effect, you have to be thoughtful (and explicit!) about the event loop semantics demanded by each state machine and, as the event loop implementer, you have to satisfy all of those semantics faithfully.

A few alternatives include your version, one where `handle_input` returns something like `Result<Option<Packet>>` covering both error cases and successful partial consumption cases, one where `handle_input` tells the event loop how much additional input it knows it needs whenever it finishes parsing a length field and requires that the event loop not call it again until it can hand it exactly that many bytes.

This can all be pretty non-trivial. And then you'd want to compose state machines with different anticipated semantics. It's not obvious how to do this well.
I've heard that many of the jobs posted on general jobs boards like that are never intended to result in a hire. They are posted when the company already knows who they are going to hire, but are legally obligated to post the position, or when the company wants to manufacture evidence that "no qualified candidates" could be found locally.
New Landing Page for SimpleURL
'ч' reads like 'ch', but I think you've decoded it the wrong way.
My circles, centrist politics just mean "complex" case-by-case politics.

By this definition, most reasonable people are centrist. We are forced to pick a team to get the numbers but our positions can and do differ from the party line.
Swarm of dusty young stars found around our galaxy's central black hole
This a little confusing because US OTC prices are not even close to their all time high:

https://www.google.com/finance/quote/SFTBF:OTCMKTS?window=MA...
Rarely used because it's invisible and quite awkward to use as a user, basically unusable to most, with no GUI. Also because it will just silently be demolished if you copy to/from an FAT filesystem like a typical flash drive, so it's completely unreliable.
My phone number is from a different area code than I currently live in and I know no one from that area anymore. I can filter out 80% of spam just by ignoring calls from that area.

I wind-up using the phone because so many organizations malevolently misfeature they websites - doing what you want to (pay basic bill or whatever) is hard but upselling and new features, those you can do instantly.
I think a big part of it is react specific which is also largely down to the functional approach which took over the community years ago.

That ends up with a very different set of patterns and whatnot compared to lots of various desktop approaches.

Something more traditional desktop looking might be Angular, Lit or Futter which to be fair is actually a desktop and mobile framework that also happens to target web.

If you’re looking for an interesting journey into what that looks like in practice I would suggest doing a couple of flutter tutorials and building a todo app or something. It’s very different looking from React for sure.
You would need plenty of electricity though.

BTW one of my favorite crazy ideas is that by the times of the Middle Kingdom, ancient Egypt had all the material resources needed to build a phone system, or at least a telegraph system, very useful in a large country. Zinc and silver to create batteries. Plentiful copper, gold, and silver to create any kinds of wires, and techniques to finely process it. Some amounts of magnetic ferrous alloys from meteorites, and likely access to iron ores to produce more. Only very small amounts are needed for kernels of electromagnets and membranes. Paper and resin-based glues could be used to produce wire insulation. Very certainly they were able to work any available materials with good precision and sophistication.

What they lacked was a good theory required to connect the pieces into a working phone system, like that of late 19th century.

I sometimes think about what we are currently oblivious of, because certainly we have a plethora of resources to work with. (See also: https://en.wikipedia.org/wiki/His_Master%27s_Voice_(novel))
This makes just so much sense and would spare me 65 lines of code. Thank you!
Is there some context that would aid in understanding this? Because it doesn't make sense.
this was archived 4 years ago and doesn’t even build anymore, what’s the point of saying it’s an alternative? it’s not
Wyoming Paramedics Advise Not Shooting Fireworks from Your Orifices or at People
I'm really surprised that the first example doesn't work. I would have thought that it decides which overload to use only when instantiating the template, and then doing argument dependent lookup (or whatever it is called) to pick the correct overload to match the type of the elements.

On the other hand, I don't even know how transform is defined. C++ has nothing exactly like IEnumerable<T>, so maybe it is hard to refer to the T? And of course what the article references, that there is no way to refer to the overload set.

I usually like C++, but it is not fun when the abstractions break like that.
> In theory, a Google engineer could code in a special case to avoid this problem

And then in this alternate universe, pirates start naming all of their files ".DS_Store"!
Unless you're living in the middle of nowhere and the only people you're close to are the ones you have nothing in common with. Besides superficial characteristics like ethnicity and language. These threads are a blessing for some of us.
Right, a simple wire cutter is more than enough once you have physical access to the avionics bay.
For example I used something like "pid:module:funcname:entry" probe for userspace things (not pid$123 or pid$target, just pid to catch all PIDs using the module/funcname of interest). And back when I tested, it didn't automatically catch any new PIDs so these probes were not fired for them unless I restarted my DTrace script (but it was probably year <2010 when I last tested it).

Execname is a variable in DTrace and not a probe (?), so how would it help with automatically attaching to new PIDs? Now that I recall more details, there was no issue with statically defined kernel "fbt" probes nor "profile", but the userspace pid one was where I hit this limitation.
It wasn't always so.

The ignorant socialists among us took over the bureacracies, pushing a cult of qualification, and made it seem like subscribing would promote prosperity through cheap debt. They made it a real thing.

Rather than simply looking for baseline requirements to fulfill a role, positions always want a ballerina with contradictory requirements they themselves can't determine is most important.

I remember a position asking for 15 years experience in a language, that only existed for 10, and they refused to hire the creator of that programming language.

They also have loans fueling them with near free money so they can wait and suppress wages to a point of debt-slavery.

Its been quite a trip seeing all the things my grandparents (silent generation) were adamant and warned about coming to fruition within my lifetime.

I honestly wouldn't be surprised if a violent civil war starts in the next few years given the social contract has largely been broken by the generation currently in power, and they burnt all the bridges in doing so. There's going to be one hell of a massive correction in our lifetimes. For good or ill its coming.
I have found it useful. I used to install PowerShell 7.x, kubectl, Bicep (Azure language for deploying resources), etc. It works fine. The biggest problem I have is I cannot use it to install helm because the helm package is not shipped by the helm team (I don't trust packages shipped by third parties).
California Advances Unique Safety Regulations for AI Companies Despite Tech Firm
Deleuze is so overrated(although I am personally biased against everything that came out and was concurrent with Mai 68 in general). I don't know if you read it in French, but in French the only "French Theorist" worse than Deleuze/Guattari is Baudrillar(for how bad the concepts are).

IMO the most interesting one from that era is Clouscard.
There aren’t a ton of smart appliances because there aren’t a ton of smart grids. We need smart grids with, like, really significant demand based pricing before people are going to care about smart appliances. And of course there’s no reason to get smart appliances if you don’t have that kind of grid.

Somebody has to go first. In the bright side it really is unambiguous whose job it is. Utility providers are often government subsidized or at least heavily regulated government-provided monopolies. They have the responsibility to act in the public good, and provide strong enough incentives to get people to come along with them.
Kusto renders graphs in your query results window
So, there was a big failure of paperwork, but as the co-founder say, why is there a million dollar shortfall? Where did the money go?

I wonder if having fdic.gov basically say "beware of fintechs" is going to negatively impact the sector: https://www.fdic.gov/resources/consumers/consumer-news/2024-...

Remember when Voyager said it was FDIC insured?
So the ones who do not match the narrow skill set you are looking for do not get any response if I understand correctly?

Would that number be 90%?

Also 54 is not a lot. Consider responding to all candidates at your scale which is still very tiny.

Github gets a much larger number of applications (1000s) and they still respond with a lot more details about why they reject people.

I work with a lot of mentorship and coaching of young tech folks and this can drastically improve how people think of you.
Fireworks in the CLI, Triggered by CLI Command – Happy 4th of July [video]
Been hard at work on a new rendering engine for Wave Terminal (https://github.com/wavetermdev/waveterm). Coded up a quick proof of concept for 4th of July showing fireworks rendering in the terminal, triggered by a CLI command. New version is not live yet, but hoping to go into beta soon :)
Why is science reporting such irredeemable clickbaity trash? Not just from the mainstream media with commercial motive, from whom I naturally expect trash, but also from nonprofit universities of all places.

Seriously, who is the intended audience of this headline? People who only read the headline and think "Woweee science is amazing!" before scrolling down? Anybody who reads the article will roll their eyes at the headline, and the publisher isn't even getting ad revenue from this shit. Why are they pandering to the most base idiots like this?
Several of those are humantime collectors, maximizing the time human spend looking at their content/ads.
This article made me recall a text based GUI? I used in commercial programming tool named "Vermont Views" previously named "Windows for Data" This was around about 1990 or earlier? . It was a tool that allowed relatively easy development of text based user interfaces Old Ad for it https://archive.org/details/byte-magazine-1992-01/page/n25/m... Google the words >> +"Windows for Data" Vermont Views << for lots other links ....
the iPhone operating system: https://www.cisco.com/c/dam/en/us/td/docs/voice_ip_comm/jabb...
CapraRAT malware targeting Android users with fake apps
You'd be surprised how much enterprises pay for Protons and Garners. For approx tripple the price (my links above) you get about 30x throughput.
But I agree, not everyone needs that speed.
Any good book opensourced like this with a bit more developer friendly version? this one is too much mathematical friendly.
The environment be damned: Regarding price / energy density, yes. They even have weight / energy density advantage.

But Lithium batteries can't be recycled. Saying "We are almost there" and "The future looks bright about it" is "moving fast and breaking things" again
No worries! Btw in your database graph "Snowflake" seems to be off by two positions, as it has a smaller count than ElasticSearch and ClickHouse, but appears in front of them.
Great to see this math being made more accessible!

The Python examples seem to have a very strong Java smell. That might just be my prefer for functional styles over OOP styles though.
This is super cool. Any insight into how this may have been designed? High-quality, compact hash functions are really useful in C.
Don't blame it on the smart meters, blame it on the governments that refuse to structure the plans to take advantage of it. I figured it would be a no brainer to switch to the time of use plan because we have an electric car we charge at night, but no, the standard non time of use plan is cheaper for us.
At $1k for 20kw/h, I'd be very tempted to massively over-panel the roof and front/back yard on pergolas, install 200kwh of battery and never deal with pg&e again
On Books, and why physical media matter
Pretty cool! It's kinda amusing that we've gone from TUI (VisiCalc/Lotus 1-2-3) to GUI (Excel), and back to TUI though.
The simple answer to a question posed in the article "On the other hand one could ask why there isn’t a requirement that published research should be reproducible using open source tools (or at least tools that are freely available to the public and other researchers)?" is that the obvious immediate outcome of such a requirement is that papers failing that requirement - like the Quviq QuickCheck papers, which seem to have been useful to the author and others - simply would not get published, and the community would lose out on that gift of information.
> The one exception arrived when the film cut to the interior of a cave. Up until this point, every shot had been outdoors or underwater. They looked good but didn’t really showcase the Sphere’s strengths as a wraparound display, since it’s easier to fool depth perception with a clear blue sky versus a detailed interior. But gazing up at the walls and ceiling of the cave, I genuinely felt like I was there.
>
> Frankly, if someone told me they’d had this experience at the Sphere, I’d have dismissed them as insufficiently discerning, no matter the size or resolution of the screen. And yet here we are: I was convinced.

Yeah, this sounds exactly like 'presence' for a seated VR experience. And I suppose for the same reason: no matter where you look, there the Sphere or VRHMD is.
I'm just here to commiserate with F# being the red-headed stepchild of dotnet. Everytime people say "dotnet" they really mean "C#".
And yet some like the swiss survive the whole world preparing to come down on them.it can be done .. nowadays with weapons of mass destruction more than ever.
I am in my fifties, a software engineer, and I am enrolled in a masters program for mathematics and really learning at a ferocious rate compared to my job, where I can alternate learning with using what I've learned.

For me, learning a lot is very worthwhile. Not everyone shares that goal for education of course.
What a great write up - thank you.

Someone in NYC give this person a job! ^_^
Huh, last record high was February 2000. Wonder what was going on with the stock market back then.
There are other means of remote access besides internet. POTS (i.e. dial-up modems), cellular wireless, and other forms of radio are several that come to mind.

Internet is almost certainly the cheapest and easiest thing, which is why it's used.
>Tesla probably gets cells from the factory at round $80-$90/kWh.

Where I live there is a warehouse where you can withdraw new MANYI Lifepo4 cells at around 97€/kwh (a single cell) after contacting the seller on Alibaba, so I'm guessing Telsa is getting them at 80 or even less.
I don't think next is necessary (or even right) for every project, but what do you mean its popularity was manufactured? It wasn't even around until a few years ago and it quickly displaced other frameworks.
Researchers address ocean paradox with 55 gallons of fluorescent dye
Hey congrats on the launch!

How does it work technically?

Does Google provide an API to actively inform about new websites?
Ask HN: Where do you invest your own personal money?
We’re close to this. California, which is not the world but is a major market, has pretty transparent grids with variable pricing. I don’t know if they’re “first” but they’re a big enough market to drive change.

Electric Cars use a ton of electricity and have these sorts of features for a while now. Apple even built grid pricing info into their latest “Home” app for California users.

I think there aren’t smart appliances because there is no demand for people to change their behavior. No one is going to put off cooking dinner for cheaper oven use. We see it with cars and smart thermostats because it’s largely set-and-forget with people.
A new model for defining life across the universe
I mean it must have a downside because otherwise I’ll have to admit I’ve made a mistake by not having one already.
How is it better than this open source solution? https://github.com/goenning/google-indexing-script
The Challenges of Integrating the Unix and Mac OS Environments (from 2000)

https://www.usenix.org/techsessionssummary/challenges-integr...
If I ever become a billionaire, I am going to have an entire big room in my house dedicated to pre-electric computers. It's amazing how much stuff got borderline-trivial once the transistor became ubiquitous, and stuff like The Writer Automaton has always been something that has utterly fascinated me.
Most standards (e.g. ISO 27001, NIST 800-88) do allow for physical destruction without cryptographic erasure if the device is being shredded or incinerated (to the applicable shredding/incineration standard of particulate size/temperature). Especially because cryptographic erasure is effectively pointless (at high data-sensitivity levels) if the device wasn't encrypted immediately and prior to data being written. Notably, NIST 800-88 2.6 explains when not to use cryptographic erasure, and when to consider it, but there is no requirement for it.

But, I mainly made my comment in reply to this part of your comment:

>I’d assume this device targets that market.

Because I don't think there is any market where this SSD punching device would be compliant and cryptographic erasure wouldn't be compliant. At least, in my career, I have not seen any environment or standard where this would be considered compliant but cryptographic erasure wouldn't be.
>Why build machines at great scale when there is so much almost free human labor?

It's crazy that to some extent this is still true today. Automation could go a lot further with existing technologies and make many workers' lives easier or safer. But it is often cheaper to hire humans and burn through them instead of spending the money to implement new kinds of robotics. Especially when companies only think until the next quarter.
Philosophically speaking there's a great difference.

Data shuffling doesn't —in principle— lose information; computation does. ("evaluation is forgetting")

In https://news.ycombinator.com/item?id=32498382 "glue code" and "parsley code" are data shuffling, while "crunch code" is computation.
I totally agree. Bash is an absolute nightmare to program in. Just an utter mess of a language, one which I avoid if at all possible. Whereas powershell is an actual sensible language. I love writing it, and honestly I wish it was popular enough in *nix land that I could feasibly use it there too.
I feel the most apposite response, given the topic of the post I was replying to, is to leave it as an exercise for the reader.
To be fair, that's not actually in the book. I said it was based on a function from that book, but below is the version they actually write in the book; I apologize for unintentionally misleading you. I wrote the above function myself (based on this one below) to showcase the type of style I'm talking about.

/* getline: read a line into s, return length */
int getline(char s[], int lim)
{
int c, i;
for (i=O; i<lim-1 && (c=getchar())!=EOF && c!='\n'; ++i)
s[i] = c;
if (c == '\n') {
s[i] = c;
++i;
}
s[i] = '\0';
return i;
}

They specifically don't use pointer arithmetic or the post-increment operator, because at that point in the book, they haven't introduced those yet.

However, that function I wrote isn't far off from the real Unix V7 version of fgets [0], which is a similar function to getline:

char *
fgets(s, n, iop)
char *s;
register FILE *iop;
{
register c;
register char *cs;

cs = s;
while (--n>0 && (c = getc(iop))>=0) {
*cs++ = c;
if (c=='\n')
break;
}
if (c<0 && cs==s)
return(NULL);
*cs++ = '\0';
return(s);
}

Like I said, the creators and first users of C seemed to really like expressions with side-effects, pointer arithmetic, and while-loops with empty bodies (though fgets doesn't have that). It's interesting how Go is different in this regard, considering Ken Thompson was a co-creator of both languages.

[0]: https://minnie.tuhs.org/cgi-bin/utree.pl?file=V7/usr/src/lib...
Hurricane Electric (HE) provides, among other things, DNS services. When a domain is placed in `clientHold`, as has happened to HE due to a spurious phishing report, it causes the domain to no longer resolve. So the DNS records for HE and all of HE's customers are gradually becoming unresolvable as caches expire.