skysight-inc/HackerNews huggingface dataset:
>In an completion based design the future itself tells the runtime that the value is ready

I think there is a misunderstanding. In a completion-based model (read io-uring, but I think IOCP behaves similarly, though I am less familiar with it) it's a runtime who "notifies" tasks about completed IO requests. In io-uring you have two queues represented by ring buffers shared with OS. You add submission queue entries (SQE) to the first buffer which describe what you want for OS to do, OS reads them, performs the requested job, and places completion queue events (CQEs) for completed requests into the second buffer.

So in this model a task (Future in your terminology) registers SQE (the registration process may be proxied via user-space runtime) and suspends itself. Let's assume for simplicity that only one SQE was registered for the task. After OS sends CQE for the request, runtime finds a correct state transition function (via meta-information embedded into SQE, which gets mirrored to the relevant CQE) and simply executes it, the requested data (if it was a read) will be already filled into a buffer which is part of the FSM state, so no need for additional syscalls or interactions with the runtime to read this data!

If you are familiar with embedded development, then it should sound quite familiar, since it's roughly how hardware interrupts work as well! You register a job (e.g. DMA transfer), dedicated hardware block does it, and notifies a registered callback after the job was done. Of course, it's quite an oversimplification, but fundamental similarity is there.

>I think your design ultimately requires futures to be implemented as a language feature, rather than a library

I am not sure if this design would have had a Future type at all, but you are right, the advocated approach requires a deeper integration with the language compared to the stabilized solution. Though I disagree with the opinion that it would've been impossible to do in Rust 1.
I'm a developer with 15+ yrs of experience in the web, and I'm definitely not smart enough to understand TypeScript. It seems like only 9000 IQ geniuses can be productive in it, especially if you're starting a project from scratch.

Coming from a C/C++ background originally, quite frankly I don't see the supposed benefits of static typing, and in fact I'm intimately familiar with how type systems can be abused to terrible effect (on code quality and developer morale). IDE support is great until your IDE is a bloated mess (Jetbrains, Visual Studio, etc.).

I have recently picked up ClojureScript and it's a lot easier to understand than TS and incredibly productive to use in real life. No static typing in sight. Just my own little field report, I don't expect to convince any hard-core TS fans out there to switch. Do what feels right!
tl;dr Uninformed rant about the evils of blockchain and crypto-related endeavors

No nuanced analysis of an emergent technology and its growing pains and no mention at all of the benefits of decentralization.

Oh, and the author also fails to point out that there are NFTs which go beyond simply representing ownership. They are used for unlocking premium content, making game assets portable across games, acting as a proxy for real-world assets and many other use cases not yet as high profile as art and sports NFTs.
Everyone has their own incentives and when things get tough, they will work to maximize what their incentives say should be maximized - keep that in mind before signing up with investors if you are a founder. The term sheets and final docs - and the specific rights in them - matter a lot.

Examples from Charlie Munger [1]:

"One of my favorite cases about the power of incentives is the Federal Express case. The heart and soul of the integrity of the system is that all the packages have to be shifted rapidly in one central location each night. And the system has no integrity if the whole shift can’t be done fast. And Federal Express had one hell of a time getting the thing to work. And they tried moral suasion, they tried everything in the world, and finally, somebody got the happy thought that they were paying the night shift by the hour and that maybe if they paid them by the shift, the system would work better. And lo and behold, that solution worked."

"Early in the history of Xerox, Joe Wilson, who was then in the government, had to go back to Xerox because he couldn’t understand how their better, new machine was selling so poorly in relation to their older and inferior machine. Of course, when he got there he found out that the commission arrangement with the salesmen gave a tremendous incentive to the inferior machine."

[1] https://www.butwhatfor.com/charlie-munger-the-psychology-of-...
Number of diagnosis =\= number of disease cases
So is most coding. Dig though shitty code until you work out what is causing a bug. Make a two line change. Commit. Push
I think it's important to remember that many of these "death bed" bits of wisdom are often the same or extremely similar to those found in deep psychedelic and religious experiences, meditation, so on.

