skysight-inc/HackerNews huggingface dataset:
If you don't know Haskell, your opinion of if Haskell code 1) has a good name or 2) has an understandable implementation doesn't matter much to me, _especially_ on a blog post meant for proficient Haskellers such as this one.

In general, people can be better served lurking or asking questions or making qualified statements instead of blasting their opinion like this:

> The function name means nothing, and the implementation is hard to follow.
My understanding is that the main purpose of the mask is to prevent people who are already infected from coughing and sneezing particulate onto other people.
I'm glad some people are starting to take this more seriously. We're still at least a few weeks away from a shift in mentality in the US. Right now, it's general apathy. Next, it'll be alert and preparedness. Last, it will be panic. I don't think it will reach chaos, but you certainly don't want to be at Costco in a few weeks.

There's no downside in being prepared - worst case scenario you slowly consume the perishables or donate them. In related news, Zoom's stock is surging. I wonder if Slack's stock will eventually have a similar boom.
Looks like Google Play Services for IOT devices?
Yes and no. In the days when all apps leech your data, I want the sandbox that UWP provides. Do not know if it is feasible for MS to make it work properly with "legacy" APIs.
Not really. It's an argument for the industry moving to something sensible; not "split braining" low level infrastructure by shoehorning some of it into HTTP, apps and a handful of centralised coporations who claim to play a little nicer than telcos.
https://thepreppingguide.com/resources/

Specifically this one
http://ready4itall.org/wp-content/uploads/2013/05/General_-_...
A statistic for everything, but little statistical or scientific literacy: so much data dredging goes on. When someone floats a number like "51 breaking balls with zero missed swings" or "24 straight curveballs" it's never presented with the rate at which this would be expected to occur in the pseudorandom/typical case.

There are close to a million pitches thrown in each season. If someone flipped a coin for every pitch in the 2000s, they would probably get a string of 24 head and a string of 24 tails. Given the number of pitches that have been thrown, and the human tendency to stick with what's working, the only reason that there wouldn't be 24 of one pitch thrown in a row is that they'd deliberately change it up.
What stops Google or other evil corp from doing the dirty business through small companies in Denver and other places in the US? Can they purchase data from uncountable small actors without any legal repercussion?
"The only shortcoming I see for it as a personal Memex is the weak support for binary content (images, "

That's not an "only". It's huge. Also, afaik, org-mode only accepts no space tags. Ie I should tag a place as "GeorgesTownLakeAvenue32" instead of "[George's Town] [Lake avenue] [address number: 32]"
App framework for IOT
Seems it enables building of devices for the Amazon ecosystem.
I wouldn't use function sending to deploy new code in a productionish environment. It's fun to play with, but it's easier to understand a production environment if you push the code/compiled beam files as traditional files through whatever means you like (rsync/packages/whatever), and then load the updated beam files.

You could do the code loading by sending a function to the node that calls code:load(Module) and the like; code:soft_purge(Module) first is a good idea to make sure you don't kill lingering processes by accident.

You could go all in and have (most of) your Erlang nodes be diskless Erlang, requesting the code to run from another Erlang server when they start, and that seems like a fun adventure, but I don't know if it adds a lot of business value. I'd be happy to play with that on your dime, contact in profile ;)
What Silicon Valley doesn't get about robotics automation
The sad thing is that with things like WSL, VSCode, chocolatey/scoop and .NET Core, MSFT has done a good job of fostering a decent platform on which to do modern software development but then completely squandered a lot of that goodwill by turning Windows 10 into an ad delivery platform.
Threads from 2018:

https://news.ycombinator.com/item?id=16174478

https://news.ycombinator.com/item?id=17275332

An almost unrelated but great thread from 2011: https://news.ycombinator.com/item?id=2305370
How does it ruin the game less than people throwing the it? It’s not an earnest competition, which is the point of watching. Allowing steroids (something I am not in favor of) would ruin the game far less than breaking the premise of the game between the pitcher and batter.

Frankly I think it should be a crime to cheat—make the people have something to lose that hurts more than money.
I'm can't tell if the author is going for irreverent levity, or actually thinks they are expressing something meaningful here. The Google graph doesn't even seem relevant from an earnest, literal perspective.
One SDK to run on IOT platforms that should extrapolate the lower level issues and custom APIs away.
But I think specific to amazon services
If I can offer a slight alteration:

"Most people just want entertainment to relax, so they tolerate supporting the existing power structures for a while"

This doesn't blame people for needing a break, but it does acknowledge that the choice isn't "fight or not fight", it is "fight or support".

So many of the "don't bring politics into X" arguments ignore that the politics are already there.
We cant let perfect be the enemy of better. Especially when dealing with a complex topic
Pay generally is higher in the US than the UK.

US median income is $63,688/household

