skysight-inc/HackerNews huggingface dataset:
We're in the process of addressing discoverability of the crates.io ecosystem, which led to this RFC: https://github.com/rust-lang/rfcs/pull/1824

A quote from it:

> By far, the most common attribute people said they considered in the survey was whether a crate had good documentation. Frequently mentioned when discussing documentation was the desire to quickly find an example of how to use the crate.

Open source projects, in a sense, are like startups: if you want to acquire users, your users have to be able to understand the product! A deeply impressive technical project is, well, impressive, but if nobody can figure out how to use it, it's not going to see nearly as much uptake as a technology that's got a clear and easy way to use it.

There's secondary effects too: a project with a slick website like this makes people take it more seriously. It's less likely that someone who put this much effort in is just going to drop it immediately, though of course, that's not an absolute rule.

TL;DR: developers are users too. Developer marketing matters!
A Testing Ground for Energy Storage in the Shadow of Mt. Fuji
Why is it strange? If one starts naming frameworks, one's blog post would be outdated by the next week.

- only slightly sarcastic.
Climate change expert sentenced to 32 months for fraud
sorry for the rude comment. It's hurting me when someone seems to have copy&paste code without reading it, and is killing mobile experience by that.

To make it more helpful: Would be nice if you could remove "user-scalable=no" from the <meta name="viewport" ...> value, maybe also the minimum and maximum scale. It's not very helpful to limit the user in it's ability to zoom the page on mobile. Some people don't get the overview they needed, others are unable to read the site because they can't zoom in.

So it helps a lot to just remove that limitation.
On being a senior engineer
Ads. YouTube is punctuating every video with ads every few minutes now. It gets tiresome and drives people away.
> The problem is that reducing thickness is a selling point/feature for a lot of people on Apple products, but the compromises made in exchange for thinness cause problems for people who don't value thinness over other things.

Almost everybody would rather have thinness, all else being equal. The new 15" MBP is a pound lighter than the 13" Macbook I had ten years ago, and barely bigger in footprint. The new machine also packs a larger battery and quad-core CPU. There is now way I'd go back to the old form factor just to get back say the optical disk or MiniDVI port.
I'm asking for my edification, rather that putting forward a line of argument, but assuming for a moment that the trades are not so large as to have a direct impact on the market, there would appear to be a great deal of hindsight information available upon which to build a benchmark.

A hedge fund appears to be an investment strategy that compensates for having imperfect information. Why is it not possible to estimate an alpha on the range between the results of a completely naive Monte Carlo simulation ("no information") and the results of a search for the optimal hindsight strategy ("perfect information")? That is, the payoff for the manager will be fixed and proportional to the fraction of hindsight performance that he achieves.

You might not want to peg compensation directly to this, but rather to relative performance against the alpha (compared to other management strategies), but that's more of a salary negotiation detail.

This is the sort of idea that my brain comes up with when I try to think, except I somehow doubt that I am all that much brighter than the average hedge fund manager. I hope I'm not just wasting your time with the obvious, but why doesn't a system like that work?
Also, the following does not work:

USB-C to HDMI -> HDMI to VGA -> Monitor

This forced me to buy a separate "USB-C to VGA" adapter. But with that, I cannot connect my USD laserpointer any more. It's a mess.
It correctly states to be a wrapper for this omdb package:
https://www.npmjs.com/package/omdb
Which in turn uses the omdb API.
Show HN: ClapChat – Instant messaging for HN users
>I've started wondering if I am on the spectrum.

This is an honest fear of mine. Maybe "fear" isn't the right word, but I feel like I exhibit behaviors that would indicate I'm on the spectrum, but they're always intentional and rooted in the idea that I don't want to bother or disturb others.

