skysight-inc/HackerNews huggingface dataset:
This is fake news clickbait. Let's look at what this actually says: This only applies to sellers who have violated the TOS. And you are only agreeing that $2,500 is the likely minimum fine for a TOS violation, and that they can take that from any account you have linked. (Of course, I'm not a lawyer.)
Does anybody have a Cython benchmark for this one?
Oh, oops
You're talking about Americans. The democrats are far right and the republicans are extremely far right. Look at the rest of the world
This way of doing string comparisons does not seem to be the right one.

The obvious way of comparing strings is to do a comparison of the content for the minimum of their lengths (which should be computed in a branchless way), and that should be done in an optimized assembly loop, for which suitable SIMD instructions are available in most modern CPUs. In many C standard libraries the function memcmp already provides such an optimized implementation, which should be used for the comparison of strings of equal length.

Then, only when the result of the comparison is equal, the 2 string lengths are compared, to provide the final comparison result.

Therefore, when a good memcmp is already available, a string comparison consists of a minimum computation, a memcmp invocation and an optional integer comparison of the lengths.
The way social media (connections by people you know) destroyed most forums (connections by shared interests) is going to be felt for years.

Forums (and BBS before them) were so effective in connecting people over shared interests that they created so many shared contexts between those people that anecdotally for those who lived on forums... loneliness is far less of a societal issue than those who didn't experience forums.

I would've loved to have seen an alternative timeline where social media wasn't as it is, but was always around interests.
I use Siri exclusively to call my SO, because the way the British accent pronounces their contact name is just too funny.
Another option is to use `go:linkname` and call the runtime function yourself.

//go:linkname cmpstring runtime.cmpstring
func cmpstring(a, b string)
FYI, your site seems down (12:40am PST)
> 3. Solve the generic problem not the specific one.

It's good that you provided the example...

> i could write a program that reads a csv row by row, converts it to my internal model, then emits those data into a ndjson file. Or I could just write a program that converts csv to ndjson , agnostic of the data. The former costs you every time the model changes. The latter is useful for a variety of system architectures again in the future.

