skysight-inc/HackerNews huggingface dataset:
Italy is pretty "private" about this. I personally revealed my salary to some of my colleagues, but I see a lot of tension when the subject is talked about.

I think that a big part in the general attitude is due to the very high tax evasion rate here. Many people have something to hide about their revenues...
Time to redecorate if you have a living room with mirrored walls
In Haskell, there's the "bracket" function with generalizes the "with" concept.

withFile fileName mode = bracket (openFile fileName mode) hClose

Then:

withFile "/usr/share/dict/words" ReadMode $ \h -> do
contents <- hGetContents h
count (lines contents)

No need for macros for this. Just passing anonymous code blocks easily.

Interestingly, the type of withFile, after its given the filename and filemode args is:

(Handle -> IO a) -> IO a

Which is the type of a CPS'd computation. CPS'd computations are called the Cont monad in Haskell, which is defined as:

data Cont r a = Cont ((a -> r) -> r)

So the above type of withFile can be written as:

Cont (IO a) Handle

And if we have, for example, multiple resources we're bracketing over, we can represent them as multiple Cont values. Then we can monadically compose them, which is equivalent to Python's "nested" function (Except we also have type safety).
Robots + Lawyers > Robots -or- Lawyers
You are pushing a bit hard there. What is point of having a lasting impact? So that people can can life, liberty, and the pursuit of happiness

Happy kids does not equal good aid? Really?
Object oriented jay z.. how about empire state of mind at the end
Supporters of the other team are far away and have discounted relevance to your life.
"it's called logic"

Actually, It's called not knowing what the fuck you're talking about

The logical thing to do would be to educate yourself.

P.S. trans people's brains objectively show non expected neural activation. And this is just one of the many ways for people to understand trans. It's a real thing and you need to EDUCATE YOURSELF instead of acting like bill oreilly. Ignorant asshole.
Wieldability is the new Portability
I'm sure the US government DOES have spies working inside Google as we speak
Hey, 'witoldc, you appear to be hellbanned.
https://www.youtube.com/watch?v=57ndLGhffwE
AutoSave Forms. Gmail-like auto saving drafts.
That's funny because I came here to see if anyone was pointing out how common it was in Sweden for people to avoid the subject.

I'd say it varies from person to person though because me and another guy at my department managed to get others to open up just by being open about it ourselves and joking.

The sad thing that some people can't endure that without turning it into a pissing contest for some sort of imaginary alpha-male position.
I would suggest using userData [1] for IE 6 and 7.

[1] http://msdn.microsoft.com/en-us/library/ms533007%28v=vs.85%2...
The binary search is not a reduction, because you need to use TSP-decide a polynomial number of times (and for a reduction you reduce to one problem instance). What you show is that your problem TSP-cost-optimize is in FP^NP (the class of function problems solvable in polynomial time with the help of an NP oracle).
The inflation-adjusted equivalent of $200 in 1980 (that the original comment was referring to) would be over $500 today, which is enough to buy a new laptop. For $200 you can still pick up a fairly reasonable used machine - or if you're a kid, you might be able to get your parent's old machine for free. Not to mention that today, computers are available for free in many schools.
A part of the consideration should be the cost of buying the tools. If you have to build all your own tools, there may be another element to the analysis.
Employers have an advantage by discouraging workers from knowing the average wage they can lower the common wage. Its been adaptive culture to not speak of wages, hence the importance of union standard wages as a need to help those less skilled in finance and valuation not get undercut.
This is the wrong question to ask. The questions to ask are about ROI and opportunity cost. If you spend 6 months on a library that lets you do a 6 hour job in 1, then that's a good investment, if you can afford the up front cost.
Facebook's IPO was a disaster? Not for Facebook, anyway
What, in your opinion, is the whole point behind a brand name?

We see arguments similar to yours when the subject of the Sony rootkit fiasco comes up. "It's not Sony's fault, it was just a rogue actor in a subsidiary." Um, no. The CD says "Sony" on it. That means it's Sony's fault. They spend a lot of money on branding and advertising to make sure that no one ever forgets that.

So let's not forget it.
Adding many lines of code to a library to support two browsers that have 1.5% of worldwide share and should die because we would all be better off if they did is not the right solution.

Those who still have a need to support those browsers should code up and release an additional library that adds support to garlic.js so it can be used only by those that need it.

In fact, it'd be great if every library added cross browser support for old browsers as add-ons to libraries instead of making them a core part of the library.
Idaho data: http://tools.idahostatesman.com/salaries/

Same in Washington: http://data.spokesman.com/salaries/state/2012/

Same in California: http://www.sacbee.com/statepay/

Same for Indiana: http://www.in.gov/itp/2406.htm

