skysight-inc/HackerNews huggingface dataset:
I think async/await probably makes more sense in a typed language, where a compiler can tell you when you're missing an await, or at least warn you about not dealing with potential side effects and error handling. For something like JavaScript, it'd make more sense to me to have the runtime always and implicitly await the result of async functions, and instead make developers explicitly say when they wish for the result to be async. For example, instead of:

const data = await fetch()
push(someData) // async, runs in the background

You would do:

const data = fetch() // Runtime detects promise and awaits result
async push(data) // the async keyword would return a promise and execute the push function asynchronously, allowing the next line to execute

In this fantasy world the "await" keyword would work anywhere and as you'd expect – awaiting the result of any promise:

const data = fetch() // implicitly await
await async push(data) // this would also be "synchronous" in that it suspends execution of subsequent code until `push` fulfills or rejects the promise, and so it'd have the same effect as implicit await

Point is you'd probably await that promise elsewhere, so you'd actually store away the return value of the `async` call and later on you'd `await`, or another example would be to await a block.

Promise rejections in implicit awaits would halt execution, just like a sync function throwing an error, so you wouldn't "miss" an error somewhere because runtimes swallow promise rejections. (Well, at least Node wised up eventually.)

This means there'd be no difference in function declaration between sync and async functions, it'd be determined by whether they return a promise or not which I think should be possible to statically determine by a JIT compiler in most cases, so not adding too much (if any) overhead.

Kind of a half baked thought, but point is I always felt the async/await thing was kind of backwards in JavaScript.
As far as I'm aware, these "tribunals" are dealing with issues like rape and sexual assault, which are actually crimes. As far as I can tell, the generous interpretation for their foundation was that the legal system affords due process rights to the accused. The not very generous interpretation is that some powerful ideologues wanted a mechanism to discriminate against a particular protected demographic.
> slow 30-year-old companies like Regus

Unless I am completely misunderstanding the value of WeWork, this ship seems to have already sailed. At least locally, Regus has offerings that are substantially the same in price and features to what WeWork has.
Exactly, racism is much more of a fully-stable equilibrium than sexism, since full dehumanization of the other sex is always going to be impossible, if only due to adjacency. And adjacency can be critical to rights movements: one of the big successes of the gay rights movement was combating the stereotype of evil deviants through a strategy of positioning gay people as neighbors, brothers, sons, etc; regular people who just happened to have a different sexuality.

By contrast, there's nothing stopping racial groups from tending towards being fully segregated from one another, to the point that people stop thinking of the other race as full humans instead of fuzzy stereotypes.
I think it is highly likely that a simple majority in the House will vote to get things going, but I think it is highly unlikely that a 2/3rds majority in the Senate will confirm it.
technically all personal computers are controlled with the brain
while an 'os for kubernetes' would be interesting, the documentation doesn't seem to really explain how:

"Talos lets you treat the cluster as the machine, so you can focus on your applications instead of managing the OS."

all the examples seem to basically be kubectl, etc. commands with different syntax. How exactly is this an 'operating system' and not 'yet another kubernetes build / deployment utility'?

Maybe it's there. I don't see it from a cursory glance (read: clicked 10-20 pages) of the docs. Or, curmudgeonly old me is expecting the term 'operating system' to mean something else? idk. Happy to be corrected.
Not everyone uses languages designed by people with no place designing a language and taken from there. Not every language is PHP, JavaScript, C++, et al.

Take a look at a Lisp, APL or a derivative, or Ada for examples of languages designed by people who knew what they were doing. Lisp grew in universities under the direction of hackers and there are several standard dialects now. APL was designed by a mathematician originally as a teaching aid. Ada was designed in a contest by the US DoD after spending a long while collecting requirements and it was then fully specified before any implementation work was done.
Maybe also add "pipefail" to the end of that?
Given the popularity of social justice causes, I have a hard time believing this is a material factor. People seem rather up in arms about racism or even just adverse impact on this day and age.
let plus the curly bracket scoping means that the variables only exist within the curly brackets, and not the global state.
While (modern? ideal?) marriage is a peer-to-peer relationship, the relationship between employee and employer is unbalanced, more like pet-owner.

