skysight-inc/HackerNews huggingface dataset:
> no obvious signs of corporate guilt at having driven countless independent bookstores to oblivion

I spent decades browsing bookstores with their paltry inventory of bestsellers, occasionally resorting to ordering a book through them. I like Amazon a lot better (and the prices are far better, too). I buy a ton of books from Amazon.

I don't miss the bookstores.
FYI, getting killed by falling vending machines isn't a random event. It happens because people are rocking vending machines back and forth, either to knock loose a stuck purchased product or just to try to steal from them. If you get killed by a falling vending machine it's because you were doing something stupid.

So long as you never rock vending machines, and you shouldn't!!, you are way more likely to be killed by a terrorist, even though the odds of that are incredibly low (one in many, many millions).
I'm currently showing number of releases on npm. GH releases are on the list :)

Thx and check it out from time to time I have some ideas to make it even better...
Wow, I haven't looked at Perl in a while, but all sorts of numbers mentioned in the announcement really surprise me.

Btw., as mentioned in announcement. The actual changes are here, if you missed that:

https://metacpan.org/pod/release/XSAWYERX/perl-5.26.0/pod/pe...
Yes, there is a balance in skills. But I disagree about the skill. Every skill can be refined infinitely. It can seem obvious that if somebody is expert programmer in one narrow application, he reached his "peak". It is however less obvious that a product manager of the same thing has reached the very same peak, yet the product obviously needs the work of both.

There is an interesting dichotomy in thinking, which again points to the social status game. People who we deem to have low social status (e.g. blue collar workers) we relegate to this taylorist idea that they must be super-specialized, otherwise they are useless. On the other hand, people who we think should have high social status (e.g. managers) we categorize that they need to be flexible and have broad (rather than deep) skill set, and indeed, we consider being deep a disadvantage.

But in reality, both sides benefit from the mix of skills, both sides often have the mix of skills (especially the productive people), and it has not much to do with their actual day-to-day jobs.
Ask HN: How do I filter out Internet Explorer 7 from Google analytics?
Hi, Any help will be greatly appreciated. The traffic is coming from my desktop application and skewing the real traffic going to this specific page on my site. I have created a filter in google analytics but it will not verify, as it says the segment is too small, and it contains 5000+ views. I am unsure what the pattern is and how to set this up properly. Thanks
Exactly. For anyone having trouble, just picture a pure sinusoidal signal, flash = sin(2π·freq·time + phase). Fireflies are changing their phase, not their frequency. Completely independent parameters.
Besides the role of grouping a bunch of related fields, structures are also regularly used to define file formats, network protocols, or in OS development for data structures interpreted by the hardware. All these things would break without a defined memory layout.
Do you believe a person has the right to acquire and consume whatever drug they want to as long as it does not lead to criminal behavior? Or do you believe we should treat citizens like children who can't be trusted to make their own decisions? Because this is a completely separate issue from overprescription of opiates.
> but it is interesting to see a counter-argument to the Mozilla/Firefox just apes Chrome story

