« first day (2206 days earlier)      last day (2743 days later) » 
01:00 - 18:0018:00 - 00:00

user559633
6:04 PM
 
user559633
blood and magic is a cool DnD abandonware game
 
user6568562
@tristan Nice : D
 
I'm thinking of picking up these games: 1 2 3
 
user559633
i'm playing this little indie game called "portal 2". i can't believe it wasn't popular
 
if it weren't for the underground game forums I follow, I never would have heard of that one.
it's....*ok*. I can't even joke about that
 
user559633
6:18 PM
i think anime fans are easier than general audiences. i've noticed a correlation between "anime art style" and positive reviews for smaller titles
 
user559633
Or maybe it's just a safer art style for indie devs to try to pull off
 
user6568562
Or maybe they're anime fans, themselves
 
@tristan no, I think that's pretty accurate. I think it's also that there is a huge preference to gameplay and fun than to AAA graphics.
you ever try playing resident evil 6?
 
user559633
was that the one in africa where they pretended not being able to move and shoot was a design decision?
 
That was 5
 
user559633
6:25 PM
then no. 5 is where i decided to never give them another shot
 
user6568562
Sometimes I stray from textbooks and start kayaking through documentation. Weird crazy anxiety exercise. I need yet another austere python beginner book. DS & A went rogue on me and started talking less about data structure and more about algorithms
 
yeah resident evil 6 is the one that you knew you were in for a horrible time, when even the logo had controversy.
 
user559633
What was the cover controversy?
 
user559633
I skipped everything between resident evil nemesis and 5, then decided there were too many great games to play capcom games
 
6:30 PM
exactly.
However. I do have to say, the team behind the revelations games went in the right direction.
 
user559633
Oh, kotaku. Those mouth breathing, feigned offense having idiots
 
it was the first link I found that had a reference to it.
 
user559633
haha, i think people are reaching if that's what they see
 
hehe
you get some funny results looking up "resident evil 6 giraffe"
On the topic of Capcom. I cherish my 3DS copy of Revelations printed with the typo Revelaitons.
So glad the copy I got was that one.
 
user559633
the turrets in portal 2 are adorable
 
I'm a fan of the potato
 
user6568562
Anyone played Commandos 2 ?
 
Hi guys! :) Does anyone in here reverse engineer modules?
@idjaw as am I, tell me more of its glory!
 
user559633
@Josh what kind of modules?
 
I've been trying to convert an itertools function to VBA, but I need to understand it fully to be able to do this. I wrote a question online, but I think people misunderstood what I was actually asking for so seemed to be downvoting for fun.
@Tristan :)
 
@Josh you seem to have accepted that solution and it's not downvoted?
 
Which solution??
 
You said you wrote a question. You asked a question about doing something with VBA that you accepted. Or did you ask another question more recently and you deleted it?
 
Yes, that's right sorry. :) I deleted it in the end because it was just getting down voted, and reposted on a more expendable profile, but I didn't get any joy. I'm trying to understand what happens during the first pass of the combinations module during the else statement. Hang fire and I'll send a link
 
user559633
@Josh Why do you have multiple StackOverflow accounts?
 
6:54 PM
I set up the second by accident when I logged in with the wrong email, why?
 
user559633
Just curious what the point is
 
Fair dos, that's a fair question @tristan :) here's the link: stackoverflow.com/questions/40331574/…
 
Does any one have a dupe target for translating a string based on a dictionary?
>>> mapping = {'A': 'Q', 'B': 'W', 'C': 'E', 'D': 'R'}
>>> "AB".translate(str.maketrans(mapping))
'QW'
Something which does just this ---^
 
what question are you trying to close?
 
user559633
I didn't know there was a str.maketrans
 
also, @idjaw link is here: stackoverflow.com/questions/40331574/…
 
If I find a dupe, I can delete my answer and hammer it.
 
