skysight-inc/HackerNews huggingface dataset:
In every introductory python course tuples are presented as just immutable lists. However a "more accurate" way of describing tuples is if you think of them as records with no field names. When you see tuples as records then the fact that are inmutable make sense, since the order and quantity of the items matters (it remains constant). Records usually have field names and here is where namedtuples comes in handy. Also helps to clarify what the tuples wear (see https://youtu.be/wf-BqAjZb8M?t=44m45s), just 2 minutes clip. If you are thinking why don't define a class, I will tell you a couple of reasons:

1) You know before hand that the number of items won't be modified and the order matters since you are handling records. So it is a simple way of accomplishing that constraint.

2) Because they extend tuple they are inmutable too and therefore they don't store attributes per instance __dict__, field names are stored in the class so if you have tons of instances you save a lot of space.

Why creating a class if you just probably need a read-only interaction? But what about if you need some method? Then you can extend your namedtuple class and add the functionality you want. If for example you want to control the values of the fields when you are creating the namedtuple you can create your own namedtuple by overriding __new__.
At that point it is worth it to take a look at https://pypi.python.org/pypi/recordclass.
Netscape as a company owned by AOL pretty much died during the process of the rewrite. Although parts lived on in the Mozilla foundation.
Wow, this is nice, giving a different view to HN.

Perhaps 3 columns on larger viewport?

Good work!
This was exactly what I was looking for. Excellent.
Some chromebooks come with a big hd or ssd. But nobody seem to buy them
ASUS Announces Swift PG27UQ 4K IPS 144Hz G-Sync HDR Monitor
I use and it works for me. But I have a personal "trade off" to when I should use the system.

As you know, the system lives around the idea of tasks taking 25 minutes or being able to break down into chunks of 25 minutes. If you try to fit this in your current workflow, you will easily feel overwhelmed.

But the trick (in my opinion) is not using this on everything because not all the tasks, like meetings or group tasks, will fit this method. But rather use this only in a small block of the day (2-3 hours), where you can be more quite, to tackle all the tasks that have little or no dependency on other people.
In some cases it is against the law. Spam only wastes our time and tiny fraction of money - it's literally just companies being assholes. And it's been declared illegal. Same for phone spam.
I do still think that you are comparing apples and oranges here. Racism, xenophobia and apartheid are things that exist on totally different level from "subtle privilege of having western-sounding name on facebook" or other perceived micro-oppressions. I am not saying that "privilege" is a thing that exists and is discussed only in the west, rather I am saying that the things that do exist in the west are not worth the amount of attention they are getting.
MapSwipe – Every swipe helps put families on the map
Random thought: the more deep learning is used in training, the less humans will be able to retroactively explain decisions; this surely has liability implications
It knows ls, but there are a lot of UNIX commands it doesn't and it isn't a true implementation, but an alias for running Get-Childitem.
http://knsv.github.io/mermaid/live_editor/
Something nobody's written about or investigated that publicly is profiling/local blocks.

The gov places blocks on whole regions like Tibet/Uighur areas regularly, but I also believe that they have profiles down to a very granular level on which router/IPS has what level of trust. Public wifi is often unreliable for loading foreign websites or connecting to a VPN, whereas big hotels or my home wifi can be fine. I'm 80% sure this is real and not imagination :)
It's not going to change that. No matter how efficient you make the JS engine, crappy JS will still steal all your ressouces.
The whole Google approach is herding people into a ecosystem where Google controls everything including your data which is mined aggresively to build profiles which in turn makes total surveillance by state actors a cinch.

That they continue to use Linux to enable this dystopian control is the biggest irony. There are all sorts of security and encryption technologies in use which perpetuate an illusion of security but these technologies are used to further their access and control not yours.

It's so sad that the android, google and arm ecosystem make x86, Intel and Microsoft look open and positively lovable. If they had followed the Google lock down approach we won't be able to install or use Linux on x86.
If performance is not competitive, it will not be much of a success story, but it will be more interesting to see how much better it will be in terms of security issues.
Spanish translation: http://jacereda.bitbucket.org/6502facil/
I tried for hours to mess around with a simple deploy from github to EB or even a plain EC2 instance.

