skysight-inc/HackerNews huggingface dataset:
Estimates vary. Others say that 12 hours of storage would be needed to reach 80%: https://pv-magazine-usa.com/2018/03/01/12-hours-energy-stora...

And for what it's worth, even just 5 hours of electricity storage is 12,500 GWh, compared to just 400 GWh of battery production (most of which goes to EVs and electronics, not grid storage).

Pumped storage does indeed require rivers or lakes to operate effectively. Transporting vast amounts of water to a storage site is prohibitively expensive. It also requires a hill nearby on which to build a reservoir. And this site needs to be near a transportation hub, otherwise construction costs will increase as transportation of material gets more expensive. The number of potential storage sites is indeed large, but the number of economically viable storage sites is much narrower. Most studies regarding hydroelectric storage potential work by running an algorithm over a height map. Very few of the sites flagged by such an algorithm can be developed economically.
Google does have a confound in that it's a monopoly. But if you take the example of a small startup, who uses profits in one department to subsidize R&D in another department, it's clear the startup doesn't have internal free markets.

Or take a family, if the mother gives the nephew a lot of spending money, that's also not free markets.

Yet families and startups in the US work well on the country level.
I spent some time developing i c++ 10 years back or so. I really don't want to use OOP. I fucking hate OOP. No amount of money will make my use C++ again.

These days I do embedded programming in C with some Python on the side. As a plus the nightmares about debugging c++ code disappeared.
Yea, this is a terrible way of calculating this. I would like to see it done based on capacity (which sadly isn't public for part-ownership).
>say whether the attack was political or not.

>I said the defense of the attack certainly is exactly that: political.

>So it does not matter anymore whether the attack itself was political at this point.

I misread what you wrote.

>The question now is: Why would anybody defend an supposed "non-political" attack like this one? This is literal "supporting-horror-movie-villain"-territory. Or as I said: If they made me defend that, I would definitely reconsider why I let them manipulate me into this. I am not sure what I would gain from letting them do this to me, other than offsetting the realization that they duped me for yet another day.

I don't think any mainstream person is defending this. There have been comparisons to Rand Paul's attack since various people who were supportive of the attack on Rand (including the Pelosi's daughter) are opposed to this one.

There has also been some lack of sympathy, which is unfortunate.

>On a side note: given what we know this attack was indeed political. If you are consume actual news outlets you might know that the attacker is quoted to have said to the police he wanted to wait for the speaker and "break her kneecaps” to show other members of Congress there were “consequences to actions".

I haven't seen anybody provide evidence to that. I have seen some claims, but nobody involved is quoted as hearing it (as far as I have seen).

Seeing how the media has been lying from the very beginning of this case I will wait until somebody reputable provides evidence to that statement.

The defense lawyer said there has been a lot of misinformation regarding this case, so I think trusting the people spreading the misinformation isn't a wise decision.

>Attacking a public representative for their political actions is as political as it gets.

>If you don't like what your representatives do in a democracy, you vote them out. What you don't do is this psycho killer bullshit.

I agree you shouldn't attack people over politics, but you are assuming this was an attack over political actions...

He appears to be similar politically to the Pelosis.
from wikipedia:
Quibi (/ˈkwɪbi/ KWIB-ee) was a short-lived American short-form streaming platform that generated content for viewing on mobile devices. It was founded in Los Angeles in August 2018 as NewTV by Jeffrey Katzenberg and was led by Meg Whitman, its CEO. The service raised $1.75 billion from investors.[1] It launched in April 2020, but shut down in December 2020 after falling short of its subscriber projections.[2][3][4] In January 2021, Quibi's content library was sold to Roku, Inc. for less than $100 million.[5][6][7]
I think experienced programmers find languages like Haskell difficult not because of an implicit difficulty, but because they may not match paradigms that are popular in universities and commonplace work environments.

That said, I think Python has a lot of conveniences that make an early level programmer become effective much quicker than most other languages; these conveniences may translate well to teaching.
Why would they need to, if it's not transferable?
Most people learn programming so they can eventually get employed as programmers. Learning Haskell, or any niche language, may impart some deeper understanding of programming, but it won't get most people any closer to employment.

Don't underestimate the value of immediate success and gratification. Almost anyone can get "Hello, world" to work in Python (and I could name several other similarly "easy" languages), from installing Python to seeing something work, no matter how trivial. Getting to the same point and understanding how the code you wrote works with Haskell or Lisp presents a bigger hill to climb, which will discourage people. I have taught and tutored teenagers and college students in programming, and I've seen them get discouraged right away because they don't feel like they succeed in small ways.

All evidence from decades of programming indicates that most people understand procedural languages and style more readily than they "get" OOP or functional languages. Once someone understands the basics of writing any useful code and feels comfortable with things like control flow, variables, functions, data structures they can expand their skills with object-oriented and functional programming. I don't think those make good starting points, though. By analogy, children learn to read very simple books with pictures, because we want to teach them how to read anything. They can get to Shakespeare and technical books later, once they feel confident reading simpler books.
Ask HN: Can you build now an enterprise system in a no-code environment?
Company has currently an enterprise system built in .NET (backend) and HTML5 (front-end). System has couple hundred of screens and about 1000 DB tables.

Company is looking to re-write the system but in a no-code platform / low-code platform?

Are you aware of big systems with business rules and custom screens being built in a no-code platform? Where do you code the logic? -- in workflows?

Any success stories?
Another Wolfram article written about how much Wolfram Wolfram used to Wolfram new Wolfams. Now with more Wolfram
The answer to both is… yes.

I could have tried to port, say, Actua Soccer to SCO Xenix, but I went with DOOM because the source is available, every detail is known, there’s a million different ports to learn from, there’s a reasonably clear separation of OS dependent and independent parts, everyone loves DOOM, it runs on any hardware, porting DOOM to platform X is almost a meme, … should I continue?
> You might benefit from learning a bit from the HN Guidelines regarding discourse.

Yes, I might :) . Just went with existing practice, not with guidelines. Will try to do better next time :) .

