skysight-inc/HackerNews huggingface dataset:
This is a missed opportunity to make JSX more than solely about UI and I'm pretty disappointed about it.

JSX is really a way to describe a hierarchy of deferred function calls independent of their callers. This could be tremendously useful in a number of different contexts, not just UI. What would a state machine look like if the states could be described in JSX? What would rx.js look like if this mechanism was available?

The current tooling makes experimenting with possible alternate use cases pretty awkward, and so basically no one is doing work in this area.

I believe that these changes, particularly the `jsx` and `jsxs` auto import, will make it even harder to separate JSX as a concept from React and React-like libraries. It'll make it harder to standardise JSX, which is frustrating as it's the most supported ECMAScript syntax extension by a long way.

My modest proposal is that a JSX element desugars to a call to a block scoped identifier called `jsx`, so I can do something like this:

import { jsx } from 'react';
import { elementCreator } from 'somelib';

const someFunction = () => {
const { jsx } = elementCreator();

return <iAmNotAReactElement />;
};

const MyReactComponent = () => <div>cool</div>;

Taking this alternative approach would give developers a widely supported syntax extension that could allow for some really innovative solutions. The current path is going to do the opposite.

I understand that there are perf optimisations that React can do if they control all of this. But I feel like they're looking at this too narrowly, from only the perspective of UI. They have the power to open up a lot more opportunities.
It takes serious engineering. And it's been done.The Dragon, from Zollner Elektronik AG.[1] About a third of the size of Gundam, mostly so it could be transported by road.
True quadruped. Best engineering in the giant robot space so far.

The Sultan's Elephant [2] was bigger, but less technically advanced. The headaches of transporting it were too much of a problem. Once your art project gets bigger than what can be moved by road or rail, there's a problem.

The Land Walker, from about 2006, was about a third of the size of the big Gundam. Biggest walking biped to date.[3]

There's also Eagle Prime, which is really a tracked vehicle.[4]

[1] https://youtu.be/qmbW5gvAX4U

[2] https://en.wikipedia.org/wiki/The_Sultan%27s_Elephant

[3] https://www.metatube.com/es/videos/9905/LAND-WALKER-Japanese...

[4] https://youtu.be/ePINYZK4p5Y
Amazon is selling a $499 Peloton knockoff called Prime Bike
SVE seems pretty interesting. I'd like to see how a bunch of tiny, in-order chips with very wide vector units could compete with GPU designs as CPU and GPU designs seem to be slowly converging.
This also completely ignores the effect on the other pupils. It's like any form of corruption, it lowers morale and makes people view their situation in a reductive and transactional manner. Ultimately it fosters an attitude which is characterised by a desire to game, control and exploit as opposed to learn, understand and engage.
> ...the media are pretty deliberately choosing metrics that are designed to exaggerate the US's handling of the crisis...

"The media" would have had far less grist if Trump hadn't been astonishingly incoherent and outright lying much of the time. I think it's not a coincidence that a good number of nations with delusional tin-pot autocratic wannabee's have been hit very hard by covid-19.
> all of the major strategic competitors of the USA have the same core interests

They don't, actually.

Russia wants to sow chaos in the USA and Europe, because these powers constrain its territorial ambitions. They want strife in China too, but have less ability to sow it there. They want Iran excluded from the international oil trade to improve prices, since they rely heavily on oil to maintain their otherwise decrepit gangster economy. They also border on Iran; normalisation between Iran and the west would open the door to further geographical encirclement.

Saudi Arabia wants Trump to win because he won't interfere their war in Yemen and ignores their support for Wahabbist extremism. They also benefit from Iran's being weakened in the oil markets generally and the middle-east specifically.

Iran just wants not to starve and/or collapse into a viscious civil war turbo-charged by Russia and Saudi Arabia.

Europe doesn't want Iran to collapse, because it would trigger a gigantic refugee crisis. It would also disrupt the global oil and gas markets, making Russia's leverage via gas pipelines more potent. Especially for NATO states in the east.

