skysight-inc/HackerNews huggingface dataset:
This page isn't new enough to include more recent failures.

One of my least favourite was when it was not possible to configure the screensaver timeout to never turn off the display. IIRC you had a choice of several fixed times, from 5 minutes to 4 hours, but no "Never" option.

Not useful for systems which display information and are infrequently interacted with. That use case was completely ignored, and for no good reason.
Thank you for the support. I'm feeling positive about the trade off here with syntax, hopefully it pays off.
Web application solution architectures and introducing LAMG stack
It's two facets. On the one hand, people are definitely buying more essential products. They are also definitely visiting more ecommerce sites. They're bored, online shopping is a thing to do.

Most people aren't at the point where they feel they need to drastically cut their spending. Most developed countries have some sort of payment going out to at least the unemployed. Also, even the newly unemployed have only been in that position for a few weeks.

The people who are still employed, whether that's remote or whatever, have a surplus of money they normally would spend on things like travel, events, and dining out. They are absolutely not worried about spending money on discretionaries.

The reality is, people still have a ton of money to spend. And less places to spend it. This recession is just barely getting started.
The problem with the so called self help book is. There are so obvious for some and totally novel for others.
Strongly disagree. There are two scenario in my mind where union types have distinct advantage

1) they allow for "anonymous types", suppose a function can receive a List or a Dictionary, you could define a type List_or_Dict or (Either List Dict) or Result<List,Dict>, but all of them require you to either have the same sum type at the call site or declare explicitly whether you have a List or a Dict by choosing a type constructor at call site, thus breaking the polymorphism of the union List|Dict (where `|` means union).
Another similar example would be with a variable x of type List|Dict and a function f that again accept a String|List|Dict, with union types the call f(x) is perfectly valid.

2) the second advantage is that now you can treat constructors as their own type and define type with arbitrary combinations of them. For example you could define three constructor Ok: a -> Ok a, Err: a -> Err a, None: None
and then have an option type defined as Ok a | None and a result type defined as Ok a | Err b. in this situation there would be no need to convert success type of an option into success type of a result as they are already the same type.

This makes type inference extremely more complex but ocaml shows that it can be done (this actually negates my initial point)
I might misread you here but what part of the statements of a politician are not supposed to be political there? The notion that this was based on evidence and marketing the study before it even concluded do not really seem to mix that well. And we're not talking about marketing in terms of a press release that went out to soon or an overeager university press department here, we're talking about a marketing agency campaign including singular topic social media account and sensationalization of the results.

https://www1.wdr.de/nachrichten/landespolitik/heinsberg-prot...
It reminds me of Operation Barbarossa. Many reconnaissance pilots rang the alarm about the huge buildup of German forces near the Soviet border (in Poland). They weren't only ignored, but threatened. That continued even early into the German attack. German soldiers swam across the river to warn the Soviets. They were shot as enemy agents.

You don't prevent a fire by taking the piles out of the smoke detector.

If you build a culture where reporting problems is dangerous, you'll only hear good news that can be shared and catastrophic news that can't be ignored.
As a bonus, they probably got burnt a bit by the bird flu nothingburger. That will be conductive neither of them speaking up when not being certain and of politicians listening to them.
Where do these terms and figures come from? I’ve never heard them terms before but it’s an interesting framework with which to think about different peoples experiences with UIs. it strikes me that most people probably exist in both categories to some extent : even hardcore sensors will probably know and expect consistency some from apps, eg. some keyboard shortcuts (ctrl c, ctrl v etc) whilst some intuitives will have strong mental maps of certain pieces of software (games where creating such a map is often a path to mastery, or in my case adobe illustrator which is a UI train wreck but with which after 20 years I find it very hard to be as productive with anything else)
GTC 2020: Exterminating Buffer Overflows and Vulnerabilities with Ada/Spark
Phoenix relies heavily on Elixir's metaprogramming features, so we'll always be very limited in what we can with it from Gleam I'm afraid.

