« first day (353 days earlier)      last day (3667 days later) » 

12:00 PM
Extremely off-topic
 
not even 1 line assembly
 
@chillworld Oh, well... Hi there new idiot (refuses to call you that) user!
 
@SimonAndréForsberg asked one question last week and stayd hanging here :)
 
That's the spirit!
 
and actually the first chat what work doesn't block ^^
 
12:04 PM
Checking your posts here right now... Java... nice!
 
Hey @SimonAndréForsberg ... wb.. fanatic
 
basic knowledge of .net to but stays basic ;)
so most questions is way to hard for me
 
good afternoon
 
@JeroenVannevel afternoon
@SimonAndréForsberg also ZK framework but that's never asked here :)
 
@rolfl Hey there monkey! Long time, no bananas.
@chillworld Thankfully... I have no idea what ZK is :)
 
12:11 PM
@SimonAndréForsberg think of asp, and now on asp with java :D
 
@chillworld What's wrong with JSP and Spring MVC?
 
@SimonAndréForsberg nothing, work want ZK so we use ZK(and ZK has MVC and MVVM what's also nice). You can make fast nice things, even without experiance in it
 
Reviewing that TicTacToe AI one
this will be another gazillion liner
 
@SimonAndréForsberg If you're interested: github.com/skiwi2/TCG
 
@chillworld OK, well then that's nice :) I've never felt any need to use ASP in Java :)
 
12:16 PM
0
Q: Complex method - flagged by codeclimate - how to refactor

Stefanos.IoannouI am a fairly new (RubyonRails) developer. I desire to improve my coding skills so I used climate to do some review on my code. It gave me a flag for this method that its complex. Is it characterised as complex because of having several "actions/tasks" in a single method? Will it be better if I ...

0
Q: Fastest windows script to move files from one did to a network dir

JeffI wrote a script that moves files older than two days over to a network share (via scheduled task). Windows task scheduler doesn't seem to like the script so much, but it works well by itself. 1) is there a faster way than what I have? 2) is there a way to programmatically make it a scheduled ...

 
My brain's fighting with unit tests at the moment though, I think the unit tests will win
 
@skiwi Oh, now it's getting interesting! :)
 
@skiwi Assert.assertTrue(true);
ow man this is hard, writing tests and impossible to run them cause accept db isn't changed yet to the new model
 
Unit or Integration? I've got a few posts ready to slap you with them if they're unit tests
 
@JeroenVannevel units
but it's done I gues
don't have to test all the basic jpa queries :)
 
@JeroenVannevel your codereview already read that, post under yours is from me :)
 
oooh, I thought I recognized your name
 
@skiwi Read your design document now, that fusion idea looks nice :)
 
@JeroenVannevel en dan nog van ghent :D
 
12:37 PM
yes sir
 
@SimonAndréForsberg Glad you like it
 
@skiwi Looking forward to play it :)
 
@SimonAndréForsberg I might need some extra motivation though :p
 
giving motivation
 
Hmm for a website I need to make, I've got a design document that describes like 40 fields... (Input and selects, lots of select fields), is there any easy way of implementing them?
 
12:39 PM
@skiwi how about we make a combined one??^^ (TCG)
@skiwi this sounds like a job for jbehave unit tests..
@tinstaafl welcome to the chat!
 
Ah, the website is in PHP btw, and more stuff
Has nothing to do with Java
 
Just noticed the the proposal "Open Source Licensing" on Area51 had been closed :(
 
well... php is definitely not mine....
 
@Vogel612 Well we could try, however making up the model won't be too easy
 
got experience with model classes...
hibernate f*cking around with @NotNull / @Version / @Id...
 
12:41 PM
Hmpf for this website, I really revere (correct word?) creating the input form
 
revere? definitely wrong..
revere ~= !hate
 
@skiwi you can always take a peek to ZK :)
 
I hate anything repetative pretty much
 
	public String editContract(long contractId) {
		long customerId = customerEditManager.getCurrentCustomer().getId();
		redirectToContractView(contractId, customerId);
		return Pages.CONTRACT_EDIT;
	}

	public String deleteContract(long contractId) {
		processDeleteContract(contractId);
		return Pages.CUSTOMER_EDIT;
	}

	public String addContract() {
		long customerId = customerEditManager.processAddAnything();
		redirectToContractView(0, customerId);
		return Pages.CONTRACT_EDIT;
	}
something smells...
 
