skysight-inc/HackerNews huggingface dataset:
The whole model for modern mobile OSes is based on running apps in containers, so they're one in the same essentially. Windows lacks such containerization for most desktop apps, they're trying to improve that model now with UWP but with limited success I'd say, the Windows world is largely stuck on desktop apps that have general access to everything just due to the history of it.
From The Evolution of the Smalltalk Virtual Machine (Dan Ingalls, in Smalltalk-80, Bits of History, Words of Advice, Krasner):

"Smalltalk-76 had to provide a mechanism for passing unevaluated code. [Blocks/Closures] Since the Smalltalk-76 design had no experience to draw from, it was weak in several areas.[..]

One Problem which was discovered in the process of of supporting error recovery was that block contexts could not be restarted because they did not include their initial PC as part of their state. This was normally needed for looping , since all such code fragments ended with a branch back to the beginning. Happily, we were able to fix this by defining a new subclass."

So they were able to fix a bug in the language implementation by writing code in the language itself!
Yes, because they take assets in lieu of payment. You don't get from 3rd world country to challenging the world super power in 20 years by being dumb.

On a related tangent, if you don't mind - I'm trying to test my "tone detector" - it indicated sarcasm in your comment, as if the comment to which you were replying was not just wrong but dumb - how accurate was I?
>This would bode well for programs like the Estonian e-residency

Or not, as 1000 other entities and countries will pop up with similar solutions
> now primarily used against whistleblowers and leakers.

It's primarily used against leakers. Throwing "whistleblowers" in there makes the statement misleading, since none of the leakers the Obama administration prosecuted under that act were whistleblowers.

The controversy was that some of the leakers prosecuted were journalists, not whistleblowers.
Two of the USB-C cables I have have an equally annoying LED on the connector to indicate that power is present. Two layers of electrical tape (albeit white electrical tape) and it is still annoying.

Used them primarily when sleeping and when driving and even if faced away they light up way too much. And USB-A to USB-C being hard to find decent cables these were the only ones that was only ridiculously expensive and guaranteed to be correct.

I've re-purposed them now though.
This is not the world's largest supercomputer under any measure. According to the article, it's the largest ARM "supercomputer" but the total performance is not great.
I did some work on Voronoi a few years ago. I made an overlay in Voronoi transparent colored cells that would show for example where the nearest convenience store was to a given location in the city and this would overlay the regular map of the city. I was going to try to sell these to the convenience store as they always had a map of the city they were in somewhere in each store. An improvement would be to run a google map from each store to each house and actually use the mileage to the store the store. This would account for rivers etc that would block the shortest path. There is probably an idea for a startup somewhere there....
Still don't buy self driving cars is winner take all.

It's not a near-zero marginal cost business.
I didn't know we had anti-sedition laws during WW1. Another reason not to like that notorious racist Woodrow Wilson. I half expect them to come back, and I'm not being sarcastic.

I worry about my own teenage son getting drafted for a pointless war. It seems we couldn't be trying harder to repeat the actions that lead up to the depression and 1930s pre-war any better. Replace Japan with China, maybe Germany with Russia and you can start arguing that we don't need trade with these countries. Destructive tariffs, breaking trade connections that should have been reducing the appeal for conflict.
A couple of years ago I took my 16 yr old son to Moss Bros to get a suit for collage, he's had some from Next but I wanted him to have that extra attention of having a suit fitted.

No one came over, when I eventually went off and got someone they were do disinterested we gave up and left. I went to a small shop over the road where a slick haired, pot bellied, mahogany skinned but very suave Italian really looked after him and he got a got a lovely and perfectly fitted suit. It wasn't that expensive either, just over £200 I think.

