skysight-inc/HackerNews huggingface dataset:
I like Elixir/Erlang's 'weird' approach to this, where it primarily uses an FP approach for the code, but an OO-like approach for the runtime (keeping state in processes). The OO being perhaps closer to Alan Kay's original ideas (as I understand it) is nice too.

I'm not experienced enough to judge how well it does all this though.
For those curious, WTF stands for “Web Template Framework”.
I stopped using Firefox when they hijacked my browser by installing an extension I did not approve (the one about Mr. Robot). Moved back to chrome for a bit and finally moved over to Brave. For the most part, it feels like I'm using chrome, although a lot of sites break because of the built-in ad blocker.
As explained in the first sentence of the article.
Christmas Tree from the Dissected LADA by Russian Museum
$ cat maybe.hs
handleMaybeNum :: Maybe int -> int
handleMaybeNum Just a = a
$ ghci maybe.hs
GHCi, version 7.10.3: http://www.haskell.org/ghc/ :? for help
[1 of 1] Compiling Main ( maybe.hs, interpreted )

maybe.hs:2:16:
Constructor ‘Just’ should have 1 argument, but has been given none
In the pattern: Just
In an equation for ‘handleMaybeNum’: handleMaybeNum Just a = a
Failed, modules loaded: none.

You're right about the "precompile time error", although it's not what you claim...

Let's fix the syntax error:

$ cat maybe_fixed.hs
handleMaybeNum :: Maybe int -> int
handleMaybeNum (Just a) = a
$ ghci maybe_fixed.hs
GHCi, version 7.10.3: http://www.haskell.org/ghc/ :? for help
[1 of 1] Compiling Main ( maybe_fixed.hs, interpreted )
Ok, modules loaded: Main.
*Main>

No error now. You do get a warning with -Wall, but that's not quite what you claimed. (Newer versions may be more strict, I don't know.)
MIPI I3C Basic V1.0 Specification Released Publicly
_Suuuure_ it does...

I remember when TheDailyWTF.com tried to rebrand for advertisers as "Daily Worse Than Failure". Nobody fell for it then either...
I am not sure what I did with my filter bubble. Did I make it stronger or weaker, larger or smaller?

The polarisation on twitter and Facebook after Brexit and the two years before and after the US election saw the losing tribe write off the other half as evil, selfish, needing to be re-educated, that democracy was over and a strong left hand was needed and that the free press needed regulation.

These were views by some of you, CTO level educated SV technologists.

I pointed out that the opposition wasn't evil, democracy was still valid, and mainly i pointed out how they were blinkered. Some people took it personally. Now they are not in my filter bubble. Worth saying that the winning tribalism was not in my filter bubble at any point.

My bubble has less tribalism than before but it's also less large.
You indeed have to recommit everything (which I prefer) but you don't have to reset anything (since nothing is in the staging area).
They're just utilizing the rent-enabling framework that was put in place by Hollywood lobbyists (and forced on the rest of the world by US power). In a sense, it's inevitable unless people of US get their shit together and fight copyright laws that are a huge economic drain at this point (from multiple subscriptions because exclusives to DRMs of all sorts to zillions of hours of art removed from YouTube because it "violates copyright"). True, there were a few years when lobbyists were lagging behind, but without political pressure there is nothing preventing them from coming back in force, which they did.
Most standalone browsers use WKWebView, which is a WebKit-based UI component that applications can interact with. SFSafariViewController is more appropriate for in-app browsers, because it provides UI and has very few customization points.
Didn't sign any NDA.

Waited a week post-announcement to talk about it.
The SEC remedy against bad hedge fund owners in the show Billions is the threat of turning them into family offices
New Feature: Download the color palette as png.
Ask HN: Intelligent OCR solutions
Does anyone have a recommendation for an intelligent OCR solution that can reliably read documents (semi-structured, heterogenous) and output structured data?

