« first day (2679 days earlier)      last day (2495 days later) » 

05:00
Hi
suggest me a best way to move table data to files to free the db size
You Can use below SQL statement to Move data from sql table to file:

insert into OPENROWSET('Microsoft.Jet.OLEDB.4.0',
'Excel 8.0;Database=D:\DATASheet.xls;',
'SELECT * FROM [DATATABLE$]') select * from Table1
05:19
this move all rows in a table to an excel file right?
and i can read excel file and insert data again?
@KrishanDuttSharma
05:33
can i move to xml instead?
instead of excel?
05:54
0
Q: "weka.filters.Filter setInputFormat" The type initializer for 'weka.core.WekaPackageManager' threw an exception

Sohaib Shabbir ButtI am trying to use weka.dll in c# through ikvm. While training classifier, 'setInputFormat' throws an exception "The type initializer for 'weka.core.WekaPackageManager' threw an exception". here is my code which reads an arff file to train classifier. [using System; using System.Collections.Ge...

06:52
Morning sharperinos!
@NoMan Why would you move rows into an excel file, only to further expand that file? Why not expand the db?
07:09
Hi ho
07:22
GoOoOoOoOoOoOoOoOoOoOoOd Mornin' neglecterinos!
@Metallkiller You're early in today
How do I differentiate between a master table and secondary table?
Wanna leave at 4 today, so I can get home early to lay out my laminate :D
please tell
I guess the master table holds foreign keys to secondary tables?
Not sure
say I have a table A (primary keyA etc etc) and table B(primary key B, ForeignKey(PrimaryKeyA), etc)
which one is master?
07:29
B
As it holds data connecting several tables' data
XD
havent had my coffee yet
A is the Master, Isn't it?
ohayou
ohayou???
07:32
A?
Got it, NVM
its a greeting :P
@Breathing yes I think so
Hello Everybody in every time zone
but he said B?
Oh don't lsiten to me I'm just babbling without my coffee
10
A: difference between master and transaction table

FallAndLearnMaster and Transaction tables are needed in the database schema specially in the verticals of sales. Master Data: Data which seldom changes. For example, if a company has a list of 5 customer then they will maintain a customer master table having the name and address of the customers alongwith ...

07:38
but then what is the definition?
It justifies what i said.
Master table = holds data other data depends on and i valid for a long time. Did I get tat right?
Exactly
Servus Roel
07:56
I have another very basic question to ask
say, foreach(Class ob in classlist)
{
}
Left is where your thumb is on the right
what is ob here?
My answer is it is a reference variable of Class
my friend says it is an object
ob is the currently used object
who is right?
But I read object is created using new() keyword?
a "reference variable of class" references an object
classlist already holds objects
07:58
yeah
So I am right?
ob is just referencing one after another
you're both right
But I am more detailed right
he is bird's eye view right
technically he is...more right
but as I said,
wait no, technically you're more right
07:59
haha
drink coffee
good idea
hello all
08:22
posted on February 15, 2018 by Scott Hanselman

I recently got a updated laptop for work, a 15" SurfaceBook 2. It's quickly become my go-to machine, and I'm often finding myself using it more than my main desktop machine. I considered myself reasonably familiar with the Surface product line as I bought a Surface Pro 3 a few years back for myself (not a work machine), but I am genuinely impressed with this Surface Book 2 - and that surprise

