2,085 karma · joined October 31, 2014
I wonder if a DOM mutation event would be triggered if a content script adds a new link element and changes it's href.
Would I be able to catch that and quickly change the href, before the content script continues to fecth the processed properties?
Since malicious attackers have complete control over the page you're seeing - they can simply replace document.createElement with their own function. And instead of returning a DOM object, they can return an object that returns whatever they want in .hostname
http://www.zdnet.com/article/lastpass-zero-day-vulnerability...
http://www.nj.com/middlesex/index.ssf/2016/06/5-year-old_boy...
As for "pricing in the societal costs" - that's called paying insurance.
As for: "non-critical stuff" - is that really up to you decide for others what's critical for them or not? If they're willing to pay extra for drone delivery, it's critical enough for them.
Also - as far privacy goes: "The company also claims it's working on ways to make the machines quieter and it says they won't have cameras on, just sensors."
If you already know Java and Javascript, you'll get Scala / Kotlin in no time. If you're experienced in Python and Django, RoR is a few weeks away. If you're experienced in C++ and Python, it won't take long until you're good to Go.
I get that companies want someone who's productive from Day 1, but they're missing out on a lot of great candidates that might only be productive from Day 15, but they'll be a lot more productive over time.
But is: "For every button on the page that is a "warning" button, replace the background color to red."
Necessarily better than? $("button.warning").css("background-color", "red")
While this might have been caused by mistake - these types of bugs can be (and are) abused by hackers.
https://www.owasp.org/index.php/Regular_expression_Denial_of... https://en.wikipedia.org/wiki/ReDoS
The post also links to this video: https://vimeo.com/112065252
When trading salary for equity, it's not just about being excited about the idea, it's also about being excited about the founders ability to turn that idea in to a product, business and eventually an IPO or M&A.
But most companies aren't so, and candidates expect recruiters to tell you what it is they're looking for.
B. very often <good job> expects you to already be experienced with <modern language> and <modern frameworks>. By learning at home at your own spare time, you reduce the risk and ramp up time for them, making yourself a more desirable candidate.
Try working on make files for a while. You'll miss grunt :D
While you might have to work hard to convince your employers to let you move from part of the stack to another, no one can dictate what your side projects are except yourself.
Working after work is what "saves" a programmer's resume from listing "20 years in <obsolete language> using <obsolete API> until the company I worked at for 20 years shut down".
I think smart replies are a great advance towards communicating quickly and efficiently - which is the use case for most text conversations. But it is important to realize when we expect communication to be more descriptive and personal.
Also - I'm pretty sure a lot of these so called pirated versions don't really include the original, unaltered audio track, or just include a few snippets from the video.
When an average music video has hundreds millions of views, 2700 views is actually an incredible proof of how quick google is to take down pirated music. For comparison, the original "Drag Me Down" video has over 459,286,538 views.
Instead of reverse engineering the windows code, you can simply rely on the amazing work by ReactOS which is much more readable and understandable.
It's not just about quitting Microsoft to Join google, It's also about quitting Mcdonald's to join Subway, or quitting Amazon to work for Walmart. The only workers who aren't able to quit a job are public sector workers, where the government has a monopsony on hiring.
> I've yet to work anywhere with mandatory vacation days in the sense that I can not give them up In some countries you can give up your paid vacation days. At a cost to your employer who would have to PAY YOU additionally. These all add up as additional costs of employment, and simply reduce the salary you earn in the first place. (As compared to what you could earn if there weren't paid leave laws in place).
Do some workers and employers prefer a lower salary for more vacation days? sure. Just agree on that as part of a contract. Don't force a one size fits all solution on everyone.
> Women leave employment in droves to have children whether or not they get paid maternity leave I wasn't addressing that. I was explaining that in countries that have paid maternity leave, women might not even get employed (or only get employed for certain roles) in the first place.
> Mandatory insurances and pensions are not about workers protections per se most places I'm aware of. Take Israel as an example. Mandatory pensions are considered a "triumph" of the unions, who are able to strongarm employers in to paying more into worker's pensions: http://www.globes.co.il/en/article-histadrut-employers-agree...
> Not being able to fire a worker is not a common feature of workers protections anywhere. It's never about "not being able to fire". It's about firing flexibility. Can an employer simply send you home, or do they have to go through lots of legal beuracracy first?
It's easy in Denmark: http://www.nytimes.com/2004/12/15/business/worldbusiness/the... But difficult in France or Germany: https://www.quora.com/Is-it-true-that-its-impossible-to-fire... https://www.wbs-law.de/eng/doing-business-germany/employment...
The bottom line is that if it's difficult to fire someone, you'll be a lot more picky and careful before hiring them.