« first day (1407 days earlier)      last day (2742 days later) » 

7:26 AM
Morning
 
hey
 
morning
 
friday :)
 
at last!
only 46 weeks until vacation!
(after today)
 
:D
must be nice to work 4/5
four days a week
 
7:48 AM
and 6 hours a day
 
8:06 AM
how many hours do you work a week Markus ?
 
8:17 AM
In Tunisia, 5 days , 6 hours and half a day
just during the summer
 
you have different work hours depending on the season @Hamza_L ?
 
yes
 
because of the heat ?
 
6h30 during the summer, and 8h for the rest of the year
exactly
but, it's a single session, so 6h30 without a break
?
 
is it the same anywhere in Tunisia ?
we're in the middle of a heatwave here
 
8:21 AM
yes
but, some offshore companies don't do that
 
ok
 
and during Ramadan also, we work 6h30 a day
I thought that in France you have single session too
 
~40h/week
 
in France it depends on the company
same as me @Markus
 
so it does here, but the standard (I'd say 99%) works 40h
of course there are shift workers with different times
but actually there are a few places that has 6 hours days
 
8:27 AM
next week, double session, so no nap :'(
 
and of course the politicians... they don't have any working hours what so ever
it's fine weather here and I took the Porsche to work this morning. I sooo much feelt like just taking it for a longer cruise...
 
eheh
 
 
4 hours later…
12:18 PM
build times is this companies worst enemy!
my build doesn't take that long time, like 20 - 50 sec or so. That's to much time to wait!
So I need to do something else instead. hench I'm writing here...
which takes much longer time...
 
classic :)
 
Happy Friday!
 
now it's time again
 
I think I should leave this place
 
nono
or the office?
 
12:26 PM
the chatroom
 
It won't be the same without you, franssu
But if it's a chatroom that pays better and has nicer benefits, we'll understand
 
ahah
 
I hear some chatrooms have a free cafeteria
 
1:00 PM
@Julien so i thought i should share this: i'm pretty strongly considering throwing some cash at Star Citizen - thanks to aggressive marketing by Nexon giving me in "buy this shit" every time I login with an in your face popup..
you may want to give me a reference code and get something out of it at least :)
 
is it out yet ? are you playing the alpha ?
 
That's from Chris Roberts, who did Wing Commander -- one of the all-time great space sims
Man, this Star Citizen looks cool
Is it a follow-up/semi-sequel to Wing Commander?
 
no its independent game but there's a mini wing commander inside which is the "simulator for fights"
and yes its still alpha
 
Nice
 
my biggest demotivation was losing a ship i've worked hard for and insurance meant subscription
 
1:10 PM
Ahh, so they wanted some buy-in from players
 
so far the game strongly denies that and says insurance will be a nominal day to day expense and not overwhelmingly expensive
yea you have to buy out a basic package of game - there's no free entry as far as I know
$45 is the lowest you can get i think - though their starter package is $54 which is what i'll start on
 
Gave up on a bunch of iOS games with their obnoxious microtransactions. "Oh, you wanna progress in this? Pay up with real cash or be stuck."
 
then you can buy ships al the way upto 4 digits
yea Nexon is doing that shit to me right now
they haven't limited my game yet but they've dropped to popup in your face microtransaction marketing
and if they can drop to that level on 50th day of their release, i'm not going to wait around and see just how low they'll go
and i've always said, i'm happy to go into a subscription based game unless its stupid subscription
 
Nah, I don't mind paying for all of it upfront. Imagine buying a car, then your radio doesn't work... gotta pay extra to enable it. And the A/C doesn't have any cooling, only a fan. Gotta pay extra to turn that feature on...
 
yea exactly
well so far it seems star citizen isn't like that
they say you can buy everything in game without paying anything once you're in
 
1:13 PM
It makes sense, though. They're out to make money
 
but thats what every single freemium game says
given 100 years, you'll be able to get everything.. you don't need to pay a dime
technically nobody can refute that
 
They get you hooked early with some cool, free levels. Then you gotta pay
 
and p2w players always qoute that reference "hey you don't need to pay anything, we just want to get there faster than free players"
fortunately i've had enough freemiums waste my money (especially those that started out subscription and after a year of taking my money went freemium) that I don't get attached too much
i'm making good in-game money in Nexon's game
 