08:53
@Metallkiller to relaese some storage in db. wanted to move old data to file. if needed , that data should be again moved to db
Wtf my new server 2012 r2 vm doesn't have IUSR
user7538827
Hello, I'm doing an application that works on a sql server database obviously written in c #, in case you fail to connect to the database you can block the application until the database is back online? (Without causing the user to miss error messages)
@NoMan Why not make a backup of the db? Having files is generally a step back from a db
@Metallkiller laminate means "laminieren" fyi :D
@RiccardoPirani What do oyu mean "miss error messages"?
@Nerd ok whats the noun then?
08:55
lay out floorboarding
or sth along those lines
Riccardo: You get an exception when the connection fails, so catch that and act accordingly
"Laminat verlegen" aswell
@Nerd I mean what is "Laminat" called?
bsolutely not
08:57
Aswell laminat
my father says linoleum
linolium is something else. thats the stuff in old kitchens.
@Metallkiller is IIS activated in the features?
09:08
IIS is installed, even installed IIS6 compat
found the IUSR though. No idea why it works now.
This worked
09:51
@Metallkiller Oh well then, your problem was most likely you were looking for IUSR in your domain
but IUSR is a local user in your computer
why the fuck am i in here
Good question
so many squirrels?
Once there was five
now there are three
What happened to the other 2?
10:00
We ate them alive
oh my!
I was stopped from them.
YOU ATE THEM?!
10:11
squirrels taste good tbf
:O
!!giphy suprised squirrel
@HéctorÁlvarez I looked in computermanagement -> local users and groups -> users and it wasnt there
Waaaait a minute - giphy is back?
it was back after kendall deleted it yesterday lmao
I tried it like 2 hours after
...i kinda want to try it though
mr5
mr5
o/
who's good at Math here?
10:16
i became a dev so i could make computers do maths for me
mr5
mr5
var angle = e.Heading;
// compass rotation is fine
compass.Rotation = angle;

