« first day (2145 days earlier)      last day (2797 days later) » 

12:00 PM
@mark but beware, your fanciness will crush your opponents.
 
@scheien Definitely. But having a game where the fastest way to get to max level is by sitting in orgrimmar and look for group to dungeon...Then that's pretty boring :/
 
Haha Oh noted sir @ElieSaad your advises are really wise. :D
 
@JakobMillah That takes a very long time without looms.
even with the exp bonus from group finder
 
I guess "very long" is subjective :P
 
yep. it is :)
 
12:03 PM
Getting 100 within 2 weeks is pretty damn easy. Yes, slightly longer without looms, but they are so easy to obtain these days so no reason getting them
Heck, you even get free level 100s ^^
I heard people got level 100s by the event now pre-expansion? By farming in Westfall or whatever
 
true. It's kind of casual friendly.
yeah
 
Leveled in westfall** It was really fast?
 
you could just stand there, relog after stage 2
but that is boring as hell
 
yeah
 
By the way guys, who's living here in the Italy?
 
12:06 PM
Well, I miss the struggle times where you had to gather people and get to the summoning portal by foot. Where leveling took sooo long... I can't remember how many hours I put into my level 52 mage before BC released
 
almost 1 week ago but I hope that country will recover soon.
 
@JakobMillah hehe yeah. No mount until 40
 
How much of Italy suffered from the earthquake?
@scheien And you most likely couldn't afford it anyway :P
 
and you had to train weapons, visit class trainer etc
 
@JakobMillah At least 292 people have been killed and dozens more are missing. - Wiki wikiikiiiikii said.
 
12:09 PM
Shiet. That's sad. Did you live in the area?
Rome managed to escape pretty well there
 
No man, I just heard from the news. I hope none of our brotherhood here got affected.
 
i don't remember anyone being from italy though
 
wonderful because he is called @mark with lowerCase 'M' I get chat reply inbox messages....
 
There's a real problem with enforcing planning regulations in Italy
 
@Mark Get Rekt
 
12:12 PM
oh shit yeah there's two of you with the same name XD
I'd advise choosing a different name, tbh.
 
@Squiggle Oh really?
I think there are only few countries that ready for real disaster.
 
just don't call yourself "Squiggle" ;)
 
rename yourself to marklowercase
 
Switzerland is fairly well prepared. We've got enough bomb shelters for more than the entire population.
although earthquakes... perhaps less so. We're due a big one here at some point in the next few centuries.
 
speaking of earthquakes the one in italy was pretty low regarding the magnitude
 
12:17 PM
Oh lol, when mark is tagged, both are tagged together. AWESOME!
 
@Squiggle Oh cool. More prepared, less casualties. Well, your country is awesome . hehe
@Proxy yeah exactly, the problem was, people there weren't prepare. Look at Japan, earthquakes are usual there but they have less casualties as they usually prepared always.
 
building regs in Italy aren't enforced, 'cos there's so much corruption at the local level
and so many buildings which are hundreds of years old
 
Do you think guys that Europe sleeps early? Do you think that markets or restos or whatever should stay a bit late, or have a more lively life?
Don't think I am attacking Europe, it's just a discussion between us, since half of the room belongs there
 
It really depends on where you are tbh. I am fine with the open times in Sweden
 
@ElieSaad nah I'm OK with the pace of life here. I'm fine even with the Sunday trading laws.
 
12:22 PM
@ElieSaad Haha :p you're funny man. :D We call it, "one at the time response" :p
 
the UK should never have allowed Sunday trading :P
 
mark wut u mean? Not gonna tag you so i don't disturb the other Mark :P
@Squiggle wouldn't you think you will be enjoying life more, if let's say you decide at 10pm to go out and dine somewhere nice, or grab some shizzle from somewhere close
 
what do you mean by stay late? like restorans should be open after 24?
 
@Haha yeah man @ElieSaad about the tag stuff.
 
@JakobMillah It's not about fine .. or accepting what is being given. It's how better it can be.
Oh dat stuff :P
 
12:26 PM
@ElieSaad Well, the more they stretch the times, the more dependent we become at them having it opened at certain hours. If we know the hours it's open, we adapt :P
But heck, sure, I would enjoy having 24/7 stores, but that is not going to work :)
 
