skysight-inc/HackerNews huggingface dataset:
Compiler optimizations included, C does a terrible job at this. It puts forward a seductive but terrible mirage of simple mappings and understandings which are just plain broken. And then you add multithreading into the mix and it gets even worse, even without optimizations.

We live in a world of many cores, and multiple CPUs all over the place - in your GPUs, your hard drives, motherboard controllers - and the intrinsic language support for multithreading literally does not exist as part of the C99 standard? One has to reach out to a mixture of POSIX, and the compiler extensions the POSIX implementation uses to annotate memory barriers so the optimizer won't break things, and intrinsics that introduce atomic operations, and... gah!

C and C++ do such a terrible job of this I have to resort to disassembly to debug program behavior far too frequently. These are the only languages I'm forced to do this with. If C or C++ were really "close to what the machine will really do", I'd expect the opposite result.

Even simple things like class and structure layouts and type sizes are controlled by a mess of compiler and architecture specific rules and extensions to control the application of those rules with regards to padding, alignment, etc. which I get to debug. Ever had to debug differences in class layout between MSVC and Clang due to differently handling EBCO in a multiple inheritance environment? What about handling alignment of 8-byte types on 32-bit architectures differently? At least you've replaced all uses of "long" because of the mixture of LP64 and LLP64 compilers out there...? And what about when two incompatible versions of the standard library with different type layouts get linked in by a coworker? These are the symptoms of a language that doesn't control what the machine is really doing very well at all.

When I really need tight control over what the machine will do at a low level, my tools are actual (dis)assembly, intrinsics, an understanding of the underlying hardware itself, and simple code that eschews features requiring significant runtime support or underpinnings. None of those are C or C++ specific. The last one requires some knowledge of how a language's features are implemented - C and C++ might be broken enough that you're forced to wrestle with that topic, when it's more optional in other languages, but... that still doesn't make it C or C++ specific.

</rant>
Yeah, I was writing the same exact though before seeing your comment.
Seems plausible. Maybe they didn't had enough cpu for the Iris Pro 15" macbook pro, but there seemed to be no reason why they hadn't updated the macbook/13" macbook pro yet.
can't find a way to change fahrenheit to celsius
The issue I have with Apple's emoji is that some of them (like the "praying one") just do not follow the "spec" described.

The hands totally don't match the "person with folding hands" definition of the Unicode codepoint. Might as well use wingdings...

The unified look is useful, just wish they would stick to things that match the description at the very least.
The last emoji screen shows the most used emojis, in case you didn't notice.
I love Bloomberg's flair and talent when it comes to producing rich articles that feel like true web-based projects. In this story, for example, the way a single star falls from the EU crest at the top, and also how the cursor X-axis position acts as a guide for the marker on all charts on the page.

However, one chart I take a (small) issue with is their "Today’s Brexit Likelihood Score" chart — surely it is much more intuitive to have the blue ('remain') bar filling up the inverse of what they're currently drawing? I.e. 76.27% filled
Want to play with Julia ? No install required, just a web browser

