skysight-inc/HackerNews huggingface dataset:
I still don't understand why #1 is a problem.

> But as I described, this means callers have to add or remove an extra `.run()`/`.await()`/etc. if the API ever switches between the two.

Switches between what though? When you want to do something asynchronously, you indeed build a future and later .await() it. Suppose you then want to build that future in a different way, for example by transforming future { foo(x) } to making foo(x) itself return the future (i.e. moving the future{} block inside foo), possibly because you want to dereference x before building it. Well, the .await() was already there, and doesn't need to be changed. The future{} ... await() pair gets introduced when you want to making things asynchronous, which is exactly as it should be?

Furthermore, isn't that the same with the main async/await proposal? It is indeed true that when you make things async you only have to mark a function as async, and then all the calls to it automatically become async. However, at the end of the day you still need to await those futures or else they won't do anything. So when you switch from sync to async you still need to add those awaits.

The difference seems to me the other way around: with the main proposal you need more awaits (namely, at all points where you want to stay synchronous). With your proposal you need more async/future blocks (namely, at all points where you want to switch to asynchronous).

I think that using the same keyword for async fn and async{} block is a source of confusion, because it makes it seem like async fn is basically like wrapping the body in an async{} block. It's what makes people think that an async fn is like an automatically awaited future, which is a confusing way to think about it and makes it hard to see why this proposal is a good idea (even if it's actually implemented like that under the hood). I think it becomes a lot clearer if you use a different word for these two concepts (like async fn and future{} block), and remove the ::new() and only use future{} syntax.

This proposal does raise another question: why not just green threads, and remove the concept of async functions entirely?
Quantifying Immutability
> This project resides in GovCloud, which is just `us-gov-west-1` right now, I believe.

GovCloud East is also up, but the GovCloud West region's 3 AZs plus GovCloud East aren't all of US (or even “US government on public cloud”) compute (AWS also has Secret Region, Azure has two government non-secret regions and two secret regions; GCP doesn't have a government region but federal government agencies use regular commercial GCP regions—that’s true of AWS and Azure, too, the government offerings are approved for high-impact use whereas the general offerings have a lower-impact approval; Google is seeking to also get the High impact approval for their commercial offering, rather than having a distinct region IIRC.)
CosbyArt's Art Software Reviews (2018)
Really thrilled the FastMail team is working on this

Sorry to be 'that guy'. I like Fastmail but maybe they could fix some of the irritating bugs we keep asking for resolutions on before embarking on fun protocol invention missions. Two killers:

(1) When forwarding an email there is no link between the forwarded email and the original thread (TOTAL TIME WASTER), when reported they "don't consider it a bug [because of SMTP ID handling in existing daemons]". Missing the point here so hard guys!

(2) When creating a new filter it doesn't have a checkbox to include matching emails. This means you have to manually go replicate the search again, for consistency, to get things where they should be.

Frustrated at lack of response from reporting these as a commercial user. Inventing new protocols should not be higher priority than fundamental annoyances that are wasting customer time NOW.
In this particular case it's because I wanted to move all the items from a single imported 1Password vault (I have a few for different purposes) into a Bitwarden folder.

But more generally, when trying new software I tend to exercise its functionality as a first QA pass. There's a 'select all' entry in the Edit menu, and a keyboard shortcut, so it seems reasonable to try it. The failure isn't in itself a show stopper, but it's a mark against the app for me.
The linked PDF does a very good job answering that and thankfully the first couple paragraphs should give a good start to understanding how and what it solves.

The specific point to make is that while this can work with socket handles, it's primarily aimed to allow more efficient work with files (where AIO has failed to provide much benefit outside of batching operations with fewer syscalls).

io_uring is also one of the first post-spectre/meltdown syscall designs to be merged into the Linux kernel. If the ring buffer style used in this API becomes a pattern or not will be interesting.
Mnuchin rejects Democrats’ demand to hand over Trump’s tax returns
It solves all backup needs, until it doesn't. https://petapixel.com/2014/07/31/cautionary-tale-bug-dropbox...
It's true that running part of the time is not as good as running continuously, but if the capital is low enough, it's ok to start out running intermittently until we get to the point where we have low cost dedicated power and can have a higher uptime.

We will have to shed heat from the system to the environment, but that can be done passively.

Current densities are likely going to be substantially lower, but our capital costs are also going to be much lower. We don't need to operate at 30 bar for example, nor further compress our product.

Our capital costs aren't magic, they're just good enough in balance with everything else.
South Korea's booming 'webtoons'
> I think GitHub is okay with "creative" uses of their system, as long as one doesn't push the limits and doesn't make a business from it.

Being on the front page of hacker news feels a lot like "pushing the limits".
No, I think that's exactly the point.

I have spent some money on doom, counterstrike, quake, unreal or even chess. Or none on games like tremulous. I've spent a lot of time in these games, I've found friends in this games that I by now know for more than a decade.

A lot of that is gone with modern match making, and modern match making is made worse with transactions. Because you need to funnel more people into the matchmaking grinder.
I assume your docker taking GBs above is for Windows Containers? Also, most of that overhead is first use, updates and parallel similar containers are much smaller. Also, as you mention, alpine containers are what I'd consider "just enough" when wanting to diagnose an app in a container.

I've found that .Net Core on Linux and in Windows are close enough that scaling should be the bigger concern. Unless you're tethered to windows, the broader tooling is much more mature with Linux containers/pods.
I think it won't be long before Microsoft returns to the smartphone market with an OS based on Windows, and this time it won't be a flop.
The system is the specification. Working software that is 65 years old is an organic and evolved entity that can't be manually ported or updated.

Another possible target for this is the IPPS/OPPS Medicaid/Medicare code calculator system - which was written in COBOL for IBM 370 by mostly a single developer. Sadly, the developer passed away about 10 years ago, and the system has yet to be updated. The code was open sourced in a bid to gain assistance for updating from the community. Automation such as this would help significantly.
Altair builds on Vega-Lite but if you cannot do something in Vega-Lite, you can do it in Vega.

Performance is a huge concern for us and we are working on some improvements in that area. We will first focus on pushing computation and aggregation down into the Python kernel.
So basically, the proof-of-concept UI proved its concept.
Does this mean that we'll be able to mount EXT4 devices and use storage as block devices? I'd love to be able to use `ddrescue` without having to boot into Linux.
Not in the financial industry AFAIK.

Saving costs is a major drive, I agree...
You assigned “myVar” in every branch, right? Let me reread that again to make sure you really are assigning myVar in every case.

That’s a problem. One I’ve seen all too often, but a problem, nonetheless.
If the stronger rider doesn't care about their podium position, he won't lose much because of the weaker driver defecting. But if he does care, then he does lose.
This is marked as a dupe, but searching I don't see another discussion.

https://hn.algolia.com/?query=Announcing%20WSL%202&sort=byDa...

Edit: it's https://news.ycombinator.com/item?id=19842817
I sympathize with the environmentalist cause, because I am an environmentalist.

I listened to a podcast by Dan Harmon once, where he was talking about a fictional protest at Berkeley, with antifa on one side and nazis on the other. One of the Berkeley protesters in the skit says "While I don't support almost any Republican principles, I actually do think I should be allowed to own a gun." The Berkeley students, enraged, push him to the nazi side.

I've also heard this called "fallacy of the pure movement." There's lots of words for it, but the basic idea is someone alienates all but the True Believers from their cause.

In your mind, I must be a vegan to be a true environmentalist. There is No Good Reason to eat meat. A bit silly, there are plenty of Good Reasons to eat meat. I just named one. Another is culture - isn't a tribe of fisherman that have been fishing for 2,000 years entitled to continue to pass down their recipes for cooking fish to future generations?

Kinda moot though, because the dangerous thing you're opening yourself up to here is a retort of raw values - when was the last time you took a flight? How DARE you? Used a car? Why didn't you spend 2 hours biking instead? How DARE you not sacrifice every centimeter of your well being for the environmentalist cause?

There is no True Believer. Not even you are the True Environmentalist. Accusing me of not being True doesn't help.
Years ago I had pain in my wrists so bad I thought I had to stop coding.

I started doing push-ups and in two weeks my hands were OK.
This is something we are painfully aware of and have started to work on. For a start, see Jake's work on https://pypi.org/project/altair-data-server/.
What license issues? OpenJDK is 100% free and open, and there are several OpenJDK providers that you can download it from.
Tesla vehicles can now diagnose themselves and even pre-order parts for service
Reminds me a bit of the old advice on “Playing to Win” http://www.sirlin.net/ptw
"I can't help it, it's my nature" said the scorpion to the frog.
What is the threat that you are guarding against?
I think you have the riders confused. The rider going for the overall win (general classification or GC rider) would be the one agreeing to not go for the stage. He may be the stronger rider with a 90% chance to win the stage in an all out battle. But, since the race win is much more prestigious than any one stage, he may value the potential time gains over that 90% chance of a stage win and agree to give it up.

The defector would then be this GC rider deciding to take the stage win AND the time gains. This leaves the other with only time gains which he may not value at all since he is not in contention for the overall race. In grand tours like the Tour de France or Giro d'Italia, 95% of the riders have no hopes of winning the entire race. They are there to help their teammates who do have a shot and/or attempt to win individual stages. Because of this they often lose lots of time on stages they aren't going to win and thus don't care about winning some trivial amount back.
My very fair-skinned twins were slathered with sunscreen by nursery school staff and both developed an allergy to it. They use a shirt and hat. Works fine.
Just leaving this here:
Do Tasks, Get Paid.
Earn crypto by simply doing tasks in the CoinCircle website:
https://coincircle.com/l/50VVxbObg3
So, will it be possible to get GPU access (CUDA) directly from whiting WSL now?
Do you burn through long sleeves and pants?

There are clothes marketed as 45 or 60 UPF and even blue denim jeans supposedly are equivalent to 166 SPF.

Wearing long sleeves, long pants, and a wide-brimmed hat and shoes it seems like sunscreen would only be needed for hands and neck. https://outdoors.stackexchange.com/a/1238

Not practical for swimming unless you’re wearing a wetsuit of course but depending on weather conditions I do find long sleeves, pants, and a good hat can be practical for outdoor activity like hiking instead of sunscreen everywhere.
Are they bring J# back? https://en.wikipedia.org/wiki/J_Sharp
(COND ...), anyone? :-)