In an Azure web app it took me five mouse clicks and 10 minutes of research and learning.

We happily update master and don't even waste think cycles on what's wrong with the server or deploy config.

It just works.

Why can't AWS make it that simple.
it is responsive. IF it does not fit your screen try pressing [ ctr + - ]/[ mac + - ] one or two times. I don't want to rescale images, because on such long list have an impact on scrolling. That's why I've decided not to allow them to rescale.
you can contribute back to this project. Will be on github https://github.com/valentinvieriu/visual-hacker-news
> And ChromeOS is pretty well established for what amount to modern netbooks.

In USA, abroad not really.

In Europe, Windows 10 is the synonym for modern netbooks being sold at consumer stores.
If I Were the CEO of Apple
As a charity with hundreds of millions in revenue and employing over 1000 people I'd call Firefox and Mozilla pretty successful.
Thank you. Hope you will use this on a daily basis
What your Birth Order reveals about your Personality
Yup, static page generator + github pages is the best way to do what you're wanting to do.
Living close to major roads linked to increase in dementia risk
Hi, great idea! I was wondering if you have plans to save the scroll position when transitioning back from an article's comments. It can definitely become my default HN client.

Edit: oh never mind, it's working now. Weird.
Type and Effect Systems (1999) [pdf]
Worst Abuse of the Rules (IOCCC)
12 Christian Personal Development Podcasts You Will Love
> KHTML (the origin of webkit and blink) was started in 1998, only a year after Gecko. Of course, probably not much (if any?) of the original KHTML source is still present in webkit

At least this part is still there: http://www.hanshq.net/roman-numerals.html#khtml
Medium looks great, is easy to work with, and blog posts are easy to migrate when you need to. I would start there at least until you get your project off the ground. If you reach the point that it's worth putting more time into your blogging you can look at alternatives.

I certainly wouldn't use Github pages - it's just as centralized/non-FOSS/etc., but more work and tends to look less good. Wordpress gives you self-hostability but means you're running on PHP. In the long term I'd hope for a sandstorm-based self-hostable blog that's as easy to use (and looks as good) as Medium, but I'm not aware of such a thing existing yet.
Mastodon, free, open-source social network server
You can install GalliumOS on an existing Chromebook[1] today and run Linux natively (which it does surprisingly well).

[1]: https://nickjanetakis.com/blog/transform-a-toshiba-chromeboo...

For $100 less than the Samsung model listed in the Google blog post you get a 128GB SSD and a 13" IPS 1080p panel. Sure you lose the touch screen, but for a development laptop, I'd much rather have the HD space and 1080p resolution on a great display.
I was blogging on Posterous and had some articles ranking nicely on Google, until one day Posterous just shut down. From then on I decided I want to be in control of the domain where my posts live.

I realize Medium gives you discoverability, but so do some other places (posting to LinkedIn, text posts to relevant subreddits etc.) so I would suggest cross-posting to those after posting the link to your own site and adding it to webmaster tools so it will get indexed first.
Is the Chinese Language a Superstition Machine?
How artificial intelligence techniques are aiding the hunt for new drugs
I agree with this, BUT.

I think when we say "audience", it can mean different things.

For example, Medium has potential to bring a huge "instant" audience, but there's a difference between instant audience and long term audience.

I just went and took a look at all the large open source projects, and they all have their own blog on their own domain. AND, what comes next is important. They have:

1. RSS feed button

2. Link to subscribe to the blog via email

I think these are important in the long term if you are thinking about looking at your open source project from a long term point of view. Medium may give you instant traffic, but most of them don't really care about what you have to say.

