skysight-inc/HackerNews huggingface dataset:
This was posted once before when it was work in progress, I thought it would be nice to put it up again now that it is complete :)

In one 400 page book, Hands-on Scala takes you from from FizzBuzz, to Sudoku solving, to Websites and API servers, all the way to implementing programming languages, actor-based concurrent architectures, and massively-parallel web crawling with futures. Every chapter has multiple multiple self-contained executable examples, and multiple
exercises with full executable solutions.

It’s a paid book, but the first 5/20 chapters (~100 pages) are free to read online or download in PDF/Epub/Mobi formats, as is the github repo of 125 executable examples.

Whether you are a Scala newbie or an experienced Scala programmer, there’s something for everyone in this book. The chapters on Actors and Futures in particular are the best explanations for the concepts you will find in any language, and would be useful even for people not using Scala.

Feel free to check it out!
This is a trademark issue and not copyright. Replacement parts passing themselves off as genuine OEM shouldn't be tolerated. Markings aren't required for the electronics to work. They're just there to deceive the consumer.
Tesla used to be the #1 BEV maker in Europe. Now they're #3:

https://www.schmidtmatthias.de/post/april-2020-european-elec...
What if everybody gets a loan, minimal/no interest with delayed repayment? Just pretend it's not a handout, but actual debt that will be repaid... someday? Just a thought
The debt ceiling had nothing to do with not paying debt, it was caused by not taking on more debt and thus the gov't didn't have the funds to run.
Wow, no, following orders for a paycheck isn't acceptable. I think most of us felt that was definitively decided at Nuremberg.

There are many other ways to get a paycheck that don't involve, well, all that we keep seeing on the news.
That exact Wikipedia article you linked notes the Flynn effect flatlined in Norway starting in 1986: https://en.wikipedia.org/wiki/Flynn_effect#Possible_end_of_p...

Since 1986, Norwegian GDP has quadrupled. https://www.google.com/publicdata/explore?ds=d5bncppjof8f9_&...

I'm not sure how you could conclude the Flynn effect is linked to development, from that data.
“I know of no widely-used language that solves The Expression Problem
while satisfying the constraints of independent compilation and static
typing” - kind of implies that the problem is different from whether or not the language is statically typed, doesn’t it?

I don’t think you should be writing off Clojure’s multimethods too quickly - they are quite nice, and I haven’t seen anything like them in other dynamic languages like Python.
Just installed these Docker images (Nextcloud and Collabora) on my private k8s cluster. Fantastic setup and I have docs and collaboration everywhere (iOS, WebDAV, Linux, Windows) and it’s out of the hands of Google. I like the integrations that some OSs do (Ubuntu). This is just one of the open source projects that are genuinely better than some closed/paid solutions (IBM Notes anyone)?
Isn't that exactly what the paper is doing?
> but when services like Cloudflare readily pull support for less mainstream alternatives, its hard to say that if you don't like Twitter you can go somewhere else

But Cloudflare isn't a monopoly.

Botnet operators have no trouble finding crime-friendly DDoS protected hosting, the only reason the Nazis struggle with this is lack of experience.
Trump to Sign Executive Order Waiving Key Environmental Laws
Ah, thanks, I missed that in the Tweet.
Lead has a low neutron absorption cross section, but it has a fairly hefty inelastic scattering cross section for fusion neutrons (for fission neutrons, which are less energetic, it just elastically scatters them, with very little moderation). It also causes some (n,2n) reactions with fusion neutrons, which would be nice to make up for tritium losses.
I don't totally disagree with you but-

I'm not aware of any serious bugbounty programs for Emacs.

Emacs exploits would be immensely valuable in the right contexts.
To prop up a competing medication.
I don't doubt that you can and possibly will make this a great library. It seems like a nice and clean foundation for one. I just commented on the word 'advanced' in the title. You admitted yourself that it's missing essential features, so advanced might be an adjective you'd want to use for release 2.0 ;)
Akira Kurosawa’s hand-painted storyboards
And I addressed the two parties in that particular chain that don't have access to the central bank's reserves (rent and mortgage holding landlord). Landlords that don't hold mortgages don't need anywhere near as much assistance.

