skysight-inc/HackerNews huggingface dataset:
Future proofing and it gives people the possibility to think big. If most of the country is stuck at 20 Mb, then most people will think in and build 20Mb applications.

Who knows what people will cook up if they are unbridled. Of course limiting users also breeds innovation to overcome the limitations (youtube-dl is a good example), but artificially creating limitations for the sake of money, isn't a good argument IMO.

If you want applications for the future, don't limit it.
The sad thing is that the team responsible for this bit of machine learning are probably very proud of their 99% accurate algorithm.

It probably *is* 99% accurate - there is a lot of fraudulent activity online.

That 1% false positive rate really hurts though, destroying people's livelihoods.

I think that people developing machine learning models sometimes don't think about the consequences of the false positives enough.

There is a great section in David Spiegelhalter's book The Art of Statistics which got me thinking about this.
I get the opposite vibe from the parent comment: that usefulness and worthiness is often detached from monetary reward.

How nice it would be for great work to be compensated more fairly.
+1. This would be an incredibly useful tool when I have to search private company repos I'm unfamiliar with. Currently I use GitHub's 'search current repo' functionality but it's not great.
We were talking about the bar for evidence, not the bar for taking offense.
Yes. For example:

def neighbourhood(position):
return map(
lambda position: EDGE if position is None else position.absolute,
position.neighbours
)

The inner lambda is shadowing the name 'position'. This does two things:

1) It declares that the lambda doesn't depend on the argument of 'neighbourhood'

2) It prevents us referring to that argument by mistake

Compare it to a non-shadowing version:

def neighbourhood(position):
return map(
lambda neighbour: EDGE if neighbour is None else position.absolute,
position.neighbours
)

Oops, I've accidentally written 'position.absolute' instead of 'neighbour.absolute'!

This version doesn't make any declaration like (1), so the computer can't help me find or fix the problem; it's a perfectly valid program. A static type checker like mypy wouldn't help me either, since 'position' and 'neighbour' are presumably both the same type.

It's not even clear to a human that there's anything wrong with this code. The problem would only arise during testing (we hope!), and the logic error would have to be manually narrowed-down to this function. Even if we correctly diagnose that the 'if' is returning a different variable than it was checking, the fix is still ambiguous. We could do this:

EDGE if position is None else position.absolute

Or this:

EDGE if neighbour is None else neighbour.absolute

Both are consistent, but only the second one matches the shadowing example.
You forgot to mention we pay him a lot of money each year.
Sandes - India Government's Instant Messaging System
haxe is whole programming language with its own ecosystem and several frameworks for many purposes, such as server side, front end, high performing games, unity engine or unreal bindings, etc. Flutter and Kivy are just other things.
Nobody is forced to pretend anything. The monarch lost the ability to "rule" centuries ago. People can and do routinely call for abolition of the remnants of the monarchy with no ill effects, in fact, the head of Labour (the official opposition) is on film saying he used to be an abolitionist and by implication probably still is.

If the Queen had ever alienated the population the UK would have become a republic within a few years. Nobody actually thinks she rules anything which is why this article in the Guardian is news, and why it takes pains to point out how obscure this apparent veto actually is - apparently so obscure that even Parliamentarians themselves believe it's not used for anything!
Just wanted to say that I have almost the same bedtime-routine as OP and it has been life-changing for me. I can wholeheartedly recommend this.

From time to time I also add a 5-minute meditation to the routine and it works quite well for me.
Bitcoin/cryptocurrency mining is highly mobile though. It's just a bunch of ASICs/GPUs in a room with cheap power and crappy internet. If carbon prices change or get introduced you can just move your mining rigs to a different country.
IPRally, AI search engine for patents: Why did we choose Clojure
Package management isn't what I initially think of when I hear "supply chain". Neat hack! It's like left-pad but malicious.
One time I saw a fascinating article about how scientists were working to grow skin complete with natural looking hair from stem cells for burn victims and such. I thought the article was really neat and I was in a hurry so I emailed a the link to myself.

