skysight-inc/HackerNews huggingface dataset:
the best way you can improve the quality of code is to LEAD BY EXAMPLE. you're not alone in that you've been given a leadership position in a circumstance outside your control, and it's naive to think that even if you were given your pick of the litter, that they'd all be A players who respect you and don't want your job, have issues with your quality,
etc.

You absolutely cannot control people. The only way to get people to do things, and i mean the ONLY way is to get them to WANT to do it. Therefore, you have to ignore the people who aren't cooperating with you and focus on the one's who do. Treat them like gold and be willing to make compromises with your quality standards because they will not be the same as yours. Then, as you make inroads on the project together, the rest of the team members either have a choice to get on board or get left behind. It is that simple.
> I tell myself I'll look through them at some imaginary point in the future.

I'm sure you already know this, but, if you're serious about looking through them, please don't wait! I found an old cache of floppies myself a while back, and looked forward to a nostalgic stroll through their contents, but after less than 10 years almost half the content was corrupted.

It probably won't make a huge difference after all this time anyway, but please at least archive to a more durable medium while you wait!

(Of course, maybe I've missed the point and just the pleasure of having them is worth more than any data you might get off them—in which case, don't mind me.)
I agree that being in the same room helps move things along, but why not do it in a city with a sane cost of living?
Awful name!!! Why Cockroach..??
Good for you but since the op and I are talking about America the fact that you live elsewhere really isn't relevant. Of course things work differently elsewhere. If you want to talk about how things work in the rest of the world that's not something I'm qualified or willing to comment on.
Orbital Sciences Ditches Soviet-Era Rocket Engines Following Explosion
Why? This is exactly the situation, where the tool is a great match for a job.
awful awful name... folks didnt get anything than cockroach..
They're looking for Go engineers:
http://www.golangprojects.com/golang-go-job-in-Senior-CDN-De...
That form wouldn't be on the same domain and therefore would hit CSRF protections.
In your example you have two "bugs", you're not capitalizing the constructor name and you're not using `new`. I would have to make two separate mistakes to reproduce the issue you're talking about.

The only way I'd make the first mistake is if I was unfamiliar with `your-class`'s API, so nothing can save me there.

JSHint would catch the second one.
The author wanted a build system which does not ultimately generate a bunch of Makefiles. CMake and GNU Autotools both rely on Make to do real work.
I'm not a JS guy, but when I read articles about Python or VIM here on HN I often want to write comments like yours. I still have a hard time accepting that after 5 the number 6 will probably be much closer to 4 again, just with more nuances.
We often call smaller city's suburbs of larger ones. DC 'suburbs' extend out 60+ miles and include several mid-sized city's. "Greater Metropolitan area" is often a better term. EX: Fairfax city is in a similar location relative to DC and takes 1h 20min to get their by subway, it's also inside fairfax county which has ~1Million people. However, large numbers of people commute from west of Fairfax into DC.

So IMO, it's consistant when you look at overall traffic / commuter flows.
So, what you're saying is that C is (usually) compiled?
Why shouldnt someone at apple use Go.

Servers/scripts/etc are not their usual focus and they dont really have an internal language that fits better. Go is pretty good at this kind of things.
Office for iPad is very well designed, now they need to upgrade it on Windows Phone
The Oculus Rift makes Elite: Dangerous amazing–and impossible to describe
I find this both crazy and quite appealing! Maybe doing so after also dishing out some of the good books recommended elsewhere in the thread could work well. First read about good practice, then participate in it?
Tracking Progress of SQL Server Index Builds and Rebuilds
This.

Great advice. I often wonder why people never associate "start-ups" with "small business". There are plenty of states who talk about having very favorable tax structures for small businesses, none of which include California.

Reno is a great example of being able to leverage favorable tax structures and still being close to "the action" so to speak. This is such an obvious win-win on so many levels, I'm not sure why more people talk about utilizing states like Nevada for these advantages.

If you look at this map, Nevada has one of the best business climates, which is right next to California, which has one of the worst:

http://taxfoundation.org/article/2015-state-business-tax-cli...
Here are some common use cases:

Using our in-application guides and messaging to announce new features or to "guide" people through a process.

Using feature metrics to track the adoption of recently launched features.

Improving the onboarding process by teaching the users as they go.

Making help in-context instead of out of context i.e. the help guide can be launched from a icon by a feature

And of course feature, visitor, and account metrics help drive future product direction
Good coders should start new projects. Mediocre coders should maintain projects.
Those sales tactics are not new, but they may be new to some markets. The tactics have been in play by salesmen in multiple markets for generations. For example, car sales operate much this way in most cases. Which is probably why car salesmen have such bad reputations among buyers.
Hm... again, I think we disagree fundamentally about why taxes are the way they are. Let me explain the way I see it.

