« first day (2509 days earlier)      last day (2662 days later) » 

01:58
meow
Meow... meow.
Meow... meow.
Meow... meow.
Meow... meow.
mr5
mr5
\o
Meow... meow.
mr5
mr5
arf arf
woof woof
mr5
mr5
02:36
I'm wondering, what's the motive behind shortening the url like bit.ly/123, goog.le/456
Rob
Rob
In general?
biggest: shortening ultra big URL (offcoz)
Rob
Rob
Because of urls like this: https://www.google.com.au/search?q=because+sometimes+you+don%27t+want+a+really+‌​really+really+long+query+string&oq=because+sometimes+you+don%27t+want+a+really+re‌​ally+really+long+query+string+&aqs=chrome..69i57.7378j0j7&sourceid=chrome&ie=UTF-‌​8
@mr5 Also sometimes for this: goo.gl/yfx5Xf
mr5
mr5
yeah. the query string. I didn't think of that
02:38
other: collecting overall user browsing activities, earn on ads, ....
mr5
mr5
it was goo.gl my bad
meow
Meοw... meοw.
mr5
mr5
@KendallFrey shutup. it's tuesday
!!kendall
02:41
mr5
mr5
because it's tuesday. duhh
mr5
mr5
lmfao. the category though
@mr5 I used to have en.wikipedia.org/wiki/Earth blocked under the caregory "Weapons".
03:03
NK launched missile crossed over JP this morning
JP gvm are jumped and issued evacuation alert to residents
mr5
mr5
@nyconing for real?
not sure. but visible on most medias
https://www.ft.com/content/cae06776-8c42-11e7-a352-e46f43c5825dhttps://www.ft.c‌​om/content/cae06776-8c42-11e7-a352-e46f43c5825d
https://www.nytimes.com/2017/08/28/world/asia/north-korea-missile.html
http://www.telegraph.co.uk/news/2017/08/28/north-korea-fires-missile-japan-warn‌​s-citizens-take-precautions/
http://edition.cnn.com/2017/08/28/politics/north-korea-launch-unidentified-proj‌​ectile/index.html
Updated 0207 GMT (1007 HKT) August 29, 2017
JP: "WTH?! youre scared out of me!"
NK:"LOL, thats why I choosing path on Hokkaido which lowest the risk. Not worry, my missile is world leaded technology. It wont fall anyway....."
03:43
Hi all
is there any one familiar with Vnext build 2017
?
mr5
mr5
@nyconing "it wont fall anyway", a satellite in disguise huh?
meow
Meοw... meοw.
 
