minigubben's lemmy
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Sjmarf@sh.itjust.works to Programmer Humor@lemmy.ml · 2 years ago

What do you think guys

history-computer.com

external-link
message-square
30
fedilink
54
external-link

What do you think guys

history-computer.com

Sjmarf@sh.itjust.works to Programmer Humor@lemmy.ml · 2 years ago
message-square
30
fedilink
SQL vs. CSS What’s the Difference? Which Is Better?
history-computer.com
external-link
A closer look at the differences between SQL and CSS. These two programming languages are common, but how are they used?
  • lelgenio@lemmy.ml
    link
    fedilink
    arrow-up
    48
    ·
    edit-2
    2 years ago
    CREATE TABLE display (
        id INT PRIMARY KEY,
        display_property TEXT
    );
    
    INSERT INTO display (id, display_property)
    VALUES
    (1, 'block'),
    (2, 'inline-block'),
    (3, 'flex');
    
    CREATE TABLE divs (
        id INT PRIMARY KEY,
        inner_html TEXT,
        display INT REFERENCES display(id)
    );
    
    INSERT INTO divs (id, inner_html , display)
    VALUES
    (1, 'div1', 1),
    (2, 'div2', 2),
    (3, 'div3', 3);
    
    • lelgenio@lemmy.ml
      link
      fedilink
      arrow-up
      45
      arrow-down
      1
      ·
      2 years ago
      .users {
        id: int !primary-key;
        name: text;
      }
      
      .users::insert {
        id: 1;
        name: "John doe";
      }
      
      @query (max: 10) {
        .user {
          display: table;
        }
        .users id {
          display: none;
        }
      }
      
      • __init__@programming.dev
        link
        fedilink
        arrow-up
        18
        ·
        2 years ago

        Thanks, I hate it.

      • moebius@feddit.de
        link
        fedilink
        arrow-up
        15
        ·
        2 years ago

        They both feel so wrong, I love it.

        • Karfkengrumble@lemmings.world
          link
          fedilink
          arrow-up
          8
          ·
          2 years ago

          I think I need to lie down.

    • jelloeater@lemmy.world
      link
      fedilink
      English
      arrow-up
      6
      ·
      2 years ago

      Your browser does not support playing HTML5 video. You can download a copy of the video file instead.

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmerhumor@lemmy.ml

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 257 users / day
  • 312 users / week
  • 2.52K users / month
  • 4.01K users / 6 months
  • 2 local subscribers
  • 36.4K subscribers
  • 1.75K Posts
  • 36.2K Comments
  • Modlog
  • mods:
  • cat_programmer@lemmy.ml
  • AgreeableLandscape@lemmy.ml
  • BE: 0.19.7
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org