« first day (2464 days earlier)      last day (2484 days later) » 

12:00 AM
@AndrasDeak OP has added sample data to that MatLab -> Numpy question stackoverflow.com/questions/45112856/…
Sorry. Silly clipboard error.
 
hpaulj is on the job:)
if it's worth answering, he probably will
 
@AndrasDeak Oh good. I'd hate to disappoint a cooperative OP.
I answered a Physics SE relativity question yesterday. It took me almost 2 days to get my answer together, due to having a cold-addled brain. I was hoping for some feedback by now, but so far, there's been nothing. Oh well. At least it hasn't been down-voted. :)
 
that looks like rocket propulsion in relativity
 
@AndrasDeak Yes, it is. With an ideal antimatter engine.
 
neat :)
 
12:14 AM
The classic Usenet Physics FAQ relativistic rocket page lists a bunch of formulae, but it doesn't give any derivations, so I thought it'd be nice to show how it's done.
It's not that hard, but it's easy to mess it up if you don't keep the various reference frames clear in your mind.
 
yeah, the derivation I have in my head for the non-relativistic case will obviously break down beyond Newton
 
Indeed. According to Newton, if you accelerate continuously at 1g, you hit light speed in a little under a year.
 
but then light speed doesn't matter at all;)
 
Well, c isn't a speed limit in Newtonian physics, but it still has significance. Any light coming from behind you can't catch up with you once you pass c (relative to the light source). And of course, you could have what they used to call dark stars, that have a mass so high that their escape velocity is >= c
 
right
 
12:28 AM
But it feels weird trying to think about this stuff in Newtonian physics. :)
 
whereas relativity is not weird at all :P
 
:) GR is weird. And scary. But SR is pretty straight-forward, once you come to terms with the constancy of lightspeed for all inertial observers, and the idea that 1 second of time has the same magnitude as a light-second of distance.
 
yup
 
Ha! cᴏʟᴅsᴘᴇᴇᴅ self-deleted their answer, and close-voted that question that TemporalWolf linked. Small miracles can happen. :)
 
I've seen them do that in the past
and sometimes they nudge lazy OPs instead of FGITWing
 
12:39 AM
There is a higher power xD
 
not entirely hopeless
 
@AndrasDeak True. I guess they just get caught by the enthusiasm of seeing a question that's answerable, even though they kinda know they probably shouldn't be answering it.
 
nah, they FGITW a lot
they're just not entirely hopeless :P
 
Rightio. :)
 
ahoy
so I'm not the only one noticing this too hehe 😉
where's the latest fun I can read?
 
12:42 AM
define fun
 
It is possible for people to improve their habits. When I was new to SO kasra was a yamming hopeless FGITW. He's still pretty fast, but he does do a lot of dupe-hammering and close-voting these days.
As Pterry would've said, perhaps the leopard can change his shorts.
 
sarcastic fun
 
@idjaw the complete body of work of this asker
 
@idjaw The question I'm talking about is here: stackoverflow.com/questions/45112476/…
 
cbg
 
12:47 AM
yeah that's a pretty bad question to answer
Especially with the OP being a serial bad asker
 
What bugged me more was his older questions are about 50/50 fine vs terrible: so it appears he just stopped bothering because people answered either way.
 
I keep telling that to repwfarmers when they ask why I downvoted their answers
 
Yeah, I looked through meta to see if there was a rule against down-voting answers on very low quality questions simply because it encourages more of them and it doesn't appear to be the case. There is a healthy debate about it, but I'm gonna continue doing that until they tell me that's against the rules.
 
If you hover above the downvote icon, it says "this answer is not useful". Enough for me.
Besides, the bottom line for voting patterns is that Tim lost his keys
 
1:25 AM
rhubarb
 
 
4 hours later…
5:29 AM
I've written scripts in bash. I've coded in c R and used pandas for basic grouping and stuff. I know what list dict are but never got a way to apply them and see them working . Is there any book recommendation where I can code or see sample code to do bigger tasks than just adding to list , removing from dict etc
 
6:17 AM
@user1977867 theo official docs
then start writing something
 
 
3 hours later…
9:05 AM
cbg
 
 
1 hour later…
10:15 AM
cbg guys!!
 
 
2 hours later…
12:03 PM
cbg
A relic is among us
2.6
 
dupe, though I'm unsure abput the target stackoverflow.com/questions/45117443/…
issue is class vs instance attributes
cbg
 
cbg Andras
Welcome to Saturday.
Although you have been Saturday longer than I have. Anything special I should know about since you are in the future?
 
Much headache awaits
quite literally :|
how are you, idjaw?
 
not too bad.....early morning with the little ones
finally able to make myself breakfast
you?
 
12:19 PM
My head hurts since I woke :(
strong cold weather front
I'm usually not sensitive to stuff like this
age is taking its toll ;)
 
ugh....I've been having that all week...morning routine of 2 advils
 