One day I would like to have a similar convention based framework for Gleam, but we have a long way to go before then.
Paid app disabled via update, customers offered free trial of new app instead
Asians are not necessarily more "gifted" or "talented", they are hard workers and in high school age, because the material is not that difficult, hard work can bring great results. I am not sure we should reward hard work at that age that much, so in some way I can see why de Blasio is not impressed.

But I do think grouping hard workers together with other hard workers or gifted with gifted as a good idea. Homogeneity is our strength, not diversity. People do great things when they are in an environment where everybody are synchronised and follow the same rules and conventions. I don't know who came up with this idea that diversity is so great, it has its uses but it's a meme and a stale one at that.
> embrace the chaos

Linux was all about chaos and herding cats until a short number of years ago.

It's the "standardisation at all costs" brigade who have killed the goose that laid the golden eggs. It's now far worse than Windows in many aspects. Freedesktop and GNOME deserve the lion's share of the blame, but RedHat, Debian and many others enabled them to achieve this.
Thank you Raj, you're pretty great yourself!
He was giving a talk to people from Jane Street [1], who make money on the stock market using OCaml (mentioned in the same bit).

[1] https://en.wikipedia.org/wiki/Jane_Street_Capital
If a paid app stops working (made to stop working with an update), should not there be a refund? Is this legal?
Great Post!

You would think that unlocking the screen would be highest priority task for a general purpose OS after it has woken up from sleep, but surprising to see that other processes manage to outrank it.

Whats interesting to me is that this LockApp.exe was waiting to get the CPU for a full 19 seconds after it was ready. 19 seconds should be an eternity, I guess.

Since the screen was locked and LogonUI.exe had not got the chance to run yet, what other processes were holding on to CPU at that time. Any ideas on that?
Check out easy way to make money during coronavirus lockdown
I haven't used this Xserver, but I've used most (all?) of the free Xservers for Windows over time.

As background Windows is my preferred desktop environment for about the last ten years[1], but I do most of my "real work" on FreeBSD or Linux; having an Xserver on windows means I can do graphical work and have it mostly work.

Utilitywise, I can do things like running an image viewer to see what pictures I have in a directory.

I run mythtv; most of the administration can be done through the TV facing interface or the web interface, but some things need to be done with mythtv-setup; it runs terribly over remote X (for no good reason), but at least it runs.

I was writing a terrible NES emulator for fun, having an Xserver meant I could write it where I'm comfortable writing software, and display it where I'm comfortable with a desktop.

I'm writing a terrible operating system, which I run with QEMU for the time being; the VGA console is an X window (I support serial console and it's better than VGA, but I like to keep an eye on the VGA, because I'd like to run it on some of my home systems, and they don't all have serial ports).

[1] Although Microsoft seems to be trying to push people away again, running on the default platform has a lot of benefits.
What kind of problems did you have that weren’t obviously nutrition/health related? Curious what your diet is and what we’re the benefits that you saw.
To the contrary, in lots of European countries even international brands buys ccTLDs for their regional sites, because that’s what the local population expects.

.com is often considered the “American” TLD, and you want to go to your local store, with local offers, prices and which speaks your language.

.com often effectively means you need to import and pay customs, and nobody wants that.

Not having an appropriate ccTLD will be major drawback in lots of markets. Nobody serious about their business is going to risk that.
Thank you so much! I was pretty nervous seeing as Code Mesh is my favourite coherence. I'm really glad you enjoyed it :)
What does keeping track of reading mean? Like note taking for novels, non-fiction books, etc?
In China, This Coronavirus App Pretty Much Controls Your Life
While retro-brighting does make it look nice, it can make the plastic brittle. Also on some old computers (Atari STs) you can damage the look permanently if you use even slightly the wrong solution (many people use the Hydrogen Peroxide from ladies hair bleaching producs and it not advisable on some models). It also takes a fair bit of effort and if you aren't in sunny climate the process can be very slow.
With South Africa in lockdown, the lions are taking it easy
The material required to make N95 masks is in short supply because it is tricky to make. It takes a very long time to set up new machines to make this material. I recall reading 6 months.

