skysight-inc/HackerNews huggingface dataset:
> If I knew you write code like this, I would feel compelled during code review to squeeze my brain to try to see whether there is some library function that does what you just did.

That's because the author didn't put a type hole before declaring arguments.

zoop :: (a -> b -> b) -> b -> [a] -> b
zoop = _
<interactive>:10:8: error:
• Found hole: _ :: (a -> b -> b) -> b -> [a] -> b
Where: ‘a’, ‘b’ are rigid type variables bound by
the type signature for:
zoop :: forall a b. (a -> b -> b) -> b -> [a] -> b
at <interactive>:9:1-38
• In the expression: _
In an equation for ‘zoop’: zoop = _
• Relevant bindings include
zoop :: (a -> b -> b) -> b -> [a] -> b
(bound at <interactive>:10:1)
Valid hole fits include
zoop :: (a -> b -> b) -> b -> [a] -> b
(bound at <interactive>:10:1)
foldr :: forall (t :: * -> *) a b.
Foldable t =>
(a -> b -> b) -> b -> t a -> b
with foldr @[] @a @b
(imported from ‘Prelude’
(and originally defined in ‘Data.Foldable’))

Here, GHC has figured out that, yes, `zoop` is in fact directly equivalent to `foldr`. And it'll do this with all other holes involved in the iterative type hole development process. So, you don't have to worry about whether there is some library function that does what the author did. GHC will do that for you.
> actively persecuted by its government

persecuted by government and persecuted by State-sanction(Constitution) are different. One government could decide it hates X group and persecute them, it doesn't mean the constitution of that country supports it.
This group is mostly made of the mentally ill, drug addicts, or most likely an individual suffering from both problems.

I'm the author of the piece. I was homeless with my adult sons for nearly six years. None of us has a mental health diagnosis and none of us does drugs or drinks. We are all tea-totallers.

I'm really tired of the "junkies and crazies" meme about homelessness. I don't think it's accurate. It's just another way we throw our hands up and claim "It can't be solved, and not because I don't care."

I think we need to solve our health care issues in the US. Medical issues contribute to chronic homelessness.

I think other special needs, such as being ADHD, contribute. ADHD isn't a mental health diagnosis of the "he's just insane and can't be made to behave" variety. But such issues do create inherent challenges to regular employment.

I have inherent challenges to regular employment. I began doing freelance writing online while homeless and that helped me get back into housing eventually.

My blogging mostly doesn't pay my bills. I occasionally get tips and I have a little Patreon support, but I've been told for years "Get a real job. Writing just doesn't pay, you slacker you." and it's like "Writing is something I can do without it creating high medical bills and making me unable to work at all. I do it well enough to sometimes hit the front page of Hacker News. Why the hell shouldn't this be a means to support myself?"

And I think some portion of it is I'm a woman and I'm poor and those are contributing factors. People don't want to admit sexism and classism influence which websites they are willing to support financially.

But, regardless of all that crazy making stuff, doing what I could do helped me improve things:

https://streetlifesolutions.blogspot.com/2019/03/a-twist-on-...

Anyway, it's probably time for me to walk away and not reply to too much stuff here. A lot of it will likely end up being personally offensive to me, but I didn't want to just let this remark pass without some push back. I'm so tired of the "junkies and crazies" meme. The data I'm familiar with says it's not true.
Yes. It seems to breaks up the list and my brain doesn't seem to process it as being alphabetical for some reason.

Only a minor issue though compared to the search being so utterly broken after so many years.
> Your ISP is literally selling this information right now

No, mine is not.

> Use google if you don't like CF

Google is no better.

> or just disable it!

It is never okay to hijack my DNS lookups. Posting a note someplace about how it can be restored does not change the fact that you hijacked it, and does not make it okay.

> This is not adding a new party that can surveil you

Given that the DoH provider is a new party with which most of my requests had no contact before, that is an absurd claim.

> this is reducing risk by separating who can see your DNS from who can see your traffic.