In particular, the conflict I mentioned in the last sentence was directly alluding to the problem of only giving a rent holiday without a mortgage holiday to go with it. It's actually kind of hard to believe you read my really short post in its entirety, because you're arguing quite a strawperson here.

For banks or lenders that don't have direct access to the central bank's reserves they will need to sort that out between themselves or possibly with further legislation, but it's a much much easier problem to solve than individual renters going insolvent en masse because their landlord is still demanding rent while they can't leave the house.
Increased sales of a competing medication, like Remdesivir.
I wonder how many people asked that during the World Wars? Why do they have to suffer because some rich assholes decided they need every industry to support the war.
What a co-incidence, just saw a Shnap ad on reddit.
I'm really into visual search applications, so I'd love to take a look.
I'm going to say most of the businesses at the smaller end of the scale would never have enough money to continue paying employee's without any income coming in. I think everyone kinda knew that shutting down the economy was going to be bad, unless it was only done for a very brief period. If the government can get no strings attached money to companies to pay their employees and get them to open as fast as possible we may come out of it.
Satoshi isn't the greatest mathematician who never was. Satoshi is the greatest ancap who never was.

It's either that, or he's Nick Szabo.
Your ignoring the flow of cash.

The mortgage lender was counting on receiving the mortgage payment in May 2020, not in May 2045.
I have a similar background and in Oct 2018, I started spending lots of time learning with that exact book! I first learned Emacs (covered in the book) and it really wasn’t bad at all. I did some tiny fun projects in Clojure, and some exercises on 4clojure. After a couple of months I understood the language and could easily make sense of most of what I saw except core.logic which hardly comes up in practice. Even Heroku has first class support of Clojure, so deployment is trivial for MVPs.

You likely won’t have an issue learning the language, but from my experience, making full stack apps in Clojure is a bit more challenging (compared to .NET and Flask). It’s challenging to figure out what libraries to use for your app, since frameworks are hardly complete and usually outdated in Clojure.
It's already happening within Facebook this gallant lad falling on his own sword was an important motivator I'm sure

https://www.theverge.com/interface/2020/6/3/21278233/mark-zu...
Agreed, home depot is hopping
Regarding #2, or rather inflation, is it a hidden way to transfer wealth from one generation to the next? Older savers see their wealth dissolve away due to inflation, while the younger generations are held somewhat stable by rising wages. It's unfortunate, but probably the least painful way out of this.
This isn't passing off. The logo was placed on the part by Apple. The consumer isn't being deceived; the consumer never even sees the logo! This is discussed elsewhere here already.
New business model. Pop-up photoshop. Like the countless other businesses popping up, operating for a few months, washing money, closing down, owners gone, employees unknown, and so on.
HYG and LQD contain foreign bonds so we are bailing out foreign companies. FED is buying standard corporate paper along with these ETFs. Majority of the money that the fed is dumping into the economy is buying corporate paper to give liquidity to companies and preventing banks from failing. This secondary purchase seems like we're bailing out crappy high yield ETFs and not the actual distressed companies or preventing banks from going insolvent due to runs on deposit accounts.
Show HN: How Netflix’s Microservices Infrastructure Works
But people think they are. Why is that? Maybe their devices do have some genuine selling points?
>they are fake

Refurbished parts are not fake. You can have an original screen that only the top layer is cracked, that top layer can be replaced or fixed, the people that fixed the screen did not erased the existing Apple logo.

Anyway this would not happen if Apple would allow selling of parts to third party.
The more I listen to you, the more grateful I am that you will never be given the chance. Someone who's so cocksure that he's sure he's smart enough to organize the entire economy is the last person I want to see given the chance.
Fully automated ones, I'd guess.
The fact that the people who would rather buy them lack the available resources to do so on their own, putting aside any economies of scale benefits from either developers or their demand.

