skysight-inc/HackerNews huggingface dataset:
I don't think Western partners are just appropriating the credit here, though. Lots of people in lots of countries have been working hard for decades to develop and improve photovoltaic cells and their manufacturing processes. A huge number of those people are Chinese, but by no means all of them.

Look at, for example, https://www.sciencedirect.com/science/article/abs/pii/S13640... and in particular the recent works cited in the bibliography. Lots of Chinese research groups, a Korean one, some Arabic, some Indian, an Iranian/UK team, a team from Brazil, a few teams from the US (made up of foreign graduate students, of course).

Look at the citations to one of the Brazilian team's influential review papers: https://scholar.google.com/scholar?cites=9038016761746238692... — what do the surnames of the authors tell you? On the first page, I see Indian, Spanish, Chinese, Hungarian, Egyptian, Jordanian, Saudi, and English research teams, and from the US, Sajjad Ahmad's team at UNLV — first author, assistant professor Saria Bukhary of Pakistan.

It's far from an all-Chinese-research field.

But it certainly isn't just "Australian smarts" either.

Agreed about "Designed in California, made in China." That's an absurdity.
I think the Florida HB1 provision they're talking about this is:

870.07 Affirmative defense in civil action; party convicted of riot.
(1) In a civil action for damages for personal injury, wrongful death, or property damage, it is an affirmative defense that such action arose from an injury or damage sustained by a participant acting in furtherance of a riot. The affirmative defense authorized by this section shall be established by evidence that the participant has been convicted of a riot or an aggravated riot prohibited under s. 870.01, or by proof of the commission of such crime by a preponderance of the evidence.

And note that committing a riot is defined as:

A person commits a riot if he or she willfully participates in a violent public disturbance involving an assembly of three or more persons, acting with a common intent to assist each other in violent and disorderly conduct, resulting in:

(a) Injury to another person;
(b) Damage to property; or
(c) Imminent danger of injury to another person or damage to property.
And what about the hundreds of NPM dependencies in VS Code no one reviews?

Or the the thousands of brew packages that are blindly merged unsigned by 800 people with access?

Who pays to give a white hat as much freedom to find supply chain attack vectors here? Who gets consent from every random student whose code, if compromised, would compromise every major company?

We have created a massive mess, and I don't know that we will be able to hire enough researchers to fix it.

We are going to need unpaid volunteers, and a lot of them.
It’s not. It’s just conservation of volume. Imagine a thing disk of water just as it comes out of the faucet (pi r^2 v*dt) as it falls, the speed increases so the same volume of what is now thinner and longer (r decreases to account for the increase in v).
Verilog is a hardware description language. So for example you could use it to program your FPGA (FPGA is a digital circuit you program from scratch). Factorio is an interesting video game where you basically use limited resources to construct factories that build different objects, the success depending on how well you design and optimize your factories.
It would be 870.07 I think; see my other reply here. It doesn't specifically refer to vehicular injuries.
Yeah. Please find another project, that doesn't involve deliberately breaking other people's work, and screwing up the kernel that a billion people rely on.

If that means changing jobs, most of us have been there. Looking for a job sucks, but if you screw up that badly, then you do have to consider stacking shelves in a supermarket; you're not fit to work on a public project of such importance.
> Raising a child and building a home and life for a family is expensive.

This is an important point. I don't think feminism is trying to limit options but in practical terms if you have a mix of two income and one income households competition between them will drive up basic costs such housing so that running a one income household is significantly more expensive than back when most households were one income.