No, it is not. My ISP can still see the domain names of sites I visit, via both SNI and OCSP. They can also deduce the same information in most cases, via address correlation. (Thankfully, I chose an ISP that respects privacy.)

This change quietly hands my lookups over to another party as well. If I hadn't noticed the announcement, or didn't have enough technical knowledge to fully understand and revert the change before it went live, my lookups would be pwned.

> The idea is to have eSNI ubiquity to where TLS traffic will conceal the sites you visit

I don't care what your idea is for the future. It doesn't exist today, so is not relevant to what you have done today.

(And even if it did, it would not excuse hijacking my DNS lookups.)
> Bold claim considering radical Islam is responsible for most of terrorist acts in the world.

Using https://www.start.umd.edu/sites/default/files/publications/l... as my data source, I don't think radical Islam is responsible for a majority of terrorist acts. A plurality, yes; but they don't cross the 50% threshold I think. Note that half of the organizations responsible for more than 100 attacks each are not Islamist organization.
Are you using an old version of gopls?

From the v0.3.0 release notes[1]:

Workspace-scoped references, rename, and go to implementation. These features use your workspace root as the search scope, so behavior will vary based on the directory you open in your editor

[1] https://github.com/golang/go/issues/33030#issuecomment-51015...
I'm not knowledgeable about the efficacy of the masks themselves, but I suspect there's a forest-for-the-trees issue, here. There are at least a few ways to think about whether masks (broadly, or any specific mask) "work"...

- Whether wearing a mask makes it less likely someone will pick up an infection in constant conditions (direct mask efficacy, reduced touching, etc.)

- Whether wearing a mask makes it less likely someone will transmit an infection in constant conditions.

- Whether wearing a mask leads infected people to spend more time around others.

- Whether wearing a mask leads uninfected people to spend more time around others.

- Whether the way masks end up getting allocated in the event of a shortage promotes or inhibits spread at population scale (for example, if masks ended up overallocated towards people who're so concerned that they stay home anyways and away from people who don't have the ability to).
There's always some risk that infrastructure will catastrophically fail, and in general I think a month-long self-sufficiency stock is a perfectly reasonable thing to have. (I have one myself, although primarily because I live in an earthquake zone.)

But when people are reacting to the coronavirus, the implicit question isn't what preparations are good to have for general worst case scenarios; it's which preparations you're likely to need, which ones you can no longer afford to be without. As many a doomsday prepper will attest, there's always one more contingency you could plan for, but telling people to start with extreme measures makes it less likely they'll plan at all.
It's an okay gig on average, currently. Chains keep buying the smaller guys out, reducing hours and support staff, increasing demands of metrics, and offering lower and lower pay to new grads. It doesn't help that new schools keep opening and applicant numbers do not increase in quality or quantity. The BLS anticipates 0% job growth in the next 10 years.
it is super bare bones. just the bare minimum, you need to build something around this.
>EDIT: Based on the comments here, I just need to have a kid.

Or a sick relative you have to take care of, or a physically draining job.
30 Years of iRobot
So become an unpaid Microsoft employee to re-add features that used to exist and that do exist in nearly every alternative? Don't they make enough money off of os sales, subscriptions, forced ads and telemetry? They need free labour to fix their broken software too?
I wouldn't have thought about dict unpacking as a solution either but once suggested it seems satisfactory and I don't see how adding a new operator is more discoverable or natural than just putting this method in a more prominent place in the documentation.
That's a bit unfair, because this comment was obviously not addressed to the mere mortal. For you family member, a "how to" with a lot of screenshots and red arrows is probably more appropriate.
100% agreed. There is no correlation between Obama and deflate -gate or Trump/Astros Scandal. Its such a sensationalist thing to add (that I suppose works cause here we are talking about it) but overall my respect for journalism continues to go down. And its a shame cause this was an otherwise good article.
I guess that is an easier system to implement, but that's obviously less ambitious and much less magical.

