« first day (3625 days earlier)      last day (1306 days later) » 

12:27 AM
Hello
 
 
4 hours later…
4:01 AM
@holdenweb yeah I realized it later on, I was hitting command-K all the time because in my mind command represents ctrl (since its used for copy, paste etc like ctrl is on windows) :)
 
4:14 AM
@JonClements ok remember what you told me before about message queues, how you generally for large data store it in an S3 bucket on AWS and then the messages simply contains a reference to the data? Well I was going through this MSFT Learn module for Azure Service Bus and in it they say the following which has now totally confused me ...
@JonClements "A message generally contains the data itself, not just a reference (like an ID or URL) to data. Sending the data as part of the datagram is less brittle than sending a reference. The messaging architecture guarantees delivery of the message, and because no additional lookups are required, the message is reliably handled" - docs.microsoft.com/en-ca/learn/modules/…
 
 
1 hour later…
5:21 AM
I'm guessing that an important part of the context in the recommendation by JonClements is "just how large is 'large'?" A second part in the recommendation is "just how reliable is the resource pointed to by that reference?" The MSFT docs tell me that maximum message sizes for Azure Service Bus are 256K for Standard Tier and 1MB for Premium Tier. Even so, networking realities can force smaller maximums in practice.
So I don't think Jon was thinking about messages in the hundreds of bytes, but maybe more in the millions. For reliability, I think the Azure docs may have had in mind a URL to an unreliable server, or an ID in a database that may not always be available. An S3 bucket seems like it should be a pretty good repo for large messages.
So no need to be "totally confused." Realize that every recommendation (especially with software, and doubly so with networking) comes in a particular context. Looking at the doc you linked to, it looks like there is a fundamental premise that messages are "not that large," whereas the suggestion from Jon was specifically about large data.
^^ Update: By reliable, I am also thinking about "accessible" to both sender and receiver. An S3 bucket is likely to score high marks in both reliability and wide accessibility.
 
 
2 hours later…
7:41 AM
@roganjosh prepares champagne and party hats
 
Sam
Morning. I'm looking to host a Jupyter notebook (public facing) as additional material alongside a blog post. Ideally I'd like it the cells to be precomputed upon arrival with the ability to interact with it (without persisting any local changes). Does anybody have any suggestions for what I could host it on?
 
8:22 AM
@Sam I believe binder is a common solution to that problem
 
8:37 AM
@binpy please don't ask for help here with fresh questons on the main site as per our rules
 
8:54 AM
@smci no, it's not homework. I'm interested in implementing different ML algorithms and got stuck on NB. I understand I need to count probabilities but I can't understand one moment with it.
 
@MisterMiyagi It's been tough to contain my excitement! I've actually booked Ig Nobel Prize winner, Sid, the singing alligator on helium to perform at the baby shower.
I forgot about this; I need to find my nearest Starbucks. Gotta sort out my commute
 
9:12 AM
Welcome to the Turtlenecks!
 
9:59 AM
I've found a new specimen in the lengths that people will go to make a one-liner. A function to thow exceptions
It's reminding me of the completely borked dataframe with callables in columns that throws exceptions on virtually everything you try to do with it :P I decided not to bug report that in the end
 
10:17 AM
@PaulMcG thanks... I think you summarised eloquently there my thoughts :)
 
I've forgotten; can you ping voters that haven't commented on your question? I thought you could
 
Nope, no @downvoters
 
Hmm. I'm glad that I got the notification for the @jezrael :/
 
@JonClements btw - when you put these data blocks into an S3 bucket, do you do any compression or encryption?
 
depends... generally don't have to bother as it's going to end up publicly available anyway... eg - product images for an ecommerce store...
 
10:31 AM
Ah
 
@MisterMiyagi Ah, sorry, I mean't close voters, not downvoters. That's my fault for not being clear
 
And does the receiver delete them from the bucket as part of processing the message?
 
@roganjosh only binding voters can be pinged
 