So I keep to myself, avoid eye contact, and don't initiate conversation if it's for "selfish" reasons. I need an excuse to be social that isn't just "because I want to". If I have such an excuse (like I'm part of an established group, or it's business related, or so on), I have absolutely no problem. Only when the purpose is personal or self-serving do I have problems. Not because I don't want to interact, but because my fear is that in doing so I'll just upset or annoy everyone else. I've been actively fighting this peculiarity for many years (with professional help) and while it's gotten better it's still very difficult. And I think from an outside perspective this comes off as a bit like mild autistic behavior.
How about offering a HTML experience in the first place?

I'm really tired of "HTML" websites that are actually a heap of Javascript writing to a virtual DOM, with only a few references to scripts, most of it being for surveillance (e.g. ad trackers, surveillance for profit with the side effect of it being available to intelligence services via subpoenas, gag orders and secret courts).
> ...the iPhone 4 because of the antenna issue. That model went on to set sales records.

Apple also conceded the issue and gave all iPhone 4 users a free case.
I agree that some sort of back test is necessary to evaluate the strength of his arguments. I am not sure what this back test would look like. Presumably some sort of case study of companies (both successful and not) that apply some or all of these principles. Data collection and validation would be a bitch. Curious if this is commonly done in academic research, possibly sociology or economics (of a behavioral flavor).
I don't know what "less important than many people think" means. It's true that the article suggests people think 50% of variance is explained by IQ, and it turns out that literally nothing in this paper explains even 25% of variance.

On log-wages, IQ explains 30-50% of the explained variance depending on whether you go by figure 4 or 5. It does a similar job for education and welfare usage.

So it seems that if people have any misconceptions, it's merely about how much of the variance in log wages at age 40 is explainable by early life measurements.
None of which, ironically, can match the new MBP in battery life.
The Anthropic Principle (2000)
> The point of doing it all at once was to make it harder for those with untaxed cash to have time to find a workarounds. A longer window would defeat the stated goal entirely.

Lesser than 10% (most aggressive estimate) of the unaccounted income lies in cash. As such, the entire exercise has higher costs than benefits. The idea AND the implement both have no sound reason.
>If you can plug it in, it will work

this is completely false, because alt-mode exists and alt-mode doesn't have to support a fallback to USB-C. Google sells a usb-c to hdmi adapter in their store. If you connect it to a Nexus 6P, nothing happens, because the phones don't support hdmi alt-mode.
Turkey and Russia Want to Unlock iPhone of Russian Ambassador’s Killer (Updated)
As one who is playing S.T.A.L.K.E.R.[1] again lately, this reminds me of the way PDAs are used in that game to track people close by. It's the plot device that allows for a very short term radar-like map. I think it's interesting that this game from 2007, which takes place in the Ukraine and was developed by a Ukrainian developer, is so similar. I wonder if this idea was out there and incorporated into the game, or was in the game and that may have helped the idea along when it was later implemented.

1: An FPS/RPG where Chernobyl was a much larger event and caused weird anomalies and mutants, and people explore this area. The game is based on the 1979 book Roadside Picnic.
i swear all you trolls read from the same exact playbook. "nobody hears about the failures"?

really? i hear about plenty of failures all around me. i see restaurants shutting down left and right. i see people having mental breakdowns, public freakouts, people drop out of school. marriages fall apart, houses get repossessed, stock markets crash, people go bankrupt, even commit suicide.

startups failing and people not getting rich is honestly the least, most insignificant of all of life's failures.

but so what? so just do nothing with your life? never try anything? grow up.
Yup, we could do with a python4 to clean things up ...
If you really feel like reading analysis on the move, check these two blogs

https://ajayshahblog.blogspot.in/2016/11/trumping-black-mone...

https://ajayshahblog.blogspot.in/2016/12/the-demonetisation-...
Same here. As I wrote in this [1] comment, the touch bar being in the way + no escape key + uniform arrow keys = very frustrating touch-typing experience.

