skysight-inc/HackerNews huggingface dataset:
I'm thrilled to see this, because I have been experimenting with using async functions that directly render their own DOM trees in between awaits, and I recognize a lot of the sentiment in the "Introducing" blog post, but I didn't have the insight of using generator yields with DOM trees, instead I had async functions that did this.draw(tree).

I had a different way of dealing with events. Basically I was seeing an app as a process hierarchy of self-drawing widgets that communicated via channels. I ended up wanting to make my own language to get decent pattern matching and the possibility of preemptible processes...

And for example instead of the Timer example which uses this.refresh in Crank, my version would have something like:

let s = 0
while (true) {
this.draw(<div>{s}</div>)
await sleep(1)
++s
}

Then to deal with buttons, something kind of like:

let i = 0
let increase = channel("+")
let decrease = channel("-")
while (true) {
this.draw(
<div>
{i}
<button onclick={increase}>
Increase
</button>
<button onclick={decrease}>
Decrease
</button>
</div>
)
switch (await pick([increase, decrease])) {
case "+": ++i; break
case "-": --i; break
}
}
I don't fully understand what this is capable of. Can I use this to run a window manager like xmonad? If so, does it work only for linux gui apps run through WSL or also for windows programs?

I really love what WSL has been doing so far and this would really take it to the next level. I'd actually consider switching my private computer to Windows.
Visual Explanation of Google AI's SimCLR Paper
If the font is not a pixel font, it will render differently depending on your settings and the choices of the rendering engine. Subpixel rendering for the different LCD-screens, aliasing for the pixels to look smooth on low res screens, hinting for those small details to be visible in vector fonts.

Vector fonts are made of lines that can sometimes be smaller than a pixel wide. Font engines solves this in different ways. It both depend on the quality of the font and the settings of the engine. (I'm no font expert though so names might be off. But I have been playing on and off with pixel fonts and vector graphics since 30 years)
I was doing volunteer work with The TAG Project when they decided to add a list for highly, exceptionally and profoundly gifted. They called it TAGPDQ for pretty darn quick because no one actually wants to admit to looking for a support group for the upper echelons of giftedness.

It was hard to get conversation going there. I was the lead mod and I succeeded, but after I left, conversation petered out and it's rare for an email to show up on the list these days. (As far as I know, I'm still subscribed to that list.)

People have a super hard time talking about the sorts of problems you describe, but it's a really common story for highly gifted kids.
> first/business subsidize coach

Really? How come first has all but disappeared on European flights and business keeps shrinking?
The website current is an introduction to just the language itself. Later we have detailed documentation on the subject of OTP, but there is a lot of work to do first. Gleam is a very young language.

As a keen Erlang programmer I assure you that Gleam will do its best to make full use of the runtime's fantastic properties :)
I love the article! Couldn't agree more!
One of the trends was set by, who else, Microsoft. They went mobile first, failed miserably, but still kept the concepts.

It's prevalent in their UWP apps - especially settings, in Win10 - one of the worst UI's I've ever seen.

I can't explain how much I hate this.
I tried to power off an iPhone today for 5 minutes, failed, and just gave up. Why Apple, why would you make this simple action so damn obscure.
To the dead comment:

Oh, I respect and empathise with everyone, even those I actively detest - but I also pity them, and can’t help but see them as poor fools who know not what they do - and as a result my politics sit firmly on the socialist side. I don’t think it’s fair that we have such ridiculously uneven distribution of intelligence, or wealth - and we can only address one of those.

I can’t claim that my psychology is either good or correct, but it is what it is.

As to “I think I have the world figured out” - I absolutely don’t. It’s an intractable and fascinating system, with more variables than one would believe possible. I’ll likely never have it figured out, and that’s ok - it gives me an indefinite wonder to contemplate.