China wants stability in trade and latitude to pursue its slow-rolling program of dominating Asia. The current administration has been bad for trade, but has neglected to support diplomatic order. China has pushed hard into the South China Sea (throwing an unexpected, massive burden onto stalwart allies, Australia) and into buying votes in the UN's General Assembly. A Biden administration would slow that down. I suspect that China slightly prefers Trump and that the idea that it prefers Biden is a talking point invented for Trump's benefit.

So no. The USA's rivals and allies want different outcomes.
The number of new non-enterprise projects built on C# is off by a factor of 10-100x compared to Python/Node/Rust. And even in enterprise, it's now dying. .net core is an attempt to rescue it on the cloud but it's too little too late.

No matter how amazing the language is, it has become hard associated with enterprise work and not much else. It didn't need to be that way, that's Microsoft's doing.
The fact that universities in the 21st century place such a great importance on athletics is anachronistic and regressive.
2020 is the year of Linux Journal on the newsstand!
Show HN: iOS Logging framework for high usage Apps
When comparing Carbon and Cocoa, only a fool would choose to write an app in Carbon. But initially there were a few problems:

- On old 90s hardware, Carbon could be faster (due to the C API)

- Apple didn't invent AppKit or Objective-C. That technology was inherited from NeXT and from what I understand there was push-back both within Apple and from the Mac developer community about adopting a language with an unusual syntax that nobody used.

Apple tried to transition Objective-C to a modern C++ style syntax, and failed.

Apple tried to get developers to use Java with AppKit (hence, the name Cocoa) and failed.

Apple tried to get developers to adopt garbage collection, and failed.

In the end, they didn't need to do any of that. Mac developers eventually became quite enthusiastic about Objective-C and AppKit and it quickly because the one true way to write Mac apps.

However, it took many years for Cocoa and AppKit to become fully formed. Up until 2009 and OS X 10.6, there were still many things that couldn't be done in Cocoa and required the Carbon APIs, mostly related to the Mac-specific features of the file system, like persistent file references, icons, metadata, etc.

For example, if you want to implement a UI for copying a file, you're going to want to display a progress bar and have the ability to cancel the operation. Up until OS X 10.6, that simply couldn't be done with Cocoa (NSFileManager, NSURL, etc.). You had to use gnarly Carbon APIs.

(Actually, it still can't be done with NSFileManager, but Apple added that ability to the Darwin file system APIs.)

That's why the Finder was initially implemented in Carbon.

And little bits if Carbon still live on in the modern 64-bit Mac world. If you want to implement global Hot Keys in your app you have to use the Carbon API and convert the Carbon key-codes to their AppKit equivalents.
How does this tie to the Vitamin D research?
I enjoy Jekyll, and run about 6 live websites with it.

But lately I’ve been using Gatsby/React, first out of curiosity, but now because it’s much quicker for me to develop.

Jekyll’s partials are nice to use but can become hard to read when there are too many variations, or if there are things to be calculated per instance. The Liquid template engine is quite limited.

Also, I absolutely love React’s CSS Modules, which solves the namespacing of Jekyll’s partials.

And in general I find working with React components much easier.

I still use Jekyll for tiny projects [1], but go the Gatsby way for more complex stuff.

[1] https://f1standings.com/
I think this is more generally true - the existence of the check has no bearing on the liability; it's only when you cash it that liability is resolved (i.e. it's the bank transaction that resolves things, not the check)
Can’t wait to bring this up whenever they call for alumni donations!

Never giving a penny.

(In all seriousness, the people who call are usually just students working a job, so be respectful of you plan to do the same. Just ask to mark that as the reason for no donation).
Better choice would have been "Subsystem for Linux on Windows". Its all indeed a big naming confusion
And if you think "Windows Subsystem for Linux" is bad, the subsystem that enables the Win32 API is csrss or "Client/Server Runtime Subsystem" and it makes you think: why does that subsystem not mention Windows but the Linux one does?
Yes just use a hex editor and every data is text-based.
Is grade inflation for rich students really an issue at many colleges? Most majors at most colleges are honestly not that hard. Anyone who shows up and does a modicum of work can skate by with a gentleman's C.