For Wing Commander, you paid $60 and owned it. Now, it had some cheat codes you'd find online, and maybe an expansion pack to buy, but that was it
 
unlocked Business Mogul achievement on all characters but when gold is selling at 1000g for $12 -- i'm not sure what meaning does my 140g have
money that i spent days just making that money and doing nothing else on those chars
yea man those were the good days
granted I can't won an mmo - but them making over 100 million USD off the players who just want to see a game succeed
 
1:17 PM
Real Racing 3 on iOS... such a cool racing game, but kills you with the microtrans stuff. Don't play it much anymore
 
and then going freeimum - that's what i'm afraid of
 
Yep, RR3 was paid app. Then went freemium and destroyed it. EA touches anything, it's toast
 
1:36 PM
well i was thinking of Rift & Defiance
EA wasn't the one to kill those, but they had the same fate cos they took money from subscribers and then went microtransaction
just plain greed
 
I really should stop going out on thursdays whilst I'm not home-officeing on fridays
Good morning all :)
 
1:58 PM
@Alex <VisualBrush x:Key="HexagoneBackground" Stretch="None" TileMode="Tile" Viewbox="-7.5, -1.5, 30, 8" ViewboxUnits="Absolute" Viewport="0, 0, 29, 17" ViewportUnits="Absolute" Opacity="0.8">
            <VisualBrush.Visual>
                <Path Stroke="#222120" StrokeThickness="1" Data="M20,10 15,18.7 5,18.7 0,10 5,1.3 15,1.3 20,10
                                                                 M35,1.5 30,10.2 20,10.2 15,1.5 20,-7.2 30,-7.2 35,1.5
                                                                 M5,1.5 0,10.2 -10,10.2 -15,1.5 -10,-7.2 0,-7.2
Good Morning Andre
 
:D how you doing ?
 
not too bad thank you :)
^ that's what the brush looks like (it's not black ;) )
you're welcome to play with opacity & stroke to make as obvious as you wish but I don't want it taking focus so its pretty subtle effect
next up is a subtle gradient lighting
 
@Maverik STAR-6GHP-N42P. now is a good time. the hype machine is really getting started. 2.5 was published last night, 2.6 will have the FPS module, and then 3.0 is the whole package !!
 
FPS?
dog fight stuff?
 
no, like actual first person shooter arena
there is already an arena for dog fighting
one of the proposed game modes is "capture the starfarer", basically two teams fight to be the first to take over an abandoned ship
and then talked yesterday about how they want to do live picture in picture in game. so you could go into a bar, and watch an event happening somewhere else in real time on a tv screen
 
2:10 PM
well that isn't going to be much of a motivation for me - i'm a peaceful person :)
 
!!!
basically, news vans
 
but i'm not going to give the game a go for its modules - not yet.. i'm going to give it a go to see what the community is like
if it's already full of aholes, now is a good time to know
 
lol make a "please help me im a big noob" post in the subreddit and someone will probably buy you a ship, see it happen all the time
 
nah i'm not a big noob :D
 
good i hate those posts
 
2:11 PM
plus i know you and bill are in there
so hopefully there's something decent about the game
 
i loaded it once months ago and hvent touched it since
 
and its long weekend - i'll have 3 full days on my hands to figure it out
lol you're not helping me convert here :P
 
its a 30 gig download and every update is like at least 10, sometimes just the full 30 again lol
theres nothing to play yet and the performance isnt good. need patience
 
well i'm already doing 10gig downloads for this stupid game i'm leaving behind
its not going to change much for me
 
hehe
 
2:13 PM
the fun stuff - the game IS only 9gig
so yea i download the entire game - every 2 weeks after having downtime of 5+ hours smack in middle of EU day 2-7pm in name of maintenance
 
i dont get what these companies need maintenance for
cant they figure out how to keep shit up 24/7
 
and then i'm presented with events every week - all week long.. that want me to wake up at 7am (literally) and login to server to receive event goodies
 
it doesnt seem unreasonable
 
its not - we're much smaller cloud hosting provider and we don't bring servers down every 2 weeks for 5 hours in middle of a business day
their backends are hosted on amazon aws
 
i mean i guess its a problem of scale? they have millions of users and it clogs the pipes?
i still dont get how they cant figure it out
 
