Posts

QR codes: shortcuts, not trust certificates

Image
The menu has become a square. The payment counter has become a square. Even the poster asking you to register for a college event has become a square. A QR code is a useful shortcut. But successfully reading one tells your phone what the code contains, not whether the person behind it deserves your trust. That distinction explains both its convenience and the pause worth taking before the next tap. The menu, poster and payment scenes in this guide are invented teaching examples. The accompanying mascot illustrations and diagrams are AI-generated, not screenshots or evidence about a real business. What the squares actually carry A QR code is a two-dimensional data carrier. DENSO WAVE, which developed it in 1994, explains that it can represent numbers, letters and other data. The three large corner patterns help a reader locate and read it from different directions. [1] The content does not have to be a website. It can be text or structured information that a particular app understa...

App permissions: does a torch need your contacts?

Image
You install a torch app. It asks for your contacts. The room is still dark, but apparently the app would like to make friends. That is an invented teaching scenario, not an allegation about a real app. The accompanying mascot scenes and permission diagrams are AI-generated editorial illustrations, not phone screenshots. The useful habit is not to deny everything. It is to match each request to the feature you chose, then give no more access than that feature reasonably needs. Start with the feature, not the Allow button A voice-message feature has an understandable reason to ask for the microphone. A map helping you find a nearby place has a reason to ask about location. A torch asking for contacts needs a better explanation. An unexpected request is a reason to pause, not proof that an app is malicious. Read the explanation, check what action triggered it, and look at the developer's privacy information if the reason is unclear. Android's own developer guidance says perm...

Tests passed. The empty box won.

Image
A small username example shows how to move from one reassuring input to a test table that checks the contract. The example worked. What did it prove? You tried one normal username. The function accepted it. The test turned green. Then someone submitted an empty field, and the behaviour was not what you intended. A passing test establishes something about the case and assertion you wrote. It does not automatically establish the behaviour for inputs you never tried. Before adding another happy-path example, write down what the function is supposed to accept, reject or raise. Start with a rule, not a guess For this invented example, a username must be a Python string containing 3 to 12 characters, inclusive. Allowed characters are lowercase ASCII a-z, digits 0-9 and underscore. We do not trim spaces or convert other types. A string outside the rule returns False; an input that is not a string raises TypeError. These are teaching choices, not a recommendation for every real signup s...

Excalidraw: sketch first, polish later

Image
You have spent twenty minutes making three boxes the same width. Nobody can explain what happens between them. The diagram is tidy. The idea is still missing. Excalidraw is useful for the stage before polish: getting a rough explanation out of your head so you can inspect it. The free browser editor lets you draw shapes, connect arrows and add text without creating an account. Its sketch-like appearance suits an unfinished thought, but the useful part is what you put on the canvas. The registration process below is an invented teaching example. The accompanying mascot scenes are AI-generated editorial illustrations, not screenshots of the editor or evidence of a controlled product test. Start with one question, not a whole project A blank canvas can become a dumping ground. Instead of trying to draw everything about an event, choose a small question: what happens after someone submits the registration form? That question gives the drawing a boundary. You are not designing the eve...

AI summaries: what got left out?

Image
The summary says the workshop is on Friday. You arrive with enthusiasm. The registration deadline was Wednesday. Enthusiasm was not the required document. This is an invented example, not a real college notice or an output from a tested AI tool. AI summaries can help you get oriented, sort a reading list or find the section you need. But shorter is not the same as complete enough for your next decision. A summary can repeat a correct fact while leaving out the condition that makes that fact useful. A summary has to leave things out If a ten-page document becomes five bullets, something will be omitted. That is not automatically a failure. You do not need every greeting in a meeting transcript or every background paragraph in a quick overview. The useful question is: what information do I need for the thing I am about to do? A summary for deciding whether to read a paper is different from a summary used to apply for an opportunity, submit an assignment or agree to a fee. Oxford...

Before you price a creative job, define the scope

Image
AI-generated conceptual illustration. Invented project example. "Just one poster." Then a square version walks in. A story version follows. Someone asks for the editable file. The final change develops a final change of its own. This is an invented project scenario, not a real client story. The problem is not that clients should never ask for changes. Creative work needs discussion. The problem is pricing one job while both sides are imagining different jobs. Before quoting a fixed fee, write down what the fee actually covers. A clear scope gives the client something concrete to approve and gives you a sensible way to discuss additions. Price a defined output, not a vague noun "Poster design" is a category. It does not tell you how many designs, sizes, languages or files the client expects. Describe the output: one visual direction for an event poster, delivered as one 1080 x 1350 PNG for Instagram. If a story version, print layout or second language is need...

Learn a tool by finishing one small project

Image
You have watched enough tutorials to recognise the interface. Then you open a blank file and forget where to start. That does not mean tutorials are useless or that you are bad at learning. Watching a sequence and choosing the next step yourself are different tasks. A useful next move is to finish one small project. Not a portfolio masterpiece. One thing you can open, test and explain. Choose an output, not an entire tool "Learn spreadsheets" has no obvious finish line. "Make a sheet that adds up this week's expenses" does. "Learn an image editor" can keep expanding. "Make one readable event poster and export it" gives you something to check. The project examples in this guide are invented illustrations, not research participants or a tested study protocol. Write a small brief before opening the tool: Output: what file or object will exist? Done means: what must it do correctly? Not today: what attractive extra are you leaving out? ...

Cloud storage is not the same thing as a backup plan

Image
Your project exists on your laptop, your phone and a cloud website. Three places. Excellent. Then you delete the wrong folder and watch all three agree with you. Sync did not necessarily fail. It may have done exactly what it was designed to do: keep your files consistent across devices. Cloud storage can be part of a backup plan. The mistake is assuming that a synced folder, by itself, is the whole plan. A useful backup question is not just "Where else is this file?" It is "Can I recover the right version after something goes wrong?" Sync keeps things in step. Backup gives you a way back. Sync is useful for access and collaboration. Edit a document on one device, then continue elsewhere. A backup is a separate recoverable copy, kept so you can restore data after loss, damage or an unwanted change. CISA describes a backup as a secure copy stored separately from primary systems. The two functions can overlap. A cloud service may include deleted-file recovery, versio...

Two-Factor Authentication Without Locking Yourself Out

Image
Day 19 / Cybersecurity Everyone agrees you should turn on two-factor authentication. Fewer people do it, and when you ask why, the answer is rarely "I don't care about security." It is something closer to: what if I lose my phone and lock myself out of my own accounts? That fear is not silly. It is also solvable in about fifteen minutes, once, and this guide walks through exactly how. The case for the second factor Start with why the bother is worth it. Microsoft states that multi-factor authentication can block over 99.9 percent of account compromise attacks . A year-long study by Google with researchers at New York University and UC San Diego measured the effect in the wild : during their investigation, an SMS code to a recovery phone helped block 100% of automated bot attacks, 96% of bulk phishing attacks and 76% of targeted attacks. On-device prompts did even better against the targeted kind: 100%, 99% and 90% respectively. The pattern in the data is simple: alm...

Git Commits: Notes Your Future Self Will Understand

Image
Day 18 / Developer Culture Six months from now, you will open an old project, run git log , and meet your past self. The record they left you: fix , update , final changes 2 . Something broke in that code last week, and you have no idea which of those commits introduced it, or why any of them exist. The commit message is the only documentation that stays attached to every change forever. Code gets refactored, comments get deleted, but the log survives. Writing it well is a small skill with an outsized payoff, and the conventions are older and better settled than most students realise. The anatomy: subject, blank line, body Git itself assumes a shape. As the git commit documentation explains, the text up to the first blank line is treated as the commit's title, and that title is reused across Git's tools, from git log --oneline to email patches. A widely followed style guide, Chris Beams' seven rules , builds on that: Separate the subject from the body with a blank l...