skysight-inc/HackerNews huggingface dataset:
Huh? If we're strict, it has plenty of avenues, including courts and elections [1]. They might be nominal, but legally they do exist and operate:

[1] https://en.wikipedia.org/wiki/Elections_in_China
But they are correct.

Correctness should forgive any amount of "tone", if indeed we care about correctness.
Would you implement markdown linter in your project and if so why?
I'm a fan of having a unified code across all team members in the project. Personally, this gives me the comfort of expecting the same way of structuring the files in the whole project which finally help in a quicker understanding of the code. For programmers, it is also easy to imagine and apply for programming languages like Java, Go, JavaScript, etc., where you have a linter which keeps. I introduced a prototype remark-lint as the standard way of writing all markdown files, although my colleagues at work have difficulties to understand the benefits of linting Markdown files.

For me, the advantages are obvious. All markdown code is written in the same way across the project, especially where there where are dozens of markdown files in the project (e.g.: maintaining a whole project wiki in markdown). Moreover, there are many different ways (aka. flavors) of writing markdown files, which can be mixed in a single file. This confuses me even more and I'm asking myself why they don't see the benefits of that.

Here I would like to ask you. What is your opinion about markdown linter? Would you find any advantages using markdown linter in your projects or rather treat it as something completely useless which in the end only frustrate people by keeping the same way of writing?
That is kinda their business model though, isn't it? I mean, they're trying to sell you their added security patches, so it's in their interest to convince you that they alone know what they're doing and everyone else incompetent.
A Feminist Capitalist Professor Under Fire

The students who demand her firing, Camille Paglia argues, take prosperity for granted, are socially undeveloped, and know little about Western history. Who’s Moses?

https://www.wsj.com/articles/a-feminist-capitalist-professor...
We had this at a previous job. At a meeting there would be 1 tester, 2 (!) non-tech product owners, and 3-4 devs.

The designs were as bad as expected, but worse than that was the scheduling. I.e. "complete this feature", then "complete that feature", with little opportunity to work on their common parts or refactor anything.

Thankfully there was enough of an agile culture for us devs to tell them to stop. We started to split meetings, so that the non-devs could dump all their information on us in the first part of the meeting, then they'd leave. Then the devs would spend the rest of the meeting scribbling designs on the whiteboard.
High-Flying Geese Are ‘The Astronauts of the Bird World’
Google, YouTube to Pay $170M Penalty over Collecting Kids' Personal Info
I think the real complaint is:

>>Then it took them four days to figure this out and tell us about it.
Ask HN: Framework to test data quality/consistency
I am looking for something similar to a testing framework to help me test the quality of datasets across different data sources. I am interested in testing among others that: the size doesn't increase/decrease unreasonably, the schemas remain consistent and that static tables remain unchanged. Is there such a framework or tool available? How do you solve this problem in your organisation?
Windows 10 Start menu stopped searching?
HN discussion: https://news.ycombinator.com/item?id=20876248
The Four Types of Business Ideas
To let the job seekers aware on how their resume is being viewed at the recruiter end. Helps with suggestions and required skills to fit for their dream job role.
The Sculpt was really close to being a worthy successor in my mind, but they totally screwed up the FN keys.

They are a different size, height, and actuation. A real killer for people who actually use FN keys.
On latest firefox it looks weird. Its not clear how to upload. Click does not work, drag and drop neither
EDIT: since everyone seems to be mentioning the 4% rule, I'd just like to point out that I'm not denying the existence of this, just denying that it is actually effective. Google has violated antitrust before, and walked away with a "big" fine that's a slap on the wrist. They've violated GDPR before as well once or twice, and got a "record breaking" 57MM$ fine. The 4% rule exists and clearly isn't enforced well. I know a lot of people love GDPR but I would be beyond shocked if the EU actually managed to hit Google with something that sticks. I very much hope I'm proved wrong!

This sort of resolution was inevitable.