> Except Musk himself has said they were hours away from bankruptcy before NASA's contract had come through after that fourth launch.

That's exactly what I'm talking about. I think you're proving my point - your "Unless you're Musk, who gets the taxpayers to fund his risk. What's the saying? It's socialism for the rich and capitalism for the poor?" says that Musk didn't risk his own money developing Falcon-1, and almost lost.

Remember Falcon-5? That was SpaceX approach to relatively slowly conquering the market in case NASA won't give them contracts. But NASA did, and Falcon-5 went to history, and Falcon-9 got full steam ahead.

> Also, when they lose govt payloads, the govt (i.e. taxpayers) shoulder most of the risk because they are self-insured. That means SpaceX gets to take bigger risks because they don't have to pay for them through the typical privatized mechanisms of risk mitigation like insurance.

SpaceX happily serves commercial customers. And commercial customers are happily served by SpaceX. And US government wants its own share of cheap and reliable - comparatively - launches, so SpaceX gets their orders too. Will you say anybody dealing with US government rides on the backs of taxpayers?

Do you understand that you're wrong with your socialism and capitalism?
Not as dramatic, but shrooms helped me realize how fun dancing can be (like at clubs and concerts and such). And that realization stayed with me forever, even though I haven't done shrooms even once since then.

Until that point, dancing for me was something that just you do socially because that's what people do, and (in my head) most people did it drunk because that was the only way it felt bearable to do.

I know it wasn't some lifechanging discovery, but it definitely was one of those realizations that I thought i would never reach in my life (or that it was possible at all, i assumed it was something you either like or you don't, without much wiggle room for a change).
I watched a video[0] about the Roc language recently, and they do something interesting to address this: they have a layer in their language called "platforms" and the idea behind these are that there are many different platforms that you can choose between to run code with and each one has different permissions. So one platform might be sandboxed and disallow the use of certain unsafe APIs whereas another might be less sandboxed.

