skysight-inc/HackerNews huggingface dataset:
Also, many beginner programmers work on small code bases in every sense of the word.

These days I will often have to glue together some tiny part of two or three enormous APIs, some of which are "auto generated" from some other system. Think LINQ-to-SQL or WCF.

It's amazing when you can take a 100 MB chunk of code, and simply "navigate" to the thing that you want using tab-complete, in the sense that "somefactory.sometype.someproperty.subproperty.foo" is almost self-evident when you press tab and cycle through the options at each step.

And then when you finally get "foo", if it's the exact unique type you were looking for, then you can be certain that you did the right thing! There's practically no need to reach for the debugger and start inspecting live objects. Just tab, tab, tab, tab... yup, that's it, move on.

If you're working with a "blank slate" PHP app (or whatever), where you've personally written most of the lines of code involved, typing can feel unnecessary.

If you're glueing together Enterprise Bean Factory Proxies all day, then strong typing is practically mandatory.
> It’s honestly embarrassing to hear all the worthless arguments against types.

I think this forum is written in a language that doesn't have types. My favourite though was lambda-the-ultimate.org, at some point the number one resource on the internet when it came to discussing about programming languages (maybe it still is, I haven't followed it for a while), which was written in an untyped language, PHP (Drupal, to be more exact).
This is a ridiculous statement. The schedule and cost overruns is BECAUSE of un-ending environmental reviews, community protests, more safety planning lawsuits, then lawsuits over the disposal of waste, then another environmental impact review...

These are all problems for which we have reasonable technical solutions (ex: Yucca mountain was a GREAT solution for nuclear waste storage until breeder reactors come online). The problem is in the politics and planning.
I'm a good hacker and I find this interesting. Also, police (mis)behavior is a common thread on HN: https://hn.algolia.com/?dateRange=all&page=0&prefix=false&qu...
Great, one less thing to hear the media complain about.
Yeah, but owning a single family home in one of the most desirable cities in the US makes you rich. That’s something 90% of America couldn’t dream of doing.
I'm guessing you don't just want geological stability, but also political stability where you build nuclear plants. Northern Africa, and occupied territories in general, aren't the greatest of places to put important industry.
I can understand the author's frustration with the court's decisions, and generally agree with his complaints that the court has historically served as a breaking mechanism on social progress.

But molany of the examples he cites are exactly what the Supreme Court is suposed to be doing, serving to moore the federal government's reach into daily life, and local governance by interpreting the constitution, and leveraging historical precedent.

Initial appointment is inevitably a political affair. But once the justice is in, the justice is in, and you pray that their interpretation of law is what you wanted it to be, because you're not going to remove them.

Now, you could argue that the Supreme Court will increasingly lose its legitimacy, since a filibuster is no longer enough to prevent an overtly politically motivated appointment.

You could also argue thattimes have changed, and the relatively degenerate state of state level authority means that the confirmation process should be moved to the house, rather than the senate.

But these would be relatively new criticisms and proposals that have yet to be spread and be internalized widely enough as to make the whole institution illegitimate in the public's eye.
> I've read multiple articles over the years about foreigners being caned in Singapore over relatively minor actions, hence my not being surprised if they did such a thing.

The Michael Fay story was reported with a heavy bias in the US — the media conveniently left our significant parts of the story.

I have friends who were expats in Singapore at the time, and this is (approximately) their version:

- He was caught vandalizing multiple times.

- The first time he was given a stern warning.

- After successive events, his family was warned that their son was in grave danger, and their status in the country was at risk.

- After one or more additional events, they suggested to the family that Michael should leave the country immediately. His parents found that inconvenient due to their jobs being in Singapore.

- After another event, it was suggested to the family that both they and their son should leave Singapore immediately. Again, they chose not to leave.

- Finally, after multiple warnings, and one or more additional transgressions, they threw the book at him.

- According to my friends, most of the expats thought he was a rotten kid, and they thought he deserved it.

Note that this jibes with how I have seen a lot of law enforcement happen (esp. with Americans) in Japan, Korea, and HK. Specifically, warnings often happen before the hammer comes down, and that usually solves the problem. But if and when the hammer comes down, the outcome will be very bad for the recipient. When I have discussed this matter and this type of justice with folks from Japan, Korea, and HK, they all think it is fairly reasonable, and they don’t know of anyone personally who was not given a reasonable chance (obviously small sample size, and obviously the system isn’t always reasonable, but the consistency of the answers was surprising to me).

All that said, I suspect that some folks from developing countries may reasonably disagree with my assessment of Japan. I haven’t had the chance to speak with specific parts of those communities, so it’s hard to know what the reality is.
I like to imagine that our bodies/brains are merely suitable hardware with which to tune into consciousness. We then are quickly “enculturated” into associating one very narrow band of consciousness with the idea of “me” which immediately and necessarily creates “you”
This is true. Longevity of wood homes varies a lot by location.