As someone pointed out these are often also similar to the more "child like" thoughts that are not constrained by society and do very much so seem to be more of the things that actually do matter.
Here's a good analysis: https://www.pbs.org/newshour/show/the-new-york-times-wmd-cov...
Cringe worthy scenario is when someone plays vinyl for the “warm sound” but uses Bluetooth speakers...hence digitizing the sound with an ADC
It's not quite that simple, the data you might have may be needed for compliance or regulatory reasons. Having no backup strategy might make you personally liable depending on the country!
What absurdity? By this logic we wouldn't repair cars either 'to reduce waste'
Launch HN: Haystack (YC W21) – Engineering analytics that don’t suck
Hey HN!

I'm Julian, co-founder of Haystack (https://usehaystack.io). We’re building one-click dashboards and alerts using Github data.

While managing teams from startups to more established companies like Cloudflare, my cofounder Kan and I were constantly trying to improve our team and process. But it was pretty tough to tell if our efforts were paying off. Even tougher to tell where we could improve.

We tried messing around with JIRA which gave us story points and tickets completed but it didn’t help us dig deeper on where we could improve. We found a few tools that integrated with Github measuring # of commits, lines of code, and even comparing engineers using these metrics! - but we didn’t like that approach.

We wanted to know (1) how quickly we deliver as a team (2) what bottlenecks tend to get in the way and (3) as we make adjustments, are they helping us improve?

We scoured the internet looking for every piece of research on the topic we could find, talked to >500 engineering leaders working everywhere from startups to FAANG, and started to learn which metrics helped answer our questions and which ones just sucked. Once we had a clear picture of what that looked like, we built Haystack.

Haystack analyzes pull requests on the team level, giving you “northstar” metrics like cycle time, deployment frequency, change failure rate and 20+ more to help you improve delivery. Teams use Haystack to quickly find bottlenecks like code review, experiment with changes like smaller pull requests or automated tests, and see the result. Using this feedback loop, the top 70% of Haystack users have increased production deployments by 58% and achieved 30% faster cycle times on average.

We’re lucky enough to work with some awesome teams at Microsoft, Robinhood, and The Economist. As we continue to build out our product, we’d love to hear any of your experiences with engineering metrics, your thoughts about how to actually get them right, and of course your disaster stories :)
Not being Murdered is one level.

Did you do the dishes is another.

Have kids. Did you eat chocolate bar? No!!!!
So how did the chocolate get all over your face?
I’m sorry, I must not have your understanding of reading. Could you do me the favor of elucidating what you’re getting at?
I agree. I was diagnosed with an incurable illness last year and retired after that and I feel much more free to just say whatever I want and not worry about what people think about it.
I wrote such a C++ implementation during my days at Facebook around 8 years ago:

https://engineering.fb.com/2016/03/18/data-infrastructure/dr...

There is an example under "Functional programming primitives".

It was a C++ implementation that fell victim to Greenspun's 10th rule. So I wrote a specification for it, first in Clojure and then in python.

The C++ execution engine is open source:

https://github.com/facebookarchive/iterlib/

Main problems writing such code:

* The output of SQL is generally flat. GraphQL makes it nested, but doesn't support all the operators SQL does natively.
* Anyone trying to implement such an engine needs to ensure a fundamental property - the shape of the output can be inferred from the shape of the query.
* Writing async code in C++ with futures and promises is like pulling teeth. At some point the complexity explodes and the code becomes unmaintainable.

My most recent attempt is here:

https://adsharma.github.io/fquery/

It shouldn't be hard to put a wrapper around fquery that looks like the query string you present above. In fact, there is a s-expression parser in iterlib/python above that could be tweaked to do this.

I'm hoping that we can build a community around such languages and once the specification is agreed on, a more performant implementation can be written in a systems programming language.
I guess that somebody will have to check all submissions => depending on the amount of people that earn $ through Youtube, the amount of work might increase quite a bit for the IRS?
Brine utilisation for cooling and salt production in wind-driven seawater greenhouses: Design and modelling