I think looking at Quantum (https://wiki.mozilla.org/Quantum) and Phonton (https://www.ghacks.net/2017/03/31/firefox-photon-new-design-...) this becomes even more clear.
Also, Facebook and messenger seem to have separate stories.
In regards to #1, the war on drugs has been going on for decades now, whereas I believe you're only referring to the current situation. It was certainly true that, for decades, crack as a "black drug" was being treated way more harshly than other "white drugs", with hugely aberrant sentences. And now under Jeff Sessions we might well be reverting back to that.
You might enjoy this guide[1] to get started. It discusses how to run a cluster on virtually any cloud provider and offers fully automated provisioning using Terraform[2].

[1] https://github.com/hobby-kube/guide
[2] https://github.com/hobby-kube/provisioning
1. Yes. And people do that. I'm nkt talking about me. I'm talking about things I see in my work (I'm a consultant).

2. People should be able to do that. If you're expecting your hash function to behave somehow like a random oracle there is no reason that h(key|data) doesn't work. I see people using sha-2 to derive keys all the time. Even this is unsafe depending on how you do it.
That's totally fair. As the author I can attest that it's not doing anything sketchy, and as has been mentioned elsewhere in the thread you can view the unbundled source to confirm that. But no pressure to use it from me!
Steps to Make a Leotards at Home
Numbers every programmer should know
Although the subject matter is captivating and the article well written, the whole thing left a bitter taste in my mouth. It really does seem to be the case that charismatic individuals can, as a rule of thumb, get away with almost anything at all.

I do understand the need to escape the "tedium of life" as one of the witches put it but it's still highly irritating to see otherwise normal people be consumed by conmen. I like to think it wouldn't happen to me, but seeing how skilled this guy was I'm starting to believe I would fall prey to someone like him just as easily as those women did.
Walmart Marketplace API Integration with CedCommerce
Is there any compiler using "machine learning" for SIMD optimization?
If the fireflies take that time in their clocks to "charge the light", could it be that when they nudge their clock once or more in the cycle, the intensity of the light is a bit lower than it would normally be?
So the current BK doesn't really have branches, it has the model that if you want to branch you clone, each clone is a branch.

Which begs the question "how do you do dev vs stable branches?" And the answer is that we have a central clone called "dev" and a central clone called "stable". In our case we have work:/home/bk/stable and work:/home/bk/dev. User repos are in work:/home/bk/$USER/dev-feature1 and work:/home/bk/$USER/stable-bugfix123.

We run a bkd in work:/home so our urls are

bk://work/dev
bk://work/$USER/dev-feature1

BK has a concept of a level - you can't push from a higher level to a lower level. So stable would be level 1, dev would be level 2. Levels propogate on clone so when you do

bk clone bk://work/dev dev-feature2

and then try and do

bk push bk://work/stable

it will tell you that you can't push to a lower level. This prevents backflow of all the new feature work into your stable tree.

The model works well until you have huge (like 10GB and bigger) repos. At that point you really want branches because you don't want to clone 10GB to do a bugfix.

Though we addressed that problem, to some extent, by having nested collections (think submodules that actually support all workflows, unlike git, they are submodules that work). So you can clone the subset you need to do your bugfix.

But yeah, there are cases where "a branch is a clone" just doesn't scale, no question. But where it does work it's a super simple and pleasant model
Top Companies in Genomics
Warm Data: Contextual Research and New Forms of Information
"broke and needed a donation" --> This is not the case, and we wouldn't open source the books if we wanted to make more money. I could talk more about this, as I think the business angle is interesting and on topic for HN, but I'm at a conference right now.
Is there a direct link to built PDFs somewhere, or do we have to go through the whole process of signing up to Gumroad and having the PDF emailed to us?
I think there is always the factor of other apps and e.g google maps making prices easily available for comparison etc.

If Uber increases from $7.51 to $7.96 you might not see the difference in your head, but then if for example lyft is offering $7.80 for the same ride, whats more likely for you to choose?

I think they'd be very careful with increasing prices and wait their competitors to increase prices first so they can follow up, or else they might run themselvs out of business.
New GTLDs: New Domain Research and Tactics
How to optimize E2E product testing or QA using Machine Learning techniques
I think one can live with Kotlin. Scala is too obtuse and Clojure is just bad and pays a heavy performance penalty when interacting with Java due to internal usage of reflection if no type hints are used.

The only thing I'm missing in Kotlin are some metaprogramming facilities.
Take a look at the Helm Package Manager. Once you have Kubernetes running you can very easily install MySQL (even more complex high availability clusters). If you can put your application in a docker you are almost there.

If you don't manage Kubernetes yourself this is actually not that much more work. It is sort of a shift in thinking, and you have to retrain, but once you do that it should actually be faster.

I am doing this right now and the paradigm shift is just really big, that's why it seems to take so much longer.
See the comment elsewhere in the thread but in specific response to this comment

> Doesn't this let anyone else make API calls as your app?

The only thing that client id / secret is authorized to do is redirect to the following URL: https://fpljkobkodmnmldgodfefnmjgjlljbjn.chromiumapp.org/oau...

Which can only be accessed by an installed Chrome Extension with that ID. So no one should be able to authorize anything besides this app using that information.

More information about what it does expose is here: https://tools.ietf.org/html/rfc6819#section-4.1.1
Canvas is pretty performant. WebGL is even more performant. You can easily have a few thousand things on the same page at a time.
It was definitely possible, and some of us remember the joys of spooling data from tape before we could use it. :)

And if I recall, this was a built-in of the tape-drive itself, which could be used on multiple different systems, and so the triple-sync being used to rewind wasn't Risc/OS specific; I remember using the same tape-deck later on Linux and Irix machines, same ol' sync command worked every time.

I can still hear the whirr in my mind ..
Not yet. At some point we'll just host them our website but we haven't had time to do that. You can use a fake email to sign up to Gumroad if you want. Otherwise you can build the books yourself, which just requires Docker and a few hours to download the massive Latex Docker image.
Will work on open-sourcing it. Need to clean up a few things first but definitely not opposed to that.
Man that is insane, how it's able to predict and catch the ball wow.

reminds me of the drone with onboard laser system it was like a 3D plane with it's agility/wingloading and it could fly through an underground parking lot...

https://youtu.be/kYs215TgI7c?t=2m9s
"The original motivation in the early 20th century for relating quantum theory to consciousness was essentially philosophical. It is fairly plausible that conscious free decisions (“free will”) are problematic in a perfectly deterministic world,[2] so quantum randomness might indeed open up novel possibilities for free will. (On the other hand, randomness is problematic for volition!)"

This is an aspect of this debate that utterly fascinates me. Many people reading this have probably heard the argument that free will does not exist because the human brain is just a molecular computer. If we could measure it's state perfectly at a given moment, have knowledge of future inputs, and possess adequate classical computational power, we could perfectly predict the future decisions made by your brain. Hence, you are a deterministic creature with no free will.

Quantum processes underlie all classical processes, not unlike how the physics of individual water molecules underlie the behaviour of a river. While individual molecules or even drops of water can do bizarre things, the course of a river is easy to predict. A coin toss or weather patterns may seem random, but they're classical systems that would be utterly predictable if we had a perfect measurement of their current state, knowledge of input from outside the system in question, and the computational resources to work out their future evolution. As with a river, the weather, or a coin toss, quantum weirdness should average out on the scale of a human brain, leaving only classical predictability behind.

Or does it?

One aspect of this quantum weirdness I'm referring to is truly random behaviour. Single quanta (e.g. photons or atoms) can be manipulated to produce measurements with truly random results that are, according to quantum theory and every experiment conducted to date, impossible to predict, even with perfect knowledge of the system, knowledge of all inputs, and infinite computational resources. Free will and being unpredictable are intrinsically linked. If your brain is just a classical machine behaving according to the laws of chemistry and physics, you are predictable and have no free will. If your brain amplifies the results of quantum outcomes to a macroscopic level, your brain may be inherently unpredictable and thus you may possess free will.

Fascinating stuff!
Buy dbForge SQL Complete and get 50% off for products
Nothing wrong with doing any of it, as long as its a dependency you can manage while also maintaining productivity... but such is the life of a Javascript developer.
I never understood why people were mourning bookstores while libraries seem such a better thing anyway.
I felt the same, like you're flying on thrust not lift... having a background in rc planes (3D flying) usually you need 250watts/lb to hover at half throttle and yeah I always wonder how drones will fly for a long time being a thrust-based flight. If they had fuel cells or something... gas is great with regard to keeping output and decreasing in mass... but batteries same mass, decreasing power... I don't know.

edit: I realize thrust/lift arguably the same thing ie. rotating airfoil/wing but purely talking about energy consumption ie. motor off or low power for level flight.
So the way you're using it:

auto verificationErrors = reply->sslConfiguration().peerCertificate().verify(m_sslConfiguration.caCertificates());

implies that you want to see if "peerCertificate" validates under "m_sslConfiguration.caCertificates()".

That's a reasonable (and necessary) thing to do, but the "verify" function doesn't do that. It's a static function, thus it ignores "peerCertificate". The way you're using it, it simply verifies "m_sslConfiguration.caCertificates" using the system's default CA certificates (I think; the docs are somewhat confusing about this).

Also, further down in that code, you ignore self-signed errors. Well that pretty much negates the point of checking in the first place doesn't it? Because if someone MITM's your connection with a self-signed certificate, your code will say that's fine.

However, according to the docs for "QSslConfiguration::setCaCertificates", those CA certificates are used to verify the peer certificate during the SSL handshake. So do you even need to be doing any kind of verification manually? I'm not a Qt programmer, but it seems to me that since you're using the appropriate "QSslConfiguration::peerVerifyMode", it should verify the server certificate during the handshake using the CA certificates you set (it happens in the Mac code at [1]).

Bottom line: your "RemoteDatabase::gotEncrypted" function can simply be eliminated. This would both provide proper peer verification and eliminate your problem on the Mac platform.

[1] https://github.com/qt/qtbase/blob/dev/src/network/ssl/qsslso...
That's the fuel the plane takes off with. I don't know how much this beast uses, but those six engines must be burning quite a lot of it. Also, the landing gears seem to be very robust.
How much fuel the plane carries?
I'm somewhat older and after retiring a little early I decided to return to university. I confess that the experience is both humbling and frustrating because I'm finding it much, much more difficult than the first time around.

I had the fantasy of getting a degree in a completely unrelated field and finding a fun part time gig. Now, if I'm honest with myself, I'm not really sure that I'm up for the task... and that's really disheartening.
Sure, but the strength it needs to have in the additional "hanging horizontal" orientation is only 1g -- much less than the many-g strength that all rockets need to have along their thrust axis. It adds some weight, but not enough to ruin the other benefits.
They have states right? I'm curious how that is like a JSON string or something to access each thing and change individually? I can go read haha
thanks, it is just in time for me, I'm looking for book about slick :)
Haha - well if we're going to talk about practicality - it doesn't need to be as tasteless as that - it reminds me of the ultra endurance swimmers sucking hot oil through a tube.

You can just make some delicious fried or oily snack, like crisps or chips or sauteed spinach, or fried what-have-you.

...but even a shot of oil is more healthy, pleasurable and hygenic (assuming you burn it all) than filling your tank with petrol :)
The question is, how did we manage to create a society hellish enough that some citizens are reduced to having opioid abuse as one of their only means of escape?
Can confirm this issue 1:1, I'm on a 150M plan for 4€ atm.

