skysight-inc/HackerNews huggingface dataset:
Deleting highly performant code
I just don't understand why it's on the frontpage of HN.

Right now, 67 people in the world think it's interesting enough to upvote the article. That's 0.00000096% of everyone on Earth. Getting to the front page isn't really a mark of importance. Sometimes a democratic system gets it 'wrong', in the sense that it returns a result you don't agree with.
Mobile app development in the light of rapid prototyping
I upvoted that but I suspect that there will never be an opportunity to "go back and fix all the mistakes you found".

At least there never is for me.
> Maybe depression is a call from a higher being to wake up in your life and make big changes on your path

Less esoteric explanation: Or it is a call from deep within, the subconscious. But with the same implications. And that medications might not be that helpfull for that purpose.
Kids these days use tmux.
Besides testing, my team uses phantomjs to convert pages to PDF and also to convert javascript generated charts to images. This is sad news, I'm don't think chrome eventually will add support for.
Two things I have found helpful:

- internal family systems (for understanding how deal with strong emotions) - https://youtu.be/qo_DebUQgmA

- Win Hof Method (for helping the body to heal itself) - https://youtu.be/gKgUE76udK4
That sucks for any scraping use case. I have to imagine google has built in some way to detect headless browser mode serverside, even if only they can access it.
You can write C++ that looks almost identical to the C you would write. If you don't like fancy features you don't have to use them.
If you want information on this, don't start at their site. Start at their YouTube video:

https://www.youtube.com/watch?v=EMfK4rNGd70

The site just embeds that video plus a form to enter your email address to register to "help us to make it happen" (presumably that means to get notified when their crowdfunding campaign gets started), but they embed the video in an obnoxious way. They do not enable the normal YouTube video controls.

This is a problem because the video just shows people using traditional systems and their new system, with text overlays making their pitch. There is no one speaking.

If you happen to spend too long looking at what they are showing you and so fail to complete some of the text before the scene changes there is no apparent way to go back, other than refreshing the page to start the video over from the beginning.

Also, since no one is speaking the only thing sound is used for is music. Without the normal controls, you cannot use the normal YouTube video mute function to turn this off. To mute you have to use your browser's "mute this tab" function, if available, or your system's mute function.

With the normal controls missing there is also no apparent way to see how long the video is (2:22 BTW). That's going to lose them a lot of views, I predict, from people who get there via Reddit or HN or other social media links.
Wow, I thought I was the only one!

I don't get the anti-license fee brigade. If you don't want to pay just don't watch the BBC TV channels. The BBC won't even stop you reading their websites and listening to their radio stations commercial-free if you don't pay. Seems like a good deal to me.
>You don't think you'd be able to dredge up similarly bad stories for any other airline?

Hitting paying customer head on the armrest until he lost consciousness? I think no. I hope you don't believe "he fell" united version, because that's literally impossible in the economy seats. I may eventually come to terms with the loss of several hundreds dollars (or 1-2 thousand, due to lost car and hotel reservations) but concussion is inexcusable offense for me. I won't tolerate that ever.
The thing is, it would likely be a civil tort case, not necessarily a criminal case. An action can be legal from a criminal statute point of view, and yet still open the company up to a lawsuit in civil court where the other party can try to prove they were harmed.
A great example would be PDF generation for things like invoices. Rather than generating a pdf with something like PHP or Java. Render a regular html page with all the css you want (super easy compared to drawing a PDF using PHP) and then proceed to use a pdf printer on that page.

You could run such a thing as a microservice using a headless browser or PhantomJS. There are probably better ways to do this but that's one of the first things that popped into my head!
Is Nuclear War Becoming Thinkable?
The plots would have benefitted from a log scale on the y axis, or both axes. The behaviour at the low end can't be clearly visualised since it's squished to the baseline by the exponential behaviour for high x values.
That's true, but in my experience the instability of Chrome comes from opening and closing it's windows repeatedly as a large test suite often does - occasionally it doesn't seem to like opening a new instance while another is closing. Headless mode should resolve that problem.
As food for thought about how we treat the mentally ill, it is quite interesting. Hopefully, nobody will go away believing the nonsense about spirits attaching to people, but the manner in which they give the depressed a role to grow into and an external reason for their suffering could really help some. The alternative "you are internally broken" message from modern science can be unpleasant, even if it's true.
You are correct, I use 3126 too and it's more stable than Atom ever been :)
Linux is not a singular entity. There is no standard Linux UI. There won't ever be a standard Linux UI so that's a meaningless thing to worry about.

Individual distro's will pick whatever they want. Several have tried to copy Windows to various extent (with Lindows, later Linspire, being the most extreme example as they tried for binary compatibility via Wine).

> If they adopted KDE instead, Linux would probably get a lot more popularity.

I they adopted KDE instead to the exclusion of Gnome it'd alienate a huge amount of Linux users. They're not doing this randomly. But as it stands, Gnome and KDE are both viable alternatives on most of the major distros, with varying levels of support.
Pass: Create a strong password that's easy to regenerate from memory
Function programing best practice with Middleware Pattern
Added to support the cause. I don't even fly, just want to increase the number of downloads :)
i use phantomjs with the chrome webdriver, or whatever it may be called, already, all the time.

if they wanted to do that, theyd already do it. this change doesnt seem to be all that big.
but has anyone ever actually work out the stats for this ? Do we really know the (hardwork+IQ+talent)/luck ratio for the top 20 most successful business leaders ? Who's examined the other universes where Bezos made all the same decisions but had bad luck ?

It seems like this whole area reeks of astrology.
Downloading any kind of web page where a simple wget or curl turns out empty, for instance anything made with React or other advanced JS frameworks.
There is one important spot the article misses to mention is its extremely great usability among different groups of people. People who are young or old, well-educated or poor, artistic or professional use WeChat as a communication tool.

Unlike many other apps who concentrate on serving young people, business people or colleagues, WeChat is the ultimate solution for me to talk with my classmates, my parents or even a courier who I just meet 3-minutes ago. This makes it stand out from just an app working above the operating system, but a common solution people on mobile just like phone call or messages. This makes WeChat special.
I guess you wanted to setup an enterprise authentication scheme?

For a simple desktop usage all I did was installing the deb package on the server and it was ready to go. I just entered my ssh details on the client and done, remote desktop at my fingertips. no manual setup, no external authorization, no dependency hell.
I had hard time getting Google to understand my speech 2 years ago. These days the error rate has come down a lot. From 60-70% to around 95-96%. For me Google home won't be worth it till it reaches more than 99% accuracy but as more people use it the accuracy increases
What are good C# based scanned PDF OCR library other than tesseract-ocr?
That's not really a hypothesis because it can't be disproven. More like a feeling. Evidence will accumulate to support it but nothing can weaken it. So it's already known to be as-good-as-true and not useful scientifically.
The Disruption of Democracy
No it's not. Its ok to estimate your competitors size by driving by their parking lot and counting how many cars are there. It's not ok to bypass security and access their company directory.

The ethical line is "what is publically available following all laws and regulations".
Can anyone confirm - would this work with a Flash/SWF application? i.e. could I use the headless mode to interact with the Flash Application to run some commands and retrieve the output?

I tried googling around but didnt find much to say either way...
I've submitted a correction :-)
I think this is one of the important reason (among others) why wechat picked up, there is no Google in China, not even GPlay.
Related: I want to take screenshots of a few news websites for a little fake news project of mine, and most approaches return something completely different than what I'm seeing when I open Chrome.

Limited height would be better/ok (something like the first 3000 pixels).

Low volume / can be slow (30 seconds would be ok).

Those news websites many times have infinite scrolling.

I've tried:

- phantomJS (rendering sucked, tried every technique I could find to wait for JS to load)

- wkhtmltopdf (almost ok, generates a huge 30M image with all the height, no antialiasing it seems)