Abstract:

Brine disposal is a major challenge facing the desalination industry. Discharged brines pollute the oceans and aquifers. Here is it proposed to reduce the volume of brines by means of evaporative coolers in seawater greenhouses, thus enabling the cultivation of high-value crops and production of sea salt. Unlike in typical greenhouses, only natural wind is used for ventilation, without electric fans. We present a model to predict the water evaporation, salt production, internal temperature and humidity according to ambient conditions.Predictions are presented for three case studies: (a) the Horn of Africa (Berbera) where a seawater desalination plant will be coupled to salt production; (b) Iran (Ahwaz) for management of hypersaline water from the Gotvand dam; (c) Gujarat (Ahmedabad) where natural seawater is fed to the cooling process, enhancing salt production in solar salt works. Water evaporation per face area of evaporator pad is predicted in the range 33 to 83 m3/m2·yr, and salt production up to 5.8 tonnes/m2·yr. Temperature is lowest close to the evaporator pad,increasing downwind, such that the cooling effect mostly dissipates within 15 m of the cooling pad. Depending on location, peak temperatures reduce by 8–16 °C at the hottest time of year.

https://publications.aston.ac.uk/id/eprint/31704/1/Brine_uti...

[Edited for link to pdf paper, and abstract]
> IDE support with JS is sometimes so advanced, that just changing the filename to TS makes the support worse, without any code change.

That’s kind of dumb on the part of the IDE involved.
Thanks for this list, it is very useful. Do you know of a "real world" example use for Keratin Authn? I see the diagrams and it looks like it could be useful but it kind of looks like moving the login/password part of the backend to another service (OK), but what happens with authorization? (user roles have ability to do specific tasks)
Kimsufi has tiny cheap Atom servers with self built or made to order racks and hardware:

(This is 2011, I think it looks fancier now)

https://lafibre.info/ovh-datacenter/data-center-ovh-roubaix-...

Edit: Seems like they stopped publishing videos for that datacenter, but this seems to be a video for the burn down datacenter in 2013:
https://www.youtube.com/watch?v=Y47RM9zylFY
These companies have offices and employees in Europe - it's hard to argue that they are not substantially doing business in Europe when they have employees, facilities and customers in Europe.

Compare that to some mid sized retailer located in one country who adds international shipping as an option
Really sorry to hear, hope you get it restored. I cannot judge - I use the default backup options in Azure and hope they store it in another data centre but never though to check too hard. This is very bad luck.

Hopefully you had the code in GitHub but that still leaves the DB. It looks like your has something to do with command line or Linux lessons so not sure how much user data is critical? Maybe you can get this up and running again to some extent.
No, it's nothing like that. Businesses like Delaware because they can easily hire lawyers that know Delaware law, and those lawyers can say with a good degree of certainty that the law means X or Y, because many businesses before them have already settled the case law there.

This is not the case for every state. In some states, your specific business legal concern might be something that is not clearly outlined under the text of the law, and there may be a complete lack of case law to guide your lawyer.

TL;DR: lawyers in Delaware are more likely to answer "yes" or "no" rather than "maybe" to your business law question.
A reasonable explanation might be that the ppl who write these articles don't use it lol, as well as the people in congress who write regulations they report on.

