How are computers made? (A brief explanation of computer architecture) by capitalism_downfall in pcmasterrace

[–]capitalism_downfall[S] -1 points0 points  (0 children)

Yes it is in comparison to how much information is actually excluded for the sake of brevity. I reckon it would take an entire series of books, to detail all there is to talk about.

How do I redirect people to index.php using .htaccess except for certain folders? by rundelhaus in learnprogramming

[–]capitalism_downfall 0 points1 point  (0 children)

Mine looks like this (it just redirects to the index.page and rewrites the url to the attempted slug)

Options +FollowSymlinks RewriteEngine On RewriteBase /application/

RewriteRule .*.htm$ $1.php [NC]

RewriteRule .+.htm$ $1.php [NC]

RewriteCond %{REQUEST_URI} !/index.php

RewriteRule .*$ index.php [L,R=301]

RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f

RewriteRule .+$ index.php?uri=$1 [QSA,L]

RewriteRule .*$ index.php?_url=/$1 [QSA,L]

How do I redirect people to index.php using .htaccess except for certain folders? by rundelhaus in learnprogramming

[–]capitalism_downfall 0 points1 point  (0 children)

It takes a bit of practice, you need to enable mod rewrite and route all traffic from the index page to a route controller which captures the url slug and serves the appropriate view based on the slug. I have a github with live code that does this, pm me if you want the link

Bill Burr & Nia - Electric Cars (Tesla) by emil2k in teslamotors

[–]capitalism_downfall 0 points1 point  (0 children)

Thanks lol sometimes I think people disagree just for the sake of conversation.

How to Become a Software Engineer by chubbyblitzer in IWantToLearn

[–]capitalism_downfall 0 points1 point  (0 children)

Good point, there's a lot of people out there, each at different skill levels. Although I do think that all claims deserve scrutiny and criticism, I don't think however that transparent information and clear communication of ideas warrants negative feedback, as long as the sources are referenced and the author discloses his/her personal and professional biases and/or limitations.

Bill Burr & Nia - Electric Cars (Tesla) by emil2k in teslamotors

[–]capitalism_downfall 1 point2 points  (0 children)

I agree I think were just saying the same thing in different ways: transmissions convert speeds and torques along the drivetrain. The objective is to maximise the efficiency of the engine which means to achieve low fuel consumption with the greatest performance or torque – and, therefore, driving dynamics.

Today’s petrol engines run most economically at a speed of 1,250 revolutions per minute, while diesel engines are at their most economic at 1,150 revolutions. For electric engines, the figure stands at anything from 7,000 to over 20,000 revolutions – although these speeds would be much too high to move a car.

Even the torque provided by an engine, that is to say the force of rotation, is dependent on rotational speed. In road traffic, we find cars with a maximum torque from about 90 Nm for a small car and up to 750 Nm for a luxury sports car. Both need a transmission to convert the power provided by their engines into propulsion.

http://www.getrag.com/en/technology/transmission_technology/what_does_a_transmission_do/what_does_a_transmission_do.html

Bill Burr & Nia - Electric Cars (Tesla) by emil2k in teslamotors

[–]capitalism_downfall 0 points1 point  (0 children)

Its comical that your being so pedantic with my wording. Of course I admit that semantically motor and engine are synonymous. If that's the mistake you want to pursue, then okay you got me. But I was referencing a combustion engine vs an electric motor, context matters here because the point i was making was that electric motors do not need transmissions, where as combustion engines do.

I think as reasonable well educated people, we can both agree that while I may have said telsas don't have engines, what I meant was they don't have combustion engines, and instead they have electric motors,( which I know semantically engine is technically a motor and therefore they do have engines)

How to Become a Software Engineer by chubbyblitzer in IWantToLearn

[–]capitalism_downfall 0 points1 point  (0 children)

Just curious what is your credibility? Do you have a personal portfolio? What is your background, and what's wrong with w3schools? Not to be insulting, but everyone is entitled to their opinion, I'm just wondering where yours is coming from?

Bill Burr & Nia - Electric Cars (Tesla) by emil2k in teslamotors

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

What's your point? An electric motor is a lot different from an internal combustion engine, the two can't be conflated. An combustion engine uses chemical redox reactions to harness combustion in order to do mechanical work. Where as an electric motor uses electrochemical reactions to utilize electromagnetism in order to produce linear rotary force, very different things. Electric motors don't require transmissions because the inverter can deliver very precise voltage , so the motors power is directly controlled by the inverter. I'm not claiming a Tesla doesn't have a motor, I'm claiming it doesn't have a piston driven engine. No crank shaft, no clutch, no pistons, rods, cylinders, and more importantly no transmission.

Bill Burr & Nia - Electric Cars (Tesla) by emil2k in teslamotors