I suspect there are online databases for most states.
You target various audiences separately with your PR. Techcrunch, while terrible for acquiring users in most categories, is great - probably a must - for raising funding and hiring.
I find a lot of government and academic work operates in the way you described. A lot of times, the job titles are known and have a pay rate or pay scale associated with them.

Everyone knows, for example, that a software consultant level 3 has a pay rate of $XX.

The biggest negative to that type of system, that I've experienced, is that it's hard to incentivize great employees when they are already at their max pay range. For example, you can't give them more money for great work. Also, since everyone knows what everyone else is making, it tends to sometimes create resentment if you think someone else, with the same title or pay scale, is doing sub-standard work compared to you. This generally makes the person less likely to work as hard as before or contemplate other opportunities.

On the positive side though, you don't generally have as many arguments over wages and definitely no surprises when you find out someone's salary. Plus, everyone is well aware of the rungs of progression in their current position, so you tend to know when promotions are warranted and what you'll get as a result which takes a lot of the "I hope they recognize how hard I work" or "I hope I can get $XX more dollars after my next review" out of improving your career. You know exactly what that next rung provides you, and so does everyone else. Therefore, it removes a lot of stress of uncertainty but also possibly diminishes some of the more "go getter" type spirit since you know exactly what it takes to progress, so why go above and beyond?

Here's an example of what I'm talking about, in Ontario (Canada) all public sector salaries > 100K are published publicly. The < 100K public sector salaries are basically public too, just not published on a website :)

http://www.fin.gov.on.ca/en/publications/salarydisclosure/20...
I think anothermachine meant it should be default behavior in browsers. I agree, with the attribute to disable or enable this from the html it would be a nice feature for browsers to implement.
How is not relevant information?
All of the young kids that want to drink do. It's not hard to obtain alcohol underage.
A mod changed the title, not me.
First I saw your comment, then noticed the submission title had been changed. I figured since the submission title out of my hands, then it makes more sense for the post to match.
Thanks for the feedback though - I hear what you're saying about either user profanity or don't (but don't bother with the censored version)
Unfortunately, compensation is taken to be like a performance review, but objective, so you often need to change your story later for career reasons. In finance, some firms won't hire analysts who didn't make top bonus, which means you need to figure out what that level is-- and it varies widely. (Top bonus in a shitty year is often less than the lowest-tier in a good year, at least for entry-level roles.) If you let too many people know what you make, it gets harder to reshape your story if you need to do it.

(By the way, this should be obvious, but you should avoid naming numbers unless you absolutely have to. If a future employer asks what bonus you got, just say, regardless of what's true, "I received the highest bonus available for my role and seniority and I'm contractually disallowed to give specific numbers.")

This is also an area where it's hard to tell whether you'll need an upward or downward revision until you're in that situation. Upgrading makes it look like you were a strong performer whereas downgrading gives you a socially acceptable excuse for leaving a job or a better "trend". Of course, the smartest thing to do is not to give these numbers out ever.

I actually think LinkedIn is a bad idea for a lot of people, for the same reason, but pertaining to job titles and dates. Accidental consistency risk is enough of a danger (people who forget their exact job titles 12 years ago) to be cautious, and then consider the fact that, although people don't anticipate ever needing "creative career repair", shit happens and sometimes people do.

Finally, my attitude is just that it's none of anyone's business what I, personally, make. I'll gladly share my estimates of what various levels of engineer can earn on the market as it currently is, and my general sense of what engineers are worth, but strategically important information ought to be safeguarded, especially in this world.
Well, Petraeus gets a +1 for not using his official e-mail account, or an old DoD account for this. In fact, it's kind of pleasantly surprising that he used GMail over...say, an aol.com address.

In fact, it seems that for any given government official who wants to conduct risky non-official business, using something like GMail would actually be the more secure route, if you were trying to keep secrets from both your employer (which includes the public and public record requests) AND from the usual enemies of the state.

If both Petraeus and Broadwell had used GMail accounts not associated with their names, such Dave501010@gmail.com and PaulSmith900@gmail.com, how likely is it that anyone would discover their shenanigans? For an enemy of the state to find out, it would have to compromise both GMail and somehow connect Dave501010@gmail.com with David Petraeus. Sure, it's security through obscurity, but we're talking a nearly unsurmountable amount of obscurity.

Of course, once they start forwarding emails from their private account to their publicly known addresses, then the game is riskier. There's also the problem of keeping the ruse without making an AutoComplete mistake, such as sending a message from petraeus@cia.gov to PaulSmith900@gmail.com without realizing he's logged in as petraeus@cia.gov.
Good idea Guillaume ;) (and great work here!) I think it will make for an interesting git for my almost empty repositories!
I think your pricing per month is a bit too high. Looks like a good service though.
Anyone else ending up on a "UPVC Doors and Windows" site when going to http://jsunittest.com/ ?
Way to name drop, squiddles.
It's what's called a defect such as when a system doesn't perform as expected. Sorry. No amount of emotionally supported bullshit is going to change facts.
It does suck that mainstream games nowadays are very macho-male oriented. But if you can look at the whole of gaming, there really are plenty of female protagonists, respectful and strong ones too. It's an annoyance of mine that games like Gears of War and Halo drive what most people think videogames are.

Online gaming is very male dominated. And yes places like Xbox Live are not exactly the best place for girls, unfortunately. But if you instead jump on Steam and play a game of Team Fortress 2 for example, it's a completely different story. Sexist, racist mouthy gamers are not always the norm. Different communities attract different types of players.

My fiancee loves the Tomb Raider movies. When I showed her that they are based on a video game series, she had no desire to play the games at all. I was careful to show her Tomb Raiders were Lara's boobs aren't ridiculous too. She has the opportunity to interactively play through the movies she loves, but that just doesn't interest her. Anecdotal, yes, but in my experience a lot of girls feel this way.
I'd like a way to be able to access a full-resolution version of the image. (Fwiw I didn't watch the video.)

