|
Plorkyeran posted:Setting up a local svn server is a hell of a lot more work than "git init". "svnadmin create" isn't. Again, there are lots of criticism to be made out of svn, but for single-user use, it's perfectly capable of working off file system, w/o a server.
|
# ? Oct 30, 2010 09:31 |
|
|
# ? Apr 27, 2024 08:48 |
|
I think the thing that really kills entry into git for newbies is the lack of GUI support and a version that actually runs natively on Windows.
|
# ? Nov 1, 2010 08:57 |
|
You mean, like, if there were some sort of tortoisegit?
|
# ? Nov 1, 2010 13:14 |
|
Internet Janitor posted:You mean, like, if there were some sort of tortoisegit? I assume from this comment that you've never actually used TortoiseGit. If you're on windows you really want to be using TortoiseHG.
|
# ? Nov 1, 2010 13:49 |
|
Thankfully I'm not on Windows and I don't have an aversion to commandline apps. My point was simply that GUI-based clients for Git exist and come in form factors already familiar to SVN users.
|
# ? Nov 1, 2010 13:59 |
|
Zombywuf posted:I assume from this comment that you've never actually used TortoiseGit. If you're on windows you really want to be using TortoiseHG. Does git still have huge performance issues on Windows? That's the reason we went with hg at work a few years ago.
|
# ? Nov 1, 2010 13:59 |
|
TRex EaterofCars posted:Does git still have huge performance issues on Windows? That's the reason we went with hg at work a few years ago.
|
# ? Nov 1, 2010 15:46 |
|
last time I tried any of the git-windows versions/ports, it was a hell constructed of finicky path manipulation and an inability to actually get anything working. I don't usually code on my windows box, but still, it's stupid to pull out: Internet Janitor posted:You mean, like, if there were some sort of tortoisegit? and when confronted with the idea that while it exists, it may not be usable, going with the old standby: "well, it doesn't matter if what I suggested doesn't work, you shouldn't be using <the thing you just asked about>" Internet Janitor posted:Thankfully I'm not on Windows and I don't have an aversion to commandline apps. My point was simply that GUI-based clients for Git exist and come in form factors already familiar to SVN users. My work uses mercurial and that's the main reason I use it at home for my own stuff, but the fact it worked on windows with no effort was nice
|
# ? Nov 1, 2010 16:35 |
|
Basically TortoiseGit is all the bad of TortoiseSVN, TortoiseHg is all the good with none of the bad. And a funky commit dialog.
|
# ? Nov 1, 2010 19:31 |
|
Lurchington: Ok, I was being unnecessarily glib and my second comment was a smug copout. Honestly, though, I used TortoiseGit at work for about a week before I discovered GitBash. Much like TortoiseSVN, I noticed that status icons didn't always update properly, but otherwise I thought it was pretty serviceable. Clearly not everyone shares this opinion.
|
# ? Nov 1, 2010 21:24 |
|
code:
|
# ? Nov 2, 2010 21:29 |
|
Lurchington posted:last time I tried any of the git-windows versions/ports, it was a hell constructed of finicky path manipulation and an inability to actually get anything working. The abysmal state of git on Windows is one of the big reasons why Google Code went with Mercurial instead.
|
# ? Nov 3, 2010 00:28 |
|
Zombywuf posted:Basically TortoiseGit is all the bad of TortoiseSVN, TortoiseHg is all the good with none of the bad. And a funky commit dialog. Can you be more specific? I'm thinking of switching soon and "good" and "bad" are so subjective!
|
# ? Nov 3, 2010 05:48 |
|
I have used tortoiseHg and its quite decent to use, but over time I taught my self to use the cli hg because it was quicker for certain tasks.
|
# ? Nov 3, 2010 07:45 |
|
Ran into some java code earlier where everything was done via javax.swing.Actions. Example: code:
code:
|
# ? Nov 3, 2010 09:47 |
|
Vino posted:Can you be more specific? I'm thinking of switching soon and "good" and "bad" are so subjective! TortoiseGit: buggy, slow, confusing and poorly documented. Half the docs start with "install cygwin". TortoiseHg: fast, haven't hit a bug yet, well designed, one-click webserver for repo sharing, commit dialog that lets you browse your commits and warns you if you put a lovely commit message, still lets you do it if you really want.
|
# ? Nov 3, 2010 11:30 |
|
Well that's upsetting. I was really hoping to switch to git. Any suggestions on better windows frontends for it?
|
# ? Nov 3, 2010 11:40 |
|
Vino posted:Well that's upsetting. I was really hoping to switch to git. Any suggestions on better windows frontends for it? Just use hg, the paradigm is essentially the same.
|
# ? Nov 3, 2010 13:45 |
|
GROUP_CONCAT(DISTINCT CONCAT('<div class="li-main-singlefile"><a href="javascript:doDownLoad(\'',md5(f.id),'\')">', f.filename," - ",f.upload_date,'</a><div class="li-main-singlefile-actions"><a class="colorbox" href="javascript:rmvFile(\'',md5(f.id),'\',\'',o.id,'\')">',IF(f.id=o.file_id,'PO','Delete'),'</a></div></div>') ORDER BY f.upload_date DESC SEPARATOR "\n") files This is just a small part of a 25 line select statement but I figured this was a big enough coding horror on its own.
|
# ? Nov 4, 2010 23:25 |
|
Not a specific piece of code, but this gem came out of my coworker:quote:All Windows API calls are automatically asynchronous, unless something happens to cause them to block. He's talking about ReadFile here, and he's not using overlapped I/O. Why can't I have a senior dev that I can learn things from?
|
# ? Nov 5, 2010 07:34 |
|
EMF is an old vector format used in Microsoft Office and I was trying to convert it to SVG/PNG on Linux but there are no decent libraries (uniconverter, pywmfvu, and freehep don't work that well). So I ended up making OpenDocuments that only have an EMF picture, on the fly, and streaming them to an OpenOffice instance before saving as PDF. I guess I found a 100MB conversion library edit here's the source code N.Z.'s Champion fucked around with this message at 04:20 on Nov 8, 2010 |
# ? Nov 6, 2010 00:10 |
|
code:
|
# ? Nov 6, 2010 00:49 |
|
Not to get more off topic but back on the topic of git in Windows, has anybody worked with GitExtensions? It seems to have a pretty good rep.
|
# ? Nov 6, 2010 06:47 |
|
Vino posted:Not to get more off topic but back on the topic of git in Windows, has anybody worked with GitExtensions? It seems to have a pretty good rep. http://forums.somethingawful.com/showthread.php?threadid=3113983
|
# ? Nov 6, 2010 19:24 |
|
Okay, here comes another wonderful piece of architecture from our client, incidentally a very large company that's well-known in my country. There's an HTTP server running, and it listens for requests such as "reset PIN#". When the server receives such a request, it dumps the connection into a pool, and queues up the request for processing by another thread, the service thread. Now, the service thread does its processing (which is partly what my previous posts were about), and generates a response. How do you suppose this response gets sent back to the original requester? That's right! It doesn't! Instead, it just plucks any connection out of the pool, and returns the response there. The results are exactly as you might expect. One guy might receive a "successful" confirmation message when his transaction failed, and vice versa.
|
# ? Nov 8, 2010 08:23 |
|
Argue posted:Okay, here comes another wonderful piece of architecture from our client, incidentally a very large company that's well-known in my country. Hahaha "Your PIN has been reset. Have a nice day!" "What nooooo"
|
# ? Nov 8, 2010 09:32 |
|
ColdPie posted:http://forums.somethingawful.com/showthread.php?threadid=3113983 Yeah sorry this was only brought to my attention recently, but thanks!
|
# ? Nov 8, 2010 10:39 |
|
Hammerite posted:Hahaha Ahahahahaha
|
# ? Nov 8, 2010 17:16 |
|
Hammerite posted:Hahaha This is the funniest coding horror I've seen in a while, and this post just makes it even better.
|
# ? Nov 8, 2010 18:23 |
|
Ryouga Inverse posted:This is the funniest coding horror I've seen in a while, and this post just makes it even better. I immediately thought of this: http://video.adultswim.com/tim-and-eric-awesome-show-great-job/erics-banking-problems.html
|
# ? Nov 8, 2010 18:31 |
|
Please tell me I'm not the only one that finds this completely loving annoying.code:
|
# ? Nov 9, 2010 02:15 |
|
Is that nonsense or something that you have to do with PHP? I can never tell.
|
# ? Nov 9, 2010 02:17 |
|
Lonely Wolf posted:Is that nonsense or something that you have to do with PHP? I can never tell. It's one and the same, really.
|
# ? Nov 9, 2010 02:30 |
|
here is the example with the php taken outcode:
|
# ? Nov 9, 2010 02:50 |
|
Sovi3t posted:here is the example with the php taken out I'm no php expert, but I think you're wrong; ini_set has the side effect its name implies. Whoever wrote that is still an idiot for what he's doing with its return value though, obv.
|
# ? Nov 9, 2010 02:56 |
|
That's what I thought but for all I knew if you invoked it without binding the returned value the runtime would delete ini file off the server. PHP is the dragon on the corner of the map of programming languages.
|
# ? Nov 9, 2010 03:14 |
|
Otto Skorzeny posted:I'm no php expert, but I think you're wrong; ini_set has the side effect its name implies. Whoever wrote that is still an idiot for what he's doing with its return value though, obv. That fact is completely irrelevant to the example. Thanks though. Needed a quick sanity check. Staring at poo poo like this for 40 hours a week the last 6 months started to warp my perception of reality. (I'm not kidding)
|
# ? Nov 9, 2010 03:15 |
|
Argue posted:Okay, here comes another wonderful piece of architecture from our client, incidentally a very large company that's well-known in my country. This is wonderful
|
# ? Nov 9, 2010 03:53 |
|
Argue posted:randomized http responses I think this ties for best in thread with Duff's Enigma.
|
# ? Nov 9, 2010 06:26 |
|
|
# ? Apr 27, 2024 08:48 |
|
$get = sqlInjectionProtect($_GET);
|
# ? Nov 9, 2010 20:49 |