AutoDraw Amazing. Draw your best (or worst) stick figure, and AutoDraw's AI will find a high quality sketch for you.
Introducing Increment A software engineering magazine dedicated to practical and useful insight into the ostensibly small things that are actually big things: testing, deployment, development tools, code review. Subscribed.
The invisible parts of CSS This article will help you understand how different parts of CSS come together (cascade, box model, display types, etc).
RegexHQ Community-driven collections of RegExp patterns and tools: twitter mentions, credit card numbers, usernames, POSIX paths, and more.
Preload, Prefetch And Priorities in Chrome TL;DR preload asks the browser to fetch the resource, prefetch hints it might be fetched in the future. But, of course, there are nuances and gotchas, so check out the article.
Developers should also use passive event listeners whenever possible, with feature detection to avoid compatibility issues. Using Pointer Events (there is a polyfill) and “scroll” listeners are also surefire ways to prevent unintentional scroll-blocking.
Another useful thing that this principle surfaces is that if something provides no reasonable expectations, then it is a violation of the principle. Consequently, naming functions as for example handleTriggerFailed will violate the principle since there is not much that the reader of the code can infer from that method name.
The hero worship of successful people is just survivorship bias in action. Out of a population of people flipping coins, we (after the fact) find the ones who flipped heads 10 times in a row and fawn over them, asking them how they became such great coin flippers and what we can do to improve our coin flipping skills. See also: Good To Great or any similar business book.
We proceed to demonstrate the threat of anti-virus assisted attacks and feasibility of implanting malicious markers in three different scenarios: 1) covering up password guessing, 2) deleting a user’s emails and 3) facilitating web-based attacks by removing browser cookies. For each scenario we choose a different anti-virus product to demonstrate the generality of the approach.
RFC 8140 The Arte of ASCII "This document attempts to address that yearning by demonstrating the full wonder of the natural world in vivid two-dimensional representation and a colour palette that would put even the august L. S. Lowry to shame."
AMP: Breaking News "The media have now almost completely lost control of distribution." Journalism relies on trust between the reader and the publisher, and you can't establish trust, if you can't tell publishers apart. Wither journalism in a world where all publishers look the same.
Ham Saladyce "I see cats have started writing for the telegraph"
Design your styles so they can be reused, anywhere in the app. Learn SMACSS and BEM. And don’t stop because you understand the “naming system”—these methodologies are about far more than double-underscores and double-hyphens. They are about code organization, reuse, and refactoring. They are the solution to dead code elimination. They offer ways to utilize the cascade instead of fearing it. They allow you to know precisely where in your code you can find a certain set of styles.
New Web Features in Safari 10.1 iOS 1.3 and macOS 10.12.4 are out, with CSS Grid Layout, Fetch, ES2017, custom elements, interactive form validation, media capture, and much more.
basecamp/geared_pagination Variable speed pagination gears up to give you more search results, the deeper you search. Simple and deceptively smart:
Geared Pagination allows you to define different ratios. By default, we will return 15 elements on page 1, 30 on page 2, 50 on page 3, and 100 from page 4 and forward. This has proven to be a very sensible set of ratios for much of the Basecamp UIs. But you can of course tweak the ratios, use fewer, or even none at all, if a certain page calls for a fixed-rate scheme.
The Debugging Mindset If you're reading one research paper this week, make it this one. It's about the psychology of different learning strategies, and how to develop your problem-solving skills:
Through continued learning, malleable views of problems, and effective use of tools, you can become successful in debugging. Still, some insist that debugging is more of an art than a science. I think we can dispatch this idea entirely. It is clear that debugging requires learning, and the scientific method is specifically designed to yield new knowledge. The method, summarized: (1) Develop a general theory of the problem. (2) Ask questions leading to a hypothesis. (3) Form a hypothesis. (4) Gather and test data against the hypothesis. (5) Repeat.
The core idea of the paper is that programming and writing are both, in essence, the activity of taking a very high-level idea and translating it to low level statements: sentences and words for the writers, and methods and lines of code for the programmers.
Here’s a thought: If we had viewed programming more alike writing from the start, would we have come to agile design methodologies sooner?
BBR: Congestion-based congestion control "This is the story of how members of Google’s make-tcp-fast project developed and deployed a new congestion control algorithm for TCP called BBR … leading to 2-25x throughput improvement over the previous loss-based congestion control CUBIC algorithm."
Dimnie is a highly modular piece of software that gives attackers an extensive menu of capabilities that can be tailored to a specific target. Available functions include keylogging, the taking of screenshots, interacting with attached smartcards, extracting PC information, …
The campaign targeting Github users starts with e-mails that attach a booby-trapped Microsoft Word document. The file contains a malicious macro that uses PowerShell commands to download and execute the payloads.
State officials have said that between Oct. 1, 2013, when the MiDAS system came on line, and Aug. 7, 2015, when the state halted the auto-adjudication of fraud determinations and began to require some human review of MiDAS findings, the system had a 93% error rate and made false fraud findings affecting more than 20,000 unemployment insurance claims. Those falsely accused of fraud were subjected to quadruple penalties and aggressive collection techniques, including wage garnishment and seizure of income tax refunds. Some were forced into bankruptcy.
Charles Duhigg "People won’t stop staring at their phones, so a Dutch town put traffic lights on the ground"
None of the Above
Stevosideways "I literally defy anyone to watch this video in full and not be smiling like a big idiot by the end!!! 😂😂😂😂"
Network performance on test data indicates that this author would have received an 87.2 (1)% chance of "Yes" given a particular set of environmental input parameters. Most critically, the optimal method of question delivery is found to be Secret Note rather than Verbal Speech. There also exists mild evidence that wearing a burgundy mini-dress might have helped.
We’ve noticed patterns of behavior with accounts that are created only to harass others – often they don’t take the time to personalize their accounts. This has created an association between the default egg profile photo and negative behavior, which isn’t fair to people who are still new to Twitter and haven’t yet personalized their profile photo.
I would argue that thumbs up/down feels very five years ago, before we learned that down-vote features were little more than an abuse vector for targeted harassment and the suppression of progressive voices and ideas.
Changelog "Would love to see the user story for this feature..."
Tools of the Trade
d3-node/d3-node Ever wanted to use D3 to generate charts on the server? Now you can.
There was nothing explaining what was the reason of it. No comments explaining why I wrote the code. It was not mentioned in the documentation.
When the colleague asked me about it, I could not explain it, because I had already forgotten everything.
Tess Rinearson "someone needs to tell silicon valley what "work-life balance" means"
Julia Carrie Wong "do not patronize judge alsup about the the non-linear nature of focal points as a function of distance of an object from the lens" (Alsup learned how to program to preside over Oracle vs Google)
Steve Sanderson "A heatmap visualisation of where the door handle should be:"
LiquidText Inking The Liquid Text demo video is brilliant. This is one of the most interesting, tech-augmented, user interaction I've seen in a long while. I've yet to figure out how to actually use this app. But this demo video …
PunchesBears ㅎ㉨ㅎ "The new Samurai Jack is like a masters class in color theory."
Tools of the Trade
Learning CSS Grid Layout How to approach learning grid layout. Solving problems that you actually have rather than trying to learn the entire thing at once.
My super simple theory at the moment — if you are putting widths on flex items, you are doing it wrong. Use Grid. (Let’s see if that holds.)
The State of Browser Caching, Revisited The difference between specs and reality. Mark Nottingham reviews the current crop of web browsers, which HTTP cache headers they honor, what heuristics they make, how they deal with status codes, etc.
Shell Scripts Matter How to bash like a pro, including linting, unofficial strict mode, testing, logging, and more.
Your startup either dies, or it lives long enough to use JIRA.
Determining which components are worth isolating, getting teams to agree and unify on them rather than letting “a thousand flowers bloom” is hard ongoing work. It does not end up looking like a breakthrough — it looks like an engineering team that is just getting things done. That always seemed like a worthy goal to me.
Rod Vagg 🐨 "Rolling your own container orchestration solution"
I loved the idea of using a well known text — in its entirety — that everyone has heard about, but very few people have ever actually read. That's something that the Terms share with many classic works of literature.
n-gate.com Jaded reading of Hacker News top posts:
Airbnb raises $1B at $31B valuation, became profitable in 2016
March 10, 2017 (comments)
AirBnB, whose business model is "Uber for toilets," claims it's finally making money, a claim backed up by the fact that it just borrowed another billion dollars. Half of the comments are from people slowly realizing why consumer protection laws exist. The other half are from people trying to figure out what AirBnB is hiding from by not taking the company public.