Whereas having your own custom domain with a way for people to subscribe via RSS or email will give you a long term audience who are actually genuinely interested in your project. And with those formats it is very likely that your message will reach them, compared to medium where it may just flow away from their timeline without them ever noticing.
I think MZs attempts to learn Mandarin, his visits to China and his 'courtship' of Xi during the US state visit made a lot of people think that he was desperate to get into China and wasn't too concerned about the implications of that. The impression is that the only reason Facebook isn't operating in China under a cooperative censorship regime is because China doesn't want FB (rather than because FB refuses to censor/cooperate).

Rumors for sure, just answering your question.
It was better 2 years ago (with caveats) - https://www.phoronix.com/scan.php?page=news_item&px=MTgzNDA

But there's definitely place for speed gains due to multithreading.
Unfortunately the new title seems to be misleading in a different way. There is no "project to replace gecko with servo". There is a project to advance gecko so it is state of the art in browser engines. Much of the current state of the art has been developed in Servo, and the natural way to bring that technology to gecko is to integrate the components from servo directly. This has other nice properties like increasing the Rust-to-C++ ratio, which we believe will be a win for safety and maintainability. But it is nevertheless components, rather than the whole shebang. Servo, for example, only just got document.write support and still (as far as I know) doesn't have a correct representation of document history. So it is some way from being a production grade engine for use on the general web.
I wonder if anyone buys chromebooks at all in Europe, given that I only see them as single unit being victim of whatever promotion of the week, until eventually someone takes that thing out of the store.
It wouldn't improve benchmark performance, which is what C compiler writers care about. And at this point in time any programmer who wants that kind of behaviour has probably moved on from C.
Barbie Typewriter Alphabet Substitution Cipher
I tried to work all day in a VR headset and it was horrible
The specs in the Best Buy link seem...implausible?

1. Is there really such a thing as an ARM-based Chromebook with Intel HD graphics?

2. It says it has HDMI output, but doesn't appear to have an HDMI port?

3. It says its USB ports are compatible with USB 2.0 devices, but all I see are type C ports. Also USB 3.0 does not "maximize the latest high speed devices."

Are the Best Buy specs just crap?

http://www.bestbuy.com/site/samsung-plus-12-3-touch-screen-c...
But what proof is there that their adjustments covered every possible cause? I would suggest this is by definition impossible, since if we knew every possible cause for dementia, we would not need to do the study.
> His stubborn view on functional mechanisms

Reference, for a non-Python dev who hasn't kept up with it?
6 Hours of Bliss (after the release of curl 7.52.0)
Meaning: Ember doesn't have a big company actively spending money on marketing, like Angular - Google and React - Facebook.
-Werror used to be the way to go, until compiler writers decided to add warnings for idiotic reasons.

Like 'confusing indentation' or 'unused static const variables'.

Seriously, these two are completely idiotic; why would the compiler decide that the fact I don't have a blank line 'might' be confusing? on whose criteria?
Same with static const variables in C files. Lots of code is often #ifdef in/out, and lots of people would rather have a static const int than a #define!
A lot of the time non-optimized builds are fine. Unfortunately C (or rather C implementations) advertise the opportunity to make your code "as fast as possible" assuming you haven't made any mistakes, and too many programmers think "of course I want my code to run as fast as possible, and of course I don't make mistakes".
10.5 Lessons for Entrepreneurs
Also 12.5" instead of 10", which I found very cramped.

Also, smaller bezels :)
I'm sure you didn't mean it that way, but that sounded a little bit sexist.
I see the idealism in your post and I agree with you 100%. 100%!

But every time I got to my grandmother's she has a thousand "default search ad engine this" and "ad injection improvement that" extensions that I need to remove. Those search engines have exactly the same homepage as google, to the colours, except the logo is square, not round. There is no way she can know.

It might just be they ran the numbers and my grandmother's not the only one.

I think maybe, just this once, reality should trump idealism. Let's keep a very close eye on them. But for now, "I'll allow it."