I am, generally, quite happy being isolated - it saves me frustrating conversations with people who take offence at my observations, and is protective for my psychological well-being.
Web development projects in a new language is a good starting point because you can do something with pretty UI quickly and with minimum configuration. But it has no staying power. A web developer will be gone after a couple of months (fun to learn!), leaving behind nothing, and suddenly Rust will have lost its footing (systemdevelopment).
The Rise and Fall of Scottish Tomatoes - https://food.list.co.uk/article/17305-the-rise-and-fall-of-s...

‘At the farmers’ markets, people are always delighted to get Scottish-grown stuff. But in the supermarkets, people always buy with an eye on the price. The fact is, heating those greenhouses is always going to put us at a cost disadvantage.

‘Now if something was to happen to road transport, more attention to food miles perhaps, it could change things. Or if southern Europe was to have more water shortages … But that’s looking decades ahead. If there’s ever going to be a Scottish tomato revival, I doubt I’ll be here to see it.’

2009 article, likely he is here to see it.
Bullshit Jobs describes this type of corruption pretty darn well imo. Whenever there is a big pile of money it entire industries pop up on how to get that money in the form of fees. It's a similar phenomenon to class action lawsuits and how if you're a plaintiff you're lucky if you get a $10 check in the mail two years later.
I’ve been passively looking for a better way to build the homepage for ChronVer and these links are right up my alley.

Thanks!
Gotta act soon, IMO. https://euobserver.com/coronavirus/148035

Hopefully the local authorities don't forget this and can use this as evidence against Airbnb-motivated leeches, after the crisis.
Lots of sw engineers dabble in woodworking on their spare time. It tickles a similar engineering nerve, but the lack of "undo" needs a bit of a paradigm shift. You can stare at a piece for quite some time but sooner or later you will have to engage in an irreversible operation.

Being a professional woodworker is not really a viable career option (unless you get lucky). Building kitchens, doing finish carpentry and other related fields of course are, but woodworking is only a relatively small part of that. Very few people can afford the amount of labour that goes into bespoke furniture items.
This looks great. I really like the idea of component changes just being a series of yielded updates. Really tidy API too.
Let’s hear them out in the spirit of debate. I’m curious how this hypothetical VCR is programmed, what the remote and interface might look like. I might even like it, or at least want parts of it as concepts to integrate with other things that already exist. Could shake loose some ideas.

Honestly I don’t know why VCRs are so hard to program but all of the buttons can’t help. I might be getting old but the Roku remote seems about right as far as complexity in the device goes and I can see how a nice interface with relative timekeeping could do what you need without a clock per se. Inertial guidance for timekeeping? A self winding DVR?
Well, you list one of the benefits of running Windows, you can keep working at your company :p. Many companies don't allow running Linux natively. For example, because Office and Outlook are considered mandatory tools. There is other software, which is only available on Windows or the Mac. Also, it is still not a trivial thing to buy a random laptop and get full hardware support, especially with very new hardware. Not even to mention NVidia...

As a consequence, Mac+VMware is my currently preferred way of running Linux, and Windows+WSL is an increasingly attractive alternative to this.
When did Alaska become the land of the midnight sun?

I think it must be something more to it than only the sun. I have lived north of the arctic circle in the land of the midnight sun (Norway) most of my life, potatoes and carrots grown here are not bigger than what is grown in the south where the growing season is much longer.
It’s because the usual, and entirely understandable reaction to talking about this is “oh you think you’re better than me” hostility.

The easiest thing is to just be an island. There’s a reason that people like me are called “eccentric”, because too much time in your own company inevitably results in social drift.
As far as I remember, the "DLL hijacking" is a serious issue when the program like Microsoft Word searches for the DLL exactly at the location of the user file to be opened and exactly after the user selects the file: if you e.g. open a .DOC file from the Documents folder and an attacker placed in the Documents folder his own DLL, that DLL would have been then loaded too by some unpatched versions of Microsoft Word.

I don't see such a scenario described in this article, so it can be that the issue here has much less potential to be misused?

There is also a system-wide solution for all programs at once: SafeDllSearchMode registry entry.