Preferring a better option doesn't mean much unfortunately. To go with a variant on a crass old joke "I would rather be paid billions to sleep with an endless line of beautiful women than work retail but they aren't hiring for that position unfortunately."
Planned changes to shared memory in Firefox and Chrome
Yah, I should take my own advise here and buy HD, I'm pretty regular at the one near my house. I don't think i've ever seen HD as busy as its been recently. I guess instead of going to restaurants people are fixing all the little things wrong in their houses.
The shell works with spaces, you just need to be careful to quote every file name. The advantage of using file names without spaces is that you can avoid the quotes.
Why is using Emacs for IRC bananas? What do you think can happen? Give me something concrete, not vague assertions.

You can spend less than 5 minutes looking over the source of RCIRC (rcirc.el, written in Emacs Lisp) where it's crystal clear that you can't have remote code execution in that Emacs Lisp code.
Polywell was 100% BS, I'm afraid. The whole concept of forming a "virtual cathode" made no sense, due to plasma conductivity shorting it out. The group at Sydney who did experiments with similar devices concluded that maintaining the virtual cathode in a reactor-scale Polywell would require a 20 gigawatt electron beam.
its very possible the study can be wrong and HCQ still isn't an effective treatment, not sure you should read this news as an endorsement
"We commit to continuing to fight the forces of environmental injustice — like climate change — which disproportionately harm Black communities and other communities of color. "

I'm not sure what's more racist and insulting - for Apple to believe that many black people will appreciate them taking this as another opportunity to play PC bingo or for them to think that it doesn't matter if they do or not.
There's an additional liquidity transformation with the fact that a majority of trading in the underlying happens over the phone/chat. Lack of liquidity in the underlying is why all of these ETFs were trading at 5%+ discounts to NAV while something like SPY was much more well-behaved back in March.
Selling shovels to gold miners
How to protect yourself against hypersonic weapons
tldr - there is a color space called CIELab that is made so that euclidean distances map to perceptual distances.
Why can't solar and wind cover 100% of energy demand? Please explain just where the showstopper is, in your view.
wow that's amazing!
we've been having great feedback from our Chrome extension which allows you to quickly find similar options and the best price on items you're shopping for whereas our iPhone app is tailored towards finding products from Instagram or the world around you
The short answer is that it's a huge mess and very different everywhere. Any gov layer could be collecting taxes or not. You could have sales tax, or not. You could have property tax, or not. You could have excise tax, or not.

You won't even have consistent definitions for boundaries. In other parts of the country, you won't find much in the way of towns/cities and the county is a very important government function. In Massachusetts every bit of land belongs to a town and "counties" are really only there to define court districts, nothing more.

NY is a really weird nesting doll of bureaucracy. You'll have state > counties > cities/towns > villages. All with their own leadership, boundaries, tax structure, etc. Speaking as a Bostonian, New York looks insane ;)
I get your point. However, different people want different things. Some people could not care less about manufacturer's updates, but care a lot about hardware durability and price.
https://www.youtube.com/watch?v=Lj4Od9D4puc back glass replacement... ridiculous.

The aluminum iPhones (and other phones) were so beautiful. I have an old HTC M8 and it just looks and feels so nice compared to all glass Samsungs. Plus the front facing stereo speakers - truly practical.
I wonder if there's a metaphorical lesson here. If you focus on the immediate obstacles in front of you and don't worry too much about what's coming next, you'll probably do better.
Apple does it internally, since they can turn off the mechanisms that stop macOS from booting on non-Apple hardware (last I heard on HN, they ran it on HP workstations?). I'd imagine that if you got JAMF, Adobe, and Microsoft in a room one of them has the magic incantation as well, considering the amount of Mac code they put out.
Property tax on commercial property is huge and lasts forever. Interruption of rent may force them to sell their property or be unable to afford their taxes.
> Once they are gone you can charge what you want.