Ruby has an if/else structure like the Rust/Lisp thing, as well. Tasty.
> [I] set FaceTime to automatically answer.

Huh, I didn’t realize this was an option, that’s very useful for situations like this. Thanks for the tip!
But tape drives are $2000+.

Which means you need to store over 30TB to 50TB of information before tape drives are more cost effective. I've always wanted to make a tape-drive computer, but each time I run the costs... its just completely unfathomable that I'd ever store the amount of info needed for it to be cost-effective.

If I were to build a big storage device for my house today, it'd be Nas4Free system with 6TB Hard drives (avoid shingled drives, PMR for cost-effectiveness, Helium is unnecessary if you stay below 8TB). 6x 6TB Hard Drives with RAIDZ2(similar to RAID6) for a total capacity of 24TB of storage / 2x parity drives for resiliency.

That's only $160 per 6TB hard drive (https://www.newegg.com/Product/Product.aspx?item=N82E1682214...), so that's probably going to be cheaper than any tape-drive based system you can build out.
How do you pay your bills? If running those websites were your full time job, would you still be okay not making any money off of them? Or have you just decided that only people who have other income should have websites?
"60kWh/gallon" -- is that gallon of gasoline? Or ethanol? Or CO2?

If you know the figures off-hand (to save me doing the chemistry), how much water and CO2 is required to produce the gallon of output?
Idk, in quake and other games, you had servers forcing no skins. Damn no-skin no-model, rail gun jousting boxes were utterly frustrating but darned fun to play on.

This is a really weird change. I guess monetarily expected. Eh.
A lot of FUD is being spread about Java's licensing. OpenJDK is 100% open source and has a permissive license. And there are several providers for it.