[0] https://m.youtube.com/watch?v=cpQwtwVKAfU
Perhaps you should be the first in your group? ;)
Immoral clause sounds to me like too much. If conditions are bad, just leave. They will have to change them eventually, that's it.
Amazon definitely has a lot of subsea investment but I don't think they fully own cables unless this WSJ piece is wrong. https://www.wsj.com/articles/google-amazon-meta-and-microsof...

There is an exception to big tech companies collaborating with rivals on the underwater infrastructure of the internet. Google, alone among big tech companies, is already the sole owner of three different undersea cables, and that total is projected by TeleGeography to reach six by 2023.

Google has built and is building these solely owned-and-operated cables for two reasons, says Vijay Vusirikala, a senior director at Google responsible for all of the company’s submarine and terrestrial fiber infrastructure. The first is that the company needs them in order to make its own services, such as Google search and YouTube streaming, fast and responsive. The second is to gain an edge in the battle for customers for its cloud services.
I feel this seems reasonable in an economically liberal context, but I would hope there's enough regulatory apparatus to ensure they can't do shenanigans as a result of their holdings.

Also, I feel these kinds of things would ideally be managed by the state - in the same way that highways are? I mean, data is 'the commons' as a public sidewalk. I loathe to think some of our governing bodies are not up to the task, but, by gosh, they should be.
Just put money in a red envelope. The envelope can be company branded.
> It’s also best to avoid socks. Everyone already has socks, and realistically, they will likely also get socks from someone else during the holiday season.

What is this crap? Socks are the best gift. Didn't the author stop to wonder why everybody gives people socks during the holiday season? Because virtually everybody uses socks, because socks wear out fast, because new socks are the most comfortable and it's always nice to get a new pair even if you already have lots of socks. If anybody asks me what I want as a gift, I tell them socks.
you're right, Scala has also type classes, though. Generics, traits, variance, etc., are all quite sophisticated in Scala. I wouldn't say it's taken from Rust. The idea had been there for a while.
When was the last time they had a new model? I’m seeing a virtual Cambrian explosion of non-Tesla EVs in the South Bay in just the last year. Bolt and Leaf are the entry level models that make EV accessible. Tesla is still way out of reach for most people, serving a niche audience, and now merging their brand identity in many peoples minds with the toxic soup that is Twitter.

I’m all in on EV, but Tesla blew it by failing to focus on the Bolt and Leaf market. And their SWEs are now apparently spending their time solving twitters HR problems.
Yeah, lots of the stuff on the list isn't going to piss me off, it's just "meh" at worst. If they handed out $5 gift cards and people didn't want them you know I'd be going around and slurping them up.
> Everyone has the option to eat healthy

Yet some people live in food deserts and can't readily access reasonably priced healthy foods. 19 million Americans have lim­it­ed access to a proper store (https://www.aecf.org/blog/exploring-americas-food-deserts) and unhealthy foods cost poor Americans less than healthy foods in both money and (more importantly) time.

> Broadband is subsidized or free for poor families.

