Jump to content

  • Log In with Google      Sign In   
  • Create Account

L. Spiro

Member Since 29 Oct 2003
Offline Last Active Apr 14 2016 07:50 AM

Topics I've Started

And the Best President for America is…

09 April 2016 - 08:42 AM

I remember reading here that the only reason you think Bernie Sanders is not the best person economically (considering he is the only candidate who has laid out an economic plan he gets attacked this way often) is because you can’t understand how raising the minimum wage to $15 hurts America.
I don’t remember all the contrived ideas presented in the post, as I only deal with facts and logic.

MSNBC accidentally brought on a Wall Street’s real-life Gordon Gekko who promptly and clearly explained who is best for America’s economy, in his last-ever appearance on the show:

Isn’t it so simple? Trickle-down economics introduced by Reagan are exactly what threw the country into the repeated turmoil in which it finds itself today.
The velocity of money. Such a simple concept.

I’ve said time and time again that very few people are keeping up with the actual facts surrounding each candidate, the details on their policies, their histories, etc.
As a result, some people believe that Sanders is a fan of Castro, and Obama is a Muslim.

If you believe that Trump is a fascist, no that’s actually true.  It’s not a hit-job, it’s just Trump being an idiot.  You arrive at that conclusion by doing basic research and reading his quotes.


You arrive at the conclusion that Obama is a Muslim by mindlessly absorbing the republican message on daily TV.

You arrive at the conclusion that Sanders loves the killer at Sandy Hook by mindlessly adsorbing the Hillary message in newspapers and other media.

You arrive at the idea that Hillary is a flip-flop who will shit 7 mothers of black teens out her ass when necessary simply by following her actions and messages.

You arrive at the idea that Cruz will turn the country into a Christian ISIS just by listening to his speeches.



Won’t America wake up?

Why do Americans hate a good economy?  Why don’t Americans know what is best for them?  And why do they have to take the rest of the world down with them?



L. Spiro

(split thread) c-style casts

19 March 2016 - 12:09 AM

I honestly can't understand why anybody recommends them over C-style casting.

Then you should consider that they were invented because people got tired of shooting themselves in the foot by “over-casting”.



L. Spiro

Vulkan Resources

17 February 2016 - 06:19 PM

AMD drivershttp://gpuopen.com/gaming-product/vulkan/ (Note that Vulkan support is now part of AMD’s official drivers, so simply getting the latest drivers for your card should give you Vulkan support.)
NVIDIA drivershttps://developer.nvidia.com/vulkan-driver (Note that Vulkan support is now part of NVIDIA’s official drivers, so simply getting the latest drivers for your card should give you Vulkan support.)
Intel drivershttp://blogs.intel.com/evangelists/2016/02/16/intel-open-source-graphics-drivers-now-support-vulkan/
Quick referencehttps://www.khronos.org/registry/vulkan/specs/1.0/refguide/Vulkan-1.0-web.pdf

Sample code: https://github.com/LunarG/VulkanSamples

Getting startedhttps://renderdoc.org/vulkan-in-30-minutes.html
L. Spiro

"Real-Time" Smoothing

18 January 2016 - 08:50 PM

I stupidly threw away my notes from Stanford on various smoothing techniques, including Laplace smoothing, Bayesian averages, etc.
Now I am having trouble remember the name of the method I seek.

I want to monitor a value over time, hopefully without keeping a history (hence real-time).
I want to take certain actions when the value is in certain ranges, but the action I take will have an effect on the value.

As an example, I could monitor the FPS (or some performance metric) and when it goes up and down I could activate some kind of optimization. The optimization will of course impact the performance metric I am measuring. So the FPS would go back up and I would get a ping-pong effect.

In addition to having one threshold for applying the optimization and a separate one for disabling it, I want to dampen/smoothen the performance values. But I don’t want to keep a history of performance values. There should be a way to modify the current value with new incoming values in “real time”. I can make my own fairly easily (divide the difference between the current value and the new value by some dampener and then add that to the current value) but I am certain there is a tried-and-true complex method already out there.

I can’t remember which type of smoothing we can use for this because I threw away my notes. I was mistaking it for Laplace smoothing originally but that is actually for something else.
Bayesian averages seems to need a history of values.

Any ideas?

L. Spiro

Trustworthiness of LinkedIn

08 January 2016 - 12:21 PM

I got a request from and added a person who I am fairly sure I have seen “around”, I think also on LinkedIn, probably as a contact of a contact. I never really paid any attention to details, but basically I feel that my familiarity with his profile picture spans about 2 years.

Then yesterday he requested to be a contact and I accepted, remembering my familiarity.
He seems to be a general manager at the Commercial Bank Of Dubai.

And a few hours after I accepted his request I get the following message:

Thanks for accepting my invitation on Linkedin. Please do contact me on my private email.I have a business proposal that I would like to share with you.
Thanks: ****
General Manager-Administration & Human Resources
Commercial Bank Of Dubai.com

Suddenly sounds like a scam.

This would be extremely easy to dismiss as a scam, except that LinkedIn is very strict on scammers and since I have seen him “around” for a long time I can’t imagine he would still have an account if he were scamming people.
But then again, just look at his message. Clearly a scam.

What is your take?  Are LinkedIn’s policies not a strict as I thought?  Could this guy have dodged the ban-hammer for more than 2 years with scams or could the 0.01% chance that it is real have happened?



L. Spiro