They use Twitter and their parents use Facebook. Any article I've seen on reddit treats it as closer to 4chan than Twitter.
At what point is this not "traveling" but rather "moving frequently".
There are a lot of good subs out there, but the default and high traffic subs have mods with dubious motivations.
Reminds me how some forums aren't allowed to have apps in the App Store due to porn, as well as the Tumblr porn controversy. Reddit has more porn and NSFW content than almost anywhere else.
The fact that individual employees have little negotiating power with a large business is one of the conditions that give rise to collective bargaining agreements and unions.
That really sucks. I think in the bubble of YC seems like this doesn’t happen but then there are counter examples like yours. Thank you for sharing.
For the dying, caring about other's perception is a luxury. For the living, it is a necessity. Any incentive to lie on your death bed is irrationally self imposed, which is not to say that it doesn't happen but that it doesn't have to.
For non uk residents "Frock" is a regional term for dress - quite common in the Midlands.
The same aggravation and agitation happens in regional subreddits as well. r/Texas has been transformed into a hatefest against Ted Cruz and Republicans after the recent snowstorm. You'll find wild hyperbole about the Texas GOP killing people, Facebook quality memes about how terrible the state is, and incessant cheerleading for AOC and out of state progressives.
Have you considered what it would take to achieve your goals without the use of money? Give it some thought, I was surprised to find it was possible.
Not just the social media but also the print and TV news. At least here in India about 80% of all the news is rage inducing. Because that’s what drives the TRP which in turn means more advertising money.

And then we have artificially induced rage through sports, mostly cricket, where spectators get riled up and vent it out on, where else, Twitter.
Post-Spectre Web Development, Editor's Draft, 2021-03-10
I disagree with this.

Regarding the "any" type, it's a crutch to migrate existing codebases that started out without Typescript. Every team I've been on I advocate against using it in production code; some teams are better about this than others but it's up to the team how lax or strict their implementation is

As for runtime type checking, Typescript has not set out to replace the JS runtime. JS remains the lingua franca for dynamic content on the web, Typescript can help you write it better and incur virtually no overhead from it by compiling to plain JS. When I worked with financial applications we followed the strictest typing we knew to implement and in my time there (2.5 years) we had zero runtime bugs. It's a great tool and it works
Almost as good as the guy who created the rockstar programming language, giving them opportunity to hire rockstar-developers.

https://codewithrockstar.com/
Reddit is owned by Advanced Publications, a media company.

Facebook and Google are sucking all the profits from old media - Reddit is their hedge against that. Of course they don't complain.
Measurements of effectiveness will never get to 100%. Statistical noise alone guarantees that any such measurement will be an uncertainty interval with a tail that drops below 100.

Nothing is guaranteed in life. There is always risk.
Well maybe i should not be allowed to buy used shoes, what if they are stolen?

Why should my right of ownership be violated to help apple deal with 'stolen' parts?
CGP Grey made a great video on the self-perpetuating cycle of outrage back in 2015: https://www.youtube.com/watch?v=rE3j_RHkqJc
What does any of this have to do with physics? (2016)
> End-to-end between the cloud provider and the cameras at the site, sure

That's TLS, not E2EE. E2EE means the provider never sees the unencrypted data. (Ex SMS is unencrypted, most internet services use TLS these days, Matrix and Signal use E2EE.)

> Nobody encrypts their surveillance video storage, AFAIK.

This is a serious problem.
"Authelia can be installed as a standalone service from the AUR, FreeBSD Ports, or using a Static binary, Docker, or Kubernetes. Assistance to publish a debian package would be greatly appreciated."
When I get a MacBook M1 I also ponder what to do for stuff that need to run on windows and use something similar:

https://www.lenovo.com/us/en/desktops-and-all-in-ones/thinkc...

I found it fairly good with decent performance.
Really? I know a number of high-achieving people and they tend to spend a lot of their time achieving more.

(Trust-fund kids, on the other hand, do have a lot of time for socializing. Unclear whether they are happier than others or not, though.)
As above, you use a straw man argument. I said nothing of the sort, and your jumping to that conclusion is rude.

You’re welcome to ignore the questions I raise, but hungry people won’t give a shit about your philosophy when they upend the systems that have abandoned them.
Alright, so America wants to tax every American view in YouTube. But what happens if another country decides to do the same thing? Creators will have to pay every country their views come from. I hope I am wrong, but we all know every country in the world is greedy for more tax.
Ingenious - and all the more reason to run NTP on the border router/firewall and have that be the only device that communicates with the outside world.
Biometric Technologies and Global Security
It’s grim, but bridge jumpers that actually survive will often speak about how the unsolvable and overwhelming problems change a moment after stepping off bridge. As in how losing that job doesn’t seem so bad now.
Schema less causes more problems that it solves. You still have an implicit schema, it's just now scattered all over your app.
I opened this article, ctrl+f'd for "branches" and was disappointed.

