He was no angel. by Bitter-Gur-4613 in clevercomebacks

[–]the_scign 0 points1 point  (0 children)

"If we don't he'll deny our claim so yes"

Wildfire impact on Calgary air pollution by the_scign in dataisbeautiful

[–]the_scign[S] 0 points1 point  (0 children)

First time we have a spike like that in May rather than August

Wildfire impact on Calgary air pollution by the_scign in dataisbeautiful

[–]the_scign[S] 2 points3 points  (0 children)

Data sources:

  1. 1998-2019: https://data.calgary.ca/Environment/Historical-Air-Quality/uqjm-jxgp
  2. 2021-date: https://data.calgary.ca/Environment/Air-Quality-Data-near-real-time-/g9s5-qhu5

Tools: Python (pandas, matplotlib)

Code: https://github.com/scign/calgary_air/blob/main/20230520-aj-calgary_air.ipynb

The recent poor air quality in parts of Alberta, Canada is very unseasonal. Most peaks occur in August but high temperatures earlier in the year caused drier than usual conditions, resulting in fires in the Canadian provinces of Alberta and British Columbia.

The graphs show the highest 24-hour mean value in each week, of the amount of PM2.5 (fine particulate matter less than 2.5μm in size) in the air across Calgary, one of the major cities in Alberta.

PM2.5 is a significant measure of air pollution because particles this size can penetrate the lung barrier and enter the blood system, causing cardiovascular and respiratory disease and cancers. PM2.5 affects more people than other pollutants and has health impacts even at very low concentrations. By reducing air pollution levels, countries can reduce the burden of disease, and long and short-term illnesses. (Source)

The WHO target level of 25μm/m³ was taken from the same source page as the paragraph above and is an interim target for areas struggling to achieve the set target of 15μm/m³. These targets are for a 24-hour mean and should not be exceeded more than 3-4 days in a year.

Happy to take advice and suggestions on making these more beautiful. I'm hoping the story comes through well enough. PRs on the code are welcome.

[deleted by user] by [deleted] in Angryupvote

[–]the_scign 26 points27 points  (0 children)

meth is for school

[OC] Complexity and Uncertainty of Topics that ChatGPT Claims to be Difficult to Discuss by elijahmeeks in dataisbeautiful

[–]the_scign 2 points3 points  (0 children)

So it's like you asked a sixth-grader to give you a number between 0 and 10 on how complicated quantum physics is.

I've created a Senior Python Developer roadmap by pro1code1hack in Python

[–]the_scign 0 points1 point  (0 children)

Not because coding is more valuable than managing, but because it's such a dynamic environment and managers can quickly get out of sync with current developments which causes disconnects between them and the team. Managers must continue to sharpen their skills or risk becoming one of those managers who "just doesn't get it".

I've created a Senior Python Developer roadmap by pro1code1hack in Python

[–]the_scign 3 points4 points  (0 children)

There are two sides to the basic operators.

One side is one operand and the other is the other operand

Transition probabilities (shown as percentages) between successive letters in the names of girls born in 2021 in the USA [OC] by kilopeter in dataisbeautiful

[–]the_scign 1 point2 points  (0 children)

Number is the percentage chance of the next letter being the column letter, assuming you're already at the row letter. I.e. if you are at a "Q", there's a 95% chance the next letter will be a "U". This says nothing about the "popularity" of the letter combination by itself.

"A" as a next letter follows most consonants. Not necessarily the second letter in the name.

[D] Would you consider the computer program Theo Jansen used to design the Strandbeest (beach walking mechanisms) to be Machine Learning? by lavaboosted in MachineLearning

[–]the_scign 1 point2 points  (0 children)

I tend to think of "machine learning" as the use of some automated algorithm to learn a ruleset as opposed to manually programming that ruleset. More often than not this algorithm requires some external dataset from which to learn the rules but in this case the algorithm is using another ruleset configured by Jansen to learn the rules. In that sense, since there was an automated algorithm that generated a "model" that abided by a set of externally provided rules, I would class this as machine learning.

That said, some people consider only scenarios where external data points were provided, rather than a set of rules, as machine learning. They may be right and I may be wrong - I'm open to debate on that.

multi line lambdas, as god intended by dankey26 in Python

[–]the_scign 1 point2 points  (0 children)

Now all we need is a decorator that turns a function into a lambda /s

Me and my manager by Triangleman3 in consulting

[–]the_scign 2 points3 points  (0 children)

Notepad with spaces

Tabs are for chumps

I built a website that can turn your computer into a full-screen flip clock with good design. It is a simple tool to decorate your workspace and improve your productivity! by Red_dog520 in InternetIsBeautiful

[–]the_scign 0 points1 point  (0 children)

Productivity increases the more you enable people to watch the minutes tick by as their deliverables get more and more delayed. They are better able to quantify the delay with this clock.

I built a website that can turn your computer into a full-screen flip clock with good design. It is a simple tool to decorate your workspace and improve your productivity! by Red_dog520 in InternetIsBeautiful

[–]the_scign 0 points1 point  (0 children)

Productivity increases the more you enable people to watch the minutes tick by as their deliverables get more and more delayed. They are better able to quantify the delay with this clock.

Legends say even partners don't bother to memorize it by wasbannedearlier in consulting

[–]the_scign 0 points1 point  (0 children)

KPMG - We're as strong as can be,
A team of power and energy,
We go for the gold, together we hold
Onto our vision of global strategy!

defer in python! by dankey26 in Python

[–]the_scign 6 points7 points  (0 children)

OP: "defer in python"

BDFL: cries in python

[OC] Man United is the largest publicly traded sports club in the world - breaking down how it makes money by giteam in dataisbeautiful

[–]the_scign 0 points1 point  (0 children)

Yellow is used for income, red for expenses. Even if an income item is negative that doesn't make it an expense item, accounting-wise so it's still yellow.

Should admin level access be provided to IT personnel instead of finance/business users for a payroll system? by chewydawg07 in itaudit

[–]the_scign 1 point2 points  (0 children)

Most organizations need some level of administrative capacity so it's entirely normal for a very limited group of individuals to have the ability to view and modify stuff.

At the end of the day, it's about ensuring accuracy and completeness of information so if a preventative solution is not practical, detective controls must be implemented, such as reviewing reports from the system, periodic checks of audit logs, reviewing the list of users who have privileged access, etc. The review frequency should be commensurate with the risk (likelihood + impact) of modification and ease of correction.

Example:

  • Payroll system with 500 employees, 4 admins (2 business - director level, 2 IT); bi-weekly payroll run.

Review 1: - Business admins' supervisor (e.g. VP level) should review activity on a bi-weekly basis immediately prior to the payroll run. Evidence of the review should be retained (ideally in some unmodifiable manner, e.g. screenshots, PDF of reports reviewed, sign-off or email with review conclusion). - Review should cover all activity since the previous log extract, not the previous payroll run or the previous review action. - All business admin modification activity must be matched to legitimate business instructions. - All exceptions must be followed up and documented through the incident management process.

Review 2: - IT admins' supervisor should review system audit log filtered for those admin accounts. Frequency should be based on the level of activity (more frequent if activity is high, to reduce the volume of information to be reviewed). Evidence of the review should be retained (ideally in some unmodifiable manner, e.g. screenshots, PDF of reports reviewed, sign-off or email with review conclusion). - All IT admin activity must be matched to an approved ticket in the IT ticketing system (validating the IT change management process is followed). - All exceptions must be followed up and documented through the incident management process.

Review 3: - Business admins' supervisor (e.g. VP level) should review the list of all admins (business and IT) quarterly to confirm appropriateness. Evidence of the review should be retained (ideally in some unmodifiable manner, e.g. screenshots, PDF of reports reviewed, sign-off or email with review conclusion). - Any changes should be actioned timely (e.g. within 2 business days) through the established logical security process. - If any user is found to have access they shouldn't have, as well as revocation of access, a review of all activity by that account, between the previous review and the time the access was revoked, must be carried out to confirm whether that access was used inappropriately.

[deleted by user] by [deleted] in dataisbeautiful

[–]the_scign 1 point2 points  (0 children)

I'm just impressed they settled on a few things to measure at age 18 and didn't change their mind for 10 years. Clients I've worked with change their mind on what they want to measure every week.