skysight-inc/HackerNews huggingface dataset:
I used to use C++ in the early 2000's but have moved on to Java since then.

The language was and is extremely powerful and gives a whole level of control on what is going on. But I remember having to debug core dumps due to double pointer deletes and things like that.

The problem is that this happened on batch jobs that where just reading a text file with some banking data and inserting records in a couple of database tables.

For me the biggest problem of C++ was that it gave a level of control to the developer that did not scale well for most day to day tasks where that control is not really needed, and just gets in the way of getting things done and risks introducing huge non-deterministic bugs.
[can't edit the comment anymore and this merits a correction]

It turns out that it was a bug and checkboxes were rendered on my screen in a way that was not intended by designers. So the comment above is invalid.
In terms of raw compute speed, it seems like the FX-9590 will be at least the same speed.

They aren't really comparable. An FX-9590 at 4.7GHz is about 300 GFlops, but the the Xeon Phi 31S1P is slightly over 1 TFlop --- more than 3x as many floating point operations per second. The spec that probably shows the most difference is memory bandwidth. The FX-9590 with 1866 memory achieves 30GB/s. The Phi reaches 320GB/s, about 10 times as much. The presumption is that you might put 4 of these in a server, in addition to the standard processors.

The price is actually quite a bit better, too, as some vendors are offering the Phi at $125 each in quantities of 10: http://www.colfax-intl.com/nd/xeonphi/31s1p-promo.aspx

This article offers some good information about cases where the Phi is a good (or bad) choice: https://software.intel.com/sites/default/files/article/33016...

The short answer would be that the Phi might be the best choice in cases where you need to perform billions of energy efficient floating point operations on a working set small enough to fit in the cards RAM, where the degree of branching is such that a "normal" GPU would be inappropriate, and where the problem justifies considerable programmer time for optimization. Financial and scientific models are the usual examples.
Booktrender – The Top Books on Twitter Today
This is the first live version of an idea I've been working over the past few weeks.

Curious to hear what you think!
or a blank page.
This is the first live version of an idea I've been working on over the past few weeks.

Curious to hear what you think!
Ask HN: What to do if you can't find programmers better than you?
So you see all the time people saying you should work with teams that make you feel stupid, have better programmers than you, etc. With people saying once they don't feel like that they move to somewhere better. This sounds like something I want.

However I seem to move from company to company and never experiencing this. I've ended up in charge of all things technical twice. (Out of 4 jobs) I've just moved to one company that is well respected in the community, so much so when people hear I joined they often say congratulations. Yet still, I'm not getting that feeling that I'm surrounded by better developers.

So can you do if you want the challenge of working with really smart developers but seem to have bad luck in finding companies?
There is still production code, in quantity, in COBOL.

I would hesitate to take a whole lot from that other than 'Given sufficient determination, almost anything can be written in any language that offers a minimal level of completeness.'
Yes, there's an auth protocol before the actual dbus protocol - there are two protocols in the spec. I think that's what you are missing.

Perhaps it's confusing but slow down and understand the tech before criticizing. It is not in fact an ASCII-only binary protocol. Other engineers do sometimes know what they are doing.
You can achieve this tax without hurting those who don't overeat and under exercise, the same way we tax smokers and drinkers without hurting those who don't do either; tax it at the source, the food itself. Set up a tax system on junk food, etc. or something similar.
uniVocity-parsers 1.3.0 is here with some useful new features
They run an embedded Linux operating system on the coprocessor, which in principle allows you to run programs on it, as if it were an ordinary albeit weird independent computer (see here https://software.intel.com/en-us/articles/building-a-native-...). That is you can ssh on the device, etc. There are also various tools sold by Intel all with three digit price tags (I believe), that allow you to program with parallel directives for example and which translate that to something that runs on a xeon phi. You can also use OpenCL, in which case it presents itself as one of several OpenCL devices you can use.
No. he's confusing the auth protocol with the dbus protocol.
Small App Delights
> Smokers die sooner and cost the system less.

This is only true if you have high taxes on tobacco products. Those high taxes introduce other distortions -- smuggling of tobacco and increased use of counterfeit product. Smuggling is sometimes done by criminal gangs. Counterfeit product is considerably more harmful than actual products.

The reason we want to stop people from smoking has little to do with the fact that they die earlier, but that they live for years with reduced quality of life and that they harm the health of their children.
Let's put the future behind us
It's ironic that you reject the validity of the criticisms without investigating their correctness.

For instance:

"It isn't ASCII only, and I don't even see where the author of this article got that idea. Read the spec instead of the article and you'll learn more: http://dbus.freedesktop.org/doc/dbus-specification.html"

And it was immediately pointed out to you that if YOU read the documentation, you would have seen that it does state:

"A nul byte in any context other than the initial byte is an error; the protocol is ASCII-only."

You could not possibly be more lazy, misinformed, offensive, and just wrong in every way.
Huh. Don't all ISPs already keep these logs? I would be very surprised to find one that doesn't.
Why don't you put some IAP?

Slight-off topic: could you please quickly summarize how did you go with ads? AFAIK you have to buy ads and show them later, right? And in fact, there is a chance that you loose on ads? How do you choose ads (topics)? Thanks!
Depends, if you're on TV Seires, why not scan IMDB/RottenTomatoes and offer suggestions of new/old movies? I mean voice suggestions...

There's really so much you can do (theoretically) that it really boils down to what kind of things would you and your family members find useful.
Here is the full context about the auth protocol in the spec:

Authentication Protocol

Before the flow of messages begins, two applications must authenticate. A simple plain-text protocol is used for authentication; this protocol is a SASL profile, and maps fairly directly from the SASL specification. The message encoding is NOT used here, only plain text messages.

In examples, "C:" and "S:" indicate lines sent by the client and server respectively.

Protocol Overview

The protocol is a line-based protocol, where each line ends with \r\n. Each line begins with an all-caps ASCII command name containing only the character range [A-Z_], a space, then any arguments for the command, then the \r\n ending the line. The protocol is case-sensitive. All bytes must be in the ASCII character set. Commands from the client to the server are as follows:
It is my understanding that it sits in between a GPU and a CPU in terms of "ideal work". Like a GPU it favours SIMD work, but it is better at dealing with branches and a lot of random memory accesses[1] (it still favours linear work of course). It also uses a more familiar architecture, leading Intel to claim it is easier to master than GPU-programing, but I personally disagree as x64 is already much more complex than GPUs.

In terms of FLOPS the FX-9590 is still significantly slower. I don't know the exact numbers, but it will be hundreds of MegaFlops, whereas the Phi runs at ~1 TFlop. In part because the cores are basically low-end (in-order) atoms with modules bolted on for HPC (avx-512 instructions, instructions for exponentiation for example).

Data transfer to the card is a lot slower than reading from ram, correct, but on the other hand once it is on the card it is a lot faster (wiki says the fastest Phi has 350 Gb/s, Corsair claims a maximum of 70 Gb/s for DDR4)[2].

So generally, as long as you have a decent ratio of work/memory access and your work is parallel you could use a Phi to speed things a long. You would want to use one in the same situations as were you'd want to use a GPU, and the Phi would be preferable if your computations and memory access patterns are nor perfectly homogeneous (e.g. branching which can't be rewritten), as this kills performance on GPUs.

[1] I'm pretty sure Intel claimed this, and it makes sense when you think about it, but I can't seem to find a source: Could someone confirm this?
[2] Do note that it 350Gb/s shared between the cores, not 350 Gb/s each.
CPP in CPPFLAGS means "C PreProcessor", and pre-dates C++.

This collision is why CXXFLAGS was chosen for C++ compile-time flags.

('+' being an inconvenient literal to use in a shell environment.)

The .cpp extension comes from platforms where CPPFLAGS didn't exist, i.e. not UNIX. I think .cc has always been preferred on UNIX platforms, though .C used to be common as well.
Especially when we're talking about €300 / month being a high premium for a startup to pay, because the premium for one person to live in London is way way higher.
I didn't know about this so I'm glad it popped up on the front page.
Thank you very much for the informative comment, which establishes a lot of context for this submission. Thanks too for the book recommendation.
Hm, I'm using ruby for bio-informatics[1]. I've found the 'bio' gem pretty much complete, but there is a serious lack of documentation. The best option for scientific-related project, programming-wise appears to be Python because it has a huge set of libraries and much better documentation than ruby (and I guess perl too).

[1] https://github.com/atmosx/dogma
Nowadays, it seems difficult to understand how could someone invent something so... awkward. However, keep in mind all the other constraints he had at the time. Inventing a sane syntax probably took a backseat ()

Now, the bigger issue is why is the C syntax surviving. I blame Java and now Javascript. This will only get worse as more people get to know it. At least javascript doesn't have so many type shenanigans: try parsing in your head a pointer to a C function that takes a pointer to a struct or something.

Still, C is a pretty nice fallback when you have nailed your algorithm and must absolutely get the last drop of performance (and want to still reason about what the compiler is doing, so C++ is out). Or when you want to interface with anything written in C.

() Then again, he could just have done a Lisp and removed almost all syntax.
Actually, it's true without any tobacco taxes.

http://www.plosmedicine.org/article/info%3Adoi%2F10.1371%2Fj...

>Because of differences in life expectancy, however, lifetime health expenditure was highest among healthy-living people and lowest for smokers.
CD Image Conversion – From .bin/.cue to .iso using BinChunker
At least the desktop isn't lime green! ;)

Curious: Does any of your work survive?
Holy heck that's a great idea. Thanks!
"Here's a nickel, kid," etcetcetc.
> In the EU, the supply of medical services generally qualifies for exemption from VAT, among other taxes. Same applies with charitable donations... that is pretty much a US thing too.

Just to check we're on the same page: I was talking about taxes and donations that are used to fund the purchase and maintenance of the scanner, radiographers, etc. That is, the patient-facing cost (or consultant-facing cost, or researcher-facing cost, or whatever) might be $100, but how much more expensive would it have been if taxes etc hadn't gone some way towards funding it?

I don't know the answer, but I suspect it comes out to be a fair bit. I do academic research using MRI, and (from what I've heard) we see significant price differences according to where a researcher's funding came from, and whether the scan counts as being "on the NHS" or not.
According recent law passed by SCOTUS owning a Slinbox is OK, renting one is not.