https://www.fortinet.com/blog/industry-trends/a-crash-course...
If you want to overwrite the existing file, you can tee it instead of redirecting stdout.
Cue the obligatory "Then why don't they build the entire plane out of that glue?"
> But, again, this is very low end to middle end 'hardware raid'. It's single-digit disk stuff. It's a cheapo PCI card in a cheapo server.

You can multiplex hundreds of disks across multiple SAS backplanes. And, yeah, those software RAID [0] systems are really cheap. :-)

Software RAID is deployed in low end systems, sure. But also in very high end systems where compromises can't be made. And anywhere in between.

[0]: For example, see: https://www.oracle.com/storage/nas/zs7-2/
“I've got nothing to hide”
What's the best argument against this statement?
That's Cygwin, not WSL. I don't think those two are compatible. I think people want the actual Linux you can get with WSL, not a pseudo-Linux like Cygwin.
Lol, you've just described such a beautiful regression...
I find C much simpler to learn and to write simple things in.

If you learn C, you'll find that most used languages are compatible with C way of thinking. You can pick up C#, Java, Javascript, Python, PHP with ease as you kind of think in the same way.

While Rust, the language might not be terribly complicated, you have a totally different paradigm, the restriction on variables and the borrowing system makes it totally different than the languages people are used to, to the point that for beginners is totally unintuitive.

You can't just declare a variable, initialize it, pass it to a function and get a result back.

You can't have self references in a structure.

No, siree, as a beginner learning Rust you have to do a lot of complicated dancing around the borrow checker.

Comming from C like languages I find even functional languages like F# easier to pick up. Because they feel more intuitive. Unlike Rust you kind of feel what kind of code you need to write to get a workable result.

Right now I feel that the only advantage of Rust over other safe by default languages is speed. You can use low level constructs and unsafe features like raw pointers in C#, but the garbage collector for the safe code slows it down.

I don't think garbage collected languages can ever be as fast as Rust.

Reference counting like in Swift is another way to provide simplicity, but I see Swift is even slower than garbage collected languages.

So if your use case needs both performance and safety, Rust is your best bet.

It seems that from simplicity, performance, safety you can only pick two at once.

Microsoft Research is working on a language inspired by Rust. I'm curious if they can come up with something as safe but easier to use. I wouldn't bet on it. They aren't convinced of the outcome since they recommended to write or rewrite parts of their software in Rust instead of waiting for the new magical language.

A good thing from Microsoft evaluating Rust to use in their huge code base is they learned about a few weak points and are making recommendation to Rust team.

One side effect of Microsoft embracing Rust might be that other corporations like Google and Oracle might avoid it to distance themselves from Microsoft.
sounds a little bit like https://www.qubes-os.org/intro/
A good first step would be for you to stop supporting racist misogynistic islamophobic homophobic xenophobic narcissistic politicians who are pathological liars, science deniers, global warming deniers, and who don't believe doctors and epidemiologists, but do spread racist conspiracy theories.
I’m not even at “rest” let alone “graphql” ... more like create a motley bunch of endpoints via http!
I think we just have to accept that we all are different. Some have it easy, other don't. This comes doubly with all subjects that we are not trained for or not interested in. It might take a lot more to learn or a teacher that understands the problem and can guide around it. Only the individual can say if the added time and effort is worth it. This insight can take many years though, it's hard to get a teenager to believe they will ever need math (or whatever other subject) in their life.
IMO it was not about prediction per se, it was about prediction of magnitude. Will be Wuhan virus bad? Probably so. HOW BAD will it be? That's just another level of prediction.

Remember that experiment with smoke in the room with actors sitting and chatting like this is totally fine? [0] Posting a tweet "I am getting ready to 3-6 months quarantine and advise everybody to do so as well" has much more internal pressure.

[0] http://www.weirduniverse.net/blog/comments/the_smoke_filled_...
N95s are also reusable. Put them in an oven at 60°-100° for 20 minutes and all the virus will belong to death.
What about Zigbee?

