This is a summary of the "Learn You A Haskell" online book under http://learnyouahaskell.com/chapters.
- Haskell is a functional programming language.
This is a summary of the "Learn You A Haskell" online book under http://learnyouahaskell.com/chapters.
A lot of these are outright stolen from Edward O'Campo-Gooding's list of questions. I really like his list.
I'm having some trouble paring this down to a manageable list of questions -- I realistically want to know all of these things before starting to work at a company, but it's a lot to ask all at once. My current game plan is to pick 6 before an interview and ask those.
I'd love comments and suggestions about any of these.
I've found questions like "do you have smart people? Can I learn a lot at your company?" to be basically totally useless -- everybody will say "yeah, definitely!" and it's hard to learn anything from them. So I'm trying to make all of these questions pretty concrete -- if a team doesn't have an issue tracker, they don't have an issue tracker.
I'm also mostly not asking about principles, but the way things are -- not "do you think code review is important?", but "Does all code get reviewed?".
I’m a web app that wants to allow other web apps access to my users’ information, but I want to ensure that the user says it’s ok.
I can’t trust the other web apps, so I must interact with my users directly. I’ll let them know that the other app is trying to get their info, and ask whether they want to grant that permission. Oauth defines a way to initiate that permission verification from the other app’s site so that the user experience is smooth. If the user grants permission, I issue an AuthToken to the other app which it can use to make requests for that user's info.
Oauth2 has nothing to do with encryption -- it relies upon SSL to keep things (like the client app’s shared_secret) secure.
Rich Hickey • 3 years ago
Sorry, I have to disagree with the entire premise here.
A wide variety of experiences might lead to well-roundedness, but not to greatness, nor even goodness. By constantly switching from one thing to another you are always reaching above your comfort zone, yes, but doing so by resetting your skill and knowledge level to zero.
Mastery comes from a combination of at least several of the following:
#! /usr/bin/env python | |
import base64 | |
print base64.b64decode("CiAgICAgICAgICAgICAgICAgICAgICAgJ0BAQEBAIzogICAgICAgK0BAQEBAQCAsQEBAQEBAQEBAQEBAIzogICAgICAgICAgICAgICAgICAgQEBAQEBAQEBAQEBAQCtgICAgICAgICAgYCtAQEBAQEBAIzogICAgIC5AQEBAQEBAQEBAJyAgICAgICAgICA6K0BAQEBAQEArLiAgICAgI0BAQEBAQEBAQEBAQEBAQEBAQAogICAgICAgICAgICAgICAgICAgICAgICdAQEBAQEBAQCAgICAsQEBAQEBAQEAgLEBAQEBAQEBAQEBAQEBAQGAgICAgICAgICAgICAgICAgIEBAQEBAQEBAQEBAQEBAQEAgICAgICAgQEBAQEBAQEBAQEBAQCwgICAsQEBAQEBAQEBAQEBAJyAgICAgIC5AQEBAQEBAQEBAQEBAICAgIEBAQEBAQEBAQEBAQEBAQEBAQEAKICAgICAgICAgICAgICAgICAgICAgICAnQEBAQEBAQEAsICAgQEBAQEBAQEBAICxAQEBAQEBAQEBAQEBAQEBALiAgICAgICAgICAgICAgICBAQEBAQEBAQEBAQEBAQEBAQCAgICAgQEBAQEBAQEBAQEBAQEBALCAgLEBAQEBAQEBAQEBAQEAjICAgIGBAQEBAQEBAQEBAQEBAQEAgICBAQEBAQEBAQEBAQEBAQEBAQEBACiAgICAgICAgICAgICAgICAgICAgICAgJ0BAQCwnQEBAQCAgK0BAQCs6O0BAQCBgLCwsLCwsLCwsLDo6I0BAQEBgICAgICAgICAgICAgICAgLCwsLCwsLCwsLCwsJ0BAQEBAICAgK0BAQEAnLCwsLCwnI0BAQEAgIGAsLCwsLCwsLCwnQEBAQDsgICBAQEBAQCcsLCwsLCdAQEBAIyAgLCwsLCwsLCw6LCwsLCwsLCwsLAogICAgICAgIC |
/* | |
##Device = Desktops | |
##Screen = 1281px to higher resolution desktops | |
*/ | |
@media (min-width: 1281px) { | |
/* CSS */ | |
by Bjørn Friese
Beautiful is better than ugly. Explicit is better than implicit.
I frequently deal with collections of things in the programs I write. Collections of droids, jedis, planets, lightsabers, starfighters, etc. When programming in Python, these collections of things are usually represented as lists, sets and dictionaries. Oftentimes, what I want to do with collections is to transform them in various ways. Comprehensions is a powerful syntax for doing just that. I use them extensively, and it's one of the things that keep me coming back to Python. Let me show you a few examples of the incredible usefulness of comprehensions.
It's now here, in The Programmer's Compendium. The content is the same as before, but being part of the compendium means that it's actively maintained.