Entity Framework 4 and “New transaction is not allowed because there are other threads running in the session” Exception
At Jim Jackson's Blog, solution was simple, get you query and copy to list.
".ToList()" than work on your items.

❣ Chile in a Photography ❣

No title available
No title available

izzy's playlists!
almost home
I'd rather be in outer space 🛸

oozey mess

Product Placement
NASA

#extradirty
Alisa U Zemlji Chuda
Cosimo Galluzzi
DEAR READER
dirt enthusiast
TVSTRANGERTHINGS
occasionally subtle
KIROKAZE

JBB: An Artblog!
Claire Keane
Sade Olutola

seen from Malaysia

seen from Türkiye

seen from United States

seen from Malaysia

seen from Malaysia

seen from United States
seen from Argentina
seen from Türkiye

seen from China
seen from United States
seen from Türkiye
seen from Türkiye
seen from Singapore

seen from Malaysia

seen from Malaysia
seen from United States
seen from United States
seen from Saudi Arabia

seen from Türkiye

seen from T1
@esertbas-blog
Entity Framework 4 and “New transaction is not allowed because there are other threads running in the session” Exception
At Jim Jackson's Blog, solution was simple, get you query and copy to list.
".ToList()" than work on your items.
it's better to burn out than to fade away.
Kurt Cobain
Download : Microsoft Visual Studio 11 Ultimate Beta
Follow the link : http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=28975
C++ AMP open spec published
From Daniel Moth's Blog :
The C++ AMP open specification is available for download now!
MySQL Dump + Restore [Data Only]
Backup first ;
mysqldump -uroot -proot --skip-triggers --compact --no-create-info --result-file=output.sql
Then restore ;
1st way :
mysql -uroot -proot --force dbName < output.sql
2nd way :
mysql -uroot -proot --force dbName
mysql>source output.sql
Notice :
(optional) -f, --force Continue even if we get an SQL error.
SQL Rand() - Fill Empty Values!
Here we go
declare @seed int; set @seed=1; while @seed<10000 begin update top(1) [Values] SET [Value - N]=(select RAND()), [Value - D]=1 where [Value - N] is null set @seed= @seed+1; end go
C# Cast Array N To T ?
Easy way to cast for example Type1[] to Type2[]
Primative types in c# has mostly convertors already like ;
Just one line of code...
var STRARRAY = new string[] { "10", "11", "12" };
Array.ConvertAll<string, uint>(STRARRAY.Split(','), Convert.ToUInt32) ;
You might code your own as well.
public static TOutput[] ConvertAll<TInput, TOutput>( TInput[] array, Converter<TInput, TOutput> converter )
Check : http://msdn.microsoft.com/en-us/library/exc45z53.aspx
Z-Drive R4 CloudServ 16TB SSD FTW...
Do you think you are fast?
OCZ's Virtualized Controller Architecture™ (VCA) 2.0 provides the utmost in performance, flexibility, durability and enhanced reliability, allowing data centers to rely on a PCIe-based SSD as their primary tier one storage solution for the first time.
You will get `The associated private key is marked as not exportable` unless `Mark the private key as exportable` checked ... and it is too late already.
HyperDex: A Searchable Distributed Key-Value Store
HyperDex
HyperDex is a distributed, searchable key-value store. HyperDex provides a unique search primitive which enables searches over stored values. By design, HyperDex retains the performance of traditional key-value stores while enabling support for the search operation.
The key features of HyperDex are:
Fast HyperDex has lower latency and higher throughput than most other key-value stores.
Searchable HyperDex enables lookups of non-primary data attributes. Such searches are implemented efficiently and contact a small number of servers.
Scalable HyperDex scales as more machines are added to the system.
Fault tolerant HyperDex handles failures. Data is automatically replicated on multiple machines so that failures do not cause data loss.
See Performance : http://hyperdex.org/performance/
HyperDex is licensed under the 3-clause BSD license.
NoSQL : Amazon DynamoDB (beta)
Yet another noSQL; DynamoDB from AWS, we are going back to where we started, with cool name "noSQL"
By the way, I see "SSD Storage" @ http://aws.amazon.com/dynamodb/
Never mind,
More $s with PHP
You might wanna make things easier with more $ signs with PHP
How it works :
$a='b';
$b='a';
// take value of $a and use it as variable name so '$b'
echo $$a
output : a
Just works ;
<?
$a='b';$b='a';
echo $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$a;
?>
^Z
output: b
As this ;
<?
$a='b';$b='a';
echo $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$a;
?>
^Z
output: a
jQuery Date Range Slider
Thanks to Guillaume Gautreau for nice implementation which I was looking for :)
https://github.com/ghusse/jQRangeSlider
Take a look to the Demo Page :
http://ghusse.github.com/jQRangeSlider/stable/demo/
Licence : GNU GENERAL PUBLIC LICENSE
What if your Logitech - G9 stops scrolling..
Go to : http://www.logitech.com/en-us/428/3053
Download Flow Control & Set Point to your PC, first try without restarting your PC than restart :) after that your might want to disable add-on for Chrom which fills all the console with interesting move debugs.
Disable Addon at Chrome ;
Go to Settings -> Extensions -> Uncheck the box near Logitech Flow Scroll [ Enable ] than should be fine.