sucks
 
12:51 PM
Caught them doing this more than once, figured it was time to tell them to stop
@cᴏʟᴅsᴘᴇᴇᴅ Please do not make fun of how people write. Be aware that people on StackOverflow come from all over the world and english will not be their first language. If you find a typo that should be corrected, then go ahead and edit the question and fix it. But do not poke fun at people. That's bad form. — idjaw 15 secs ago
 
+1
especially from a repwfarmer
 
yup
 
Then again that question isbeyond language barrier
whitespace horror and "connnect"
OP should read at least once
 
I helped the question a bit and asked for more detail again.
 
post the link to the question that you mentioned above @idjaw
 
12:58 PM
It's there already in my quote at the end. Click on the time stamp "15 secs ago"
 
The comments are deleted though
 
yep found it. Saw the revisions and english wasn't way too bad though editing would make it better
 
lots of editing
 
1:00 PM
pre-idjaw I mean
 
i know
 
Yeah. They acknowledged their mistake, and deleted it, so I did the same.
 
Being a good and genuine user
 
 
4 hours later…
5:10 PM
what's a good commit message for "making a commit just in case, because I'm planning to make major changes and I might end up breaking everything"?
 
I would not make that commit until I'm ready to make that other commit, and instead I would make a branch that would collect this work, then open the PR.
Or, if you have preliminary work to set a foundation for that bigger work, then state something like that. "Laying foundation for supporting X"
 
oh, right. branches. those are a thing. good point.
 
Hello, I am newbie to python
I am trying to install openstack
BUt the following error is got by me :
Obtaining file:///opt/stack/cinder
Exception:
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/pip/basecommand.py", line 215, in main
    status = self.run(options, args)
  File "/usr/local/lib/python2.7/dist-packages/pip/commands/install.py", line 335, in run
    wb.build(autobuilding=True)
  File "/usr/local/lib/python2.7/dist-packages/pip/wheel.py", line 749, in build
    self.requirement_set.prepare_files(self.finder)
  File "/usr/local/lib/python2.7/dist-packages/pip/req/req_set.py", line 380, in prepare_files
Please help me .
 
5:26 PM
Hey. Im trying to learn python.
Any good resources you guys recommend
 
I have installed psutil =1.1.1
But still the error is not solved
 
@IccheGuri VersionConflict
 
I have installed psutil =1.1.1
But still the problem is not solved
what can I do ?
 
'psutil<2.0.0,>=1.1.1'
 
5:28 PM
How can I make A* search for tree in Python? I tried to solve an optimization problem.
 
@idjaw Thank you
 
@CaptainHere np
 
psutill = 2.2.2 is must right ?
 
@IccheGuri ContextualVersionConflict: (psutil 5.2.2 (/usr/local/lib/python2.7/dist-packages), Requirement.parse('psutil<2.0.0,>=1.1.1'), set(['oslo.reports']))
 
I have installed psutils = 1.1.1
 
5:42 PM
@user2219896 That's a very broad question. I'm not sure what kind of answer you're expecting. We're not going to write the code for you. Do you have a specific problem? If you don't know how to get started, then I'm afraid this might not be the best place to look for help.
 
@Rawing I would like to know if A* would solve this: stackoverflow.com/questions/44983929/…
 
I have no idea. I'm afraid I can't even wrap my head around the problem, much less figure out how it's related to pathfinding algorithms
I should look at the source code of big projects more often. Makes me feel better about my own code every time. Just found this in openpyxl: read_only = read_only
 
6:00 PM
@Rawing trick to rebind global name to local namespace?
 
nope, I checked
 
“Measure twice, cut once”? ;)
 
"just to make sure it doesn't lose its value" :)
 
6:19 PM
Hey guys. I am trying to understand this post and am wondering if it is ask the SO to input a dictionary interpolated data or have it get filled? stackoverflow.com/questions/39321207/…
interp_data
 
 
2 hours later…
7:58 PM
@JulianRachman Hello. I don't understand your question.
 
8:14 PM
Nvm im good
 
user6845426
cbg
 
What is the equivalent of the following JS code in php?
 
@William seriously?
 
oops I blame it on the randomized ordering of the tiles where you select the right page
 
better luck next time :P
 
8:47 PM
Hello
 
hello
 
I'm getting a dumb error in my Python/Django code. Since i'm new to this, I tought that someone would help me here without the need of a new Question ? : )
Here is model: pastebin.com/bWMam1M7
When I launch "python manage.py createsuperuser" I get this error:
TypeError: create_user() takes from 2 to 3 positional arguments but 4 were given
 
do you understand the error in general?
 
Yeah I do
 
I can help understanding the python part; I don't know django
 
8:55 PM
Ok tell me I'm sure it will help me to understand and then to fix it.
 
@Addict so I'd add *args to the definition and print that too to figure out what 3 things were passed along with self
@Addict the error says that create_user got called passing (arg0,arg1,arg2,arg3) where arg0 is self
but the definition of the function only expects 2 other args: email and password
 
