|
Thanks Marc
"We can't stop here - this is bat country" - Hunter S Thompson - RIP
|
|
|
|
|
One thing that took me a while to understand about git.
It treats the ENTIRE repository as image, for lack of a better word, so if you have a file in your current branch that does not exist in a different branch, and you switch branches that file will vanish. Worry not! It is not gone because if you switch back to the original branch the file will reappear.
Assuming of course you have committed the files.
|
|
|
|
|
Thanks any information helps
"We can't stop here - this is bat country" - Hunter S Thompson - RIP
|
|
|
|
|
I missed your earlier Github posts (I assume) but am in a similar place. Normally working on my own, I'm now working on a project jointly (and remotely) with another development house. In the past I've always used SVN (With TortoiseSVN and a remote repository) which has been simple and met my purposes. My associates now want us to use Git to better manage concurrent developments, and am having probs getting my head around concepts (partly as there's so much additional terminology). Have setup a remote repo and done an initial push, but am a way behind you on the learning curve. Very re-assuring to know I'm not the only one, though! This thread looks like the answers will be very useful.
|
|
|
|
|
... We know why...[^] (SFW)
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Also typical signs of talking to cute girls... Or so I've heard
|
|
|
|
|
I was certain that's (uh, more or less) what he was getting at, but no!
|
|
|
|
|
Sander Rossel wrote: Also typical signs of talking to cute girls... Or so I've heard No personal experience?
|
|
|
|
|
Like I'd know what it feels like to talk to girls
Seriously though, I can get like that.
Also when talking or performing for groups, doing important sales calls or having bad news conversations.
I've found that beta-blockers work great
Avoiding all social contact works even better and I've heard it's all the rage nowadays
Never for exams though, so I've got that going, which is nice.
|
|
|
|
|
Flesh eating mutant causes panic. (11)
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
Coronavirus
It goes without saying
|
|
|
|
|
Yep. I rather liked the anagram of CARNIVOROUS / CORONAVIRUS.
All yours for Monday.
Cheers,
Peter
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
Good clue but poor taste
"We can't stop here - this is bat country" - Hunter S Thompson - RIP
|
|
|
|
|
Anyone who have worked with text analytics and know how to get tf-idf when you're given data represented in sparse matrix (numerically) instead of actual data?
I'm stuck with a problem and would appreciate expert advise or any help
|
|
|
|
|
Try here: Ask a Question[^]
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
... And the message is back again.
Well, I've already replied once, and having to repeat yourself isn't fun.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
This was not a programming problem rather a research approach that I wanted to discuss. Otherwise I would have asked in the other section.
Mark_Wallace wrote: Well, I've already replied once, and having to repeat yourself isn't fun.
I don't remember you ever replying to any of my posts neither did I asked this question before. If it's that's annoying to you please consider not replying at all.
|
|
|
|
|
I've already found the solution but unable to delete this post now. Thanks for bearing
|
|
|
|
|
I was just about to reply to a message with "It sounds like you're looking for BM25F, but if you work for google, just stay at home and do no work evil", and I get a message saying the message (the first one, not my one or the one I just got) is not available.
It must be that fast because of SSDs and the new "commandeer your graphic chip's processing power" stuff.
I'm having trouble recalling which buzzbollocks ideas are most popular, at the moment, so feel free to point out the ones I've missed.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Something tells me most geeks aren't going to have a problem: Stay. At. Home. | CommitStrip[^]
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I hear that almost all supermarkets are out of mothers' basements de-stinkifiers.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Mark_Wallace wrote: mothers' basements
Hey! What about dad's basement? I'm an equal opportunity nerd! Besides that, I have had my own basement for a while and going home to mom, or getting any substitute, would be the worst fate I could think of.
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
There's something wrong with that picture. The developer looks showered and dressed.
/ravi
|
|
|
|
|
Phantom Planet - "Quarantine 20/20" - YouTube
[Verse 1]
Behind the glass I watched the world
From cracks the blinds make when they're drawn
I watched the world for years this way
And that catches us up to this moment today
[Chorus]
Quarantine
The rock and the hard place I'm between
Quarantine
Quarantine
Quarantine
[Verse 2]
Oh, and it was you I did this for
I put the deadbolt on the door
Understand, I can't see you now
Realize it's not to keep me in
But to keep all the sickies out
[Chorus]
Quarantine
Such an ugly word for what I mean
Quarantine
Quarantine
Quarantine
Oh
[Bridge]
I heard you let some little flea
Give you that contagious disease
You let him climb right on you two
And it's been plaguing me, too
La-la-la-la, la-la-la-la
La-la-la-la, la-la-la-la
Realize it's not to keep me in
But to keep all the sickies out
[Chorus]
Quarantine
A rock and a hard place I'm between
Quarantine
Quarantine
Quarantine
Quarantine
Quarantine
Quarantine
Quarantine
Oh
Caveat Emptor.
"Progress doesn't come from early risers – progress is made by lazy men looking for easier ways to do things." Lazarus Long
|
|
|
|
|
The assignment is to write a function that returns the number of prime numbers that exist up to and including a given number. The solution is below but I'm having trouble interpreting it. The part I don't understand is the 'for y in range(3,x,2)' loop. The first time it runs, x = 3 so I see it as 'range(3,3,2) but this doesn't make sense because the middle number represents up to but not including. So a range of 3-2 doesn't make sense. Also why is 'else:' not lined up with 'if'?
def count_primes2(num):
primes = [2]
x = 3
if num < 2:
return 0
while x <= num:
for y in primes: # use the primes list!
if x%y == 0:
x += 2
break
else:
primes.append(x)
x += 2
print(primes)
return len(primes)
|
|
|
|