1
 
 
2
 
 
3
 
 
4
5
 
 
6
Unpatched! (lemmy.zip)
submitted 1 week ago by to c/programmerhumor@lemmy.ml
7
The Internet (lemmy.ml)
submitted 1 week ago by to c/programmerhumor@lemmy.ml
 
 
8
 
 

turnoff.us (credits)

9
 
 
A two-circle ven diagram with the first circle labeled "Programmers" and the seccond "Golfers" and the overlap "FOUR!"
10
 
 

That should be new Java slogan

11
 
 

cross-posted from: https://lemmy.zip/post/73641867

12
13
🤣 2
 
 
14
15
 
 
16
 
 
17
 
 
18
Handover (lemmy.ml)
submitted 1 month ago by to c/programmerhumor@lemmy.ml
 
 
19
20
 
 

Trying to figure out how to best add text to an SVG, I thought maybe it doesn't show up because it's black-on-black, so I gave it stroke="white" before realizing I need to zoom out. Well, and stroke means the outline in SVG, so on the white background, it just makes the font look really thin.

This is the whole code:

<svg viewBox="0 -5 40 10" xmlns="http://www.w3.org/2000/svg">
  <text stroke="white">hello</text>
  <circle id="myCircle" cx="5" cy="5" r="4" />
  <use href="#myCircle" x="10" fill="blue" />
  <use href="#myCircle" x="20" fill="white" stroke="red" />
</svg>

And most of that is just this MDN example: https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/use#example

It does use my default font, which is Fira Sans. Will look different on other systems.

Screenshot of what looks like abstract art. The word "hello" is in thin, almost calligraphic letters at the top. Below it are three circles, spread out horizontally, in the colors black, blue and then red with white fill.
21
22
Felony Bench: Be AI, Do Crime (www.felonybench.com)
submitted 2 months ago by to c/programmerhumor@lemmy.ml
23
 
 
24
Real (lemmy.ml)
submitted 2 months ago by to c/programmerhumor@lemmy.ml
 
 
25
view more: next ›