and yet during the pandemic school districts had to drive school buses acting as hotspots into poor communities in order to help the ~15 million public school students who had zero internet access but had to participate in remote learning. (https://all4ed.org/publication/homeworkgap/) Millions more have some form of internet access, but don't have internet speeds or devices capable enough for online learning. In Alcona county for example 60% of the students don't have reliable internet access at home.

The system is failing a whole lot of people. That doesn't absolve people from personal responsibility but it's wrong to pretend very real problems don't exist and influence people's actions and outcomes.
I wonder how the Cobol market is doing?
But his clockwork orange pays so much better!
Oh absolutely. Unless everyone wants to be cool and stop publishing malware, gotta take a defense in depth approach here.
Average node.js app is slow. It requires godlike understanding/experience to make JS perform well. That why you see people re-writing JS to rust and go and zig, for example SWC, turbopack, esbuild and rome. For most use cases JS is plenty fast but average go code will be faster and easier to maintain.

As I am getting older, I do not want to spend my weekend learning about new features in next.js v13[1]or rewriting tests from enzyme to RTL[2]. I want to use programming language that value its users time and focus on developer experience.

[1] https://www.youtube.com/watch?v=_w0Ikk4JY7U
[2] https://dev.to/wojtekmaj/enzyme-is-dead-now-what-ekl
> By this logic, why doesn't Congress illegalize travel?

Because then the money just gets spent in other places shifting around the inflation.
cannabis is fine with purple light. My begonias, however, which are supposed to have a bright multicolored foliage as their main feature, come out looking about as impressive as cabbage under purple lights. with a bit of extra "warm white" light they become colorful again.

"peak efficiency" is fine but the rest of what the plant is doing counts too and those less efficient processes may have benefits in the final product.
> That is self-proving as false and does not follow automatically what-so-ever.

To the extent that anyone believes free markets are good, the usual argument of their goodness does not at all rely on sub-levels to be free markets. Now you might be saying even "free markets are good" is suspect. Attacking that axiom is fine in my book.

> The US has very heavily utilized things like tariffs and restrictive trade agreements throughout its history,

I support this view. However, the early 90s "Washington Consensus" was that in international spheres to talk up how good free markets are. The US should drop that pretense entirely then.
Because people will cut spending on going to theaters somewhat, and that takes some gas to get there. No, short term people don't need theaters to survive.

There is some non-critical spending to cut, Feds rely on that.
Maybe the issue was with how powerful and unrestricted reflection was in java before introduction of modules.
To be fair, mkbhd is a genius at what he does.
Agree, socks are awesome and actually get used.
Read the readme instead of arguing on HN about it
Not everywhere and especially not anytime soon. India has more than 3,000 institutions called Gaushalas maintained by charitable trusts that care for old and infirm cows. It’s a whole religious thing.

Also, enforcing rules isn’t free. Trying to enforce a cow ban would get really expensive.
So it didn't do much for you. I know many people who report similar experiences.

Like OP, for me personally it has profound effects on me and helps me improve and maintain my mental health.

Everyone is different.
You beat me to it. :D

Simply one of the greatest films of all time.

"Listen, when I was in prison I learned that everything in this world, including money, operates not on reality, but the perception of reality."

"Stock market? Currency market? Commodities market? Small countries?"

https://www.youtube.com/watch?v=09LJJB7dVTU

I know he's the "bad guy" but I suspect I (many of us?) have been subconsciously channeling Cosmo since I saw the movie as an impressionable kid.
The solutions to side effects that Haskell introduces are high minded concepts that take time to understand, especially as they are traditionally introduced. But no programmer coming to Haskell has issues with

addTwoNumbers a b = a + b

You can get quite far into programming concepts with just pure functions and the IO monad, the latter of which doesn't need to be understood for the purposes of printing output/scanning input. When you get into file manipulation and network calls it gets harder to avoid the tough topics, certainly, but that's also true of Python as this is when you get into async programming (and thus many pitfalls of mutability) and context blocks (monads by any other name).

With that said the only programming language beginners should work with is JavaScript because you have access to its interpreter anywhere you have a web browser (even without an internet connection!)
I'm fairly proficient in Rust and I think it has its own strengths for learning, but its own downsides too.

Pros:

1. Way easier to get "live" help, I've found the barrier to ask for Rust help is lower than any other language I've ever used (and I've used a lot)

2. Way easier tooling like cargo, error messages are far better, especially with regards to generics vs templates

3. Some things are more explicit in Rust. Like `Box<dyn Trait>` is very explicit about dynamic dispatch, I don't recall that being the case in C++.

Cons:

1. Rust's "codex" of knowledge is nowhere near C++. There are tons of conference talks, books, blog posts, etc on C++. Not just on C++ but also on hardware as seen through C++, security, etc.

2. Implementing low level data structures in Rust is an advanced practice. Implementing them in C++ is trivial. I get that it's trivial because C++ doesn't give a fuck about your pointers, but if you're just trying to learn data structures you really just need to be focusing on happy paths and whatnot (as a student).

So idk, at this point I tend to recommend Rust, but I also end up having to link people to talks on C++ sometimes! Herb Sutter and Scott Meyer are amazing speakers and writers and that's a very hard thing to replace.
In my experience if you hate people the city is actually the best place to live.
Yes you're surrounded by a million people but they all ignore you.
In rural areas nobody has a personal bubble and you're supposed to do small talk and give a shit. Folks gossip. They know you. The horror...
cool project! reminds me of the Garmin virb overlays.
An idea: some phones have ANT+ receiver, and can collect metrics from sports tech dongles, i.e. tire pressure, wheel rotations and pedal rotations, and probably even other small sensors as well.
Ask HN: Converting investor into a priced round
I have an investor that agreed to write a ticket of 150k at a certain val - lets call it 6 mill.

Now i've got an investor that will lead a priced round at 30 mill.

The first investor is strategic and we really need him onboard

DO i add the investor to the priced round term sheet, and just give him shares (based on the lower val)?

OR sign a term sheet at 6 mill val, right before the 30 mill valuation priced round?

Or issue him a SAFE that will convert when we sign the term sheet with the 30m val lead ?
at least one can see there very clearly that Coca-Cola is only a third tier supporter, so it's not like they are THE sponsor of this summit (which was my first reading of the headline).
Not to mention Gen X is known for being a smaller generation than the ones before and after it, which is another factor that would have reduced competition for them in their careers.
> which sadly isn't public for part-ownership

It kinda is. Interestingly a lot of these seem to be divided up by fiber. E.g. for CAP-1 it's a 6-pair system, FB/Meta own 5, Amazon owns 1.

This is from https://www.submarinenetworks.com/en/systems/trans-pacific/c...

I'm not sure what their source is though.

Calculating fiber pairs -> bandwidth is much much harder though and is an implementation detail which will absolutely change over time. I have no doubt that part of why FB/Google/Amazon want to own fiber this way (owning dedicated pairs) is so they can experiment with different WDM technologies.

Their capacity for failure in the overall system is far higher than the traditional companies who are selling circuits and must design things for many nines of reliability.
I like how Rust finally created a real alternative to C for lower level hardware programming, something that most new languages don't seem interesting in touching.

That said, does anyone know if Rust is actually used in any modern embedded devices?
Yeah it's pretty ugly. This whole thing is a prime example of those cases in which maintainers for mostly arbitrary reasons decide on something and then absolutely ignore all the massive negative feedback they get for this.

They'll cite some nebulous technical reasons of why it has to be this way, but if you offer a PR that actually solves the issue that the community complains about, they'll reject it.

In this case they decided that tsc won't transpile imports. They just did and it's "policy" and it can't be changed. It doesn't matter if it is awful for compatibility, developer experience, etc. It's just the policy. Issues will be closed. And no, even an optional flag to transpile imports is off the table, even if you write the PR for it.

There are many many issues opened related to this in github, but to give an example

https://github.com/microsoft/TypeScript/issues/16577
> This is a common fate for laws in CA

1st to be pedantic, this was a bill not a law. https://www.youtube.com/watch?v=FBpdxEMelR0

2nd, this is the fate of many a bill in all 50 states and is not something unique to the legislative process in CA.
Identity verification will never be enough, if their account or anything in their development or distribution pipeline is compromised, so will their code. Sandboxing mechanisms are fundamentally required - not only to ward off malicious attacks there, but to prevent accidental side effects and compromise at runtime too.
Cheesy trailer for Common Lisp 3D system
This is a great switch from AOTP that I just did.

The more exciting thing I learned here is that I can backup my entire GrapheneOS phone to my Nextcloud server for recovery. I just go into Android settings->Backup to get started. This will save me a lot of time the next time I lose my phone. Thank you!
github (and git) wasn't around in 1995

One should read the readme's.

let people enjoy things.