Most solutions I looked into don't have semantic understanding of documents, and hence only output a blob of text. Others aren't flexible enough as they require stringent setup with templates
"If you invested in a very low cost index fund — where you don’t put the money in at one time, but average in over 10 years — you’ll do better than 90% of people who start investing at the same time" --Buffett
>Do the Brave folks get a cut of that money or is it completely peer-to-peer using a cryptocurrency network?

No, they don't take a cut if you fund your wallet directly and use it to tip the content creators.

>If it's the latter what's Brave's business model

Here is how they make money, just pasting my comment from below:

By default, ads are blocked, but users of Brave can opt-in to have privacy-friendly ads from the Brave network displayed on websites they browse.

Brave get 30% of the revenue from those ads, and the users get 70% of the revenue as BAT tokens

Users can then use those BAT tokens to tip the websites they like that signed up as Brave publishers (see a list here: https://batgrowth.com/publishers)

So the Ads / Get paid to browse part of Brave is 100% optional and opt-in, many people think it is mandatory

>Making it easier and faster to transfer small amounts of money online is definitely something that needs improving but unfortunately so far cryptocurrency-based solution haven't really managed to solve the problem, mainly because speculation makes them a pretty terrible currency. That's a tough problem to solve.

Yeah, I'm kinda fascinated about Brave's model, I'm wondering if it will be the first cryptocurrency-based solution that make sense to me
Follow the intrinio guys, they are an interesting case study on how to set up such a business
There's no such thing as a free watch (2017)
What's your HbA1C level?

https://www.hindustantimes.com/columns/that-acne-could-be-a-...

https://jamanetwork.com/journals/jamadermatology/fullarticle...

https://www.ncbi.nlm.nih.gov/pubmed/26373866

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4565837/

I would suggest you try a low-carb (and zero sugar) diet combined with a Zinc supplement, and even a 5,000 IU Vitamin D3 with 100 mcg Vitamin K2 (MK-7) and 200-400mg of Magnesium glycinate daily (high D3 depletes Magnesium) for six months.

It would help if you took a blood test to find out your HbA1C, blood glucose, and 25-OHD levels, just to know where you're at before you start that. Then retake the blood test.

If I'm right with my assumption, your problems are a lot worse than just getting acne, so you will solve a lot of other issues you may already have or are about to have if you follow those recommendations.
The Pedestrian Strikes Back: Cities are about people, not cars
He mentions in the article. Cost and time.
Hashing is there as Content Based Addressing.

Design Patterns should definitely be on there. It was very important at the time. These days we take them for granted because they are baked into the numerous frameworks that most things are now built on top of.
Yeah I saw some of that show. The thing is if you're a MFO you're handling other people's money.
i feel like this is kinda misleading. i know the first/second/third world classifications aren't really as effective as they were in the cold war era.

but, america isn't below average when it comes to gun related death, 39,773 in 2017 (CDC). this includes suicide, homicide, murder and accidents.

while 39,773 is no small number, compared to the america population of the time 325.7 million, it's only 0.012%.

I feel like, the argument breaks down into a few groups.

1. true first amendment followers, they spend their spare time teaching and encouraging anyone to safely and responsibly use a firearm in line with the amendment.

2. people who use the first amendment as a shield to carry and use a gun irresponsibly.

the main difference being, one group is for everyone being armed, while the other is only really interested in protecting themselves from immigrants/blacks/police.

whenever i discuss firearms in america, it's nearly always a completely fruitless endeavour, because the people who are first amendment supports do normally agree that common sense gun laws should be implemented.

the other group screams if you so mention it.

from there, it's a simple few questions. "should a former murder have a gun", "should children have guns" and "should someone mentally ill have guns".

after that, they normally resort to insults or block me. i do understand some people are far more radical than i when it comes to gun banning.

in your experiences, what do you think about this? common sense gun law and such?
This is due to PEP 448 "Additional Unpacking Generalisations" [1], which was approved with effect from Python 3.5. Other examples:

x, y, *r, z = range(7)
print("x: {}, y: {}, r: {}, z: {}".format(x, y, r, z))
# prints: x: 0, y: 1, r: [2, 3, 4, 5], z: 6

x, (qa, *qr), *r = [1, [2, 3, 4], 5, 6]
print("x: {}, qa: {}, qr: {}, r: {}".format(x, qa, qr, r))
# prints: x: 1, qa: 2, qr: [3, 4], r: [5, 6]

The same PEP allows expanding lists and dictionaries in literals:

r = [*r1, *r2] # Same as r = r1 + r2 if they are lists
d = {**d1, **d2} # Merges d1 and d2 into d

[1] https://www.python.org/dev/peps/pep-0448/
How to Test Microservices with Consumer-Driven Contracts?
they got a trial by fire, as the saying goes. they now learned not to put their trust into a single person. next time something goes wrong they'll be sure to check through alternative channels if there isn't some (intentional or not) miscommunication.

in addition, given how that account manager made them look to the factory, the factory owner showed incredible patience and good will and vice versa. such people are exactly the ones you do want to work with, especially in china.

factory and keyboard.io people likely bonded over the experience leading to a better cooperation in the future.
Avoiding stress and sugar was what solved the issue for me.
Three Tips for Managing Technical Debt: While Maintaining Developer Velocity
Major Startup Acquisitions in 2018 – Startup Acquisitions 2018
I don't understand why this has been downvoted, it describes a well known phenomenon of US courts. This was one of the factors at play in Ferguson: police were told to maximise revenue, and they were doing this by issuing fines to car drivers.

Those drivers then have to attend court to pay the fines - missing work and losing wages because of it, and sometimes losing their jobs.

If they don't attend court to pay their fines they have arrest warrants issued against them.

https://www.bbc.co.uk/news/world-us-canada-31849421

https://www.theguardian.com/money/2014/mar/02/poor-for-profi...
In many countries it's not legal to willingly work for free when others are getting paid for the same job (this can be due to minimum wage, binding union-negotiated contracts, etc.)
So does Astrill, they just updated there client.
Event that is always highly annoying. How do you deal with (for example) Dutch decimal numbers, which use the comma for decimal separation, or numbers with a comma as a thousands separator?
BAT doesn't replace ads with ads - it leaves that part of the website blank like a conventional adblocker. You pay a monthly fee of your choice to the browser, and it distributes that via the ad network to the sites you visit.

It's a 'set and forget' way of supporting your favourite sites. User experience wise it's no better than Firefox + uBlock origin, it's purely a moral choice.
Nitpick but for the embed snippet, why not this simpler snippet?

<script src="https://app.pubilling.io/sdk.js" async></script>
sorry. I guess meant the EU has to take action.I haven't yet heard of any action under the GDPR
The article tells us that various pieces of it have broken, already.
The publisher William Pickering was apparently a publisher of high quality. But I have seen Byrne been described as eccentric. Maybe he demanded the use of the long s. It was still used in handwriting regularly that century.
I think you've taken a great step already - asking for advice and learning from others.

As soon as we realize that we're not alone and there is a wealth of information to learn from, we are taking a proactive step in becoming better leads.

I would also suggest;
- Host regular (perhaps every two weeks) meetings to discuss how the team are feeling. Gather their feedback and make changes based on it.

- Do some light reading in your downtime on the topic.

- Try to think in their shoes. Imagine what it would feel like working for you if you were one the dev team. That will allow you to appreciate where they are coming from.

All in all, be positive!

Ensure every complaint is met with a positive response. Make everyone feel valued. Always listen to their opinions.

Have fun!
How Ubisoft is planning on using blockchain to shake up the gaming industry
Agreed 100%. I don't believe there's a good top-down solution here, though. Cultivate a few websites that don't have bad design, and otherwise spend more time reading books. (or, just using some medium that is not the internet)
The okay sign?
Renting movies or TV episodes for a dollar or two is possible even online. People want a lot more than 10 movies a month though.
From Rails to Elixir: Know Your App
YES!

Funny how one misremembered character can make an internet search that hard. :-)