Societal restrictions on contracts are a way to balance this. Virtually all societies have some form of this, outside utopian ultra-liberal hellholes.
I can't remember anything bad economically that happened about ten years ago, can you?
There's no ethics involved in third party ads whatsoever.
It watches the heartbeat, probably arrhythmias specifically. You can't monitor blood pressure with just a watch. You need a blood pressure cuff for that.
The package landing page is essentially that: a list of all of your datasets. This is constructed from the special s3://.quilt/* directory. Since a Quilt manifest is a list of keys, you can compose N manifests into a single manifest using the API, see e.g. https://docs.quiltdata.com/advanced-usage/working-with-manif...
> I'm utterly bewildered that there's no official documentation of this stuff though. This seems to be common with a lot of modern software too.

In iBooks you can download all the user guides for all devides
I'm referring to this sentence, which has nothing to do with cellular capability:

> Like the latest Apple Watch, which has a built-in fall detection system, the new Garmin watch also has a safety monitoring feature, which the company calls incident detection.
You are literally taking a recent publication about attentional mechanisms in the brain and hijacking them to explain why you're annoyed with t-shirts, then turning it into a commentary on society.

I think you could use some perspective. This research is not so concrete that the application even makes sense.
Think of the Apple Watch as something that you can use to reduce your phone usage. If you get the one with cellular and GPS, you can go walking/biking/outside and be reachable while at the same time not staring at your phone all the time. Even when you are at home the justification, for me at least, to keep the phone closer was because I might get a call or message I need to respond to. With the Watch, the phone goes straight to its stand as soon as I get home knowing well that I'll get the notification on my watch. This is what's finally helping me wean off the constant need to keep my phone and pull it out to check instagram/hn/reddit repeatedly if I'm bored for even a second.
> I think the most important aspect of social media to most people is that it allows for people who are friends "in real life" to share text / media with a circle of friends in a semi-private forum.

I agree with this. In all of the decentralized social media iterations I've seen, the main two things I've always missed were the "personal aspect," and appealing visual design.

It's worth asking, though, how possible it is to achieve that in a truly decentralized fashion, while still providing a good user experience. From a user's perspective, it doesn't make much sense to have separate sites with limited interoperability when you can simply just one (centralized) site. I guess that for the Fediverse to truly take off, there really needs to be a concept that simply cannot be implemented without de-centralization. Until then, it'll be an uphill battle.
Brown's UI/UX course spends a small amount of time on React.
The problem is that it is reasonable to expel people (and, indeed, to want to expel people) with a much much lower burden of proof than would be required to lock them in a cage.

There absolutely should be a different standard for “can continue to be in this school”
and “can continue to walk down the public sidewalk”, and also decided by different people.
I have an Apple Watch, and it's a love/hate relationship. I'd love to wear another more simpler watch but would lose so many features I always opt for the Apple Watch.

I do criticise the fact that only the Apple Watch contributes to their "Activity" app.
In javascript anywhere you see await, you've introduced an explicit scheduling point. There are cases where even in a single threaded env you want to "wait" until some other async process is complete. To use one of the old school examples:

function transfer(amount, acct1, acct2) {
var current_balance = await acc1.balance()
if current_balance > amount {
await acct1.sub(amount)
await acct2.add(amount)
}
}

Now what happens if you get multiple calls to transfer? What you want is probably something like:

function transfer(amount, acct1, acct2) {
await acct1.Lock()
....
await acct1.UnLock()
}
Shouldn't the title be "Are the Saudis lying about their oil production?" or remove the ?
So he already got unreleased Apple Watch? I thought that feature was just announced.
Last I checked k8s required you to have swap disabled and some cgroups settings configured. As I recall, installing Kubernetes was quite difficult, and having something that's ready to go sounds great.
Your 40% share isn’t going anywhere unless there is something of the kind specified somewhere in your contract/articles of incorporation/bylaws, even if you walk away now and never look back.

Your offer is generous, but I can see why Jim would rather own the entire company. He would have to buy you out though, and I can see how just the cost of your incorporation fee is hardly enticing.

If he starts running the app by himself with a different company though, I think that’s a case for lawyers. A fairly clear cut one too.
> Apple is probably the best corporate citizen of any company its relative size in history.

Ahem ...

https://en.wikipedia.org/wiki/High-Tech_Employee_Antitrust_L...

They have better PR, arguably better products, and a more likeable CEO than other tech hyper-corporations. But they are fundamentally no different than any other self-aware pile of cash.
It's much better to donate, at least the correct people get the bulk of the money.
This, but unironically
AIUI, Regus won't talk to you if you're not willing to commit to a 12 or 24 month lease. If I had a stock position, it would be very short WeWork, but assuming you can make the month-to-month economics work, that's a pretty big benefit regardless of customer size.
Another parable

https://en.m.wikipedia.org/wiki/There%27s_a_Hole_in_My_Bucke...
It's still "generic USB". When we're talking about the difficulty of it, it's entirely fair to pull in a $30 keyboard.

Touch is hard to keep ultra fast. But with physical buttons it's mostly apathy.
"Running out of oil" is an economic criterion, where demand outstrips achievable supply (where the cost of extracting the oil is not so high that it becomes an economic net negative). There's no material difference in outcomes between this and your "doomsday" version, but the former is actually something that's going to happen, while the latter probably never will.
I am trying this out and I am still on the edge of whether I like it or not.

Create a table with a json column:

CREATE TABLE Doc (
id UUID PRIMARY KEY,
val JSONB NOT NULL
);

Then later it turns out all documents have user_ids so you add a check constraint and an index:

ALTER TABLE Doc ADD CONSTRAINT check_doc_val CHECK (
jsonb_typeof(val)='object' AND
val ? 'user_id' AND
jsonb_typeof(val->'user_id')='string'
);
CREATE INDEX doc_user_id ON Doc ((val->>'user_id'));

I think the postgres syntax for this is pretty ugly. And if you also want foreign key constraints you still have to move that part of the json out as a real column (or duplicate it as a column on Doc). I am not sure it's even worth it to have postgres check these constraints (vs just checking them in code).

I am also a little worried about performance (maybe prematurely). If that document is large, you will be rewriting the entire json blob each time you modify anything in it. A properly normalized schema can get away with a lot less rewriting?
Just to close the loop here, we've pushed up the timetable for implementation of some of the support-related improvements (several are live now) and are giving the individual market another try. Our status dashboard is showing no unanswered tickets at this time, so we should be starting from a clean slate of sorts at this point.

To anyone having support issues, please feel free to re-raise any issues that were not addressed to your satisfaction earlier this year (including ones that may have been auto-closed)! Management is watching closely at this time to observe the process and make sure things work well for Raptor's end users.
Then his helmeted head hit the ground so hard it knocked him unconscious — hard enough for his Apple Watch to feel it.

“A hit that hard could have killed me if I weren’t wearing it,” Burdett said. He had to replace the helmet.

Sigh. Bicycle helmets prevent neither concussions nor death: by design, according to all epidemiological studies and according to the manufacturers of bicycle helmets.

https://www.badscience.net/2013/12/bicycle-helmets-and-the-l...

Bike helmets are probably useful in reducing a tiny subset of head injuries.

And this is yet another anecdote proving the opposite of what the true believers think.

Sometimes I despair, then I think of this https://www.youtube.com/watch?v=ZCL4dXUtblg
> and he also called his wife to let him know the watch says there is an emergency with his heart

The watch will call emergency services, then it will text your emergency contact(s) and let them know you've experienced a hard fall. I don't know exactly how, in this instance, that was then converted to a voice call.

