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
Shaman Linavi
Apr 3, 2012

the program i finally got the nerve to put on github actually had a horrible bug* and now i went from 0 releases to 3 releases in 2 days

*there was a magic number i forgot about, oops

edit: it was my automata bullshit that i still like messing around with
http://i.imgur.com/JSivk6k.gifv

Shaman Linavi fucked around with this message at 20:23 on Aug 10, 2017

Adbot
ADBOT LOVES YOU

HoboMan
Nov 4, 2010

JawnV6 posted:

these were fun little games, but the boss fight at the end is a bear. everything else was pretty straightforward, get one thread in the right place and cycle the aggressor, but that last one is the kind of failure youd catch with batches of tests not inspection

i got it my second try v:kiddo:v

carry on then
Jul 10, 2010

by VideoGames

(and can't post for 10 years!)

JawnV6 posted:

jesus why are folks so eager to start "ACTUALLY" poo poo in the TP thread of all places? are you literally arguing that there's no value in going through an exercise if you can heuristically guess a potential solution? gently caress's sake man

and yes, i have relied on tests to catch nondeterministic failures and you have used products that resulted from this methodology

lmao criticizing someone in order to appear more skilled than them is like yospos' guiding principle

jony neuemonic
Nov 13, 2009

MALE SHOEGAZE posted:

i think it's finally time to learn c because unsafe rust is just confusing without a c background.

currently doing this as a stepping stone out of web dev. it's pretty fun, you'll learn a bunch.

gonadic io
Feb 16, 2011

>>=

carry on then posted:

lmao criticizing someone in order to appear more skilled than them is like yospos' guiding principle

ACTUALLY,

Arcteryx Anarchist
Sep 15, 2007

Fun Shoe

gonadic io posted:

tps: i will never get over the fact that grails can't count how many unit tests it has so it reports
code:
| Running 61 spock tests... 110 of 61
| Running 61 spock tests... 111 of 61
| Running 61 spock tests... 112 of 61
| Running 61 spock tests... 113 of 61

its good/bad to know someone else is also still using grails

netcat
Apr 29, 2008

ThePeavstenator posted:

C is a good language to learn because it demonstrates the low-level inner-workings of operations that modern higher-level languages have abstracted away and also it teaches you how much you enjoy not having to write in C.

i enjoy writing C(99) more than most languages idk why.

feedmegin
Jul 30, 2008

netcat posted:

i enjoy writing C(99) more than most languages idk why.

I am an embedded guy and I write the gently caress out of some C on the Cortex M0 in TYOOL 2017.

Ciaphas
Nov 20, 2005

> BEWARE, COWARD :ovr:


Am I going to experience a lot of source control culture shock going from my current group (Git) to my new group (TFSTFVC)? Never used the latter before so I'm just going around trying to find analogues, shelfsets seem to be stashes and changesets seem to be commits???

Ciaphas fucked around with this message at 21:34 on Aug 10, 2017

Maluco Marinero
Jan 18, 2001

Damn that's a
fine elephant.

carry on then posted:

lmao criticizing someone in order to appear more skilled than them is like yospos' guiding principle

I have no teammates and I must well actually

Wheany
Mar 17, 2006

Spinyahahahahahahahahahahahaha!

Doctor Rope

that looks like the term i was looking for.

FlapYoJacks
Feb 12, 2009

feedmegin posted:

I am an embedded guy and I write the gently caress out of some C on the Cortex M0 in TYOOL 2017.

C is ok if there's no user interaction.

jony neuemonic
Nov 13, 2009

feedmegin posted:

I am an embedded guy and I write the gently caress out of some C on the Cortex M0 in TYOOL 2017.

so, i want to dip a toe into embedded dev and see if it's something i want to pursue but coming from web-land it looks kind of impenetrable. is learn some C and get an arduino a good way to go?

Workaday Wizard
Oct 23, 2009

by Pragmatica
imagine c++ with proper dependency management and a declarative and deterministic build system :2bong:

Workaday Wizard
Oct 23, 2009

by Pragmatica
imagine never having to gently caress around with paths and environment variables etc. :weed:

Workaday Wizard
Oct 23, 2009

by Pragmatica
imagine checking out a c++ project and running 'buildmyshit.exe' and having it just work :lsd:

DONT THREAD ON ME
Oct 1, 2002

by Nyc_Tattoo
Floss Finder
it's called rust friend

Fergus Mac Roich
Nov 5, 2008

Soiled Meat

Shinku ABOOKEN posted:

imagine checking out a c++ project and running 'buildmyshit.exe' and having it just work :lsd:

Don't stop I'm almost there

Illusive Fuck Man
Jul 5, 2004
RIP John McCain feel better xoxo 💋 🙏
Taco Defender
it's called bazel, imo

NihilCredo
Jun 6, 2011

iram omni possibili modo preme:
plus una illa te diffamabit, quam multæ virtutes commendabunt

Ciaphas posted:

Am I going to experience a lot of source control culture shock going from my current group (Git) to my new group (TFSTFVC)? Never used the latter before so I'm just going around trying to find analogues, shelfsets seem to be stashes and changesets seem to be commits???

tfvc is simpler. a LOT simpler.

if you used git, it will be trivial for you to learn tfvc. all the history is on the server, and only on the server. branches are basically just folders with a history - they're full, immutable, indepedent copies of all the files they contain. checking out is just downloading a folder (or a specific revision of one) from the server to your computer: after that, the only thing tfvc does locally on your computer is keeping track that c:\myproject\butt corresponds to $/company/software/projects/gluteus on the server

shelvesets are a glorifed 'let's zip up my temporary changes, give them a name, and save them on the server'. they're used much more often than branches because, as mentioned, each branch is a full copy of the project so it's expensive to create and cumbersome to switch.

if you did anything more than the most basic stuff in git, you'll probably run into tfvc limitations. like, want to unshelve your shelveset into a different branch than the one you were working on? you have to unshelve + commit to the original branch, merge to the new branch, then revert the commit on the original. if other things changed in the original branch since you made that shelveset, tough luck. in theory there's a 'power tools' command line utility that lets you unshelve to another branch, but it's never worked for me, and I always resorted to copying files over by hand and checking the diff

tl;dr: you will probably be annoyed. you might be frustrated. you almost certainly won't be confused.

Arcsech
Aug 5, 2008

MALE SHOEGAZE posted:

it's called rust friend

JawnV6
Jul 4, 2004

So hot ...

carry on then posted:

lmao criticizing someone in order to appear more skilled than them is like yospos' guiding principle

this isnt the thread and starting from the position of all bugs can be caught by inspection is asinine. theres an earlier one that deadlocks without reliance on the critical section, so it really comes off like he jumped to the end and skipped over the entire context of the thread and link for a ACTUALLY,

JawnV6 fucked around with this message at 06:59 on Aug 13, 2017

Ciaphas
Nov 20, 2005

> BEWARE, COWARD :ovr:


NihilCredo posted:

tfvc is simpler. a LOT simpler.

if you used git, it will be trivial for you to learn tfvc. all the history is on the server, and only on the server. branches are basically just folders with a history - they're full, immutable, indepedent copies of all the files they contain. checking out is just downloading a folder (or a specific revision of one) from the server to your computer: after that, the only thing tfvc does locally on your computer is keeping track that c:\myproject\butt corresponds to $/company/software/projects/gluteus on the server

shelvesets are a glorifed 'let's zip up my temporary changes, give them a name, and save them on the server'. they're used much more often than branches because, as mentioned, each branch is a full copy of the project so it's expensive to create and cumbersome to switch.

if you did anything more than the most basic stuff in git, you'll probably run into tfvc limitations. like, want to unshelve your shelveset into a different branch than the one you were working on? you have to unshelve + commit to the original branch, merge to the new branch, then revert the commit on the original. if other things changed in the original branch since you made that shelveset, tough luck. in theory there's a 'power tools' command line utility that lets you unshelve to another branch, but it's never worked for me, and I always resorted to copying files over by hand and checking the diff

tl;dr: you will probably be annoyed. you might be frustrated. you almost certainly won't be confused.

Possible annoyance and frustration are better than confusion to me! Thanks for the sum up

Whenever things got gnarly in git I would quickly fall back to the "god damnit just re-use this last good commit and start again from backups" method so TFVC's limits shouldn't bother me much :v:

DONT THREAD ON ME
Oct 1, 2002

by Nyc_Tattoo
Floss Finder

NihilCredo posted:

tfvc is simpler. a LOT simpler.

if you used git, it will be trivial for you to learn tfvc. all the history is on the server, and only on the server. branches are basically just folders with a history - they're full, immutable, indepedent copies of all the files they contain. checking out is just downloading a folder (or a specific revision of one) from the server to your computer: after that, the only thing tfvc does locally on your computer is keeping track that c:\myproject\butt corresponds to $/company/software/projects/gluteus on the server

shelvesets are a glorifed 'let's zip up my temporary changes, give them a name, and save them on the server'. they're used much more often than branches because, as mentioned, each branch is a full copy of the project so it's expensive to create and cumbersome to switch.

if you did anything more than the most basic stuff in git, you'll probably run into tfvc limitations. like, want to unshelve your shelveset into a different branch than the one you were working on? you have to unshelve + commit to the original branch, merge to the new branch, then revert the commit on the original. if other things changed in the original branch since you made that shelveset, tough luck. in theory there's a 'power tools' command line utility that lets you unshelve to another branch, but it's never worked for me, and I always resorted to copying files over by hand and checking the diff

tl;dr: you will probably be annoyed. you might be frustrated. you almost certainly won't be confused.

this sounds awful

DONT THREAD ON ME
Oct 1, 2002

by Nyc_Tattoo
Floss Finder

jony neuemonic posted:

currently doing this as a stepping stone out of web dev. it's pretty fun, you'll learn a bunch.

i picked up a book called "the linux programming interface" and it's good so far. i feel stupid for not doing this sooner because it's demystifying so many things that have always scared me. i keep going "oh is that all that is?"

Brain Candy
May 18, 2006

JawnV6 posted:

i help write a concurrency library professionally, like if he wants to throw down I can bring it, but this isnt the thread and starting from the position of all bugs can be caught by inspection is asinine. theres an earlier one that deadlocks without reliance on the critical section, so it really comes off like he jumped to the end and skipped over the entire context of the thread and link for a ACTUALLY,

i think you aren't the target of the website and so are missing the point?

many many many programmers work by piling crap into a file until it builds and passes tests, until the skinner box rewards them with a program. the point is to demonstrate that is a losing strategy with threads and hint at an alternative. as you are aware, a winning strategy in many cases is to make things simple enough that you can't gently caress it up

jony neuemonic
Nov 13, 2009

MALE SHOEGAZE posted:

i picked up a book called "the linux programming interface" and it's good so far. i feel stupid for not doing this sooner because it's demystifying so many things that have always scared me. i keep going "oh is that all that is?"

yeah, the language itself hasn't given me too much trouble. i really had it built up in my head as some kind of expert programmers only thing which is silly.

jumping from contrived examples to actual programs is a thing, though.

Luigi Thirty
Apr 30, 2006

Emergency confection port.

I can package up my Atari System 1 development environment for you, thats C... mostly :twisted:

eschaton
Mar 7, 2007

Don't you just hate when you wind up in a store with people who are in a socioeconomic class that is pretty obviously about two levels lower than your own?

MALE SHOEGAZE posted:

i think it's finally time to learn c because unsafe rust is just confusing without a c background.

everyone really should learn C or another language at a similarly low level at some point in their career

actually writing serious code in C should be a very carefully considered decision, but learning it will make so many things about modern computing clear

eschaton
Mar 7, 2007

Don't you just hate when you wind up in a store with people who are in a socioeconomic class that is pretty obviously about two levels lower than your own?
someone needs to combine message queues with document databases with blockchains

I bet someone like tef or MononcQc could come up with a combined pitch for such a terrible piece of software that could easily raise $texas in angel & VC investment, followed by a nine figgy buyout by MS or Oracle or CA or someone

eschaton
Mar 7, 2007

Don't you just hate when you wind up in a store with people who are in a socioeconomic class that is pretty obviously about two levels lower than your own?

JawnV6 posted:

i help write a concurrency library professionally, like if he wants to throw down I can bring it, but this isnt the thread and starting from the position of all bugs can be caught by inspection is asinine.

my driver's ed teacher insisted that every car accident was preventable, and that's why they're called accidents

carry on then
Jul 10, 2010

by VideoGames

(and can't post for 10 years!)

eschaton posted:

someone needs to combine message queues with document databases with blockchains

I bet someone like tef or MononcQc could come up with a combined pitch for such a terrible piece of software that could easily raise $texas in angel & VC investment, followed by a nine figgy buyout by MS or Oracle or CA or someone

meanwhile at ibm

redleader
Aug 18, 2005

Engage according to operational parameters

NihilCredo posted:

tfvc is simpler. a LOT simpler.

if you used git, it will be trivial for you to learn tfvc. all the history is on the server, and only on the server. branches are basically just folders with a history - they're full, immutable, indepedent copies of all the files they contain. checking out is just downloading a folder (or a specific revision of one) from the server to your computer: after that, the only thing tfvc does locally on your computer is keeping track that c:\myproject\butt corresponds to $/company/software/projects/gluteus on the server

shelvesets are a glorifed 'let's zip up my temporary changes, give them a name, and save them on the server'. they're used much more often than branches because, as mentioned, each branch is a full copy of the project so it's expensive to create and cumbersome to switch.

if you did anything more than the most basic stuff in git, you'll probably run into tfvc limitations. like, want to unshelve your shelveset into a different branch than the one you were working on? you have to unshelve + commit to the original branch, merge to the new branch, then revert the commit on the original. if other things changed in the original branch since you made that shelveset, tough luck. in theory there's a 'power tools' command line utility that lets you unshelve to another branch, but it's never worked for me, and I always resorted to copying files over by hand and checking the diff

tl;dr: you will probably be annoyed. you might be frustrated. you almost certainly won't be confused.

sounds a lot like microsoft svn

VikingofRock
Aug 24, 2008




MALE SHOEGAZE posted:

i picked up a book called "the linux programming interface" and it's good so far. i feel stupid for not doing this sooner because it's demystifying so many things that have always scared me. i keep going "oh is that all that is?"

You know I don't know why I never thought of getting a book on this. Thanks for the rec!

e: lol why is this book $100

fritz
Jul 26, 2003

Illusive gently caress Man posted:

it's called bazel, imo

ive been having to use bazel to build tensorflow this week and idk why they cant just use cmake like adults

fritz
Jul 26, 2003

VikingofRock posted:

e: lol why is this book $100

technical books cost money

Sapozhnik
Jan 2, 2005

Nap Ghost

eschaton posted:

someone needs to combine message queues with document databases with blockchains

I bet someone like tef or MononcQc could come up with a combined pitch for such a terrible piece of software that could easily raise $texas in angel & VC investment, followed by a nine figgy buyout by MS or Oracle or CA or someone

i mean a blockchain is pretty much an adversarial sort of queue and putting child porn in the bitcoin blockchain is already a thing, so...

FamDav
Mar 29, 2008

eschaton posted:

someone needs to combine message queues with document databases with blockchains

I bet someone like tef or MononcQc could come up with a combined pitch for such a terrible piece of software that could easily raise $texas in angel & VC investment, followed by a nine figgy buyout by MS or Oracle or CA or someone

datomic already exists

Luigi Thirty
Apr 30, 2006

Emergency confection port.

redleader posted:

sounds a lot like microsoft svn

and thats why Microsoft is cool again.

Adbot
ADBOT LOVES YOU

JawnV6
Jul 4, 2004

So hot ...

Brain Candy posted:

i think you aren't the target of the website and so are missing the point?

many many many programmers work by piling crap into a file until it builds and passes tests, until the skinner box rewards them with a program. the point is to demonstrate that is a losing strategy with threads and hint at an alternative. as you are aware, a winning strategy in many cases is to make things simple enough that you can't gently caress it up

im the one saying its useful to actually go through the exercises instead of sitting on your rear end and logicking thru it, but sure im missing the point by saying its useful for building the intuition around how threads can be antagonistically scheduled

thanks

  • Locked thread