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
the bsd boys
Aug 8, 2011
Probation
Can't post for 382 days!
snypes

Adbot
ADBOT LOVES YOU

Shaggar
Apr 26, 2006
i mean if you could convince web "developers" to use a better language they'd all be on c#

DONT THREAD ON ME
Oct 1, 2002

by Nyc_Tattoo
Floss Finder
i'd really like to learn c# it's too bad it's on windows

bobbilljim
May 29, 2013

this christmas feels like the very first christmas to me
:shittydog::shittydog::shittydog:

USSMICHELLEBACHMAN posted:

i'd really like to learn c# it's too bad it's on windows

do you know java?

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

USSMICHELLEBACHMAN posted:

i'd really like to learn c# it's too bad it's on windows
if you're really that prissy about what OS you use, set up a windows VM and stick your code in a folder shared with the linux host.

DONT THREAD ON ME
Oct 1, 2002

by Nyc_Tattoo
Floss Finder

coffeetable posted:

if you're really that prissy about what OS you use, set up a windows VM and stick your code in a folder shared with the linux host.

well i'd imagine c# isn't as exciting without all of the associated tools.


anyhow can you even do useful things with it without the .net??


also it's not that i mind using windows, it's that i dont want to program for windows

DONT THREAD ON ME fucked around with this message at 01:18 on Feb 2, 2014

double sulk
Jul 2, 2010

you can be a hipster and use clojure

Notorious b.s.d.
Jan 25, 2003

by Reene

USSMICHELLEBACHMAN posted:

i'd really like to learn c# it's too bad it's on windows

learn java 8 or scala

Bloody
Mar 3, 2013

why is js still a thing

why are there no alternatives

why does silverlight require a bad plugin and load really slowly

DONT THREAD ON ME
Oct 1, 2002

by Nyc_Tattoo
Floss Finder
getting rid of js would be like trying to get rid of html

DONT THREAD ON ME
Oct 1, 2002

by Nyc_Tattoo
Floss Finder
unless google and firefox simultaneously decide js needs to go away (and convince apple to come along for the ride0, it's not going away. and surprise, two companies whose software relies heavily upon js are probably not going to decide to get rid of it

Nomnom Cookie
Aug 30, 2009



Notorious b.s.d. posted:

learn java 8 or scala

java 8 is the better tool imo but scala's alright. mono is a steaming turd unfortunately

kitten emergency
Jan 13, 2008

get meow this wack-ass crystal prison
the problem isn't that js is inherently bad (it's as bad as any other *-lang), it's that people try to use it for everything even when something else would be more appropriate

DONT THREAD ON ME
Oct 1, 2002

by Nyc_Tattoo
Floss Finder
using it for anything other than asynchronous Web stuff is crazy

MeruFM
Jul 27, 2010
you mean using it for simple dom element manipulation

but whatever, people can have fun with their web apps. Content output and consumer adoption trumps CS sperging

DONT THREAD ON ME
Oct 1, 2002

by Nyc_Tattoo
Floss Finder
it's not cs sperging it's just really hard to program in because it has very few language features that make programming easy

Workaday Wizard
Oct 23, 2009

by Pragmatica
what if the web had a vm and you can just target that


wouldnt that be neat and probably but not certainly safer?

kitten emergency
Jan 13, 2008

get meow this wack-ass crystal prison

Shinku ABOOKEN posted:

what if the web had a vm and you can just target that


wouldnt that be neat and probably but not certainly safer?

i'm not 100% sure but isn't chrome trying to do this with nacl or whatever? i think it's a good idea. i don't really see how it's any less safe than js is right now assuming everything is sandboxed

Phobeste
Apr 9, 2006

never, like, count out Touchdown Tom, man

Zaxxon posted:

which micro and what is the bug?

atxmega 8e5. if you enable any wgm from tcc5 it takes over literally every pin on the port. this is a problem because i'm also usign the spi on that port. welp

also atmel came back to us and said "oh no there's actuall a bug in our revc design that makes it unmanufacturable so we're not releasing a chip rev for the foreseeable future"

suck my dick

Bloody
Mar 3, 2013

Phobeste posted:

atxmega 8e5. if you enable any wgm from tcc5 it takes over figuratively every pin on the port. this is a problem because i'm also usign the spi on that port. welp

also atmel came back to us and said "oh no there's actuall a bug in our revc design that makes it unmanufacturable so we're not releasing a chip rev for the foreseeable future"

suck my dick

oh nice gonna use that same family in the near future at work hope to discover other unpublished errata

Mahatma Goonsay
Jun 6, 2007
Yum
I know nothing about web programming, but that d3 thing seems incredibly cool.

I could play with this for hours. http://bl.ocks.org/mbostock/1345853

power botton
Nov 2, 2011

d3 allows you to take data, modify your DOM/draw SVG based on that data, and write pretty transitions based on that data being modified.

combined with backbone or similar it becomes crazy ridiculously easy + powerful to do cool visualizations.

at least once you spend a year banging your head against the learning curve.

this is a good intro to it. theres like 200 pages building up to a single bar chart to get an idea of what the gently caress you're in for.

http://shop.oreilly.com/product/0636920026938.do

Mahatma Goonsay
Jun 6, 2007
Yum
Yeah, it seems that the documentation is a bit lacking, but that also may be that I have no clue what I am doing with it.
I was pretty proud that I was able to change the squares in the thing I posted above into circles, hah.

Notorious b.s.d.
Jan 25, 2003

by Reene

Bloody posted:

why is js still a thing

why are there no alternatives

why does silverlight require a bad plugin and load really slowly

