« first day (3273 days earlier)      last day (1678 days later) » 

12:01 AM
 
 
3 hours later…
2:48 AM
whoa...
protester was doubled compared to yesterday
 
3:14 AM
protester?
whats going on with SO
 
726
Q: Firing mods and forced relicensing: is Stack Exchange still interested in cooperating with the community?

amon The last weeks and days have seen some erratic behaviour by Stack Exchange Inc., such as likely illegal changes to the content license and the firing of an upstanding community moderator with no explanation except copy-pasted responses (leaving many to believe it was for no good reason). It wou...

its like snowball
SE want to keep silent but community wont accept
 
 
2 hours later…
5:47 AM
in SOBotics, 5 hours ago, by NobodyNada
In light of recent deplorable actions by SE staff, reports.sobotics.org is down until further notice.
 
6:33 AM
ohayou
seems like a lot is going on @nyconing
 
oha senpai. How are you doing?
 
Oha! Doin' okay, how 'bout you?
 
about the same
nothing special really
 
I did release my latest manga hobby app recently so that's something new here :-P
 
6:46 AM
:O
for reading or?
 
Yeah, downloading, keeping up to date, reading, and tracking progress
 
oh cool? can i see what it looks like?
 
mac link is an exe file as well :P
is that an error or?
 
Whoops, there's a .dmg for it. Linked it badly.
 
6:51 AM
looks cool. How long have you been working on it?
 
On- and off since June. So that's 'bout 4-5 months. It's all a little rough around the edges right now, I'll be polishing it up over the next months :-)
I'm definitely interested in all feedback, improvements, oddities, things that aren't self explanatory, everything :-)
 
How do you exit the read mode :P?
 
Um, tap/click somewhere at the top of the screen to pop open the menu
mental note to self: there should definitely be reader instructions
 
oh
 
Right now, tapping on the left side of the screen goes to the next page, right side of the screen is previous page, and top of screen for the controls
 
7:05 AM
the error keeps showing up constantly now.
 
good morning.
 
@Proxy Ah, it can't get out of that error. Just reload the UI (sloppy, I know). Which chapter did you try to open?
 
917. But now it works fine
 
Aha, when the volume is "TBD" the request validation stops it because it expects a numeric volume. Will write it down and fix it.
@AvnerShahar-Kashtan Morning :-)
 
7:24 AM
nice :D @RoelvanUden
 
good morning
 
7:39 AM
@Feeds ok, that is good
 
7:51 AM
@AvnerShahar-Kashtan heh imagine not living in israel and not experiencing the vacation this week
heh
 
@misha130 I have to stop and think for a second every time I want to know what day today is.
I came in here and was all like "hey, why are there so many people active, it's Sunday, they should all be home"
 
feels very sundayish indeed
 
it was very hard to differentiate if this is thursday or wednesday.
 
@AvnerShahar-Kashtan you should know, it is Middas
 
I officially give up on knowing what day it is until late October.
We've got this week already eviscerated. Next week we have Yom Kippur. Then Sukkot and the Icon festival I need to prepare for. This is the high holiday season and all bets are off.
 
7:58 AM
but when will you know it is late october?
 
I know what date it is. Just not which DOW.
 
once its halloween?
 
Today is Wednesday, but it's the first work day this week. So it's a Sundayish Wednesday.
 
I never know when halloween is
 
I hear there's a petition to move Halloween.
 
8:09 AM
wait C# has _?
like go
 
it sure has
 
well alrighty then
 
it sucks tho
 
_, as in the discarded variable?
 
I think it is only half implemented...
for example, this works
var (_, _, y) = x;
 
8:12 AM
yea
 
but this doesnt
 
cause thats not a deconstruction?
 
true, but I do want to discard the parameter
many languages with proper lambdas have this feature
for example... Wietlang
hides in bunker
MS implements C# features based on where they can think it is useful, rather than based on how you can express yourself
 
by popularity
feels very C++ish
 
Morning wazzocks
 
8:18 AM
morning cap'n
 
I aint touching Xamarin today, it can do one
 
o/
 
don't you love when you come to worker and theres already co-workers storming at you with issues before you even sat down ?
 