[1] https://news.ycombinator.com/item?id=13098257
I like paper and notebooks the best, but I'm using OneNote for work. OneNote is one of those annoying but "good enough" software products that I don't really like, but I'm using it because it's free.
I live in the 20eme right in front of one "Monop". I never go there since I usually find better selection and lower prices in Franprix but I wouldn't exactly call Monoprix "high end" or compare it to Whole Foods. Expensive, definitely.
The vast majority of zoning laws are done at the local level. You'd actually be better off running for mayor of some city. It's much better to do what you're proposing at a local level anyway.
What troubles me more is, How did they come to ban-notes as conclusion considering the economy is mostly underground/decentrealized (ie they dont/cant have the data).

(Observation) India is highly decentralized/resilient. In India, Govt is just a thing. People dont pay much mind to it. They minimize interaction with Govt and bear it when they have to. But this time I think Govt overdid it.
Leaked files reveal scope of Israeli firm's phone cracking tech
When water balloons hit a bed of nails and don't pop
Wearing my architect cap...

There are four types of applications in that respect:

1. always disconnected (e.g. calculator)

2. occasionally connected (e.g. email client)

3. occasionally disconnected (e.g. messaging client)

4. always connected (e.g. trading terminal)

First architectural task I am doing when have given an application idea is its classification using these models.

Each particular case requires its own storage/caching approach. "Offline first" is too broad.
Can I just say, I cannot applaud you enough (nor other contributors to rust) for how much you care about developer opinions and ease of their introduction to the language and subsequent use! I freaking love you guys.
Fundamentally, I think Objectivism is true, i.e., it is correct on all the essential points. Ayn Rand is a lot deeper than people give her credit for -- much, much deeper than the strawman "capitalism = good, socialism = bad". What sold me was her non-fiction writings on consciousness and epistemology (theory of knowledge).

Click around here if you're curious: http://aynrandlexicon.com/book/conceptual.html.
I wonder why crowdstrike is putting out this information publicly. Could it be because fancy bear made a fool out of them with the DNC debacle and now they're trying to regain some respectability?
You are presumably delighted to know that Europe is in fact dying off with only France having a fertility rate of 2.0 (2014) which is not enough to sustain the population. One wonders who's going to be paying those taxes to fund the pensions of the elderly and the other massive liabilities of the European welfare states.

At < 2 replacement rate, the populations of Portugal, Spain, Greece, Cyprus, Italy, Hungary, Slovakia, Romania, Bulgaria just won't be around in a few generations. The cultural identity of Europe will disappear on present trends.
You say ads, I say facebook and snapchat.

Previously, more users would embed youtube videos within facebook and obviously those would count as youtube views. Now facebook has pushed their own videos like crazy taking away tons of yt views.

Second, a lot of the young youtube watchers that would stay there for hours are now hooked on snapchat or various other video specific apps to fill that video content demand.
I really hope that better "Unix with good UI" laptops will exist in the future. Right now, I'd rather buy a 2015 MBP than any of those "Dev Edition" machines.
And it's not just frequent ads. I've seen bizarrely long ads recently - 10 minute ad on a 22 minute video.

There are some ads that I just really fucking hate, and it would be good if YT gave me the chance to block obnoxious ads. A recent set of car ads had a startle noise blare in the 5 second forced watch, so I spent a couple of weeks using youtube-dl to avoid ads.

If you make your living from ads you don't want people like me to switch because I'm mostly ad tolerant.
How Does One Improve as an Intermediate Programmer?
What's the line for a tweet though?

It may start with ISIS alignment (but seriously, if that's what catches a would be terrorist, it's both a pathetic statement of our other law enforcement and that terrorist.) But where does "suspicion" end? Black Lives Matter had a terrorist attack in Dallas, if I tweeted I was near a protest, will that flag me? What if I tweeted that President Elect Trump was "unelectable" as Barack Obama had press conference?
That's because you don't need an adapter to use DisplayPort with TB3 (on the MBP). Just purchase the correct [1] cable; the MBP implements DP as an alternate mode.

[1] https://www.amazon.com/gp/product/B01EZH7CKO/
Decade Volcanoes
I have a fat notebook with lots of pages. I write an index in the back, with a colored "tab" on the edge of the page corresponding with that index item. Any time I make a note about that item - call it "blog post ideas" for example - I mark the edge of the page my note is on with the corresponding index item.

