skysight-inc/HackerNews huggingface dataset:
Good use of DI can help one write a more comprehensible, lighter, more flexible system, where each class is responsible for doing just one or two reasonably-scoped tasks. Unlike, say, an obsession with UML, DI is _not_ the hallmark of a crap-grade programmer. Nor is it all that simple, in the sense that it can transform your way of thinking about runtime configuration and object lifecycle management, and promotes a more flexible mindset.

That said, I absolutely despise autowiring and annotation-based DI...
It would depend very heavily on the nature of the charges.

In general, however, I don't think that I would want to work for a company that would hold a bias against me due to my participating in presumably honest testimony when a previous employer was brought to court for whatever reason.
For anyone interested in this kind of thing (UFO stories that discount the idea of aliens etc... ), take a read into the back story of Alexander Weygers. He was a polymath who patented an invention called a 'disc copter' in 1945 ( about 5 years before the phrase "flying saucer became popular"). There is a gentleman who has an art gallery down the street from my house who is probably the premier "expert" on the back story of this guy. I was lucky enough to apply for a web assistant gig there hence he told me the entire back story over the course of an hour and gave me a tour of some of the original art he has from Weygers. To make a long story short Weygers use to live in Carmel California and was a builder, artist, inventor etc. He invented this "Disc Copter" invention and his students said that "Men in black suits" would visit him during the course of their mentoring sessions; and when they did Weygers refused to talk much about it. Look him up. This documentary looks good btw.
This needs a 2002 in the title.
Ned just did a talk about this at pycon montreal, for those who prefer video. He's a great speaker too: https://www.youtube.com/watch?v=_AEJHKGk9ns
I know it's not the HN guideline to thanks, but crap. Thank you for your exceptionally well sourced comment.

I wish I had something like pocket for the youtube videos so that I could watch them during transit.
> NOT an alumni or past interviewee but i'll put this out there ...

1] Paul Graham - wrote an Essay - How To prepare for the interview

> http://old.ycombinator.com/howtoprepare.html

2] I created a summarized, annoted version of 'Grahams essays key points' aka my TLDR

> http://sospep.com/view/article?id=4457

I would memorize those keypoints

3] I also compiled a list of the 'interview questions' that they are known to ask?

> http://sospep.com/view/steps?id=129

you/your co founders probably want to know the answer to every 1 of those questions, as they pertain to your company, backward, forwards and sideways :)

4] and a few other resources, that may be helpful to you...
- like ARTICLE(s) - our interview with ycombinator by ... (* x)
- i will add the links to the Reference section the article i posted above

Finally, congratulations, I suspect the bar to YC is pretty high and you've cleared the first hurdle. Now get started practicing those interview ?'s and good luck!
You want something more optimistic. I think the correct word in Spanish is "encuentro": (autotranslation) meeting, encounter, match, citation, collision, smash, clash

Looking at the backtranslations, one of the suggestions in Spanish is "reunión": (autotranslation) meeting, reunion, gathering, assembly, collect, party
I thought I made my point quite easy to understand.

Unauthorized access to anyone's account is not a harmless prank! This goes double for accessing the teacher's account!!

These are the facts that I have been addressing. At no point have I introduced hypotheticals that did not occur. The student accessed the teacher's account by guessing or shoulder surfing for the PW. This is unacceptable and should in no way be treated as a "harmless prank".

Allowing this type of access does set a negative precedent which does open up a teacher to unnecessary risk!

I'm not sure if you are being deliberately obtuse in regard to this simple point.

This is a simple case of unauthorized computer access. In the adult world this is a criminal act. In the juvenile world the response should reflect the seriousness of the act. Your response seems to be "well.... kids will be kids and after all no harm was done". This is not how we educate ethical computer users.

let me again! resate what I have already said. I am not saying that the student should be punished for any potential trouble he could have caused. The act of gaining access to another person's account by nefarious (which includes simple guessing of the PW) means is itself a serious issue which warrants a serious response.

EDIT: From the article: "A student at a Tampa Bay-area middle school was charged with a felony cyber crime after gaining unauthorized access to a teacher's computer and changing the desktop photo."

from Wikipedia http://en.wikipedia.org/wiki/Computer_Fraud_and_Abuse_Act

