Show newer

@stux Awesome man.. looks good.. C++ 3d stuff can be a bit hardcore but very rewarding too. These days though you kinda need to use engines, too much to build out from scratch.

@stux You coding this? Sounds like you learned to program since we hung out, awesome! What language?

So despite being in charge and ultimately the guy who decided to get my entire company using JIRA I must admit... I hate it... As with many GUIs just way too much clicking and waiting and im too impatient.

Anyway, so I decided to install jira-cli ( github.com/ankitpokhrel/jira-c ) and I cant tell you how much nicer this is, certainly improves my stress levels...

If anyone is curious this is what a full workflow from ticket creation to completion looks like for me. Keep in mind if you are on a JIRA instance that isnt customized you can probably get by with fewer steps.

> myjira issue create -pSYS -tTask -s"Configure jira cli w/ aliases" -b"Add to nixos config and create some helper scripts for commands" -yHigh
>
> myjira issue move SYS-125 Accept
>
> myjira sprint list -pSYS
>
> myjira sprint add 65 SYS-125 -pSYS
>
> myjira issue edit SYS-125 --custom story-points=2 --no-input
>
> myjira issue assign SYS-125 "jeff@scentech-medical.com"
> myjira issue move SYS-125 "Start Work"
>
> myjira issue worklog add SYS-125 2h --comment "Started reading up on the subject" --no-input
>
> myjira issue move SYS-125 "Ready for Review" --comment "Successfully printed from lab office's printer using shmuels computer"
>
> myjira issue move SYS-125 "Accepted" --comment "Shmuel confirmed it is working for him now"

@kmic Pretty sure we just call thast an orgy... feel free to sign up :)

@casastorta
@peterdrake

So to correct my earlier statement, the reason a frozen list is better is because its still a list.. If you have a function where the type hint requires it take a list then you can pass a mutable or immutable list to it, and cant pass a tuple. So they arent interchable as they have different types.

@casastorta

Ok so just checked and the standard is explicitly written to accept it as a homogonous type if there is just one argument and the ellipsis

@peterdrake

@casastorta

hmmm now i need to open an interprier.. wasnt that long ago i ran into that problem but it may have been becauseof the flavor of linter I was using.

@peterdrake

@casastorta

With that particular type hint you could pass in (5, "hello") since it only type checks the first entry and all other entries can be anything.

@peterdrake

@peterdrake Yea I learned that one the hard way a while ago.. Since tuples are builtin to python it looks like a natural solution... sadly it can bite you int he ass.

@peterdrake yes its done with type hints. There is no way with tupples using type hints to say "a tuple of any size where all members are integers".

@peterdrake

Quite a few differences, but for a concrete example here is one...

Write a python function that takes a single argument, a collection of integers of any length strictly containing integer type.. have the function add all the members of the collection together and return the value. Ensure that if the wrong type of value is passed in that it fails at **compile** time, not runtime.

If you use typles to represent immutable lists you cant do this. If you use frozen lists you can..

Worse yet you wont realize it is even a problem until you actually come across some function in a library that does this (or worse yet explicitly checks the type).. so you may have your whole app coded up before you realize you have to change all your tuples to lists..

So yea the proper way to do this is to feeze your lists and not consider a tuple interchangable with a list, they are not.

@peterdrake

good advice. Though a frozen list is probably a better suggestion as a tuple is subtly different than a list.

@freemo He was the one who took The One Ring to the Outer Rim during the Rebellion, in order to defeat the White Walkers

@bitblit How would that, on its on, get my agenda into my google or android calendar?

@purplg I think I looked into that one before, never triedit out though I dont think.

I wonder if that will work with my garmin watch being able to see it... I hope garmin isnt hard coded into google calander or something stupid....

Show older
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.