skysight-inc/HackerNews huggingface dataset:
Ask HN: What should I do next in my career?
I started with Java. In 2009 , I was laid off. While I was looking for a "real job", I began freelancing building websites using PHP. I gained enough experience to get a job in a small company for my PHP skills.
Then I got another job in a larger company, but continue to do PHP.
I like PHP when used in a OO fashion. But in my current company, there is too much spaghetti code. And it seems that it will with PHP in most companies. I'm sure you can write bad code in Java as well, but I rarely saw it.
My friends who stayed with Java or .Net are now in $120K to $140K range. While as a PHP programmer, I'm about $90K. BTW, I am in Dallas, TX.
So I want to return to Java. I have been studying for the certification. In addition, writing a few projects. My goal is be really good with Java/J2EE and then apply for jobs.
Recently, a friend recruiter approached me. He says that currently $100K-$105K for PHP programmers are very common. He says that with my experience I should have no problem getting up to $105K.
He also knows that I want go to Java and says it will be very difficult for me to get a Java job without pay cut.
I'm so confused. Should I get a new job with a up to 15K bump in my salary and then study for Java? Or should I stick with my current position and the study of Java and then get a new job when I'm ready?
If I change jobs, then I will change my job again in a year or so. I've been in my current job only 1.5 years and do not want to jumps around a lot.
But if I keep my current job, and then I'm leaving money on the table. Also some companies have very strict policies on clean testable code that will make me happy. One of my biggest complaints in my current company is that many programmers write spaghetti code here.
Please tell me what do you think. Help me think straight.
Was there consideration given to doing a wholesale rewrite and later swapping out for that? Seems that if things are overly complex now, it may be easier to hold it together with band-aids while a true long term build is put together...what is going on behind the scenes with respect to this kind of planning?
updated to remove refernece to unicode.

the additional context involved with knowing Perl isn't enough IMHO to learn Perl just to parse text. I would do that with a 'more popular' language and its regex library, especially for new users.
Yeah, I get a trickle here in Dallas (1 - 2 per month, counting Amazon in-house recruiters). Never tried changing my location to see what happens, though.
It all depends on the type of Android programming. If you're making games with a library like libGDX, Eclipse is great. AFAICT, the problem is when you need to create a classic application with widgets and UI layouts.
That's too strong of a critique. You can have just a handle on the stack, with the data on the heap. When the destructor of the handle is executed, it deallocates the data on the heap. This is what almost all resource holding library or user-defined types do in C++.
I thought they were good arguments...especially the first point. Fashion needs to make function or mainstream society won't ever buy into it. See: Glass.
You have porntube, they have this.
Maybe you don't have the health issues his remark implies? (In that after rent, his next highest expense is 'medical and dental'.)
One of the reasons that politicians can "get away" with the current campaign finance model is that on a national stage it almost never gets talked about and is never part of "the conversation". If something is important in New Hampshire, then it has to be part of "the conversation" at least once every 4 years.
That doesn't do any autovivification. You meant (note the referencing down a deeper level than the exists test):

if (exists $foo->{bar}){ .. will not run .. }
if ($foo->{bar}->{baz}) {...}
if (exists $foo->{bar}){ .. will run .. }
ugh, that was a painful read. Even text adventures were more emotionally charged than most games today, and i didnt have to wait 2014 to feel like a human being. you just had to play computer games and not console games.
Not really I've had Java developers look me in the face and say that the nonsense names (very much like the one above) that Spring uses are somehow more readable than simple operators or abstract names.

Monoid is NOT a detached term it says I have a type with an identity element, and an associative binary operator, and that that (id `op` elem) always is elem. Try to tell me that i complicated in the slightest. I can most definitely not give you a single line description of templates, or most C++ features. Abstraction makes things more general (i.e less specific) meaning it is easier to describe, reason about, and discuss because I can only talk about things that hold universally.