You can try address this via tax, as many European countries do. But then two income households feel unfairly penalised.
Enterprise API Security Survey Report
lmao. nerd
The water is accelerating downward due to gravity...but the amount/s flowing out of the faucet is equal to the amount/s any distance below it...so the stream has to get thinner as it gets "faster".
Show HN: Rocket – Node.js React MongoDB SaaS Boilerplate with Auth,Users,Billing
If you are writing your own library then your best bet is to define your own Error enum in each module. Below each Error enum write a bunch of From trait implementations to convert errors into a custom variant in your Error enum. This allows you to use the "?" operator to "bubble" errors up through your library and build some sort of useful printable error tree. Don't used boxed errors and don't use std:io:Error for your own custom purposes. Doing things this way will mean that consumers of your library will not be bound to use some error handling library that they may not want to use. It is also very fast.

If this is not a library then feel free to use any number of error handling helper libraries out there. It would be unfair to single one of them out. However, once I got the hang of writing my on custom errors I ended up using them for my binary applications too.
You are in fact not allowed to "attack" a crowd.
The key is do you use lots of electricity during summer days when the panel are producing? If so a 5-10% return even with loss of capital is possible. If you don't consume the electricity yourself then it's not really economic. Obviously closer to the equator and higher your electricity prices the better it gets.
Getting a fitness tracker was a revelation. I take an apparent eternity to fall asleep but get a few 20-30 minute deep sleep stretches adding to 3-4 hours. When drinking to get drunk, I fall asleep instantly, deep sleep is broken into 5 minute intervals and add up to 45 minutes, so I wake up unrefreshed.
That seems unlikely. Plenty of electronics engineers working in Verilog, who haven’t ever glanced at Javascript.
Ask HN: HN alternative which isn't permeated by corporate kool aid drinkers?
I recently got downvoted into oblivion by criticizing Google.

That made me realize that maybe the percentage of users who are biased in their judgement by working at FAANG is too high here.

Is there something similar to Hackernews which is less influenced by corporate interests?
Running Sensitive Apps in WSL (2020)
As somebody who has seen first hand people dragged out of their cars and nearly killed, I’m cool with this.

“Portland police said they received a report around 10:30 p.m. of protesters chasing a truck a few blocks from the downtown federal courthouse. The driver crashed and was then assaulted, authorities said.

Video posted online of the incident showed the man sitting in the street next to the truck. A crowd gathered around him and repeatedly punched and kicked him in the head until he was bloody and unconscious. It wasn't immediately clear what led to the crash or the confrontation.

Witnesses told police the man had been helping a transgender female who had an item of hers stolen, and he was dragged out of the car and beaten by nine or 10 people.”
https://m.lasvegassun.com/news/2020/aug/17/portland-proteste...
Sorry, but: pfffft! Pedantry of the nth level.

On the other hand, 64k of RAM ought to be enough for everyone :-D
It's not built-in for sudo, which is surprising. It is however for many other authentication prompts.
Affiliate Marketeing; What It Takes
This is a nice point -

I'd answer this type of algorithm question in truth by identifying the relevant library wherever possible, not by coding it myself, and I'd strongly expect anyone I was working with to do the same.
His relationship with women seems pretty immature and very geeky to me.
No need for special things like "conspiracy theory". Can be just prelude to some soon in cinemas movie :> Like "2012" and Earth doing scary things.

But yea - govs are well known for doing many stupid thinghs.
Secret Hitler
To an extent, this is my attitude towards programming. At the very base, my motivation is genuine interest in the project and tinkering with it.
Even when I build useful apps, straying has done more good than harm. By doing this for no reason at than fun curiosity, I've broken builds... But more importantly learned how to fix and document those scenarios.
This is one of my favourite anecdotes from that book. In recent decades, we've learned how important intrinsic motivation is, and this is a great example of it.

My father was a massive fan of Richard Feynman and also happened to be extremely cynical about formal education. He believed that if you wanted to learn something, you had to take the initiative and learn it for yourself, rather than waiting for the education system to suck the enthusiasm for the subject out of you. It was only after Dad died that I picked up his copy of Surely You're Joking Feynman and learned where he got a lot of his ideas from.
There is some pretty bad sexism in the book (because that era was sexist, I guess), but I think your comment goes too far the other way and treats sex as taboo. What's wrong with naked women, prostitutes, gambling and topless bars?
Well, apart from being playful you also need to be a person who can figure out the equation for water funnel effortlessly as a high school kid. The rest of us can benefit from forcing oneself to intellectual effort
The way recursive functions are defined seems strange [1].