2:15 PM
@Maverik Nice job, Maverik :)
 
its not
heh all of that maniually tweaked to create art xD
my first handwritten pen
 
We do what need to get it done
 
but we're far from being done
 
Is any art ever done?
 
this is just 1 texture out of many
well this bit of art is done
 
2:16 PM
Lucas kept going back and "tweaking" Star Wars
 
i need lighting on top but I don't know how to do it without a pixel shader
 
Relatively easy in Photoshop, not so much in other tech
 
yea i know how to get it to done in photoshop - but then i wouldn't have taken 2 days in photoshop to pattern some hexagon either xD
 
Yep, the trick is to get it done as a brush that'll work in WPF
 
so i was hoping we could have some more helping hands but seems i'm the only one interested
 
2:18 PM
I wish I had the time
 
its ok :)
 
Sorry!
 
i guess i'll just learn me some HLSL
 
Once I killed McAfee AV, VS doesn't crash. And it opens faster too
 
i left AVs behing eons ago
 
2:21 PM
Forced on us here
 
i just taught myself to spot & eliminate virus/worm stuffs
 
But we have the admin rights to turn them off
 
thankfully my machine; even though technically owned by company, is completely owned by me for all intents and purposes
well thats still something to be thankful for
 
Maverik, do you have your hex effect proj online?
Haven't done much with brushes other than apply background images
So it would be good experience :)
Thinking you provided a link to it awhile back, but can't remember
 
no but i can push it to git repo
 
2:25 PM
thanks
 
it isn't structured - just my playground project right now
 
i'd like to take a look.
nah, no worries
 
sure
 
just want to play with it here as time allows
Writing another monster LINQ to SQL statement
Need to pull data plus navigation props
 
2:42 PM
is the mail fully open?
I mean as in if I happen to have a server somewhere where a mail bounces on it's way to the recipient. is that mail fully readable for that server?
 
mail is always readable for any server that is helping you route it
(its actually true for every packet sent on internet and every machine handling it)
which is why you have the secure email stuff that nobody uses
I really should start using Gitlab more often
 
is UWP taking the place of WPF?
 
Thanks, Maverik
 
not yet juanvan
Alex: I'm gonna move the repo to gitlab shortly - you'll need to update origin :)
switched the origin to: git@gitlab.com:maverik/WPFThemingPlayground.git
cos I keep saying I should switch but never actually do - so it starts now :)
 
Ahh friday releases!
and I'm not back until thursday :)
 
2:56 PM
sounds good :D
 
awesome!
have a nice weekend guys
 
you too :)
@Julien if you're not actively playing star citizen, shall i use bills reference code instead?
 
all it does really is give me some in game money
there isnt even much to spend it on lol
id guess that like 90% of people who bought SC aren't playing it much
 
I'd not even heard of SC until Maverik mentioned it
 
SC is like the gaming holy grail lol
hour long but its worth it
 
3:09 PM
ok Julien i'll use your reference, bill has been just as much inactive
 
woo woo. im rich
 
but he says he was thinking about firing it up today and would like you to join his discord too in case all three of us can get it goin
 
please give the SC guys money guys, they need lots :D :D :D
bahh ima wait until 3.0
 
thats bill's discord room
 
 
1 hour later…
4:18 PM
is it the same as no man's sky?
 
no mans sky is literally an SC minigame
the difference would be a finite number of planets to explore, but a much higher level of detail
 
ahh
no man's sky has finite?
 
no mans sky has ~infinite proc gen planets
 
and star citizen doesn't? gotcha.
 
they are aiming for 100 systems with ~4 planets each
 
4:47 PM
given the size of a planet, it's bloody huge area to explore still!
been watching videos and I think i'll start with an Aurora
 
planets wont be the only points of interest. there will be space stations, asteroids, derelict ships, you name it
^^ jump points
i have a shitty aurora too hehe
 
Anyone got input on this question? And please forgive the over-long column names: stackoverflow.com/questions/39170438/…
 
llol
where did that sidebar star message go "just write the damn sql"
 
Yep, trying to make life harder with LINQ
and EF
 
do the classes you are creating have default constructors?
 
4:56 PM
yep
both
 
change your method to return OC<string> and just try to run a stripped down version
see if the error persists
 
Thanks
 
5:26 PM
-1
Q: Selecting a partially displayed WPF checkbox

