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.
 
  • Post
  • Reply
suffix
Jul 27, 2013

Wheeee!

Blotto Skorzany posted:

what are they checked by then

pycharm

Adbot
ADBOT LOVES YOU

Blotto Skorzany
Nov 7, 2008

He's a PSoC, loose and runnin'
came the whisper from each lip
And he's here to do some business with
the bad ADC on his chip
bad ADC on his chiiiiip
i like a lot of things about c++ but it seems like the community goes bonkers over a different fad every five years and also the discussion seems to focus myopically on the concerns of library writers

multigl
Nov 22, 2005

"Who's cool and has two thumbs? This guy!"

:swoon:

fritz
Jul 26, 2003

Dessert Rose posted:

in c++ you really, really want to use auto everywhere you can.


im not a fan of this, tbh

for iterators and inside range-for, yeah, absolutely, but in general i want to see the types

Brain Candy
May 18, 2006

fritz posted:

im not a fan of this, tbh

for iterators and inside range-for, yeah, absolutely, but in general i want to see the types

sure but if you don't use auto you risk ensure otherwise unneeded typedefs because people are lazy and that's one more thing to janitor

distortion park
Apr 25, 2011


can't you just mouse over auto to get the type anyway?

VikingofRock
Aug 24, 2008




ewww, who uses a mouse when coding?

Symbolic Butt
Mar 22, 2009

(_!_)
Buglord
lol if you don't use the mouse for debugging

VikingofRock
Aug 24, 2008




vim/gdb is the new hipste

MononcQc
May 29, 2007

I don't use a debugger because it fucks up concurrency too much and causes errors unless you freeze up the whole VM. Tracing is where it's at for Erlang stuff :v:

JawnV6
Jul 4, 2004

So hot ...
fancy way of sayin "printf debugging"

MononcQc
May 29, 2007

JawnV6 posted:

fancy way of sayin "printf debugging"

recon:trace({Module, '_', '_'}, {10,100}) will print all arguments and values for all function calls in 'Module' at a max frequency of 10 entries per 100 milliseconds. It is safe to use on production servers without performance hits. recon:trace({Module, Function, fun([A,B]) when A>B -> ok end}, 100) will return all calls to Module:Function when argument A is greater than B, for a max of 100 lines.

I don't need to set a loving breakpoint, compile, add prints statements or whatever, and I can do this poo poo remotely with custom handlers to treat my traces as data structure to filter and program around with. I safely can run this on prod servers, dump the traces to files, the terminal, or remote servers, without interrupting regular operations.

jony neuemonic
Nov 13, 2009

MononcQc posted:

recon:trace({Module, '_', '_'}, {10,100}) will print all arguments and values for all function calls in 'Module' at a max frequency of 10 entries per 100 milliseconds. It is safe to use on production servers without performance hits. recon:trace({Module, Function, fun([A,B]) when A>B -> ok end}, 100) will return all calls to Module:Function when argument A is greater than B, for a max of 100 lines.

I don't need to set a loving breakpoint, compile, add prints statements or whatever, and I can do this poo poo remotely with custom handlers to treat my traces as data structure to filter and program around with. I safely can run this on prod servers, dump the traces to files, the terminal, or remote servers, without interrupting regular operations.

this makes me extremely jealous.

DONT THREAD ON ME
Oct 1, 2002

by Nyc_Tattoo
Floss Finder

MononcQc posted:

recon:trace({Module, '_', '_'}, {10,100}) will print all arguments and values for all function calls in 'Module' at a max frequency of 10 entries per 100 milliseconds. It is safe to use on production servers without performance hits. recon:trace({Module, Function, fun([A,B]) when A>B -> ok end}, 100) will return all calls to Module:Function when argument A is greater than B, for a max of 100 lines.

I don't need to set a loving breakpoint, compile, add prints statements or whatever, and I can do this poo poo remotely with custom handlers to treat my traces as data structure to filter and program around with. I safely can run this on prod servers, dump the traces to files, the terminal, or remote servers, without interrupting regular operations.

oh my god

Ralith
Jan 12, 2011

I see a ship in the harbor
I can and shall obey
But if it wasn't for your misfortune
I'd be a heavenly person today
It's amazing how much mainstream modern development has regressed in terms of debugging tools. Forth, Common Lisp, etc. all had all kinds of wonderful infrastructure like that and beyond.

Symbolic Butt
Mar 22, 2009

(_!_)
Buglord
I wish I had that for node

Blotto Skorzany
Nov 7, 2008

He's a PSoC, loose and runnin'
came the whisper from each lip
And he's here to do some business with
the bad ADC on his chip
bad ADC on his chiiiiip

Ralith posted:

It's amazing how much mainstream modern development has regressed in terms of debugging tools. Forth, Common Lisp, etc. all had all kinds of wonderful infrastructure like that and beyond.

what sort of wonderful tooling did forth have

piratepilates
Mar 28, 2004

So I will learn to live with it. Because I can live with it. I can live with it.



Symbolic Butt posted:

I wish I had that for node

I just googled it and it looks like there is some support for tracing stuff

Alternatively you can take longjohn and throw in some logging calls for tracing

piratepilates fucked around with this message at 19:01 on Sep 11, 2015

DONT THREAD ON ME
Oct 1, 2002