NPR wrote a good piece about this, if my memory serves me right. I apologise for the lack of sources.
Mm, most of this seems well-intentioned but a bit confused to me. I might specify the easiest point that's mistaken as this bit:

> So you learn from it, yeah? Next thing comes along with a 10% or 20% chance, you prepare for it. You're in California, so, earthquake: you fill up your garage with supplies. The earthquake never comes. Then there's a 10% or 20% chance of wildfire destroying your community... so you move, except the wildfire never hits that community. Armed robbery. Disease. Storms. All of these have some kind of low probability of happening, but will have super serious consequences if they do, so you -- remembering covid-19 -- prepare for each of them.

In the last decade of living in Berkeley, me and my nearest ~150 friends+acquaintances have not experienced a wildfire destroying our community, an earthquake causing life-threatening damage, armed robbery (a few muggings, but less of us have been affected by 10-100x as are affected by covid), storms causing life-threatening damage, etc. So the probability of all of these cannot be 10% in a given couple-of-months period (as we did to Covid in Feb), because they would all have happened like a dozen times in the last decade if so.

10% is just really, really high, relative to the baseline for life-shattering catastrophes. I've seen journalists say "We can't talk about all the 10% catastrophes, we'd look alarmist!" The level of threat that Covid was in mid February was just not comparable to the tragedies you listed above, it was a straightforward exponential growth in a fairly severe disease happening in many countries. You can argue that at the time I (or professional epidemiologists or whoever) should've assigned it the sort of low probability (<1%) associated with things like armed robbery and wildfire hitting me in Downtown Berkeley, but I think you'd be wrong, there just weren't that level of strong arguments about the baseline safety. It was a real risk, and it was correct to prepare in late Feb (as I did, and self-quarantined as soon as the first Berkeley case was reported in early March).

I just wanted to rebut the thing that seemed most wrong to me. I hope you're well in this difficult time.
You could definitely improve / take advantage of rim interactions, for instance, and more easily not have the problem he has with the lower corners.
What do you wish you learned about maintaining/building relationships? What self-care routines do you wish you started earlier?
Does anyone want to share how they use the WSL2 & X-Server combination?

In my case, I'm mostly happy with the VSCode WSL2 integration. I keep all my projects on the linux fs and it is fast to work with. The only thing which annoys me is the window management in Windows. Too much Mouse movement and random ALT-TAB-ing.

I've never got i3 to work with a Windows x server on multiple displays with high dpi. X401 also only supports a single display.
Recently my MacBookPro stopped working with an external LG monitor. Until then the laptop used the highest resolution spanning the whole wide monitor.

Then it suddenly stopped and only displayed a 4:3 image in the middle. Preferences didn't show anything.

I've learned that you need to option-click the settings to see all possible hidden resolutions. There was the wide large resolution again. Not sure how one is supposed to used this preferences panel usability wise.
I agree that better support and acceptance of gifted and talented is important. I'm not sure I'd measure it in funding versus special needs though. Special needs teaching is brutal work, requiring a lot of baseline time and attention costs that can't really be reduced in a humane way.

Supporting the high-end of the spectrum is an entirely different challenge. The kids have an ability to excel independently. Yes, facilities and other resources can enhance outcomes, but also consider the difficulty of finding qualified teachers to really challenge them. Our entire Victorian education system is not equipped to handle them, and frankly I think they'll always be held back if we encourage a rigid structure and reliance on a system which is designed for the masses. We'd be better off finding low-case ways to give more open-ended resources and access to centralized specialists and higher education professors who are true experts in their fields.
Nate silver is a god. When everyone else was massaging their predictions to get them under 5% for Trump, he stuck to his guns. I have a strong suspicion that if we could run the counterfactual, 29% would be right on the money.
It's not supported in the core language but we have some type safe bindings to messages and message passing as libraries. We may upgrade these to being part of the language itself but I don't want to rush this and get stuck with a sub-optimal design.
Ask HN: Looking for someone to help create a trusted CA
Hello,
This may be a long shot. but no harm in asking right?
Does anyone have any experience in create a trusted certificate authority. Creating all the need Infrastructure, guidelines and submissions to get the root certificate included in all major browsers, OSs, devices etc..
And would they be interested in a new project.
If so please message me.
Migrating Production JS Apps to TS
> I do believe there is a spirit of open source.

