skysight-inc/HackerNews huggingface dataset:
I like thinking about variables as boxes with labels. Hadn’t heard that before, but seems like a simple way to teach people.

I skimmed the description of recursion. Seemed a bit long for my taste.

I was taught how to write a recursive function like this:

“Write the function signature, the docstring, and the base case. Then assume the function already works, and use it to implement the rest of the code”
Strange how many people on HN try to downplay hacking whenever China is involved...
At the time I worked for STMicro, in the division developing the Nomadik line of SoCs for Nokia's smartphones. We were all carefully watching Nokia's numbers and very nervous about their continued assertions that they'd pull it together.

I quit ST in January 2011, knowing (like all my colleagues) that the Titanic was heading for its iceberg. The "Burning Platform" memo came out in February.
> When we ran Hormuzi wargames, a rag-tag group that fought through guerilla warfare won until our Navy cried and made the other side "fight fair."

Wargames are designed to teach lessons. Example: https://time.com/5772665/uboat-wargames

That exercise happened in 2002, after the USS Cole bombing in 2000 ashore with a similar attack. How many warships were sunk by speedboats in the last 18 years?
I've worked on a few applications with 'rich/complex interactions' and everyone on the team was opposed to using any sort of JS framework. That was nice because it was relatively easy for anyone to trace through the application as needed.

In my experience if the application state is overly complex then that is a result of the design, and that usually leads to a bad experience for the user.
I struggled for many years to finish things and stay motivated. The last 2 years I've shipped several services and side projects. My high level suggestions are 1) work on what interests you (duh) 2) work on solving actual problems you personally have. 3) get a job that lets you learn at work or doesn't take all your energy so you're still motivated on your own time. Might require a pay cut. 4) be patient with yourself through burnout. My worst burnout took a couple years to get through.
I've worked in higher ed for decades, and I can say (anecdotally obviously) that the number one negative change agent was the switch from simply calling them students to 'consumers' or 'customers' depending on which institution you're examining. Many campuses, in my experience, have even just boiled it down to credit hours, instead of even talking about the human people involved.

It has devalued the real purposes of education, and has had the most draining impact on higher education culture that I have ever experienced. It has led to more PR and Marketing dollars, and less dollars for professional development for people who actually impact student success.

I hate it.
That's a really great post!

Good problem description, good introduction, explained code, meaningful and explained graphs, full source code available, conclusion and even possible further exercises. I wish (all) scientific papers were that well written.
Interesting distinction, but I don't think anyone was talking about mortality rate over all people. All the discussion I've seen is the mortality rate of people with the disease.
> I've heard this is the next area of expansion for hardware tech, but I haven't seen much yet.