You most certainly made my day! Thank you very much!
In many countries they're just called "mobiles" or something to that effect in the local language. Originally short for "mobile phone" but it shortens down nicely generic.
How to lose 1 pound every single day of belly fat, without exercises or diet
FreeRTOS isn't a desktop class operating system (which QNX was fine at), it's a kernel for microcontroller class devices. QNX was a real desktop, not just a kernel. RT-Linux is an external patchset that still only gives you Linux, with some extra guarantees, but does not fundamentally change any other design decisions. QNX is real time from the ground up (for example, even disk I/O was bound by these policies, which I don't think RT Linux guarantees). QNX had a message passing microkernel architecture, that transparently extended to multi-node computing -- you could reboot/restart device drivers, message passing was transparent across single/multi-node programs. File access was transparently multi node, too. This means you could do things like run QNX as your desktop and cross compile your application on that desktop (for ARM, MIPS, whatever) and "run" it and it would magically run on some remote embedded control system in your office, provided they were networked together. All of this would be bound by real-time policies (so your browser audio would not, for example, stutter because you were compiling something and I/O scheduling anomalies caused a latency spike to hit the audio buffer.)

This was true all the way up to the window manager -- you could network two completely separate systems and even mirror/split windows between them, AFAIK. It was also a POSIX compliant system. In a sense it seems like a blend of what was later Plan 9 and something like Minix.

Everyone here posts about K8S all the time, but QNX was the original microservice-based distributed operating system, IMO. :)