user6568562
@Josh I believe the feedback you got in your question is pretty valid and comes not from people having fun but from experienced users trying to help you to the limits of a realistic extent [ :
 
cbg
@idjaw hmm no-one noticed that my answer was missing a code block
 
user6568562
Also if I may, drop one of the profiles. It's not cool, man
 
7:09 PM
@AnttiHaapala haha..wow
 
I did notice it
Thought you would fix it promptly
sorry Antti :P
 
@vaultah but no one wrote a comment :d
 
You know what happens a lot? look at answer, looks right, look at rep, must be right, +1
:P
 
@randomhopeful I don't actually want the second, I use one email address for forums etc to avoid spam, but I logged in with my proper email account ages ago by accident. They were poking fun at the start, let's be fair on that. I understand the code well enough to manipulate it in python, but some folk seemed to assume that I didn't know the difference between an iterator and a variable so I was being sent links to all sorts of overly basic answers. Do you think my question is clear enough now?
 
@idjaw I still wonder how bad the phở bò is in Montreal...
 
7:12 PM
@AnttiHaapala I have never had one outside of Montreal. Within Montreal I know which ones to avoid. You're going to have come here, and give your review. :P
 
I had phở bò today in Helsinki, this was a) by far the cheapest bowl ever in Finland, and b) by far the best in Finland...
... and it still sucks.
 
I do have vietnamese friends who frequently only attend a select few for phở bò.
 
even so...
 
yeah
 
Rhubarb all, Time to sleep.
 
7:13 PM
rbrb @BhargavRao
 
did you ask them if it is good or the best (in Montreal)
 
If you find a target for that post, Please hammer it. Thanks
 
I'll do some investigating and get to you :) @AnttiHaapala
 
@idjaw because a real phở bò broth is such that you'd just eat drink the broth.
you'd be happy just if you only had the broth to drink.
 
There is one restaurant near my wife's work that is like that.
And you never do takeout. You always eat it there. :)
 
7:17 PM
Has anybody had chance to look at my question? I'm sorry, I know there are a few convos going on :)
 
user559633
everyone knows the best pho is in milwaukee
 
milwaukee's best
 
user559633
@Josh if no one started answering or asking about it, it's because no one in the room was interested
 
@tristan Is milwaukee the pho king?
 
ok, thanks any way :)
 
alright guys, we're going to Milwaukee
highest rated on Google Reviews
 
user559633
i'll pick you up. keep an ear out to the street for someone screaming "oy! legoman! let's pho"
4
 
@tristan checks passport. We're good man. Picked up a two-four. We're good to go.
 
user559633
@idjaw checks if car is self driving f it, worth the risk for milwaukee pho
 
7:26 PM
this is going to be the best road trip ever
 
