cool. then boycott copyrighted works and advocate for changing the law. don't steal. is that what you want to teach your kids?
The point of contention here is that these "copyrighted works" are very old and could be considered culturally significant, and that the current rights holders are not the people who created the works.
Consider this: imagine these laws were even more extreme and it was illegal to share or view an image of the Mona Lisa or a copy of Shakespeare's works online without paying Fox or MGM a stupid sum of money. In that case, would you advocate that society boycott reading Shakespeare or viewing the Mona Lisa? Is that what you want to teach your kids -- to lie back and accept an unjust situation? If so, why? If not, why is it a different situation to "Attack of the 50-foot Woman"?
Well, one way, you can monitor heap usage and trend the usage immediately following full GCs.
The other way to look at it is as a function of time.
None of that applies to modern server-centric garbage collection (GC1). "Stop the world while I collect garbage" makes a server worthless if you have 64 GB and GB takes minutes, which is why the default GC for the server SDK hasn't worked that way since mid Java 7.
That's not quite true; even without a "stop the world" collector, you can still look at the amount of time the parallel GC thread is busy. In fact there seems to be quite a bit of information available with tools such as jstat. Perhaps this could help you better understand actual heap use (this is also a problem I face at work -- processes that run out of heap after many hours, expectedly... argh).
Surely, when the UK has a population of around 65 million, and China has a population of around 1400 million it makes a difference. We are talking about influencing government policy. So, we spend a huge effort changing UK policy, and at most we can effect a reduction in an output of:
7.7t * 65m = 500.5 million t... while at the same time China is outputing:
7t * 1400m = 9800 million t.
The entire UK output is 5% of China's. If the UK can reduce its output by 20% (hugely unlikely, as just holding steady seems impossible to do), while the Chinese increase theirs by just 1% then the two effects cancel out (to some rounding error that I can't be arsed to calculate).
Focusing on those countries who are both raising their output the most and also have the largest populations (hello too India) seems perfectly sensible.
So if it's "hugely unlikely" to reduce the UK's output, when their per capita emissions are higher than China's, how can we expect China to do it?
Surely it's both fairer and more realistic to treat the targets on a per capita basis and not penalise China for having a large population.
Another time the person on the other end kept repeating only the word yes during my sales pitch and then 5 minutes in switched to "can you please speak chinese". Even when I said "goodbye".
I love it. Thank you! That's going to be my new tactic from this day hence!
"Portable assembly language" is an oxymoron. And I have never heard anyone use that phrase to describe C.
A quick web search will solve that for you. The phrase has been bandied about for quite a few years now, although many people disagree on the topic.
Never mind building abstractions. The C language itself is a significant abstraction from the machine level. Only a small handful of operators and constructs in C have a close analogue to assembler statements (e.g., accumulation, shift and bitwise logical operators.) Therefore I maintain that it is not a low-level language.
While I certainly agree that C is a significant (and useful) abstraction from the machine -- or more specifically, the assembler -- level, I think you've glossed over quite a few things that are much closer in C to how it works at the machine code level, compared to most other languages. Some that spring to mind are:
Pointers and pointer arithmetic -- and not just for fun; you need to use them to get things done.
Array indexing -- this is little more than syntax sugar atop pointer arithmetic. Indexing element i of an array is equivalent to referencing *(array_base + sizeof that type * i), and accordingly there is no bounds checking etc.
No real strings -- just arrays of characters which suffer from the same problems above.
No garbage collection or even refcounting -- if you want to return a string value from a function, you need to either take a buffer (and, ideally, the size of the buffer since you can't automatically determine it) and store the string there, or you need to dynamically allocate memory and return a pointer. Whoever called the function then needs to "free" that pointer later. That's some pretty low-level stuff you have to do just to pass some strings around!
These are just a handful of many things you need to live with in assembly AND in C, unless you use some non-universal, non-standard library for e.g. strings or GC (Hans Boehm's drop in one seems pretty good though). Additionally, C forces you to declare the types of each variable and function, yet cannot properly enforce type-safety and has no type inference which would have made the job easier.
C is undeniably less low-level than assembly, I consider C to be a low-level language in an arbitrary line-in-the-sand sense. Of course, my view on this is no more valid than yours since how we define "low-level" as some absolute marker is pretty subjective!
C is most certainly a low-level programming language. There's a reason people call it "portable assembly language".
Of course, as with almost all programming languages, people build useful abstractions in C to bridge the gap somewhat. But that doesn't make C itself a high-level language, any more so than does the use of functions and macros to increase the expressive power of an assembly language.
JPEG is quite robust to corruption, and even PNG's lossless compression seems to be tolerant of a few stray bytes. However, encrypted files would probably be badly damaged by this sort of corruption.
This is the kind of situation where some form of transparent, redundant error-recovery system is extremely important. I'm sure that in the medium term future (after everyone is using SSDs and the cost/capacity ratio falls much further) some kind of RAID setup will be the norm and these kinds of problems will become vanishingly unlikely.
Actually you're completely wrong on that, the data suggests that no one can demonstrate long term photographic memory, which is true. If I read a book today, I can probably recall the content for about a week or so, after that it will start to slip and certainly by a mouth or two out I'll retain very little of the information I read over. However that also doesn't matter, usually is something is important enough to remember longer then a week out, you'll have to read it more then once.
Actually you are completely wrong about that. The data suggests that no one can demonstrate even SHORT term photographic memory.
You stated that you can "look over a page" and "load" all the information into your memory before comprehending it. This is an utterly ludicrous claim. You also stated that you can read at over 1000 WPM with very high comprehension. Also a laughable claim that is not supported by any scientific studies.
Agreed. There's only been one scientifically controlled study that suggested anything remotely like an eidetic memory, and the subject ("Elizabeth") later married the scientist running the study. Then they refused to participate in any further experiments.
So, in effect, nobody in the world has ever successfully demonstrated either an eidetic memory, or (much less) an ability to read significantly faster than average while maintaining decent comprehension.
Any anecdotal arguments (for example, Murdoch5's frankly laughable claims) otherwise are almost certainly pure Munchausen-esque nonsense and should be disregarded with prejudice.
Nobody in the world has ever demonstrated such a capability under scientifically controlled conditions.
All the evidence gathered to date suggests that you are lying. And that's a bit sad.
Although it's certainly important to consider multiple viewpoints in a debate, it's wrong to assume that the truth must lie between two extreme positions.
Personally, I think the guy risked everything to expose what is clearly (to most people in the world) a bad and pointless system. He's certainly more deserving of a Nobel peace prize than Obama, who hasn't even shut down Guantanamo Bay yet. The ironing is delicious.
When you get to a "normal" sleeping state, then you can look at improving memory. Reading is probably one of the best things to do regularly, followed by logic puzzles and memory games. Fish and high protein foods are good for brain function, but also can be a health concern due to mercury and other toxins found in nearly every fish today.
Apparently logic puzzles don't provide much benefit in brain function, even though it seems intuitive that they should. Strangely enough computer games of various sorts have been shown to improve cognitive abilities. Playing tetris for a little while every day actually resulted in a measurable increase in thickness of cortex tissue in one study, along with improved language skills of all things. Playing first-person shooters helped make certain parts of the brain process things more efficiently.
Then, for working memory and (I think) executive function, the adaptive dual n-back (DNB) has shown to be quite useful, although the effect size might be smaller than initially reported.
You're absolutely right that proper exercise, diet and sleep are by far the most important things to have. Having poor quality sleep in particular has an enormous negative impact on long-term memory and can lead to atrophy of the hippocampus and parts of the prefrontal cortex. So I'd recommend spending a lot of effort on really fixing your sleep as it's worth proportionally more than probably any other intervention, and it's easy to keep fixed once you've gotten into a good routine. A good routine is at least 7.5 - 8 hours of decent uninterrupted shuteye at consistent times. Dietary and behavioural changes can also help improve sleep and ensure that you get good slow-wave activity (this is the part that usually suffers most as we age, and is linked with memory deficits). Try to measure your activity with a sleep tracker, and see what's going on.
You're ignoring the fact that 99% of the populace are too stupid to do anything other than make-work.
I don't think that's true. Maybe the inverse - 99% of the populace is actually quite intelligent and could do very interesting things if they weren't forced into a career of "make-work" to support themselves.
Although I do submit bug reports whenever possible, I can't file one for you because I don't have the PDF files you've experienced the bug with.
You clearly understand what's going wrong and when, since you've explained it well in your original post here.
I would, but I have already switched to a different reader.
...and switching to another PDF reader has somehow rendered you incapable of writing a short bug report on the SumatraPDF bug tracker? Or you just don't care enough because you've moved on and helping others is a waste of time? Even though you already spent time writing your post here instead of on the bug tracker....? Help me understand.
The Nokia brand is still strong with people who want a quality dumb phone. It's mostly older people who want something cheap that they only have to charge once a week and which is simple to operate, and Nokia is the only brand they know is supposed to be good.
Or college students who have lost so many phones while drunk that they opt for a "burner" phone that they won't feel so bad about losing next time.
Somehow, the idea of simply not getting smashed drunk on a regular basis never gets seriously considered...
And converting a GIF to a PNG is an utterly sane thing to do if you want to save a few bytes by removing any quality that might have been left over in the GIF...
Given that PNG is a lossless format, yes it's an utterly sane thing to do if you want to save a few kilobytes without removing any quality from the GIF.
The only price would be that it costs a small once-off amount of CPU time and I/O bandwidth to do the batch conversion and maybe run them through pngcrush/optipng/ScriptPNG to losslessly compress them a bit more. But that's surely worth it if you can cut down a busy site's bandwidth costs by at least 30-40%.
Err... the article you linked to says nothing about counterfeit chargers. It said a woman's iPhone battery "not quite exploded" while it was charging overnight.
Since it doesn't mention the word "counterfeit" anywhere, we can presume this was an official Apple charger, plugged into an official Apple iPhone. So that pretty much rules out "Apple is trying to save lives". What does that leave? Well, the most obvious explanation is that they want to get rid of the competition on overpriced accessories by refusing to work with third-party cables - I sense an antitrust case at some point in the future.
High-intensity interval training has shown to be superior as a form of cardiovascular exercise and may have other benefits on metabolism etc, but there seems to be some evidence that frequent and extremely intense exercise leads to higher oxidative stress, which is very strongly implicated as a primary factor in aging.
I'm excited about HIIT too, so I'm hoping it doesn't really turn out to be the case that it makes me age faster...
that is what they are supposed to be doing right? Gathering intel? The problem is when they do it against their own citizens.
Why is it wrong to completely invade the privacy of their own innocent citizens, but not innocent civilians from other countries? I don't see why it's okay to spy on a 12 year old schoolgirl's email if she's from Egypt, but not okay if she's from the UK (or the USA, or whatever country is doing the mass spying).
Just because their job is "gathering intel" does not automatically justify any method of doing so. The job of the police is to prevent crime, so do you think it would be okay for them to arrest everyone in the country and put them in (safe) solitary confinement? No, of course not.
Yes! Our good old T3 and T5 devices would happily exchange files and programs over Bluetooth or IrDA.
There no messing about, no having to pay a third-party to sign your code (one of many things that made J2ME not fun), no having to pay Apple to review your app on arbitrary grounds before it can be distributed. You just wrote your program and sent it to the device via Bluetooth, IR or a USB cable.
Not only could we share files and programs with our Palm devices - you could also write, interpret and/or compile programs on them, once again without having to ask anybody else for permission.
We really have taken a step back in some ways - certainly in terms of freedom to do cool things with these increasingly powerful machines. And of course, now it's apparently illegal to jailbreak your smartphone - something that's required before you can get close to the freedom and flexibility we had on those Palm PDAs.
cool. then boycott copyrighted works and advocate for changing the law. don't steal. is that what you want to teach your kids?
The point of contention here is that these "copyrighted works" are very old and could be considered culturally significant, and that the current rights holders are not the people who created the works.
Consider this: imagine these laws were even more extreme and it was illegal to share or view an image of the Mona Lisa or a copy of Shakespeare's works online without paying Fox or MGM a stupid sum of money. In that case, would you advocate that society boycott reading Shakespeare or viewing the Mona Lisa? Is that what you want to teach your kids -- to lie back and accept an unjust situation? If so, why? If not, why is it a different situation to "Attack of the 50-foot Woman"?
Well, one way, you can monitor heap usage and trend the usage immediately following full GCs.
The other way to look at it is as a function of time.
None of that applies to modern server-centric garbage collection (GC1). "Stop the world while I collect garbage" makes a server worthless if you have 64 GB and GB takes minutes, which is why the default GC for the server SDK hasn't worked that way since mid Java 7.
That's not quite true; even without a "stop the world" collector, you can still look at the amount of time the parallel GC thread is busy. In fact there seems to be quite a bit of information available with tools such as jstat. Perhaps this could help you better understand actual heap use (this is also a problem I face at work -- processes that run out of heap after many hours, expectedly... argh).
Some info about jstat: http://www.cubrid.org/blog/dev...
Info about G1 (although you already seem very familiar with it): http://www.infoq.com/articles/...
You think Doom and Quake aren't cartoony?
Compared to Commander Keen? Yes.
Surely, when the UK has a population of around 65 million, and China has a population of around 1400 million it makes a difference. We are talking about influencing government policy. So, we spend a huge effort changing UK policy, and at most we can effect a reduction in an output of:
7.7t * 65m = 500.5 million t ... while at the same time China is outputing:
7t * 1400m = 9800 million t.
The entire UK output is 5% of China's. If the UK can reduce its output by 20% (hugely unlikely, as just holding steady seems impossible to do), while the Chinese increase theirs by just 1% then the two effects cancel out (to some rounding error that I can't be arsed to calculate).
Focusing on those countries who are both raising their output the most and also have the largest populations (hello too India) seems perfectly sensible.
So if it's "hugely unlikely" to reduce the UK's output, when their per capita emissions are higher than China's, how can we expect China to do it?
Surely it's both fairer and more realistic to treat the targets on a per capita basis and not penalise China for having a large population.
Another time the person on the other end kept repeating only the word yes during my sales pitch and then 5 minutes in switched to "can you please speak chinese". Even when I said "goodbye".
I love it. Thank you! That's going to be my new tactic from this day hence!
"Portable assembly language" is an oxymoron. And I have never heard anyone use that phrase to describe C.
A quick web search will solve that for you. The phrase has been bandied about for quite a few years now, although many people disagree on the topic.
Never mind building abstractions. The C language itself is a significant abstraction from the machine level. Only a small handful of operators and constructs in C have a close analogue to assembler statements (e.g., accumulation, shift and bitwise logical operators.) Therefore I maintain that it is not a low-level language.
While I certainly agree that C is a significant (and useful) abstraction from the machine -- or more specifically, the assembler -- level, I think you've glossed over quite a few things that are much closer in C to how it works at the machine code level, compared to most other languages. Some that spring to mind are:
These are just a handful of many things you need to live with in assembly AND in C, unless you use some non-universal, non-standard library for e.g. strings or GC (Hans Boehm's drop in one seems pretty good though). Additionally, C forces you to declare the types of each variable and function, yet cannot properly enforce type-safety and has no type inference which would have made the job easier.
C is undeniably less low-level than assembly, I consider C to be a low-level language in an arbitrary line-in-the-sand sense. Of course, my view on this is no more valid than yours since how we define "low-level" as some absolute marker is pretty subjective!
C is most certainly a low-level programming language. There's a reason people call it "portable assembly language". Of course, as with almost all programming languages, people build useful abstractions in C to bridge the gap somewhat. But that doesn't make C itself a high-level language, any more so than does the use of functions and macros to increase the expressive power of an assembly language.
JPEG is quite robust to corruption, and even PNG's lossless compression seems to be tolerant of a few stray bytes. However, encrypted files would probably be badly damaged by this sort of corruption.
This is the kind of situation where some form of transparent, redundant error-recovery system is extremely important. I'm sure that in the medium term future (after everyone is using SSDs and the cost/capacity ratio falls much further) some kind of RAID setup will be the norm and these kinds of problems will become vanishingly unlikely.
Actually you're completely wrong on that, the data suggests that no one can demonstrate long term photographic memory, which is true. If I read a book today, I can probably recall the content for about a week or so, after that it will start to slip and certainly by a mouth or two out I'll retain very little of the information I read over. However that also doesn't matter, usually is something is important enough to remember longer then a week out, you'll have to read it more then once.
Actually you are completely wrong about that. The data suggests that no one can demonstrate even SHORT term photographic memory.
You stated that you can "look over a page" and "load" all the information into your memory before comprehending it. This is an utterly ludicrous claim. You also stated that you can read at over 1000 WPM with very high comprehension. Also a laughable claim that is not supported by any scientific studies.
Agreed. There's only been one scientifically controlled study that suggested anything remotely like an eidetic memory, and the subject ("Elizabeth") later married the scientist running the study. Then they refused to participate in any further experiments. So, in effect, nobody in the world has ever successfully demonstrated either an eidetic memory, or (much less) an ability to read significantly faster than average while maintaining decent comprehension. Any anecdotal arguments (for example, Murdoch5's frankly laughable claims) otherwise are almost certainly pure Munchausen-esque nonsense and should be disregarded with prejudice.
Nobody in the world has ever demonstrated such a capability under scientifically controlled conditions. All the evidence gathered to date suggests that you are lying. And that's a bit sad.
https://en.wikipedia.org/wiki/...
https://yourlogicalfallacyis.c...
Although it's certainly important to consider multiple viewpoints in a debate, it's wrong to assume that the truth must lie between two extreme positions.
Personally, I think the guy risked everything to expose what is clearly (to most people in the world) a bad and pointless system. He's certainly more deserving of a Nobel peace prize than Obama, who hasn't even shut down Guantanamo Bay yet. The ironing is delicious.
Get with the program. They changed it to 123456 because that's what all the cool kids are using. http://splashdata.com/press/wo...
But of course, it's become industry-standard best practice!
When you get to a "normal" sleeping state, then you can look at improving memory. Reading is probably one of the best things to do regularly, followed by logic puzzles and memory games. Fish and high protein foods are good for brain function, but also can be a health concern due to mercury and other toxins found in nearly every fish today.
Apparently logic puzzles don't provide much benefit in brain function, even though it seems intuitive that they should. Strangely enough computer games of various sorts have been shown to improve cognitive abilities. Playing tetris for a little while every day actually resulted in a measurable increase in thickness of cortex tissue in one study, along with improved language skills of all things. Playing first-person shooters helped make certain parts of the brain process things more efficiently.
Then, for working memory and (I think) executive function, the adaptive dual n-back (DNB) has shown to be quite useful, although the effect size might be smaller than initially reported.
You're absolutely right that proper exercise, diet and sleep are by far the most important things to have. Having poor quality sleep in particular has an enormous negative impact on long-term memory and can lead to atrophy of the hippocampus and parts of the prefrontal cortex. So I'd recommend spending a lot of effort on really fixing your sleep as it's worth proportionally more than probably any other intervention, and it's easy to keep fixed once you've gotten into a good routine. A good routine is at least 7.5 - 8 hours of decent uninterrupted shuteye at consistent times. Dietary and behavioural changes can also help improve sleep and ensure that you get good slow-wave activity (this is the part that usually suffers most as we age, and is linked with memory deficits). Try to measure your activity with a sleep tracker, and see what's going on.
You're ignoring the fact that 99% of the populace are too stupid to do anything other than make-work.
I don't think that's true. Maybe the inverse - 99% of the populace is actually quite intelligent and could do very interesting things if they weren't forced into a career of "make-work" to support themselves.
It appears that you either did not read, or did not understand, the comment to which you replied.
Although I do submit bug reports whenever possible, I can't file one for you because I don't have the PDF files you've experienced the bug with. You clearly understand what's going wrong and when, since you've explained it well in your original post here.
Depends what you're trying to do. What about Inkscape and Blender?
I would, but I have already switched to a different reader.
...and switching to another PDF reader has somehow rendered you incapable of writing a short bug report on the SumatraPDF bug tracker? Or you just don't care enough because you've moved on and helping others is a waste of time? Even though you already spent time writing your post here instead of on the bug tracker....? Help me understand.
The Nokia brand is still strong with people who want a quality dumb phone. It's mostly older people who want something cheap that they only have to charge once a week and which is simple to operate, and Nokia is the only brand they know is supposed to be good.
Or college students who have lost so many phones while drunk that they opt for a "burner" phone that they won't feel so bad about losing next time.
Somehow, the idea of simply not getting smashed drunk on a regular basis never gets seriously considered...
And converting a GIF to a PNG is an utterly sane thing to do if you want to save a few bytes by removing any quality that might have been left over in the GIF...
Given that PNG is a lossless format, yes it's an utterly sane thing to do if you want to save a few kilobytes without removing any quality from the GIF.
The only price would be that it costs a small once-off amount of CPU time and I/O bandwidth to do the batch conversion and maybe run them through pngcrush/optipng/ScriptPNG to losslessly compress them a bit more. But that's surely worth it if you can cut down a busy site's bandwidth costs by at least 30-40%.
this right there. People have been shocked and killed by a counterfeit Apple chargers. Apple is trying to save lives and people are bashing Apple for it? Seriously android fan boys need to give it a rest.
Err... the article you linked to says nothing about counterfeit chargers. It said a woman's iPhone battery "not quite exploded" while it was charging overnight.
Since it doesn't mention the word "counterfeit" anywhere, we can presume this was an official Apple charger, plugged into an official Apple iPhone. So that pretty much rules out "Apple is trying to save lives". What does that leave? Well, the most obvious explanation is that they want to get rid of the competition on overpriced accessories by refusing to work with third-party cables - I sense an antitrust case at some point in the future.
High-intensity interval training has shown to be superior as a form of cardiovascular exercise and may have other benefits on metabolism etc, but there seems to be some evidence that frequent and extremely intense exercise leads to higher oxidative stress, which is very strongly implicated as a primary factor in aging. I'm excited about HIIT too, so I'm hoping it doesn't really turn out to be the case that it makes me age faster...
that is what they are supposed to be doing right? Gathering intel? The problem is when they do it against their own citizens.
Why is it wrong to completely invade the privacy of their own innocent citizens, but not innocent civilians from other countries? I don't see why it's okay to spy on a 12 year old schoolgirl's email if she's from Egypt, but not okay if she's from the UK (or the USA, or whatever country is doing the mass spying).
Just because their job is "gathering intel" does not automatically justify any method of doing so. The job of the police is to prevent crime, so do you think it would be okay for them to arrest everyone in the country and put them in (safe) solitary confinement? No, of course not.
Yes! Our good old T3 and T5 devices would happily exchange files and programs over Bluetooth or IrDA. There no messing about, no having to pay a third-party to sign your code (one of many things that made J2ME not fun), no having to pay Apple to review your app on arbitrary grounds before it can be distributed. You just wrote your program and sent it to the device via Bluetooth, IR or a USB cable.
Not only could we share files and programs with our Palm devices - you could also write, interpret and/or compile programs on them, once again without having to ask anybody else for permission.
We really have taken a step back in some ways - certainly in terms of freedom to do cool things with these increasingly powerful machines. And of course, now it's apparently illegal to jailbreak your smartphone - something that's required before you can get close to the freedom and flexibility we had on those Palm PDAs.