The only things defining open source and free software are the copyright hacks that are licenses such as GPL, MIT, BSD, etc. If someone wants their code to not be used a certain way, they can adapt their license it to avoid it.
Let's avoid putting all the weight on the shoulders of Microsoft, although I tried to use W10 couple of times last few years, for the job (SE), it doesn't work for me, but for other major reasons.

Using Manjaro i3 on desktop and MBP 15 on mobility.

But overall in UI/UX we are having a hype of newness, to stand out among competitors on the expense of functionality and also making it all "accessible" for as wider audience as possible. FF's address bar zooming "feature" makes me feel like a damn moron :))

1. The job is still done on desktop/laptop computers and touch screens doesn't really make much difference I think. I wish all the major companies incorporated that point of view into the planning process. F*ck shareholders, you gotta think about your users in the first place!

Apple suffers another dead end here - so many colors it squeezes the energy out of my brain! Maverick was the last sane macOS with sane colors.

2. Regression to the mean, that's exactly what happened to educational system, and textbooks as well, make everyone comfortable with themselves, instead of pushing kids to actually learn.

Dumb down everything!
Nice top dog pun!
I guess Wag's competition could use that as a name, too :)
It does have message passing, just implemented as a library rather then as a core language feature.
LSP support is on the backlog. Having world class IDR features in all editors is an important part of the puzzle in my opinion.
Gzthermal: Pseudo thermal view of Gzip/Deflate compression efficiency
It doesn't help that the US tried to make some shady deals with a German company for exclusive access to the vaccine, and allegedly rerouted PPE paid for and headed to Germany.
Now that we have a volunteer army, there are differences between how the wars of today are fought compared to the Viet Nam war. The Viet Nam war had literally an order of magnitude more deaths than our current wars. Having a volunteer force means the soldiers have to treated better and paid more than a draftee. These wars have been a waste of lives and money but things would have been much worse if there were millions of draftees serving in the middle east and Afghanistan. Having a volunteer force in the 1960s would have meant that if the Viet Nam war would have been fought, there would have been with a lot more concern for the loss of life of the solders - it likely wouldn't have been fought anything like it was fought.

The USA should use this opportunity to step back and re-think whether registering for the draft is needed in this age. The whole draft registration program is simply a waste of millions of dollars a year.
Play iterated games.
At present we do not have a module + functor system as it does not mesh well with the compilation model of Erlang.

I am interested in having a feature like this but there is much work and research to be done first.
> This page isn't new enough to include more recent failures.

oh no doubt, I have another comment from 4+ years ago about the same topic https://news.ycombinator.com/item?id=10883631 and even then it was ancient history IIRC

man, just looking at that page again reminded me that Windows Registry for Linux^W^W^W^W gconf exists.
This a million times over
> The annoying thing with function purity fanaticism is that it is out of touch with reality. State. Exists.

It’s the opposite of all-state fanaticism, where nothing can be done or calculated without first 1. Creating classes, 2. Mutating their states, and often 3. Mutating global state.

And then... magic!

Both kinds of fanaticism are bad, and a middle-ground is probably best. Keep it simple. Use the best tool for the job, etc.