1 hour later…
04:58
Good morning.
05:34
morning man
i'm not around much now a days
string str = (string)obj.GetString().ToString() as string;
@nyconing For when you want to be sure you've got a string.
Has anyone used VS2017 and VS2013 concurrently on the same solutions?
Most of our team are still using VS2013 (thus still on C# 5 :( ), but I'm currently using VS2015, all of us working on the same projects. It causes some issues (VS2015 constantly changing the SLN files just to add its own version in it), but nothing too bad.
I wouldn't mind switching to VS2017, if it continues working the same way.
06:07
I need to find a good "Here are my requirements, help me pick out a new phone" chat room. :(
depending on your requirements you can use 4chan /g/ or reddit
That seems predisposed to chinese phones.
06:13
@RoelvanUden Hola
06:25
@AvnerShahar-Kashtan yes, thats why i wrote depending on your requirements, if your requirement is a well known brand, then chinaphones isnt for you
Or, you know, ensured quality control. Batteries/phones unlikely to explode. That kind of stuff.
My requirements are IP57/58/68 certification, decent performance, and a relatively small size (~4.7" tops). There might be Chinese phones that match. But I know of non-Chinese phones that match, like my current frontrunner, the Sony Z5 Compact.
And yeah, Chinese phones, apart from the big brands like Xiaomi, are still a mixed bag as far as reliability goes.
And don't forget that buying a Xiaomi phone (or another brand) via a Chinese seller, like Alibaba, does not ensure that the bought product follows European guidelines. They don't have to. You're specifically making the choice not to care.
Personally, I'd rather not have my phone explode when it's near my head or in my pants.
/me is proud for having let the moment pass without making the obvious joke.
Hi guys
Is anybody here who has worked on angular js
06:38
If I have an IEnumerable collection in memory, and used the list.AsQueryable().Where(/*my search criteria*/) would I get the same performance as the queryable collection from database?
@MohamedAhmed Slapping an IQueryable over an in-memory IEnumerable (say, an array) would probably do absolutely nothing.
LINQ-to-objects (the methods that operate over IEnumerables) are already lazily evaluated.
What IQueryable can give you with specific LINQ providers is the ability to convert your C# LINQ code to a different representation, say an SQL statement, that is executed on the data source, so you don't have to pull in more data and process it in-memory at in the C# process. But in this case, you already are, so there's no difference.
So I need to run the search from the data store directly
To get any benefit from it? Yes.
I'm using the Syncfusion SFDataGrid in a WPF project, and it takes long time to be rendered when it holds heavy data. (that wasn't the case when we were using the DataGrid control) but I found that the search method run its criteria over the whole collection loaded!
06:59
\o Morning sharperinos!
Rob
Rob
@MohamedAhmed Your problem then, is that something is turning the IQueryable<> into an IEnumerable<>. Turning it back is already too late
You might have code that calls .ToArray(), ToList() or ToEnumerable() (or a few others which materialize the result) further up in your chain
It might be the SDDataGrid itself that materializes the IQueryable.
I'm generally suspicious of UI controls that are expected to hook up directly to a DB query.
Most aren't designed for it, and it's very likely that the grid wasn't designed with lazily-evaluated IQueryables in mind.
07:20
My team lead has just told me something interesting.
We are loading items list into the the form it has thousands of records, and it has a search button that take some inputs from the user.. my opinion was take these inputs and run them from the SQL to get only needed data as queryable. but he told me that on every key stroke in the search TextBox, going to database to load data is a bad thing. and we are already loading data in the first time the form loads, so we already have the data in memory and running the search on them would save us going and fetching data from database queries
good morning
morning @ntohl
Rob
Rob
@MohamedAhmed There are ways around that.. such as paging the data, and smart autocomplete. For example, caching results, and filtering in memory rather than the DB if the result set is under the page size
Loading it all into memory to be more performant is questionable.
@AvnerShahar-Kashtan It reminds me of our controls at the previous company. Tons of static constructor code. A big ton just connecting to database to store/reload last state when user opened the control.
it was painful.
unit tests were impossible.
@Rob would caching handle heavy data like this (thousands of records)?
Rob
Rob
07:32
Caching previous searches
And if you page search results to 10-15 (with 'read more'/autoscrolling), there wouldn't be much of a hit
@MohamedAhmed use it with the combination of github.com/runceel/ReactiveProperty/tree/…
@ntohl could you please briefly tell me what it does, I can't figure out what are these libraries are?
@Rob there are over 8 controls that are used to collect the search criteria, the chance are not big that the user would use the same criteria
ohayou
07:58
So neglecterinos i wish you a pleasent mOoOoOoOoOoOoOoOoOoOoOoOoOoOrning!
How about eat fish in breakfast?
;badfish
@nyconing you sure love cats :D
@MohamedAhmed Thousands of records isn't that heavy.
and they ahve a hole in the wall
For data, anyway. For UI? Could be very heavy. If you're trying to show all thousands at once. You should never show thousands of rows in a single grid.
If it's slow, your new datagrid might not be doing UI virtualization, so it's rendering all rows at once.
WPF's default datagrid does do UI virtualization. With caveats, of course.
UI virtualization is a pain.
08:08
@MohamedAhmed brief intro to Rx: reactivex.io
whenever a user start to write search string, if enough time passes by a search with the given string starts async at the server/db. If the textbox is modified while search didn't finish, it should drop the search, and start a new async search with the new value.
@Nerdintraining because cats love to do
@AvnerShahar-Kashtan What's UI virtualization?
Our DataGridView has a "virtual" property, but nobody here can tell me what it actually does.
Context: Our framework mimics winforms
@Metallkiller It means that if your list control (listbox, grid, whatever) has 500 items, but only 10 are shown on screen, it only renders those 10.
I'll have to check that, since we never use virtual mode but our grids still seem to only render records currently shown. Or it looks like it, since records need a moment to show when scrolling down quickly.
If you don't have a lot of data in your control, it's extra overhead whenever the user scrolls. But if you do, or if each item in your data has a complex view, it can change the perf entirely.
08:24
I see. Then we probably won't need it, because we maybe have a few hundred records, and when that happens we already prompt the user to confirm he wants to load all that.
A few hundred can be bad enough.
Morning all io/
@AvnerShahar-Kashtan 1658 records take 30 seconds to load!
@Kieran how did pubg go yesterday?
@MohamedAhmed The problem with controls that directly access the DB is that it can be hard to know where the problem is.
What takes time? DB access? In-memory processing? UI rendering?
Until you know that, you won't be able to improve performance.
Measure. Measure. Measure.
08:35
@Nerdintraining Chicken sure is tasty!
@AvnerShahar-Kashtan UI rendering
08:53
@Kieran ya would never win
@MohamedAhmed How do you know
HOW DARE YOU SIR
ARE YOU CHALLNGING ME TO A !V! FIST FIGHT IN PUBG?
( the ! on the german layot is shift+1)
COME AT ME BRAH
I'LL REK U M9
3edgy5me
mr5
mr5
08:57
what must be the reason why some js devs use triple negation when evaluating conditions?
oh so I've found out that it's just for readability shittt
@mr5 It's not, it's for strict equality.
@RoelvanUden The data is assigned to the grid's ItemsSource collection with no problem (yes my company doesn't use MVVM) but when adding the user control that the grid within, to the TabControl it takes the long time
@MohamedAhmed Because it's doing everything, getting the data, rendering it, etc. IQueryable is lazy. Measure each phase separately
mr5
mr5
@RoelvanUden nobody mentioned it here stackoverflow.com/q/21154510/2304737
Oh, that? That is stupid.
mr5
mr5
09:02
you might want to send your regards there ;)
I can't correct everyone in the world. It takes too much energy. Too many idiots.
@Kieran m0m0m0m0m0m0m00m
@MohamedAhmed Yeah, loading 1500 records is A) slow, and B) unnecessary.
09:21
C) schmeksy as hell
Just imagine the pickup lines:

