« first day (4281 days earlier)      last day (650 days later) » 

6:43 AM
[Squirrel in Training] GoOoOoOoOoOoOoOoOoOoOoOd Mornin' pleberinos!
 
Good morning
 
 
1 hour later…
7:51 AM
[Captain Obvious] Mornig bois
 
 
2 hours later…
10:06 AM
[Hector] morning
 
Only in spain can 12 o'clock be morning
 
[Hector] man what a day, I just had my request for VS enterprise approved
[Hector] 1.6k $/year
 
Noice
Like, the enterprise subscription??
 
[Squirrel in Training] buuuuce cibgrat
[Squirrel in Training] Enterprise is dope if you use fakes
[Hector] @squirrelkiller here in Spain, most people consider it morning until lunch, which can be anywhere from 12.00 to 17.00
[Hector] I gotta learn about all Enterprise benefits, I never had this before
[Hector] 200$ on Azure alone is worth it IMO
[Squirrel in Training] Not so much i think
[Squirrel in Training] But yeah the azure one is great
[Squirrel in Training] i've got bottler running on oru azure sub
[Squirrel in Training] i didnt say nuttin
 
130€ azure credits is awesome, best part of that subscription
 
10:09 AM
[Hector] hol'up, why is it only 130€
 
To be used at your discretion
 
[Hector] USD just soared, I demand my currency conversion
 
Don't know, has been 130€ since I got it years ago
Well you can open a support ticket form the azure portal
 
[Hector] srsly USD almost equals EUR rn. what a ripoff
[Hector] np since my company is based on US I got the US stuff
[Hector] so more $$$$
 
Oh nice
Go play around then, host random shit
 
10:16 AM
[Hector] I will host stuff most likely
[Hector] but IDK what yet
 
11:03 AM
[Squirrel in Training] Host bottler
 
Bótler
 
12:02 PM
does it cost 1.6k per year?
sounds like a lot... is that per developer?
(pricing page only shows monthly pricing for me, which sums up to 3k per year)
 
Sep 17, 2020 at 16:06, by mr5
CupOfKotlin
 
12:27 PM
thank you, jquery, for wanting me to become a javascript master
 
 
1 hour later…
1:35 PM
 
Hi , I got a way to parse csv files with TextFieldParser docs.microsoft.com/en-us/dotnet/api/… . But I can't see any advantages there over StreamReader, Reading Each Line & Split method.
can Any friends help me what I miss ?
 
A namespace just for VB stuff? Wow.
Well maybe this parser reads one field after another, improving memory consumption when you have very long lines
 
[Squirrel in Training] Ayee killerino
[Squirrel in Training] They got some good things
[Squirrel in Training] like RecyclingBin
 
@Squirrelkiller that class can be used for any .net language including c#
 
2:46 PM
Guest Post on July 06, 2022
While Perl might seem like an outdated scripting language, it still has plenty of relevant uses today.
 
2:57 PM
@SivaSankaran CSV is not just myString.Split(',')
if you dont know how something works, try not to make it and use the tools other people made
for CSV, I generally use CSVHelper
 
Except that class seems to take the separator explicitly:
MyReader.Delimiters = New String() {vbTab}
 
I mean, values in a csv can span multiple lines, so splitting on lines is wrong
and values in a csv can contain the separator character, so splitting on the separator is also wrong
 
3:21 PM
valid points @Wietlol
for my requirement I thought to stick with YAGNI principle en.wikipedia.org/wiki/You_aren%27t_gonna_need_it :)
but now I am convinced to use TextFieldParser for my requirement . since it might help if some changes in future and it's part of .net
Hello @Zarenor
 
 
2 hours later…
5:07 PM
hello
I have a contents that first is written on a MemoryStream, then after it goes into a byte[].
I need to do a find/replace some parts of it, to eliminate undesired contents.
Performance wise is it better to convert it to text in the stream or in the byte[]?
should I use string or stringbuilder?
 
5:28 PM
I did sthg like this:
                    string origString= Encoding.UTF8.GetString(m.ToArray());
                    origString = origString.Replace(" xmlns:\"NamespaceSucks\"", "");
                    byte[] fixedByteArray = Encoding.UTF8.GetBytes(origString);
 
5:49 PM
hmmm, not working...
 
WHO HERE LIKES C#?
Apologies. Let me read; I may be able to assist you all.
@sergiol, are you saying the code you wrote above isn't working?

As far as performance goes, unless you're having to do this calculation very VERY frequently, you shouldn't have a major issue.
 
I think I know why. I just mispelled after the xmlns. It is not :, but =.
 
Ahhhh.
May I ask, what is this for?
 
yes, that was the cause!
 
I'm asking so I can better understand the performance implications of it
Imo, worrying about performance for things like that isn't going to be an issue, unless you're using it "very" frequently
 
5:57 PM
[milleniumbug] "WHO HERE LIKES C#?" you know you're asking in C# room
 
Correct. It was a pretty stupid joke, lol.
"Botler"? What's that? Is it relaying messages?
 
[milleniumbug] if you click on the link it will lead you to the Discord server it's relaying messages from
 
Interesting! Sorry, I'm very new to StackOverflow. I did join the Discord very briefly to see what it was like; I sort of thought it was linking me to the much larger C# discord.
 
[only_going_up_fr0m_here] huh interesting
 
6:42 PM
It's a discord specifically created by members of this chatroom who decided mods here are too strict
And since the other, flawless, famous bot was shut down out of protest, we had to build our own. So Botler was already existing at that time. So naturally, someone had to build a relay between here and discord.
2
 
7:30 PM
@Squirrelkiller Botler? hahahaha. Seems like a nick name for a very drunk person (Bottler)
 

« first day (4281 days earlier)      last day (650 days later) »