It seems rather cut and dried that under US law this teen was committing a federal crime by gaining unauthorized access to a school computer system (state school i'm guessing).

Now agree or disagree with the law, it is what it is. I categorically do not agree that this matter should have been made a police issue. This is an unnecessary escalation of matters in my opinion.

But your response of "harmless prank" is completely unreasonable and does not address the gravity of the situation.
Finding Stock Photos Is Hard
This one is a particularly weird leading question, since the idea is facially ridiculous. In every human society, we had ten fingers for hundreds of thousands of years before developing a system of ten numerals. We have ten numerals because, when the numerals were developed, we were already using ten-based counting.
Something that really frustrates me is people who are more expert than me but can't justify their pronouncements. I had a high school friend who I'm sure was smarter than me claim, "No one does object oriented programming the right way [except him]," but when pressed would just deliberately play games and mystify. Most DBAs I've worked with had their preferred way of doing things, but were incapable of answering Why? It's not easy working with these people. I've come to really value a colleague who can teach---that is, who can explain why they choose what they do.

I'd say anecdotally 2 out of 5 times I've encountered this it's been someone covering up for their own lack of understanding. These are the worst and the most inflexible. All but one DBA I've worked with was this way. It's the natural result of cargo-culting.

2 out of 5 times it's because the person doesn't have patience to explain all the background you'd need to understand, or they don't trust that you have sufficient background. Sysadmins do this all the time. If you're smart and already pretty familiar with their field, it's very frustrating. This isn't as bad as the former case, but it indicates personnel conflict and lack of trust. It's understandable though, e.g. answering technical questions for business people. I've gotten pretty skilled at giving non-jargony, intelligible, short, "popularizing" answers, that also invite further questions if desired. But it's not easy.

And 1 out of 5 it's because people with experience have forgotten the reasons. I've been there too. Just the other week on a Rails project someone wanted to use an ActiveRecord default_scope of "where deleted_at is null", and I had felt the pain of that on past projects, but it took a while to dredge up the details from my memory.

Most of the above reasons don't correlate with age/experience, but the last one does. Experienced people have so internalized certain lessons that they've forgotten the reasons behind them. You could say this is a bit like Michael Polanyi's "tacit knowledge". In this case, hopefully they still have mental flexibility to recognize that nothing is 100%, and if you give them time to remember and communicate their reasons, you can have a reasoned discussion and make a good decision. But recognize that making people think in this way often "feels like work." You are asking them to exert themselves, so it's important to communicate in a way that isn't challenging their knowledge but asking them to share it more deeply.
My understanding is that it, no automatic notification of replies, is deliberate and the reason is to avoid stimulating flame wars. As someone who posts a lot and usually tries to avoid flame wars, the first thing I do on any site is turn off email notifications. If I care, I look at the threading of my comments.
Yes, I believe this is more a more accurate assessment. I bet at most large and medium-sized tech companies, there's not a huge difference in compensation among rank-and-file employees (both individual contributors AND managers), with some managers earning more and some individual contributors making more. Probably no more than a 2X difference between what a junior engineer makes and what a senior engineering manager makes.

However, there's going to be a HUGE gulf between what they make and what the senior executives make--anywhere between 3X and 300X. That's where you go to escape the "salary squash".
.italic { font-style: italic }

from [0]

This is certainly odd considering how far we've come in embracing semantic markup and styling.

[0]: http://www.basscss.com/docs/utility-typography/
I can't figure out the point of this article. Why does adding one more seemingly arbitrary layer of abstraction help anything?
"a toolset that allows non- and minimally-technical employees to quickly and easily build new reports"

Been there, done that.

This is the mantra of the BI system marketing machine that I've never actually seen work in practice.

But I'm glad you've seen BI enterprise systems succeed where the end users are happy and feel their toolset is flexible enough for the new daily challenges they encounter (sincerely).

I love Tableau as an exploration tool and think the UX and visualization capabilities are awesome. Just not the solution end users wanted. I've also rolled out a massive cloud based enterprise BI system (data warehousing, ETL, etc.) at a separate company. That wasn't the solution, either. Plotly was. But, just my two cents.
> Text gives you power, composability and flexibility that you simply cannot achieve with a GUI.

Can you think of any big things that you lose though?

> Editing text without having to move your hands back and forth between keyboard and mouse makes it so much faster and lets you concentrate on your actual work...

I could probably get between floors in my house an order of magnitude faster if I replaced the stair cases with slides and a trampolines. Somehow, that does not seem practical though.

> The shell is so successful precisely because it uses text as a common representation for all data.

Successful in what way? As successful as GUIs?

> Computers are good at manipulating text and humans are good at understanding text.

Humans are good at understanding patterns and symbols and they're not good at memorizing text commands. That's why everybody can use GUIs but few can use a shell.
I like Nicolas Gallagher's SUIT CSS style foundation, utilities and components. https://suitcss.github.io/
As with any UFO enthusiast it's not unidentified flying objects they are after they've convinced themselves it's aliens.

I'm sure their minds are already made up and they searching for something they think is there which isn't impartial or scientific.
@wsstrange:

The S&P 500 is 50% above its 2008 peak on May 8, 2008.[1] That's a 5% annual compounded return ((210/140)^(1/7)). And that's using the 2008 peak: if I use the lowest price from 2008 (in December), your return would have been 8.8% annually. Inflation (at least in USD) has been benign during this period, so probably there has been a real 4% return during that period. I don't know how you concluded that you didn't get a 4% real return during this period.

If you look at the stock market over any short-term (<15 years) it will be quite volatile. Over very long periods it is more regular. If you're investing in the stock market, you must take a very long time horizon.

If you really want to understand this topic in more details and whether your portfolio is likely to fail over some period of time, I encourage you to play with FireCalc [2].

[1] http://tinyurl.com/poz7trc
[2] http://www.firecalc.com/
How I optimized for personal growth: a startup and having an auto-immune disease
I'm always confused by psychological references to Descartes "I think, therefore I am" statement. Isn't this instead a statement about knowledge? That is, starting from no assumptions, what can be known about the world? It's my understanding that Descartes' answer was that the fact that the questioner is currently thinking means that they must exist, and this can be used as a foundation for more knowledge about the world.
I'm losing faith that this is a viable approach. For example, laptops are a domain where your options are Apple, Lenovo, Dell, or a company that whose future in the laptop market is bleak. All of the options have done goodwill losing things in the past.

Can't we all just "conquer the known universe" together? We need a framework for educating these companies that open solutions have greater reach than closed solutions even if they are less directly profitable. The people making decisions are often successful enough this should be possible.
Don't trademark filings require a textual description anyway?
Ask HN: Daily penalty clause in freelancer/subcontractor contract
Occasionally I do some freelancing software development. I have an option to do some freelancing (subcontractor) work for an IT company but their frame agreement contract scares me, at least all my previous contracts were without a clause like this.

This company wants a 0.5% daily penalty of total project price if I don't deliver on time or don't deliver bug free. On top of this both the task description is vague and there is no wording at all what is the acceptance criteria of a deliverable.

While I can understand their side I also know that this could only work for huge project with very detailed spec and signoffs and everything. In our case the task is hand is quite vague in some areas and I know that certain things will come up that we didn't discuss or think about.

I definitely won't sign something like this, my question is more of (a) if this is a standard clause in certain freelancing areas (and I somehow missed it in the last 10 years) and (b) if yes, then how a freelancer can mitigate this risk from their side (eg. increase the project price by x%) and (c) what would be an acceptable % of daily penalty of total project if someone would sign this?
THE MYTH OF THE DEDICATED IP ADDRESS FOR SEO
I get the non-semantic classes argument, but I've never seen a solution that is generic, responsive, and semantic. Any leads?
I was exposed to vi 15 years ago but not until recently have I decided to get better at it. This article was great and helped a lot. It's a fun skill to improve.
It's a tech company with a market cap of $42bn and see was the fourth CEO to take the wheel in 2012. Of course, what happens at Yahoo! is news and that the conclusion that it went downhill during all the board shuffles makes sense. But I'm not sure this proves she is doing great:

Certainly seems to be in a better state than before. That can be credited to Marissa Mayer. A look at the stock price[1] seems to confirm she indeed does a good job.

However, one might argue that's just mean reversion at work: they hit a bad streak followed by a good one. The fact that this shuffle remembered me of the Henrique de Castro mess makes me conclude see is not doing an 'extraordinary good job', just good.

[1]: http://finance.yahoo.com/echarts?s=YHOO
Is there a Ubuntu DE that implements Material Design somewhere? I'm quite fond of the style, but am not in a place where I can easily switch to Arch (from Ubuntu).
But there is a very real North/South divide in the way the economies are structured and in societal norms (trust in others, corruption, tax evasion, clientelism). The PIIGS acronym wasn't conjured out of free air (Ireland seems over the worst, so we are down to PIGS now).

Doesn't it piss you off, btw, that Eastern European countries with a poorer population than Greece participated in the Greek bailout but the Greeks still think they are entitled to more?
If I read that correctly--and I most likely did not--it seems that he's making the argument that a misunderstanding of semantics and clear definitions lead to poor implementation of DI, IoC, and DIP. The final case seems to mostly address Java's flagrant mis/overuse of interfaces.

Like you, though, I struggle to find a clear message. Is this a complaint about things being done wrong? The solution presented around Dependency Inversion Principles was really tough to understand. It looks like he just made everything harder. It's been so long since I've done anything but front-end web work, though, that might just be me.
Now if it was a blog post "Google needs to kill lightboxes once and for all" ...
Could you provide a concrete example of a good use of DI?
Oh, got it. Thank you.

If I don't respect someone very much, they lose the benefits (let's assume there are some) of trading with me, and I lose the benefits (presumably, small, if I don't respect them much) of trading with them.

I think we 1) live in a division-of-labor society, and that we 2) survive best when we trade with each other on a strictly voluntary basis.