I said it before and I'll say it again: GDPR is an annoying measure for developers, small businesses and startups. It doesn't do much other than put in place so many steps that growth tools for startups become risky to use. For big businesses that (ab)use big data, it's not much of a hassle because they can afford the legal steps as well as the change in infrastructure. They can even work around it and keep abusing data without consequences.

If they're able to beat Google's lawyer army and actually prosecute them, then Google will take a whopping fine in the millions of dollars that'll be more than covered by their daily revs.
Subsets of TypeScript are an interesting idea. If you could remove mutation and push imperative APIs into a library that calls you, you might wind up with something like Elm.
I'm a real boy!

Relevant Pinochio scene:
https://youtu.be/EFFGR72tA4g?t=64
> Does ReasonML infer that a type "Product" is the only one in the visible namespace with a "name" property

Yes.

> does it infer at use time that the formatName(...) invocation is valid because the argument has a "name" property?

No. OCaml does have a structural object system (https://v1.realworldocaml.org/v1/en/html/objects.html) and it is available to reason, but it's syntactically funky (https://reasonml.github.io/docs/en/object) and as far as I can tell TFA does not use it.

> They're separate concepts.

Yes. Which is why OCaml (and thus Reason) separates it[0] from the nominative "structures".

> Maybe I want to ensure that I'm receiving a product as it makes no sense to invoke formatName(...) on other things with names like a Cat or Person.

You're really deep into this strawmanning thing.

[0] pretty completely, you can't use nominative types in a structural context, they are not compatible. In fact structural types are sets of methods, something which doesn't exist on the nominative side.
> intended solely at annoying the Chinese government

This seems enough reason to me. Did you ever read about their antics in regards to Taiwan? They deserve everything that’s coming to them.
I can't think of any serious camera that automatically archives to Google Photos or even sends them to people, but cameras like the Panasonic Lumix series (G9, GH4, GH5) have wifi for both transferring photos and for remote control. I assume their full-frame S1 does as well, though I've never looked at it.

(My sideline is video, and three S1's would give me pause.)
PyDev of the Week: Katherine Kampf
No doubt, there is a huge difference between a real cameras and smartphones in terms photo quality. I still sold my digital fullframe recently, even though I tried to keep the setup physically as small as possible it always felt like extra luggage. I'm now using an old but very good compact film camera for those special moments, which is easy to use, super compact and makes great photos.
It's not always Firefox's fault. Some websites literally serve different HTML to Firefox, Google services are a good example.
Psychoquacks have no shame. Even when the cause is discovered, and the illness cured, there is still some "psychosomatic aspect to the illness". As far as I know, there's never been a Nobel Prize awarded for someone in the field of psychosomatic medicine.
It conformed to a Standard, just not the archaic one Linus uses.
Windows 10 shows a notification whenever my USB-C portable monitor is using USB video (via the monitor's DisplayLink chip) rather than DisplayPort.
Will you open source it ?
I don't get it. If it's poisonous, and the ones mentioned in the article are very poisonous raw, then how does the first step ever happen?

The article professes to explain "How do people learn..", then doesn't provide any plausible route to that happening.
Actually you just described what the world bank did to virtually every African nation in the 60s when they were gaining independence. For most nations the interest on the loans they owe exceeds their GPD, so they will be forever enslaved monetarily. The world bank dictates that for example Ethiopia can not sell processed coffee, else the World Bank will bankrupt them and destroy their economy.

What China are doing now is a lot more honest and up front (though I'm not saying it's good). They go to a country and say "We'll build you these roads/bridges/hydro stations" in exchange for mineral/fishing/whatever rights. So the country gets actual improvements for its citizens, and China gets cheap minerals.
The problems I ran into with ReasonML (last year) is how scarce the ecosystem is and how incomplete the bindings.

I remember trying to fetch stuff. Fetch wrapper returns data in a type that is not convertible to anything. Ex. it returns Fetch.Uint8ArrayBuffer instead of Uint8ArrayBuffer. Because reasons.

And the compiler was entirely unhelpful. “X provided but somewhere required Y” is the best you could get for type errors. Somwhere... where?

ReasonML is very very early on adoption curve.
Yeah, this kind of thing is part of what I meant when I criticised AWS encouraging VPC use instead of end-to-end security.

But off the top of my head, you could always use the firewall API from the lambda to open network access between it and the RDS when the lambda starts. (In addition to using certs or IAM security on your TLS connection to the RDS db)
Speaking as someone who at work (big corp) has to do semantic loop-de-loops and contortions to sugarcoat even the mildest criticism of sometimes utterly stupid ideas, just to avoid ruffling feathers and be politically correct, I find this refreshing. It seems to me that the kernel developers plain and simple fucked up, and grsecurity people are right to call them out on this.

I don't find anything but objective summary of what happened in their post. No hostility at all. But that's just me.
Autism Through the Eyes of a Computer
I think this example has been set by the UN time and time again now. You send them a strongly worded letter.
Random GMO experiments (cross-pollination in the 'wild') is how all current food crops got improved throughout history. Now, we're doing it more deliberately. Which is seen as worse somehow, which is just FUD.
That could be said for every infectious illness. So does every infectious illness have a psychosomatic component too.
At a brewery, or a restaurant for that matter, aren't you there to basically recreate a product based on a recipe someone else formulated? The person tasked with creating the recipe has the opportunity to practice artistry in this scenario, but they, too, may be under business related pressure.
They did add that: https://aws.amazon.com/backup/
I used brute-force to replace unreliable Python chardet
Editing-Based SQL Query Generation for Cross-Domain Context-Dependent Questions
The AMP link helps, in the browser “links”.
Sun Yat-sen is the father of the Republic. A revolutionary in his own right.

He has a huge mausoleum in Nanjing.

His portrait used to be where Mao's is now on Tiananmen. And his portrait is still displayed in Taiwan's parliament (the Republic of China's parliament).

It certainly helped his official standing in mainland China that he died in 1925, i.e. only soon after the Communist Party was founded and before the bulk of the civil war.
I understand it’s a major sin to ever talk about syntax but a lot of ReasonML reads like someone’s cat walked across the keyboard

This project is interesting & the folks evidently involved & advocating invested a lot time + smarts but why bother with all this new cognitive load & new universe of subtle problems (bucklescript, interopt, external libs, etc)?
Not sure what your definition of "traditional" is, but I don't recognise your description of UK banks at all. I joined Smile bank (Co-op) in 2001/2, and it was even then fully online and I never needed a bank card to manage my account. I've had accounts with several others since (inc. Barclays, Santander) and never needed a card with them either. The new generation like Starling, Monzo, Revolut et al are also incredibly convenient.
Business logic being in stored procedures is the ideal place for it.

The problem with it is technical: the tooling for migrating and managing schemas and stored procedures is hot garbage, and there aren't good ways to enforce consistency between the invariants of the applications and the database.

Really, it should be possible, on both application deploy and when stored procedures are updated, to import library functions that the stored procedures use from the database and run unit tests against them to ensure that all clients are compatible.
Tab Snooze: Reclaim the Browser, Stay Productive
> There's so little transparency as to what employees get paid that "outsiders", i.e. those who don't have an informal network of pals providing them confidential salary information on-the-side, don't have a way to determine what numbers to shoot for.

Glassdoor? levels.fyi? Why would anyone need a "network of pals" to get average salary information? Who even cares what the average is? Just shoot for whatever number you want and then stop comparing yourself to everyone else.
https://d1.awsstatic.com/whitepapers/aws-disaster-recovery.p...

> The term pilot light is often used to describe a DR scenario in which a minimal version of an environment is always running in the cloud. The idea of the pilot light is an analogy that comes from the gas heater. In a gas heater, a small flame that’s always on can quickly ignite the entire furnace to heat up a house
Ask HN: What programming languages are maintainer/maintenance friendly?
Most languages try to be development friendly i.e. trying to be easier during development process, but which languages make maintenance easier and are maintainer friendly?
In a swipe at its users, Chrome doesn't.
Yes, but that's a failure mode of any system, including with humans: a realistic false flag attack can provoke a counter-attack against your real target. The solution is to improve your capacity of distinguishing true attacks, regardless of whether the analysis is made by a human or software.
Saving mention of the proprietary tool to the end showed restraint. That such failures are detectable by tooling is important information, even when not everybody has the tool. Maybe especially then.
To further clarify 20G, a regular Tetris playfield is 21 blocks high and in 20G gravity your piece falls 20 in a frame. So, it doesn't technically spawn directly on the stack, but it will fall on top of your stack before you can move it horizontally.

It is only possible to play 20G if you have what is called TLS (Temporary Landing System) and IRS (Initial Rotating System) in TGM games. This means that even before your piece spawns and falls, you can rotate it by one rotation either clockwise or anticlockwise and when the piece drops, it doesn't lock into its' place immediately, you can move it for a short while.

Also, if the piece drops vertically, the locking time resets which means that you should build a pyramid shaped stack so that you can slide your pieces down on either side and rotate it where you want it before it locks.
Job Opportunities at Edo
https://www.edo.com/careers

San Francisco/LA/NYC/Full-time/Onsite

EDO is a data science software firm that develops analytics tools to make data accessible and actionable for the media and entertainment industry. Currently focused on film and TV, we work with many major movie studios, TV networks, and consumer brands to help them forecast, market and distribute their content more effectively.

Open Positions: Fullstack Engineer, Backend Engineer, Data Engineer, Product Manager, Data Quality Manager

Tech Stack: React, Angular, Ruby on Rails, MySQL, Python, Resque, AWS, Javascript

If interested please email: Careers@EDO or Steven.Jambor@edoinc
YouTube Fined $170m for Children's Privacy Violations
But the question is how far are both sides willing to go with the violence?

The further the CCP goes the more they risk deepening the resolve of your opponent (especially with a highly united population as in the case in HK). So far it appears that all escalations have done just that. The crux of the issue is that the people of HK do not want to be ruled over by the iron fisted CCP that drives tanks on people. Any escalation by the CCP confirms to the people of HK that the CCP is in fact the iron fisted CCP that drives tanks on people, not the new friendly CCP that does not drive tanks on people. So what does the CCP do then? They either back down or try to up the violence hoping it'll be too much for them. By upping the violence the CCP is gambling that they draw throw in the towel before HK does. At some point (only recognizable in hindsight) the line between protests/riot and open revolt will be crossed. Beyond that point it's fundamentally a gamble that a strong majority of people in HK would rather accept subjugation than die. Since this is somewhat an existential issue for them they may very well choose the latter. How does the CCP "win" against that? People who accept that they are probably going to die resisting are un-govern-able. Your soldiers can patrol the streets and they will still take pot-shots at you. Every time you get one another will pop up. There is no way to "win" against that unless your definition of "win" includes complete eradication. The only historical occurrence I can think of where a people who had resigned to death wound up surrendering involved strong central leadership telling them to surrender.

Obviously it's a shit situation no matter how you look at it with outcomes ranging from bad to worse in the short and medium term.
What paint is hard to wash off? You can remove most with acetone or paint thinner (mineral spirits).
Looking back at your comment history, they're all harsh, negative comments usually with a massive hyperbole. Anything positive to add?
We have very different experiences of the global banking system, it seems. To me, US banks are archaic, slow, and backward—and the UK has to be in for close second so it isn't a fair comparison at all.

I have lived/banked in New Zealand, Canada and The Netherlands, all of which are delightfully eons ahead of the US banks almost across the board. For example:

- P2P or bill payments in Canada can be made to any email address and received within 60 minutes for free.

- Splitting a bill or requesting payment in Netherlands is trivial, because the banks all allow you to generate a URL and send it to anyone for instant payment.

- Transfers in NZ are realtime, instant, and validated before you send to ensure its the right person. You can also create accounts online with your government login. Touch to pay exists everywhere since at least 2010.

Meanwhile in the US, checks exist and people go crazy when Apple Pay is accepted at a single chain store. I've never touched a check, and I hope I never need to—and the examples of hoops to jump through are likely because you're new! KYC regulations tend to relax over time, and it can be painful at first almost everywhere. The fintech revolution in Europe between N26, Revolut and the dizzying array of others is evidence we don't need, or want, US banks to do anything. It won't help.
From my experience, with a bit of back and forth I'm helping these non-SW departments systemize things in ways they might not have thought of. Through the power of my business ignorance and having conversations, I'm rubber ducking these people to good systems.
There is no such distinction between compile time and run time in Python; everything can be done dynamically. Want to use a class with slots computed at runtime? No problem:

>>> def with_slots(**kwargs):
... class SlottedClass(object):
... __slots__ = kwargs.keys()
... def __init__(self, **kwargs):
... for k, v in kwargs.items():
... setattr(self, k, v)
... return SlottedClass(**kwargs)
...
>>> with_slots(foo=1, bar='qux').zork = 4
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'SlottedClass' object has no attribute 'zork'

Of course there are many improvements that could be made to this approach (e.g. not creating a new class for each instance, or setting the __name__ to something meaningful) but I hope it shows that dynamic typing and robust error checking aren't contradictory.
It is incorrect, from a marketing perspective, to ever not call an algorithm "AI."

Doing this results in decreased revenue.
The most important thing they don't teach you in school is that you don't get paid well for whatever your passion is. Most ppl that succeed in life are born to already rich families, that can pad them until they get up and running.

It's not terrible, it's just reality. Some people never even get the opportunities that we do as highly-paid "IT people"...

If you're on a paper boat in a gravy stream, don't poke holes in it or you'll drown. If you're on a meatloaf mountain and you need to chew your way down to the gravy lake, don't just jump off, because then you'll drown in gravy too... We're all miserable souls looking for mashed potatoes, but sometimes there's only meatloaf, so plant potatoes and then hope it all works out.

It still pays more and beats working at Cracker Barrel. ಠ_ಠ
The assumption above is 100% humidity. Which you won't get even close to in a desert near Amman, where it's around 50%, and only because of the ocean proximity.

If you look at the humidity map, it's rather clear that most warm areas away from the ocean/sea are screwed - it's around 18% humidity.

https://www.windy.com/-Show-add-more-layers/overlays?rh,31.9...
> which sucks because you have to get a physical card reader (like an actual machine that scans your debit card) in order to use the online banking most of the time

Isn't such a device required if you want 2FA and use your phone for e-banking?
but didn't santa claus used to be green until sponsored by coca cola? Or is that some kind of myth?
For real. It's hard to get support for browser APIs, let alone libraries. Getting Reason to work with File objects is just an utter pain.
(Not trolling, no flamewar but asking out of curiosity)

Is ES6 + Typescript in 2019 really so awful that all this effort is required to build rich applications for web?

Perhaps ReasonML is like “the big guns”, but what situation makes it necessary/important/better to use?
No, you just rented an account on a shared host. My first job after uni in the 1990s was looking after Demon Internet’s web servers, which were all like 1000 accounts/sites per server.
"What they did" and "What happened" are very different. The loan was supposed to foster economic growth, which would have enabled paying back the loan. Which didn't happen for sad reasons.

The coffee part is odd - what's that about? What does the World Bank have to do with coffee?
>countries as being so inept they can't spot a bad deal.

Yes.
According to the first graph they appear to have peaked in 2012 and dropping ever since:

2011: 16

2012: 20 <--- peak

2013: 17

2014: 14

2015: 13

2016: 12

2017: 12

2018: 4 (annualized rate of 8)
> Ever tried to do that with a large Typescript code base and then of course without the defensive strategy? It's a myth Typescript proponents really enjoy to believe.

You got me. I have not tried to do this in a large TS codebase.

> There isn't a ton you can do about this except for to code very defensively where it matters.

Of course you have this issue in pure JavaScript too. So it's not so much that TypeScript is worse it's just not as big an improvement in this regard as a compile-to-JavaScript language that gives you runtime type safety.