Ps: I know that "if there are unsigned extensions on your computer, you have bigger problems", but it's my grandmother. Security is a moving target, this is the step we take in Jan 2017. If it keeps her safe for a month, that's fine with me. We'll see how the malware adapts in Feb, and react accordingly.
Chrome has been going this route for a while now as it was getting so much flak for poor performance, security issues, etc. that was actually because of maliciously installed extensions. Their only option was to only allow extensions installed from their store which allows them to review the code and sign it before allowing it to be installed in the browser. All the other browsers (Firefox, Edge, etc.) are going the same/similar routes too (Firefox allows you to install from outside the store, but it has to be signed by going through a review process).

And they've been progressively making the developer mode harder to use as a backdoor for malicious extensions to install themselves, by only allowing them to run for the duration of the session. Firefox was actually the first to do this. And this is why the Extension is being 'removed' between sessions.

What is more interesting is why this particular extension was removed from the Chrome Web Store - It looks to be a fork of uBlock and lots of other Ad Blockers are still available in the store. So why is this particular one not allowed?

The only reason I know of that extensions have been removed from the store is if they violate the Single Purpose policy (https://developer.chrome.com/extensions/single_purpose) and normally only if they are doing something malicious (e.g. Claiming to be an extension that blocks ads, but actually also scraping data, injecting ads, or something like that). I know this extension is open source, but has anyone actually reviewed the code to make sure it isn't doing something malicious under the hood?

Edit: I looked at what AdNauseam does differently to normal Ad Blockers and I think where it is running afoul of the Single Purpose Policy is that it both blocks Ads AND clicks all the Ads. Now Google could be banning it from the store because it does 2 things and they should split those out into 2 separate extensions, or they are banning it because it is basically a means to commit Ad Fraud (fake clicks is a massive problem in the Ad industry). And blindly clicking every ad on a page doesn't seem like a safe thing to do personally...
Very interesting. A couple of thoughts:

1. How about automating harvesting? The article suggests that there is a fairly sizeable unskilled workforce, potentially involved in harvesting, packing etc. I think I read elsewhere that the costs involved in this are relatively low and that there might be little cost benefit in automating. However, an automated solution could potentially have other benefits, e.g. opportunity for a "pick on demand fresh for me at the time I schedule" option, e.g. via an app (assuming automated inventory etc.). Going one step further, if you had automated planting, pruning etc. you might even be able to create "black boxes" which would in effect be fresh produce vending machines.

2. Does this scale to larger perennial plants, e.g. fruit trees? If vertical farming is only viable for salad greens (where you harvest pretty much the entire plant and then start again), not just from a cost perspective (value per kilo of produce, frequency of harvests, space occupied by plants, etc.) but also from a practical perspective (e.g. does aeroponics even work for trees - a quick read of wikipedia is inconclusive) then it isn't going to make the world a better place.
Which can now see behind corners, underground and over terrain. Magic, I say, pure magic!
Would one simply stop if one were to encounter a intersection that has flesh-and-bones policeman directing traffic (like 'hey there's a meatbag on the road better stop')?
I don't know how to say this in a civil way, so I won't: Please take your sexist bullshit somewhere else if you can't behave like an adult.
Hehe.The bug is only for the first time. I cannot figure out why. When you are doing this second time, keeps the scroll.
Actually was not a trivial issue. It's quite a hard on to do on a infinite scroll page.
"Is there anything in math-driven jobs that inhibits approaching topics without trying to mathematize them?"

A hangover from logical positivism - in a nutshell, the dogma that any statement that is not falsifiable through observation is actually without meaning.
And the answer is an obvious no, not even close, with the current state-of-the-art in deep nets. I could forgive an opaque model if it actually performed well.
Yep, it hits 100% complete and sits like a lemon for another 5 seconds before displaying anything.
Basically this. Even though there isn't one particular cure all solution, there are many more treatments available which are more effective than in the past.
Tech trends we can’t wait to see in 2017 as a design team
Top programming languages learn 2017
Care Revolutions (YC S16) Is Looking for a Director of Supply Operations
Healthcare cost represent 17% of US GDP. That’s 3 trillion dollars! A large portion of that is costs associated with medical doctors, nurses and healthcare staff in general. The world of healthcare staffing is dominated by telephones, fax machines and paper calendars. We’re building a future where the people who work in healthcare are better managed and are empowered to be the healers they want to be.

Care Revolutions (YC S16) is a marketplace for healthcare staff. More than 70 medical centers in the San Francisco Bay Area and in Los Angeles find highly specialized nurses on carerevolutions.com every day.

Care Revolutions is funded by an extraordinary group of angels including YC partners and alumni.

We're looking for a very specific kind of person to join us as a Director of Supply Operations.

- you have a self-starter mindset, grit and motivation
- you like to work independently, in a remote team
- you’re open to designing your own job as the company’s needs evolve
- you’re a cloud and collaboration tools native, that means you’re comfortable with all google products, dropbox, trello, slack, etc.

What you’ll do:
- take responsibility for managing the entire onboarding process on the supply side of Care Revolutions
- forge trust relationships with Medical Professionals
- decrease the time from sign-up to first shift
- scale the onboarding of Medical Professionals nationwide
- ensure Medical Professionals are compliant with State and industry regulation and with the Care Revolutions Trust and Safety standards
- track data to provide user-based product and marketing recommendations

Our current team of 5 works remotely. We still spend 100% of our time talking to users and building product. You are a key hire, with your help we will be unlocking how to scale the supply side of our marketplace. We’re offering equity and salary package aligned with your experience and motivations.

Come work on an industry that matters. Email founders@carerevolutions.com to start the conversation.
It has enjoyed success during its lifetime, but the userbase has looked like an upside-down hockey stick for some years now. I would say that having your userbase drop from a dominant majority of the market to well below 10% of the market is indicative of failure.
Ask HN: Successful one-person online businesses?
This question was asked 3 years ago (https://news.ycombinator.com/item?id=7367243) by kweball, and I'm curious what it looks nowadays.

> How many people on hacker news are running successful online businesses on their own? What is your business and how did you get started?

> Defining successful as a profitable business which provides the majority of the owners income.
How does this compare to graphviz? (http://www.graphviz.org/)
"victim"?? Chromebooks are the perfect laptops for people who don't understand computers.

No viruses, no antiviruses, no forced reboots...
As a design team, we are fond of innovations changing the user experience. We collected all the tech trends we expect in 2017 that will probably affect our lives.
Fuck your grandmother

Why should I suffer because of her incompetence?
The title wasn't misleading at all, I totally understood it was about web browser rendering engines.
I don't see any reason why a set of stable APIs couldn't be defined, after all other languages do have them for the same purpose as clippy, e.g. Go vet, .NET Roslyn....
When you see this post from your website, it's not recursive. Why ?
Bitcoin and cryptocurrencies, AI, self-driving cars... good (and profitable) times for GPU manufacturers.

Nvidia stock (NASDAQ:NVDA) is x4 in the last year and probably will continue escalating..
Bad title, but it makes an interesting point. I knew I can just make a WiFi network with the same settings as the original and have phones automatically connect to it (I use this as pre-doorbell warning sometimes, waiting for my parents or girlfriend to connect when nearby), and I also know that I can read and modify their traffic at that point.

What I somehow forgot to consider is that when my phone autoconnects to a network (or attempts to), the AP owner or anyone nearby might also be able to crack the WPA2 password. Good thing it uses PBKDF2 because I know some terrible ones.

I don't have time to read the full spec now unfortunately (I might later). Does anyone know what parameters are used for pbkdf2, specifically the number of iterations?
Ruby doesn't have private methods. You can always object.send(:method) and the only effect of the private keyword is to disable the object.method() syntactic sugar. No wonder that even methods marked as private can be redefined.
Sweet! I just think it's too hectic. It refreshes the view too often and I lose my focus.
Yea, it's very possible I'd fall for that.
Agree with this. If you have a solution please let me know. For now I'm considering adding it as a setting.