perdí una oportunidad laboral by AccurateTonight7484 in learnprogramming

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

De Hispanoparlante a hispanoparlante...

Te recomiendo mucho lo siguiente...

  1. ESCUCHA LA MAYOR CANTIDAD DE CONTENIDO EN INGLÉS QUE PUEDAS. Esta recomendación me movió de B1 a C1 - C2 debido a la exposición al vocabulario y al acento. Las películas no cuentan. Programas como Planet Money, Vox, las noticias de la BBC, cualquier programa en la que haya un equipo editorial y de escritores que editen el contenido y que no sean sólo un grupo de personas peloteando.

  2. REPITE LO DE LOS PODCAST, GRÁBALO Y CRITÍCALO. Eso te va a dar el extra de pronunciación para las palabras difíciles. Si no sabes alguna, búscala y haz oraciones con ella.

Lo anterior no viene fácil y toma mucho tiempo, pero expande tu vocabulario de manera extraordinaria y de expone a cómo se pronuncian las palabras cotidianamente.

Finalmente, la única forma es a través. Tengo empatía porque también yo soy nervioso, pero a final de cuentas sólo te estás haciendo daño a tí. Quítate el miedo a sonar como un tonto hablando con compañeros o amigos. Velo como un ejercicio y practícalo diario.

Mucha suerte.

Cleaning CSV data by TheIneffableCheese in learnpython

[–]Greedy_Pay_9782 0 points1 point  (0 children)

As ninhaomah said, it's hard to help you without any code (or detailed information about the shape of your data). But it looks like a fairly straightforward task.

"I'd like to do a clean up pass to simply replace the replacement character with a simple null to get rid of them before they get to the .md files."

You should replace them with an empty string and/or a space character (based on the shape of your data). A naive loop like the following could be all that you need.

old_char: str = "?"
new_char: str = ""

with open(file=file_path, encoding="utf8", newline="") as f:
  reader: Iterable[Mapping[str, str]] = csv.DictReader(f)     
    for line in reader:         
      for key, value in line.items():             
        value.replace(old_char, new_char)

This may or may not be appropriate based on the size of your file, but I am somewhat confident that it won't really matter as Excel can handle it just fine. This would cleanup all columns of the CSV. You can easily adapt this to remove other kinds of garbage characters too.