It was really sad to see what a great institution like Moss Bros had become, there are still shops out there but we need to ensure they can stay in business if we want that service.
Yes I agree it can become unwieldy if it is used throughout an application. I think the sweet spot is too keep the pattern at the application boundary. You can use business objects the way Scott describes them for the internals without threading Either/Results monads throughout your application. Moving calls to services and databases to the application boundary also helps keeps the internals (where most of the business logic will reside) clean of Either/Results. For the few things left that could fail in the internals, stick to exceptions mechanism and avoid catching. I'm a big believer bugs should make the application crash.
Depends on the jurisdiction, the FAA applies the same rules to 4-engine aircraft that are carrying passengers now.
I use "ignorant" quite deliberately; the opinion of U.S. foreign aid as having strings attached to benefit the U.S. is literally ignorant of what U.S. foreign aid projects and funding look like.

I haven't read the book, but de Mesquita is addressing something different, the fact that foreign aid can enable bad leaders to stay in power by giving them a flow of benefits they can use to reward cronies and placate the populace: https://www.nytimes.com/2011/06/10/opinion/10DeMesquita.html. That may well be true, but it's a criticism of foreign aid in general; note that de Mesquita is associate with the Hoover Institution, which believes that government-to-government foreign aid is inherently misguided: https://www.hoover.org/research/better-approach-foreign-aid.

De Mesquita does not contend that U.S. foreign aid is a form of "empire building" intended to make recipient countries dependent on the U.S. or confer direct economic benefits to the U.S. (Even if the U.S. is driven by the possibility of indirect benefit from having more capitalistic countries on the world stage, along with a stable world order, that is something quite different from seeking an "empire").
Kodakchrome produced great color images, but the chemistry to process it was fairly complex as well as toxic.
Top Outbound Prospecting Issues and How to Solve Them
I have a hard time reading blue text (especially if it is small, and even when wearing glasses) due to chromatic aberration caused by my astigmatism in my eyes. The first thing I do in any app which allows it is change all the mostly blue colors to mixtures like cyan.
On the contrary: Spinlocks are faster than any other lock. In fact, they're faster than many atomics-based lock-free datastructures (!!!) in many cases.

https://www.youtube.com/watch?v=9hJkWwHDDxs

Atomics-based lock-free data-structures scale beyond 40+ core counts. But note that x86's "lock" instruction is fundamental to the system. x86 doesn't have relaxed atomics or barriers under most circumstances. As such, the spinlock best represents what the x86 instruction set offers.
>I am very passionate about it

Could you perhaps expand on this a little? I have a very hard time understanding why someone would be passionate about something like this.
After several years of on again off again trying to read Ulysses, I'm 20 pages from done, and now this.
seems like overkill
As mega-constellations loom, US seeks to manage space debris problem
If the share holders knew about it then yes they should get a hair cut. Since they didn't it makes much more sense to hold the CEO liable. In theory shareholders can replace a CEO but in practice it is just about impossible. The theory where the CEO skips all liability, as is sometime the case in the US, is a recipe for this behavior to continue.
As a researcher, this is absolutely true and incredibly frustrating.

I am trying to make the survival data of a clinical trial combined with sequencing data of the patients publicly available. Nearly all the patients have died by now, as the patients in this cohort patients have a very poor prognosis (median survival of about 24 months). It is still almost impossible to release clinical data (diagnosis, number and location of metastasis, age of patients, etc) combined with sequencing data without violating privacy laws.

In the meantime, there is almost no career incentive for me to make the data available. I do not have, and am unlikely to get a permanent contract. In my next job interview I will be judged by the number of publications on my CV.
>It's not really an edge case, though. Asian-American students should (based on merit alone) make up almost half of top colleges.

I'm not sure I see the problem here. Top colleges are educational institutions. So what's the problem if people who come from a cultural background that highly emphasizes the importance of education greatly outnumber people who come from cultural backgrounds that eschew education? No one ever complains that Asian-Americans are underrepresented in country music and NASCAR.

