skysight-inc/HackerNews huggingface dataset:
So, I’ve programmed in Haskell and Clojure and I really wish people would give over on the Haskell requires category theory meme.

What Haskell offers is _generalisation of abstraction_. So, the function that satisfies the behaviour of fnil is called fmap, but it’s also the function that maps a function over all the values of a list, or the return values of a function. Equally, the equivalent of some->> (do notation) works for all of the above and more.

None of this requires you to know what a Kliesi category is.
Exactly. Free market is great for wants but absolutely horrible for necessities.
Haha you are right. they don't even load the content in the background, what loads to make it look like there's content behind the modal window is this background image:

https://static.licdn.com/sc/h/734ll15l5cvbbovgvzso1x7oj

They used to allow you to view public profiles without being logged in. Perhaps try reporting them?
Baba Ramdev Launches SIM Cards
>Look at tor for a example

Is tor not a federation of onion routers?
How to Be Better at Recruitment Than a Coin-Toss
I’ve never found a compelling reason to use this construct (or the analogous `while...else` construct). But then again, I rarely find myself using `else` with `if` either...
That doesn't really say anything. The argument isn't that Microsoft is ceding Windows' territory to a competitor, it's that the product category as a whole is shrinking.
Groovy is excellent. Highly enjoyable... it’s the real JavaScript. But I prefer Java for production code and Groovy for tests.
> Serialization was a “horrible mistake”

RMI required it. Mr. Reinhold has apparently forgotten the scene in late 90s. CORBA anyone?
Nudge4j – debugging Java from the browser
Click on the "readability mode" or whatever you have in your browser (at least Firefox and Chrome have it) and you get a page that's even better formatted than whatever NPR would give you.
I think the 2500 € is before income taxes, whereas 1772€ is after the income tax
Yeah, but when you're locked in to only choosing whichever your company provides you there's not much opportunity to switch, so there's really nothing you can do.
Self fulfilling prophecy
I write quite often something like that:

for i in range(10):
for j in range(10):
if condition(i,j):
dosomething
break
else:
continue
break

It's a pattern that ensure that dosometing
is run at most once by "propagating" the
break to the outer loop.

The alternative is use a function and do a return.

Any though of this ?
The US Treasury department says trading in Petro cryptocoins would violate US sanctions against Venezuela. So Bitfinex will not trade in it. Coinmarketcap.com lists over 1500 cryptocoins, but not the Petro.

This sort of things shows up the myth of decentralization. Only one cryptocoin with elements of decentralization has been truly challenged, and has basically collapsed under US government pressure. It shows "decentralization" only exists until one powerful country challenges it. Which effectively means all cryptocoins may as well be directed by the US Federal Reserve. Which means you might as well buy dollars if that is the case.

While this is all the case, it can not be proved, so can be dismissed. What it does portend - the complete collapse of Bitcoin at some point - can not be dismissed though.
Nil is monoid-zero – what do you think of this idea?

assoc {} (assoc nil :a 10) => {:a 10}
concat '() (concat nil '(a b c)) => (a b c)
str "" (str "abc" nil) => "abc"

Except where host language interop is prioritized:

comp identity ((comp nil inc) 42) => NPE
+ 0 (+ 1 nil) => NPE
* 1 (* 1 nil) => NPE

AFAICT, everywhere where nil could be sensibly defined as zero without complicating interop, it is. And we can of course pave over the interop examples with `fnil`.
Well, this comment seems incredibly condescending to me. You're not 'sorry', and I can't see the implication you suggest at all. Please allow people to freely be interested in what they're interested in.
And how many consumer users does that project have? Federated clients lost.
The IBM J9 JVM comes with a library called PackedObjects, ie objects whose memory can be off-heap too.
z80 is a lovely instruction set, and a delight to work with. These days CPUs are incredibly complicated, with massive instruction sets, pipelining and caches, microcode and SMP, lots of crazy nonsense going on. Anyone who has ever worked with the x86 family at a low enough level knows just how insane it is. z80, on the other hand, is just a reasonably fast CPU with predictable timings and an instruction set which can fit on an index card (well, if you use both sides). It still has plenty of secrets to discover, though - easily half of the instruction set is undocumented and full of useful tricks. I have spent a lot of time with this CPU, none of it wasted :)
Yes mindset is important. But having run 8 marathons I can tell you wishful thinking is not a substitute for training.