Aereo was exactly like slingbox, except you leased the equipment rather than own it.
as x64 is already much more complex than GPUs

I'd be interested to hear about your experiences. By "more complex", do you mean the x64 instruction set itself, or the out-of-order superscalar processors that use it?
Ok, but if the normal price is 2000USD, then that leaves space for a lot of 9590s. You could get almost the same memory bandwidth and 3x as much processing power with 10 9590s. And remember that's floating point performance; the bulldozer architecture the 9590 is based on gives you about effectively 1.5x as many cores when doing integer operations.

So, ok, the Phi is useful at the current price, but at the 2000USD price other people are talking about in the thread it seems pretty useless.
I created dbus and wrote the original spec. There is a nul byte first because some platforms require that to send credentials. Then a plain text protocol modeled on SASL for authentication. After that the binary message protocol begins.

Sorry if others could have done it better, but they didn't, and many tried. My way works and exists.
Love your tool. Thanks, like others say I use it at least a few times every week. I just prefer watching longer videos in VLC, easier seeking and no buffering, etc. Also much snappier than Youtube on my old laptop.
Germany is slightly different if you register as a freelancer rather than self-employed. As a freelancer you can apply for a 3 year exemption from pension contributions when are first registered.

Then as long as you don't earn more than 5/6ths of your income from a single client you can remain exempt.