If these institutions were to ignore race altogether as a factor, then of course people who come from pro-education backgrounds are going to outnumber those who don't. Why is this a problem? This is just an effect of a culture (or subculture) getting the outcome it's working for. This doesn't mean outlier individuals in anti-education cultures are barred from it, as they're free to compete too, and a truly race-blind system will choose some of them as well.
Yet Guardian still calls it macedonia though
Replace the conflicting and overlapping disputes and treaties in pre-ww 1 Wurope with the same thing in the middle east today. I expect the middle east will trigger the next great war.
I was attempting to point out the grandparents error by elaborating their argument in an outlandish way. I clearly failed. Sorry about that.
At least the Linux kernel spinlocks do a single pause instruction (which it calls cpu_relax()) before checking again to see whether the lock is free; it's a loop over the pause instruction, but the loop condition checks the lock value. I'd expect most spinlock implementations to do the same.
And ETOPS was one of the reason for the trijets.
Just recently watched: https://www.youtube.com/watch?v=gxnptDPy47M about this.
U.S. Supreme Court to Review Whether Lawsuit Accusing of App Store Monopoly
Modern format prevents creation of social bonds. I'm not exactly sure why - probably because discussions die very fast + upvotes/likes turn interactions into a quasi-economic game. On normal forums you can have the same thread going for years even.

Overall I think the idea of voting on comments and submissions has made the world a much worse place.
Foreign Keys Part 2: Beware of Misconceptions
The goal is to detect usability issues. Your features should have user stories associated to them, come up with few scenarios around these (e.g. book a flight, cancel your flight from the landing page...). Then test your scenarios with multiple users/personas.
This will allow you to detect UX/usabilities issues, and prioritize update based on how critical the issue is.
It has been a big embarrassment.

The 'macedonian' (irl: south slavic) language was recognized as a language in 1977 at a UN standards meeting that took place in Athens.

When Yugoslavia was broken in pieces, the issue of the name for FYROM should have been resolved then and there.
The most promising name was North Macedonia. Oh the irony.
Transparency being a good thing and it being more honest and "meritocratic" (in a defined scope of merit as who can get the most eyeballs as opposed to useful to society or genuine talent). With good old boys network it is who you know not what you know. It is more dynamic as well than oligarchic networks.
Apple asks US Supreme Court to throw out antitrust suit over app commissions
Bitcoin Cash to Be Taken Offline
> I'm not sure we've travelled to the same China. The country is capable, talented and very driven.

This is less about where you've travelled to, but where you're from. Where I'm from, calling even a person "driven" as if that says anything would be frowned upon, not to mention saying "the country is X" with a straight face.

> If you ignore the surveillance state

See above. Where I'm from, that's a very, very big "if". That surveillance state implies all sorts of evils and obedience to them, which puts "driven" in a kind of questionable light. Driven to what? To be accepted? To not be punished? To get a good score? What about being driven to do good work, (get to know and then) express yourself, and stand up to evil wherever you find it? "Driven" itself says nothing. Hitler was driven, too. So was Mao.

I would not travel to that country, because I would not dare to be honest there, and I could not live with myself being obedient, and being a factor in normalizing it. I would literally rather kill myself, so it's very convenient to outright dismiss the opinion of anyone who isn't Chinese or hasn't been to China. At any rate, the Chinese I tend to see in Berlin I would describe as ranging from "very timid" to "exuding a timidness that becomes palpable", but maybe it's that they're all from the countryside and not used to being around lots of people.
I think you are just used to the HN and tech bubble. A lot of us here most likely don't consume nearly as much social media as the average person does. "Instagram, owned by Facebook, says its users under 25 spend “more than 32 minutes a day on Instagram,” and users 25 and over “spend more than 24 minutes a day” on the app. [0].

In fact, my girlfriend who uses social media a lot more than I do says she knows like dozens of girls from college who are all wannabe influencers. There is a huge social media rat race currently going on which is why Facebook is making 40 billion dollars a year.