@Proxy Nope, but most Europe have its restos sleep at 6 or 8. Around here most stay till 1am. I am talking as well about other stuff that stay 24/24. I can go grab shawarma at 4am if I want, or "knafeh" at whatever time i want, and I can have them all in 30mins tops around my house.
@JakobMillah The thing is, it's not freedom anymore if you adapt. I hate that.
It's their freedom in a way.
 
dunno where you get that but usually the restoran's work until 11-12 here
i have not seen one that close so early...
fastfood work usually late until 4-5
and most bakery open at 5 as well
 
@ElieSaad Not much freedom for the people who have to work all night either.
 
@ElieSaad Well, if you take "freedom" to that kind of level, we are all in jail
 
@Proxy where you at?
@scheien you do know they get to choose if they want to work at night .. right?
 
12:34 PM
croatia
 
@Proxy forgiveness young one. I am still trying to discover Europe from outer perspective.
 
they chose but since someone has to work at the night as well, in a way its forced...
 
But you are giving the people who need the money more work options as well.
 
There are few times where I feel the need to purchase something post open times
 
reporting from israel
where stores close up at 3pm at friday
and open up on sunday at 8
and its a crime to be open on a saturday
A FINEABLE CRIME
 
12:41 PM
true but i personally know i would not like to work night shifts but then again there are people who would... @JakobMillah we have few stores that are working 24/7
 
Now that would be rough to have here @misha130...But then again. It's all about adapting
That's what we humans do
 
@misha130 damn son. If you need something you need to have it planned a month earlier :P
 
@ElieSaad Some might, others might not.
 
yea all the shopping is done friday morning
 
@Proxy I could definitely find myself working night right now. Heck, I even applied for night and weekend jobs as personal assistant
 
12:42 PM
@misha130 , why stores don't open on saturday ?
 
you get super holidays like yom kipur where you cant eat for a day
 
@JakobMillah But why do we, if it's suppressing us?
 
@misha130 same in norway, but different day. Everything is closed on sunday.
 
i like stores open 24/7
 
cause shabbat is a sacred day in the jewish religion
 
12:42 PM
@ElieSaad Because money
 
some do in uk
 
@JakobMillah i am not talking about night shifts, I would do those as well if need be. I am talking about adapting.
 
@misha130, what if I own a store and I'm not jew ?
 
@Hamza_L you belong to the country, they rule you as they please.
 
@Hamza_L Then you should move to some other country.
 
12:44 PM
jewish democratic state
 
@misha130 the ugly thing is, why not let the person decide what they want? If they think it is sacred, then it should be done from the heart, not by some law.
I would like a discussion not implying my opinion on you.
 
well some stores are open
and they just get fined
like 200$ for each day so its 2 days 400$ every weekend
 
I thought that this law applies only to jews
 
yeah stores open or not dependant on owners right
the rest well they can do what they want eh
 
@ElieSaad You are adapting every day. Just the way it is :P
 
12:46 PM
It's kind of they just want jews, so the rest would leave. It's a kind of suppression.
 
this kind of reminds me of nazi germany ironically
i am not implying anything
it just does
 
i dont think its that bad eh
come on
 
@JakobMillah honestly, i am living as wild as i can. I adapt to wild stuff. Something I WANT not implied upon me.
 
@misha130 How come?
 
the we want only jews part
 
12:47 PM
@Hamza_L Technically speaking, it's legal to open shops on Saturday in areas with a predominant non-Jewish population (mostly Arab towns and villages).
 
I see
 
But the religion of the business owner, and its employees, aren't explicitly relevant.
 
let the record say that I did not compare the nazis to jews
cause i really didnt
I amma go back to coding
 
@AvnerShahar-Kashtan you mean palestine? :P
 
@misha130 Nobody said you did. All good, check.
 
12:48 PM
You can be a non-Jew employing non-Jews, but if your shop is in the middle of Tel-Aviv, you're still bound under the not-on-Shabbat law.
 
but, it's not faire for jews who want to open their stores
 
I hate how google wouldn't showcase Palestine on the map.
 
@ElieSaad Pretty sure I didn't.
 
@Avner do tel aviv stores pay the fine?
 
