skysight-inc/HackerNews huggingface dataset:
Fact check: False. Verified by: You want to be fired, don't you?
This is a nice implementation from Dave Cheney: https://github.com/pkg/profile
Ask HN: What ideas in programming languages do you find difficult to code?
Sometimes understanding a programming language paradigm/pattern/feature doesn't mean you can code easily using that paradigm/pattern/feature.

Maybe you struggle with object-oriented programming? Or maybe it's functional programming that's never clicked? Or maybe some other programming paradigm like stack-based programming (Forth) or goal-directed execution (Icon, Unicon).

Or is it a particular feature within a language (e.g Monads) that just doesn't make sense?

Do you avoid these ideas or features? Maybe you feel you have no need for them? Or do you still want to master or at least understand them better?

Or maybe you have the opposite problem: you know a pattern or feature so well that you reach for it every time regardless of whether it's suitable for the problem at hand? (Anyone brave enough to admit that :-)
Google internally uses pytype, which is similar to mypy, and while not globally used, is used on across a large number of files.
Ask HN: Where to find internships in AI/ML with little experience in the field
Oracle have broken and delayed releases of Java so some people can get slimmer binaries? Hardly seems like a good trade off when storage is the cheapest it’s ever been.
In terms of verifying (or validating) subjective opinions, correlational observations, and inferences of causal relations; #LinkedMetaAnalyses of documents (notebooks) containing structured links to their data as premises would be ideal. Unfortunately, PDF is not very helpful in accomplishing that objective (in addition to being a terrible format for review with screen reader and mobile devices): I think HTML with RDFa (and/or CSVW JSONLD) is our best hope of making at least partially automated verification of meta analyses a reality.
A good attempt, and it's good to see some CSR in this domain along with the demonetization drive going on in youtube. Kids (and adults) may be slowly getting better at discerning truth from motivated narratives in advertising, but these critical literacy skills are some way underdeveloped with regards to making such a discernment when truth is algorithmically generated. Whether this will be an extension of this problem or a partial solution, we'll have to wait and see.

Those hoping that it will stem some of the reactionary influence we've seen establish itself over the last two years will be disappointed, I fear. A fact checker avails you little against a fiercely anti-intellectual movement.
What is wrong with whole grains or fruit? I have never heard of that before.
>Germany has probably the most successful economy in the world

Nope. Not even in the EU. Not even close. Where does this myth come from? Is it that it has passed the UK per capita?

I mean, there are loads of nice things about Germany, and economic strength is one, but that's a wild exaggeration.
The US does not have anything like this in its mandatory public school curriculum that I know of. My experience in a good public system was that if you had time in your schedule to take a shop class (wood and metal working) it was because you weren't taking a foreign language or music class. Same problem with art -- there was no room built in to accommodate those classes in a typical student's schedule.
Thanks! missed that one.
> But that's not really how people consume media. Most people don't spend time on thousands of websites.

I found it difficult to read past that bullet point. It's such an obviously stupid mischaracterization of what "the long tail" is that it makes the rest of the arguments suspect.
Germany is also a super power since well before startups and beurocracy were even a thing.

It seems like an apples vs oranges comparison.
Yup. Pointers to functions and call equivalence of functions and pointers to functions are that in C. Prototype interfaces (ie plugins) are trivially had with a struct containing pointers to such common API functions. The plugin just needs an init function that returns a pointer to such a const structure, and you’re in business.

Another popular trick is to use opaque structs for private data contained in the public struct in the header. Then, the private code defines the private struct. It’s not perfect information hiding but it separates what is intended public and what is intended to be private.

/* foo.h */
#ifndef FOO_H
#define FOO_H

typedef struct _foo_ctx_t {
int timeout;
void *priv;
} foo_ctx_t;

#ifdef _cplusplus
extern “C” {
#endif

foo_ctx_t *foo_init(foo_ctx_t *self);
int foo_bar(foo_ctx_t *self);

#ifdef _cplusplus
}
#endif

#endif /* FOO_H */

/* foo.c */
#include “foo.h”

