skysight-inc/HackerNews huggingface dataset:
I've always thought about sending one of my larger projects to commits.io so I could frame it for rememberance. Privacy is not the main reason I hesitate - it is the fact that other ruby programmers will look at my code and laugh at how 'Pascal' I make it look (I cut my teeth in Pascal >30 years ago).

But serious question - is there an ideal code size that works better on a poster? My app is broken down into several sub apps - some with only a few hundred lines of code, and some with 20,000+ lines. Obviously the more the merrier, but I was wondering - could you filter out only, say, the .rb files for the poster, and ignore the billion .js library files that I didn't actually write myself?

And, final question - do you ever look at the end result poster for a customer and shake your head thinking "This guy shouldn't be allowed near a computer!"... :)
1. Bore a second (longer) hole at an angle 45° above the ground to meet at the existing hole at the end. The dog walks out.

------------------------ ground
| ⧸
| ⧸
| ⧸
| ⧸
| ⧸
| ⧸
|⧸

In the meantime, lower a long hose with a GoPro on the end into the hole to provide a stream of water and examine if the dog is hurt.

2. Ask the fire department for ideas?

Some ideas from a Reddit thread about getting a small object out of a deep hole [1]:

3. "Could a hose with vacuum pressure grab it?"

4. "Right now, we are thinking about making our own 20' version of the "grabeasy". Basically a long pole with bent wires coming out the end which will grab like a claw when you draw them in."

And from a pets.stackexchange thread about getting a cat out of a hole [2]:

5. "The safest interactive way for everyone is to use a live trap, and lower it down for the cat to go in and be lifted out."

[1]: https://www.reddit.com/r/needadvice/comments/2x94fh/how_do_i...

[2]: http://pets.stackexchange.com/questions/8171/a-kitty-fell-do...
Renewable energy sources suppress nuclear energy in affluent nations
You could dedicate your resources to actual detective work instead of wholesale dragnet operation in the hope that something useful turns up. Makes for good security theater though.
That's exactly what I had in mind but I didn't want to sound like a butter commercial XD

I grew up with it and I'm baffled by what passes for butter in the American market. We probably spend twice as much on food as is average for the amount we consume, but it seems both tastier and healthier. Part of why I have negative opinions of capitalism is the inescapable fact that the baseline of food quality is so bad. The most popular and well-known food brands, which take up the most shelf space in most supermarkets and are thus the default choice for many consumers are just awful. They're somewhat-to-direly awful nutritionally, they don't taste good, and many people are so conditioned to sugar and artificial flavors that they find real food weird at first.

I feel like this is a serious social problem. What seems like a large majority of Americans don't know how to eat well and this causes all kinds of second-order problems - not just things like obesity and diabetes, but things like criminal recidivism too. The idea of nutrition and healthy eating in prisons is treated by most people as a contradiction in terms, as if diet didn't have any impact on self-control, learning ability and other factors that are likely to impact future behavior. (This is sadly far from an exclusively American problem.) When people aren't properly nourished they under stress and when they're under stress they make poor decisions.
In their FAQs they say they generate 1kW.
You can emit stats for time and # of instructions changed by each pass. gcc certainly does the first, don't remember the second.
Well, like it or not, the term "Serverless" has been adopted by the industry/community and refers to an architectural approach of leveraging 3rd party services.

See https://martinfowler.com/articles/serverless.html
I initially upvoted this but after clicking through realized it was about older research from 2014.

Here is the new-and-improved version from the same research group that was published just a little while ago:

https://www.seas.harvard.edu/news/2017/02/long-lasting-flow-...
http://pubs.acs.org/doi/abs/10.1021/acsenergylett.7b00019

Most battery research stories aren't significant. Either they are very minor improvements on past technologies, they require excessively rare elements, they require nanostructures with no clear path to industrial scale manufacturing, or they have poor lifetime. (Those objections weed out about 90% of battery research papers.) This Harvard group is one of the few publishing research that passes all those "meh" filters and actually interests me.

