Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Locked thread
prefect
Sep 11, 2001

No one, Woodhouse.
No one.




Dead Man’s Band

MALE SHOEGAZE posted:

we found a triple bang the other day. spent a long time making fun of it until a guy checked the history and realized it was him

:laffo:

Adbot
ADBOT LOVES YOU

Asshole Masonanie
Oct 27, 2009

by vyelkin

MALE SHOEGAZE posted:

we found a triple bang the other day. spent a long time making fun of it until a guy checked the history and realized it was him

lol

Stringent
Dec 22, 2004


image text goes here

MALE SHOEGAZE posted:

we found a triple bang the other day. spent a long time making fun of it until a guy checked the history and realized it was him

if i ever have my own team i will be doing performance reviews strictly according to loc deleted and git blame.

Luigi Thirty
Apr 30, 2006

Emergency confection port.

i'm making a thing for my mom, she's a contractor nurse and she has a bunch of one-page forms she's scanning so she can punch in a name and see all the previous times she was somewhere. i need some big-rear end windows 3.1 icons. where can i find giant old icons since the only software she knows how to run is 1990s encyclopedias and internet browsers.

Workaday Wizard
Oct 23, 2009

by Pragmatica
moreico.dll

Luigi Thirty
Apr 30, 2006

Emergency confection port.


that's it

MCI here we come

DONT THREAD ON ME
Oct 1, 2002

by Nyc_Tattoo
Floss Finder

Luigi Thirty posted:

i'm making a thing for my mom, she's a contractor nurse and she has a bunch of one-page forms she's scanning so she can punch in a name and see all the previous times she was somewhere. i need some big-rear end windows 3.1 icons. where can i find giant old icons since the only software she knows how to run is 1990s encyclopedias and internet browsers.

Use retina icons

CPColin
Sep 9, 2003

Big ol' smile.
Found this in our SVN history recently:

code:
         Collection<String> errorsToRemove = new ArrayList<String>();
         for (String error : errors)
         {
            if (error.contains("provide") && error.contains("valid") && error.contains("email"))
               errorsToRemove.add(error);
            if (error.contains("enter") && error.contains("password"))
               errorsToRemove.add(error);
         }
         for (String error : errorsToRemove)
            errors.remove(error);
Somebody has been using enhanced for loops for too long. Among other things.

coffeetable
Feb 5, 2006

TELL ME AGAIN HOW GREAT BRITAIN WOULD BE IF IT WAS RULED BY THE MERCILESS JACKBOOT OF PRINCE CHARLES

YES I DO TALK TO PLANTS ACTUALLY

CPColin posted:

oh man I can't wait for us to upgrade to Java 8
how's that goin

Luigi Thirty
Apr 30, 2006

Emergency confection port.

MALE SHOEGAZE posted:

Use retina icons

incomprehensible yet elegant glyphs?

coffeetable
Feb 5, 2006

TELL ME AGAIN HOW GREAT BRITAIN WOULD BE IF IT WAS RULED BY THE MERCILESS JACKBOOT OF PRINCE CHARLES

YES I DO TALK TO PLANTS ACTUALLY

Luigi Thirty posted:

where can i find giant old icons since the only software she knows how to run is 1990s encyclopedias and internet browsers.
find a :filez: copy of windows 3.1 and boot it up on a vm

CPColin
Sep 9, 2003

Big ol' smile.

coffeetable posted:

how's that goin

beats me. Eclipse Luna just freezes every time I try to use it and Linux Mint still doesn't have an openjdk 8 package.

PleasureKevin
Jan 2, 2011

found in a swift tutorial

pre:
class DateSimulator {
 
  let a:Speaker
  let b:Speaker
 
  init(a:Speaker, b:Speaker) {
    self.a = a
    self.b = b
  }
 
  func simulate() {
    println("Off to dinner...")
    a.Speak()
    b.Speak()
    println("Walking back home...")
    a.TellJoke?()
    b.TellJoke?()
  }
}

BONGHITZ
Jan 1, 1970

CPColin posted:

Found this in our SVN history recently:

code:
         Collection<String> errorsToRemove = new ArrayList<String>();
         for (String error : errors)
         {
            if (error.contains("provide") && error.contains("valid") && error.contains("email"))
               errorsToRemove.add(error);
            if (error.contains("enter") && error.contains("password"))
               errorsToRemove.add(error);
         }
         for (String error : errorsToRemove)
            errors.remove(error);
Somebody has been using enhanced for loops for too long. Among other things.
lol

Powerful Two-Hander
Mar 10, 2004

Mods please change my name to "Tooter Skeleton" TIA.


i got carried away with WCF services and wrote an entire application using them as the backend for ajax calls should i kill myself or wait for someone to do it for me y/n?

Luigi Thirty
Apr 30, 2006

Emergency confection port.

why does VS2013 once in a while pop up and say "set property 'system.windows.resourcedictionary.deferrablecontent' threw an exception" whenever I try to hit anything in a menu until I reboot? not just in my project (which has no resource name conflicts, a possible cause) but even with no projects open.

BONGHITZ
Jan 1, 1970

Malcolm XML posted:

icache and dcache are separate though????

i just want everyone to be equal. one nation, one cache

Corla Plankun
May 8, 2007

improve the lives of everyone
microsoft's webpage says "F# is a whitespace-sensitive language by default. "

