617 karma · joined May 14, 2012
There's incredible power in being able to immediately visualize any data structure with such ease. You only need to understand that there's a "setup" function, and a "run-all-the-time-while-this-window-is-open" function (draw), and tell people to jam whatever code they want in there, it will be executed from top to bottom. The result? Usually, incredibly messy code with gigantic nested loops everywhere - but students were invariably learning things, and once in a while, having fun too. Books like these are really important because they give learners a starting point, something to mess around with - which is usually all they need to get started.
This looks great, I'll be going through it soon.
[0] https://www.kickstarter.com/projects/shiffman/the-nature-of-...
Still not sure if it's a good idea to piggyback the expression though.
I sort of have a thing for commas:
An advanced purely-functional programming language
An advanced, purely-functional programming language
Much better, no? d = {}
for k, v in request.items():
try:
d[k] = int(v)
except (TypeError, ValueError):
d[k] = None
much easier to read and understand than: walk_values(silent(int), request)
I need to find our what the "silent" attribute does and I'm not sure what type of errors are caught here. Although I'm all for hiding implementation when it's useful, I find it counter-intuitive to do it at this level in python, it makes things harder to read. Size range
0-49
600-649
...
Why does the range skip from 0-49 to 600-649? I'm not sure I get this.People learning git don't start with typing "git rebase --help" just to see what it does. You learn to add, commit, push, (probably from a tutorial) and then go from there.
> Earnest shows you the number of words in your text, useful for people who need to hit a particular word-count, but it only re-calculates the number every minute to deter you from constantly keeping an eye on your progress. The word-count should not be a distraction from your writing.
I would maybe have the counter be real-time, but require the user to leave the keyboard (or some other significant action) to show it? (ex: on mouseover). I was trying this out and still was looking at the "0 words" and thinking "damn, I wonder how many words there are."
I find it interesting that companies still try to pull this stuff off even after discussions like yesterday's on here about LinkedIn's dark patterns usage habits.
I think you're actually shooting yourself in the foot, and as someone else mentioned - you're actually missing out on the very best developers out there by taking the shortest, easiest path to recruiting.
She seems to vaguely admit fucking up, but that any sort of passionate founder eventually leaves to work on something new and exciting anyways, or that "even when their company was at the height of success [...] they try their hands at something different". I think that's total bs, and that it's certainly not necessary to plug the name of your charity 3 times in this post, because this whole situation has nothing to do with your charity.
I'm finalizing a tool to scan and visualize the top 1M alexa site URLs to see which are vulnerable - and ~3% (30 000) still are. In the last few days I've observed about ~5% of those getting patched daily (~1500).
But really, I'm a bit puzzled by her 5 "recommendations". Turn off your devices while you're not using them? I feel like the most important one is missing - don't use HostMonster or Godaddy, their representatives are not paid enough to care about the implications of you losing your domain name.
I'm curious, as someone who uses this pattern quite a bit, how would you improve on this?
Having lunch with other people, being able to ask around for help or feedback, taking part in events are all small things that end up making a big difference.