[0]: https://www.recode.net/2017/8/2/16081086/instagram-snapchat-...
When I did work on Voronoi, i used the Mathematica built in function. I would get the gps coordinants from Google maps and use them as input. The output put into a google function that could make rectangular colored transparent regions on the map. But this was all 2d.
To piggyback the above comment, the recent Nature[1] article about centuries-old baobab trees mysteriously dying over the past decade of warmer-then-even-warmer temperatures is what hit me. A potential litmus test for our future as a species.

I suspect we will see more and more accumulation of research on impacts rather than just predicted impacts as we continue to experience increased temperatures. Although you do not have to touch a flame to know it will burn, more and more real world instances of getting "burned" are harder and harder to ignore.

"The researchers found no signs of an epidemic or disease, leading them to suggest that changing climates in southern Africa could be to blame — but they stress that more research is needed to confirm this idea."

[1] https://www.nature.com/articles/d41586-018-05411-7
When you listen to jazz, you don't complain that you don't know all the chords.
This is not demultiplexing into two different data streams, but handling both clumped together. Exactly what I was speaking of: Avoiding this clumping and processing the cases as separate streams (and independently!) brings huge payoffs.

Just try it; you will realize how much simpler your application gets - so many problems simply go away if you make more homogeneous data streams, and not fewer heterogeneous ones. And so many possibilities magically open up.

Very briefly, here is the difference:

def process_both_cases(stream):
for item in stream:
if case1:
do_complex_stuff_1(item)
elif case2:
do_complex_stuff_2(item)
else:
assert(False)

vs

def process_case1(stream):
for item in stream:
do_complex_stuff_1(item)

def process_case2(stream):
for item in stream:
do_complex_stuff_2(item)

I think it's immediately clear how much better the second version is. It's less complicated: The conditionals are not needed. Processing the cases is decoupled.
great advice, will be implemented :)
You’re moving the goal posts. Counterfeit goods, entirely legal to shut down the sale of. Authentic goods, you cannot. It’s up to the brand to prove they’re not authentic goods being sold and pursue the necessary channels to shut the seller down.
We are talking about buying DRM-free digital films. Who sells them now at scale? I doubt you can draw pricing parallels with sales of physical legacy media (optical disks).

Why do you think that making them DRM free would cost less? Today the cost of digital movies is between $9.99 and $14.99 and the cost of a season of Everybody Hates Chris is $20 on iTunes.
> that's how long it takes for the company to change too much or for me to lose interest

What's the thing that keeps your interest? What's the change that makes you uninterested?

If you don't want any crunch, seeking out a clock-puncher position at a big corp that does some software development might be a good idea... but that will be MORE boring.

Or... start your own thing that is aligned with your interests?
Maybe I'm not surprised by this because I work in higher ed, but that ratio of administrative staff vs faculty is not really anything to write home about. I work at a top 10 business school, and our staff/teaching ratio is about 5/1, and at schools like HBS or INSEAD in France, the ratio skews quite a bit higher.
As you two have somewhat opposite memories/knowledge on the historical actions of media and science, maybe it'd be good to get some sources out in terms of old reports and articles?
How to create an Amazon Alexa bot from scratch?
There was WW2 and then everything else in terms of clarity between good and evil. The vast majority of conflicts the US has been involved in were not so clear cut, like say Vietnam, Iraq 2. I guess all the atrocities weren't visible at the start of WW2; there was a clear difference with Japan and Germany, and they could have won ww 2. Imagine a war today with the US vs China, fought over say freedom of access to the ocean, those atolls in the South China Sea.
5 Examples of How IIoT Is Changing Manufacturing
> That is going to be well above the overhead of any context switch.

Is it though?

The "pause" instruction gives all resources to the hyperthread sibling. So under high-utilization (ie: your core has a hyperthread-sibling ready and willing), a "pause" instruction is basically a super-low latency task-switch.

