skysight-inc/HackerNews huggingface dataset:
I mostly program Java but I think the issues are similar with Python these days.

I try to keep libraries up to date pretty regularly, probably checking for new versions every one or two weeks, particularly when any area of the system comes to my attention.

The worst problem, I think, is third party libraries that depend on other third party libraries.

Last Friday, for instance, I was writing an AWS Lambda function and I found that the libraries for writing a Lambda function depend on a certain version of the SDK for Java core library that is three minor versions behind the latest.

If you use another SDK for Java library that is at the wrong version, you're going to end up with a mismatch between the core library and one or more of the libraries that depend on the core library and this causes the serialization system to fail at run time.

Another case is that the code for HDFS is stuck around Guava 11.0.2 whereas Guava is at 19 these days. Updating things like that in the Hadoop code is nasty since Hadoop is a house of cards that is barely held up by unit and integration tests. Overall I find Guava, Jackson and Http-Commons are responsible for the lion's share of breakage.

So I keep a list of libraries that I know are high risk and likely to have problems.

As for "unit" testing, it depends what kind of tests you are writing. Strictly speaking, the purpose of "unit" tests is to test your own code, not test your dependencies. In fact, it's not unusual for unit tests to mock the dependencies -- that is, test that your code calls the dependencies as specified and that it reacts properly when it gets the responses from the dependencies that you expect. This kind of test won't catch problems caused when the behavior of the dependencies change.

Now a true "unit" test should run fast and not have a lot of baggage so there is a case for it, but what does catch problems caused by version mismatches are "integration" tests that typically are more of a pain to write and will run a lot slower.
An oncologist gave a friend of mine the ridiculous opinion that there would be a cure for cancer within 5 years. That was 6 years ago.

I say ridiculous because medicine is awash with similar predictions, the vast majority of which have never come true, or materialise far far later than anticipated.

The future does indeed look bright... from the very specific perspective of the researchers. Unfortunately if you are someone actually living with lung cancer or pancreatic cancer, for example, that bright future suddenly looks a lot murkier.

Fortunately my friend remains in remission, while I remain flabbergasted at the irresponsibility of that oncologist.
This is neat!

I wrote a similarish tool for converting SVG to code at Last Job™: https://github.com/biowink/SVGeez (though, it's questionable how well it works beyond the specific use case of the app it's for..though in theory it should work fine!)

(even the name is similar ;))

I bumped into issues when transforming complex paths into single paths. I suppose leveraging SVGO is a better plan for that. Kudos!
Germany to chart first civil defence plan since Cold War
Yes, I've been doing some Django dev lately and the experience has been very pleasant, specially when it comes down to APIs :)
Multi-user Nix systems use a "nix daemon", which user's commands send requests to ("please build this version of Firefox with this version of GCC, etc."); all of the results go in the main "nix store" (usually /nix/store).

Nix doesn't store duplicates; a hash is calculated, based on the inputs (source code, compilers, libraries, etc.) and if an output with that hash already exists, it will be used. If not, the configured binary caches will be queried, to see if a pre-built binary can be downloaded. If not, the inputs are fetched (following the same process) and the build is performed.
Because your sources aren't proving what you think they do.

The Oregon trial was only two years long and it actually did report some health improvements, diabetes and depression in particular. It also found improvements across a lot of other medical issues, they were just considered statistically insignificant (given it was only two years, not really a surprise).

The RAND experiment found that money does reduce unnecessary medical treatment (and therefore reduces costs). But it also found that it reduced necessary treatment too.

I agree that the exact numbers and costs are controversial, but basically everyone aggress that it improves the quality of life for everyone. And even if preventing disease is costlier, isn't better that fewer people get a serious disease in the end?!

Also, here's a study that supports preventative care. There's many more if you just look for it.
http://www.medscape.com/viewarticle/735245
Sometimes these large vector architectures are fed directly from L2 or even LLC, whose line size does not necessarily need to match L1.
Getting Agile: Unlocking Your Team’s Hidden Potential
Show HN: Snapdex – A discovery tool for Snapchat
I don't think awk is actually capable of parsing CSVs in all cases.
C doesn't work fine without exceptions. You have to write an enormous amount of boilerplate code to propagate error-returns correctly, or else an enormous amount of boilerplate duplication of your error-handling code. Or you use macros to reduce your boilerplate but it's difficult to do that in a way that handles different return types correctly, and once you get to the point of using a different return convention you're basically implementing your own language.
Is this pronounced S-V-Jesus?
I've observed strong bonds are formed during hardship, so enduring the teenage years/military service/some other hardship with others will result in a deeper friendship, but people are moving around so much that even if you have such bonds the other person will likely move to another city.
Seeing the windows 3.1 filesystem reminds me every time of the "Load DB from Backup" in SQL Management Studio. Even 2008r2 had the same restricted win 3.1 equivalent dialog.