like the house is burning, and your chair is already ash
but nooo. I will sit down. No matter what
 
8:26 AM
@ntohl yeah somewhat
let me have a sip of my coffee first
 
> Note that _ is also a valid identifier. When used outside of a supported context, _ is treated not as a discard but as a valid variable.
 
Yeah, that's a bit of backwards compatibility they're stuck with.
 
I hate backwards compatibility
 
@Wietlol Let's talk about it again once Wietlang has 100million+ users.
 
8:29 AM
and why is there an IT magazine on my desk now
for freaking 13€
who bought that ?
why ?
 
@AvnerShahar-Kashtan you know... I dont have backwards compatibility issues actually
 
wtf is going on today
 
the compiler is designed to understand common refactoring changes
and to compile the code in version X and regenerate in version Y
 
common refactoring changes such as renaming variables or not allowing _ identifiers for example are things the compiler can handle for you when you upgrade your language version
the only issue that it has is that code pasted somewhere in a notepad or website probably doesnt contain the version with it
 
8:32 AM
so, a sqlCommand question
 
keeping in mind that I still change the design a bit here and there, I use this feature quite a lot
 
how do I get a list of values into a parameter
    using (var cmd = DataServer.GetCommand("UPDATE pImg SET Sort = t.Sort FROM dbo.ProductsImages pImg " +
                                                "JOIN( VALUES @Values ) t(GUID, Sort) ON t.GUID = pImg.GUID; "))
            {
                var data = string.Join(",", product.Images.Select(x => $"({x.GUID}, {product.Images.IndexOf(x)})"));

                cmd.Parameters.Add("@Values", System.Data.SqlDbType.Variant).Value = data;

                cmd.ExecuteNonQuery();
            }
oh well, you get the idea
 
ctrl+k
 
@Hans1984 someone that feels you are narrow?
 
anyway, data is in the form of "(foo, 0),(bar, 1)"
 
8:34 AM
*not me
 
narrow ?
whats that supposed to mean ?
maybe the try to impress me
Im the only IT person in this company
so this is kinda bogus
 
lol, then maybe someone paid for wrong book
and remind youre IT
 
ppl here dont know a lick about IT
 
then give you
 
@Lett1 I guess you have to paste the values in the query itself
not as an argument
 
8:36 AM
this is the whole problem with this company
 
that kinda sucks
 
theres aroudn 50 ppl but 45 are car mechanics
 
@Hans1984 Excuse you?
 
not necessarily
 
they have a rather huge IT infrastructur
 
8:36 AM
just make sure you escape the values and you are ready to go
 
but are only employing ONE IT person(me)
 
thanks anyway @Wietlol
 
so its make or break
ether i fix stuff or noone lol
 
Why does a mechanics have a "rather large IT infra"
 
its a car tunign/repair company
 
8:37 AM
And define "rather large"
 
yet they have 2 servers and couple other things
 
@CaptainObvious they need to put the cars in their IT infrastructure
do you know how big cars are?
 
given the fact that noone knows anything about IT and everything so far was created by outside companies
external companies
i took over the mess that grew over the years basically
 
But we want to know what sort of "large infrastructure" you have
 
large for a company that only deals with car repairs/tunings
you cant compare this to an IT company
don't you get the point ?
 
8:39 AM
And more specifically I want to compare against ours which is a company of ~40 people where I'm the sole IT person
 
jeeez
 
Yeah we're not an IT company either
 
ha!
so we are sitting in the same boat
 
EXactly, hence mt wanting to compare
 
1. Client complains some hardware didnt worked
2. Support asking for details, such as power and indication light
3. Client are mad and want action not asking
4. Support go onsite, turn on the power socket, and collect $120 onsite fee.
 
8:39 AM
its a sinking boat
we are doomed to fail at some point
well we have 2 windos servers
around 10 pcs
around 6 printers/Scanners
 
We have 3 servers which form a Hyper-V cluster which runs about 30 VMs, with about 50 PCs and almost 20 handheld devices
 
and couple other things
 
Also voip phones, wireless infrastructure
 
since most of the ppl work inside a hall on cars
we dont have a lot of pcs
yet all their work-time and other things is recorded on the server
 
