skysight-inc/HackerNews huggingface dataset:
Mangling of double-underscore names isn't there to provide access control like in Java or C++.

Mangling of double-underscore names is explicitly documented as existing "to avoid name clashes of names with names defined by subclasses". The use case there is a parent class defines a method called, say, "foo". Other methods of the parent call self.foo(). Then a subclass overrides foo() but changes the signature (say, by adding a new non-optional argument), and doesn't override the other methods that call self.foo(). Without name mangling or something like it, this breaks. If the parent class either names the method "__foo" or aliases a copy of the parent class' implementation to "__foo", and calls self.__foo(), name mangling ensures those calls will find the right (as in, compatible) implementation of the method based on where the call came from.

That's it. That's the one and only use case for invoking name mangling in Python, and it's a thing that generally you shouldn't be doing anyway.

Name mangling also isn't invoked for leading + trailing double underscore -- a "__foo__()" method would not get mangled.
Right. The apparent business model is "supply service to person x for service y" but the actual business model is "keep user online long enough to make them valuable eyeballs to sell to somebody else, be it another consumer of service, or an advertiser, or whatever"
Hear hear! The commons belong to us all.
'Disneyland for adults': John Portman's dizzying interior legacy
Right... and "others" do that because it turns out when you're the CEO of a PUBLICLY traded company, you are subject to being judged by the public.

If he were only in charge of private companies, he'd essentially be free to say/act however he wants. The second you IPO and are CEO, you have muzzled yourself, or you should expect to face the wrath of your shareholders.

Why would you expect people who have millions of dollars invested in your company to expect you to do anything OTHER than act like a professional? If my retirement is in your hands I expect you to act like an adult, not a 16-year-old bruh having a good time on twitter.
But shouldn’t there also be thousands women on the site? Are you saying there’s 1 woman with 10000 matches, and 9999 women with 0 matches? Or that there are 10000 women, with 10000 matches each?

Wouldn’t it make sense for the dating site to optimize it so that the women with the least matches get to the top of the queue, so you have a better chance of a mutual match?
> only non-bruteforce solution worth pursuing here involves DP

What's wrong with starting with a hashtable of substrings of fixed length? For inputs with low autocorrelation, that'll get you a good average-case speed up.
> I can't think of a single instance, from the last 200 years, where money alone has achieved the appropriate constraint of a process, product or industry.

Money upset the mobile phone business which was a lazy cartel controlled by carriers, who functioned as monopsony customers of phone manufacturers. Europe's market was more dynamic than the the US and Japan due to regulation but still the phones weren't amazing. Then about a decade ago Apple blew up not just the design of phones but more importantly IMHO the relationships between the end users, manufacturers, and the carriers.

I cite this as a proof that it can happen but in general I think regulation to manage externalities is underused due to ideology. Yet as a businessperson I don't consider regulation inherently evil -- in fact, for example, a safety reg which applies to everyone doesn't disadvantage any one company.
I'm going to disagree with this being a "swipe" because at the root of it is a critical cautionary tale that I think we should be sharing more of on HN:

What you (the global "you") experience in the world and the results of your interaction are not a template, and other people's experiences may sometimes preclude them from truly realizing, appreciating and unpacking why people in other social groups might see interactions with the constabulary (keeping in context with this comment thread) or other systems of society a bit differently.

As a matter of personal perspective, the suggestion to break one's bubble isn't a swipe, but a request to entertain the thought that one's preconceived notions about a given affair might change with the knowledge that their experiences are not universal and exposure to a different angle.

Maybe the curt nature of the suggestion doesn't meet some arbitrary ideal of discussion, but that doesn't invalidate the root point of the suggestion.
Every submit for this site is just a daily ad for Amazon affiliate linked books (tag=itbook.store-20).

There is no "store". Even the descriptions are ripped from Amazon's pages.
It makes me wonder about use cases for tools like freenet, tor, etc. Espionage of some sort comes to mind and the need to deliver a message from sender to receiver without identifying any participants . Otherwise there is some other implicit recognition that anonymity can be productive.

