skysight-inc/HackerNews huggingface dataset:
What about the frontpage which is usually page 1 of the pagination?

Google should give the actual article URL a higher score and pagination pages a lower score. So that in their search results I see the content first and the "dupe content" on pagination pages not at all (or way down). (at least for common blog software)
Data Science for Researchers Using Microsoft Azure
I'll just ratelimit it to two requests per second, thanks.
Oh man, i felt it in my water, i checked the site every day for 2 or more weeks, didn't this morning, came on to hn, and lo-and-behold...
This website seems to omit or twist facts to make their articles as sensationalist as possible:

> Blanketed in acrid smog, Beijing is waking up to climate change

Ok, so if Beijing is having smog because they pollute the air this is now climate change?

Or just the next article linked on that page again:

> The smog is so bad in Beijing that someone made a brick out of it

Actually he used clay for most of the brick, he only collected 100 grams of "smog" during 100 days (4 hours of vacuuming each day) (see http://qz.com/562319/a-chinese-artist-vacuumed-up-beijings-s...)

I'm not saying they don't have a problem with smog but one thing I know is that this kind of journalism is not helping anyone. It is just like everywhere: we tend to get emotional about stuff which doesn't help us to find a solution. It just makes people dislike each other.
The for get http repo already looks to provide a http status flow diagram at https://github.com/for-GET/http-decision-diagram.

Its a version 4 currently
Imagine a company doing $10 billion in yearly revenue. If the right guy manages the joint, it will do $11 billion. Are you willing to pay 10 million a year for this person? What if another company in similar circumstances offers 20 million? And another company 50 million? In the end, they all have 1 billion at stake. So, they all could even offer more and still be laughing all the way to the bank. In other words, even if a CEO could only make a difference of 10% on a large company's revenues, it would still be worth it to pay him incredibly large amounts of money. Apple paying Steve Jobs $50 billion would still have been a very cheap bargain. He made a difference of way more than that.
> Also, can't remember how, but I used to be able to get my pet to steal things from the shop.

Pets are your friends! http://nethack.wikia.com/wiki/Apport

>Oh no... I can feel that long faded addiction tugging me back to the console......I'd better call my sponsor.

Sponsor here. Relapse. It's okay. You managed a fake amulet; Why not the real thing?
See also Liberator for Clojure
the Luggage has been one of the things visible when allucinating for many years, and it was one of the things that made me realize how many nerd references are embedded in nethack, which is still one of the reason it's so enjoyable.
Bullish means optimistic.
'Spell-check for hate' needed, says Google's Schmidt
Thanks for the feedback! Hmm, what options do you mean? For the account options, you need to click your email after you log in.
Offtopic: "Google search results on tablet"

Recently Google changed their search result page for tablets. First it looked fine, and useful.

But many times the first result page is now completely full of advertisements, only the second page now shows usual links to websites like Github, Wikipedia, Youtube, etc. of a common search term. Very annoying! And the Youtube link is broken on iPad (it tries to link to a non HTTP address). I am just unlucky to be part of an AB-testing?

An news article about the changes: http://searchengineland.com/google-launches-new-search-resul...
Django makes that easy, at least, we didn't have to do anything special.
> I’m not completely sure they do matter.
> There’s a lot of smart people at Facebook and they
> built an API that only ever returns 200.

This is the best bit of the article.

Most (many?) APIs, whether or not their authors call them REST, are single URL APIs that you throw JSON/YAML/whatever at. If the caller is going to get back a serialized status message (["Not found"]), then the HTTP request was successful, and it should return 200.

I'm not sure why people insist on spreading their APIs out between the transport and content layer.
this is great, but I wish there was a QT Tile version, as much as I know the term version is The True UI, I still prefer graphics.
Thanks for the link, its the second link of the first chapter in the red book. I wonder if it would be possible to find links to all the cited papers. Will look around and post back.

Edit: I downloaded all the papers and added them to a single folder - http://nindalf.com/redbook

If I should replace or remove any of the pdfs there, please let me know.
Some things I don't particularly like in this diagram:

* I don't consider 307 and 308 to be irrelevant. Even if many browsers today are safe against method-change attacks, it's always better to be explicit.

* I don't see why 304 would only be used if "implementing a web server". Many web applications do their own Last-Modified or E-Tag checking behind the web server (and for good reason).

* There are also non-webserver reasons you'd use 408 and 413.

Also

> I don’t find this argument compelling, if for no other
> reason than this: in a world where everyone is moving
> to HTTPS, we’ve forbidden any proxy or caching nodes
> that are not under direct control of the server.

What? Even if you are controlling the cache, I don't see why you would want to make your job more difficult by having to explicitly control it when HTTP can do much of the job for you. (Not to mention there are cases, specifically AWS and cloud services, where you wouldn't have direct control of your proxy cache, but are still using HTTPS.)

