Better HN
topnewbestaskshowjobs
Log inSign up

developer2

2,010 karma · joined Dec 27, 2015 (10y ago) · 785 submissions

Submissions

comment 9y ago · link · parent

>> Microsoft shares part of the blame here for pushing... the major OS version

Microsoft lost every single ounce of credibility with the way they force-loaded Windows 10. Turning off Windows Update isn't enough anymore. The only solution is to dump Windows. Install Linux, or buy Apple hardware. It's unfortunate, but Microsoft will never recoup the trust it lost with the push of Windows 10. Microsoft cannot be trusted.

comment 9y ago · link · parent

It's not possible for a random stranger on the internet to provide, as you call it, "moral advice". Moral advice never wins a case in court. Any advice, prefixed with a bullshit adjective like "moral", might be - yes, stupidly - interpreted as information that might have some amount of legal merit for someone who is in a legal predicament. The fact that "IANAL" (I Am Not A Lawyer) even exists as an acronym is a disservice to anyone who ever reads an "IANAL" comment trying to find some shred of hope that will assist them in a legal scenario. People wear blinders when in desperate situations, potentially taking advice from people who don't have a goddamn clue what they are talking about.

Now I don't give a damn how rude I am being: never give advice to someone regarding a legal matter other than "you should talk to your lawyer", unless you are offering your legal services - and surprise, legal discussions would never happen on a public forum. You could destroy a life if you offer ill-advised information, and the recipient believes you instead of seeking legal counsel. Unless you know every facet of their case, even if you're a lawyer, you cannot guarantee that your advice is not ill-advised for their situation.

comment 9y ago · link · parent

>> I've always just sent a apologetic but firm email saying that I cannot accept those clauses and they always get removed

Hold on, everyone! My parent(^) said something simple, yet it is powerful. I don't believe s/he realized they were providing such insightful information, but the little gem that makes a huge difference is in that short quote.

While many companies may not be flexible with their contracts, I love your approach. Surely the odds of success must improve - if only slightly - by simply pointing out undesirable clauses and requesting that they modify and reissue the contract to accommodate, rather than striking it out in red ink yourself and shoving it back in their faces as an ultimatum.

The former tactic de-escalates the issue to being a reasonable request from a respectful person, while the latter comes across as coming from an immovably stubborn personality who may bring a habit of causing drama into the company. Better to politely identify how the employer can effect a positive difference on your end, rather than railing against the company's policies with your demands before you've even been hired. "My way or the highway" doesn't sound very amiable.

How often do companies reject red-inked contracts, not because they are unwilling to amend the contract, but because their intuition has triggered them into avoiding your coarse methods of getting what you want? Seriously, this is quite eye-opening. You've made me rethink my negotiation phase. I will be unapologetically thieving this diplomatic approach for my personal use in the future. Thank you!

comment 9y ago · link · parent

>> large institutions still have to run the old OS because they have too much investment in computer controlled hardware with no forward migration. Now they are locked into an insecure technology stack with no vendor to take responsibility

Any company that locks themselves into a specific operating system, and then declines investing to upgrade with each new release is entirely at fault. I can imagine the executives at these companies complaining about how their one-time outsourced application made overseas cannot possibly be migrated. Even if built locally, clearly no money was budgeted to maintain the software or infrastructure. These companies get what is coming to them when their only priority is the current quarter's bottom line, with no planning for how the company will manage to keep operations up and running in the next quarter, let alone the years ahead.

You specifically mention lock-in due to "computer controlled hardware". The idea that companies build the core of their business on hardware that can be controlled with Windows XP but not Windows 7 or Windows 10 is laughable. How is that even possible? The backwards compatibility Microsoft provides means it's nearly impossible for any application to become unusable within a decade - or even longer. The application will need to be maintained with minor changes to make use of modified APIs, or to transition from 32 to 64 bit architecture, etc. - but the amount of work needed is nowhere near infeasible. It only becomes difficult if you spend many years ignoring required upgrades, and then try to perform a single massive upgrade covering half a dozen missed release cycles all at once. Even hardware ports going out of fashion (example: serial ports) is not the end of the world. Compatibility between the latest operating system and old port standards will always be possible, as those that need such things make it happen.

No sympathy for any company still running Windows XP. None whatsoever. It sucks when it's government that is affected, whereby taxpayers' dollars take the hit for the fallout. Still not a shocking, unexpected result. In fact, this is precisely the expected result.

comment 9y ago · link · parent