http://www.juliabox.org/
Nice, looks nice in w3m an lynx too (I wonder if it's possible to enable colors though). I have new alias:

alias weather="w3m -dump wttr.in/budapest"

Edit: I just found in the comments that it works with plain curl too with color. Nice.
Depends on the implementation. See Java.
I was commenting more the reaction the HN crowd seems to present when someone dares to say this sounds like something they would be uncomfortable with, because that's very much the same one I remember from school. Of course in school you can't downvote, but the responses and dismissing attitude ("there's nothing wrong with the practice if you're not having fun with it") are eerily similar.
I think we have different standards for "reproducible". You can replicate the archive structure and naming, but the archive metadata – and thus checksums – will be different:

$ curl -sL https://github.com/creshal/yspave/archive/0.1.0.zip | sha512sum

375564f127b46f3d1208c30b4eb5c39725985ca09d7bacf940d346727e8bcf9362966f8523c39e6c4f6f1a86b52ceba8823c2f4b016fdedb5947cd6a6bafc930 -

$ git clone git@github.com:creshal/yspave.git

…

$ cd yspave

$ git archive -o 0.1.0.zip --prefix yspave-0.1.0/ 0.1.0

$ sha512sum 0.1.0.zip

aca1163d5270e8ad6796f10511f49b0cf5fe61007fed0786a6643ae522e59a6aa7d6b0cddf4e5b94a435da8d99aa09b2f2ebef7788a82d4c2e7d8d4ad79e0634 0.1.0.zip

–––––

So, I can verify that the contents weren't tampered with, but I cannot verify the archives themselves unless I happen to understand the zip/tar/gz… specifications better than most people implementing it.
Bear in mind that .NET will use a shared instantiation when the generic arguments are normal reference types; a hidden parameter is required for static methods under this scheme, to pass the concrete type info. Monomorphization is only required when the vector of generic arguments has a distinct permutation of reference types vs value types.

This gives you the best of both worlds: memory efficient generics for the majority of instantiations, and compute efficient generics for the types most likely to benefit (like primitives).
The Long Dark
5 Time Management Tips Facilitating Employees Achieve Work-Life Balance
I suspect there may have been recorded verbal agreements like emails or texts saying "We will split equity evenly" that may not stand up under a court test, but may have possible merit to disrupt the takeover.
LLVM-Based Mutation Testing System: Request for Comments
Ways to boost metabolism
There have been several such operations, e.g. http://www.livescience.com/49991-bionic-eye-implanted-man.ht...

"A bionic eye implant is now allowing a blind man to see the outlines of his wife after 10 years in darkness.

"The implant, called a retinal prosthesis, consists of a small electronic chip that is placed at the back of the eye to send visual signals directly into the optic nerve. This bypasses the damaged cells in the man's retina.

"The bionic eye doesn't have enough electrodes to recreate the details of human faces, but for the first time since he lost his vision, the man can make out the outlines of people and things, and walk without a cane."
When Dating Algorithms Can Watch You Blush
I came here to say this. It's incredibly confusing to the point where I wonder if it's a mistake or bug.
I think the down vote is that we see your comment as: "vim & emacs are glorified notepads". At least that is what went thru my head.
But they are so much more than a way to type text, with emacs (which I don't grok) I manage my emails archive via gnus/mu/Maildir. Or do "Literal DevOps", check this out for something that still blows my mind with awesomeness: http://howardism.org/Technical/Emacs/literate-devops.html
When you click on the discussion you see a "web" link at the top.

This takes you to Google News search from where you can click through to the article.

It usually works.
Facebook’s new chatbots still need work
> I remember the Go language specification to be about as long as the table of contents for the Java language specification.

I'm not sure where you got that from. On my browser and screen, the JLS8 TOC[0] is 16 pages high which brings me about 20% into the Go language spec[1].

But then again that's a completely inane appeal to emotions: because it's a specification for cross-platform and cross-implementation compatibility (not a user-targeted documentation):

* the JLS is exactingly precise, the JLS's "lexical structure" section is about 3 times longer than GoSpec's "Lexical Elements", the JLS's "Execution" section is about 6 times longer than GoSpec's "Program initialization and execution"

* the JLS contains entire sections which don't get a mention in GoSpec, like binary compatibility concern, or the language's entire execution model (calling a function gets a page in gospec, it gets 20+ in the JLS) and its multithreaded memory model

The JLS is longer because its goal is that you be able to reimplement a Java compiler and runtime just from it, it's Java's entire rulebook.

Go's language spec is a much fuzzier document targeted towards language users — much like e.g. Python's language reference — there is no way you can write a clean-slate implementation just from the language spec.

[0] https://docs.oracle.com/javase/specs/jls/se8/html/index.html

[1] https://golang.org/ref/spec
Talk Obama to Me
I got exposed to reliability theory in Logistics Engineering.

Mostly: Reliability Centered Maintenance

https://en.wikipedia.org/wiki/Reliability-centered_maintenan...
I love the idea of these types of services but the only way I could ever see using one would be if it was entirely in-house.

The kind of data they collect on the types of applications I write would just not be allowed to go to a third party (and even if it was legally ok I still wouldn't do it).

Schools and Medical systems simply can't take the risk with stuff like this sadly.

If anyone knows of a self-hosted version I'd be very interested.
I have also bought Robot Turtles just a few months before my son turned 4 (we are now a few months past 4).
He liked it but it seems he was still too young for it. That is why I have sort of "forgotten" about it (on purpose) until he is a bit older.
President getting copy of the new season of GoT. Can I get it via FOIA request?
Thank you very much for putting your work out there for people to have fun with (and criticise!).

CaptionBot seems to have a bit of trouble with simple two-colour outline drawings. In one case I saw it even get the colour wrong ("red and white" for a black and red image).

Is that something you would have expected?

Also- I notice it doesn't do very well with character recognition either. Is that surprising?
The key thing to remember is a bug in autonomous driving doesn't mean the car swerves off the road at 100mph. If the software crashes or fails the car can come to a stop quite quickly without harm and allowing for human intervention.

Having said that I am still scared, I'm not sure how well Tesla auto pilot will handle a tire blowout at 70mph. Perhaps better than I would, but I would much rather I was in control.
Tried Atom and it was a real memory hog on Windows - need to go back and try this version, but do enjoy using Caret for lighter touch work that doesn't need a full IDE (or at work where Chrome extensions are allowed, but installs aren't).
We were unable to find your location,
so we have brought you to Oymyakon,
one of the coldest permanently inhabited locales on the planet.

>Freezing fog

Don't want to know more about this place.
Oh, I don't know if they ever air gapped them fully. The FAA made them do some changes is all I know.
Apply HN: It's 2:30am; the baby's crying
Let's keep it short:

There are apps for everything and everyone, but these rarely do exactly what you want.
Some are more feature-rich (making them too heavy for the one task you need), or too targeted, missing some feature(s) you want.

The idea is to provide a cloud-based platform for personalized apps that do a small number of exactly the thing(s) a user might want.

But who’s gonna develop these exotic apps?
Let’s make it dead easy for developers to publish small, but smart apps: the platform provides processing, storage, scheduling and integration capabilities, allowing apps to respond to events (e.g., app might run by sending SMS or when a tweet is posted).
The intent is to strip any overhead hindering developers from publishing pretty much any app they think of or commissioned to develop.

Use cases (and I mean actual apps currently used in the pilot stage):

1. SMS-based TODO app (enhances feature phone capabilities)

2. Customized morning SMS weather notifications
* customizing info, units and formatting

3. Tracking and notification of rare but important website updates

4. Automatic code backup from GitHub to BitBucket
* a royal pain otherwise

5. Apply HN leaderboard and highly-voted newcomers daily email

6. Near real-time tracking of Wimbledon match results vs. betting odds

I’d appreciate any feedback and elaborate on how the prototype works, share app code examples and answer any questions.

* Shameless plug, for someone else: Maciej Ceglowski (of Pinboard, currently apply HN leader) gave a brilliant talk titled ‘Barely succeed! It's easier!’. Check it out at goo.gl/j2SxTY
Or just use a language that supports generics instead?
Every shot Kobe Bryant ever took
Ah yes, I agree. Posting someone's photo without permission feels totally wrong to me too.
Brexit and the fall of the EU is the only way to save Europe.
This depends on the distribution. Fedora for example has GPU switching using PRIME working fairly well and automatically disabled the dGPU by default.
You still didn't say what you consider useful about the article. The article also doesn't explain why imbalance in film representations is bad, it just assumes it. But because it has some numbers and charts, you seem to believe it proves everything you want to believe.

And your quote about the number of logical people reading the article comes across as really silly, after you have asked for evidence so many times. Have you quantified the number of "logical people" who found it useful vs the number of "logical people" who found it useless? Do you have evidence that the people you consider logical and who found the article useful are really logical?

You going on about the magazines just proves that you don't understand my point. I think it is enough now - you could just reread my previous comments if you are still interested...
Yeah, but what makes me think it is a mistake is that they are focussing on a '23% chance of Brexit' figure, using the same blue as the chart line. So perhaps what they really ought to do is just swap the line around.
> I'm not really sure why I got downvoted for this.

Because you have an apparently incredibly simple mental model for the system and so of course tests for it seem simple?
Understanding the ginormous Philippines data breach
Fireworks (originaly from Macromedia) was this kind of product.
> "Having a privacy hurdle If the data structure needs personal information or information that is difficult to obtain (such as having an account, finding an account name or password), users might be unwilling to provide such information—especially if such information shouldn’t be required to perform (or at least initiate) the task.
Warning sign: Users are required to have accounts, log on, or provide personal information unnecessarily."

Just about every app, service, and site does this now. It's ridiculous that this is the case, but everyone wants a slice of the pie so to speak.
The difference is that in C the bad way is often the most concise/easiest way. So e.g. snippet examples tend to not check for errors, and the language guides you towards not checking. http://www.haskellforall.com/2016/04/worst-practices-should-... . IIRC C simply doesn't have a nice, standardized way to do "compose several possibly-error calls, resulting in either a single error or the successful result".
I’d just like to add some other cool QoS-projects to the discussion so that maybe more people can find a project that suits their own needs. I’ve always been fond of QoS, mainly because it was a necessity with five family members and just one measly DSL-connection, second because it’s just neat to use QoS to prevent people from breaking your connection and making everything much more effective.

1.
It seems like the first QoS-solution I ever used is still being actively developed. It’s called Mastershaper and you can find it here: https://oss.netshadow.net/redmine/projects/mastershaper
Though it seems like the maintainer is doing some heavy work right now so there is no usable version at the moment.
In my old days Mastershaper was programmed in PHP and it either worked with iptables as filter or with the faster tc-filters. It had a nice GUI and also some flow analysis through a graph. It was made to run under Debian and the like.

2.
The other project I would like to mention is a router firmware called Tomato. The original website might be still available but the original author has ceased development for several years now. It’s only being developed by its community now. You can find the forum here: http://linksysinfo.org/index.php?forums/tomato-firmware.33/
This firmware can be run on several open commercial home-routers (MIPSR1, MIPSR2, ARM), one of them being the old and very popular WRT54GL. But of course it also runs on more recent models.
Tomato has several flavours. Toastman’s Tomato is known for its well implemented QoS and stability. You can find it here: http://www.linksysinfo.org/index.php?threads/toastman-mips-a...
Tomato probably has one of the most easily usable QoS-systems there is. Once installed, all you need to do is measure your line speed throughout the day, deduce a safety margin of about 15-30% to start with, enter your upstream and downstream values into the GUI, hit “Save” and you are running a pretty decently pre-configured QoS-system. It even supports overhead calculations for ADSL. Unfortunately it doesn’t work with IPv6, yet, and also uses the old netfilter L7-filters, which are pretty outdated. A switch to nDPI hasn’t been undertaken, yet.
If you think about using Tomato with QoS, keep in mind that QoS needs a lot of CPU power, so it’s important to know your line speed and buy accordingly.

3.
Another firmware that probably has well-made QoS is Gargoyle: https://www.gargoyle-router.com/
I haven’t been using it but maybe it’s worth a look.
> Asking someone's underwear color is only harassment if they've got a history of inappropriate behavior,

Try it work and see how far you get.
Smalltalk machines?

The question is not did we forget, but who had anything to remember about them in the first place?
Yeah, because it's not showing the diagonal arrows.
Facebook open-sources developer tools for iOS
hit me up - smnewman07@gmail.com
Try looking at the source of the page. There's no way in hell anyone would call that "just" the data necessary to convey the information.

The site is also unusable on mobile, because ASCII art unlike proper semantic HTML is not easily rescalable by the browser. And it's inaccessible by users relying on screen readers, ironically because of all the ASCII cruft.
I don't disagree, but it just feels off to tell a packaging tool to rename a tarball because the default name is not verbose enough to even identify the tarball.
New Documents Show Oil Industry Even More Evil Than We Thought
Buying Electronics at Lamington Road, Mumbai
There is no way at all to handle duplicate location names. Another nice example is wttr.in/denhaag which uses the South African city of "Den Haag", which is so small even Google Maps searches for it end up with the South African embassy in the Dutch city of that name.
Several laptop manufacturers have offered Canonical distros pre-installed as an alternative to Windows, so you don't even need to spend $100. And then dropped the option due to lack of volume...
So Google's primary language offering is designed by a guy who thinks Map/Reduce is just a weird way of writing for loops.

Tremendous. The amount of irony in that could fill a steel furnace for a year.
The first company to make a fork of Go that runs on the JVM and has compiler-specific extensions will make a ton of money, IMO.
But was it food that could have fed the population or luxury food (spices, cacao or something like coffee beans) ?
It's funny how one might think that being in the EU is voluntary, but as it seems, a country cannot get out, or really, regain any sovereignty, for fear of economic problems. That is like saying "I cannot leave this abusive relationship because I will be lonely and heartbroken." and continue to get punched and scratched every day.
They should use the same 3 colours as in the line chart below, and not add undecided to remain.
Advanced Ionic ECommerce Template
I agree that this seems very far-fetched. From what I know about facial recognition (admittedly very little) for an algorithm to be able to recognize these profiles in such different conditions as displayed in the article seems very unlikely.

Incidentally, is there anyone who could ELI5 how picture data like this is treated in order to run these algorithms on it?
Wow, that's just a copy of sketch
Bravo! Have an upvote.
$250M, 300 scientists and 40 labs to ‘solve’ cancer
I thought that too, but then at the end he says he has written such articles many times before over a period of years, and nothing ever came of them.
> "I know it is illegal to call for all people with black skin to be murdered, for example with a speech that would roughly go like this: <insert 5 minutes of hate speech calling for the aforementioned> But what i did is different, see, since this is only an example!"

Kids in the Hall: https://www.youtube.com/watch?v=QEQOvyGbBtY
Or normal people who, like me, can't connect names to faces without at least several interactions with a person in a short interval of time.
What is a small packet here?
I'm much more comfortable to sign my local repository copy than signing an archive generated by github

Both can be part of the process.

However, signing the tag doesn't really help someone who isn't cloning the repository. For those people that are just downloading the source tarball directly, having a GPG signature for the release can ensure that github(or other attacker) hasn't modified the contents of the tarball.
Google XSS analysis
A build.gradle file that lists a few dependencies is like maybe 7 or 8 lines of code, which can almost all be cargo culted. You only need to start consulting the Gradle manual once you start doing things like defining custom build tasks or wanting to use custom plugins.

Go's toolchain doesn't even bother with versioning. That's like the opposite of batteries-included, forced-best-practices. But of course it will seem simpler than a tool that does handle these basic things.

If you want the benefits of Java with a lighter syntax then look at Kotlin.
Should we stay or should we go? No one seems to have a clear idea. But the UK is full of middle aged and the older generation who are scared shitless of change. The younger generation (18 - 35) aren't in a position where the EU membership effects them in any tangible way. So we'll end up staying for the wrong reason. Fear.

Where I live we get a metric shit tonne of EU funding, but I assume that if we left, the funding would just come from the government. Or we'd get none. Who knows? Who knows if the EU funding will dry up if we stay? We are so powerless it is unreal.
HHKB Bluetooth
Math for Game Programmers
Not really - I mean we always have the option to e.g. set all the country's hospitals on fire. It would just be a bad idea. Doesn't mean we "don't control our own hospitals"
It's 3:30, the baby's still crying, and I'm all confused. Maybe it's the exhaustion, maybe it's the wall of text.

What platform? Are you building it? Or are you building the apps? Or are you just saying that it ought to exist? The only link you're providing is some talk on YT.
The weather data appears horribly inaccurate. I'm traveling in Vietnam (Hanoi) today and we're seeing temperatures between 25 and 31 deg C, but the site says we're roasting at 34 - 48 deg C.

I checked Bangkok where I will go tomorrow, and the site claims we will hit 45 deg C which is ridiculous.
No comments on that submission - so doesn't really matter :)
Was that always the case?