Otherwise I'm glad to see some people still think using a variety of HTTP status codes appropriately is a good idea. It makes services easier to use and more intuitive.
Are they also using people's browsing history to 'find' content? E.g. from their safety filter?

Though I don't think it's happening, I've thought it'd be very clever if users became the search spider for Google, telling them when content had gone stale and/or doing the spidering on Google's part. Just by using Google's browser.
I think the worst thing are the 802.11 frame errors that results.
The studies sited in the article directly contradict your statement, unless I'm misunderstanding what you're trying to say.
There's a big red "COMING SOON" at the top of the page.

That's probably why it doesn't work correctly at the moment.
> Well, the people in the first category will usually be smart enough to setup a sync without using an external "cloud service".

Apart from some, like myself.

How would you go about it, given the need for 2-way sync? I've ruled out rsync, could see Git working but not particularly performant to run every 20 seconds to keep the history in sync between machines.
What about a redirect from your home page to whatever page 1 is at the moment?
BRB adding 418 I'm a teapot status code to all my web apps
Very smart, or to some - obvious. All too often these companies pop up to offer a smart bike, but as Zhang said, they do not consult with their users. They go about trying to change form and function, rather than adding complimentary features.
Google Launches New Search Results Interface for Tablets
I have routinely kept my history "best effort" for many many years now by exporting HISTSIZE=10000 and HISTFILESIZE=1000000, and then occasionally doing a cp -a ~/.bash_history{,-$(date +%s)}. I actually use this history archive, and wish it was higher fidelity. (In practice, I am thinking I should just run all my sessions through script... ;P.)

http://man7.org/linux/man-pages/man1/script.1.html

I have thereby had it on my todo list for a month or so, ever since I learned of the bash DEBUG trap, to instead store my history into an sqlite3 database and have it separated by host. Seeing this reminded me "oh yeah, I really should do that" (as no: there's no way in hell I'm going to just send all of the commands I type to some random guy with a website ;P).

This is "the simplest thing that could possibly work" and might very well break if you set some crazy history configuration variables I don't use. Note that it works for pipes specifically and only because it can overwrite the same entry to the database multiple times using "insert or replace" (prevention of which is what normally makes these scripts so complex).

histsql=~/.bash_sqlite3

sqlite3 "${histsql}" '
create table if not exists "session" (
"id" integer not null primary key autoincrement,
"address" text not null,
"process" integer not null,
"tty" text not null,
"user" text not null,
"start" timestamp not null default current_timestamp,
"end" timestamp null
);

create table if not exists "command" (
"session" integer not null,
"line" integer not null,
"time" timestamp not null default current_timestamp,
"pwd" text not null,
"text" text not null,
primary key ("session", "line")
);
'

histmac=$(ifconfig | sed -e 's/ *$//; /\(ether\|HWaddr\) / { s/.* //; q; }; d;')
histtty=$(tty)

histssn=$(sqlite3 "${histsql}" "
insert into \"session\" (
\"address\", \"process\", \"tty\", \"user\"
) values (
'${histmac//\'/''}', '${$//\'/''}',
'${histtty//\'/''}', '${USER//\'/''}'
);

select last_insert_rowid();
")

