skysight-inc/HackerNews huggingface dataset:
Because it takes about 9 years for a kid with an underdeveloped brain to learn the skills and the self-discipline necessary to stick with a problem and call upon lower level math skills on demand.

And no, they don't need to understand the rationale behind things like carrying and borrowing. They just need to do it. Understanding can come later. It is much easier to drill known good practices to mastery than it is to explain why they work and teach them to mastery. These are kids whose parents are still in the "because I said so" stage of parenting.

Intuition comes from mastery. I can factor polynomials in my head; I'd be flummoxed at that task if I didn't know my times tables by heart. And I wouldn't know those if I didn't drill.

Drilling is paramount to early math education. Nothing else that's been tried works.

Let me put it this way: who is more likely to get a programming job, a bricoleur with an incorrigible need to understand HTTP, networking, etc. from first principles before he can use them, or a certified professional who has chosen a framework and practiced building apps using that framework and related best practices, while knowing nothing about how the framework actually works?

The world needs surprisingly few bricoleurs and surprisingly many people who can get shit done.
> They’re shocked people could actually support racists, bigots, worthless people.

Oh please. Just take a look at the shenanigans around HRC's nomination. Democrats have no claim to moral authority, if that's what you're suggesting.
I... did not know that.
1,760 PS3's Used for Pentagon Supercomputer
> I totally respect your strong belief about the story. But don't enforce others accept your personal opion by imply your personal belief is truth. It's quite insulting.

Are you Chinese? You being offended by his post makes me feel like you are. He wasn't forcing his oppinion on you.

Also godel's theorem doesn't have anything to do with this, as godel's theorem is about mathematical systems.
great advice. id say limit yourself to 10 mins to come up with a solution, and focus on getting a solid intuition consistently
Now that's a zip line!
While uploading is illegal in Switzerland, we should also mention that it is not actively prosecuted by attorneys. Historically, it was always the case even during C64 times when swappers in Switzerland didn't have to fear anything.
"Modern C" is a beginners book.

"21st Century C" is for people who have learned C in the past but need to brush up their knowledge with modern practices.