stackoverflow.com/questions/40331567/… bash: update_live.py: line 6: syntax error near unexpected token ('` (typo)
 
did you guys happen to catch the question I posted late last evening of an individual who was trying to scrape late night alone time websites.
 
user559633
lol no.
 
unfortunately, deleted. But, wow.
 
trying... to... find... one... good...question!!!
now 3rd page...
 
user559633
7:28 PM
i should probably 10k
 
not a single one answerable
 
OK CAN WE Write a python program that outputs an HTML page with a spectrum of colors on it. — Pankaj Bisht 29 secs ago
 
4th page
 
user559633
YES WE CONCEIVABLY CAN
 
still not a single answerable one
 
7:30 PM
here antti undelete this one and answer it
I think their account got deleted too or something. The username is different
@tristan just to share it, I sent a screen grab to you know where
 
cabbage
 
cbg heather
 
I have an interesting python problem. So, I'm trying to create a quantum computer simulator.
And I need to run two calculations in parallel, sort of - because I'm taking in user input, and I need the program to calculate the results after all the input is done in two special cases, and I was wondering if there was any way for it to delay the calculation.
I could change the way I'm trying to do it, but I've already put a bit of time into debugging and setting up the current outline for the code. So I don't really want to rewrite the whole thing.
 
7:48 PM
asparagus with the above problem, please
 
7:59 PM
The problem is that you happen to run it exactly today. UK changed summer time exactly today. Iceland doesn't observe DST. Russia neither. NZ didn't change today. — Antti Haapala 1 min ago
 
8:20 PM
cabbage
 
cbg Andras
 
cbg Andras
 
cbg
 
user6568562
9:04 PM
Hey Andras [ :
 
@heather so is there a clear question there? I'm not sure I see one. I probably won't be able to help beyond "maybe you mean time.sleep", but others might, if there's a clear problem specification, possibly paired with an MCVE:)
@randomhopeful yo
 
@AndrasDeak, time.sleep()? Does that delay a certain section of code until something else starts?
 
that suspends execution for a given amount of time
if you need some event handling/async stuff, that is probably also doable, but then "I probably won't be able to help"
 
@AndrasDeak, then I think I need the latter.
 
stupid question, but do you really need to do the two in parallel?
and are they separate programs?
 
9:15 PM
i think so, because for example, the current setup takes in the current state of each qubit, and then manipulates the qubit based on that variable containing the current state of the other qubit, so the way I've written the program they do need to be in parallel
and it is one program doing all this
 
are those operations very heavy so that you want to do them in parallel?
 
well, it isn't so much that the operations are "heavy", it is just a little matrix multiplying with numpy, but that the variables need to be set at the same time such that the variables aren't undefined when I run the program.
perhaps a quick illustration would make the program more understandable in structure:
 
Definitely!
see also MCVE;)
 
if it is calculating a two qubit system, then it first asks for whatever operations you wish to perform on the first qubit, so you might say a single qubit gate like the NOT gate, or maybe the Z gate, or whatever, and you might also say that the qubit is the control qubit in a two qubit gate. So then a variable would record the current state of the qubit, say it is in the |1> state. So then
then when you are done recording the operations on the first qubit it asks for the operations on the second, so you might do whatever single qubit gates, and then you might say the target qubit for a two qubit gate. And so the system would access the variable that holds the state of the first qubit, and says, oh, it is |1>, I will do whatever corresponding operation on the second qubit.
this works very well. But then lets say the first qubit is the target qubit and the second is the control.
then because the system is working linearly, it is trying to access a variable that isn't there, and it gives an error and stops. does that make any sense?
 
and why can't you sequentially read the states and operations and store them into different variables and operate on them after reading stuff in?
 
9:24 PM
hmm. So do you mean immediately taking in the states of both qubits and then performing the operations afterward?
 
yes, or storing qubits and operations until it's know what you need to do
If you do it in parallel, you still need to gather all sufficient information. Don't you?
I'm probably missing something about your problem, but I don't see how parallelism is needed from a design point of view
 
well, I'm not sure. so, if I do it the way you are saying, I'm not sure it works, because the user can input single qubit gates that change the state, and then the control recording is dependent on that changed state. and so I'm not sure how I would structure that.
 
well, what would happen in a parallel scenario if the same input comes along?
 
but then, you bring up a good point with the parallelism, I'm not sure that would work either now that you say that.
so I'm not sure at all what to do now =)
 
OK:)
 
9:28 PM
i wonder what would work...I'm a bit of a green bean with python, especially with python 3, so I don't really have any clue =)
 
Well, I don't think this is a python issue. If you know how you want your program to work with input, you should be able to implement it
 
i'm sorry, I'm not sure what you mean...
 
user6568562
@heather A way to share snippets of your code that produces the problem you're thinking about would be helpful to you, at least a little
 
I don't really understand the quantum computing lingo you use, and it's probably distracting for others too. You should try stripping down your problem to some blocks. You need some states (qubits), you need further info about operations, you do stuff depending on those inputs...but I don't see what kinds of things you can do with various kinds of input
so you should first be clear about what the workflow should be. What do you input? What do you do with that? What is needed for each step?
 
@AndrasDeak, okay, so I input a gate, which represents an operation, basically just a matrix in most cases, that is applied to a number which represents the state of the qubit. So I guess I'd say a word is inputted, it is checked whether it is one of several different words, and then depending on that word, some multiplication goes on between two numbers and that is put into a variable that gets changed as more words are inputted.
 
9:33 PM
OK, so far I don't see the logistics problem:)
 
the special case here is when the word represents something that happens to two numbers: state 1 and state 2. basically, either state 1 controls what happens to state 2, state 2 controls what happens to state 1, or state 1 and state 2 are swapped.
 
when you read the operation that needs 2 states, can't you just read another state?
or just specify up front how many states you'll enter
 
I'm not sure what you mean by that, sorry.
Well, what it currently does is
 
@heather well: 1. ask user for a state, 2. ask user for an operation, 3. oops, this operation needs 2 states, please input another state
 
@AndrasDeak, not quite, that's the problem. Sorry, I'm not explaining this very well. =)
 
9:36 PM
@heather I have a distinct lack of domain knowledge about quantum logical gates:)
 