by Nyc_Tattoo
Floss Finder

Ralith posted:

It's amazing how much mainstream modern development has regressed in terms of debugging tools. Forth, Common Lisp, etc. all had all kinds of wonderful infrastructure like that and beyond.

that's because the programmers got better and now we dont need tools

Symbolic Butt
Mar 22, 2009

(_!_)
Buglord

piratepilates posted:

I just googled it and it looks like there is some support for tracing stuff

Alternatively you can take longjohn and throw in some logging calls for trading

I looked into it recently and it was complete garbage

Blotto Skorzany
Nov 7, 2008

He's a PSoC, loose and runnin'
came the whisper from each lip
And he's here to do some business with
the bad ADC on his chip
bad ADC on his chiiiiip

MALE SHOEGAZE posted:

that's because the programmers got better and now we dont need tools

it's not that we don't need tools. it's that we are tools

piratepilates
Mar 28, 2004

So I will learn to live with it. Because I can live with it. I can live with it.



Symbolic Butt posted:

I looked into it recently and it was complete garbage

well what did you expect

Marsol0
Jun 6, 2004
No avatar. I just saved you some load time. You're welcome.

Blotto Skorzany posted:

it's not that we don't need tools. it's that we are tools

brap
Aug 23, 2004

Grimey Drawer
programmers today just want command line utilities with ascii art included

MeruFM
Jul 27, 2010

fleshweasel posted:

programmers today just want command line utilities with ascii art included

code:
  ______
< agreed >
  ------
         \   ^__^ 
          \  (oo)\_______
             (__)\       )\/\
                 ||----w |
                 ||     ||
    

PleasureKevin
Jan 2, 2011

man i might get a job doing PHP and did a test on it and man is it bad.

it really sucks.

array_push( umm... the new item to push?, array goes here? no wait other way around ugh )

explode( surely the string to explode goes here, gently caress nope it goes here god drat it )

qntm
Jun 17, 2009

PleasureKevin posted:

man i might get a job doing PHP and did a test on it and man is it bad.

it really sucks.

array_push( umm... the new item to push?, array goes here? no wait other way around ugh )

explode( surely the string to explode goes here, gently caress nope it goes here god drat it )

for historical reasons, implode() can accept its arguments in either order

ahmeni
May 1, 2005

It's one continuous form where hardware and software function in perfect unison, creating a new generation of iPhone that's better by any measure.
Grimey Drawer

PleasureKevin posted:

man i might get a job doing PHP and did a test on it and man is it bad.

it really sucks.

array_push( umm... the new item to push?, array goes here? no wait other way around ugh )

explode( surely the string to explode goes here, gently caress nope it goes here god drat it )

taking a php job in 2015 is a really good way to stall your career and you will likely be managing some old turd of a code base

PleasureKevin
Jan 2, 2011

ahmeni posted:

taking a php job in 2015 is a really good way to stall your career and you will likely be managing some old turd of a code base

no other offers and i'm eating onions every meal

Blotto Skorzany
Nov 7, 2008

He's a PSoC, loose and runnin'
came the whisper from each lip
And he's here to do some business with
the bad ADC on his chip
bad ADC on his chiiiiip

qntm posted:

for hysterical reasons, implode() can accept its arguments in either order

jony neuemonic
Nov 13, 2009

ahmeni posted:

taking a php job in 2015 is a really good way to stall your career and you will likely be managing some old turd of a code base

it's not a bad way into your first dev job (depending on where you live, victoria is full of php shops), but definitely don't do it for more than a year or two.

really looking forward to moving on to a .net job in the next year.

Soricidus
Oct 21, 2010
freedom-hating statist shill

PleasureKevin posted:

no other offers and i'm eating onions every meal

have you considered a less degrading option such as begging or prostitution?

Notorious b.s.d.
Jan 25, 2003

by Reene
php jobs in 2015:
- wordpress
- drupal
- mediawiki

pick your poison

in all 3 cases most of the work will be cleaning up hacks, trying to harden against hacks, and telling your boss how/why you got hacked

Gazpacho
Jun 18, 2004

by Fluffdaddy
Slippery Tilde
better to be hacked than ignored[/tbc]

Gazpacho
Jun 18, 2004

by Fluffdaddy
Slippery Tilde

Blotto Skorzany posted:

what sort of wonderful tooling did forth have
REPL on an embedded target

Sapozhnik
Jan 2, 2005

Nap Ghost
Things I would do to get a green card: Suck dick
Things I would consider doing to get a green card: Write PHP

Soricidus posted:

have you considered a less degrading option such as begging or prostitution?

rjmccall
Sep 7, 2007

no worries friend
Fun Shoe

PleasureKevin posted:

no other offers and i'm eating onions every meal

i loving love onions

Notorious b.s.d.
Jan 25, 2003

by Reene

jony neuemonic posted:

really looking forward to moving on to a .net job in the next year.

going from php to .net, in 2015

you really know how to pick'em

Symbolic Butt
Mar 22, 2009

(_!_)
Buglord

rjmccall posted:

i loving love onions

same

Adbot
ADBOT LOVES YOU

Zaxxon
Feb 14, 2004

Wir Tanzen Mekanik

rjmccall posted:

i loving love onions

hell yeah.

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply