skysight-inc/HackerNews huggingface dataset:
I agree that those are not examples of original ideas. But being the first to have an idea isn't actually that important. James Watt is famous for the steam engine, although he "only" improved the existing design.

Similarly, the innovation in many of the domains where China is "ahead" of the rest of the world is not in the original idea, but in actually making it work so that it took off. And that doesn't necessarily mean that those Chinese companies were somehow more innovative than companies that tried the same ideas elsewhere, but that the Chinese market valued those ideas more.

I'm actually not sure how many Japanese innovations weren't "just" incremental improvements of some existing idea that were tried in multiple countries but took off the fastest in Japan.
Clojure has some conditional threading macros like `some->` and `cond->` that are useful for transforming data conditionally.

`cond->` takes pairs of tests and forms where a form is threaded through the subsequent forms if the test expression is true.

Example from documentation (https://clojuredocs.org/clojure.core/cond-%3E):

(cond-> 1 ; we start with 1
true inc ; the condition is true so (inc 1) => 2
false (* 42) ; the condition is false so the operation is skipped
(= 2 2) (* 3)) ; (= 2 2) is true so (* 2 3) => 6
;;=> 6
;; notice that the threaded value gets used in
;; only the form and not the test part of the clause.
Feels like backbone without the baggage.
Results in this field usually look way better than they would be in a production environment.

Regarding articles you mentioned:

Using ROC curve for evaluation in this case is a red-flag because it doesn't take the data imbalance into account. Precision-Recall curve is way more suitable. You can have great AUC on the ROC curve but precision can be near zero in highly imbalanced problems such as malware detection. Precision is the probability that a positive detection is a true positive. Which is usually the measure you are most interested in.

The problem is that precision changes if you change the class priors. Because of that, the results are always very dataset specific.

With that said, I do not say that machine learning or neural networks do not work on this task. It just doesn't work in the end-to-end manner where you just feed raw binaries as input to some generic architecture as we can do with images in some tasks.
Kubernetes TCP load balancing on-premise
Yes — but only if, as in Haskell, that syntactic sugar was generalisable. The whole point of monads is that they are a powerful generalisation that can be used to solve many apparently very different problems. Compared with the syntactic sugar that other languages introduce to solve specific problems (list comprehension/LINQ, `await`, …). You suddenly get a grammar explosion because you keep expressing the same core concept differently.
Admittedly, it's been a while since I played with Docker on Windows, but the last time I used it the containers were huge and temperamental. Has the experience improved in the last year?
@minimaxir for your list:
- Not possible to downvote some posters, as the authors have extreme karma (e.g. >10,000, though I don't know the exact number), even if you have >>500 karma.

It is notable that HN does not support blocking particular users, or indeed annotating that you like them. Though plenty of fans will upvote well known authors, it is not possible for you to keep a list of people who you think have written well in the past. I'd love it if I could, e.g., mark favourite author names in green.

HN is also notable from my perspective for having some people with good technical sense and clear writing, but very extreme views on other matters, to the extent that they would be pariahs in RL situations.
No, you got it wrong. They love jokes, but they have a super-sophisticated sense of humour that the unwashed masses have absolutely no hope of matching.
From "The Retreat of Western Liberalism" (Edward Luce):

It is intuitively simple and tells you pretty much everything you need to know about the era of high globalisation since the fall of the Berlin Wall. It shows the distribution of more than two decades of growth between different percentiles of the global economy. The global median – the emerging middle classes of China, Vietnam, India and so on – enjoyed income growth of more than 80 per cent in those years. Even the bottom deciles, in Africa and South Asia, saw growth of up to 50 per cent. The key part of the elephant for the Western middle classes is where its trunk slopes downwards – between the seventy-fifth and ninetieth percentiles of the world’s population. These account for the majority of the West’s people. At their mid-point, incomes grew by a grand total of 1 per cent over the last three decades.
Paletton – Colour scheme designer
Fitbit analyzed data on 6B nights of sleep – with fascinating results
Give me example of one single country that is not waging any war or complicit of it ?

The other point is why the world should go by force for democracy?

Democracy is freedom, I don't like that democracy I am happy with dictatorship why someone should cry ? ( not pointing at you).

Lets say whole population is happy with their dictator and living a decent life,unless someone is arming rebels and inciting political turmoil by funding innocent people. Why you should interfere in their lives ?

So the question here is , is this political turmoil in China is happening purely by the desire of local populace or someone is funding because they have a hidden agenda ? As we have seen in recent year and seeing this elsewhere e.g in Syria where Us and West are engaged , this has not been just local desire but neighbors and everyone else interested in certain Geo-political goals, which kills the idea and need for democracy.

Democracy should come by learning by indigenous people, for indigenous it should not be "MY" desire
or someone else desire.
> In any case Pieter Hintjens is genius!

Sadly Pieter was a genius :(
I'm sure someone is going to manage more than a few systems, the question is whether they should.

To me cockpit is firmly in the Pet sector whereas the Cattle way of doing things is clearly the one that scales better.
iirc yarn has a bug regarding `which` cli which is similar to this.

bugs are bound to happen and it's part of software development. however, the team size of npm cli and the way they react to this incident are what make me concern more.
Declarative Eventing
Yes I could I have a Btech in thermo fluids :-) but this is doing the dishes by hand after a large meal no way do you use that much.
GetData is `Maybe a` (what means it's not a function).
GetMoreData is `a -> Maybe b`. And so on.

What means that those variables do not do what their names are claiming they do. It's a case of an example that lost its meaning once carried to a too different context. By the way, if you are wondering how functions that actually get data would look, there's a great architecture here:

http://www.parsonsmatt.org/2016/11/18/clean_alternatives_wit...
You can be pressured still with paper voting: They can just ask you to take a picture of your voting card with your mobile phone. It's illegal but no one will notice because, guess what, you're in a private voting booth that no one should be able to see into.

There are ways to avoid being coerced when enabling online vote: have an online vote for a week, then a few days after the online vote ends, have one day of paper voting. If you were coerced during the online vote, you can still go to the paper vote later, at which point your online vote will be overwritten by the paper vote[0]. This is still not fool proof (i.e. one can force people not to go to the paper vote after coercing their online vote) but as explained above, neither is normal voting.
what was wrong with webmin?

(ducks)
You've reminded me to participate in the Scottish Government's electoral consultation. https://consult.gov.scot/elections/electoral-reform/

Online voting is a means of handing the election directly to hackers, without having to go through the tedious intermediary of "fake news" and so on.
It probably depends on industry. It doesn't work so well in today's software, like Microsoft has proved. Also in industries with strong patents or with effective process secrets. And i'm not sure that way of thinking is effective in industries with network effects.

So what's left ? usually industries with low-margins. And afaik, that generally describes China.
"At close of trading yesterday, Snap’s share price had dropped by more than 6%, and was at one point $1.5B down on the day’s opening price."

I'll bet they recover most of that today. I think its the new interface that really killed their stock. Kylie was just the final tipping point.

Besides stock prices don't really do much for a company's day to day activity. Its just a mark of confidence. Most stock trades are based on emotions. So Snap needs to gets back in the good graces of the people it serves.
Email That Pays – BitBounce
I don't agree with everything suggested here, but this is similar to what I'm talking about

http://www.lihaoyi.com/post/StrategicScalaStylePrincipleofLe...

especially the reasoning that you should try to avoid mutability, but when something is mutable, just make it mutable. This is much more in line with ML approach than with typical Haskell concerns around effects systems.
Sure, that's right, and my point was pretty much the same; any EULA that the end user is forced to or has to accept automatically is invalid, such as click-though or shrink-wrap licensing. It's really just the terminology, since EULA has a much wider meaning here, I think.
In voting, the user needs assurance that the vote counts but is not connected to the voter. With banking, the transactions are supposed to be connected to the user. Very different cases.
The US already has problems with election integrity and parties attempting to force differential turnout. E-voting + removal of some polling stations could be a very effective way to keep poorer people from the polls.
You think because it's illegal, it'll stop people that are being coerced?
Sure, but then you become a tenant yourself, and you no longer get a choice of roommates. Sorry - cellmates.
It seems weird that people would opt to not vote, because it's slightly convenient. Scandinavian countries have voter turn out in excess of 80%. I don't know about the rest of the Scandinavian countries, but Danish elections are always on Tuesdays, so the queues tend to get a little long after the work day ends.

It's my belief that people will vote, Americans included, if they think it matters. In Denmark fewer than 80% vote for the EU parliament, because very few actually care, even though the EU have a huge influence on our laws, it's just not clear to the public. Similarly I find it more plausible that the average non-voting American simply don't believe voting will have any real impact, rather than choice to stay home because they don't can't spare an hour every two years.

There's a number of things I personally believe the US should do before looking into online voting, if the goal is increase voter turn out. Losing the "winner take all" system for one. Having more parties represented in the congress and senate could help people feeling that they're better represented and that their votes actually matter.
Politics: Violent Games Shape Minds
Somebody's birthday is interesting info to keep.

That doesn't mean you should get a notification when it comes up.
The coercer can stand outside the window looking in, or somewhere nearby, to check that you don't go take a new one.
Why the cutoff at 2012? (line 71 of index.html)

> if (data.hasOwnProperty(yr) && parseInt(yr) < 2012)
There's something odd about the file checked in to Github; it's cut off on line 50:

https://github.com/jsomers/hacker-classics/blob/master/index...
I probably should clarify which one of you read my intentions correctly, but at this point I think it's more fun to keep it somewhat ambiguous ;)
Chromium is working on this as well, they call it jumbo build:

https://docs.google.com/document/d/19jGsZxh7DX8jkAKbL1nYBa5r...
Extortion of individual voters doesn't scale. Electronic voting could be manipulated for millions of votes without anyone even knowing.
You don't understand why people aren't willing to commit felony assault?
I think you're confusing something. You don't "build" dependencies, you consume them as pre-built modules.

As a package author you use whatever you want (rollup, webpack, gulp, grunt, ...), but you will most likely publish to npm, because bower is dead.

As a consumer you use npm or yarn, it doesn't matter, and a tool that handles modules, probably webpack. Even if you'd use something else (rollup & parcel come to mind), it doesn't matter, they will all treat your dependency the same.

EDIT: Yeah i just saw you're referring to Polymer. I take it back, everything you said applies. But then again, people probably want to suffer when they use it. Though very few actually do use it. I just don't think it's a good example to make to describe web dev in general. Rather Google was the only one that missed the train it seems, they worked in the opposite direction.
How does India's government collect that information?
Huh? No. Updates ship as part of Ubuntu. From your perspective, updates happen. You don't need to pop open the hood at all to get them.
In practice that isn't quite as simple as you make it sound. People come to rely on bugs, weird edge cases, undefined or undocumented behaviours in v1 so you end up having to spec and replicate them in your v2 shims.

Convincing people to stop using libraries in such a fragile way would be the real trick.
Download or Convert any video from any website
Is there anyway to use turbolinks with a java backend? Or is it only specific to rails?
Death of a Porn Star
Still, you should add it yourself, and not some overzealous system.
Thank you for posting this. I have been putting off downgrading my Dropbox account because I thought it would be painful. Now I'll just go do it.
The problem that the good jobs that don't require a university education are going or have gone away it's not like back in the day when Springsteen sings:

"And for my nineteenth birthday I got a union card and a wedding coat."

Nowadays jobs (junior bank staff) where you could join as school leaver at 16 or 18 and work your way up require a degree.
Your bank is insured by the FDIC. Up to some amount.

Who will insure elections in case of hacks?

Also, more electronic voting means maybe more centralization which can increase the scale of hacks.
Probably I was not the target audience but I never got the hype with Wave.
Somehow I don't think this is what the parent was referring to.
1) Maybe monad

getData :: Maybe Data1
getMoreData :: Data1 -> Maybe Data2

Note: the monad is probably not just Maybe if it talks to the outside world but more in 2)

List monad

getData :: [Data1]
getMoreData :: Data1 -> [Data2]

Dont' know about continuations.

2) There are a few approaches but the most popular are monad transformers, building stacks to combine the effects. For example, to speak with the outside world we need 'IO'. To add failure we might use the Maybe transformer