The are declared using
`let rec foo = ()=> ...`
syntax. So the modifier is on the variable declaration rather than the function definition. Since recursiveness is a property of the function this seems like the wrong way round. JavaScript gets this right with `async`.

[1] https://grain-lang.org/docs/guide/functions
You can say 36,000 Megajoules if you prefer :-)
Hmm while I see your point, I was going for conciseness and I think it's reasonable to assume that extra parts are required - we can't quite print stepper motors at home yet! The rest of the basic requirements is nuts/bolts (standard kit stuff), and a $5 microcontroller[1]. (Things like the aluminium base can also be 3D printed, but it's not recommended for stability. There are lots of optional components that greatly improve usage.)

[1]: https://wiki.openastrotech.com/OpenAstroTracker/ShoppingList
I guess you do not go to a topless bar to pay respect to and trean women with equality and respect.
*volumetric flow
Two bass notes a semitone apart won't necessarily
sound bad; it depends on the timbre.

Another factor is that the ear wants to makes repetition, in and of itself, work. That likely allows drums to sound good despite their fundamental tones often being 'wrong'. To pick an example at random: the triangle bells in this pop song sound pleasing, despite their key being 'wrong', simply because they repeat https://youtu.be/ZWmrfgj0MZI
It depends, if you are upgrading machines to produce smaller (5nm instead of 7nm) then you lose some productivity as you get lower yields. But many of the companies are adding totally new semiconductor equipment and not removing the older once. That being said, the massive chip shortage is across the entire spectrum, including the bigger older chips.
Can someone explain to me like a i'm 5 year old what now is considered the best compression codec and most widely used one too? I remember H264 being popular, is it still the same? What happened to HVEC? Also what is better as a container, mp4, mkv or avi?
Or, just approach it with an open mind, as a window into small parts of a man's journey.

The more you judge people, the less you'll enjoy the twists and turns of a human life.
Question, what do I do when my wife of 3 months shifts, pries with legs, pulls the blanket and takes so much time off my rest?
Want to know how a JavaScript framework works under the hood?
You also need tenure, more than anything else.
Surface tension plays a role. Water wants to reduce its surface area because forces between molecules at the surface pull them together. So a droplet of water will want to form a sphere.

A column of water will first form into a cylinder and then break up into spherical droplets. It’s called the Plateau–Rayleigh instability.

https://en.m.wikipedia.org/wiki/Plateau–Rayleigh_instability
I don't know, I don't disapprove of any of those things morally or anything, but it just got old eventually. As an example, somewhere in the later parts of the book he talks about a period where he starts painting, and very shortly afterward he starts trying to convince women to let him paint them nude, including a student at the institution where he was a professor.

Again, I don't think there's anything wrong with nudity, or anything inherently sexual about nudity in art, or even anything morally wrong with the desire to see naked women. But by that point after some of his other stories I started to see him as a somewhat creepy dude and it just came off to me like, oh of course, shortly after taking up this interesting art form you'd go straight to using it as a reason to see naked women, typical Feynman.

I don't think there's necessarily anything wrong with anything he did in any of his stories, all of the parties were consenting in them all, it just left an unpleasant taste in my mouth.
I think that you mean pi.r*2.v.dt ?
A puzzle game of password requirements
A wiser man than I once said, “Oh God, aliens... Your explanation for anything slightly peculiar is aliens, isn't it? You lose your keys - it's aliens. A picture falls off the wall - it's aliens. That time we used up a whole bog roll in a day, you thought that was aliens as well!”.

It was Dave Lister.
Asian American young adults only race group with suicide as lead cause of death
I learned my trade by playing. I suspect that many other people on HN also did. Now I do something very different, and that also came from playing, as did many of the skills that made it possible.

I still write code, but it's entirely for fun. It's a completely different experience from closing tickets in an office.

I do many other things that aren't very cost-effective, just because they're fun. They might not pay the rent, but they keep me sane enough to do the things that do. For Mr. Feynman it was playing the bongos.

Do things that don't matter. Aside from the doors it can unlock, it's just damn fun.
https://news.ycombinator.com/item?id=26143407
I think that's just playing with definitions. Correct me if you think this is wrong, but for most people in this thread:

"debugger" := a thing that pauses and allows you to inspect the local stack frame, and step into/over, evaluate code in the frame context, etc.

"print statements" := any technique involving letting your program run to completion and having it output debugging information to screen or file for examination after it has finished.
I think it's a power of -1/4: velocity of a falling object is proportional to square root of height, and the stream diameter is inverse proportional to square root of velocity.
Please see my other comment; I don't think there's anything wrong with them necessarily, I just didn't particularly enjoy reading about them and his behavior just seemed sleezy a lot of the time.
ActivityManager#isUserAMonkey()
I'd plump for dropdown, if there really needs to be a new element. Not sure why options elements couldn't accept more attributes, they're easily ignored and don't affect the DOM tree. What's wrong with an icon attribute, for example, that points to an image?

I don't know, but looking at the timeline for other features to be implemented that virtually (if not literally) every web dev has cried out for since year dot like vertical align and grid, I'm putting my money on a new select element around 2035.
I'm interested to know what the author thinks is the fatal flaw.

In my opinion, it's a flaw that you need a sufficiently strong narrator, who is then given all the narrating work.

Exhausting ;-)
Seconding "sent", I've basically prepared the presentation of my dissertation in a few hours using this and it looked great.
I am laughing because something very similar happened to me. I visited a friend in one of those "smaller" cities in China (3M; not even in the top 30). He told me that his parents had moved to a nearby "village" after retirement. The village: >200k.
If you think TPB is the holy grail of convenience, then you haven't tried a service like real-debr1d with kodi. I've been a pirate for many years, nothing beats this combination if the objective is to stream whatever movie/show your heart desires on demand.
Arkansas Inmate Finder
I don't think Feynman was that different in this masculine or promiscuous respect from many of that era's greats... Schrödinger, von Neumann, Einstein, to name a few.