This has been an continuously active area of hardware design since the 1960s (consider Cray's work on the 6600 and his later work at his own company). The whole HPC world has to obsess on this issue.
A huge amount is invested in Alzheimer’s, but comparing to aids and hiv isn’t a reasonable thing to do:

HIV and AIDS kill people, and they do so quickly.

There’s also a foothold on how to treat it - whereas for Alzheimer’s we don’t even have an understanding of what actually causes it. Once we know the actual cause I suspect we’ll see research funds skyrocket.
It seems your position is that the response is the trigger not the initial aggression. How did WW2 start? With Hitler invading Poland or was that fine, and UK/France bear the blame of the WW2 by declaring war on hitler in response?
% of the repos in the org on github? That number is lower than I'd like. % of the repos that are actively maintained? Much higher.

One of the great things about julia is that it's really easy to throw together a package and register it. One of the bad things about julia is how easy it is for those one-off projects or idea dumps to pollute the space. We could definitely do a better job labeling the repos that are no longer being maintained or that aren't actually ready for prime time. There's a tradition in julia of a lot of really functional libraries to stay < v1.0, because we all take semver seriously, and if the interface is still in a bit of flux, making the switch to 1.0 is a big deal (DataFrames.jl, looking at you). But it does make it hard for new users to distinguish between a super robust package and someone's weekend hobby.
I have heard that there are left-handed pens. Geometrically and mechanically, they're the same as regular pens. The difference is that they hold faster-drying ink.

I have not actually confirmed this, or even seen them for sale. I don't even know where you'd go to buy them (Amazon, probably). But if you're a lefty, it might be worth looking into.
What is money for? After water, food, shelter, and a few more things, Maslow and I spend our my money on culture. Why work 40hrs/week in hell to get some extra money to use to buy a cultural life outside of work?
How would you like modules to work?

It seems great to me that paths & source files are mostly irrelevant, you're free to re-organise without changing anything. And that `using Xyz` is always talking to the package manager. You can make sub-modules and say `using .Xyz`, but there's very little need to do so, and few packages do.

You can shoot yourself in the foot by including source twice, as you can by generating it with a macro, or simply copy-pasting wrong.
Asians in Europe racially targeted over Corona virus
That seems fairly trivial considering he was in the business of renting out webspace.
tl;dr of the article:

1. The app was buggy and had a terrible roll-out
2. The people in the backup call center couldn't use 2FA because they didn't have their phones
3. Someone posted the phone number for the backup reporting system on 4chan.
4. Individual caucus centers were manually calculating the 36 numbers they needed to report, making errors and also not always following the rules.

For those outside the US, note this shouldn't reflect on the entire voting system. Caucuses, which are rare, are run by party volunteers. Primaries are run by the government.
If you're wondering why a web host, who could potentially be immune to prosecution under CDA 230, was charged with the distribution of child pornography, according to the warrant [1] an admin of one of the pedo sites claimed that Freedom Hosting had "full control" over the websites (well, he had root access to the servers, but so did OVH), was patching the websites, that the pedo site hosting was free, and that he assumed that Marques covered the hosting costs as a service to the "pedo community". Technically the prosecutors might have had to prove that he knew what the sites were hosting, but he did plead guilty. Hopefully the actual operators of the pedo sites are found and prosecuted, and not just this sysadmin.

[1] https://www.courtlistener.com/recap/gov.uscourts.mdd.247657/...
Maybe this goes without saying, but for a fixed accuracy the number of samples required to estimate the distribution parameters does not depend on the number of samples available. Maybe if you need to sort more samples you need more accuracy, though.
That’s a rather cynical view. I think of it more like: “culture” is one of the few ways to control people at scale. If you are a product team on Apple’s Live Photo’s feature and you are thinking about what telemetry to collect, if you look at it just based on your evaluated metrics, you’ll think, huh, I’ll be promoted if this feature is awesome, let me collect everything I can and see if it helps me. But if there’s a cultural commitment to privacy, then everyone will think “that’s not very Appley,” when you present your optimizations to your boss he’ll ask you “where did you get all that data? Why did you log it?” Etc.

Now as with all things it can be used in good and bad ways and it’s far easier to do bad than to do good. But it’s just a tool of control.
for me, yeah it is. for example i do various one offs for bid and proposal work; these probably should get nicely written up but they often get stuck if the B&P doesn't get accepted, but then a similar one comes up in 6 months, etc.

being able to see what directories i was in to run various analyses etc. is really invaluable. or even just how RESTful APIs were used (is it POST or PUT /api/v1/predict?) in various poorly documented stuff.

i also work across various machines, local laptop to powerful GPU node for training etc. so helps to have all that history in a nice central form. i'm just using zsh-histdb though which so far is fine for my needs.
Oh snap it's Forest! I wonder what he's up to these days. He used to be a dev at Uber Entertainment and did some cool community engagement.
I haven't used it or looked into what it supports, but I did remember this announcement which may interest you: "New – Port Forwarding Using AWS System Manager Session Manager": https://aws.amazon.com/blogs/aws/new-port-forwarding-using-a...

To make the ProxyCommand setup a little easier, perhaps you could use `aws ec2 describe-instances` with the appropriate filter? For example, the article I linked uses:

INSTANCE_ID=$(aws ec2 describe-instances \
--filter "Name=tag:Name,Values=$INSTANCE_NAME" \
--query "Reservations[].Instances[?State.Name == 'running'].InstanceId[]" \
--output text)

to grab the instance ID from the Name tag. You could set up a shell script as a ProxyCommand to do this automatically, although beware that ProxyCommand's %h will always lowercase the input...
> I really don't care about things like UI consistency and whatnot -- what I do care about is stability and functionality.

I was on Linux for about 20 years, and now I've been on Mac for 6. Of course, I've had to deal with Windows all this time, too, for gaming and work. (I was even certified on NT.) Anyway, I've no doubt that Windows is pretty stable by now, but the glorious configuration that my company sets up on their laptops starts bugging us to reboot after 5 days, just because it's been "a long time." I blame Microsoft for making their software cater to people who cut-and-paste from Google results to create IT policy, and creating an ecosystem which leads companies to do things like this, and, say, locking the desktop background, of all things.

And you can keep Powershell, along with WSL.

Sure, Apple doesn't play well with enterprises, because they start with the fundamental assumption that the device is PERSONAL, and you're not using someone else's loaned device. I'm very glad for this. (And I'm never giving my company permissions to remotely wipe my devices with Mobile Iron.)

I'd really love to see OS usage percentage numbers with corporate use factored out. My gut feeling is that Windows has absolutely nosedived for personal use over the past few years, and it's only corporations that are keeping the numbers in the air. Half the people I know don't even have a computer, and are just using their phone or an iPad.
Naval Ravikant: How to get rich (without getting lucky) (2018)
To think about recursion, you first have to think about recursion.
Moore's Law is responsible. Computers in the 80s were much more modifiable and long-lasting, but back then 5 years was an absolute eternity for hardware performance. So we learned to buy cheaper computers because we'd have to replace them every 3-5 years anyway.
It is your imagination. And now I'm going to make a wild claim with no citations because I'm on mobile, but. . .

Graduate quality and skill has increased since 1990 [citation here] for each school individually. What you're seeing is an increase in the variety of institutions you are seeing graduates from.

Not everywhere is created equal. Universities and graduates are all mostly getting better, but they're not all as good as one another.
I have searched and reread the article to find this "explicit mention" and have come up empty. Can you be more specific?
> Motivation is the goal.

I cannot speak for everyone but nothing motivates me more than a well defined task/problem, a reasonable amount of time to solve it, and a follow up letting me know how much my solution helped.

No amount of gimmicks is gonna win with that.
> Tor was created to help dissidents of other nations communicate [1]

Why would the US Navy develop something to help dissidents in other nations?

[1] https://en.wikipedia.org/wiki/Tor_(anonymity_network)#Histor...

> The core principle of Tor, "onion routing", was developed in the mid-1990s by United States Naval Research Laboratory employees, mathematician Paul Syverson, and computer scientists Michael G. Reed and David Goldschlag, with the purpose of protecting U.S. intelligence communications online. Onion routing was further developed by DARPA in 1997
Thank you. So often when I talk about solutions people say “it won’t work” because of some problem they’ve identified. They completely miss whether the current system also has that problem and whether the proposed situation at least represents an improvement. I can’t solve every problem nor do I claim to! All human systems will have difficulties. But some systems are set up structurally to be more exploitative than others.
Maybe it's related to IPv6, I've disabled IPv6 on the server. can you please test it for me once again?
If it was a team building exercise, the altruism was not the point, but a vehicle for social cohesion.

Sending people home defeats the purpose.
His web site. His style.
If I reduce your load of gunshot wounds near zero but to a nonzero value, the pathogenesis of your disease will still worsen. This blogger will then claim that the gunshot wound hypothesis is flawed!

The data shows that reducing amyloid-beta load is not sufficient to confer a clinical benefit. That's all the data shows. The failure of these drugs does not preclude the role of amyloid formation in the diseases.

In particular, there is no known dose-response relationship for amyloid-beta or other pathogenically-implicated amyloid proteins.

The conclusion is similar: these drugs aiming to reduce amyloid load are illogical. But the subsequent claim that the amyloid hypothesis is wrong does not follow.
Because it's easy to do and gives you an answer to "What are you doing about X" where X is one of:

Bullying

Drugs

Sex

Cheating

Whatever
How do I know its sensitive? How did you decide its massive? 20 GB of data is not massive in my opinion.

Furthermore, perhaps I operate a crawler or an internet archiving service, and i dont even know i am collecting it.
Chauvinism really. It is assumed they have no opinions of worth and best to be overridden by someone "right" higher than them (administratiors).

That tendency is in no way unique to teenagers and has a long and dark history.
"Still using Firefox?" Seems to me implies that it's old and antiquated and only used by people who don't know any better. Of course the opposite is true.
Whatever it says it has no place in my paid for OS.

Seeing this is the top comment here I can only assume MS PR is hard at work upvoting on HN.

Unless HN crowd had a change of heart overnight about privacy, freedom and software license ownership.
I use these 7 git commit message style rules [1] to establish my foundation of "committese". Things like "Use the imperative mood in the subject line" give commit messages a succint, consistent style.

Everything after that is finesse, personal effort, and ability to express things succinctly (much like the personalized "headlinese" styles mentioned).

[1]: https://chris.beams.io/posts/git-commit/
Cavitation can be used to vaporize water into a fine mist
> There is literally zero application or real world usage for "blockchain" outside of currency.

Blockchain tech is already being used to secure logs of enterprise services. GE Predix platform, with blockchain-based integrity provided by Ericsson, is a notable example: https://www.ericsson.com/en/press-releases/2017/5/ericsson-l...
Isn't programming about using abstraction to simplify complexity? You take two primitives and compose those primitives to form a simpler abstraction. This is the whole point of programming languages, otherwise we'd just use assembly as in the end it's all isomorphic anyway.

The question of how to Design things or how to abstract things in programming is thus in essence a discussion about different ways of composing things (aka different ways of abstracting things). It is the drive behind all the arguments behind different programming styles, different programming languages and different system designs.

The way you compose primitives in functional programming is through function composition. The debate between functional programming and procedural programming and OOP from a "design" perspective is thus the debate between which primitive composes better:

The function or the procedure or the object?

It's a question of Design and at the heart of it lies composition.

I think most people who love functional programming know on some level that the "design" of functional programs "feels" better. Most of them have never thought about "why" this is the case. They have never tried to answer the question of what is the true nature "design" from a programming language perspective. What is this vague thing we are optimizing for? We are constantly inventing new programming languages/patterns in attempt to answer the question and instead much of the time we move in a flat circle and come back to where we were before (see golang).

I believe FP moves the ball forward in terms of design. The thing is, most people can't see why. They rely on inexact feelings, and a lot of the times they even feel the opposite. I've heard people talk about FP is just a fad similar to design patterns and OOP. Without the ability to develop an exact concrete answer why one "design" is better than the other, we will always move in circles even when we discover a "design" that is actually better.

If you want an exact, concrete answer to the question of "design" the answer lies in the mechanics of composition.
"Targeted" for me would imply that Windows is checking first to see whether Firefox is installed, and only showing the suggestion if so.

If this is just a general suggestion that gets pushed out to all Windows computers, then it's not so much targeted as merely questionable use of platform.
One we implemented is a Random / Water Cooler slack channel.

Keep it worksafe, but otherwise anything goes. Best thread we had was on at-home storage options, how to hack synology to do [X], people sharing code for said hacks, etc.

Daily chats and people bringing discussion topics on the regular really helped with team cohesiveness.
Cryptography Dispatches: The Linux Csprng Is Now Good
One can tell themselves their 40 hour work week (not including commute) isn't their life. They would be lying to themselves.

A 40 hour work week is 23.8% of your week. If you get 7 hours of sleep per night, it's 33.6%. I don't want a third of my waking hours to not be my "real" life.
Do you think that this will still be the case now that we have the internet? I wonder if the English of 3000 AD will be as different from 2000 AD as 2000 AD is from 1000 AD. I feel like the big players in tech have the capability to direct language evolution somewhat. Consider the pronunciation feature Google offers if you look up the definition of a word (the little speaker icon) -- the pronunciation they provide there could influence learners. I'm not suggesting anything insidious, just recognizing the potential that seems to be there.
Really? Category theory (when applied to FP) is basically the theory of function composition. I would think this point of view is huge in academia due to the prevalence of CT among academia and FP.

>with the divergence between compositional and applicative languages being almost completely absent.

Most FP languages have facilities to do both anyway. And the isomorphisms between the two concepts are small in distance so it doesn't matter too much if you use applicative over compositional. So really when I say you should do "point-free" to see the big picture I'm advocating that more for educational purposes rather than practical (though I'm not opposed to practical).

That being said you and I are pretty much in agreement, I was just unaware of the whole academic thing.
I think by now it should be pretty obvious what peer review is and isn't. I see it as a low bar to filter out some (yet not all) obvious bullshit.

Wakefield's "Vaccines cause Autism" study was peer reviewed. All the fancy powerposing/social priming/etc. studies that created the psychology replication crisis were peer reviewed. Bem's precognition research was peer reviewed.

As soon as you go into empirical research there are things that peer reviewers just can't check, e.g. whether the study author created the hypothesis before or after collecting the data. There's also things that could be checked, but usually aren't, like pretty much most of the software created for research.
From their T&C's page "you may provide us with information about your contacts (such as names, email addresses, etc.)"

Whoever installs this app consents to sharing the information of their contacts, who might not consent to having their data shared.

Ultimately, this could lead to giving disposable contact details to friends and relatives, in order to (try to) preserve one's privacy.
>Yes and no. The type might look different, but it's still a function!

The type is different. Functions are a class of types. The output of function composition is absolutely a different type but within the class of function types.

>It's very easy to compose data in Haskell.

I suggest you reread my post, I do not believe you fully understood it. You can compose data in ALL languages.

>Query a b -> Query c a -> Query c b

I mentioned the tuple type in my post which is essentially the same thing as what you're doing sans the constructor. In type theory these things are called "Product types."

Products are commutative, but in Haskell Data composition does not hold this property. See below:

(a,b) != (b,a)
Query a b != Query b a

while

(a * b) == (b * a)

I am saying there is limited power in Data composition in Haskell, it is not as "complete" as function composition. It also brings nothing new to the table as the data compositional patterns are used outside of FP extensively.
Serverless Framework with Terraform: A Firsthand Experience
It's not pedantic. People are specifically asked by universities not to refer to themselves as doctors when given honorary degrees. This is entirely different from calling someone by their name. Please don't try to manipulate the situation here.