MaybeT m a

to build

type IOMaybe a = MaybeT IO a
One other combination in Common Lisp is that lambda expressions are usable as the head of a form, in place of a function name:

;; Call a function object held in a variable
(let ((add (lambda (a b) (+ a b))))
(funcall add 1 2))

vs

;; Direct execution of a lambda expression
((lambda (a b) (+ a b)) 1 2)

Macro expansion can place a literal or generated lambda expression there instead of using FUNCALL at all.
That reputation was also true when I applied in the mid 90s, and I think everyone I knew who worked for it were able to get in. Yes, its competitive, but it’s far from impossible, and if you really want it...

CSE has no bias for or against Americans, I’m not sure where that came from.
There some boards out there still running on 2.6.x series, and many running 3.0 - those would not qualify as “mainline linux״ at this time.

Some boards can boot a kernel.org kernel without patches; those run “mainline Linux”, not something “based” on it.
Best Places for Summer Vacation in INDIA
Whoa, that was a depressing stance. Whereas you point to several serious problems I would hope the absolutism is there for rhetoric reasons! Personally I think it may still be argued that the information age holds the potential for greater knowledge than ever before, and factual liberty (as opposed to seeming) is very much a part of that. It just may not come quite as easy and automatically as perhaps once perceived.
25th Anniversary: Microsoft Visual C++ (tweetstorm)
That's the thing - docker deprived us from the containers.
Containers were there long before docker and they were good. For example Solaris zones https://en.wikipedia.org/wiki/Solaris_Containers . Linux-vserver and FreeBSD jails were there even longer, but weren't that feature-rich.
I also find docker is overly limiting and solving non-existing problems and personally use custom tools around systemd-nspawn.
Whilst I agree, such conviction of argument does raise my alarm bells. I feel just a little too comfortable in the knowledge that China is of a distinctly "worse" political category. Actually, if I'm honest, this sort of arguing reminds me of fighting with my brother, I so needed to be right because I didn't want to face the fact that he was basically just a superficially different version of me. Ultimately what helps, is facing with the intention of understanding, the brutal reality of what it is to be a human with unchecked power, regardless of their nationality.
Probably because historically banking licences where handed out to those sympathetic to the Franco regime.
Lexmark toner Cartridges
>Maybe the were pretending to cower because that's what they thought this chump wanted to see.