UK median income is GBP29,400/household, or about $38,400 US

There will be some differences due to how the two countries compute the figures (I believe the disparity is slightly smaller than the numbers suggest), but these numbers are not close to each other.
Looks like you are still not implementing the signature of a Controller, which as follows:

Controller *interface*
boot[*itemIs* Item, *signedIs* Signed] → TerminationReport
// boot request with an item and signed returns
// a termination report from the boot request
shutDown → Void // shut down request returns Void

A boot request checks the item which is a Package with code and packageVersion and then runs the code. The boot request returns a termination report that results from running the code.

However, when the boot request is still operating, the controller might receive a shutDown request, which will cause the cancellation of the running code that will caught within the run request and turned into a termination report.

Note that there is no timing error in the Actor implementation because, a shutDown request cannot be received until code.run has released the region of mutual exclusion.
>Go 1.14 is the last release that will run on macOS 10.11 El Capitan. Go 1.15 will require macOS 10.12 Sierra or later.

That's pretty aggressive. Dropping support for a major OS that is only 1 year old.
> It's looking like Coronavirus will be rocket fuel for all things remote. Work, schooling, conferences...

I worked at a company that was forced to go all-remote very suddenly when our office space had some issues.

We made it work, but it was a struggle. Tossing unprepared people into the deep end of remote work is not a recipe for success. Many of our employees had young children at home and no dedicated, quiet working space. Others couldn't handle the sudden change to remote communication. A few people tried to treat it like an extended vacation, doing the bare minimum to respond to e-mails from their phones. Some people excelled at remote work, but many others failed to adapt.

If anything, it turned company leadership off of the idea of remote work for a long, long time.
Example of waiting too long, this line for face masks in South Korea: https://www.youtube.com/watch?v=clZzEhTZOV0
Long time night owl here - I just quit office jobs and exclusively work remotely now. I'd always joked that my life goal was to never have to wake up to an alarm clock, but really it is a huge boost to my quality of life.

Funny though as I write this I'm actually waking up very early, but that's because this week I flew somewhere 5 timezones earlier. Not sure how long this will last.
Ah, this could be used as the missing paint in macOS. Even taking a screenshot and dragging it inside the browser works as expected. Is there an easy wat to turn this into an app that can live locally?

Paint is the only thing I miss about Windows.
Screw what others/society thinks and follow your natural cycle/needs!

Waking up at 6AM while being rested means having to go to sleep before midnight but 10pm to 1am for me it's the best time in the day, quiet, alone quality time. Take that away and then it just feels like a never ending (rat) race of waking up, go to work, come home, eat, go to sleep. I'd hate my life if that was all it was left.
Microsoft Research Co-Develops AI That Can Accurately Generate Video Comments
Show HN: Kubernetes CSI Driver for Google Cloud Storage
a decision to silence dissent to avoid upsetting people is still a serious issue, I would say.

Understandable, but still not great.
Even when you swipe the page to the right?
> The author shows how you can, when posed with just knowing the type you want to achieve, more or less generate/infer the implementation from that.

All this means is that, with a robust enough type system, determining the correct type is exactly as complex as determining the correct implementation.

In some cases, in some languages, expressing the solution in the language of types may be more intuitive than and help guide the language of implementation, but, because they are essentially encoding each other, that's not only as subjective as any question of what is intuitive must be, but also an artifact of the particular type language and implementation language. In a different implementation language, the problem may be as (or more!) intuitive as it is in the type language in use.
Apple can do whatever they want. The fact that their TLD is DNSSEC-signed is not an indication of what they will do, despite your claim to the contrary.
I would imagine it's no more "change everything" than having root access to your own hardware.
Weather, News, Mail, Finance, Skype, etc, etc
Nice. Now kill UWP[0] and bring some actual improvements to the base Win32 C API that any application written in any programming language and available from any source (direct downloads form author pages, repositories like GitHub, eshops such as Steam, etc) can use.

[0] of course for backwards compatibility reasons this cannot be totally removed, though considering that 99.999% of the applications made for it were obtainable through the online Microsoft Store there is an assumption of internet availability so it can be installed on-demand like older versions of .NET framework.
"Alexa", "please set the instant pot to cook for 15 minutes starting at 5:40 PM"
So sick. Did you make this yourself?
Function(PublicKey) runs the code, which presumably knows its new version number. As mentioned otherwise, I had assumed this was in the context of {become, F}; but perhaps you had something else in mind.
Mature subject matter yes.

I was more commenting on the handling of the matters in the story structure. Bambi is extraordinarily subtle and multi-faceted. Lion King, Finding [Nemo|Dory], and others are way more explicit about what one key moral they want to hammer home with callbacks and explicit cathartic reversals of previous events.