Another actually interesting battery chemistry:

http://www.pnas.org/content/114/5/834.abstract

"High Coulombic efficiency aluminum-ion battery using an AlCl3-urea ionic liquid analog electrolyte"

Ok lifetime, good efficiency, super abundant and cheap materials. This would be great for large scale grid tied storage if they can boost the lifetime a bit more.
Not unix, physics.

Physical access means you can directly measure things that would otherwise be secret. Nothing stops you from reading the contents of memory wholesale, for one simple example.
> …repeated massive disclaimers that people should not take the performance results as a means of serious comparison.

Actually one small disclaimer --

"Non-motivation: We are profoundly uninterested in claims that these measurements, of a few tiny programs, somehow define the relative performance of programming languages."

There's much more about PL benchmarks in general.
Part of my brain briefly considered the possibility that this was an article analysing the dynamics of Twin Peaks:

https://www.youtube.com/watch?v=7uxQjydfBOU
No car company on the planet, that I'm aware of, makes air conditioners, as one example. Nor do they make things like brake pads, brake calipers, radiators, headlights, I could go on and on. All these things are outsourced to suppliers. There aren't that many suppliers, and the suppliers pretty much all serve multiple automakers each. So lots of Japanese makers (probably all of them) use parts from Denso, for instance.

It's not that much different from laptop computer makers; there's a bunch of them, all with slightly different designs, but they all use CPUs from AMD or Intel, they all use optical drives from 2 or 3 different companies, they all use memory from a few suppliers, they all use LCD screens from a few suppliers, etc.

