Profile cover photo
Profile photo
Frank M
Frank's posts

Post has attachment

Post has shared content
Very interesting, great article
Very, very, scary.   This once again proves that if you can run local code, you can probably break root one way or another.

+Jej B This is an example of a vulnerability for which if you use a hypervisor, you would be much safer than if you were merely using containers for your security isolation.

Post has shared content
Awesome resource for the Scala folks
My comprehensive web reference list to all things scala

Post has shared content
Very nice
Good Morning C++:

  Some great FREE content for the community from Effective C++, Third Edition: 55 Specific Ways to Improve Your Programs and Design by Scott Meyers


  Content Excerpt:

  "Clearly a BuyTransaction constructor will be called, but first, a Transaction constructor must be called; base class parts of derived class objects are constructed before derived class parts are. The last line of the Transaction constructor calls the virtual function logTransaction, but this is where the surprise comes in. The version of logTransaction that’s called is the one in Transaction, not the one in BuyTransaction — even though the type of object being created is BuyTransaction. During base class construction, virtual functions never go down into derived classes. Instead, the object behaves as if it were of the base type. Informally speaking, during base class construction, virtual functions aren’t."

"There’s a good reason for this seemingly counterintuitive behavior.
Because base class constructors execute before derived class constructors, derived class data members have not been initialized when base class constructors run. If virtual functions called during base class construction went down to derived classes, the derived class functions would almost certainly refer to local data members, but those data members would not yet have been initialized. That would be a non-stop ticket to undefined behavior and late-night debugging sessions. Calling down to parts of an object that have not yet been initialized is inherently dangerous, so C++ gives you no way to do it."

"It’s actually more fundamental than that."

#CPlusPlus   #CPP  

Post has shared content

Post has shared content
Quite interesting...
Some explanatory context about the lack of an indictment in Ferguson: while grand juries are nominally one of the checks on executive power, with the prosecutors only able to indict someone if they can convince a grand jury, this hasn't really been the case in decades, if ever. In the famous words of Sol Wachtler, former chief judge of the New York Court of Appeals, district attornies have so much influence over grand juries that they could get them to "indict a ham sandwich" if they wanted.

This is because grand jury proceedings are rather one-sided: there is generally no judge involved, nor any defense, but rather the prosecutor simply presents whatever evidence he or she chooses, and has to convince the grand jury that there is "probable cause" that the person committed a crime, i.e. that a reasonable (ordinary) jury could conceivably convict. If this seems like a rather low bar to you, you're right: quite a few people have argued that grand juries are a complete waste of time, and only half of US states still use them. (The federal government is required to by the fifth amendment; no common-law jurisdiction outside the US still bothers)

In those places which still use them, their main remaining function is to provide plausible deniability to prosecutors who don't wish to pursue a case: just like you could get a grand jury to indict a ham sandwich by only showing one story, you could get a grand jury to refuse to indict Freddy Krueger by showing them enough evidence to make the legitimacy of the state's case unclear.

That's not a common use for grand juries -- prosecutors generally have better things to do with their time than look for plausible deniability. (In the federal courts in 2010, for example, grand juries refused to indict 11 times, out of about 162,000 cases. Given that a prosecutor can generally guess when they don't even have a good enough case to indict, you can assume that those eleven each decided to have the grand jury be the one to say no, instead of them, for a reason)

What this means is that when you're trying to interpret the news and understand what a grand jury verdict means, you can basically take it to be a summary of the prosecutor's decision to prosecute or not to prosecute the case, rather than the verdict of an independent panel. 

(The analysis below notes that, in high-profile cases, there's another important reason that a grand jury may not indict, which is that the prosecutor feels that the case isn't strong enough to actually push through, but nonetheless feels political pressure to try anyway. That's not likely to be the case with today's news, as county prosecutor Bob McCulloch took the rather unusual step of having Darren Wilson, the prospective defendant, testify before the grand jury for several hours. Prosecutors who actually want an indictment generally don't invite the defendant to give their side of the story at length, as this is not considered conducive to getting the desired variety of ham sandwich. So it's fairly safe to read today's headline as "McCulloch decides not to prosecute Wilson," and interpret that as you will.)

If you want to read about the grand jury system in the US, as good a place to start as any is

Post has shared content

Post has shared content
Gotta watch this
Don't miss this opportunity to explore #quantum mechanics and #spacetime with this free, live #webcast   on Nov. 6 -- sign up for your email reminder to tune in: More info: 

Post has shared content
This is major!!! Unknown Mathematician solves one of the key aspects of Prime more here to find out:

Post has shared content
Awesome talk, very entertaining
What the Tech Industry Has Learned from Linus Torvalds: Jim Zemlin at TEDxConcordiaUPortland
Wait while more posts are being loaded