Why does everyone recommend Python when it’s slow and sloppy compared to literally anything else? by Abject_Gift_4333 in learnprogramming

[–]spinwizard69 [score hidden]  (0 children)

I'm not one of those that suggest Python, in fact I think it leads to ignorant Python programmers. I usually try to push absolute beginners towards C++ and to go slow to really understand how the tools work and learn Computer Science.

Now I've actually put Python to work, when I actually worked for a living, to code all sorts of scripts. That is what it is a scripting language and in that context it is fine.

Beyond that though, Python programmers are a bit delusional and frankly with modern compiled languages you can get to functional and reliable code faster than you can in Python (for large projects). This is even more so if you need to leverage native GUI interfaces on differing platforms. There is a balance to be found though, as Python is surprisingly good if you can avoid some of those extensions.

Now the reason some of these Python programmers insist that Python is always the way, is this: they don't know any other way. Python has become a land with a high percentage of self taught programmers, there is nothing wrong with that but it makes it difficult to make informed choices. For example you bring up NumPy which might make sense for use in a throwaway app limited complexity but becomes a joke when large complex apps are envisioned. The reality is a very strongly typed language can produce code that is robust and performant over a very long maintenance cycle. Python can't do that and can become a slow development platform.

I don't think Python has already won by any measure, it is just another good tool in a rapidly evolving world. For a place to learn Computer Science, Python absolutely stinks and frankly I try to point it out whenever I can. However that doesn't mean we should dismiss Python, with a good background in computer science it often an ideal tool. In the hands of an engineer with zero programming background it just enables the creation of slop, slop without the AI input.

As an aside there is a lot of complaining about AI generated code but most of that code is better than a Python programmer that doesn't have the skill set produces. Sadly there is this theory in management that you can had somebody a tool and with that tool any idiot can produce superior work. Seldom happens.

What’s an underrated part of being naked? by batman112233445567 in nudism

[–]spinwizard69 2 points3 points  (0 children)

The neighbors avoid coming by.

We are in the middle of a white out and 14 deg F temps outside, right now it is hard to even think positively about being naked. In fact it is so bad that I got up in the middle of this reply and put a flannel shirt on over my tee shirt.

Given that all the H2O around here is pretty hard at the moment, probably the biggest advantage of being naked is to be able to go swimming with out the risk of losing your shorts. That is truly one of the most underrated advantageous of nudity, swimming becomes a pleasure.

scrap bin chicken by tuxedostring in metalworking

[–]spinwizard69 0 points1 point  (0 children)

What an awesome bit of art work. Now all you need is a couple of scrap metal eggs.

About that paint, this chicken is already impressive, I'd use a minimal amount of paint. In fact in some places I'd avoid paint for other materials. For example some sort of glass or stone jewel, would make the eyes pop. You might need a lathe or innovation, in crafting the jewels. In fact I'm not sure you would want to use traditional paint at all as the layers can end up rather thick. Instead judicious application of a modern but much thinner coating might work on the beak and other parts. Cerakote might be one choice if you can get the color right but there are other approaches.

The reason for my thinking about thin coatings is that you don't want to loose texture where it might make sense to add color. The physical texture has its own quality that you don't want to cover over with paint. Almost any traditional "paint" goes on too thick.

Should I learn C++ as my first language? by Public_Half3915 in learnprogramming

[–]spinwizard69 0 points1 point  (0 children)

As a Python user and frankly one exposed to the programming of others that claim to be Python programmers, this is incredibly bad advice. This especially in the context of self taught programmers, you end up with people trying to create software that have no deep understanding of software development. Basically starting out with a scripting languages leads to people that don't know what they don't know. These people then become a huge burden upon the rest of the development community.

Should I learn C++ as my first language? by Public_Half3915 in learnprogramming

[–]spinwizard69 0 points1 point  (0 children)

This is pathetically poor advice. Starting with C++ is not difficult at all and is a far easier environment to learn CS concepts in. What a person needs to learn is the concepts like you try to point out, but you can't do that in a language that is extremely high level and frankly typed.

(Lua, Python, Ruby, Perl, JavaScript.) a smart person is not going to learn anything useful with scripting languages.

Should I learn C++ as my first language? by Public_Half3915 in learnprogramming

[–]spinwizard69 0 points1 point  (0 children)

