skysight-inc/HackerNews huggingface dataset:
Do the math on this too. How much storage would half of $21 billion buy?

https://insideevs.com/news/458106/battery-cost-110-kwh-price...

Using a pessimistic $150/kWh (it's already under that) I get 70,000,000 kWh or 70 gWh, enough to run the entire state of California for a little over an hour. So you could build over 10GW of wind power capacity and 70 gWh storage for the cost of one nuclear plant.

Nuclear isn't dying because of hippies. It's dying because it's expensive. You're right that the safety concerns are over-inflated, but failure to deliver on its cost promises are the major failure of nuclear (fission) power.

If we make fusion work and can scale it, that's a totally different ballgame... but it won't happen fast enough to impact climate change.
> We currently do not have _any_ viable solution other than "put it somewhere in a mountain" to get rid of nuclear waste

What's the problem with that? Radiation goes away, eventually.

The main thing that we should do is to reduce the amount of "nuclear waste". Spent rods are one thing, gloves that touched a facility with some amount of radioactive materials are another
There is no need for a base load source to supply a base load of demand. Intermittent sources + storage to fill in the gaps can work just fine. The new thing is that this latter approach is looking like it will be cheaper.
>Second, even with the correct metric, solar and wind are now beating nuclear and projected to continue to do so, widening the gap over time

There is no way in even napkin math for this checks out. The amount of construction per generation capacity is orders of magnitude lower for nuclear. For nuclear you build one fancy concrete box and then feed it a fairly minimal amount of fuel for 50+yr. With wind and solar you need far more expansive facilities for equivalent generation capacity and you need to replace them far more often.

Even if you assume a zero carbon supply chain the larger supply chain means that solar and wind have a far larger environmental impact (more mines, more factories, more roads, etc, etc, etc).

Considering the amount of lip services paid to externalities in these sorts of conversations I don't know why this point keeps getting missed but I will note that is is very convenient for some people to miss it.
Confused about recursion in Python-depth first search
[CODE=python]

# Python dictionary to act as an adjacency list

graph = {

'7' : ['19','21', '14'],

'19': ['1', '12', '31'],

'21': [],

'14': ['23', '6'],

'1' : [],

'12': [],

'31': [],

'23': [],

'6' : []

}

visited = [] # List of visited nodes of graph.

def dfs(visited, graph, node):

if node not in visited:

visited.append(node)

for neighbor in graph[node]:

dfs(visited, graph, neighbor)

print(node)

# Driver Code

print("Following is the Depth-First Search")

dfs(visited, graph, '7')

print("visited=",visited)

[/CODE]

what I don't understand is how do once this program reaches to print(1) what happens next, it doesn't make any sense to me.
idk if I am stupid or what to not realize sth very trivial or idk.

I will try to explain what is my problem, step by step.

steps-:

1) dfs(visited,graph,7)

2)
7 not in visited.
visited=7
dfs(19)

3) 19 not in visited.
visited=7,19
dfs(1)

4) 1 not in visited
visited=7,19,1
1 has no neighbours.
print(1)

imo the code should stop now. Because there is no function call no nth. But in fact the code goes to

for neighbour in graph(node):
dfs(visited,graph,neighbour)
and starts with dfs(12). I don't understand this....How does it happen?