That being said, both .NET and the JVM are great platforms. You'll have to evaluate both platforms and see which one benefits your project more.
Blekko is a name I haven't heard in a long time...
Apparently $720/year gets you an account for "as much as you need". Not cheap, but then again syncing isn't backing up.
If it has to be a loose bag of value data format you could at least CBOR instead of JSON.
Real assets are great if r goes negative. What if r is still positive in real terms, but g is more positive?
Using ring buffers is how networking has worked for a while now. They're nice because they're extremely fast, due to being in mechanical sympathy with hardware.

http://mechanitis.blogspot.com/2011/06/dissecting-disruptor-...

So I can't really speak to the API details, but the general concept seems like a good idea to me.
Yes, you can save an Altair chart as an HTML page. See https://altair-viz.github.io/user_guide/saving_charts.html#h.... You can also just get the Vega-Lite JSON form Altair and embed it in a web page with Vega-Embed.
I don't know about GitHub, but https://paper.dropbox.com/doc/Await-Syntax-Write-Up--AcIbhZ1... summarizes the different tradeoffs pretty well.
Altair doesn't seem to have quiver plots though. :(
The very-very upside-down house...
Lot of money in the sunscreen business.
CO2 seems much worse pollutant than water long term, because it stays in the air. Water at high altitudes condenses, reflects some radiation back to space and then falls back down.
Gasoline. Each metric ton of CO2 corresponds to approx. 113 gallons of gasoline. The amount of water is approx. 1:1 by volume.
That post is the only thing on the entire site.
How is the scalability of of the extraction process, both in manufacture and operation of the membrane?
Alternative solution: put the if/else block in an “IIFE” (which Go supports, just like JavaScript) and change the assignments to returns.
Considering they never even launched their game, I think that metaphor is giving too much credit.

It would be like if your friend was caught stealing from Walmart, and then you and your friend walk in to Walmart together. Then when Walmart bans you by association, you write a blog post about how Walmart is trying to shut down your lemonade brand.
You forget that there is a significant and very vocal segment in education and academia opposed to such standardized exams as the exams are perceived to undermine equity and social justice.

Which may very well be a valid point, given the explosion of the SAT prep cottage industry.
Thanks. If the scale is lacking, I get it. But to be clear, I’m talking about a series of 10MW electrical power plants each with 95% capacity factor.

Using your number downthread of 60kW/gallon, that translates to about 1.4 million gallons per station per annum - even with dozens of stations per line, a couple of orders of magnitude less than your target opportunity of 300B gallons+.

Would you be willing to expand a bit on your opportunity target of 300B+ gallons/year? My understanding is that the US production of gasoline in 2018 was about 142 billion gallons, so I certainly misunderstand something.
The problem with all these nice new visualization libraries for Python, is that they all (at least the shinny nice ones) fail totally short when it comes to do B&W graphics for journal publications. Things like filling patterns, line patterns etc, are mostly missing.

I still use Matplotlib and I can make it look beautiful and exactly how I want... it's just a lot more work to get the shinny bits.
Intel is releasing the source of XED but canceling IACA which is built on top of XED. Color me confused. Still, this will be useful for a lot of projects to have this piece of infrastructure for such an important CISC ISA available under an Apache license. Boring as hell, but useful.

For example, ARM tests their ARM LLVM backend using a golden reference implementation. This is the MC Hammer test: encode/decode assemble/disassemble[1]. This can be the golden reference for the same with x86_64 and useful for GCC+LLVM.

[1] https://llvm.org/devmtg/2012-04-12/Slides/Richard_Barton.pdf
Unfortunately, outputting the boolean result makes "and" rather useless. See https://github.com/PowerShell/PowerShell/issues/3241
Or about the estimated number of beetle species[1]. Not that I don't like beetles.

[1]https://en.wikipedia.org/wiki/Beetle#Distribution_and_divers...

Edit:Link to the Assessment Reports this article discusses [2].

[2]https://www.ipbes.net/assessment-reports
My take on this, is it means that .Net Framework and Mono will cease as separate platforms... and .Net 5 will be effectively Standard 3.0 with code from Core, Mono, etc as a single, unified framework.