Another thing to consider is patents: take a brand-new car apart, and compare it to one from 1996. You'll find a lot of stuff really hasn't changed much (now compare the '96 car to a '76 car, and you'll see a lot of gigantic differences). A lot of stuff in the auto industry has become very mature IMO. Obviously there's a lot of new electronics in new cars (things like lane-keeping assist, radar cruise control, blind-spot monitoring, etc.), but many things look exactly the same: suspensions are about the same, brake systems are identical, the moonroof in my '15 isn't really any different from ones in cars from 10-15 years ago, etc. Patents only last 20 years, so a lot of stuff has probably reached a "good enough" level and the patents have all run out, so companies are probably just doing a lot of things the same way because it's been found to be optimal.
Is this data science? This is the process for being a good BI/Marketing/Web Analyst. I use a variation of this process, but I've never really considered this to be what Data Scientists are meant to be - I always saw Data Scientists as being more specialized in statistics and algorithms, with less specialization in domain knowledge and stakeholder communication.

If someone needs to improve their conversion funnel and help with segmentation and reporting, they need an analyst. If you want to build an algorithm to determine what content is shown to each customer when they make a request, you need data scientists.
Using a matrix as an exponent isn't any more comprehensible than an imaginary number to me. If it works for you, that's great, but it's not much help to me.
> a series of processes - which can live just about anywhere, with only clearly defined interfaces to shared state.

So, a server with an API. Gotcha.

Edit: downvotes? how is what he is describing any different to that and anything else other than a buzzword? Doesn't AWS Lambda just run your processes in an ec2 instance?
Someone like that who suddenly starts using encryption is a major red flag. Fundamentalism, tactical training and a keep interest in prior attacks aren't enough to single out someone who's preparing an attack, but someone like that who went off the grid, started using encryption and just maxed out his credit card needs far more attention than someone spreading have from their basement.
It's not just downloading. Websites come with css (not that big of a problem) and JS (big problem). All that has to be processed by the browser. I found that websites sometimes pull css and js bundles (as in whole ones, even over 20kB ones), even from some other servers. Just the other day i tried a website on my aging smartphone and it sometimes took over 20 sec just to write a character (one) in the search thing.

The average website on teh internets, in my opinion/experience, is bloated to hell. And i'm not talking about functionality here.
And I'll third it! As an Irishman living abroad I find most local butters extremely tasteless. Luckily it's not too hard to find Kerrygold in most supermarkets in the UK.
> That's also an example where trying to model the strict reality (having no known name) might be worse than just using a workaround in a simpler model.

A bit of an orthogonal example to the thread, but I ran into an issue like that, with a solution that worked just like you described. I was using msgpack in Python 3 to send data to the browser in JSON format.

msgpack in Python 3 decodes into bytes, as (hopefully) expected by Python 3 users.

Except the data was somewhat arbitrary in terms of how it was organized or what was included (but was predictable in type), so decoding it was a bit of a pain. The problem of course was that my strings were wrapped in b'', and that was being sent to the browser, causing the JSON parsing in the browser to fail.

My first two attempts were recursive algorithms that would try and decode strings and skip everything else (we only worked with strings and numbers, or lists of strings and numbers, hence "predictable in type"). Both times it almost worked, but didn't. Even with predictable types of data, I had to try and cover a number of edge cases.

The solution that ended up working 100% of the time in my particular case was just using regex to remove the occurrences of b'' from a string version the object, then send that as JSON. Looked like an ugly hack, and probably was, but it damn sure worked like a charm. It was much easier to just ensure I built a valid dictionary before encoding it with msgpack rather than try and "properly" decode all the strings after decoding it with msgpack.
California excludes IP that:

> Relate at the time of conception or reduction to practice of
the invention to the employer’s business, or actual or demonstrably
anticipated research or development of the employer

For google, that's pretty much all software related projects.
It's an economics term. https://en.wikipedia.org/wiki/Rent-seeking
They say they're free from suffering, maybe they are, maybe they aren't, but they can't tell me how to repeat that in a way I can reproduce for myself. Which is my entire point. Maybe something worked for them, but won't work for me or vice versa.

Results that can't be replicated and aren't predictive aren't really results at all. Not in a logical or meaningful way. They're just claims. Bizarre and baseless claims.
Physical intrusion detection can be defeated. All it takes is one person to open it up to document where the microswitches are, and a careful bit of work with some tin snips and you're in.
Blood tests for diseases tend to have a much higher true positive rate as well because of substantial higher incidence rate of diseases for which simple blood tests exist than terrorism, besides that the cost of a false positive isn't that high (you just order another test to improve the odds, roughly at the same cost level as the first one).
That's a good point. You can get around Tel Aviv while only speaking English, but perhaps not so much in the north.
Yep, if it weren't for that, GM would probably be out of business now. Too bad.
this is such a good idea, it works well in the summer too
The Church beat you to that one by about two millennia.
>I want one, and please, keep on spinning.

Really? When they first came out I figured they were tailgating on inception, but it's been a few years and they're still around. What's the attraction?
One component of butter, butyrate, has been shown to have many health benefits. See e.g. [1] (not endorsing this reference, I just link to it because it was easy to find and it references a lot of relevant literature).

[1] https://selfhacked.com/2016/05/07/health-benefits-butyrate-d...
Also, threat models are important here...not everyone includes needs to include the five eyes as your threat model.
Thanks, I wasn't aware of this. Though to be honest, I am not exactly convinced. Calling HTML federated seems a real stretch. My browser doesn't have to talk to other browsers, just servers, and those can speak many languages. The network effects are really _very_ fundamentally different.

The reality is that, no matter how much I wanted xmpp (and google wave for that matter) to succeed, Signal (and if you are willing to trust the closed source client WhatsApp) are the only ones that did.

And that's even though XMPP preceded Signal by a decade. The argument that a good federated user experience is possible in principle starts to sound a lot like talk about "sufficiently smart compilers".

Let's grant it is true that we don't have sufficient resources to update a host of different clients to use all the extensions. So then it still seems that in a resource constrained environment federation is not feasible. Open Whisper Systems managed to get encryption on a billion devices with a team of three people. The idea that it only succeeded due to a resources advantage (rather than fundamentally different trade-offs) does not seem very plausible.
I'm having similar problems understanding your post as I do with understanding his writings.

This discussion would have probably been a lot more productive if either of you defined what in the world do you mean by "love"/"true love", because you're using a lot of the emotional load typically placed there to define concepts that seem to be different.
The previous discussion of this topic went with Replacing butter with vegetable oils does not cut heart disease risk (2016) even though the title of the Atlantic article was Is Vegetable Oil Really Better for Your Heart?

https://news.ycombinator.com/item?id=13632116

The Quartz article, which was apparently posted today, talks about research published "this week", but it links the same research article from April 2016 as the Atlantic article.
It's serverless in the sense that you (your entity, company, whatever) don't have to admin any servers to make it work.
Sure, but even still, if I'm seeing valid traffic with this, then on its own it isn't sufficient to use as a filter.
to think Woody Allen had it right with Sleeper. (movie where some previously bad foods/habits were good for you, and no I am not serious)

A lot of past recommendations were likely co-opted by whatever the industry was starting to push. Plus there was a tendency to focus on one issue to the point of ignoring side effects of correcting it.

i have been a fan of natural fats for a long time and never have cooked with fats other than animal, butter, or olive/avocado oils. I find most distressing are store bought salad dressings and any mass market vegetable oil. Sure it has its place, shortening is an absolute for some baking but the prevalence of it in about everything else is uncalled for.

Yet at the end of the day I always wonder, how do our genetics affect us? Smoking is bad yet lung cancer does not require it and there are smokers living to ripe old ages. Same for some old standard foods that current dieticians bemoan but I remember as staple of grandparents.
>password

Typo? or Freudian slip :)
Infographic: 10 Truths About Deep Learning
It does seem silly to inline all the external resources but not remove the comments.
"Each returned URL is unique and valid for a single usage, under the specified conditions."