California? They last a long time. Deep South? I assume they don’t last as long. Canada? They last a long time.
You just need to use auto properly.

auto/var/val etc are best used when you can tell the type from the rvalue.

var m = new HashMap<String, List<Pair<X, Y>>>();

var m: Map<String, List<Pair<X, Y>>> = obj->someFunc();

All of the examples you have should be caught in linting or code review.
Type inference is the usual tradeoff for being able to write statically-typed code efficiently. I think it's better than

MyType something = new MyType(...);

like in old-school Java, is it not? IDEs and LSP-enabled editors are pretty much the standard nowadays, although I agree that it's nice to be able to read code without one.

Also, that code you mentioned seems like bad style with the auto keyword; the type should be obvious.

Do you have a better solution in mind?
This podcast is presented as if testing is an American phenomenon - but it hardly seems like it. If anything, the extreme parental backlash against testing seems more of an American phenomenon.

I've had the opportunity to apply for a few british and french things in school/academia and both required that I take a test - and were actually more test-driven than the US appeared to be, with explicit harsh cutoffs based on your test score's z-score.

Before even moving on in the Oxford application process for physics, for instance, you have to first pass a test putting yourself 1.5 z-scores over the average, then pass a series of interviews where you are timed on your ability to ask questions to you posed in person. And that's already after your A-level exams in highschool or whatever.
I mean if Cloudflare made a blog post and decided to remove it in 3 weeks is that a problem? Why can't an employee decide to remove their tweets too?
>For example, making copies and exfiltrating classified documents from the government office

It depends on what you do with them. If your copy is in service to whistleblowing to the proper authorities, then it is not illegal. If you are dumping them on wikileaks, its still illegal even if the act is revealing illegal acts.

>Actions which might be illegal if they don’t result in the revelation of a greater crime can become literally legal actions if they are performed due to a higher statutory obligation to blow the whistle.

Yes, for people who have legitimate access to the information to begin with. Show me a single case where someone performed an illegal act to access information that happened to reveal criminal acts, and show me how whistleblower protection laws absolved the initial illegal access. This is different than the crime revealed being comparatively so egregious that no one had any interest in prosecuting the individual for the initial illegal act.
Physics isn't ontology. You perceive a phenomenon, pick quantifiable observables, take measurements of them using units which are nothing more than reference measurements, come up with a mathematical model for those observables and test its predictions. That happens to be the best you can do with inductive reasoning. Believe it or not we don't establish reality, we just live in it.

This is only a general comment because I don't understand anything you've written so I can't address your points, which undoubtedly must exist.
I believe that it may be partly due to the workforce required to keep the plant running. It will be very difficult for the workers to provide a good life to their families or education to their children in some remote location on a desert coast.
> - if Apple wins vs Epic then Google and Microsoft have precedent and they can lock down their platforms , previous legal precedent was with IE bundling

Bundling IE with Windows was never established to be illegal in the United States, the issue was overturned by the appeals court and precedent was never set. What was found to be illegal was forcing other companies (like OEMs) to include IE on computers they manufactured as a condition of obtaining Windows licenses.

> - because Linux exists that does not mean the Microsoft can do whatever they want, similar because at this moment Android devices exists and some power users can side load and an even small umber of users can root them does not mean that others can lock things down.

The difference is Microsoft had 95% of the market during their antitrust case. If they had 5% of the market the outcome would have been very different.

> Your statistics are misleading and you are avoiding to compare apples to apples. Show me how much malware is on OSX because that platform was not as much locked,

Are you unaware that Mac malware is a growing problem?

https://www.macrumors.com/2020/02/11/malwarebytes-mac-malwar...

30 million adware detections on Mac last year kind of puts a hole in your theory that only poor people get malware, doesn't it?
> Why is it important to prioritize beginners over experienced users?

In my opinion, because experienced users know how to configure their editor while beginners don't.

If "every expert" has their own tuned configuration, they really shouldn't care what the defaults are. It is (in my opinion) crazy to have options designed to make a system easier to use, which have to be searched out and turned on.

If Emacs doesn't care about user counts or market share, great. Emacs users can stop posting about it, and it can quietly fade away.
Consumer Reports: EV Owners Spend Half as Much on Maintenance [pdf]
My lockdown project is complete
Good article, until they ask the usual suspects and get this answer:

no2nuclearpower says, "there is no such thing as an absolutely safe level of radiation: all exposures no matter how small entail some risk - even background radiation."