I don't think I'm doing a good job of explaining this, I'll see if I can find an example of this online and link it.

Edit: I did a quick google search and found an example that's similar to what I'm doing. This works well for me:
http://lifehacker.com/mark-page-line-edges-to-organize-your-...
"But where are the pensioners yachts?"
The real thing is, it is important to synchronize with the server at that point, otherwise something could be invalid.

It may not be possible to make every app work while offline. You'll probably want to potentially disable certain features while offline, such as store purchases (or, at least, queue them up, but don't show them as having been successfully purchased)
I, unfortunately, still have a bit of a compulsion for social media, where this has been a growing trend since about June, but it has seeped into my workplace as well.
This makes so much sense. Would have saved me many headaches when developing an offline app a few years ago.
Wait, I thought Columbus discovered 'Murica. (Kidding.)
A friend and I were testing out the huge trackpad. It fully rejected/ignored my palms, no matter how I typed. Impressive! But it didn't reject his nearly as well.

Conclusion: it depends on the shape of your palm, or the sharpness of the heel of your hand.
regex has some dependencies, though.

aho-corasick, memchr, thread_local, simd, utf8-ranges

That functionality would have to be in std.

Regex in std would sure be nice, though.
Standing Desk: Are They What You Need for Your Home Office?
تدخل عسكري وشيك في غامبيا
That case would probably need server synchronization to confirm, but other cases can be handled with operational transformations.

https://en.wikipedia.org/wiki/Operational_transformation
> Why this is never focused on isnt very clear to me.

Not in the interest of those who rule. Whatever you know is significantly affected by what people with money and power want you to know. Despite all the rhetoric about freedom of thought, etc. Knowledge is socially engineered all the time.
Right, so this would be one of the questions with moving it into the actual distribution. All of that would have to be replicated in-tree and stabilized separately...
Going from Zero to Programmer in One Guide
The commenter is female and never once claimed to be upper class. You might try rereading the comment more carefully.
Update on Firefox Support for Windows XP and Vista
This is still very much a 0.1 release. Two relevant bugs to your question:

https://github.com/SergioBenitez/Rocket/issues/20

https://github.com/SergioBenitez/Rocket/issues/14
It's not easy until it is, but it didn't really come naturally to me. Acceptance and empathy are important as my sibling mentioned already, but those are hard things to just "do".

I've been continuously trending toward more comfortable in my own skin as I've gotten older, though I've also actively worked toward breaking down my internal belief systems and assumptions about people, the world and what people expect of me.

I've done that by exploring a lot of psychology, philosophy, spirituality and mind-altering experiences to get out of my own head. I think the most profound effect has been from combination ayahuasca/san pedro plant medicine ceremonies though I don't know how much all the prior work I'd done toward breaking down my ego academically set me up to take advantage of those experiences.

I think the biggest thing that makes people feel uncomfortable in social situations is anxiety and insecurity... which are both just forms of fear. Fear of being vulnerable, fear of being perceived as "less than", fear of being rejected or humiliated by exposing too much of yourself.

These are all things that might not be conscious thoughts, but the underlying signal does come across in body language, intonation and automatic reactions which can make people feel uneasy.

I think the first step is to become more mindful of how you're carrying yourself in social situations, which means focusing less at "succeeding" in a social situation and more seeing about what you can learn from them. How do "successful" socializers carry themselves? How does their reaction compare to how you would have reacted? Why would you have reacted the way you would have and why do you think they reacted the way they did? Eventually you stop thinking about it and you say something you see gets a more positive reaction (like asking an interesting question of someone) and you consciously avoid doing something that probably would have gotten a negative reaction (like bringing the conversation back to yourself for the third time)

Another thing that helps is realizing that other people are in the exact same boat for the most part and they aren't judging you as much as you might think and are much more willing to forgive a fuck up.