So, imagine you start with 2 variables that represent states. These are preset according to a user input.
Then, the program starts with the operations done to the first state.
 
yup
 
so the user might input a word that represents an operation to the first state only, and then the system does that, asks if the user is done, y/n, and the user says whatever, we'll just say that they say n
 
yup, so far so good
 
and then, they can input a word that represents an operation to both states if they want, and it can either be a case where state 1 controls whether or not something happens to state 2, state 2 controls what happens to state 1, or state 1 and state 2 are swapped
now let's just say that it is the second option, that state 2 controls what happens to state 1.
 
9:38 PM
OK
 
so, the system cannot just look at preset state that was set at the very beginning.
 
yup
 
this is because, to skip ahead a tad, the user is next asked what operations they want to perform on the second state, and they might perform several options before they want to record the state that controls the first qubit
and herein lies the logistics problem.
does that make sense?
 
hmm
OK, so at a given step, you have an operation wherein state 2 controls the action on state 1, but the user is allowed to manipulate state 2 beforehand?
 
user6568562
@heather What is the data model of the state ? (int, float, sequence ?)
 
9:41 PM
@randomhopeful, it is a numpy array
@AndrasDeak, yes, exactly, and the questions about the manipulations on state 2 are asked after the state 1 questions.
I'll be back soon, got to do something for my dad
 
yeah, I don't think this needs parallelism, if you figure out the actual logistics. Since the user has a single keyboard and a single thing to input at a time, that's what should be figured out, as I see it
@heather see you later
(I can imagine that OOP might make this more manageable, but that's already an implementation detail that should probably come later)
 
user6568562
: D
 
Is there some PyQt expert around?
I'm having a QListView with a QFileSystemModel. Now I need to change the color of the files shown depending on some condition. I therefore subclassed QStyledItemDelegate and reimplemented its paint method to show the filename in green, if condition is fulfilled - which works fine. However it now looks kind of ugly: File icons are lost and row selections are not as shiny as in the original case. Is there a way to get the original behaviour back? Does anyone know which ItemDelegate is originally used for QFileSystemModel in a QListView and how to get its sour
 
@heather as I see it, it's unnatural to ask for the operation that uses state 2 as input, then manipulating state 2. I think the obvious solution would be to let the user manipulate the states, then do the operations. Of course, you can ask for the operation earlier and store it for future use, but you really need to finalize the states before using that information
 
user6568562
Just don't put planet earth on danger, please
 
9:49 PM
?
 
user6568562
Quantum physics scare me is all
 
quantum information theory won't destroy the planet. Worst case scenario is global economical breakdown.
The most dangerous parts of physics are fairly simple: take a bunch of this material and pile it up real nice.
 
user6568562
I wouldn't know about a global economical breakdown, I have a huge ass mountain filled with unhunted boar near me*. I can see myself living Tarzan style
 
Then you're set for the apocalypse:) Good for you!
 
user559633
Sounds like that would get boaring
 
user559633
9:53 PM
yeah yeah boo all you want
 
user6568562
Eyyy : D
 
@tristan nah, you know we love you
you're our broar
 
user559633
bromander in chief
 
user6568562
I have to admit, the first annoying guy I face, I would tell him : "Come on, dude, Europe is no longer electronically guarded. The sky's your limit." We'll have the whole mountain to ourselves (with a sea beside it) and all the boar we could eat
 
It will be great dying of thirst next to all that water;)
Also, gout danger
 
user6568562
9:56 PM
Worst case scenario for water, we'll travel 100 km tops
 
user6568562
Ok well now you're talking social care, I'm not the goverment, dude
 
user559633
now, i'm not a professional european, but 100km is still quite a travel in the post-apocalyptic world
 
you can ride boars
 
user6568562
@tristan And a fun travel, Mad Max style
 
user6568562
For about five years, then by sea, or on horses
 
user6568562
9:58 PM
Or on foot, I mean it's the apocalypse, not a Jamaican resort
 
10:38 PM
@AndrasDeak, okay, so it sounds like you are suggesting take in all user inputs, run the calculations such that you have both states for the multi-state calculations, do the multi-state calculations, and carry on.
@randomhopeful, physics will never destroy the world, only people will.
 
@heather except heat death of the universe?
 