Hey baby, i just loaded 1.500 records
@Nerdintraining Do you wanna come watch me render my repeating controls? Because it takes me a loooong time. Baby.
@AvnerShahar-Kashtan Gosh i think i just had one :o
@Nerdintraining they see me loadin', they waitin'
mr5
mr5
VS is hard to understand sometimes
09:37
well... that is what ambiguity means
you cant blame VS for everything just because it is shit in general :D
mr5
mr5
I made a dup in XAML. my bad ^^
@Wietlol
Well, I know that you're in love with him
I need ideas, good ideas..
I'm developing an auditing feature, whenever the user saves data, I take a copy of it and save it in HistoryLogs table, the big problem is when a form is of head-detail type, when the user changes one field in the head and saves it, I take a copy of all the data including details that could be a list of thousands of objects, and never touched by the user. I save this all as JSON.. this is very bad, I know , and now it throws "out of memory exception" because of the very big JSON saved!
mr5
mr5
Use local database
You have a JSON of 100mb's?
mr5
mr5
09:42
thank me later
a-a-a-and pagination
thank me later also
@mr5 still... i call everything shit
If you want a full snapshot-history table, you could save the large JSONs to disk (using a stream-based serializer), rather than saving them in SQL columns.
one solution I'm thinking of that I take only the whole very first object saved (when added) and when modifying I only take the changed fields. and to fetch a specific history log I can mage some sort of aggregation between previous logs to form that final log. but this is complex. the reason I went for the easier solution !
Or save deltas :-P
mr5
mr5
or save each entries per file :P
nobody have ever done that in da history
09:44
Or save lambdas :-P
@RoelvanUden Deltas mean that you can't restore a full snapshot from a history record. You have to recreate the chain of changes. It can be a lot more complicated.
09:55
@AvnerShahar-Kashtan why moa complicated? Just always execute the change seems easy
Why not store epsilons, they're really small!
@Metallkiller how do You store such small bits into db?
@ntohl By building a really small DB
hmm. There is no such Epsilon DB.
LOL delta expression
10:01
@Metallkiller is this some kind of CS joke for the empty word?
25
A: What does the letter epsilon signify in mathematics?