For example, Lion King makes it very explicit at the climax where Simba overcomes his trauma of the gorge with a flashback when he's in the exact same situation. And the 2nd callback of "Runaway and never return" cements his position.

Bambi gets catharsis off-screen completely during his time with his father. And really the main lesson of the story is the cycle of life and the process of growing up, a much broader topic.
I don't have a problem with UWP and I really like the new Calculator. Being able to pin the calculator on-top and resize it so that it's touch friendly really boosts productivity for me on a laptop without a 10key. If you're not using a touchscreen then I can see the improvements not being that big of a deal but I'm not aware of any regressions in functionality.
I'd say 'effectively' over 'efficiently'
> it should give everyone the best protections guaranteed by law anywhere in the world

What do you do when laws from different countries conflict with each other?
Were you averaging around 7.5 hours of sleep a night, even with your long vigils? If so, I doubt it's a harmful pattern. Based on some studies I've seen recently, oversleeping is a larger health risk for many than undersleeping.
That and Reddit.
> Your ISP is literally selling this information right now in the US. What are you even talking about?

Every time Firefox starts up it probably phones home to check for updates. The incoming request is traceable from the user's IP and Mozilla could figure out if the user is with a privacy-violating ISP: they could then only enable OS-bypassing DoH for those users.

Those who run Firefox in corporate networks would be unaffected, as would those who are were 'good' ISPs.

