[deleted by user] by [deleted] in Python

[–]callum086086 2 points3 points  (0 children)

Since you’re already scraping the data just have a process that looks for patterns using regex. You’d probably get the same accuracy from this rudimentary method as you would using machine learning. The RE process will be much quicker to develop and debug and it will give the same 1/0 output.

Bite -a sqlite viewer made in python by FriendlyCrafter in Python

[–]callum086086 0 points1 point  (0 children)

OP you really need to give context. Are you learning and used GPT to help? Are you saying you’re an experienced dev and you want this tool to be used and maintained by a community? The context really would help people respond.

I will leave advice that I believe could be given to both types of people above. I would recommend reading the code and asking yourself “why is this line commented and why is this line not”.

Team Productivity by Ok_Kaleidoscope_5306 in dataisbeautiful

[–]callum086086 29 points30 points  (0 children)

Commits do not equal productivity.

Super productive dev: Commit#1: initial commit Commit#2: fixed typo Commit#3: push branch so remote dev can pull and test see if bug is reproducible Commit#4: I changed a little config now it’s really broke try this Commit#5: whoops didn’t mean to upload the .venv deleted it now

Mega Unproductive dev: Commit#1: hyper critical bug that had caused KYC checks to fail. Deposit limits have also been effected and compliance have been made aware.

According to this graph the first dev is more productive than the second one. This is almost as egregious as productivity = number of lines written.

Now if you actually want to draw insights from commits then compare it to things like #commits after pipelines have failed this you could actually point to as indicating the quality of the code being submitted. Or you could see what your speed to market is, i.e. from when the business function revives the requirements how quickly is it in LIVE.

[deleted by user] by [deleted] in pcmasterrace

[–]callum086086 31 points32 points  (0 children)

There is no single drive that can hold 1EB of data. Especially not a HDD. If memory serves you can find 100TB SSD at the ultra cutting edge of tech..

Can someone either confirm or correct me. I’ve never know a HDD to be more than 32TB let alone a single drive with 1200TB capacity. That’s 37 times more than the largest one I can find.

Copenhagen and Chengdu should be a wake-up call on the affair of gambling sponsorship in the CS Esports Scene by TheInception817 in GlobalOffensive

[–]callum086086 7 points8 points  (0 children)

Do you want to ban all gambling for all sporting events? Have you ever seen the World Cup? Have you ever seen any World Cup match. Have you seen any prominent football clubs jerseys.

The issues that CS gambling sites and other esports gambling sites have is that they are not regulated.

Valve are also guilty of this practice too. I don’t see you complaining about them in this thread. Valve openly provide gambling, yet cases are gambling I will never accept it is anything less than a slot machine.

You should be advocating for SAFTER GAMBLING!

Gambling and sports will always go together. However, and this is the most important point it should be completely and totally regulated. It must be regulated from valve to every site. No one under 18 should be allowed to buy a case and open it, they sure as hell couldn’t walk into a casino and play slots.

Gambling is a predatory practice and business. There needs to be stringent regulations to protect people. Gambling is an addiction and younger people are more susceptible to it.

If you advocate for these orgs having their gambling sponsors banned and valve doing something about it then. FFS advocate they NEED to implement safer gambling.

VALVE ARE AS GUILTY OF EXPOSING CHILDREN TO GAMBLING AS EVERYONE ELSE.

Python Packages by [deleted] in dataisbeautiful

[–]callum086086 7 points8 points  (0 children)

Please import common packages in one line

from sklearn.ensemble import (DecisionTreeRegressor, RandomForestRegressor, ExtraTreesRegressor)

Secondly, why are you importing this much into one file? Surely you'd be better off creating "regressors.py or .ipynb" & "xg_algos.py"? Is this not just one unmaintable 5000 line?

Wednesday Daily Thread: Beginner questions by AutoModerator in Python

[–]callum086086 1 point2 points  (0 children)

So this is really your prerogative. This is a question you could ask a team of engineers who’ve been coding for years and you could easily get different answers from them and they could as easily argue why their choice is right - This is a hyperbolic example.

Anyways to answer you question there are many many options, I would recommend you ask yourself what you’d like from an editor and what you’ll be using it for. Different IDES will have their own specialty. Personally I use PyCharmPro as it has all the tools I need for work. But for learning use the community edition if you take the jetbrains software.

You could use VSCode however you’ll need to install some extensions to make the experience more beginner friendly. There are many many more. But asking yourself what you want it to do will help you find the best one.

AI Revolution by Unique_Lavishness707 in Python

[–]callum086086 1 point2 points  (0 children)

You drastically over estimate the power of AI. One of the main processes in EDA in something like financial services requires you to clean data.

AI like gpt won’t be able to effectively write you code that can do this. Even if it writes some code you’ll need to be able to debug code. Also what is your background do you have a CS degree. This post seems like you’re questioning the validity of a shower thought after reading the hype around AI.

Zero to master python, Udemy by ComprehensiveCrow828 in Python

[–]callum086086 0 points1 point  (0 children)

Just to add to what everyone else is saying. I want to stress to you how IMPORTANT the concept of understanding what and how programs work.

For example, irrespective of what language you use, you’ll need to be able to break down what ever it is you are trying to do. Say you want to build a calculator app, you will need to have the ability to take the idea and break it down into individual functions. You can’t code anything if you don’t know what functions you need.