#include <stdlib.h>

#define PRIVATE(var) ((foo_private_ctx_t *)(self->priv)->(var))

typedef struct _foo_private_ctx_t {
int whatever;
} foo_private_ctx_t;

foo_ctx_t *
foo_init(foo_ctx_t *self) {
self->timeout = 1000;
self->priv = malloc(sizeof(ctx_private_ctx_t));
if (!self->priv) return NULL;
PRIVATE(whatever) = 0;
return self;
}

int
foo_bar(foo_ctx_t *self) {
PRIVATE(whatever) += self->timeout;
return 1;
}
> It's fascinating how the GUI's haven't changed much since.

I think you mean WIMP GUIs haven't changed much (and indeed, the WIMP interfaces of the classic Mac, Windows, current Mac, Apollo, Sun all felt very much like the Smalltalk GUI to me).

But I think the tile+touch interface pioneered on the iPhone is indeed a new GUI paradigm which shrugged off the baby-boomer "desktop" metaphor.

These shifts require a change in hardware, as any interface that gets traction with technology T forms a local maximum, which makes it inherently conservative. That suggests that the phone interface is unlikely to change.

What are the elements of the next generation? Looking at the horizon, some subset of voice and AR+gesture, and likely shared experience (note: I don't believe VR offers any affordances for mass UI). So far I have seen nothing viable (including some efforts I've participated in) with these technologies though.
No. Worst case a nested join of two tables M and N would be O(MN). But most real databases would have a merge or hash join which could bring this down to O(M+N) if the tables are already stored in a sorted indexed order. It is also rare the cardinality of these databases will be similar in an analytical query - usually you have one time series “fact table” and a bunch of dimensions to enrich that data.

If I’m doing analytics on a time series this gets even better with partition pruning and hash joins or bitmap indexes. And if I have a columnar database, that blows up this whole complexity argument.

My point is that, layout and indexes should never be assumed to be one size fits all. Keep in mind if I’m doing analytics I want to bring my time series data into memory at least as a stream, as I need to calculate / filter / transform the records. Not everything is about rendering a page on a website.
Okay.. I thought there might be more to his point given who contextual "close enough to ... Snapchat" is.
I'm a freelancer in Germany and I only have to pay two kind of taxes, income tax and turnover tax.
Like Java did 15years ago.
That's not what "entropically preferred" means. If something is a lower-energy state, it's energetically preferred, but may or may not be entropically preferred. Water is NOT - entropy would prefer simpler molecules over more structured molecules.

I think the concept you're thinking of is free energy, which determines the final destination of a process. The equation relating these things is (change in free energy) = (change in energy) - temperature × (change in entropy). Entropy only becomes the dominant component when temperature is high. And, as expected, water molecules dissociate at high temperature.
That's the ONE paid Android App that i have been using for 5 years now. The only other paid "App" i use is Action Launcher 2 (3 didn't click for me).
True. The JVM is big. I've been meaning to try Golang one of these days, I see it as Java's spiritual successor
Crowded House
> There's absolutely no way you can definitively link deaths from heart disease to air pollution with any substantial degree of confidence, at least not in 99.99% of the cases.

We also can't definitively link specific cases of lung cancer to smoking. Would you also dismiss the link between smoking and lung cancer as baseless political-motivated pseudoscience?
How to Start a Freelancing Business That Won’t Fail
Bad urban planning? In MY California?

Surely you jest sir?! I'm shocked, shocked I say.
Trading this $20 bill that has 10% off at best buy, for one that has 10% off at Walmart.
lolrekt. gofaggots are the worst.
Advertising will never go away. You pay for cable, yet cable still has ads. Micropayments could potentially be adopted as a short-term alternative, but if it were ever to become the status quo, publishers would just start adding advertisements on top. Then we'd have a system where we both pay money directly, and also have ads, which would be worse.
Unfortunately, while I personally appreciate you sharing this, I thought I'd mention that I think you are being downvoted because your post is too far off the primary topic--which is an appropriate reason to downvote--and not because your idea does not contain merit (I think that it does).
>Russia is kinda actually like that. Tech usage is relatively good in Russia. Internet is cheap and fast, mobile coverage is good and mobile internet is relatively cheap, internet banking & mobile banking is better than most of Europe and USA. There's also such thing as "Gosuslugi" which is country-wide services internet portal and is actually pretty convenient innovation.