At D1 schools the football and basketball programs generate huge revenue, which is used to subsidize less popular sports (particularly women's teams under Title IX). For better or worse a lot of prospective students care about sports and it's a factor in making colleges more attractive.
Yes totally. I mean I essentially did by sending them the topics. I will say that their quality controls seemed really good. They talked me through the topics I had ideas for and definitely wanted a deep dive into both topics while making them very newbie friendly. But I guess not a ton of money in that.
It might be somewhat simple, but their paid Visual Studio IDE demonstrates no way to get there, and it probably should. The only project types tagged as services are .NET Framework templates to make a Windows service.

I have to apparently read blog posts about how to get there myself with .NET Core. Suffice to say, Microsoft's move to the open source/Linux mindset may have come at the cost of being similarly confusing to get started with.

Note that your blogs happily tell me to add a single NuGet package for Windows or Linux, but doesn't bother to tell me how to assemble a project that will work on both.
either we get to see more privacy in the eu, or less of facebook. I would not mind getting both
It's a slightly different philosophy. Emacs is best viewed not as text editor with plugins, but as a Lisp Machine emulator with a text editor. The joke about it being an OS is more true than people think: what you get is a (2D, not 1D like shell) text-oriented programming environment, back from the times where "a programming environment" meant a fully end-user-programmable OS.

This has an important downstream consequence on the "plugin" ecosystem: since these "plugins" are better seen as small applications running on in a shared, restriction-free OS, they don't need a fixed and restrictive API to interoperate. The entire Emacs is the API, and as long as an elisp app follows conventions and plays nice, it will almost seamlessly interoperate with every other app. And in cases where it doesn't (e.g. you try to use two apps that do roughly the same thing), it's relatively trivial to patch out the conflicts yourself. Having an integrated debugger and REPL is also helpful :).

VSCode philosophy feels more restrictive compared to that.

As for the keyboard conventions, it's true and it impacts the market share, but that's a problem for almost any software that reaches longevity. Conventions come and go, so it shouldn't stop one from learning a tool that keeps proving its worth over decades. And in case of Emacs, if you don't like the default keybindings, you can quite easily patch them up to follow whatever convention you fancy :).

Terminology is a slightly worse problem because you can't patch that out if you don't like it - but then again, it's just a bunch of terms you need to learn; par for the course for any developer.
Is this the line length limit you are talking about?
https://archive.org/details/ProceduresInExperimentalPhysics
I spoke to the team in KubeCon last year and they said “our research team is looking into it” with a hand wave. I doubt IntelliJ will actually implement this anytime soon, sadly.
LAPD Reportedly Used Facial Recognition Nearly 30K Times Since 2009
This is also true with TRAMP. Anything in core Emacs, and any package outside it that isn't aggressively poorly written, works transparently with TRAMP. The core utilities for interacting with the OS such as start-file-process are all TRAMP-aware. (Or more specifically, TRAMP provides file handlers which customize start-file-process)
Google Nest Device Access Console now available for partners and individuals
Much appreciate your feedback and advice. I was considering using F# instead C# for my potential .NET-based solution. But not because of Microsoft's ML push for F# (which seems to be just a move to achieve feature parity with C# within ML.NET framework, which, by the way, is not as comprehensive as relevant Python ecosystem), but rather because of F#'s meta-programming features. However, the advantages of F# still do not overweight its IMO two main disadvantages: a much more limited (vs. C#) pool of available developers and limited support by tools beyond Microsoft ecosystem (e.g., by JetBrains products).
Peter Schaeffer,

I have used Python, Java, JavaScript, PHP, and C/C++ quite a bit. What follows are my thoughts.

1. There is a general trend towards high-level interpretive languages (Python, JavaScript, PHP, Perl, etc.), and away from compiled languages (Java, C/C++, etc.). The key driver has been and remains the declining cost of hardware. Basically programmers can get a lot more work done, in less time, using interpretive languages. Of course, interpretive languages are massively slower than compiled languages. However, they doesn’t always matter a lot. Say a program would take 4 hours to write in C++, but only one hour in Python. If the Python program runs for 10 seconds on a PC, does it really matter that the C++ program would run in less than one second? Basically, cheap hardware make programmer productivity, the key issue, which favors interpretive languages.

2. These days JavaScript is actually a very good, very powerful language. Perhaps better than Python even. However, JavaScript only really works in a browser. Yes, you can use node.js. However, in my experience node.js is painful at best. For better or worse, the link between the browser and JavaScript remains firmly intact. The reverse is also true, running Python in a browser is painful at best.

3. PHP is also a rather good language these days. However, it tends to be viewed as a website tool and not as a general purpose programming language. That might not be fair, but appears to be true. PHP also suffers from a few quirks (all those dollar signs).

4. The Python 2->3 transition was hard for many folks (not me, I started with Python 3). However, it is mostly over by now. The transition did bring one rather large benefit. Python 3 fully supports Unicode. The same can not be said for a rather long list of languages.

5. As the author pointed out, Ruby has always been handicapped by its origins in Japan. That may not be fair. However, it still appears to be true.

6. Perl is just a relic from the past. Essentially nobody takes it seriously these days.

What this amounts to is that Python is the “last man standing”. Hence, the rising popularity of Python (outside of the browser).
Umm.. hmm.. well I thought this was obvious and think there is benefit to the students who don't come from elite backgrounds. The point of these universities is to not only give an education but socially connect students. If you are a student without a family that has powerful connections you could potentially meet one of these students and become friends, thus increasing your social power. Going to a top notch University is not just about learning. I learned more and had better instructors at city college, because they cared more and were more available. Speaking with busy TAs at a top notch school weren't nearly as helpful. Going to a top notch school is about socially enriching yourself with others who are ambitious and connected. It's about synergy and having a diverse student body only increases that synergy.
I.... I'm having a hard time understanding why anyone would have a moral problem with that? It isn't even 100 active CIA agents who have nothing to do with Russia, apparently these agents actively damaged them.
First, you should immediately delete this. If anyone at your company, or “Jake”, sees this they will immediately know who it is about. I can’t imagine the HR disaster if that happened.

Second, I cannot believe you are actually entertaining the idea of continuing to allow this person to live in your office, destroy walls, and destroy company equipment. Are you nuts?
What's New in the Windows Subsystem for Linux
Confidence, whether justified or not, comes from leaders who can speak coherently and can be trusted to not mislead.
A selection of projects designed to learn to write Rust procedural macros
I seem to recall having a program called "Twister" that could format disks like this.
> Much of the world doesn't actually enjoy living under total American hegemony

Worded like that, yes.

But purely anecdotally, having had the chance to visit 35 countries, and having talked to a lot of people about world issues, I've seen nothing but good will and friendliness towards the American people for the most part. In fact, I very regularly get words of encouragement from regular folks in other countries who feel pity for us and wish we'd be "back to normal" (not debating the merits of that statement here).

It's hard to overstate how deeply influential and strong is American culture in other countries, and the sense of friendship that that has forged over decades, even if it's not always reciprocated.
I think it's the core product values for me.