This is absolute nonsense. If an increase in exposure at these low doses mattered, we'd see a correlation between background exposure and cancer rates, but we don't. More importantly, accidental experiments like the Taiwanese radioactive apartment buildings show, that an increase of exposure at low dose rates is actually beneficial.

That BBC quotes antinuclear SIFs uncritically, as if they had any actual expertise or were scientists, in my opinion invalidates the whole article. It's probably "for balance", but really, talking to the village idiot doesn't balance anything.
As a proposal, would consciousness not come about once a species starts becoming _maladapted_ to its environment?

As the population dies out only those with consciousness and... I hesitate to say... smarts survive.

This would have to happen an untold number of times for us to get where we are today.
>We believe we are being targeted due to big creators fleeing YouTube for LBRY.

Taking a look at the viewer numbers on more popular channels on LBRY (David Pakman who has about a million youtube subscribers seems to have a few dozen to a few hundred views on LBRY, Tim Pool who is labelled as a 'TOP' creator has about 500 on his most viewed video) I very much doubt that's the case

Seems like LBRY is trying to jump on the david vs goliath train when in reality I'm pretty sure Google doesn't want to be associated with the content LBRY keeps up, which I think is their right
Apple's battle with Epic Games could lead to big changes in iPhone apps
In general, due to their more recent construction, suburban homes tend to be better than average at insulation when compared to other single family dwellings. That said, given the levels of snark I'm reading I would guess things like "single family dwelling", "family", or even property ownership itself would probably be pretty hot topics for you.
“I returned, and saw under the sun, that the race is not to the swift, not the battle to the strong, neither yet bread to the wise, nor yet riches to men of understanding, nor yet favour to men of skill; but time and chance happeneth to them all.”
I mean there are local laws, but there is also the part of Thai islands where they are run by little local mobs. So probably pretty easy to get your friend in the local police to arrest a tourist that is hurting the local businesses. The guy was probably more out of hand then he is letting on.

I stayed a beach hostel once in Tonsai where these plain clothes thai's rolled up in a boat (two saying they were local krabi police) and demanded payment for "music licensing" from Thai owners. The owner refused to do the payoff, and the gangsters tried to physically escort him to the boat for "arrest"... the bartender got me to take a photo of them. They demanded I delete the photo and I was like "no you aren't going to mess with tourists" and they let the owner stay. Thai RIAA is brutal!!
For starter, https://psychclassics.yorku.ca/Maslow/motivation.htm
President Trump paid $750 in federal income taxes in 2016 and 2017
YouTube's Fake Animal Rescue Ring
Taking legal action. It is so absurd that it would be comical if the poor person didn't suffer an arrest/jail. Over a fucking review.
Thanks, I follow Matt so I saw that, but couldn't figure out how they made the exterior wood stand up to the elements.

Yes, PassivHaus or even NetZero type standard, but without an electrically-powered ERV. I don't think it is possible, so I've been looking at minimizing the power requirements.
Everything around the nuclear disasters has been a human bullshit of a problem, not a technological one. Probably with the exception of Fukushima, where all the conditions were put into the extreme - killer earthquake and monster tsunami. Being anxious about it is more than justified, especially with idiotic countries in mind.

But that doesn't mean we need to abandon it. Nuclear is the future and there is no debate about it - energy density of the fuel is unmatched. It's becoming safer and safer and with the introduction of modular built reactors, the cost and time to market metrics will go down. Whether is fission or fusion - that remains to be seen...
Main improvement seems to be ability to use more recent firmware, so no more trying to backport pretty much a complete OS from hp49 to hp48 :)
Apples and oranges. Senate confirmation is not the same thing as a law prohibiting the hiring of people with certain experience. And it is certainly not the same as usurping the hiring decision entirely.
Ha! I grew up in a small (by Indian standards) city in India and our school library for some reason had tons of Agatha Christie. I think I read like 80% of all published Hercule Poirot books between the age of 10-15.
I'm not underestimating anything. You're outside your depth here.

Congress can ordain and establish inferior courts, and can regulate the appellate jurisdiction of the Supreme Court. However, it cannot regulate much of the judiciary outside that. For one, it cannot expand the Supreme Court's original jurisdiction. Marbury. Nor can it dictate how the court applies the law. Klein. Congress's power over the federal judiciary is constrained and there is no basis in the text of the Constitution or in any case law to support your position.
but you can schedule large swathes of energy intensive industries that don't rely on human fingers so that they happen at cheap power and no longer happen at expensive power.

humans don't desalinate water with their bare hands...
This is literally the definition of iterated prisoner’s dilemma. The way to break the cycle and see more cooperation is to keep 1 round of memory. Put another way, acknowledge that norm breaking (defection) on round X was caused by norm breaking on round X-1 and allow it (or try to scale it back to an equivalent exception). What doesn’t work is ignoring all the times you defected and then trying to get in one last escalated defection because “fuck you, that’s why”

