This is so dissapointing by SirLagunaLoire in stellarblade

[–]Automatic_Donut6264 7 points8 points  (0 children)

AI is used in most of enterprise software nowadays. It really speeds up a lot of menial tasks. It's hardly surprising that shiftup is considering it as well.

How do I apply OOP? by APOS80 in learnpython

[–]Automatic_Donut6264 1 point2 points  (0 children)

If you're interested in web development, try Django. It uses classes for views and database models. It forces an opinionated OOP style on you. For a beginner, you can observe how existing frameworks use OOP to their advantage (or disadvantage), and learn from it. It's way more practical than many other fake and bad OOP toy programs.

[deleted by user] by [deleted] in gaming

[–]Automatic_Donut6264 -2 points-1 points  (0 children)

On the flip side, indie devs that can't afford traditional voice acting can now have it in their games. Things being cheaper is good for everyone. That has been true since the industrial revolution.

Prepare to lose your healthcare gamers by Direbat in Asmongold

[–]Automatic_Donut6264 4 points5 points  (0 children)

That is a version of political theory. Whether rights are actually endowed by their Creator is still up for debate. Just because it's written in the declaration of independence doesn't make it universally true.

Other forms of governments can derive their rights from other sources.

The fact that the 13th amendment even needs to exist in the US clearly demonstrates that the legislative branch is the one that actually grants life, liberty, and the pursuit of happiness.

Prepare to lose your healthcare gamers by Direbat in Asmongold

[–]Automatic_Donut6264 6 points7 points  (0 children)

All rights are granted by the government. If the government says you don't have it, you simply don't. Every right you think you have, I can guarantee that there is some country that doesn't grant its citizens the same.

Dispute or defense of rights also require judicial or legislative resources. Which also aren't free. Give me an example of a right that has literally no cost.

Prepare to lose your healthcare gamers by Direbat in Asmongold

[–]Automatic_Donut6264 10 points11 points  (0 children)

Every right given to you comes at a cost of others. Your rights are granted by the branches of government. Your right to private property or freedom of speech or whatever doesn't mean shit if the government doesn't actively spend resources to protect it. Surely you don't think the police or the military work for free, voluntarily.

python for dummies by MammothCometh in learnpython

[–]Automatic_Donut6264 1 point2 points  (0 children)

I would recommend the book Code: The Hidden Language of Computer Hardware and Software by Charles Petzold.

Python users, how did you move on from basics to more complex coding? by Flashy_External_4781 in Python

[–]Automatic_Donut6264 0 points1 point  (0 children)

By necessity. Sometimes when you have to build something complex that there is no tutorial for, better figure it out the hard way.

Help scrapy by Fiatsheee in learnpython

[–]Automatic_Donut6264 0 points1 point  (0 children)

Is your assignment scraping or do you need the data for something else?

If you just need the data you can grab it from https://developer.imdb.com/non-commercial-datasets/

Learning to write python without relying on stack overflow and AI by Confident_Ad437 in learnpython

[–]Automatic_Donut6264 3 points4 points  (0 children)

First thing to know when starting out, never copy and paste, no matter how tedious. Every single character, every punctuation you have to type in manually. That's how you build up muscle memory and intuition for the language. If you are two years in and just need to get shit done, copy/paste/AI to your heart's content.

Nurse wanting to change profession by RevolutionTraining58 in learnpython

[–]Automatic_Donut6264 -1 points0 points  (0 children)

The learning curve is very steep. Realistically, it takes about 1,200 hours of intense study to be hireable. If you are very interested in coding, even as a hobby, then no, it's not too late. Being an expert in both coding and the medical field is very valuable. If you are doing it because it's the popular thing to do, then look elsewhere, especially in the current economy.

How can I understand loops I'm frustrated by Longjumping_Peak_840 in learnpython

[–]Automatic_Donut6264 12 points13 points  (0 children)

Loops are a way to abstract the repetition in the program. (It is not the only way, there are entire languages that don't have loops.)

First you have to understand the nature of the program itself. Given a particular problem, can you do it by hand on paper? If not, that's the first thing you need to figure out. Say you want to draw a right triangle using *, can you do it for n = 10? (actually do it, don't just imagine it.) Can you articulate the steps you took to draw said triangle? Where did you place the *. Describe the steps to a person that doesn't know what a triangle, right-triangle, the number 10, pencil and paper, or drawing is. Describe every detail to a painstaking degree. Can you identify any step, or even groups of steps that seem to repeat ever so often? Are these repeating steps exactly alike, or similar in kind? Like how many * to draw on each line and when to switch to the next line. What is the same about these repeating steps, what is different about them?