A government, its taxes and the public services it offers (firefighters, courts&police, mandatory vaccination, schooling, etc) are a great solution to a prisoner's dilemma that people face: "Why should I contribute for the fire department, when my neighbors will?" Then, a house somewhere caches fire and the whole city burns down, because no one was willing to pay for a single fire truck.

Then, the question is not, "how much does a single person benefit from a specific service", but more "how much does the society benefit" - everybody benefits a lot - less revolutions, less famine, less epidemic illnesses, less crime. How should we finance this? The answer almost all countries converge to is progressive taxation; it makes sense, really, as those who have the most also have the most to loose. What should we tax? Most countries tax income, sales (VAT), and profits/dividends; also specific goods (e.g. tobacco), capital gains/interest, and property. Most of these are IMO good - sales tax is very progressive (those who have more -> consume more -> pay more tax), tobacco tax discourages smoking (a lot of external costs, especially in countries with public health system), property tax promotes effective use of land and is progressive as well, as are capital gains/interests taxes. Personally, I would reduce income tax, and raise profits/dividend tax (as those who work tend to be poor, those who own tend to be rich), but that's just me.

AFAIK, taxes don't work the way you think they do - sales tax is really VAT, so you don't pay 20% (you only pay 20% of the added value you create, which for most businesses is a much lower percentage of revenue) - also, income tax is applied before tax on profits (employee salary is a cost to the business), and for most people it's quite a bit lower than 30% (i.e. for the poor, those who spend most of their paychecks on basic goods). Tax on profits is in many jurisdictions completely optional - the owners could very easily elect to pay no tax on profits (only tax on dividends, which is in line with income tax), but then they would have unlimited liability. Tax on profits is basically the price of buying limited liability.

I'm not saying there should be no double tax treaties - there should be, of course, but companies should not be able pay less tax on the profits generated within one country, just because taxes in the other country are lower.
The problem is that for the subset of features supported on mobile, other tools like Numbers are comparable and have been available for free for a long time. The features that make Excel and other office products shine, including automation and macros, are not supported.

While it is a solid move for Microsoft, that whole generation of new users wont see much of a difference between 2014 office for ipad and numbers.
It is your team, with your own culture, so I would not presume to tell you exactly how to do it, but I can give one general bit of advice:

Communicate.

Tell them what you are seeing, and just as importantly, why it can be a problem. Many times, beginner mistakes arise simply because they never have been exposed to the reasons for them being "mistakes" in the first place. So teach them. Nicely.

Think of them as students, and you are their teacher/mentor. Help them grow, support them and act as a resource so they can do their own jobs better. Treat the whole experience as an opportunity for growth, not a judgment on their skills.
The Evolution of the Title Bar Buttons
lol,i'm not sure why anybody would be sacked because "Google product" ;) however,I wonder why they didnt use Swift,and it's a question.
This 100%, but also OP says due to the nature of the timeline of the project he cannot review all of the commits, this leads me to ask: what are your developers' timelines for delivering work like? Equally important, what do they feel like their timelines are like?

It's really easy to write problematic code if you're being pushed to crank out work fast, all the time. The more stress and tighter the deadlines the more easily correctable problems you are going to see. Other than that you have to assess whether your team believes the errors you see are actual errors.
Startup Marketing Is Like a Touring Band
Fast and Furious Director Justin Lin Will Direct Google Spotlight Story
I played the original on the BBC B. It was amazing. Stunning. Blew my 14 year old mind. I feel this combination of technology and the perfect game will completely blow my 44 year old mind.
How Democracy Works Is Innovating Government from the Outside In
Does this have any implications for the forthcoming update to Office for Mac?
1. Smaller commits. Break the project down into smaller tickets and have them check-in more frequently.

2. Rotate who reviews so everyone gets a chance to review everyone and put yourself in the rotation.

3. Lead by example. Write some code into production and submit yourself to review. Everyone writes code, everyone reviews, everyone gets reviewed.

4. Each review find just one thing to refactor and let them know they should be looking for the same thing in other people's code.
It'd be really interesting to have a peek into Apple's supply chain to see how many of these "outdated" models are still being produced, and how many of the parts are newly produced vs. old stock (e.g. if the 2011-era CPUs being used were made in 2011 or 2014).
This. The general form of this question is, "How do I help someone increase their skill level?"

If the topic were math, you'd immediately see that a tutor and a lot of practice were essential parts of the equation.

If the topic were baseball a coach and a lot of practice would leap instantly to mind.

However, it is too often the case that employers and managers draw a line between the "educational" period of a persons career and the "work" period of their career. They also draw a line between what is their responsibility (in terms of improving an employees skill set) and the individuals. Combined these two lines means it is easy to get into a situation where, as a manager or employers, you are likely to think "You should have learned this 'before'" or "You should learn this 'on your own time.'" Neither of which thoughts actually help get you closer to a more skilled employee.
So in any case, EU is something a lot deeper than the UN.

