skysight-inc/HackerNews huggingface dataset:
>How many bits did you lose just by talking about neural networks in that one sentence? How many bits did you lose from the timing/time zone of your comment? By the language of your comment?

uhh, probably 2 or 3 at most? Given the demographics of Hacker News (technical background, mostly American), probably half the site have the attributes you have listed.
Well, when your adversary is effectively an ethnostate (at least in terms of the classes capable of travel), scrutiny on their nationals is going to be harder to distinguish from racial profiling (if most Chinese people where you're at are new).

At least, we should be monitoring Confucius Institute outposts and scams/blackmail making Chinese nationals vulnerable in the U.S. and Canada.
no, the iq test is used by some groups as a diagnostic to rank order large groups of people for research and other purposes.

IQ is itself a basically fluid intelligence - how quickly you learn something compared to the average. In jobs were problems are novel this is an indicator of success. In jobs where tasks are repetitive, it is not an indicator of success.

Overall, it one of the strongest if not the strongest statistically backed concept in modern psychology, so if you don't believe IQ means something you should also dismiss all of psychology as unscientific nonsense.
Advisory issued for Node.js CSV-parse package
I like this idea a lot, just tried it now however and the UI is a bit too slow for how fast I like to switch between apps, espically on multiple desktops - takes about a second to show up and swaps to the active monitor instead of staying on the main like command+tab does. Will follow this!
UK Renewables generated more electricity than fossil fuels for the first time
Disclaimer: the following is opinion, I can't prove it or show data. Merely my personal experience (and observation).

About irony/sarcasm: I used to think exactly like you. I must say it was totally flawed. I don't know how to word this scientifically (and please understand I'm not religious): sarcasm hurts your soul, your heart, your mind, your spirit. It's like drugs: short term good but really bad long term.

It helps for some time and then slowly eats at you. A sarcastic person is in effect trading the possibility of hope for the comfort of accepting things. There is a way where you keep both, through forgiving, through understanding, with humility.

Humor gets a pass when it speaks of bad things, or in a bad manner, because it's a way of denouncing said things/manners. Certainly not to validate it. That's where sarcasm has its place IMHO: as a very bad manner that humor serves to show.

About Stoicism: that's true. Hence why I always preface with self-love, because the Stoic apparatus is quite unable to speak of this in modern terms. In general I agree with Ferris on this though: Stoicism is the best operating system for the human mind. Now that I know, I see it and find it in so many things, people, the good side of life (and it seems quite missing in many a miserable path).
An unfortunate part is that 2.1.2, 2.1.3, 2.1.4, 2.1.7 and 2.1.11 are all issues I've fought of favor of previously (many.. many times), and one of my best assets in that fight an "appeal to authority" by positioning documents like this.
But the NSA wasn’t handing the information out to western companies. That is the China modus op. at the moment...
You probably have ADHD. You should look into it, it might help you understand yourself.
They would definitely have a list of the domains but a hash isn't just generated from the domain root. They would have to have a hash generated for every single URL and then they would have to collect every single instance where a hash came up as a "hit" for that hash. They'd then have to model these out to determine which hashes were being hit that were related from a specific IP address which, in my opinion, would be very, very computationally expensive.
"But you have to be prepared to be embarrassed. It is very difficult to invent something that is new under the sun and actually works."

I appreciate the courage of this.
I feel the same (e.g. student's lunch in the uni cafeteria is 2.40€ with soup, proper main dish with salad, and a piece of fruit), but then again like someone else points out they also eat that way when they don't have work, which indicates it's not just to save time for your employer (which I'm sure is also part of it, and kind of sad, but still). I'll chalk it up to cultural differences, in part, and also in part to the generally stressful, time-pressed modern life, which only seems to get worse each passing year, as the demands of growth capitalism get ever more cutthroat.
> My hope is that Apple is secretly listening.

I'd love to believe this -- I have 5 Apple laptops from the Pismo G3 through a mid-2012, and liked all of them -- and I'd love to go back to being satisfied with that kind of purchase cycle again.

