hywel
This looks like the same article: https://dev.to/martinheinz/ultimate-guide-to-python-debuggin...
HSTS is designed to prevent this.
<plug> http://skillerwhale.com </plug>
There's no need to shut the thing down just in case someone sues you when that hasn't happened yet.
On the other hand, there's a good reason to shutter your site because you don't have time to make it respectful of people's privacy. By all means, shut down your site because the GDPR makes you realise that! But that's not what OP is saying.
Firstly, there's nothing this site does that is so unusual. If the user gives explicit and informed consent for their data to be used in this way, then you are likely to be covered.
Secondly, it's looking unlikely that the rules will be enforced that strictly in the near term, especially against a small, hobby website. IANAL but you likely have a couple of years until you have any chance of being on the ICO's radar (ICO is the UK's enforcer). And even then, you can reasonably expect the find to be << €4M.
Thirdly, if you run this site from a limited company (about £100/year to maintain), then the very worst case would be that you are investigated under the GDPR in the future, and you can fold the site then at which point your liability ends. No need to do it now, in fear of something that may never happen.
I hope it's not too late to change your mind about shutting down!
Have you ever tried a touchscreen computer? Was it better than when you use a mouse? Why? Which interface do you prefer - your computer or your phone? Why? Show me how you would go to www.altavista.com on your PDA. It looked like it was hard to find the browser - is it often hard to find the right application on your PDA? When you bought this PDA, were there cheaper PDAs you could have bought? How much more did you spend on this PDA because it was better?
Do you have lots of VHS videos at home? When did you last watch one? Do you have a lot of DVDs? How are they stored? Is it a problem that you have them? Would you rather not have to store them, and why? Have you ever watched a YouTube video? Is it easier to find something on YouTube or to watch a DVD?
This surprised me: contagion is a good metaphor because it is a compounding measure of the growth of the problem. Just like an interest rate (a compounding measure of the growth of debt).
Most senior developers I've met have considered the interest rate of the debt, which seems like it has been renamed here as contagion. Maybe I've been lucky to just know smart people!
From the point of view of explaining these concepts, I'd suggest keeping the metaphors consistent. Tech debt should have an amount owed and an interest rate, tech infection (?) should have a potency and a contagion level.
I wrote a book to teach 7-11 year olds to code in Python and Scratch and teach them some computer science along the way - I read a few other books out there first, and there's a lot of "just copy out this code and things will happen", which is exactly what I tried to avoid in this book.
The reviews: http://www.goodreads.com/book/show/28232614-coding-unlocked#...
The book: https://www.amazon.com/gp/product/B013R4OFVA/ref=x_gr_w_bb?i...
It's available as an ebook as well as in paper. Short pitch: don't just learn to code by typing out existing code, learn how to think algorithmically and write your own code instead. Learn Scratch and Python side by side, seeing the same Computer Science concept in one and then the other. As well as the reviews, I've heard great anecdotal feedback.
Full disclosure: I wrote it. If I could get you a discount, I would, but I don't have that kind of sway with the publisher.
Why doesn't Amazon deliver to this one street in Northern Ireland?
Why doesn't Amazon deliver to this one street in Northern Ireland?
What's Something You're Confident Has Happened to Only You
Startup technical diligence needs to check for a minimum level of ability and beyond that, ability to find the right direction to build in.
The idea that what product you build is not the responsibility of the technical team is almost certainly why you think there's no point in doing technical diligence.
The Head of Product at GoCardless Is Leaving
What: bringing intelligence and analytics to the process of applying to universities around the world.
We're a scalable EdTech company, already sold to secondary schools in 25 countries, raised large seed round from big-name VCs last summer: http://techcrunch.com/2015/11/16/bridgeu-raises-2-5m-to-fix-...
Hiring for a Product Manager: https://angel.co/bridgeu/jobs
While running a startup consultancy, the idea that MVP is a thing you make once before going on to make the 'real' product, was one of the two biggest misconceptions I saw. The other one was "lean means cheap".
I ended up realising that most startup resources explain these crucial things with misleading terms and a confusing way. Really, the whole process should mirror the scientific method - I started teaching my clients based on that, telling them to forget what they'd already heard. I'm writing a book at the moment about this (working title: The Rational Startup) but that's a subject for another HN submission :)
Huffman would have been much slower to access, which would have been unacceptable for the use case (iterating 100 million data points multiple times a second).
Indexing by movie / user is done exactly for the reason of using the cache efficiently. Unfortunately, you have to iterate through both movies and users, so you either store the sparse matrix twice (once movie-indexed, once user-indexed) OR you deal with lots of cache misses half the time.
And, yes, all the values are stored 0-based for exactly that reason :) It's an even bigger saving for storing timestamps.
Not sure what you mean about the prime solution not scaling well - 3 primes of ~2^20 can be stored in ~2^60 (i.e. within 8 bytes) as opposed to within 3 4-byte integers.
When it really sucks is when you're storing lots of small integers, e.g. 20 things in [0,1,2,3] - that gets very inefficient fast, and it'd be much more efficient to use normal bitfields.
The standard way is to do it recursively - you can see my implementation here: https://github.com/hcarver/Netflix/blob/2136aa5d28a209f902d4...
But if you're happy to do that, there's no reason it couldn't be offered by a compiler. However it's only useful for an unusual use case, when you have data that could just fit in memory, but doesn't fit in memory without the bit-packing.