For the best experience on desktop, install the Chrome extension to track your reading on news.ycombinator.com
Hacker Newsnew | past | comments | ask | show | jobs | submit | history | rohanpai's commentsregister

This is super cool!

I am interning at Sourcegraph and we have heard devs want better usage examples too, so we automatically show all uses of any function

check out: -https://sourcegraph.com/github.com/golang/go/-/info/GoPackag... - https://sourcegraph.com/github.com/golang/go/-/info/GoPackag...


Looking forward to an API :)


If you can man in the middle traffic, aren't all authentication cookies compromised anyway?

Wouldn't any service then be subject to "interception"?


Not with proper encryption, I believe? In this case you can get someone else's supposedly private snaps if they're on your network, because the key is the same as the one for decrypting your snaps.


Correct. Properly set up TLS should protect you regardless of MITMs.

The issue comes if someone can get you to accept their CA. In both this case and for MITM attacks on TLS. At that point it's game over.


If it was not marketed at "eat like a caveman" I think it would have more adoption. Paleo is really just about eating more natural foods (less processed foods). It works well.


javascript


Interesting that most of these are Raspberry Pi / hardware hacks.


How will you know if someone is about to close or exit? I feel like startups go out of their way to keep that private.


That's a problem. It's easiest if the exit is an IPO, since that's announced in advance.

I've seen this strategy used on a fairly large company about to be acquired by a public company, when there were already rumors going around before the acquisition. It caused the management there an enormous amount of stress, and they settled for a significant amount of money, even when they believed a court would rule in their favor.

You're an awful person if you use this, so better make sure the company you use it on is even worse.


Does anyone know if it is possible to get a dumb phone that uses nano-sim?

I want to try this out without switching permanently.


You can just get a nano sim card to mini sim (2FF) adaptor.


If law school is so expensive, it is harder to become a lawyer. If less people become lawyers, the supply decreases (resulting in the demand for the shortage of lawyers to be greater).

"There is no economic law that says that lawyers should make more money than programmers because they choose to be ripped off in pursuit of their training."

You don't NEED a degree to do programing. Arguably a computer science degree is standard but even then, you don't need 7 years of schooling. In order to be a lawyer, you need to complete law school.

At the end of the day, it's fair for a lawyer to charge more. Why? Because someone is willing to pay the premium.


Completely flawed logic, but not uncommon from an employee standpoint. Pay should be commensurate to value an employee provides to a company. This is why CEOs make 100x+ entry level positions.

From the company's perspective, whatever an individual put into their experience is almost completely inconsequential if they are doing their job. In a healthy, functional market, pay isn't about "fairness", it's about bottom-line results, and programmers and engineers make the products and services these companies use to generate revenue which in turn creates demand and subsequently the available funds for legal counsel!


>Pay should be commensurate to value an employee provides to a company.

I don't think that's how capitalism works. Your pay doesn't scale with your value, otherwise teachers and firefighters would be making bank. It's completely guided by supply and demand.


In an efficient market, those two are equivalent.

EDIT: Let's consider that "supply and demand" has artificially increased the price of programmers above their value. It's now a losing proposition for a company to continue to employ a programmer as the company is losing money, so the demand goes down and with it the price.

Conversely let's consider that the price of a programmer is artificially lower than his value. Any new company can come along and pay a bit more (but still less than actual value, for now!) and attract the best programming talent. Other companies must keep up in order to keep the talent, so the price returns to the actual value to the company.


> Other companies must keep up in order to keep the talent, so the price returns to the actual value to the company.

Uh, no, that is not how supply and demand works. See <http://en.wikipedia.org/wiki/Economic_surplus>.

The gap between what people are willing to pay vs. what people are willing to sell for is often substantial. People spend a lot of time fighting over the distribution of the value in that gap between consumers and producers (see, e.g., price discrimination).


Is "in an efficient market" the economic equivalent of the programmers' "with a sufficiently smart compiler"? It seems to be used in the same manner in arguments.