But I don't think Apple got it right before by listening in the sense of gathering feedback, I think they had some internal vision that came from a kind of attention to people like you and I as a market that they cared about.

And I think either the people who had a knack for that vision are gone, or the days when Apple could be bothered to care about that market are gone.
And less reasonably, something similar for regular expressions:

for m in filter([re.match(...)], bool):
...

;-)
If I was based in China, could I just set my region to be somewhere else in order to bypass this?
> No offense, but honestly your lunch sounds depressing as hell.

I don't know about the preferences of the parent you're replying to, however the description in this article - and what others here have said - sounds depressing as hell.

You're being strongly downvoted because you're not allowed to say anything negative about Scandinavian culture.

If this food story were about the US, it would be held up as an example of how Americans are tortured in their food choices (read any popular thread on HN about American food); and in your example, in their work habits (sit there and eat your sad little sandwich, worker robot). Since it's Norway, it's an extraordinary shared cultural culinary experience in its wisely barren, enlightened simplicity of nothingness. As the article comically exclaims: it's unexpectedly genius.

No, it's perfectly fair to call it out for what it actually is: depressing, a sad tradition of mediocre sandwich lunches.
The Mac has had, as a standard feature for decades, an on-screen keyboard to allow you to explore the results of different key combinations. It’s a great tool.
C++ also has the `sort()` function that allows you to sort any unsorted container. But that's not a replacement for a sorted container like `set` or `map` though. Because `set` or `map` allows you to insert elements at O(log n) runtime. If you have to sort every time you insert using the `sort()` or `sorted()` functions, the run time becomes O(n log n).
Perhaps ultra-pasteurized is common on the East Coast? Its definitely not common for 1 gallon or half gallons in Washington, Oregon, California, Arizona, Idaho or Michigan (in my experience).
Not the OP, but I just store them on a hard drive connected by USB.
As a low tech solution, you can always compose the contents in a separate window and paste it in when you're done. Hardened browsers (eg. Firefox with resistfingerprinting) can frustrate attempts by throttling key events (key events get coalesced into 1s/5s/10s intervals).
i am actually pretty sad that TypedDict has made it out of typing_extensions in its current state.

It was a major missed opportunity to provide a properly duck-typed Dict type, which by definition would allow untyped key-value pairs to be added to a "partially-typed" dictionary.

Gradual typing in general is a massive win for many kinds of real-world problem solving, but when you make it as hard as Python has to introduce partial types to a plain data object, you're leaving a lot of developers out in the cold.

I love MyPy and the static type hints since 3.6, but structural subtyping is superior and so obviously more Pythonic than nominal, yet support for structural subtyping keeps lagging behind.
A few permutations of each would do it. http://foo.com, with /index.html, /favicon.ico, etc. You don't have to match all of them to mark a user (who in China is 1:1 to IP, IIRC) as visitor of undesirable site.
Charles Duhigg's The Power of Habit covered how an aluminum company did it.

They made safety absolute highest priority. It was a goal that the unions and managers didn't disagree on. The processes were designed to empower lower ranked people to override when things were getting dangerous, and the CEO had to know within a few hours whether an accident happened. Long story short, this put in the processes to let information flow up the chain rapidly.

Again, the key is the right information. It's possible to have all kinds of junk go up when everyone can talk to the CEO. Managers act as abstraction layers for information for a good reason.

The story also says that once the process was in place, other information like optimizations went up the chain and profited them millions. But you want to set a standard that only really important information should go up this path.
The problem with a Linux laptop is that you are then bound to shitty UI.

A problem which already begins, if you merely switch browsers. For instance the only browser other than Safari, who has the close buttons on a tab right is Opera. I think you can tweak Firefox to do it, but you are out of luck with Brave or Chrome. That is just one example.
> usurious

