skysight-inc/HackerNews huggingface dataset:
> There are so maybe potential problems with these three lines of code, that it is easier to say that it only accidentally works.

A very strong and emotional point. Accidentally working code will have exceptional handling because of problems during development.

The whole article is depreciated by naive library implementation because unwrap() hides source of original exception. Sadly it's not even a POC.

Edit: Failure doesn't capture trace information at all. Library users will get unusable error in a wrong place.
They absolutely are, but are rare enough that it's difficult to reach statistical significance when talking in the aggregate. That a particular part of town went from one fatality one year to zero fatalities the next year is probably not evidence of the success of any particular safety-related policy intervention, it's just noise. Studying all crashes provides a proxy that hopefully helps decrease the odds that the fatal ones will occur will making it possible to make robust, data-driven claims about success or failure.
A stripe integration out of the gate would be REALLY nice :)

Thanks so much for the feedback! Just put it on my to-dos
Vi Cheatsheet Sticker
It's very hard to interpret
"This is true student diversity, it's not just race and class"
as saying that race and class are factors of so-called "true" diversity, even with when trying to interpret things charitably.

Thanks for clarifying
> This is a very basic example, but most students solve it the inefficient way, but in most situations you’d really rather have the ones who did it better.

I would much rather have the student who solves it the inefficient way but who runs a profiler on their code with a real-world input, determines that their naive algorithm is unacceptably slow for certain inputs, and makes an adjustment to optimize it.

If I'm only ever going to use the first 16 Fibonacci numbers I don't really care if they're brute-force computed recursively. I'd much rather spend valuable engineering time on optimizing something that actually matters. Requiring students to prematurely optimize some ivory tower algorithm as a precondition to working in the real world is precisely why we have a shortage in the first place. You should be training the students to optimize the algorithm when it needs to be optimized, and not just hiring people who've memorized a few very specific algorithms and can bark them on command during your interview.
This was amazing; thanks for posting it. Also, I love "Short Trip"!
Call it anecdata, but a few of the things I noticed after a couple decades in the industry:

1. Water

Water is extensively used and it has to be as pure as you can imagine. This requires a regular investment in filters and energy. I wouldn't be surprised to see hundreds of water wash steps for a wafer of chips, plus water wash steps for the equipment.

2. Acids and bases

You can dump these in the third world, sure, but neutralizing them tends to be favored, and also very expensive. Sulfuric or Hydrofluoric acid may require almost zero energy input, but the caustic soda, soda ash, or baking soda you need to add to passivate their waste requires a lot.

3. Silicon itself

This one's a bit of a surprise. A gram of hyperpure silicon doesn't really take that much energy, or even generate all that much waste. There's the reduction cost where you burn out the oxide with coal and wood chips, plus the follow-up stages of purification and crystallization. You lose half again by wafering. But even if it's 10 grams waste per gram of chip, you're not doing all that poorly. An idling car engine makes 10 grams of waste in no time. Plus the waste is almost entirely mg-Si, CO, and CO2; very manageable. China has a bit of a silicon-tetrachloride problem from some of its purification steps, but that stuff is avoidable.

4. Photoresists

These are the absolute worst. Carcinogenic and complicated to manufacture.

5. Specialty gases

What's a little diborane, phosphine, or arsine among friends? These players are bad news, but you use such trivially small quantities of them that their impact is pretty light. You still have to scrub their waste gases out before you release them, and that's a bit of a pain.

6. Bulk gases

Hyperpure nitrogen, oxygen, and argon get used in large amounts as well but they're almost as cheap as air in bulk. Release at will.

7. Air handling

Cleanrooms require more airflow than some bitcoin farms, and specialty filters have to be changed out occasionally. It's just electricity though.

8. Packaging

All that copper, tin, silver, and gold, plus whatever weird plastics they're using these days may end up being far worse for the environment than the chips they encase.

9. Actual use