Using the web is becoming a pain due to this waste of data, at least IRC still works.
Google search results; organic vs. ads (image)
The VR Controller that allows you to feel objects
Well, I'm talking only about additional hardware cost per car. To work in this space you primarily need a partner from auto industry, and that partner may be interested in automated driving only if the additional hardware cost is minimal.
That's absolutely how I would've done it. Way cheaper to make a monster hybrid of two used 747s than to try to make a one-off custom airplane from scratch. Sure, it won't be as efficient at its job as if it were purpose-built, but you'd never get all of that R&D money back.
Useful and fast react native library directory
Previously: https://news.ycombinator.com/item?id=14384370
At least I was right about 'sickness', which was the vital clue here.

And I can "guess" a lot more than hand-picked examples, using this method I've understood everything from store signs and logos to large parts of children's stories. Granted, I've learned a lot of characters also.

There are many recommendations to learn Chinese this way.
Show HN: My collection of the most fat programming chats: RoR, JS, iOS etc.
For comparison, bandwidth that costs me if I directly peer or rent from a European hoster 20$ a month costs at GCP over 900$ a month. With Firebase, it'd be a major 5-digit sum even.
I remember one of Altavista's main caveats was the mixing of paid and organic results. But as of 2017 Google suppresses organic search results in favor of paid ones more and more after each quarter.

