Preferences

cantours
Joined 19 karma

  1. Inputs which is the default in f0 series. Structure is:

    esd cell -> optional pull ups/down -> schmitt trigger.

  2. Pretty much all ICs these days have builtin ESD protection which usually involves current steering diodes to supply rails.

    So if you limit the input current (typically <5mA, and assuming the steered-to rail uses at least 5mA to sink it) it will survive any voltage. (Of course if it's a low power design or the device is off this wont work that well, then you want external clamping)

    I have tested 24V AC applied to an stm32f0 pin with a 10K series resistor and it survives that indefinitetly.

  3. >For projects of any significant size, you're going to run into some constraint which requires you to use `make` differently than you have before.

    That's precisley why official/standard build systems suck, they are extremly cumbersome to wrangle when you go off the beaten path.

    So the irony is that standard build systems/package manager are whats good for hello worlds, non-trivial programs require custom build steps.

    Just let me write a build.bat/build.sh per platform/compiler/configuration that are explicit and precise in compiler flags, paths, output files, pre/post processing, etc so nothing magical is happening under the hood.

  4. Google and Apple are just a bunch of scrappy teams trying to work together on insanely massive and bloated code bases. Numbers of bugs scale with lines of code.

    Small scrappy team writing simple and consice code from scratch is likely to produce fewer bugs than enterprisey monstrosities.

  5. You can only acquire billions of dollars if you cut corners and cheat as much as possible.
  6. >idiot-tier youtubers

    His youtube is cringeworthy sometimes, but he is actually a serious scientist with a phd and some pretty decent cred in chemistry.

  7. Why isn't fractional scaling supported from day 1? I mean if you're going to do dpi scaling in the first place, why in the world would you restrict it to whole numbers only? Is it some insane hardcoded hack or something?

    Scaling with changing dpi is the easiest thing in the world. Anyone who has written a program with some kind of 'zoom' feature (be it a game, image editor, image viewer, etc) knows how easy it is.

  8. GDI works fine for dpi scaling.

      handle WM_DPICHANGED
      recreate fonts with actual_dpi/reference_dpi scale factor and send WM_SETFONT
      and apply scale factor to all DeferWindowPos() operations.

This user hasn’t submitted anything.

Keyboard Shortcuts

Story Lists

j
Next story
k
Previous story
Shift+j
Last story
Shift+k
First story
o Enter
Go to story URL
c
Go to comments
u
Go to author

Navigation

Shift+t
Go to top stories
Shift+n
Go to new stories
Shift+b
Go to best stories
Shift+a
Go to Ask HN
Shift+s
Go to Show HN

Miscellaneous

?
Show this modal