The are deprecating all of the past in favor of .Net 5
I wasn't disputing the plausibility, rather the knowledge. You can't intuit your way to rationally justifiable prediction of future global events by thinking through a few toy models. Even predictions far better founded on reams of real empirical evidence are notoriously shaky (see Philip Tetlock's work amongst others).

Your guesses happen to be guesses I share. But they're just guesses.
WebEx is a big one for me, if not for that I could switch over full time. Currently using a windows VM in qemu.
Not if you begin by blessing the scrolls.
As someone who's pretty familiar with both bash and PowerShell, I don't consider either of them better or worse than the other, just different. I think of PowerShell as something in between a traditional command-line shell like bash and a scripting language like python, with a mix of the strengths and weaknesses of both. It's not the best of both worlds, nor the worst of both worlds (each of which I've seen comments online arguing), it's just "some of the good and bad of both worlds."
https://en.m.wikipedia.org/wiki/Glass%E2%80%93Steagall_legis...
yeah I mean unloading is not even that good without a .net core 3.0 preview.
I think that in 5-10 years new stuff will emerge based on AssemblyLoadContext, maybe even some kind of OSGi just a little bit easier. Some examples are really promising and AssemblyLoadContext does not have the same problems as Java solutions. (duplicate Class Files, etc...)

the only thing that is missing is some kind of security related stuff.
Is it obvious that the same variable is assigned in every branch, though?
Actually JS just cloned those ideas from C# and Python.
>2 followers
>no details of what they were even building

Same old game developer narcissism. I bet Nintendo was really worried about your game coming out too, in case it hurt their Switch sales. How can a person be so conceited?
Given the evidence, every nation of the world should have a massive federally funded project on the scale of the Apollo program to put the brakes on global warming and biodiversity loss.

It blows my mind that we haven't dropped all luxuries and transitioned into the analog of a war economy to address what is literally, without hyperbole, the worst catastrophe humanity has ever seen and will likely ever see, by any definition.
Pong clone in JavaScript with source code
That would make the list of supported video codecs a better fingerprinting mechanism.
> Pipeline compressor stations often generate 35MWth+ in waste heat, which we can use at about 20% efficiency to generate electricity.

Can the waste heat be used for distillation instead? To heat up the fuel/water mix to separate the two cleanly?

It would seem to me that the future of "waste heat" is to actually utilize the heat, instead of powering a relatively inefficient heat-engine. Perhaps instead of 20% efficiency, you get closer to 100% efficiency since all you'd be doing is running the fuel-water mix to the heat-source to evaporate the fuel out (I presume anyway, I'm no chemist)
Quite frankly, the difference here is that WSL is supported by Microsoft and it ensures compatibility with open source tools, while Wine is all about reverse engineering, it's not complete and every time an application gets updated it could completely break.
Furthermore, performance and direct HW access are way more important in my DAW (where I make music and want to eliminate every ms of latency) than in my dev environment (at least to a certain degree).
These kind of gigs are definitely nowhere near as common as they once were, but they haven't evaporated completely - I work in emergency services infrastructure in the process of a 10 rack build and that is something I don't see changing in the next 10 years, where we will do a refresh possibly once, or twice more.

The complexity in our case is in the backend transmission network and unless we control everything (hardware, network) end-to-end as much as possible, we can't guarantee to getting close meet our SLA's for our customer. They wouldn't allow us to run our system in the cloud even if we wanted to.
True.

When in Java, I've gotten into the habit of using the final initializer to mitigate these kinds of issues, like this:

final T var1;
if (cond) {
var1 = x;
} else if (cond2) {
var2 = y;
} else {
var1 = z;
}

In this specific case, the compiler will catch the lack of initialization in the second block. It's also very helpful with a complicated/nested conditionals to guarantee that you initialize the variable through every code path.
“Simplicity is a great virtue but it requires hard work to achieve it and education to appreciate it. And to make matters worse: complexity sells better.” - Dijkstra
Unless your current degree isn't terminal (ie: you plan on applying to other programs), and your grades take a hit from being in a group with a weak member.
Build a Turtle Graphics API in JavaScript