skysight-inc/HackerNews huggingface dataset:
Composing first-class functions is much more idiomatic in typescript, because there's only one function type, so you can do the railway-oriented programming style. In a sense Rust doesn't quite have first-class functions yet (and I'd argue that NLL actually made functions less first-class than they were before): you can't always pull out a given block of code into a closure, because the resulting code may not pass the borrow checker. Whereas in Typescript (() => x)(), (a => x)(a) etc. are always equivalent to x.
https://news.ycombinator.com/item?id=22826197
There's something a little humorous about a new VR system whose primary feature is how well it can display VT100 emulators.

I don't know anyone who used MS Windows when their software was all still MS-DOS programs. Windows really took off when programmers started writing programs designed to take advantage of the native GUI paradigm.

Likewise, VR is never going to be accepted as a practical user interface until it moves beyond the concept of "windows". I fully believe it's possible to make a great VR user interface, but I can't believe it's going to look anything like some rectangles floating in space.

This could be a VR-fvwm. What we really need is a VR-GTK+.
In the current situation they probably don't have a lot of incentive to lower prices.

But the question is:

how much premium would you be willing to pay for a local supplier?

If the american company was "only" 50% more expensive, would it work out after the pandemic?
I must say this is looking great to me: https://go-review.googlesource.com/c/go/+/187317/15/src/cmd/...

For me template generation and reflection based metaprogramming are useful enough to make generics less urgent, but these look pretty great. The thing I need more than anything is a good way to look at what is blocking at runtime. For me, pprof has never provided any insight.
Yes, a tiling functionality is something we're considering as a future feature. In fact, the shortcut system is inspired by it.

I'll put curved windows onto our todo list. Not sure if they're a good idea for all applications but at least some would benefit.
No, you can safely assume that your thoughts exist in the moment that you have them. Consciousness is more than simple thoughts.
I took this course few years back as well. Quite enjoyed it at that time. Recommended!
Canada isn't expecting to return to normal for a year or longer.
Worst economic crisis since 1930s depression, IMF says
To go into a little more depth (I assume you'll see this given that you appear to be monitoring my threads):

You seem to have a mental model whereby any viral particle that bypasses your body's physical barriers has "won" - game over. But that's now how the immune system works. We want to minimize the viral load as much as possible, since with all known infectious organizations there's a dose-response relationship: the larger the dose, the worse the illness often is. Tiny loads are often effectively fought off my the immune system.

We this is vividly in a bacterial illness like TB. In TB, there's little risk if you pass a coughing TB patient in the hall. But if you spend the day with them in a poorly-ventilated office, your risk increases. If you live with the patient, your risk is very high.

The same principle applies with viral illnesses like Covid-19. And given that the only access route that is actively pulling viral particles into the body is the respiratory tract, it stands to reason that protecting that route has a higher payoff than protecting a lower risk route like the eyes.

That's not to say that people in high risk situations like Covid-19 wards of hospitals shouldn't cover their eyes! Obviously, they should and do. However, for most of us, the best protection we can use without using BL4 protection gear (obviously, not practical or needed for the general public) is to wear a mask. Mostly, the mask is to protect others from you, but depending on what kind of mask it is, it can also protect you from the virus.

Finally, most health authorities are now recommending that the general public wear masks. CDC changed their recommendations a week or two ago to recommend wearing masks. As usual, the WHO is moving slowly as large bureaucracies often do, but I don't doubt they'll also recommend them in the end as more evidence of their efficacy emerges.
It definetely 100% depends on the team. I've seen other teams where their scouting software was custom written entirely by one of their mentors (and I know this because I overheard them say they couldn't do xyz because their mentor was busy with another commitment and couldn't do it until the next weekend). [Developing scouting software is a great excuse to learn to deploy backend systems, develop native and web apps].

With my former team software was always student-led. We had a mentor show us the ropes with git and and he'll work on helping people who are stuck. I think you can evaluate a team based off how they do at an event off the field. If they can still make changes to their codebase or robot then they're fine, but if they say "Mr./Ms. ____ isn't here so we can't deploy any changes" then that's really concerning.
Seems like if that were true then housing costs in CA would go down, and then people would move back, and then they would go up until, well, an equilibrium is reached where people are paying what they're able and willing to pay to live somewhere.
> we'd all be panicking over the unemployment numbers.

I'm not sure why you aren't? capital might help companies stay afloat but they won't be hiring till theres work again.
Delays and Unheeded Warnings Hindered New York’s Virus Fight
Thank you for expressing your opinion here. I think it's often under-rated just how well Apple understands it's customer base and it's because these types of opinions are over-shadowed by developer gripes, especially on forums like this. One of the most impressive things I see Apple do is introduce products and features that they _know_ will land will with their existing customer base.
In related non-news, it is possible to bounce signal off a meteor trail in the atmosphere. How cool is that?

http://www.ccas.ws/radioastronomy.html
IIRC the Quest is too different, but our medium to long-term goal is to design a portable computer in HMD format, if that's feasible.

I'll take a look at Quest docs and see if it's doable, but I don't have high hopes for it.
FWIW, NVIDIA TensorRT pre-profiles the models before it runs them. I don't know how it does that exactly (that part is closed source) but I'd guess they just try different algorithms on each op individually (i.e. plain conv vs Winograd) and pick a good balance of speed and memory usage according to heuristics. On some nets this can make all the difference in the world, and ResNet50 is basically the most studied architecture in existence, so you can bet it's in every single benchmark for this kind of thing, and as such it receives disproportionate attention.
Yeah, totally. If you're talking professionally, it helped me make the transition from a pure dev role at a financial firm to a quantitative front-end role. If you're talking about personal projects, it helps a lot if you want to develop your own quantitative trading strategies. I've been using https://www.quantopian.com/ to develop strategies and am currently trying to get on the board for their contest https://www.quantopian.com/contest. I'm hoping to try and get an allocation from them. They currently manage somewhere around a couple hundred millions dollars and allocate money to various algorithms that win the context, allowing you to net a percentage of profits of the strategy.
It was good like 10 years ago and it did age well but it's a little bit outdated on the video/audio quality and the tools and algorithms you learn about. I think it's surprisingly up to date for a fundamentals course that old, but still a bit outdated.
> But that is asking for work!

> That's a great example of "why don't you just... $TRIVIAL" where $TRIVIAL = "turn off the restrictions"

...they put work into creating those restrictions in the first instance, they didn't have to, they chose to, without seeing what it would break for end users.
> The use of `let` to declare immutable values is well-established in programming languages.

Javascript, Swift, and VBA have let.

C, C++, Java, C#, PHP, Python, Go don't have it.

I'm also willing to bet that if you haven't studied math in English let is a non-obvious keyword.
Doing globalism "right" requires that there are no borders at all, so it would be solved in exactly the same manner as if the factories and the supplies were in two different corners of Country X.

We are also not getting there anytime soon.
That sounds perfect. Would it be on both sides of the time segment (2 handles)?
I can't blame them, just like I can't blame a company for becoming a monopoly. We need to regulate them like we do with antitrust, worker's rights, and other things. The free market unabated is terrible for humanity.
I tried to use it, but it is very confusing. I added a personalized message at the start of it, hit submit, and it comes back saying "Please check that all required fields are completed and try again." The only thing I hadn't checked was the "Yes I want to join EFF's mailing list". I gritted my teeth, checked it, hit submit, and got the same message.

FF 74.0.1, 64b, windows 10
I appreciate what you are saying but the reality is, at least from my personal experience through a number of crises, is that once the stock is significantly damaged, stock-compensation-heavy companies should just expect to lose their top tier talent. I have seen it happen over and over. It is better just to accept that it will occur.

I have never, ever seen experienced management be able to recover the situation. What really happens, though, is: if your company was not already running lean, and had a good amount of redundancy, you will lose some of your top tier talent but not all of it, due to reasons such as inertia, sunk-cost-fallacy thinking, true belief, family circumstances beyond your knowledge, and so on. One of the lessons that crises teaches is that slack in the system and redundancy is actually good. The experienced managers then credit themselves instead of these factors.

One interesting takeaway is that lean startups, that can't lose more than one or two of their senior engineers, die in these situations.
Looks like you did well!
Beginner's Tutorial: Learning Kotlin
I'm a blind person and have used this feature on iPhone for years. It's just so, so much faster than anything else out there. Not as fast as a physical qwerty, but close. For people living in the U.S. who have learned english grade 2 braille (basically characters that let you type common combinations of letters quickly), it's probably even faster. Using the touch-based qwerty with a screenreader is doable, but very, very slow. To explain some of your concerns, yes, it reads aloud the letters you type, and reads whole words after a space. You have some basic editing gestures, like delete character or delete word. If you need more, you go out of the braille screen input mode, edit and then go back, that's jhow it works on iOS, at least.

btw. This feature wasn't invented by Apple. The first app that had this was called M Braille, and it was pretty expensive. It was rather inefficient, as you had to tpype the text in the app, copy it out and paste, as iOS didn't have external keyboard support back then. People still preferred that over using the qwerty though. Then, when iOS8 became a thing, M Braille was essentially sherlocked, as the feature had became part of iOS itself, and it was so much easier to use.
Life After Covid-19: Letter from Beijing
I second that - great content, but terrible audio / video quality, unfortunately, which makes it less enjoyable and a bit of a struggle tbh.
Look at South Korea and Singapore and Taiwan as examples of countries that applied testing early and haven't needed to tell everyone to shelter in place. They have seen some economic disruption, but nothing like the what the US and the EU are experiencing.
I would almost classify this as a teaser for a money-making scam. YMMV.
Since nobody's pointed it out, I'll just say that "Obit" makes me think of "obituary," which may not be an association you want to have.
Mentor involvement really varies team-to-team. I’ve seen teams where the students don’t do a lot on the software side, but the majority of teams I’ve seen as a “software helper” volunteer at events (and talking with other teams) have had significant student involvement.

On another note: the FIRST Robotics Competition’s official support library (WPILib) includes a number of advanced control features (trajectory generator, extended/unscented/“regular” Kalman filters, LQR) that were written almost entirely by students. I was one of the students involved in this work, and I can say with certainty that students can get a tremendous amount out of the program.
Is there a plan to get more advanced courses?

I'm asking because there seems to be an extreme bias towards beginners courses, or content that is rather limited in breadth and depth compared to what a university might teach during a full masters degree.

ie, there's about 50 security intro courses (with lots of overlap of course), one "advanced" course that's been delayed for long and isn't all that advanced (Crypto II from Stanford), but nothing that even comes close to the various full-semester courses covering particular niches that I took in university (for example, we did one full semester course on each of: symmetric crypto, asymmetric crypto, side channels, "special topics" (random stuff), a cryptoanalysis lab, and 3 more niche things - and those are just the pure crypto courses, and even/especially within that area I feel I've barely scratched the surface).

These university courses cover not only more topics than Coursera covers (overall; there are many things even in this niche that Coursera has that we weren't taught, which is neat), but within each we went into considerable depth. In particular we tended to approach them from a rigorous mathematical perspective (number theory, linear algebra, statistics, proofs, etc). My worry here is that Coursera might be more geared towards people that don't need to learn the topics well enough to be actually able to use them professionally, let alone academically. ie, more like edutainment than education (no offense intended. I wasn't sure if I should include that sentence cause it might sound harsh, but I think it illustrates what I'm getting at).

We also didn't have courses that are blatant advertisements (#18568).

I don't want to put Coursera down (quite the opposite), I am genuinely interested in your answer - Is it just me not seeing everything available? Is the field I'm (slightly) knowledgeable about an outlier? Or am I missing the point of Coursera (maybe it's more focused on training industry professionals than academics than universities?) Or is it correct, and if so, is it intentional or unintentional? Is there a single field of study where Coursera could replace a university partly/largely/mostly/entirely? Will there be?
I understand the feeling. Unfortunately it's inevitable that stereotypes etc. end up on HN, simply because HN is millions of people. At any moment, some population sample is getting activated by something that appears here and someone will get triggered into commenting. It's important not to generalize from posts like that to the entire community, because if you do it will feel like you're surrounded by enemies, when the opposite is true.

I sometimes find it helpful to replace "HN" with "large statistical distribution" in a sentence. It's usually true and makes things less dismaying.
the danger with that is always that you end up using words that are subtly inaccurate or that turn your writing into purple prose [0]. For me what really helped as I picked up english (take this with a grain of salt - this was when I was very young and so had the benefit of immersion etc, and i would consider myself fluently bilingual) - what helped me when I learned English was reading a lot of prose by writers that I really respected and that are considered good writers. Particularly contemporary writers, so we don't learn to write like folks from the 1800s. THat helped me learn how words are used in context and pick up the nuances, but it took a few years of course.

[0] https://en.wikipedia.org/wiki/Purple_prose
Coursera for Campus for the time being is free. You need to ask your school to apply:
https://www.coursera.org/campus/

EdX also has something similar.
Under competition, one or two will survive by killing off the rest.

And from the perspective of the victors, it will be a better result, because winning guaranteed survival, whereas cooperation is essentially a lottery. So anybody who has a better chances to win a conflict than a lottery would choose conflict, if they are deciding solely on utilitarian rather than ethical grounds.
Media Consumption by Generational Cohort
Yes, I also think that $99 annual developer account fee is keeping the app garden neat.
> With enough traffic and revenue, you'll get a positive return on hiring a bunch of engineers to optimize things that wouldn't be worth it for smaller sites. With enough engineers you'll get a positive return on hiring engineers to make engineering more efficient.

The problem is that no modern tech company I know actually measures the ROI of this (positive or negative) so it's completely unrealistic to determine the IRR on it. In other words, there might be a scenario where it actually is more profitable NOT to do it.
Going from 2M possible deaths to about 60K in the US is what most would consider an improvement.
> There is no intervention by the US government that could have been done in January that would mean the country would be open for business today.

Sure there was. Other countries did it. The US and the EU were caught unprepared but several countries in Asia did the right thing, probably because they had previous experience with SARS.

A total societal lockdown is not the only viable response to a disease like COVID-19. It might be the only viable late-stage response, but early testing, tracing, and quarantining has worked in other countries and it could have worked here if our government had been on the ball.
This video convinced me even further that dynamic typing is superior. The speaker basically admitted that static type checking still requires unit tests because types in statically typed languages have too broad/imprecise granularity. I was also thinking about issues related to timing, race conditions and incorrect state mutations; static typing doesn't prevent any of these. IMO, static typing doesn't even begin to address a tiny fraction of all the possible programming mistakes that one might make. IMO its added utility value is often so low that it's basically not worth the mere hassle of having to come up with type definitions.

Personally, when I write a function definition, I always try to visualize the set of possible values that the function will need to handle - So given that I already have that precise set of possible arguments already in my mind as I write the function, it doesn't add any value for me to then formally generalize my function parameters as being integers or strings or some other types which are too broad to effectively constrain my function input to the required level. With static typed languages, merely specifying that a variable is an integer doesn't save me from having to think about what specific subset of integers I mean. For example, if my function only works with odd numbers as input, using the integer type definition will not offer me any additional safety.

I would argue that most functions are like this. The type definitions are never granular enough to guarantee correctness. The type system only protects you from the most basic/obvious mistakes - So obvious that you don't even need the type checker to tell you.
Lessig vs. NYT: Very. Good. News
Every advertising business reliant on brick and mortar or real estate is going to be decimated.
Would you consider working with visual artists other than painters (I have a good friend who is a textile/fabric artist)?
Cringely on IBM, Red Hat, and Whitehurst: https://www.cringely.com/2020/01/31/predictions-for-2020-ibm...
I think the point was startups shouldn't have non-essential expenses, full stop... if the churn of the nuclear option works out, you really need to ask how so much waste accumulated in the first place.
"Understanding" entails knowledge of the semantics. This means understanding the meaning of syntax, and the behaviour of the functions being called. This is true of both code fragments presented, so if you find one more intuitive than the other, that's your bias and not necessarily some objective feature of the syntax and semantics.

Maybe most people share your bias, and so it could qualify as a reasonable definition of "intuitive for most humans", but there's little robust evidence of that.
> iOS has a 13% market share anyways.

Not in the US, where as of March 2020 it maintains a 60.1% share.
Is this where the term "nudist colony" came from?
> Because what do you get out of it?

Because they felt like it?

I can definitely see how someone might think that it is cool to cause a news story.

> Why do free work

You are overestimating the amount of "work" that would go into something like this. I do stuff all the time, just because I felt like it.
Have we started looking for modulations like this with SETI? A signal would have to be quite loud to be ordinarily detectable, but someone might embed e.g. digits of Pi into an ultra-wide spread spectrum transmission that could be detected even though it's far below cosmic microwave background.
Except Meraki - that’s been kept seperate in a similar way to RedHat.
1) I was specifically referring to medical professionals working with Covid-19 patients. I had assumed it would be obvious, since that's what we were discussing, but clearly that was a poor assumption.

2) That said, even if you're talking about all medical workers, I think you still may be wrong. All dentists that I know locally (2) are wearing gowns, and say their colleagues are, at least those who haven't closed down temporarily. And many other doctors and nurses who aren't working specifically with Covid-19 patients, but who still come into contact with them, are wearing isolation gowns. They're taking the same kind of universal precautions they do for HIV prevention, and assuming that any given patient may be carrying the disease. Given what we are learning about asymptomatic transmission, that's probably a wise approach.

3) Importantly, you appear to have missed the fact that I was making an analogy, not encouraging the general public to wear gowns (I'm not!). You write "There's a big difference between being a medical worker in a room with 12 people who have confirmed covid-19 infection who are unwell and probably coughing, and being a member of the public walking about outside." But that was not and has never been my argument. My argument was, a similar mechanism of action is in the effect of medical professionals wearing gowns, and of the general public washing clothes after being out in public among probably Covid-19 carriers.

Clearly, doctors believe there's some kind of benefit to protecting your clothing from the SARS-CoV-2 virus, or they wouldn't bother wearing gowns in Covid-19 wards (and elsewhere, as mentioned above!).

All that said, the most important thing to do is to social distance, and stay home unless you must go out. But lots of people have to go out, and for them, a mask is a very good idea, and CDC-recommended.
There are places where even posing this question - at least if it clearly applies to the corresponding nation - is extremist speech. Nations, like all other corporations, are like organisms themselves. They might still act beneficial to their population, but never at the cost of their own survival.
The DIY Ravers Giving Free Masks to Every New Yorker