// compass becomes helicopter
await compass.RotateTo(angle);
@Metallkiller Then I'm clueless :S
mr5
mr5
I'm trying to filter the angle using this code I found in SO:
if (angle < 0) {
        angle = angle + 360;
}
angle = angle % 360;
and it doesn't seem to solve the problem
wtf
but why
why the modulo?
mr5
mr5
just to clip the value?
10:19
let's say you have angle = 60º
angle is 60º
angle= -60º
angle is 300º
and now you do 300%360
mr5
mr5
hmm let's see
which returns 300
mr5
mr5
!!> -60 % 360
@mr5 -60
mr5
mr5
!!> -60 + 360
10:20
angle is 300º for -60º
@mr5 300
mr5
mr5
!!> 300 % 360
@mr5 300
mr5
mr5
^
look
unless you have stuff like
angle = 12987132º
mr5
mr5
10:22
hmm, I remember I removed the % part as part of my trial error
still no luck
so should it be Math.Abs?
what is it you're trying to "filter"
what's your expected result for an example, like -60º
mr5
mr5
|θ|
@HéctorÁlvarez that's 0º minus 60
so 300º
I'm not sure though
so you want to have the angle represented as 0-360
It's just mod 360, isn't it?
mr5
mr5
I was told by SO that I should include the bearing in the equation i.e angle = azimuth - bearing
@HéctorÁlvarez yeah. just like a real compass
10:25
I'm still not sure of the intent, |θ| means "absolute value of ..." which means -60º becomes 60º
It looks like it's meant to coerce the angle so that you don't get jumps when you take trig functions of it
I've had to do that sort of thing. I can't quite reason through it now
Works for 60°, -300°, 420°, 3660°
so, what's the problem you're having @mr5
12987132 mod 360 = 132 BTW
while (angle < 0) {
        angle += 360;
}
mr5
mr5
10:27
@HéctorÁlvarez I'm not a navigator lol. that's just pure bullshit I'm talking about
maybe that helps
what is difference between Intersect and Union?
@Breathing union adds, intersect takes the values that belong to both groups
mr5
mr5
@TomW you seem to know about trigs and stuffs. have you worked in GMaps before?
10:28
are you expert in sql queries?
mr5
mr5
@HéctorÁlvarez the compass is rotating backwards sometimes
@mr5 no
@HéctorÁlvarez To my belief this is already done by the mod operation, which additonally ensures that angle is between 0 and 360 in the end. The while will not work for 12987132°
mr5
mr5
@Bechi well, the heading is guaranteed not to exceed at the value of 360 in my case but good point
@Bechi that's meant to replace the "if"
10:29
Is there any way I get Intersect for all the particular ids?
rather than using it again and again to keep finding common
@mr5 Why not? If it had an angle of 180deg first, and then you set it's new target value to 60 degree, it's faster to rotate backwards than forwards
@Breathing WHERE ID IN (ID1,ID2,ID3...IDN)
mr5
mr5
@Bechi the problem is, it can be seen by user as it is animating
@mr5 Okay, but still what is wrong with an animation that turns 120 counterclo9ckwise, instead of 240 degrees clockwise?
I think that behaviour could be abstracted away inside the compass.RotateTo(angle) method
Hello, is it legal to add a new package to nugget.org having somewhat same name as another package that is already present at nugget ?
mr5
mr5
10:34
@Bechi I have tried to modify the existing animation using this
var d = (compass.Rotation - heading);
compass.Rotation = heading - (d * t);
but it's bouncing around. it's not linear
@RishabhKumar somewhat?
mr5
mr5
so I think it's a matter of where to start the t(0, 1)?
I mean, it's not illegal for sure. But it might break ToU?
@RoelvanUden somewhat like my package name is ABC.XYZ and there are other packages with name ABC.DEF, ABC.ERT, ABC.TYU by the same author, but he has not uploaded ABC.XYZ, is it ok to have that name ?
Pretty sure you can do that, but don't be surprised if it's removed for misleading if it's not painfully clear your package isn't affiliated with the other.
10:41
@HéctorÁlvarez How to use INTERSECT with this?
@Breathing I'm not sure you think Intersect does what you think it does
you don't use intersects to sub-select
@RoelvanUden My package is not at all affiliated in any way with the existing one, it happened to be that the same name package already existed. Do I need to add this specifically in the description ?
Your question is too vague. Be explicit please. What package names exactly?
@HéctorÁlvarez This is what I am trying to do
Say I have a column, X
@RoelvanUden I added Nimbus.Cache package to nugget.org, and while searching for the same on nugget I found that some other author has already added packages like Nimbus.Unity, Nimbus.Autofaq, Nimbus.Windsor,
10:51
Are you both producing utiltiies to use with a project called Nimbus?
Ah. I'd say don't use the first part unless you are the maintainer of that project
The ownership on the Nimbus.* packages is a bit vague but I assume 'damianm' is a maintainer
> Uniqueness: The identifier must be unique across nuget.org or whatever gallery hosts the package. Before deciding on an identifier, search the applicable gallery to check if the name is already in use. To avoid conflicts, a good pattern is to use your company name as the first part of the identifier, such as Contoso..
So yes if you publish Nimbus.Cache you'll break it for the Nimbus guys if they want to do the same
@TomW @TomW Thanks, Ill change it!
Does Nimbus hold any special meaning, or is it just a name?
@TomW Thanks, Ill change it!
@WilliamMariager Its just a name, Couldn't think of anything else so named it Nimbus. Now I am feeling as I should have checked it is has been taken already.
@WilliamMariager it appears to be the name of a service bus implementation
Yeah, I was thinking in regards to Rishabhs project. But seems it's just a name.
11:00
I guess 'the team that publishes Nimbus' could reasonably call themselves a "company" in this context
A flying broom bus service... cool
11:25
God the image viewer in Windows 10 is garbage ...
The controls in the top covers the top part of the image, so any text is pretty much unreadable ...
Who thought covering up part of an image in an image previewer would be an acceptable solution?
sigh
windows 10 is garbage
11:48
Not really. But the image viewer is.
ive fallen out with win10 recently
I'm out for today, getting training for our application. cya!
in a bit
12:29
win 10 rox
12:40
I only run Windows because I develop with .NET Framework (not Core), Visual Studio 2017 (not Rider) and play games.
If I can switch to Rider, .NET Core and stop playing games, Linux here I come.
But alas.
I just have to decide which Linux to install
I'm going with Mint because I have always used Ubuntu
12:55
How are people able to maintain constant concentration for 8 hours
when working?
in office
@Breathing Not :-D
@ntohl I'd always pick Ubuntu or Debian, but ya, that's just me.
what are the pro/cons choosing Ubuntu/Mint?
Mint is based on Ubuntu with default vid packages
but Mint doesn't automatically install super important updates
Mint builds on Ubuntu.
Ubuntu builds on Debian.
Debian is... debian.
IMHO you pick Ubuntu for convience+latest packages.
Debian for stability.
Mint because you're a hipster.
But that's just my opinion.
@Breathing they dont have friends to talk to
I don't want to be hipster. So changing back to ubuntu
that 2-3 vid packages I manage to download myself
13:03
I just install the restricted extras on ubuntu.
sudo apt-get update && sudo apt-get install ubuntu-restricted-extras
That installs all common crap I need.
yes. I remember restricted... I wanted to install codecs to able to run stepmania, but some of the packages were so hard to install it, that after a lot of tries most of my video streams lost 1 color... Had to reinstall whole Ubuntu
stepmania worked perfectly tho
13:44
@Breathing youtube.com/… might help
@WilliamMariager Just like Edge is a tool to download Chrome/Firefox, the image viewer is a placeholder until you download an actual image viewer
Also the sheer amount of BSOD bricked PCs every time they release a major patch talks loud about how W10 is
if games were runnable on Linux I would have long been out of this crappy world of forced updates
@HéctorÁlvarez i don't know anyone at all who genuinely uses edge
I know some delusional people who think it's better
only because they don't have nearly the same amount of add-ins as they have in chrome
!!giphy what is my purpose you download chrome
13:53
firefox is the one for me
mozilla is bomb ass
@Harry is that when you strap an IED to a donkey?
I could probably use Edge. I only have tracker and ad blocking. I guess that exist for Edge.
@MikeTheLiar other plastic explosive devices are available
But Firefox have been my browser since forever.
So I'm not likely to change. :P
i just think mozilla as a company deserve people to use their stuff
theyre such a noble white knight bunch of people which i usually hate but i kinda like them
14:01
There are very few Microsoft products I feel proud of using to be honest, edge isn't one of them.
Azure is a product I really enjoy using.
It lets a small guy like me setup a ton of cloud services with ease.
No special configuration knowledge needed.
VS I'm quite fond of
Azure is great
Last time I checked Azure broke on me
14:02
Dealing with services like DO where I have zero domain knowledge means I'm wasting time. With Azure I just pick and choose what I need and it more or less magically works.
Stuff that's unfinished and keeps changing is annoying
^SNAPCHAT^
@TomW Windows 10 as a product, for example?
@WilliamMariager Try Amazon Web Services, they are like Azure but don't have the shady stuff in the middle
14:05
theres a new patch like every 2 weeks
"shady stuff"?
plus they hold a lot of webinars about integration, if you are interested
I haven't used AWS, but the UX looks not as nice
@WilliamMariager Yeah, let me put a small example
Just like you, the first time I tried Azure was for 2 reasons: Zero knowledge about almost anything, and curiosity about cloud computing
Along the path, there were SO MANY difficulties that basically had no explanation, and it took months until an Azure MVP came and explained to me what was happening
What's the shady part?
14:10
It's improved considerably now that they've retired the old portal. There used to be quite a lot that just didn't work there
My experience has been great. Setting up a VM, following their tutorials to get it to do what I need. Multiple databases, several SQL and a DocumentDB. Web jobs and various web applications.
Everything has just worked with no hassle.
Software-defined networking is really darned cool. I still don't really understand the fundamentals that well, but it's all on a dashboard in front of me instead of on patch panels or shonky switch admin pages or whatever
For example, I assume this is already covered in the docs, but there's the concept of throttling, where your speed stops suddenly for a while until you make up for your over-use of the network. One may assume there's a speed limit that will remain stable, but instead they will silently cut it out until you make up for your IOPS.
What do you mean by "the network"
Amazon makes it clear to understand the situation, and won't cut you in the middle of a live demo using Cloud services and adding 200k resources un a bulk charge
14:15
> This product sucks, I don't understand why it doesn't give me what I want
> Did you read the docs?
> No
@WilliamMariager Can you do me a favor? Try to deploy about 3-4 machines through IaC, and see if it works already, or if it still breaks your whole deployment.
basically what you do through powershell
I'm not really on that scale. Maybe that's why it's working out so easily.
Well, if you ever do, please let me know what happens
I didn't do anything exaggerated, a Shibboleth for single-sign-on, SQL Server 14, a DC and a DHCP. Maybe you can do the same stuff.
I'm inclined to believe that deploying VMs works, to be honest.
@TomW So was I, but nope

« first day (2679 days earlier)      last day (2495 days later) »