does this mean i can turn that off and use braces like a normal language or what?

Corla Plankun
May 8, 2007

improve the lives of everyone
i want to learn a functional language for fun and whitespace janitoring is not fun at all

coffeetable
Feb 5, 2006

TELL ME AGAIN HOW GREAT BRITAIN WOULD BE IF IT WAS RULED BY THE MERCILESS JACKBOOT OF PRINCE CHARLES

YES I DO TALK TO PLANTS ACTUALLY

Corla Plankun posted:

microsoft's webpage says "F# is a whitespace-sensitive language by default. "

does this mean i can turn that off and use braces like a normal language or what?
you can use braces and semicolons just like you would in C#

there's no reason to though bc unlike in javascript or whatever (where braceless styles are suicide) in f# you've got the offside rule to keep you on the straight and narrow

fart simpson
Jul 2, 2005

DEATH TO AMERICA
:xickos:

Corla Plankun posted:

i want to learn a functional language for fun and whitespace janitoring is not fun at all

i don't know about f# but if the whitespace is handled like haskell there's no janitoring to be done. just indent your code like you should be doing anyway and it will just work

DONT THREAD ON ME
Oct 1, 2002

by Nyc_Tattoo
Floss Finder
learn you a haskell. it took me a while to realize whitespace was part of it.

Symbolic Butt
Mar 22, 2009

(_!_)
Buglord
lol at these crybabies who can't indent

fart simpson
Jul 2, 2005

DEATH TO AMERICA
:xickos:

Symbolic Butt posted:

lol at these crybabies who can't indent

my homie dhall
Dec 9, 2010

honey, oh please, it's just a machine

MALE SHOEGAZE posted:

learn you a haskell.

Bloody
Mar 3, 2013

hey lets argue about tabs vs spaces

fart simpson
Jul 2, 2005

DEATH TO AMERICA
:xickos:

code:
update name inter wasUpdated =
  do modify (Map.insert name (wasUpdated, inter))
     tell (Last . Just $ name)
ugh, i just cant deal with that sort of whitespace

JewKiller 3000
Nov 28, 2006

by Lowtax

Corla Plankun posted:

i want to learn a functional language for fun and whitespace janitoring is not fun at all

try ocaml, it's what MS used as the basis for F# so it's very similar, but not whitespace-sensitive. you can write every function on one line if you want :getin:

fart simpson
Jul 2, 2005

DEATH TO AMERICA
:xickos:

can't you also one line functions in haskell and f#, just nobody does because that's dumb

AWWNAW
Dec 30, 2008

one line function crunching is like roller blading on one leg

Notorious b.s.d.
Jan 25, 2003

by Reene

AWWNAW posted:

one line function crunching is like roller blading on one leg

loving awesome?

AWWNAW
Dec 30, 2008

yeah you think you look awesome doing it but everyone else and yourself in retrospect is like wow what a douche

Corla Plankun
May 8, 2007

improve the lives of everyone
its not really a big problem for me, i just get unreasonably irritated whenever i paste something into a python interpreter and it wont run because there was an indent on an ostensibly blank line

gonadic io
Feb 16, 2011

>>=
I don't know about F# but the following are all equivalent in Haskell:

code:
main = do
    printf "What is your name?"
    name <- getLine
    printf "gently caress off, %s" name
code:
main = do {printf "What is your name?"; name <- getLine; printf "gently caress off, %s" name}
code:
main = printf "What is your name?" >> getLine >>= printf "gently caress off, %s"
although the first one is the most common way of doing it, the second is generally only used for generated code and the third is for people who are showing off it lets you do more clever and concise things

see how the return from getLine wasn't named but was instead passed straight to printf? this is also an example of partial application - instead of giving the second printf all its arguments at once, we just give it 1 to begin with and it gets the 2nd later

gonadic io fucked around with this message at 12:42 on Sep 4, 2014

prefect
Sep 11, 2001

No one, Woodhouse.
No one.




Dead Man’s Band

AlsoD posted:

I don't know about F# but the following are all equivalent in Haskell:

code:
main = do
    printf "What is your name?"
    name <- getLine
    printf "gently caress off, %s" name
code:
main = do {printf "What is your name?"; name <- getLine; printf "gently caress off, %s" name}
code:
main = printf "What is your name?" >> getLine >>= printf "gently caress off, %s"
although the first one is the most common way of doing it, the second is generally only used for generated code and the third is for people who are showing off (it lets you do more clever and concise things - see how the return from getLine wasn't named but was instead passed straight to printf)

the third one feels like shell piping

fart simpson
Jul 2, 2005

DEATH TO AMERICA
:xickos:

well that's what monads basically are

Malcolm XML
Aug 8, 2009

I always knew it would end like this.

prefect posted:

the third one feels like shell piping

it's identical

gonadic io
Feb 16, 2011

>>=
it's a bit more accurate to say that the first two are sugar for the third one

fart simpson
Jul 2, 2005

DEATH TO AMERICA
:xickos:

i feel a sudden urge to write a new kind of monad blog post tutorial

Adbot
ADBOT LOVES YOU

gonadic io
Feb 16, 2011

>>=

fart simpson posted:

i feel a sudden urge to write a new kind of monad blog post tutorial

please don't

  • Locked thread