The next time I logged into my gmail to read it I happened to be at a machine without adblock and I saw that google was serving me ads for garbage treatments for male pattern baldness.

Fuck you Google and your shitty advertising. There's nothing wrong with going bald and I don't need you to try and make me feel insecure about my hairline when I'm trying to read about scientists helping burn victims.
I'm guessing that is a star in our galaxy that is crashing the photo.
There may be other local laws; GDPR itself was a unification of existing local laws.
I see we will not agree, and this thread is mostly dead anyway, but for posterity: it sounds like you haven't installed mypy into the venv you're using. I can see how that would not work. I don't try and reference python scripts that I haven't installed using the venv so perhaps that's why I've never encountered this situation. If it's part of my project it's installed into the venv (and if it's a dev dependency like mypy, which I do use, it gets installed as a dev dependency so it doesn't end up in releases).
> I imagine that the way the system would work would be some kind of minimum disbursement for everyone, a higher level arts disbursment for people that are recognized to be working or emeritus musicians by their peers, and public contracts worth more money for particular projects.

I think it would be better to just have universal basic income for everyone (definitely not something restricted to music or even "art") and then have people find their own way if they want more on top of that. Highly regarded musicians can earn money without copyright just like anyone else: concerts, contract work, etc - just like everyone else.
Belgium was the country that recovered fastest from the 2008 financial crash...
Wow, it's almost as if computer viruses were named after biological ones!
If you are trying to sell a dictionary I see no reason why a company should allow you to advertise on the word "rape" to do so.
Sounds like he should start his own ISP. There was a great HN post a while back about someone in rural America that did that.
Fundamentalists take hardline stances to problems. To Stallman, one of the most unethical, immoral things one can do is to willingly run a computer program that they do not have permissions to modify.

Very few people in the world, even most FOSS contributors and developers, share that belief that strongly. They might feel like FOSS programs give them certain advantages and rights, but morals? Stallman has mentioned that he would rather go homeless than run proprietary software. That level of devotion is exceedingly rare.

To approach someone, even a Linux user, and tell them that they need to give up their convenience for free software because what they are doing is immoral, that's a very hard sell. This is one reason GNU has mostly produced free software clones of better, commercial software, where practical concerns take a backseat to GPL.
We're working on a project in that direction [0].

The basic idea of the app is that cyclist record their bike rides through the city and accelerometer data is used to report dangerous situations (e.g. a car crossing a cycle lane without regards for the cyclists). It turns out that this accelerometer data can also be used to check the cycle path quality. Some cities respond well to the idea while others just ignore the problem

[0]: https://www.mcc.tu-berlin.de/menue/forschung/projekte/simra/...
Old users might note that sites start to work after refreshes and that the history is broken from time to time and that adblockers might nowadays break sites.

But this is for us using the net before 2000.
'and something you just do without thinking about it.'
Well, when you think about it you've changed the underlying quantum structure ;)

--- Cue the internet saying this isn't how quantum entanglement works
#TheGame
Amazing work! Knocked it out of the part. Have you checked out the other guy's example in the same subtree from the comment you posted on? Curious your take on that work. Keep it up!
The judge, who’s on Twitter, made the video available[1] for “educational purposes”.

[1] https://twitter.com/judgefergusontx/status/13592509393125662...
Technically I think this feature would do unpacking for you, just more verbosely, like so:

d = {"a": 1, "b": 2, "c": 3, "z": 4}
match d:
case {"a": a, "b": b, "z": z}:
print(a, b, z)

o = SomeObject(someval=42)
match o:
case SomeObject(someval=someval):
print(someval)

from https://www.python.org/dev/peps/pep-0636/#going-to-the-cloud... and https://www.python.org/dev/peps/pep-0636/#adding-a-ui-matchi...