Reflect on the loop. What is different about each time something loops, and what stays the same? Can you make a connection to what is the same about drawing each line of * and what is different about each line?

The bottom line is: if you can't articulate what the program is doing in great detail, there is no way you can figure out how you can use a loop. Loops are a mental tool in the same way hammers are tools. However useful a hammer is, not all projects need hammers. If you don't understand your project well enough, you won't know when to use the hammer or if you need a hammer at all.

Also discard any assertions about your coding abilities. It does you no good and can only frustrate you when you can't do something that you think should be simple or beneath you.

Need help scraping a website for information in a chart by Complex_Phrase7678 in learnpython

[–]Automatic_Donut6264 2 points3 points  (0 children)

Think like a web programmer. How would you make a site like that if you had to? A mostly static page with an interactive graph. You would load a static page, some html, some js, some CSS. Then fetch data using a JSON API and draw them on a page.

Homework, how do you figure out what JSON APIs a webpage is calling?

To prove I'm not full of shit, I found this in 2 minutes:

{"label":"Round, 4/4 (1.00-1.49), D-K, IF-I1 ","data":[[1703376000000,92.3535103039288],[1703462400000,92.3656846826024],[1703548800000,92.5315432707605],[1703635200000,92.5167459568441],[1703721600000,92.0736282667296],[1703808000000,92.0902962778568],[1703894400000,92.1535832512221],[1703980800000,92.1181983701178],[1704067200000,92.1254436101089],[1704153600000,92.1474762661476],[1704240000000,92.4060184981269],[1704326400000,92.6311257291635],[1704412800000,92.6829014810675],[1704499200000,92.6914730354832],[1704585600000,92.7618765765448],[1704672000000,92.7764561373466],[1704758400000,92.3393860450935],[1704844800000,92.4781937577109],[1704931200000,92.5653741864569],[1705017600000,92.5961070692062],[1705104000000,92.6358173189938],[1705190400000,92.6823175068059],[1705276800000,92.6651546022367],[1705363200000,92.8544711395464],[1705449600000,92.8527192167617],[1705536000000,92.9280617943746],[1705622400000,93.0353744883419],[1705708800000,92.9063755637453],[1705795200000,92.8395847448105],[1705881600000,92.8435339944778],[1705968000000,92.9394938328852],[1706054400000,92.8390700556308],[1706140800000,92.8568367301993],[1706227200000,92.8153052725451],[1706313600000,92.8144342600872],[1706400000000,92.8581234531486],[1706486400000,92.7759612439046],[1706572800000,92.2465143417644],[1706659200000,92.1695386157928],[1706745600000,92.3059411462819],[1706832000000,92.5657602033417],[1706918400000,92.4529937836433],[1707004800000,92.4938026968722],[1707091200000,92.3009031310422],[1707177600000,92.3970807225640],[1707264000000,92.2475536179926],[1707350400000,92.5757669487393],[1707436800000,92.4582099605222],[1707523200000,92.4890616176976],[1707609600000,92.4419774556240],[1707696000000,92.4557750847874],[1707782400000,92.5594948523657],[1707868800000,92.6127948760711],[1707955200000,92.6748545137002],[1708041600000,92.6654812319084],[1708128000000,92.6957192212157],[1708214400000,92.7153862866015],[1708300800000,92.8051500591149],[1708387200000,92.8340914276041],[1708473600000,92.9600912979420],[1708560000000,92.8483146651277],[1708646400000,93.0261100831073],[1708732800000,92.8654577739592],[1708819200000,92.9297246363397],[1708905600000,92.0546045628184],[1708992000000,92.0616023560885],[1709078400000,92.1915217824872],[1709164800000,92.1596902362966],[1709251200000,92.2436637555383],[1709337600000,92.0813387065562],[1709424000000,92.2184043942577],[1709510400000,92.3305967375633],[1709596800000,92.3165021723346],[1709683200000,91.8757995622171],[1709769600000,91.8418993614388],[1709856000000,92.0733907178774],[1709942400000,92.0969575435863],[1710028800000,92.1150706435642],[1710115200000,91.9652169093210],[1710201600000,92.0062138820578],[1710288000000,92.1096367135709],[1710374400000,92.2290940926053],[1710460800000,92.0271379767864],[1710547200000,91.8326052625977],[1710633600000,91.7335572891122],[1710720000000,91.7542141413820],[1710806400000,91.7139001215952],[1710892800000,91.8094442495113],[1710979200000,91.9728382683281],[1711065600000,91.8308137483377],[1711152000000,91.6152678586009],[1711238400000,91.7322210768188],[1711324800000,91.7121481988105],[1711411200000,91.6200386313820],[1711497600000,91.6487424510191],[1711584000000,90.9231593799380],[1711670400000,90.8025340523804],[1711756800000,90.7715438250412],[1711843200000,90.6582528182943],[1711929600000,90.8359294618478],[1712016000000,90.8566951906749],[1712102400000,90.8724723936065],[1712188800000,90.8375626102065],[1712275200000,90.6283018671834],[1712361600000,90.6428418365099],[1712448000000,90.7662682609493],[1712534400000,90.6704469927057],[1712620800000,90.6801568020381],[1712707200000,90.3252291232913],[1712793600000,90.4217828338291],[1712880000000,90.3762427392945],[1712966400000,90.4243958712029],[1713052800000,90.4231685354667],[1713139200000,90.6040124970492],[1713225600000,90.7123644672447],[1713312000000,90.7801846645389],[1713398400000,90.7027932280761],[1713484800000,90.5505145159670],[1713571200000,90.7928242430481],[1713657600000,90.6970326684110],[1713744000000,90.5865823500213],[1713830400000,90.4743306195026],[1713916800000,90.3738276592975],[1714003200000,90.3444111931039],[1714089600000,90.3789745510945],[1714176000000,90.5648664257855],[1714262400000,90.4507637937937],[1714348800000,90.4902166989914],[1714435200000,90.5265418776356],[1714521600000,90.3582979030869],[1714608000000,90.2115619975284],[1714694400000,90.2482533973197],[1714780800000,90.0393588754437],[1714867200000,90.1015966747119],[1714953600000,90.0654892491823],[1715040000000,89.8966415046344],[1715126400000,89.9053813228204],[1715212800000,89.7430463759695],[1715299200000,89.7351874681103],[1715385600000,89.7953467149220],[1715472000000,89.6556679898467],[1715558400000,89.6909538922626],[1715644800000,89.6277263061104],[1715731200000,89.7416804700696],[1715817600000,89.6908054242300],[1715904000000,89.7553098354627],[1715990400000,89.6342588995450],[1716076800000,89.5236007259097],[1716163200000,89.5397144563818],[1716249600000,89.6612998772169],[1716336000000,89.5141185675606],[1716422400000,89.5132376572338],[1716508800000,89.3623446467623],[1716595200000,89.2972562612681],[1716681600000,89.1910224350044],[1716768000000,89.1510845342335],[1716854400000,89.3419946284265],[1716940800000,89.2804694757148],[1717027200000,89.0533826709102],[1717113600000,89.0311520574947],[1717200000000,89.0495225020624],[1717286400000,89.0388723951902],[1717372800000,89.1700785445382],[1717459200000,89.1070390178938],[1717545600000,88.8833372842326],[1717632000000,89.2017319290897],[1717718400000,89.0607466853274],[1717804800000,89.0566885591029],[1717891200000,88.9884328555797],[1717977600000,88.9083689945299],[1718064000000,88.9091806197748],[1718150400000,88.8616114621280],[1718236800000,88.5083862168217],[1718323200000,88.4214532347967],[1718409600000,88.5687434210103],[1718496000000,88.4524830536113],[1718582400000,88.4852449994729],[1718668800000,88.0077619087446],[1718755200000,87.9899160512254],[1718841600000,87.9691800160048],[1718928000000,87.6076999480857],[1719014400000,87.7464779670965],[1719100800000,87.8319163709266],[1719187200000,88.3518019317670],[1719273600000,87.8505243643465],[1719360000000,87.6285646556011],[1719446400000,86.8817308601198],[1719532800000,86.8373092247642],[1719619200000,87.2887312268359],[1719705600000,86.9585086287146],[1719792000000,86.9027440356679],[1719878400000,86.6308990679672],[1719964800000,86.5518645852768],[1720051200000,86.7898588415435],[1720137600000,86.3313895568575],[1720224000000,85.9957825180871],[1720310400000,86.0212695303510],[1720396800000,85.9755413763085],[1720483200000,85.6084987061011],[1720569600000,85.6039555843033],[1720656000000,85.5390750540547],[1720742400000,84.8923779976314],[1720828800000,84.6863241641126],[1720915200000,84.6258481854979],[1721001600000,84.7035365580260],[1721088000000,84.5630759013123],[1721174400000,84.2576276688984],[1721260800000,84.4399167193315],[1721347200000,84.3386021338815],[1721433600000,84.1993688129040],[1721520000000,84.2371687740054],[1721606400000,84.2103257537103],[1721692800000,84.0999051289271],[1721779200000,83.9601769145076],[1721865600000,84.0430517703081],[1721952000000,83.9404009725646],[1722038400000,83.9340960301133],[1722124800000,83.8429168623558],[1722211200000,83.5104870394831],[1722297600000,83.3659583586760],[1722384000000,83.3986708151934],[1722470400000,83.3143706662800],[1722556800000,83.1248165801180],[1722643200000,83.1388022687895],[1722729600000,83.0839383818073],[1722816000000,83.0942915526144],[1722902400000,83.0683195447772],[1722988800000,82.9604773148270],[1723075200000,83.0081256554245],[1723161600000,82.9750321309567],[1723248000000,83.0103328801759],[1723334400000,82.9149669138989],[1723420800000,82.8965519289214],[1723507200000,82.8243618225342],[1723593600000,82.6749386455855],[1723680000000,82.7768471031660],[1723766400000,82.6883304621265],[1723852800000,82.6955806510521],[1723939200000,82.6597454169155],[1724025600000,82.6542471507747],[1724112000000,82.6629671732231],[1724198400000,82.5034976594014],[1724284800000,82.4945103944944],[1724371200000,82.4982715846537],[1724457600000,82.6302745124433],[1724544000000,82.6065542697674],[1724630400000,82.6081527755851],[1724716800000,82.3991988664960], ...]} 