function histend {
sqlite3 "${histsql}" "
update \"session\" set
\"end\" = current_timestamp
where
\"id\" = '${histssn//\'/''}';
"
}

trap histend EXIT

function histadd {
local data="$(HISTTIMEFORMAT= history 1)"
if [[ -z $data ]]; then return; fi

data="${data#"${data%%[![:space:]]*}"}"
local line="${data%%' '*}"

data="${data#*' '}"
data="${data#"${data%%[![:space:]]*}"}"

sqlite3 "${histsql}" "
insert or replace into \"command\" (
\"session\", \"line\",
\"pwd\", \"text\"
) values (
'${histssn//\'/''}', '${line//\'/''}',
'${PWD//\'/''}', '${data//\'/''}'
);
"
}

trap histadd DEBUG
What does the name mean?
If the API is indeed RESTful, and it complies with the concept that a URI represents an address of a specific resource, then returning 200 even when the resource was not found does not make any sense. The request was not "successful", rather the request failed to find what it was looking for!

That said, "single URL APIs that you throw JSON/YAML/whatever at" are not RESTful anyway. For a non-REST API, then it may make sense to return 200 even if something was not found, but it is still not a good idea to just ignore the properties of the upper-level protocol your data is ferried on.

> I'm not sure why people insist on spreading their APIs out between the transport and content layer.

HTTP is not the transport layer. It's an application protocol meant to convey application data. People spread their API over it because that's how it's supposed to be used. If you're just using HTTP as a means to toss random data between computers, you should consider TCP.
SEEKING WORK

Location: Izhevsk, Russia (UTC+4)

Remote: Yes

Technologies: C#, WPF, WCF, ASP.NET, ASP.NET MVC, nHibernate, Entity Framework, SQL Server, Windows Workflow Foundation

Resume/CV: https://www.upwork.com/o/profiles/users/_~01dda77f792f5875fe...

Email: lsreg@outlook.com

Skype: gubanov_mikhail

I have 7 years of software development experience. My strong points are responsibility and punctuality. I always meet your needs and deadline. I am experienced in large multi-tier applications. I have also experience in rich WPF desktop applications. Can build custom controls, use themes and skins, add animations, ribbons, etc.
You're right. I mean bearish. Sigh.
100% agree with you. It's exactly like that.
Why get your own password manager and include your work items?

I have 300+ personal passwords. 30 more for work would be a trivial addition.
This is just like printing out private keys for bitcoin wallet. AKA "paper wallet".
Also the server admin for NAO is Pasi Kallinen which got added to the DevTeam earlier this year.

From what he told me, he worked hard this year to add lots of what is considered "standard" among the modern NetHack forks. He didn't succeed completely but it's an uphill battle if some of your code changes are code reviewed with comments like "but this won't compile on a pre ANSI C compiler".

I hope he and the other new members will be able to jump start again the development of NetHack.
Bulk work still goes through more traditional channels - like inquiring/quoting etc. The actual limitations are 1500mm x 3000mm ;)
People not being able to write an OS is part of "I'm afraid something is being lost in the process"

You don't need a memory allocator, file system or scheduler for an 'OS' that runs a single task.
It's 304 in shiny and 316 in brushed - see here: http://lasergist.com/discover
Location: Izhevsk, Russia (UTC+4)

Remote: Yes

Willing to relocate: No

Technologies: C#, WPF, WCF, ASP.NET, ASP.NET MVC, nHibernate, Entity Framework, SQL Server, Windows Workflow Foundation

Resume/CV: https://www.upwork.com/o/profiles/users/_~01dda77f792f5875fe...

Email: lsreg@outlook.com

Skype: gubanov_mikhail

I have 7 years of software development experience. My strong points are responsibility and punctuality. I always meet your needs and deadline. I am experienced in large multi-tier applications. I have also experience in rich WPF desktop applications. Can build custom controls, use themes and skins, add animations, ribbons, etc.
Niki Story Featured at Front Page of the Economic Times
Similar to earthquake deflection foundations isn't it ?
Imagine a blog. On frontpage example.com/ (= example.com/?page=1) it shows the newest 10 articles, on example.com/?page=2 it shows the next 10 articles, and so on. Every article has the actual URL in its headline hyperlink (e.g. example.com/?article=123)

