skysight-inc/HackerNews huggingface dataset:
Also a good point.

Thanks!

So maybe like so:

showThrobber()
// The reason for the asyncAfter(), is that we need to give the throbber time to show up.
DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + DispatchTimeInterval.milliseconds(20)) {

I tend to like to put comments to the right of the lines, but not if they are long ones.

I don’t usually like to put stuff just under opening braces, because I feel that it can sometimes obscure the fact that a new context was opened.

Indentation is important. Back when I programmed C++, I used Whitesmiths indentation, but I changed to K&R, when I started writing Swift. With Whitesmiths, you can put a long comment, just above the context opening, and the comment can apply to just the context, and not the opening statement. This established a habit of having comments apply to the line below.

Here's an example of the same kind of thing, in another part of the same codebase:

if userFallbackRaw == (inError! as NSError).code { // Fallback means that we will use the password, so we nuke the stored password.
#if DEBUG
print("Biometric fallback.")
#endif
// Wow. This is one hell of a kludge, but it works.
// There's a "feature" in iOS, where the Touch/FaceID callback is triggered out of sync with the main queue (slightly before the next run cycle, I guess).
// If we immediately set the password field as first responder in this callback, then it gets selected, but the keyboard doesn't come up.
// This 'orrible, 'orrible hack tells iOS to select the field after the handler for this Touch/FaceID has had time to wrap up.
DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + DispatchTimeInterval.milliseconds(20)) {
self._bioHazard = true
self._selectedPassword = ""
self.emailAddressTextField?.text = self._selectedLogin
self.passwordTextField?.text = ""
self.isThrobberShown = false
self.passwordTextField?.becomeFirstResponder()
}
The difference is that a country cannot produce the oil that it does not have. But a large country with a strong economy will end up being able to produce the chips it needs. It will take some time, but they will.

The US's policy here is to impede and slow down China's growth in order to maintain their dominance for as long as possible. That's it. And it will achieve that to a degree but will also push China to develop their own industry.
I just deployed a fix for this; if you see this and happen to check let me know if it's better :)
> peed is important for some mission types, like when you're intercepting a Tu-160 or Mig-31

No it's not.

Modern US doctrine favors early detection and long range engagement by missiles.
Don't underestimate the desire of regulators to get more and more power.
Is there any way for it to make business sense, or was it pure incompetence?

I wonder how many databases they deleted that they could have instead started charging for. Seems to be incredibly destructive for all involved. (SF shareholders, Heroku customers, etc.)
The Gripen also wins on a huge metric of having source code access, and a more open supply chain (not ALIS).
Not sure I'd buy a plane that I don't really own.

In addition, this is an F35A vs Gripen E, so the Gripen has a better STOL capability, likely better radar (rotating GaN), more mature avionics link, supercruise, similar RCS (apart from frontal, it's likely to be smaller, red flag exercises hinted that they were not really detectable) and faster software updates.

WRT stealth, if you want to be stealthy you can't use active radar, only passive. As such having IRST capability in addition to a good datalink is extremely useful to detect other aircraft. The F22 has no IR capability so is at a disadvantage in BVR from that, similar for the F35 which (I think) only has a downward targeting IR.

From a reliability perspective, the Gripen is a long way ahead, the duty availability F35s is probably 70% at best by now (2019 figure was 50% https://www.ainonline.com/aviation-news/defense/2019-06-16/q...) mainly due to parts shortage. The F35 still can't fly in stormy weather due to lightning strikes etc.

I've no doubt the F35 can be a capable aircraft, just not compared to it's competitors. The decision, as usual, is more a political one.
Having lived, in the past five years, in Seattle, in a Seattle exurb, in a small city well north of Seattle (Bellingham), and now in London, I can say that this is just a problem -- not a Seattle problem, and urban problem, or a US problem. We had people prowling our secure parking garage in my Seattle condo building; my exurb house was in a development where summer days brought the smell of cow manure in through the open windows, but barely a week went by without cars being prowled; Bellingham is a college town and has had property crime issues for decades; and obviously London has loads of thefts and robberies, with a recent trend being masked robbers on motorcycles and scooters snatching phones from people's hands on the streets.

Everybody thinks this is a local problem, but the reality is that, in developed nations, property crime is quite strongly correlated with wealth inequality[1], which has been growing in most of the western world for the past couple of decades.

1. https://equalitytrust.org.uk/crime#:~:text=The%20link%20betw....
Given the tiny size of the capsule, it's only dangerous because it's so concentrated. If it would be diluted by spreading to a wide area, it would just slightly raise the background radiation.
Other than open source stuff I don't see what would be hard to comply with it. Most people use Windows, Gmail and Android or iPhone. At least half of those already do most of what this law would ask.
At my job, we're breaking down a monolith into services with a hand-me-down database schema. DB changes are manual, every dev runs against a shared test DB, and everybody dreads doing schema changes. I've been looking for a way to transition into version controlled migrations and it looks like sqitch might be a solid option, as the language-specific frameworks are too opinionated. Thanks for recommending!
Seawater split to produce green hydrogen
Yeah, maybe you should tell the US Army and USAF then Because bith services like the A-10 enough to keep it around for a while.

Thinking of it, do yoi think attavk helicopters are obsolete as well? Or MBTs? Just because there arebportable missiles out there that can hurt those?
Done! Just released the update. You can set it either

- in the footer
- on the advanced search page
- on a knife details page

it's global for your user and stores it locally in the browser :)
It is unlikely the human instinct to both accumulation and ownership of a private space will significantly erode and that routine sharing of significantly more space currently treated as private will have widespread acceptance by 2030.

Even in strongly communal agrarian culture people maintain their own things, have preferences and expect privacy.

If the author just means "more people will live in condos with significantly more shared use infrastructure including cars" then sure. I do. But I also have a very strong clearly delineated private space, with my property in it. Even renters have defined legal rights to control (within limits) access to space and goods.
Rive: The new standard for interactive graphics
I get that the slot-machine nature of the algorithmic feed is what makes TikTok work, both from a user perspective and commercially. It's nice to shut off your brain and just consume during downtime. But lately I've been thinking that I want the opposite (no, not TikTok for text): Something where I know exactly what is coming next. There is a ton of engaging and useful content on YouTube for example, and I think making it more accessible would be a superpower.

Remember how in the olden days there used to be manually curated web directories? They didn't scale so they were replaced by search engines. But imagine a huge, meticulously curated directory of all video content (maybe sans memes). It would use machine learning to tackle the scale, which was not possible before.

You could be watching a video of a recipe, and then go to variations of the same recipie by different cooks. Or the cook is using a technique like deglasing, and you could go to other videos describing it in detail. You'll be able to drill down to niche content. For example "Woodworking > Furniture Building > Jointery > Ornamental Joints > Butterfly Inlays". Contrast with YouTube where the interesting videos are juxtaposed with clickbaity "I bought this silly tool from Aliexpress, look what happened next" and you are tempted to go off rail all the time.

I mean it is a question of optimizing for clicks and commercial success, versus for usefulness and sanity. The former is heavily incentivized in our economical system, but I really hope that we'll be able to build products that fit in the latter category. Even if they remain in a niche.
This is close to the broken window fallacy. We tend to forget the flow of money is an indirect proxy for work performed. If 20% of construction workers are freed up from fixing roads because of lower traffic, they don't just sit around crying, they find other work to do. Same with tech workers, same with everyone. That's a net good because the work they'll move to will by definition be worth paying someone to do.

Wasting time fixing stuff that didn't need to be broken is intrinsically bad for the economy, but it's disruptive to suddenly have your now-pointless job taken away.
You can look into the health benefits of annual checkups, there's a bunch of research showing that it's pretty much useless before say 50-60yo
Good. Now fine the company 3x the cost of the recovery operation, and require them to carry these things in locked Pelican cases with a satellite GPS tracker with at least 7 days' battery life.
> 1. The problem is occurring primarily with Carbon Black, a third-party product acquired by VMWare a few years ago. Microsoft is not involved.

The posted thread links others concerning other tools' detections. This problem is widespread and affects the entire AV industry, including Microsoft's products. It also affects pretty much every browser via "Google Safe Browsing" - and Google certainly does not care any more about false positives than the AV vendors they source their detections from. Also, Google runs VirusTotal, which greatly widens the reach of these shitty AV tools. For some reason Google feels the need to hide that association.

> 2. This has nothing at all to do with code signing.

Perhaps. It shouldn't, but that doesn't mean that lazy AV writers won't consider signing as a signal that something is safe - after all, Windows itself does. There are at least many developers claiming that signing helps against false positive detections.
Wouldn't this also make Github illegal?
Leyen is in favor of CSAM staying online? Do you have a source on that?

Are you sure you're not misrepresenting her views?
TPUs were added to the control list last year
Blame it on the Chinese - Japanese didn't have that many "counter words" until Chinese influence increased that by an order of magnitude or more.

As for why you need them, Wikipedia points out that because there's no concept of singular or plural (in general, excepting words like "私たち" for "we"), you may consider all Japanese nouns mass nouns. And with mass nouns in English you usually have to use something similar: ".. loaf of bread" ".. grain of salt". The "solution" is not the same in English as in Japanese (you still use "one, two, three.." in English), but still, you can't just remove it. For Japanese there are other ambiguities which are resolved by the counter system as well.

But yes, the counters.. that's one of the bigger stumbling blocks I ran into early on. Learned the numbers, yay! Then learned that I can't use the numbers when I want to say how many there are of something.. I limited myself to the few where I can, as in the counter for flat thin items like e.g. tickets. "にまいください"
I was about to write a knee-jerk comment about how short-sighted the EU law is, but then I stopped and rethought.

EU (and India) are fundamentally trying to strengthen their local economies and severe their dependence on US based entities. I could disagree but I think it’s really important to understand that these are sovereign nations with dedicated think tanks.

Policy decisions like this are debated and then enacted. It would not be surprising if the coverage of Open Source software repositories is not accidental, but actually a very well thought nuance because truth is that nearly all big Open Source entities are US based! In the eyes of the policy makers, The “big tech problem” may not be limited to commercial for-profit entities and arguably more relevant to open-source which is where EU is betting it’s future on.

However absurd it may seem to a open source activist, it may not seem absurd for a policy maker to consider that open source stewardship should have an independent EU chapter as well that answers to EU policy and abides by the local laws. It may not happen on day 1, but policymakers of such wide ranging laws like the Digital Markets act, think more in decades, than years.

TL;DR - Interesting interpretation is that Digital Market act purposefully covers all “big tech players” - commercial or open source. In the eyes of EU policy makers Mozilla, Apache and Debian foundations could very well be as “US controlled” and “strategically important” as commercial entities!

(disclaimer: I work for a large corporation, but this comment is my own 1am thought!)
No, because those at least dual chips are not sold to China. Export Control exists for this very reason.
We need to stop electing people into office who are a generation behind the rest of the world. In the US we’re (re-)electing octogenarians. In the EU it seems the average lawmaker is 10-15 years older than the average citizen. Experience is commendable, but it’d also be great if the people legislating our future lived in our present instead of our past.

You can’t buy a house working full-time at Sears anymore grandpa. No grandpa, I don’t just have a 20% down payment saved up for that 360k house. The average citizen pays more for a loaf of bread, some Kraft singles, a dozen eggs, and a can of beans than they make in an hour.
https://en.wikipedia.org/wiki/Juukan_Gorge Today I learned.
I think they were thinking of illegal drugs, which you generally can't possess. Maybe the act of consumption is not illegal per se, though, I'm not sure.
Can't wait for a cookie banner when I speak to my mom on whatsapp

Public money well spent!
I agree with your points regarding writing a test. It is one of the best ways, and the right way, to handle the issue.

That said, I think my toy example wasn't the best way to show some of the points I was getting at. Consider a real example, such as this function from file src/net/http/transport.go in the Go source:

// rewindBody returns a new request with the body rewound.
// It returns req unmodified if the body does not need rewinding.
// rewindBody takes care of closing req.Body when appropriate
// (in all cases except when rewindBody returns req unmodified).
func rewindBody(req *Request) (rewound *Request, err error) {
if req.Body == nil || req.Body == NoBody || (!req.Body.(*readTrackingBody).didRead && !req.Body.(*readTrackingBody).didClose) {
return req, nil // nothing to rewind
}
if !req.Body.(*readTrackingBody).didClose {
req.closeBody()
}
if req.GetBody == nil {
return nil, errCannotRewind
}
body, err := req.GetBody()
if err != nil {
return nil, err
}
newReq := *req
newReq.Body = &readTrackingBody{ReadCloser: body}
return &newReq, nil
}

When you work with code in or around this function, the existence of the comments tell you what the function guarantees, for example, regarding the closing of the request body. If at some point, there is a bug, it is more likely to be noticed because of the discrepancy between the intentions in the comment and the implementation in the code. Without the descriptive comment, an unfamiliar developer working on this code will likely not be able to tell if something is off in the function's implementation.

Also, as a user of code, it's nice to first know descriptively what guarantees a complex internal function promises from its comment. Then, if necessary, be able to verify those guarantees by reading the function body.

Of course, in an ideal scenario, a unit test is the best way to address things. But this this is a 22 line function unexported function in at 2900 line file, and sadly it appears this function isn't unit tested.

So, given how things are in practice, I argue that the presence of a comment, like here, can help with correctness of code.
My thinking is talking to random people is... random. We can do this outside the internet, don't really need an app for that. Being able to prescreen is less friction than spending time meeting uninteresting people. And having no barriers seems to be a recipe for that in my experience, it attracts those who're desperate because they can't meet people any other way. So if I want a way to remove those people, I'd want to have a higher barrier, not lower. Is the idea flawed?
I think you've assumed that they've just substituted some jargon with some other jargon, but that's not really what happened here. Rather, "critical" is left undefined, even though it's an ambiguous word; evanb merely provided a definition.

> Who was the intended audience?

From that definition? Obviously physicists, lol
Here is my simplistic and dumb NN in C++ https://github.com/runvnc/mlp/blob/master/neuralnetwork.cpp based on the Hinton paper https://github.com/runvnc/nnpapers/blob/master/hinton86.pdf
Ok, I guess I can simplify my message:

It is not helping anything for you to pretend you know why Drew was banned from the issue tracker, but said ban is consistent with the Go maintainers' shit behavior.

I'm sorry I distracted you from the point with all the examples and root-cause analyses.
Yes.

Though I would also add a lot of it was about growing protectionism, in response to the EU not investing enough in the internet and acting surprised when USA's investments puts its companies on top.
We have had physical mail for millennia, and yet I can still go send stuff completely anonymously.

Before adding these insane restrictions for sending messages online, maybe these politicians should first force people to identify themselves and prove they're over 17 to send a letter? See how well that goes
I asked ChatGPT to rewrite the slatesarcodex article as if it were PG:

"I Can Tolerate Anything Except the Outgroup:

Tolerance is important, but it should not extend to the "outgroup". An outgroup is defined as those who are perceived as fundamentally different or opposed. Tolerance towards the outgroup can lead to harm to one's own group and undermine social cohesion. It's better to tolerate ideas and individuals within your own group and be intolerant towards the outgroup. This creates a sense of loyalty and strengthens bonds within the group."
It’s only bad if the judges are conservative ;-)
EU tech law seems to be a bit of a rollercoaster. GDPR was conceptually a great thing (although its actual implementation smacks strongly of boomers with filofaxes ranting about FaceTok and Google Siri), the right to repair is good, the USB-C thing is useful. The cookie permission thing didn't work though.

It's sad to see the EU now joining the "let's use child abuse as an excuse to steal the internet" bandwagon. The UK Government has been doing this for years, and is trying it right now with the Online Safety Bill. I never know what to think of the motivation behind this stuff. Is it a well-meaning but naive attempt to protect the vulnerable, or is it the establishment desperately trying to destroy the threat posed by open communication and the empowerment of individuals?
"To protect the children" argument is the last refuge of a crook
Heroin, cocaine, opium, marijuana, methamphetamine, MDMA, LSD...

Interestingly, the legal structure around these substances apparently avoids banning consumption, limiting itself to banning the obtaining or possession of the substance. But it's worth noting that consumption itself is also prohibited, just without a firm textual basis. For example, if you give birth in a hospital, you will be tested for the presence of illegal drugs in your bloodstream (your consent is not required for this), and if you test positive, your child will be automatically confiscated.
Am I the only one who thought this would be used for some “unconventional” cuisine before opening the link?
Something worth thinking on. It’s oversimplifying to say that this is merely a case of bureaucratic greed for power (which seems to be the main theme amongst comments).

Kids are being harmed and are harming others online. Parents (imperfect as they may be) have far less ability to intervene than they do in physical spaces. Technologies (and technologists) are a major cause of this autonomy.

If we build technology that leads to harm, it increases the chances that a law like this is passed. Doesn’t matter if we meant to. The primary role we have to prevent legislation like this is to think creatively on how what we build can help create a better world in many aspects that are largely overlooked. Otherwise we’re feeding the political capital of bills like this.

Want to preserve the current internet? Don’t settle for the current societal impacts. They’re unacceptable and politicians will have to respond, and will do so the only way they know how.
Tate Modern viewing platform invades privacy of flats, Supreme Court rules
Totally OT, but I assume that the name is based on Kon Tiki, a raft that famously crossed the Atlantic with a crew of six.

Which is quite a extreme example of a network in a constrained system, with the security of an IoT device. ;)

https://en.wikipedia.org/wiki/Kon-Tiki_expedition
Small amount of radioactive materials go missing and it becomes international news. Things might be pretty good when it comes to nuclear materials safety after all.
Exactly my thought.
It is hard to correctly read and understand laws (whether proposed or not). Especially if one is not a lawyer, any such commentary should be done extra carefully.
That the US military keeps it around and uses it in places where they don't have air defenses or enemy aircraft to worry about isn't a particularly useful counter to the point that it has massive weaknesses against modern air defenses. You'll also notice that the US has lots of other planes for places where that worry exists.
Probably overstated, but it's true that the EU gets arguably less democratic oversight than many governments.
See side comment. As best as I can see, consumption is not "illegal", except that there are extremely severe legal consequences if any evidence turns up that you've consumed them. It remains to be explained in what sense that fails to constitute being illegal.
> The EU is in fact fairly lean given its scope and the number of languages.

Any reference on that? I used to work for EU and I never had this impression while there or never read about how lean the EU is.. would be interesting to know more about it.
It's still possible to do that! It's just that particular rough edge (which was indeed a problem, just not a particularly important one) has been smoothed off.
Mammals that live in groups have longer lifespans, research finds
I do agree with many points with the OP. I looked at this, manually updated my phone app and saw myself locked out, just like that.

I do really like SN and their large featureset, especially the editor variety, but this sort of thing has happened a few times over the years I've been using it. I'm not really angry because I do like it a lot, it's more of a feeling of disappointment.