- https://github.com/gen2brain/url2img (this was the best so far, uses Qt bindings but not the latest version)

- actually run a headless browser in DigitalOcean with xvfb-run and take a screenshot: I failed at this

What I didn't tried was Selenium, because it seemed even harder.

How would you guys do it?
If cars were a new technology today, two-way highways without center dividers would not exist.
This isn't a complete bullshit. I have had similar experience. My problem is I've been having this kind of experience every several years including long depression phase with some breakthrough in the end of it with "I'm smart and feel high" phase next. I absolutely had some real breakthroughs both spiritual and psychological (I was visiting a shrink) but in the end the cycle was there.

Finally I've got help from a professional physician and psychiatrist (not the same person) and now I'm taking pills to treat my inherited hypothyroidism and Type 2 Bipolar Disorder. The only thing left is to find a good shrink (probably CBT) 'cause living with untreated BPD for a long time leaves your mind in a overshadowed state with a lot of negative self-believes and harmful mental habits.
Also Firefox will get headless mode in few releases https://bugzilla.mozilla.org/show_bug.cgi?id=1338004
It might be for the best. One of the many companies using PhantomJS to make money could go ahead and employ Vitaly to work on the project full time.
We automate buying things on sites like Amazon.
Type 2 diabetes may be, but I don't think my wallet caused my pancreas to pack in
How do you even know what % of information you have?
"We'll remove the phone number later"

Too late, Google now has it and can correlate my profile with other sources. There's literally no other reason why Google doesn't let you enable 2FA without a phone number.

I wish I didn't have to choose between security and privacy.
> Alexa only transmits when you trigger it

You really only have Amazon's word that the only data transmitted is for that particular command. Unless you tap the transmission, you only have Amazon's word that it only transmits when triggered.
> Setting up an image of God as a bearded man in the clouds is just a strawman [...]
> Getting caught up in whether or not that is a metaphor is to really miss the point.

Very good point. Most people in the west assume that religious texts are written to be understood literally and not metaphorically.

This might be due to zealotry witnessed in some major religions.
Yet look at the reaction I get for advocating informed consent. As an industry we hate collective action.
While we're on the topic, does anyone know where one might find scripts to scrape bank statements so you don't have to download them manually every month? (This is one thing I would find headless browsers useful for...)
A Powerful F# Library Shows How S-Expressions Might Be Superior to XML and Json
For hyperglycaemia at least ketones would be a significant marker. In sufficient concentration they even have a characteristic smell detectable by humans. So, creating a sensor that measures ketone concentration shouldn't be too difficult.

Hypoglycaemia is more difficult to diagnose because apart from the actual blood glucose level there's no definite symptom that doesn't occur with other conditions as well (typical symptoms include headaches, dizziness, confusion, high pulse rate).
Uh, or it just doesn't work perfectly in all situations or for all people. That's true of most products.
Recep Tayyip Erdoğan’ın Giresun Çıkartması
Charles Michael: A GitHub Content Search Chatbot
Explore the Front of Your Nook Tablet
WebDriver protocol has limited APIs. For example, no networking status. (WebDriver rejected to implement it, they told you to use Proxy for debugging)
Nice.

I wondered, for what kind of problems should I bother to file issues? The page says:

> so please file issues about anything that doesn’t work as expected!

Wouldn't that be quite a lot of obvious stuff? I just opened one web page and see over ten rendering errors.

Even the text edit control of the built-in search-bar doesn't work as expected (text selection doesn't work, both with mouse and keyboard). There seems to be no way to scroll.

Then it crashed.
That is the problem, as more people shift to online independent media could dissapear.
They probably do echo cancellation, so it would be hard but maybe not impossible.
Thank you for PhantomJS! Been using it for testing, generating PDFs and screenshot.
That's fine, but it doesn't imply copying Windows - if anything, copying Windows would mean more "change for the sake of change" than sticking with something conservative like Mate (continuation of Gnome 2), Cinnamon (more conservative fork of Gnome 3) or e.g. LXDE. Linux have plenty of options whatever your preferred rate of change.