Now imagine that Google links to example.com/?page=2 as it found the search phrase also there (at a given time only Google knows). So when the user clicks on the search result link that leads to example.com/?page=2 NOW should the blog software know what Google or the user wants?

One thing that comes to my mind is to use the referrer and if it's a common search engine parse the s=SEARCHTERM string and use an internal article search to find the best matching article.
Will you be interested in Beta Testing our new movie app “Stories”?
No sifting and sorting through reviews, ratings and irrelevant movie suggestions. With reliable ratings and suggestions that actually makes sense, Stories helps you discover great movies to watch within seconds!

Being a beta tester you'll be able to become an editor. This allows you to create your own movie collections for others to follow.

Follow other editors or movie collections you find interesting and stay updated.

*See where you can buy,rent or stream the movies you find and save time!

Become an editor by joining our beta now. Email Joinbeta@moviediscovery.io
AppEngine suffering downtime accessing Google APIs
They have to offer more because nobody would work in a job that doesn't pay the bills.
The dilemma of old proven tech.

-- sent over smtp
The only problem I've had with siege and similar tools is that they're good to simulate load but from my perspective, they're not as useful when it comes to simulate real-life load, as in multiple IPs, different bandwidths, bursts, etc.

The only services that I found to simulate real life usage were paying services, which is understandable. Maybe in the future with some bittorrent-like load testing framework, I don't know.
unset HISTFILE
iirc this is why they originally started development on what is now Chrome.
"(In practice, I am thinking I should just run all my sessions through script... ;P.)"

I've been doing this for on-call work, actually. It really helps to be able to review what was seen, what was done, how long things took, &c.

For me, the purpose of a typescript is almost entirely unrelated to the purpose of a history, though - history is things I reach for, more than things I review.
The next test could be: Does google crawl hidden text (display:none, very small, very transparent colored text)?
My guess is they do crawl it because it can have legitimate uses, but if there is to much of them on a page then they give it a lower ranking.
Suicide rate in Alberta up 30% in wake of mass oilpatch layoffs
Also, permanent redirects need a big caveat: if you screw them up you will have a bad day, because they are nearly impossible to fix - browsers take "permanent" literally. Better to use temporary redirects with sensible but limited lifetime.
I'm happy NH is still being developed with new releases, but for me... the rogue-like event of 2015 is ADOM hitting steam:

http://store.steampowered.com/app/333300/

I know this post is about NH, but some might find this interesting anyway.
I think they use their DNS service to learn about new domains, it could be interesting if it could be used for new content but I don't think so.
Well, if I get a driverless car, I'm hoping the car's a deontologist rather than a utilitarian, so this sort of thing doesn't happen.
There are lots of smart people at Facebook doing not so smart things. I guess "lots" gets in a way of "smart".
Fun fact: in Turkey they just call it "delight".
Book rooms in heritage hotel, heritage inn Ranjit Svaasa Amritsar :6hourly.com
Book rooms in heritage hotel, heritage inn Amritsar for 6 hours,12 hours,18 Hours,24 Hours,One Night in discounted rates from 6hourly.com
Certainly e.g. the pizza you get in the US is not much like the pizza you get in Italy, and the Chinese food in the UK is not much like what people actually eat in China.
Totally possible, I do this. Also I have a different key per host (using %h in IdentityFile)
Being homeless a struggle, even with a $100k job offer
I wonder when software developers of the world will apologise for systematic under-evaluation of time required to finish the project, failing projects, state of end-point security, software patents.