Where and how is the url actually invalidated after it is used? (or are you relying on expiration as invalidation?)
So this is pushed by DRM freaks, who dream about censoring everything, and making others pay for this abusive policing.
>That isn't an example of what we are talking about and you should know that. If they can't enforce things as they do now, they'd need to block domains/firewall a la China.

It is exactly what is being talked about. Countries impose their laws on companies operating in their jurisdictions. Sometimes even on organizations that are outside of their jurisdiction as well. E.g. the pirate bay. https://en.wikipedia.org/wiki/Countries_blocking_access_to_T...

The internet is already a mix of legal jurisdictions and you can face legal consequences for your word press blog in some random country.

>You really are missing the point. You are talking about one off transactions of a substantial dollar value and not short-term online accounts with values measured in pennies.

Cold medicine costs seven or eight bucks, but you still have to present ID to buy it. Regardless, your complaint reinforces the fact that there are business models that are only profitable because they can externalize the damages they cause or divert profits away from those who deserve the profits of a particular work to themselves as a service provider.
Now put that camera in your trouser pocket. I bet the difference is like night and day, too.

"The best camera is the one you have on you" has made those larger cameras lose out on smartphones more and more.
Ask HN: What is best 3rd party authentication for developers
I need to integrate 3rd party authentication to our API product where developers can sign up. Should I use google or github or own Oauth. Issue with google is developers from china can't sign up. For github, I don't know if I can always get email to reach out to developer later. With our own Oauth, we will need to manage passwords etc. What are your thoughts?
One might go so far as to conjecture that the FBI hopes people will see this and think exactly that.
What happens when you dump the App Store?
It's serverless because you (your entity, company, whatever) don't have to admin any servers to make it work.
You leak your secret key to every user who can view that page.
No email confirmation received from GE Predix development registration
No email confirmation received from GE Predix development registration.