Chris TaylorThe greek letter epsilon, written $\epsilon$ or $\varepsilon$, is just another variable, like $x$, $n$ or $T$. Conventionally it's used to denote a small quantity, like an error, or perhaps a term which will be taken to zero in some limit. It's possible that you are confusing it with the set me...

It's a joke on epsilons being impossibly small. epsilon is used in maths to calculate extremes, or integrate (since you need an infinitely small deltaX)
@MadaraUchiha that gif is gold
@Metallkiller wasnt epsilon a non-negligible undeterminable value?
aka, when measuring, you always get some inaccuracy on it, which is not impossibly small but still unknown
10:08
Epsilons is allot of things @Wietlol
Mainly comes down to context
Mirana Nightshades
this GIF is amazing
I heard sounds in GIF!!!!
@nyconing wat
elune shall grant me the strength
Mirana?
lol forget the Mirana
10:18
she was a hero in dota 1
and a hero in dota 2
oh they kept the same name?
except Nightshades
that was 5-7 years ago
Mirana is the only character for me
rides the cat.
and jumping
10:23
and shoots stars
mr5
mr5
Mirana - Priestess of the Moon
and a bfg Arrow which is longer than the size of the snow tiger she rides on.
mr5
mr5
Luna Moonfang does ride a cat and shoots stars also
10:41
@Proxy dotka mirana
@nyconing luna rides a panther
@ntohl mirana was always POTM
no!!! it was cat
TIGER
WHITE TIGER
cat!
KITTY
WHERE
A cat looking like a tiger
10:44
Remember my friends, tigers are just big cats.
What happens if I .Join() a thread that's not started yet? Does my calling thread just wait until the called thread is started and then done?
@Metallkiller try it
@Nerdintraining I got shit t odo, a Combobox isnt getting translated and nobody knows why :(
@Metallkiller maybe cuz the datepicker is a dick
Hey datepickers are nice, you just gotta get to know them first!
The recommended codec is PCM (wav RIFF) with 44.1KHz to 8KHz sample rate, 1 or 2 Channels, 48 to 8 Bits



what is the format,how to specify in code
10:57
Maybe download a library that implements that codec? Don't know, never worked with codecs.
@AvnerShahar-Kashtan Sure. But if size is a huge deal, deltas really make it tiny. Yes, restoring an entire state at a point in time costs more effort.
@RoelvanUden That's the classic trade-off, yeah.
11:24
what is the use of 3js?
@Metallkiller they alle bad
@Metallkiller Dicks are nice too, buy you just gotta get to know them first.
5
@MohanSrinivas Amazing webgl stuff.
@AvnerShahar-Kashtan quote of the day
@Nerdintraining Bummer there's a typo in it, though. :(
11:40
@AvnerShahar-Kashtan ducks?
@Nerdintraining "fist".
@AvnerShahar-Kashtan but
@Nerdintraining well, yes.
12:07
anyone familiar with asp.net?
i have a jquery-ui autocomplete box with a shit ton of values
I have used ASP.NET once or twice.
and on a text change on the field, I get the value that I typed instead of the one i clicked on in the autocomplete options
text change is in the code behind
the input element in the ui has the correct value though
You do realize this is a JavaScript question, right?
Is it necessary to have an <add assembly = "..."> tag in your web.config that references a project in the same solution? It doesn't seem to do anything on my machine but my coworker says he needed it in order to build.
This web site project has been causing reference problems since the beginning of time. It doesn't help that apparently since 2010 the only way to edit web site references is by using notepad
Slightly after 2010, rather. The references window still had a "remove" button in 2010.
I wonder what the motivation was for removing the remove button? Hilarious misunderstanding?
12:39
@Metallkiller cya tommotow have a nice day @ worjk
@RoelvanUden sorry, was afk for a bit
its a sort of javascript question as well as C#
the problem is that the communication between jquery and asp.net is not working really well
Hey, I was wondering if someone could help me real quick
1
Q: MVC Core Create Generic Instance of Controller

Magn3s1umI'm Converting an existing WebApi project that dynamically instantiates a generic controller. Basically, if someone GET /Students, I don't create a Student controller, but create a Generic controller of type Students and runtime, using the DefaultHttpControllerSelector: public override HttpCo...

any ideas?
my fucking job wants to use MVC core for no reason, and no one did any research so I'm basically converting the thing and doing the research all in one shot
@Kevin It is for some dlls that are not referenced in packages or anything like that
@Kevin For instance, when using the SqlClient, the SqlClient is located on your local machine in the SSMS folder, so you reference it in the web.config
12:58
So my coworker would only need an <add> tag if he removed the project from the solution entirely. There's really no good reason for him to do that.
@Kevin From now until the future, you should use nuget
@Kevin These locally registered dlls can all be found on nuget now. Its easier to manage it that way, especially during deploy, since you won't have to check in any external dlls unless you're using some bought c# libraries
Have a MySql Problem...
Have 5.5 on a CentOs Box - takes 2min to import 100 tables.
Have 5.7 on a Windows box - takes 41mins to import 100 tables
Driving me CRAZY
@juanvan You and everyone else. Using an ORM?
to do the import?
No, am using NaviCat
@juanvan Can you script out the table creation rather than do an import? What about through linked server?
@juanvan Backup/restore might be better way to go about it
13:02
Good morning everyone
bulk import? I could try that, but I don't think i'll get much performance - it's already going from one ODBC to another
If by "registered" you mean I have to make my code public on some Microsoft server, I don't think the legal department will like that.
@juanvan No, like backup the entire database, then restore it.
ill try it see if it's any faster
@Kevin No, I mean, any other references you ahve that aren't your own can usually be found on nuget. Your own dlls can either be built through reference to the other projects through relative paths (if your source control isn't a mess), or you should be c hecking them into your private nuget repository within your network
@Kevin But if you're checking in dlls, you should probably stop that practice immediately.
13:06
Our source control has a directory for dlls, but I'm not completely sure that the build process ever does anything with them. It might be vestigial.
Anyone else hate it when they see an async function being called, and they attach the handler after they call the function?
I know it's not going to be returned that fast, but still.
I don't think we have a "private nuget repository" within our network and if it requires anything more complicated than right clicking in File Explorer and picking "new file", then you can bet that it's going to take three weeks of red tape to get approval, provided I compose a sufficiently beautiful justification
Which is unlikely since I have used nuget for about five minutes total in my life so I can't easily sing its praises to heaven
@Kevin Yeah, I've worked in places like that. It truly sucks, but dlls and exes shoudnl't be checked in.
@Kevin If you don't use a private nuget repository, then your source control should be structured so that you can grab the entire tree, and all references needed for internal dlls can be built by the referenced projects through relative paths
I want to show Welbog that femptosecond video of the laser going through the coke bottle full of water
We're not quite at the ideal of "single click build" yet, since UtilitiesSolution needs to be built before MainSolution can be built. Thankfully there's only that one dependency
13:14
@Kevin That's what prebuild tasks are for
@Kevin You shoudl basically strive for: git clone; build. And it works in those 2 commands
@Kevin No messing around with any BS
That's what I'm working on right now: I'm trying to dynamite through this mountain of technical debt and get the necessary projects from UtilitiesSolution to live inside MainSolution, so a single "Build Solution" will do the needful
@Magn3s1um OMG, this is WAAAAY slowed then importing the other way.
Takes 1:01 to import the std way.
I am at 1min and not even 25% done
the SQL dump
@juanvan Generally backup/restore should be the fastest way
took 142 seconds, or 2mins
that's pretty good
13:18
guess the last part was faster
but normal access import is 1min
so that's double
well, with import, you can lose the structure
I will try the import from the other server
I'm not so familiar with MySql, but doesn't that import lose the database architecture?
the DDL?
meaning no keys or indexes?
13:19
oh ya I don't have any index/keys/triggers/queries
we use mysql as a large file system not as a true RDB
@RoelvanUden you looking at me funny?
you fukken wut m8
@juanvan Yeah.
13:21
i mean wot
!!WAT
think I told you about this
I'll ask the obvious shit, between the CentOS/Windows box, hardware the same?
How are you transferring shiz
etc
Checking the specs
windows box is 8gb ram xeon x3430 2.4
ohh puddy how i loath you
yes I spelled it wrong for reasons
13:24
Both are physical machines?
Because disk access is always slower on VMs.
user7480455
Hello All
cent xeon E5310 1.6 4gb
ya both are physical
the centos box is half the machine the windows box is
the centos box is 7? yrs old maybe 6
The windows is 3yrs old
both are dell PE
both are on the 172 dmz network
over the same 'line' if you would
doing a VMware of Cent local to see if it's any faster
@AvnerShahar-Kashtan I wanted to go all VM this past year, but the boss shot me down. I have a test bed with VM's running an I love it - so easy to manage
user7480455
was there a reason that your superiors shut you down juanvan? was it cost?
no, stupidity - He wanted me to move all the services from our Small Business server (Exchange/AD/FileServer) to there own machines
makes no sense
13:40
	for (bIndex = 0; bIndex <= 15; bIndex++)
	{
		//std::cout << "bIndex: " + bIndex;
		if (ulCSKW & ulMask)
		{
			ulCSKW ^= ulPolynome;
		}
		ulPolynome >>= 1;
		ulMask >>= 1;
	}