Honestly, I really wish a capability-based QNX successor would hit the scene. seL4 would be an excellent basis for this. Fuschia seems like the best contender right now (but doesn't use seL4), but it's unclear where it will go and I'm wary of such a project being tied to Google in the long run (for fear of similar problems that have plagued Android as a platform.)
Reading this makes me feel there is still hope.
Yes, it did work for Portugal. Portugal does not have the pharmaceutical industry that the US does.

Due to criminalization of certain drugs and the extreme enforcement thereof demand for legally available drugs has never been higher in the US. The pharmaceutical industry is more than happy to fill that gap and meet the economic demand. By ignoring the data and eliminating access to controlled substances demand has not diminished but instead shifted to alternate products.

Criminalization/legalization ignores all the data and research on this problem.
Creare site ieftin
And what makes you think that the checks and balances you have now are "the right amount"? Does it feel that way to you right now or in the past few decades?
With Map/Reduce you really also have to include in GFS/HDFS or similar like Casandra.

You need both really together. One I would consider adding to the list is again has two parts. Containers (Cgroups/namespaces/Docker) and then Borg/K8S.

So the organizing the work and then the scheduling. I would think this would be high on the list as it is the canonical way to do things in the cloud.

K8S = Kubernettes

I really like the innovations that require two pieces together to get the result.
Just raw honey helped for both me and my brother,
after suffering for a decade with acne, came across this thread in reddit, and it helped.

https://www.reddit.com/r/pics/comments/16t0n4/bad_acne_befor...
There is also a version in ConTeXt (arguably a bit higher quality and with some very impressive programmatic typography): https://github.com/jemmybutton/byrne-euclid
Ask HN: What's your personal document management system?
We accumulate a lot of important physical & digital documents as over our lives. And, as I'm beginning to realize, it can be a bit overwhelming to manage.

What do you do to organize, both your digital and your physical, documents? It doesn't have to be an uber cool document handling robot you've built, but some of your practices might help other people (and me) improve their own.

I'll answer first:

1. All my physical files (degrees, healthcare records, old photographs, land ownership records, identification records, marriage certificate, etc) go in one big file without any real organization. Every "person", though, gets their own file — unless it's a record with multiple people, that goes in my file for no real reason.

2. Scanned copies, or digital documents are organized into categories "educational", "government", "employment", "tax", "misc", etc. and are named according to the person, issue date, and classification. Etc: amin-government-id-2013, amin-education-bsc-transcript-lse-2015, etc. These go in my Google Drive and my Keybase private folder. Some also go in my Google Photos in a separate album because they're essentially just photos and my wife can access them easily there through shared galleries.
This is amazing, thank you so much.
Fortunately for you, you will never understand the threats you never saw.
I think more effort is needed to understand the relationship with skin conditions and the families of bacteria, fungi, etc on our skin.
Antifungal drugs, such as Ketoconazole are known to cause acne in some people. I suspect it isn't causing cysts, but that killing off fungus, makes for a huge opportunity for bacteria. For some reason certain fungi cause the skin to grow faster, clogging pores with dead skin. Similar stories here about killing off bacteria to help with infected pores.
I was pretty clear that I am not advocating for criminalization.
Actually, both.
Interactive Beginner's Guide to Return-Oriented Programming
That is a direct quotation of the person cited, note.
One compromised laptop is all that is needed
31.4% of women claimed they were part of tech teams with only 0% to 10% of women
> And here is an another pattern matching implementation for Python [1].

Oh, I like the prettier syntax:

calc_rules = alt(
Int(id),
rule(BinOp("+", Int(X), Int(Y)), to(lambda v: Int(v.X + v.Y))),
rule(BinOp("-", Int(X), Int(Y)), to(lambda v: Int(v.X - v.Y))),
rule(BinOp("*", Int(X), Int(Y)), to(lambda v: Int(v.X * v.Y))),
rule(BinOp("/", Int(X), Int(Y)), to(lambda v: Int(v.X // v.Y)))
)

(https://github.com/true-grue/raddsl/blob/master/examples/cal...)

This way of sharing variable names between the pattern and the associated action is pretty neat. It's much nicer than Pampy's use of '_' for all variables.
The sessions help people to focus on what they need out of context.

It’s isn’t bullshit... I’ve seen people who were close to blows about how to approach a problem come up with a good solution a few hours later through the exercise.

I would say that novelty is powerful, not sure how effective it is after 100x.
For those that are thinking of doing this, you should realize that EMI shielding serves two proposes.

One is indeed reducing emissions from the device.

The other is reducing the emissions from the environment which might affect high speed or otherwise sensitive circuits.

The shields themselves weigh very little, and there is a risk that you'll damage the board trying to remove them too.
Related, but the treasury rate hikes played a bigger part than the trade conflict.
It wouldn't. Music was always collectively licensed, for decades, in order to provide radio. The industry developed around that model as half it's income.

That was never the case for TV, and never will be.
You're misinformed if you think children above 1st graders have never heard the "f bomb." Also, what's the problem with them hearing a word? Can you explain how hearing an expressive curse word ruins your child's innocence? I mean, seriously, you sound like the type of parent that would never let their kid watch SpongeBob until their 16.
Education and behavior are always solvable problems. Denial of such opens people to manipulation and opportunity loss.
That was powerful.

I once spent weeks packing donated children's toys and also spent a while in an auto plant. And there's this awful feeling I had at both. I would describe it as the place being contaminated by depression and if you stay too long you'll succumb to it.

These fulfillment centres are like Chernobyl in that sense. It all looks normal: there's merchandise we see at home, there's other people, there's music, there's employment. But it also just feels like you've entered a foreign environment that isn't capable of sustaining healthy human life.

I felt it again just reading this story. That urge to fight and cry is a sign that you're being exposed to too much contamination.

We need to get the humans out of there and send in robots to do that work.
I don't find the original deception, or his claims that he did it intentionally, very interesting at all.

In an artistic sense, it's trite. In a PR sense, I don't see it being very effective because, actually, he's not very good. So ultimately all that's happened is that he's financially and emotionally hurt some people in an already tough business and congratulated himself for it.
Specifically propolis, which is pretty good for feeding specific kinds of skin bacteria.
Pampy.js: Pattern Matching for JavaScript
“users of psychedelics who believe in all sorts of crackpot theories that they think they have discovered through something that seems akin to divine revelation”

You’re aware that psychedelics have been used extensively for millennia by many cultures in religious ceremonies, right?
For anyone reading the title as: "Innovations from 2001-2017" and wondering if Big O and Hashes aren't older, the source goes back all the way to 1837!
Show: One more Golang Validator
Basecamp policies, terms, and legal. Share them; reuse them; contribute to them
Digital Minimalism: Declutter Your Devices and Your Mind