Wrt to wrongness, yes, it is wrong that a small country takes advantage of the openness and loopholes of global economies to funnel money in their direction. There is a simple asymmetry at the core that thei exploit: a big democratic country will never be able to lower corporate taxes because the citizens/wealth generators will protest. A tiny dictatorship or otherwise tiny country with no other resources will be able to convince its citizens that a sustainable future can be built by leeching off funneled money made in other countries. To me that is immoral

Or are you suggesting that any of these countries could survive financially with such low tax rates without the foreign money?

PS. With respect to the amount of control over indebted countries government, consider the case of Greece. Yes they could have opted out by voting in a referendum, but when the prime minister proposed to do that he was deposed overnight.
I do work as a remote C++ consultant too. Can you get in touch with me? I would like to exchange ideas
Show HN: Amazing iPhone 6 stand for free
Sounds like you're advocating a different compiler ("based on"). Why not contribute directly to LLVM or GCC?

Are there optimizations they'd need to do that are incompatible with the wider goals of the open source project? I'm assuming the projects would be happy to accept new optimizations.
Hating on Microsoft is a lazy way to get "e-cred" regardless of the actual topic. If this was announced and presented the exact same way by Apple it wouldn't receive half of the negativity.
Usually when building a distributed database, "TBD: how to avoid partitions?" is not what you want to see except on the initial whiteboard discussion before a single line of code is written. But what do I know, I am not an Ex-Googler.
Price discrimination clearly involves profit maximization, otherwise the firm would have no incentive to carry it out in the first place.
The movie theatre is not practising price discrimination because it's dedicated to some noble goal of clearing the market.

As mentioned above, your method has essentially extracted all possible consumer surplus and shifted it over to the producer. I'm not sure why this is a good thing; every consumer is purchasing at the maximum price they would be willing to pay, which means they're actually getting the minimum amount of utility out of it, while the producer is getting a huge amount of utility (all that surplus).

Furthermore, you seem to be ignoring the fact that money can be spent on more than one product. No, I am not happy as I can be if I'm charged the maximum amount for each product I purchase because that limits my overall utility as I can't purchase as large of a consumption bundle.

Finally, in your example, you say no economic value was created because those students did not get to spend the 70 pounds on the movie theatres. You're implying that the money somehow goes to waste, which is not true. More likely, they'll go purchase a substitute good (dvd rentals, student plays) and increase GDP via consumption through that.
The pattern didn't break subclassing there, your code did by not continuing the pattern and then not using new :)

Personally, I only use this pattern for cases where it's more convenient not to have to use new (e.g. building declarative APIs for defining things) and let 'use strict'; catch the rest.
I completely agree with your points. In my opinion it was okay to sell the second most recent version of their products as a cheaper option and a way to clear stocks, but now they are selling products multiple generations ago which doesn't make sense to me.
They don't have much, but they have this: http://gondolaweb.com/tutorials/
> The point is they want that traffic coming directly to them.

Very insightful and true. The problem is that they can't find a strategy to make this happen and are capitulating due to their lack of ability.

That is to say, _if_ they could find a way to make aggregator customers instead into their customers, they wouldn't be backing down. What they're discovering, however, is that, even if they weaken Google, they don't strengthen themselves in the process. Readers simply turn to other sources.

This implies that readers perhaps don't value Axel Springer's content over other news sources. Or, at least, they don't value it over the value of aggregators.
To play the devil's advocate:

- Bild makes money from the online visits.

- Google makes money form the online visits as well.

- Bild actually provides content for Google to generate that revenue.

Why should not Google pay for the content (a percentage of ad revenue generated by the news.google.com would do nicely)?
Most tips here are very good, suggesting books ("Clean Code", etc.), team huddles and showing them the way. But you seem to be implying that they could be great coders - if they wanted to.

I can't help but feel like these programmers aren't very passionate about their code, and that's what you need to help them with. If they're naming variables wrong and hardcoding strings, but understand the asymptotic running times of what they're doing, I'd go on a hunch and say they're bored or unmotivated.

I say this because I recognize myself in some of these behaviors - when I want to get rid of something and don't care much about the project. "What's the fastest shortcut I could take to get me out of here?".
I see it from a different angle. Google has invested in creating both Google News, and search in general. Yes, Google's business would sink if nobody allowed it to do snippets, but it's also not in their interest to do that.

Let's go to extremes and say that everyone the world over blocks Google from indexing and aggregating their news sites. That means that smaller players can enter the market, but if the blocking is based on principle; then those smaller players would have to invest in infrastructure, IP, and still have to pay publishers! Then publishers then also lose out.