Unless they're generating power (PV) they're going to suck down power, whether in your cable box set to off or the switchgear. This is by far the biggest energy consumption associated with semiconductors.

10. Vacuum!

Along with to a lesser extent compressed air, vacuum greases and machinery can get up there in terms of cost. Roughing pumps will spew oil, and turbo pump and cryopump units cost a lot to build, run, and maintain.

11. Organic solvents

Cheap to make, expensive to dispose, doubly so when you mix them with some of the other expensive-to-dispose stuff.
You need to CALL OUT these businesses loudly and publicly. This whole, "I'm not paying you for 90-120 days and then I notify you of a typo precisely 91 days later when you ask where the money is" needs to end.

So in that vein: Fuck GE Healthcare. They have NET120 and they will do all the things you and I have described and more in order to put off payment to small businesses for as long as possible.

I didn't get a check from them until their stuff broke (had nothing to do with my software but they thought it did) and I refused to help them until I got paid.

Whaddayaknow, I had a check overnighted to me with early morning delivery!
Previous discussion: https://news.ycombinator.com/item?id=19037625.
How can there both be a shortage and low pay? Shouldn't the need for pilots drive up pay as demand for air travel itself isn't going down.
Previously on HackerNews: https://news.ycombinator.com/item?id=19037625

Have any deals like this ever delivered on the actual jobs promised? Seems like every marquee deal that comes out like this inevitably slowly decreasing the actual investment and number of jobs until it's tiny and then the plant/company closes just before their tax breaks run out.
But clones are not the right way, because genetic variability is zero and is easy to obtain and germinate seeds that make a better root system.
Defense Intelligency Agency: New Report on Challenges to U.S. Security in Space [pdf]
These examples can be bypassed. You can release a pc game without steam, release an android app without google.

But apple? Nope
I have a significant portion of our disposable income direct deposited in my wife's account. I pay all the bills from mine.

Legally, your premise is correct in most states. Practically it tends to play out differently in a divorce situation.
I can understand this. Both of these options are better than what it was like in the 90's though. Back then it was "inform company about a bug, and get a non-disclosure agreement forced on you or a visit from the FBI".

People forget that one of the reasons the 90's was such a hayday for hackers was that companies tried to fight hackers with court orders instead of actually fixing their stuff.
> It certainly is possible to memorize long strings with sustained repitition, but this is usually meaured in weeks or months even if practiced every day.

Credit card numbers are a good example of this.
"At this stage the information gathered doesn’t allow me to give a strong opinion on Cool Earth, but I would recommend that we now consider the earlier [Giving What We Can] analysis out of date."

https://forum.effectivealtruism.org/posts/RnmZ62kuuC8XzeTBq/...
Not true at all- optimizing the tools you use is very different than prematurely optimizing code.
First app to invest in real esate – Fleming Capital
Arbitors often have no assets. You'll be dealing with "Arbitration Corporation 12S". Which will conveniently cease business the moment anyone files suit.
"inflation in everything you need, deflation in everything you make"

Everyone needs food, farmers need equipment, I make equipment for farmers therefore my wages should grow instead of stagnating based on that statement? Or does the statement mean that the actual profits go to the select few that own companies that produce the stuff you need?
Not enough to have PTSD from it, why?
“Catastrophic” hack on email provider destroys almost two decades of data
Start looking for a new job. Never go down with a ship you don't own.
?

The most efficient way it to use iteration...
I will put aside Project Zero for a second -- in this particular case they're saying that they discovered that someone else has exploited the vulnerabilities. Perhaps that means that they weren't necessarily looking for them with analysis or fuzzing but a honeypot trapped a case where an attacker was successful. Can't we all agree that this discovery is to everyone's benefit? Google, Apple customers, Apple?

With respects to the merits of Project Zero:

> How fast do you think I would get sued ...