@roganjosh AFAIK you can see these sneaky little bystanders in the post history.
 
gold badgers and mods
 
10:33 AM
Boo.
Is an interesting language.
 
I've used Boo, but not in a while. Are they still maintaining it?
 
Dunno, to be honest. Only used it with Unity until I learned enough C#.
 
Very pythonic in its general feel, with the added bonus that you can easily build DLLs or EXEs.
I used it in my consulting days when working with a Windows application for factory automation.
 
@PaulMcG so kinda kills two birds with one stone there... the message data has product details/product codes and all that stuff... but just having a link to somewhere on S3 instead of including it in the message itself keeps the message a reasonable size and because some ecommerce platforms are stingy on disk space - alleviates those concerns
 
Hm, wikipedia cites the last stable release of Boo as 0.9.7 / 25 March 2013; 7 years ago.
 
10:39 AM
@AndrasDeak ah ok. Thanks. I think I've given up on my gold badge. I'll just go retire to a cottage somewhere. I'll kill a question every now and then, to feed the family and sustain my ability to downvote answers, but it'll be a peaceful existence
 
Ok, so the images just stay in S3. I'm guessing some housecleaning is needed every so often to clear out the cruft that is no longer used by the ecommerce site.
@MisterMiyagi The github repo was last updated just a couple of months ago.
And there is an "unstable" release tag from 2018
 
@PaulMcG yeah... lots of stuff goes on behind the scene - normally seem to end up working integrating solutions for sync between multiple epos/warehouse/web commerce kind of solutions... so can get messy... generally clean up isn't too big an issue but think there's some webhook stuff that puts messages into a queue for a periodic task that does some tidy up stuff
 
Boo issue/discussion on "The State of Boo": github.com/boo-lang/boo/issues/201
 
"3. Support. IronPython is officially dead these days, while Boo is only mostly dead."
 
@MisterMiyagi How did you happen upon it?
 
10:51 AM
It's in the linked ticket.
 
No, I mean - how did you happen on Boo?
 
As mentioned, Unity3d is to blame.
I had done lots of Python back then already, so Boo seemed more familiar than UnityScript and C#.
 
Boo rings a bell - think I recall it was quite trendy at the time
 
One of the contributors on that project references the Nim language, and that the two projects should just merge. I just skimmed the Nim home page, looks interesting also. Also actively maintained, judging from the repo.
 
11:13 AM
Yeah, nim does look quite attractive.
Though I'm somewhat sceptical of actually using what I must honestly call niche languages.
Still looking for an excuse to use Rust at work. :/
 
I made some serious money with Boo there for a while. @roganjosh you might find it interesting, since it makes it easy to distribute a free-standing Windows app that doesn't include the entire Python ecosystem (just the links to the .Net ecosystem, which comes already installed on Windows).
Just checked, there are no Boo or Nim rooms.
 
Hmm. I will do some research but I'm, at this point, totally committed to web apps for anything I build for desktops. The only gap I need to fix is my ability to get things running nicely on mobile devices, which is why I started looking at kotlin and its ability to cross-compile between iOS/Android. But, I've spread myself pretty thin as it is :)
 
11:35 AM
Does someone know when (C)Python started compiling constant list literals as tuples?
e.g. for _ in [1, 2, 3, 4]: ...
 
Hey all, I asked a question on SO about 18 months ago regarding uninitialised Class variables. I received a couple of good answers, but I think they had some problems and werent necessarily the most Pythonic way of doing it.

Anyway since then I think I have learnt how this should be handled, and to help others I have just added my own answer. I hope I haven't given incorrect advice so thought I'd post here in case any experienced programmers are bored and wouldn't mind reading through. I think this is an issue that comes up for beginners and isn't really addressed in books
0
A: Setting default/empty attributes for user classes in __init__

AndyFollowing considerable research and discussions with experienced programmers please see below what I believe is the most Pythonic solution to this question. I have included the updated code first and then a narrative: class MyClass: def __init__(self,df): self.df = df self._results = ...

 
@Andy You may want to fix the indentation on that code. ;)
 
@MisterMiyagi ah yes thanks! good spot
 
@Andy Your answer makes it look like you might be interested in dataclasses.
It's the easiest way to ensure instance variable are appropriately set.
 
11:50 AM
@holdenweb Ah cool. Never heard those, will look into this
@holdenweb thanks
 
12:11 PM
Ugh... Error: Deploy failed: (No log messages) - great... it might as well just print "WENT BOOM!" or something...
 
Ugh, no! I spent months until I realised that a Blah error actually came from a component called Blah.
 
On a very old laptop, I'd set the password hint to "duh". I was not very happy with myself when I needed something years later
 
Someone, somewhere, out there relies on their workflow going to boom at some point...
@roganjosh Well, duh!
 
Maybe I wanted to motivate myself. I got it on the 3rd try :P
 
12:26 PM
Was ist "duh"? :P
 
hurdurr actually :P
 
ah huh... so now I have all your details and a password you might use... soon I shall have a fully formed human identify! :p
 
having a component called Blah is interesting, though. Had they just given up?
@JonClements Want all my debts? :P
when my first pass at my dashboard became unusable (like, literally, "put this out of its misery"-type unusable) I had a Botcher class doing some pretty heavy lifting to hold it together
 
I'm patient - I can wait until you've cleared enough of 'em so I can rack up some more - puppy plays the long game :p
Just realised I've not answered anything on main for 2+ months now...
 
You've been clean for 2 months? <claps>
It's hard to find interesting problems but I do live for the odd gem :)
 
12:41 PM
Yup... there's generally some interesting ones now and then
 
stackoverflow.com/q/63952899/4799172 I ditched my original typo call but there's no repro and it's now garnered a really bad solution
 
Can I ask some code or datascience topics in this chat room?
 
You can; the rules are up in the top right corner
 
morning cabbages, folks
 
1:16 PM
@roganjosh It stands for Batch Local Ascii Helper, so the answer is probably "yeah"
 
Nice backronym on their part, though :)
 
1:32 PM
I remember one company I worked at we were doing software for address and postcode correction and were struggling to decide on a name... I just blurted out - why not call it Pat... the other guy was confused and I had to say "you know - like Postman Pat"...
... he was very much convinced that management weren't going to like that so on the spot I said: "well obviously, it stands for Postcode and Address Toolkit"... and bingo... we got that name and not everyone knew the real reason as to why :p
 
@roganjosh In case you are still collecting weird dynamic code questions: "Is it good practice to use if variable in globals(): instead of if variable? I want to safe having to define variable in the common case that it is False."
 
sounds kinda like the story of how I invented a drink once upon a time. I wrote a poster on my grad work, called "A Hybrid... <something>". Except I typo'd "Hybrid" to "Hybrix" and didn't catch it until someone pointed it out when I presented. The next drink I invented, I called it a Hybrixxx
 
@MisterMiyagi :|
 
@MisterMiyagi I gave up my collection when Kevin used the exact pattern only 6 hours later :P
 
1:53 PM
@roganjosh Now I'm intrigued... :P
 
22 hours ago, by roganjosh
I'm getting deja vu
Around there
I'm on my mobile. I assume you know you can click the timestamp to jump in the transcript
 
Found it. From reading the transcript, I'm going to generously assume Kevin was either joking, educating, or Kevin. Nothing to be alarmed about.
On another note, I've just been forcefully thrown into the age of asspressions. Bad homebrew, bad!
 
@MisterMiyagi I kevin'd Kevin by having "Josh" as a name. I daresay "I'm just joshing with you" dates back further :P but yeah, i think your interpretation is correct
 
2:10 PM
You should petition for Cabbage3Kevin, now with 100% more Joshing!
 
Whats more prominent in mind is that i echoed your comment on a recent question, even down to italicised do :D I couldnt see your comment while typing.
 
That question was basically asking for italics to do cursive. :P
 