it's more verbose but lets you easily add a default case to catch and handle when a key you expected to be in the dict isn't or the object doesn't actually match the object you expect.
Using ES Modules in Node.js: A Practical Guide (Part 1)
Don't forget that the poll is dated 2020-11-20 (and majority of votes were cast soon). There was a lot of discussion (and thus maybe elaboration of opinions) since that.
I would say that from what is considered Great American Classics only catch 22 is actually good.
Super High-Speed Footage Captures the Moment a Lightning Bolt Forms
Italy needs the same investment in propaganda/marketing as the US; every European country does. People dream about going to the US because they are bombarded with the image that it's better there, not of how good it is in neighboring countries or on the same continent.
and the link to the original author's post: https://medium.com/@alex.birsan/dependency-confusion-4a5d60f...
Lawyer gets stuck on Zoom kitten filter during court case
nLite! That brings back memories. Customizing a Windows Installation to remove bloatware, add additional software and make it run unattended. It was a tinkerer’s dream :)
Underrated comment.

Personally Zoom "socializing" doesn't work for me. I'd rather stick a needle in my eye than sit around and watch my co-workers pretend to have fun. We do a weekly hangout and occasionally meetings will devolve into social time but group video chats feel like meetings, not fun.
Worth checking Virgin if you haven't already or yeah going for 5g (3 and some others offer this in parts of London).

I had thought most of London had access to really good options here but obviously I was wrong!
Helps in this specific case, but will not eliminate the broader issue. The broader issue is how can you trust 3rd party code to not do anything harmful, and it’s not like we can even perfectly trust our own fingers in that regard.
Probably biased because I know the authors but still, this is really cool! Anybody using Java should take a look at this!
"How come, Chief Willoughby?"
> > if you asked a random citizen of Canada, Australia, New Zealand or the UK to name a single supreme court judge they'd probably be unable to

> Don't each of these countries feature sovereign Parliaments [1]?

Australia does not have a sovereign Parliament. The Parliament of Australia is subject to the Constitution of Australia, and the High Court of Australia can and sometimes even does invalidate Acts of the Australian Parliament as violating that constitution. So in that regard, the Parliament of Australia has limited powers just like the US Congress does. The big difference is that while the US has three coequal branches, Australia only has two – the legislative and the judicial branches. In Australia, while the executive branch is theoretically equal to the legislative branch, in practice the executive is subordinated to the legislature.