Would anyone know equivalent of the condition from C++ in C#, please?
ulCSKW & ulMask are both unsigned long
I cant seem to understand what the condition can be in C#, thought it means != 0
Yeah, I think != 0 is the right condition.
You might have to add parentheses, since I'm not sure what bitwise &'s precedence is.
>> and << are bitwise shifts
@Marek Yeah, != 0 will do
if (ulCSKW & ulMask != 0) will fail because != has higher precendence than &.
You'll have to put if ((ulCSKW & ulMask) != 0)
@juanvan He asked about the condition, I gathered.
ohh whoops
13:45
@AvnerShahar-Kashtan Thanks alot, haven't thought of this. I rewrote it as if(ulCSKW !=0 & ulMask != 0)
@Marek That's not equivalent.
I think you're confusing between & and &&.
& is a bitwise AND - it performs bitmasking between ulCSKW and ulMask and returns a new number, not a boolean.
Is it normal for ConfigurationManager.ConnectionStrings["whatever"] to return null when it can't find the connection string? I thought it would crash, but my stack trace suggests otherwise.
@AvnerShahar-Kashtan Thanks alot for explanation. Now I am getting same results in both C++ and C# :)
I think & still applies to booleans, and it still does a bitwise operation, but it's typed for bool.
13:48
I'm getting a null reference exception a couple lines later, which was a lot harder to debug than if it had said "can't find connection string XYZ"
> The ConnectionStringSettings object with the specified name; otherwise, null.
Hmm, maybe I'm looking at outdated documentation, then. msdn.microsoft.com/en-us/library/… led me to believe that it would throw ConfigurationErrorsException if Could not retrieve a ConnectionStringSettingsCollection object.
Or, oh, I guess it can retrieve the collection, but not the item.
msdn.microsoft.com/en-us/library/c6t3b6f3(v=vs.110).aspx is what I should have been looking at.
@Kevin Yeah, exactly.
If the <connectingStrings> section itself is missing.
Alright, cool
As long as I'm still in the land of documented behavior, I can retain my sanity
13:52
I think in order to retain it, you first have to have it.
ConfigurationStringSettingCollection is one of a large family of specific-use collection classes that were implementd in .NET 1.0/1.1, before generics. Usually specific instances of NameValueCollection.
[that's my secret, cap dot jpeg]
Most of them share this default-to-null behavior.
!!giphy thats my secret
13:53
:-)
Well played, Caprica.
(and Kieran)
So, it seems my starred messages right now are about bitmasks and penises. My legacy lives on.
4
!!quote add 38898318 avner
@mikeTheLiar I will cherish this memory for the rest of my life
Did you see the Ragnarok trailer where Hulk is using polysyllabic words and near-complete sentences?
@Hypersapien Yeah, I think they're leading the MCU into one of the smart Hulk phases.
user7480455
13:57
understood juanvan...
You all do realize, though, that starring my starred-messages comment still keeps the penis-bitmask ratio in balance.
4
I hope so. That's something that doesn't get paid much attention.

« first day (2509 days earlier)      last day (2662 days later) »