« first day (3186 days earlier)      last day (1761 days later) » 

7:54 AM
g'morning.
 
morn
 
Morning
 
 
2 hours later…
9:46 AM
Ah, the fun part of converting ~200 lines of hard coded config into something that can be stored in a settings file
 
how about the fun of dealing with imperfections in the design of a gui framework?
im not sure which of the two I prefer
 
I'm with the fun part of watching deep-dive architecture talks to learn about a platform I'm unfamiliar with.
 
Depends on which GUI framework
And which platform you're unfamiliar with
 
10:04 AM
border radius doesnt work correctly
 
@Wietlol The one of the left is the one that spies on your browsing activity, right?
 
no, the one on the right is that
 
because spies can look through the gaps
its not on browser tho, so I am safe
its a desktop application
but borders have a property how they are drawn (inside, centered, outside)
when centered, or inside, they would cover parts of the content, which I dont like
but when used on the outside, it messes up the border radius
because that property does a frigging OFFSET
 
WHICH GUI FRAMEWORK
 
10:07 AM
JavaFX
 
Oh hahahahahaha
He using Java!
 
to be more precise, TornadoFX
which is a port from JavaFX
 
Have you considered drawing the background and border using the same control
 
it works quite well... except these borders
@CaptainObvious they are the same control
the border is a border placed on the rectangle
 
Wow that's utter shit then
 
10:09 AM
the fill is the background
the way how it should work is like this:
337
A: Can you control how an SVG's stroke-width is drawn?

PhrogzNo, you cannot specify whether the stroke is drawn inside or outside an element. I made a proposal to the SVG working group for this functionality in 2003, but it received no support (or discussion). As I noted in the proposal, you can achieve the same visual result as "inside" by doubling y...

 
Even WPF isn't that retarded
 
Yeah I get that
 
the red line is the edge of the control
 
Why not use center
 
10:10 AM
JavaFX decides to change the position of that red line rather than the projection of the border
 
Wait what
 
I cant use center since it would display over the content
 
Pad the content then
 
meh
I have it almost perfectly working now
 
Also why does the border draw over the content
 
10:11 AM
im not gonna touch that any more
 
That's dumb
 
that is also how svg does it
 
Doubt <X>
 
I think neither are really dumb, just different ways to do border behavior
look at the image of that green circle
the green circles are all equal in size
but you can only see the part that isnt covered by the border
on "outside", nothing is covered by the border
on "inside", the border is entirely covering the circle
on "center", half of the border is covering the circle, the outer half isnt
that is how overlay borders should work
if you want a content border... just make a group around it?
that is how html borders work, where the border's space matters
anyway, im off
 
I've worked out those 200 or so lines realistically only need 4 properties to define the 10 rules across them
 
 
1 hour later…
11:22 AM
hiii
 
I missed this chat already
Finally free, now I'll go on full throttle lurking mode in the internet
 
Sunday is mass-lurk day on C# chat. Everybody lurks at once.
 
11:46 AM
<lurk>
 
11:57 AM
<lurk> +1
 
</lurk>
 
I don't lurk, I wurk, thank you very much
 
12:34 PM
........Erm, captain its Sunday we play with kids and visit family, or just sunbath on the rooftops
 
As you're new I'll let you in on a little secret
I, like Avner, "Work" on sundays
As a result, I (and I believe he too) am off on Fridays
Otherwise sundays are fairly dead though
 
People who work on Sundays when they able not to army real (Says the one who is currently studying block chain and experiments with c#)
luuuuuurk
 
when they able not to army real
wat
 
I am, indeed, off work on Fridays, as is the custom here.
 
@juan Yeah thats what I though so I just ignored it
 
12:38 PM
You know what......Fuck this autocorrect
 
Duck what auto-rocket?
 
Avner does sundays because apparently that's a thing in Israel, and I do sundays because of staffing reasons which haven't been applicable for 2 years but I remain happy with
 
I meant [when they have Ability Not to]
 
Hooooooow
 
Ahh Makes more senses now :)
 
12:40 PM
@AvnerShahar-Kashtan for a second I went back to see if its messed up again, ......you tricked me
@CaptainObvious is working for a big company is that scary??
luuurk
 
They have the power to turn things you hate or try to change to things you like and not in hurry to change 3:D the power of changing minds
 
What the fuck are you chatting
 
Sundays do weird things to people.
Oh, wait, that's a devil-horn emoticon.
I'm currently working for a (very) big company. It's generally fine. In most parameters, it's better than most smaller companies I've worked for in recent years.
 
XD @AvnerShahar-Kashtan I am just trying to mess with him, but kinda got a little bit south, no wonder they say text doesn't carry over your sarcasm in full force
Full effect
 
12:50 PM
It wasn't your sarcasm that didn't get carried over, in this case, it was any sort of coherent point.
 
@CaptainObvious don't worry about it man
@AvnerShahar-Kashtan ouch, I though we were "friends"
 
Burnzie
 
I worked at a small company that got gobbled up by a medium-large company, neither company's primary market is technology though
 
No burn intended, just an observation that I have no idea where you were going with that sentence.
 
@AvnerShahar-Kashtan maybe get up from my desktop and walk to refresh my mind a bit, apparently my brain functions are lagging resulting in non coherent mumblings...
lurk
 
1:08 PM
Hi,
Any idea how to do localization in ASP.NET MVC script files, I use resx, but it only can be used in cshtml files not JS?
 
1:18 PM
The only thing I can think of with 0 knowlege on the matter is make a load of localised string dictionaries, then use the cshtml to tell it which one to use and load strings from that
 
I'm thinking to use reflection to load all resources keys and values into a JS object in a partial view that loads on starting the application
 
1:32 PM
http://www.dotnetspeak.com/javascript/localizing-javascript-in-asp-net-mvc/
These seems really old but
 
 
7 hours later…
8:19 PM
While this is valid code, Should I be doing it?
Manufacture = new ManufactureWrapper(await _manufactureDataService.GetByIdAsync(manufactureId));
 
 
2 hours later…
10:47 PM
posted on July 04, 2019 by Scott Hanselman

I'm doing a quiet backend migration/update to my family of sites. If I do it right, there will be minimal disruption. Even though I'm a one person show (plus Mandy my podcast editor) the Cloud lets me manage digital assets like I'm a whole company with an IT department. Sure, I could FTP files directly into production, but why do that when I've got free/cheap stuff like Azure DevOps. As I'm on

 

« first day (3186 days earlier)      last day (1761 days later) »