hey guys, need some assistance with my Windows 8 machine so I have enlisted the Superusers
0
Q: Windows 8 uptime not resetting after restart or shut down

MalachiMemory continuously rises, probably because of various applications that I run including Chrome, and it starts to choke out windows so I try to reboot it after 3-4 days at the most. When I am in the Task Manager after a complete cycle (shut down and start up) it shows 5 days 7 hours 30 minutes a...

 
12:45 PM
Well hi there @Malachi
 
@Vogel612 I don't see too much of a smell there
 
@SimonAndréForsberg hey long time to no see
Windows 8 Smells, Bad
 
@Malachi Long time no stars.
 
@skiwi look at the long customerId = part for edit and add.
 
lol
2
I have to get going to work. see you all there
 
12:46 PM
@Malachi take the a better version of windows :)
 
@Vogel612 Ah... Now I see
 
you know the microsoft rule in OS?
 
I'm not interested in creating all this stupid html codes, I just want to give my constraints to some program and that should spit out the code
I might need to look into data-driven dynamic form generation, if that's a thing
 
@skiwi you should defenitly see to zk
 
@chillworld what is that?
use the oldest one out there as long as it isn't Vista?
 
12:48 PM
@chillworld Can't use java here
 
oh sorry skiwi
@Malachi no good one - bad one - good one - bad one
95 good 98 bad
98 se good 2000 bad
xp good vista bad
7 good 8 bad
 
Windows 8.1 is very good, especially performance wise, however I did feel the need to 1) isntall customs tart menu, and 2) stay the hell away form the Modern UI
 
@chillworld STOP!
 
8 good, 8.1 bad
 
12:50 PM
I cloned a git repo because I wanted to slightly modify a program that I use to fit a specific set of needs. That was the idea: Get in, change two integers, get out. Now I'm hunting for bugs in a language I've never used. Where did I go so wrong?
3
 
@Vogel612 maybe I actually don't like the 8
 
quite probably so..
@undergroundmonorail are you not from PCG ?? Why are you not thinking how you could shorten the code by ~19 characters, so that execution is not likely to terminate in 40k years?
3
 
it looks more for a smartphone then a desktop
 
@Vogel612 I love golfing, but I don't know javascript :P
 
@chillworld W8 is still W7, with better performance, just never touch that ugly Modern UI part
 
12:53 PM
@skiwi I run w7 on desktop like a rocket
(maybe it has to do with the intel six core :D)
 
@Malachi you talking about the "CPU Uptime"?
 
I'll probably end up here creating my custom scripting language, because I can't be arsed to do redundant things
 
monking
 
@Malachi what programs do you run? self writed? maybe mem leak in one of your progs?
 
Oh, I can't even blame my poor programming on "not knowing javascript". I was changing the wrong variable, an error that transcends language barriers. I'm a poor programmer no matter what I use.
2
:)
 
12:56 PM
@200_success It could happen =\
@200_success I will try those out
 
monking!
 
smoking
 
morning
 
welcome @DarinDouglass
 
@BenVlodgi Monking! (Nice to see that meme has survived the past 10 days)
Monking @Mat'sMug!
 
1:02 PM
@SimonAndréForsberg the monkey will never die
4
 
As you see, no need to be a pro to answer CR questions :) +1! — Mat's Mug 19 secs ago
 
@Mat'sMug Monking dear.
 
@Mat'sMug I see you've finally reached 10K! Well done and congratulations!
 
@SimonAndréForsberg thanks! :)
 
@Malachi don't worry I got you covered ;)
0
A: Windows 8 uptime not resetting after restart or shut down

Vogel612This seems to be connected to what @LightBulb said. In this thread the second post mentions: this happens becasue of the new Shutdown/Boot mechanism from Windows 8 which is basically a logoff + Hibernation. [sic] He also links this msdn blog, where I found the following: Of course, the...

 
1:07 PM
+1 for being all happy and fluffy when you see ==. The world needs more fluffiness ;) — Mat's Mug 13 secs ago
 
nice found @Vogel612
 
@chillworld well my uptime is something about... 120 days?
can't check right now..
 
thanks @BenVlodgi
 
@Vogel612 I use the shutdown regulary but always win lower then 8, so already something new learned how to do it on 8(the full option).
 
work desktop uptime: 69 days 17 hours and 30 minutes. doesn't even get a [badge:fanatic].
5
 
1:12 PM
The uptime on this laptop is only like two days ATM because I let it run out of power the other day
oops
 
@DarinDouglass how's your "CR experience" so far? :)
 