Also, as someone in Canada, I downloaded the "English" version of Firefox, which probably meant "en_US" locale: guess what, I'm affected. As are plenty of less technical people who don't understand about going into about:config and changing things to "en_CA".
Shifting meters (Stravinsky's Rite of Spring), quarter tone music (Charles Ives), other alternate scales (check out Okros Ensemble), Take 5 (5/4 meter). The title is absurd because there is virtually an infinite number of melodies.
That strategy is more important on systems that don’t do demand paged virtual memory. In Think Class Library on classic Mac OS, it was called the “Rainy day fund”.

One can also do that in stages:

- allocate a large block at startup

- when running out of memory, reallocate it at a smaller size and warn the user

- when running out of memory again, free the block and attempt an orderly shutdown.
It's not an essential market, in my opinion. It's "big" for you and I, but it's not as stunningly huge as others in this thread suggest.

It's probably a third or so of their total revenue from EMEA, which is 30% of Google's revenue. That 10% only needs so many fines and regulations before it's no longer worth it.
make sure this is secure dennis
El Capitan came out September 30, 2015
But not just Internet of Things (IoT), it's for Security Hardened Internet of Things (SHIoT).
And now it would make sense again with that folding thing, they stop it. That is Microsoft for you.
macOS 10.11 came out over 4 years ago.
That depends. I think it means that at a certain level, in order to improve, you must play tougher opponents.

The game of Go makes this abundantly clear. You can actually damage your own skills by playing too many inexperienced or weaker opponents. But playing someone just a bit stronger than you can improve you both.

I don't know if this works the same in e-sports, but it is striking in Go, or to a lesser extent, Chess.
> Isn’t this basically part of CQRS?

We're you thinking of event sourcing?

https://martinfowler.com/eaaDev/EventSourcing.html
well specfically `binary_to_term` on arbitrary untrusted data is insecure, but you could of course pass `[safe]` in. Just, read the docs and heed the warnings.
Google Trends shows a marked increase in searches for hiccups from 2004-present, also.
> EDIT: Based on the comments here, I just need to have a kid.

Nope. Father of two here. One is grown. Other halfway through high school. I’ve been single most of their lives. Neither of them changed me being a night owl. I’ve raised them on a few hours of sleep each night—regularly awake till 3-5a to get those crazy productive hours in when the world is asleep and my brain is awake, and still took them to and picked them up from school daily (though my high schooler recently started driving; the adult child didn’t want to drive until after high school). I do usually get a short afternoon nap in, though.
Has your GP checked your electrolytes ? I had insomnia for 30 years. Couldn't find any fix, and I tried everything but prescribed drugs. (Addiction issues in my family.)

Fixed my insomnia on accident. Tried the 4HB diet. The supplements advice did it for me. Magnesium, calcium, and potassium. Overnight fix. Turns out, the culprit was my poor diet. Now, I only have trouble sleeping if I try to sleep less than 12 hours after waking. Best of luck.
> Insurance is irrelevant if there aren't enough hospital beds or medical staff/facilities to handle a widespread pandemic.

It's far from irrelevant. There are millions of people for whom a visit to the ER means bankruptcy, and should they contract the virus, they will avoid diagnosis, continue to go to work, and silently spread the disease to those who come in contact with them.
> Honest question, care to elaborate?

Many people may not think it is their place to speak. Some people may think they wouldn't be the best person to advocate. Others might think other people speak better about it. Other people might not be in a position to speak about it.

In the UK we have many people who claim to talk for the "working class" that as one of my friends put it "looked like they have never done a day of heavy lifting in their life". I wouldn't speak on behalf of the working class, I do a white collar job.

> From my perspective opting out means no change. And no change means structures stay the same. Therefore, they persist and are maintained with your (weak) approval.

Does it? Many structures fall in under their own weight, many organisation reform from within. You are assuming the world and people within them around doesn't ever change. There is a whole bunch of assumptions you are making. Sometimes the best thing you can do is to do nothing.

I used to cycle to work every day. That was more effective to get my coworkers cycling in than any amount of advocacy I may have done verbally. Just yourself being the change you want in the world is sometimes sufficient.
macOS El Captian is almost five years old
Yes, please!

Win32 ("WinAPI" nowadays) is the API everyone will keep using (plus .NET for higher level).

Make a sandbox/container for Win32 apps and that's it.
You can map over things much like react, the ForEach is not quite as clean but you can still write your .map function in the body function and then just pass it where you want. I think the strict typed nature makes some of these things a little less flexible but it wins in many other categories.

I’d say give it a twist! If you like React you’ll like it, just has different trade offs.
I think they're stating a preference for a quarantine, even with all its potential impacts, since not having one could result in more deaths. Quarantines being transient in nature vs death being permanent.
I don't think that's correct? Wikipedia indicates that El Capitan came out in 2015, which is much more than one year ago: https://en.wikipedia.org/wiki/OS_X_El_Capitan
JavaScript has taught me that there are only two things separating a novice programmer from an excellent programmer: writing and data structures.

In order to improve as a programmer over the years I have had to learn to improve my writing. This requires a clear vision before putting keys on a keyboard and a solid sense of organization. You should know what you are going to work on with a strong confidence on how to go about it before doing any of the actual work. Sure rough spots will emerge along the way, but that shouldn't stop you from solving for the original vision. Then once the original vision is achieve refactor, debug, and refactor again. In writing that is call drafts and second opinions. This applies to any programming language equally.

A confidence of data structures is also critically important. Once skills and conceptual mental modeling of data structures becomes as common as spelling your name algorithms and logic almost write themselves. JavaScript does some things right by providing simplified data structures (objects, arrays, sets, maps, and such) and is really expressive in how you use them. JavaScript also does a lot wrong in this regard with its loose typing and some of its sloppy conventions. Fortunately, TypeScript interfaces coupled with consistent use of strict type declarations close many of those gaps.

---

I have heard so much hope for WASM killing JavaScript over the last 3 years, and almost all of it based on ignorance of how the technologies work. So much of this hope hinges on the availability of the page's DOM to a WASM instance by people who have never written to the DOM and have no idea what they are really asking for. While the WASM working group says this will never happen I suspect that very simple technology reasons will get in the way first regardless of what anybody wants.

If, however, WASM does replace JavaScript because the page's DOM becomes available to a WASM instance I suspect it will be the same clusterfuck that those developers were hoping to replace. I suspect if those developers couldn't figure out the relationship-oriented tree structure of the DOM using JavaScript they fail all the same when using their favorite language.

I can understand replacing JavaScript for other reasons, but rarely (extremely rarely) are the well grounded reasons ever a primary motivation for wanting JavaScript replaced.
Good one. People just don't see how life in general is complicated. How much more details are hiding in someones else job. They don't see how their senses are limited.

Prison guard - standing all day with rifle, anyone can do that.
Nurse - giving pills and injections, what is so hard about it?
Software dev - sitting behind computer all day lazy slob, he could get some real job :)
> then in real-life coding situations the type hints will be all the more relevant and reliable

That was exactly my point about the foldr example: in real-world code, you may need a function that perfectly matches foldr's type signature. But following the author's methodology, you'll write out a new implementation of foldr, when what you should actually be doing is calling foldr in that type hole.

This ties back in to my comment about code review. Think about how a patch from someone who applied the author's method would look like: it would contain a lot of in-place implementations that they sort of stumbled into, when in fact they should have reused well-known functions. Someone should then try to review that code to see if some implementation is not actually a well-known function.

Even ghc suggested at some point that he should use maxBound or minBound instead of writing his own thing.

Edit: I should also add that there is no reason to think that foldr is the right implementation of zoop without more context. For example, zoop could be a function just like foldr but that works on the reversed list of `as`. Or one that skips every second element of `as`. If we're just guessing based on type, and don't know what the code is supposed to do, it's easy to mess up.
Ok now your question makes sense, thanks.

> does the src directory include any vendored software for the other languages? Or is that also only fuchsia code?

It doesn't contain vendored software. The third_party dir is responsible for that, at least for Rust and Go. The C libraries used are in separate repos I think.
That's actually a really good point. Thanks for sharing; much to think about.