skysight-inc/HackerNews huggingface dataset:
First, inheritance provides a strict superset of standard ADT functionality. Proof: Scala does ADTs through inheritance. ADTs are basically isomorphic to a closed two-tiered inheritance hierarchy with an abstract superclass at the top tier.

Second, you're confusing inheritance with the ability to map subtypes to operations (and in statically typed languages, in a type-safe fashion). This is a function of OCaml's (or SML's, or Haskell's, or F#'s) pattern matching facilities, not of inheritance vs. ADTs. It can also be done with typecase statements, multi-methods (or actually, just external methods), or tree parsers. The tree parser approach in particular is more general and powerful than the typical pattern matchers in functional languages.

Third, if you look at actual compilers, such traversal will commonly be done in an ad-hoc fashion and can be done equally well with bog-standard methods. Where you have generalized traversal mechanisms, the visitor pattern will crop up in OCaml, too (in some guise or another). Examples are the Ast_mapper module for PPX in OCaml itself [1] and the visitor interface in CIL [2]. The reason is that if you want to perform a generalized fold, map, etc. operation over a heterogeneous data structure such as an AST (visitor is usually fold + map due to destructive updates), you need to also provide a set of operations for the various types that you can encounter during traversal.

[1] https://caml.inria.fr/pub/docs/manual-ocaml/libref/Ast_mappe...

[2] https://people.eecs.berkeley.edu/~necula/cil/api/Cil.cilVisi...
As if people from other countries are not equally strong

This is unfair; while chauvinists obviously extol their country, one can celebrate it without declaring its superiority. As a non-American myself, I understand the antipathy against American Exceptionalism, but let's not put everything in the same bucket.
Not all sounds need to be a single letter. Polish has 32 letters plus 8 digraph, which gives you 40 already.
Britain set to lose EU ‘crown jewels’ of banking and medicine agencies
It's art. It wouldn't matter that much if it were paid for by a saudi monarch in order to promote violence against women, because absolutely nobody, except the special kind of people who write blog posts like this, would read it that way.
Great work.

I'm curious about the algorithm for bans, once you're done with the project I hope that you will disclose it.
Is your name Kostic or Kostić ? There's one reason. The other is that typing out diacritics is a chore and people get what you mean without them anyway. Especially for programmers - we do most typing in English which doesn't use them, it's not in my "muscle memory".

I am talking about casual messaging - for formal writing you probably do come off as illiterate if you don't bother to use them.
In Brazil there is a technical competition to ingress the career (both for judges and prosecutors). Often there are 100 or more candidates for each available chair.

The problem here is that judges are unaccountable: a judge can have 100% of his decisions reformed in an upper court and keep working. In a sane system he would be fired.
I updated "Thou Shalt Always Kill" for the 2010s and the age of social media
Agreed. It's time someone added a bear.
Seph's law: Programming is 95% decisions and 5% typing.

You are an inspiration! If people grasp what you've done then you've lowered the fear people have of copying things. That should lead to more attempts, failures, improvements, competition, a true catalyst!
That would be er, bullying, wouldn't it?
Interesting read from his blog: http://warpspire.com/posts/next
Finland average coffee consumption is almost 3 cups a day per person, but that's a bit misleading statistic because it includes children too, who in general don't drink the stuff.
Imo: remove the plaque at least. No free advertising space. Maybe have a vote to keep the statue.
Pics, or it didn't happen!
I always thought the bull was a commissioned piece of art as for example Franfkurt stock exchange has similar bear and bull sculptures infront of their building. In the financial world the bull symbolizes market gains and the bear symbolizes market losses.

[1] http://www.frankfurt-tourismus.de/en/Media/Attractions/Bull-...
Show HN: Devcenter - Work with the best software developers from Africa
Well there's another school of thought: if you want to be a significant world power (prerequisite to being geopolitical rival to USA) you have to let your citizens read whatever they want, vote however they want, and join what the fuck ever social network they want.

Jury is still out, though.
Show HN: Share your clipboard across the devices
Just the source, because I hate unsourced claims.

[0] http://www.cvedetails.com/cve/CVE-2015-6639/ - Integrity Impact	Complete (There is a total compromise of system integrity. There is a complete loss of system protection, resulting in the entire system being compromised.)

It is also worth noting that finding vulnerabilities may be a crime in many jurisdictions [1] (thanks to the DCMA), which would prevent researching coming forward.

[1] https://www.eff.org/deeplinks/2016/03/interoperability-and-w...
It's fine. Op is being unreasonable.
What kind of scientific projections were outlandish if I may ask?
>Such nationalistic bull-shit always irritates me.

>As if people from other countries are not equally strong and powerful

The tendency on HN to interpret any positive statement about the US or American culture as an implied insult to the rest of the world baffles me.
It irritates me because it is totally lacking introspection and this kind of statement make it into the media with great regularity, in fact, so frequently that it becomes a meme in its own right.

Maybe it's my jealousy coming from a small country with puny and weak people. But I suspect that if some immigrant artist would put up the statue of a lion on Dam Square here to commemorate the strength and power of the Dutch he or she would likely be laughed out of town, statue included.
Hi guys!

We work with the best talent in Africa, we help turn your ideas into prototypes, websites and apps.

Looking to join our workforce? Join us via Workable - http://devcenter.workable.com

Looking to start a project? Check out project cost estimator - http://bit.ly/DC-ProjectCostEstimator
Art and history are inexorable. Removing the plaque would merely change the asthetic.
super awesome!!
'Give' is harsh if you understand the operational constraints people on government salaries and budgets had to work under. USGAs collected/acquired/amassed rather than developed these and packaged them into a field kit - they were in the dark domain (for $$$), then meh punkery. Sure we'd all love to be chillin' with JMac shootin' up the neighbors porch. Not just NSA either... just sayin'. Even GCHQ have warez :O TSB are the curly, moe and larry of this sorry affair. they got lucky, now they gonna bees unlucky lol!
Was Dirk Nowitzki[0] the owner or at least a board member?

[0]https://en.wikipedia.org/wiki/Dirk_Nowitzki
I don't see it as a positive statement. I see it as a statement of insecurity that you have to equate people to bulls. Just like the American Eagle, the Dutch lion and so on , it's just cheap symbolism, closely related to flag waving.
Completely agree with him. FG alone is for-women but FG in front of CB is against-men. CB alone is strength but CB in front of FG is against-women.

Separtely both are great work of art even after considering source of funds. But they managed to ruin both of them.
Event Sourcing is a great pattern that could be used for many applications. It gives you an audit trail for free and lets you rewind to any point in time.

You don't even need to use a dependency like Kafka. We built a tool for tracking the lifecycle of software we ship, it uses Event Sourcing with snapshots and is open source: https://tech.fundingcircle.com/blog/2016/09/06/shipping-in-f...
He or she probably means the script, not the terseness of Russian. If you look at English and Russian text you will notice that Russian has longer streaks of letters of the same height/depth compared to English.
So, if the NSA becomes aware of an exploit that they are able to procure for $ and they really have the security of the United States at heart don't you think the proper course of action would be to alert the vendor rather than to leave their own people just as wide open to attack as their enemies?

I could understand them hoarding their own research but this essentially confirms that the NSA doesn't care about the security of the home country as much as they care about being able to infiltrate elsewhere and to me that seems to be a badly chosen priority.

After all they can't know for sure who also has access to that vulnerability.
Opportunity cost.
In other words you can't point to any series of false statements so instead you just make things up.

Got it thanks.
I like this way of thinking.

Additonally, I would say that the bull statue has well and truly earned its place. It is now an established piece of art: it has been subverted.
By the very nature of the agency's remit their focus will be more in a domestic say than a foreign theater of operations, so 'yes' but 'unfair!' (the bad guys walk amongst you).
No. I'm around 0-2 cups a day and am starting to worry about addiction. I was able to get through days with no coffee intake but now I'm sleepy without it.

I was a nice boost but now my baseline has shifted.
I don't understand why virtual keyboards (e.g. on Android) cannot have letters with diacritic along with normal letters (not hidden behind long tap popup). That should not be difficult to do.
I don't understand what your point is. Is it that Kyle Neath should take a stronger role in the fight against (height/age/gender/race/....) discrimination? It is probably hard because if you are working full-time as a software dev, you don't have much time to also lead a social struggle.
Only if you assume that the share price always reflects company value.

The 80s were well known for corporate mavens buying undervalued companies, splitting them up, and selling the assets individually. The practice resulted in a net profit.
Well not no one. The op cares that much. I care a bit too because I always knew the history and intent of the statue thanks to a little Google search I did the first time I saw it.
If anything, the problem with Electron is that it takes the wrong approach to lowering the entry barrier to application development. Rather than forcing developers to come up with more user-friendly programming languages and UI toolkits, Electron takes the easy way out and bends HTML and JavaScript into a hugely overweight kludge to accomplish things it was never really designed for.

The result? Fat applications that take up lots of resources, poor user experience that doesn't match the native look-and-feel of the OS, and a huge surface for problems or security vulnerabilities. (Just the other day I was tweeting to the developer of an Electron app when I discovered that their simple chat app was linking to CoreMIDI on macOS - what exactly for?!)

I still recoil a little bit when I look at the DOM of the average Electron application, because it's horrendous and scary and HTML still is not the correct tool for the job, no matter how much people try.

I'm glad that it is inspiring people to create, but in doing so we're teaching new developers bad practice.
Looking at the spec for Solid [0], I'm quite struggling to see what it has over GNUSocial or the other players in this same field, apart from the name backing it.

Authentication, transfer of data, and all that look very similar.

[0] https://github.com/solid/solid-spec
Emil Cioran: Anti-philosopher of Life and Death
Well, much of the point of making a statue for a sculptor is to gain recognition. Not every artist wants to be a heremit. I don't see the problem of having one of your works publicizing how good you are at doing that kind of work.
I don't think Tesla can be L5 this year..it would be awesome, and I'd love them to be the first, and I believe that after some time they will have it, but they are just too far behind right now (just look at videos/stats). Waymo still has the best statistics, though their equipment may be more expensive than Tesla's.

In return Tesla will have much more data in a few years.
That's so touching. Thanks a lot for sharing.
You are just projecting your own inferiority complex.

American people have several reasons to be proud of themselves. Even when you add up all the missteps the balance is undoubtedly a net positive effect on the world.
Why men? The bull was never supposed to represent men.
> "I'd never actually used kafka before, and I have a rule with projects like this that any new technology has to be put in first just in case there are unknown unknowns that affect the design."

I have been doing the same intuitively for as long as I can remember but never stopped to realize this or why. I wonder what else I've learned by doing like this that now I use unconciously.
Nationalism was originally meant as a unifier in a world where racaus nobles would go to war over spurious land claims or maligned honor, and ethnic or religious divisions regularly lead to war.

Nationalism is not evil. It is a necceasary baby step away from tribalism and towards a humanist ideal, by getting one to acknowledge that people hundreds of miles away share common ground with you.
>I find OCaml's syntax to be quite gnarly

What's wrong with the OCaml syntax? It's much more clean than say scala's one, it's indentation insensitive, and a' list feels more relevant than the list<'T>
Four NOs of a Serious Code Reviewer
..and a very distasteful business, many of these developers live in SEAsia for dubious reasons and peddle their warez to support their sickening lifestyles, I would be ok with certain CIA/SIS proffered solutions in these cases. There is no current shortage of windows 0days that I know of.
Where does this funny number come from?

>by an investment fund called State Street Global Advisors, which has assets in excess of US$2.4 trillion.

This doesn't seem like it can be correct. What does this number represent?
I have an old, slightly blurry CRT here that seems to have a broken vertical sync line on it. Last time I turned it on it exhibited the same effect (gigantic intense horizontal line in the middle). I knew that many electrons was going to wear out the phosphors so I reacted quickly too (it didn't make any noise though) - in my case I found that some mild percussive maintenance restored everything.

Your story reminded me of this fun CRT classic, which I kind of hope is real in spite of the replies: http://atariage.com/forums/topic/176969-writing-a-program-fo...
The extent to which a patient has a 'relationship' with a doctor undoubtedly depends on the patient.

As a healthy 30 year old, I've never met my doctor. But my 85 year old neighbour who is in and out of hospital all the time has a doctor who knows her children's names and everything.
It says "rules: no swastikas", which is just an invitation for people to draw swastikas.

This reference is better than a swastika though. http://i.imgur.com/sFwteao.png
Show HN: Gist Noesis Sienna: The Cradle of AI
Gist Noesis wish you a Happy Easter by introducing Sienna.

Sienna is a playground to distribute computation.

Please have fun and give us some feedback.

May the web be reborn.
>It's not dishonest, it's representative of the actual situation.

If you claim "they" don't even "think that far", while there are plenty of examples of "them" thinking further, then there's nothing representative at all about your statement. Copyright reform was, and still is, the platform the pirate party is running for all over the world.

The random guy off the street also does not think about solving energy problems for the world, as such random guy off the street can be hardly a measure for anything at all.
Firefox warns on keyboard controls and allows overriding site mouse behaviour by using Shift+right click.
liform-react: Generate Forms from JSON Schema to Use with React (& Redux-Form)
It represents the money they manage on behalf of their clients.

https://en.wikipedia.org/wiki/Assets_under_management
Charging Bull is one of the great hustles in art history.

Over the years, Di Modica has made an enormous profit off the sale of replica bulls to cities and wealthy clients. Along the way, he's filed lawsuits and pulled stunts to keep the statue in the public eye, but the motive has always been profit.

Is there anything wrong with profit? No, certainly not. I love the hustle and I love the hustle on top of the original hustle with the addition of Fearless Girl.

It's fine art and a fine hustle. Just like all good art should be. Sit back and enjoy the show.
Of course he can remove the bull if he wants to. If he wants to send a particularly strong message, he can auction it and stipulation of the sale that the bull may not be positioned anywhere in New York City, and make the subsequent story his art.

A corporate advertising campaign co-opts social media and a vacuous fawning politician into demanding its advert must stay and be worshipped, and the symbol of America's indomitable spirit and dynamism is packed into a shipping container and sent to Shanghai...

I think it'd be hard to say Di Modica had been "defeated" as an artist if that all unfolded... and he'd probably have quite a few million from the sale to take solace in (plus being able to charge the city copyright royalties when it commissions a replica replacement).
> You are just projecting your own inferiority complex.

Priceless. Thank you.

> American people have several reasons to be proud of themselves.

I'm sure they do.

> Even when you add up all the missteps the balance is undoubtedly a net positive effect on the world.

Call me in 20 years. Anyway, there is a vast difference between 'the American people' and 'America the country'.
This is exactly how I develop. Prototype the hard parts first, if they work, good, if not, serious redesign is needed. It would be a waste of resources to focus on the easy parts first.
They can and do (maybe not standard on Serbian phones, though). My German Android keyboard has extra keys for äöüß. They make typing somewhat harder, because all the keys have to be smaller to fit
Thanks for the support everyone! It was a really fun little project. I'm happy to answer any questions people have.

I'd also like to say that I highly recommend everyone does projects like this from time to time. I don't know any way to gain programming skills faster than making small throwaway projects using new tools and techniques.
It has an institutional culture (in the bureaucracy) of nurturing those startups. In particular, it has a very clear and permissive procedure for transferring work to private companies (see [1], under Outgoing MTA). You tell the university what materials (including IP) you want to use in your company, and the university negotiates a direct quid pro quo.

The Georgia Tech process, by contrast, seems totally ad hoc and amateur. "You can take stuff for free up to a point, as long as you agree to certain investment agreements with the university, and if you step over one of our unclear lines we will slap you down."

[1] http://ipira.berkeley.edu/material-transfer-agreements
Perhaps it was a Java espresso? Would explain the teensy cups, Java beans are normally middle of the road when it comes to caffeine content.
Hugo v0.20.2 Released: Plain text partials in HTML templates; think inline CSS
Bulls are people who believe the market is going up, and buy; bears believe it is about to go down, and sell.

A sustained move in one direction over weeks is a "bull market" or "bear market".
I feel like every time I leave a comment on HN that is 98% true, someone comes a long to helpfully inform me of the remaining 2%.

Sorry man, but that sort of thing just drives me nuts! Maybe I should paste a signature onto my posts. Something like "I estimate this comment to be 93 +/- 5% accurate. Please inform me of inaccuracies only if they fall out of those bounds." :)
It should be "assets under management". Those assets are really owned by millions of ordinary people: they are savings, retirement funds, etc.
A lot of small countries have a local film industry, but don't expect large-scale unlimited budget productions like you'd see in Hollywood.

Generally, if you are a small country, you have to pour a lot of money into the industry to be able to even compete with Hollywood, otherwise the small market size doesn't make it worthwhile to produce anything. It's essentially the state paying for a public good, where the good is culture in your own language.
I added that after someone got snippy at me after I deleted their 'art'. This way expectations are clear about when I'll intercede with my admin powers.
In this circumstance, the NSA's two missions come into conflict - to spy on foreign targets, and to protect American targets. From the perspective of that institutional mission, it's not clear which motive should win out.
Monopoly man?
Maybe not precisely and only "every male human", but what is a bull if not masculinity?
That's essentially what OP said in their 3rd sentence. FG being there changes what the bull represents.
There is historical precedent - BASIC originally required line numbers for all lines, and GOTO could jump to any of them. Later versions made line numbers optional, so it became a common idiom to only put a line number on a line you needed to jump to. In TI-BASIC this went further - line numbers were dropped entirely and you jumped to "labels", which could be named as well as numbered.
At least we know that Halley's comet passes Earth that year (2134).
But the Arabic alphabet is already being succesfully used in Iran and Pakistan, to give a couple of examples, for languages that are very different from Arabic.
The girl is facing where it's meant to be facing, twisting the meaning of the bull into something the creator did not intend. The creator of the bull can't turn the girl, because it's not his statue, and the creator of the girl doesn't want the girl turned, because that's where she wants the girl to be facing.

The creator of the bull, the person who doesn't like this situation, can only affect his statue. Therefore, all he can do is turn the bull.
You are correct on all counts. Tail recursion allows you to reap the benefits of imperative programming in a purely functional setting, but only thanks to tail call optimization.
Aw thanks! And yeah I agree. The way to get good at programming is to make lots of stuff.

> Seph's law: Programming is 95% decisions and 5% typing.

:) In real projects there's usually the other 95% of the time spent reading the existing code and figuring out how it works. But thats much harder to fit in a glib saying.
To me this seems to symbolise a different message:
"Brave women stopping the progress of capitalism" think what you will of that message... Turn her 180 degrees on the other hand and it's clearly conveying the message "brave women lead the way of capitalist progress, and is backed up by the strength of the finance system"

Personally I prefer the second version..
Works of art may outgrow their sponsors

Example: works sponsored by the House of Medici
I don't know, if you wrote a sentence saying "America is great" and someone came and appended "but women aren't afraid of it", that would change your sentence in ways you didn't intend. It's not longevity that drives you to defend your sentence, but the fact that you didn't intend it to read that way.
The+new+MacBook+that+Apple+should+have+done+from+the+beginning
The girls not so smart to be fearless in the face of a bull. The girls gonna get stomped. Not a good message.