Anonymity clearly changes how individuals communicate, but the research I know of tends to focus more on how people like to behave badly and mischievously when there is no known reputation or name associated with the consequences of a action.

Anyone who has spent any time on the internet knows the ability to obscure identity, however thin or unsophisticated, elicits changes in behavior. I highly doubt the producers of these tools construct them with the goal of inviting mayhem in mind. Regardless, the more anonymous a data transfer is, the less social pressure there is to communicate within certain permitted boundaries.

Outside of a authority point of view, there's also the potential for creativity and free association related to anonymity. If one feels you won't be judged because of saying something, you might open up.
However the folks that make these decisions never see the consequences; they've taken their bonuses and gone by now.

It's worse than that. There might not be a company left when these guys start needing health care in a big way. (Or the mine's environmental impact is starting to be felt, or whatever)

That's normal: a mine can be structured as a dividend paying company (with one big asset) that gradually becomes less and less valuable until it's worthless at the end. If the company goes bankrupt at that point, no big deal, it's already paid what it was meant to pay for its investors. And yes, management.
Move to markdown.

but I think the willingness to move to linux pre-supposes you have also accepted the slide content is what matters, not what it looks like.

I think there is a very strong Tufte moment here: make slides in whatever you can, even as plain ASCII.
I’m always puzzled by the need people have to try to dispel the notion that Facebook listens to ambient audio or conversations.

They are the bad guys. They didn’t need to steal Android phone logs either, but they did.
Early FORTRAN programs could break if you passed a constant into a function and reassigned the value within that function, because the constant would change.
I don't understand inspite of having working p2p protocol why we don't yet have an good p2p alternative to dropbox that just works without any setup hassles. Closest working thing I know of is BitSync but that too requires an mediator server.
>OCaml actually has excellent tooling — among the best

I don't think even the core OCaml devs would claim this. Rust (and Java and Microsoft) toolchains are examples of excellent tooling. OCaml, not so much.

That said, the tooling situation today in OCaml is much better than it was a few years ago, which is real progress.
A roommate once stole $30,000 from me while I was out of town. The police were disinterested in helping despite written records of him admitting to the crime, until I pulled strings internally and got detectives assigned to the case.

The police in the USA of course have no legal obligation to investigate or protect, contrary to popular understanding. Sovereign/qualified immunity really needs to be scaled back.
Haven't indent guides been around since forever? And generally if you can't tell what indent it's wrong, it probably needs refactored anyways.

It's definitely an opinion your allowed to have, though not using the language over it would be rather draconian.
Agreed! As soon as I can afford one, I am buying two :-P. I sure wish that I new about the dev kit when it was still available to order :-(
It has gone deep in the ITU. Go look at "digital object identifiers" and follow ITU study group links.

What I hear of in large-scale IoT is that its big private networks using back end stuff in Amazon, GCE, whatever, to feed big collections of things, but they don't appear up-front in the global net, they run behind doors.
"Hello, we are based and operate under the jurisdiction of Panama. We do not have HQ nor our staff based in Australia. Therefore, this law will not have any effect to our company whatsoever." - NordVPN

"We are following the Australian #AAbill closely. The updated regulation does not address any of our #privacy concerns, which we explain here https://protonvpn.com/blog/assistance-access-bill-australia/ …. ProtonMail users will not be impacted because as a Swiss company, we are not subject to Australian law." - ProtonMail

This seems to be the stance of a lot of companies
> Love is not blind - it sees more, not less. But because it sees more, it is willing to see less.

-- Rabbi J. Gordon
Quick existence proof that sometimes it seems to be beneficial (for the non-criminal)
https://www.nraila.org/gun-laws/armed-citizen/
It is a key part of the implementation of Holochain (https://holo.host).

It turns out that global consensus is not required to maintain accounting balance in a global-scale ledger. DHTs and their validation of the data they host is a big part of maintaining the invariant of the system.
You're saying your definition of human rights is more universally accepted than the UN's?
Funny, one of the things that convinced me to switch away from chrome (back to Firefox) was when chrome got rid of the backspace-key-navigates-back. Sure, I could use an addon to restore the feature but .... why should I live with a browser that subverts decades of standard keyboard shortcuts?
https://en.wikipedia.org/wiki/McIntyre_v._Ohio_Elections_Com...
I have not heard of any of the dudes on any of the comments in this thread. Neither Carl Sassenrath nor Walt Mossberg nor Bjarne Stroustrup. Now I am concerned.
Frozen bananas can also be used for banana bread pancakes (which are not only tasty, but don't require eggs--that's what the bananas are for). Recipe here (I use regular flour, not the whole wheat they call for): https://www.howsweeteats.com/2011/06/whole-wheat-brown-sugar...
You cannot sue police for most things without permission from the government.

https://en.wikipedia.org/wiki/Sovereign_immunity

Additionally, police have no legal duty or obligation to protect or investigate.
Struggle Session
It would be interesting to know how they think requests would get fulfilled in practice. I called a couple of MPs offices to ask and they couldn't find anyone to provide an answer
It was a horrible keyboard shortcut that caused countless lost form entries. Just because something is standard doesn't mean it is good.
I don't think the conversations are for sale.
Hmmm... yes. Facebook and the Chinese government. With friends like these, who needs enemies?
The solution, as other companies have found, is for management and unions to work together to make safety a core part of the corporate culture.
FWIW I cancelled a preorder (not the 11, the 15) and I got a full refund very quickly.
The dealership model exists outside of the US where it's legally enforced as well. Most businesses are pretty good at their core business but not so good outside of that, and the same is true for the automotive industry. Manufacturers are good at designing and manufacturing vehicles, but retailers in general are much better at selling them and managing the customer relationship. Many manufacturers outside of the US sell direct to consumer alongside private retail dealerships, and in general they are outperformed by the private dealerships.
Why would anyone listen to this guy?
We needed high quality video files to create the metadata. Machine vision wasn’t good enough yet so we did it the old fashion way. Interns and lots of typing in real time
One possible explanation is that they are sitting on so much potential bad news it would be a disaster to release all at once.
A couple of years ago I became an empty nester and decided to get rid of my cars. I switched to delivery: CFA box, meat box, and regular grocery delivery.

My meals are a bit repetitive (I often make, as you note, the same meal for four days) but that makes my life easier. But what has amazed me is it really doesn't take long to make the kind of meals I like to eat -- often 30 minutes an almost always less than 60. I can't be bothered making fancy sauces and the like, so I eat healthier than I probably ever have in my life. It's really a great deal to feed myself for four days for only a few bucks and for not much more time per meal than it would have taken to heat up a premade package.

Even my gf and her kids like my cooking which astonishes me.

I live in Palo Alto so can use the BBQ year round -- BBQ and Instant pot account for a lot of my cooking.
The legal monopoly is weaker than it used to be. See https://en.wikipedia.org/wiki/Tesla_US_dealership_disputes for some information about the battled that Tesla already fought on this issue.

That said, it is a lot easier for Tesla to sell direct than an established manufacturer with a network of dealerships to placate.
Jooby supports hot reload
https://jooby.org/doc/devtools/

But It works better under gradle, and that is a whole nother battle.
Not getting caught by Netflix or Hollywood.
If it goes as well as it looks, I'll be keen.

Any new competitor in the electric car space is a welcome addition in my opinion so long as it doesn't flop into vaporware.
I would bet that C# can match or exceed Java’s speed, productivity, and safety as well.
Just cracking the encryption on the DVD for any purpose is a DMCA violation
> The problem here is the only non-bruteforce solution worth pursuing here involves DP with less-than-straightforward memoization rules

The solution commentary [1] doesn't mention DP.

[1]: https://techdevguide.withgoogle.com/resources/find-longest-w...
Because in a society populated with a lot of violent people its important to have the ability to defend yourself. Pretending you live in a fantasy world where you can pass laws to protect people from violent individuals is delusional.
I'd like to see what can be done with anonymity but with more filters. When this software was first designed, AI-driven content classification was virtually nonexistent.

If bots can be designed to be moderators, I'm thinking if you were to fuse that functionality to an anonymous data storage, you would be able to ensure only productive content enters storage, and content that is irrelevant can be excluded. Of course that bot would need to know precisely what it should exclude from storage which seems hard to define.
Python is like democracy. It's the worst programming languages except for all the others.
Hundreds.
I started on spring 2. I was working concurrently on django, spring 2, and flask. Spring was just painful, we were using xml definitions for alot of stuff. I changed it over to class configuration but still.

I was running a meetup tonight, and going over spring boot on kotlin. It felt so heavy to me. I've had this thought too why not like X.

Spring has a really great ecosystem around it. I sort of look at it like the AWS of web frameworks. It has practically the kitchen sink in it.

I've switched over to Kotlin. While I gravitated more to I think the sinatra style. I went from Spark -> Jooby -> now Ktor/Vert.x. Vert.x is like a breath of fresh air. I have never felt more liberated writing a backend. Combining that with Kotlin multiplatform and ktor for the js clients. Is so dead simple.
Fiskars, Nokia, BP
Why is the .NET integration a feature rather than an antifeature? Don't null and subclassing tend to poke holes in F#'s type system's ability to detect mistakes? And would it not be better to compile to native code than to require the Mono VM or whatnot?
10 DO heartfelt_apology GOTO 10
Occam's Razor might suggest this interpretation:

Facebook is as bad or worse a company as its strongest critics suggest. There's not some dump of bad news, there's horrific practices everywhere you look, so every investigation uncovers more bad stuff since it's the norm for the company rather than the exception…
Have you priced out S3? I've been scraping stock data for a few years and my monthly cost is still under $20 (on Google Cloud).

Another thought / question that's in my mind... Shouldn't the algos provide some profit that could support costs? If not, red flag

BTW, if you want that data & code, I'm happy to share. Cannot attest to the data quality. Haven't checked it in over a year, but it's still running!
This Binance Labs-Backed Crypto Startup Wants to “Anonymize Everything”
Coral CDN: A self-organizing, DHT based, CDN Architecture (2004) [pdf]
I remember when Vaping gained popularity, and I advocated it as a way for addicted smokers to slowly reduce their nicotine intake, whilst still having the physical sensation.

Now the issue is that you can constantly increase the strength of the nicotine concentration in your own vape.
As a parent with young teenagers this really worries me. Vaping looks to be a lot more effective way of delivering high doses of nicotine than cigarettes. Do we want a generation of kids addicted to vaping because we thought it harmless?
I'm gonna disagree with you on that.
Numerous times have I filled a form only to press the back button by mistake.

Some websites just log you out if you press the back button.
Shave with Philips one blade. It is the least irritating shave, helps a lot.
> the type of risk is different

Humans seem to be wildly irrational in their acceptance/rejection of different types of risks that has little to do with the odds of the risk.
Only if you work on something basic your whole career.
I have to agree, leaving the USA gets rid of the rose-tinted "USA #1" glasses, and the USA isn't as comparatively safe a country as many Americans believe it to be. In the USA if I lost my wallet, I'd guess around 10% chance of getting it back intact, 30% chance of getting it back with ID and cards, but without cash, and the remaining 60% of never seeing it again.

That being said, I wouldn't throw all of Europe in with them in this case. I lost my wallet for the first time a few months ago in Prague. The ones who found it went through the effort of finding my contact information (I only had my student ID in my wallet, no contact information whatsoever, my mistake) and when we met up and it was returned to me all the money was still in it.

Although that is only one personal case, I spent around 5 months touring 15 different countries in Europe and witnessed people leaving laptops at the coffee shop unwatched and just leaving their bikes completely unsecured in front of the subway entrance as part of their commute, which are both pretty strong signals that many of those nations share a culture where theft simply isn't common.
There's well over 50 that operate inside of China.
"We did it, reddit!"
Ever hear the saying "A prophet isn't welcome in his hometown"? You had blundered into why companies keep Gartner on retainer.

You were an outsider. That has inherent value, even if you and I agree it shouldn't. One of the quirks of humans. You could have probably been a positive force for change, for a while anyway, had you stayed.

I've experienced this - converting from contractor to employee. Stuff talked about and agreed to when I was a contractor is now questioned when an employee. Other outsiders brought in to "validate". Whatever - I just pass the "validators" what I need mgmt to hear, they parrot it, everyone nods their heads and life goes on. Stupid? Yup. Worth fighting? Absolutely not - if you like accomplishing stuff.
> Telemetry is not really a problem except to the paranoid.

How can you call anyone paranoid after all that we learned in the past decade?

> Not only is it anonymized

Oh so that's why Microsoft uses a hash of your mac address in multiple products. To make it more anonymous. I'm sure your unique advertisement id is also very important and efivars are only used to make sure your activation is legit.
Nope, probably free for the taking through an obscure, unsecured API endpoint/route.
Yeah, I'm not saying my opinion is popular. But having it as a flag, or offering a warn-before-navigating option would have kept me on Chrome longer. Anyway, I'm happily using firefox. So we both win!
> Works out of the box until you're missing a distro package that is required to build a dependency

With decently-maintained packages on PyPI, i.e. shipping prebuilt wheels for the most common architectures, that's no longer a problem - unless you insist in using the distro package-manager, in which case you should pick it up with the distro people. If you stick to pip+venv, on most common architectures, these days chances are you only need a simple `install`.

> I am not a fan of languages having their own package management system that has not integration with the distro one

You must feel miserable then, considering it is pretty much all modern ones. Go, Rust, Node, Perl, Python, PHP, Java, even C# and friends...

There will always be tension between what developers want (the library released yesterday and can be forever tweaked) and what OS/sysadmins want (the library that has been tested for months and can be locked down). This is why platform-agnostic delivery systems for developers are so popular, and it is not going to change any time soon.
Does that mean its running systemd? I thought that was generally frowned upon. I don't know enough to have end opinion myself but it seems like systemd was questionable especially for this type of endeavor.
This is very much needed. Every site I visit through google news hijacks the back button. They only show their news letter signup page for the most part but still very annoying.
May be by actively making Javascript Shorter and uglier, to steer people away from it, and making JS a compiling target only?

I mean whenever I see # I thought I am either on tweeter or the code was commented out.
For package thieves most of the problem, at least for those at home most of the time, like me, is simply have the delivery man RING THE BELL. Why this is not common practice for all deliverers, UPS/FEDEX/AZ etc. is beyond me. If the delivery man is already at the front porch all he has to do is reach for the bell.
simple - use cigarettes as an alternative while quitting
Impact of Bitcoin Addresses’ Sanctions on IDV Providers
The Chrome Web Store Primer Part 2: Optimizing Conversion Rate Using Analytics
You have three votes....

* Your democratic vote (local / and national)

* Where you spend your money.

* Where you spend your time.

You cannot refrain from voting and all votes are counted.

Vote wisely.
That's an option right in the settings. Along with all other permission requests.

Just set it to "never ask" or something similar and it will auto-deny all notification permission requests.

You can also enable it for specific sites if you want.
Does this mean they no longer support history.pushState?
Wow, there's a name I haven't thought about in a long time. I met him several times in the context of Lotus/Iris. Super nice and obviously wicked smart guy. Always approachable and eager to help, too. I'm not surprised at his current vocation.

What a small world...