skysight-inc/HackerNews huggingface dataset:
I like the idea here, but it's a lot further from Haskell than the author implies.

IO expressions in Haskell are values, and that's really important to understand what's going on. It's the reason why things like `timeout :: Int -> IO a -> IO (Maybe a)' can exist. It's not a function marked as being impure somehow. It's a function that takes an IO value and returns an IO value. It is still a pure function. Pass in the same arguments, you get the same value back. Executing the resulting IO action multiple times may do vastly different things each time, but the important part is that executing IO actions is fully independent of evaluating functions.

(Note that monads are completely irrelevant to the above. What makes IO in Haskell different and a big hurdle to learn is that it turns interaction with the world into values that can exist without being executed.)

This proposal... It doesn't let you pass IO values around without executing them. At least it doesn't in its current form. It's not really first-class IO. It's explicit IO, as it eventually calls out. It would be an interesting experiment, but it's a lot less expressive than what Haskell does.
Also going down the smart device route. Recently tied 2 switches and a remote fan into a single action. I've setup a time filter too and now my lights can be shut off and fan turned on when I go charge my phone before going to bed.
I'd always wanted a "light alarm" to wake me up, now in the morning I set my lights to turn on if I'm not out of bed (phone still charging).

Are there better places you could use the lights? Where the flexibility is more useful?
It's difficult to take advice from an article that has a statement like this mixed in:

"We are a cerebral culture, which makes us very equipped to deal with problems that require reason and logic"
I'm on Valdoxan (ago melantine).
Correct; in fact they are provided for in the Constitution
> “nuclear terrorism”

Why is it between quotes?
Because it is a quote
I remember the early days of VMs before VT-x, etc. VMs were slooooooow, but still popular. Now that we have VT-x and the like, for some who don't play with VMs often, it can be astounding. I was super excited when I first got a windows vm running on Linux. Then later was excited to run a hackintosh. Now, if you have OS specific tools, with just two VMs running at near native speed, all tools are available at your fingertips without buying more hardware. Seems excitibg to me. Just my 2¢.
The only thing it offers, is a common denominator for trading. The value predicted by the model itself is completely arbitrary. You have no clue today about tomorrows volatility or the the interest of a “risk free” instrument aka the central banker can show up tomorrow announcing -10% interest rates.

