skysight-inc/HackerNews huggingface dataset:
> The interesting part was when it came to Saudi Arabia, which had so much money it didn't need to take on debt to develop their infrastructure.

That's not entirely accurate. Saudi Arabia was extraordinarily poor prior to Standard Oil of California's oil finds there. US companies financed most of Saudi Arabia's initial oil infrastructure build out, including the technology that made it all possible in the first place.
Android re-engineered for PC. Meet Remix OS.
"I avoid these articles like the plague as they have nothing to do with running a startup."

They're just for SEO anyways. I've been trying to learn more about marketing lately, and one of the biggest issues I've run into is that almost all the articles about marketing are marketing materials themselves.
The criticism of the documentation is fair, but it's an incredibly trivial point. You can save URLs to the documentation if you right-click the link.

For example, here is the link to the rationale for the versioned naming scheme:

http://liblfds.org/mediawiki/index.php?title=Introduction#Co...

Do you even understand the significance of "lock-free" in the title here? Do you have some basis to think that the weaknesses of the data structures, like unbalanced trees and add-only collections, can be remedied without using locks? If you do then that would be an interesting criticism, but as it is it looks like you just opened the page, looked around for a few things to criticize, and then wrote this sour, shallow, dismissive comment.
I just stuff that in by .bashrc.
> What does CS stand for?

Haha. Well played. :) I just think it's good practice in general, no matter how common, to use the full name when the acronym is introduced. Especially if it is a method used in the paper.
Then, a few years down the road, it’ll have slid down the slippery slope to include anything that could hurt someone’s feelings. This has been what’s happened to all of society over the past few decades and Facebook and Twitter will be no different.
Can you not set the template line for log entries? Seems like $(pwd) could go alongside time stamp.
Define your Roles
The Witness has an amazing art style, but unfortunately it's completely out of reach for individual developers, so it's not quite analogous to pixel art. Check out Sky Rogue or Drift Stage for something that's more realistically achievable.
I'm a little more charitable about it than that - neighborhoods often do have a certain character and vibe. Putting a really ugly or cheap building in the middle can ruin that.

It's great when large building projects take style and such into account as it makes the neighborhood nicer AND the new building nicer, usually. I'm in that situation with a new shopping center just a few blocks from me: it's going to be really nice and add to the area while still being a massive new set of buildings and stores.

However people are dumb and selfish so often have a kneejerk reaction and try to block any development for arbitrary reasons (like height)
Ok now how do you change targets to a different board (e.g. nRF51-DK), and have the LEDs and USB serial still work with no changes?

How do you install the BLE dependencies?

How do you use apt-get on Windows?

I agree it could be easier and also agree that Python and CMake are the wrong tools for the job, but frankly apt and make would be worse.

At least they seem to have designed the module description system fairly nicely so it could potentially be rewritten with a better architecture in future.
Couldn't agree more. It's getting ridiculous.
Honeybees pick up 'astonishing' number of pesticides via non-crop plants
not the OP, but this discussion might be helpful

http://unix.stackexchange.com/questions/25639/how-to-automat...

I have been wondering about doing something like this as well
Yes, that is a possible approach. The problem is to get browsing histories from typical users. If an anonymity tool needs to gather the user's browser history and share it with others, it kind of defeats the purpose of providing anonymity.
Yes. Content marketing as they call it.

My point is just that market insights doesn't come on formula. You can't read a book and learn about marketing. You can go out and do it or surround you with people who have experience doing it.

Sure you can learn a little here and there. But hardly anything that will make your company make it compared to those who didn't.
> “Like, man, this is a really nice office,” he recalls thinking. “Open floor plan...”

So "Tyler" wasn't a programmer, then. Got it.
> What if a lot of crazy stuff that many people suspect has gone on actually turns out to be true, or what if it's even worse than some of the tinfoil hatters think, and we suddenly start finding out about it all.