It's amazing how such a dialog held out for so long resisting a change to a modern modern file selector.

Which brings me to windows 10, which has different dialogs for the same dialogs depending how you launch them. There are two different "Display Settings" dialogs depending on if you get there via the "control panel" desktop app or "Settings".

At least windows 95 was reasonably consistent, even if it feels restrictive after using windows XP and then windows 7 especially.
Isn't is possible that the sample is biased because you only looked at the subset of traders who were not sophisticated enough to turn off the feature that allows others to observe their trades?
I'm not sure how orienting the card that is on your own head would help. You don't know what it is.

That being said the method of "Bob always tells the truth, Alice lies" is sort of a card orientation way for two people. Alice puts her card up sideways and Bob knows that to mean he should tell the truth. Likewise Bob doesn't rotate his and Alice knows to lie.

However that only works with two people and they have opposite spins.

Maybe it can work with more than two and you have two rounds of guessing. Also you need to know that you have differing spins.
Finally found out what "cuck" meant.
I recommend against "Economics in One Lesson". It's basically a libertarian promotional pamphlet. If one wants an economic education, something like "The Undercover Economist" is much better.
I can't speak to the OP's specific circumstance but when I've been in this position in the (thankfully distant) past, what was more frustrating than anything was the bureaucracy and red tape between getting in the door for an interview and finally sitting down in a paid position. When you're already unemployed and needing that pay cheque, this lead time is terrifying. You need the job now, you need to get paid yesterday, you had 5 interviews last week and every one of them appears to be dragging their heels putting a signed employment contract in front of you and your rent or mortgage payment is due tomorrow.

As for "not wanting to prove yourself", you get to a point in your professional life where it's easy to feel like you've proven yourself a thousand times over with previous employment, solid references, a glowing resume, interviews with headhunters etc. and it can be frustrating when you walk in the door anew and despite 25 years of proving yourself, you once again have to redo that work. In an industry where we spend our entire lives automating away repetitive tasks, this is the one repetitive task that we just don't appear to be able to automate away... but if you don't want to go in the front door with all the other candidates, the only other way is to make a name for yourself that spans the industry:

- Attend user groups

- Attend conferences

- Network with key people at those conferences

- Become a speaker at conferences

- Put up courses on Coursera, PluralSight and other big name training sites

This way your name is out there, you're essentially being pre-vetted by the personnel that matter within these companies and you're already well known before you walk in the door. In essence, you're proactively interviewing.

When you speak at a conference, you're effectively interviewing at every company who has staff in the room. When you run a course, you're doing the same.
funnily enough I tried the same sort of switcheroo a few weeks ago as well and just ran into too many issues for it to be useful for me at the moment as well. I tried to contribute back fixes for the the problems I ran into, but just couldn't figure out how to fix all the problems I had with the way things were being done :( PostGIS and a few Gnome 3 desktop issues basically drove me back to Arch where stuff just works.

I'm sure I'll try nix again, and again, until maybe one day it just works as well. I really do love the features it brings not just on paper but in practice.
Query Timeout of the Distribution Agent in SQL Server Transactional Replication
2 years ago I went to the SF book fair which sells used books for $1-5 or something.
I went in the CS section looking for some old CS/Data structure books, mostly for fun reading and stumbled upon Gates' "The Road Ahead" book [1].

It's from 1995, and he talks about how internet will become etc etc. It is mind blowing how spot on he is right on his vision, perfectly describing the iphone and other things we use today and didn't exist at this time.

Sometime I wonder how Microsoft became so wrong on so many things despite such a clear vision of what the future became.

[1]: https://en.wikipedia.org/wiki/The_Road_Ahead_(Bill_Gates_boo...
This is a very first-world way of looking at the world.

What about self-sacrifice? What about the drive to 'change the world', to use the cliche?

To use a bad analogy, a mediocre farmer wouldn't feed as many people.
90%+ of cats in the UK are outdoor cats.
Do you need the resources constantly or in bursts? What are your storage requirements?
Astronomers identify a young heavyweight star in the Milky Way
I think he was just doing a play on words with the ambiguity and you went full math on him.

>only 80% of them lose money over one year, but as time continues over multiple years, the percent [that loses some] money approaches 100%.
So the moral of the story is to put in ~20% more than you want to invest then pull the remainder out once you hit about 80% allocation? :)
> PDEPEND means soft-dependencies like plugins

You might want to read the docs again:

$ man 5 ebuild | grep -A 4 '^ *PDEPEND'
PDEPEND
This should contain a list of all packages that should be merged
after this one (aka post merge dependencies), but which may be
installed by the package manager at any time, if that is not
possible.

This is in your [3]:

https://devmanual.gentoo.org/general-concepts/dependencies/#...

> systemd has no dependency to dbus