If you doubt me let's show some things that form a Monoid right now, and how easy it is to define.

1) Strings
- identity element = ""
- associative operator = +

2) Lists
- identity element = list<A>() //empty list
- associative operator = concat

and we can go on and on finding instances of Monoids simply from a one line description.
You would be happy to live here in my town where the faster internet connection possible is 700kbps and you have plenty of time to click on footers of pages while the infinite scroll is loading.
GLaDOS explains fusion and fission
I lol'd hard.
It's the complete lack of care and attention some recruiters put into their job that is annoying.

As programmers, we all take great pride in our work and would hope that others do, too.
Yes, you auto create variables in a hash when you reference then, so autovivification is just a fancy word meaning automatically declaring and setting a null value. So $myvar->{speling} would create that in a hashref silently. Creates horrible hard to find bugs.
StumbleUpon has been doing this for a couple of year. I always liked the built-in pagination.
Excuse me! ... I'm with the NSA and we really need to monetize some traffic. Have you seen our budget?
I think it's a big mistake to assume most of the expensive oil effect are through direct energy expenditures.

Consider what is listed as "shelter", "transportation" and "food". The biggest costs are there, according to the first page you linked. Those areas heavily affected by cost of energy and reduce what is available for all the rest, including spending on gasoline.

Are vehicle miles going up or down? Maybe gasoline spending is not increasing, because people just don't have any money left for it?
Every so often I see a one-liner like this and think to myself that I really must sit down and learn awk properly. I never do though.

In the meantime, thanks for that - I'm pinching it! :)
What Exactly Defines A Startup?
That article is missing a really key point. Being contacted by a recruiter is not a job offer. It's an offer to begin the application process. People aren't getting 30 job offers a month. They're getting offered the chance to submit 30 resumes, conduct 30 phone screens and finally 30 onsite interviews.
Maybe you really are good enough for Google, but their hiring process is hopelessly broken.

It's wrong to view approval from one specific person or corporation as your benchmark for success.
Anyone have any tips on how to make the transition from pets to cattle? I ask because we are a cloud deployed company (EC2) still largely doing things in an old-school "pets" based approach. I'm fully onboard for why the cattle approach is better. Getting there, on the other hand, is non-trivial.
You might not have heard of it, but every financial planner in the world can do this math in their head!
I think the binding is really the big thing here. That basically the whole module environment is also available to scribble since it is also legitimate code, and it's being executed by the same interpreter, in essence.

I'm unconvinced that this is not possible otherwise though. If you're parsing the darn language to get to the AST to generate all the module names, contents, etc, I don't see why you couldn't have access to all that info when generating an example code block.

Example:

http://wtf.tw/etc/pygments/pygments/formatters/html.py.html

Although I don't know why it's not more common.
Energy cost and availability are a real issue, it's just that if you look backwards, there isn't much of story about where we are right now.