Edit: I see in another comment that he initiated a call himself because he was conscious enough to do so.
I believe those are the instructions for kernel extensions that are "approved" but distributed by third-parties.
> No, wait, that name's taken.

Like that ever stopped anyone. :)
Scott Alexander has been thinking about this sort of thing recently:

https://slatestarcodex.com/2019/09/10/ssc-journal-club-relax...

https://slatestarcodex.com/2019/09/11/lots-of-people-going-a...

Both are very interesting reads about perception, hallucination, and mental illness.
Stack Overflow was built because the forums and mailing lists were inadequate and no one else was addressing the need for something more. Historically speaking, SO is the third iteration of a commons for knowledge share. It had a great run. However, the time is coming for a new wave. Among the next wave will be Microsoft, who is well positioned with its portfolio of products and companies. I predict that Microsoft will introduce a collaboration and knowledge management platform that will compete with Stack Overflow. GitHub will play a significant role as will Microsoft AI products.
I agree that the Bloomberg newsroom has some serious flaws, but this story didn't come out of their newsroom. Tyler Cowen is an opinion writer (and an economist whose writing for Bloomberg is one of many activities.)
Interslavic (Slavonic Esperanto)
Link to source info:

https://sherlock-photography.github.io/canon-extension-tube/
Carbon Clock
Why should they have a lower burden of proof?
How can you rip UHD (4K) movies? MakeMKV doesn’t support them last I used it (a month ago)
So this is more like terraform, just automatic.

This is basically an implementation of the cluster API sig (which is also being promoted by VMWARE).
Look at what happened when a person who was actually suicidal shared the viewpoint that worked for him, in public:

https://www.popehat.com/2016/04/21/what-empathy-looks-like-t...

With that level of public openmindedness, the citable evidence (of which this is a part) is guaranteed to dramatically understate the actual effectiveness of the approach.
Yeah I was at Wework (2 separate locations in SF) and found it subpar as a working environment. Very hard to concentrate and most printers offline half the time while meeting rooms and phone booths are lacking in numbers to the point of not being something you can really count on.
It's not specific to this place. It's an effective persuasive argument technique. Say you want to praise Apple for something. Since praising Apple to Apple fans is preaching to the choir, your target is people who are not currently huge Apple fans. So, you begin by saying "hi, I am one of you, a person who isn't a big Apple fan." Now that you've established yourself as a member of the in-group, you drop your argument, "this aspect of Apple is good." Maybe you qualify it with "pretty good" to keep from tripping any alarms.

Note: that's not to say that the speaker is being in any way deceptive. People naturally evolve and reinvent more effective speech patterns, often unconsciously.
Installing Kubernetes has gotten easier since the time you last looked at it then. Having used Kubeadm and then RKE from Rancher, I can get a 3 node (non-HA) cluster up in under 10 minutes. This is on regular RHEL 7.4 machines when I last did this in a non-automated way.
Itd actually be a good thing for the environment.

The greater the cost the more conservation makes business sense.

If an efficient fridge is only 15$/month cheaper it's not replacing your current fridge. At 50$/month it quickly pays off.
No, it's not. "Sneak was expelled from harvard for raping somebody" is not something you want people reading without getting your day in court.
Up in arms is very different from understanding/empathizing. IMO, it's generally an indication of the opposite.
Yes I would really like to get multi-thousand dollar hospital bills because my watch made a mistake.
Promises are nice in JavaScript because they’re just a value with no magic. Anything can create them, not just async functions. Generic/higher-order functions and so on can get involved without needing to know the difference. A proposal to introduce magic at calls sounds really awful, sorry.
I agree, but will any management still be there if they're worth $2-5B rather than $40 billion?

Also, the strategy of segregating assets onto Adam's personal balance sheet looks like a bad idea now that he's no longer ceo.
You've forgotten all of the other sources we use to produce energy: coal, gas, hydro, nuclear, renewables, etc.. and a fraction also comes from oil.