I don't think you would but even if you would -- your argument really seems to underscore the value of Project Zero. Google can publicize these bugs and have the resources to stand up to lawsuits from irresponsible vendors.

I'm not silly enough to think that Google doesn't exploit competitive advantages but in this case I think they are trying to catch up with the public perception of Apple's superiority wrt secure product design. Objectively we can see that's the case with many of the design elements of iOS vs Android. And it's not by putting down Apple that they do this, instead it's by demonstrating that they are leaders in security, not followers.
Toxic materials (photoresist and associated solvents, acids for cleans, dopant chemicals, among others) and lots of electricity get used in the semiconductor manufacturing process. And that's just at the wafer manufacturing site. It doesn't include materials for packaging or PCBs. Nor does it include the chemical plants that supply materials, or the environmental impact of producing the manufacturing equipment (which will only be used for a decade, 15 years at the outside), and its consumables. If you're concerned with the environmental footprint of your personal computing, you should probably use older equipment for longer. I think the balance is different for datacenters given their high utilization.
That's an acceptable solution as well.
Yeah, I'm a bit surprised to get downvoted for posting an interesting and unexpected truth. I'd love to hear what kind of reasoning the downvoters have for this.

I'm personally quite fascinated by Deimos. It's far away and yet relatively easy to reach. Some people believe there might be quite a bit of water on Deimos. Put together, that might make it an interesting option for a base, for refuelling, if nothing else. Especially once Mars gets a colony and we start mining asteroids, I wouldn't be surprised if Deimos turns out to be a nice central point between the three.

Or not. I'm not a rocket scientist, but I find this a fascinating subject.
Sure, I certainly agree there. I just thought the OP was going a bit overboard- stifled creativity wasn't an issue here at all.
> If my demands were going to be listened to, then no legitimizing is necessary for anyone. If legitimizing were necessary, then their demands are useful because they legitimize mine, no?

That's assuming you're in a symmetric position. If they show up and argue that we should censor pornography using a definition that covers most forms of gay culture, the pro-gay coalition and the anti-censorship coalition may comprise enough of a majority to prevent it.

Whereas if you show up and argue that we should censor apps you don't like, maybe they don't have enough support to defend against you even with the anti-censorship coalition.

So you win the battle and the war continues. But now the anti-censorship coalition is dead, because you can't hold together a bipartisan coalition that only benefits one party. So when the other side comes back and wants to censor gay culture again or remove apps that "violate immigration laws" or demands that search results not be "biased" against religious conservative viewpoints, you'll have given up ground useful in preventing those things.

> I'm interested in making the case that I'm right and they're not. If I'm not right, I shouldn't win the argument, they should. And I am right and big tech is run by people who aren't smart enough to understand why, we're all screwed anyway so whatever.

That's assuming winning is binary, either you get everything or nothing. But it's possible, indeed likely, for both sides to lose by just hacking each other to death piece by piece.

When censorship is made easy, it happens more often. The ban list grows until we end up in beige neutrality hell and the only thing left is pop music and corporate propaganda.

And it's not just about convincing the tech companies. If platforms don't censor, people can respect that and fight their battles without them. But once you bring them into the fray, you're going to get calls for legislation. Then it's Congress deciding what's allowed and what isn't, which they've repeatedly proven to be spectacularly bad at even when they have good intentions, and more to the point the opposition is in the majority as often as you are there.

> I have trouble distinguishing the "don't legitimize it" argument from, say, "You shouldn't engage in political attack ads because it legitimizes the other side using them," "You shouldn't have an army because it legitimizes other countries having an army, and what if they invade you one day," and so forth. Without some concrete reason to believe that the other side either wouldn't or couldn't use a tactic, refusing to use it on principle is just planning to lose.

What happens when you apply that logic to other scenarios? Preemptive nuclear strikes. Concentrating your political opposition into internment camps, or just murdering them as Stalin did. Licensing publishers so that only information pre-approved by the state can legally be distributed.