how can it go to for loop just like that?(source-:https://cscircles.cemc.uwaterloo.ca/visualize#mode=display)

even if it doesn't go to for loop, I can't make sense where it really goes. Can you please guide me about this issue?
Or, to give a counterexample.

You would need ~1.4 million barrels of oil per day for 50 years.
One job I did involved a large provider of public WiFi in the UK. As a result of this, I'm convinced that WiFi is pretty much like tech from the Warhammer 40k universe and simply will not work if the correct benedictions to the Machine God are not uttered in the right order.
How to improve your team's productivity
That would require world peace
I always do a quick jog to help my body maintain condition.
.... Why would a stove need an internet connection?

.... What does the associated app do?
I am of the generation of "back to the landers" that did what you are you doing back in the 70s and 80s of the last century. My wife and I moved to bare land, built a house (well, in fact, we moved an old one room school house onto the property and renovated it - eventually it was a fully modern home, although it took 15 years to get the indoor plumbing installed), and have raised large gardens, kept animals, heated with wood, and over the years built and maintained all the infrastructure of a small farm. We raised and home-schooled two children on the farm as well. Since none of this paid for itself or the many things we consume that cannot be produced on the farm, let alone for things like the children's and my wife's college education, I remained employed off the farm the whole time, in a career in technology that eventually put over 2 million miles on my frequent flyer card. I retired recently from my final position as CTO of a top-ranked hospital-clinic and research organization. (I have worked at least 50% from home for the last 25 years).

I would offer you three take-aways from this experience: First, it is an incredible amount of work. I didn't, and don't, mind that, since the work I do on the farm is 95% recreation for me. Doing it with and for my family has been fulfilling and satisfying. But I did not come to this life from an urban life, nor from a one rich in pure leisure time or activity. I grew up on a primitive (for the time) farm/ranch, and did not want to leave that life. I am also an intensely introverted personality. It has been much harder for my wife, who did come to it from an urban existence. In most ways she has thrived, but she would not recommend the life to her own children, or to others.

Second, you can homestead and be engaged in an outside, even highly demanding, technical career. But those are absolutely the only two things you'll do with your life and time if you expect to do both at all well.

Third, it takes a team. I could not have done it by myself.
When a question gets asked over and over again and no progress ever gets made it's worth asking "are we asking the right question?"

Programming was a woman's occupation up to 1970 or so. Woman did a lot of programming on the computers that got men to the moon.

It might be equally or more productive to ask why we can't get more men working in early childhood education.
I switched to Linux because of Windows 95. And getting Linux up and running back then was a real pain. But once it was running, it was way better than those bluescreens of death.

So in my memory it was not the hardware.
Lol. Compared to tax rates right outside the city, still ridiculously low.
I had a script that set up my Arch environment. And then I switched up some of my software for alternatives, and changed a lot of my configurations. Now I'm too lazy.
One degree Celsius is exactly the same as one Kelvin, though.
There's a video from space in case you haven't already seen it:

https://www.space.com/tonga-underwater-volcano-stunning-erup...
Reminds me of an issue I've been dealing with. The bluetooth in our car picks my wife's phone every time. Not a big deal, one might think, but then if I turn off bluetooth on her phone, it turns right back on and reconnects! I tried updating the car's settings not to prefer her phone (both were preferred), still a problem.

I believe at some point when we got our new phones, she accepted a dialog that set the car to a "trusted device" which means it will automatically turn on bluetooth and connect as soon as it's in range. But I couldn't find a way to turn that setting off.

Finally I had to force the car to forget both of our devices and I was able to get my phone to connect to the car while my wife was anywhere within a few feet of our garage.
And unfortunately, of that £23bn, something massive percentage will be government "bureaucracy" for want of a better word. If nuclear power were properly commercialised it would be cheaper. The only analogy I can think of is cost of launches for SpaceX vs NASA or ESA. SpaceX had to be efficient and make a profit, they innovated, and now are the cheapest launches available by a huge margin. Governments are always interested in nuclear for "security" reasons.

The article indeed mentions modular commercial reactors.
I have a female friend who has convinced her and her network of girlfriends (two dozen or so) to never date lonely developers. Her reasoning: sure, they're smart, they might have money, but they're too socially awkward and emotionally immature to see any possible long-term relationship.
I’m wondering if the definition of star has shifted over the years.

It’s likely that the flare caused red aurora, but it would be pretty diffuse and unlike points of light that we know stars to be.
there is no true self-sufficiency, not one that is feasible to achieve.

humans have always had to work together and share skill sets.

even in rural, especially in rural, people work together. im not sure city folks get that, to their own detriment. cities encourage isolation. and paying to solve all your problems.
Because it’s an artificial limitation that only serves to benefit the creator of the game by getting players to come back every day.
I happen to work in the industry that made NSAPs, and let me tell you, _no one_ uses them for routing over IP. And the CLNS setups are dying out.
There's a solar panel field I go by occasionally. Last time I saw them, all the panels were covered in inches of snow. I guess nobody bothered clearing them off since we can have weeks go by without much if any direct sunshine in the winter, and windy days are equally infrequent.

I don't know how many batteries it would take to make up for the losses. I suspect we will have gas and nuclear plants for a long while yet.
you know this is extremely common on stock and business reporting, right?

And, in general, the media creates entire correlation narratives that are causally backwards, or have no relationship to reality at all?
Memberships Work: What I learned during the third year of my membership program
Fetch is a standard browser API.
Not OP but I google dit and found this [0] from almost 20 years ago. No mention of it being every summer though, and it was during a heat wave that disproportionately affected france.

[0] https://www.theguardian.com/world/2003/aug/12/france.nuclear
BS. You inflict terrible software on one user, you've inflicted it on them all. We spend more of our day dealing with facing the burden of other's lack of care than we do making things that unequivocally work.

I can't fix that employers are exploitive due to prevailing incentives; I can't get rid of the Jack Welch wannabes, the unethical fintechs or feature mills, the daftness that is the perpetually inflating asset bubble, etc... Yet despite that I try hard on a real regular basis to help people navigate an ungodly complex networked world a smidge easier every day; and all I've gotten out of it is trauma, hate, discontent, and a precious handful of really amazing people that all try to keep each other sane while we watch the world seem to burn down around us.

I never sacrificed, nor accept the sacrifice of standards, and I will continue to pound those into to anyone mildly receptive. Until everyone stops seeing Software as the latest lottery ticket though, this isn't going to stop. At all.
Yes, that's very true. But in the 90s, both developers and users would not tolerate slow or memory-hungry apps. The hardware and memory constraints meant developers chose languages and tools for that purpose.

Today, developers choose languages and tools that suit their comfort first. The user's comfort often takes secondary consideration.
Because fetch just landed in Node.js, making it a standard present in every context after like 5 years and he want to change the standard now.

Edit: also, you are being downvoted because the etiquette on HN are that you don't ask "why was X downvoted".
This brings up a vague idea I have had. Redis is sort of a data structure server that can be used across languages. Could we not have an opensource data structure and algorithm library? Where languages, instead of implementing their core types and algorithms in their own library, instead add them (or reuse existing) ones to this library. Then your language becomes just a mapping of your languages semantics over these existing structures & functions.
All designs that take water from rivers and return it there. There usually is a regulation for the maximum water temperature in the rivers, so during the summer they can't heat up the water as much, leading to lowered energy output to the point where they have to shutdown some or all reactors of a plant.
That would essentially end innovation. If you invented the new latest and greatest gadget/medicine/process, a mega-corporation with more resources than you will undercut you with the exact same product within the week.

You can say patents relating to phones should be narrowed, but ending the patent system would be a hundred times more disastrous.
Hey, I know that anti-nuclear views are not popular on HN. But instead of downvoting, why not engage with the data and facts that I linked to? If it's because of the funnily capitalized sentence, come on, don't take everything so seriously.
These stories are such red meat for engineers that I don't know how trustworthy they are. "The engineers are misunderstood geniuses who aren't allowed to do the right thing by Designers/PMs/Management" is just such an incredibly easy story.
I am certainly not intending to intentionally spread FUD, though I guess you probably mean that I am unintentionally propagating FUD spread by other people.

All I mean by saying it's a "logical error" is that it's not an argument which is always valid. Of course particular instances can still be correct.

I think a definition of "proof by contradiction" which includes proof of negation is useful if you are reasoning classically (and this doesn't have to be something you always do, or always avoid; you can reason classically some of the time and intuitionistically some of the time). Although the ideal situation to avoid any confusion would be to have three separate terms, one covering both types of proof and two for the individual types.
fetch is part of the client side standard: https://fetch.spec.whatwg.org/, and had been for a while.

I don't think it is so strange for node to incorporate it as part of their standard lib as well.

1. https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API
> Something I've noticed among the "successful" youtube homesteaders is that they almost all invariably have property "in the city" that they rent out (generally unseen, usually unspoken, and always off camera) for significant passive income and treat homesteading like a virtuous hobby.

Another thing is that the most successful ones are making a bunch of money from their YouTube channels. So how self-sufficient can that path really be? You can't really say "anyone can do this!" if you're relying on hundreds of thousands of subscribers for passive income. This kind of gets at your last point, that it smells like a pyramid scheme.

I think it's best to view most YouTube homesteaders as entertainment, and not take it too seriously as a "how-to" manual. There are other sources for that. Homesteading can be done, of course, but it doesn't look like 30 minute clips.
I’m guessing that it will not cost Apple and Google that much money or they would have just bought the patents outright.

I expect that Apple and Google were already licensing any blackberry patents they needed/would be forced to use.

This is big enough that Apple and Google’s operational risk group would have done a calculation to buy if the exposure was less than the sale price.

The patent trolling is likely for smaller companies who can’t afford to fight the troll.
Can we have the Cascadia earthquake as well while we’re at it?
This is a good idea in theory, but what stops a factory offering to produce one of anything for a few thousand dollars, just to meet the requirements of "making a product." If there are requirements for how many you produce, how does that affect small businesses or businesses that want to keep products exclusive?
It doesn't help that the Bluetooth stack on Windows is still pretty finicky after so many years. I bought some fairly decent Bluetooth headphones for the kids so they wouldn't have to worry about tangling up cords and they are basically worthless because the OS keeps getting in a state where they know that they are there but refuse to associate. I have to go in and manually forget the headphones and re-add them every other time the kids want to use them. If I pair them with my phone they work perfectly every time. The Linux stack is also prone to flaking out randomly in much the same way. The dreaded "resource temporarily unavailable" being an annoyingly common message on my laptop when it forgets about the speakers again.
https://wwoofusa.org/ ?
When the entire Railbelt grid in Alaska (the largest grid there) has an average load of 600 MW, there simply isn't much market for SMRs at high latitudes.
Try to have a routine. I try to wake up, have a large glass of water, put on some energizing music and exercise for 2-3 songs, then try to get a quick easy task completed as soon as possible to get the ball rolling.
They're talking about JavaScript's fetch API. It's not an external library.
Like I said, not a DB guy, and it was years ago, so fuzzy memory but the wow had something to do with how fast and robust the system would be.

Memory doesn’t always serve.
I second this, since fetch is a wrapper around xhr (though doesn’t have to be because node is a non-restricted runtime), and it diverged already for redirect semantics. It’s news, but is it big?
I got myself a charging port (iPhone) adapter for headphones - just for such a use case, long flights. But can still face a problem if needing to charge while listening to music / audio book.
You're supposed to capitalize the names of books (e.g. "Bible").
even then it's still a shit show because someone has to play for cleanup and storage and the nuclear company usually goes conveniently bankrupt soon after they stop producing energy.
I guess we need to alter womens brain structure to be more like mens brains so they generally find technical details more fascinating..

Or we could let people be people and have the interests they do no matter their gender.
They were always going to pull away financially and socially, you chose a humble country life and they chose a vibrant city life. The reality of rural life is that it's filled with chores. Chopping wood, stacking logs, running the woodstove, making more of your own meals, DIY fixing: all this is not for everyone.

The other option is that you're comparing your life to others' lives. This usually doesn't end well, you only notice what they have that you don't.
> Your narrative dismisses categories of human beings, as beneath you or not worth considering as people to connect with in a meaningful way.

There is value in this. If OP has had nothing but negative experiences with said people, it's good he knows to avoid them.
That's very anecdotal, I'm sure that most solar panels are not usually covered by snow.
> the "brainwashing" of the public that unquestioningly accept that nuclear power is 'bad' and tightly linked to nuclear weapons and death.

I can only speak for myself but I don't think nuclear power is bad, and I don't connect it with nuclear weapons or even deaths. It's just scary. And that's due to Chernobyl and Fukushima. And I haven't dug into the technicalities of why one of these new level 5 grand wizard mosfet reactor types can't fail in 50 years like the old ones did. Because we are smarter now? But if I look around at the current state of affairs I would say it looks like we have started to walk backwards as a civilisation. Not a rational thought I know, but it nicely feeds into that first ingrained irrational fear.
That’s not quite fair. If we were building 11,500 nuclear power plants their unit price would be much lower too.

Part of the problem is that nobody has built the things in the past 30-40 ish years.
How to stop missing important emails and get things done
In the UK, every single time there's been a proposal for a reactor, there are local protests, and CND/Greenpeace turn up en masse. There's been no opportunity to deliver 'cheap' energy in terms of up-front cost, because there are so many artificial hoops to jump through - legislation, planning, and so on.

As for clean and reliable. No CO2 right? And the nuclear power stations in the UK pretty much have run continuously since they were switched on, so I'm not sure what 'reliable' means here.
> As of this year, the cheapest wind and solar farms have a lower total cost than the marginal cost of the average nuclear plant.[1] That means that in many places, it is cheaper to immediately shut down the nuclear plants and direct the money that was spent on operating costs into construction of renewables.

Except that in this situation fossil fuel-based generators keep running.

We should be keeping nukes for as long as possible, and shutting down coal and gas first. The new renewable pick up the slack for coal/gas, and once all of the latter are gone then you start shutting down nuclear.
Show HN: Visions – User defined data type systems
Visions is a python library for working with user defined data type systems. Out of the box, it provides type inference and automated data cleaning of sequence data with backend specific implementations for pandas, spark, python, and numpy. We often use it as a first pass cleaning step when working with tabular data and to simplify the backend logic of both pandas-profiling[1] and our tabular data compression library compressio[2].

Because data types are user defined, we can build user customizable libraries based around types without adding code complexity. In the case of compressio that means offering users the ability to use any compression algorithm they want by simply passing a dictionary mapping `{type: compression algorithm}` or defining new compression algorithms for otherwise unsupported data types like shapely geometries, images, etc.

We hope you like it and would really appreciate feedback about how to make the library more useful and easier to use.

P.S. If you're interested in learning more about the project, the original paper is available on JOSS[3] you can also check out our Numpy Global 2020 talk[4]

1. https://github.com/pandas-profiling/pandas-profiling

2. https://github.com/dylan-profiler/compressio

3. https://joss.theoj.org/papers/10.21105/joss.02145

4. https://www.youtube.com/watch?v=h2w99XIKizY
> If 10% of a fully vaccinated population could become infected within a week, then clearly the vaccines were not reducing spread or infections.

This is just a fallacy. Even measles vaccines have a breakthrough rate—cases are so low because there is not widespread community transmission.

Just because it's not reducing transmission to your taste doesn't mean it's not reducing transmission.
Oh shit, going from techie to amish is pretty big leap. I can see how that might be hard to get used to.
I game on Windows but had to start using Linux/Wine/Lutris because some old games (but not that old) don't work on modern Windows versions.

I suppose once WSL2 GPU support improves I will be running Wine over WSL2 :)
A Starter’s Guide to the Yelp API for Your React Native App
There's probably a surprising amount of methanol and ethanol in a gallon jug of apple cider by the time you get to the bottom of it. The better types, at least.