Myself and Our team had signup for Predix Developer Account with all the required details and we got confirmation page.
But it's been 3 days where we haven't received any email with login details for our Predix account. Did anybody experinced the same?
Former Magic Leap Exec Sues Company for Sexism/Misleading Marketing
There is quite a bit of evidence to support that a diet rich in animal fats, and poor in vegetable oils has many advantages, including higher HDL cholesterol, lower LDL cholesterol, and improved thyroid function.
This seems like a much more concrete perspective than anything I've seen in the article. Is it derived from Krishnamurti's teachings or something of your own?
allegedly murdered

"Murder" is a legal term for a jury to decide. "Homicide" is appropriate and encompasses legal, illegal, and accidental killings.
From the article:

"Campbell also raised concerns that what Magic Leap showed the public in marketing material was not what the product actually could do—admonitions ignored in favor of her male colleagues’ assertions that the images and videos presented on Magic Leap’s website and on YouTube were “aspirational,” and not Magic Leap’s version of “alternate facts.”
Former Magic Leap Exec's Lawsuit Accuses Company of Sexism, Misleading Marketing
And you illustrate the smug unhelpfulness of the falsehood lists at their worst.
Yep, and many times we end up with lousy products despite all this work. Case in point in the xkcd comic: the switch on the lamp cord. What an utterly idiotic idea; it's only done because it's cheaper, not because it's better for the user. In fact, I'd assert that lamps, in general, have some of the very worst product design for any class of modern product. They haven't improved substantially in many decades. We have amazing LED lighting now (as seen on the headlights of new cars, both the DRL systems and also on some cars which use LEDs for the main headlights), but our table/floor lamps are still unchanged from the 1950s, designed around the ancient Edison bulb, with horrible user interfaces (switch on cord where it's hard to reach, or switch next to bulb where you have to stick your arm up inside the lampshade and try to find it in the dark).
Strange, seems like it should do that with a loop.
Wait a moment, they have a Falsehoods series on all sorts of subjects. The Fake News fact checkers are going to try globbing on to every niche they can...
The real win here is clearly that abomination of a GoPher
Huh? All Google native apps use Android's account syncing, which definitely supports using Authenticator for U2F. I'm confident it's also possible to implement it on other apps, although it's a matter of those app developers doing so.
Fukushima-radiation-causing-epidemic-dead-and-starving-sea-lions-california
> My highschool civics class had a project to create a terrorist checklist

What the hell?
I had very little luck trying to set this up, and it required me to switch to a different second factor authentication that ended up complicating my life for everything else. Do Not Recommend.
Let's put it like this. The main benefits of self-inquiry are not tied to one school of thought. To observe the change in ones thoughts and senses with equanimity does not require anything from old scriptures.

The reason Hindu/Vedantic systems and other systems of spirituality have extra merit is not in what they teach per se, but in the sense of pleasure we get from their poetic expression, and from feeling connected to other practitioners.

That's not to say schools of spirituality have no merit, they do have merit as a social construct, but in terms of self-exploration all you really need is the basic technique and some time to do it.
I have to wonder how common this is of it didn't raise any red flags.
Perhaps you are scared by fundamenralism. So you get tactical training, use encryption because you hate "big-brother", and anonymize your IP... Then because of your fear you research prior attacks.

I'm going to argue that's at least a tens of thousands of people if not many more. A lot of apps are implementing encryption (tens of millions of users), millions of Americans have tactical training, plus most Americans are interested in attacks.

Seems like this list doesn't really narrow down the suspect pool to meaningful numbers. More like, it makes it seem like people made this list to seem like they were doing something.
Was this bill reintroduced? It looks like this is from last year and died in the Senate.
There's a trick to make it even faster - serve from a CDN closer to the testing server :-)

https://tools.pingdom.com/#!/sNNVG/https://josharcher.uk/cod...

vs

https://tools.pingdom.com/#!/dSNHcL/http://jacquesmattheij.c...

I enjoyed this post the last time it came up[0] and learnt a few tips from it. Particularly interesting was the difference making CSS inline made, even for reasonably large amounts of CSS.

[0] https://news.ycombinator.com/item?id=9995529
As with "hackers" vs. "crackers", I suspect this little terminology war is already lost.