I definitely took the OP's article as the baseline to fill the context gap in others' comments. OP is 17 years old and just starting out with their professional career. I combined with your "as someone who has no good network" to mean "As someone who is starting out, who has no good network, ...". I apologize for the assumption. The advice still stands for others who are looking to get a foot in the door of their first company. :)

Have all of your jobs been contract-based? That really sucks, I cannot imagine having to worry about contracts not being renewed. Fixed-term employment contracts almost don't exist in our industry where I am. I'm sorry you have such a hard time finding companies looking for stable long-term employees. Random tip that might be helpful with your next job hunt if you're not doing it already: never answer the question "how much were you making at your previous employer?". Tell them how much you want to make NOW (+ $5-10k/yr padding) and negotiate down from there. You're instantly setting an artificial cap in their minds once you admit to how little you were willing to settle for previously.

As for climbing the salary ladder if it doesn't happen naturally over time, I'm not entirely sure. There is one truth I can extract from your comment, based on discussions with coworkers over the past decade: frontend devs have a tougher go at things, and me being a primarily backend dev looking at the work frontend devs do, I don't understand why that is. Backend devs seem to be appreciated more, and I agree that it's nonsense.

One loosely composed answer is that backend devs form a circle jerk of touting our profession and work as important, and we demand proper compensation to match. The personality traits of the frontend devs I've met are less aggressive on the whole. As in, on a personal and professional level, frontend devs are much nicer people. Perhaps the industry translates this to mean "pushover", and is taking advantage?

A better analysis would be that the industry hasn't caught up to what it means to be a frontend dev today. 15-20 years ago, learning HTML, CSS, and early JavaScript was not a difficult task. Every backend dev was also doing everything for the frontend, so a "frontend-only developer" would have been seen as someone worth less than a "full-stack developer".

As of 7-10 years ago, this has all changed. There are very few devs who are truly "full-stack" anymore, to the point where the ones who claim to be are mostly liars, carrying their outdated knowledge of HTML and CSS from 1995 as if they are marketable skills. Today's seasoned backend devs are rarely well-versed in everything CSS3+ and HTML5, let alone ES6, Canvas, WebGL, and all the tooling (css preprocessors, grunt, gulp, webpack, frameworks with build processes, etc.).

In the distant past, frontend work was a nice-to-have addon for backend devs to have in their toolkit. Today, they're completely separate disciplines, and the pay should reflect that fact with equal pay for both roles. An expert frontend dev today is absolutely worth the same as a backend dev. The industry needs to realize this truth and fix the salary gap. A developer is a developer, is a developer.

comment 9y ago · link · parent

I got my first developer job the old fashioned way: sent in a résumé, went in for an interview, and was hired. I did not know anyone at the company, and was not referred in any way. I got very lucky in that this process worked on my first try. It was, and can be, that simple. The trick is to have realistic expectations. You're not looking to impress anyone with the name of the company or your salary. You're looking for someone to open an initial door for you that will lead to future opportunities.

First: the company. Aim for small companies with fewer than 30 employees. Avoid larger companies, who have faceless HR departments and rigid hiring processes. You want a tiny company where interviews and hiring decisions are performed by your peers - senior developers and team leads, rather than managers. You want the person who holds the hiring power to have a chance to put themselves in your shoes, and see your future potential rather than what you can bring to the company. You're hoping they take a risk with you, and to a certain extent you're trying to provoke a pity hire.

Second: the interview. When asked technical questions, answer to the best of your ability. Be willing to admit you don't know, instead of spewing nonsense. Hint: "Hrm, I don't know that one... yet." Know beforehand what programming language the company uses, and have a basic working knowledge. If asked to do a coding test, you must be able to give it your best shot. I didn't finish the test I was given, but the logic I had put down was sensible and headed in the right direction. It was enough to give the impression I had a technical mind and, more importantly, that I was able to begin working on a task.

Third: salary. Prepare to be disappointed. My first job's salary was ~40% the market rate of a junior developer. You could say the company was "taking advantage of me", but they were a) taking a risk hiring someone without experience, b) paying me three times what I made working as a Walmart cashier, c) giving me my first step into my preferred industry, and d) giving me experience to put on my résumé.

Fourth: once hired, stay with the company for a minimum of two years. Do everything in your power not to duck out earlier. You really need your résumé, with its single entry as a developer, to hold some weight. Once you have this, the number of doors that open up will give you a choice of where to head next. You may never have a realistic shot at a company like Google, but you will be paid market rate.

tldr; Start with small companies, where you will be interviewed and hired by senior developers and team leads instead of managers and an HR department. Be willing to start at low salary. Your first company is about gaining experience for your craft and your résumé, not to make money.