Fall foul of that 5/6ths though and you have to pay full whack (half for the first 6 months) which is a whopping 500 EUR per month.

It is designed to discourage people who really 'should' be employed, working on long term contracts for a single employer.
Careful with that IRPF "discount". In the end of the day you have to pay what you have to pay, they just let you pay less monthly. I was bitten in the ass this way my first year operating, I had to pay more money than I had in my bank when the tax season came.

Following years I started tributing at a 20% which resulted in the state owing me a bit (not much, nobody wants to lend interest free money).
It was not my intention to make that claim. Startups can work anywhere in the world. But within the UK, London has by far the largest startup ecosystem. For a foreigner moving to the UK to start a startup, other places don't make much sense in my view. For UK nationals it may be a different matter.
Then tell ABC, CBS, FOX, & PBS to get off the effin airways and become cable-only. Surely there are those who would find uses for the bandwidth that would serve the community
Well, this is going to be more of a philosophical answer than a technical one: with the popularity of YouTube nowadays, which is available on every platform and allows for anyone, anywhere to instantly watch a video, the cat-and-mouse DRM game would not succeed. I think DRM is flawed (insert the typical lock-and-key analogy here) but it does work for some situations. For YouTube: probably not. Somewhere, someone talented would crack it and tools like youtube-dl would continue to exist. A recent example is youtube-dl using rtmpdump when available to download DRMed videos.
I thnk it's to better to join big companies like google, ibm, oracle, etc.
Your "Philosophy" section describes the current situation, but with the growing adoption of systemd the GNU/Linux ecosystem will move more and more in the FreeBSD direction here so its coherent development approach will be less of a differentiator.