To the point of intentionally defecating all over themselves? That sounds far-fetched for anyone, psychopath or not.
It depends. In Haskell, functions do not fail in traditional sense - they just return indication of failure. So the return type of function can be, for instance, Either type (as someone already noted) which basically lets you have proper value and error value, one or the other.

And Either is also a monad. Typically, you would derive your own monad by somehow combining the two monads (for instance using a monad transformer) that would have a behavior you want.

In ordinary languages, the error handling is done ad hoc, in each situation the semantics can subtly differ. You can do that too but then you have to explicitly handle the fact that functions return Either in the function body (this would be somewhat similar to checked exceptions). Or you can define your own monad that prescribes the correct semantics of interaction between the monads.
No, it’s still true. Chinese companies in protected industries are as inefficient as expected.
You may be right here. I like to think I am not a complete idiot, but I just read their 'about' page and now I know Nix has a folder naming convention and something about functional programming, but I have no idea how it is going to solve the issues I have with pip/apt/conda etc. In fact I am not really sure if it is supposed to, apart from seeing that it is a package manager.

Now I have filed it mentally under 'too much trouble to learn'
Do you know of any board that can run mainline Linux with support for all components?
What if the AI creates a fake identity?

On a related note, what if we substitute a person on a remote connection to a computer instead of an AI? That seems far more dangerous and probably exists today.
I'm not sure how Docker deprived anyone from anything?