comment 9y ago · link · parent

If you're talking about shirts with faces on them, those won't work whatsoever. Even if there is evidence that it appears to work right now, it's an entirely solvable problem today, with very little effort required.

a) You're assuming that the AI is looking to find the first face it sees, rather than all faces in view - both your shirt and your real face will be picked up as two separate individuals. Even if it's "one face at a time", why would you assume the shirt gets picked up instead of your face?

b) It really would not be difficult teach a neural net to detect one real face located above a face on a shirt, and ignore the lower one. The only potential false positives would happen with a taller individual walking with a shorter person in front of them, whereby the shorter person may be filtered out as a shirt.

So no, shirts with faces on them are not a countermeasure. You're adding additional noise, but you're not eliminating your own face from being picked up as well.

comment 9y ago · link · parent

Microsoft is trying to mitigate the hemorrhage that is the mass exodus of its customers from Windows to competing operating systems. It's not about "real support" for Linux or Mac. It's a sad attempt to keep people tied to Microsoft products, by enticing you to use these tools even once you've abandoned Windows.

What they should be doing is fixing the critical issues people have with Windows; namely, Windows 10's (lack of) privacy settings, advertisements in Explorer, harassing people with taskbar notifications for using Chrome instead of Edge, and the utter shitstorm they allowed to take place with malware-levels of bullshit with forced and unattended upgrades to Windows 10. With the way in which Microsoft pushed out Windows 10, I can't understand why anyone is still using Windows except for gaming. That maneuver should have cost them so much more than it did. Microsoft has lost all credibility, and trust is unlikely to ever be regained.

tldr; Microsoft Windows' users have had enough of this crap, and are migrating elsewhere. Instead of fixing the issues people have with Windows that are causing them to abandon it, Microsoft is creeping into the competition's ecosystems in some desperate attempt to maintain a partial grasp on its users.

comment 9y ago · link · parent

When people mention RPC in this context, are they talking about a generic concept, or are they referring specifically to SOAP? Because SOAP was always a complex mess, pretending that WSDL files somehow added semantic meaning to data, when it fact it was just a serialization format with excessively verbose data typing and validation of element presence/counts. SOAP made even the smallest projects feel like a bloated nightmare typical of "Enterprise bureaucracy". SOAP is the very reason why people eagerly latched onto JSON and REST the moment it became viable.

comment 9y ago · link · parent

Considering just how susceptible children are to advertising brainwashing, you might shed the guilt of skirting video ads on YouTube by installing an ad blocker (ex: uBlock Origin). Morality of blocking ads aside, I wouldn't want my children watching the number of pre-roll ads that YouTube pushes out. As a side effect, your child won't spend an hour a week clicking a skip button, or sitting though the ads that aren't even skippable.

comment 9y ago · link · parent

>> it's another "JWT libraries used to be terrible" article

Dead on. Sure, some early JWT implementations were poor... during the first few months that JWT was gaining traction. That was over 2 years ago. You may as well write an article about how Internet Explorer is awful, while referring to qualities present in IE 6. Disclaimer: I still dislike IE/Edge, but no longer have pertinent reasons as to why I maintain that opinion.

There is not a single valid criticism of JWT from a security perspective. The only criticism outside of security considerations I'd view as valid is that the length of the strings quickly becomes bloated for the amount of information contained within (ie: inefficient bandwidth and storage usage, the same complaint as with long cookie headers requiring more TCP packets).

comment 9y ago · link · parent

I strongly believe that lawyering up is the only safe approach. At a bare minimum, have a lawyer draft and/or review a single generic, reusable contract that covers the important bases. You only pay a one-time upfront fee. If a client insists on using their own contract instead of yours, pass it through your lawyer - or skip that job as being too much of a risk. Then keep the lawyer on speed dial so you can call them the moment you cannot resolve a grievance with a client.

My disbelief comes from the fact that this was a large contract worth more than $25,000 ($25k outstanding balance, with previous payments having been made). It is incredibly naive to allow an account to go $25,000 in the red, without having a lawyer ready to jump on board.

comment 9y ago · link · parent

How do you know the company is in breach of contract for not paying? Have you seen the contract that is in play here? You have no idea what the payment terms are, let alone clauses regarding delivery. Even if we were to see the contract, we are not able to assess and respond in a manner that has any legal merit.

Seriously, these kinds of "Ask HN" make me angry with the kinds of comments people reply with. You cannot possibly know the legal situation the OP finds themselves in based on the (lack of) details they've written. What you are telling them could see them in court losing the case, and maybe even having to pay damages for cutting ties. You are giving advice that could potentially destroy their business, or even result in personal financial ruin.