Yet, but the prime majority of all that wonderful digital cornucopia is being developed by underfed and underpaid devs with level of technical comprehension comparable to people called "jquery monkeys" in the West. By the time most of them reach late twenties, more experienced ones will move on to become professional devs abroad, another will, sadly, join the socioeconomic construct/caste of "going to nowhere 30 somethings." You guys in the West complain about age discrimination and skill obsolescence only by the time you hit forties, fifties, if not sixties, but here people hit the same stage much earlier. Companies do not pay for skill even 1/10th of what an American Dotcom would.

What makes a seeming difference in the level of quality is that experienced tech people are found more evenly distributed than in US where Dotcoms and well funded companies vacuum significant portion of any much senior developers on the job market, or in China where Alibaba and Tencent literally employ double digit of all tech workforce and almost all real talent. Here, the fact that a software developer is just yet another "nothing special" white collar occupation somehow, counterintuitively brings some benefit.
Debian drops redis non-systemd support
You'd have all the recorded entertainment you could possibly want. My grandparents liked electric stoves and telephones well enough, but also griped that thoughtful letters and coal stoves had advantages they missed, too. I don't think they would have batted an eye if they were told things were going back to the old ways. It would be like living in a small town, mostly, and many prefer that; to be part of a tight group, not lonely in an endless mass of very loosely connected people.
The pictures on currency is most definitely advertising, the government just usually has an exclusivity deal.
he's an old crotch who needs to go away sooner than later. hopefully the last thing he sees before he dies is a new BTC ATH.
> Bell Labs researchers invented the laser, the transistor, the charge-coupled device (CCD), information, the UNIX operating system, and the programming languages C, and C++.

Bell Labs invented information?!?
I don’t know, an Ivory Tower?

More seriously a lot of hackers choose to go to a country like Thailand where it’s cheap to live and eat and do a stint of tech there.
It's always possible I've misread your comment, but if not: please don't dismiss other people's work in an assholish way on HN. It breaks both the site guidelines and the extra rules for Show HNs:

https://news.ycombinator.com/newsguidelines.html

https://news.ycombinator.com/showhn.html

Substantive critique is welcome, of course, but in this case that would mean talking about problems with visual testing and making it clear you're not picking on this particular implementation.
> and freelancers here can't even work without a tax advisers who will manage all their taxes, because the system is so complicated.

Basically everybody with more than a minimum wage job in the US needs this kind of help, and regulatory (actually congressional) capture by the two giants Intuit and H&R Block mean that any efforts to fix this are squelched.
Yeah, just because someone is progressive doesn't mean they are necessarily rational.