Why does Amazon do one day shipping? That's also huge overkill for 99% of the stuff they sell. They do it because consumers want it, and will instantly forget about all their disdain for Bezos, who btw seems to be growing in unpopularity by the hour, for a more streamlined and hassle free product. I'm not a huge introvert but my instinct is already to do self checkout. I can keep listening to my music, don't have to do the "alright please insert your card" dance, etc.
I think we perhaps need some info on the sex of, and level of responsibilities of, the people claiming to be cured by having children.

[Father's testosterone levels drop considerably starting a little prior to birth of their children (and when taking on care of young children) reportedly. Mother's hormonal changes go without saying, I feel.]

Just FWIW none of my well-spaced in age children fixed me. But having a fluid sleep cycle often meant I wasn't bothered. Sometimes I'm super awake at 4am, sometimes 6am, sometimes I'm ready to crash by 4pm, sometimes by midnight.

What killed me was having to work a second job during the night-time with our first kid, not fun.

In short, still broken sleep cycle, almost exactly like my mother has been through her life AFAICT.
Anybody can protest anything.

By your logic, those who are 'protesting' in support of the CAA must also be allowed to occupy public highways and disrupt everyone's lives.

Just because democracy tolerates protests, it doesn't make the protestors automatically correct or moral.

The 'minority' protestors are against a law that actually helps minorities of their neighboring countries. The hypocrisy is high.
> Musk's decision not to use LIDAR is paid for in blood.

LIDAR is not the only way to record depth information. Saying that LIDAR is some kind of savior device is heavily into "solve all your fusion problems with this one weird trick" territory.
Engineers are why things take so long to build. Without engineers things will build faster.
The parent comment was asking about Linux, which isn't support by Greenshot it seems.
Coming soon: A new site for fully free collaboration
It was Why We Sleep, alright. I had started the book last year but only read the first couple of chapters. I must return to it and finish it. Thanks for the other suggestion.
Right. Has Google ever produced a profitable product outside of ads and G Suite? YouTube likely isn't profitable, but even if it were, they bought it.

This article is far too credulous and feels like it was planted by a Google marketing person worried about customers being scared off by the downsizing news and by Google's culture of whimsical product creation/destruction in general.
adding more engineers makes development go more slowly -- does that work in reverse??
> Erlang can kill a process, but does not have cancellation, which causes a process to be halted and throw a cancellation exception from the point at which it was halted so that clean up can be performed while unwinding.

Indeed, Erlang does not have a way to induce a catchable exception into a process stack from outside the process. Processes are isolated, and the way that processes interact with the world is through their mailbox.