Read that again: your comment could ruin a person's life. Think twice before you pretend to be in a position to help someone by spewing advice without having a clue what the situation calls for.

Frankly, I'm astounded that HN allows "Ask HN" posts seeking advice with legal ramifications. These should be moderated and removed. The ONLY valid answer to these posts is "consult a lawyer". Nothing else is helpful, whatsoever. Even real lawyers who might respond cannot determine the correct course of action without hours of research into the specific case at hand.

comment 9y ago · link · parent

>> they just don't have enough else in common (beyond their initial emotional attachment) to forge a lasting relationship

This is the fallacy. That somehow there is a magical formula that determines "compatibility". I'm of the opinion that nearly any two people, put together, should be capable of making a lifelong relationship work. Outside of one of the people being completely hopeless, such that they would be incapable of ever maintaining any meaningful relationship.

The way you get to grow old with a partner is obtained by the very simple means of having a committed partner. And therein lies the secret sauce. You don't look for the "perfect match". You match with anyone willing to have a go at life together, and you ride out the long and hard journey. The way to win is to realize that life is mostly made up of shit circumstances, and that life is too short to be lonely. You're better off having someone, anyone, rather than having nobody.

comment 9y ago · link · parent

>> STOP ALL ACTIONS UNTIL PAYMENT IS RECEIVED

Absolutely not. He may be in breach of contract by withholding.

>> Get yourself an attorney

This. He should have already had a lawyer on consult. If not, he needs one now. There is no way to resolve this risk-free without a lawyer.

comment 9y ago · link · parent

Wrong. Depending on the contract and exact details of this situation, the client could turn around and sue him. He needs a lawyer, even if he wants to walk away.

comment 9y ago · link · parent

You should not be asking HN for advice. I've actually flagged this post for your own good, as it is irresponsible for anyone to even attempt to advise you with specifics, and it would be a huge misstep for you to follow any advice posted here other than "talk to a lawyer, now".

You should have had a lawyer on consult from the beginning, reviewing the initial contract and its payment terms. If the client isn't paying, you need to be talking to your lawyer. If you don't have a lawyer and an ironclad contract, the entire situation is a toss-up and there are no guarantees. You can't even refuse to deliver and walk away from this client without a lawyer's determination that you are not breaching contract by doing so. You believe you are the one being wronged. The courts may not agree, and the company could even turn around and sue you for taking their project hostage.

Only your lawyer, with knowledge of your state's laws, a copy of your contract, and an archive of all communications between you and your client, can help. Do not make a single decision based on HN comments, no matter how insightful they seem. If you follow the wrong advice, you could well see yourself in deep legal trouble with ramifications worse than losing the $25,000.

tldr; You should have had a lawyer at the start of this contract. If not, you must get one now. Get a lawyer. Now.

comment 9y ago · link · parent

>> the key to staying married is having two people who are committed to staying married

This is all it is. Too many people focus on instant gratification and short-term expectations. Most failed marriages (well, long-term relationships in general) happen due to boredom and the inventing of excuses to be unhappy, simply because the honeymoon period is over. Well guess what? If you give up on one relationship because it got "boring", you're in for a wake up call when that becomes the case with every subsequent relationship.

Barring exceptions such as abusive relationships, the grass will not be greener on the other side with a new relationship. The grass will become the same shade of green you already had. The path to success is learning how to fertilize the grass you already have, instead of replacing the grass every time it starts to turn brown.

comment 9y ago · link · parent

Personally I find ftp as an unacceptable protocol for this purpose. Doesn't matter that it's localhost. It just goes to show WordPress is truly aimed at the lowest common denominator.

comment 9y ago · link · parent

>> At the lower end of the market[...] you may attract less favourable customers

This is worth emphasizing. When you offer your service at rock bottom prices compared to your competition, you will wind up with all of the "bad" customers who will expect to be treated as if they're paying for premium level support. They want the same level of service they would get with your expensive competition, but without paying for it.

Regardless of your price points, you must handle support emails, phone calls, social media accounts, etc. - all of which take significant resources. If you neglect supporting these customers by saying "sorry, we cannot offer extensive support for the amount you are paying", some of your customers will drag your brand name through the mud and you may wind up with a negative reputation.

comment 9y ago · link · parent

>> not have all of your files be web accessible

cough wp-config.php cough

comment 9y ago · link · parent