This shows that Macs are the Superior race
 
@Mat'sMug its pretty swell. Liking it a lot
I enjoy reading code
so what better way to do it
xD
 
Good! May I ask how you found this site? Your profile shows CR as your only StackExchange account, I'm curious about CR's discoverability outside of StackExchange..
 
Who, me?
 
1:18 PM
@TheDoctor sorry I meant @DarinDouglass ;)
 
@TheDoctor no one takes you seriously anymore after you declared Mac a "superior race"
5
 
iAgree ^^
;)
 
@Mat'sMug @BenVlodgi told me about this site. So I figured I'd come and check it out :D
2
 
w00t CR
 
more new users :)
2
 
1:20 PM
I came here to .....erm...say hi!
 
Hi @TheDoctor
 
@TheDoctor well hi back, we will forget your big mistake about the Mac ;)
 
@TheDoctor didn't mean to be rude, hi! :)
 
Do you really need 2 monitors to review code?
 
1:22 PM
no, but to pretend I'm working, it really helps ;)
 
@TheDoctor I need three monitors so I can be three times more productive!! (no one has ever believed this but i still have three monitors so who cares)
 
Someone should review this chat's code, because i can't see anything when i'm typing.
 
No, you need 3 monitors
 
@undergroundmonorail they had just enough about the wining ^^
 
It makes it difficult to spell antthing rigjt.
2
 
1:24 PM
It's official: GCC 4.9 has been released today.
 
YAY!
 
@TheDoctor Experienced typers memorize the positions of keys on the keyboard, which lets them look at the monitor while they type! If you get to that stage, spelling will be much easier.
 