Last time I heard anything about it, systemd was so tightly coupled to dbus it would crash PID 1 if you restarted dbus and hang the system. Maybe that's changed? I doubt it given Lennart's explanation (which, by the way, includes the claim that "D-Bus is rock solid these days").

https://lists.freedesktop.org/archives/systemd-devel/2013-Ja...
Unfortunately, we work in an industry (software development) where the choice is basically between:

* Working from home and being entirely socially isolated from your co-workers

* Live within commuting distance of a major city

If I had been a plumber, I'd be able to work in any town in the US, no matter how small. If I had been an auto mechanic, dentist, accountant, retail manager-- ditto.

But not a software developer. Sigh.

One of the things that makes me most happy is not living in a city, but it's incompatible with the only skill I'm really competent at.
A beautiful read, for many of the reasons already mentioned here.

I'm inclined to rethink this one question, though:

> Can a single individual patient second-guess the medical machine? Is that really their duty?

I don't know if it's anyone's duty, but I think it's completely plausible for a single patient or small group of patients to arrive at a more patient-focused conclusion than the medical industry.
KuWit: Kubernetes Meets Wit.ai – By Capgemini Engineering
> I'm optimistic that by 2050, we'll be much better off. In the meantime, 7-10 million worldwide will die every year from cancer

That's sort of how progress and improvements work, they benefit those that come later.

> We're racing to get self-driving cars to save a lot fewer people

And those people working on cars are probably don't have the skills or drive to deal with medical research. That not everyone on the planet is working on what you believe they should be means nothing.
I'd actually say quite the opposite. It suddenly made an article referring to something 30 years ago have life and relevence today.

I hope it made the parent commenter feel awkward realising that the person he's insulting is metaphorically in the room.

The humilty of @loydb's comment should hopefully add futher shame.
Please don't confuse system packages (as in DEB, RPM) with your language's
packages (e.g. npm).

And you're not the first one to think of this. In fact, there was some work in
Debian around this idea. Like, a decade ago.