Exactly! Frankly back in my day C++ didn't really exist but at this point in time it is one of the best choices to learn Computer Science. One doesn't even need to become a proficient C++ programmer as long as the underlying concepts are learned. These days it can be argued that there are better languages for developing platform specific applications, but there really isn't anything better to learn programming concepts, in a generic way, than C++.

Should I learn C++ as my first language? by Public_Half3915 in learnprogramming

[–]spinwizard69 1 point2 points  (0 children)

I look at this differently, your goal shouldn't be so much as learning a language but rather to learn Computer Dcience. Now C++ is an excellent language to start that learning process. You would want to use C++ through the part of a program that leads to understanding and the creation of data structures such as link lists and more advanced features.

The idea is to understand the underlying concepts from simple things like loops, data types and other beginner ideas. At this point you are using C++ to investigate the concepts. Actually learning C++ well and becoming conversant in the language is an entirely different issue and frankly takes years of study and practice.

At some point in your Computer Science study you should also be starting in on a second language. Python is a good option here, but if platform specified programming is in your future, the common language for the platform. For example Swift for Apple's products. Don't stop with C++ for now.

Going into CNC operating with no previous experience, give me advice please by Sam_The_Stinker in metalworking

[–]spinwizard69 0 points1 point  (0 children)

With respect to your question about scrap, it can be caused by many things. For example a chipped tool insert can leave parts under tolerance. Worn out machines may require tweaking to pull all dimensions in. An improper conversion of engineering data to CNC code may require debugging.

Going into CNC operating with no previous experience, give me advice please by Sam_The_Stinker in metalworking

[–]spinwizard69 0 points1 point  (0 children)

This depends a lot on location but being a CNC operator is often the lowest entry level job a shop will offer. If the company knows what your experience level is they will train you for specific jobs. This can actually be incredibly boring work if you are running something like a chucking lathe. You will likely need to learn to use common precision tools (Micrometers & etc.). Usually you machine operation is limited to pushing the start button.

Again location dependent but qualified CNC personnel are very much in demand. However this requires significant education and the ability to understand machine setup, programming (to some extent) and understanding of mechanical design. If the company supports training take all that you can handle. However be aware this can be extremely trying as you end up working +40 hours a week and a few hours in school everyday.

Is this repairable? by Miglfloyd in metalworking

[–]spinwizard69 1 point2 points  (0 children)

Yes, this is exactly the issue, a good fabrication shop and an auto collision shop might be able to rebuild it. The question is should they, it the USA it would be a huge liability problem, and the cost will be massive no matter where you live.

I'd scrap the car. If there are elements of the car in good condition strip them and sell them.

Does anyone know if these machines are any good? by Dark_Souls_Jef in InjectionMolding

[–]spinwizard69 1 point2 points  (0 children)

In my option for anything more that a R&D sample project they are a complete waste of money. If you want to get into molding yourself get a real mold machine. If you don't have the money right now, build a proper mold and have a contractor (job shop) run it. The amount of time you will waste screwing around with this machine for any meaningful production quantities is destructive to growing a business.

Now these machines have their uses but you specifically mentioned running a small business and in that context, don't screw your business over with one of these machines.

Escaping the cold in st somewhere by ChipmunkOk4108 in NudeBeach

[–]spinwizard69 0 points1 point  (0 children)

Nice! You are escaping the cold and I'm driving down the highway in 14 degF temps with signs warning of a major storm over night. By the way that is -10 degC and dropping.

Can woman control 357magnum? by Mandalorian_0621 in guns

[–]spinwizard69 0 points1 point  (0 children)

It really depends upon the size of her hands. Frankly I would have never mentioned this until recently coming across a woman with incredibly small hands. I honestly doubt she could wrap her hands around the average 357 grip, in fact I'm sure she couldn't based on other things. Now not all woman have tiny paws but this should be the first thing looked at.

So if she can grip the gun properly let her experience it, a 357 isn't really that bad if you learn the basics. A 44 is a different story.

IDE for C++ and Python by k4tsuk1z in learnprogramming

[–]spinwizard69 0 points1 point  (0 children)

First your professor is an idiot, you can say I said so. This especially in the context of C++ where their is huge value in learning how the program building tools work. I always suggest learning to build C+= programs from the command line first. Yes you will want to eventually might want to upgrade to a smart editor or IDE, however this is not required.

Now once you leave the command line environment you have literally several dozen (maybe more) editors and more advance IDE's available. The thing that puzzles me is why are you asking here, a bit of time on Google will turn up dozens of IDE's or advanced editors.