All those other container technologies are still there and available for use. from jails to zones to LXC/D...

Docker brought some useful additions to the ecosystem like Docker hub and also helped adoption of containers overall by making easy to use tools.

There's absolutely nothing to stop people picking and choosing what parts of the container ecosystem they use, which is one of the nice parts about it.

Just need to run a container image, use runc. Want a daemon to manage container lifecycle , use CRI-O or containerd. Want the additional features like network management and hub access, use Docker.
How much of an added security risk does adding a web-based admin interface (to the usual ssh tunnel) represent?
Wow, having worked as a database guy in a number of academic institutions I find it hard to believe that he is suggesting academia over a high paid stable career in MS.

Maybe CS PhDs are different, but biology ones who I have worked with are low paid, stressful, and highly competitive to get past a couple of postdoc positions.

It might be more interesting work, but is your work the only real interest you have in life? There is so much more to explore than sitting in front of a screen trying to make code work.
F# Mentorship Program – Week 1
To frame democracy as a "Western mindset" is naive, democracy is a global value devoid of geographical distinctions. This kind of thinking is also used as a defensive tool against real debate about the morality of what China does.

What Britain or the US did in the 18th or 19th century is not relevant to the discussion, what matters is today.

It is not a Western mindset to think that lack of participation in the political process leads to repression. Lack of participation, or the inability to participate, is in itself a form of repression.
Curious, what would you consider the western equivalent of AliExpress to be?
For those who may wonder, it looks like this is GNU/Linux only, no support for BSD or any Linux distro that doesn't use systemd. That means no Alpine Linux and no OpenBSD/FreeBSD.
Or CPanel ;).
one of the most interesting things for me about learning Docker is how it's improved my understanding of Linux.