You need the concept of perfect market (or other models) to reason about things. "In a perfect market, x happens. y is not in line with the perfect market, so eliminating y (c)/(sh)ould bring us closer to x".

Replace x with "fair salaries" and "y" with "Tech companies making non-poaching agreements"


You seem to be confusing "demand" with "quantity demanded", at least in your wording.


A CEO does not deliver 100x more value than entry level employees. A CEO is in a position of power, which enables her to claim such a wage.


No way. A CEO is held responsible for the decisions of EVERYONE under him/her by the board. A lousy programmer will cost the company a lot less than a lousy CEO.

The CEO is essentially the face of the company when things happen (good or bad) and has huge responsibilities. Managing a company is easy from the armchair.


That's a better way to see it. It's hard to see good management and its effects, but good management really does make a major difference. But it is so hard to see, that people sometimes don't even realize they need it. But to see the ability management has to change the outcome, look at bad management: they can totally destroy a company, no matter how good the engineers are. That people can see.


A CEO of a big company like Apple or Microsoft delivers way more than 100x value of entry level eployees. A 10% improvement at the CEO position would be hugely valuable.


In theory at least, wage should reflect responsibility and liability within the company. If you go over those of the CEO, you see why they make so much more money. They should be held accountable for the wealth of the entire company.

As far as lawyers are concerned, their wages just reflect the fact that they (should) have been trained as A-list negotiators, and it is common practice for lawyers to have a fee based on a percentage of the deal they negotiated.

There is a corollary for programmers for the above: start-ups. Though not trained negotiators, skill and work ethic can get you far enough. And it is common practice to receive a percentage of the reward.

The grass always looks greener on the other side.


>In order to be a lawyer, you need to complete law school.

Not in California.


Technically, no. However, there _are_ requirements before you can take the bar exam. Unlike other states, California doesn't require that you attended an ABA-approved law school. However, instead you have to do 'Four years of study, with a minimum of 864 hours of preparation and study per year, at an unaccredited distance-learning or correspondence law school registered with the Committee;'.

So, you _do_ need to 'attend' law school, even if it's over the internet. (Unless you "study in a law office or judge’s chambers", which I guess is a type of apprenticeship.)


Actually, I wonder...I'm pretty sure the number of people who go the apprenticeship route is in the single digits (though feel free to prove me wrong). It could be a good way to set oneself apart from the pack when applying for a job. Goodness knows its a shitty job market for lawyers, and if you don't have a top tier law degree, strategically it could be a way to set yourself apart from the pack (especially at the level where you're competing against sorta middle of the road-ish ABA certified schools-like Santa Clara and USF).


In order to be hired (by a top-tier firm) you'll likely need that top-tier law degree.

Though there are successful independent lawyers. And an awful lot of unsuccessful ones.


The number of people who go the apprenticeship route in CA is very miniscule. There are lots of law schools that are certified by the CA Bar and not the ABA, but you'd be a fool to go to one, unless you like being an unemployable lawyer with 200K+ in debt.


> law school is so expensive, it is harder to become a lawyer. If less people become lawyers, the supply decreases (resulting in the demand for the shortage of lawyers to be greater).

Despite the expense of law school, there are about 25-35k jobs per year for 40-45k graduates per year. And maybe 5k per year of those pay the kind of salaries people think lawyers make. What keeps supply limited in law is that the growth of supply is gated by the amount of legal work in the economy. Law is unlike engineering in that nobody wants to hire fresh grads. They want the seasoned veterans who have been to trials or handled a big deal. Preferably a bunch of them. There is only so much of that work to go around, which bottlenecks the supply pipeline in the stage between fresh graduate to employable lawyer.

The moral of the story is that economic systems are more complicated than simple neoclassical tropes admit.


I don't even understand why you would say this...

This is not what the parent comment said... it just asked how 'happiness' is measured.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search:

HN For You