The other side could do it so we'd better do it first? Pretty glad that wasn't JFK's policy or Reagan's.

There is a difference between having the ability to do something and actually doing it. It's the difference between having an army and invading a foreign country.
That depends, how much money do you owe the bank? As Getty famously said, if you owe the bank $100, you have a problem. If you owe the bank $100 million, the bank has a problem.

The company I work at has only about 100 people, but we sell to large companies like the Fortune 500. Our payment terms have been net 90 the whole time I've worked here. Pain in the ass for reporting, but we'd be loath to do anything that might jeopardize closing a deal.
> I've even seen(in YouTube) cool uses of Elisp Macros and Clojure macros stitched together to make Emacs generate Clojure code.

Try the reverse sometimes :). I recently needed to view some data our product generates while working over an SSH connection, so I hacked together a bit of Elisp and Common Lisp code, so that I can invoke a function in Common Lisp REPL that renders its input as an ASCII histogram in a new Emacs buffer, perfect for working in terminal mode :).
Agreed, checked exceptions solve the same problem, but having separate control flow mechanism for certain kinds of data still seems subpar. Return values can solve the same problems and are more general.
> that code in Python can fail at a huge number of points even in a small function

This is why unit-tests are really important in Python.

> We should have language-level mechanisms for being explicit about what's supposed to happen when unexpected situations happen.

That's implemented as a try-except block. You're not supposed to catch errors at the low level unless you're explicitly handling them. If there's an error, bubble it up to the main().

Python's try-except can catch classes, sub-classes, and/or groups (tuples) of classes. It's important to categorize your errors.
:nmap j gj
:nmap k gk
> The only human activity so far on a large enough scale to impact the biosphere as a whole is fossil fuel use. If you want to count that as "terraforming."

I must be misunderstanding you; the majority of places in the world today are radically different than they were pre-human. That seems pretty inarguable.
So far the two parent comments are quite negative, which surprises me. I understand the anti-Google sentiment, but Project Zero has been a much needed booster to the security of the public and it has born fruit. The fact that an iOS vulnerability is actively being exploited is notable. I think their method of responsible disclosure is reasonable.
Absolutely.

I don't have any scaling issues, the added screen real estate is a life saver.
Predicting the economy will experience a recession is like predicting a person will die: you'll be right eventually, but without knowing when, you can't do much useful with that information.
most families i know have joint accounts but that might be a cultural thing.
Maybe you should be familiar with it.
Wow. Wonder if this is the canary in the coal mine for the Chinese economy slowing down.
I once saw a presentation from BSI (Germany Cyber Security Agency) where a researcher used computer vision / AR to create a video feed of a realistically looking ID card based on a simple paper copy of the card. They could add reflections and holograms to the paper copy that looked absolutely realistic, and they were able to use it to pass a video-based identification test (Video-Ident) that's widely used by banks in Germany to remotely validate the identity of new customers. The company then had to change their validation method by asking people to not only hold up and tilt the passport (to reveal the holograms) but to also pass their hand in front of it while holding it, which would lead the AR algorithm to fail.

So I'd say it's definitely possible to fool even a person let alone an algorithm, as you said it's questionable though if there aren't any easier ways for criminals to use stolen card numbers.
Car Guy Pits AmazonBasics Motor Oil Against Name Brands, Results Are Surprising
There are plenty of religions that offer a more flexible interpretation of "God" that might better suit your world view. You may want to check out Quakerism, the Bahá'í Faith and Buddhism. These are just three that come to mind, but there are many more.

I would also add that predestination is a particularly Calvinist protestant belief. Many religions that rely on good works, such as Jesuit Catholicism and Quakerism can provide meaning and sense of purpose without the offensive belief that one has no self determination or choice about being a good person in life.
Well I'm stupid, I'll delete the comment until I can find a good source.
So many duplicated posts about this..
Whatever is cheapest today will likely result in the cheapest car in 5 years.