@AndrasDeak, ah, whatever, that's cosmology =P
 
pfft :P
cataclysmic cosmic ray bursts?
rogue black holes?
 
Cosmology, cosmology...
I'll just keep blaming all the problems on cosmology =P
 
Supervolcano eruption? That's just geology, right?
 
10:46 PM
yeah, geology
 
anyway, yeah, I guess I'm suggesting to rationalize your inputs. If you don't know what the input is at a given point, the program has even less chance to know that
 
right, yeah =) I was just making it overly complicated, I guess. Unfortunately, this means I'll need to rewrite a not insignificant portion of my code...=(
 
yeah, this is also the longest program I've ever written...so a significant portion = a lot of code
but, oh, well, what else can I do.
 
well, I suggest that you think this through thoroughly, before you rewrite it
set up a clear workflow you expect, so that you can realize before hours of work if you're again overcomplicating/being suboptimal
 
10:49 PM
yeah
definitely will this time. life lesson: learned.
 
but anyway, parallelism is slightly non-trivial in python due to the global interpreter lock, but the threading or multiprocessing modules can help. I've only used the latter, for some parallel number-crunching
 
okay. thank you so much for your help!
 
user6568562
Knowing Google App Engine exists is kind of reassuring
 
@heather no worries:)
 
user6568562
Once I'll be able to think about algorithms without hyperventilating I'll just mortgage the house
 
user6568562
11:00 PM
From then on, smooth sailing to Forbes list
 
you won't need any houses after the apocalypse anyway
wait, maybe you do...
@wim there's an interesting discussion on meta along the lines of what we discussed recently: whether crap should be deleted or left to dust as closed. In case you're interested.
 
user6568562
That's another scenario already taken care of + I just remembered boars need water too and there's a bunch of them so everything's cool on that front
 
user6568562
I think my project thing is actually a plan b for when there isn't an apocalypse
 
Be careful though: blood might temporarily quench the thirst, but all those juices and ions will make your situation worse overall.
 
user6568562
I don't know dude, people lived on that diet for very long and I don't wanna live for a hundred years, anyway
 
user6568562
11:09 PM
But I'll make sure to exercise
 
those people drank water on the side
 
user6568562
Dude there must be water there since boars live in it : D
 
hmmmmmm.....
but when you migrate 100 kms on their backs...
 
user6568562
Good luck trying that on a living one :D
 
*some domestication required
 
user6568562
11:17 PM
+ I said tops. There are other places to try before
 
user6568562
 
pretty Jurassic Parky
 
user6568562
I can't find a better picture
 
user6568562
Haha it does look like that a bit :D
 
user6568562
I forgot there's also fish to fish if you're vegan
 
11:21 PM
fish to fish? vegans don't eat fish
AFAIK vegans devour the guilt of meat eaters for sustenance.
 
user6568562
Oh I'm sorry I thought vegans eat whatever tastes bad so they can always be irritated or focused I can't remember
 
user6568562
And fish does taste like you're hit by some terrible disease
 
no, vegan lifestyle is supposed to be about not harming/abusing animals in any way, including taking away their milk (belongs to babby animal) or stealing their honey (buttload of workhours donated by bees)
 
user6568562
Haha :D
 
not joking:P
there are some forms of vegetarianism that include fish in the diet, namely pisceterianism pescatarianism (google to the rescue)
 
user6568562
11:29 PM
Humans got fat like in that Tony Escobar quote. I see Don Quixotes in every "ism"
 
user6568562
You also have Peta. Some important object from the vegan constellation. I know it isn't funny but their euthanasia policy is rather hilarious
 
Well peta stands for People for the Ethical Treatment of Animals, which is not a bad goal. But you can do something good and you can do something well, and the two don't always coincide
 
user6568562
That's a nice point of view
 
user6568562
Dying of Cholesterol will be punishment enough for making fun of vegans, anyway
 
I'm for People for the Equal Consumption of Animals, PECA =P I love bacon, and spare ribs, and honey, and milk, and dairy, and chicken sandwiches, and...
 
user6568562
11:38 PM
You sound like a fine buddy to have on my mountain. Don't bring over those qubits though
 
@randomhopeful, hey, they'll pass the time =P
 
01:00 - 18:0018:00 - 00:00

« first day (2206 days earlier)      last day (2743 days later) »