From reading the article, it seems like the company is saying we're shooting ourselves in the foot by blocking Google, yet we still want to piss in our revenue fountain.
But this is a pretty clear indication that things are broken. I understand that there are variations in how things are done, but if you're doing "standups", the whole point is: keep it short and sweet. Otherwise, call it a "morning meeting" and run it as long as you want.
Google should just cut the hosepipe, and let's see what happens. Though that's wishful thinking as it would be a political move bound to end up leaving a mess everywhere
I honestly think this complaint is poorly argumented. It depends on the nature of the project. When you say "findeventsfromthelast6hours" that's perfectly reasonable name for disposable code or private implementation. You should only be concerned about such name if it made it to the API somewhere. Hardcoding things is also not a bad thing by itself. If I had to guess, your team is under the impression the code they write is prototype and will be rewritten anyway, not API to be consumed by other parties or doesn't have a direction that allows them to make the proper abstractions. Sure you can demand nothing to be hardcoded, but you must remember eventually those params will have to come from somewhere. I see so many people move hardcoded values Java -> IOC/DB config or Erlang -> DB not realizing it's more difficult to reinitialize the component than to do a hot reload and speed up your development process at the very least. Whatever you do it must be for a well-defined reason. It's also possible your team developed their own process where it's easier or faster to fix these issues on the go rather than planning in advance.
Eve – October
LibreOffice has been available and does 99% of what 99% of users need.
Alright then. Lets give up. Lets offer up our private lives to the prying eyes and ears of the NSA.
The disc contains systems that are not easily reciprocated: the intake and exhaust ports, as well as the ignition system. You can be sure that if it were possible to simply swap the rotation, Duke would have done it. The issue of reciprocating mass is well known by engineers who work with axial engines.
Yes. This. The OP is NOT leading a team of programmers. He is asking HN to lead his team of programmers. "lead" is not a noun. It is a verb!
You're taking a sentence out of context and giving it the most uncharitable possible interpretation. They certainly haven't "forgotten" about network partitions because if you actually read the design document, instead of ctrl-F'ing for the word "partition", they talk about the mechanisms they use to ensure sequential consistency. The software is not yet at the point of being testable AFAIK, but clearly the intent is to build a CP system.

The section you're quoting is discussing a separate gossip protocol that is used to lazily propagate node state information. It does not affect the consistency of actual data replicas.
New technique makes phishing sites easier to create, more difficult to spot
Show HN: Hitcher – Connect on the Caltrain
Below are a few things that could help but you said it yourself. If you don't have time to review then my guess is you are also pressuring the devs for time. Sometimes to make your deadlines they might have to cut corners. Maybe you can switch to a more agile process and instead of crazy deadlines you ask them what they can get done the next 2 weeks (correctly).

- Setup process for them to review each others commits (Code Reviews)

- Add a tool like FxCop, JsLint or JsHint to the build and commit process

- Hire more senior programmers that they will look up too.

- Paired programming

- Be a team and do stuff as the team (We are not factory workers)
Show HN: HiveFlux
Not at all sure why it's relevant which programming languages they use at Apple.

Is this considered interesting since it somehow proves the mainstream adoption of Go? Or since Apple, a competitor of Google's in cell phones, are using one of Google's technologies? Or what?

The takeaway for me was that Apple has a whole /8 subnet to themselves. That's just ... immense, for a single company. Gaah.

EDIT: Mis-typed the netmask, I meant /8 but typed /24. Fixed.
Need? No.

But Silicon Valley is where the talent is and is easiest to find. It's where growth is easier than anywhere else. The financial price is generally worth it.
I tend to ignore them and continue doing what works for my needs for the project at hand. I know sooner or later my coding style will be the "correct" one again.
35Afternoons 35Technologies – 10 Goose Extractor
this part here is supposed to solve the problem with people forgetting new:

if (!(this instanceof User)) {
return new User(name, lastname);
}

I'm pointing out that this doesn't work if you extend the class.

The point is - don't forget `new` because tricks like this will not save you, in fact this is arguably worse - you think you're getting a `Person` but you get a `User` with no immediate errors, at least if you forget `new` then you'll get an error straight away in strict mode.
Black software engineer here. Pretty much disagree with all of this. Here's my take:

http://righteousruminations.blogspot.com/2014/11/another-sid...
In what aspect it is no match? Feature-wise, not GUI; GUI is non-factor here. People wrote a kernel without a debugger after all.
Apple iOS Malware Wirelurker on the Attack
Short term solution : Lead by example, a good chance that they can learn from those and maybe copy them afterward. But the code quality will improve. This can take your time but as long as you have several good examples, you can reuse those.
Long term solution: Encourage them to watch conference and good books like Clean Code, or TDD books. Those are incredibly good. Maybe they are not interested in at first, and never, but those who want to be better will become ones.
Not mine, just thought it was interesting.
Once you get past the very early stage and start needing to scale in terms of staff, you're going to want to have an office in the Valley.