(I would take this a step further and say that $4 is still cheap for gasoline; it isn't clear that the much higher fuel prices in Europe have been bad economically. And I'm someone who got to start driving in the '90s when prices fell below a dollar)
I have a few empty (never used) wallets
Python – Advanced iteration techniques with the itertools module
Sustaining open replication and scaling npm
If that's the case, why not be upset at something that matters. There is lots of much more impactful incompetence to complain about. Bad recruiters are largely harmless.

And seriously, I can't imagine a more elitist, entitled attitude than being seriously upset at people trying to pay you lots of money to work. Do you know what a privilege that is?
NuGet.exe should run on Mono 3.2.x - http://nuget.org/nuget.exe
I didn't down-vote you, but if you were serious I think you should find a profession outside of technology.
Live blog of Seattle Council's attempt to ban Lyft, Uberx, and Sidecar
Why would they need to do that? The mainstream media's role is to make people politically apathetic and scared of terrorists™.
Dissecting the newest IE10 0-day exploit (CVE-2014-0322)
Yes it's sort of true - the concern here is about being susceptible to blackmail or coercion, which rules out pretty much anyone who has a personal secret which they feel ashamed about or would go to great lengths to keep secret. If you're gay and out, there's no security concern, but if you're in the closet, there is a chance someone could find out and blackmail you into revealing secret information.

This also applies to people with large amounts of debt - which IIRC is one of the most common reasons people are denied clearance. See here for more info (scroll to "Vulnerability to Coercion"): http://www.dhra.mil/perserec/adr/falsification/falsification...
That's a problem that can be solved by paginating the data and using the history api to push the page state on the stack while the UI seamlessly loads the pages together.
In the US, these words have different meanings in different companies.

At my company (fairly big - Fortune Global 500) I'm pretty sure they have different meanings in different product teams.
Dear (insert your name),

I am working with a company in (roughly your area but not specific and probably more than 100 miles from your nearest city) seeking candidates who have good skills in (very broad term 1), (very broad term 2), C++ and (redundant broad term 3).

There are a variety of positions available with different types of contract, which is my excuse for not knowing anything about the job, if it actually exists.

Salary would be around (3 times your normal rate) although if you actually did get an offer it would be (1.1 times your normal rate, max).

If you are interested, please let me know so I can set up a 30 minute telephone interview with a more senior recruiter who also knows very little about this position. He only wants to make sure you don't sound like a moron so he can forward your resume rewritten with C++/.NET/Python/Matlab/LAMP screaming in Arial Black 32pt Bold centered at the top.

If you are interested, we will arrange a gauntlet interview with a minimum of 3 interviews before you get a clear idea of what job is actually on offer. You will probably be rejected and the client will never call you to let you know.
Vacation rentals across the US [Infograph]
I guess my PoV is that saving $2k+ a year is nice, but not significant if that's still only ~2 months rent. It's better - much better than it being 1 month's rent - but to me, you have to focus on the expenses that are the biggest and are most likely to grow. You can definitely save a lot of money by chipping away at the tinier stuff, but if that's not growing, I'm not sure it buys you much.

I suppose from another point of view, it's better to start with the small things you have control over, and make some tiny but measurable improvements, so you don't despair at how big everything is. That's fair.
As mentioned in other comments, you have to trust Apple to hand you the correct public keys. They could easily MITM you and decrypt the messages on the server if they misrepresent the other party's public key. Additionally, the iMessages you send are signed by your private key, which is probably not something you want.
I'm sorry but this just sounds bitter to me. I'm sure the people behind Robinhood did not get together and say, "let's make a product that actually solves no problems, and only pretends to disrupt." Somebody built a new app that seems like at least a cool idea to me. People had a vision and they executed on it. They built a company and they shipped. What companies have you started? What have you built?

I think Theodore Roosevelt said it best: “It is not the critic who counts; not the man who points out how the strong man stumbles, or where the doer of deeds could have done them better. The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood; who strives valiantly; who errs, who comes short again and again, because there is no effort without error and shortcoming; but who does actually strive to do the deeds; who knows great enthusiasms, the great devotions; who spends himself in a worthy cause; who at the best knows in the end the triumph of high achievement, and who at the worst, if he fails, at least fails while daring greatly, so that his place shall never be with those cold and timid souls who neither know victory nor defeat.”
Justin Rajewski, his Mojo board (FPGA dev board), and hardware hacking
I personally think it is just "Expectation vs Reality".

The government is in extreme debt. Debts have to be paid back. The problem with debt is that it does not leave freedom to do constructive things (like upgrading infrastructure).

Also, what you are feeling is a pinch of inequality. Average and median wages have been stagnant despite record profits of corporations. Tax codes have been changed to favor investments rather than plain old hard work.

So, while our "expectations" have been to just work and earn a good life like our grandparents, the "reality" does not facilitate the same.

Also, you're living the life most people just dream of. You're richer than most others.
You are very detached from reality if you think the mainstream media is here to inform (rather than dis-inform) the people.
The biggest problem with this whole situation is that we, as a society, are forcing people to work when our economy doesn't need them to. If we needed people to work, then the jobs would create themselves. There would be no talk of job creation. It would happen on its own.

And people don't need jobs either. They never did. They need food and money. Jobs just used to be an appropriate way to obtain those things.
> Half the country still disagrees with Darwin

If you don't think that debate is still important, you are essentially conceding it to the half the country you disagree with (because they sure as hell think its important). I'm sure you don't want your kids being taught creationism just because you consider yourself "above" the argument.

And regardless, the same does not apply here, because unlike the overwhelming evidence we have for evolution by natural selection, there simply is not enough data on the usefulness of central banking to the prosperity of the nation.
Wire'd selection missed the best ad of all: in the very first issue was an ad for Rockwell aerospace. It was an iron-on transfer with a picture of the Space Shuttle and the words, "A Spaceship Has Landeded On Earth. It Came From Rockwell."

I cut that ad out and ironed it onto a white T shirt. Dunno how much an undamaged copy of the first issue might fetch, but that T shirt was worth it.

(posted on the Wired site too before I remembered that I got there via an HN link, so sorry for the dup).
> He made it clear that he is not spending excessively.

Of course he thinks that he as to. As others have pointed out, he's making $110k a year and not happy with how much he has, it's pretty likely he's spending too much, or he just has unrealistic expectations.

> His lifestyle sounds fairly frugal by modern standards

You mean modern standards that set the goal posts we should all own x,y,z ? If you didn't know already, those "modern standards" you refer to are the problem here.

> What does that do for everyone else? Do they all just need to adjust their attitudes and accept their lots in life?

Attitude and spending. And plenty more things too. Read the book I recommended.

> If those goalposts are essential (rent, health care, food)... what is he supposed to do?

If you're trying to say for one second that someone making $110k a year can't pay for those "essentials", you're not being productive here.

Let's go with the case of someone earning $30k who's can't afford those - which I think is a realistic scenario. In that case, then the only option is to adjust ones expectations and personal goal posts to fit reality. Hypothetically, if the economy completely dies tomorrow (a la Germany, USSR or Argentina every ~10 years) will you be horribly unhappy you can no longer own your own car and are forced to take public transport, and must downsize your house to a small apartment, etc. etc.?

If you are unhappy with that, then you're basing your happiness on external factors outside your control (the economy) and you're setting yourself up to be a very unhappy person.
I've found being online to be really helpful -- it caused me to meet most of the people I've ever worked on projects with, and I've picked up some really high dollar and/or interesting consulting work (which allowed me to work without a salary on various other projects) for most of the past 15y.

It especially helped while I was spending a large amount of time outside of major tech centers (Caribbean 1998-1999, Sealand 2000-2002, Iraq/Afghanistan/Kuwait/etc. 2003-2007 2008-2010.)
See common used words in reviews for anything in the appstore
Both "object" and "method" are common words with very obvious parallels between the programming language concepts and similar real-world concepts that are familiar to basically everyone. That's what makes them good terminology.

An "object" is something specific that exists (implying it can likely also be created and destroyed), and can be distinguished from other objects. This applies equally well to a combination of a data structure and some related code as it does to a tennis ball, or to a car, or to a book.

A "method" is a systematic way of doing something. That "something" could be the operations described by some source code, or it could be tying a shoe, or even brushing one's teeth.

"Monoid" has no good real-world parallel. It has no related or relevant meaning outside of very, very specific contexts. That's what makes it "detached". It's off on its own, with an isolated and non-obvious meaning.
No, there is no waiting period that I know of. Perhaps it just got "buried"? HN sees a LOT of traffic. If it isn't upvoted or replied to fairly quickly, it often falls way off the front page quickly.
Ancient texts are fine. Great fun, so long as they are treated as ancient texts.

I don't think that anybody is distressed by the Code of Hammurabi, but that is because there are not people going around sincerely stating that they believe the Code of Hammurabi to be timeless and perfectly just, and Hammurabi himself to be someone to look to for ethical or moral guidance.

It is only when the historical context of ancient documents is purposely ignored or denied that those ancient documents become the targets of modern criticism.
1M times THIS.
And they aren't always making money. Its about investment.
> people who wanted health insurance could finally get it

Maybe I don't understand Obamacare well enough but I don't understand this statement (which I hear all the time on the commercials). Who couldn't get insurance before this website? I know the health care law did add guarantees around pre-existing conditions. So other than that, who couldn't call an insurance company directly (or use esurance or other portal) and sign up for insurance? This website is just a marketplace hooking you up with normal private insurance companies correct?
Yeah, if you have a negative net-worth, you're in trouble.
Python can do it. As I'm sure every interpreted language can.

e.g.

./data.py:

me = "RamiK"

EOF

./code.py

import data

print(data.me)

EOF
Users get both a push notification and email when a new device is added to the key bag. So additionally this step would need to be maliciously skipped.
Why did Touch ID elicit paranoia while the Galaxy S5 flies under the radar?
It's the "more" link at the bottom.
If all that is true, it sounds perfectly secure against anyone other than Apple and whatever law enforcement agencies they comply with requests from.

So, you know, really not secure at all.
CA man wins appeal, you can use Google Maps while driving.
Please read the PPSP protocol more carefully, your statements are invalid.

#1 if Jose is streaming to Sue, there's no middle server here. PPSP doesn't mandate a "central server", and I hope on the swirl website I can make this use case clear too.

I'd love us to be able to stream from our devices to friends etc and not need to store everything on youtube or dropbox or some other indexed/sliced/diced/resold for profit system. With PPSP however you could have your home network be a peer, and pull down the content safe and sound with minimal impact to your phone. This type of sharing is something I would love to roll out for journalists in the field, protesters in Venezuela and Ukraine, where media suppression by the government and confiscation of phones is a sad reality.

#2 Spoken like a true American ;-). This is not the reality for 99% of the internet users. I'm unable to get more than shoddy ADSL, even in a major European city. What about India, China, Africa, South America? Places where the monthly income is not even close to $200. Hopefully that will change over time, but it's not practical for most people today.

I concur that live P2P streaming is tricky, and I'm sure you have plenty of practical experience to back that up.

PPSP allows DVR style seek / record, the way the protocol is laid out makes that almost trivial. Now if your device at home doesn't have that content, you'll need to retrieve that from a peer, and I'd like to see that peer be close to you.

Today, with bit torrent & friends, there's no standard implementation to refer to, so there's no way for an ISP to put an intermediary cache in to support the functionality you want, assuming you're paying a premium for that content, which is what is done with HTTP & friends on a regular basis.

By having a standard protocol in place, multiple implementations & vendors can share the same caching peer technology within a single telco's network. Those peers can be located at edges within the exchange, similar to how major CDNs and google etc do today.

Finally, PPSP is more than just streaming, it's a completely new transport layer protocol for the internet -- like HTTP, we're only just beginning to explore the use cases.
Hadoop in a box
Lawful intercept isn't evil.
Location is everything.

SRO was $1250 for me in SF when I was slumming it a couple years ago. That's a shared bathroom and shower for the entire floor.
I was interested in these, but, zomg, it's hard to take the company seriously with that faux-hawk dude on the front page.
the PPSP one, if you're going to be around at IETF let's discuss there.

https://datatracker.ietf.org/meeting/89/agenda/ppsp/
After reading a post by a Google engineer on this issue, I'm going to err on the side of believing that Google, Apple, and others aren't actually actively inserting back doors into their code.

https://plus.google.com/108799184931623330498/posts/SfYy8xbD...