They appear to be well into doing that, and making solid efforts into ensuring it continues.
Which they've been complicit in creating with their rampant deficit spending.
As mentioned elsewhere, I think the problem is that it's a decentralized, unstandardized approach, lacking in a transparent rubric, and more inconveniently it has to be taken at every single company rather than one and done, unlike those other license exams.

https://news.ycombinator.com/item?id=23420733
The study's three authors retracted their study on June 4th, "because independent peer reviewers could not access the data used for the analysis," reports The Hill. "The source of the data was Surgisphere Corporation, which told peer reviewers it would not transfer the full dataset used for the study because it would violate client agreements and confidentiality requirements."

However, the same day the New England Journal of Medicine published results from a new double-blind randomized, placebo-controlled trial which found hydroxychloroquine didn't help prevent people exposed to others with Covid-19 from developing the disease. One of the study's co-authors said that as a preventative agent, "It doesn't seem to work."

https://science.slashdot.org/story/20/05/23/0140202/study-of...
Ask HN: Who is working on visual search?
By visual search I mean different ways of searching based on images or colours. Which companies/teams are doing cool stuff in this field?
The small talk dilemma, people like small talk use it to get into conversation with strangers. And the others just don’t want to talk to strangers (or people who are not alike)

End of story!
> Why? Because people have stopped doing things

> We've built an entire economy around people doing things they don't really need to do.

Even hunter-gatherers spend a great deal of hard-earned resources on things "they don't need to do," such as art, music, parties, luxury foods and jewelry, and so on. This is human nature. It has nothing to do with how the economy is structured. The stuff we're not doing that "we don't need to do" is not economically redundant make-work symptomatic of an inefficient economy. It's symptomatic of us being a species that prefers nicer digs to "a cave with access to rice and beans."

In any economy, activity shuts down if individuals fear an active plague. Human nature also entails people being scared of choking to death on their own lungs.

The last paragraph here is trying to sound profound but it's really just catastrophically stupid. There's really no such thing as an economy that has the "spare capacity" to offset 25% of the workforce being furloughed. There are political economies that can adequately respond to this shock - perhaps with a large Keynesian stimulus - but that's very different from having an economy that's somehow structurally immune to the impact of widespread inactivity.

Unless its author means "give people free money until the crisis passes", the comment you're approvingly citing badly misunderstands what an economy actually is.
> The secondary ports go into the primary ports, which are heavy-duty actuators that connect to what’s called a “summing bar,” which is no more than a massive steel rod.

"In Rod We Trust"
In a photo of a black hole, a possible key to mysteries
This was the original report:
https://www.thelancet.com/journals/lancet/article/PIIS0140-6...

They claimed that hydroxychloroquine and chloroquine both caused more deaths. The study claimed a huge effect size (~20% increase in death rate) and a giant sample (14888 treated, 81144 control across 671 hospitals). Despite not being a proper blinded trial, this still appeared to be strong evidence and sufficient to stop any reasonable doctor who heard of this study from giving these drugs to patients. If the evidence was fabricated, that’s a big deal.
We don't want to have full employment now for obvious reasons. Fed policy should be to enable full employment after the lockdowns are fully lifted, not now.

Congress passed extra unemployment insurance plus other payroll support. The Fed shouldn't duplicate that.
In New Zealand you can take them yourself and submit them digitally when you apply for renewal online. I did it with my DSLR on its timer, then cropped and converted to JPEG with Krita or Gimp. I believe the new photo is compared to the old one by a person. Maybe our passport office is being a bit naive? It used to require more hoop-jumping though.
I worked on one privately back around 2014, then later picked up on some of this work: https://github.com/venantius/glojure, done by a friend of a friend. Neither one got anywhere useful. I more became convinced that to get to a useful place it would be necessary to generate (and compile) code and although Go has some of that tooling, I did not have the appetite to build with it.