cbg...at this point I might be making that call tomorrow. Of course, that could change quickly.
 
I hoped that our matching comments meant I was evolving into a Sensei
 
2:31 PM
You can get True Enlightenment™ also in the base version. Safes you the hassle of sitting on a lonely mountain all day.
 
@roganjosh Not until you get your gold badge :p
 
At this rate, it's almost certain I shall remain a pleb
 
Well, you've got magic RO powers! No sensei'ing around is gonna rival that!
ROs can conjure lightning and command the armies of chaos, can they not?
 
Can we? Why wasn't this in the welcoming handbook?
 
(shush @MisterMiyagi - we weren't going to let him know about that hidden option yet... :p)
 
2:42 PM
@MisterMiyagi IIRC I was trying to demonstrate to Cool Cloud why dynamic variables aren't a good idea. At the time I didn't know roganjosh had linked a very similar post six hours prior to that.
I'm pleased that my true intentions were inscrutable because that's the brand I've been striving to uphold
Hmm, reading the post again, I see that I was wrong when I said that an assignment within exec could perform a local assignment. I wasn't trying to be ironic, I just had a bad mental model.
In any case I was more interested in demonstrating the surprising NameError thanks to Python's oft-overlooked scope resolution rules
 
3:46 PM
I think we can all agree that bits = '1011' equals the integer 11. So if we do int(bits[::-1], 2).to_bytes(4, 'little'), it equals the bytes string b'\r\x00\x00\x00'. But int.from_bytes(b'\r\x00\x00\x00', 'little') equals the integer 13... — Kebman 16 mins ago
I think someone missed a key point there :p
 
 
1 hour later…
5:10 PM
cbg,folks
 
Damn, I don't like americans legal system in that you can sue everybody easily. But boy I wish I could sue somebody right now. I touched electricity again because something was wrongly labeled as a socket belonging to a corridor. But it belonged to another fuse labeled as room 1. But clearly it was in the corridor and not in room 1
 
@Hakaishin and that is why you don't believe labels, nor even light switches. Use a tester.
 
@AndrasDeak yeah I read that online too, but who the hell has one of those at home
 
Umm... I do :P
My wife had one in her bag for years.
 
The funny thing is I touched it and the shock was so small, that I though I was being sensitive today and it was just the hard metal. Man I was shocked for a minute after I finished and screwed the lightbulb in and it light up :D
 
5:18 PM
good job not dying
 
Hmmm I guess they are cheap? What are they called, I'm gonna order one online asap. I don't want to test my luck more
@AndrasDeak Thanks :D
 
Yes, cheap. You stick it in the plug or suspicious metal, touch the end with a finger, it will light up if it's hot
I googled for "electricity tester" but that's probaby not the right name
might be "electric line tester" or something
@Hakaishin Another tip: only touch the bulb when you change one. For that exact reason.
actually, "line tester" seems close enough based on search hits
 
I can't believe the difference between potentially dying and living is 1.5Chf :D electricalworld.com/en/ch/…
 
yes, it's not rocket surgery
for 10x that you can buy a multimeter which can even tell you how much you'll going to die (but in sane places there's either 0 or mains voltage, nothing in between)
I have one light switch in my home that used to produce a medium glow with the tester... on both sides of the switch... probably some capacitive coupling or whatever, it was still spooky.
 
@AndrasDeak Haha, nah we had a very good multimeter which would pick up interference from all kind of electromagnetic waves. At least that was our hypothesis at the time. Because it was never at 0 even at rest and always fluctuating a bit even after you reset it
right :P
 
5:25 PM
perhaps it wasn't a "very good" multimeter after all
 
Or it was super good?^^
 
there's absolutely such a thing as a tool that's too good for its own good
 
I would love to own a multimeter, but it's one of those things I would buy just to project an image to others but mainly to myself of being a diy guy, although I would use it probably once and then never again for years.
I'd be better of just borrowing one from the workplace if I need it. But there is a certain flair to owning tools :P
 
@Hakaishin That's mostly true for me too, but that once every few years it's very useful. I made really good use of mine when I installed a new power socket a month or two ago. Reassuring to hear that beep when you test for shorts
I also test batteries with it from time to time
 
Yeah that's true. I was thinking of just cycling to work, it's just 5min. But even this small inconvenience was enough for me to be like meh, I guess the label is right :P I wonder if there is a MacGyver version you can test if there is power, without touching it ofc :P And wow autocorrect knows MacGyver, you know you've made it once that happens :D
 
5:31 PM
Yes, you can easily test if the line is hot using some string, a squirrel and a line tester
 
Ah of course xD
I'm super late, but tik tok is awesome :D I was missing out on such good memes, not anymore :P Though tik tok itself is stupid. I just watch the compilations on youtube
 
Can anyone help me here- github.com/tanishshadow/Python-Begineer-tutorials/new/master/… The message box is not showing in the GUI upon clicking on help Menu*
 
Can you explain more? Do you mean the help on the bottom from github? Or some button I'm not seeing?
 
that link is borked
 
@Hakaishin Yup at the bottom in the Help menu
Let me edit that code
 
5:38 PM
code? in the GUI? I'm not sure I follow
 
@Hakaishin Well it's an Tkinter code
 
The link you posted doesn't work though, and if it did, it would link to a folder full of tkinter code
 
I have now edited the code ...so you can find the snippet of the code where I need help :)
@Aran-Fey Ok I will fix that
 
that works
 
@Aran-Fey :D
Good night guys...hope I will get the solution in the morning :P
 
5:49 PM
@roganjosh Sheesh, what a car crash! CV'd.
 
@TanishSarmah Change command="helpp" to command=helpp
 
Re: the American legal system. I read that America isn't actually particularly litigious, and the perception otherwise is largely the result of a disinformation campaign funded by McDonalds after they lost the "hot coffee suit"
 
There are also the legendary "cat in microwave" and "soda vending machine" cases
 
Huge megacorps with sketchy safety standards have a very large incentive to make tort claims socially embarassing
 
@Hakaishin Much easier to die in Europe than the US, where the voltage is about half our 240V.
 
6:00 PM
On the other hand much harder to die in a space heater related fire
And I tend to think that our Schuko plugs are safer than US ones because it's impossible to touch a hot prong :)
and don't get me started on Swiss sockets...
 
I've seen sparks a couple times while plugging in an American plug, but I haven't died yet, so I don't have any complaints
 
Sparks are probably normal. But I only see them when I use a white extension cord where the flash glows through the box
 
6:32 PM
The British 13A plug has to be the least convenient design ever. You could also touch a hot prong until they started exposing metal only on the tips (about 40 years ago). But we do at least use ring mains.
 
@holdenweb well 3 times is the charm right... Gotta get that Multimeter :D
 
@holdenweb curiously - despite the voltage being fair greater... the design of the 3-prong plug and actually having switches on the sockets rather than a 2 prong thingy... is meant to be far superior in quite a few aspects...
 
@JonClements The switches on the plugs seems so useless and the aesthetic is terrible. I never needed that feature when I was in Australia
 
American domestic wiring is a bit slapdash, and high power devices require larger currents. Jug kettles over there seem glacial in comparison with a British kettle. Bit it was convenient the way they would have wall sockets switched from the light panel. Then again, overhead lighting is much less common over there.
 
@holdenweb Wait I've been to CA and New Mexico and we had overhead lighting everywhere? Are standing lamps you plug in a socket more common or what do you mean?
 
6:43 PM
@Hakaishin I think Rimmer disagrees :p
 
Yes. More recent houses often do now have downlighters, but until the 1980s and later it was common to build houses with no wiring for ceiling-installed lighting.
 
(okay - it is a light switch and not a mains switch... but I was somehow reminded of it and I love Red Dwarf :p)
 
@holdenweb I can see a benefit when moving. But having lights on top is just looks nicer
 