...because in this case I can agree (although I'd need to drill into the details a bit more). Anyway, far more commonly (in my experience) unnecessary effort is spent on making generic code when a solution only targeting the specific problem in hand would suffice. Then later the requirements change or your original assumptions turned out to be wrong, and you need to spend time changing the generic solution to fit the new problem. This can require 10x the effort vs. just continuing from the specific and simple solution.

I guess the difficult art is to be able to recognize those exceptions where it is in fact reasonable to do the extra work for the generic solution. There was a recent submission [1] here about "YAGNI exceptions" which included a few common cases.

[1] https://news.ycombinator.com/item?id=33230216
I don't know if I can say.

A lot of things that have been mentioned like FP and TDD and whatever can bring new perspectives because they force you to break your existing programming patterns, but I also think that is the main benefit, not the paradigm itself. This is also the benefit from (the increasingly contentious) Clean Code. It's basically a bunch of rules that force you to break habits, even though it's easy to conflate that with benefits from the paradigm-change.

It's difficult to improve when you're basically just building the same program over and over. That's what I'll argue is the benefit from switching paradigms; you can't keep doing that, so you're nearly forced to learn new things.
Perhaps relevant comment from previous discussion (2017) https://news.ycombinator.com/item?id=15499144
would the US accept an Indian owned app, which was not subject to US legal jurisdiction?.

The issue at stake is one of national security - we have seen that this trumps individual rights whenever the two are in conflict. Look at the creation of NSA post 9/11 - the people broadly accepted this in order to avoid another terrorist attack - and have continued to accept it even as the natsec apparatus continues to expand
Specialized date rape drugs are largely a fiction. It's just regular recreational drugs used in an especially evil way, and the vast majority that regular recreational drug is just alcohol.

It's also probably a regular event that young people experience blackout for the first time, haven't been taught about blackout, and assume they must have been fed something more sinister than alcohol.

Alcohol is treated much better than its danger would suggest, for cultural reasons (that most people, use it recreationally, and often in high prestige contexts). If you want more restrictions on alcohol, especially restrictions on profiting from it, I'm all on your side. But I think it's a bad argument to be nicer to importers of novel drug analogs.
Google Alerted Californians to an Earthquake Before It Hit
The Freddi fish games by Humongous Entertainment are really great at that age. They are simple point and click adventures by Ron Gilbert with fun characters and a lot of interaction on the screen. Easy to get for cheap on Steam or sometimes in bundles and I've been impressed with how quickly it developed puzzle solving skills with my nephews.

Once the child is a bit older, the Pajama Sam serie is also great.
In https://github.com/microsoft/napajs/blob/master/docs/api/tra... it sounds like there aren't completely isolated runtimes - "JavaScript standard built-in objects in the whitelist can be transported among napa workers transparently" and it seems to imply they are not transported via serialization but via a sharing mechanism leveraging multiple threads in the same runtime.

(And also it talks about implementing your own Transportable classes)
Definitely a thing in the UK. Tall poppy syndrome - you didn't want to stand out in any way.
Google Ads Revenue Up 4.2%, Microsoft Bing Ads Revenues Up 16%
The greatest mystery to me is how anyone can think you can somehow stop 'bad actors' from communicating over the Internet other than banning it as a whole.
In theory you could cut VAT.
Overstaffed at which positions?
According to the statistics other is slightly worse than white but much better than asian
Well, if You want to compare strings according to some rules then... write a custom comparator.
Buy them:

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

A delicate coffee made from, well read the article.
Self-driving is currently in the 'valley of disillusionment', much like 3D printing was about 3 years ago. 3D printing currently doesn't make any headlines, but the industry quietly adopted it.
I think self-driving is going to go through similar changes.
I think you have an extremely naive view of both children and bullying. My daughter goes to a school with very similar rules, and they're followed up by the school, and if you where to talk to the parents I'm sure at least half of them would claim that the school has no bullying or at least handles it very well. And despite all this, my daughter still got horribly bullied by her classmates.
Disclaimer: A security researcher working on IME. Following is my own opinion.

Used to have really strong uninformed opinions on many things, as often found in young techy-nerd person.
It is terrifying how intelligent people are so prone to jump on conspiracy wagons.

The current thread and alike are truly humbling experience for me as a person, I wonder how my comments look like to the in the know personal.
If they ever had the misfortune to ever see it, did they at least had a good laugh?

I know I didn't give any arguments. Sadly I can't get into details so I will be pretty handicapped anyway. I do believe good faith dailog is possible, but feel that it is impossible on the wide internet. Would be great to have a serious conversation on the subject in person with the more cool-headed commenters here.

I must thank all of the HN commenters that usually try to be thoughtful, insightful, thought provoking and respectful at the same time.
I've had friends install it on various machines maily as a prank - and I laugh like I'm 12 every time.
Comparing salaries of similar companies, I completely disagree.

I'll use Discover Card as they are a financial services company in both the US and UK.

According to Glass Door, a Senior Software Engineer with 15 years+ earns:

UK: £90-100k

USA: $120-140k

Even at the top end of finance, with the most experience you will struggle to break the £100k wall in the UK.

As someone who has worked software in both the US and UK, you are more likely to find upper management in the US who can see their software as a competitive advantage.

In the UK I've seen upper management in fintech startups embrace the advantages, but not in larger organisations.
Yeah. The idea that our system somehow successfully prevents a majority from outright extreme oppression of a minority is laughable given our history. This is just a talking point made with nearly zero intellectual honesty to continue to support a system that benefits one political faction.

When they say "trample on the rights of the minority" they mean "enact legislation unpopular among conservatives."
Ardour is probably the most popular DAW in Linux. It's probably what I would use if I wanted to produce some music in Linux. Yeah, I have a pretty big collection of old Macs because, well, if I didn't, I'd be throwing away a good couple $thousand worth of software (because it won't run on newer machines)... pretty disappointing. Luckily, other than Logic Pro 9, I bought most of that stuff while it was still "pay for it once and use it forever, even without the internet", unlike today where everything is based on online-activated DRM that guarantees one day your software will stop working.
It’s hardly an independent body when 67% of members are lifetime political appointees from a party that hasn’t represented a national majority in several decades.
product managers and devs probably
This looks like a very early attempt to manually reverse engineer the code. Lots of empty files and TODOs, almost nothing of value yet.
At my school, no rules - or kids - had to be "broken". It was not supression of a behaviour, the behaviour just did not exist. If people behaved badly, the group was self-governing, making clear to the offender that their behaviour was "not cool" - and thus, they weren't. If you have a cultural problem that shows itself in bullying, fire the teachers. Also consider stopping adversarial school activities.

