|
qntm posted:then there should be a variant of git branch which also switches to the newly-created branch, putting it on git checkout makes no sense checkout is the command used for... switching branches. Why wouldn't you want an option related to switching branches associated with the command for switching branches?
|
# ? Jul 13, 2016 22:53 |
|
|
# ? May 25, 2024 14:46 |
|
Mr Dog posted:I'm gonna open source some hobby code I wrote a while back and the poo poo I was writing even five years ago is goddamn embarassing. And it's all there in the Git history for people to point and laugh at. same but more like six months to six weeks ago
|
# ? Jul 13, 2016 22:55 |
|
Finster Dexter posted:checkout is the command used for... switching branches. Why wouldn't you want an option related to switching branches associated with the command for switching branches? it does more than that. Switches branches, creates branches, switch to commits (detached branches), update files from the current tree from those in a pathspec or patches (restoring files, like 'git checkout -- .' flushing temp work), merging branches while switching, and probably a bunch more.
|
# ? Jul 13, 2016 23:12 |
|
FUCKIN FINALLY
|
# ? Jul 13, 2016 23:35 |
|
apparently you should cache an httpclient if you're gonna be connecting to the same server, otherwise... bad things happen i used a using block so the old one should have been disposed right??? i know jack loving poo poo about disposing in c#. how does any of that poo poo work.
|
# ? Jul 13, 2016 23:39 |
|
Finster Dexter posted:checkout is the command used for... switching branches. Why wouldn't you want an option related to switching branches associated with the command for switching branches? git checkout is a stupid name for a command which switches branches
|
# ? Jul 13, 2016 23:43 |
|
GameCube posted:apparently you should cache an httpclient if you're gonna be connecting to the same server, otherwise... bad things happen yes but unless your computer is totally hosed or the server is doing some weird rate limiting the only downside to not reusing an httpclient is the creation/disposal overhead.
|
# ? Jul 13, 2016 23:48 |
|
qntm posted:git checkout is a stupid name for a command which switches branches git is bad and was designed by an idiot
|
# ? Jul 13, 2016 23:49 |
|
lol whoops my cube is inside out
|
# ? Jul 13, 2016 23:50 |
|
GameCube posted:apparently you should cache an httpclient if you're gonna be connecting to the same server, otherwise... bad things happen using (IDisposable foo) {...} automatically disposes foo at the end
|
# ? Jul 13, 2016 23:53 |
|
Shaggar posted:yes but unless your computer is totally hosed or the server is doing some weird rate limiting the only downside to not reusing an httpclient is the creation/disposal overhead. i'm gonna guess it's mono's fault. loving xamarin. if we were targeting winphone instead of freaking faildroid i bet this wouldn't be an issue
|
# ? Jul 13, 2016 23:58 |
|
oh yeah who knows what the hell Linux does w/ http requests. can it even do those? but w/e best practice is to keep an instance of httpclient around for the life of your application since its not gonna change.
|
# ? Jul 14, 2016 00:04 |
|
now it seems like if i wait a couple minutes before making another request the socket dies. lol. freaking mono. freaking xamarin. freaking linux bullshit. gently caress
|
# ? Jul 14, 2016 00:21 |
|
in the wake of me accidentally loving our performance via adding TransactionScopes i successfully finished a lovely load testing app thing! yeah, this thing is stable with our original code but crashes the database in seconds if i put TransactionScopes in
|
# ? Jul 14, 2016 01:39 |
|
Bloody posted:same but more like six weeks to six days ago
|
# ? Jul 14, 2016 01:56 |
|
HoboMan posted:in the wake of me accidentally loving our performance via adding TransactionScopes i successfully finished a lovely load testing app thing! sounds like you might have some locking issues w/ ur design
|
# ? Jul 14, 2016 01:59 |
|
GameCube posted:now it seems like if i wait a couple minutes before making another request the socket dies. lol. freaking mono. freaking xamarin. freaking linux bullshit. gently caress i'm not really paying attention but i'm going to just say TIME_WAIT lmao
|
# ? Jul 14, 2016 02:12 |
|
LeftistMuslimObama posted:all of this git talk is really confusing to me because i think we have our own tooling on top of whatever svn already does. when i make a "branch", i get a branch on the server and then all of that is checked out into a folder named after the branch on my computer and that's where i do my work. then i commit that to the branch on the server. when it's ready to go to trunk, our internal tool merges my branch into a local copy of trunk on my computer. then i commit that to trunk on the server. code:
|
# ? Jul 14, 2016 02:15 |
|
^ a professional workflow
|
# ? Jul 14, 2016 02:34 |
Brain Candy posted:
Why wouldn't you throw a git status in there to make sure you had added everything?
|
|
# ? Jul 14, 2016 02:38 |
|
indeed, note the two git status in mine. just to be sure e: also lol if you don't have a properly configured gitignore file and can just go code:
HoboMan fucked around with this message at 03:02 on Jul 14, 2016 |
# ? Jul 14, 2016 02:52 |
|
MononcQc posted:it does more than that. Switches branches, creates branches, switch to commits (detached branches), update files from the current tree from those in a pathspec or patches (restoring files, like 'git checkout -- .' flushing temp work), merging branches while switching, and probably a bunch more. i wrote out 4 examples earlier, 2 changing branches, 2 changing files in working copy git checkout is about modifying your working copy that you haven't modified, or you have
|
# ? Jul 14, 2016 02:58 |
|
VikingofRock posted:Why wouldn't you throw a git status in there to make sure you had added everything? i would anyway cos im never sure of anything except my own ineptitude gcb dicktree # write some bad code gst gcam 'added first lovely code' # more bad code gst ga . gcm 'forgot this other lovely code' # write some more lovely code cos you had another bad idea gsta # stash it because you had yet another bad idea gst gstd # gently caress that other bullshit ga . gcm 'ok this is it, i got it working enough' gp origin dicktree
|
# ? Jul 14, 2016 03:21 |
|
HoboMan posted:indeed, note the two git status in mine. just to be sure look at this scrub who doesn't know about git commit -a
|
# ? Jul 14, 2016 03:23 |
|
vodkat posted:Hey I'm trying to work with matching names between two quite large databases and I was wondering if anyone here had some tips. i normally wouldn't recommend java for anything but for this specific case the fuzzy matching stuff from the lucene package is extremely needs suiting if you add like 25 lines of your own java
|
# ? Jul 14, 2016 03:24 |
|
Luigi Thirty posted:lol whoops my cube is inside out no, your cameras on the wrong side
|
# ? Jul 14, 2016 03:34 |
|
but what if i want to create a tag named HEAD? what about me??
|
# ? Jul 14, 2016 04:00 |
|
i dont know what tags are for tbh
|
# ? Jul 14, 2016 04:08 |
|
Bloody posted:i dont know what tags are for tbh "This is the exact code we released when we made release 4.20.69"
|
# ? Jul 14, 2016 04:19 |
|
Bloody posted:i dont know what tags are for tbh pretty sure you and i already got yelled at for this one.
|
# ? Jul 14, 2016 04:27 |
|
lmao yep.hackbunny posted:tag your loving releases you goobers hackbunny posted:"I basically just point my rear end in the general direction of the source tree and make it rain" - release management according to the github generation
|
# ? Jul 14, 2016 04:35 |
|
i ended up writing this today:JavaScript code:
|
# ? Jul 14, 2016 04:47 |
|
I'd take a mulligan on that old chap
|
# ? Jul 14, 2016 04:53 |
|
jony neuemonic posted:pretty sure you and i already got yelled at for this one. lol oh yeah
|
# ? Jul 14, 2016 05:02 |
|
Luigi Thirty posted:http://www.everymac.com/systems/apple/xserve/specs/xserve-intel-nehalem-xeon-2.26-2009-quad-specs.html this is so much worse than you think it could only use ata/sata hard drives. no scsi/sas option existed. and you could only buy the hard drives from apple because they were proprietary also back then osx was an even worse unix than it is now. it ran mysql at like 1/10th the performance of linux or solaris. it was just totally useless as a server i am pretty sure the only people who ever bought these things were guys trying to use the Xsan distributed filesystem thing
|
# ? Jul 14, 2016 05:47 |
|
was it true that the fancy aluminum cases sagged when hot?
|
# ? Jul 14, 2016 06:07 |
|
BattleMaster posted:was it true that the fancy aluminum cases sagged when hot? pretty sure in an old job we had one for video processing and yes, it sagged
|
# ? Jul 14, 2016 06:19 |
|
jony neuemonic posted:lmao yep. Mmmmm I never tag my releases, I just have separate branches and Jenkins jobs for each branch. Then Jenkins insert the build number and branch info into the binaries so I can always trace them back. Am I do it backwards?
|
# ? Jul 14, 2016 07:48 |
|
how do you know which commit a given branch was on when a given build number was built? is the commit hash the build number?
|
# ? Jul 14, 2016 07:53 |
|
|
# ? May 25, 2024 14:46 |
|
NihilCredo posted:why is HEAD always written in all caps, and please tell me it's case sensitive because that would be the most unixy thing ever Linus honestly believes the filesystem not only should be case-insensitive, but that it also shouldn't do any sort of Unicode normalization or decomposition so he thinks that you should be able to have two files that look like they have an identical name in your repo as long as the byte sequence used to represent them is different more evidence Linus is nowhere near as smart as he has always thought himself to be
|
# ? Jul 14, 2016 08:05 |