Actually the question of whether even the UK Parliament is sovereign is debated. Keep in mind the UK has three legal systems: (1) England and Wales, (2) Scotland, (3) Northern Ireland. Northern Irish law is based on English law, so Northern Irish constitutional law has at best minor differences from English constitutional law. By contrast, Scottish law is a completely distinct legal system, with a very different heritage (based on Continental legal system, ultimately tracing its origin to the laws of the Roman Empire), and that includes a distinct body of constitutional law. And while it is true that parliamentary sovereignty is a fundamental principle of English constitutional law, its status under Scottish constitutional law is debated. In the 1953 case MacCormick v Lord Advocate, the Lord President Lord Cooper (the most senior judge in all of Scotland) said that "the principle of the unlimited sovereignty of Parliament is a distinctively English principle which has no counterpart in Scottish Constitutional Law", and left open the possibility that if the Parliament of the UK passed an Act which was a clear violation of the 1706 Treaty of Union which created the United Kingdom – for example, if the Parliament of the UK tried to abolish the independent Scottish legal system and impose English law on Scotland – the Scottish Courts would have the power to invalidate that Act. In practice this question is unlikely to ever arise, because it is politically inconceivable that the Parliament of the UK would ever actually pass such a law. (The case was about whether Queen Elizabeth II was allowed to use the regnal number II in Scotland, despite the fact that Scotland had never had a Queen Elizabeth I – the court ruled that the Treaty of Union said nothing on the topic, so the Queen's choice of what regnal number she used could not be said to violate the Treaty.)

To answer the original question, I definitely remember the name of one former Australian High Court Justice – Michael Kirby (who is famous for being the first openly gay High Court justice). I am a bit of a law nerd, but I don't think you need to be a law nerd to remember that.
Today I Created A Twilio bulk SMS utility
If Google could have killed Facebook, it would have.
> the popular opinion

There is no "the" popular opinion.
My wife likes to give me advice on how to sleep. She sleeps within secs/minutes of going to bed.

This is like someone who doesn't have depression telling someone with depression to 'read a good book' ;)

Meditation is effectively what the article is talking about. Not following those thought avenue's.
Plenty of things come to mind that can involve a lot of data

- Docker and other VM images
- Backups
- 4K video editing synced to shared NASes when working from home
- Build and content syncing for gamedev when working from home

4gbit/s is still slow enough for me to spend minutes syncing a mere 100GB, even if I can exclusively saturate that link and not share it with a roommate. That's smaller than some blueray disks and many steam games in their compressed/compiled/processed states for a single platform - no debug symbols, no built object caches, no source assets. It's not uncommon for me to resync a significant portion of that due to mass rebuilds, poorly handled content refactoring, or just switching projects when my local disks (mechanical, SSD, and otherwise) are all full.
Azure has Azure Service Bus (a "full" messaging system, with subscriptions, topics, routing, AMQP 1.0 etc), and also Azure Storage Queues (a very simple queueing system where a client polls a single queue for messages).
Multiple Security Updates Affecting TCP/IP
> ChromeOS and Android? POSIX APIs are not exposed to app developers. Cloud? Language runtimes and serveless make POSIX irrelevant.

The underlying POSIX filesystem is still exposed to android developers via java's File. And via the C apis too, from the sounds of things. I think its the same on iOS.

But even if you're only using posix calls indirectly through complicated database abstractions and unix sockets, you're certainly still paying a cost. Plenty of benchmarks have been made over the years showing how better APIs can yield 20+% more filesystem & TCP socket performance on linux by bypassing write() and friends. If you spend $10k on a database or application server, think about it as $2k of that hardware wasted simply due to bad kernel APIs. And I'm sure there's plenty of features postgres and sqlite don't have because their devs instead needed to spend their days in a desperate struggling to make their software work correctly, at all.

Aside from performance, in my opinion a better API would also be transactional, at the filesystem level. Aside from dramatically simplifying every database, that could also would allow collaborative editing through simple network shares. I don't even think it would be that hard to do.
This is a great resource, and it's also well written. I did a lot of C thread programming 22 years ago (plus some CORBA), and this would have been very helpful, basically resumes a whole semester of university classes in one web page!

Lazy question: are there any details of how pthreads are implemented for each operating system?
> How many 4K 5.1 high quality streams can 1g handle?

1 Gbps can handle about 8¹ to 40² 4K streams.

¹ 2160p60 on Blu-Ray goes up to 100 Mbps

² Typical 4K Netflix streams are in the 15-20 Mbps region, with a recommended Internet bandwidth of 25 Mbps.
I'm with everyone on "incredibly disappointing" valuation. But being pragmatic, I had to accept the idea "it can be addressed later" vs continuing this mess. And there was truly mess, e.g. PEP642, which initially tried to addressed just this issue, turned in a hairy monster trying to random-patch pattern matching considerably in rather weird ways.
Base64.ai has nailed time to value for customers. It’s pretty straightforward to integrate with and their extensive list of models makes it really easy to process a wide variety of document types. We used it Bardeen.ai and couldn’t have been happier. Kudos for a great service!
Google+ was very poorly designed.
In addition to what other responders have said, another factor is that if you're a top (or better than average) performer in X, then the default assumption will be that you'll be a top (or better than average) performer in Y, given some time to ramp on Y.

That may or may not be true, of course, but it's an element in your favor either way!

(though fwiw, in my time as a past manager, I found that significant effort counted for a lot - it's cliche but folks who consistently put in extra effort and worked their butts off improved faster than those who relaxed, so they would soon exceed folks who relaxed, even if they had much less of a head start.)
I'm living in France in a medium-sized city, and I pay 20€/month ($25) for 1GBps internet (that's actually a 1 year discount, it's gonna be 30€/month).

Also my 4G mobile plan is 60Gb/month for 10€.
That is insane that any company allowed this to happen.

""That said, we consider the root cause of this issue to be a design flaw (rather than a bug) in package managers that can be addressed only through reconfiguration," a Microsoft spokesperson said in the email."

No, npm has scopes for a reason, why would that not fix this issue?
60-90 minutes of walking after work, without using any devices during the walk. Makes a big difference for how sleepy I am later.
Windows was far more common in our household than Mac and Linux. I think I saw a Mac laptop once when I was a kid. I had no clue what that thing was! Bit of a learning curve coming from Windows.
Silicon Valley exodus: ‘We’re in real trouble’
"John Chambers is considered somewhat of a legend in Silicon Valley. And he's very nervous about its future.

Chambers led Cisco for two decades, guiding the tech giant through major waves of disruption and innovation. After stepping down in 2015, he embarked on a new career as a venture capitalist, launching JC2 Ventures in 2018.

His views still resonate in tech and Silicon Valley, where he's often viewed as an elder statesman and mentor. And he has a lot to say nowadays.

In a conversation with Protocol, Chambers shared his deep concern about the future of California, and particularly Silicon Valley. He spoke of the alarming wave of departures from the region and the state, led by Hewlett Packard Enterprise and Oracle. He also shared his frustration with California's leadership and explained his decision to endorse the potential candidacy of the former mayor of San Diego, Kevin Faulconer, as the campaign to recall Gov. Gavin Newsom gains momentum."
You are mistaken.

Almost every modern democracy has a bicameral legislature.

https://en.wikipedia.org/wiki/Bicameralism
hey @andreareina!
Actually we have a binder on the repo that you can try + several examples :)
link to binder: https://mybinder.org/v2/gh/jupyter-xeus/xeus-sql/stable?urlp...
link to examples:https://github.com/jupyter-xeus/xeus-sql/tree/master/example...
> Not a powerful argument because in 90 years it's still not mainstream and only exists in papers and blog posts

https://docs.python.org/3/reference/expressions.html#lambda

https://262.ecma-international.org/11.0/#sec-arrow-function-...

https://docs.oracle.com/javase/specs/jls/se15/html/jls-15.ht...

https://timsong-cpp.github.io/cppwp/n3337/expr.prim.lambda

https://rosettacode.org/wiki/First-class_functions
I've heard, and keep hearing, so many stories about frustrations with Facebook's tools for advertisers that the situation described doesn't surprise me at all. Somehow this massive organization with >50 000 employees and billions of users can't seem to produce quality software that allows people to pay them for access to those users.

Small tasks turn into multi-day endeavors just because the tools keep crashing over and over again, losing all state. Managed advertising accounts just vanish from interfaces. Random buttons turn into "try again" roulette.

It's a good thing their ads are (apparently) effective.
> "entire road that just has no name" should be mapped differently

https://wiki.openstreetmap.org/wiki/Key:noname (used for example by StreetComplete that I really recommend if someone has Android, wants to contribute and is not interesting in learning to use a complicated editor).
I'm flabbergasted by how silly this is. Bump the version and the package manager chooses yours online vs. the private one. Amazing. How silly and how expensive is this going to be as this blatant security issue is going ripple on for the next months to come.
Apple does contribute to OSM quite a bit, see around 4:00 in https://2020.stateofthemap.org/sessions/SPRQVZ/ for details of corporate contributions: "Apple is currently doing the most work on the map".

Here is the base repository of their contributions on GitHub: https://github.com/osmlab/appledata

And if I see this correctly, the #adt hashtag (for Apple Data Team) contains already +100000 changesets for this year alone: https://osmcha.org/?filters=%7B%22comment%22%3A%5B%7B%22labe...
What problem did it solve before?
The timeline is incorrect.
You are making the great-grandparent's point (with which I was agreeing). Their concern was not only the cruft built up in the POSIX API, but the many layers of abstraction and behemoths of code that depended on said cruft, making it a compatibility nightmare to ever remove. That comprises the web browser that drives chromeos's apps; the java runtime that drives android apps; the language runtimes that drive serverless apps.

IoT is even more of a niche than desktop.

And, I think you underestimate the amount of software written in c, directly against posix.
Any HNers ever participated and want to share their experience?
This is true! I also have a good story about how certain network cameras were left unprotected on the school network and some individuals took advantage of that by guessing the default password.