Ultimately Docker is just a set of linux features bundled together in a nice package, so you can learn the underlying features (and their pros and cons) without having to actually use Docker, if you don't want to.
Honestly what I'm thinking.
In the scenario you described above what is to stop you from taking a picture of a different voting card than the one you put in the envelope?
I have files which only I have access to and files which are shared with small group of people and public internet files.
`Private`, `Shared`, `Public`.

Files may be my own work or others work. I cannot allow to loos my files.
`Created, Copy`.

Files may be text like small live with history demanded or large infrequently changed with no history needed.
`Text, Binary`.

I can eat files in different forms.
'Audio, Image, Text, Interactive, Video`

I may maintain
`Blob, Link`
s.

I may have files which are
`Encrypted, NotEncrypted`.

I may have files for different kinds of work or parts of my persona
`Red, Black, White, Gray`

I may use files
`Often, Seldom`

I may be source of files or consumer.
`Read, Write`.

I could add more, but better to stop and count.

I am noob in math, but guess I may have:

3 * 2 * 2 * 5 * 2 * 4 * 2 * 2 = 1920 kinds of folders.

So my file organization is choosing on of 1920 options to name the folder and put files. Some times name is hierarchical. E.g. `/private/encrypted/`
Interesting, I’ll read more. Thanks for the perspective.
Marketing hype - no one sees anything behind Docker [or Docker-like re-implementation].
> it’s really inefficient, but necessary to make sure every vote is counted. It’s not a database per se, just a record.

I don't see why it would be necessary to have a blockchain. It would work just as well for the election authority to publish the official database of all votes and everybody ensuring that their vote is in that database.

> There are likely better approaches. I was just responding to the question of how this could help and why useful since someone upstream was worried about anonymity.

Right. The approach with a personal verification key is a good one.