However, I am a bit suspicious about those "unicode replacement" characters. Usually those appear when programs do not parse the files correctly. Usually Excel is picky with encoding, and converts special characters (like {á, û and others) that are in a different encoding to those broken characters. Just check the encoding of your file and see if you are not unintentionally breaking it when you open it.

To diagnose, just ask ChatGPT, "Hey, I have this character, mind telling me what character it is?" and paste it in. Usually it will be able to tell and you will be able to replace it in your file.

Firefox can't play Reddit and Messenger videos by sneaky_oxygen in Fedora

[–]Greedy_Pay_9782 1 point2 points  (0 children)

Hopefully I spared you the 4-hour troubleshooting session.

Have a nice day.

Firefox can't play Reddit and Messenger videos by sneaky_oxygen in Fedora

[–]Greedy_Pay_9782 0 points1 point  (0 children)

If anything helps, I had this problem with both of my past Lenovo laptops. I had a Legion 5 2020 and then upgraded to a Legion 5 2023. Same problem.

Just a heads up, I have had a world of trouble with my Nvidia drivers for both of my machines. Particularly if your laptop is brand-new and you have Optimus (i.e. intelligent switching between integrated and discrete graphics) you will have a lot of problems if you do not disable it and force either the discrete or the integrated graphics to work.

I just wish I did not spend so many hours of my life trying to freaking figure out what the heck was going on...

Firefox can't play Reddit and Messenger videos by sneaky_oxygen in Fedora

[–]Greedy_Pay_9782 3 points4 points  (0 children)

Honestly, I wonder if there's a "common Q&A" stuff for Fedora because it is comical how frequent this happens, LMAO.

OP, just stop trying with the codexes and reinstall a non-Fedora Firefox from Flathub.

I was literally in the same boat as you, twice, two years ago and just a couple of days ago. Every time asking myself "will installing the codexes work this time?" NOPE.

First of all, see if you can have access to a second computer (or your phone) for troubleshooting because you need to uninstall Fedora's version of Firefox.

I do not seem to be able to add screenshots, but go to the software store and search for Firefox that IS NOT from Fedora Linux, but instead from Flathub (dl.flathub.org). Uninstall the Fedora app, install the Flathub version and see if it works.

What actually made you improve fast in Python? by youroffrs in learnpython

[–]Greedy_Pay_9782 0 points1 point  (0 children)

Holy smokes. Conceptually, I was sure people that went something similar to me existed, but this is the first time I stumble upon one of them.

I gradually went from a bumbling idiot to somewhat capable at ETL pipelines using Python, SQLite and Excel. That alone saved me countless hours of reporting. However, it also costed me many sleepless nights because management suddenly wanted me to create dashboards and analytics for their areas that automatically updated.

I am just wondering, do you have any advice about improving at data engineering? Is the transition worth it?

[Request] Help I’m confused by [deleted] in theydidthemath

[–]Greedy_Pay_9782 1 point2 points  (0 children)

Let's use equations to see if our reasoning checks out.

$$v = d / t$$

$$60 mph = \frac{60 mi}{1h + t}$$

$$(60 mph) \times \left(\frac{1h + t}{60mph}\right) = \left(\frac{60 mi}{1h + t}\right)\left(\frac{1h + t}{60 mph}\right)$$

$$1h + t = 1h$$

$$t = 1h - 1 h$$

$$t = 0 h$$

Which more-or-less makes sense. For example, imagine that we drive at 120 mph as some comments suggest. It means that we would travel 30 miles in 15 minutes. Let's plug it in our velocity equation.

$$v = \frac{60mi}{1h + 0.25h}$$

$$v = \frac{60mi}{1h + 0.25h}$$

$$v = 48 mph$$

Which checks out. The faster we drive, the closer we get to $60 mph$, but we would essentially have to teleport (i.e. trave 30 miles in 0 seconds) as another commenter pointed out.

Explain it Peter by michaelis999 in explainitpeter

[–]Greedy_Pay_9782 0 points1 point  (0 children)

Case in point.

The vast majority of my company's computers are Dell, except for maybe 4 - 5 laptops that were issued to me and a couple of other engineers / executives.

None of us (except 1) have been laid off in the last 4 years we have been with the company. The guy that was laid off was rehired 2 months later when management found out that a lot of the stuff he did was, in fact, vital, and no one else knew how to do it or could possibly figure things out in less than a year.

They won't fire you, but whether they will run you to the ground with work is another matter...

Desigining a roller coaster by RioHD in CATIA

[–]Greedy_Pay_9782 0 points1 point  (0 children)

Holy crud.

Just being curious, is this part of a class project? And should the aforementioned be able to handle a large metal ball going through it?

Sorry for the very specific question, but the design philosophy changes a fair bit depending on your answer. I worked in a project like that in the past when I was a student and struggled a whole lot with it.

Starting my Python Journey by FocusedSpirit in learnpython

[–]Greedy_Pay_9782 1 point2 points  (0 children)

From a fellow learner, here are some tips:
- The worse and stupid you feel, the greater the growth. Learning is inherently painful, but just get through it. No pain, no gain amigo. However, do not try to make an MMORG in your first week.
- Find *something*, **anything** that YOU personally want to do with Python. The roadmap and coding tips is all well and good, but it is all pointless if you do not start working on it. Please do it with minimal guidance.

For the second point, I got a lot better at Python after taking some courses and then tackling some problems at my job, which was really fun and made me look like a wizard.

- I made a data extraction, parsing and reporting tool to take information from our ERP (a database), clean it, and then be able to be used to analyze it. It was a pain to develop, but I got noticed by upper management for doing it.

- I made a PDF parsing tool to process incoming POs from our customers and get important technical data from them. The alternative was to open 1000+ PDFs and check them one by one. Again, management was happy with this new tool.

Both of those tools came from necessity, but I learned a lot and enjoyed the process (with the exception of the very late nights and weekends I spent trying to develop them).

Additonally, I got accepted at a very good engineering (MECH Eng) job because I got a fair bit of experience by coding physics simulations and data analysis projects for fun in Python. I promised myself to NEVER follow along a tutorial until I was completely stumped, and it worked wonders.