So oil tripling overnight would not result in a tripling of energy prices. There would be a small increase as load is shifted to other sources.. and there would be an increase in transportation costs of solar panel delivery. But the cost of a panel would barely increase. And those factories near nuclear, hydro, etc plants would see a slight competitive advantage over those in areas where energy comes from oil (but again, coal is a big source of energy.. oil much less so).
I have read about it but have yet to give it a try. Thanks for the recommendation!

Update: just tried it, and holy smokes, what a difference. Mosh feels local. And Blink is super cool too, I like the CLI-style menus.
The way this article conflates sex with sexual assault really creeps me out. The first sentence states:

Four feminist law professors at Harvard Law School have been telling some alarming truths about the tribunals that have been adjudicating collegiate sex for the past five years.

No tribunals "adjudicate collegiate sex". They adjudicate sexual assault.
I think that says more about the hedge fund you worked at than it does about the wider world, to be perfectly honest.
Seemingly not rascist and being rascist are two distinct qualities. It has been my experience on the receiving end of rascism that it is done quietly with plausible deniability
> two sequential lines of code are no longer two truly sequential instructions

How is this different from normal multithreading?
Can't wait to see the Early Decision NCT Worldwide tour. Maybe in partnership with CJ Group.
Yep, that sounds about right. I think maybe Discovery isn't quite as bad as I made it sound (even if it did go down hill some), but TLC just went straight to all reality shows, and I was conflating them.
I used to work with a guy whose wife worked for Starbucks. He explained that they'll do seemingly crazy shit, like put stores across the street from each other, that makes sense when you look at the data. The store on one side of the street picks up traffic from point A to point B, while the other one gets point C to point D, optimizing for not making their customers walk across the street.

I think of it as similar to how UPS rigs their routes to avoid left turns.
It's still much harder to deadlock single-threaded code than multi-threaded code because single-threading eliminates the need for most locking, which in turn eliminates most opportunities to cause deadlocks.
Probably because there is often a lot of unqualified praise or unexamined belief that all they do is incredible and right. In order to avoid the appearance of that, sometimes people qualify their praise in the way I have done.
Thanks. Connecting the dots, I'm guessing that travel to various ranch operators ate into your gross revenue. But, hey, it's the right way to build the business. And it sounds as if those trips made it an unusually enjoyable project.

Great story.
Bold claims with almost no citations? Thanks for the opinions, but I think I'll pass.
If you think that SO will give you anything useful to a question about the difference between double-equals and triple-equals I suggest posting one (and then running for cover)
Less valuable != worthless. This conversation was probably about valuation, so recurring net revenue and cost cutting to justify the valuation enters the equation.

Agree that making it easier for people to transition between jobs/careers could be beneficial to society as a whole.
> the containing window don't even appear in 64 ms

Well, it should! Why does it take more than 100 million cycles to put up a window? Because it's not a priority, not because it's particularly hard.

> Illustrator or Photoshop

It can render in the background, but it should remain responsive the entire time and anything that doesn't need batch processing should be instant.

> Essentially no application follows this guideline and never will.

Most applications could follow it with only a medium amount of discipline.
At the same time someone’s standing shouldn’t be in danger due to a malicious accusation.

This is a really hard problem because you want victims to be helped and not have to go through a grueling process for something they didn’t bring upon themselves, but simultaneously you don’t want to enable false accusations which would put undue burden on someone who didn’t bring that upon themselves either.
I use local tools for all my data processing, and if I want to search for a relevant dataset, I'd like to do it locally instead of having to contact an API and do all the paging etc. The kinds of queries that might be important to me are outside the scope of any fixed API; I might want all datasets updated in December (of any year), or only those with between 100k and 1m rows, or to get a frequency table of datasets by license terms. It's very easy to do any of these queries if I can download a TSV (or equivalent) with all the metadata, and usually too frustrating to even attempt if I can't.