@misha130 Yup.
 
12:48 PM
hmmm ok
 
Well, kinda. Technically speaking, these aren't laws, but rather city ordinances.
Tel-Aviv, being a very secular city, doesn't enforce these ordinances heavily, but neither does it have the political power to change them.
 
they are trying to make it a law and it was kind of going full force
last I saw
didn't follow on it
 
I just dropped my location into palestine on google maps and saw a dog and non-censored woman. shiet
 
Pics or it never happened.
 
12:51 PM
@misha130 Yeah, there's a lawsuit brought up against the city demanding it either enforce its ordinances or change them. Which is fair, but problematic.
And, of course, it's not a purely religious matter. There's also money involved. The suit was brought by small business owners - small shops, convenience stores, etc, who say that they can't compete with chain stores that can afford both the fines and having more employees working weekend shifts.
 
sorry @Jakob thats an isreali settlement
 
@JakobMillah Dude that is so peaceful.
 
@misha130 Shiet... It's still cross the border?
 
@JakobMillah "Border" is a problematic concept here.
 
try west bank
 
12:53 PM
it's like in muslim countries, where alcohol is not sold friday
 
The Settlements, as their called, are a set of towns, villages, and one full-blown city, all set in what is outside Israel's borders, but inside its sphere of control.
 
Yeah, borders are .. yeah.
 
Actually, being closed on Saturday isn't that unique here. Many Catholic countries prohibit alcohol sales on Sundays, or even limit hte number of hours that shops can be open.
> Sunday trading in England and Wales was not generally permitted until 1994. This meant that shops such as department stores and supermarkets were not able to open legally.
 
@JakobMillah go up a bit from that house, i live there.
 
12:56 PM
You do? shit
 
lol at the neo nazi description xd
 
@JakobMillah If not for the wars between us and Israel in older years, what I hear about the country is the people don't really know about the wars occuring, or are pretty peaceful.
 
@AvnerShahar-Kashtan yeah you're right. In norway all shops are closed on sunday (with a few exceptions), and no alcohol sale on weekdays after 20:00, and saturdays after 18:00. Regular convenience stores sell on low alcohol (up to 4.5%).
 
@JakobMillah I live in the country above it, Lebanon. Very heavenly at base, from nature side, or how we don't give a fuck about anything, but all the shits occuring around us or inside, makes it a bit rougher.
 
@ElieSaad Yeah. And if the shit with Israel isn't bad enough, the hell going on in Syria right now can't be making things any better. :-\
 
1:02 PM
@AvnerShahar-Kashtan Man, Syria was .. Even tho old Syria was open mayhem on us, 10 years ago, when the system changed, all was good. Syria has just turned into ash. It was all monuments and awesome stuff. It was one of the few countries not in debt. Now it's dead, to the bones.
 
@ElieSaad That's nice to hear. Hope wars will end..
 
Half our population is syrian now, and we are just a very small country. Other big countries just takes in 2k of them and says " oh well, we helped." Fkin shits.
 
@JakobMillah Looks peaceful af!
 
we all like Sweden
 
1:05 PM
@ElieSaad Sure is. But yeah, we have flaws up here as well :P
 
@JakobMillah it's the business my friend. That's why I hate people with business up all the way in their asses. Can't see more than that.
 
Money money money
 
always sunny
 
!!giphy money
 
1:10 PM
@JakobMillah There are some really fubar districts in swedish cities, like Malmø
 
There are swedish cities that have non-swedish letters in their names?
 
Are there size restrictions involved?
 
nah mate it's spelled Malmö
 
I know.
 
@scheien I actually think Malmö is one of the better cities if you compare the large ones here. The cultural diversity actually makes it more...open? friendly?
Yes, there are bombings and what not in some neighbourhoods....sometimes....but it's usually between gangs
 
1:13 PM
@JakobMillah Isn't where the police don't enter certain neighborhoods due to high risk of being shot, or beaten to death?
 
@scheien Actually don't know how it is today, but I think it's become much calmer
 
I hope so too
We have the same tendencies in certain parts of our (larger) cities too
not that they're large at all when seen on a european scale.
 
I think Göteborg got worse districts
 
Might be.
 
metro.se/nyheter/… found a list. But then again... Råslätt - jönköping is at spot 52, which sure has some immigration, but it's mainly families with kids these days. Pretty calm with youngsters playing soccer etc
Göteborg got many places according to that list.
And Stockholm
 
1:21 PM
yeah, they're well represented all of them actually :(
 
1:40 PM
Hi guys
I got a class with date properties StartDate and EndDate and I've a List<T> of this class
How do I determine that each of the item in the List has non-overlapping date ranges?
I can loop through and compare each item with the rest of the collection
but I was hoping to find a better algorithm
Anyone here?
 
Hi,
Yes,
Thinking
 
@SamyS.Rathore Is the list sorted? Or can it be sorted? If it's sorted by StartDate, you can check that no StartDate is earlier than the EndDate before it.
 
2:00 PM
Most American way to row a boat - Reddit
@AvnerShahar-Kashtan Shiet, I tried to come up with a logical solution how I would solve that and didn't reach that point.. God damn it.
 
Can confirm, am American, this is how I got to work this morning
 
QUICK QUESTION
why should I use expression trees instead of simple func?
 
That was slow
 
...
well @misha130 check this out stackoverflow.com/questions/793571/…
thanks @misha130
np @misha130
 
What on Earth is going on here
 
2:02 PM
NOTHING
 
Talk fast @misha130 so no one sees it.
 
I am ok with everything though
 
I think misha is starting to crack.
 
tomorrow is my birthday and my vacation
 
2:04 PM
ill rehabilitate
 
@AvnerShahar-Kashtan you mean is starting crack.
 
@ElieSaad Hey, it's his birthday, he should have some fun, right?
 
@AvnerShahar-Kashtan I just hope he doesn't get fined :P
 
hello guys
when i cant change property of metroframework controls?
why i cant change property of metroframework controls?
why i cant change property of metro framework controls?
 
combobreaker
 
2:16 PM
what?
 
For future reference: Press Up arrow to edit a message
 
I don't know.
I do not know.
I'm not sure.
 
@milleniumbug that was supposed to be our secret
 
sorry certainly
i do that
can help me?
 
@milleniumbug are these not different questions? Shit.
 
2:18 PM
i can use teamviwer if anyone want see the problem
 
what's a good word for a boolean value that marks an object as usable for production vs deactivated?
I rather name the boolean property as something Positve so that I dont have to preface it with a ! opertator
 
@AvnerShahar-Kashtan I can Sort it,
thanks, It'll definitely reduce the no. of iterations
 
@Michael initialized/ready
 
@RoelvanUden thanks, thats not bad
Now I am re-thinking this though, because basically this would allow soft deletes, which is basically what I want.
But that gets kinda tedious, everytime i want to query that collection of data I have to remember to only get those with the "initialized" property = true
 
2:38 PM
Query? Can't you just make it a lazy loading mechanism then?
 
@RoelvanUden lazyloading mechanism?
 
Yeah..?
 
@RoelvanUden Say I have a table Products, some of these products can be available and some can be marked is unavailable (soft deleted, never to be shown anywhere). Anytime I want to get a list of these products, whether to display the products or search the products or associate the products with something else (customer, sale, category) I must always manually remember to specify in my linq query to only get those products that are marked as activated.
How is that simplified with lazy loading?
 
Oh. That's a design issue. You could just filter them at the top with a decorator.
Let's say you have..
interface IContext {
  public IQueryable<Product> Products { get; }
}

class UnavailableFilterDecorator : IContext {
  private readonly IContext _context;

  public UnavailableFilterDecorator(IContext context) {
    _context = context;
  }

  public IQueryable<Product> Products {
    get { return _context.Where(x => x.IsAvailable); }
  }
}
Now you can just feed a new UnavailableFilterDecorator(new Context()) anywhere you must not have access to deleted products (e.g. all the user stuff, but not the admin stuff)
 
2:55 PM
@RoelvanUden hm, yeah that does clean things up quite a bit but the decorator must still be remembered.
 
No it doesn't. I assume you inject your context in your controllers/services/whatever. Set up the injector to inject the correct decorated context in the applicable places.
e.g. if user section inject decorated with some filters.
 