JetBrains IDEs are development environments, meant for editing code, in specific primary language. They really try their best to understand code that user works on (which is a hard problem, because code is frequently invalid while it's being actively edited), and make it as convenient as possible.

VSCode is - in my understanding - essentially, a step over older glorified extensible notepads on steroids. Unlike those older extensible notepads, it does have built-in programming language editing features, but mostly it's still not the core product but rather a job for extensions and language servers to fill that niche.

So for me VSCode wins over editors like Sublime or Atom, that don't have core programming language processing concepts baked in, but still loses to the specialized IDEs where specific language support is a primary feature (like PyCharm or GoLand).
Had the same thing happen with my wife’s Apple Music 3 month trial.

She accepted the trial, then went into settings to cancel the subscription so she wouldn’t be automatically charged at the end of 3 months.

With no warning, the subscription was then completely cancelled with no ability to use the rest of the trial. (Unlike some other Apple trials.) When asking Apple Support about this, they referenced an obscure sentence in their terms and conditions. They could do nothing to re-offer the trial to my wife. So consumer hostile.
That’s surprising, in that situation my VS Code tells me that it’s turned off syntax highlighting because the file is too large.
Actually, one of the main criticism of meritocracy (as in, the social structure that we (the Western civilisation) strive to have, not the stupid "it's not actually a meritocracy" argument) is that, combined with assortative mating, it would eventually result in incredibly unequal society, with high-IQ genes becoming increasingly concentrated.
Microsoft Gets Exclusive License for OpenAI’s GPT-3 Language Model
Maybe the word “open” has a new meaning of “not open”, much like the word “literally” can now sometimes mean “not literally”.
This forum is turning into reddit/r/politics
I have this idea, be honest and but firm, and do a proposition to him: you'll allow him to stay and continue working but he has to accept taking a serious psychological treatment, that person needs mental attention immediately. He sounds like a reasonable/intelligent person, try to negotiate something that helps him and you.
This person is a true hero and it is sick what the state is doing to him.
> Workloads just aren't often large and sequential enough

Another important thing to mention is that even on sequential write workloads where NVMe shines they actually have limited benefit. Because after the SLC cache fills up seqential speed drops like a hot potato.

So if you're copying a smallish large-file which won't fill the cache then it'll be few seconds faster than a SATA drive. Or you'll be copying a large large-file, which'll fill the cache and drop to NAND speeds so it'll still end up being few seconds faster than a SATA drive.
Everyone should but how many people have the time to do the geopolitical research unless it hits home?

It wasn't enough in the relatively innocent "good old days of bush", now social media has been weaponized
I'm not sure what the future holds for this kind of AI development, but Microsoft's move on GPT-3 does seem reminiscent of News Corporation's acquisition of MySpace.
Isn't anyone going to mention the importance of tests for extra documentation? I am interested in hearing your thoughts on that. I have understood how/why code works multiple times by looking at some test cases. Tests may also reflect the end decissions made on other platforms like pr comments, jira, slack.
This sounds very interesting. I didn't realize there was that much of a difference using the new APIs.

I have been playing around with interop against LibJpegTurbo Encode() and I am now curious if I've been leaving a ton of performance on the table.
But why? What if one {football player|kid-with-rich-parents} can subsidize 10 other need-based students who otherwise would not have been offered a premier education? In terms of reputation, imposters tend to fade into obscurity in time while those 10 will go on to build the schools brand.
The Future of Rideshare Is a Remote Control Rental Car
Proven how exactly? I was reading this recently: https://torrentfreak.com/ovpn-wins-court-battle-after-pirate...
I know in my brother's university (IT-BHU), they put caste names next to students' names. And this was a top-tier government university at that!

In my University (IIT-D), I believe certain scholarship announcements revealed details about students' categories, ie whether they were SC/ST/OBC/General. Especially if it were a means scholarship.

Worse case, professors in India have zero personality training, and will casually ask such questions of their students.
StitchCounter Bot
You might qualify for the Syncfusion Community License:
https://www.syncfusion.com/products/communitylicense

Radzen also has a component library available:
https://blazor.radzen.com/

https://abp.io/ recently added Blazor to their framework that you might want to check out.
I’ve never been to China, but it appears numbers are chosen over letters for ease of memorization, and are not always random digits: https://gizmodo.com/why-do-chinese-urls-use-numbers-not-lett...
Sounds like Dora The Explorer to me. Was it Dora The Explorer?
I don’t really understand “influence over your work” here. I agree that there’s a possibility MS will add some kind of monetisation I don’t like in the future... at which point I’ll switch editors.

But as it is, I’m much faster and efficient using VS Code than I am using Vim. It is in no way a “toy”. And it doesn’t influence my work. It’s a text editor!