Unfortunately, that requires adults who can work together and a public that can deal with nuance.
It’s not just about the cost (though for people most likely to get covid cost could still be important) it’s about educating people and getting the message out. If the government say this is going to be free because it’s so useful, people will notice and do it. Even if they ultimately just buy their own because it’s more convenient.
It wasn’t Thailand, but a long time ago I went to Bali and while walking around it dawned on me it was the Australian equivalent of Miami Beach.

Those locals put up with a ton of shit from drunk Aussies. But I’m sure they make enough money to put up with it.
> You just don't know how to use auto properly.

I do. The problem is, others don't necessarily do. A good-in-my-world language makes it take more effort to write unreadable code than readable.

Everyone seems to only be judging languages by the code you write yourself, totally oblivious to the fact that reading and understanding someone else's code, including in projects you don't influence, is also an important part of being a software developer.
I must say I never expected to hear anyone actually suggesting stack ranking! I know in the abstract that proponents must exist, but it was still a surprise.
Yep, Hacker News is like Reddit, without the jokes and porn.
Good reminder that all "your" messages, photos, private data etc never belonged to you. It always belonged to Facebook and they can do whatever they want with it. Including deleting everything on a whim if it pleases them.

How do we change that? We go back to personal websites that you fully own. All of those platforms have been proven to be highly unethical (especially Facebook). Trusting them with all your data has always been a bad move. We need to take back ownership of our platform.
Much of what I've read about Fukushima still implicates "human bullshit", with regard to the reactor design, underestimating the maximum tsunami size that should be accounted for, and the physical layout of the facility (particularly the location of the backup generators).
In the UK, the government give children free vitamin drops and no-one complains about that.
The parent comment claimed that prices of finished products were higher than the costs of raw materials because a "big chem" cartel has a price-fixing agreement. I disagree with this. My knowledge of the field and personal observations imply an extremely competitive market (-> viability of expensive R&D for small improvements) and a field whose basic engineering problems (-> near-zero price elasticity) would naturally yield the observed prices (-> extreme variation when new demand is found). Both of these argue against widespread anticompetitive behavior.
None of those changes are SwiftUI though. It's a new skin. And very few of those changes are new apps.

In the past few years we've had anything from the new native AppStore that doesn't have a single consistent behaviour [1] to the plethora of half-baked barely functioning app stubs in Swift UI/Catalyst [2]. These are first-party apps by Apple themselves, and they are perfectly fine with the state they are in, and they had no qualms whatsoever when releasing them. That's what "obsessive attention to details"[3] has been on the Mac for the past many years.

The very few examples/exceptions (Big Sur's Messages) are exactly that: very few.

[1] https://grumpy.website/post/0RsaxCu3P and https://grumpy.website/post/0RsafwyK8 and https://grumpy.website/post/0SpwtkNB_

[2] Home, News, Podcasts, Developer App...

[3] That's from BigSur's marketing video
The concept of "a number that cannot be written as a product of two other numbers" just is. It might happen in some setting that none exist, but the general concept most certainly just is (and they can be shown to exist among the natural numbers if you insist - but they do not exist in e.g. Z_2 - the binary field).
You make a fair point.

BTW, I was not pointing to any single religion, I was talking in abstract since I believe that religion has been misused to cause much human misery.

It’s just sad is all.
- You just get in the middle of sales in every possible way. - Find or build something that gets you excited to sell.
- Find your passion, plan how to monetize it and start talking with all potential customer personas who would buy it.
- Your goal always should be to get another meeting until it's closed and paid.
- Optimize your social media to unfollow all BS things and follow just everything that is quality about sales. Then you will get recommendations on more and more groups, pages, profiles to follow and get into that.
- Read books by reading intro and conclusion and if it's boring leave it. If it's interesting read it and write it down and then organize your own process of selling.
And edlin. Shudder.
Problem is that you don’t get to opt out of the “human bullshit”. Nuclear power comes with a massive and unavoidable cost from these matters.
Does it also happen when you use quotes?
Bullshit, it just takes one to walk away from the pissing contest. The Republicans are actively contesting, the Democrats are not yet and could still choose to not engage in the pissing contest.
Step number one is not naming your things "something". I for one am glad I can use "auto" instead of "std::vector<int>::size_type" in my code–in this case the actual type this couldn't matter less; all you need to know is that it's some kind of unsigned integer. The same is true for Swift, where it's generally a lot more useful to know you have some type of sequence rather than "I have a LazyMapSequence<LazySequence<[Int]>.Elements, String>". Plus, C++ is one of those languages where certain things have types that you cannot write down, so auto is required to use certain parts of the language!
Flipping the Script