If these rules extends to life outside of school, I would be concerned more than relieved by rules 1 and 3. We should not normalise state-level control of our private gatherings by teaching freedom of association is somehow evil in children. It also would give a group of kids no way to sanction against antisocial behaviour by another kid (cheating in a game comes to mind).

That this has the thin varnish of "democratic debate" (which, let's be honest, will be quickly overruled if the kids decide the rules are stupid) only adds the additional aspect of showing in real-life how democracy is a scam that enforces things the powers to be like to happen while giving the impression it was a majority decision.
From 2012 Morocco had daylight saving twice, they went forward in April, back in July, forward in August and back in September. This lasted 6 years.
The ability to freely mix programming paradigms and to bend the language towards the problem instead of the other way around. It's the thing that Common Lisp is kind of famous for.

Depending on the programming sub-sub-task that I'm working on right now, I can have simple state machines written with explicit GOTOs, algorithms working on immutable state and written in functional style, minor operations in these algorithms implemented with a functional shell but imperative core, the ability to do declarative programming and define my own syntax for the declarations while I'm at it, and the ability to always branch off to a task-specialized DSL whenever it brings direct benefits to the table.
The article finishes with a great conclusion ("play is the most economically efficient mode of creative work") but I think that this is not a win-lose, war-like situation because business doesn't care about efficiency but profitability.

>it's going to remain viable in each individual application area for only so long as nobody finds those problems really interesting and nobody else finds any way to route around them

This is enough. Gimp hasn't become Photoshop since forever. Software scales so that many inefficient programmers can be used to create something marginally valuable that can be reproduced endlessly.

>She spends most of her time organizing the deployment of the other 95%,

Looking from the point of view of the 95%, it creates the opportunity to work on something that is valued in society. Instead of doing nothing and only being amazed by the 5%, it's possible for everybody to work on something and to participate.
45W for 24 hours for 30.5 average days per month to get Watt Hours per month, then divide by 1000 to get kWh then multiply by € per kWh.
The stock component is missing an error message, when it can't find a stock. I entered "MSCI World" and it just kept loading and loading.
Direct election of the president would not make the USA = California. California would have about 13% of the impact on the presidential election, matching their percentage of the overall population.
The EU cookie legislation was a mistake made by tech-illiterate bureaucrats that ruined the Web to a large degree. It's something that could've been built in to the browser. I have a hard time understanding why one would dedicate their time to this.
Update: https://news.ycombinator.com/item?id=33352886
It's not just cookies, it affects all client-side storage that can be used to track people. This means that this kind of API would also be needed for localStorage etc. This is where it things will get complicated.

I don't know if it exists, but it would probably be a good thing to have aria labels for those common buttons on these popups.
It would benefit a11y and pave the way for a better automatic approve/reject by the browser (or some plugins). I think it won't end up in a disaster like the DNT header.

There are (at least) two problems with this approach: it requires that the banners actually use these labels (which they might not want to) and if it requires some kind of browser support, the largest browser vendor is also in the tracking business.
> That leads us to the end of Hans Niemann’s foray into cycling – his dalliance with the sport that is mostly remarkable for how unremarkable it is. And that’s fine. Kids start riding, and kids stop. Kids win races and kids don’t. Kids come up with brash stories on the playground. Sometimes kids are told they’re special at something, and some of them probably internalise it and let the lines between truth and fiction blur.

Ouch... That's borderline insinuating
As a C# developer, F# is something I long to learn. I heard about F# until I had to adjust some build script which I thought is elegant [1]. I did try some F# tutorials at free time, but nothing that would make me comfortable and "click" on how to write functional code.

But I long to bring some improvements to code correctness that can be statically checked by embracing immutability, pattern matching with discriminated unions where compiler ensures you have handled all cases, typing system which makes illegal state impossible... those are just some features I spotted could be very useful. On top of that, F# code seems so much shorter.

[1]: https://github.com/jordimontana82/fake-xrm-easy/blob/master/...
That's... ...a very valid point I hadn't thought of.

Hmmm, damn it, I'm going to have to re-evaluate some existing notions.
Non-competes cannot be enforced against mere managers in California.
Presumption of innocence, or do you have seen any evidence to prove it exist, besides Durov's shit from time to time?
What kind of security are they lacking? I compare it with a notepad, which you lock away in a drawer when you don’t want people to access it.
Seems to be an argument more for spaced repetition and incremental reading.

"If your collection combines knowledge pertaining to different subject domains, the stream of new ideas and unexpected associations coming to your mind may surprise you"
https://help.supermemo.org/wiki/Incremental_learning
I just doesn't get it, how it is legal to beta test self driving cars on public roads?
There was never a good reason to use AI for self-parking. Computer-vision based self-parking systems are perfectly functional and robust (see Mercedes from 2014).
Of course when you get a special present for that friend who is really into something, you may go down the wrong track.

A family member once drove down from Portland to visit us in San Jose. She knew I was really into coffee and roasted my own.

She stopped at a little roastery on the way down and asked, "Give me the darkest roast you've got." After all, the darker the roast, the better it is, right?

Naturally when she gave it to me, I said "That's a burnt roast! It's good for nothing but the trash."

No, obviously I didn't do that.

We ground some and brewed it and enjoyed it for what it was: not just the beans, but the kindness and thoughtfulness that went into picking it out for me.
I've set my browser to delete cookies at close. You can accept all cookies without problem, and after lunch everything is forgotten.

A few websites that I go to often get special treatment (Hacker News!), because I'm to lazy to press ok each time.
Games showed me simple way on how to get better at things - just do it everyday, either practice or read about it

watching eSports showed me how big difference mentality and attitude makes
Anything with a screen has to be treated as having an asterisk *.
That reminds me how much I hate running into people from San Francisco

so much more fun to be moderately tech wealthy in an entertainment hub
I'm accounting for indirection via state legislatures, since it's the latter who ratify by simple majority - so the MPs in the state legislature who vote to ratify don't necessarily represent all the residents of that state (in fact, given the quirks of FPTP and tricks like gerrymandering, things can be ratified against popular majority in the state).
One small thing: You let me preview the cool bookshelf wallpaper, but then I can't click on it to immediately get that one. I scrolled through the first two pages of wallpapers, not able to find it. Would be a cool addition to just be able to click the wallpaper that is currently on preview at the top.
Well, in Germany we saw what happened when one of the "committee" members decided unilaterally to run East Germany a bit differently. Each of the 4 powers ran their zone as they saw fit.

Besides, what committee ran Japan? McArthur ran it as he saw fit.
As an engineer I regularly get pulled into customer calls.

It's really important to know how disconnected you are from customers. On every single occasion at every organisation I have worked for I have discovered great disparity between the user's desires and problems and what is communicated through the layers.

Layering communication is dangerous!

Also quite frankly sometimes it's only engineering who can turn an angry customer back into a happy one because they are the only people who can really action change.
This is one of those cases where I'm thankful that I'm also really into making cocktails, because unless the whisky is absolutely disgusting, it's going to work in a cocktail, and at the very least, it's a challenge for me to make it work.
I'll add the classic comment here: "correlation does not mean causation".

Maybe it's the kids with better cognitive performance that like videogame better. I wouldn't find that unlikely considering it's more mentally stimulating than other "real-world" activities.

Also, I personally learned to code by writing bots for an MMORPG, so I definitely owe my career to videogames.
You know it's Australia when 340 x 100 kilometres is described as a "tiny sliver". For comparison, that's larger than Belgium or Maryland, and nearly twice the size of Israel.
Google has one of Big Tech’s most aggressive sustainability plans
Theres is a higher population density in France which increases the chance of conflictung uses of oublic land and accidents
Related:

Capability Myths Demolished (2003) - https://news.ycombinator.com/item?id=22753464 - April 2020 (30 comments)

E Programming Language - https://news.ycombinator.com/item?id=19981720 - May 2019 (53 comments)

Satan Comes to Dinner (1997) - https://news.ycombinator.com/item?id=16512555 - March 2018 (14 comments)

Concurrency Among Strangers: Programming in E as Plan Coordination (2005) [pdf] - https://news.ycombinator.com/item?id=13653503 - Feb 2017 (2 comments)

Vats – Monte documentation - https://news.ycombinator.com/item?id=13295071 - Jan 2017 (1 comment)

E Programming Language: Write Secure Distributed Software - https://news.ycombinator.com/item?id=11608985 - May 2016 (21 comments)

Capability Based Security - https://news.ycombinator.com/item?id=10684129 - Dec 2015 (35 comments)

The E programming language - https://news.ycombinator.com/item?id=2497941 - April 2011 (9 comments)

E, the secure distributed pure-object platform and p2p scripting language - https://news.ycombinator.com/item?id=809714 - Sept 2009 (7 comments)

The E Language in a Walnut - https://news.ycombinator.com/item?id=70712 - Oct 2007 (1 comment)

Other threads?
I’ll actually list 3.

1 - Smalltalk. I’ve done Python, Kotlin, Swift, C++, and Objective-C, all in various forms of real production code. The kind of OOP you do in Smalltalk is not the same as you do in other “oop” languages, which are really just Algol dirivstives with some weak sauce OO smashed on top of them like lipstick on a pig.

2 - C actually. In particular, pointer rich C. Working in some domains where we did LOTs with pointers (vms and the like) gave me a practical understanding of the general computation model of Chios in general. After I worked with pointers a lot, assembler, though arcane, just suddenly clicked.

3 - Currently Elixir. It’s pragmatic approach to functional fascinates me. I don’t have to become a type theologian to participate. I just get to try and solve problems with function pipelines, ubiquitous immutability, no return statements and everything as an expression.

And though each of these paradigms is very different, they all have pushed my mind the most. It’s interesting that whole different, they’re each “simple” but powerful paradigms maxed out in the interest of consistency.
Less Than a Trauma: 'The Life of the Mind'
“It's a pointless effort to box the whole Europe into one stereotype, it's too diverse for that.

“From my POV, the school social structure in USA seems very […]”

I agree that it’s harder to generalize over all of Europe.

FYI, the US and Europe are roughly the same population and size (ignoring, as ever, poor Alaska) — ~350 million vs ~500 million, and ~8 million square miles vs ~5 million square miles.

While the US is considerably more culturally homogeneous than Europe, it is also quite hard to generalize across the United States.
Well, PayPal did say, several times, it was just an internal error and that they, absolutely, weren't going to implement that measure. [1]

Some people were also reporting, that when closing their account, a message stating the measure was not going to be implemented was shown up in the screen (but I didn't see any clear proof that was true).

[1] https://news.yahoo.com/paypal-policy-permits-company-fine-14...
https://archive.ph/LIvxj