https://zigbeealliance.org/
>There are no studies that I can find showing woven fibre or paper mask effectiveness

Oh, well you're in luck. I have just the thing for you:

https://smartairfilters.com/en/blog/best-materials-make-diy-...

This image is the quick, all-encompassing money-shot: https://smartairfilters.com/wordpress/wp-content/uploads/202...

You can make the argument that homemade masks won't reach those levels of effectiveness because of a lack of a strong seal around the airways. And there have been no real-world case studies of cotton masks protecting people from getting sick.

But there are plenty of arguments to be made that support the idea that if 100% of the population wore a cotton shirt around their face, then the pandemic would be strongly mitigated.
It runs X on Windows. This was doable before as well.
Unless you can make Windows render windows on the X server, no, you can't use your Linux window manager for Windows programs.
Energy and (wo)man-hours to run an email server infrastructure and all of the security to go along with it.
@ggreer, the grand-grand...parent, wrote:

> there's no way to do a gradual deploy of the code

There could be version numbers?

some_procedure_v1()
some_procedure_v2()

and new v2 version application server code calls v2 stored procedures. And if v2 app server code gets rolled back / cancelled, then, the v2 stored procedures automatically won't be used any more.
I built a DaaS platform offering analytical information about business failures
Isn't the point that it's less magical - stuff goes where you expect it and does what you expect, not where the framework magically and by convention places it?
Isn't it more the illusion of insurance? There are sooo many stories of Airbnb dicking either hosts or guests around during claims, that I cheer and hope for their demise.
I actually tried using tee to solve this, but failed. :) If you have the time, can you please tell me how to solve this particular problem? I would love to learn, otherwise, I will read elsewhere. The man pages on tee did not contain any examples. Thank you for your suggestion!
It might depend on what you use C for.

Programming web apps and lob software in C might be tough. As would trying to program systems software in Python or Java.
No doubt. I just meant it as yet-another mildly entertaining way to think about exponential growth. Apple put this turd out about a decade after their first computer. It's, at best, about four times faster than the original.

30 years after it was discontinued, you need a computer many thousands of times more powerful to connect the //c+ to a network. That computer costs $9.
Sadly I can’t read it (mobile safari, private mode), I’m being asked to create an account.
I’m always happy if people use Rust. But why call out an unrelated field with a use case nearly opposite of Rust’s design requirements as “the lifeblood” of adoption?
It doesn't matter what X server you are running. It is a server, you can send data to it, and it will render the windows. In this case you tell WSL to use X server on Windows and it will work.
I think I used Xming for this purpose before.
You can also render windows on other computers if network is open and access is provided.
I am not sure to understand the actual level of "danger".

If I get this right, you should have a malware running in the background, waiting for the Nirsoft tool execution, in order to have a malicious .dll be copied in the folder (the author suggests "normally" the "Downloads" one is used) from which the tool is run.

Of course possible, but shouldn't be there other tools to avoid that a malware is running?
This post will be soon flagged and deleted like anything that where Musk screws up, but holy hell.

By any means use any opportunity to hype up your charity if you do it for PR, but at least don't mislead this badly.

Why the need to lie when doing charity?
There are a handful of all business class routes. For example: https://www.britishairways.com/en-gb/information/travel-clas...
I don't think it will cut much revenue from regular business class, rather, it will cut from "first class" (which is on its way out for most routes) and from last minute tickets.
Everybody doesn't agree with you. I believe going Mobile First was the best decision they made in decades.
Is there even a doubt? Windows has a chance at supporting the open, documented interfaces of Linux. Linux has no chance at supported the closed, undocumented interfaces of Linux.
Isn't that what sequential resilvering in zfs 0.8 means?
WiFi isn't much better in my experience. When I take my phone out of Flight Mode, the 4G LTE data connection is established in a fraction of a second whereas the WiFi can take 10 seconds or more. To a known router that is five metrea away.
Some notes:

1) If the SBA received your application then you should see a inquiry on your credit report. CreditKarma is a good free choice to check your report.