So if that's the case, I think that people that are good trading partners want to have the (legitimately earned, based on past performance) respect of other people in the marketplace.

Perhaps the reputation systems we see all around us are evidence of this? ("Please remember to leave positive feedback for me!")

If I am a good judge of character, then someone I don't respect is likely not respected by (many?) other people as well. If our society is in fact based on division-of-labor and trading, then that person is going to have a more difficult time getting by.

Thoughts?
If you think this is inappropriate you shouldn't be quoting it
When I tutored/taught I always found that logic was the root cause of a student's struggle. If you can't understand the logic, there's absolutely no way to understand implementation.

The most unusual situation I've seen when teaching (shit-tier university) was that some students couldn't look at a single ASM instruction and understand what it's doing after being explained the syntax:

ADD R1, R2, R3 ; R2 + R3 --> Store sum in R1

It's almost like some students aren't even ready to learn...o_O
Yeah sure, the countless resellers of MSFT, Oracle, IBM, VMWare, Redhat, EMC all do not understand business at all. If only some of the uptards knew how little they know, yet how much they run their mouth.
This is absolutely painful to look at.
Funny, it's point-by-point exactly the line of the french eco channel BFM Business (which, I concede, is my main and only source in term of economics matters). I am curious, are you also a listener of this channel ? If not, what medias also hold this line ?
F*cking Email
if I had knee jerk reactions, one would be that programmers who have knee jerks reactions aren't very good programmers
Ask HN: At which point is it worth extracting the front end into its own app?
I am in the process of implementing my startup idea and was wondering if/when it may be worth making the frontend its own app consuming the backend API.

