Recent submissions

Comment · 3 years ago
Yes, a secret key like this could have made this breach much less concerning. Assuming you trust the company to not also lose this data (that they generate and claim to not store). What I was really hoping to find was a paid, cross platform, cloud sync'ed solution that can be setup to require your password and physical key to decrypt. i.e. have 2FA protection from a data breach like this.
Comment · 3 years ago
I initially assumed I would be safe because of 2FA. Sadly it looks like this is not the case, the second factor is used to access the encrypted data, not decrypt the data. As the attacker already has the encrypted data, they have bypassed the stage where 2FA is providing protection. This appears to also be the case for 1password and bitwarden, so not specifically a lastpass failure.
Comment · 3 years ago
This makes me think of something Antoine de Saint-Exupery said, "Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away."
Comment · 7 years ago
Not sure how I missed that, thanks.
Comment · 7 years ago
My guess is it's less about a moral issue with marijuana and more about a fear of upsetting people displaying the adds. Many of whom won't want to be associated with something federally illegal. The alternative headline being "Google displays illegal drug adds on school site" (or some other page that probably should not be showing ads)
Comment · 8 years ago
If your employer is happy with your performance then you are probably "good enough" as you say.

However if you truly do always want to be improving your ability as a software engineer, then you are in luck, this field is so vast and deep that you can easily spend more than a lifetime improving! Finding out how and measuring it is another matter.

Comment · 8 years ago
My favorite unpacking snippet is rotating a matrix

>>> matrix = [(1,2,3),(4,5,6),(7,8,9)]

>>> list(zip(*matrix))

[(1, 4, 7), (2, 5, 8), (3, 6, 9)]

Not as readable as a real maths library, but pretty cool and educational.

Think I came across it in Python in a nut shell, by Alex Martelli

Edit: formatting

Comment · 8 years ago
This also really highlights the scale of the population explosion over the last 500-ish years!
Comment · 8 years ago
> given the abysmal quality of this thing, nobody will ever insist that they release the sources

I am interested in seeing the source :)

Comment · 8 years ago
I think most people, at some level, know this and accept it. I think the shock comes when you think how long this information is kept for, and what that means. i.e. each year they can advertise age appropriate birthday presents, a few years from now they might get adverts for children party suppliers. As they grow up college saving funds, colleges, trips to Disney land, first cars can all be targeted to you at just the right time.
Comment · 8 years ago
I also agree that it is not a helpful term.

I like to think we are all 10x developers. The question of a 1x developer should be how to grow their productivity (assuming they are motivated to do so). Less productive developers should not feel like they have one tenth of the natural talent someone else has. Instead they should look at how they can improve their work flow/knowledge and companies should try and maximise the output of their employees.

Yes some people will always be better/more productive than others, but most people are differentiated by completely controllable factors.

Comment · 8 years ago
It really is scary. They claim to anonymise the data, but to me it feels like removing your name and address from your DNA is like removing the make and model from a car schematic (where only one model was produced).
Comment · 8 years ago
I try and mitigate the password management single point of failure with two factor authentication.

Obviously that it not an option for every site but access to my password manager, alone, will not provide access to my email (which lets me rest all my accounts) or my bank etc

Of course I use two factor on the manager too.

It doesn't completely solve the problem but I haven't found a better alternative (that works for me)

Comment · 9 years ago
It might be interesting to some to know that relatively recently (2016) PEP 523 ( https://www.python.org/dev/peps/pep-0523/ ) was created which provides a more efficient alternative to PyEval_SetTrace or PyEval_SetProfile for some use cases.

The idea of this PEP is to add frame evaluation into cPython. As the PEP says "For instance, it would not be difficult to implement a tracing or profiling function at the call level with this API"

Elizaveta Shashkova (a PyCharm developer at JetBrains) gave a really good talk on the subject at this years PyCon ( https://www.youtube.com/watch?v=NdObDUbLjdg ).

Comment · 9 years ago
I also have trouble keeping mac windows where I left them with external displays attached.

I invested $15 in stay https://cordlessdog.com/stay/

I would not say the problem is solved (it's not going to solve artifacts, etc), but it helped me.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton