Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Darkly)
  • No Skin
Collapse
Brand Logo
David Chisnall (*Now with 50% more sarcasm!*)D

david_chisnall@infosec.exchange

@david_chisnall@infosec.exchange
About
Posts
3
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

View Original

Posts

Recent Best Controversial

  • Wanted: Advice from CS teachers
    David Chisnall (*Now with 50% more sarcasm!*)D David Chisnall (*Now with 50% more sarcasm!*)

    @futurebird

    I’ve taught programming like this, but I’m an increasingly huge fan of the debugging-first approach that a few people have been trying more recently. In this model, you don’t teach people to write code first, you teach them to fix code first.

    I’ve seen a bunch of variations of this. If you have some kind of IDE (Smalltalk is beautiful for this, but other languages usually have the minimum requirements) then you can start with some working code and have them single-step through it and inspect variables to see if the behaviour reflects their intuition. Then you can give them nearly correct code and have them use that tool to fix the issues.

    Only once they’re comfortable with that do you have them start writing code.

    Otherwise it’s like teaching them to write an essay without first teaching them how to erase and redraft. If you teach people to get stuck before teaching them how to unstick themselves, it’s not surprising that they stop and give up at that point.

    Uncategorized

  • This is a neat data visualization but it does give the impression that the Netherlands was buried under a kilometer of snow rather than several centimeters 😂 https://social.overheid.nl/@knmi/115867373039298982
    David Chisnall (*Now with 50% more sarcasm!*)D David Chisnall (*Now with 50% more sarcasm!*)

    @0xabad1dea Is that like the ‘feels like’ temperature?

    Uncategorized

  • Great, with Version 1.3.0, Ly display manager introduced a brightness feature, where you can increase or decrease brightness.
    David Chisnall (*Now with 50% more sarcasm!*)D David Chisnall (*Now with 50% more sarcasm!*)

    @NebulaTide

    This doesn't bother me too much. Ideally the program should hide the buttons if it can't find a brightnessctl to execute (and probably should fix the search path, because there may be privilege escalation attacks if you can make a login manager run a program that you can control before it drops privileges). A FreeBSD port can provide this program (which probably can just be a shell script that reads / sets a sysctl).

    At least this has a form of abstraction layer, in that it delegates to another program to provide the OS-specific functionality. It would be much worse if it just used the Linux kernel APIs to do it.

    Uncategorized freebsd
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups