Wait. A single function call is a "complex work-around" in your world?
Besides, you only need pack and unpack to get an array (as specified in your silly post). You don't actually need them to read binary data from a file, modify it, and write it back to a file.
In any sane programming language, you can access the bytes directly as an indexed array.
Fun fact: You can do that in PHP as well! Use the [] operator on the string you read in to access and modify individual bytes.
What's so damn hard about reading the documentation anyway? I'd think you'd have at the very least made sure that you had your facts straight before making this post!
Because all the examples and explanations I've found were nothing but "simple"
You're either not very good at searching, terrible at programming, or both.
A quick look at the documentation and you'll find handy functions like fseek, fread, fwrite, pack, and unpack. It's easier than doing the same in Java, C#, or even C.
You won't run across any problems caused by dynamic typing. What strange and unusual approach did you take?
It's been like this for a while. The autodidacts just tend to get nervous and defensive when topics like higher education come around. It reminds them that they're not actually scientists, engineers, mathematicians, or whatever else they fancy themselves.
It's sad, really. Just let them have their play-pretend time. Articles like this don't come around more than once or twice a year. Let them feel good about their bad decisions for a while. They need it.
This sounds awfully familiar... Didn't Apple have this exact same problem?
Thanks, TFA:
The case against Google is similar to one brought by the U.S. Federal Trade Commission against Apple over children's in-app purchases. That case was settled in January and Apple agreed to pay at least US$32.5 million to customers.
Now we need to ask why Google didn't take action to prevent this sort of thing.
Ray will be right eventually, but he is off on his time scales by wide margin.
That's good news. I was getting concerned about my construction plans. I'll have another load of bricks dumped in my yard every week until my new mansion emerges.
I couldn't agree more! Apple's grid of icons was totally different from Palms grid of icons!
It's true. No one would have ever thought to use a grid of icons on a smartphone before the iPhone. Apple's grid of icons was light years ahead of other so-called grids of icons at the time. Truly innovative.
I remember Richard Muller (Berkeley physicist) writing something about that in Nemesis: The Death Star (It's a pop-sci book, not science fiction as the title implies.)
Do you remember the early 90's? Doom, Dark Forces, etc.? I don't recall dynamic lighting in any of the Wing Commander games -- or full-screen action for that matter.
This isn't an argument worth having. Believe what you want about the game, my point was that the tech isn't nearly as limited as people assume. What I can say is that early 2000's type games are very easily doable on crummy hardware in FFOS. You mentioned the 3GS earlier. A popular game from that era, like Wolfenstein RPG, is well within the capabilities of even a phone like the ZTE Open running FFOS.
Also, I'm not sure what point you're trying to make. Is it that my example is crummy or that JS is unsuitable for apps and games?
Silly and irrelevant?
So ... What would you have changed? What would your top-priority have been?
Wait. A single function call is a "complex work-around" in your world?
Besides, you only need pack and unpack to get an array (as specified in your silly post). You don't actually need them to read binary data from a file, modify it, and write it back to a file.
In any sane programming language, you can access the bytes directly as an indexed array.
Fun fact: You can do that in PHP as well! Use the [] operator on the string you read in to access and modify individual bytes.
What's so damn hard about reading the documentation anyway? I'd think you'd have at the very least made sure that you had your facts straight before making this post!
So... Do you still think your complaint is valid?
Probably because they don't have the resources to cater to a tiny niche using an obscure OS?
Because all the examples and explanations I've found were nothing but "simple"
You're either not very good at searching, terrible at programming, or both.
A quick look at the documentation and you'll find handy functions like fseek, fread, fwrite, pack, and unpack. It's easier than doing the same in Java, C#, or even C.
You won't run across any problems caused by dynamic typing. What strange and unusual approach did you take?
Ever tried to access 8-bit byte arrays and write them to a binary file in PHP?
Yes, I have.
It's hell and it takes a lot of work to go around all the stupid dynamic typing.
No, it's not. It was simple and painless.
Had you taken a few minutes to read the documentation, you wouldn't have suffered through "hell".
Maybe programming isn't for you? Have you considered a career more suited to your talents?
PHP lacked vital modern features (like static typing
Modern features like static typing.
Modern features like static typing...
Seriously?
Having a pipeline delay will make it feel like you are on some serious drugs.
And ... we've identified the 'killer app'.
"You did a google search, therefore, you're wrong!" "You liked to a Guardian article, therefore, you're wrong!"
Personal recommendation: Avoid frameworks. They create far more problems than they solve. And they slow everything down.
No need to make it personal, that's solid advice.
If you want to learn something, I'd go with Java and Android now (with Eclipse), its the future.
I'd bet against that.
It's been like this for a while. The autodidacts just tend to get nervous and defensive when topics like higher education come around. It reminds them that they're not actually scientists, engineers, mathematicians, or whatever else they fancy themselves.
It's sad, really. Just let them have their play-pretend time. Articles like this don't come around more than once or twice a year. Let them feel good about their bad decisions for a while. They need it.
Really? You didn't think you could separate the rituals from the belief?
That can't be right. What did really you mean / intend to say?
the fantasy -- or that which cannot be proven using critical mind and reason
I'd pick a different definition if I were you. I suspect you'd be quite surprised at what that identifies as fantasy.
This sounds awfully familiar... Didn't Apple have this exact same problem?
Thanks, TFA:
The case against Google is similar to one brought by the U.S. Federal Trade Commission against Apple over children's in-app purchases. That case was settled in January and Apple agreed to pay at least US$32.5 million to customers.
Now we need to ask why Google didn't take action to prevent this sort of thing.
That's some serious self-delusion there.,,
Ray will be right eventually, but he is off on his time scales by wide margin.
That's good news. I was getting concerned about my construction plans. I'll have another load of bricks dumped in my yard every week until my new mansion emerges.
pico
Flame on!
So ... just like Apple then?
I couldn't agree more! Apple's grid of icons was totally different from Palms grid of icons!
It's true. No one would have ever thought to use a grid of icons on a smartphone before the iPhone. Apple's grid of icons was light years ahead of other so-called grids of icons at the time. Truly innovative.
More "I can do anything" nonsense.
Difficulty reading? Not "I", but "most people".
Most people can't succeed in more advanced intellectual pursuits, even if they're willing to put in the effort.
I guess you're right. You've been reading for years and yet still have trouble with basic comprehension.
Or I'm right, and you just need to put in a bit of effort!
So... Are you hopelessly illiterate or is there hope for you yet?
More "I have a special mind" nonsense.
Get over yourself. Most people can succeed at any intellectual pursuit, provided they're willing to put in the effort.
I guess, if the "Linux everywhere" you've been waiting for is little more than a launcher for strangely limited Java apps with an impossibly bad UI.
Dream bigger.
I remember Richard Muller (Berkeley physicist) writing something about that in Nemesis: The Death Star (It's a pop-sci book, not science fiction as the title implies.)
Do you remember the early 90's? Doom, Dark Forces, etc.? I don't recall dynamic lighting in any of the Wing Commander games -- or full-screen action for that matter.
This isn't an argument worth having. Believe what you want about the game, my point was that the tech isn't nearly as limited as people assume. What I can say is that early 2000's type games are very easily doable on crummy hardware in FFOS. You mentioned the 3GS earlier. A popular game from that era, like Wolfenstein RPG, is well within the capabilities of even a phone like the ZTE Open running FFOS.
Also, I'm not sure what point you're trying to make. Is it that my example is crummy or that JS is unsuitable for apps and games?