You can’t really quantify fitness, there are too many subtypes (running? swimming? weightlifting?) This study used blood pressure and weight (among others) but those can vary wildly based on genetics and diet, I’m not sure they’re reliable indicators.

The point of the article (as I understand it) is that positive thinking can influence your health. Fine. But let’s not get carried away: you’re not going to roll out of bed and complete an Ironman without training just because you think you can.

EDIT: Mods have updated the title to better reflect the first underlying study (which focuses on mortality, not fitness).

But 1) even with the focus on mortality, it's still hard to correlate PMA and mortality and not control for diet, exercise, history, genetics, etc. and 2) if PMA doesn't correlate w/fitness, it's hard to see how it can make you live longer (i.e., can you be morbidly obese and positive and live longer than an athlete with a bad mental attitude?)

PMA is good. But I'm having a hard time believing you're going to live longer -- seems like there are 50 other factors that are more important.
I was fortunate enough to have started directly with an emotion-based treatment and the changes from last year to now have been huge. Very incremental and I have no idea when they happened, but I feel so much better now.

> I'm now comfortable suggesting that this approach is overlooked by mainstream medicine to the great detriment of many people suffering chronic illness

If people are interested in this, checkout https://www.amazon.com/Healing-Back-Pain-Mind-Body-Connectio...
For compilers and optimizers, people have said pattern matching support in the language is very beneficial. I bet there are other tasks where something like algebraic data types and pattern matching would make the code much simpler, and it's not really hard for the language to implement.
> and cross-border EU commerce is easier than cross-state commerce in the US

I'm curious where you get this impression. Cross-border commerce is very lightly regulated in the US. For most industries, you literally have to put zero thought into the matter.
Regulations can help free markets too. For example, restaurant health regulations make people more willing to patronize different establishments. If a new restaurant can’t get off the ground because those health regulations are too difficult to comply with, that sure sounds like a good thing to me (assuming the regulations themselves are reasonable).
> A company will at least pay 50 to 60k euros per year in total for a junior developer.

It depends on the company, as a junior I'm only getting 36k/year, before income taxes.
Truth just for the fact most people buy a new vehicle every 10 years or so mattering different things. Plus I hear in certain places they getting rid of the gasoline so people will be more in a rush to purchase something running electricity sooner then later.
> ‘get’ is a function that will always exist, but using a map in function position is very fragile and everything breaks if the map itself is nil.

It's no more fragile than any other function which doesn't do nil punning, and again the essay we're supposedly discussing advocates not using nil punning.
Email is a relic of an old era and isn’t a very good example. It wouldn’t catch on if it emerged just now. More and more modern email clients starts to add things on top of the protocol turning their apps into walled gardens (Polymail, Spark, Gmail too actually). Not because they’re evil, because it’s impossible for some players to update the protocol itself.
Mods, can all npr links be automatically changed to the text-only version? It's far superior.
Marketing, marketing, and amount of money that goes into that development.

Give me a few thousand developers, a multi billion dollar ad budget, and the ability to signup every facebook user on the planet to my messaging service, and I'll also win against XMPP. In fact, with those resources carrier pidgeons would've won against XMPP.
I enjoyed that. If you had said "the title reminded me of this story in japanese about a shark in a cafe" I dont think you would have been down voted.
So, these two sharks are in a tank...
My Dad, who had done 5 marathons, won the Ironman lottery to participate in the world championship.
He still spent a year training all the time to finish it, and not at a competitive time.
My point is that you are absolutely right.
Yep, for the uninitiated, Cognitive Behavioral Therapy (CBT) is a standard and empirically-proven set of techniques used by many therapists to treat negative feedback loops (destructive self-criticism). It's basically a set of exercises to reframe one's thoughts.