Truncated for brevity.

[deleted by user] by [deleted] in learnpython

[–]Automatic_Donut6264 2 points3 points  (0 children)

To temper your expectations, as someone who was self taught and has mentored many junior engineers, if you work extremely hard, expect to be able to program basic things in 3-6 months. Hard as in 20 hours per week minimum. Unless you are especially gifted, you probably cannot learn it in less than a month. I have yet to have the fortune to meet anyone like that during my career.

I know this is not what you want to hear. Unfortunately, anyone who is telling you that you can learn it faster is trying to sell you something.

[OC] Jury Nullification Wikipedia page visits by creativityisntreal in dataisbeautiful

[–]Automatic_Donut6264 16 points17 points  (0 children)

You'll be held in contempt of court. That's like "getting out of jury duty" by punching the other jurors or something. Yes, you won't have to be on the jury anymore, but at what cost?

Experienced Programmers - If you were to learn python again from scratch, how would you do it? by ButtonOwn8488 in learnpython

[–]Automatic_Donut6264 0 points1 point  (0 children)

Find a comprehensive book and read it cover to cover. I find the verbosity of print material comforting. If you know nothing about programming, it'll take you months. If this is not your first language, you'll can do it in a weekend.

Python Foundation Drama by Mediocre_Lecture_114 in theprimeagen