@Vogel612 - do you think anything positive can come from that meta post?
(I'm just checking...).
 
@rolfl at least I hope..
 
0
Q: How can I speed up the algorithm subset?

user3527406Consider source code: public class subSetSumR{ // Solving Subset sum using recursion public static boolean subSetSumRecur(int [] mySet, int n, int goal){ if (goal ==0){ return true;} if ((goal<0)|(n>=mySet.length)) return false; if (subSetSumRecur(mySet,n+1,goal - mySet...

0
Q: Unit of Work and Repository with Entity framework 6

Jalpesh VadgamaBased on the reply of this question I have created following code. I need to check whether its good or not. Here is my entity class. public class Employee { public int Id { get; set; } public string FirstName { get; set; } public string LastName { get; set; } public string Desig...

 
1:25 PM
@underground let's just say i'm not that experienced
I look at the keys because no text appears in the box in the monitor
 
Here, in the office, we often get to work from home, and, when we do, we send an e-mail to our colleagues with the subject "WFH today - whatever reason"
Today I got an e-mail " WTF Today - Sick kid"
 
Would "WFH today - traffic sux" work?
 
Has for me .... ... I have used "WFH - raining" before.
Even "WFH - tired".
 
Honestly, being bad at typing is the real reason I switched to Dvorak. People switch because "oh it makes you type faster" or "oh it's easier on your wrists" but all of those claims are incredibly poorly sourced and I don't trust them. Literally the only reason I use Dvorak is that I had gotten pretty good at hunt-and-pecking in qwerty, so trying to learn actual typing was a pain because I had habits I could fall back on to go faster, they were just bad habits I was trying to ditch.
 
Where does WFH stand for?
 
1:29 PM
Work Form Home - WFH.
 
I'm dumb... ok
 
On Dvorak, I had no habits. I couldn't even look at the keys if I wanted: They wouldn't help!
 
I guess there's a maximum on the number of days you can be working home per week? ;)
 
here @work its 2 days to the real office and 3 days working from a telework site
 
I work with a brilliant technologist, has pioneered many techs from IBM that have become massively successful, contributing to things like C++ standards, Java compilers, GC, etc. .... but holy crap, they guy types slowly..... hunts and pecks his way though things..... unless he's coding, in which case, he's super fast... just don't wait for him to type up an e-mail.
 
1:31 PM
office is 70km from home, telework site 10km from home
 
@rolfl How can you type fast when coding but not when typing?!
 
autocomplete :)
 
Yeah ok, I also rely a load on autocomplete while coding
 
they try that in the mail to but there it doesn't work :)
 
I average about 500 characters per minute though when typing normal stuff slowly.
 
1:33 PM
@Malachi wut?
 
I have never measured myself, but my wife, who's a kindergarten teacher, can out-type me with regular typing any day..... but, coding and punctuation, that's where I win.
 
Usually I'm too lazy to properly lift my fingers of the keyboard, and that's when the typos hit hard.
 
this.understand(Text comment) has thrown NotEnoughCaffeineException
2
 
I can type fast enough with an AZERTY keyboard.
 
@Vogel612 - do you really think your 'summary' of the episode 1 is accurate?
 
1:35 PM
How is Dvorak received in the gaming world?
 
> He read the rules of the planet, and then unboarded from his
spaceship to ask a question: Namespacing jQuery into markup I don't control
 
I'm helpless with a QWERTY one, let alone a DVORAK...
 
createFormWithInputFields(final int amount) { if (amount > 10) { throw new NoWayIAmGoingToDoThatException(); } }
 
@Vogel612 what wut?
 
@Malachi dat comment.. I don't understand...
 
1:35 PM
@Vogel612 @Mat'sMug this message needs to be on a t-shirt
 
@rolfl well.. in this case it seems that was not the case..
 
@NiallSzalkai Well, ever heard about the people who use WASD on a Dvorak keyboard?
 
which comment?
 
That on the SU question..
 
I might not have had enough coffee to form good sentences either
@Vogel612 I posted a couple of them
this
> do you think that the "half restart" affects the memory consumption upon restart or "warm" shutdown?
 
1:36 PM
yep.
exactly that..
 
I am calling this hybrid reboot mechanism a half restart, because that is really what is happening, it sounds like everything that windows doesn't feel needs to be reset is put on pause
so when you restart it un-pauses everything at the right time to make the boot faster.
so my question is, does this cause the MEmory usage to stack up on itself (like windows is notorious for)
 
@rolfl Do all the pro's at IBM have their university degrees, etc.? Because you know, Bill Gates or Mark Zuckerberg didn't finish their study either (if I'm correct with the names)
 
@Vogel612 you should up vote my question...
 
@skiwi No .... IBM uses acquisitions and "mergers" to expand their business a lot.... and, often people are brought in from these other organizations that are 'unqualified'. There is no stigmatism for that. On the other hand, IBM directly employs a lot of people through internship programs, etc... and they will come in with the qualifications, etc.
 
for the record, I'm "unqualified", and happy. But I don't work at IBM
 
1:45 PM
@rolfl I see
 
I am 'underqualified' for my position.....
 
@Mat'sMug we get warnings from the Techs when we go over 14 days
 
I have a bachelor of commerce, and I work with phd's, and so on.
 
I don't get the whole qualification thing in general anway... It doesn't say everything about people
I'm hoping to get a bachelor in computer science, but no way I will ever get a phd, hopefully a master somewhere
 
@skiwi indeed. My predecessors both had their "qualifications". And they still write shit code.
3
 
1:47 PM
Someone with 300 Rep on Super user should nominate me for a moderator position over there.
 
@Mat'sMug qualification != quality ;)
@Malachi why that now?
 
I am wondering though for what kind of jobs I would need to look in the future... Most Java jobs seem about doing repetative tasks and that's not what I would personally want
 
@skiwi The difference is that, with 20 years of experience, noone really asks what I studied in university..... I mean, compsci in the late 80's is nothing like what it is now....
 
because I would be good for that site.
 
@skiwi That's why you get paid
 
1:47 PM
people would get stars and upvotes left and right, and the activity would pick up over there again. and
I know the stackexchange system, and I think I would be a good moderator over there.
@Vogel612 you can't nominate me anyway
 
@skiwi - not to pee on your parade, but, as an entry in to the work-force, you have to accept that you will be doing mundane work. you have to earn the right to do the exciting stuff (that someone else has already earned the right to). My suggestion is to get a job at a place where someone does exciting stuff you like, and then cozy up to them and replace them when they get bored of it.
 
@rolfl I understand, most experience I have now is unpaid and thus 'for fun', which is not what I am getting back, a big point might be in there
 
@skiwi putting on your CV that Java8 release was delayed because you found a bug in it should help a bit
2
 
Even then, expect to land a job where they still use Java6, and you will have to do maintenance, etc.
 
I even wouldn't mind refactoring code all day long
 
1:51 PM
Anyway, I don't trust programmers who use all the exciting whizz-bang features, but have never had to maintain their own code ;-)
 
@rolfl I would never trust myself.
 
Perhaps my mindset on some repetative tasks is not correct either. I always code with the mindset of wanting to do things as fast as possible, while still maintaining correctness, etc. (Being as fast as possible is not an excuse for sloppyness)
However with some repetative tasks in a company you might get a day for it if it's reasonbly big, and then you do not have the feeling that you are wasting time, as you get paid for it either way.
 
So I'm away from chat for a little while, reading up on new posts and voting a lot, and before I know it there's 100+ chat messages.
 
@skiwi - the point is, in a business, some things just have to be done, even if they are mundane, and boring. That is why you get paid, when you start out. The trick is to make them interesting by automating things, learning things, improving things, and adding your 'footprint'.
Learn all the lessons you can from it, and start applying that to make these tasks easier, and less of your time, eventually shedding them off to someone else because you have proven to your bosses that you are the top of the pack, and deserve the more novel, exciting things.
102.
And. now I get to go and impress more execs with my powerpoint skills.... ;-)
Must .... shut .... down .... chat.
2
 
What is this: +100 30 mins ago assoc Association Bonus
 
2:00 PM
@rolfl if you want to impress use prezi
 
What!! Already out of Stars??
 
@rolfl Thanks for that explanation, I guess it is something I can only learn by actually experiencing and doing it. Now go make a nice presentation :)
 
Can confirm prezi is really sweet
 
@SimonAndréForsberg That's because you were away. You, never, go, away from the CR chat.
 
@NiallSzalkai as soon as you hit 200 Rep on any SE-Site, you get 100 assoc-bonus when you sign up for a diffferent one.
 
2:01 PM
@Vogel612 Thanks :)
 