That said, having worked with lots of code deeply inflected with global state, I’m more lenient to accept function-purity fanaticism over all-state fanaticism because at least then you only need to understand this one local oddity, not how it depends on the entirety of the rest of the codebase.
There are several free alternatives like vcxsrv (https://sourceforge.net/projects/vcxsrv/) that I used in the past in combination with WSL to work with a proper gnome shell instead of the WSL bash shell (that doesn’t have tabs and many other niceties). Works pretty well except maybe for high DPI environments.
SDCC is the open source compiler of choice for stm8. It's not GCC, but it's enough.

I'd be tempted to agree about the registers except that it takes wider instructions to encode the registers used so a well thought out accumulator based architecture can result in very compact code. stm8 has a lot of one byte instructions and most except for branches and word operations are single cycle as well.
This is the book I learnt Erlang with! If it didn't exist Gleam probably wouldn't either.
Parent was arguing against putting state in functions when classes exist. They weren’t arguing against state full code.
An uproar over the Fedora Git forge decision
Show HN: I made a simple Tweet Wall creator for your events
You've found it :)

This library is also worth looking at: https://github.com/gleam-experiments/otp_agent
Props, I miss my //c
Those were the days.
My first computer.
Wi-Fi.

It works ok on most devices.

If Bluetooth being crap was about cheapest solutions, I'd expect to see this problem on Wi-fi, which in practice generally works.
It's the same thinking as with software UI/UX. Doing things right is so last century, you have to stand out somehow.
It's a naive position of someone with a nice upbringing without bullies to show that under the veneer there is suppressed brutality of those willing to use violence.
Windows 10 has the same mechanism, she might have learnt it from there first and just applied it here.
If with AutoML you mean substantial architecture search (as your question seems to suggest) then the answer is it’s feasible only for the largest players in the field. It’s possible to use some tricks but even then your standard cluster with a few hundred GPUs isn’t going to cut it for large scale problems. That said, any problem that e.g. google deems valuable enough can be meta-optimized to oblivion. Same holds if you have a huge pile of cash and think a few percent performance boost is worth it.
Just fork and exec. Or if you fancy, posix_spawn a separate process. Then communicate over pipes, or if you have a lot of outputs from these tools, collect results from the file system.

Really, where does this fear of spawning things come from?
> For example, Futhark provides a prefix sum intrinsic, that just calls CUB - if you want to implement a prefix-sum-like algorithm, you are out of luck.

Futhark doesn't call CUB (it also targets OpenCL), and here is an asymptotically work-efficient prefix sum in pure Futhark: https://gist.github.com/athas/611e6b9a76b382ec079f979ec7fb85...

It's not as fast as a hand-written scan in CUDA, nor as fast as the built-in scan in Futhark, but you can do it. Futhark isn't a low-level or GPU-specific language, so you can't take direct advantage of hardware-specific features.

Generally, Futhark doesn't compete performance-wise primitive-for-primitive, but can do application-level transformations that are infeasible for libraries, and impractical to do by hand. For example, you can 'map' a Futhark 'scan' over a two-dimensional array and it will just work pretty well, while there's no way to turn the CUB scan into a regular segmented scan, unless the original author thought of it. Similarly, if you are 'scan'ing the same array twice in a Futhark program, but with different operators or pre-scan transforms, the compiler will fuse the two operations into one, to reduce the number of accesses.
The bright children of the upper middle class going on to have great life outcomes are the core of inequality in America. Schools that nurture and socialize these kids with each other are an important mechanism in that outperformance. If you intend to reduce inequality, then that is exactly what you want to disrupt.

Secret racism is too easy a copout. This goes right to the core of defining relative inequality (vs. absolute outcomes) as the important issue.
I wouldn't really call this a vulnerability, it is a common caveat when dealing with basically any Windows software. If you have write access to the program directory of a piece of software, you can inject code into it through DLL hijacking techniques. But you can also just replace the binary itself with a malicious one, which is an even simpler attack, and the techniques described in this article can't prevent that.
Aren't both of those illegal or breaking the agreement?
Wouldn't it be better to report them?