There's a workbook (Mind over Mood 2e, Greenberger & Padesky, $18 on Amazon) that is often recommended.

I don't suffer from any kind of mental illness but even so have found CBT useful for managing my day-to-day emotions.
If there is one thing that nuclear testing sites, meltdowns, and DMZ thats mined all show is that animals tend to reclaim territory quite fast. Unless nearby areas are still heavily fished I doubt this place is the result of learned behavior.

In order to explain it I would instead look at reason why this place has stayed strong while other places has not. At that depth the ocean might not have been effected as much by changing temperatures, and there might be a better sustained eco balance.
Not a fan. Annoying to access, limited history, ...

Can be improved with having external logs and/or a strong culture of moving things to external documentation, you can set up open gateways for joining, ..., but few Slack-based communities bother.
Franky, this looks great and should be in the article :-)
Haha, nice to hear it still works and well done!
With the first study, I notice that they didn't take into account the participants' general attitudes and happiness levels. It's possible that the people who "thought they were more active", felt that way because they were more optimistic/confident/happy in general, which in turn leads to the reduction in mortality.

The second study is more convincing, since it relies on randomly assigned groups. However, I don't think they measured the participants' actual level of activity during the course of the experiment? It's possible that the different interventions led to differences in activity level, during the experiment period, which led to the physiological improvements later seen.

Perhaps I'm being overly cynical in not accepting the study's conclusion. It just seems too fantastic, that someone can lose weight and reduce their mortality, merely by deluding themselves on how active they really are.
I'm curious about the level of expertise you need in order to do this. I also have a cheap bracelet and I wanted to do the same thing, but reading this article seems like you need to be an expert in electronics/lowlevelprogramming.
> JS isn't "untyped", it's dynamically typed

Yeah I mean of course it’s not untyped. What runtime doesn’t have types? C?

> Static typing is massively overvalued.

Have you every worked extensively with Java/IntelliJ or some other combo like C#/VS? It’s night and day compared to wading through the muck of an untyped codebase.

I can accept we might have different tastes, but whenever people say they advantage of static typing isn’t that great I assume they are either exceptionally gifted and don’t benefit much from a static language/compiler or are ignorant on the subject and don’t know better.
oh boi, best way to handle nil is to have no nil at all
But you are advocating to use the map in function position? That’s much worse than get, most of the time.
ENA is a shit school that has been producing pre-formated political cronies since its creation.
The Darker Side of the “Original Affluent Society”
Sounds like it would make a great TV show!
If by "decentralized" you mean the 10% of us who wouldn't starve during the first month would be running around the ruins of our civilization with spears, hunting animals and each other, day in, day out.

We couldn't survive the loss of efficiency that would happen if "everything started to use blockchains".
That’s compelling as a demonstration of Julia’s expressiveness.

My next thought is: what would it look like in Python?

With and without a deep learning library.

I suspect it would be much shorter with and slightly longer without but I am not certain.
Would they be swayed by a discussion of how Medicare has a choke hold on the whole hospital system?

They are always a major payer and so hospitals will do what it takes to be Medicare certified. In high density areas there can be enough rich people for a hospital to not bother.
The comment I replied to specifically asked about other serialization interfaces.

Both that VBS, and DOC/XLS, contain some code inside. But users though they are just data files, so they opened these things, running the code.

Also, old MS office files were not limited to embedded VBA. They are OLE compound files, so a specially crafted file can create and run ActiveX objects (often implemented as Win32 DLLs registered under HKEY_CLASSES_ROOT key of the registry) installed on user’s system. This is very similar to the way Java serializer creates and runs objects when desterilizing data received from untrusted source.
This is a well reasoned post, so my first reaction is to agree with you. But, then I remember two things. First, I largely learned to program because of some (extremely patient) people on IRC. IRC is similar to Slack in that it theoretically silos away questions and answers and prevents future discoverability. And second, despite all these years of conversations that were held on IRC, I can still find answers to any question imaginable on Google.

In retrospect, I think that Slack (or IRC) might actually be a great way to disseminate information from developers to highly technical people. And, I think that many of these first generation learners blog about what they learned or go to answer questions on other services (ie - StackOverflow).

But, I'm a sample of one and have absolutely no proof of any of this...:)
Building a Local Linux Development Environment with Docker and Make
And they are intent at killing off any stragglers by ever more intrusive advertising, auto installing crapware, and persistent useless notifications.
"Hunter-gatherers emerged from the "Man the Hunter" conference in 1966 as the
"original affluent society." The main features of this thesis now seem to be widely
accepted by anthropologists, despite the strong reservations expressed by certain
specialists in foraging societies concerning the data advanced to support the claim. This
essay brings together a portion ofthe data and argumentation in the literature that raise
a number of questions about hunter-gatherer affluence. Three topics are addressed.
How "hard" do foragers work? How well-fed are members of foraging societies? And
what do we mean by "work, "leisure," and "affluence" in the context offoraging
societies? Finally, this essay offers some thoughts about why, given the reservations and
critical observations expressed by anthropologists who work with foragers, the thesis
seems to have been enthusiastically embraced by most anthropologists."
I find Spock to be highly enjoyable. It warms my heart.
Overall, they are good simply because you do often get quick real-time help, like Irc but with more people.
No way you can use 1300 hours average to compare with 50~60K average salary.

I just assume you took this number off the OECD chart which explicitly states that you can't compare between countries because they have different methods of evaluating the numbers. (Ironically I have only seen country-comparisons from this data)

You won't get anywhere near 1300 hours without counting all part-time, half-time workers who obviously don't get the full salary. The standard is 40 hours per week (37.5 if generous) with 30 days of paid vacation. That is 1700+ hours per year.
The unions in France are currently crapping our transportation system with their unlimited strike 2 days out of 5, all because the unions are clinging to their power. Unions in France has stopped caring about workers a long time ago, they just want to have unionized worker in order to get their (and the gov's) money.
The article focuses on risk of death with regard to fitness instead of an ability to perform in a sport.
Sure, here are some good ones:

https://www.lesswrong.com/posts/tNnhxNYcXYdJYtQRh/overcoming...

https://www.lesswrong.com/posts/oiGN8fLCqYyk2xJaT/avoid-misi...

https://www.lesswrong.com/posts/iA6dNPKFNhXd3JiZs/the-peril-...
I don't like this trend either. What I particularly don't like is that to be signed in into multiple Slack communities, I need to add them to the Slack desktop app. And the more apps I have, the worse the desktop app seems to perform.

I wish the developer communities would realize that IRC has been around for years and performs much much better than Slack.
There was a guy who posted some comments explaining how the industry basically doesn't know exactly why some batteries work better than others, and that the research in this domain is a lot like "nobody know wtf they are doing".

There was also this one comment by a guy explaining that the components used in Apple devices are "premium" components coming from the first batches, and that they make Apple's hardware more reliable than another computer with the same components
> That’s the scalability issue of Blockchain. Fully decentralization cannot afford scalability, just as we cannot afford referendum on every polical proposal.

What you're talking about here is decentralized consensus, which is very different than just decentralization. Regular old decentralization -- a la Secure Scuttlebutt -- has no such scaling issues.
I started a company and brought on a best friend about 2.5 years in. It was a terrible and costly mistake. The business continues to thrive, but our growth was considerably stunted for the year he was on board.

I have a few theories for why it didn't work. I think it comes down to an expectation that, as a friend, normal work rules do not apply. This friend thought they could work on whatever was interesting (rather than what their job called for), and could flake or complain as a friend.

Perhaps a more domineering personality than myself could crack-the-whip and force a person into their role, but then what's the point of the person being a friend? And is that a good use of a founder's time and energy? Arguing with and controlling a friend/employee? Nope.

I have had much better luck hiring people I don't know and becoming their friend through work.
I also don't think it's appropriate for a cryptography paper to cite 4 articles about breaches and 0 articles about signing, and to mention the word "cryptography" 0 times and "signature" once. Seems like the author might realize that there's a body of work on this subject that they should engage with.
Okay, but most people don't know about that, so it's an effective punishment for them if they don't agree to tracking.
Yeah with lambdas and local type inference in Java it’s less and less relevant but it’s still dynamic and that can be great for tests and little scripts with Grape. I really enjoy Grape despite using it so rarely that I always need to look up how to do things.
MVCC is a viable general purpose approach to deal with concurrency. It is the mother of all DAGs.
If you look at the design of windows on old houses from about 1700 to 1940 they facilitate exactly this. They open at the top and/or bottom to allow the circulation of air. Hot air will naturally rise and exit from the high up window. When air conditioning took off in the 1950s this became less important.
> used blood pressure and weight (among others) but those can vary wildly based on genetics and diet, I’m not sure they’re reliable indicators.

Should be reliable enough

You can't claim to be exactly fit if your pressure is 180/120 or if your BMI is high (unless you're obviously an exception - and most of those that complain about BMI aren't)
And (in France), there is also a large social safety net, which is near UBI-level.
Sadly it looks to me like the best case of "winning" is that they'll just keep doing the same thing and call them "DUI checkpoints" instead. It's not about catching people breaking the law, it's about harassing just enough people that the general population fears them and complies with any demand and writing citations and making money while doing it.
TIL about mmH2O. Is this common in HVAC? I thought pressure was mostly in mmHg or bars(millibars).
"As long as we live in a world where fiat currency and nation states dominate transactional and regulatory environments"

Do you think that world will ever end? What will that look like? Will the very, very early stages look something like this?

Cryptocurrencies were not developed as a get rich scheme, nor as a tool for energy efficiency, corporate profits nor so many of the rubrics we use to judge them today.

The idealists that authored the crypto world imagined replacing the fiats of current rulers. Considering how rare a thing that is in history their early, chaotic form of decentralization isn't doing so badly judged on its own merits.
TL;DR – article is just click fodder. Ants have a safe terminal velocity and probably won't pop in the elevator on the way up from pressure changes, but no experiments were performed.
All I'm pointing out is that for the purpose of the article there seems to be no difference between using the map as a function and using get, and in fact that using the map directly is more suitable to the essay's espoused philosophy of avoiding nil punning and treating nil as a hole/error rather than a normal value.
Glad that student loans are NOT dischargeable via bankruptcy. Why wouldn’t this guy tighten his belt and put every penny towards the loans until fully paid off? Don’t understand why his is paying less than the accruing interest.
I agree with the article, but i'd prefer QuickBasic over QBasic. I've said it before and say it again now: if only Embarcadero provided a free Delphi (Pascal!) IDE with a big round shiny "Run" button that for console (CLI) development, together with some common sense 21st century code insight. Hints are better than errors.
You need to be logging at least 150 workout days a year to be considered fit.
Well, there's a manager at Air France that lost his shirt in that type of labor dispute; it does not always end up peacefully.
If all the other teachers were doing this too, the hall might have been negative-pressure enough that the air blowing in was circulating right back out before reaching the rest of the room.

That would mean the kids near the outlet fan were getting air that was just pulled in from outside via the window seams.
You can look at this as https://en.wikipedia.org/wiki/Problem-based_learning
Lina – WordPress Blog Theme
Facebook, Google face first GDPR complaints over ‘forced consent’