So what went wrong here?
If I had to guess, it's a failure in testing, and one that I've seen more than once....
My guess would be it worked perfectly while testing, but with the update of the calculator (part of the OS updating) lots of other things got updated also, making the calculator become unresponsive while doing the animations.
My first program was the Sieve of Eratosthenes in Algol 68 in 1978. After handing in your punch cards you had to wait 3 hours before you got your results, of some syntax errors.
Also embedded software engineer and don't like to use dynamic memory allocation.
The only time to use recursion is when I have to print (to serial or something) a number in binary form and you can not use printf because your system is to small.
Yes. That. I can make a prediction. And it will be correct.
It will not be corrected, it will change. And again and again.
Problem is, we got used to an interface. My lucky way out of this problem was using a few different OS at the same time starting from Windows 2.0, RiscOS 2 and later Mac OS9. This way I knew there are multiple solutions to a UI and didn't get hooked on a single way of doing things.
1: the size of data is not given
2: the code doesn't check if the malloc is valid;
3: you malloc 200 but copy 2000, hope thats a type
4: you don't check the result of send_buffer
5: send_buffer is not a standard function, you have to check what it does.
But in this case, it was just clickbait and they knew exactly what they were doing and that it was illegal and they did it on purpose.
This is a site that organized the first ever referendum in the Netherland. After they won, they told they just did it because the could do it, not because of the subject. It screwed up the relationship between Oekraïne and the EU. They did it for fun.
Problem was that in this case, the party was not legally hosting the content. They were photo's published before the playboy was sold and published on an Australian site. Definitely not legal.
The court already ruled that linking to a news site is no infringement, but the photo's were not legally hosted. If you or me link to that site, it's not a problem. If slashdot does it, it is.
My dentist first recommended flossing, some years ago she recommended using dental sticks and a few years back we indeed needed to use interdental brushes. You can get them in different sizes. If the space is really to small, use small dental sticks.
For a large gab at the back, I use still some dental floss to get food out.
Exactly my experience. What I also did was connect a small HD to it. Now the smart TV can record programs (a feature I never use) but also pause TV or go back in time. After pause I can skip commercials.
One other thing I use is the ability to watch missed programs with the "Program missed" app but I don't know if every country has that.
And for my streaming I use the Serviio program using DNLA (because I need subtitle working). The TV is also a LG tv.
I have followed your links but without trucks and busses they registered about 4.5 million passenger cars. The other links said MORE than 1 m hybrids were sold, not the exact number.
I don't know which cars are hybrids but number 1 (Toyota Aqua) and 2 (Toyota Prius) are both hybrids. Maybe it's not more than other cars but it still amazes me how many hybrids are sold.
I have to disagree with you on experience. Maybe you are working in an other field of programming but I see younger programmers make mistakes I did make years ago (embedded systems).
As you say: "Technology hasn't changed sine the 70s,...". Doesn't this implies that experience can help programming?
Maybe the engineers at Apple thought of an attack vector to unlock the phone, something like: connect a fingerprint emulator to the phone and try to let it connect. If you give an error and don't do anything they could keep retrying and unlock the phone with the fingerprints on the phone this way.
A way to let nobody access the phone is brick it, but maybe they should give some more warnings.
On the other hand, maybe the error that Apple made is not bricking the phone, but to give to little warnings before bricking the phone.
Does the EU even have enough troops to protect something that massive in such an unstable region? Nine million square kilometers and surrounded by notoriously unstable countries with weak governments?
The nine million square kilometers is the size of the Sahara Desert, not the solar panels.
I am writing programs for embedded systems, smal ARM platforms. The only difference in those ten years is that the boot loader is no longer in assembly and there are more libraries for the hardware.
Instead of writing drivers for the hardware using the datasheets, you now have to configure the libraries. There is not much gain in time doing this.
On the other hand, you can get an ethernet stack running on your platform which would be impossible ten years ago.
Even better: http://www.verbeterdebuurt.nl/ is an updated version for the Netherlands. I used it a couple of times in Enschede and if you report something that is fixable (not complaining about your neighbor) they normally fix it within 1 or 2 weeks.
One time there seem to be a problem with the water (the pavement was wet on a dry day) which was fixed the next day.
My problem is, I will never buy anything on those ads. I will never click on any ad and don't use them to get information.
why do companies spend hundreds of billions of dollars and such things? trust me, nobody spends that sort of money without knowing without a doubt that it works.
Ah, but you don't know me. I am 50+. They are not making tv programs for my kind any more on commercial station because we don't buy enough.
What should I do? Stop using internet?
you should stop visiting sites where the advertising is offensive to you. why is that so complicated? if there are sites that you really enjoy that contain ads, deal with the ads.
I indeed do that. There are news sites I don't visit because of the ads. I found other sources without ads and even without cookies. For weather forecasts I do the same.
Or I block ads. On forums I can still comment and don't waste the owners/advertisers bandwidth.
Do you want to be on technical forums that block blockers? (Didn't Slashdot do that for a short time?) And block people that don't click on ads? Because if nobody clicks the ads I don't think they would get any money.
I don't think ads are the way to get the internet working. There should be something else.
Do you know how to change a system? Like some companies say: "disrupt them!".
I love patent troll, they will change the patent laws.
I love downloaders, they will change the copyright laws.
Block ads. Let's see what happens.
My problem is, I will never buy anything on those ads. I will never click on any ad and don't use them to get information.
If never buy something from somebody on my front door. If somebody ask me: "Can I ask you a question" I say I am not interested. People don't call me on the phone because I am listed that I don't want advertisements (you can do that in the Netherlands). I have a sticker on my front door saying I don't want un-addressed advertisement flyers.
A non lazy programmer shouldn't subtract two timestamps from each other to get a duration but uses a (self written) function that can handle overflows.
A programmer that doesn't have total control over the whole system (in most cases) should reboot the system after a fixed amount of time. Even your iPhone or Android phone can not handle half a year uptime (at least all phones I have seen).
Yes, the program would have to be implemented without error, to not have an error... that is a tautology.
Sorry, programming for more than eh.. 35 years but never managed to write a non trivial program that doesn't have errors in it. But that's not really a problem as long as the program can recover from it.
One hint: if you see a solution to a problem and think "that is easy way to solve it" don't use it. It will always come back and haunt you (like using a long for a timer).
Yes, but is still lazy.
And you have to adjust a lot of variables to become long. All temp vars that hold a timestamp. If you miss a single one, your screwed.
If you did the math, you don't need excess space. If you need excess space, you're just shifting the day of failure into the future. Yes, perhaps far enough, but still.
What math would you do to determine exactly how high a counter should count?
Would using a 64-bit long on a millisecond counter be lazy programming?
Yes, that is lazy programming.
You should not determine a duration by subtracting two points of times from each other. You should call a function that can handle timer overflows.
So what went wrong here? If I had to guess, it's a failure in testing, and one that I've seen more than once. ...
My guess would be it worked perfectly while testing, but with the update of the calculator (part of the OS updating) lots of other things got updated also, making the calculator become unresponsive while doing the animations.
Not when they enter it, but after a while they have learned a number of Italian words. http://www.musictheory.org.uk/...
My first program was the Sieve of Eratosthenes in Algol 68 in 1978. After handing in your punch cards you had to wait 3 hours before you got your results, of some syntax errors.
Also embedded software engineer and don't like to use dynamic memory allocation.
The only time to use recursion is when I have to print (to serial or something) a number in binary form and you can not use printf because your system is to small.
Yes. That. I can make a prediction. And it will be correct.
It will not be corrected, it will change. And again and again.
Problem is, we got used to an interface. My lucky way out of this problem was using a few different OS at the same time starting from Windows 2.0, RiscOS 2 and later Mac OS9. This way I knew there are multiple solutions to a UI and didn't get hooked on a single way of doing things.
What I would say about the code:
1: the size of data is not given
2: the code doesn't check if the malloc is valid;
3: you malloc 200 but copy 2000, hope thats a type
4: you don't check the result of send_buffer
5: send_buffer is not a standard function, you have to check what it does.
I agree, for you and me.
But in this case, it was just clickbait and they knew exactly what they were doing and that it was illegal and they did it on purpose.
This is a site that organized the first ever referendum in the Netherland. After they won, they told they just did it because the could do it, not because of the subject. It screwed up the relationship between Oekraïne and the EU. They did it for fun.
Problem was that in this case, the party was not legally hosting the content. They were photo's published before the playboy was sold and published on an Australian site. Definitely not legal.
The court already ruled that linking to a news site is no infringement, but the photo's were not legally hosted. If you or me link to that site, it's not a problem. If slashdot does it, it is.
All I can find is the pmset command, available from a terminal. See man page
But i could not find something like "active" or "passive"
My dentist first recommended flossing, some years ago she recommended using dental sticks and a few years back we indeed needed to use interdental brushes. You can get them in different sizes. If the space is really to small, use small dental sticks.
For a large gab at the back, I use still some dental floss to get food out.
Exactly my experience. What I also did was connect a small HD to it. Now the smart TV can record programs (a feature I never use) but also pause TV or go back in time. After pause I can skip commercials.
One other thing I use is the ability to watch missed programs with the "Program missed" app but I don't know if every country has that.
And for my streaming I use the Serviio program using DNLA (because I need subtitle working). The TV is also a LG tv.
I have followed your links but without trucks and busses they registered about 4.5 million passenger cars. The other links said MORE than 1 m hybrids were sold, not the exact number.
For last year I found this page: http://www.best-selling-cars.c...
I don't know which cars are hybrids but number 1 (Toyota Aqua) and 2 (Toyota Prius) are both hybrids. Maybe it's not more than other cars but it still amazes me how many hybrids are sold.
I have to disagree with you on experience. Maybe you are working in an other field of programming but I see younger programmers make mistakes I did make years ago (embedded systems).
As you say: "Technology hasn't changed sine the 70s,...". Doesn't this implies that experience can help programming?
Maybe the engineers at Apple thought of an attack vector to unlock the phone, something like: connect a fingerprint emulator to the phone and try to let it connect. If you give an error and don't do anything they could keep retrying and unlock the phone with the fingerprints on the phone this way.
A way to let nobody access the phone is brick it, but maybe they should give some more warnings.
On the other hand, maybe the error that Apple made is not bricking the phone, but to give to little warnings before bricking the phone.
Is it not the other way around? You pick $40 and see what you get for this?
If you could choose 50 Mbps for $20, 200 Mbps for $40, 1000 Mbps for $80 or 2,000 Mbps for $160, which would I chose?
50 Mbps?
Sorry, where I live the choose is:
Fiber 100 Mb/s €15,00 p/mnd
Fiber 200 Mb/s €25,00 p/mnd
Fiber 500 Mb/s €35,00 p/mnd
Does the EU even have enough troops to protect something that massive in such an unstable region? Nine million square kilometers and surrounded by notoriously unstable countries with weak governments?
The nine million square kilometers is the size of the Sahara Desert, not the solar panels.
I am writing programs for embedded systems, smal ARM platforms. The only difference in those ten years is that the boot loader is no longer in assembly and there are more libraries for the hardware.
Instead of writing drivers for the hardware using the datasheets, you now have to configure the libraries. There is not much gain in time doing this.
On the other hand, you can get an ethernet stack running on your platform which would be impossible ten years ago.
Yes, but then only on one side.
Even better: http://www.verbeterdebuurt.nl/ is an updated version for the Netherlands. I used it a couple of times in Enschede and if you report something that is fixable (not complaining about your neighbor) they normally fix it within 1 or 2 weeks.
One time there seem to be a problem with the water (the pavement was wet on a dry day) which was fixed the next day.
My problem is, I will never buy anything on those ads. I will never click on any ad and don't use them to get information.
why do companies spend hundreds of billions of dollars and such things? trust me, nobody spends that sort of money without knowing without a doubt that it works.
Ah, but you don't know me. I am 50+. They are not making tv programs for my kind any more on commercial station because we don't buy enough.
What should I do? Stop using internet?
you should stop visiting sites where the advertising is offensive to you. why is that so complicated? if there are sites that you really enjoy that contain ads, deal with the ads.
I indeed do that. There are news sites I don't visit because of the ads. I found other sources without ads and even without cookies. For weather forecasts I do the same.
Or I block ads. On forums I can still comment and don't waste the owners/advertisers bandwidth.
Do you want to be on technical forums that block blockers? (Didn't Slashdot do that for a short time?) And block people that don't click on ads? Because if nobody clicks the ads I don't think they would get any money.
I don't think ads are the way to get the internet working. There should be something else.
Do you know how to change a system? Like some companies say: "disrupt them!".
I love patent troll, they will change the patent laws.
I love downloaders, they will change the copyright laws.
Block ads. Let's see what happens.
My problem is, I will never buy anything on those ads. I will never click on any ad and don't use them to get information.
If never buy something from somebody on my front door. If somebody ask me: "Can I ask you a question" I say I am not interested. People don't call me on the phone because I am listed that I don't want advertisements (you can do that in the Netherlands). I have a sticker on my front door saying I don't want un-addressed advertisement flyers.
What should I do? Stop using internet?
Would using a 64-bit long on a millisecond counter be lazy programming?
I am not sure who you are even talking to.
Ah, that would be my mistake. As a non native English speaker I sometime mis 'irony'.
Thanks for the conversation.
A programmer that doesn't have total control over the whole system (in most cases) should reboot the system after a fixed amount of time. Even your iPhone or Android phone can not handle half a year uptime (at least all phones I have seen).
Yes, the program would have to be implemented without error, to not have an error... that is a tautology.
Sorry, programming for more than eh.. 35 years but never managed to write a non trivial program that doesn't have errors in it. But that's not really a problem as long as the program can recover from it.
One hint: if you see a solution to a problem and think "that is easy way to solve it" don't use it. It will always come back and haunt you (like using a long for a timer).
Yes, but is still lazy.
And you have to adjust a lot of variables to become long. All temp vars that hold a timestamp. If you miss a single one, your screwed.
If you did the math, you don't need excess space. If you need excess space, you're just shifting the day of failure into the future. Yes, perhaps far enough, but still.
What math would you do to determine exactly how high a counter should count? Would using a 64-bit long on a millisecond counter be lazy programming?
Yes, that is lazy programming.
You should not determine a duration by subtracting two points of times from each other. You should call a function that can handle timer overflows.