Is it time for new ideas in search space?
When we talk about missing the bookstores, it's more about missing the librarians running them, at least in my opinion. They'd stock the shelves with the discoveries they had made over their life and be able to give very opinionated advice over various books. Talking to them to find your next coup de coeur is better in my mind than browsing the recommended section on Amazon.
This article in few lines lists key differences between PNaCl and WebAssembly:

---
WebAssembly defines no new platform APIs other than some APIs for loading and linking WebAssembly code, relying on standards-based Web APIs for everything else. WebAssembly differs from asm.js by defining a bytecode format with some new operations JS doesn't have, so some spec work was required (and has been done!). Like asm.js, WebAssembly application call-stacks are maintained by the JS VM, outside the memory addressable by the application, which reduces the exploitability of application bugs. (Though, again like asm.js and unlike PNaCl, the compiler is trusted.)
---
Global nuclear wipeout. Humans are, and always will be, incurably greedy. Give some other species a chance instead.
Certainly, but the way he talks about that time... I think he's trying to help other people get over the kind of events that he himself is still struggling with.
They just bought two used 747s and stuck them together. Way more work to remove the cockpits than just leave them intact on their individual airframes.

Hell, for all we know, this could be remotely piloted.
I have to say that the "sample works" look superb - I wonder what they would look like printed onto fabric? I visited quite a successful manufacturing company here in the UK and they basically had huge inkjet printers printing their designs onto fabric...
RabbitMQ does not persist messages to disk. A common mistake with RMQ is treating it like something of a database.

You would need to run RMQ in HA mode with multiple brokers to have any chance of not losing data.
I'm the one with the "wrong education" and don't know "any better". Though I was born in Russia, not USSR. I don't want to argue with you, just let you know that radio was indeed invented independently by both Popov and Marconi. Please read this well written Popov's bio in Britannica [1]. Also the timeline in Wikipedia is good enough to understand how many people are involved in radio invention [2]. The fact that Russian science was slightly isolated from the rest of the world in this particular case, and the patent wasn't awarded by Popov, doesn't mean he didn't invent and demonstrate the radio signal first. And there is no clear evidence that he didn't.

In other words, if most of the US films get the Oscar awards doesn't mean they are the best films out there. If scientists get Nobel prize doesn't mean they are the only greatest. All the awards and prizes are biased.

I really like to see how people ignore something because they got "proper education". That's so debatable. The world is not only US and Europe. There are some other countries and cultures exist too. :-)

[1] https://www.britannica.com/biography/Aleksandr-Popov-Russian...

[2] https://en.m.wikipedia.org/wiki/Timeline_of_radio
To be fair if you take an uber regularly on a regular route you know how much it is going to cost. Sure they could bump up prices when a user takes a journey they don't usually take but it is noticeable when your regular ride cost increases.
> One lesson to take from this is that it's often worth spending an extra half hour or hour validating that your assumptions about where time is being spent are true.

That is the real takeaway from the article.

Making assumptions is fine, making assumptions and not immediately verifying whether they hold or not is not.

This is why it is super important to actually write down your assumptions and test them one-by-one when implementing some solution. More often than not you'll find that there is some light between what you thought was true and what is really happening.

So this is much more a systemic problem than just a database tuning problem.