(eta - not trying to flame, tho on reflection I see how it could come across like that. Just pointing out that they are two different things. The same applies to Progressives who think homeopathy works, or anti-vaxxers, etc. It's not a dig at the poster)
Russia has the same system, and at least 10 years ago it still wasn't unisex. Boys' crafts included woodworks and metalworks, while girls learned cooking and sewing.
New Paper: “Functional Decision Theory”
People forget that Germany was still reverberating from its own bounce-back for many years. Now it's bogged down by immigration and currency woes.

As for Estonia.. here's a golden ticket to make international internet income + low cost of living. Not to mention Talinn is charming.
STOP trying to ascribe an arbitrary death toll!!!

Pollution kills everyone by shortening or reducing quality of life, it's near impossible to quantify, but what makes no sense at all is picking some arbitrary threshold, everyone is affected not 9M not 1B, but 7B.
It's not like people didn't know how to disagree on the internet before. Google, however, purports to structure this disagreement in a way that predefines certain semantic roles. For example, it designates one content provider as "fact-checker", and their claims as inherently more authoritative (because fact-check is always more authoritative than the article under the check, isn't it?) and capable of rendering verdicts which can not be further challenged, while the other role is completely passive - and even the claims are formulated not by the original article but by the checker, leaving the whole authority only in the hands of the checker role.

This does not look like a good setup to structure the discussion. Why somebody would get so much authority just for using some API? It's like giving people password-less sudo access and then wondering will it work well.
The first sentence is false in very large part BTW - before the eventual introduction of earthworms to the New World, most common agriculture was impossible.
Continuing: When some path is followed enough to be the "hot path", it hits the threshold for JIT, and becomes much easier (much less performance penalty).
Well, in the US, most people believe in God, regardless of political affiliation. The % of Democrats that are also atheists is larger, but it's still under 15%.
-1 Flamebait
Well that's not surprising. He uses the float to generate investment returns, so he needs it to work.

There's possibly an extra bonus; if your investment division is good at generating returns, which it is, your insurance division doesn't have to take the same risks that other insurers do. This can mean that you net end up making money on that side as well, since you don't get burned by as many hot potatoes. No idea if this explains their profitable insurance division, I don't have the insight on the insurance side to say.
No citation available, but I see far more people drinking fruit juice than I do eating fruit with the skin/fibre still intact.
Well, this is a problem caused by technology to begin with.

I don't get the negativity directed to the intention of this. Sure you can criticise the particular execution.
My suspicion is that it would become a game of whack-a-mole where the cost of identifying perpetrators is higher for the advertisers than it is for perpetrators to create a new identity and start again.
There's More Than One Way to Edit Text – Macros, Regular Expressions
You can bridge it though. See https://github.com/rust-webplatform/rust-todomvc , rendered at http://rust-webplatform.github.io/rust-todomvc/

That said, I think there are better opportunities for wasm than trying to oust JavaScript; that's not really a stated goal of the wasm project.
Have a look at Spec and the design philosophy behind it if you are still interested in Clojure at all. Especially how Hickey feels about open specs, versioning, and names. It is a pretty opinionated stance to take on solving those issues, but it convinced me and I no longer have the worries you describe about the dynamic nature of a large Clojure system.
I guess there's no point in trying? /s
Funny indian videos – videos whatsapp – Funny Videos 2017 compilation fail
Go ahead and visit your nearest hospital. Ask a cardiologist about heart disease cases they've seen in their career. Ask how many could have even possibly been a direct result of air pollution. Then ask how many were obviously linked to poor diet, lack of exercise, and/or smoking. Then you do the math.
e.g. by downranking videos that refer to videos on other websites.

This feels like it would be a very large antitrust suit waiting to happen.
I give information away for free... Not everything has to be monetised. This article is interesting, it's more of a blog really though, regardless I don't expect to pay for it, If I wrote it I'd be happy to give it away for free... because cmon, it's a personal fucking blog, you would pay to read someones blog?
Middle East oil money for people who are reluctant to take money from the Middle East investors directly.
I mean competitors in solving a similar problem, not using the same approach.

The competitor to the iPhone was the smartphone - a device running on Symbian with 9 buttons, Java apps, and Internet access. Or Blackberry. Android and a third unsuccessful operating system was also in development at the same time.

The Wright brothers had plenty of well funded competitors.

The competitor to the car was the horse.

The competitor to transistors was vacuum tubes.

Reddit - forums
Airbnb - hotels
Uber - taxis
Amazon - book stores
Blue Apron - grocery stores + recipe sites

There are some exceptions. I'm sure time travel and teleportation has a huge market. But does it?

It's difficult to invent teleportation because there is no attack. Many inventions are variations on others.

And when teleportation is possible, it would still compete with transportation. Prices would anchor on to existing transportation. Why would I teleport to school and risk cancer if I could take a bus? Why would I pay a hundred thousand dollars to teleport to my parents' house if I can just fly to get there in 4 hours and $100?

There are plenty of use cases for teleportation but these have to solve existing problems better. Sending things to space for example, or sending TVs from US to UK.

The case is similar with any other technology, whether it's AR or AI. You can seemingly apply them everywhere, but a good start is to apply them to something they're not solving.
Guardians OF the Galaxy the Game Accessible for PC Now
Amazon is Terrifying
There are moonquakes so not completely dead.
https://www.nasa.gov/exploration/home/15mar_moonquakes.html
It's not about storage. Most desktops don't have a JRE installed and downloading the full non-modular JRE and installing it before being able to run the program is a hassle compared to providing a stripped down, self sufficient, linked version of the app that's one third in size.
Hey just FYI: This is now possible with :exp FILENAME.ansi which dumps the corresponding ANSI escape sequences to a file
For ... reasons ... I want to build a Chrome extension that implements USB-IP support as described in the Linux kernel https://www.kernel.org/doc/Documentation/usb/usbip_protocol.... , with the Chrome USB API on one end and a websocket tunnel on the other, leading to websockify running on an EC2 instance. (Or, apparently, WebUSB is a thing these days and I don't need an extension?) I could do protocol parsing in JS, but Rust seems like a much more well-suited language for this.

The frontend itself, as in the UI, I'll write in JS, but there are parts that need to be running client-side that aren't really "frontend".

Someone I know built a thing which (for more complicated reasons) ends up speaking HTTPS tunneled over a websocket connection, with a need to terminate TLS within the local JavaScript context. There are a few pure-JS TLS libraries, but it'd be nicer to use an actual TLS library.

Someone else I know literally built a Kerberos client in JS. Again, having the UI in JS seems good but the protocol bits probably shouldn't be in JS. (Also, it is possible that I keep weird company.)

As a maybe more sympathetic example, consider noVNC or Guacamole, which are JavaScript clients for VNC. It would be a lot simpler to just hand an existing VNC implementation a <canvas> and let it do what it's been doing on desktop for years (drawing to a region of memory) than to reimplement VNC in JS.
The book was written in 2002, and I just looked up Nick lane's latest 2016 take on it here: [1]

His point in this new article is that instead of one big "oxygenation event" there may have been multiple. But he sticks to his story that the creation of an ozone layer by photosynthesis was the key step in saving the oceans. He argues both Mars and Earth had oceans originally (confirmed by Mars Satellite observations), which were gradually diminished by a process in which ultraviolet light splits atmospheric water, minerals on the surface absorbed the oxygen (rusting, making Mars red) leaving the hygrogen to blow away. But life on earth pumped extra oxygen into the atmosphere, faster than minerals could aborb it, creating the reactive ozone layer which prevented hydrogen from blowing away, thus saving the oceans from their fate on Mars.

[1] nick-lane.net/wp-content/uploads/2016/12/Oxygen-and-life.pdf
Our Vision for Mercury Protocol
What's a personality rate?
"information theory"

A Mathematical Theory of Communication, Shannon, http://math.harvard.edu/~ctm/home/text/others/shannon/entrop...
Companies get away with antitrust violations a lot more than an average person thinks.
Facebook penalises and indeed bans links to certain other social networks ...
> Not everything can be tweaked with an algorithm.

But the problem they are trying to solve was kind of caused by algorithms..
Nothing, I think the parent is wrong or misspoke. The advice is usually "substitute bad processed sugar with fruit", which is what Dr Lustig has advocated for the last decade. Of course too much fruit is itself bad, since the fiber can only do so much.
I have no lisp experience, but I want to ask to who knows more: isn't the use of too many macros a potential hinder to maintainability?
What happens to a project when it becomes a mini-language in itself, with its conventions, it's opinions, it's specific flavour? Does this help or discourage the onboarding of new developers?

I know C is not a good example, bit at least in C projects, I was always wary of "smart" developers inventing their own "smart" conventions and syntaxes
TLDR: the copyright takedown regime still has no recourse for errors or malice.
I did own one of those Symbian phones for a long time and only switched to a Samsung S2 later on. The iPhone 1 had worse games and was too expensive for the regular things like calls, SMS, music, and photos.