The new forums will be named Coin Return (based on the most recent vote)! You can check on the status and timeline of the transition to the new forums here.
Please vote in the Forum Structure Poll. Polling will close at 2PM EST on January 21, 2025.

Today was a [chat] day / Iron [chat]

12467100

Posts

  • Fuzzy Cumulonimbus CloudFuzzy Cumulonimbus Cloud Registered User regular
    Dynagrip wrote: »
    Winky wrote: »
    People should just pay me for ideas

    All of this doing hard work to actually follow through with them is bullshit
    yeah
    that's why grad school has a 50% drop rate
    im constantly like
    just give me money and let me go to the beach
    instead of this
    f not getting paid
    i get paid!
    just not enough
    not enough at alllllllllllllll

  • OnTheLastCastleOnTheLastCastle let's keep it haimish for the peripatetic Registered User regular
    IMMA GET DRUNK WOO

  • DeebaserDeebaser on my way to work in a suit and a tie Ahhhh...come on fucking guyRegistered User regular
    Winky wrote: »
    People should just pay me for ideas

    All of this doing hard work to actually follow through with them is bullshit
    yeah
    that's why grad school has a 50% drop rate
    im constantly like
    just give me money and let me go to the beach
    instead of this

    Have u considered going for a bullshit degree?

    It's super chill

  • TarranonTarranon Registered User regular
    got a burrito

    You could be anywhere
    On the black screen
  • WinkyWinky rRegistered User regular
    Eddy wrote: »
    dang it i just realized there's like a whole genre of cutesy ghost spookin' games

    hmm

    Yeah but there's not nearly enough "ruining weddings" games

  • TarranonTarranon Registered User regular
    now i just need some zima and a park bench and my friday night plans will be locked in

    You could be anywhere
    On the black screen
  • CindersCinders Whose sails were black when it was windy Registered User regular
    Hehe tripped over my laptop cord and fell into a pile of boxes. Now my arms and back are all skinned and bruised. Hahaha

  • Fuzzy Cumulonimbus CloudFuzzy Cumulonimbus Cloud Registered User regular
    Deebaser wrote: »
    Winky wrote: »
    People should just pay me for ideas

    All of this doing hard work to actually follow through with them is bullshit
    yeah
    that's why grad school has a 50% drop rate
    im constantly like
    just give me money and let me go to the beach
    instead of this

    Have u considered going for a bullshit degree?

    It's super chill
    i actually don't take classes anymore which is nice
    just grueling work
    :D

  • FeralFeral MEMETICHARIZARD interior crocodile alligator ⇔ ǝɹʇɐǝɥʇ ǝᴉʌoɯ ʇǝloɹʌǝɥɔ ɐ ǝʌᴉɹp ᴉRegistered User regular
    Winky wrote: »
    Eddy wrote: »
    dang it i just realized there's like a whole genre of cutesy ghost spookin' games

    hmm

    Yeah but there's not nearly enough "ruining weddings" games

    I've known quite a few marriages ruined by WoW.

    every person who doesn't like an acquired taste always seems to think everyone who likes it is faking it. it should be an official fallacy.

    the "no true scotch man" fallacy.
  • knitdanknitdan Registered User regular
    Tarranon wrote: »
    now i just need some zima and a park bench and my friday night plans will be locked in

    They still make Zima?

    “I was quick when I came in here, I’m twice as quick now”
    -Indiana Solo, runner of blades
  • DynagripDynagrip Break me a million hearts HoustonRegistered User, ClubPA regular
    Cinders wrote: »
    Hehe tripped over my laptop cord and fell into a pile of boxes. Now my arms and back are all skinned and bruised. Hahaha

    go lay in bed and call it a night

  • YoshisummonsYoshisummons You have to let the dead vote, otherwise you'd just kill people you disagree with!Registered User regular
    Winky wrote: »
    Eddy wrote: »
    dang it i just realized there's like a whole genre of cutesy ghost spookin' games

    hmm

    Yeah but there's not nearly enough "ruining weddings" games
    There are some where you crash them.
    https://www.youtube.com/watch?v=szcXDIVEZTk

  • CindersCinders Whose sails were black when it was windy Registered User regular
    Dynagrip wrote: »
    Cinders wrote: »
    Hehe tripped over my laptop cord and fell into a pile of boxes. Now my arms and back are all skinned and bruised. Hahaha

    go lay in bed and call it a night

    I'm still holding out hope a friend texts me. I want out of here.

  • RiemannLivesRiemannLives Registered User regular
    praise Dagon, lord of grain, for the sweet fruits of his benevolence

    scotch makes even a week in Build Hell better

  • 21stCentury21stCentury Call me Pixel, or Pix for short! [They/Them]Registered User regular
    PROGRAMMING QUESTION

    i'm going through the Python Classes on CodeAcademy and i just went over Bitwise operators...

    What's a good example of a program where you need to use binary?

  • MrMisterMrMister Jesus dying on the cross in pain? Morally better than us. One has to go "all in".Registered User regular
    Winky wrote: »
    People should just pay me for ideas

    All of this doing hard work to actually follow through with them is bullshit
    yeah
    that's why grad school has a 50% drop rate
    im constantly like
    just give me money and let me go to the beach
    instead of this

    I wish I could agree with this more than once

  • RiemannLivesRiemannLives Registered User regular
    I really do work with a bunch of good people. this week was very hard (at least in terms of stress and difficult abstract problems to solve. I still would take this x 100 over jobs I had workin' retail or cutting weeds on a navy base)


    but a little while just chattin' it up with some of the other people here (and some of our new interns) along with good booze and things are right with the world again

  • Donkey KongDonkey Kong Putting Nintendo out of business with AI nips Registered User regular
    MrMister wrote: »
    Winky wrote: »
    People should just pay me for ideas

    All of this doing hard work to actually follow through with them is bullshit
    yeah
    that's why grad school has a 50% drop rate
    im constantly like
    just give me money and let me go to the beach
    instead of this

    I wish I could agree with this more than once

    I agreed with this so much I got my masters and left grad school.

    Thousands of hot, local singles are waiting to play at bubbulon.com.
  • descdesc Goretexing to death Registered User regular
    Oh my goodness

    Watching Grand Budapest hotel

  • BeNarwhalBeNarwhal The Work Left Unfinished Registered User regular
    Went for hike

    Walked barefoot for a while, in an effort to toughen up feet

    I have all of the blisters now

    Was still very enjoyable!

  • RiemannLivesRiemannLives Registered User regular
    PROGRAMMING QUESTION

    i'm going through the Python Classes on CodeAcademy and i just went over Bitwise operators...

    What's a good example of a program where you need to use binary?

    suppose you have a bunch of values which can be On or Off. You can pack a bunch of those into a small amount of memory with binary. Say there are 8 different flags that can be true or false. 11001100 would mean true, true, false, false, true, true, false, false. This process is called bitmasking.

    You use binary OR to create the value. You use binary AND to check the value. EG: to check if the 3rd smallest bit is true then use _bitmask & 4

  • 21stCentury21stCentury Call me Pixel, or Pix for short! [They/Them]Registered User regular
    PROGRAMMING QUESTION

    i'm going through the Python Classes on CodeAcademy and i just went over Bitwise operators...

    What's a good example of a program where you need to use binary?

    suppose you have a bunch of values which can be On or Off. You can pack a bunch of those into a small amount of memory with binary. Say there are 8 different flags that can be true or false. 11001100 would mean true, true, false, false, true, true, false, false. This process is called bitmasking.

    You use binary OR to create the value. You use binary AND to check the value. EG: to check if the 3rd smallest bit is true then use _bitmask & 4

    I see, so that's why there was a lesson on bitmasking.

    Gotcha, thanks, Riemann.

  • RonTheDMRonTheDM Yes, yes Registered User regular
    BeNarwhal wrote: »
    Went for hike

    Walked barefoot for a while, in an effort to toughen up feet

    I have all of the blisters now

    Was still very enjoyable!

    I'd recommend staying in-yard for feet toughening lessons.

  • RiemannLivesRiemannLives Registered User regular
    edited June 2014
    a classic example of using bitmasks like that dates back to Ye Olde Days of text adventure games

    so assign a power of 2 to each possible movement direction

    1 = North
    2 = East
    4 = South
    8 = West
    16 = Up
    32 = Down

    etc...

    then for every location in the text adventure game you have a single number which indicates valid exits.

    So for a room where you can go North and South, _allowedExits = 1 | 4

    and when the player tries to go west you test if(_allowedExists & 8)

    etc...

    RiemannLives on
  • BeNarwhalBeNarwhal The Work Left Unfinished Registered User regular
    BeNarwhal wrote: »
    Went for hike

    Walked barefoot for a while, in an effort to toughen up feet

    I have all of the blisters now

    Was still very enjoyable!

    I'd recommend staying in-yard for feet toughening lessons.

    It was all very Zen. The nature walk, the sounds, the focusing on not focusing on the pain ... :P

  • RiemannLivesRiemannLives Registered User regular
    back in the days in the woods of Kitsap I found that at the start of every summer the way to toughen the feet up again was walking barefoot over hot pavement a lot

    that'll get yer feet ready to deal with barnacles and sharp bits of clamshell and blackberry bushes

  • PodlyPodly you unzipped me! it's all coming back! i don't like it!Registered User regular
  • DynagripDynagrip Break me a million hearts HoustonRegistered User, ClubPA regular
    MrMister wrote: »
    Winky wrote: »
    People should just pay me for ideas

    All of this doing hard work to actually follow through with them is bullshit
    yeah
    that's why grad school has a 50% drop rate
    im constantly like
    just give me money and let me go to the beach
    instead of this

    I wish I could agree with this more than once

    I agreed with this so much I got my masters and left grad school.

    it seems like such a horrible time. and a significant chunk of your life.

  • PodlyPodly you unzipped me! it's all coming back! i don't like it!Registered User regular
    breaking 20k is almost impossible

    i pretty much cleared the map

    follow my music twitter soundcloud tumblr
    9pr1GIh.jpg?1
  • CindersCinders Whose sails were black when it was windy Registered User regular
    Damn you poldy

  • knitdanknitdan Registered User regular
    What game Podly?

    “I was quick when I came in here, I’m twice as quick now”
    -Indiana Solo, runner of blades
  • 21stCentury21stCentury Call me Pixel, or Pix for short! [They/Them]Registered User regular
    knitdan wrote: »
    What game Podly?

    Nerd RPG: The Nerdening

    (One Click Hero)

  • Donkey KongDonkey Kong Putting Nintendo out of business with AI nips Registered User regular
    edited June 2014
    PROGRAMMING QUESTION

    i'm going through the Python Classes on CodeAcademy and i just went over Bitwise operators...

    What's a good example of a program where you need to use binary?

    Well, there are three places where you'll realistically use binary directly:

    When talking directly to hardware or using low level APIs that pack a bunch of data information into one word
    (eg: 32 bits representing a color where the top 8 bits are red, next 8 green, next 8 blue, last 8 alpha or unused)

    When implementing certain cryptographic or exotic mathematical operations

    When using "flags". In their simplest form, flags let you cram as many booleans as you have bits in a given data type. So let's say you have a function call and it has a really diverse range of options but you don't want to break them all out into separate parameters because it would be ugly.
    drawCircle(color, radius, flags)
    

    Your flags might be:
    DRAW_BORDER = 0x01
    DRAW_FILL = 0x02
    DRAW_SWASTIKA_IN_CENTER = 0x04
    
    ...

    So when you call drawCircle, you can just chain these flags together using bitwise OR to indicate all the ones you want:
    drawCircle( Color.red, 25, DRAW_BORDER | DRAW_SWASTIKA_IN_CENTER )
    

    Then inside the draw circle function, you can just do a flag check using the logical AND
    if (flags & DRAW_SWASTIKA_IN_CENTER)
    	#Heil Hitler
    

    Donkey Kong on
    Thousands of hot, local singles are waiting to play at bubbulon.com.
  • PodlyPodly you unzipped me! it's all coming back! i don't like it!Registered User regular
    i'm da bes

    follow my music twitter soundcloud tumblr
    9pr1GIh.jpg?1
  • thatassemblyguythatassemblyguy Janitor of Technical Debt .Registered User regular
    Podly wrote: »
    i'm da bes

    around?

  • RiemannLivesRiemannLives Registered User regular
    Podly wrote: »
    i'm da bes

    around?

    nothin' gonna ever keep him down

  • thatassemblyguythatassemblyguy Janitor of Technical Debt .Registered User regular
    edited June 2014
    TEEHEEEEEE
    Happy Friday, [chat]

    thatassemblyguy on
  • thatassemblyguythatassemblyguy Janitor of Technical Debt .Registered User regular
    Red Card for "Abusive Language"

    When words can hurt: MLS Edition.

  • iTunesIsEviliTunesIsEvil Cornfield? Cornfield.Registered User regular
    edited June 2014
    PROGRAMMING QUESTION

    i'm going through the Python Classes on CodeAcademy and i just went over Bitwise operators...

    What's a good example of a program where you need to use binary?

    suppose you have a bunch of values which can be On or Off. You can pack a bunch of those into a small amount of memory with binary. Say there are 8 different flags that can be true or false. 11001100 would mean true, true, false, false, true, true, false, false. This process is called bitmasking.

    You use binary OR to create the value. You use binary AND to check the value. EG: to check if the 3rd smallest bit is true then use _bitmask & 4

    You'll see this frequently if you have to talk to OS-functions, since OS's are the kinds of things where you want to fit a much as you can into as small a block of memory as you can (generally).

    For instance, in Windows if you need to make a call to manually create a window in the Win32 API, you will need to tell Windows things about how the window is drawn, or what type of window it is. So there might be a "window style" parameter that you need to fill in where you need to tell the function "this is a real window (not a balloon-tooltip, or some such) and it's also a toolbar-window (thin title-bar, special use)". So you would do something like:
    int myWindowStyle = REAL_WINDOW | TOOLBAR_WINDOW;
    

    Now, those "flags" (REAL_WINDOW, TOOLBAR_WINDOW) would be defined in an enum somewhere in a fashion like this: (ignore that I'm writing this in C# style and it would be C/C++ actually)
    public enum WindowStyles {
      REAL_WINDOW = 1,
      TOOLBAR_WINDOW = 2,
      FIXED_WINDOW = 4
    };
    

    Note those integer-values (1, 2, 4) and think about how binary looks...

    In our example above where we assigned that "myWindowStyle" variable, it is now assigned a value of 3 because of our bitwise-or:
         00000001
    XOR  00000010
    =============
         00000011
    

    See how this is shaping up to work? Those flags/enum-values have specific values that allow us to get them in the right positions in a binary representation of the number. So basically, we end up with 8 positions per byte (so for a x86 integer, we'd get 32 positions) where we can store the values of flags. Each of those digits represents a different flag about what your window (or whatever your situation may be) is supposed to look and act like.

    [ed] Beat'd like a rented mule. :oops: Also, I should stop trying to come up with code examples while drinking. :P

    iTunesIsEvil on
This discussion has been closed.