@skiwi Oh, you're right. totally forgot about the name of this room...
 
Some pimping for Dmitri
1
A: Improvements to an Angular ScrollSpy module

Dmitri ZaitsevNice work! I presume the complicated way of getting the right element measurements is to cater for many browsers, won't comment on that. I would add some comments on the nature of the 'magic number' scope.triggerOffset = 150; or, better, encapsulate it away as .constant or offer as configurabl...

Not enough people who know Angular on CodeReview
 
Welp, that was embarrassing on SO.
I tried to answer a Java 8 question, but failed and gave the wrong answer.
Then realised I saw the question before.
 
Code review is like binary
 
Finally found the duplicate question and closed the original as duplicate.
Then figured out I was the one who andered the original question.
 
2:05 PM
0 answers, 1 answer, 0 answers, 0 answers, 0 answers, 1 answer, 0 answers, 1 answer...
 
@TheDoctor That depends on where you look
 
New questions
 
Some has 2+ answers already
but answering questions normally takes longer time than asking them.
 
Where as PCG is more like 24,8,5,1,4,8,36,13,19,4,6,1
and we get a lot more votes too
 
There are a whole lot of differences between PCG and Code Review. If you think about it, the reason for why it is like that is quite natural.
 
2:10 PM
@TheDoctor that's why you got that many >20k users ;)
 
1
A: How can I speed up the algorithm subset?

mockinterfaceSometimes to speed up a recursion you could use a form of memoization to cache the results of your previous known calculations, trading memory for speed. (Memoization is slightly different from dynamic programming.) A memoized function "remembers" the results corresponding to some set of sp...

how can you accept the answer if you don't understand it
 
Gah! I misread a meta post, thinking that examples of off topic questions were asked for, I went nuts with links to rick roll and everything <- what a waste
 
PCG is not a Q&A, but rather a "Challenge and Submission" site.
 
@chillworld especially after <1hour..
 
Arduino is my second-favorite SE
 
2:12 PM
@rolfl -> I understand for the main site, but also for the meta site ?
 
@konijn It might not be as bad as you think. For starters, what meta post was it?
 
@Vogel612 time for you to write something ;)
 
Posted an answer, hopefully it shows why I was tempted to cast a close vote on this question. Cheers! — Mat's Mug 10 secs ago
 
@chillworld "Haben ein Gewehr" - if I could I probably already had...
 
2:19 PM
A New Hope is episode IV... leave room for a prequel trilogy FTW! — Mat's Mug 7 secs ago
 
@Vogel612 Sometimes I hope that they put the use case to code like that. I maybe can answer but I'm to lazy to investigate it the code :)
 
everyone go and vote on my questions and answers on SuperUser please so I can nominate myself for Moderator there.
I have a really good conversation going on in the chat for Election
 
@Malachi isn't that serial voting ^^
 
only if you do it really fast. just do one at a time throughout the day..... :) and if they are worthy of an upvote
lol I just earned the Yearly Badge on SUM
> You've earned the "Yearling" badge. See your profile.
 