@RoelvanUden Currently there isnt injection set up like that. The contexts are just instantiated/disposed where they are needed within Usings()
I think ill either have to use that approach or somehow create an archiving table? Idk what goes into an archiving table though. Sounds like it could be sort of complicated, maybe, maybe not
 
I use soft deletes this way for a lot of things. I mean, you can't very well delete historical subscription and payment data, can you? So, I don't. I just mark them as deleted and the filters take care of the rest. In MVC, my controllers merely inherit from UserController or AdminController, meaning different responsibilities and filters.
Archiving only works if you don't have a lot of dependent records (no FKs etc)
But it still destroys history if you're not careful
 
@RoelvanUden okay, thanks for that information. I'll have to consider all that.
 
In C#, using LINQ, is it safe to do an .OrderBy() on a string field holding integers? Like this: .OrderBy(c => int.Parse(c.CostCenter))
Safe, as in, not cause an exception if the field's value isn't a valid int
 
3:05 PM
If they are all real proper integers, that'll work. Otherwise, kaboom.
 
@Alex this is not a question about whether it safe to do within linq. It is a question of what will int.Parse() do.
int.Parse() throws exceptions
 
Ahh
Thanks, @Michael
 
It will... throw an exception
It will... throw an exception
 
Hmm. Then I need to use .TryParse(): stackoverflow.com/a/4961697/177416
 
@Alex you can always catch and handle those exceptions though. Or use TryParse.. although handling that within linq might get a little wierd
 
3:08 PM
Yeah, handling it in Linq gets really weird
I'll just do OrderBy string and be done with it :)
It's not that critical to the app
 
That'll have an incorrect ordering.
 
Dang it!
 
int.TryParse is not that weird in linq.
 
Stop with the facts!
 
@Alex you can TryParse your collection into a Collection<int> before doing ordering
 
3:09 PM
I am fact-machine.
 
:D
 
`int whee;`
`someThing.OrderBy(x => int.TryParse(x.SomeValue, out whee) ? whee : int.MaxValue)`
Will throw invalid numbers at the end of the list because fuck that
 
Here's my LinqToEntity query, which then populates an ObservableCollection of VMs:
 
@RoelvanUden your out param should be of type int
 
var query = (db.CostCenters
	.Where(x => x.isActive)
	.Select(x => new CostCenterViewModel
	{
		CostCenter = x.costCenter,
		OrgUnit = x.orgUnit
	}).Distinct().OrderBy(c => int.Parse(c.CostCenter)));
 
3:12 PM
@Michael Yeah. You're right.
 
@RoelvanUden Thanks, Roel. I've had SO chat do that... not take multi-line code with the tick mark at start
Bug
BTW, where to do we report that? Or is it a bug or meant to function like that?
Why do you have int.MaxValue? Is it like a placeholder for invalid ints?
 
Because OrderBy is from low to high, and I wanted invalids at the end.
 
Ahh
OK
 
Might throw in a .ThenBy(x => x.CostCenter) in there for the invalid ordering.
 
Interesting. Was wondering about that
 
3:29 PM
OK. I think this will work:
int costCenter = 0;
var query = (db.CostCenters
	.Where(x => x.isActive)
	.Select(x => new CostCenterViewModel
	{
		CostCenter = x.costCenter,
		OrgUnit = x.orgUnit
	}).Distinct()
	.OrderBy(x => int.TryParse(x.CostCenter, out costCenter)
			? costCenter : int.MaxValue)
    .ThenBy(x => x.CostCenter));
 
good (ugt) night
 
3:57 PM
hey guys
which control do you use for windows phone if you have a long list of predefined values?
 
hi guys
why can't i change the background color of metro framework controls?
 
@HamreenAhmad is that a winforms add-on?
 
Perhaps its an issue with that add-on
 
what is add-on mean?
sorry iam beginner
 
4:08 PM
@HamreenAhmad Winforms does not come with Metro Framework Controls by default
Its something you had to of installed separately via a Nuget Package or something
So it is an Add-On to Winforms.
 
i understand know thanks
 
@HamreenAhmad is winforms/metro framework a requirement? WPF has some decent modern design control libraries too
 
@HamreenAhmad The person who developed this probably didnt account for color changing, or this is a bug with the implementation. Here is the developers GitHub page with current issues: github.com/thielj/MetroFramework/issues
 