The majority of PCs here and all of the mobile devices are in the warehouse
 
8:42 AM
yeah and then theres this phones that run through the network as well
we have a always bugging wireless connection
and a rather stable ethernet connection
 
You should look into Ubiquiti for a wifi solution
 
but half of the company is in another building like half a mile away
 
we have 5 AWS environments, with a total of 14 self-managed servers, 8 AWS-managed servers and 25 serverless applications and 1 self-managed file server and 4 AWS-managed file servers
 
and im responsible for them too
 
It's incredible
 
8:43 AM
so i have to walk over there at times and fix their problems aswell
 
@Wietlol What sector do you work in?
 
insurances
 
So heavily office based then
 
@CaptainObvious yes ?
maybe I'll have a look
 
We also are split across multiple sites, but we're only
 
8:45 AM
soon our provider will change our internet connection
 
can't wait for it...
NOT
these ppl are very straight forward
totally different to the ppl i worked with before ppl from an academic background
now its mechanics from all over the world, working with cars
 
@CaptainObvious 984.25 HUF? That's cheap
 
No that's distance between 2 warehouses
 
you can unlock it cheap
 
8:47 AM
Why did you think it was a price
 
ok now i cleared that up
 
ft is how we sign amount in HUF
 
they actually havent ordered that magazine
it was in the mail today
 
350 ft for a milk for example
 
8:48 AM
We're getting a leased line put in too
 
i think its some promoting stuff probably
advertising probably
 
@ntohl That's so weird because ft is always shorthand for feet, the measure of distance, as far as I was aware
I thought hungary was on the euro
 
no. We use HUF hungarian forint -> forint -> ft
 
Yeah I get that now
 
but the abbreviation is HUF, not ft, right?
 
8:51 AM
here it's ft what you always see
 
hmm
 
like you see $ not USD in America
 
I dont remember any other currency use text instead of a symbol tho
not that I know a lot of currencies
dollar, euro, pound, yen...
 
Israel uses ש"ח, which is an abbreviation of "New Shekel".
 
Morning o/
 
8:54 AM
it appears there are quite a few
 
₪
@AvnerShahar-Kashtan that one?
 
There is a non-letter symbol for it, but no-one uses it and you'd be hard pressed to find it on a keyboard.
@Wietlol That's the symbol, which is basically a ligature combining ש and ח, but no-one uses it.
 
I use it...
gee, thanks avner :p
 
Even in official typesetting it's not universally used. And in digital print/anything you do on a regular keyboard? Rare.
 
8:56 AM
₪
 
doesnt an israeli keyboard have that character on it?
 
NFC?
 
₪ wth is this ?
 
New Shekel
He did just tell us
 
oh israel
 
8:57 AM
I assume a brittish keyboard has a pound symbol on it
 
@Wietlol Nope
 
§ alien currency
24§ alien units
 
You can type it with Ctrl-Alt-4, but no-one really knows about it and it's not printed on keyboards.
 
but I also assume that a chinese keyboard has ~26000 keys...
 
Also, Ctrl-Alt isn't a common set of key combinations.
 
8:59 AM
[ctrl][alt][delete]
 
ahoy mateys o/
 
Hi
I would like to mask the email with "X" - I want to show only first 3 character as Real character and then renaming character till "@" as "XXXX" @ and after @ all real character.

eg. stackOverflow@gmail.com

output should be as staXXXXXXXXXX@gmail.com

a = stackOverflow@gmail.com
private static string maskEmail(string a)
{
if (!string.IsNullOrEmpty(a))
{
a = "XXX" + a.Substring(3);

}
return a;
}
 
@Deep you could use substrings to achieve this
Get the content before and after the @
 
1. Please use Ctrl-K when pasting code to make it more readable.
2. What doesn't work?
 
9:02 AM
@CaptainSquirrel Thanks , can you please show me the code. i am trying but coulnt achive
 
Captain Harry ?
No,no I don't think so
 
private static string maskEmail(string a)
    {
        if (!string.IsNullOrEmpty(a))
        {
            a = "XXX" + a.Substring(3);

        }
        return a;
    }
 
@Deep I am happy to help you solve problems, however as most people in this room would agree, we are not here to write your code for you.
 
