skysight-inc/HackerNews huggingface dataset:
Ask HN: Books on functional programming for experienced (OO) developers?
I've done a fair share of developing software but primarily exposed only to OO languages. I've dipped my toes into FP and while I understand the benefits, I struggle when it comes to day to day application.

1. While I bring in C# option/maybe implementations and apply them.
2. I've seen (many times) the Boundaries talk by Gary Bernhardt yet struggle to apply it effectively
3. I also took a PL course (https://www.coursera.org/learn/programming-languages)

I'm looking for a good books to supplement my knowledge and also tips from folks here with a similar experience on applying FP practices with OO and how they were able to transition from knowing the theory to applying it successfully.
Here comes some of that sweet sweet jantelov!

https://en.wikipedia.org/wiki/Law_of_Jante
Android has a stable ABI, it is called Treble HAL.
You might be interested to read about Wim Hof, aka 'The Iceman' who can withstand extreme cold for long periods of time (e.g. Guiness record, 2hrs standing packed in ice cubes).

He teaches his techniques, though he may exaggerate the beneficial health effects a tad.

https://en.wikipedia.org/wiki/Wim_Hof

https://www.youtube.com/watch?v=XUQwFZ_xFdM
Wow, you keep moving those goalposts. So what exactly is unique to the West that you find regrettable?

Please be specific, because so far you've been awfully vague, almost like you don't want to be specific enough to where someone could falsify what you've said.
Why did you waste 16 years of your life in a place that you dislike so much?

I spend a lot of time with latino people (due to work), and yes, I agree that they are a lot less boring than Norwegians. But hour after hour of juvenile penis-jokes and giggling at what is always something sexual, it gets pretty boring too. Sure, they do laugh a lot more than Norwegians, but for anyone else, they come off as pretty boring as well.

At the Norwegian table, during lunch, the discussions are often deeper and more interesting, but there is a lot less laughter.
And if i decide it's about punching people in the face, in the end it has as much value as your decision for a grand humanitarian crusade, because it's just as much a choice as the other.

So we're back to needing a point to judge decisions by. The choice isn't enough, or the fact of choosing isn't enough. This is what creates the "whole life is pointless" reaction in the first place, because "you decide" can mean anything, and there has to be something that isn't solely "you decide" to give particular meaning to one choice over the other.
Been living here for 20 some years never had problems finding good bread.
The family of a controversial public figure would do better not to expose themselves to public discussion of that person soon after their death but to grieve privately.

And if people are speaking ill of the dead it's highly likely that people were speaking ill of them before they died too, so any 'ill-speak' is hardly likely to be news to them.

(I'm speaking from principle here; I personally have nothing ill to say about Harold Bloom).
Show HN: Shakeout – Delete or Alive Survival SNS
You can also see that as an opportunity, at least for those who stay in academia: all fundamentals are up for reevaluation, and replication studies haven't been popular until recently, so there's bound to be some high-impact, low-hanging fruit.
Not being mean or anything, but can I ask what exactly this is?
> No morals outside of what is legal and not is a recipe for disaster.

What are you basing this on? The common stereotype is that Scandinavians tend to be extremely conscious about not bothering others.
The tech community teaches me so often that no matter how cynical I am, the world will find a way to exploit whatever shred of optimism is left.

I have a message in my inbox from the leadership of Meetup.com thanking us for... something nebulous, from just a couple days ago. I’ve only been using meetup for a year or so but can’t recall getting a note before.

Aww that’s nice.

No, it wasn’t nice. It was buttering us up for this news.

One of the pieces of advice I’ve cherished is that if you’re going to ask someone for something, just ask. Especially if you haven’t talked in a while. Putting pleasantries in front of it just makes the whole exchange feel cheap and exploitive. If you want to ask about the kids, the dogs, the book she wrote, by all means do that afterward. Then it looks sincere, instead of like stalling.

I’m gathering nobody gave Meetup that advice, or at any rate they didn’t listen.
That's not really the same thing, it's a second shortcut for basically the same action. It's really not that good, it's far away from Tab and I don't ever remember that it exists. I remapped it to Option+Tab but it's not good either.
You need to figure out what you mean by security. Cryptography? Hacking devices? Stalking/anti-stalking, malware, etc? Hardening boxes? Penetration testing?
When I was 18 I tested 135 on a FRT based on Raven Matrices. I briefly joined Mensa and what I saw was quite depressing. Dysfunction upon dysfunction and wasted potential. Except for the dysfunction it reminded me too much of myself and I had to quit. This is of course a limited data set so take it with a grain of salt.

I would recommend http://prometheussociety.org/wp/articles/the-outsiders/
It was a pivot that failed.

Even though we were growing quickly, the data showed that we'd landed on a local maxima with the original product. Our churn rate was around 3%/mth and the vast majority of churn was "because we don't have a project in QA". We felt we could address that with a different offering (you'd call it a pivot). That pivot failed to deliver a product that resonated the way the original did.

Fortunately, we hadn't shut down the original product (which was still growing), and so the mistake was not fatal.
It's kind of a bummer to see so many comments going straight for the judgmental angle. I think you will be happier as a person if you try to take on a more curiosity driven mindset. There are a bunch of pros to eating like this, and there are a bunch of cons.

It would be equally silly to have a thread about long Spanish lunches, socializing, and siestas being filled with comments about how it's a "waste of time".
Not all releases have to be ground breaking, especially in a mature and stable language. Cleaning up things, putting other things in place for major releases, that's commendable too.

I did not follow all the conversation around the typing system but isn't the whole point of it to propose optimizations in the future? I find it exciting
Conceptually it's because it gets much harder to speed something up, but not that much harder to change the direction of its velocity. So for a force with both radial (along velocity) and tangential (perpendicular to velocity) components, the acceleration points more tangentially than the force does.

A really excellent, conceptually clear exposition of relativity is given in chapters 11 and 12 of Morin's Mechanics. The modified version of F=ma is covered in section 12.5.
> Why bother going through Tencent?

Indeed, especially considering this: https://news.ycombinator.com/item?id=21241712

I think the only difference is that it also applies to the region set, so don't do that if you're not in China.
Being happy eating boring food is a superpower, lets you focus on more interesting parts of life.
Getting re-elected, I suppose.
Far away from tab? It’s a single key up, at least on a US Qwerty keyboard.

Update: Looking into non-us keyboards, this is way less convenient. Italian keyboards don’t even have a tilde? How do they program?
What? That's not how Jante works.
Francis Mojica: The Modest Microbiologist Who Discovered and Named CRISPR
Running a few different containers in Docker at home.

- Hand-rolled Go reverse proxy with TLS from LE.

- Several Pg DBs for development.

- VPN server.

- Chisel for hosting things "from home" while running on my laptop remotely.

- Etcd

- Jenkins

- Gitea

- Pi-hole

- A few different development projects
> I'd be starving and unproductive all afternoon. What's the secret?

You'd think that, but it's a tricky thing listening to our bodies: That feeling you associate with hunger can also be triggered by your stomach being empty or being on the far side of a sugar/carb spike.

Real hunger is a very different feeling. I often fast(†) 2-3 days in a row (sometimes as many as 4) and I definitely don't feel real hunger the first two days of not eating (and rarely before day four). It feels awful in a way you're not likely to confuse with the feeling you have midday, but fortunately dealing with an empty stomach is easy: Have some water (or a coffee/tea; decaf is ok). 20 minutes later your stomach has something in it and something to do (more if it's cold water) and you can get on with your day.

The second part is that sugar-spike: That's a killer for me. If you're getting too many of your calories from sugar your body will respond fast to the lack of sugar (even though you've got plenty of calories) and you will feel hungry even if you're not. Everyone who has eaten a candy-bar on an empty stomach has felt this a few hours later, but there's not much you can do except eat less sugar, and get your calories from something less spiky like fat and protein. This is probably the single biggest reason low-carb diets are successful, because you don't get that carb craving feeling.

(†) I usually mean zero-calories by this, but I travel around twenty times a year and it's often really helpful to get some new calories at the right-time-of-day to help adjust to the local timezone, so I might have as much as 600kcal in a day and still consider it "fasting". This is still far less than what many people have in even a single meal, and I'd have no problem with my energy-level or really anything else doing it continuously except for the fact that I really do like to eat.
This is certainly not the realization that I have reached.

To me, "app" is an arbitrary grouping that I don't really care about. I have little mental projects in my head with a couple of windows related to them. That could be a browser window and an instance of vscode. The fact that I might have another set of windows that happen to use those same apps doesn't mean that I want them to pollute my z-index when switching back and forth.

Yes, I know about spaces or multiple desktops or whatever but for some reason those don't sit will with me.
Butter is a condiment. a boring lunch to me would just 2 slices of bread over just ham.
I would not call them wasted.

It is a calm place.If you know how to live in it. Just like a jungle. I just treat it like my personal urban jungle where I can do whatever I want.

That is the beauty of Norwegians. They are pushovers, non confrontational, scared , and very easy to manipulate and intimidate.

https://en.wikipedia.org/wiki/Master_suppression_techniques

So work is easy, money are good I found out that a Norwegian food is cheaper that an Indian servant.
If you are around Munich, still looking for a job, drop me a line at info at langsys.com

Deep thinking is what we look for.
MacOS has custom shortcuts for everything.
Can you share one of those studies?
f-strings are great. Much nicer than ".format". I hope in a next iteration of the language all strings will be f-strings by default, avoiding the need to prefix them by a silly "f".
That's still money, it's just different currencies. Money (or currency) is something that is widely accepted to have value not from its inherent properties but because it is accepted everywhere in a transaction. If something is difficult to exchange quickly with most exchange partners (e.g. taking days to transfer stocks from you to a gas station) then it's either not a currency or its a bad currency. Bitcoin and other cryptocoins are "sort-of-currencies" because you can't practically use bitcoin and stop using USD. This is why the SEC is starting to treat crypto like a security.
Yeah, that's where I realized the magnitude of the number. They've got a bunch of extra reading articles at the bottom. The CBECI data from Cambridge University lines up with it (and I think is referenced from the Digiconomist writeup). Its methodology section explains how they got where they did [1].

[1] https://www.cbeci.org/methodology/
The purpose of this system is to censor the internet, no? Isn't that enough?

But that being said, I do not believe that hashes are enough, because all they really need is to know you visited one (hash of) a certain website out of thousands. They do not need proof, and they don't need it to work reliably, and they do not need the model to be precise or good.
For the system to work in China, this is sufficient. It need not be perfect, it just needs to loom in the background.
People will do the rest themselves.

This, I think, one should not forget, especially if you really, really don't see an issue with what Apple is doing.
In a swing, the back-and-forth linear momentum comes from the tension in the wires, while the energy comes from your legs. No conservation laws are broken.
Small pieces of wax paper, precut for packing sandwiches together? Wonderful!

I would love for my own culture to adopt such a convenience! So much better than cling film or foil.
It's like Quora.com:

- Is PHP dying in 2019? (25 Oct 2018)
- Is PHP dying in 2018? (27 Apr 2018)
- Will PHP die out in 2017? (24 Mar 2017)
- When will PHP finally die? (13 Feb 2017)

I asked people at Metaculus (a forecasting website) "When will PHP die?". The current consensus out of 43 predictions seems to be 50% chance before Jan 2037, 75% before Feb 2051. Seems like a reasonable prediction.

If you are interested in making your own predictions:
https://www.metaculus.com/questions/1691/when-will-php-die/
There's another, simple reason which predates the very real concerns another antibiotic resistance these days; it's impossible to make cheese or other dairy products with even slightly antibiotic contaminated milk.

Source - grew up on a NZ dairy farm. Every milk collection from every farm was sampled and tested for bacteria, and antibiotics. Too much of the first, and you were penalised with a lower payment for a start. Any of the latter, and you paid for disposal of all the milk in the tanker load, from your farm, and the others it collected. This was thirty years ago, if anything it will be stricter now.

Solution was simple, look after the cattle, and keep the medicated ones out of the milking herd.
Just get a Jerry can
people are self-interested not truth interested. most scientific fields are initiated by a small handful of geniuses, but over time become a type of cloistered bureaucracy. your standard university education teaches you there are two paths - you make significant contributions and are remembered long after you die, or you plug in as a fresh node into the existing structure and are rewarded with a comfortable life, just check your ethics at the door.

this is largely due to the failure of idealism as a philosophical framework to set up any type of enduring political, economic or secular social structure. the blame lies on hegel or perhaps marx's interpretation of hegel getting stuck in praxis quagmires. which is why the turn towards asia and the new age movement which emerges from it in the early 1900s is essentially anti-science. the spiritual successor of communism is the idea of fusing the east and west traditions to form the new enlightened human, who sees no race, religion or gender but simply behaves as the universal light and creator. it has largely been a failure, as folding china into the world community has been against the pragmatic self-interest of various sensitive american industries - weapons, space, communication, high finance, which can exert sufficient power on the american leadership structures to avoid any type of idealism about world peace. there are no more enemies or allies just competitive co-morbidity, actors fraying the ropes they are tugging on until something breaks, like the ussr in the 80s.

it's only a problem if you think humans are equal. if you shift the view that humans are unequal and life is deeply unfair, then it's normal to see the next 100 years as a struggle for dominance between superstition and science, between a world led by north america or eurasia, between the new dominoes of fascist nationalism and disinterested international capitalism. it's a hot peace, which will end up with one temporary victor, possibly colonizing mars - or just landing there and coming back, before a new power emerges to challenge the old empire. i would argue that this is a bi-product of the 'correct' interpretation of hegel, the one that isn't taught directly in schools, the master and slave dialectic.
Basic Security Checklist for Your Application
This is not unique to Norway. In the Netherlands I was basically raised on a "Norwegian" sandwich lunch, although peanut butter could be used as a topping as well.
I'd wager the lack of availability and communication of widely accessible videos were limited mostly by cost of bandwidth. Watching videos over 28k was no joy.

In the early 2000s before YouTube, IME it was a lot more about P2P than web-based publishing or streaming (as mentioned, streaming video was mostly horrible RealPlayer).

A lot of videos were shared and downloaded through DirectConnect and the FastTrack (Kazaa/Grokster/iMesh/Morpheus) and Gnutella (Limewire) family protocols. Some was discovered via search and some (especially at LAN parties) via browsing others' archives. People seem to forget that early day P2P was far from only piracy - this is how homemade content was spread as well.

More sophisticated people would have web sites linking to FTP archives of their own content. I also gather that file-sharing (mostly piracy?) via IRC was big, but it's not something I personally used.

The web was less conflated with the internet back then.
Nobody put words in your mouth, and the way you've responded leads me to believe the point I was making flew over your head entirely.
Yes all Xooglers are stupid and don't do prior research.
I can believe they have those ads!

To be fair, though: My spouse, the resident Norwegian, really likes it. Soetimes with a sliced, hard-boiled egg. But he's also been eating it since he was a child as it is a cheap and easy thing to make children. It is more akin to American children with peanut butter.

I, however, being the import to Norway, find it fairly disgusting.
You can't fix a culture developed over 20 years (at least not fast). Especially if its a culture seen as good and beneficial by everything that surrounds you. Let's face it: the culture problems at Boeing are only a sign of the same problem everywhere.

If fixing culture is a prerequisite the MAX will never fly again.
Unless I've missed anything, the only known, proven to actually work, propellantless thrust system are solar sails (and various beam-powered equivalents). Even nuclear photonic rockets slowly use up reaction mass.

However, ion drives are already fairly mature and perfectly viable for interstellar travel, if you're willing to wait.

Sails aren't yet feasible outside the solar system (and are still in their infancy even within), but with enough power production they might be another option in the future.
It's definitely problematic, but so is having your interpreter completely redefine language constructs on every point release. Or having different interpreter implementations act differently because there's no standard.

Somehow we make do in these cases and don't act like the sky is falling.
Are you kidding me ? Mobile ad revenue for one ? This comment shows you are not acting in good faith or just plain anti Google.
Are you suggesting that basic decency wasn't a thing on SO/SE before? I can count the number of rude interactions I've witnessed on two hands, and all of them were either people being angry about their shitty questions being flagged or fundamental disagreements over how software development should be done.

This wasn't a significant problem for the community as a whole. Certainly, any individual might be hurt when it happens, but let's keep some perspective. I've also not heard anything about mods not being able to deal with instances when it happened. There were people trying to be within an inch of the rules (on other issues, I've never seen gender being an issue at all), and they were all easily dealt with because SO never claimed to apply any rules by the letter only.

Granted, I'm speaking for the technical sites, law.se or pets.se may be terrible places, but I doubt it. Where did you witness that lack of basic decency?
Short, but nice article. If you’re interested in restoration you might enjoy Baumgartner’s YouTube channel

https://www.youtube.com/channel/UCvZe6ZCbF9xgbbbdkiodPKQ
It sounds like you might be arguing the relative merits of preemptive multitasking in some generic case rather than the specific domain tokio operates in.

Tokio is a lot about IO. The resources the scheduler is waiting for will almost exclusively be network and file operations.

There is a risk that a task does some long running CPU work on the back of a future or uses sync network/file operations. Maybe a preemptive scheduler could help then, but I'm not convinced by your argument that tokio needs to optimize for this.
This is fair criticism. I've worked with Python for many years now, and one of the things that attracted me was that there was always a fsirly static "Pythonic" way to do things. The language has now grown so much that 80% of the people only use 20% of the language, but not always the same 20%, making it difficult to read other people's code. And all the syntactic changes contribute to fragmentation (not every project can have its Python interpreter upgraded regularly).

There's something to be said for a more stable, if less elegant, language.
Shouldn't this link to https://github.com/dotnet/corefx/issues/41769 instead since it's redirecting there for discussion?
So correct..

I guess now Scandinavians are also a "protected" "race"- list...
Here's how you figure out which half it is:
https://www.youtube.com/watch?v=oYu1pePYu-A

(please excuse the shitpost effects, the video is still useful)
Chinese citizen here but not a legal expert. I am not aware of any Chinese law requiring compliance with intelligence agencies' request. Can you please give a source?
Braindead arguments for the character of Elisabeth Holmes. Bottom line: She lied a whole bunch and peddled medical devices which she knew were inaccurate to be placed in stores. Real people really used them and got bad results. This is a super messed up thing for her to have engaged in.
Step out of your comfort zone.

Create a new account and make its goal to gather as much negative karma on HN as possible.
This process may help you outgrow the fear and to grow as a person.

What's the worst that can happen? Your handle gets banned from the site? Nobody will miss a sleep over that.
Workhabor
I agree with your contempt for IQ. On this matter:

> In the case of IQ people seem to have forgotten whatever it was that they were trying to model in the first place

IQ was originally designed to determine mental development issues, i.e. sub-intelligence, so that those people could be helped. This is flagged by scores below 80. Ranking intelligence by scores above 80 is bunk. Nassim Taleb has written well on this subject [1], if you are interested.

[1] https://medium.com/incerto/iq-is-largely-a-pseudoscientific-...
I can't afford to have a holiday in Hawaii, so a particular definition of fairness is already encoded.
Things you need to do before you start coding
I was trying to get into kayaking but the local water was so cold that there’s a risk of drowning if you go over/in because it’s so cold that you involuntarily gasp.

I don’t think anyone explained to me the extent to which a dry suit dampens that response (only your head get the full force) so that little fact scared the crap out of me. I’m not gonna go kayaking solo if I can end up dead.

Now that I’m farther south (and have rooms longer than 17 feet) I may try again.
I think I need to have a lay down