Btw when interest rates went negative for the first time, many trading shops were caught pants down, because of course their models did not have a provision for negative interest rates.
Same story here, and when the physical symptoms get bad enough to induce fear (am I having a heart attack, is this constant pain in my stomach a bigger medical issue, etc.) you just also accept it because you can’t change it. “It’s probably not a heart attack, but if it is... oh well, worrying about it won’t help”
Most of France is Nuclear powered, and they haven't outlawed breeder reactors (which recycles spent fuel) for regan-esque cold war reasons, so with electric cars on the horizon soon and electric trains now, they're well positioned to Nope right out of the global fossil fuel race/struggle.
If it should be abolished it shouldn't happen because it doesn't work well or some crappy policy concerns (it's ludicrous how Fed's research is quoted, as if they have a clue about anything - they've destroyed the currency and helped the government destroy the country).

Here's a properly argued case against patents (and IP in general)

https://mises.org/library/against-intellectual-property-0
So the original story, which is currently still linked to on the HN front page, was that the blackout was a cyberattack. However, now its being reported that it is very clearly a kinetic explosion - with fingers pointing at Israel.
That anxiety is due to incompetence, at management levels and business side. They simply are clueless how to manage IT, and refuse to learn.

This induces impostor feelings and confusion downwards..
This, and also NFS over TCP was quite slow when it was first introduced, because TCP checksum offloading was not common; as I recall it was about a 15% speed hit versus properly configured UDP, concomitant with higher CPU use, on Solaris 7 (SunOS 5.7).
Regarding penny-pinching: at Amazon in 2013, the rule was that a sw dev could have one 24-inch monitor, but any second monitor had to be 19 inches or smaller. My manager gave me a second 24-inch monitor, and so I went to the hardware support guy to get an appropriate DVI cable. The support guy refused to give me a cable because I had an unapproved excessively large monitor. He could only give me the cable if he came to my desk to confirm that my second monitor did not exceed 19 inches.

All this haggling and wasted time over a monitor that cost about $100 more. I just bought my own cable (from Amazon!)

I guess they had a pile of ancient 19-inch monitors from years ago and were determined to "used them up" before spending more money buying new monitors. If that means that highly paid SW devs are less productive because they're squinting at late 1990s monitors, then so be it.

In my experience this was typical of the penny-pinching Amazon mindset. As a result, I did not work there for very long.
Oh, then why can it not access the home folder?
> Made with by a Blockchain Expert who wrote like 100 lines of Solidity in 2017 (which didn't work)

This made me chuckle.
"Nuclear terrorism" also implies you're committing acts of terror with nuclear weapons - which is not the case.
I only travelled on Red Arrow once, but not for work, and it was really nice. I can't recall why I never used it for work though.
ok, u got me - it was clearly a parody, but the whitepaper made me check and it took a few seconds to click. Love ur work!
> From this, it follows (as the night from the day) that the return on the average actively managed dollar must equal the market return. Why? Because the market return must equal a weighted average of the returns on the passive and active segments of the market. If the first two returns are the same, the third must be also.

Let me try to poke some holes in the argument.

1. Market return (M) is a weighted combination of passive (P) and actively managed portfolio (A) returns:

M = (1-w)P+(w)A.

2. Passive investor achieves market return M by holding the whole market, so P = M.

3. To satisfy the equation, A must also be M, regardless of w.

The logical error is in the assumption that P = M. To make this a concrete programming problem: let's say at time t=1, immediately prior to the start of a trading period, a passive investor decides to construct a portfolio. The passive investor makes investment allocations based on the current set of market prices.

Subsequently, how can the passive investor possibly match market returns without w being 0, or the passive investor knowing exactly how the active investors will allocate their holdings? That information lies in the future - one only needs to go though the exercise of simulating market returns on a discrete time basis to realize that the passive investor cannot possibly allocate to achieve exactly market returns.

M[1] = (1-w[1])P[1]+w[1]A[1]
> the 3D versions of major blockbuster movies do well in theaters.

Did well, past tense. 3D movies peaked in 2010 and box office sales declined annually. By 2019 they were less than 50% of their 2010 peak. TV makers stopped making 3D TVs after 2016.

You're right that 3D TVs were just high refresh rate TVs but they have to sync with shutter glasses so you can't easily do 3D without TV support.

The latest HDMI spec supports variable refresh rate so in theory you could now make a player capable of handling the shutter sync.

It was a fad just like in the 50s and 80s. It lasted longer this time but yeah 3D is dead.
Took quite a few decades, if not centuries, for defensive capabilities to gain parity with/negate offensive ones after the introduction of gunpowder. I think the approach to cybersecurity thus far has been to try and protect against the projectile, instead of the instrument from which it's deployed. Buckle up.
It is not possible to learn anything inside out that is bigger than 100 megabytes.
The year is supposed to be in the title
Isn't that the basic outline of a Batman villain? He could be one professional setback away from becoming the Scarecrow.
It's apparently a quote, but besides that it would also not conform to most people's definition of nuclear terrorism (which would presumably involve nuclear weapons or dispersing radioactive material etc.).
For those interested in the subject I suggest listening to this

https://youtu.be/ntfcfJ28eiU
Why is the NY Times accusing Israel, or any external party, without any evidence? Israel didn't take responsibility, and they're basing their whole story on an unnamed source.
Maybe it's not strictly true, but got this from Robert Sapolsky (Stanford neurobiology professor):

https://www.youtube.com/watch?v=CAOnSbDSaOw&list=PL848F2368C...

His opinion, or the best understandings on this, might have changed though.

From the YT transcript:

> Here's somebody taking Valium for anxiety, and here's somebody taking Valium to relax their muscles. What's up with that? It's the exact same thing. And it is a very James-Lange moment. What's part of anxiety about?
It's monitoring the level of tension in your body.
It's getting feedback from muscle tone.

He seems to be suggesting that the mode of action for Valium to reduce anxiety is that of reducing muscle tone. Not an expert, so I can't argue about it.
PHP's Composer package manager has this same problem. Basic Drupal updates used to be a total pain in the ass - any attempt at a Git merge would most likely corrupt Composer state as the default merge drivers don't have a clue how to generate valid JSON.

There's a custom Git merge driver for composer.json and composer.lock files. It can't generically merge all JSON but it's good enough to make merging upstream updates on a composer-managed project at least sort of tenable.

This is entirely a tooling and time problem: it would be possible for Unity to ship with a Git merge plugin for their file formats, and add merge-conflict resolution to their editor, which would enable using Git with Unity. They're an ECS, which means all their objects and components of those objects should (and I stress, SHOULD) have unique identifiers that they can use for resolving merges. However, I imagine that isn't terribly easy to write and they probably have better uses of their time since everyone likes using Perforce anyway.
I'm not sure why this is downvoted other than maybe because of the assertion that the statement is irrelevant? As I understand it, you're right on that.

Although it makes me wonder - if he DID have a lethal dose, why are they even bothering with this? Seems like it would weaken the case because it's such flimsy evidence.
Giving my book on writing beautiful Python for free to celebrate its alpha v
When 2021 started, I started publishing a weekly series on my blog on how to write more Pythonic code. This “Pydont's” series is, and will always be, available for free on my blog for everyone to read: https://mathspp.com/blog/pydonts.

However, to make it more convenient for everyone to read all the articles and to create something more formal, I decided to also publish the collection of articles as a book. You can get the book for free during the course of the following week if you use this coupon code: https://leanpub.com/pydonts/c/hPb4Y6M9Otf0.

The series of articles is still ongoing, as I release a new article every week. Therefore, the book will be updated as these new articles come out. I am also considering adding a little something only in the book, but I haven't decided what I will be doing, so feel free to drop your suggestions in the comments below!

I am really, really excited to share this with you, as sharing knowledge is one of my life's greatest passions! I hope you can download the book and learn something from it :) Be sure to let me know your feedback.
Something seems contractictory to me with this. It's trying to say your thoughts don't affect it, yet it describes a scenario where only rational cognitive concepts cause the fight or flight response.

How does the "survival brain" know that Covid-19 is scary, dangerous and to be feared? How does it know how dangerous it is to gauge the response?

Similarly, how does it know the meeting at work is dangerous if you're late too it? That it's important for you to be there on time?

Etc.
Well, attacking a nuclear plant is considered everywhere as "nuclear terrorism".
On this topic, I recommend reading "Measure of All Things" by Ken Alder. It is a book about the origins of the metric system and how it is partially based on forged data. Méchain did not trust his own excellent surveying observations (the meter was defined as a 1/10^7 from equator to N. pole so they surveyed a fraction of the prime meridian) and modern error analysis did not exist yet thus he made up results to make himself look good. You can get it for $4 used at Abe Books.
See also, the Stuxnet US/Israel cyber attack against Iran's Natanz nuclear facility: https://en.wikipedia.org/wiki/Stuxnet
It literally is a quote in the article though. Probably if NYT wanted to be biased they could've just have not put the word "terrorism" in the title at all?
So does usury.

You loan someone $40000 @ 5% APR and he spends it on education. If the loan is to be paid back in a decade, he has to cough up $416 per month. Unlike a mortgage, he can't foreclose on his education.

Since he doesn't have any assets to sell, and is by law unable to get out of them through bankruptcy, his only choice is to work some amount of hours every month to pay off the loans.

If that is not slavery, then surely ISAs are fine too? And if that is slavery, then how are ISAs any worse?
The hardest part is finding the raw data. I only considered the energy costs of actually producing the currency itself (mostly imputed by operations cost, since I couldn't find any reports on the actual energy consumption of the mints or engraving presses). I realize purists will object to not including the amortized cost of the facility, etc., but the number that's being compared against for Bitcoin focuses only on the cost of the proof-of-work and not the similar facility costs.
Could you explain how Blockstream could influence the Bitcoin development process to act against the "market's call", e.g. which developers do you have in mind which currently work for Blockstream and have the power to overrule/manipulate other Bitcoin developers against their/the market's will?
Never mind the nuclear part, it's not terrorism either. Terrorism implies a civilian target. A military facility for producing nuclear weapons is definitely not a civilian target.
Federal, state Labor EV policies are in conflict. That's a simple fact
“I’ve heard”. It seems to me that in such a politicized topic, you’d want to google it before you spread this kind of information.

I’ve heard you make a lot of things up. That doesn’t mean it’s true (or false). Let’s bring up some real information, not rumours.
You can’t trade on that directly as a normal person in, say, Turkey or Lebanon. With blockchain you can - there are no borders.

And you can’t add a twist on the standard options contract, or experiment whatsoever, as a software dev fooling around. With blockchain you can experiment in infinite ways instantly. There is no permission.

Again, the lack of imagination and the total “blockchain equals bad! All of this tech is stupid because I say so!” nonsense is exhausting. You don’t want to learn so you won’t learn.
But why would you want to have that? Simply put, with wireless you are trading the convenience of having no cables for essentially everything: Wired has better throughput, lower latency, lower bit-error rates resulting in less retransmissions (better goodput).

I'll admit there is one aspect where wireless might be interesting: Comparatively lower cost of initial set-up, especially when infrastructure is lacking. In other words, if you're trying to provide Internet access to a developing country (little existing cable/telephone infrastructure), wireless might be an interesting intermediate option. But if you're looking at a industrial nation where (rough guess) more than 90% of households already have some kind of cable/telephone/fibre infrastructure, wireless would be a downgrade.
So you are having a hard time believing this story because the Google PR machine led you to believe otherwise?
Even for local network cabling, PoE is working to keep copper around.
In english at least, we call this a “double entendre” ;-)

Obviously the very purpose of double entendres is to troll those who will get the second meaning. duh!
Throughout life in small business environments 2-50 people and multiple times in emergency management exercises up to ~100 people.
Heh, and the java people complain about web being unstable.
I think most people would assume nuclear terrorism involved nuclear or radioactive weapons, not an attack on a nuclear power plant.
Yojana and many other units in Sanskrit, from older Indian times:

https://en.m.wikipedia.org/wiki/Yojana
The evidence is the officials the Times spoke with, who are anonymous to us but not to the Times. You don’t have to agree that this is sufficient, but it’s considerably more evidence than spewing random facts.
A new documentary highlights Gerry O'Neill, visionary behind space settlement
> ... Israel publicly declined to confirm or deny any responsibility. But American and Israeli intelligence officials said there had been an Israeli role.
This might come as a surprise to some, but it turns out your mind is also in your body
I’m 50 and I don’t feel like I’m aging out. I’m going to go through a dozen interviews over the next several months so we will see how that turns out though.
Sounds like the economic gap is going to widen even more.

Great.
Sometimes wiping the drive and reinstalling can boost responsiveness on its own.
A company I worked for got acquired by a bigger competitor. The founder/CEO gave this inspiring speech about how day-to-day operations wouldn't change, there would be no layoffs, and that we could continue to operate as a separate entity, and we would have the resources of the bigger company at our disposal.

I didn't believe a word of it. The point of acquiring a competitor is to shut it down, or absorb the best parts of it. Within a few months the CEO announced he was leaving to spend more time with his family, and a bunch of projects that were in progress were suddenly put on hold indefinitely. I left before the layoffs.
I see in the comments here that most of the talk has devolved to israel/palestinian conflicts or Israel/Iran conflicts, mostly with a lot of bad energy.

I am Israeli and last winter I spent 3 months living in Istabul doing coke/drinking/clubbing with a bunch of Iranian guys who left Tehran to make money and find opportunities in Istanbul. Turkey is one of the few countries they can go to easily. They all knew I was Israeli and they never cared, I met several groups of Iranians in my time spent there and they all had several things in common. They loved to party, they didn't care about Israel at all, and wanted to escape the theocratic clerics that enforced all the rules on them.

There is very much a huge portion of young Iranians that have big secret parties and participate in music and things the government does not allow. And I dont think the current regime can keep this up forever. Sometimes I get angry at social media, because everywhere I travel to now compared to 15 years ago seems like it is becoming the same, like all the cultures are just melting together into some kind of Instagram/narcissist thing, but in this case, in Iran and Saudi Arabia, I believe it is pulling the young into some kind of societal/cultural reform. Because everyone really just wants to have a good time.
And who are these alleged officials? That was my point.
As a small demonstration of the principle:
https://github.com/system-f/fp-course#demonstrate-io-maintai...

Scroll past the Haskell example for a moment and look at the Python. The program p2 is the same as p1, except a refactoring is performed: the call to readFile(file) is DRY'd into a variable, and this changes the meaning of the program.

In the Haskell example, the same refactoring is performed. Because IO actions are treated as values in their own right, the refactoring does not change the meaning of the program. Executing p1 or p2 will have the same effect.
Fool me twice..
There is also a dynamic systems side to sleep rhythms. Quite likely there are stimuli you can randomly experience that shift your sleep cycle into a chaotic regime and then you need a good knock to the light and activity levels to reset to stability.
Unnamed sources are par for the course for journalism. Sometimes journalists receive information only on condition that the source remain anonymous, and they have to work with that.
I'm no expert but another example of a non-monadic implementation would be OCaml's new algebraic effects as part of the Multicore project, right?
Google had a shopping app?
I am sorry, but as much as I support BLM I wish Elijah McClain[0] was the person we talked about. He was never in prison (unlike George Floyd) and he played the violin to cats in a shelter. Mr. McClain died from a police restraining while after being injected with ketamine, and he was a friggin saint.

[0]: https://www.bbc.com/news/world-us-canada-53182122
Electric Aircraft Startup Accuses Rival of Stealing Its Secrets
Boeing "is the largest U.S. goods exporter" and represents, pre 737-MAX fallout, about 5% of the US GDP. This might come as a surprise to east-coasters as for most of their existence they were based out of Seattle, and only recently moved their HQ to Chicago. Boeing sells a lot of civilian airplanes, but depending on the year/conflict 35-49% of Boeing's income comes from arms sales, either jets, cruise missiles, spy satellites or what have you. Boeing's manufacturing capacity plays a significant role in US wartime capability. Between Boeing and Weyerhaeuser, those two companies (and their cottage industries) prop up the lion's share of Washington State's economy, or at least it did pre-Microsoft/Intel/Amazon
It’s only more evidence if you trust the NYT.

Given that a NY Supreme Court ruling called some NYT “deceptive” and “misinformation”, the NYT presenting purely reputation based evidence is a negative to some readers.
I don't understand your reasoning for why the price increases. To use your equation with my original example:

Initially:

market cap = $100

book value = $20

discounted future cash flows = $80

share price = $1

number of outstanding shares = 100

After the buyback:

market cap = $99

book value = $19

discounted future cash flows = $80

share price = $1

number of outstanding shares = 99

So the market cap didn't change.

I agree it's effectively the same as dividends (although I think buybacks are slightly better for the taxes of stockholders).