Electric cars are new, there aren't many electrics in the used market. In 2024, these electric vehicles will be 5-years old, and their used prices will start propagating towards the general public (who in my view, doesn't typically buy new cars).
> This is one reason airlines are struggling to find pilots.

There isn't really a pilot shortage. Merely a shortage of pilots willing to work for slave wages. There are US pilots flying all over the world because they don't get paid what they're worth in the US.
Something simple and free, like Google forms. Find your first niche, the ones who feel a pain most acutely, then focus on them, and not the big market for everyone.

Check out the book Crossing the Chasm
Great answer, and nice to see another person from semiconductor manufacturing on this site! Are you still in the industry?
That's a symptom of cybersecurity.

If a law made a security bug a refundable or warrantied defect, I bet you this shit would stop.

But noone gives a shit.
The true disaster here is Wisconsin's derelict education system which lead to the election of a city council incompetent at basic math and inebriated by the siren word "jobs".
There's kinds of authority. "personal authority" can easily work better than "org chart" authority since it usually has respect and trust attached - which no mere org chart can grant.

Admittedly some org charts do grant "respect" - the same sort you give a rattlesnake.
Here you go intellectuals - https://plato.stanford.edu/entries/wittgenstein/#MeanUse

Intellectuals often have a "crisis of meaning" because they are dancing in that space of what things are and how they relate to each other. When you maintain a practice of doing that, you often can't help but apply that same process with yourself as the object. You can shred your identity quite quickly if you have some mental ability, and if you mess with your identity, you mess with what your life means ... i.e. how you wish to be used.
> The situation shows further evidence that Apple has been neglecting its responsibility to police the Enterprise Certificate program

Really? We're there now? It's become Apple's "responsibility" to police every last corner of iOS? I feel like this should not be viewed as "Apple prevents developers from distributing their controversial apps" but rather "Apple prevents users from running controversial apps". If I want to have porn apps on my phone that is my business and no one else's.

This debate has been going on since the start of the App store, but now that macOS is steadily becoming more iOS-like and mobile devices are increasingly becoming people's only computing platform, it's becoming more important. For example, Apple removed an app that notified the user whenever a US drone strike caused fatalities because "it was objectionable to some users". There are a lot of objectionable things that are really important. Apple blocks VPN apps in China, for example, and since there's no other way to install apps besides compiling it yourself (which has to be done on a Mac, and even then the code signature expires after a week) there really isn't an option for almost everyone in China.

Apple is continually praised for their stance on privacy, but privacy doesn't mean so much when you don't have freedom. And Apple is hostile towards user freedom.

https://gawker.com/apple-kills-drone-strike-news-app-for-bei...
How would you rewrite the headline based on the article's contents? Keep in mind it has to be 60 or less characters too.

I wouldn't say I am learning Vim due to it being a trend. I'm learning and using it based on problems I discovered using other editors to write books and courses.
> Another take is that DESPITE there being a lot of 'amateurs' in the industry, the world generally seems to be humming along as normal, if not doing very well.

Given that the count of software security incidents and data breaches are skyrocketing by all measures (e.g. https://www.varonis.com/blog/cybersecurity-statistics/), that's not remotely a reasonable view to take.
I would say this is an excellent example of how regulation shouldn't work.

Even before the Colgan Air crash, it was widely understood that regional airlines' overworking and undertraining of their pilots was risky. But the regulators either weren't able to do anything about it in the face of industry opposition, or didn't care enough to do so. It took a plane actually crashing, 50 people dying and Congress, which was lobbied hard by the families of the victims, passing new legislation ordering them to do something about the problem to get them to take action.

It's great that we have regulations protecting passengers from these problems now. But it would have been much better if it hadn't taken the deaths of those 50 people to create an environment where it was possible for such regulations to be enacted. Good regulators protect people before there's blood on the floor, not after.