Yeah I send the "username" args too
Do I have a way to see every arg that i send ?
 
but the current definition allows only keyword args
so pass (...,username=username)
 
mhh you mean like
 
if you add (...,*args,**kwargs) to the definition, the args tuple will catch all other positional arguments
but you probably want those to be keyword args
 
9:00 PM
myfunction(self, username=username, email, password, **kwargs) ?
Oh, ok.
 
except keyword args go after positional ones
 
I don't really get what Positional mean
 
and I was talking about calling your function
 
Sorry If my english is bad btw i'm french
Ok I think i got it
 
nah it's fine:)
positional args are what don't have a default value in the method definition
you can only identify them by their position in the function call
btw you can play around with all this without django, simple python
 
9:02 PM
Yeah I know that it's python features
But I think it's clearer now, thanks
 
In [305]: class Foo():
     ...:     def fun(self,var1,var2,*args,**kwargs):
     ...:         print(self,var1,var2)
     ...:         print(args)
     ...:         print(kwargs)
     ...:

In [306]: foo = Foo()

In [307]: foo.fun('first','second','third',first_keyword='asdf')
<__main__.Foo object at 0x7faa684d3f60> first second
('third',)
{'first_keyword': 'asdf'}
you can put together a small class to play around with if you're not confident enough with how it all works :)
you can try removing the *args from the method definition and see what happens, etc.
(and if you print(*kwargs) you will only see the keys of the dicts)
 
That's very helpfull thanks Andras
 
no worries:)
I suspect that you don't want to allow additional positional args, because you wouldn't know what to do with those
so you probably want to keep the *args-less definition, and pass every additional argument as a keyword argument
but django has some magic so my suspicion might be irrelevant :)
and really, your English is great, no need to worry about that
 
Haha
Thanks I keep working on my english so that's nice to hear ;)
 
SO is a great place for that :)
 
9:37 PM
hello, cᴏʟᴅsᴘᴇᴇᴅ
 
Yo @AndrasDeak, what's cooking
 
Not much, traffic's low here on the weekend:)
what about you?
 
It's 3AM here. The only time when traffic's low xD
 
yeah, that was my guess
for your time, I mean
 
9:41 PM
my guess for your traffic would've been "eternally jammed" :D
 
Sigh, you're not far off :(
At least during the day, traffic in India is horrible.
 
I've heard a lot along these lines and nothing contrary...
 
A 20km drive (12 miles) is a minimum 1.5 hour journey
 
If you're lucky
^ forgot to add that
By the way, Gordon and jezrael are beasts.
 
9:45 PM
I'm unfamiliar with those names
 
ah
sometimes the right action is not answering
though I think I badgered you about answering low-quality questions in the past, so your probably know my stance :P
 
I refrain from doing that now :) Leaning towards dv/close if it's unsalvageable... a comment if it's basic, and an answer otherwise.
 
awesome :)
thanks, on behalf of the community :P
 
10:08 PM
cbg
Is there a specific room for VM and network related questions?
 
cbg
possibly not, you should also look around on chat.SE
 
SE?
 
I mean chat.stackexchange.com
 
probably not ^
 
10:14 PM
"cabbage" greetings are a thing?
 
I meant look around rooms on the SE chat
@cᴏʟᴅsᴘᴇᴇᴅ sopython.com/salad
 
I searched for something like virtual and machine, but no hope.
Nearest thing in name was The Time Machine room
 
@RompePC network-related questions sounds a bit like serverfault?
 
Interesting
NO
Artichoke
 
> Server Fault is a question and answer site for system and network administrators.
so I'd try to see if there's an active room for server fault
 
10:17 PM
Yeah, looks alike, although I'll have to post it as a question
 
Cause there are only two real rooms: one isn't for live support, and the other is empty. User.thank_other_user("Andras Deak").
 
no worries
 
Oh, nice, no need to ask question. I forgotted to add the netbios name in Samba to the VM ._.
Banana then
 
11:11 PM
cbg
 
cbg
 
Anyone have a publicly available resume online? What contact info do you list? Do you put address and phone number like on a traditional print resume?
I shy away from doing so. I want potential employers to be able to contact me, but I don't want my mobile burning up from random callers, either.
 
11:31 PM
maybe I should just put an email and social media profiles, like SO, Twitter, and LinkedIn.
 
11:49 PM
@Code-Apprentice - I included home address, email and mobile phone number, and on the advice from a career planner, also my LinkedIn profile URL. Having too many people calling you with job inquiries is a problem most people would like to have.
Most will contact by email or LinkedIn anyway
 
he's probably more worried about SO askers calling him about the newest edit :P
as I understand, the CV would be posted publicly
 
Hm, I can think of a few posters here that I would prefer not have my mobile number
 

« first day (2464 days earlier)      last day (2484 days later) »