0
Q: Printing the most used words from phrases

Sillicon TouchI have a collection of phrases in a List. Each phrase is a String Array where each element in the array is a word. I create a List<Entry<String, Integer>> which holds the words as keys and the times used as value. Everything is sorted by value in descending order. Then what I do is print the t...

0
Q: How to provide core functionality orthogonal to business logic in Dart

user1338952Below is a simple Trade class with minimal business logic: primarily a method to get market value associated with the trade. But the trade needs the following pieces of core functionality, orthogonal to any business logic: Need to be serializable to/from json (toJson/fromJson) Need to be sorted...

 
2:24 PM
@Malachi 5 repu for you by me :)
 
????
Doctor very lost.
 
repu? lol
 
@TheDoctor we have found you, you are in Code Review chat called the Second Monitor
 
is CR just an SE reputation black market?
 
List<Entry<String, Integer>> wordsMap WTF isn't that just map<String, Integer>?
 
2:26 PM
Welcome @TheDoctor
@TheDoctor why would you say that?
 
rep-desu <-- probably better go to Japanese Language with that..
@chillworld TS.
in Super User 2014 Election, 2 mins ago, by allquixotic
I mean, unless your name is Jon Skeet. then you're wedded to this company at the hip for life
 
@TheDoctor lol, sometimes it is hard to find all the good answer that deserve upvotes. we still each have to decide if a question or answer is worthy of an upvote, but we do a bit of pimping now and then, sometimes even for answers that are not ours as well
 
Malachi: the king of pimping.
3
 
@Vogel612 what a f** up code, even a final int numberOfWords :)
 
2:35 PM
Starting Eclipse for the first time in 12 days!
 
140
A: Weirdest way to produce a stack overflow

TheDoctorPython import webbrowser webbrowser.open("http://stackoverflow.com/")

 
What do you guys think. Should I create a wrapper Exception for the case of an Invalid Id passed to my Data Layer?
 public List<Address> getAllByMasterRecordId(long customerId) {
    // TODO: Checked Exception ?!
    if (customerId <= 0)
        throw new IllegalArgumentException(
            "customer Id for fetching dependent addresses may not be smaller or equal to 0");
 
@SimonAndréForsberg and no withdrawal symptoms?
 
@chillworld I've been on vacation for a while, why would I have withdrawal symptoms?
 
2:42 PM
@SimonAndréForsberg 12 days without eclipse is dangerous for die hards :)
 
Ahhh! no, please no eclipse!
 
@SimonAndréForsberg but I hope the vacation was super
 
@TheDoctor You prefer Netbeans? Or IntelliJ? Or something else?
@chillworld It was :)
 
@TheDoctor everybody has his/her preferences. Personally I use netbeans. Every IDE has his (dis)advantages.
disadvantage netbeans : static import works not with autoimport. UTF-8 in prop files are a hell. (need notepad++ for changing prop files)
and now, going home :)
 
2:48 PM
thx
 
Sublime text, and no java. ever
 
python and nano. :c
 
Yep
How do you even use vim? nano is better
 
I actually really want to learn vim, I'm just lazy
 
2:51 PM
Old news. I literally have every single XKCD saven on my flash drive
 
it's probably saved..
 
oops
 
saven: the plural of "save"
 
import time
import os
import urllib2 as web

f = open('data.csv','w')
f.write('Number,Image,"Alt Text"')

for i in range(1,1320):
	try:
		html = web.urlopen('http://xkcd.com/' + str(i)).read()
		imgdata = html.split('<div id="comic">',1)[1].split('</div>',1)[0]
		imgurl = imgdata.split('src="')[1].split('"')[0]
		alttext = imgdata.split('title="')[1].split('"')[0]
		f.write(str(i) + ',' + imgurl.split('/')[-1] + ',"' + alttext + '"\n')
		print str(i) + ': ' + imgurl
		os.system('wget ' + imgurl.replace('(','\(').replace(')','\)'))
I <3 <3 python
cuz i'm a time lord
 
I guess the except handles this one?
 
2:56 PM
0
Q: Alternative to setInterval && setTimeout

coccoAlternative to setInterval && setTimeout javascript's setTimeout and setInterval are evil and not precise... both have a delay of various milliseconds http://www.andrewduthie.com/post/a-self-correcting-setinterval-alternative/ both are very resource intensive as they execute several times ever...

 
And umwelt
I need to download the rest of them
 

« first day (353 days earlier)      last day (3667 days later) »