skysight-inc/HackerNews huggingface dataset:
We've built a complete continuous deployment system with TeamCity/MSBuild that worked quite well for us. It probably took about two-three weeks to work out all the details, and now it's been running for over a year with almost no modifications.

Our Git/TeamCity/MSBuild-based build server rebuilds/upgrades the database (SQL Server), builds a web app, and a ClickOnce desktop app installer package. Everything is then copied to the target web site. At the end of each build we have a fully functional web app + downloadable desktop app (the desktop app also auto-updates if it's already running somewhere).

We use NUnit to develop unit tests, but TeamCity has it's own NUnit runner that nicely reports unit test stats and any failures.

Production deployment is slightly different - the build box pushes everything to git, and production boxes pull the latest version from git.

I did have to copy a couple of directories from Visual Studio to the build box. I guess that's the dependency everyone is talking about. I ended up with just copying a couple of things (and documenting them somewhere) rather than installing the entire Visual Studio.

One thing I didn't get to is automating C++ builds on the build box. We have some C++ dependencies. Fortunately, those almost never change, so we build them manually, commit binaries to git, and the build process picks them up from there.

All in all, it was a pretty good experience. I didn't even have to use PowerShell that much. Ordinary cmd-scripts were sufficient for most tasks. The git command line interface is quite rich, even though it can be confusing at times (but stackoverflow typically has the answers).

If you're interested in any specific items, feel free to email me.
Timely. I'm interested in scala. Would love a couple opinions from those in the know ... (1) As a (very) experienced java guy, what's really the best learning approach: comparative? clean slate? I'd "like" to do Odersky's course, but I can't commit to scheduled tasks; (2) A minimal framework seems like a good idea to me - rather than Play!, what do folks think about Scalatra as a starting point?
BizSpark is awesome! My company wouldn't be around without it.
A Solar System Is Installed in the US Every 4 Minutes
Well, that and the fact that an employer in France pays something of the order of 42% of the employees salary [1] to the government for taxes.

The Zappos model [2] of $2,000 bonus for quitting one week in is great, I wish more places would use it.

[1] http://hrmagazine.be/fr/newsitem/la-france-au-top-des-cotisa...

[2] http://www.businessweek.com/stories/2008-09-16/why-zappos-of...
UK agents, seeking to stop leaks, destroyed The Guardian’s hard drives
> Why do you think this is blind optimization?

Because it is. It's a clear case of premature optimization. Especially since nothing was offered up to to suggest otherwise.

> When do you think an optimization like this would be appropriate?

When it's being reported back that it's one of the top bottlenecks. Before that, it's mostly a educational trip. It's great to learn how to write optimized code, but, frankly, removing empty function calls isn't an optimization.

> Can you give an example of a performance optimization you have made recently?

Eliminating the need for excessive memcache calls by not only changing the objects being called, but also by eliminating the need to make the calls in the first place by intelligently using existing locally cached… cache. If that makes sense. Anyways, that improved performance by ~20ms. It wasn't the slowest call running, but it was the slowest call running that could be optimized at this point.
In reality, per the agreement, he owed ME several thousand dollars

How does an unsuccessful salesman owe you several thousand dollars? And you are saying you withheld money at the time of firing.

Sales is precarious, but sales without a base is nasty.

I also notice in your language terms like "he, effectively, never earned". Basically, it sounds like this guy worked for you, didn't do so successfully and then you were forced by a court to pay him for his time, rather than you getting into trouble for letting him go.

I was going to treat you to a tune on the worlds tiniest violin, but I told the mice about your plight and now they are refusing to play it for you.
I must say that I did not know of the Logging gem. It looks really promising and has some nice features like coloring for i.e. stdout and rspec support.

Sadly the docs are even worse than the ones for Log4R. I will take a look into writing another blogpost as an introduction to Logger as well as the differences and advantages of Logger.
Thanks for making me aware of this gem!
> You should be allowed to negotiate as a savvy prospective employee.

You can always negotiate. You can also dictate your terms. Of course, the other party can refuse your terms, just as you can refuse their terms.
The problem with your thought process is that, unlike microsoft and google or apple, most traders and analysts already treat the company as if it can do no wrong. Analysts calling for price targets of 130 or 160 were predicting sales of 200K+ units per year 2-3 years out, which is a really aggressive target given the size of the addressable markets. On the other hand, it was only in 2011-2012 that wall street gave Apple its due credit.

Which is not to say that the stock couldn't jump further, but as of now it's already in the same ballpark as big auto in terms of market cap (as of close today, Tesla market cap is 17.6B while Ford's market cap is 65B and GM's market cap is 51B).
This is also interesting:

http://en.wikipedia.org/wiki/Boy_Scouts_of_America#Federally...

The BSA holds a Congressional charter under Title 36 of the United States Code,[19] which means that it is one of the comparatively rare "Title 36" corporations in the United States.[20] The 1916 statute of incorporation established this institution amongst a small number of other patriotic and national organizations which are similarly chartered,[21] such as the Girl Scouts of the USA, the American Legion, the Red Cross, Little League Baseball, and the National Academy of Sciences. The federal incorporation was originally construed primarily as an honor, however it does grant the chartered organization some special privileges and rights, including freedom from antitrust and monopoly regulation, and complete control over the organization's symbols and insignia. As example, outside of the Boy Scouts and Girl Scouts, no other youth organizations may use the term "scouts" or "scouting" in their name.
Seemingly benign “Jekyll” app passes Apple review, then becomes “evil”
Is there an automotive safety engineer in the room? I'd be eager to get expert commentary on these results.

The safety test results sound amazing. Tesla is also strong in the marketing department.

Just trying to maintain healthy skepticism. These results seem very exciting.
Reading... reading.. oh... it's the Republican's fault; they caused this...

Eventual point invalidated.

I think I've commented on HN before -- I come for tech news, which is where I could see this going. Suddenly it turned into a political discussion, and all hope for some useful resolution immediately gets lost. I really wish it would have turned out differently.
Along these lines: https://sites.google.com/site/rulezerorules/
More generally, avoid duplicating effort: memoize as much as possible, including branching over invariants.
Static analysis of any sizeable Ruby program is at best an unsolved problem, at worst impossible, as a lot of Ruby libraries depend on eval() and tracing down the sources of data for the eval string to verify that it isn't potentially user supplied (and often it can be)is hard enough, and the moment the data may be user supplied, you've "lost": Pretty much anything you thought you knew up to the eval() call can be wrong after the eval() call.

If you need/want static analysis, the option for the foreseeable future is to use another language (and I say this as a huge Ruby fan that also would love to see an evolution of Ruby that'd make some/more static analysis feasible, but for that to happen I believe you need an effort to provide a module encapsulating common eval() behaviour and a huge effort to replace eval in common Ruby libraries - it's not likely to happen anytime soon).
Computers and Education: An Example of Conventional Wisdom Being Wrong
OT: Isn't passing an object around that defines a series of callbacks to be applied essentially a... monad?
FWIW, migrating from a RC downloaded 2 days ago to this final release broke some stuff, most notably related to glyphicons CSS - so if you plan on upgrading, just be aware that it might not be seamless.
Oops. His name is Michael Travers, not Traven.
What about women in visible positions of power/authority? In Australia, male/female police duos are quite common. Could the same be useful in India? I think someone suggested elsewhere that this is being tried in Southern India.

Swift justice and brutal penalties, with cases being openly reported as a deterrence.

If many (generally poorer, rural) men are moving to cities, is there an issue of them being unable to find sexual partners of a similar status due to an imbalance in gender? Not sure how you would even begin to reasonably solve that problem in a short amount of time.
Ouch, units, please! Leaving the units out of your physics math is like, well, not wearing a seat belt when driving a car.

Anyway, I'm afraid that 0.5 seconds to come to rest is way too long. Toss it into the equations of motion and:

d = 1/2 at^2
d = 1/2 9.8m/s^2 (0.5s)^2
d = 4.9m

In other words, decelerating at 4 gees for half a second means you decelerate over nearly five meters.

I think we're better off starting at the other end of the stick and making a wild guess that the roof can move 10cm without being permanently deformed. Then:

d = 1/2 at^2
0.1m = 1/2 4 * 9.8m/s^2 t^2
t = 0.0714s

To figure out the height, we can notice that a and t will be inversely proportional for any given velocity (double the time, halve the acceleration needed), and so, for a given initial or final velocity, the subexpression at^2 is directly proportional to the change in acceleration. In other words, if we assume that the roof can withstand 10cm of deflection, you can drop the car from 40cm up.
Hats off to you man. I made a demand similar to yours the other week, though done in friendly words while being nervous about it, and my boss got visibly upset with me (guilt tripping almost), and I got the "too much red tape to just raise your salary like that. I'll talk to HR, maybe a percentage of what you want..." I know the team is pretty dependent on me right now so maybe my next move is to give the ultimatum (and maybe my first mistake was not doing just that...).
I can't speak for every designer, and it is possible that the shift is entirely a visual trend based on rebelling from the past trends.

My justification for keeping the interface low contrast is to emphasize content. Keep in mind that getbootstrap.com is designed for web designers and developers—most of whom will be familiar with traditional web design. Menus are in obvious places and don't need to be called out.

Take the alternative to the extreme: if we need color to show us clickable elements should we have flashing underlines? Gifs that move arrows back and forth?
US – AA merger: The 1000 routes of competition
How about being loyal to your customers? They're depending on you. Even though their contract is with the corporation, it still feels bad to leave them in a bind.
You don't know what project he was using that gem for. It's very well possible that he did some tests and found that this contracts library was the bottleneck. If that were the case, then the approach makes sense.

Although, given the nature of the library, I highly doubt that was the bottleneck
The same applies to EEO offices. They are there to keep the school/company from getting sued by people who might be discriminated against.
No. There's too many differences in all sorts of directions for this to be a useful way of approaching them.
>This works only if the electorate allows their votes to be bought.

The electorate doesn't receive anything for their votes. What they receive is entertainment in exchange for their attention. Their attention is then sold to the highest bidder, i.e. the politicians with the most money.

>The notion that a third party vote is 'wasted' is false. Even in a two-party system, it's an irrefutable signal to the dominant parties that available votes are being left on the table.

You have two problems here. The first problem is that the votes aren't actually on the table. If you vote for the Green party, the Democrats can't move to the left and end up with a net increase in votes because if they move to the left they may pick up a four Green voters and lose six centrist voters. What putting a viable Green candidate on the ballot does is require the Democrat to move toward the right because they'll have to capture more of the middle in order to defeat the Republican. It also allows the Republican candidate to move even further to the right at a given level of risk of losing to the Democrat. (And obviously vice versa if the viable third party candidate is an arch conservative.)

The second problem is that the third party candidates know this, so anyone you would actually want in office and who has any realistic chance of being elected just runs on the major party ticket of the party most aligned with their views. So you don't actually have any good third party candidates to vote for, because anyone who satisfies the criteria of being plausibly electable is just going to run on a major party ticket. Feel free to trot out a few count-on-one-hand counterexamples, but your average House race doesn't exactly have a plethora of desirable third party alternatives.

I've said it before and I'll say it again: If you want to vote where it counts, vote (or run) in the primaries for the major parties.
Teach Yourself a New Programming Language in 21 Minutes (Or 2-3 Years)
Errbacks are the Error monad. Failure is the Maybe monad (or errbacks with callback=None).
If you're willing to spend the cash, 3 servers can offer you a hot failover with a spare staging server. Of course with just 3 servers, you would have to accept failing over to a different version while you update the 2nd server.
"Break it or go to jail" is already established law that pre-dates computers ("open this combination safe or go to jail"), but courts have generally held that this law also applies to encryption keys.
You need to re-read the gp comment. Knowing what you're worth is different than what companies value your worth. A company may undervalue or overvalue your work - the responsibility is on you to determine if you're getting screwed or not - it isn't dependent on what others are getting.
Elon Musk clearly writes these things himself. That, or he's got a bunch of other folks like him working at Tesla.

Either way, it's exciting times. It's fun to be inspired by a company. To find something that keeps getting better as it unfolds...
bullshit. you don't bring up the specific example of the gestapo for comparison on how they filed their reports. his intent was to align the current actions of the UK/US intelligence services with the Gestapo, conjuring a very specific image.

which is laughable in the very redditesque way you just brought up.
If you're looking for clients, you could mention the venture or include a link in your profile. Never know who on here might be a potential client or could pass the link on to someone else who would be more interested.
What's that? The BSA is acting in a decidedly unfriendly way? No!

I say this as an Eagle Scout, and someone who had a great time as a Boy Scout from around age ten to eighteen. The Scouts are a great organization on a local level, where there's little bureaucracy, and most decisions are made by or with the boys. You gain a good sense of responsibility when you're the one in charge of overseeing all the camping gear for your trip, or planning an outing over a weekend. There's also a lot to be said for the personal growth that comes from starting as a ten-year-old, learning from the older boys, and then realizing at age eighteen that you're one of those older boys who is looked up to by the young ones.

However, the BSA at a national level is a pretty awful organization. They routinely discriminate against atheists and homosexuals. I'm an atheist myself, as were many in my troop. Again, at the local level this was fine -- nobody cares, provided the other members of the troop are sensible people (which, in my case, they were). But at the national level, any atheist is treated as a Godless Communist.

The same goes for gay boys and leaders. The BSA takes the delightfully antiquated stance of equating homosexuality with pedophilia, with no shortage of moral indignation at the idea that people could feel affection for those of the same gender. Until they do a bit of soul-searching and come into the 21st century, I'll have nothing to do with the national level of the BSA.
I totally disagree to, "that this type of looking and curiosity is part of how Indians generally are." Indians or for the matter of fact every human being is curious. But the stares described are not of curiosity but of lust, of wanting that body to satisfy a temporarily desire and then to boast about it to the friends. The biggest reason for such behaviour is the lack of respect that is given to a female in the Indian society. For every male god, there is an equally powerful or even more powerful a female god and we (quite a lot) Indians will go every day to the temple to ask the lady god for fulfillment of wishes but as soon as we are home we treat our wife, mother, sister with no respect at all.

Not only the males are to be blamed for turning India into a male society but also women. There are many (hell lot) women in India who want a son (still do not understand the reason). If they have a girl and a boy and no matter how good the girl is when compared to the boy, the boy will always get more love and attention.

I am an Indian and have lived all my life here and in many parts of the wonderful country. But it makes me sad to see the state we are going into.
Scout, NewRelic and HoneyBadger are great tools to get started with. Their limitations are that they do what they do, how they think it should be done. If you need different metrics, another way to split up the data or correlate your mongo logs with app requests via NewRelic, you are out of luck.

This is when creating your own logs with exactly the data you needs becomes valuable, when you can measure what you need how you need.

My first post set the foundation for being able to easily get the right metrics and information by creating solid logs. It does not mean that this has to completely replace the aforementioned tools, on the contrary, it can supplement them to give you exactly the data you need when you need it.
Do you want to move to Hawaii and teach people how to be kick$$ web developers?
Looking for well versed JavaSript/HTML5/CSS3 developers to move at least temporarily for 3 months minimum to Honolulu, HI to teach an accelerated web development coding school focusing primarily on front-end JavaScript development frameworks, Node.js and overall computer science theory and production development practices and workflow in a real-world setting.
Instructors would be instrumental in evaluating and updating curriculum and tools of the program on an ongoing basis and new ideas and approaches would not only be welcome but encouraged.
More details available on request.
We promise to take you surfing regularly!!
Aloha

I can be reached at sewellj at gmail or contacted via website: http://www.devleague.com/contact
If only I could get out of the habit of tab completion when using 'scp'...
Weight has a small impact, but you have to remember the low of geometric scaling.
I didn't say it was awesome, I said it wasn't the same as assault and possible rape.
This article contains errors.

"Using multiplication requires a mechanism to transport changes from high bit positions to low bit positions. Bit reversal is best, but is slow to implement. A viable alternative is left shifts."

Left shifts transport bits from low to high, no?

Less trivially, the discussion of reversibility appears to be incorrect and irrelevant. The property that every key has a unique hash is too strong for a general purpose hash function. For a general purpose hash function, the space of hashes is assumed to be much smaller than the space of keys, so a 1:1 mapping is unattainable. The goal instead is to decorrelate collisions from the input key distribution, even when the key distribution isn't known in advance. The hashes should resemble random numbers, even when the set of inputs is highly skewed (which is almost always the case). Collisions should occur about as often as if the hashes had actually been random numbers. The random-appearing distribution of outputs, regardless of input distribution, is the property that defines a good general purpose hash.
Ask HN: Why doesn't arbitrage appear to equalize the bitcoin market?
At this time, Bitstamp lists btc at $102.98 usd, and MtGox lists it at $118.88220 usd. Why are the markets so inefficient that the gap is so large? Is it a volume issue? Bitstamp lists the 24h volume at 20459 BTC, and MtGox at 53187 BTC, so between the two there's about 9 million dollars of btc trading hands per day.

Is it that the potential profit at the current volume levels is too low, or the potential profit at the currently imposed marketplace limits is too low, or is it that dollars-to-bitcoin transactions take too long to complete to successfully cash in on the difference, or is it something else?

I'm very interested in bitcoin and would be fascinated to hear any theories/explanations.
I definitely have a lack of viable ideas. Would like to know where all these ideas your talking about come from :-)
I would argue that the standard rails logs are perfectly fine for local development and debugging. NewRelic even ships a local version that allows to track down performance issues.