What if that premise is mostly or entirely wrong. It's absurd, and entirely empty speculation at best. Extreme edge case scenarios very rarely actually occur. Most of the world has a very large vested interest in the US remaining exactly where it is: most of the world has gotten radically wealthier and more free during the reign of the US superpower, global poverty and inequality has plunged rapidly during that time.
A long time ago I set my history file to save up to the previous 1000 commands, and I ended up mostly learning grep for the first time because I wanted to search quickly for various recent commands. Stuff like "history | grep _some ip_" or things like that.

Storing the entire history would no doubt be helpful, but I feel similarly to what other people have said so far, which is that it may not be the safest thing to do? Probably depends on usecase.
> If a publicly-trusted CA would issue MitM certificates for WiFi operators (specifically for domains that the WiFi operator doesn't own), they'd be out of business in a heartbeat.

The fact that Trustwave still has their CA certificate proves you wrong. They provided a sub-CA to one of their customers for the purpose of MITM. They got a slap on the wrist, gave a promist that they'd never do it again, and that was it. Your browser still trusts this company that has demonstrated that they are perfectly willing to compromise the safety of the whole CA system for a sale.

It wasn't WiFi, but that's not really a relevant detail here. Selling certs for the purpose of MITM is.
Discussion: https://news.ycombinator.com/item?id=11805728
Apartment complex demands tenants give Facebook “like” within 5 days
> Importantly, they should continue doing this (raising the price of adverts on HTTPS-only pages, due to the increased demand), until the price per click etc. is the same for HTTPS-only and "normal" sites. Why does this not happen?

> iv) Advertisers are turning down free money (highly unlikely).

One explanation: You are modeling advertisers' behavior similar to a control system having integral gain and/or bandwidth higher than the timeframe of the disturbance (HTTPS adoption rate). In practice, it may be that the market's optimization is using only proportional gain and/or lower bandwidth. Such a system merely reduces the impact of differing market sizes for HTTPS support, without eliminating it, or perhaps takes more time to eliminate it.
That's true but (the way I read it anyway) the author is contending that advertisements themselves would be used to shape public opinion which, while true, I think the effects are dwindling because people are becoming more aware of that.

Additionally, I wouldn't say behavioral tracking is implicitly always nefarious. Speaking as an app developer the analytics we get from users is 100% anonymous and not used for anything more evil than just helping us design and improve software. Usage data like that is gold to us because most people don't leave/send feedback, especially the ones we really want to hear from, i.e. the ones who stopped using it.

I think we need more regulation in the web industry in terms of how we're allowed to collect data, how we must store it, and have serious penalties for those who break those laws.
I would just do this:

export HISTFILESIZE=5000000
export HISTSIZE=5000000
export HISTTIMEFORMAT="%F %T "
shopt -s histverify
shopt -s histappend
Do they really compete with each other? I thought they would complement each other, am I wrong?
+1

He is living the dream :)

But a better question would be how was he able to live every nerd's wet dream? Japan does not seem to be making huge strides in AI at the moment so even if you are able to find a dev job in Japan it seems unlikely that it would involve robotics.
Validations Predicates
I would much rather do a take home test, and as someone who has done hiring, I would much rather give a take home test.

The problem though I have with code challenges, is when you get rejected, and they offer ZERO reason why they rejected your code, despite the fact you may have spent a whole fucking week working on it, doing the best you could. I have outright asked why my code was rejected, and I have NEVER gotten a response. Pure bullshit.

The other problem, is that most of the time they tell you not to use external libraries, which I get why, if they want to access your algorithms or data structure skills, but this is stupid, because you likely shouldn't rewrite libraries that do a better job than what you can code in a short time, and in any real world scenario, i would use all the libraries I could to write less code. Its better to test those things via white board. In some cases, I would reject you based on you not knowing about standard libraries.