My #1 feature request from PostgreSQL would be a way to branch the database easily with my git feature branches that is smarter than keeping N copies of everything and syncing them as needed.
They still lie for emotional reasons. Because of what they want you to remember about them or because setting old scores and what not.

And it is also the time when they are in pain, under influence of various drugs that doctors prescribed to manage pain, confused about where they are, because sickness or injury make them so.
I don't think the assertion that types are "free" or "quite low" maps to my experience with JS tooling/dependency bloat. The transpiling burden is not minimal.

I'm empathetic to the argument that because TS can find these errors easily, and descriptively, then it's a valuable tool. But your latter comment re: going through a stack trace, doesn't map to my experience with unit tests. If your test output is just a random exception in a stack trace, I would again argue that the test wasn't written correctly. This introduces an assertion burden for sure, ones you don't have to write if youre using TS, but I would posit that the exchange isn't as "free" as you claim.
If that is indeed the case, I could see myself using TypeScript for everything. I generally dislike front-end tooling and how complex everything is, with everything having a build process (and CLI for some reason). For this reason alone, I avoid TypeScript when I can.
Banned Terror Groups Uses Bitcoin to Transfer Funds to Counterparts in Kashmir
Do the containers have fire suppressant systems installed?
They didn't claim to have personally seen the WMDs, but they acknowledged in a 2004 apology (https://www.nytimes.com/2004/05/26/world/from-the-editors-th...) that they created a systematically false impression about the veracity of the evidence. The apology includes references to specific articles if you're interested to read them in detail, but the general thread is an uncritical presentation of uncorroborated evidence from sources who had obvious incentives to mislead the public.
8086 was 10 years before the 486.
Such a fearmongering article. ONE HUNDRED PERCENT MORE DEADLY than something that was already not that deadly is still, not that deadly.

How about instead of this bullshit, these assholes give us a proper dataset that is faceted by age, weight, race, physical condition, etc. so we can actually determine our own personal risk? Oh, wow, can't do that, that would be a violation of healthcare privacy. On the other hand, demanding a vaccine passport so you can do anything in the world is totally reasonable and NOT an invasion of privacy at all.
Youtube at least started forcing news on everyone last year. It was really obvious for me since I never watched news on youtube. There would be two or three rows of normal stuff and then a "covid/politics" row full of CNN/CNBC/BBC/whatever saying the world is ending.

I've solved the problem personally by blocking youtube and now I have more time for my girlfriend and side projects.
It's more complicated: they repeated lies from the CIA and Bush administration (regarding WMD and the need for an invasion), AND added their own spin on top of this. It's not too different from what they are still doing now.

It's always the same: ignore the part you don't like, amplify facts that will suit your needs, then spin your own narrative on top.
> Valid JavaScript is also valid Typescript.

Unfortunately, no:

https://github.com/microsoft/TypeScript/issues/1863
At this point TS is trying to keep runtime syntax in line with TC-39 (the language committee in charge of JS) proposals that reach Stage 3 (and thus likely to reach Stage 4 and general acceptance/use in the browser).

There is currently a Stage 1 proposal for a pattern matching syntax presented to TC-39. If it reaches Stage 3 then it is presumed likely Typescript will implement it.

https://github.com/tc39/proposal-pattern-matching
> the dying value exactly the things that our culture tells us all to value: the themes that fill our advertising and magazines

This is a strong, frustratingly unsubstantiated claim. Do we see deathbed wishes vary across cultures in variance with advertised values? Did deathbed wishes “sync up” when mass advertising took hold?
By “workflow” I meant the remoting part.

The SFF is fine, I’m currently using a PC I’ve built in Node 202 case: https://www.fractal-design.com/products/cases/node/node-202/... Too bad I’m unable to upgrade 1080Ti with 3080, due to the global GPU shortage.