Even if you're not using a full-fledged framework, a router is a must these days. Anyone dropping a dozen or more .php files in the webroot that all include the same dependencies or header/footer is not following modern practices. And by "modern", I don't mean the newest fad from the past 1-5 years. We're talking about a standard way of doing things that is 10-15 years old.

WordPress is a perfect example of extremely poor code. Worth vomiting every time you think about it. No seasoned developer would put together a project the way they still have it. It has nothing to do with "backwards compatibility", or "easy to host with free/cheap hosts". It's not just "not modern", it's actually straight-up unacceptable. WordPress looks like it's put together by a group of php3 juniors writing their first script, having never held a professional job. That's not so much an opinion, as it is a factual assessment that any honest professional developer would give.

comment 9y ago · link · parent

>> Applications like WordPress or Piwik come with a self-updater, but then you wind up with having to fiddle with the permissions to let the application overwrite itself

Tell me about it! It took me an entire day to figure out how to configure a WordPress install in order to allow it to self-update (without ftp). To do it by only granting owner and/or group write permissions, you have to figure out that you need to modify wp-config.php to define the "FS_METHOD" constant with the value "direct". Without this, WordPress code tries to be super clever with its umask settings, which only makes things worse.

It quite literally took an entire day to set up WordPress to self update. It's easy if you chmod 0777 nuke the entire install, but extremely complicated to set up with acceptable filesystem permissions. WordPress is designed to be sloppily dropped in a webroot, not to be installed by intermediate users who care about security. Well, as "secure" as WordPress can be. And to be honest, the most secure WordPress installation would be incapable of self-updating, as you're granting the web user write access to the entire installation - not just for updates, but for any vulnerability.

comment 9y ago · link · parent

>> he/she/them are dead or lost the keys to their private wallet[...] the minute this coins move, the price will plummet. And you can be sure that many people are watching these coins, a move will be noticed. Immediately.

This aspect of BTC specifically makes me roar with laughter. The fact that anyone is willing to hope that Nakamoto's coins are "lost", discounting their very real value should he/she be sitting on that cash cow. What a great con on their part. You say trading of those coins will be noticed "immediately". The transaction log will cement that trade before (well, as) it's noticed. The only thing people will notice is the aftermath. Those who are personally monitoring the blockchain with automation will notify themselves within 5 minutes, while the public at large won't figure it out for hours. By the time the "BTC is now worthless" headlines hit the major news outlets, it will be too late for the average user to cash out.

comment 9y ago · link · parent

To be fair, your original comment: "was told he could delay a payment"; namely, "a payment". One. The limit for danger with any credit is 3 monthly payments. Technically a single missed/delayed payment can affect your credit bureau, though many credit providers are nice enough not to report 30 and 60 day faults.

Anyone who thinks they can get away with 3 months of not paying back any kind of credit product, let alone a mortgage, is going to be in trouble. If your friend skipped 3 mortgage payments in a row, I'm surprised they won the case in court. They must have had concrete proof that a bank employee truly misinformed about what it means to miss multiple payments in a single year, let alone 3+ consecutive payments.

comment 9y ago · link · parent

The way people are treating cryptocurrency exchanges makes absolutely no sense to me. Most people are buying into it because they are absolutely certain they will manage to cash out once the currency hits an extreme "all time high". When such a peak occurs whereby the top 1% - as determined by number of coins owned - cashes out, everyone else who jumped on the bandwagon thinking they would also cash out is going to be left with exactly nothing.

Let's be absolutely clear: your coins are only worth what someone is willing to pay. And when the one and only true "run on the bank" of one of these currencies happens, it will happen within the span of less than an hour. All these people who are buying to eventually cash out are going to blink and wonder what the hell happened.

Take BTC as the example right now. All over the place, people are showing regret for not buying in a few years ago. No average BTC "shareholder" is going to be able to cash out for more than mere pennies. The majority of coins are owned by big players, and you are effectively dumping your cash into their pockets by buying into it.

BTC's Nakamoto "promises" they will never cash out their enormous share. How nice of them. The community can monitor Nakamoto's wallets all they want. I can't wait for him/her to cash out their BTC, and screw over the entire system. I'm just sitting here ready to laugh.

comment 9y ago · link · parent

Doesn't this make Prepack completely unusable? Surely it should try to apply its optimizations to each block of code, and for each block where the "optimized" version results in more lines of code - or perhaps better, more operations - the optimizations are thrown out, keeping that block of code untouched?

It makes no sense to use an optimization tool that does the exact opposite in cases it cannot handle. In no world is 1400 lines better than 10.

1
91011
27