if (* src1_as_int ++ != * src2_as_int ++) return 0; /* compare as ints */
1,108 karma · joined May 24, 2014
if (* src1_as_int ++ != * src2_as_int ++) return 0; /* compare as ints */
And I'm not sure why you think inlining would result in the speed increase? I believe the compiler will inline it when the standard memcmp is used too.
There are processors and memory systems everywhere. There are so many entry points for snoop attacks which can be completely invisible unless you know exactly what to look for.
If your freakin' hard drive can be running linux or a web server then how can you ever trust anything?
Here is a tool written for exactly that (although not intended for securely erasing a drive, it will have that effect too): https://github.com/rentzsch/stressdrive
But what I can't stress enough is how severe it can be. I went and lived in various places around the world for a decade, from about 23 to 33. The place I settled down most was in Ecuador, where I learnt the language, met my long term partner, and made some close friends and integrated with the culture. But I spent years in Europe, the USA, and Asia too.
All of the above was achieved just by coding software and selling it off some wordpress websites I put together.
And now I've been back in New Zealand for exactly 3 years, and it's awful. Life is so repetitious and small and boring. I've never been more miserable. And it's for the same reasons in this article, and that other people are mentioning in this thread.
The funny thing is that before I left I had no particular desire to go (I just did it because it was easy and my friend wanted to), and I was happy. But now, because I have had those life changing experiences, I'm not.
In the case of Trump, he only tweets from his Android, so all of the other tweets are done by his team. If you read through them side by side the difference is night and day in their intonation too.
This is all made easy by the fact that the 'source' is a publicly available part of the Twitter API: "'source' 'String' : 'Utility used to post the Tweet, as an HTML-formatted string. Tweets from the Twitter website have a source value of web.'"
Considering that he did change the price from under the driver, and that is very likely what did indeed bankrupt the guy, I don't blame him from acting out in any way he can.
The fact that the CEO just screams out "BULLSHIT" when he points out the price decrease which affected him and that his only response just makes me lose respect for him completely.
If you find yourself unable to launch stuff because of that specific fear, then I would say it has some extremely personal reasoning behind it, and maybe introspection would be helpful. Things that deeply ingrained are usually related to childhood and or family.
Ironically, I'd probably suggest some psychedelics as the fastest way to get to the bottom of it.
Besides which, they have been implementing things like 8 bit graphs for processing on low power devices. That should result in a large performance increase for these devices. I tried it on mobile and I got decent FPS (I can't remember the exact figure) by using it. https://www.tensorflow.org/versions/r1.0/how_tos/quantizatio...
It's a perfectly valid statement to say that a pi will run inference on 90% of the models out there, and I have experience with the same. It would be similar to claiming that (if it could), a pi could run 90% of the games out there.
Once again, I am speaking from practical experience from having implemented tensorflow neural nets on low power devices. And I sincerely get the feeling that although you're enthusiastic, you have no clue what you're talking about.
Rather than making offhand comments like facepalm, I would challenge you to either offer up some evidence to the contrary (you could start by trying to find a tensorflow model that a pi wont run), or spend more of your time doing something more practical than acting like a clueless rabid fanboy.
An example on inference would be feeding it an image and classifying it with a neural net.
The example I linked to above has inception running, which classifies things you point the camera into 1000 different categories.
It is very easy to set up (I have done it, and it only took a few minutes)
You obviously wont do any training on the pi, but low power devices have been used for inference for years now. For example here it is made to run on a phone: https://github.com/tensorflow/tensorflow/tree/master/tensorf...
It doesn't. Because an array is already a pointer, in (&arr + 1) &arr is a pointer to a pointer (ie, a handle) so *(&arr) is dereferencing the handle to the pointer. So it's still one pointer level deep - it doesn't dereference it completely.
he doesn't use the * operator on it, he just calculates its position. If he were to access it (ie, use it with *) then that would be breaking the rule
(I've been working at a low level with disks for over a decade, writing data recovery apps and such)
I have found in practice that by the time a HDD develops a single bad block, 99% of the time it's on a death spiral and it's going to completely die within a month or two.
It seems like none of this bad block remapping, spare space, or anything of the sort has any effect whatsoever. The only thing that keeps them alive is being well enough engineered not to break at all.
Please correct me if my experienced misinformed me and I'm wrong.
So even if it's actually true, and that you shouldn't roll your own encryption in practice, even if they do break yours they'll still have to get through the AES as well. So it's a no risk addition.