« first day (3668 days earlier)      last day (1504 days later) » 

00:00
stackoverflow.com/q/64616803/4799172 too broad. It'd take a long time to go through the whole restructuring if they're not familiar with Flask
@roganjosh My vote would be to use a REST interface in the Java code, not a ZMQ socket. Much more support for frameworks, scale-up, failover with an HTTP-based server vs. a socket based one.
00:21
Fair, but what do you mean by "scale-up" here?
I've actually struggled a bit to get my head around whether requests are queued implicitly with ZMQ
 
1 hour later…
01:47
I'm thinking of HTTP servers that can get replicated to handle greater load with round-robin load balancing.
I'm gonna oppose you just for the sake of exposing potential holes in my understanding. I'd use Nginx to distribute the load to different IPs/ports
In other words - I think you're probably right (I'm not sure I'd doubt myself so much otherwise) but I can't elucidate the reasoning :)
Actually, I'll take the time to build the REST interface. Many thanks @PaulMcG for your input and rubber-ducking for me
I've just had a flashback to "we've always done it this way" and how much it annoyed me.... but I'm now arguing "this has always worked" even though there's that bugbear in the back of my mind that it's not the correct way. I certainly don't want to become one of those people :P
02:16
Glad to be of help!
 
7 hours later…
08:47
Morning cabbage!
09:34
Cabbage morning!
Cabbage cabbage <mumbles>
Morning cabbages. What's up?
09:52
Finally, it's Saturday. I can finally focus more on studying. Am currently preparing notes for my 3rd subject.
How about you?
@inspectorG4dget Squash 'em before merging to master?
@BožoStojković Working out how to get a matplotlib plot into a PyQt program as a raster image. Nothing too taxing. About to break off for little shopping and perhaps a light brunch.
Now I'm working five days a week the weekend time is more valuable, and less will be spent programming :-(
@BožoStojković Just tidying up at the moment but it's a pain. Just before lockdown, we had the whole kitchen ripped out and loads of odd jobs started in the house (like leaks in the roof due to falling tiles). Only now are we managing to get people to turn up to actually finish the jobs, so it's a building site - but someone's coming to price up the remaining jobs
@holdenweb That's too bad. I wish I didn't have to study something I'm not that interested in, so I can focus on programming and building my portfolio.
@roganjosh It maddens me somewhat that it takes so much time for someone to start working. We had an earthquake during lockdown, and still nobody showed up to evaluate our building and do repairs, mostly on chimneys. We had good luck that nothing serious happened to us and the building itself though.
I'm wondering why your whole kitchen got ripped out though.
10:14
@BožoStojković just lol. In the space of time I was typing that message, the builder turned up and said "sorry, I can't quote you for the other jobs (e.g. fitting the kitchen) because I've just got a contract on a new housing estate. Cheers, bye". Back to square 1
Artichoke!
That's just incredible, can't believe that is happening to you :/ How long will that last, jeesh..
Things are just a bit topsy-turvy so I kinda don't blame people taking the biggest grabs they can get right now. I also went into this "situation" as self-employed and it's not so easy
As for why we ripped the kitchen out, it was just a general revamp that would have been completed in a couple of weeks... just bad timing. We have the new kitchen, but it's piled up in the living room. You have to dodge the oven on entering the house :P
Oh.. Oh lol. Sounds like our building at work that was somewhat damaged by the earthquake. We are still entering through scaffolding.
@holdenweb guess you need something more than "save as png"?
At first, we had to enter through storage area, tripping up on various boxes to get inside. Your oven reminded me of it :P
10:30
At this rate I'll probably just end up fitting it myself. I dread to think what it would look like if you let an engineer loose on something that is supposed to have aesthetic appeal, though. I mean, it would be a functional kitchen, but perhaps not what was initially imagined
Gas or electric oven?
Electric but the cabinet was specifically designed to house it. I can, of course, plug the oven in. Making everything flush to the worktop is an entirely different matter. I'm not even sure where I'd put the duct tape
So at least you don't need a certified gas plumber
Perhaps that would be the best thing to do. Who knows how long you will have to wait otherwise.
10:50
IKEA furniture helps a lot ;)
If it was IKEA then I'd have just built it already. But my mum saved for ages to get something custom-built by an independent carpenter and we're having to treat the wood with different waxes etc. just to stop the work surfaces warping. I daren't let myself try fitting it because I know I'll end up botching something somewhere. I did all the rewiring in the room etc... but I'm not assembling the units
Oh well, we'll get it sorted soon. More pressing is that I'm soon to turn 33 and I'm back living with the mother. There's a number of things that haven't gone quite to plan this year :P
11:09
Best of luck with that! This year is pretty weird and heavy for everyone I've talked to so far..
Indeed. I don't need any luck as it stands; I've managed to get a grip of the situation within the constraints and I'm just fine :) My "33 and living with mother" was more light-hearted than anything else :P Alas, there is no basement here for me to work/throw shade from
@roganjosh ugh
@roganjosh so no video games for you
I have 2 Guitar Hero guitars within reach, an N64 and a PS... not one has been used since I moved here. I guess I really do need a basement to be able to use them :/
11:35
I asserted a bit ago on a question that there's no size limit on CSVs now; is that actually true? I'm a bit confused once cloud services come into play
NTFS/FAT probably go out of the window
What's a "CSV"? If a text file format then the only limit is that of filesystems
I.e. nothing specific to CSVs.
Well they were talking about a "huge" file that had ~1000 rows (heh). So my question is now completely open-ended just to understand whether there really is a ceiling. If I had a petabyte-size file, can cloud services still make it look like a single file object even though it would exceed the capacity of a single HDD?
well a 1000-row csv can be huge if it has 100M columns
Touche :P
For context it was this question. I suspect that VSCode truncates the view, and the question is 2 bundled into 1 - truncation of the rows it displays, and the encoding of the file/terminal. But I'm poop with string encoding so I'm probably not the person to answer
> because csv don't know weird german letters (ä, ö, ß, ü)
Yeah, no
I bet csv is smart utf8 and what they open it with is yam latin1 due to German locale
11:51
mm, that wasn't the type of response I expected. If you're hedging bets like that, perhaps the question is just unclear. I originally suspected it was simple enough for people "in the know" to answer
@roganjosh I feel for you. That's the pits.
@AndrasDeak That's my fallback plan, but ideally I don't want to touch filestore. Shouldn't be impossible now I've got the shopping done.
A quick question which I can't google: [*iterable] was introduced in python 3.0, right?
@roganjosh "Plug in the oven" sounds dangerous. Those are high-current circuits, and if you don't tighten the connections down with a spanner you run the risk of fire from overheating a resistive connection.
@holdenweb Oh sure. The discussion ends with me basically saying "I ain't touching that" :P
@XRFXLP I don't believe so. 3.{4,5,6} sound more probable to me ... [opens documentation]
11:59
Yeah, doesn't seem from here
@roganjosh decently sure that CSV is technically a stream format, not a file/static format. So „as large as the hardware supports“.
@holdenweb Seems to be 3.5?
@XRFXLP PEP 3132 seems relevant, but by its very name, it suggests it's building on a feature
People just tend to put those tiny toddler baby streams into files all the time, but they can grow much larger in the wild.
I was going to look for the introduction of starred_list to the grammar for a list_display but I lost the will to do the research.
12:02
@BožoStojković yeah, seems right.
> Unpacking is proposed to be allowed inside tuple, list, set, and dictionary displays
Huh, that's a lot later than I expected
Thanks.
Suckered myself into it:
0c0da48aede (Martin Panter 2016-06-12 01:46:50 +0000 247) list_display: "[" [`starred_list` | `comprehension`] "]"
stackoverflow.com/q/64620188/4799172 too broad/needs debugging details. I'm a big fan of the free-hand doodles but I can't read what they wrote and the circle isn't even on line 200. And the number of "test" files suggests this could go on for some time
12:10
Guess that puts it in the 3.6 release first (though it's possible that line was edited earlier and that is now obscured).
Nope, the WhatsNew says pep448 went in to 3.5.
In 3.5.0 that line read 96593ed3480 (Georg Brandl 2007-09-07 14:15:41 +0000 205) list_display: "[" [expression_list | comprehension] "]" so I guess that means they hadn't fixed up the syntax on the initial 3.5 release.
But the change was in by 3.5.5. Here endeth today's spelunking session.
12:30
@holdenweb not sure I understand. fig.savefig supports BytesIO. Does pyqt?
I'll tell you when I've determined the optimal path :-)
indeed
Oct 26 at 13:24, by davidism
Anyone know when ["a", "list", *extended] syntax was added? Having trouble remembering the right term to search for.
synchronicity
12:47
RIP Connery
@roganjosh S3 limit 5T
@AnttiHaapala That's actually really good to know since we have S3 in our "stack". Thanks
also,
for that to work you need to use multipart uploads and you'd probably want to know ballpark estimate of the file for it to be effective, max part size 5G and 10k parts max
so it will become harder.
in any case, you'd want to split way sooner.
@AnttiHaapala :'(
13:21
I really wish 10K rep gave you the option to comment on deleted answers. Somebody is wrong on the internet and I can't pull them on it :/ "Downtvote for correct answer? LOL :)" No, it's a broken answer that's easily demonstrated
@roganjosh get a diamond and then you can? :p
Even better, I could just give you some sausage rolls and you could do it for me? :P
13:51
stackoverflow.com/q/64622325/4799172 I'm guilty of misreading it myself. Maybe it can be duped to something, but it's not an unreasonable question IMO
14:11
@roganjosh at what rep can you see deleted answers? I am trying to help an user and I have seen that comment in an answer before it was deleted
@python_learner it's 10k to see deleted posts
thanks, I saw "access to moderator tools" in the privileges thing for 10k and thought that was something else if only I read the full description :/
@python_learner it's actually the question you answered but you won't be able to see the competitors because they've since deleted :)
thats why I was wondering, fwiw that would be an interesting question if OP wanted find the max value for all possible combinations in each iteration
@roganjosh really the only thing you need is the ability to unsee deleted answers.
14:22
@AnttiHaapala I'm trying to think of the term. "morbid curiosity" maybe is relevant, but I just can't help myself and I feel there's a name for the condition
I downvoted and commented on one. I didn't even get to the "LOL"-commented answer before it was deleted, but their assertion is just garbage. print() is enough to illustrate it. Weekends suck if you want decent advice
congrats on 10k though... now you just need to get to 20k :)
Congratulations on 10k :). Keep helping :-p
@JonClements you and I both know I won't hit 20K through activity. Maybe by 2030 my answers will drag me over the line, but the main feed is just...
@AshwinPhadke Indeed I will. Thanks :)
@roganjosh the real target is 35k
then you've maxed your delves
although not everyone uses them all the time... 20k is useful as then you can cast delete votes on answers...
14:34
Ugh. Lots of targets. I'm tempted to do a sweep of the main feed some day and answer the dupes/typos that are pulling in the points for some people. I'm not sure how I'd then be received in this room but, hey, I got some internet points under my belt
M G
M G
Hello guys, is it okay to ask about Python/Selenium here?
@MG Hello. Sure, but do keep in mind the room rules specifically that big blocks of code should be posted off-site and linked here
Also in the rules - you've just asked on main about this, no?
M G
M G
SOrry I am new to chat, I will find the rules and re-read them before posting :)
That's fine, don't worry. But I don't know how your question on main can be answered, so I'm inclined to vote to close it
It might be possible that someone in the room can help crystallise the issue for you, but you'll want to be clear
M G
M G
I have updated the question not sure if it helps a little
14:47
In which case, it's probably best that future discussions go on in that question's comments
M G
M G
Thank you
@roganjosh might depend on sausage rolls? :p
ugh... while I hardly use it - Facebook is blitzing me with "friend suggestions" again recently... most of 'em appear to be my 15 year old nephews school friends (mostly girls - so not sure what he's up to...) - not like doing a "add as friend" for any of those would be massively creepy at all is it - thanks FB...
@JonClements Just another example of how Hollywood glamorises bribes. I thought I'd already bought you with the 50K sausage rolls delivered - yet you ask for more :/
all this joking aside, I wouldn't mind a sausage roll right now... got a pack of those Greggs ones in the freezer... might do a couple of those with mash and beans tonight... ummm....
That's really not a bad shout. You better have a couple of slices of Warby's bread to accompany it!
15:00
Mash and beans...
@AndrasDeak is there a problem, sir?
None at all, I'm just standing here biting my thumb
I actually ate mash and beans (with chicken) last night. It's a perfect combo
15:03
Nice Josh. I was fasting yesterday.
@roganjosh don't think I've had beans with chicken and mash for something I've cooked... mostly go for sweetcorn
@Destroyer-byte It's my ignorance, but I'm curious about why? I'm only really aware of Ramadan and that's long gone for this year
@AndrasDeak beans on toast - it's a fantastic lunch - especially with a little bit of grated cheddar over the top
Laurel, Yeah but in general my family fasts 4 days a week.
(don't tell me you've never had that)
15:06
@JonClements in that case I won't
@Destroyer-byte wow - is that actually healthy?
I've been to the UK and I've seen full breakfasts... from a safe distance
@AndrasDeak you.... you didn't have a Full English?! Don't bother revisiting, we don't want you :P
Laurel, it actually is Jon, but me doing IT and lockdown involved too, is not really helping 😂
How do you highlight a name? Like, my name on my screen is highlighted in certain ares.
How is the weather at you guys' place?
@AndrasDeak your loss :)
15:09
@Destroyer-byte Your name is presumably highlighted when you hover over replies. There isn't a way to do it manually
Oh. I see.
Oh, yes I understand now.
Only the person to which the message is directed, can see their name being highlighted.
@roganjosh keep your beans
Laurel
You know, the weather this side is very cold.
Mind you... what should constitute a "Full English" differs... I do actually really like a good bit of "black pudding" with mine but it's not to everyone's taste
@Destroyer-byte windy and raining here... but it's England and it's winter... so... not to be unexpected
@AndrasDeak Actually, before I start digging for evidence, I'm pretty sure that Heinz got sued for shipping watered-down bean sauce to Europe but not to the UK. So maybe you didn't get the true experience
15:14
I think I remember beans, scrambled eggs, toast, sausages and maybe bacon
Wow Jon. England is a good place.
@roganjosh and Zott strawberry joghurt contains more fruit in the West. Bummer!
"Maybe bacon"?! Definitely bacon!
Yeah our winter peak has ended. It was very hot recently. And I guess this rain is because of the day our temperature was at 36 degrees.
How cold does it get during the year for you, @Destroyer-byte?
15:18
In Durban?
During winter, it goes around 8 degrees at night, and around 20 degrees day.
We were getting sunny days the past few days, but rain came the last two days, and is still happening as we speak.
That works for me. Maybe I should move
Laurel. I take it that cold days at your place are extreme temperatures.
I'm guessing negative values.
@AndrasDeak you do know that a "Full English" is eaten rarely though, right? It's mostly if you go to a cafe or maybe if you've had a few too many the previous night and need to soak things up kind of thing
The UK doesn't have extreme weather, really, but it definitely goes negative on the Celsius scale
Wow. Do you prefer the hot days or cold days Josh.
15:23
Can I pick the inbetween? :P
Laurel, sure.
So I guess it also depends on how you feel at certain times.
I actually have Raynaud's disease so cold doesn't work well for me typing. Other than my hands getting cold, I much prefer being too cold to being too hot
Ah I see. Yeah me as well- I also like a cold day.
it's generally easier to "control" being too cold than being too hot
I don't dislike warm days (cause i'm born during summer), But cold days just make me feel awake.
Yeah Jon, I agree with that.
Tomorrow is the beginning of a new month.
15:30
apparently from what I recall reading humans are probably the most versatile when it comes to temperature and being able to survive... there's some species (I think oceanic) that they can't exist outside of a 0.2C difference either way...
Artichoke.
@Destroyer-byte yeah... that happens 12 times a year :p... I think what most of us are waiting for is for a year that isn't 2020 and we can move forward again
Laurel.
Yeah. This year has went by really quickly.
@JonClements there must be caveats with that, surely? i.e. we can make clothes
Put a naked person in a freezer at 0C for an hour and they're deaded
@roganjosh yeah... from what I recall... some of it is tech. but some of it is also biology
15:34
(not speaking from experience)
I'd be rather worried if you were
@roganjosh just keep the sausage rolls coming and I won't speak a word :p
Guys, I will be going off for now.
enjoy your day @Destroyer-byte
Bye everyone. Thanks for talking.
Thanks Jon. I hope you have a great day as well.👍
15:40
@ParitoshSingh Congrats for getting that far before you get worried about me :P
Hey fellas :)
Hello :)
hey josh :D how u doin man?
All good here, you?
15:51
some problems, some struggles, but all in all good :)
this damn virus :/
It is ****, but not going away. I hope it hasn't impacted you too much
Chat can kinda continue on as normal and not have to consider it, though :)
yeah at least we got tthe internet
else we would be completely insane by now LMAO
@PedroSpinola maybe we are and just don't realise it? :p
not completely insane though :D
just 90%
my project is alive, but god, we could only get done about 30% of what we first envisioned
tech is so complex and hard lmao
No, not completely insane. We only need food security, so maybe some bees and a giant effigy made with wicker?
15:58
what?
too advanced jokes lmao
@PedroSpinola ref: this but why are you at 30% implementation?
I'm not much into horror, but I'll sure take a look at a british horror movie, that would be a first for me. added to my list :)
I don't think it's particularly scary, just maybe dystopian. I referenced it, but that doesn't mean I endorse it :)
what we envisioned was way too big and too complex, requiring more resources than we had available, so we eventually decided to focus on our core elements. Than we (painfully) learned even our core components completion was beyond our reach.
Startup stories, right? LMAO
What failed?
16:04
Only if you don't have a good CTO that's seen it before and done it :p
But it's ok. We're approaching our deadline with a functional demo and a video of how one of the components should work (0 lines of code for this one)
Hello folks, what you suggest for SaaS project? A database for each tenant or one database with thousand tables?
@BasheerKharoti What do you think?
Yeah we're not really pros Jon, but it's ok. We made what we could, and I think it may be just enough to get a deal with first client. Wish us luck :D
@roganjosh I think each tenant should have one database
16:05
Next week it's Alea jacta est.
@BasheerKharoti I concur
@BasheerKharoti how sensitive is the data and what legal regulations do you have to abide by?
I tthink you mean @BasheerKharoti Jon
ooops - sorry 'bout that - corrected
@JonClements Does that make any difference taking the decision?
16:13
@BasheerKharoti massively, yes...
@JonClements It's e-commerce website where one could extend our platform and create his shop. Alike shopify
okay... so... that's good... but you'll need to check relevant data protection laws and such
stuff like product data isn't important - what you need to look at is customer data (ie - actually identifiable information for a person)
(as long as Client A can't see Client B's data... it doesn't matter if you store it in a single DB or not)
Guys, I'm running a scipy minimizer, and x is the list of incognitos I'm solving for. I never declare x, I just refer to it as an argument on the functions declarations for constraints and objective, as indicated on scipy docs, and it works correctly. Is it possible to change the datatype for x, to lets say a np array instead of a normal python list? How would I do it? By declaring x as a np.array when defining the functions? Example:
def constraint1(x: np.array):
sausage roll time.. bbiab
16:30
@JonClements even if we keep the tables in one database, each tenant will still have a different table which can be identified through a specific company prefix
@JonClements mash and beans time
@AndrasDeak don't knock it until you've tried it :p
16:46
@AndrasDeak Don't forget the mushrooms, and I'll have fried bread instead of toast, please.
@roganjosh "Don't Look Now", while not a horror story, gave me nightmares and I'm normally pretty sanguine.
17:29
@PedroSpinola erm, there aren't really any declarations in Python. x: np.array is just a type hint for x, you can still pass it whatever you like. No conversion or check happens automatically.
If you want to convert something, you have to do so explicitly – e.g. x = np.array(x).
18:03
@holdenweb haven't had fried bread in ages... that's going to have to go on my todo list
eggy fried bread... yum...
@JonClements french toast?
don't mind me while I stand in the corner, drooling...
18:24
Bratwurst was barely even mentioned!
I've had enough Sauerkraut for a live-time, but I miss the lovely breakfast on trips to the UK.
hehe
never wanting to see Leberkäse ever again, I'm not terribly surprised
I see our local haute cuisine left a lasting expression on you... ^^
hit me with a Schnitzel any day of the week, though
I think I've been to week-long conferences where I managed to eat Schnitzel every day
(much to my colleagues' amusement, needless to say)
18:40
Great. Now I want English Breakfast with Schnitzel. :/
yum, Schnitzel...
I haven't had one since Thursday :D
19:07
Schnitzel?
thanks a lot @MisterMiyagi now I understand these are only HINTS.
I thought they were restrictive, and the function wouldn't run unless called argument had that given type
19:42
@PedroSpinola wrong language
@Noob_Code as in Wiener Schnitzel. Breaded meat cutlets fried in oil, typically served with French fries. The proper Wiener Schnitzel is made of veal, and also served with a slice of lemon you can wring on the meat.
ugh... here we go again... bbc.co.uk/news/uk-54763956
20:21
Great to see BoJo wanting to prevent moral disasters for once ;)
For what it's worth I wish we had stricter measures (read: any kind of measures).

« first day (3668 days earlier)      last day (1504 days later) »