I couldn't zoom in the image with with browser zoom (ctrl-+/wheelup), it breaks badly when I do that (Firefox nightly Ubuntu).
With and option to disable this behavior from the HTML websites could chose to disable it on forms which might contain sensitive data. Browsers could even disable it by default and let the websites enable using an attribute.
You're most welcome :) We're all still learning. I wish you and your team all the best.
The domestic market of any company in the European Union is, in theory, the entire EU population: ~503 million people[1].

[1] http://en.wikipedia.org/wiki/European_Union
Did Skype give a private company data on teen WikiLeaks supporter?
Yeah, I worked with something like that about 10 years ago. We had an ETL process that involved like 20 Access macros manually triggered in sequence (click, wait, click, wait...over several days per cycle). I converted this entire process to a Perl script that would be pointed at the raw data directories, clean and process the data and throw it into the DB. Access was taken completely out of the equation. It took a few months, but I was an IT guy who had never programmed before and had to learn Perl at the same time.
Technically speaking, a company can't legally fire you for disclosing your compensation. That's an anti-union-busting law.

What this means in practice is that they'll make up "performance" bullshit (unrealistic deadlines, retroactive shortfalls, responsibilities without the support necessary to achieve them) and fire that person over that instead. One of the reason for companies to have "low-performer" witch hunts (also known as stack-ranking) on a periodic basis is to flush out the "troublemakers" they dislike but can't legally fire.

So I don't know how much protection those laws actually provide, but it is technically true in the U.S. that no one can be fired for disclosing his own compensation.
Neat, but you should probably give Glyphish some credit for design inspiration here.
I may be misunderstanding you, but you may want to opt for a noise-canceling headset or IEM + white noise rather than complete silence. The reason is that if you have just quiet, any noise that makes it through is guaranteed to be a distraction (fragile). With white noise, almost all outside interference will just blend into the white noise (robust). (By white noise, I mean any sound that you find easy to ignore. This could be certain songs, ambient sound, or white noise.)
Does gow support curses yet? Last I used it, it broke my zsh completion.

(I just use Cygwin now, though, because mintty beats CSRSS all hollow.)
ahah ^^
I'm sure the US doesn't need to bother wasting the resources required to train and embed a spy when a lawyer with a subpoena will do...
I think the only thing non disclosure benefits is the company. I lived abroad for many years, and salary was freely discussed. I think doing so is great for an employee.
What Facebook sounds like
I recommend this book:

http://www.amazon.com/Mathematics-Elementary-Approach-Ideas-...

> Covering everything from natural numbers and the number system to geometrical constructions and projective geometry, from topology and calculus to matters of principle and the Continuum Hypothesis, this fascinating survey allows readers to delve into mathematics as an organic whole rather than an empty drill in problem solving.

I find the book to be a great introduction to topics that are (actually) explored at the upper division level. The vast majority of what I've learned from lower division mathematics courses was a list of methods rather than understanding (which is understandable as it's really geared for engineers, who arguably care more about results rather than a deep understanding), with the exception of linear algebra and perhaps calculus 1.
Actually, I always knew that my family didn't make much money. But didn't know specifics until I was 18 or 19. Most years it was less than $35k per year.
But how do you do your binary search on a set without enumerating/sorting it? For example, if at one step, you know that 28.3 is too small and 42 is too big, how do pick the number between them that will split your set in two?
Saving Face
This explains why Groupon & LivingSocial have roughly maintained their market shares:

http://go.bloomberg.com/tech-blog/files/2012/08/livingsocial...