tCoeso I am having a design problem and I know there has to be a way to make it work. I tried the solutions here: Annoying auto scroll of partially displayed items in WPF ListView But they didnt work for me because I am not allowed to work in the code-behind. I have a list of items from a wpf listbo...

 
5:38 PM
@Alex the error its returned implies it's pushing something of Linq2Objects stuff to Linq2Sql part
 
Ahh
 
its a pretty common error when you project a table to a viewmodel
 
Yep, seen it a gazillion times, and have had to wrestle mightily to solve it
 
do a .ToArray() to split it into Linq2Sql & Linq2Objects part
 
I've added a .ToList() to achieve the same
 
5:39 PM
also please use Method chains
.ToList implies you can modify the collection
its a bad habit and I dont know why the web chooses to roll with it
 
embarrassed
 
its like nobody ever bothers to think about impact
 
:)
So ToArray()?
 
I love how I add a parameter correctly in SqlCommand and it says that I don't and I can't check SQL because I don't have sysadmin permission :(
 
yea unless you're lucky and can call ToReadonlyCollection
why are you even using SqlCommand
 
5:41 PM
Ooh, SqlCommand... ADO.NET
 
EF by default does change tracking btw, you may want to turn that off for speed
 
What does tracking do?
 
thats how it figures what changed and what needs saving to db when you call SaveChanges
or SubmitChanges depending on your version
context.Configuration should have an option to turn change tracking off
normally you don't care about change tracking at all
 
Finally got it all working, and now have .ToArray() instead of list
@Maverik Can you elaborate on this, Maverik?
Sorry to ping you
And I've switched to method chaining
Committing code before anything happens
Wow, that was a bear to solve
 
6:03 PM
Aaaaand I forgot to set the CommandType :(
 
@AndréSilva Believe it or not, Entity Framework makes life so much easier. No SqlCommands to write. It handles all of it behind the scenes. But you must have a good reason why you're using it
 
Never used EF and I'm alone in this project :X
 
Same with me here. Had never used WPF, EF, or LINQ
That was in January/February
 
sorry i was away Alex
 
I'm no expert now, but started using it and am glad I have
 
6:05 PM
what do you want me to Explain?
Andre's had the same excuse for as many years as I've known him!
 
WPF is amazing
 
Why use ToArray() rather than ToList()? You said "ToList implies you can modify the collection"
 
EF has a barely 1-2 day learning time - you could pick it up any weekend and be up and running
 
What Maverik said
ORM is a great skill to have
And makes life so much easier
 
6:07 PM
Alex - because ToList() allows you to do .Add() .AddRange() .Remove() .Insert() on top of the results you've got
 
Ohhhh
Gotcha
Yep. Not doing any of that. Just want to realize the data and then do some Linq2Objects
 
its easy to forget that you've disconnected from underlying db and you're only in ram now
yea thats what i use ToArray() for
i'm not sure if ToEnumerable() allows you to switch to L2O
 
Just get the data and now do what I need to it in the POCO world
 
i think it doesn't
EF7 is said to be more intelligent in this matter and we'll not have to deal with this split as much as we have to right now
 
That would be good, 'cause this killed me today
 
6:09 PM
but when i was testing it out it wasn't really ready - it was pulling shit to front that was totally doable on sql server
but since they've RTM'ed (and I reported that issue when it happened) i believe they have it fixed by now
 
Yeah, it's still probably got some bugs to work out
 
nah its in wayyyy better shape right now than it was
 
OK, now got the data. Need to display and allow for edit
 
it's not at feature parity with EF6 but it is production ready
 
Yeah, can't wait to try EF7
 
6:10 PM
so why aren't you?
 
Current project started many months ago with EF6
Don't have energy to switch at this late stage.
It's for my next, new project
 
EF6/7 can be deployed side by side - but even if you didn't do side by side.. the porting is pretty straight forward
sure
 
Really?
That's tempting
 
EF6 is the last of its kind
EF7 is brand new
different assemblies / different namespace
 
Yep, EF7 is the future
There are other ORMs out there, like Massive and ActiveObjects, but I like EF
 
6:12 PM
their contexts look the same, but they're hiding the complexity underneath compatible api
yea i tried a few and kept coming back to EF
especially with EF7, i don't think I'll look elsewhere
 
I still find it amazing how LINQ translates stuff to complex SQL behind the scenes
 
wait till you see EF7's translations
 
Nah, EF is solid. Plus tons of examples/SO answers
 
the joins are much smarter in EF7 than they're in EF6
 
Dang
It's like it has AI
 
6:14 PM
dunno if you've run into scenarios where you had to bring in a subset of data manually to client and do join on client because EF would pull extra data on its own
 
And it's getting smarter with each release
 
they said EF7 will finally understand that scenario and I've seen some of it happening in my own queries
yup
 
Haven't tried that but would love to
 
they do subset queries now and do client inner joins
 
I imagine the EF area of MS is like a division... lots of devs grinding away at all this stuff :)
Been very impressed by it for the last 8 months
And like you said, it's quick to learn and easy to add to a project
 