As someone who learned C at the time of the first edition of the K&R, "21st Century C" would be more useful if I ever had to code in C again (which hopefully I won't). A refresh, 5 years later, would be useful, though.
https://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CEL...

From case C-336/03 (easyCar), section 25:
"That interpretation is expressly supported by several language versions of Article 3(2) of the directive, namely the German, Italian and Swedish versions, which mention, respectively, ‘Dienstleistungen in den Bereichen … Beförderung’ (‘services in the transport sector’), ‘servizi relativi … ai trasporti’ (‘services relating to transport’) and ‘tjänster som avser … transport’ (‘services which concern transport’). "

Instances of this are a bit hard to find, since they usually are just one aspect of a larger argument, but they do happen.
“You” are a developer, why the heck are “you” working in a textarea rather than a proper editor? Updating a readme is not the sort of thing that you have to do urgently from a coffee shop while on holiday in South Asia...
Yes, and then you lose your place in the comments.
You can do that in a branch without polluting git history.
It's quite clear Microsoft are only a couple of years from either an official linux distro or some halfway house of using a linux kernel internally for major os functionality, so it makes little sense learning some new(ish) shell when you could just use bash (via wsl or whatever).
> in the three years since the signing of the Paris climate accord, which was designed to help the world shift away from fossil fuels, the banks’ lending to the industry has increased every year
It's also the only thing that produces proficiency at math.
Would not the chances be, that if in a deeply nested loop, requiring optimization— you’re better of using a "proper" programming language? Maybe Python, or something similar.
I didn't say 100 million, I said hundreds of millions. That's a very cautious low ball though. That's probably the rough scale of people added to the middle class, not just raised out of poverty, in China alone. We don't need to guess what happened to the global population though, they're out there in the world. We can ask them.

Just since 1990, the share of the global population living on less than $1.90 a day has fallen from 44% to about 9.5% in 2015[1]. The graphs there are broken because different studies have used different measures of poverty at different times, but the trends and absolute numbers are clear. Global poverty as a proportion of population is about 1/6th what it was in 1960.

[1]https://www.worldvision.org/sponsorship-news-stories/global-...
Just because something is the law doesn't mean it has to make sense or be justifiable. It was a frustrating situation to be in, I had evidence of being a citizen of both countries and despite that was not allowed to travel freely between them. I expected the USA and Poland to help me not fight me that day especially since I had done nothing wrong.
And then they wonder why they have a rat problem...
Schlitz beer is a great example of the downfall of managing metrics from a strategic level. They began cutting cost/quality of ingredients in their beer to compete with Anheuser Busch. "Salami slicing the company to death."[0]

>* the steps from A to B and from B to C might have been tiny and unnoticeable, but the steps from A to M added up to a big leap.* [1]

The metrics looked great, getting more beer out of less ingredients, in less time. Until the 70's when they hit a tipping point and drinkers stopped buying, tanking the company.

[0] https://en.wikipedia.org/wiki/Salami_slicing
[1] https://beerconnoisseur.com/articles/how-milwaukees-famous-b...
Betelhem Dessie: A 19-Year-Old Tech Genius Coding at Ethiopia’s First AI Lab
> Finally, on the dark arts of advertising, moving from the 'gut' to being data driven - sadly I'd say that's what has made it more effective as a tool.

Part of the reason metrics work so well in marketing is because a lot of accepted industry practices are inherently malicious acts towards other human beings. So unlike other optimization processes, you don't care all that much about side effects of optimizing to metrics. For instance - do customers hate your guts for your advertising spam? Doesn't matter - the product becomes associated with a strong emotion, making it more likely some of them will buy it few months from now. Mission accomplished.
They can give you discounts that makes licensing costs acceptable, if you have something like 10,000 devices.

The pricing isn't unreasonable, but it adds up pretty quickly if you have lots of devices. The issue isn't unique to Datadog, other similar service have the same pricing structure and price levels.
Ask HN: How much environment affect your work?
Hi HNers,

How much the environment affect your work? I feel exhausted at 5:00PM after coming back home from work. But if I stay in office I have no issues.

I could not able to figure out what might be the reason. My eyes get drainy and watery after coming home and I can not work on my projects. But if I stay @ office I feel normal.

What can I do and do you face these kind of issue.
A rare look inside Samsung's secretive ideas lab
On Android, in Firefox, they cover the bottom third of the screen with a permanent notification that you can't close and contains two links: open in CBS app, and open in Chrome.

Looks like they don't really want my traffic. Oh well.
These salmon may be ending up in huge drag nets in the North Pacific.
I think this is some psuedo-science/old wives tale...
Honestly, one call from the embassy and I would have been on that flight, believe me.
Ask HN: How you dealt with YouTube/social media addiction?
It sounds to me like the cost to get a drug certified for use is the problem here. In the US it's literally a billion dollars. If it were cheaper, it would be worth paying for certification of a new use for an existing out of patent drug by a generic manufacturer.
Fair enough. In the aggregate the effect must have been substantial for you to know three people like that.
How do you smoke tobacco twice?
By browsing the commit history it becomes clear that the PSF must revoke Kenneth's push access to preserve the integrity of the project.
If the OS is still alive, everything is ok (but the OS may sync different pages at different times and in any order if you don't fsync specific ranges with special calls). If the whole machine crashes (power issue, kernel panic, ...), what you find on disk can be a mess.
> But text is the densest way we can precisely convey information

I take issue with that claim. For one, it is possible to enhance text (which I take to mean a sequential glyph representation here) with useful graphical elements which take up little space (e.g. making use of the often considerable amount of whitespace around text). And there are many types of information that are poorly suited to textual representation.

Of course, people may assign different meanings to the word text. To take an example from the article, you can say that a spreadsheet interface uses text in its cell values and formulas. But it is arguably not a text interface in the way CLIs and text/code editors are commonly understood.
+1. My goal is to learn how to robustly do any logging whatsoever. Eager to learn new tricks.
When politicians create and force change, as a matter of dogma, and become known for carrying their books or following unproven theory from Hayek or Freedman, yes it probably matters. When those same politicians or economists point at the Chile miracle (that was a disaster), or economists become widely known as the "Berkeley Mafia", yes it probably matters.

Globalisation was about externalising costs and impacts. To hell with the local consequences - we got a decade or two of deindustrialisation, with lives and regions ruined for generations. Political fashions tend to stem from economic fashions without regard for the bigger picture. Or environment, citizens and residents.
>It seems you don't see the big picture here.

I see and I agree with you 100% on that statement.
What I don't see is what was the expectations behind submitting your post. Do you want us to stop using wikipedia now ? Or stop using google ? Should we sign a petition to google to change this ?
"It’s your shot now."

That statement and others show me the Pickens was trying to help others, to encourage them. I especially like the list of guidelines at the bottom of the page.
The Global Consulting Services Market size was xx million US$ and it is expected to reach xx million US$ by the end of 2025, with a CAGR of xx% during 2019-2025.

Top Companies:
L.E.K, A.T.Kearney, Deloitte Consulting, PwC, EY, KPMG, Accenture, IBM, McKinsey, Booz Allen Hamilton, The Boston Consulting Group, Bain & Company, Microsoft, GE, IBM Corporation, Siemens, IHS Markit, Cisco, SAP, OC&C Strategy, ZS Associate, Capgemini Consulting, Advancy, BDA, Towers Watson, Mercer
Then go for it. The application might be handled by people that are looking for a completely different skill set etc as with the first application. Go for it and best of luck!
Makes sense; You don't really need a degree to be a web-dev anyway. On the other hand, people with CS degree rarely become a web-dev.
How to build your own engineering data analytics platform
Ask HN: Good place to buy DRM free ebooks?
I've noticed that battery life on my reader is substantially longer when I'm reading in the default reader, which doesn't work with drm'd books from Amazon or kobo. Does anyone know of a good place to buy ebooks without drm?
some vim enthousiast here scalded me for sending him spacevim linkand told me to use neovim. i don't use vim so i wouldn't know, and vim people seem easily offended :D. anyhow, just thought i'd not his input.
That's another reason for putting another router after your ISP's box. As long as I'm not an admin on that one, they can do a lot of shady things. Also using a DNS server with external forwarders (PiHole is great for that).
I'm not interested in continuing this line of conversation. Read the book if you want to know more.
in order to sell cars globally

Look at some the most popular cars from US car makers in the US, like the Ford Fx50 series, Dodge Ram series of trucks, the Chevrolet Silverado, Jeep Wrangler and Cherokee etc. Non of those cars sell in any significant number outside the US.
Serious question: What makes it completely awful? Do you have ideas that might make it a better experience, besides "just use the old UI"?
Those coatings are designed to absorb radar, and as a side effect absorb visual frequencies “differently” than “normal” objects we’re used to seeing.

Taken to the next level, anything coated with something like Vantablack [1] “looks phtotoshopped” based on our previous visual experiences with everyday materials.

[1] https://www.bmwblog.com/2019/08/27/bmw-vbx6-vantablack-the-w...
I wrote a guide on blocking them via DNS, but installing a Pi-Hole is a good alternative that will save your whole network.

https://gist.github.com/peteryates/b44b70d19ccd52f62d66cdd4b...
> Websites will become even more opaque and complex. Definitely not looking forward to it.

Why is that an issue? Do websites need to be open source? How many people, including software developers, will actually view the source for a 3rd party website and/or try to debug it? Beyond screen-scraping and learning purposes I don't see a use case for it.

I'd be quite happy with my browser(s) downloading and executing binary blobs if it means better usage of my devices' resources and bandwidth.
have to agree that colours often disctract more than are of use. they stop you critically reading imo. but i guess that's also a matter of taste or something like that.
GDPR can be quite strict on consent. See for example the UK's ICO guidelines. A sample of them:

> We don’t use pre-ticked boxes or any other type of default consent.

> We use clear, plain language that is easy to understand.

> We specify why we want the data and what we’re going to do with it.

> We give separate distinct (‘granular’) options to consent separately to different purposes and types of processing.

https://ico.org.uk/for-organisations/guide-to-data-protectio...

These are of course just guidelines, but if you don't explicitly inform your users that you will be sending images of what's on the screen over the Internet, you are likely to get in trouble. (And no, a giant EULA-type wall of text probably wouldn't be sufficient)
... because wheels necessitate plastic.
Trust Me
Big Hospitals Are Getting Bigger, Pushing Prices Higher
I'm not a pro and don't do this for a living, but here are my 2cents...

I recently started a large project, so did some reading on architectures/patterns like DDD and Clean-Arch. One of the most important points I took from both was to clearly define your domain. But based upon past experiences, I have developed a dislike for "heavy" objects like those used by DDD and ORM's in general. I like to keep things simple, sort of "functional" in nature - what your link refers to as anemic objects. So I have stuck to the SOLID principles, and in particular the D = dependency injection. I've also taken a fancy to RPC style code, so that influences my code.
BTW, clean arch isn't too different from the image of Layered-Arch in your link, more of an evolution really.

So here is how I apply my concepts to your problems...

Users want to know the Events they are registered for, and Events want to know the registered Users. You have a circular dependency! But really, the problem to me is that you haven't expanded your domain enough. I think you should have a third entity, something like UserEventRegistrations. Now User's and Event's don't depend on each other, and UserEventRegistrations will depend upon them. No circle!

As per my like for anemic objects, I would have a User model object to hold properties like name, and a UserRepository for doing CRUD style operations with methods like GetByID() that returns a User instance. The same would apply for Event, and something similar for UserEventRegistrations, except it's repository would have a dependency on the User and Event repository so that it can do methods like GetEventsByUserID().

Then to apply this in Clean-Arch style, I leverage whatever statically typed language I am using (Go, TypeScript, etc) to implement interfaces. So I define the domain layer as the model objects, and interfaces for the repositories. For the persistence layer, I would create a concrete implementation of the repository interfaces, and they would return instances of the domain model objects. Then for presentation, I would create a layer that expects to be dependency-injected with a concrete implementation of the repository interface. So my layers are separate, based upon the "contract" that is my domain layer.

Now your example for User.getProfileAsJson() is vague in meaning, but if you wanted to return the data in a different format than the domain model, you could have another layer on the presentation side of the equation that handles this. It would utilise the repositories to build what you need. So your "Profile" might be a single JSON payload containing a User with their Events. Your function would do UserRepo.GetByID(), check you have a User, then do UserEventRegistrationsRepo.GetEventsByUserID(User.ID). Then it would stick it in your payload, and viola.

I've not completed my project yet, but I've implemented some functionality in all layers (Go server pulling data from RDBMS and sending to TypeScript UI), and it seems to be working well. I've also noticed after the fact that my domain layer ends up looking exactly like a protocol buffers definition, so maybe just use those.
Patchwork Girl (Shelley Jackson) and Spatial Hypertext
It's more an annoyance than really a problem and stick with them rather than Amazon. Leanpub looks like a nice enough bunch and you, as the author, receive most of the proceeds.

I'm probably anyway the exception nowadays not being able to access private email remotely. But what you may point out to them is that it may be worthwhile to think through their checkout process. Also for their own benefit and the benefit of other authors

As I said I sent the link to myself and if I don't forget will buy it from home.

I really like to support you and your efforts and it looks like an awesome resource for somebody using bash a lot.
Show HN: Button Contrast Checker
For the sake of life on Earth, we must put a limit on wealth
And if there's a vendor that can sell that same TV without the privacy invasion for $4000, it can't even compete. This way, honest players are priced out of the market. This pattern is so predictable that I maintain advertising needs to be aggressively curtailed.
Whoa, that overdub demo is pretty crazy. The inflection in puts into the typed in content is pretty spot-on.

Edit: You can get it to go old school tts synthesis if you feed it kanji letters.
Scott Sumner (an economist) responded, I thought his take was spot on

https://www.themoneyillusion.com/the-animal-spirits-fudge-fa...

Two quotes

> “Macrophysics” (predicting complex physical systems such as hurricanes and earthquakes) does just as poor a job of prediction as macroeconomics.

> The real problem is modeling the policymakers. We don’t know exactly how the 12 members of the FOMC will behave.
‘Link’s Awakening’ remake is a classic well worth revisiting
Tesla earns its first-ever safety award from IIHS for Model 3
Sharding is a fairly easy path to scale redis writes out across multiple processes/cores.
Maybe he's trying to avoid writing "Spain"?
Yeah that was exactly my point. Here in Germany tons of people pirate things that aren't available too. Like if something is on US Netflix but not available here, well people are gonna pirate it. If 10 seasons of a show are available on Amazon Prime but Seasons 11-13 are only available on US Amazon Prime or some other US cable network, people are gonna pirate it. It's not really a surprise and leaving that market entirely is just gonna result in more people pirating.
The real advantage it has is simply that it’s there, always. It enjoyed a network effect a long time ago and is now so entrenched that challengers have a mountain to climb - entire generations of professionals know how to get stuff done with it and expect it to be there from the start, so any system that goes with an alternative is at an immediate disadvantage. A few OSes are trying to push what are effectively incremental updates (like ksh on OpenBSD), but it’s a daring proposition. I like OpenBSD but still the first thing I do is switch back to bash, because there are so many other things on the todo list that dealing with an unfamiliar shell is both incredibly low priority and the first thing I’m forced to do - a perfect “demotivational” combo.

I fear it would take a massive coordinated switch, systemd-like, where an entire ecosystem moves to an alternative, to actually see any change in this area.
Remove social media apps from mobile
Use computer for social media instead of mobile
Focus on health / food / books [hardcopy]
> The guy has to give a grovelling disclaimer in his first slide that he's leftist, hates Nazis, hates racists etc. He has to say this because he's about to destroy a conspiracy theory held exclusively by these kinds of people.

He said that because in Germany it's actually quite mainstream to blame everything on social bots.

When the German alt-right gained popularity, and alt-right topics became very popular on Facebook, the reaction of the German mainstream to that was to go "Those are all Russian social bots! There are no alt-right Germans! Facebook you need to fight those fake news and social bots harder!" [0].

By now those supposed "social bots" are going to elections and are voting [1]. The German mainstream reaction to that is to keep ignoring it, after marginalizing it as "Russian propaganda" didn't work.

[0] https://www.theatlantic.com/international/archive/2017/11/ge...

[1] https://www.nytimes.com/2019/09/01/world/europe/german-far-r...
I recently started working a more devops role at a company (I've been a ruby dev for most of my career) and one of the things that I've noticed is how _insane_ scripting by ops people is. I'll start poking around a build pipeline and there will all sorts of tortured usages of sed and jq and bash and coreutils to get things done that would be _really_ simple in ruby. I routinely see people using wget and curl in the same script. I'll see people pipe sed text replacement into perl for more text replacement. I'm constantly aware of ruby three liners that are fully portable, even to Windows, that could replace a dozen lines of potentially subtly buggy shell scripting.

And honestly I can't see any good argument for this patchwork approach to gluing things together. I guess some ops people might argue that you'd have to have ruby everywhere but the counter argument would be that we use docker images for everything and adding ruby as a dependency isn't any worse than all the insane dependency gymnastics it takes to get our node apps working.

And all of this applies equally for any language with a reasonable standard library (python, perl). I think people have weird feelings about using bash or make or whatever to accomplish things, like they are riding closer to the metal or that they are living some deeply pragmatic zen Unix philosophy, but mostly they are making an un-testable mess until it works once and then, if they are lucky, they don't have to touch it again.
Just one link: https://terminalsare.sexy