Fucking up in a social situation and not being weird can actually be really good since it's an opportunity to let other people feel like you won't care if they say something stupid... it's like an agreed step down of the social threat level.

Alright, prob wrote more than necessary, but soooo bored waiting on this holiday commute.
The glad tidings we refuse to believe
I probably went too far in commingling the power of the state and the primary benefactors of its economic system. Some citizens then use this state-force to avoid providing foreign workers with even the most basic rights. This commingling of state power and economic power just reminded me of the early days of labor struggle in America. [0]

0. https://en.wikipedia.org/wiki/Homestead_Strike
I was just using the locals() to show equivalence. I think I've done that maybe a handful of times in production code, and it was always an already hairy templating situation. Most of the time, I see:

"{} world!".format('hello')

or

"{greeting} world!".format(greeting='hello')

There is a huge value in Python's historical approach of straightforward code built on a relatively small foundation. f-strings are another example of the Python I fell in love with growing up/moving on.
No disclosures to make. I wouldn't say I'm a happy user, but I use those sites the same way I use HN.

I think of them as Hacker News for marketing. Inbound.org is run by Hubspot and Sean Ellis runs Growth Hackers.
GFF – Gesellschaft für Freiheitsrechte e.V
Hey everyone, todd3834 and I have been wanting this for awhile and decided to just start building it ourselves :-) The hope is it makes HN an even greater place to find people with similar ambitions so that we can build great things. This isn't meant to be the next coming of Facebook, it's just a super useful tool we like and want others to use with us.

Main features we think you'll like:
- frictionless signup. You don't need to manage another login combo. Works kind of like Medium's signup, but with less steps
- simple. Button next to comments, easy lookup. We wanted you to not have to think about it to use it
- backwords compatible. It works with people that haven't signed up yet
The ads are getting ridiculous.

The worst is when I go to watch a youtube for an ad (a movie trailer) and get ads for that.
The wikipedia examples are somewhat misleading.

The string "My name is {name} and I am {age} years old" is a plain string. By itself, there is no interpolation:

>>> x = "My name is {name} and I am {age} years old"
>>> x
'My name is {name} and I am {age} years old'

The format function is what confers meaning. This is identical to a standard printf situation, wherein the string "%d %x" encodes a transformation but in and of itself isn't a transformation.

Contrast with the proposal for f-strings:

>>> x = f"My name is {name} and I am {age} years old"
# this is an error unless name and age are defined

The literal mandates a particular interpretation, and the f-string cannot exist outside of that in the same way that the standard string does. Or as the PEP puts it:

> It should be noted that an f-string is really an expression evaluated at run time, not a constant value.
Standing in the Shadow of Giants
We use leap seconds, instead of minutes of hours exactly because mostly everybody can ignore them.

Unless you are doing something very interesting, that relies on some absolute standardized time (ie. not relative measurements) and requires great precision, you'll throw away clocks faster than they will accumulate errors. That's a feature, not a bug.
X3 Python Software Developers and (Visa Sponsorship) at Scurri
> If their elected officials really cared about the people as much as they cared about stopping corruption

All my middle-class Indian friends applaud the move. More significantly, Modi appears to still be quite popular in India.

It seems people resent the black money more than they resent the inconvenience this change represents. YMMV.
I would not put all HNers in one basket, but I have noticed on topics about studies, and on several societal topics that there is a tendency in our community to put hard sciences to the pinnacle, and to overlook the benefits of humanities. The extreme manifestation of this phenomenon is, to me, the SV creed of engineers disrupting the society for the best.

I was lucky enough to have someone show me this, and now I try to spend a fair amount of my time educating myself not only in my field but also in philosophy, sociology, etc. I am happy to discover these now, rather than after a life of making things I would regret.
Seriously. Just switching to memory safe languages would be the single biggest reduction in software vulnerabilities you could achieve with one decision.
What does "got bit" mean?
Windows? Last I checked, the max is 100%. Pegging 1 core of a Core i7 shows 25%. Probably a more consumer-friendly way to measure. But 400% sounds cooler.