Re GEOM: does it have any features that Linux device-mapper lacks? Both look very similar to me in capabilities. For example, device-mapper has support for thin provisioning (thinp) and GEOM has gvirstor(8).
World Press Freedom Index 2014
well, yes, but he's arguing that the documentation is bad, not that the dbus protocol doesn't exist.

The phrasing "The text protocol described in this document" (sic) can not easily be interpreted as "the thing described in this section, but not in the rest of the document".

I stand by my interpretation of incoherent editing.
Crazy slow on what? My Nexus 5 is as fast as always - possibly even slightly nippier.
The whole thing isn't worth as much as it as it seems.

In this case PageSpeed generated JPEG at significantly higher quality than WebP, so most of the file size difference is due to quality difference, not codec compression efficiency (distortion measured with DSSIM for JPEG is .009 and for WebP is .015)

If you make the comparison fair by creating JPEG (using mozjpeg) at the same quality as WebP it's 22539 vs 20158 bytes (11% saving).
> Set up personal cloud

Self-hosting owncloud behind a dedicated firewall (openbsd router, or carambola running freebsd+pf or openwrt) is a very good use case.

> tor exit node / relay.

That's an AWFUL and very STUPID idea and should be avoided!!! Unless you're a lawyer who understands what the repercussions are, it's a really-really-realy AWFUL idea. In case someone attacks something using your exit node, the police will, the judge and everyone in between will have a very hard time understanding why would you chose to run an exit node from your place. SO when shit hits the fun you'll need to explain (and convince) non-technical people about a choice which seems obviously absurd. Note that the police will come and your place, seize everything that looks like an electronic device, retain all this material for as long as their investigation goes on and only in the end you MIGHT be able to get your things back. Why should you risk something like that? If you IP is listed as exit node, you'll be banned from some websites, creating another set of problems. If you want to run a relay, sure you can do it. If it's a listed relay might again be blocked from accessing some web content, but mind you that relays these days are getting faster and faster and even though your connection is fast, it might actually make the Tor network slower, hence I don't think that's a good idea either.
How is it more reliable?
It's certainly possible to do it that way, but when I was living in NW England, I ended up not making the trip to London very often. You can blame my laziness if you like.
In terms of space usage, I' actually prefer the more spaced out approach. Other apps look a bit cramped and cluttered now in comparison.

A few related data points: I'm a developer and project manager.

I do all my work on a 13" laptop with nearly every app full-screen (I hate having two tasks visible unless I actually need both at once - which is very rare).