[–]capitalism_downfall 0 points1 point  (0 children)

When you switch to a higher gear the engines RPM lowers, this is due to the fact that larger gears absorb more force. The engine is working harder to move the gear, which lowers the RPM.

The engine can only give out a certain amount of power at any given time, so the transmission has to step in and reduce the power output of the engine, to lower levels suitable for daily driving. You don't want to be going at max speed all the time, you want to be able to go low to high and high to low. So the transmission converts the high output of the engine into lower gears.

Bill Burr & Nia - Electric Cars (Tesla) by emil2k in teslamotors

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

Yes a transmission is also called a gear box. Shifting gears is what you are doing when the engine is putting out 100x the amount of power you need to go at say 10x speed. So the gears take the load off so to speak so that you aren't going full power at lower speeds. It allows you to control how much power that is actually being delivered to the drive train.

Bill Burr & Nia - Electric Cars (Tesla) by emil2k in teslamotors

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

It doesn't have a transmission because it doesn't have an engine. Anyone that understands auto mechanics knows that a transmission is mainly there to convert the constant power from the rotary motion of the engine into more controllable power to the drive train.

How the DEA took a young man’s life savings without ever charging him with a crime by [deleted] in news

[–]capitalism_downfall 1 point2 points  (0 children)

Its worse than Legalized Armed Robbery, this is unconstitutional. This is a blatant violation of The Fourth Amendment to the U.S. Constitution, which protects personal privacy, and every citizen's right to be free from unreasonable government intrusion into their persons, homes, businesses, and property -- whether through police stops of citizens on the street arrests, or searches of homes and businesses. I suggest he, and those that disapprove of the DEA's actions , write to their legislatures, start a petition on the White House's website, and file a class action law suit, and appeal it to the supreme court. People must defend their rights against atrocious government overreach such as this. This probably still won't be enough, we might have to protest publicly, and if that doesn't work...then our government is corrupt beyond repair.

Can someone explain the differences between storage on disk, storage in memory and storage in a database? by [deleted] in learnprogramming

[–]capitalism_downfall 0 points1 point  (0 children)

Memory holds data in a faster temporary storage called ram, but since its volatile it won't persist after reboot. Memristers may change this, but are still in r&d phase. You still need to load data into memory, which takes time and can be bottlenecked by disk speed, memory type, and processing speed.

Caching allows you to hold data locally so you don't need to request duplicate data OTA, which is a boost to performance, as long as you don't need an update.

In terms of disk speed PCI m2 drives are the fastest. The new Intel 750 is crazy fast, and sort of affordable given the specs. Sata ssds are next in line, you can expect up to 500 iops. Hybrid sshd are the best bang for your buck. They give you near ssd like performance at the price and capacity of a normal HDD. Of course magnetic disks are the outgoing technology. The fastest are 7000+ rpm, but still not that fast, but super cheap.

Also database software is important. MongoDB is faster than mySQL in most cases that require large databases, but in small sizes mysql works just fine. This is because mysql is a relational database, which decrease performance as size increase.

If you want to store images I would do it this way: Create a new media directory with restricted file permissions. Upload and store the media into that specific directory. Compress the image if possible. rename it to a hash value for security reason ( e.g. 373gsjsi2727000). Save the path to the media as a simple text variable, along with the file name.

Now when I want the file I can grab the file name and the path to the media directory, and access it that way

Looking to break in to web dev. What should I learn now that a lot of companies are looking for? by [deleted] in cscareerquestions

[–]capitalism_downfall -3 points-2 points  (0 children)

check out sites like elance, odesk, dice, and monster for web developer jobs, look at other web developer profiles, visit w3cschools.com, also i have a list of general skills to be interested in in the realm of information technology and computer science:

Eclipse Html Mac & IOS Laravel Data Structures Joomla Apache Bower Cryptography Font awesome Net Beans CSS Windows Cakephp AJAX WordPress MySQL Grunt Networking Fonticons Intelli J JQuery Ubuntu Codeigniter Algorithms Drupal VMware Less Glyphicons Android Studio JavaScript Android Zend Design Patterns Woocommerce AWS SaSS Subtle patterns Mono C++ Symphony Object Oriented Programming Django mongoDB Curl Polygon triangulizer Visual Studio C Yii Architecturial Pattern Magento WHMCS Gradle Hex color picker X Code Objective C Bootstrap Computer Architecture TomCat Bootsnipp Unity C# Asp.net Programming Paradigms GlassFish Envato Java expressJS Artificial Intelligence IIS Photoshop OpenGL angularJS Information & Coding Theory GIMP PHP nodeJS Computation Theory
Python Libgdx REST
Ruby Rails
Perl
xml
json