Feynman at least writes extensively about his deceased wife.

I imagine you would not enjoy reading history too much as the 21st C Western first world attitudes on these topics are pretty unique compared to any other time.
That's a better way of phrasing what I intended in my last sentence, go into it with an open mind. I was expecting differently, so I didn't enjoy it as much as I would have had I known ahead of time that it would be largely tangential to his scientific life.
There are plenty of people who have a fantastic knowledge of CS theory and are pretty useless at solving real world problems.
Just salt the password with a memorized phrase.
I imagined it has to do with how the water coming out of a faucet is affected by gravity, and gains velocity. If you imagine two cross section slices, one near the faucet, and the other near the sink, the bottom slice is going faster than the top due to gravity. Another insight is that the amount of water (flow rate) passing through these slices remain constant. To keep the flow rate the same, it has to be narrower. If you let the water fall far enough, it would hit terminal velocity and it would not narrower any further.
I looked it up and found it was called the continuity equation.
Thanks, that's very helpful and may well be the encouragement I apparently needed! It is a standalone CLI application but it might want to offer a library in the future. And in any case I am attracted to following your suggestion regarding custom enums, partly because it seems more likely to dispel my lack of understanding of the topic.
Maybe I'm misreading your numbers, but:

The total energy use in 2013 was 157 000 TWh (and it's probably <<much, much>> higher in 2021, due to China and India continuing to develop).

The additional solar power being added in 2061, by your own math, is 154 TWh.

So, adding up the whole line, that would mean that solar would still only offer about 154 x 40 = ~6 000 TWh (best case scenario) of electricity in 2061. Faaar from the 157 000 TWh used in 2013 and probably super far from what's going to be required in 2061.

Did you mess up your math?
Love that sort of infectious enthusiasm. I guess the question for me is how to balance that sort of explorational play with actually trying to accomplish something, like starting a start-up. The lure of playing with something constantly challenges the need to focus on finishing something that in the moment seems less interesting.
Which contributes more to the conversation: using a silly date format and calculating how many times bigger Wuxi is than Birmingham and how its growth and historical development relates to the overall boom in renewable energy, or derailing a thread about renewable energy by posting "I have no idea what your point is" and "Pedantry of the nth level"? Which one produces a conversation you'd rather be involved in?

(16-bit years, hmm...)
Goal-oriented work, creativity and motivation definitely have a difficult relationship.

In programming, I learn the most things simply by experimenting at home on my own. I'm thinking about switching jobs, so I wanted to learn some new frameworks and concepts to help with that, and I decided to make my personal projects a bit more "professional". Use continuous integration, focus more on web stuff, build and automatically deploy containers and so on.

Big mistake. I don't want to spend my leisure time fighting with tools, debugging build processes that break all the time, make sense of docker's tagging system and so on. I don't mind programming all day, because I love programming, but I do mind working all day.

So I let it go. I'll come up with my own tools. They won't be great, but I'll have fun making them. And then it'll feel nice using them. And then I'll work on whatever excites me.

Once in a while someone will ask me "how do you know all these things?" and my answer has always been "I don't know that much, I just randomly got interested in this particular topic and decided to play around with it". Over the years/decades, that adds up!
There you go, I didn't think I'd live to see the day driving like in Carmageddon becomes legal
Saudists or Diet coke?
A second blanket/duvet just for you?
That's not unreasonable. Tuning a drum these days is a function of a huge number of inputs. There are at least 16 tension rods on a drum — often 20 — and you not only need to consider the relationships between each of them (and how simply turning each rod the same amount does not work, given various degrees of inconsistency in the tension rod and lug manufacturing process), but also the relationships between each head (more opportunity for "phase issues" there), the tension of the batter head (the one you hit) so it is playable), and also the relationships between different drums. You don't want the snares under your snare drum to buzz uncontrollably whenever you hit your 12" tom.
No, in this case I think you're mistaken. "Rec" means whatever is the definition of the variable can reference the variable itself.

In other words, the default behaviour is that the scope, during variable definition, does not include the variable being defined. With "rec" the variable being defined is added to the scope in the definition of the variable itself.

Coming from lambda calculus, this makes sense: functions themselves cannot be recursive. What makes them recursive is taking their own definition as a parameter, I.e. getting their name in their scope.
For me, the biggest problem at the moment on the internet are bubbles where people are not being exposed to different viewpoints.

I would stick with HN and live with the downvotes. It also helps to make any criticism polite.
The problem is that this system puts people in a very complex design process at the 130nm node with no tools for managing that complexity.

It's like teaching someone guitar on a $50 Walmart special. Yeah, it's sort of a guitar--but it won't stay in tune, the action is way too high, the ends of the frets are sharp, etc.

It's more likely to discourage someone than convince them to go further.

Even the simple designs I'm looking at are going to struggle because it's pretty clear they couldn't get accurate parasitic extraction.

What students need is what the MOSIS (https://themosisservice.com/) MPW service used to offer (and may still) with older technologies like 0.5um and 0.35 where you could estimate the parasitics by hand because the process was simple and the overlaps were small relative to the geometry. What even sillier is that E-Fabless supports the X-FAB 0.5um and 0.35um nodes which are a MUCH better match to this kind of MPW thing for beginners.

Or, we need Google to pull its head out of its ass and do something useful for a switch--ie either 1) develop the physical design tools people need or 2) pay for people to get access to those tools.