Currently, my approach is the one I see most often with Rails/Django apps and that is to have a MVC approach, but other than that to have the Bootstrap front-end be part of the same app as the back-end.

While this is currently easier for me to implement, I've been wondering whether having one app being the Rails app and another one being an Angular.js/Ember.js client consuming the API provided by the back-end, wouldn't be a better, more modular approach, which would allow me; greater separation of concerns, the ability to make visual changes without touching the back-end; the ability to later on hire a front-end developer without also having to share my back-end code, which would make it easier for him/her to maintain the front-end.

I am capable of working with both of these approaches, altrough I have a bias towards the backend side of things.

How do you do it? Is it worth it? Does it only benefit larger enterprises?
The Problem with Yahoo
I would say to just sit back and wait. It is happening naturally.
Looks interesting. DIY voice recognition still seems to be in its infancy tho. I guess this is another problem to be solved with mass data.

Jasper http://jasperproject.github.io looks like another contender in this area.
China Turns to the Sea for Fresh Water
You're turning the whole thing upside-down. You make it as if the unauthorized access was the main theme here but in fact it was just a means-to-an-end in order to pull a harmless prank. Not unlike picking a lock to a classroom in order to make a drawing on the blackboard. Sure, picking locks is bad and in the adult world if you did it and you stole something behind the locked door you would be in real trouble.

But for a 17 year old that's just another lightly taken obstacle and for someone in education it is rather surprising that you can't make that leap. It wasn't about the access, it was all about the prank.

That the unauthorized access might be a bigger deal than the prank most likely did not enter into the mind of the kid and that's where the role of an educator would come in handy, but none seemed to have been present here.

FWIW when I was that age I 'hacked' the school time administration so I could get more computer time (which was limited at something ridiculously low). If I did that today I'd probably go to jail or something like that, whereas the opposite happened to me, the guy that administered the system figured out that I knew the machine (a 'Prime') better than he did and asked me to plug the holes in the time administration system instead.

And that was arguably a much more serious offence than what this kid did.

Anyway, since you're assuming I'm being deliberately obtuse I'll bow out of the conversation here. Thank you for the exchange.
At this point, can we come up with a document exchange format and protocol that is not a massive pain in the rear?
hmmm...Maybe I'll build a YC interview simulator...
Closures and Objects Are Equivalent
Well you can't really be a Keynesian and think inflation is bad. Who does it favor? Governmentts and the rich who get the new money first.

For regular people, it encourages them to spend money now and not save. And the only way around it is to invest in the stock market etc where they may make mistakes.

As for your implied notion that it's been stable inflation, I'm not so sure. In the last 40 years, the average price of key foods have increased 400 to 500% when agricultural science and distribution has improved dramatically.
Sometimes using fewer words enhances clarity. Country A has debts of 100 Euro. The debt gets restructured by 50% so that Country A now only has debts of 50 Euros. How has this transaction magically pushed losses onto public books of Country A?
I would recommend using one of the collaborative online editors that reduce the learning burden of compilation, versioning, and package management while providing WYSIWYG:

https://www.overleaf.com/

https://www.sharelatex.com/

https://www.authorea.com/ (though this is not strictly LaTeX)