2) Chase and other big banks added additional language to their loan contracts that allows them to sue for defaults. Read the terms carefully before signing.
He is saying we should have more equal opportunities regardless of socio-economic background.
It turns out that BiPap machines that he sent are now being recommended more since ventilators are not producing good results for many coronavirus sufferers.
It's always bemuses me to see some Linux developers talk like there is literally no other option, and that all 'real' development is done on Linux.

Meanwhile, in the Real World(tm), something like 80% of all software is developed for Windows or other non-Linux operating systems.

Linux is just the most popular, at the moment, with a small subset of developers in a certain age-range. Mostly web-developers working outside of the enterprise environments, such as startups. These are people that think MySQL is a real database, PHP is a proper programming language, and Bash is the only shell.

I have the same reaction when I see some documentation with instructions on "how to set up Kerberos support" that doesn't even mention Active Directory. It's as if the authors came from some alternate reality, a parallel Earth where Windows Server isn't quite literally 99.9% of all deployed Kerberos authentication systems.

I'm a consultant that gets to visit many different types of organisations, big and small, many with on-site or outsourced development teams. Almost all of them use Windows, develop in C#, VB, or Java and deploy on IIS or various Java platforms, but still on Windows. There are a handful that use the LAMP stack or WordPress, but these are few and far between.

Try Visual Studio and C#, focusing on its strengths like the "async" keyword. Try writing a little web app using the latest .NET Core and MS SQL Server 2019. Try adding some ColumnStore indexes on your data and point PowerBI at it. The performance will blow your mind.

PS: All of the above are free, and/or free for developers:

https://visualstudio.microsoft.com/vs/community/

https://dotnet.microsoft.com/download/dotnet-core

https://www.microsoft.com/en-us/sql-server/sql-server-downlo...

https://docs.microsoft.com/en-us/sql/ssms/download-sql-serve...

https://powerbi.microsoft.com/en-us/downloads/
But doesn't the burger menu usually open/close a drawer? On gmail all it's doing is expanding/collapsing the menu that's always on the screen no matter what. Feels like Google is breaking their own convention here.
It's far easier to use Dictionary in C# than HashMap in Rust.

However we aren't comparing languages here but standard libraries.

If we introduce modules in C instead of header files and add some simple data structures and algorithms to stdlib, I can see C being simpler.

C++ has data structures in its standard library and will have modules starting with C++20.
seems oddly familiar. sure let's do it
I have written a transformer-based (BERT, XLM-RoBERTa) sequence labeler/lemmatizer/dependency parser in Rust with tch-rs [1] and it is great! Some parts do not feel rusty. E.g. dynamic typing of tensors, you get a Tensor rather than Tensor<f32>, but that's more due to how libtorch itself works. But it's a very straightforward API that exposes most of libtorch. The maintainer is also very nice and responsive.

I was also amazed how much is implemented in libtorch itself as opposed to the Python wrapper, which makes much of the Torch functionality available to other languages.

[1] https://github.com/stickeritis/sticker2 https://github.com/stickeritis/sticker-transformers
I (and most of my colleagues) stopped using vcxsrv at my workplace since we moved from Qt4 to Qt5. At some point in between, Qt stopped supporting native X11 painting[1] which means all of the graphics are now drawn as bitmap at server side and sent in whole to the client. That easily hoses up our network. The problem is more exarcebated now that Japan has declared state of emergency and everyone is urged to work from home. We now resort to using VNC solutions. (I wish we had developed a curses client along with the GUI for times like this)

[1] https://bugreports.qt.io/browse/QTBUG-50338
apt automatically removing dependencies by default is such a trap, I much prefer pacman's behaviour of refusing to remove package that breaks dependecies unless explicitly told to do so.
Why is this article so small, couldn't the author take a bit of time to explain some things?
A website can just force a download of a dll into the downloads folder and most people wouldn’t notice it. If you then download the tools and run them you run the code in the dll as well.