I think the primary reason for their "downfall" was not lack of barriers to entry (there were none at first, but once industry is established, there are as you mentioned), but a much smaller market overall. i.e., the "group coupon" model was very popular for a short time, much more so than its long term steady-state usage.
Summary (since it's not obvious from the title): this is a free e-book about "exploring the relationship between JavaScript and the modern HTML DOM".

From the introduction: "This book is not an exhaustive reference on DOM scripting or JavaScript. It may, however, be the most exhaustive book written about DOM scripting without the use of a library/framework. The lack of authorship around this topic is not without good reason. Most technical authors are not willing to wrangle this topic because of the differences that exist among legacy browsers and their implementations of the DOM specifications (or lack thereof).

For the purpose of this book (i.e. grokking the concepts), I'm going to sidestep the browser API mess and dying browser discrepancies in an effort to expose the modern DOM. That's right, I'm going to sidestep the ugliness in an effort to focus on the here and now. After all, we have solutions like jQuery to deal with all that browser ugliness, and you should definitely be leveraging something like jQuery when dealing with deprecated browsers."
Can we please stop using the word 'sexy' to describe certain startups? I doubt people have a sexual attraction to most startups.
Agreed. I would be interested to see a historical analysis of this. I suspect it is a relatively new phenomenon, promoted by corporations themselves.
Up vote for the effort. This seems to be one of the many PHP routers in existence these days. To bad you didn't model it after the routing used in Kohana. That's still the best and most flexible routing I've seen so far.
But local boys love to release first overseas and then head home where either everyone has bought something else or have learned the rejection received overseas. Classic example: Notion Ink's Adam.

I actually have tried the device - a friend had bought it. It's a clunky device. just that bad esp seeing the looks/feels and promo. Looks good from a distance.
Is it really harder to find a great marketer than it is to find a great engineer? Are Google's marketers really on par with their technical talent (from the outside it seems like a clear no).

It's interesting that the engineers wanted salary transparency, that's been my experience as well. I've always thought salary has more to do with perceived class of role in society opposed to value created (in most companies).
Yes, it does. If that is the reason, then what is the motivation for the employees? Explaining why employers want employees to keep it secret doesn't help, because it is the employees keeping it secret that we are talking about. You need to explain why the employees are keeping it secret, given that you've effectively described why employees would not want to keep it secret.

(I'm not saying there isn't such a motivation. Clearly something is at work here. I'm saying you're explaining the motivation of the wrong set of actors.)
> I'm cringing at all the responses in here saying "this is why", as if it's some universal truth, when really it's just rationalizing the particular culture people have been steeped in. Why don't women walk around topless at the beach? Just culture. Some cultures see it as perfectly normal.

Yes, it is cultural, but the answer isn't "it's just culture." There are reasons why it fits in one culture and not in another, and those reasons are interesting.

I realize people saying "it's like this because X" sounds like they are saying something universal. But they aren't. What they are saying is why, given other factors in their culture, things are that way.

Of course it is possible there is no reason for something in one culture. Random things happen. But even if they do, typically those things have effects and other things affect them, and all those things interact in ways that eventually settle down in some fixed point we call "the current culture". And even there, we can say a lot about why that random thing remains and does not vanish, or why it was not changed in a fundamental way, etc.
This is a good idea except for the part where big telco's have more lobbying power in congress than oil companies and this would never happen
Interesting, this would be an issue of course "This generally makes the person less likely to work as hard as before or contemplate other opportunities." if it was endemic can you say more about that? Do you see people at the top of the $X range who are 'coasting' (some folks called it 'retired in grade') or a lower performer pulling down the whole group who don't want to work any harder than the guy making the same salary and 'getting away with it' ?
On the other hand, continuing to use something merely because you already paid money for it is a sunken costs fallacy.

Use whatever works best for you, not whatever you already paid for.
I know that this is a pot shot against the American legal system (especially with regard to copyright stuff), but it really makes no sense. A spy would likely be no more expensive than a legal team (in fact, he'd be subsidized by his salary at Google) and would be monumentally more effective and secretive.

Beyond that, the hard part of training a spy to get into Google would be getting a good enough computer science student involved. From there, it's really just a matter of teaching them to cover their tracks semi-intelligently. However, given what I'm sure is a mountain of completely legitimate reasons to look at user data (for example, to resolve data corruption, investigate malicious users, etc.) and an inconceivably larger mountain of user data to look at, I don't actually think it'd be that hard to get away with it.
I was being nice :( Saying "I can forward it to our content team" and not explaining why that has any value to him is silly
It depends on your market. In China, IE6 is still at 20-25% and it's even more if you count all of the smaller browsers that simply wrapped IE6 Trident into their own browser interface.
I can't even begin to imagine how productive 6 months without internet would be.
I agree - Apple doesn't. But try buying an MBA alternative in India and you will be surprised that for all those features like SSD, solid OS, service promise/guarantee &c, MBA is your cheapest option :-)
Homoiconicity doesn't refer to lists, but to syntax being represented in the data structures of the language.