But just a quick look at your username and it's immediately obvious that typing long strings is something you enjoy, so I could see how someone like you would stumble upon edge cases like hitting a MAX_PATH limit.
Those two examples are apples and oranges. You're the one adding needless stuff.
Why don't you try again without the exception management and without using the "fs" variable? And if you want to have similar code you'd have to use the sync version of readFile and this becomes a one-liner.
The switch statement is a valid construct present in many languages that also have first class functions (such as JavaScript or PHP). And if you think that functions are a less clunky way of doing something that in other languages can be done with a switch, I can only hope I'll never have to maintain your code.
It is. Just the fact that there's a keyword (pass) that does nothing except prevent the indentation from falling apart says it all.
However there's many things that are even more retarded in Python: - package management - text encoding - the whole import thing which makes it impossible to use sibling modules without dirty hacks - mutable default arguments - the abuse of underscore, such as the lovely __main__ - the "ternary operator", which is basically a drunk if statement
I think at this point PHP have got their shit together better than Python.
Sure, if you're writing printer drivers it's probably not for you, but for people who have to solve business problems, not technology problems, it's a good tool that allow them to do their job quickly. There's plenty of high quality math packages and it's one of the languages that is the easiest to use for database access.
Did you even try to install NodeJS on Windows? Click click done. And npm happens to have the biggest number of packages of all package managers. And yes, it includes packages to do a CUDA backed neural network. As if anyone who has meaningful volumes of data to process in a neural net would use Python or JavaScript anyways.
I'm least familiar with KDE; but I've seen enough to realize it WANTS to be Windows (well, newer version want to be more like macOS than Windows > ver. 7), but is even more clumsy and childish.
Dude, there's a date in your KDE screenshot that says "2000-10-24". That's one year before OSX, and already we can see where Apple took their design ideas. Same taskbar with big icons, even the same 3 buttons on the window toolbars.
At this point even Ubuntu Unity looks sophisticated compared to OSX. That says a lot.
Do you know the one thing you'll hear most often in those cities? "There's way too many people in this city." You hear that everyday, many times a day. You end up saying it yourself.
All that means is that the city needs substantial redesign. Green spaces on roofs, that kind of thing. Make more room for people to actually use, and make it possible for them to get out of town and go do stuff.
There's no room for green spaces on roofs, and anyways it would be too small given the number of tenants. You can't pull space out of thin air; those cities are overcrowded as it is.
Take Shanghai. How would you redesign it? It's growing by 500,000+ people every year. You're going to put those people where while you do your redesign? It's not realistic.
No. The things you're challenging like the difficulty of measuring insulin are not even controversial, you're just amazingly uninformed and smug at the same time.
Here's a FAQ from a lab:
1. Can I do an insulin test at home? No. Although glucose levels can be monitored at home, insulin tests require specialized instruments and training are are perforemd at laboratories.
Test Preparation Needed? You may be asked to fast for 8 hours before the blood sample is collected, but occasionally a health practitioner may do the test with, for example, a glucose tolerance test. In some cases, a health practitioner may request that you fast longer.
Cities can be highly efficient, if people both live and work there.
No. I've spent enough time in gigantic Asian cities to know that people are not meant to be crammed in tiny boxes 24x7.
Have you ever been with 25 persons in an elevator designed for 15, for a total of about 30 minutes every day? Ever had to wait 3 or 4 trains before you could get a spot to ride 20 minutes while in physical contact with strangers on 75% of the surface of your body? Have you ever been in a situation where the only place you can be on your own is when you're in your 100 sq. ft. apartment? Ever been in a situation where you can't go anywhere that doesn't involve waiting because it's too crowded? Waiting to take a piss, waiting to buy street food that you'll have no chance to eat sitting down, waiting to even get inside a laundromat where you have to wait again to get a machine.
Do you know the one thing you'll hear most often in those cities? "There's way too many people in this city." You hear that everyday, many times a day. You end up saying it yourself.
It's not fun. It's not cool. It's not trendy. It's hell. Imagine being sent to an overcrowded county jail where they pack people in close proximity because the system is bursting at the seams and you can't escape, you're elbow to elbow with other inmates all the time. That's roughly how you feel in a crowded Asian city.
So until you've experienced it for yourself, don't talk about high-density cities needing to be even more dense.
You're missing the point. You're like someone saying: "if we find the way to make people immortal, how are we going to provide them all with a retirement home."
The whole concept of high-density urban centers is a direct consequence of mass transportation issues. Buses and trains that run on a schedule are an immense waste of resources, they're too big and too slow to react to changes, so populations have clustered to minimize the side effects of poor transportation. Urban money pits such as skyscrapers (which are incredibly inefficient in terms of HVAC and pedestrian traffic) have mushroomed because of poor transportation.
There's plenty of land in North America; once gas emissions are solved, there won't be any reason to endure rush hour, world trade centers and $40/day downtown parking. You may believe that being downtown is a must and that it's where things happen, but really, look around you and see what proportion of those office buildings actually play a role in your life other than being in the way.
The path of least resistance is horizontal, not vertical.
At least you have the option of not using a case. I personally don't. It's annoying when I break a phone but I prefer the occasional incident than carrying a brick.
How will solving our gas emission problems disrupt mass transit?
It will remove mass transit as an eco-friendly solution, focusing instead of efficient transportation and better use of the overall land.
Right now it's all about packing people as close to each other as possible in dense urban cores. That's a side effect of gas emissions.
Have you been to Toyko or Seoul? Seen those areas crammed with residential towers? Can you imagine raising kids in that vertical world, living in tiny space, always being squeezed against other people in elevators and trains? That's a wet dream for mass transit but for people actually living it, it's a nightmare.
I do that because I realized one reason I snacked a lot was that I got peckish late at night, before bedtime.
Snacks are one of those things that nutritionists advise ("eat 6 meals a day!") but are actually an impediment to weight loss. It's based on the misconception that eating itself is the issue from a weight perspective; rather, snacking causes a persistent flow of insulin in the body, which is the key cause of weight gain. Eating less often matters more than eating less overall; extended periods of fasting (such as night time) are the moment where weight loss can be triggered.
So I would say you're on the right track, but it's still not a valid data point because it hasn't been long enough.
It's cool to see how far the tech is going, but since almost everyone I see puts their thin new iPhone into a big bumper case, it does all feel pretty pointless.
Yeah I saw someone put their new Samsung S8 in a big case today. Instead of a slim phone they now have something similar to what Gordon Gekko was using to make insider trades.
Dude, you just swipe the album art upwards to reveal the shuffle/repeat buttons. The current song stays, the mode changes.
That's very intuitive. It's almost like on Google Play Music, except on that one you see the buttons and you don't have to swipe useless album art upwards.
Dunno, never ran into that (alleged) problem.
But just a quick look at your username and it's immediately obvious that typing long strings is something you enjoy, so I could see how someone like you would stumble upon edge cases like hitting a MAX_PATH limit.
Those two examples are apples and oranges. You're the one adding needless stuff.
Why don't you try again without the exception management and without using the "fs" variable? And if you want to have similar code you'd have to use the sync version of readFile and this becomes a one-liner.
No. Just plain no.
The switch statement is a valid construct present in many languages that also have first class functions (such as JavaScript or PHP). And if you think that functions are a less clunky way of doing something that in other languages can be done with a switch, I can only hope I'll never have to maintain your code.
using spaces for block definition is brain dead
It is. Just the fact that there's a keyword (pass) that does nothing except prevent the indentation from falling apart says it all.
However there's many things that are even more retarded in Python:
- package management
- text encoding
- the whole import thing which makes it impossible to use sibling modules without dirty hacks
- mutable default arguments
- the abuse of underscore, such as the lovely __main__
- the "ternary operator", which is basically a drunk if statement
I think at this point PHP have got their shit together better than Python.
Sure, if you're writing printer drivers it's probably not for you, but for people who have to solve business problems, not technology problems, it's a good tool that allow them to do their job quickly. There's plenty of high quality math packages and it's one of the languages that is the easiest to use for database access.
To me, it sure sounds like a list of the most problematic languages combined with the number of people who use them.
Exactly. That's like saying: GM cars are the most popular because you can find a lot of GM spare parts in junkyards.
You mean like docker or yum?
Did you even try to install NodeJS on Windows? Click click done. And npm happens to have the biggest number of packages of all package managers. And yes, it includes packages to do a CUDA backed neural network. As if anyone who has meaningful volumes of data to process in a neural net would use Python or JavaScript anyways.
Don't Bash things you don't know (pun intended).
It's a massive leg up from VBA
Not sure about that. VBA has switch statements (case). Python has "if'.
A misspelling on the LHS of an '=' operator goes unnoticed?
That's exactly why it's best to put values on the LHS when you do a compare in Python; it catches bad variables as well as using = instead of ==.
Of course if it's two variables then it's not as bullet proof but it's still a good approach.
I'm least familiar with KDE; but I've seen enough to realize it WANTS to be Windows (well, newer version want to be more like macOS than Windows > ver. 7), but is even more clumsy and childish.
Dude, there's a date in your KDE screenshot that says "2000-10-24". That's one year before OSX, and already we can see where Apple took their design ideas. Same taskbar with big icons, even the same 3 buttons on the window toolbars.
At this point even Ubuntu Unity looks sophisticated compared to OSX. That says a lot.
you just replied like a cunt.
And you just did the same. What's your point?
isn't that the point of childhood? to discover what interests you?
That sounds a lot like something a pedophile would say
If you RTFA you'll see in the subtext, it's pretty much on the other end of the spectrum.
Dodds did not respond when asked what would happen to the downtown office space at M.L.K. Jr. Drive
Do you know the one thing you'll hear most often in those cities? "There's way too many people in this city." You hear that everyday, many times a day. You end up saying it yourself.
All that means is that the city needs substantial redesign. Green spaces on roofs, that kind of thing. Make more room for people to actually use, and make it possible for them to get out of town and go do stuff.
There's no room for green spaces on roofs, and anyways it would be too small given the number of tenants. You can't pull space out of thin air; those cities are overcrowded as it is.
Take Shanghai. How would you redesign it? It's growing by 500,000+ people every year. You're going to put those people where while you do your redesign? It's not realistic.
I wonder which one you've never actually seen. KDE, Windows 3.1 or OS X.
No. The things you're challenging like the difficulty of measuring insulin are not even controversial, you're just amazingly uninformed and smug at the same time.
Here's a FAQ from a lab:
1. Can I do an insulin test at home?
No. Although glucose levels can be monitored at home, insulin tests require specialized instruments and training are are perforemd at laboratories.
https://labtestsonline.org/und...
And how to prepare fot that test:
Test Preparation Needed?
You may be asked to fast for 8 hours before the blood sample is collected, but occasionally a health practitioner may do the test with, for example, a glucose tolerance test. In some cases, a health practitioner may request that you fast longer.
https://labtestsonline.org/und...
Take one minute to google "measure insulin at home" and you'll see for yourself.
Or just remain a smug ignorant and get your panties in a bunch when people present you with things you didn't know, it's entirely up to you.
urban sprawl will become a solution rather than a concern.
Have you seen the average American waistline? Electric cars aren't going to fix that.
Actually it has slowly started to stabilize. Children obesity has decreased over the last 10 years, it will cascade down gradually.
Now it's the Chinese who are getting on that fun ride.
Cities can be highly efficient, if people both live and work there.
No. I've spent enough time in gigantic Asian cities to know that people are not meant to be crammed in tiny boxes 24x7.
Have you ever been with 25 persons in an elevator designed for 15, for a total of about 30 minutes every day? Ever had to wait 3 or 4 trains before you could get a spot to ride 20 minutes while in physical contact with strangers on 75% of the surface of your body? Have you ever been in a situation where the only place you can be on your own is when you're in your 100 sq. ft. apartment? Ever been in a situation where you can't go anywhere that doesn't involve waiting because it's too crowded? Waiting to take a piss, waiting to buy street food that you'll have no chance to eat sitting down, waiting to even get inside a laundromat where you have to wait again to get a machine.
Do you know the one thing you'll hear most often in those cities? "There's way too many people in this city." You hear that everyday, many times a day. You end up saying it yourself.
It's not fun. It's not cool. It's not trendy. It's hell. Imagine being sent to an overcrowded county jail where they pack people in close proximity because the system is bursting at the seams and you can't escape, you're elbow to elbow with other inmates all the time. That's roughly how you feel in a crowded Asian city.
So until you've experienced it for yourself, don't talk about high-density cities needing to be even more dense.
You're missing the point. You're like someone saying: "if we find the way to make people immortal, how are we going to provide them all with a retirement home."
The whole concept of high-density urban centers is a direct consequence of mass transportation issues. Buses and trains that run on a schedule are an immense waste of resources, they're too big and too slow to react to changes, so populations have clustered to minimize the side effects of poor transportation. Urban money pits such as skyscrapers (which are incredibly inefficient in terms of HVAC and pedestrian traffic) have mushroomed because of poor transportation.
There's plenty of land in North America; once gas emissions are solved, there won't be any reason to endure rush hour, world trade centers and $40/day downtown parking. You may believe that being downtown is a must and that it's where things happen, but really, look around you and see what proportion of those office buildings actually play a role in your life other than being in the way.
The path of least resistance is horizontal, not vertical.
At least you have the option of not using a case. I personally don't. It's annoying when I break a phone but I prefer the occasional incident than carrying a brick.
How will solving our gas emission problems disrupt mass transit?
It will remove mass transit as an eco-friendly solution, focusing instead of efficient transportation and better use of the overall land.
Right now it's all about packing people as close to each other as possible in dense urban cores. That's a side effect of gas emissions.
Have you been to Toyko or Seoul? Seen those areas crammed with residential towers? Can you imagine raising kids in that vertical world, living in tiny space, always being squeezed against other people in elevators and trains? That's a wet dream for mass transit but for people actually living it, it's a nightmare.
I do that because I realized one reason I snacked a lot was that I got peckish late at night, before bedtime.
Snacks are one of those things that nutritionists advise ("eat 6 meals a day!") but are actually an impediment to weight loss. It's based on the misconception that eating itself is the issue from a weight perspective; rather, snacking causes a persistent flow of insulin in the body, which is the key cause of weight gain. Eating less often matters more than eating less overall; extended periods of fasting (such as night time) are the moment where weight loss can be triggered.
So I would say you're on the right track, but it's still not a valid data point because it hasn't been long enough.
It's cool to see how far the tech is going, but since almost everyone I see puts their thin new iPhone into a big bumper case, it does all feel pretty pointless.
Yeah I saw someone put their new Samsung S8 in a big case today. Instead of a slim phone they now have something similar to what Gordon Gekko was using to make insider trades.
Dude, you just swipe the album art upwards to reveal the shuffle/repeat buttons. The current song stays, the mode changes.
That's very intuitive. It's almost like on Google Play Music, except on that one you see the buttons and you don't have to swipe useless album art upwards.