@CaptainSquirrel thanks
 
@Deep In order to help, we have to know what doesn't work. What output are you getting? How is it different than the output you want?
 
9:04 AM
@Deep this should help any confusion you have over how substrings work docs.microsoft.com/en-us/dotnet/api/…
 
email.Substring(0,email.LastIndexOf('@'))?
 
Today is wednesday
there is usually free breakfast on wednesday
I am yet to see free breakfast
Am doing a sad
 
@CaptainSquirrel thanks
 
@Hans1984 I'm currently in a phase of not drinking coffee
 
9:11 AM
@CaptainSquirrel there you go
 
sooooooooooooooo bad news buddy
where
 
your breakfast
 
where do you find these
god damn dude
 
@AvnerShahar-Kashtan Ctrl+Alt+4 will get you a € on UK keyboard layouts
 
@AvnerShahar-Kashtan , the outpust is coming as first 3 char with "XXX" and remiang real. thanks i am trying my best
 
9:15 AM
Looks like you got it the wrong way around. Try this
 
@Hans1984 Command breakfast learned
 
@Deep There are several edges cases you're not considering - what if the username part is shorter than 3 characters? Regardless, the first thing to do is call Substring with the parameter 2, because indexes start with 0.
 
mr5
Do you guys have these in your company?
Circuit Breaker is like API health monitoring system
 
@mr5 monitoring dashboards?
 
No, actually, I'm wrong. 3 is fine.
Also, your code works fine here - I passed it "blah@test.com" and it returned "XXXh@test.com"
 
mr5
9:17 AM
@CaptainSquirrel yeah. I actually don't know how it works
 
Maybe the problem is you expected the method to change the string you passed in?
 
@mr5 We had something like that at my last place
but we mainly had ticket stats on our wallboard
 
mr5
do you think it's for server side only?
 
And a count of system errors in the last hour
...yes i would think so
Not really sure tbh
 
var parts = emailAddress.Split("@");
var domain = parts[1];
var user = parts[0];
var maskedUser = user.Substring(0,3) + new String("X",user.Length-3);
var maskedEmail = $"{maskedUser}@{domain}";
@Deep See this: dotnetfiddle.net/0jClxw
Is Madara around?
 
mr5
9:26 AM
why are you not putting spaces after commas?
 
Her addon doesn't support C# in the thingy
@mr5 Because the IDE does that for me when I'm typing into it. Alas I was typing straight into the chat box
 
@CaptainObvious the chrome version doesn't have it either
not the end of the world tho
 
But I use a superior browser
 
You use chrome ultron?!
 
It's Google Ultron, get it right
 
9:32 AM
@CaptainObvious Thank you so much. :)
 
@CaptainObvious firefox is the superiorist browser
4
 
@AvnerShahar-Kashtan , I wanted first 3 character real and afterwords till "@" the value "XXXX"
 
I agree with harry, what has the world come to
Holy fuck
 
@Harry true
 
@Harry go Chrome or go home
 
9:37 AM
 
wtf?
even chrome doesnt get to 27GB
what are you running?
 
I opened KnowYourMeme to reread the ultron story
 
@CaptainObvious careful someone might flag you
 
When usage was at about 15-16gb
 
I love it how it shows where 90% of the memory is not coming from
or am I reading the graph incorrectly?
and the graph has incorrect indentations?
 
9:43 AM
Nah it looks like it knows the heap is huge but it can't tell why
 
it looks like "window-objects" is part of the "heap-unclassified"
but I suppose that is an indentation error
 
No, window objects would be part of the heap
 
in my eyes, this is just weird
but you now say that the indentation is correct and the lines are wrong?
hmm... numbers add up nicely tho
is indentation error
 
Oh shit yeah maybe you're right
That indentation is retarded
 
@CaptainObvious have you tried it with "bob@gmail.com" ?
 
9:50 AM
That will work fine. Anything below 3 will definitely not work though
 
define "fine"
it is not masked
 
That's an issue with the spec, not the software
 
hmm... ok
 
I worked to the spec
 
@CaptainObvious a true developer
 

« first day (3273 days earlier)      last day (1678 days later) »