I had one take home test, that was basically, write a database like thing in ruby to process and query an input file with dates, names, etc, you can't use any gems. If I used external gems, I could finish the assignment in few lines of code, without external gems, i have to do all this bullshit i would never do in a real world scenario.
Thanks for the heads up. I read the original in college and it was very interesting, although I thought it was a bit embellished.

http://www.amazon.com/New-Confessions-Economic-Hit-Man/dp/16...
That's a great suggestion! If you'd like to see this implemented, please open an issue. https://github.com/Morhaus/facebook-sixth-sense/issues
Not everybody dislikes an open floor plan.
"It's worth noting that for now the Saudis still retain a bit of leverage. They could potentially start a kamikaze run on the dollar. "

Do you have an idea of whether their increased production has affected the fracking production in the US? Would they, in the long-term, have success in making the US more dependent again?

"They are our largest regional ally, and in very close proximity to Israel... Finally, they're a vital partner in the ongoing war with Russia and its proxies (Iran et al.)"

As I understand it, the Saudi Royal family derives part of its legitimacy through the backing of the religious leaders of their country, and the Sunni world at large - but many of the Saudi family itself are actually more progressive than the conservative country. Is there any chance that they want to or could push back against the Wahhabist ideology that seems to spout from the gulf peninsula?

" We have very little knowledge of their nuclear program"

How is that possible? It'd seem as though their supplies of nuclear weapons are precisely the types that we want to be aware of at all times?

"Also, I cannot begin to fathom what would happen if a "Christian" nation invaded the keeper of Mecca and Medina...

I never thought I'd say this, but perhaps some secrets are better left untold."

When the cube was seized in 1979 and the Muslim world thought the US was to blame, we got the glimpses of what reactions could be. We'd truly see the Middle East in flames.
Given the authors use of anecdotes to support his conclusion, I'll offer my counter.

I've traveled to Germany from the US for work many times. One flight from San Francisco to Munich was particularly memorable. It was a United weekend flight. At the gate I heard more German that English being spoken, so I am confident that among the passengers were many Germans.

The in flight entertainment included the usual recent movie releases, but there was one oddity. That show had about 50% of the cabin in uproarious laughter, while the remaining passengers glanced around bemused, and confused by the reaction. The Germans were howling.

It was the Stooges. Moe, Larry and Curly.

So I'd suggest that Germans do have a sense of humor, it's just a little different than the author's. And I think this plays out in other places as well. As I understand it, Monty Python was far more popular in the US than it had been in England.

Even North Korea has laughter, where, at least, it is permitted when Kim Jong Un tells a joke. The trick is to be sure he's trying to be funny when you laugh. Seriously.
Today I learned the New Black Panthers are literally the only source of left-wing hate.
Or maybe they'll build this out as a feature themselves. They implemented the dots in the first place; this is only a slight extension of the idea.
You should absolutely release your work, a translation layer for REST APIs -> ActiveModel would be awesome.
In what way does HN show that you edited a post?!

Also, there is the delay option in your profile, which does sort-of work to give you a preview (although it is a bit of a clunky way) https://news.ycombinator.com/newsfaq.html
I've been tempted to do something similar. The context information (e.g. environment, working directory) would be especially helpful, since that's what I'm currently missing. Have you tried https://github.com/umang1912/advanced-shell-history? That was where I planned to start.

Here are a few other projects:

https://github.com/thenewwazoo/bash-history-sqlite # simple shell script to store Bash history into SQLite3 database

https://gist.github.com/pklaus/1e381be8592426568df9 # simple Python script to store Bash history into Pandas dataframe

https://gist.github.com/pklaus/26925cfa1fc6b370e043 # simple Python script to store Bash history in SQLite3 database

https://github.com/fredsmith/history-db # store Bash history in PHP/MySQL web server