If you want to avoid change, see if the GNOME/GTK apps you use are available in forks for Mate or Cinnamon - if they are, chances are they'll change far less.
You can use WebDriver to take screenshots. OTOH I don't think there's any way to do PDF generation without fucking around with injecting window.print() and trying to go from there.
Thats just phantomJS though..
There were allegations of evm tampering recently. It's still unclear whether they are true.

http://www.livemint.com/Politics/fIKiRvhaDSieYz25Lm8vRM/EVM-...
As a competitor, this is merely unethical.

But Uber supposedly has no competition relation with drivers. Adding that drivers may choose to work both for Uber and Lyft, this gives Uber leverage against a category of population they have been known to abuse.

The danger here is the combination of undue knowledge and a de-facto dependency relation in the hands of a known offender.
>Are there people who earn money by getting it to automatically fill out forms, enter competitions etc?

Yes. Tiny ex. https://news.ycombinator.com/item?id=1165680
Udp.c in Linux kernel pre-4.5 allows remote attackers to execute arbitrary code
NATO does oblige all members to come to the defence of another member in response to an attack.
Open source software has to be one of the least efficient markets out there.

If you sum up the very real value PhantomJS has delivered to very real companies over the last several years, napkin math tells me we wouldn't have the project being abandoned for being a "bloody hell" to work on.
United removes first-class passenger to make room for 'higher-priority' traveler
meglev trains anyone? Japan has some that go 400mph
If you are interested in following/contributing to OpenCL in Mesa on AMDGPU, I suggest starting from this bug: https://bugs.freedesktop.org/show_bug.cgi?id=99553
Every UK bank I've used allows some format of csv/qif/ofx export.

Are you in the US?
Original title is "United passenger threatened with handcuffs to make room for 'higher-priority' traveler", but it's too long for HN so I had to shorten it.
> Consider how difficult it is to even define any of these terms in satisfying way. They are all metaphorical, like the higher being.

Are you able to explain what an electron is, or what gravity is or how light propagates without resorting to metaphor and hard-to-define terms?

I used to be a pretty hardcore rational materialist until I accepted that it doesn't fit very well with my own experiences.

> You've invoked consciousness, purpose and meaning as if they were important.

They are and you know it.
The Webkit/PhantomJS PDF export actually supports SVG embedding (as real vectors), Webfonts and many other things.

It's possible to create pretty advanced layouts with maps, graphs using that. Even embedding IFrames with e.g. Google Maps works.
Note: this is a different guy. After just a few days after the previous fuckup, they pull the exact same shit AGAIN. Unbelievable...
> Zymergen decided to eliminate the whiteboard interviews that are a standard part of the hiring process for software engineers and developers

can solve a range of issues

perhaps gender diversity is just one facet of this "Brogrammer" thing where collaborating to ship clean code and deliver business value breaks down due to certain social and behavioral patterns

lack of gender diversity in industry is definitely among the most obvious indicators, but it doesn't even capture the entire brokenness.

are these things unique to software development, or does pretty much every industry have analogous issues?
TrackCourier.io – Track your couriers in one place
Please provide feedback on this app.
http://trackcourier.io
You just have to configure it to do so:

shopt -s histappend
HISTCONTROL=ignoredups:erasedups
PROMPT_COMMAND='history -a;history -n'

See more examples and discussions here: http://unix.stackexchange.com/questions/1288/preserve-bash-h...
Colorful+Metal+Hanging+Wall+Decor,+Butterfly
> "tl;dr: voice assistants only work well in monolingual families where all of the family members have a perfect accent and where none of your acquaintances mind the privacy violations."

Indeed, and "perfect accent" varies from device to device. My wife and I are both from the Atlanta, Georgia area, yet we have distinctive accents; hers is much more "Southern" than mine as I grew up in several different states across the Southeast and Southwest, whereas she lived in the same house from birth to college, then moved back after graduating.