shrug
 
I find Austria weird, where they move the kitchens too. That seems so excessive. I already find moving lamps annoying and would rather everybody just leave theirs where they are and we'd all be better of. And if you really dislike one just replace that one. But chances are good most people like most lamps or don't pay enough attention to change them
 
6:58 PM
@holdenweb I heard it's a killer when you step on it
 
Yeah - Lego bricks cubed, so to speak.
 
7:14 PM
@Kevin Indeed. Pretty much most discourse on most topics in the US is polarized into two camps, as a side-effect of the two-party system and its stranglehold on funding. And of course this correlated/co-caused with/by the slow death of journalism abolishing the FEC Fairness Doctrine in 1987, under Reagan. So for two generations already, the US has newstainment run by corporations, masquerading as journalism...
(People now tend to self-segregate into bubbles based on their beliefs, and are not routintely exposed to disagreeing facts or opinions, except to mock or distort them - and obviously social media is monetized to exploit making this ever worse.) How could we possibly ever expect civilized, quality discourse to magically reinvent itself and emerge from such a setup? 'Wahnsinn', as they say in Deutschland...
"It also has a negative side", as Hunter S Thompson (RIP) would have remarked.
Anyway, back to Python topic:
Do we need a dedicated tag , as opposed to (say) "python linting security" (or equivalent)? I'm not sure it's a good idea to have a tag for every point tool/package in every language/executable, as opposed to general tags How much of that bandit-python tag is generic security/ linting issues in Python (or other language) code? (In the past, I would have tried to raise this on Meta, but based on repeated experience, I wouldn't bother).
 
7:31 PM
@Kevin: Decades of research on the US confirm a shocking rise in incivility, civic disengagement and cyncism. One of the few recent bright points was a (pre-Covid) US-wide initiative "Make America Dinner Again", to encourage strangers to pair off and agree to have dinner with a person(/people) with utterly opposing viewpoint or background. Now also available remotely. Perhaps that organizer deserves the Nobel Peace Prize.
I just found out there's an app-based social network Civility, to enable users to find or create diverse groups for civil discussions about various topics. On the one hand, this sounds useful. OTOH, when "being civil with strangers and people of opposing viewpoints" requires an opt-in 'intentional community', instead of being a baseline social norm we can implicitly expect, that's beyond terrifying... now where are the 'Report' and 'Block' buttons...
(Actually, the polarization of the Nobel Peace Prize is also a case in point)
 
anyone up for a conversation about dependency management in Github? g4dgetCorp uses GitHub as a code store, in private repos. GitHub issues are useful in capturing the flow of feature development (the reasons why, are left as an exercise to the reader)
however, I find that when I'm ahead of schedule and want to work on "the next backlog issue", I have to spend time reading the description to determine whether I can in fact work on the task in front of me
 
@inspectorG4dget You mean at tomorrow's mtg?
 
@smci I was asking about right now, but now that you mention it, tomorrow's meeting sounds like a great place to capture a lot of opinions on this
 
Re tomorrow's mtg, I could mention the NLP project I'm working on ("Smart-Diffing Terms of Service documents with NLP and ML"), but wouldn't talk about the Pythonic aspects. Not sure if that's on-topic and of interest - any yes/nos?
 
given that the topic hasn't really been defined, I'm inclined to say that anything civil is not off-topic
> Smart-Diffing Terms of Service documents with NLP and ML
that's pretty cool
 
7:43 PM
hey guys, I accidentally exited an Linux shell and left gunicorn running, how can I stop that process?
 
log back in and killall <pid>?
 
@inspectorG4dget Err, how many people in your team; and assuming you do agile, don't you do sprint planning, and collectively identify 'stretch-goal' tasks for the next 1./2 wks?? i.e. poll the wisdom of your coworkers?
 
I tried top to find the pid but it doesn't show anything under my name other than the top command
 
@smci startup-y company. The tech team is 3-5 people. Not a lot of of software dev discipline under our belts. We're in the middle of our first proper sprint plan after far too long of not having one
 
@erotavlas screen is a useful utility for leaving stuff running in a re-attachable session. Though you do have to be somewhat proactive about it (can't just blindly reattach if you didn't start the program in screen to begin with).
 
7:46 PM
@erotavlas run htop it as sudo and filter for gunicorn or whatever program it's duplicating
 
@inspectorG4dget: really you should have an agile taskboard (e.g Trello is one superb free one), allows you to explicitly label blockers, dependencies, version commitments, testcases, and all related discussion - you really can't overload github issues to capture all this.
 
@smci github has project boards that we're using for this (in progress, next sprint, done, backlog, to do). I've proposed that we do this for every milestone (release version). Thoughts?
 
Have you tried Trello, or AgileZen, or similar? If not, strongly recommend you try. Everyone on the team should always have a prioritized list of several (unblocked) tasks they can work on... otherwise causes mental stress to thunk between. (And if your sprints fail due to hidden blockers or other issue, cancel the psrint immedaitely and hold. a short meeting to fix things)
 
maybe I'll just restart the server :/
 
7:51 PM
@inspectorG4dget Hmm, that appears (at least superficially) to look similar. But does it have the functionality of the Agile boards I mentioned? Can you label blocker tasks? dependencies? testcases? Can you group multiple tasks by theme, or version commitment, or components affects, or owner, etc.? Does it allow concisely visualizing the lineage of who changed what and when (e.g. version commitments/dependencies of a task)?
 
we have not tried trello/AgZen. It was inspired by those boards that we did choose to use GitHub project boards. That being said, I haven't yet found a way to capture dependencies in this way. For <reasons>, we've decided to go with MS Azure DevOps. I'd have to imagine that it'd have dependency management (any chance you've worked with this and would be able to confirm?)
I could put an issue in a "blocker" board or add a label to that effect in the issue itself. However, I don't think that any of this is enforced in any way (eg: being denied a push on a blocked issue)
 
@inspectorG4dget I found it using sudo netstat -nlp to see what process is using the port I assigned, its running as python not gunicorn 50441/python
 
killall python as $USER?
 
maybe sudo kill <pid>
 
or that. I'm trying to remember if gunicorn would resurrect the dead process
 
7:57 PM
yes! its dead, tried with postman and the service isn't responding anymore
 
woohoo! Now, resume your testing inside a screen
 
is it hard to use?
 
@inspectorG4dget The main point is one agile task board that does all that - perhaps try the ones I recommend and see how the difference feels. (Automatic enforcement is not the point, least of all in 3-5pp team like yours. Anyway you should be using a proper git branching strategy with multiple branches for versions, separate feature branch from bug branch, some basic level of unit-test and integration-test coverage... I'm wondering is that also an issue?...
...Don't expect taskboards to fix a bad or nonexistent branching culture or zero test coverage or whatever...
 
`screen -L -S myScreenName`
<you get a new screen>
# do your thing
ctrl-a, d <don't expect much response>
<you just exited the screen>
`screen -r`
<welcome back>
 
...I guess that brings us to what your code review process is... presumably a few levels above "deploy code live to production and see if any customer complains about losing data or outages"...
 
8:00 PM
screen takes a little practice, and the help shows many many commands, but I get by with using only 2 or 3.
 
@inspectorG4dget I never used screen before, I'm initiating a ssh connection to ubuntu virtual machine from powershell in windows
 
yes. SSH into ubuntu and create your screen there
 
When you ssh, fire up screen and then run your long-running process, and detach from screen. You can then log out, and log in again and then screen -r to attach back to the long-running process.
 
oh ok thanks, just making sure it wasn't something that I initiate from the powershell
 
No, it's all on the ubuntu box.
 
8:02 PM
@smci Git branching discipline /was/ an issue, but not anymore. Thanks I'll try out the Trello/AgileZen and see how they feel
 

« first day (3625 days earlier)      last day (1306 days later) »