Domain: stackexchange.com
Stories and comments across the archive that link to stackexchange.com.
Comments · 819
-
Re:For both OOM killer and battery use
LOL no, that won't help you understand any better.
Then what would help me understand better? I'm trying to be sincere here. How do apps normally avoid loss of the most recently entered data in case of a shutdown that effectively already happened, such as the last keystrokes before the app is killed? The sequence is supposed to be pause, stop, destroy, but I've read that the OOM killer occasionally skips these steps when under severe memory pressure.
Well, then your assumption is invalid wherever the app doesn't require a login. So if you have to concede that my point is sometimes valid, you can then also address your arguments about it to the cases where it is valid.
Apps that do not require any login whatsoever are likely to be read-only. Read-only apps can use ad-hoc encryption and signing of responses tunneled over cleartext HTTP. I concede this.
But I still see no evidence for your claim of being able to communicate using cleartext HTTP without the INTERNET permission. An answer to this question states that HttpURLConnection requires INTERNET. Google's networking tutorial mentions techniques that require INTERNET. The answer to this question states regarding INTERNET: "Any application that accesses the internet for any reason will have to request this permission."
I concede that I haven't read the entire Android API docs from cover to cover. Is that required before you're willing to begin to help me? If not, what level of familiarity is required?
-
Re:ROT13
Many use XOR. Anyone with beef with XOR, please read.
http://crypto.stackexchange.co...From your link:
XOR alone is not enough to create a secure block or stream cipher. You need other elements like additions, S-boxes or a random, equally long bit stream. This is because of the linearity of the XOR operation itself. Without non-linear elements, a cipher can easily be broken.
-
Re:ROT13
Many use XOR. Anyone with beef with XOR, please read.
http://crypto.stackexchange.co... -
Re:You "intern" for...?
Are you working for organised crime? Is that why you can't reoort the car stolen?
OP's incident might be related to this question on the Stack Exchange network:
http://lifehacks.stackexchange... -
Re:Explains a lot.
My daughter and I were watching it live as well. I have no idea how much it costs, but I believe that they have to drain the LOx tank if the vehicle sits off countdown timer on the pad. That seems pretty expensive to me! I'm not even sure that they can reuse the cryogenics, it might be vented to atmosphere.
I just asked here, if you are interested:
http://space.stackexchange.com... -
Re:So You are Saying
... these are not single algorithms, nor are they in any way simple. This is very sophisticated software. At least scan through the Wikipedia entry linked in the summary to get a rough idea of the complexity of these monsters.I actually read through some of the patents Nokia was threatening VP8/9 with and they really are not sophisticated at all, they are just written in the most confusing possible way. For example, the following paragraph is from a Nokia patent that basically describes the selection of neighboring pixels:
selecting a first reference video pixel in the first video block and a second reference video pixel in the second video block, the first reference video pixel and the second reference video pixel being other than the first boundary video pixel and the second boundary video pixel and the first reference video pixel and the second reference video pixel being placed closer to a central portion of each of said video blocks than the respective boundary video pixel, in such a way that the reference video pixels and the boundary video pixels are situated on a straight line, the straight line being transverse to the boundary, drawn from the first reference video pixel to the second reference video pixel, wherein the first and the second boundary video pixels are located between the first and the second reference video pixels on the straight line,
I was planning on busting all of the Nokia patents myself, but then I got busy
:p -
Re:It depends
It is bad, but I've seen worse.
-
Re:Low gravity (Re:Stupid.)
Good question. According to this guy, both Mercury (no mention if Redstone or Atlas) and Gemini broke 7 g:
http://space.stackexchange.com...I would imagine that the Gemini curves looked something like g = t + sin(t) as they had real pogo problems with the Titan rockets. If you find an actual graph, please post it!
-
Permission to download ads
Applications need enough permissions to download and display advertisements. This is ultimately because Android devices launched in countries without Google Checkout, creating an expectation of free.
-
Re:Where to draw the line?
Internet?
Web or other protocol? If web, then which keywords in which search engine? I tried Stack Exchange, but its site for musicians expressly forbids questions about "business or legal issues" and questions about "identifying a song".
facebook?
I lack a Facebook account. Would it be worth signing up for Facebook for the first time solely to perform due diligence on my musical compositions? I ask because I remember having run into a lot of "I'm glad I never signed up for Facebook" types on Slashdot.
How much money do you set aside for speeding tickets before you're driving to work?
Speeding tickets are criminal law, an offense against the state. Accidental plagiarism is civil law, an offense against another person, and I see it more as analogous to a car accident, a possibility that one can't fully control. Is it common for composers to be insured against this sort of thing?
-
Re:Alternate Bank of Canada Press Release
You'd have a hard time claiming theft if a reasonable attempt to pay was made.
Not really. When you go to a store, the seller has no obligation to sell you anything. When you attempt to purchase a good, at that point you are offering an exchange with the vendor; they can lower the price, raise it, give the item away, or even refuse to sell you the item at all (all of which have happened in the real world). Until you and the seller come to terms and exchange currency for the good, you do not have legal posession of it.
Im sure there is a much more accurate legal explanation for this, so I'll let StackExchange do the talking (though I would note they misinterpret Treasury.gov's stance on debt, as they leave out some crucial parts).
http://skeptics.stackexchange.... -
Re:There might be hope for a decent adaptation
He was very frustrated and distraught at having to leave the Navy.
He didn't leave entirely... during WWII he worked at the Pentagon with Isaac Asimov, John Campbell, and a couple of other prominent authors on top-secret (at the time) projects involving quite a bit of technology development (including what would eventually become high-altitude pressure suits, if that gives you an idea).
Dude even broke Navy protocol and hired smart women to the team, as he managed the projects under his care.
If I remember right, he retained his rank at the time.
-
Re:Java
As for the horrible gui, neither c, c++, nor objective c has a native gui (cocoa is just a library).
Is java dying? At #2, I think not.
Now, I much prefer c to java - java is over-verbose - but there are ways around that as well.
And there's the fact that Minecraft was developed in Java and it was sold for $2.5 billion. There's still big money in using the #2 language.
-
I don't think so...
...except my cable modem does not share storage with my PC. On the other hand, the baseband and Android system (not to mention the device-specific efs/imei stuff and the user data stuff) are all located on the same emmc on many devices. (Hence the ability to "flash a new radio")
Could the baseband access or change data on the Android partitions or the efs data? I'm not sure, but the articles suggest to me that they could.
Also, my cable modem doesn't share memory with my PC either:
....the application processor (with Android e.g.) and the baseband processor can share memory, so that an attack and takeover of the baseband stack offers the possibility to attack Android.The baseband may have a separate CPU from Android, but it could access peripherals, sensors, etc. As an example:
The baseband processor (and thus REX OS) has direct access to the phoneâ(TM)s hardware (speakers, microphones), and also seemingly the ability to write to the same memory as the SoC (or application processor).
That's bad.
Also, unlike your cable modem analogy, which communicates to your router via a known network protocol, the baseband communicates with Android in most cases via the involvement of closed-source, mysterious "binary blobs".
So I guess if your cable modem were fused to your computer, sharing a hard drive, with direct access to its memory and peripherals, and communicating to your computer via a mysterious unauditable binary, then maybe your analogy would hold up.
-
Re:Some Real Advice
StackExchange says you're wrong about USB having DMA: http://security.stackexchange....
In any case, BadUSB would require reprogramming the actual device, so I still don't think it is a practical attack vector in this scenario. Moreover, if you're really paranoid, you can use write-once CD-Rs instead of USB devices.
QubesOS is an interesting idea, but it's more complicated and therefore more likely to have bugs than airgapping a machine. You're assuming there are no bugs in Xen, for instance.
As for filesystem bugs, this code has been around for 20 years or more. There are bugs everywhere, but I think especially popular Linux filesystem drivers are likely pretty solid. But go ahead and just dd the file to the optical disk directly and don't use a filesystem if it makes you feel better.
-
Re:Oxygen-based life possible on Earth
Although the third planet from the Sun suffers from crippling gravity and heat, scientists long held that the corrosive atmosphere of oxygen and water vapor is what forbids life as we know it.
Discussed on Stack Exchange:
http://worldbuilding.stackexch... -
Support costs
But, just because they're not the most profitable set of users, doesn't mean you can afford to ignore them.
You also have to take into account support costs. The cost of diversity of Android-powered devices (or "fragmentation" as detractors call it) is increased cost of supporting all configurations. Fewer configurations can mean lower costs, which in some cases may outweigh the increased revenue from Android.
Besides, writing app A for iOS and app B for iOS can reach more of these profitable "whales" than writing app A for both iOS and Android.
-
Re:Oh?
Are you denser than a 12 billion solar mass black hole?
Actually, he is. Unlike regular black holes resulting from supernova collapse, a super-massive black hole is not very dense.
e.g. a one-billion solar-mass (2x10 to 39kg) hole would give a density of 200kg/m3 - less than that of cork!http://physics.stackexchange.c...
Some have proposed that we may living inside an even bigger black hole.
-
Re:Wrong kind of drone?
That's what I was thinking. Equipping every border patrol unit with a commercial version of the ubiquitous quad-copter
For a given payload, rotary-wing aircraft consume about 2-4x as much fuel as fixed-wing aircraft. The quad-copter is actually an even bigger disadvantage since it's got 4 engines vs 1 on the Predator. (Fewer engines = more efficient. It's why airlines have been transitioning to twin-engine airliners.)
Also, if you read some of the linked docs in TFA, the $28,000 per arrest figure is the cost of the drone + personnel + equipment + overhead. The operating cost of just the drones themselves is about 1/5th that ( $2,468 per flight hour vs $12,255 per flight hour). So since the bulk of the cost is in the support personnel and equipment, changing the type of drone won't alter the cost per arrest much. The vast majority of the cost is still agents and their equipment - whether they be flying a Predator, a quad-copter, or have boots on the ground in the desert border. -
Re:The Secret of Nim
Brittsh count different than Germans, so the ground floor is their "first floor".
Wrong. http://english.stackexchange.c...
No zeros involved in either case. Ground floor is indicated in elevators usually with an E. Or in France sometimes with a P (parterre)
I've seen plenty of zeroes in France & Belgium, especially where there are basements or underground parking levels (-1,-2
...) -
Re:What it really reveals
This is good, or bad, depending on the tightness of your tin foil, but I think it reveals something far more important about encryption: we, the average users, are powerless to verify or truly trust any encryption solution offered. To realize that an audit of the code for a single-purpose program can only be done by a very small set of people shows that even with open source we're still just trusting others to safeguard our data. The need for encryption and the mathematical and coding complexity required to understand what we are using to safeguard our data is simply beyond our ability to check that it even makes sense at a basic level.
We - even IT power users and programmers - are mostly powerless to verify not only encryption programs, but the underlying OS as well. As Shutterworth said, if you use our OS, you have to trust us, because we have root .
-
Re:Can someone explain node's supposed speed
One clarification: Threads get 1MB of "virtual" stack memory, not physical stack memory. This minor oversimplification leads developers to conclude that threads are orders of magnitude more expensive than they actually are.
-
Re:The question is utterly stupid...
Stack Exchange now has a sub-site for questions like this:
http://worldbuilding.stackexch... -
Re:perforce
> Perforce is widely used in the video game industry for saving both code AND art assets.
Actually Perforce's popularity is slowly decreasing due to free version control for code:
* Git,
* Mercurial, or
* SVNAt our fortune 50 company we use SVN (SmartSVN on OSX, TortoiseSVN on Windows)
For binary assets, AlienBrain is pretty popular. I've used it in the past and it seemed decent.
-
Re:Pointless
Point of order: OSX is not a 'desktop Unix'
..http://unix.stackexchange.com/...
It is, even if you don't like it. You can of course redefine "UNIX" to be something other than what the trademark owners say it is, but then it's just your opinion and other people can have equally valid opposing opinions.
-
Re:Hopefully the applicants had a relevent backrou
Sortof, I find that the situation is:
You work on technology X for a while, you learn it inside and out, and you expect everyone else who is "qualified" knows what you know. but they moved on from that technology a couple of years ago and now only want to develop in Java/Erlang/Ruby/Node/Scala (* delete as applicable as depending on which year this decade you were hiring).
even more mature technologies like
.NET are stuffed full of so much churn that no-one really has time to become a master of any of it. Like my mate who was brought into a ASP.NET shop, he learned their tech stack, then one day noticed the trunk had changed a lot, so went to ask the architects who said "oh yes, we decided to move forward with our DB tech, so we're using a repository pattern now". So he goes and learns all about that, does some work on a branch, then goes to merge and... its all changed again. So goes to see the architects who say "ooh no, we decided repository pattern wasn't good enough so we've changed to using entity framework". Now that shop was just stupid, but to a lesser extent this is what is happening all over the industry.For example, this guy is getting burnt by it.
Whilst I agree that change is necessary to keep things progressing, we're almost in a throwaway culture in ITT where everything we ever did is not good enough and has to be replaced. While there are forces pushing against this (for example, all the people who want to do the big rewrite now know its a bad idea) we still have change via refactoring and flavour-of-the-month tech patterns and frameworks pushed at us.
Only when the industry gets the idea that stable is a good thing and making products is what we should be focussed on doing (ie not changing tech all the time) will this industry be as good career as the other engineering professions.
That's one of the big reasons that I left and went into "real" engineering: the techies may think that the systems that refineries and chemical plants run on are quaint and behind the times but it has been refreshing working on established systems and tech that has been refined over long periods and doesn't change when the "new hotness" comes out several times a year.
-
Re:Hopefully the applicants had a relevent backrou
Sortof, I find that the situation is:
You work on technology X for a while, you learn it inside and out, and you expect everyone else who is "qualified" knows what you know. but they moved on from that technology a couple of years ago and now only want to develop in Java/Erlang/Ruby/Node/Scala (* delete as applicable as depending on which year this decade you were hiring).
even more mature technologies like
.NET are stuffed full of so much churn that no-one really has time to become a master of any of it. Like my mate who was brought into a ASP.NET shop, he learned their tech stack, then one day noticed the trunk had changed a lot, so went to ask the architects who said "oh yes, we decided to move forward with our DB tech, so we're using a repository pattern now". So he goes and learns all about that, does some work on a branch, then goes to merge and... its all changed again. So goes to see the architects who say "ooh no, we decided repository pattern wasn't good enough so we've changed to using entity framework". Now that shop was just stupid, but to a lesser extent this is what is happening all over the industry.For example, this guy is getting burnt by it.
Whilst I agree that change is necessary to keep things progressing, we're almost in a throwaway culture in ITT where everything we ever did is not good enough and has to be replaced. While there are forces pushing against this (for example, all the people who want to do the big rewrite now know its a bad idea) we still have change via refactoring and flavour-of-the-month tech patterns and frameworks pushed at us.
Only when the industry gets the idea that stable is a good thing and making products is what we should be focussed on doing (ie not changing tech all the time) will this industry be as good career as the other engineering professions.
-
When will Lactose make it to Nutrition Facts?
Most adults, worldwide, are lactose intolerant. http://skeptics.stackexchange....
Given the above, it's kind of amazing that Nutrition Facts still have no words about lactose content. Why?
Wouldn't it be nice to know how much lactose each food has?
-
Re:Audiophiles work with hard real-time constraint
Allow me to state for one last time the obvious.
Ethernet is a digital protocol. In other words, what's being transmitted is a stream of 0s and 1. Discreet. There's no such thing as a lot of 0 that's almost a little bit of 1. Such a stream has one quite beneficial property: It's trivially easy to check whether it was transmitted correctly. Ethernet does that. Yes, that means that if you have a (really, REALLY) crappy cable that you'll get retransmissions. Which matters little considering the amount of data required to keep an audio stream steady and the speed of Ethernet retransmissions. What does matter, of course, is that the receiving end has a big enough buffer to cover for the retransmissions. But if that buffer wasn't big enough, it would not take an audiophile to notice the difference because, well, the audio would pretty much stop.
As for how USB cable quality matters, I did take a look around. But I doubt those were the results you got, so you might want to point us to some research that actually DOES find a difference in the sound quality properties of USB cables.
-
Re:About time.
Repeat after me: Evaporation and boiling are not the same thing
-
Re:What do you expect?
Um, not quite. Formula and proof.
But yes, nearest integer is important.
-
Re:Ask Japan...
How much uranium and thorium do US coal power plants release a year compared to the kilograms of fuel that have been lost from the malfunctioning reactor?
answer: 1210 tons of uranium and 2980 tons of thorium ash each year in the US
http://skeptics.stackexchange....US coal
"The actual average generated power from coal in 2006 was 227.1 GW" (WP)
"In 2006, the U.S. consumed 1,026,636,000 short tons (931,349,000 metric tons)" of coal (WP)
"Using these data, the releases of radioactive materials per typical plant can be calculated for any year" ... "assuming coal contains uranium and thorium concentrations of 1.3 ppm and 3.2 ppm, respectively" ... they produce 1210 tons of uranium and 2980 tons of thorium ash each year. Combined and divided by energy produced = 2.1 metric tons of radioactive waste per TWh -
Re:A functional programmer
Actually I'm not sure the compiler/jit knows what to do if the recursive call is unconditional.
This post clearly shows that TRO is pretty simple on JVM bytecode already, so I doubt the Java compiler or JIT does not implement this optimization: http://programmers.stackexchan... -
Re:Even Fox gets it right sometimes
I actually think that it is important for those interested to see this video. At the very least, know your enemy. Those who are _not_ disgusted by the video were already lost before they saw it. I saw it. I cannot believe what some people will do to one another.
Related discussion on Stack Exchange: http://islam.stackexchange.com...
ISIS isn't my enemy. They are disgusting, evil, horrible, shit-lickers. But they are not my enemy and we (the US) can't fight someone else's civil war because we will fuck it up. We will use outrage and compassion to send in troops, but the goals won't be humanitarian. They will be "national interests." We will make alliances with people diametrically opposed to true freedom and democracy in the the interest of "stability" and access to "resources." We do it every single time and until we learn not to do that, we should stay the hell out.
In summary, we are really bad at liberating people. I wish that was not true, but it it. We're great at liberating resources and we're really good at destroying stuff. Sadly that won't help "make us safe."
And we should tell the whole truth. Show videos of Saudi Arabian women being beheaded for "infidelity." Show the returning body bags (few though they are in comparison to the collateral damage.) Show what life is like now that we "liberated" Iraq.
As others have pointed out, showing this video is propaganda because of all that is not shown.
-
Re:Even Fox gets it right sometimes
I actually think that it is important for those interested to see this video. At the very least, know your enemy. Those who are _not_ disgusted by the video were already lost before they saw it. I saw it. I cannot believe what some people will do to one another.
Related discussion on Stack Exchange:
http://islam.stackexchange.com... -
Answer: read slashdot for long enough
See: Working Effectively with Legacy Code book review (2008) for a book of that title by Michael Feathers (PDF article) on that very topic.
There is even a summary of key points at Programmers @ StackExchange. Hundreds if not thousands of programmer's blogs address this very topic.
You're welcome. Now get back to work.
-
Re: Planetary migration due to tidal forces?
The fine article suggests that it does in fact affect orbit. Truth be told, it is the first time that I hear this, and _perhaps_ it is the case for gaseous worlds, for which slowing down the rotation is not as straightforward as for rocky worlds.
I've asked on space.SE, your input and comments are welcome on that discussion:
http://space.stackexchange.com... -
Ubuntu 12.04 64bit has now patched the bug
Late comer, but in case someone is looking for this bit of information.
Just got latest updates. Before the updates I tested with this tool and result was vulnerable.
After the updates it reports "not vulnerable".There was some messup with libc dev packages. I had to force uninstall some dev packages and do "apt-get -f install" a couple of times, until the problem cleared. This is most likely just my machine...
I should still reboot to make sure the old libc is not loaded in some processes...
-
Describe the goal, not the step
Don't just pretend that your question was always "What authoring tools do I have?" when your question WAS "What do I use instead?".
I was trying to avoid causing the XY problem by asking for tools to perform a step toward the wrong goal. Asking "What are usable authoring tools for animated SVG?" isn't helpful when animated SVG itself isn't a viable technology. So instead, I first asked for the right goal (what tech) and followed up by asking for the right step (what authoring tools). My question in full could have been phrased more formally as follows: "What is the most viable technology to replace SWF, and what are usable authoring tools for said technology whatever it might be?" What is the correct etiquette for asking a question contingent on another question?
-
Re:Use trunk or it is not my problem.
If they had developed a small patch for the problem, I'm pretty sure OEMs wouldn't have a problem pushing it to the users.
Hahahahahahahahaha, seriously? This is fixed in 4.4 [...]
It's not really a fix, if the H/W requirements have been changed/increased.
Android 4.3 vs. 4.4.
Or more to the point: how do you know that your device is compatible with official golden blessed Android 4.4? CyanogenMod guys can do whatever the hell they want - except calling it "Android".
-
Re:Slashdot stance on #gamergate
It is incredibly disingenuous to claim ownership of people's actions in the past.
And it's incredibly disingenuous to claim that I claimed ownership of people's actions in the past.
I just noted that "social justice" was used to describe the abolitionist movement http://english.stackexchange.c... and that those who "fought" for it could be described as "warriors". So abolitionists were SJW.
If you don't like that, stop resetting the term to be a pejorative.You are transparently trying to say "these people did good things and I say I do good things therefore we are the same and you are bad". You aren't nearly as clever as you think you are.
I never claimed to do anything good. I never said anyone else is bad. That is purely a fabrication by those who hate equality, progress and politeness. When you have to lie to try to make me look bad, you show your argument has no validity.
-
UID mismatches with removable media
In theory, you can use the Linux extended file system (Ext2-4) on removable media. But it shares one drawback with NTFS: user IDs generally don't match from one machine to another. So when you mount a file system on another machine, you won't have privileges to read or write files. FAT, by contrast, doesn't store owner or group IDs, instead assuming that all files belong to the user who mounted the file system. UDF supports the same feature, reserving UID -1 to mean "bearer" in this sense. UDF works on SDXC cards, but I was under the impression that any licensed SDXC writer had to support exFAT.
-
Re: With our out-of-control gov't, NONE are innoce
Why the hell does everyone cite such a horrible book? Here's a breakdown - http://skeptics.stackexchange....
-
Steam and LXC, or how to run it in a sandbox
I don't trust Steam, so I run it in an unprivileged linux container. This way, it can't do too much damage and can't spy on my system so easily.
Setting up LXC in such a way that games still work is not trivial, but also not terribly difficult if you know your way around the OS and are willing to do some reading and learning. Here are some tips to get you started.
-
Crowd source judgement
If jurors do get the internet, they'll just use their smartphones to post their case to http://peers.stackexchange.com...
-
Re:Animacy is a dimension of gender
I don't remember having made any major edits to this Wikipedia article or these Linguistics Stack Exchange questions. If you consider neither of those sources reliable, that all their contributors are under some massive hoax, which source for linguistic terminology do you consider reliable?
-
Re:Experts on communication?
Actually the "one another" is correct. https://english.stackexchange....
-
Re:History Channel
History Channel has become a joke with things like Ghost Hunters, Ancient Aliens, and enough crap to make you think they've jumped the shark and become a source you can no longer rely on for actual history.
Yup. The joke over on the History Stack is that they are fixing to change their name to HyFy. Posting a question based on something you saw there is a really good way to get your question closed.
-
Software Recommendations
If you are looking for an app, ask at http://softwarerecs.stackexcha...
People there will search for apps that fit your particular requirements (features, OS, license, etc).
It is also a good way to find new project ideas, just look at the app requests that have no fit yet: http://softwarerecs.stackexcha...
-
Software Recommendations
If you are looking for an app, ask at http://softwarerecs.stackexcha...
People there will search for apps that fit your particular requirements (features, OS, license, etc).
It is also a good way to find new project ideas, just look at the app requests that have no fit yet: http://softwarerecs.stackexcha...