We've found that her Nexus 6 understands me better than her even though she talks to it far more often than I do, and the reverse is true for our Shield TV despite it using the same backend as the phone. She has to try two or three times to get her phone to understand a command, where I can get it right the first time. On the Shield, I will tell YouTube to look for "funny cat videos" and I get "funny hat videos" every damn time, while she gets cats.
> What if they have a MyPoint and your procedure takes a YourPoint?

Then you get early warning that you need to be paying attention, rather than silently corrupting your data by swapping some coordinates around.

> And what if your point is 8-dimensional, anyway, what does that constructor look like?

You don't want an 8-dimensional point literal that takes 8 arguments directly, that's never going to be readable. You might want to use a builder. More likely you want to load it from a data file or something on those lines rather than constructing it directly. Where are you even getting these 8-dimensional points from?

> This has performance implications, not least because of the ABI. And depending on what language you are using, they can be quite severe (good luck if you are using one of those languages that always puts classes on the heap).

In Haskell (or indeed in C) it doesn't necessarily have performance implications; an 8-element structure may have exactly the same runtime representation as those 8 elements being passed distinctly.

(In my experience performance concerns are always overblown in any case. If you have actual performance constraints then profile; if you don't, don't worry about it. Too often performance is used as an excuse)
DataCamp Is Hiring Engineers and a Team Lead in Belgium
Baidu Acquires XPerception
Pesticide is killing gut bacteria in Bees which has led to Bee death.
http://journals.plos.org/plosone/article?id=10.1371/journal....

Pesticide also increases the risk of getting Diabetics. Here is a meta study
"After reviewing 21 previous studies, researchers found exposure to any type of pesticide was associated with a 61 percent increased risk for any type of diabetes. The increased risk for type 2 diabetes -- the most common type -- was 64 percent, the investigators found."
http://www.webmd.com/diabetes/news/20150916/pesticide-exposu...
"New doubts", "people who claim"? That's FUD. Also, glyphosate patents are expired, and can be manufactured without Monsanto permission, e.g. [1].

[1] http://www.made-in-china.com/products-search/hot-china-produ...
Conventions also help.

For instance, the lazy readTVar, modifyTVar, etc. functions have strict analogs called readTVar' and so on.
mapM, foldM, replicateM, and traverse return a monadic value, while mapM_, foldM_, replicateM_, traverse_ and friends discard the return value (giving an m () instead of an m a).
As the other poster said, you need Clover, and then you can use clinfo [1] to check you have everything installed and working.

I can't say for sure what's the latest state of Blender; somebody on Freenode #radeon mentioned a few months ago that Blender is failing to compile its OpenCL kernel, while before that somebody mentioned it as working, but quite a bit slower than with the proprietary driver. I suggest to try it yourself and report any bugs you encounter as blocking [2].

[1] https://github.com/Oblomov/clinfo

[2] https://bugs.freedesktop.org/show_bug.cgi?id=99553
All the ones used in open source licenses? We're playing with fire here.
Attempted to make a shorter version that says most of the important points:

You have already pwned the machine, what disabling history is gonna do to save someone's ass after that?

The hassle of not having a history file every day is a much bigger cost than having it on an already pwned machine, isn't it?

This is why most people don't listen to security experts, instead of educating people in a kind way and making the world more secure most of you like to just point out how bad we are.
I would say, yes -- "do not, or heavily discount, all successful people's advice" -- is advice that is life +EV.

Most successful people are not statisticians, nor drawing their conclusion from a sample larger than, say, themselves and perhaps the few successful friends closest to them, when giving the sort of advice in the OP. Moreover, given how easily humans tend to conflate "What did successful people do?" with "What did successful people compared to the set of people who tried to be successful?", the risk of bad advice is even larger. At best, you're hearing white noise, but more than likely, you're hearing a case of survivorship bias (even worse than white noise).
Forecasting Human Dynamics from Static Images (2017)
3D Laser Scanning: Cropping endless benefits and conquering the AEC industry