silverlight has the same problem as java. it was fairly obviously designed to be part of the browser, not a plugin, and constraining it to a plugin model makes it useless

go try the sun hotjava demo sometime, that poo poo owned so hard

Notorious b.s.d.
Jan 25, 2003

by Reene

Kevin Mitnick P.E. posted:

java 8 is the better tool imo but scala's alright. mono is a steaming turd unfortunately

scala is a really neat language held back by a really terrible community

sbt is the worst fuckin thing. sbt is so bad that i would never have learned scala at all if i hadn't been working in a mandatory-maven shop

honestly at this point i tend to prefer to use java libraries in scala to actual scala-native libs, because at least the java libraries won't be riddled with nonsense operators or incomprehensible documentation.

JewKiller 3000
Nov 28, 2006

by Lowtax

Notorious b.s.d. posted:

honestly at this point i tend to prefer to use java libraries in scala to actual scala-native libs, because at least the java libraries won't be riddled with nonsense operators or incomprehensible documentation.

programming is math, so let's make our programs as easy to read as the average paper in advanced math! :sigh:

BONGHITZ
Jan 1, 1970

http://en.wikipedia.org/wiki/IcedTea

Bloody
Mar 3, 2013

Notorious b.s.d. posted:

silverlight has the same problem as java. it was fairly obviously designed to be part of the browser, not a plugin, and constraining it to a plugin model makes it useless

go try the sun hotjava demo sometime, that poo poo owned so hard

ya i guess my question is why isnt there any browser that has them just baked in like why doesnt ie ship with like inline silverlight support or w/e where its completely seamless and makes every other browser look like dogshit

power botton
Nov 2, 2011

Bloody posted:

ya i guess my question is why isnt there any browser that has them just baked in like why doesnt ie ship with like inline silverlight support or w/e where its completely seamless and makes every other browser look like dogshit

amazing plan except nothing uses silverlight...

kitten emergency
Jan 13, 2008

get meow this wack-ass crystal prison

power botton posted:

amazing plan except nothing uses silverlight...

you forgot about netflix, dawg

pseudorandom name
May 6, 2007

Bloody posted:

ya i guess my question is why isnt there any browser that has them just baked in like why doesnt ie ship with like inline silverlight support or w/e where its completely seamless and makes every other browser look like dogshit

an external activex control is how microsoft does inline whatever support

reminder that all of ie's scripting engines used to be external COM objects, and javascript wasn't integrated into IE proper until a couple years ago.

Workaday Wizard
Oct 23, 2009

by Pragmatica

power botton posted:

amazing plan except nothing uses silverlight...

if you build it they will come

Workaday Wizard
Oct 23, 2009

by Pragmatica
by that i mean microsoft should make porn sites in silverlight

Workaday Wizard
Oct 23, 2009

by Pragmatica
the scanner was invented to scan porn (see http://en.wikipedia.org/wiki/Lenna)

the internet was invented to share it

Notorious b.s.d.
Jan 25, 2003

by Reene

Bloody posted:

ya i guess my question is why isnt there any browser that has them just baked in like why doesnt ie ship with like inline silverlight support or w/e where its completely seamless and makes every other browser look like dogshit

because netscape and microsoft took turns loving us in the rear end.

a few people experimented with better browser platforms but since they didn't ship by default with windows (ie) or own "the web" as an idea in consumers (netscape) it didn't matter

Notorious b.s.d.
Jan 25, 2003

by Reene

pseudorandom name posted:

an external activex control is how microsoft does inline whatever support

reminder that all of ie's scripting engines used to be external COM objects, and javascript wasn't integrated into IE proper until a couple years ago.

the only thing worse than js+dom is trying to do the same thing with ms vbscript in a browser

Mr SuperAwesome
Apr 6, 2011

im from the bad post police, and i'm afraid i have bad news
hi so im currently fixing some loving horrible FOSS python abomination with 1000 line classes everywhere and making it not retarded to use.

its a wxwidgets thing that does a bunch of dumb graph poo poo on top of a mathematical modelling module

i have got rid of all the loving awful UI code and managed to run the mathematical modelling module itself properly (unit testing essentially i guess)

anyway my brief is to stick a shitton of data in the model and run it a lot and see what comes out. i've written all that code and it works great doing the thing and logging the values, except the loving piece of poo poo model doesn't return anything.
it just buggers off in a new thread, and the original flow of execution terminates (giving a "pause" in the windows shell)



if u run it from the command line it just terminates on the 3rd line before the break statement (as obvs stdout is gone or whatever)

there's also no threading code between that last print (Calculating Start FOM) and when it terminates. so idkwtf.

i've stuck in a couple of return statements, tried doing a "with mydumbfunction():" block, tried some threading.rlocking poo poo but at this point i really can't be arsed to learn about why plangs being lovely is causing me problems

especially in horrible 1000 classes written by someone with no idea about OO

Mr SuperAwesome
Apr 6, 2011

im from the bad post police, and i'm afraid i have bad news
shaggar was right using visual studio + pythontools i.e. proper tools that aren't FOSS or linux CLI garbage makes this 1000 times easier tho. i dont totally want to kill myself atm which is definitely an upside.

Shaggar
Apr 26, 2006
take the next step and switch to c# and watch the remaining problems disappear.

Adbot
ADBOT LOVES YOU

Mr SuperAwesome
Apr 6, 2011

im from the bad post police, and i'm afraid i have bad news
yes obviously shaggar if i wasn't fixing some idiot scientist's lovely python code i would do it all in C# like a sane person but unfortunately i have to deal with this POS


oh and have it done in 2 weeks lmao

  • Locked thread