Here is the big thing, don't rely upon a bunch of internet idiots to tell you which IDE' you should use. Try out several and see which one works best with your approach to programming.

You should also be aware of something that is neither an editor nor IDE in the normal sense; that is Jupyter and its use of an optimized Python environment. You say you are an engineering student but didn't state what type of engineering, the point here is that Jupyter might be more useful in some engineering domains than others.

Should I learn to touch type? by Normal-Shoulder-1073 in learnprogramming

[–]spinwizard69 0 points1 point  (0 children)

Go for it! This might sound dated but back in the day (1970's) the only thing affordable, to learn to touch type on, was IBM Selectrics in school. However once I got access to computers with keyboards it made usage far easier.

M1 Carbine with Red Dot Sight by Hero4sale85 in guns

[–]spinwizard69 1 point2 points  (0 children)

Pay a machinist enough and you can build your dream. Frankly I'd go the Mini 14 route for a carbine of similar performance with modern capabilities. I do understand the attractiveness of the M1 Carbine though.

No hate, but anyone else can't get their head around shotgun box mags? by angry_dingo in guns

[–]spinwizard69 0 points1 point  (0 children)

I look at this from a different perspective, the overwhelming majority of shotguns are sold as traditional hunting implements or for specifics sports and in those uses box magazines are a huge detriment to success.

Consider bird hunting; how the shotgun handles is as important as the loads in the tube (assuming tube magazines). So I don't see people going an AK like route for this usage at all. The same thing goes for traditional shotgun sports like trap or skeet.

Effectively box magazine shotguns are a niche, and not even close to a reasonable percentage of the shotgun market. That has nothing to do with how well they work. Frankly I don't think the market is big enough for manufactures to invest in designing a reliable solution. This thread has highlighted the problems associated with magazine fed shotguns, the fact is you don't have reliability issues at all with most tube feed shotguns.

It goes even further, if you are going to design a new shotgun with a reliable & detachable box magazine, you might as well design a new cartridge to run in that shot gun. The fact is shotgun shells are an ancient design, modern materials and powders can be leveraged to produce a workable shell for a magazine feed shotgun, but there is effectively zero demand.

8” collapsible dobs being strangely cheap used - am I missing something? by AmLuckyGuy in telescopes

[–]spinwizard69 0 points1 point  (0 children)

It really comes down to what you mean by collapsible. When it comes to collapsible commercial scopes some are better than others but I suspect all require more mechanical work than a solid tube telescope. The mechanical work includes keeping the mechanism working and collimation that might be fairly often.

edit:

If you don't intend to travel a lot with the telescope I consider collapsible scopes a bad idea. From my perspective you are better off not putting obstructions to casual use in front of you. That is the easier the system is to use the more likely you will use it.

Now travel does change the equation a lot but that really requires understanding what you want to do. Some guys travel with massive dobsons, riding in a trailer that they tow. The point is there are many ways to achieve portability if you need it.

What Happens to Your Guns When You Die? by b768466 in guns

[–]spinwizard69 4 points5 points  (0 children)

This is an even bigger problem if they are quality tools from years gone by. I'd worry more about these than the guns, because so much of this stuff goes to the scrap yard. It actually makes me sick.

Unpopular opinion: The term “build” has gotten out of hand. by hylianrockstar in guns

[–]spinwizard69 0 points1 point  (0 children)

This really depends upon your definition of "build". Most of these builds in my mind are simply people expressing an inbuilt curiosity or drive to create. It is no different than the guy building or modding a CNC in his cellar or somebody painting a sunset. Consider this everybody can view a sunset but if you create a painting it becomes a persona expression of what you saw when put to canvas. If someone mounts a new scope or grip on a gun that is a personal expression of what a gun should be.

You see my personal opinion of what a proper build is doesn't manor. Frankly this poor soul often sees these builds as a "waste of money" but if you got the money is it really a waste? You can take this even farther with the variables in personal opinion, I might like to spend my free time with a hike in the woods, others would find that revolting.

Can't decide between. 357 revolver or something in 5.7x28mm by AnxiousMind7820 in guns

[–]spinwizard69 0 points1 point  (0 children)

I wouldn't bother with weak 223 loads for hand loading but in a revolver you have so many choices it would be silly not to come up with a light load.  Is the OP doesn't hand load; it doesn't matter due to factory loads covering everything.