This works great for one or two requests triggered by the developer, but fails when thousands of requests bombard a live application split over a multiple servers with multiple rails instances running on each.
That's AES, a government standard. And in fact the only option for some platforms (like Windows Phone 8 for example) if you want to rely on what's built into the OS.
The phrase you're looking for is "clinical depression". 'unhappy life' is still depression.
I have found that `btn-large` changed to `btn-lg` during the release from RC to today. So definitely take a look at this for larger projects.
Wow. The windshield doesn't even crack.
Doesn't help - the quadcopter's cameras don't _need_ to be only sensitive to the human-visible spectrum.

(having said that, Rayleigh scattering is frequency dependant, if I recall my high school physics correctly, IR will scatter lees than visible light – I doubt thst matter though, in ship-to-ship communication there'd be more than enough mist/water in the air to scatter enough IR for a suitable camera to see the beam)
USA and UK are already doing it:

[1] http://news.cnet.com/8301-31921_3-57364330-281/judge-america...

[2] http://www.bbc.co.uk/news/uk-england-11479831
I don't think that test wall moved more because of the weight of the Tesla.
which automatically hides
Obama administration asks Supreme Court to allow warrantless cellphone searches
Lograge's functionality imho can be replaced by Log4r's formatters and the notification code in the initializer.
Not sure if this would help, but this forum is on sale on my site - http://www.sideprojectors.com/project/project/27
Well, we have laws in place to protect people against discrimination. Unfortunately, when people's backs are to the wall and they lose their jobs, some like to make up all sorts of things to make a few bucks.