Nitpick: you mean either "extortionate" or something to do with ogliopolies, cartels, and price fixing; usury is when the perpetrator charges interest on a non-defaultable loan.
Er, no. The alternative is to not build those systems. Here clearly suggested is, not to let algorithms make all the decisions, but let people actively manage those funds. That might be generally less efficient (in terms of volume of trades and profit), but the assumption is that a total disaster (e.g. flash crash) wouldn't happen with "slow" humans in the loop.
Bring engineers in to solve problems you know need to get solved. As they learn the system, its debt, the business, etc., listen to their ideas. For ones that sound good, give them the resources to develop a POC. For the POCs that work, give them the resources to take it all the way.

Larger companies with substantial profits can hire engineers explicitly to come up with POCs one after another.
Looks right. From your links upthread to Google's Safe Browsing API docs:

Canonicalize("http://www.evil.com/blah#frag") = "http://www.evil.com/blah";
Canonicalize("http://evil.com/foo?bar;") = "http://evil.com/foo?bar;";

So fragments get dropped (as expected) buy query params do not (also, in retrospect, what I'd expect to make it work at all...)

So https://news.ycombinator.com/reply?id=21254732 will not end up hashing "https://ycombinator.com", but the whole thing including the path and query string.
I agree about solarization and reciprocity failure. My bad. too late to edit.

For pictures of the sun, the short shutter speed is an alternative to filters, but filters are inexpensive. I bought a pair for less than $20 to take pictures during the recent solar eclipse in the US.
I should note that, alongside it, is a useful search tool that allows you to find the character you’re looking for if you’d rather just search and don’t care to learn the key combination (if there is one).
Also, what storage problem? This argument seems to pop up in a lot of HN threads where somebody just pulls this out of the head "We must do nuclear because OMG storage". Storage is an super easy problem with plenty of low tech solutions.

Can you name one solution that will allow us to store, say, 3 days worth of US daily energy use? Please, show me the math. I did the math and it didn’t seem even close to feasible given today technology.

E.g. France and a few other countries used to dump it in the oceans until people figured out that was a pretty horrible idea.

It’s horrible, because throwing away what mostly is still good fuel that’s not economical to reprocess compared to fresh fuel is stupid. It’s not really horrible otherwise.

Storage is needed for short term fluctuations. The rest we can handle with overcapacity and interconnecting sites of production and some battery deployments.

How much overcapacity exactly we need with the amount of storage you assume? Please, show me the math. I did the math and with feasible amount of storage, the amount of extra capacity required is insane.
Do you think the website like Blind will be popular?
When I lived and worked in France, I was pretty happy with Monoprix’s high-end fresh sandwiches. It was around €5-6 if I remember correctly.
Call a few of the stores, and ask the managers.
Americans Will Pay a Price for State Privacy Laws
Spot on. Sadly this is liable to drive a lot of meetup style stuff to Facebook groups.
> but it's not the same as solving these sort of problems.

But that's just it: the problems were not solved. Personally I would rather devote years of my career building something that actually works by standing on the shoulders of giants, than going full NIH and wasting those years on a clunky POS that will be mothballed before the decade is out.

But hey, I chose science.
Forunately, tauthon is a community-supported fork of Python 2.7 so that we may continue using the best version indefinitely.
Despite its flaws, not due to them.

Same can be said about e.g. Cobol.
Recently saying that they had successfully tested it: https://www.railwaygazette.com/australasia/rio-tinto-complet...

Earlier announcement (2014) that they were planning to do so: https://www.railjournal.com/signalling/rio-tinto-gets-set-fo...

Note that the original contract with Ansaldo for development was approximately half what it wound up being. That they will admit to. And I suspect leaves out a lot of the work around the lines which can be used for autonomous and non-autonomous purposes.

But then it goes back further, to this article from 2008: https://www.railwaygazette.com/news/rio-tinto-to-go-driverle...

Predicting that autonomous trains would be done in 5 years. That is, they expected to be finished by 2013 ... when the next contract was signed.

I won't be surprised if it's announced a few more times in the coming years.

Mine automation is a big deal, Rio Tinto have spent heavily on it. Not just trains, they also have spent a lot on developing autonomous mine trucks. The pit is covered with a lot of beacons to help the trucks position themselves and they use regular scans of the site to update the map. I'm not sure how far they got with those.

BHP-Billiton seems not to have gone as far, but they have spent a lot of money in remote operations: having the control centres for multiple mines consolidated into special-purpose offices in Perth etc. Cameras everywhere, das blinkenlights, the whole shebang.
In my mind, the big deal is that it means a company is actively facilitating governmental mass surveillance. And yes, I believe China does maintain a record for every citizen, and is using machine learning to score them.

https://www.theatlantic.com/international/archive/2018/02/ch...
I also like Hyperdock: https://bahoom.com/hyperdock

It makes the Dock have windows 7 style window previews. I don't know what I'd do without it. Perhaps cry.
You might like portage. We have USE flags (which are ./configure --stuff), slots (so you can install multiple versions in a clean way), and any kind of dependency tree you can think of. When I am thinking of upgrading the system python, I can enable the next version and let things simmer for testing (building for py3.7 and 3.8 for example) before I actually throw the switch (eselect python set N).
This article sort-of falls in line with my theories on non-local consciousness. Intelligence could be just a particular manner in which that person's brain is accessing the consciousness dimension, and these mental disorders are just side-effects of this access. For example, I feel that the autistic can be more 'in-tune' with the non-local consciousness, which is why they have (generally) a different thought process. (I have ASD)
Mmmmm, food trucks. Great idea!
NIMBYS ruined SF. It has Peter Pan syndrome instead of being the greatest most modern city in America.
"""It would also need to be big – some 200 metres long and
12 metres in diameter – and powerful, requiring 165
megawatts of power to generate just 1 newton of thrust,
which is about the same force you use to type on a
keyboard. For that reason, the engine would only be
able to reach meaningful speeds in the frictionless
environment of space. “The engine itself would be able
to get to 99 per cent the speed of light if you had
enough time and power,” says Burns."""

So it falls into the same "impractical except at very high speeds for long, long, long journeys" category with "we can explode nuclear bombs on one end of the ship and use the explosion against a giant shield, to speed us up".

In other words, it's no Alcubierre drive.
this looks interesting. we use cattrs, which has worked well for us but has a long-delayed 1.0 release.
Unfortunately this is one of those issues that our current federal political system can't possibly address. The large companies know that federalizing this issue is functionally equivalent to killing meaningful privacy regulation in the US.
The term legacy vendors is reasonably appropriate & used because none of them except maybe nissan appears to have made an effort to move past the existing legacy of gas engines. It's pretty clear that evs are the way the world will go. As I said in another comment, the pre-existing car makers have a lot of reasons not to invest in evs, because their technical expertise isn't in that area, and it will seriously hurt their dealers by reducing their post-sales maintenance profits.

They are like king of the world motorola when the apple iphone came out. King of the old world.
Which part?

I tried to find some numbers about how much the marginal life saved in aviation costs vs other areas. https://en.m.wikipedia.org/wiki/Value_of_life is a good start, but doesn't have the numbers I was looking for.

The argument about paying two different prices for the same good buying you less than settling on a uniform price is basic economics. But it seems like something the LessWrong people or SlateStarCodex might have a write-up for.

The topic is difficult to discuss because huam life is a 'sacred good' and money is a 'profane good', and it is not socially acceptable to admit that we are making finite trade-offs between the two.

And I do have some sympathy for safety regulations of the aircraft themselves, as they are mostly based on actual engineering, as opposed to the safety theater when you board the plane.

But honestly, people aren't just trading off lives for money, they are trading off lives for minor inconveniences: you could make airplanes safer at no extra cost by mounting the seats backwards and removing the windows.

Windows are the essentially holes, they weakest points on the airframe. Removing them from the design would even save money.

Of course, you'd have a hard time finding enough passengers to pay to fly in you windowless plan.

(The military doesn't have a problem with that. Their passengers don't have much of a choice.)
Ask HN: How to Transition to Embedded Development
I've been a mobile developer (iOS and Android) for the last 10 years. I'm getting bored and would like to find a job as an embedded developer. Most jobs I'm seeing are not entry-level, though. Any advice on how to make the switch from a senior level mobile engineer to an embedded engineer?
They lost around 1185 people over the last 3 months. They claim that this is all that they will lose for a while.

1185 x $150000 average salary per employee (guessing at the numbers) yields annual savings for the company of $177.75 million. A sizable chunk, I suppose, but they lost 656 million EBITDA just last quarter, or around three times that amount.
It’s a prefix of (URL hash), not a (prefix of URL) hash.
Definitely a YMMV take. Throughout my single dating life in both the North and the South it was far more common for happy hour meets over drinks and very occasionally small plates. If I think back I don't believe I can count the number of times I took a date to dinner the first time around on one hand. I also couldn't discern what the “Your place or mine?” comparison was supposed to be - perhaps that roommates make the conclusion difficult or awkward? That'd be a pretty flimsy, subjective assertion.

Despite the author's bio as being a professional in the space, the article read as a bit naive and contained 2/5 actual dating differences, followed by 3/5 societal differences. While the two can be connected, I was disappointed by the content as compared to the title.
> And when I did, the thing that struck me most and has been in many other places including HN ( Sometimes ) is the use of English presumes others are Americans

This is a huge problem, the assumption that everyone should be forced to share Americas liberal political views. Software is global and much of the globe is still struggling with concepts like equal rights for women and not criminalizing homosexuality. Now all of a sudden people in those countries are being penalized for having perfectly normal attitudes for someone from their culture.

"Inclusivity" is alienating most of the world and destroying diversity for the few people in the world privileged enough to argue about pronouns.
Longtime Berkshire Hathaway Investor Loses Faith in Warren Buffett
But not on iOS, which as of this writing is still a big deal.
It's there somewhere, but it doesn't say "educational hacking videos". It says "hacking and spam/phishing".

It's just a rephrasing of their existing policy. It's the same idea of why they don't let you show videos advocating building bombs and using them in terrorist attacks. The videos that are banned are based on people trying to use these techniques to commit crimes. Not banning "hacking" in general.
Perhaps people with superior IQs think and stress a lot.

I recently came across the work of Dr. Robert Sapolsky and his research highlights the long term effects of chronic stress.

It is possible that higher IQs lead to a lot of thinking and stressing out.

I can safely consider myself in the above average IQ bracket and I tend to stress a lot about things as obscure as the world's oceans, climate, politics, science, the Arctic ice, etc.

My brother is less inclined academically, is of a very easy going nature and always seems to be happy, with the exception being during difficult times in his business.
command + ` on macOS is alt-tabb within the current app
Everyone's different. I prefer small simple meals and really don't care for the whole experience, regardless of whether I'm working or not. Healthy and efficient are my priorities.
British holidaymakers 'traumatised' after arrest at US border
The bombs actually seem more practical.
I agree but think that 1) there are many ways a founder can lose drive, motivation, concentration, etc. some being the death of a friend/sibling/parent, medical diagnoses etc. While a divorce may be very difficult for a founder to recover from, and avoiding divorce should be prioritized, it’s not a full-proof way to safeguard a founders productivity. 2) Without a pre-nup, the startup will most likely increase it’s exposure possibly adding a toxic shareholder/board member, a situation that may be more difficult to recover from than replacing the founder. Just my thoughts.
That doesn't make sense. http://foo.com/index.html would hash to something completely different from http://foo.com/favicon.ico. On top of that, the prefix, which is only the first 32 or 48 bits, would match for thousands of other URLs whose total hash would be completely different. Additionally, hash collisions are a thing so 2 completely different inputs could potentially return the same full hash, much less just the prefix.

You would need a very, very, very large database to keep track of all the permutations necessary to determine a domain name.