The Java implementation implementation is hard to read even for Java folks, it is more of how a C++ programmer would write Java, both in terms of syntax, and semantics.
Because I bought it 10 years ago, when Google was a very different organization, and moving would appear to risk some email downtime.
Compare this to the (once upon a time) conventional wisdom that buying a house with a mortgage is a sure bet because housing prices must go up. I'm not saying you're wrong, I'm saying I don't know. Unprecedented times can result in unprecedented outcomes.
> Doing anything else can take an act of Congress.

Does fiddling with BIOS parameters and installing kernel modules fall into "anything else"? Because this project doesn't work until you've done that on your docker host.
> Not to burst your bubble, but you aren't. You are very good when you get it right. You aren't when you don't get it right. But then you are leaving out that part because nobody likes to focus on the negatives

I'm sorry, what? "No one is right 100% of the time so there's no such thing as being good at anything"?
It's clear that they're caving to public pressure - all the more concerning because too many members of the public who might be on the other side have themselves been pressured into silence for fear of what the cancel mob can take away from them.
Not to mention the financial risks, liability, having to handle problatic tenants, etc. Ironically, a lot of landlords are those trying to live the American dream. They're people that are working their ass off trying to be upwardly mobile. And while I understand that even they often have privlages not afforded to the lowest income brackets, they also aren't the 1% or aristocrats of the French revolution. The virtiole against billionaires has filtered down to them pretty unfairly. ...and tte real issues we have over what parameters of the power law distribution of wealth should be tolerated have a much lower impact on the income bracket of lanlords than they do on the top 0.01%
This feels really weird. I don't think it's a good idea for open source organizations to be political like this. I think getting more diversity of contributors to Node is a laudable goal but I don't see why those efforts can't be handled externally to the offical Node org.
> So if someone has a headless OS X contraption on offer, I want to hear some more about it.

you still legally need to run it on an actual Mac due to Apple's terms of service though... so is there really a lot gained ?
The robots that can pick kiwi fruit
That's all fine. If you want a known chain of custody, you could exclusively use a manufacturer-authorized repairer, or use a third party repairer who guarantees to only use manufacturer-authorized parts, and so on.

For competition however, I maintain that the consumer should have the ability to choose to do business with a repairer with no supply relationship with the manufacturer who claims to be able to do better. As long as the consumer isn't being misled, the consumer should be entitled to choose to take that risk.
I think issue is that a large % of these parts are sourced from stolen phones, since they can't be resold once reported stolen.
Easily one of the best technical books I've read. I really enjoyed the clear examples and clear writing. Making something extremely simple is super important for understanding.

And the lovely typesetting is a huge plus when reading this on my laptop. Looks great even when viewing in two-page mode.

Only complaint I can think of is that I'd have liked more exercises at the end of each chapter. Ideally with less Sudoku as I don't want to have to dive into the rules of a game in order to practice the collections programming. But this is really a minor nitpick, 5/5 book in general.
Is there an entry explaining how to quit vim?
Fact-Checking Misinformation Can Work. But It Might Not Be Enough
I don't have the exact links available right now but my position comes from claimed "backdoors" in their software and hardware.

Research found no backdoors, but all reported vulnerabilities were due to unsafe coding practices, many many different version of the same library being reused across the software of their devices with many of those versions being outdated and just generally a crummy job at coding. There was very little malice found, only bad practices.

This was compared to vendors like Cisco where secret passwords and backdoors were hidden obfuscated in their code, which can only mean the company intended for the backdoor to be there. Personally, I'd buy Huawei before Cisco given that incompetence is easier to forgive than straight-out malice in my opinion, but the conclusion remains that Huawei software isn't always up to snuff which can be a problem when you're trying to push a replacement for the core of the internet for your software.
> When the next pandemic hits, I doubt any government will dare to attempt a closure.

> The costs for these closures have been high in terms of economic pain.

It's not as if the choice is have a lock down and reduce deaths but ruin your economy vs don't have a lock down and have a lot of death with a good economy. Having a lot of death will ruin your economy too.
Until stuff goes wrong with the hardware...
CSS: Is() and:where() are coming to browsers