My eyesight isn't marvelous so that might be a factor. :-)
Graduates' earnings growth and debt repayment [by major]
Well, it's concerning that this is used to pass security related flags (-D_FORTIFY_SOURCE,) and it appears to have been open since 2012. I didn't think use of CPPFLAGS was that obscure, though I guess it has an unfortunately confusing name.
"Immediately after connecting to the server, the client must send a single nul byte. This byte may be accompanied by credentials information on some operating systems that use sendmsg() with SCM_CREDS or SCM_CREDENTIALS to pass credentials over UNIX domain sockets. However, the nul byte must be sent even on other kinds of socket, and even on operating systems that do not require a byte to be sent in order to transmit credentials. The text protocol described in this document begins after the single nul byte. If the first byte received from the client is not a nul byte, the server may disconnect that client."

Oh, technically the dbus auth handshake is defined as not being part of the dbus protocol. That's not convincing.
This FCC Commissioner Did a Reddit Chat. It Did Not Go Well
The HN title is incorrect. This device doesn't show movement, it shows difference of the index of refraction. From the video description:

> Demonstration of an optical technique that allows us to see small changes in the index of refraction in air. [...] Seen here are the heated gases from a candle flame and a hair dryer, helium gas, and sulfur hexafluoride gas.
Speed wasn't the right design goal for a mechanism used mostly for control purposes that simply didn't have to be fast. Least-common-denominator flexible implementation was the most important thing (threads or main loop, no dependencies, etc) in order to be adopted. And then validation was required to use it on system contexts not only trusted in-user-session contexts. It also had to swap in for both DCOP (KDE) and CORBA (GNOME). These were the choices that made it viable and why it became widely used.

Many years later people decided it would be nice to have performance too so they reimplemented with more assumptions that didn't used to be safe, and did the kdbus work. The result is still compatible with the original protocol because it was always possible to make a fast implementation.

This is how open source works. People do what they care about. When speed came to the top of the list people did it.

Adoption speaks for itself. Things are adopted when they are a viable solution. Others thought speed was the key and they were wrong; dbus was adopted precisely because it focused elsewhere. But speed wasn't precluded by the design and when people cared they solved it.
Show HN: Tinder Simulator (Parody/Joke site)
The source of the "bullshit" is in the beginning of the second sentence: I. I dared to have an opinion based on my observations regarding the effort needed to decipher a C declaration combined with my conviction that my cognitive abilities are similar to those of other programmers.
Wow that's quite an impressive tool!

I mean I understand that all the separate steps are stuff we've seen is easily possible nowadays, but putting it together in a single UI makes it (roughly) 3000x as useful!

I want to try it, anyone had luck compiling it for Linux?

EDIT/update: Well I gave it a try, grabbed QtCreator, loaded the project, not much luck. Some issues with the "phonon" library, it seems. I'm not very good with getting C++ stuff to work when it gives build errors. I did spend about half an hour fiddling and googling error messages, but now it's time to give up, sorry :)

I'm writing this update to let you know that one of the errors I did manage to fix, is that Windows has case-insensitive paths/filenames, while Linux does not. Apparently the path for the phonon library is lowercase, so you should `#include <phonon>` lowercase. I'll try to leave a Github issue about this.

That didn't help much (complaints about the State enum in soundfix.h) which I tried to fix by also putting `#include <phonon>` in the soundfix.h. I'm not sure if that was right at all, but it did seem to fix that particular problem. As a result I was greeted with a whole bunch of other (I think unrelated?) errors about some types not being strictly compatible or something. That is where I check out until I know more about C++, decided it had been long enough, and just writing you a little message to let you know how it went.

However, it made me install and try QtCreator, something that I was meaning to do anyway. So that's a win :)
Lots of 1st world problems here
A great deal of people don't see what can be distilled down to pure logic and math as being a valid form of art. They believe there is something beyond the physical world which art can reach out and touch. They are incorrect and most would back down immediately if they were talking about it in person.

Programming is a form of art, to me.
Your way is a curse many go to great lengths to avoid. You are damaging the community and making our lives harder. Please stop.