code logs -> 2013 -> Thu, 03 Oct 2013< code.20131002.log - code.20131004.log >
--- Log opened Thu Oct 03 00:00:24 2013
00:22 guest [NSwebIRC@Nightstar-8a744320.customers.d1-online.com] has joined #code
00:22 guest [NSwebIRC@Nightstar-8a744320.customers.d1-online.com] has quit [[NS] Quit: Page closed]
00:36
<~Vornicus>
ugh. Adventures In Stupid Shit. Want to use git to update the live site when necessary; git however seems to assume that only one user will ever checkout to a particular place...
01:14 Derakon[AFK] is now known as Derakon
01:19
<@Namegduf>
I think git repos are single user, yeah.
01:25 Derakon is now known as Derakon[AFK]
02:04 Derakon[AFK] is now known as Derakon
02:17
<&Derakon>
Alias git to "su $gituser; git"?
02:17
<&Derakon>
Well, "su $gituser; /path/to/git/binary"
02:17 VirusJTG [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has quit [[NS] Quit: Program Shutting down]
02:18
<~Vornicus>
Der: it's, uh. How do I put this. The username is part of the URL you use to talk to the repo
02:18
<~Vornicus>
This you set when you set up the repository to take from bitbucket et al
02:19
<&Derakon>
Er, what exactly are you trying to do?
02:19
<&Derakon>
Push to a repo, and have the changes show up on the webserver?
02:20
<&Derakon>
One possibility then would be to write a script running on the server that periodically pulls the latest from the repo and puts it into the webserver.
02:20
<~Vornicus>
Part of the issue is that apparently about half the team is unwilling to use revision control and so the server -- fortunately it's just a dev server -- is getting their changes directly.
02:20 * Derakon winces.
02:21
<&Derakon>
Remove those team members' access to the server~
02:21
<~Vornicus>
one of them's the PM.
02:21
<&Derakon>
Well, they're managers~
02:21
<&Derakon>
Er, a manager.
02:22
<~Vornicus>
"We're a small team, we don't need this stuff" "Bitch, I'm a team of /one/ at home and 'this stuff' has saved my hide more times than I can count"
02:22
<&Derakon>
Yep.
02:22
<&Derakon>
I'm a team of one at work and it's saved my hide plenty.
02:33
<@himi>
Any professional devs who aren't willing to use version control doesn't deserve to be called a profesisonal
02:39
< RichyB>
man, every freaking topic branch I start in this codebase has at least four commits like "Tidy: remove dead code from *place*" or "Tidy: remove commented-out code that wouldn't even work anyway." preceding the commits that actually do anything.
02:54 celmin [celticminst@Nightstar-5d0169f9.dsl.bell.ca] has joined #code
02:55 mode/#code [+o celmin] by ChanServ
03:29 celmin [celticminst@Nightstar-5d0169f9.dsl.bell.ca] has quit [[NS] Quit: And lo! The minstrel departs, to spread the music to the masses!]
03:53 ktemkin is now known as ktemkin[awal]
04:00 Kindamoody[zZz] is now known as Kindamoody
04:21 Kindamoody is now known as Kindamoody|gaming
04:45 Derakon is now known as Derakon[AFK]
04:46
<&ToxicFrog>
Vornicus: so, the canonical way to do this is to only let the deploy user role have access to prod
04:46
<&ToxicFrog>
And then you either have someone responsible for logging in as that user and pushing the latest release to prod
04:46
<&ToxicFrog>
Or if you have a post-commit hook on the master server that listens for commits on the production branch and deploys them
04:47
<&ToxicFrog>
If you're using something like gitolite, the server can even enforce stuff like which users are allowed to commit to prod.
04:51
<~Vornicus>
Unfortunately I've only been here for like a week. I don't have the pull to flip it.
04:53
<&ToxicFrog>
For the more general "I have a repo that I want multiple users to be able to talk to using ssh" case, use gitolite
04:53
<&ToxicFrog>
Failing that, have everyone clone from git@server:repo.git and just add all of their ssh keys to ~git/.ssh/authorized_keys
05:22 RichyB [RichyB@D553D1.68E9F7.02BB7C.3AF784] has quit [[NS] Quit: Gone.]
05:25 RichyB [RichyB@D553D1.68E9F7.02BB7C.3AF784] has joined #code
06:38 ErikMesoy|sleep is now known as ErikMesoy
06:39 Kindamoody|gaming is now known as Kindamoody
06:48
<@froztbyte>
<ToxicFrog> If you're using something like gitolite, the server can even enforce stuff like which users are allowed to commit to prod.
06:48
<@froztbyte>
<Vornicus> Unfortunately I've only been here for like a week. I don't have the pull to flip it.
06:48
<@froztbyte>
reading those two sentences together so early in the morning, my brain parsed 'pull' as a git action
06:49
<@froztbyte>
and was a bit confused.
06:49
<@froztbyte>
(because "how on earth could you not have it it should totally just be there"..)
06:50
<~Vornicus>
heh
07:04 You're now known as TheWatcher
07:05 Stalker [Z@Nightstar-b920a19c.cust.comxnet.dk] has joined #code
07:29 celticminstrel [celticminst@Nightstar-5d0169f9.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
07:45 Kindamoody is now known as Kindamoody|out
08:10 You're now known as TheWatcher[afk]
09:07 gnolam [lenin@Nightstar-a86e27d9.addr.tdcsong.se] has joined #code
09:07 mode/#code [+o gnolam] by ChanServ
09:07 gnolaptop [lenin@Nightstar-a86e27d9.addr.tdcsong.se] has joined #code
09:08 gnolam [lenin@Nightstar-a86e27d9.addr.tdcsong.se] has quit [Client closed the connection]
09:08 gnolaptop [lenin@Nightstar-a86e27d9.addr.tdcsong.se] has quit [Client closed the connection]
09:08 gnolam [lenin@Nightstar-a86e27d9.addr.tdcsong.se] has joined #code
09:08 mode/#code [+o gnolam] by ChanServ
09:51 You're now known as TheWatcher
10:49 VirusJTG [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has joined #code
10:53 VirusJTG [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has quit [[NS] Quit: Program Shutting down]
10:54 VirusJTG [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has joined #code
10:55 AverageJoe [evil1@Nightstar-4b668a07.ph.cox.net] has joined #code
12:25 You're now known as TheWatcher[d00m]
12:29 AverageJoe [evil1@Nightstar-4b668a07.ph.cox.net] has quit [[NS] Quit: Leaving]
12:42 gnolam [lenin@Nightstar-a86e27d9.addr.tdcsong.se] has quit [Connection reset by peer]
12:49 You're now known as TheWatcher
13:13 Vornicus [vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: Leaving]
13:24 Reiv [NSwebIRC@Nightstar-95746c1f.kinect.net.nz] has quit [Ping timeout: 121 seconds]
14:54 gnolam [lenin@Nightstar-f7705974.cust.bredbandsbolaget.se] has joined #code
14:54 mode/#code [+o gnolam] by ChanServ
15:00 celticminstrel [celticminst@Nightstar-1afc984c.dsl.bell.ca] has joined #code
15:01 mode/#code [+o celticminstrel] by ChanServ
15:30 Turaiel[Offline] is now known as Turaiel
15:56 celticminstrel [celticminst@Nightstar-1afc984c.dsl.bell.ca] has quit [[NS] Quit: KABOOM! It seems that I have exploded. Please wait while I reinstall the universe.]
15:57 celticminstrel [celticminst@Nightstar-1afc984c.dsl.bell.ca] has joined #code
15:57 mode/#code [+o celticminstrel] by ChanServ
16:20
< Firebeard>
Finally. Got the bloody device replaced by the ISP, and now DMZ settings work properly.
16:36 Typherix [Typherix@Nightstar-ea8fda76.lnngmi.sbcglobal.net] has quit [Ping timeout: 121 seconds]
16:36 Typherix [Typherix@Nightstar-ea8fda76.lnngmi.sbcglobal.net] has joined #code
16:49 iospace is now known as io\sick
17:15
<@gnolam>
In other news, the private sector sure is different from the public sector. The people who employ you actually have /money/.
17:19
< Firebeard>
GASP!
17:22
< RichyB>
It's odd that the public sector don't.
17:22
< RichyB>
Doesn't your country have, like, taxes and no wars?
17:29
<@gnolam>
Ah, but I was involved in research and civil defense. And who ever needs that?
17:30 celticminstrel [celticminst@Nightstar-1afc984c.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
17:39 Firebeard [abudhabi@Nightstar-86c5bcf2.adsl.inetia.pl] has quit [Operation timed out]
17:58 Firebeard [abudhabi@Nightstar-86c5bcf2.adsl.inetia.pl] has joined #code
18:28
< RichyB>
Civil defence? Possibly not the country with the let's-not-start-any-wars policy. :)
18:40
<@Tamber>
There's a difference between starting them, and being prepared for them just in case. :p
18:41 Turaiel is now known as Turaiel[Offline]
18:47
<@gnolam>
Ah, sorry, poor word choice. We sort of merged our civil defense and emergency management.
18:55
< RichyB>
That makes sense. It's pretty normal that the emergency management service ends up with part of its job being to tell the local militia where to put the sandbags anyway.
18:56
< RichyB>
militia/home guard/etc
19:35 Typherix [Typherix@Nightstar-ea8fda76.lnngmi.sbcglobal.net] has quit [Operation timed out]
19:37 Kindamoody|out is now known as Kindamoody
19:42 Typherix [Typherix@Nightstar-ea8fda76.lnngmi.sbcglobal.net] has joined #code
20:20 Kindamoody is now known as Kindamoody[zZz]
20:35
<&McMartin>
Yeah, I was about to say, "isn't Civil Defense who reconstructs after earthquakes and stuff"
20:35
<&McMartin>
(I swear, the US Coast Guard has the *weirdest remit ever*)
20:40 Derakon [chriswei@Nightstar-a3b183ae.ca.comcast.net] has joined #code
20:40 mode/#code [+ao Derakon Derakon] by ChanServ
20:40 * Derakon ponders this camera, has no idea what the fuck.
20:41
<&Derakon>
Okay, so, our current setup is camera -> buffer 1 on cam computer -> buffer 2 on cam computer -> network -> master computer -> write to disk.
20:42
<&Derakon>
And the problem we have here is that when we try to run at high speed, we'll be fine for awhile but then the rate at which images get transferred to the master computer is vastly reduced.
20:42
<&Derakon>
So the images pile up in buffer #2 (which can expand to take arbitrary amounts of memory).
20:42
<&Derakon>
Then, when new images stop arriving, all transfers stop altogether for 10s.
20:42
<&Derakon>
Then the camera computer unloads buffer #2 at high speed.
20:43
<&Derakon>
We get exactly the same behavior if, instead of sending the entire image over, we just send a timestamp.
20:43 ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has quit [Operation timed out]
20:43
<&Derakon>
We also get exactly the same behavior if, instead of sending the image over, we write it to disk.
20:43
<&Derakon>
We don't get any problems if we drop the image (don't do anything with it).
20:43 ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has joined #code
20:43 mode/#code [+ao ToxicFrog ToxicFrog] by ChanServ
20:44
<&Derakon>
My theory is that I'm getting some kind of bus contention.
20:44
<&Derakon>
Images come off the camera via PCI card; presumably the network connection and the hard drive are on the same bus.
20:44
<&Derakon>
I don't understand why the cessation of new images causes everything to stop for 10s, though.
20:45
<&Derakon>
Any ideas how I would go about figuring out what's going on here?
20:45
< jeroud>
Computers are hard. :-/
21:09
<&Derakon>
I'll take that as a no, then. :(
21:24 Typherix [Typherix@Nightstar-ea8fda76.lnngmi.sbcglobal.net] has quit [Operation timed out]
21:34 Typherix [Typherix@Nightstar-ea8fda76.lnngmi.sbcglobal.net] has joined #code
21:52 celticminstrel [celticminst@Nightstar-1afc984c.dsl.bell.ca] has joined #code
21:53 mode/#code [+o celticminstrel] by ChanServ
22:12 Derakon [chriswei@Nightstar-a3b183ae.ca.comcast.net] has quit [[NS] Quit: leaving]
22:29 Stalker [Z@Nightstar-b920a19c.cust.comxnet.dk] has quit [Ping timeout: 121 seconds]
22:35 ErikMesoy is now known as ErikMesoy|sleep
22:46 Typherix [Typherix@Nightstar-ea8fda76.lnngmi.sbcglobal.net] has quit [Ping timeout: 121 seconds]
22:47 Typherix [Typherix@Nightstar-ea8fda76.lnngmi.sbcglobal.net] has joined #code
23:31 * McMartin blinks
23:31
<&McMartin>
Apparently Xubuntu's hardware requirements are basically the same as stock Ubuntu's.
23:39
<@Namegduf>
Weird.
23:40
<&McMartin>
The LXDE version apparently does a lot better
23:55 Typherix [Typherix@Nightstar-ea8fda76.lnngmi.sbcglobal.net] has quit [Ping timeout: 121 seconds]
23:56 Typherix [Typherix@Nightstar-ea8fda76.lnngmi.sbcglobal.net] has joined #code
--- Log closed Fri Oct 04 00:00:39 2013
code logs -> 2013 -> Thu, 03 Oct 2013< code.20131002.log - code.20131004.log >

[ Latest log file ]