Sincerely yours, software developer.
BrickInstructions.com: Lego booklet site
Binding Objective-C Payleven Libraries in Xamarin iOS
BackStab Malware Steals iOS and BlackBerry Backups
noted - I see that another user too asks for more technical details so we'll add those on the website directly.
I have a space and an accent in my name.. Linking to FB completely prevented me from signing up. After getting the initial error, nothing else would work.
Godwin's Law
Show HN: Kamber - Static Blog Server on Crystal Language and Kemal Web Framework
Weird that one would agree to that. I don't even store my shell history on private computers.
C++14 and volatile implicity
Personal data of Dutch telecom providers poorly protected
Why Brits look miserable in selfies
How to survive a dog attack
I wonder if you could use this to find information about the google crawler. Inject system and browser info into the page. Then you can find out what kind of browser engine it runs, with which settings etc.. If you wanted, you could use this information to do undetectable masking (I don't think it would work in the long run, though)

It would be also interesting to see what timeouts it still allows. I wouldn't be surprized if the modified browser "virtualizes" time and runs window.setTimeout immediately. Maybe you could make a busy loop and find out what the real timeouts are. It seems there got to be some, otherwise this would open a way to DOS the crawler (not that I'd do that).
My mother (later I would help) used to make Turkish Delights along with a bunch of other holiday cookies and candies most years. I'm almost positive that the recipe came from one of the Betty Crocker cookbooks, although it's been many years.
All New Amazon Fire HD8 Reader's Edition
Hi!

This is a Crystal language and Kemal based blog server which is very simple and efficient.

Contributions are welcome!
I use git to sync my dotfiles (pulled in by SaltStack because I'm crazy enough to put my workstations under config management) I just have a script that does a git commit -am "automated push on $(date)" that triggers when I lock my screen. It's not perfect but it works well enough for my needs, though I don't sync my bash history.
The C128 and C128D were actually surprisingly successful. They sold an aggregate 4-5 million in 6 years. Comparable to the entire Amiga range, and a substantial proportion of what the C64 models sold over their 12 year production period...

Almost shocking consider its deficiencies and being sandwhiched between the C64 and Amiga for most of its existence.
One really obvious one is merge conflicts in the following pattern:

#old_file.py
...
def func_before(*params):
do_things()

def func_after(*params):
do_other_things()

...

If someone adds a function between func_before and func_after, and their coworker adds a different function also between func_before and func_after, you get a merge conflict because the line-based VCS doesn't know how the new functions should be ordered (or, potentially, interleaved ;) ). An AST-aware version control system could[1] realize that the order of function definitions is meaningless, and then wouldn't need to ask for help resolving the conflict.

[1] This isn't always true, so this might still involve some degree of being specialized-to-the-language. Or it might just mean that the AST the VCS worked with allows for fairly complicated types, and can distinguish between order-sensitive things and order-insensitive things.
I am neither an accountant or lawyer, but this may help:

https://blog.wealthfront.com/exercise-stock-options-taxes/

I can't speak for ESOFund, or similar companies, as I have never used them. My best recommendation would be to talk to a tax accountant and explore your options. You may also consider a secondary market sale now if you are allowed by your company.
The same could be said for any other employees. Programmers, warehouse workers or whatever. Maybe they could be paid for the difference they make too. Yet this doesn't happen, because the supply side is important as well, as well as the lack of power these people have.

From what I see, finding the right guy to manage a company is very hit and miss in the real world. Just look at Ron Johnson. He was previously senior vice president of retail operations at Apple, and then hired as CEO of J.C. Penny. He was fired as CEO from J.C. Penny in 2013, after retail sales were down by 32% and stock prices fell steeply. This was despite him having a very successful tenure at Apple. The pricing should factor in the uncertainty and risk of the performance of someone in the position of CEO.

I have probably have not touched most of things that could be issues here, such as corruption, and that some CEOs are just extremely incompetent. I remember a CEO that was given 250 million dollars to leave because he had that much negative impact on the company he was running. This was someone that the board thought was a great hire.

Anyway, I find the post I am replying to is way too simplistic and looks at CEOs with extremely rose coloured glasses. There is a lot more to consider.
I just did this page. The page is indexed. When I look for the search term "Update this was posted to Google on Friday the 17th of July, 2015. Monday, the 20th" the page is shown.

Trying to find any of the other search strings in the article for the different loading variants does not return any results. So no variant of javascript injected content is working on Bing currently.