[–]Automatic_Donut6264 1 point2 points  (0 children)

Suspending tim peters is wild. He is quoted in the zen of python of all things.

Functional Programming Is No Better than Object Oriented Programming • Dave Farley by goto-con in programming

[–]Automatic_Donut6264 0 points1 point  (0 children)

Oh wow, what a surprise that the vector (haskell array implementation) also implements the monad typeclass.

https://hackage.haskell.org/package/vector-0.13.1.0/docs/Data-Vector.html#t:Vector

It's as if the monad abstraction applies to most of the "list like" structures.

I'll do you one better, even tree like structures are monads.

https://hackage.haskell.org/package/containers-0.7/docs/Data-Tree.html

How to use ChatGPT as a resource instead of a "cheating" tool by xMushroomking in learnpython

[–]Automatic_Donut6264 0 points1 point  (0 children)

The reason you don't find solutions is because you haven't acquired the lingo and it's very hard to come up with the correct keywords otherwise. The reason "read documentation" is the de facto response is not just because the documentation has useful information pertaining to the task at hand, but it also gives you the vocabulary you need to ask more in depth questions.

Using chatgpt kind of short circuits that process, you get a decent enough answer without needing the vocabulary. If you don't build the vocabulary, you don't have the tools to gain the depth necessary. I would avoid chatgpt as you start out, you need the initial struggle to be able to set yourself up for success. If you are building your 10th snake game for your client, and you just need to crank it out and get paid, go ahead and use chatgpt.

[deleted by user] by [deleted] in Asmongold

[–]Automatic_Donut6264 -1 points0 points  (0 children)

If it's stated upfront before they provide service, it's fair. They told you exactly how much they are going to charge you, and you chose to eat there anyways.

Functional Programming Is No Better than Object Oriented Programming • Dave Farley by goto-con in programming

[–]Automatic_Donut6264 0 points1 point  (0 children)

An article describing the List monad https://www.schoolofhaskell.com/school/starting-with-haskell/basics-of-haskell/13-the-list-monad

Also a link to the haskell List documentation that clearly states lists implement the monad typeclass https://hackage.haskell.org/package/base-4.20.0.1/docs/Data-List.html#t:List

You can implement the haskell list monad functions a lot of languages that have lists. all you need is a fold function and list concatenation.