While the "end effect" is true, it has nothing to do with laziness.
Paying a programmer is expensive. The employer have you rather finished quickly and sells your work early with "drawbacks" e.g. more memory usage and less speed.
And the real culprits are the marketing droids that think programs and OSes need a new UI experience every few years. A huge deal of programming efforts and bloat is wasted and does not bring any value to the users.
Was about writing something like you did, however: since the likelihood of having a defect on your die is lower. No, the "likelihood" is the same. You have X defects on a die. So up to X "chips" will have a defect in the end. However as you increase the amounts of chips you produce the percentage of defect chips shrinks. Or in other words: the smaller the chips, the more you get from one waver/die. The amount of defect chips stays the same, though.
The foundation of an App is completely created by drag and drop in Apple tools. Programmers and also non programmers simlly underestimate how good those tools are and how much work in crafting Apps is automated. Nevertheless she of course had to code the actual logic she needed by hand.
An electric car with 3x the range... Or a drone... Not to mention the people working on electric powered planes/helicopters... A phone that lasts three times as long... Naval equipment for sailors... GPS, emergency beacons, swim wests...
ISLAM HAS BLOODY BORDERS. It's founding prophet was a military warlord who imposed Sharia law. That is wrong, at that time Sharia did not exit. Muhamed btw. basically only proposed to fight against pagans, and mainly he fought against other muslims, ironic, isn't it? Muhameds plan was to spread the "true god"... the same god christians and jews worship... to pagans.
ISIS is fundamental Islam, following the example of Mohamed. No they are not. They follow their own weird mindset. Sharia was introduced and formalized in books to read long after Mohamed. While Sharia popped up here and there 200 years after Mohameds death, it never was very popular. E.g. the biggest islamic nation probably was the Ottoman Empire. It never had Sharia. Big parts of the empire kept widely autonomous status. It was a so called multi culture, multi lingual empire, and multi religious. Converting to Islam, basically did not happen under "islamic rule". https://en.wikipedia.org/wiki/...
Furthermore sharia is a big system of rights, laws and privileges, e.g. most countries you mention where regions have parts oh Sharia established have a pretty common legal system, and under Sharia falls only marriage, inheritance, child care, divorce etc. In other words: no beheading or stoning.
If those countries have regions that are violent (like indonesia): then it is because they want to separate, not because they want Sharia as the "better law".
Regarding the other countries you listed: you seem to be interest, why don't you read up the history of them. Then you easily realize that the problems there have not really anything to do with what religion is dominant there (or not so dominant but practiced by the ruling class)
I'm actually pretty tired about this islam phobia...
How many third world countries are left on the planet? 5 or 10?
Sorry, I suggest simply to check some statistics, or wikipedia. USA is barely out of the leading 1/3rd in murder cases, as well with guns as without. However it seems it improved over the last decades and my numbers were a bit outdated.
I can't imagine how you can claim that Islam does not imply Sharia law given Sharia law Because most "islamic" states have no sharia law? What has the single example you know about it have to do with it? Or don't you know what the word "implies" actually means?
Its absolutely clear that Sharia (Islamic Law) and Islam (the religion) are absolutely intertwined to the point of being the same thing. And this is absolutely wrong... otherwise every islamic nation had sharia law (that is what the word "implies" does mean)
Do I really need to count up all the _democratic_ _state of law_ _non sharia_ Islamic nations? Considering what Erdogan is doing, we probably have soon one less... if that is the point you want to make.
Such cases are vanishingly rare in the real world. No they are not, hence those benefits are often pointed out for Bubble sort. And people usually completely forget about them, because they only have memorized: "bubble sort is bad". That is actually another reason why asking for such an algorithm in an interview is "strange" as the interviewee probably only "remembers" that fact (probably also one of the topics Knuth refers to).
E.g. you have a table in a kind of excel, you sorted first by column A, then you sort by column B, depending on situation column B will often be partially sorted already. Or simply want to have a "stable" sorting algorithm... or you sort stuff only by first digit or first letter, then you can use short cuts... Your idea it is only fast for very few as 3 or less is wrong: the upper limit where it is faster than e.g. Quicksort depends on hardware, like cashes, paging etc., much more in our days than it did when the algorithms where "invented". So while they look bad in O calculus they are still very fast for special cases.
but then according to your reasoning the user base for PCs is also increasing? The user base of windows PCs is increasing only in third world countries (and yes: I mean third world, not developing countries), in other countries PC users simply replace old PCs with new ones or switch to a Mac. As the replacement rate for PCs is much quicker than for Macs (and the userbase is bigger anyway) they have more sales...
In general sales are shrinking as people either have PCs/Macs and don't need new ones and/or are slowly switching to tablets, actually not so slowly.
" brand new" Mac Pro is 1169 days old, No they are not. The design is old. The hardware is new.
My Mac mini is probably 7 years old.
My 17" Laptop minimum 5, not sure. Even my MacBook Air 13" is approaching 2.5 years.
I for my part don't buy new Apple laptops, probably I switch to Linux. The new models look cool, but I need real function keys (the new "bar" should simply be above the real keys instead of replacing them, or below the keyboard?), I want a touch screen, I want decent BT, instead of the "mice only" bullshit Apple has, I want the magnetic power connection, I want a decent set of ports (don't care if they are USB-C, but 3 ports is not enough), and I want an macOS that "just works" and is not going the Windows 10 way, that is emphasizing on "look", and most of all: I want a 17" laptop, or even bigger and with a normal thickness... but I guess no one from Apple reads this anyway:D AH: and around here they have a new super cheap PC laptop with a matte display, I can not get why you either have to order explicitly for +$50 a matte display, or half of Apples products don't even offer a matte display.
So far, however, this phenomenon hasn't produced extreme unemployment. The authors obviously never read a history book...
That's because automation can create jobs as well as destroy them. That is nonsense. You fire half of your workers and produce 2 or even 10 times theroducts before. Result is, 3 more jobs for sales personnel, 5 more for people packaging sales, 1 more secretary to receive calls and do paperwork etc. p.p.
You have still fired half of your men minus the 9 new jobs you created. And those workers won't find work elsewhere. For what job should I hire a burger turner who got replaced by a machine/robot? Where should the jobs come from such unskilled workers are doing? Hu? The only way to stay afloat is education, which costs money in many parts of the world. And if you don't start with a good school education, you are probably lost anway.
Then again: taxes on robots Ha ha ha ha! How the funk should that work? A sales tax or 'operation tax' with a license like on a car? The first one will only slow down the adoption, because it makes the robot more expensive. Or a kind of 'robots income tax'? That only costs the owner a bit of his profit. As long as he makes more profit with a robot than with workers, why should he not replace workers with robots? And then again what is the state going to do with that tax income? Paying it out as universal basic income? The uproar of the workers who still have a job (hint, see above: education!) is so big... just read/. the majourity is against UBI... how retarded. In a country like the USA, where the legal system is fucked up, voting does not work, oligarchs or money aristocrates go for office, laws are determined by the rich, education is either non existant or super expensive 'the people' hate 'the state' or 'the government' and want to reduce/restrict its power... and you propose a tax on Robots? How illusioned are you? Looking at the mess the US are in I doubt there will be any changes without a bloody revolution.
Sales and marketshare have nothing to do with users. Most Mac users use their Macs for 5 years and longer, so chances are a new sold one goes to a new user, who had no Mac before. Relevant is user base and not sales. And the user base for Macs is increasing steadily.
And most people use for that the database. Then you have the data already in memory in the way you later want to "walk over it".
As others have pointed out: doing stuff like this by hand, is no longer relevant. Probably since 20 or even 25 years.
It helps to learn stuff like this in university, as plenty of other stuff is build on top of it, but the requirement to code such algorithms, sorry... never experienced that outside of the university.
In other words: the requirement only exists if you are a contributor to the STL or boost, or similar libraries.
I guess the only ones who touched such topics are the big data guys from Hadoop/Spark, Casandra etc.
A friend of mine had similar bad experiences with google interviewers.
The guys interviewing him (first two interviews where phone/skype interviews) had absolutely no clue about the topics but where simply "professional freelance HR interviewers" or some other bullshit.
Experts are only like you describe them with work they do more or less daily.
On my business card is written: software generalist. Because I have worked in nearly all areas that interest me, be it business wise (power companies, heavy industries, embedded autonomous car driving systems etc.) or task (trainer, mentor, Systems Analyst, Requirements Engineer, Dev Ops, Systems Administrator, Operator, Scrum Master, and plenty more)
I'm good, because I forget everything that I do no longer need. And reinvent it when people have a problem in that area and ask me. And your example regarding "working with strings" is plain wrong and arrogant. In a modern IDE the code completion makes 50% if not more of the work. When I program half a year with a certain library, you can be rest assured that I know far less about that library then I would have known 20 years ago, where the IDEs where much worse.
Trust me: when I have to use vi and bash, 50% of my time writing software is spent on forums like stackoverflow. But as my software usually runs better and I'm often still faster than the people I replace... no one cares. I know plenty of things "not to do" in nearly all areas of IT and software, but plenty of things I simply forgot how to do them... I look it up and can usually apply my knowledge immediately especially as I spot the wrong answers on the web more or less immediately.
When I started reading this article/thread I had guessed I would perhaps need an hour to write Bubblesort from scratch. But only writing here gave me old memories back so I could probably cut it down to 10 minutes now: on the other hand I'm already 60 minutes here on/.;D
I had CS too. 20 Years ago. And no, I can not write a bubble sort "out of my mind" on a whiteboard. However, I still remember "what bubble sort is" and can of course "reinvent one", but would need a bit more time, especially as doing it in a Debugger with a real language is so much faster.
But, while was typing, this I slowly remember how it should look:D
I had whiteboard interviews where the interviewer had no clue about coding, so every question regarding clarification to the task where unanswered and the interviewer even got a bad impression of my skills.
On the other hand I get so often questions that I consider silly, and afterwards I get told I was the *only* one who answered that silly question correctly.
Funny is it, when the interviewer after accepting my answer tells me what the others had answered.
The majourity of Muslims does not life in Arabica or other "arabic" influenced nations.
The majourity of Muslims live in Asia! Particular Indonesia, Malaysia, India and China, and if you want to count it in: Pakistan.
All those nations have no problems with radical Muslims or Sharia. Only Saudi Arabia and its satellite states have. Turkey was "safe" before Erdogan came, Egypt had a military coup a few years ago to remove Islamic idiots from power.
Go figure: Sharia is a middle age law, and no one who has a sane mind want it back. Just because people have chosen to have Islam as their religions does not make them directly idiots, except you believe everyone who is into gods is an idiot, then you had a point;D
The ISIS idiots on the other hands are simply power hungry idiots. That they establish Sharia law has nothing to do with their religion, but their mindset.
While the "end effect" is true, it has nothing to do with laziness.
Paying a programmer is expensive. The employer have you rather finished quickly and sells your work early with "drawbacks" e.g. more memory usage and less speed.
And the real culprits are the marketing droids that think programs and OSes need a new UI experience every few years. A huge deal of programming efforts and bloat is wasted and does not bring any value to the users.
Was about writing something like you did, however:
since the likelihood of having a defect on your die is lower.
No, the "likelihood" is the same. You have X defects on a die. So up to X "chips" will have a defect in the end. However as you increase the amounts of chips you produce the percentage of defect chips shrinks. Or in other words: the smaller the chips, the more you get from one waver/die. The amount of defect chips stays the same, though.
The foundation of an App is completely created by drag and drop in Apple tools.
Programmers and also non programmers simlly underestimate how good those tools are and how much work in crafting Apps is automated. Nevertheless she of course had to code the actual logic she needed by hand.
That would be true for a capacitor, not for a battery.
In a battery you only shift the charge from one side to the other.
Ho I understand the article, they still use lithium, only the electrolyte got replaced by a kind of glass. :D
But I might be wrong
An electric car with 3x the range ... ... ... ... ... GPS, emergency beacons, swim wests ...
Or a drone
Not to mention the people working on electric powered planes/helicopters
A phone that lasts three times as long
Naval equipment for sailors
You must live under a rock.
I did not say there is a law.
I said it is a requirement to work in that job. Big difference.
Catalan is not "more closely" to French. It is basically exactly in the middle between Castilian and Occitan and a significant French influence.
ISLAM HAS BLOODY BORDERS. It's founding prophet was a military warlord who imposed Sharia law. ... the same god christians and jews worship ... to pagans.
That is wrong, at that time Sharia did not exit.
Muhamed btw. basically only proposed to fight against pagans, and mainly he fought against other muslims, ironic, isn't it?
Muhameds plan was to spread the "true god"
ISIS is fundamental Islam, following the example of Mohamed.
No they are not. They follow their own weird mindset. Sharia was introduced and formalized in books to read long after Mohamed.
While Sharia popped up here and there 200 years after Mohameds death, it never was very popular. E.g. the biggest islamic nation probably was the Ottoman Empire. It never had Sharia. Big parts of the empire kept widely autonomous status. It was a so called multi culture, multi lingual empire, and multi religious. Converting to Islam, basically did not happen under "islamic rule".
https://en.wikipedia.org/wiki/...
Furthermore sharia is a big system of rights, laws and privileges, e.g. most countries you mention where regions have parts oh Sharia established have a pretty common legal system, and under Sharia falls only marriage, inheritance, child care, divorce etc. In other words: no beheading or stoning.
If those countries have regions that are violent (like indonesia): then it is because they want to separate, not because they want Sharia as the "better law".
Or do you really think every muslim is automatically an idiot?
http://edition.cnn.com/2010/WO...
https://www.famousscientists.o...
Ah, yes, Pakistan, how can you be so wrong?
https://en.wikipedia.org/wiki/...
Regarding the other countries you listed: you seem to be interest, why don't you read up the history of them. Then you easily realize that the problems there have not really anything to do with what religion is dominant there (or not so dominant but practiced by the ruling class)
I'm actually pretty tired about this islam phobia ...
How many third world countries are left on the planet? 5 or 10?
Sorry, I suggest simply to check some statistics, or wikipedia. USA is barely out of the leading 1/3rd in murder cases, as well with guns as without. However it seems it improved over the last decades and my numbers were a bit outdated.
I can't imagine how you can claim that Islam does not imply Sharia law given Sharia law
Because most "islamic" states have no sharia law?
What has the single example you know about it have to do with it? Or don't you know what the word "implies" actually means?
Its absolutely clear that Sharia (Islamic Law) and Islam (the religion) are absolutely intertwined to the point of being the same thing. ... otherwise every islamic nation had sharia law (that is what the word "implies" does mean)
And this is absolutely wrong
Do I really need to count up all the _democratic_ _state of law_ _non sharia_ Islamic nations? Considering what Erdogan is doing, we probably have soon one less ... if that is the point you want to make.
You mix up "algorithms learn in university" with "crafting new algorithms on demand".
The latter is my job, the first I never needed except in the university to pass the gradings.
Such cases are vanishingly rare in the real world.
No they are not, hence those benefits are often pointed out for Bubble sort. And people usually completely forget about them, because they only have memorized: "bubble sort is bad".
That is actually another reason why asking for such an algorithm in an interview is "strange" as the interviewee probably only "remembers" that fact (probably also one of the topics Knuth refers to).
E.g. you have a table in a kind of excel, you sorted first by column A, then you sort by column B, depending on situation column B will often be partially sorted already. ... or you sort stuff only by first digit or first letter, then you can use short cuts ...
Or simply want to have a "stable" sorting algorithm
Your idea it is only fast for very few as 3 or less is wrong: the upper limit where it is faster than e.g. Quicksort depends on hardware, like cashes, paging etc., much more in our days than it did when the algorithms where "invented". So while they look bad in O calculus they are still very fast for special cases.
Sure that it works ;D ?
Does it stop when it realizes the input is already sorted, or in other words: does it realize it?
Etc.
but then according to your reasoning the user base for PCs is also increasing? ...
The user base of windows PCs is increasing only in third world countries (and yes: I mean third world, not developing countries), in other countries PC users simply replace old PCs with new ones or switch to a Mac. As the replacement rate for PCs is much quicker than for Macs (and the userbase is bigger anyway) they have more sales
In general sales are shrinking as people either have PCs/Macs and don't need new ones and/or are slowly switching to tablets, actually not so slowly.
" brand new" Mac Pro is 1169 days old,
No they are not. The design is old. The hardware is new.
My Mac mini is probably 7 years old.
My 17" Laptop minimum 5, not sure. Even my MacBook Air 13" is approaching 2.5 years.
I for my part don't buy new Apple laptops, probably I switch to Linux. The new models look cool, but I need real function keys (the new "bar" should simply be above the real keys instead of replacing them, or below the keyboard?), I want a touch screen, I want decent BT, instead of the "mice only" bullshit Apple has, I want the magnetic power connection, I want a decent set of ports (don't care if they are USB-C, but 3 ports is not enough), and I want an macOS that "just works" and is not going the Windows 10 way, that is emphasizing on "look", and most of all: I want a 17" laptop, or even bigger and with a normal thickness ... but I guess no one from Apple reads this anyway :D AH: and around here they have a new super cheap PC laptop with a matte display, I can not get why you either have to order explicitly for +$50 a matte display, or half of Apples products don't even offer a matte display.
So far, however, this phenomenon hasn't produced extreme unemployment. ...
The authors obviously never read a history book
That's because automation can create jobs as well as destroy them.
That is nonsense. You fire half of your workers and produce 2 or even 10 times theroducts before. Result is, 3 more jobs for sales personnel, 5 more for people packaging sales, 1 more secretary to receive calls and do paperwork etc. p.p.
You have still fired half of your men minus the 9 new jobs you created. And those workers won't find work elsewhere. For what job should I hire a burger turner who got replaced by a machine/robot? Where should the jobs come from such unskilled workers are doing? Hu? The only way to stay afloat is education, which costs money in many parts of the world. And if you don't start with a good school education, you are probably lost anway.
Then again: taxes on robots Ha ha ha ha! How the funk should that work? A sales tax or 'operation tax' with a license like on a car? The first one will only slow down the adoption, because it makes the robot more expensive. Or a kind of 'robots income tax'? That only costs the owner a bit of his profit. As long as he makes more profit with a robot than with workers, why should he not replace workers with robots? ... just read /. the majourity is against UBI ... how retarded. ... and you propose a tax on Robots? How illusioned are you? Looking at the mess the US are in I doubt there will be any changes without a bloody revolution.
And then again what is the state going to do with that tax income? Paying it out as universal basic income? The uproar of the workers who still have a job (hint, see above: education!) is so big
In a country like the USA, where the legal system is fucked up, voting does not work, oligarchs or money aristocrates go for office, laws are determined by the rich, education is either non existant or super expensive 'the people' hate 'the state' or 'the government' and want to reduce/restrict its power
Sales and marketshare have nothing to do with users.
Most Mac users use their Macs for 5 years and longer, so chances are a new sold one goes to a new user, who had no Mac before.
Relevant is user base and not sales. And the user base for Macs is increasing steadily.
You would do that to learn how to use your phone most efficient. If you care for stuff like this :D
And most people use for that the database.
Then you have the data already in memory in the way you later want to "walk over it".
As others have pointed out: doing stuff like this by hand, is no longer relevant. Probably since 20 or even 25 years.
It helps to learn stuff like this in university, as plenty of other stuff is build on top of it, but the requirement to code such algorithms, sorry ... never experienced that outside of the university.
In other words: the requirement only exists if you are a contributor to the STL or boost, or similar libraries.
I guess the only ones who touched such topics are the big data guys from Hadoop/Spark, Casandra etc.
A friend of mine had similar bad experiences with google interviewers.
The guys interviewing him (first two interviews where phone/skype interviews) had absolutely no clue about the topics but where simply "professional freelance HR interviewers" or some other bullshit.
in an introductory Algorithms class as an example of what not to do.
That is wrong. I suggest to check Wikipedia, facepalm.
I can't recall any instance where I actually needed to do so as part of my job
I guess that is true for nearly everyone here.
Experts are only like you describe them with work they do more or less daily.
On my business card is written: software generalist. Because I have worked in nearly all areas that interest me, be it business wise (power companies, heavy industries, embedded autonomous car driving systems etc.) or task (trainer, mentor, Systems Analyst, Requirements Engineer, Dev Ops, Systems Administrator, Operator, Scrum Master, and plenty more)
I'm good, because I forget everything that I do no longer need. And reinvent it when people have a problem in that area and ask me. And your example regarding "working with strings" is plain wrong and arrogant. In a modern IDE the code completion makes 50% if not more of the work. When I program half a year with a certain library, you can be rest assured that I know far less about that library then I would have known 20 years ago, where the IDEs where much worse.
Trust me: when I have to use vi and bash, 50% of my time writing software is spent on forums like stackoverflow. But as my software usually runs better and I'm often still faster than the people I replace ... no one cares. I know plenty of things "not to do" in nearly all areas of IT and software, but plenty of things I simply forgot how to do them ... I look it up and can usually apply my knowledge immediately especially as I spot the wrong answers on the web more or less immediately.
When I started reading this article/thread I had guessed I would perhaps need an hour to write Bubblesort from scratch. But only writing here gave me old memories back so I could probably cut it down to 10 minutes now: on the other hand I'm already 60 minutes here on /. ;D
Dude,
I had CS too. 20 Years ago. And no, I can not write a bubble sort "out of my mind" on a whiteboard.
However, I still remember "what bubble sort is" and can of course "reinvent one", but would need a bit more time, especially as doing it in a Debugger with a real language is so much faster.
But, while was typing, this I slowly remember how it should look :D
Well,
I had whiteboard interviews where the interviewer had no clue about coding, so every question regarding clarification to the task where unanswered and the interviewer even got a bad impression of my skills.
On the other hand I get so often questions that I consider silly, and afterwards I get told I was the *only* one who answered that silly question correctly.
Funny is it, when the interviewer after accepting my answer tells me what the others had answered.
Unlike you, I'm required to have a radio license :D
So it is pretty safe to assume I know something about it, rofl.
The majourity of Muslims does not life in Arabica or other "arabic" influenced nations.
The majourity of Muslims live in Asia! Particular Indonesia, Malaysia, India and China, and if you want to count it in: Pakistan.
All those nations have no problems with radical Muslims or Sharia. Only Saudi Arabia and its satellite states have. Turkey was "safe" before Erdogan came, Egypt had a military coup a few years ago to remove Islamic idiots from power.
Go figure: Sharia is a middle age law, and no one who has a sane mind want it back. Just because people have chosen to have Islam as their religions does not make them directly idiots, except you believe everyone who is into gods is an idiot, then you had a point ;D
The ISIS idiots on the other hands are simply power hungry idiots. That they establish Sharia law has nothing to do with their religion, but their mindset.