The Erlang way (TM) is to let your processes crash (or be killed), but be supervised and restarted, and the new process will handle whatever state the world is in, and bring it to a good state (or it won't, and it will die, and the supervisor will die, and the system will restart, eventually).

You could certainly pepper you code with something like

receive cancel -> throw cancel after 0 -> ok end

In places where you might want to be cancelled, and send a cancel message as appropriate, to get something like what you're asking. But it wouldn't feel very Erlangy, and looking at the results of being explicit about everywhere you might want to be cancelled might lead you towards the premise of Let it Crash. There are a million and one ways that the system might fail during activity, and for most of them, the right thing to do is restart, pick up the pieces, and go forward from there if you can. You're going to have to handle that anyway in case of unexpected restarts due to hardware or software faults.

> A boot request is sent to a controller to boot up a processor returning a termination report. A run request is sent to code to run returning a value.

What do you mean by a processor here. Like a separate CPU, or is this a process / thread?

What is the relationship between this processor and the code, and the run request? What behavior is changing in this example?

> Because tail calls with state variables do not always work and Erlang does not have an assignment command, Erlang programs often use helper processes to temporarily hold state.

That Erlang programs often use processes to hold state is not a deficiency; that's how Erlang models the world. State is intended to be held in processes, and the way that they do that is through tail call recursion on the explicit state. Although, sometimes, some state is stored in the process dictionary (which is essentially a key-value store) or in ETS/Mnesia, which can be modeled as a process (but is implemented as shared memory), or in state held outside of Erlang (such as the filesystem, or other programs).

If you don't like the world model where state is held in processes, Erlang clearly isn't for you; but I find it's a model that fits well with distributed systems, and allows for complex systems to be built with small teams.
Not really. This because the idea is to aid with acceleration, in which case the "untouched originals" were never taken, they are dealing with the impact of not gathering all the data in the frequency domain in the first place, and this is a trade off between "here is the image with artifacts" and "here is the result of an artifact correction algorithm".
Okay, but from the statement, whatever alternative they're using isn't working
Your edit is spot on. I was exactly like you until I became a father. Now up at 6:15 and asleep at 9:30. I used to have a horrible time falling asleep and on and off insomnia. All that is no more too.
Yup, v0.3.0 here (gopls version) and still broken.
The stuff described would mostly fit in a backpack as it's all backpacking gear to begin with. The only thing that wouldn't would be 30 days of food and water which is probably overkill. A reasonable food supply would fit in a couple cubic feet and multiple redundant water purification options could fit in a pocket.

I'm just a backpacker though not a doomsday prepper, the stuff we carry isn't always appropriate for an emergency situation and is generally geared towards being very portable rather than robust/100% reliable.
Ah here is prior discussion on the Met release https://news.ycombinator.com/item?id=7781846
Interesting.

Maybe it showed you the lowest-cost vendor, and showed her the lowest-cost vendor with Prime shipping? And the difference was $10?

Or was it shipped from and sold by the same place?
Yeah, I don't like it and I don't like that experience (and others) guiding my judgement when it comes to helping people like that, because not everyone who gets stuck on the streets is like that, but people like that take resources and help from people that do really need it and make it harder for people to care. Which altogether just kinda sucks and there really isn't an easy solution to these problems.
If I was a passenger in a Tesla, I would not let the driver turn on Autopilot. If they refused, I would get out and get a rideshare.
I'm fairly critical of Tesla in general because they're selling snake oil, with the full self driving promise and whatnots, but this particular critique targeted uniquely at tesla seems misguided since every other System of highway assist whether with LiDAR or Doppler radar ignores stationary objects
Can you point to a source here? I work on Google Cloud and I don't think I've heard anything like that.
Here are two reasons I think are important, there are more but these stand out. (1) Teaching is hard, and the amount of training you get in teaching higher level maths (rather than the just learning higher level maths itself) is very limited. (2) intuition in maths will lead you on a merry path to very wrong ideas. There are functions that are continuous everywhere without a derivative anywhere, Russell's paradox, classically zenos paradox, etc, etc. A big part of higher level maths training is in being precise with what you mean so that you can learn to do proofs and not trick yourself. I think a synthesis of these approaches is the sweet spot. Be precise but show applications to motivate the material.
Exactly, they are there for customer service, not for retail, which is a huge proportion of their duties.
That's part of my sadness in seeing so many posts here talk bad about the UWP. The UWP barely had half a chance to live, and with Microsoft having to spend so much time in the Chromium codebase and working on Android code, with Electron and React Native seemingly becoming the most common development platforms for them, the future for Microsoft already doesn't seem to be UWP.
surviving it might not be much fun either depending on the severity of the case. survivors have a 45% risk of pulmonary fibrosis (onset within 3-6 months after initial infection), then there is testicular damage in men, among others, see https://news.ycombinator.com/item?id=22412112
> Er, yes, I did, in my original post. The form you quoted was me attempting to be more precise in rephrasing it.

Ok. No one other than yourself has made that argument.

> Scraping social network data? It’s already a graph, and it often already has annotation fields in the JSON graph endpoints describing the relationships between the members. If you don’t just stop and look at the dataset, you might think your feature-extractor is doing something very clever, when actually it’s just finding the explicit pre-chewed “relationship” field and spitting it back out at you.

I've worked in this exact field, and I've never ever heard of anyone who doesn't do this. I guess someone might.. so if your point is that there are dumb people around then ok.

But that isn't what a feature extractor does! In the graph context a simple feature extractor is something hand coded like the degree of a node, or a more complex learned one is something that maybe does embedding.

If your point is that people should understand their data, then yes that is in data science 101 for good reasons.
It gets even worse than that sometimes. For example, I remember a study from back when digital xray was getting going, where radiologist were asked to say which processing they liked better (since none of them looked quite like the very non-linear film versions) and scored on performance.

They didn't perform best on the types they liked best. This wasn't a great study in terms of power, but it was interesting.

I've met plenty of rad-oncs and radiologists who are convinced they can "read through the noise" just fine, and want consistent imaging more than artifact reduction. I'm not sure how empirically this has ever been tested.
Ctrl + s works great for me
Not on my $300 iPad
If you built a house just for growing plants then yes. If I grow a few veggies in a green curtain at home in the kitchen window where I am not even there 90% of the daylight time, then no. Also, I am growing radish and salad in the attic right now where there is no extra heating or light so point 2 is also not necessarily true. The only thing I would agree on is that you will not cover more than 5% of your diet that way but it enough for covering the winter with some fresh stuff.
While I don't expect the power to shut off from this, I want to point out that the flu virus doesn't directly destroy heart and kidney cells as COVID-19 does in some of the patients.
Try Gilbert Strang's course at MIT, it's publicly available in video format, and starts from basic principles.
How misinformation spreads on the internet 101. In future, it might be best to word this as a question. "Why does Google think I live in the UK?" Less click-baity and more faithful to the level of investigation you had conducted. Phrasing it as a question rather than an accusation might have even led you to the answer, something along the lines of, "well, have I explicitly told them I live in the UK? Let me check."
And if the library is not easy to port, then writing an interface which generates code that DOES work with that library is easy to do.
Top Benefits of Technology in Education
This is a neat idea, but I would not hold out much hope for it. Much of the code in win 7 is currently in win 10. I can't imagine anyone in their legal department considering it. No harm in trying though.
Outline says there isn't much...

https://outline.com/3MyKkw
So you want to do some scientific research as a high school student?
Working in the internet from home, 10-12 hours a day, I check HN every hour or two, even more when I am gassed and in need of five minutes away or a spark, just as right now!?
Or the actively developed fork linked to from that site, Open-Shell: https://github.com/Open-Shell/Open-Shell-Menu
so.. if a non-ruling party instigates people, it's OK, but if a ruling party does it, then you have a problem ?

This entire anti-CAA protests are organized and funded and instigated by Opposition parties to create a Muslim vote bank, because they're upset that the ruling party consolidated the Hindu vote bank.
what strikes me the most is that the "modern" theme (from the "extras" menu) feels so much less user friendly than the "classic" one. where did it all go wrong?..
I may be wrong, but that sounds kind of like what open sound control(osc) does.

http://opensoundcontrol.org/spec-1_0
More employees doesn't automatically mean more productivity/launches/success. Downsizing can be an effective tool to get back on the right track (if done correctly, of course).
He probaly means tiling window manager specifically, which makes tmux's binary partitioning redundant for all but remote work.

I used to use tmux much more heavily locally before I switched to a tiling window manager, now I only use it when I need to do a lot of work over SSH or am using an unstable connection or long running process etc.
The search feature seems to be getting a hug of death.
Cheap Isn't Evil: Evil Is Evil (A Framework for Practical Ethical Sourcing)
defer-ed calls are (in a very simplified way) pushed on a "stack" of methods to be called just before parent function exists. The mechanics of retrieval-call-repeat_if_more_available are cheap, but not free. They have reduced costs of these interactions.
Someone read the mythical man-month and realized that more engineers doesn't make things faster, and can actually make things slower.

The next logical step is to hire fire people until you reach the optimal number, in some kind of binary search approach.