I wouldn't be surprised that a "spinlock with pause" would be better, even in 5ms to 10ms chunks of time (Windows has 15ms quantas, and may task switch as late as 30ms to 75ms depending on the situation).

Because its better to do the hardware-assisted "pause" task switch rather than actually cause the OS-scheduler to get involved. In fact, that's what Microsoft AND Intel have concluded!! To get better real-world metrics, both Microsoft AND Intel felt like the "pause" instruction should wait longer! Skylake-X increases the latency, while .NET created this exponential-backoff.

I bet it was good in isolation, but when combined, the overall effect was too much pausing.
1 - I don't have to fork my database to use graphQL... it was designed to be an API gateway.

2 - forking databases to speak the same language still doesn't solve the issue of how to coalesce data from multiple backends into one response. You need an API gateway for that.

3 - forking a db would take months or years for me. I added graphQL to my stack in a few hours without modifying my backends, again because it's designed as an API gateway.

Yes they both declare data requirements. But no they aren't both relational and only one of these two technologies was designed as an API gateway.
I don't think you can really liken the experience of an officer to that of the enlisted men, though.

Incidentally, in the Civil War and all previous Anglo-American wars, you could literally buy your way out of a draft.
I think you misunderstood his arguments. He's stating that favouring a Result-type monad (as opposed to using exceptions that may never occurs) leads to boxing of values inside a tag of a union-type. Threading exceptions handling where exceptions are never thrown in practice typically little cost.

However this is really different from boxing of value-types in a situation where you don't have access to generic collections for instance and as such we're talking about a different cost. Unless you're entire application is passing integers or floats around (and not proper objects/records) it's highly unlikely the pattern is causing the situation he described.
It’s just for fun right now, but I have an idea for something that uses this that’s currently blocked by a stupid, unrelated issue. And yes, iOS generally prohibits JIT, but there are certain circumstances under which you can perform it (you need a certain entitlement). There’s no way that I’m aware to get an app through App Store review with this functionality, though.
> they will likely have spent the equivalent of hundreds of millions of dollars

To control a central hub of communication for society, that's pocket change.

> we (the public) can actually do some pretty fancy analytics to determine if there's collusion between accounts and identify bad actors

If you're going to invest hundreds of millions of dollars, gaming the process properly won't cost much more.
It never bothered me when customers changed their minds. What did bother me was when they changed their mind and expected the schedule to stay the same.
It still has to be ratified.
Nathan Barley dot cock
Rate limiter – System Design and data modelling
IIRC Scott Adams intended (and accordingly named) the Dilbert Principle to be understood as a kind of Peter Principle 2.0
Thanks for the extra info. I vaguely remember the frame counters, we had a Rolli twin lens reflex too in the early days and ISTR that had the window.
Quick rant: it's "Entity Component Systems". The "System" doesn't describe the approach in general, it describes an object called a "System". Entities are IDs (equivalent to indexes into his array), Components are property bags (values in his array), Systems are things that act on components (his update loop could be considered a System).

The idea behind it is that you can have a "WorldPosition" Component which stores all world positions as a flat array, and a "Gravity" System which acts upon WorldPosition components and makes them move. The idea is that since your data is tightly packed, it's easier to update.

A lot of people get this confused, though, so no worries.
How do they define contrast? Is it the actual linear light (gamma corrected) contrast or are that saying that, if R==G==B, then you want R1/R2 >= 4.5?
Many things that are profoundly expensive involve someone getting paid for them.
> It’s healthy to step back and consider how rare, in our world today and across human history, such an expression of the rule of law is

The fact that German industry reputation got a huge blow might be a reason. It's one of those things that hurt more than the little guy.
Online Judge – System design and data modelling
I'm not a denier but ...
> Swift, on a typical project, will do around 20. Not K, just lines/sec.

Wow, how common is this in practice? That sounds broken.
Microsoft purchases video learning platform Flipgrid