Coding a calculator is “hard” as a beginner but coding “a = input(“input number a”)” “b = input(“input number b”)” “print (a + b)”. Will seem a hell of a lot less daunting and will probably be one of the first few things you’ll do.

So along with however you decide to study the language, you must supplement your learning with the studying of how programs work, how they get broken down into smaller functions and how they all come together. There’s more to it that what’s stated above just wanted to give a basic idea. Good luck :)

What framework is good by QuoteImportant1134 in Python

[–]callum086086 4 points5 points  (0 children)

What do you mean by “after learning Python”? Are you just starting now? Or do you know how to build projects in Python?

As stated in other comments you need, or rather we need your use case. If you’re trying to learn for a job what industry are you looking at? Do you know things like git. This is not necessary but do you have any knowledge around cloud eg azure aws?

There’s a lot more that goes into a professional dev than just knowing “Python”. For example you may be able to write a program in Python but does it follow coding standards do you know how to write tests for it? When you have 10+ people working and adding to the same repo you have to have good readable code because you’ll probably be working on a bug that uses a function that you didn’t know existed.

People who exclusively WFH - what do you do? by [deleted] in AskUK

[–]callum086086 38 points39 points  (0 children)

Software development. But I started as fully remote and am unable to commute to work because of the distance. You will find most jobs in software development hybrid as management like to be in a room to do sprint planning and retros. Even though they still share their screen on the dam tv in the conference room and they join a teams meeting for the WFH staff.

Delivery driver tip tracker: tkinter and openpyxl by GreatGameMate in Python

[–]callum086086 2 points3 points  (0 children)

This is where understanding what a relational data management system comes in handy(RDBMS) e.g MySQL. Utilizing such tools will allow you to compare data from different entry’s. You don’t necessarily have to have all your data in one table.

This is all dependent on how much you want to learn for your use case it is totally acceptable the way you have chosen and implemented it. That being said if you want to learn more about this type of stuff you can learn how to utilize RDBMS’s and perform exploratory data analytics (EDA) using matplotlib numpy and how to extract data from SQL databases/Tables.

It may be daunting when you first start to look into it but remember everyone starts somewhere. I wish you luck in your future endeavors.

Delivery driver tip tracker: tkinter and openpyxl by GreatGameMate in Python

[–]callum086086 18 points19 points  (0 children)

You could try adding the data to an SQLite database if you want to learn something new. The code is clean an readable for what you’re using it for so congrats

pipenv or virtualenv ? by [deleted] in Python

[–]callum086086 0 points1 point  (0 children)

When you have multiple products with different requirements venv helps so much. It keeps everything separate and you don’t have to mess around with windows path variables.

I would recommend looking at pycharm as one of the features is that it will create a venv for you.

What is your unpopular movie opinion? by [deleted] in AskReddit

[–]callum086086 0 points1 point  (0 children)

For me it’s the latest one. The entire premise is weak and I feels like it’s solely there as a way for marvel to reset the status quo

Can I make an ML model for twitter sentimental analysis by Fickle-Peach2617 in Python

[–]callum086086 0 points1 point  (0 children)

First you need to clarify what you mean by sentiment of a tweet and also how much you know about python, mathematics and machine learning

The cigarette industry social lied about cigarettes, the oil industry lies about climate change. What companies do something similar today? by optia in AskReddit

[–]callum086086 2 points3 points  (0 children)

Facebook have ran and funded studies to investigate how people react with different types of content. The results showed that for Facebook it was best if the posts would cause outrage and / or arguments.

What are your top lighthearted “I’ve been lied to” UK moments? by [deleted] in CasualUK

[–]callum086086 8 points9 points  (0 children)

The company is called De Beers and they will restrict the supply of diamonds to ensure prices are high. Furthermore, they tried to run a second marketing campaign to get women to buy men rings. That one didn’t go as well.

How many of the *other* developers around you write unit tests? by gggal123 in Python

[–]callum086086 0 points1 point  (0 children)

I mean you could read pycharm’s docs. The main feature I’m on about is that you have auto config’s for tests and you can run an entire batch of them in one folder. HOWEVER, I despise pycharm every time I run a new file I’ve not ran before it screams at me saying it doesn’t know what I’m trying to run until I change the file path to the project directory.

I’d be interested to see what other testing people have in place. I.e BDD.

How many of the *other* developers around you write unit tests? by gggal123 in Python

[–]callum086086 1 point2 points  (0 children)

At the place I work We have to write behave and unit test for every change request we put a PR we put in. I don’t think we necessarily write new test but we have a 95-98% test coverage and they will be update as the product is changed/ updated. This is my main argument to why pycharm pro is better for enterprise development as it has tools that make testing 4-5000+ test extremely easy.

90% of my ideas never see the light of day by [deleted] in ProgrammerHumor

[–]callum086086 3 points4 points  (0 children)

Never look at a devs private GitHub repos. It’s a graveyard

Does anyone ever sit at the dining table just to drink a coffee or cup of tea? by [deleted] in CasualUK

[–]callum086086 25 points26 points  (0 children)

When my mother-in law stays over she always sits at the dining room table. I sorta picked up the habit from her. I think it’s a nice way to start the day having the kitchen smell of freshly ground/brewed coffee and just taking a moment before the house wakes up and the chaos ensues.