https://github.com/joshuacronemeyer/shellsink # store Bash/Zsh history in Python web server
Hi Jens_. I'm the one who wrote the TLS certificate dashboard that the other posters are referring to here. While I don't mind people forking the dashboard I made and modifying it for their own purposes (that's why I put it up on GH after all), I do mind when proper credit isn't given for the work that I've done. I'm not interested in starting a war of words on the Internet, so all I'll say at this point is that I appreciate that you've updated your readme with a link to my project and added the license to your repo. Have a great day.
I would prefer that instead of piking more heads we, the US, just bugger off. I have no issue with a strong military, I have a big concern with protecting countries or having bases in countries that have more than sufficient GDP to protect themselves.

For the time being availability of oil for all nations through the Gulf states is as simple as keeping a US CV fleet or two in the area. It benefits all nations outside the region and doesn't require propping up repressive regimes to accomplish.
These guys are _very_ good at selling, in other words, making something seem good and pure and beautiful. I ended up in an almost identical company doing identical tech. At first we were building an anti-spam platform for which the user would only see two ads a day from us, and none from anyone else. Seemed like a good trade off. Except we never got to the anti-spam bit -- just the ad bit. I was gone within 3 months of arriving.

It might have just been that particular company at that time, but I've never worked with so many morally questionable people at one company. Never again.
If fingerprinting is the primary concern then bundling should solve that, right?
I use the reverse lookup and zsh history heavily and it has served me well. Whats the benefit of this, logs that go back for a longer time ? I am not sure what the default setting on zsh is tbh.
He also didn't like octagonal windows, and definitely used a spatula when making omelettes.
You can probably do something interesting, similar to this: https://s-media-cache-ak0.pinimg.com/736x/b2/2a/e0/b22ae0a33...
I have a stupid question that is a bit more general than the Saudi case.
What's the advantage of selling oil and the using the dollars to buy treasuries or other conservative investment assets? Wouldn't it make much more sense for a country like Saudi Arabia to limit their oil production and finance their deficit of the sales directly instead of using royalties? This assumes that the value of oil will rather rise over time . In addition, for a producer as large as the Saudi's, this strategy should even raise oil prices.
Programmers don't have to dislike open floor plans. I know this because I am one.
Initially I thought this was the Adaptive Communication Environment, which was an awesome communications library that I used in C++ years ago. It had a corba implementation too TAO, The ACE ORB.
1. Regarding commands with credentials or sensitive info, bash allows you to prefix the command with a space character to omit saving the command to the history. This requires remembering this fact, and of course you get nothing in your history to refer to later.

2. I remember a HN submission for a piece of software (or collection of softwares?) that provided a centralized log of your command history across multiple machines. In this way, if you are working on multiple machines in a cluster, you can later search back through your histories from those machines in a single location. My Google Fu is failing me now though.
> you’d see ads on sites like Wikipedia or Target.com

Normally we call that vandalism. They should be facing criminal charges, not civil lawsuits and pressure from Google.
host it yourself, and vet your garbage
> pointer to integer conversion should be specified by your platform ABI

heh, I just published a post on this that I worked on over the weekend: https://nickdesaulniers.github.io/blog/2016/05/30/data-model...
Latency. If you're already hosting on AWS or GCE, using their databases is commonplace.

But if you host your frontend, it doesn't make sense to talk to a database in a different datacenter when you could instead put it in the same rack.
This is like the Mickey Mouse version of the 'The Firm'.
The willfully ignorant "I have nothing to hide" crowd may be a viable source of volunteers.
Massive French Google tax probe had to use just 1 PC and stay off internet
Man, I remember that game. Starship Creator was also a ton of fun.
I don't get it, isn't your bash history already logged to `.bash_history`? What's the point of using PROMPT_COMMAND to send it in addition to another file?
I have never seen that dialogue. I started to use spotlight before there was internet feature to third party, and have upgraded machine since that.
Servers should have zero history saved on the disk. It gives any intruder an easy place to look for passwords, private keys, etc that may have been accidentally recorded and gives clues about related systems.

If you have administrative stuff you need to do more than once, write a little script or alias for it. Depending on history for this is just lazy.
Rosetta’s comet has the right ingredients for life
This Startup Made a Donald Trump Chatbot
You can sign up here to get email notifications http://www.hnreplies.com

Also do you have a favorite piece of software?
You keep asking this and keep getting the same answer. Why do you expect the answer to change if you ask more times?
Understanding React and reimplementing it from scratch
Facebook said images of dead girl didn't violate the site's terms and conditions
Why not use nginx also for cache (you can even use a ramdrive if you want it in-memory) and just ditch Varnish?
https://en.wikipedia.org/wiki/Synecdoche
Yea, I just roll my eyes whenever I hear "It's hard to find good developers" anymore. Current hiring processes only make sense if you're dealing with a surplus of talent.
I took the bash-history related stuff from https://github.com/mrzool/bash-sensible and have been VERY happy with it. Among other things, it makes sure all your histories from various open terminals get merged, not overwrite each other -- I think maybe just `shopt -s histappend` is enough for that? But I was messing around with my settings regarding history settings for a while tweaking and tweaking, until I found bash-sensible, tried it out cut and paste, and found it was perfect.

## SANE HISTORY DEFAULTS ##

# Append to the history file, don't overwrite it

shopt -s histappend

# Save multi-line commands as one command

shopt -s cmdhist

# Record each line as it gets issued

PROMPT_COMMAND='history -a'

# Huge history. Doesn't appear to slow things down, so why not?

HISTSIZE=500000

HISTFILESIZE=100000

# Avoid duplicate entries

HISTCONTROL="erasedups:ignoreboth"

# Don't record some commands

export HISTIGNORE="&:[ ]*:exit:ls:bg:fg:history"

# Useful timestamp format

HISTTIMEFORMAT='%F %T '
Obviously invading KSA would be a total disaster. Even embargoing the place could have chaotic results beyond the massive oil price spike. Not to mention the strategic complications of the US relying on bases there.

I find it interesting that you've gone straight for "war with Russia" without bothering with "cold". I really don't like this second cold war because at least the first one was obvious to everyone and publicly discussed. The new one is conducted just like the old one through proxy countries which the players are prepared to burn down to deny them to the enemy, but if the chaos spreads to Turkey then that will be the end of the EU as everyone rolls out the barbed wire and machine guns to stop the tens of millions of potential refugees.
This is a dangerous path to go down. Much better to allow anyone to post anything they like that's not illegal. If you don't like it, unfriend/unfollow/block them.

Why is this bad? Because hate speech is not clearly defined. What may be fine today may qualify as hate speech tomorrow. Eventually posting anything not super positive or encouraging could be considered "hateful" or "triggering" and get you in trouble.

One of my favorite quotes on people being mean on the internet, courtesy of Tyler the Creator: https://twitter.com/fucktyler/status/285670822264307712?lang...
You talk as if the 'rest of us' in tech are so innocent and pure. Spam is small potatoes compared to the ethical violations many big tech companies get up to on a daily basis.
Southwest's in-air wifi does this. Pretty scary looking warning message in Chrome, won't even let you go to Google cause of HSTS.
There's no case afaik, because they disclose everything in the original agreement when you install their software.

Unethical, sure, but there's little the law can do to prevent people from agreeing to such things.

Maybe a requirement for certain disclosures to be made more prominent (like for cigarettes)?
2016 Guide to User Data Security
Excellent question! Multiple tabs will squash each other, losing history from Tab B between when tab A was opened and when tab A was closed.

It's actually an insecure default - 'insecure' as in, it's a minor form of data loss.

Then again, so is bash launching scripts without pipefail, variable expansion fail, etc.

It'd be worth fixing all this stuff in the next major bash version.
And how would Twitter know which race the tweeter identifies as?
How exactly is that different from non-web applications?

If you have the binary, you can reverse-engineer it.