https://wiki.debian.org/DebTorrent
What happens when the worlds biggest rental platform meets worlds hottest app?
Mandatory vacation is an emerging trend in tech, you just won't see it at startups.
"No risk" seems a bit strong here. (Or maybe I'm just paranoid. But I was definitely in charge of the litter box when my wife was pregnant).

Could an indoor cat who has at some point shared a litter box with an outdoor cat have picked up spores (in the same way that a human might), for instance? Or, my cats were rescued as young kittens after their (stray) mother died: were they in the wild long enough to be exposed? (And how many cats adopted in the US have similar histories that their owners might not even have heard about?)
Cool idea, but is this of any benefit?

Isn't this essentially what TensorFlow does internally, except it inserts CUDA primitives at the right positions...
It is one thing to get it right from a disgn perspective, but another to get it right from an implementation and common usage perspective (see the sibling threads to this comment).

If it doesn't exist in practice or does something different in a thousand edge cases, it's rightfully dismissed as nonexistant.
If it's that easy why aren't you already doing it? Unless it turns out it's not that easy...
Containers are but one type of virtualization. What manages the host machine running the container? Nix (and Guix, the project I work on) can be used for everything: bare metal, virtual machine, container. Furthermore, the packaging strategy also allows for granular virtualization of environments. Sometimes all you need is to set a few environment variables ($PATH and such) to point at a specific set of software, and this is made easy because Nix doesn't use a global /usr directory and has a notion of "profiles" that allow you to pick and choose the software you'd like for any given project. If all you have is containers, everything looks like a crate.
In India, accessing a blocked website potentially carries a 3 year sentence
'cancer isn't a single disease ". That's covered in the video, and it well-known by everyone? The immunotherapy drugs are in the video too. There were certainly a few successes but it sounds like we have a bit of work. It's one of the cancer moonshot projects:

http://www.cancermoonshot2020.org

Do you have to survival rates for the various cancers. That's the benchmark, right?
I wonder why some developers using Electron decide to release an non-cross-platform application. Isn't that the purpose of Electron? To create cross-platform applications using web technologies? Otherwise, why not build it with Obj-C or Swift and get advantage of the native libraries?
I guess I was simplifying too much. I meant generic middleboxes that do everything from read-only DPI, to transparent caching, to content injection, etc. They're out there and they're annoying.
Thanks - I like the idea of strategies being an extension of the trader. Until we have fully independently trained NN-based trading algorithms, I guess there will always be domain knowledge being applied. (Even with NNs the domain knowledge will be applied in choice of layers etc.)

>Definitely. Discipline is tough when somebody just demolished your chinese solar stock and you are down a week's earnings. The bot would've cut and run.

What stopped you from cutting and running in that case? Was it the hope that the stock would swing back?
Ask HN: How do people in F1 get their job?
I'm just wondering if it's mostly through networking or are people applying to job offers?
But, in contrast, you cannot shut it down just fine without being really careful.

* http://unix.stackexchange.com/a/195978/5132

* http://unix.stackexchange.com/a/197472/5132

* http://askubuntu.com/a/638165/43344
I think it's a little more complicated than that.

Let's take game development as one example. You can feel mediocre because you wrongfully compare your progress and success against outliers like Minecraft. However I don't think most people who want to be good at game development are ignorant of what an outlier is. It doesn't take much to learn how big the climb is once you start.

The real difficulty is that the tools have been democratized. The market is flooded with games from developers of all skill levels. Even the most niche games have so many options that most games have trouble distinguishing themselves from the competition. It can be disheartening to realize that your most unique and amazing idea is not unique or novel in most respects and that it will be competing in a pool of several thousand games with similar ideas.

The other difficult factor is that the greatest games make the appearance of being simple and effortless. We only see the end result... not the 200 games the developer made before releasing the one we noticed. The myth that genius is a gift you are born with can certainly make most of us feel mediocre.

That's even before we get to fear of failure, social pressure, and market pressure! Many people want to be good game developers but they also want to feed their family and give their kids a good education... so they only have so much time in their lives to dedicate to improving and developing. Even if they are full-time game developers many of the same fears apply.

It's the tyranny of being just smart enough to know how much you don't know. It can also be a comfort though if you're not worried about being the stand-out genius and just like doing good work.
Spotio: A proof-of-concept Rdio-inspired skin for Spotify.app
Hi, I'm Laurent, the creator of Snapdex. Snapdex is a fully editable directory of Snapchat users. It just got featured on Product Hunt (https://www.producthunt.com/tech/snapdex), a bit earlier than I expected honestly, as I wanted to show it here first!

Snapchat is full of interesting people who produce unique content exclusively to Snapchat (Justin Kan, Mark Suster to name a few). I wanted to find more people like them, but there's nothing really good out there to help you discover new Snapchat accounts, so I made this!

The site is made with React.js in the frontend and Laravel in the backend. A few months back, when I started working on the site, I didn't have any experience building javascript apps (me being almost exclusively a backend developer), so I'm pretty proud of what I've achieved and learned in those few months.

Would love to have your feedback on the site. And let me know if you have any questions!
This picture is much more accurate than I would admit. I've seen many of my older relatives "playing" the stock market all day. Basically sitting in front of their computer, buying and selling stocks like a game. And that picture looked eerily similar to when I saw them in Vegas spending all day in front of those electronic slot machines.
Deep-Lyrics
App Store only too. God I hate the way the Mac app store wants my password even for free apps. I've got to switch to my browser, enter my nice long lastpass and copy and paste it into the app.

I've never got the non-browser lastpass working.
Have a Bot Calculate Your Quarterly Taxes
It's almost always unlimited "with approval from your manager".
You're confusing the title element with the title attribute.
>I put it to her that all of that doesn't sound very average to me.
>She pauses and laughs sheepishly. "I guess it just depends on who you're comparing me to."

That's the key thing. If I compare myself to the average person, I'm obviously not "mediocre". However, compared to some people who (I think) have had similar opportunities and potential, I probably am.
> Python is a great language, but when you go into larger, more complex projects, you might face some problems in the long run. This is mostly due to its dynamic nature.

No. It's due to complexity of larger programs. There's very little evidence
that dynamic typing itself (as opposed to static typing) is a major source
of errors. Most of the arguments are feelings and opinions.
A list of Top Invoice Creators for your business
Designing an Effective Forgot Password Page
Your response is loaded as well: you describe maximizing profits, but you don't describe the scenario required for this to be a good heuristic: a functioning market made up of primarily rational consumers who choose the best product based on its merits and cost.

But we have found that spending money on trained psychologists (or schemes developed by them) who abuse natural human tenancies to trick consumers into irrationally spending money or more money on your products is very effective at maximizing profits. But it simultaneously removes the condition that's required to make maximizing profits a good thing.

Fraud is also very profitable.
The ones in your local elections work. It's shame that no one shows up to even try, though. Except old people.
Chinese Consortium Acquires Media.Net for $900 M in 3rd Largest Ever AdTech Deal
"People who excel at software design become convinced that they have a unique ability to understand any kind of system at all, from first principles, without prior training, thanks to their superior powers of analysis. Success in the artificially constructed world of software design promotes a dangerous confidence."

http://idlewords.com/talks/sase_panel.htm
about:robots is still around, too. That one seems unchanged from when it was first introduced, including using the older style of Firefox error page.
It sounds like we need better non-invasive early detection. Tests where you can monitor the progress. Simply saying "we've got some early tests that aren't very helpful" doesn't mean we shouldn't be improving the tests.

Also, i'm not sure why we can't have both: better early detection and better treatments.
WebMonkeys: a simple, straightforward lib for GPU programming on JavaScript