HNHacker News
TopNewBestAskShowJobs

Shanea93

277 karma · joined August 15, 2016

submissionscomments
Shanea93··on Women rise through the ranks of IT more rapidly than men
As a sidenote, the USD to GBP currency figures shown in this article really show how much the pound has slumped over the last 6 months.

Article: "£52,000 ($74,000)"

Current day: "£52,000 ($63,020)"

Shanea93··on Women rise through the ranks of IT more rapidly than men
I imagine some of the inmates would kill to be the warden.
Shanea93··on Ask HN: What should I learn as my first programming language?
Stop trolling PHP developers. How would you feel if your darling language received this kind of review?

Honestly, PHP is a fine language to begin learning, it's very easy to get a local development server going for someone who barely knows the CLI, it's integrated tightly with HTML (for better or worse) which make things simple before you move to patterns like MVC, etc.

You can build some pretty cool, performant, beautiful software with PHP - and there are always well paying jobs out there (especially if you're not in the valley where Ruby & Python are disproportionately more popular than elsewhere.)

PHP 7 with a new, (loose) type system and a lot of the old, insecure cruft removed isn't actually a bad language, especially if your build process involves Composer and you're following the standards laid out by the PHP FIG/PSR.

Shanea93··on Ask HN: When are you considered a “senior” programmer?
I'm from the United Kingdom, where Software Engineering is seen as a lesser degree to Computer Science, in the same way that building CRUD applications is popularly seen as lesser than compiler design.
Shanea93··on Deep learning startup Skymind (YC W16) raises $3M, launches enterprise AI distro
I presume you mean "we don't currently work with startups". This is more of a financial issue than an ideological, enterprise only issue, right?

I'm assuming if Grail (http://www.grailbio.com/) who launched in 2016 with $100,000,000 in funding were knocking at your door you would be more than happy to work with them?

Shanea93··on Ask HN: When are you considered a “senior” programmer?
You're probably going to encounter a lot of imposter syndrome imposed on you by the people around you - ignore it, you're just following a different track to the rest of your peer.
Shanea93··on Defending Against Hackers Took a Back Seat at Yahoo, Insiders Say
"to circumvent security and break into (a network, computer, file, etc.), usually with malicious intent"

Just because they didn't impress you by finding a side channel timing attack for the password hashing algorithm used by Yahoo, doesn't make it any less of a hack.

Why spend millions investing in a network of computers to break encryption, when the key can be gained far more easily with a $20 tire wrench applied with sufficient force to the DBA's knee caps?

Shanea93··on Ask HN: When are you considered a “senior” programmer?
Anecdotally, I feel like this is how my older peers see me.

I've been working (professionally) in this industry since I was 16 years old, I got my first job as a junior after tinkering with computers since I was 8 years old. At the age of 23, I've found it very difficult to earn the respect of the people around me because of my age.

I have the title of senior developer because I've had experience working on scalability issues and complex service based infrastructures, but many of my peers who are my age and recently graduated university and are still in their first junior roles often act like I haven't earned it - despite me graduating with a part-time degree in software engineering (okay, it's not computer science, but I'm still glad I did it.)

My point is that while age is generally a good indicator of knowledge and ability, it's not the be-all-and-end-all.

Shanea93··on Microsoft to shut London Skype office putting 220 jobs at risk
They aren't related as products, despite being developed now by the same company.

There was an integration you could get (purchase, I think?) which allowed Lync to connect to the MSN network and chat to users of MSN.

Shanea93··on FBI director: Cover up your webcam
This is the day and age of removing headphone jacks to make a phone slimmer, taking away your disk drive, etc. Most companies care more about aesthetics than functionality at this point.
Shanea93··on Warren Buffett's Net Worth by Age
Well, the good thing about Daraprim, the drug for toxoplasmosis, is that it completely cures you of the condition. So sure, your insurance will rise because you made a claim, but it won't raise that much, since you don't have any medical conditions going forward.

Your insurance going up by 20/30% a year is definitely preferable to the actual medical costs you would incur in hospitals if the company who sell Daraprim went out of business.

Shanea93··on Warren Buffett's Net Worth by Age
I'm not really sure you understand the situation.

A pharmaceutical company makes a drug which they priced when they acquired it a long time ago, they're the only company which makes a drug for that specific condition.

The drug is priced at $13.50 per pill, which is sold in bottles of 80 pills and is covered by insurance, with a co-pay of $20. Most bottles actually cost only $1, which is a federally mandated amount for a prescription for those on medicaid.

The company (which only has margins of 8%, which is a very low amount) realises that the costs of their only successful drug are going to put them out of business and that they need to raise the price of the drug or stop selling it. This would mean no longer selling the only cure to toxoplasmosis.

They decide that raising the cost by 50x would allow them to continue R&D in to other rare diseases, so they could make other pills.

When they raise the costs to $750 per pill, everyone can still get their pills. The insurance co-pay of $20 per bottle is still exactly the same. The medicaid prescription cost of $1 per bottle is still exactly the same.

Nothing changes for the end user, it costs the exact same, the insurance company picks up the extra tab for the pills and the 2,000 people yearly who need this drug are able to survive.

You should really investigate the situation fully before blindly believing the story the media has sold to you.

Shanea93··on A scammer stole $500 from me and in the end begged me not to tell his parents
I wonder if the bitcoins he sent to the author in return for the cards were actually scammed from another unwitting party?
Shanea93··on A scammer stole $500 from me and in the end begged me not to tell his parents
Anecdotally, at 23, I don't have (and have never had) a father and my mother lives in another country, whenever I consider any decision and the morality of it, I ask myself "do I want to be the kind of person who does this? Can I look at myself in the mirror if I do?"
Shanea93··on Why Billings, Montana, Is the Best Town of 2016 [video]
This is probably because the state of Montana has a 90.6% white population and a 6.2% American Indian population.

There are only 2,700 [1] black people living in the state, it looks to me like they're exactly showing the racial diversity of the state. Sure, they could have a single black person so the numbers are correct but then someone will just complain about them including a single, token black person.

The Billing specific census information is a little bit older but has the same 0.3% figure for black people [2] - that puts their total black population at 270/95,220.

[1] http://www.infoplease.com/us/census/data/montana/demographic... [2] http://www.infoplease.com/us/census/data/montana/billings/

Shanea93··on iPhone 7
Anecdotally, my Nexus 5x has a large, central bulge for it's camera and the sapphire glass doesn't even have any scratches on it after almost a year with no protector over any part of the phone.

It's a shame they're discontinuing the line, the build quality of this phone is immensely good, it shows me the quality Android phones _should_ have.

Shanea93··on A SpaceX Falcon 9 rocket has exploded at Cape Canaveral
Aon International Space Brokers (http://www.aon.com/singapore/risk-services/products-services...) covers liability for the payloads to be delivered, however, SpaceX shoulders the financial burden of losing the rocket itself, as only the contents are insured.
Shanea93··on Job Descriptions Should Be Better
I've been thinking about this a lot recently as we come to hire our third software engineer, in a company which historically hasn't valued their engineers - but with our help has changed a lot in the last year. With myself being the technical team lead going forward, it's important for me that my engineers understand what they will be doing and what value they provide to us, so I've been leaning towards the following:

We're looking for a senior software engineer with PHP experience who is interested in learning Golang in the near future. You don't have to enjoy working in Magento, as we're stripping out as much as possible, but a knowledge of Zend Framework 1 or 2 would be a significant benefit.

We've worked on some cool problems recently, like converting our monolithic architecture to auto-scaling EC2 instance groups, moving our local development from using a "dev.domain.com" domain to Vagrant (and soon, Docker across the stack) and writing custom security monitoring tools for our various bespoke applications.

Outside of the every day work of managing our E-commerce websites, you have fairly unlimited scope for the projects you work on, as long as the team sees value in the idea. You get one day per week to work on whatever you want and to experiment with new languages.

We don't currently allow remote working, but we're in talks with the MD to allow us to work from home one day per week, with a view to increase this going forward.

Your hours are fixed, you're expected to leave at 5.30, though very occasionally you will get a call out of hours if you're on call (which is a voluntary, paid schedule.)

Shanea93··on Peter Thiel and Y Combinator fund a “litigation financing” startup
This article starts with facts and then quickly becomes a rather vicious personal attack against Peter Thiel.
Shanea93··on How to be mediocre and be happy with yourself
Prenuptial agreements still have a value within the UK, they are considered intent towards your actions in the event of a divorce and unless there are significant extenuating circumstances leading to the divorce are normally honoured. As long as neither of you are cheating, abusive, performing illegal acts, etc, the prenup usually holds up.
Shanea93··on PHP the Wrong Way
Here, fibonacci implemented in a single for loop (obviously, there's cruft in there to modify the array but there's no need for us to be facetious). Feel free to wrap function call around it if the procedural nature makes you feel icky.

  $iterations = 50;
  $numbers = [1,0];
  for($i=0; $i<$iterations; $i++) {
      array_push($numbers, $numbers[0] + $numbers[1]);
      array_shift($numbers);
      echo $numbers[0];
  }
You seriously expect me to believe that 99% of PHP developers couldn't have written this?
Shanea93··on PHP the Wrong Way
And since then tools such as Composer and Symfyony3 have been released. It's been almost 10 years. Hell, even Magento2 isn't that bad, if you can look past the awkward dependency injection they're in the process of fixing.

PHP in 2008 is very different to PHP in 2016. PHP frameworks in 2008 are very different to PHP in 2016. PHP developers in 2008 are very different to PHP in 2016.

Shanea93··on PHP the Wrong Way
PHP7 has removed a lot of the old cruft and made some small improvements to PHP's idiomatic syntax.

One great example is the removal of the mysql_real_escape_string function. http://php.net/manual/en/function.mysql-real-escape-string.p...

Another is finally giving us a null coalescing operator, which is a solution for a constant pain point in dealing with raw PHP POST and GET parameters.

The full "new features" list of PHP7: http://php.net/manual/en/migration70.new-features.php

The change log of PHP7+: http://php.net/ChangeLog-7.php

Shanea93··on PHP the Wrong Way
It's really easy to make up statistics on the spot with absolutely no source.

I very much doubt that people would be getting paid to write any code if they couldn't implement a single for loop in their primary programming language.

Shanea93··on PHP the Wrong Way
This is a massive overgeneralisation of a humongous amount of people and man-hours of work. Why do you feel this? Do you have anything to back up this statement?

Anecdotally speaking, I'm a Senior Software Engineer working with Go and PHP.

We use Go when working on performance critical code, because for us that's where it excels.

We use PHP when we need simple interoperability with the legacy Magento site our company runs and for jobs like running a CSV importer or some other oft-visited-task. We both get the job done and care about doing it right. You can write some truly beautiful code in PHP if you have the correct level of patience, process and experience behind you.

Shanea93··on The SEC has temporarily halted trading of Neuromama Ltd.
I got an error while searching which contains a Laravel stack trace, in case anyone is curious what a small snapshot of their stack looks like: https://gist.githubusercontent.com/anonymous/efa644da4f2713b...
← PreviousPage 3 of 3