6:16 PM
just scaffold your existing db with Scaffold-Database command (stackoverflow.com/questions/38739950/…) and just pretend its EF6
 
Back in the days of ASP.NET 1.x, wrote tons of ADO.NET
 
for most part you won't know the difference
yea in last 8 months they've moved to github and you can interact with entire team
 
Before the new CEO of MS, that would have been unheard of
They're so much more open
Cooperative with other tech
Thanks for the link
I do it the poor man's way... open edmx, remove tables that have changed, add them back in. Changes get reflected in the models
 
there's no edmx in EF7
its all code-first
thus scaffolding command to get you back where you were but in a code-first world
 
Ahhh
Makes sense
So you run that on EF7 to update
So EF7 is now production-ready?
 
6:22 PM
it is and fully supported
its been released already
 
Nice
 
it just doesn't have all the bells and whistles from EF6
 
As time allows, need to commit everything, update and try it
 
nod
 
Don't know if I've used the EF6 bells/whistles
 
6:23 PM
EF7 has much better documentation as well
i doubt it
the thing that appears to be a blocking thing in start is its configuration model
 
Docs are a challenge with EF6. In one place, I'm using a few entities in local mode, updating, then finally writng them back
 
since its pretty DI oriented, getting a hello world is harder on it than it should be xD
this is a good example of how to get started with EFCore: docs.efproject.net/en/latest/platforms/aspnetcore/…
and probably wanna read the porting: docs.efproject.net/en/latest/efcore-vs-ef6/index.html
overall I'd say its pretty easy port once you get the basics of config sorted
 
6:50 PM
Thanks, Maverik
 
@Julien made the plunge - i'm a citzen now :)
gonna go home and start the download and hopefully have some nice time over the weekend
catch you guys later and have a nice weekend all
 
sweet
now you can hurry up and wait like the rest of us lol
 
Have a good weekend, Maverik
Stay cool. It'll be sizzling here
 
:) dont worry julien, i'm playing 2 other games and i have billdr and you to keep me company :P
*poof
 
And so we begin the TumbleWeed Time
TWT
Sounds like a children's program... "Welcome, kids! It's TumbleWeed Time!"
 
7:19 PM
Can a ListView get bound to an ObservableCollection and have some of its items selected when a view loads? In other words, not just have one item selected, but multiple items selected.
 
sure just set a binding against IsSelected
                <Style TargetType="ListBoxItem">
                    <Setter Property="IsSelected" Value="{Binding IsSelected}"/>
 
You beat me to it
 
if you have giant lists of virtualized data it might not work
 
7:33 PM
Nah, it's about 19 records, and each has some sub-records that will be in sub-LVs
Hmm. Like you said, the virtualizing could cause issues
Is the VirtualizingStackPanel enabled by default on an LV?
The first comment on this answer talks about this issue: stackoverflow.com/a/803256/177416
You can toggle whether it's used or not: msdn.microsoft.com/en-us/library/…
 
pretty sure its off by default
  <ListBox VirtualizingStackPanel.IsVirtualizing="True"
 
<ListBox VirtualizingStackPanel.IsVirtualizing="True"
	   ItemsSource="{Binding XPath=Team}"
	   ItemTemplate="{DynamicResource NameDataStyle}"/>
Great, then no issues :)
 
8:29 PM
TumbleWeed Time ....
* * * * * * * * * *
 
9:06 PM
Have a good weekend!
I'm out
 

« first day (1407 days earlier)      last day (2742 days later) »