i this winforms is better to create a responsive design @CuddleBunny
 
@HamreenAhmad winforms is not better.
 
4:10 PM
@HamreenAhmad nah, WPF and UWP is waaay better for responsive designs
 
i know it may be deprecated but iam beginner
 
the newer stuff is more beginner friendly too
I would start by trying to build something without extra dependencies though
make something simple and functional and then make something with a modern design toolkit
 
@HamreenAhmad it may be a bit easier to start with. But if you are a beginner I almost would advise to bite the bullet and learn WPF / UWP instead of winforms
 
thanks guys for adviceing me
i try to learn that
iam old java programmar hehe
 
then welcome to freedom
 
4:14 PM
@HamreenAhmad WPF/UWP has a higher learning curve, it will be a bit more challenging, but it is the way forward..
Idk.. @CuddleBunny what is UWP like compared to WPF/winforms?
I have no concept of UWP really
 
I found WPF easier to learn than WinForms myself, it is only hard at first if you make it hard by trying to go all in on MVVM and stuff
@Michael UWP is pretty much identical to WPF in terms of workflow, it is just a little more limited in terms of .NET feature access
I wish there was a solid app for flowcharting with the pen that cleans stuff up nice and sharp like staffpad.
 
One does not "learn" Winforms. You have your spirit slowly broken, light extinguished from your life, until you are but an empty husk of the developer you once were.
 
^ this
 
ADH
I am trying to do a LINQ outer join
I am having a tough problem with the DefaultIfEmpty
I need to create a new GenericNameValueMetadataItem
public GenericNameValueMetadataItem(Item innerItem) : base(innerItem)
{

}
 
4:29 PM
So with ASP.Net MVC, I am refactoring a project where there was 1 big VM and 1 big View. I found it to be cumbersome and hard to maintain.

So I decided to start down the path of creating multiple VMs that use inheritance from Base VMs.

And for the Views I now have ended up with 1 Main view that renders partial views of the VMs depending on which VM is meant to be displayed. Then I have also created Manyyyy other Partial views that are basically modular and can be rendered in any of the other Partial views (eg. Html for a common datetime picker, html for a common dropdown, html for a com
 
ADH
But, I have no idea how to send the innerItem
 
Idk, it definitely isnt as simple to look at for a new developer.
 
@Michael i installed it through NuGet but still same problem
 
I have two lists: ListA, ListB. ListA is a superset of ListB. If an element, .MyProperty, in ListB is in ListA, I wish to set the IsSelected property on ListA. Is this possible without using a loop, maybe with Linq?
 
@CuddleBunny in windows phone apps is it possible to make a combobox that is scrollable?I am populating a combobox but it seems the content is too much it's like it is trimmed at the bottom
 
4:49 PM
@HamreenAhmad that has nothing to do with what I said
 
have you teamviwer?
 
@HamreenAhmad I said, that there is probably some bugs with the developer's framework/software. Look at the Github issues.
@HamreenAhmad I don't know much about the issue either. you are going to have to research it.
 
thanks man ok
 
@GotaloveCode set the dimensions of the combo-box?
 
let me give it a try @Michael
@Michael got it maxdropdownheight did the trick
Thanks
 
ADH
5:22 PM
Never mind, I figured it out
 
6:03 PM
Question, in Asp.Net Core 2.0, I can't find IUser. I can only find the Entity Framework reliant IdentityUser.
 
6:20 PM
Was it ported in 1.0?
 
I thought it was, I can't find any documentation on it though.
 
...
That is with Entity Framework though, I don't want Entity Framework.
 
oh sorry thought that was the one you were looking for
 
I keep finding that, but not what I'm actually hoping for.
 
6:39 PM
@Greg can't you just make your own IUser?
 
Does Identity recognize that though?
I'm not sure, never used Identity.
 
7:05 PM
So, if you do Identity non core, but standard .Net IUser does exist still. True core, it doesn't.
 
7:29 PM
@Greg since it is an interface, you can probably just copy it right out of the source and use it, I can't see any problems happening because of it
most of the identity core stuff just takes <TUser> where TUser : class
so it shouldn't matter where your IUser came from
 

« first day (2145 days earlier)      last day (2797 days later) »