Educação

Primo Webcast Italiano su Intel Realsense

Il primo Webcast di introduzione alla tecnologia Intel Realsense si e' svolto Lunedi' 15 Settembre 2014 per mano di Massimo Bonanni e mia, in qualita' di Intel Software Innovator per Realsense italiani.

La sessione prevedeva la presentazione delle caratteristiche del nuovo SDK ed alcune demo per vedere il Sistema in Azione in anteprima.

Alla fine e' abbiamo presentato il nuovo Realsense App Challenge 2014, la grande competizione aperta a tutti I developer con un montepremi da capogiro: 1 Milione di DOLLARI!

 

spring3+hibernate4 service 中多线程事务异常及解决

初次使用spring3结合hibernate4做项目,迅速配置完成,测试,一切正常。

然而,当我在service层中另外开启一个线程,线程中的方法需要进行数据库操作,这个时候,悲催的抛出了异常:-org.hibernate.HibernateException: No Session found for current thread

当然,hibernate4的session是和当前线程绑定的,多线程中用sessionFactory.getCurrentSession()获取当前session自然不存在,不存在又不会自动创建,所以抛出了异常,无可厚非。

于是就想着怎么解决这个问题。

遍翻google、baidu,大部分都说如何如何配置,设置事务的传播属性propagation="REQUIRED",开启opensessioninview filter等等,无一对此问题有何解释(当然或许是我没翻到,有知道的麻烦告知)

在http://sishuok.com/forum/blogPost/list/2625.html#7523上看到相关配置,我就想作者这个项目该多线程运行正常吧,果断下载源码,修改测试,oh。。。跟我的错一模一样!

StdAfx.h

This article is meant for those programmers who are only getting started with the Visual Studio environment and trying to compile their C++ projects under it. Everything looks strange and complicated in an unfamiliar environment, and novices are especially irritated by the stdafx.h file that causes strange errors during compilation. Pretty often it all ends in them diligently turning off all precompiled headers in every project. We wrote this article to help Visual Studio newcomers to figure it all out.

SpaceApps NYC 2015 : A Truly Stellar Event!

The International Space Apps Challenge is a technology development and problem solving event during which citizens from around the world collaborate to tackle challenges relevant to improving life on Earth and the exploration of space. Intel has participated in these events and has provided technical mentorship, as well as software/hardware sponsorship.

Advanced Computer Concepts for The (Not So) Common Chef: First Some Terminology Part 2

OF COURSE, I KNOW WHAT A THREAD IS….DON’T I?

Now that we know what a core is, let’s dive into another source of confusion.

This section gets a little deeper into techno babble than I wanted for this series of blogs. If you are so inclined, my gourmet readers, you can either skip or read on. I believe the rest of the blogs can be understood with or without this little aside. But for those of you who are already familiar with threading, it may give you more insight than would be the case otherwise.

Advanced Computer Concepts For The (Not So) Common Chef: Terminology Pt 1

Before we start, I will use the next two blogs to clear up some terminology. If you are familiar with these concepts, I give you permission to jump to the next section.  I suggest any software readers still check out the other blog about threads. There is a lot of confusion, even among us software professionals.

Intel IoT Roadshow hits the Road in Seattle

The Intel IOT roadshow kicked off the year 2015 with a large showing in Seattle on February 11 and 12th.

The Intel® IoT Roadshow centers around the Intel Iot Development Kit. The goal was to educate Seattle IoT developers on how to use the kit for hardware projects - providing them with the tools they need and first hand mentorship from Intel experts. The Roadshow was preceded with a Meetup which provided the hardware community an introduction the board. This helped attendees get a head start for the hackathon - resulting in well thought out prototypes for the kit.

Advanced Computer Concepts For The (Not So) Common Chef: Introduction

While talking to a very intelligent but non-engineer colleague, I found myself needing to explain the threading and other components of the Intel® Xeon Phi™ ⅹ100 and ⅹ200 architectures. The first topic that came up was hyper-threading, and more specifically, the coprocessor’s version of hyper-threading. Wracking my brain, I finally hit upon an analogy that seemed to suit: the common kitchen.

Assine o Educação