« first day (2855 days earlier)      last day (2319 days later) » 

12:00
@Default it was a joke, check edits
but I wanted a lolipop simulator 😪
that's an interesting.. "game"
factorio is my all time favorite
I'm Commander Shepard and this is my favorite chat on the Internet.
I'm Wietlol
12:03
Do I get discounted stars now?
In Swagger/Swashbuckle, where does it say that the route is server.domain/swagger ?
I can access it via my.url/swagger but I dont know why
UseSwaggerUI just puts the endpoint to /swagger/v1/swagger.json
12:20
                public static IQueryable<TEntity> Search<TEntity>(this IQueryable<TEntity> query, Expression<Func<TEntity, string>> expr, string needle)
                {
                    return query.Where(u => EF.Functions.Like("u => u.Firstname", string.Format("%{0}%", needle)));
                }

    Is it possible to use the incoming variable "expr" at the place where I put the static "u => u.Firstname" now? I use it like this:

users.Search(u => u.Firstname, name);
.
You forgot the period.
I cannot just put the var expr in there because expr is an Expression and it expects a string there.
So I can't "just" do it. But I'm wondering how it should be instead
12:22
expr.ToString() ?
Not working
That will be literally "u.Firstname "
what is an Expression<T>
I would just make Func<TEntity, String> expr
then you can use expr
That's working!
Thanks man :-)
Hi
I found a job offer from EA here in spain, but they ask for C++ engineers
T__T
Anyway, 1 hour, 15 minutes, and I'm out of here
is that good?
12:36
C++
Gratz on the new job though
Bueno! Destroy them from within!
C++ is great performance-wise, but a hell to program
nah, not with the newer versions IMO
No no I didn't apply for that job
12:37
I literally have no idea about C++
Doesnt matter, take a weekend and learn it :P
Just imagine C# with RAII
One day I'll get into it, but so far every time I've tried to snitch a company course for C++ thye told me I'd have to apply it to something or it's not covered, so..
(And pointer, but fuck pointers)
I assume is fairly easy, save the parts when you get close and personal with memory
Right a small tool -> applied for something. Boom.
12:38
The hard part is making is run efficiently
Yeah well
The point is something the company asked me to do
But hey I have no future here
Like today they want me to use a DLL someone at the company made, which I'm not authorised to access the code for, and has no documentation at all
...ask the guy?
He never said they still work there
So I went ahead and decompiled it, there are a lot of calls here and there I don't understand, and a 42KB bitmap assigned bit by bit programatically
!!giphy masterhacker
@Squirrelkiller That didn't make much sense. Use the !!/help command to learn more.
12:40
@Squirrelkiller He told me "You aren't authorised to check the code".
@Squirrelkiller you comming over today or wat?
I asked for docs, "There are no docs on how to use it".
@Squirrel Yeah I think so
12:41
@Hector dont ask for docs then, ask how to use it
I asked what the hell I was supposed to do, "Copy it from different places where they do what you need, and paste it all together"
For the particular example I have to read a Mifare card
What does your company even do
12:42
@RoelvanUden where all fun facts on friday links?
Around 6 I guess, gotta work til 5 today
Then read a different card, and apply a huge set of things.
@HéctorÁlvarez Sounds like lotus script
Among other things, copy data form 1 card to another
There's a cryptographic library that uses keys to encode/decode data, gets permission to read or write certain sectors
So...just read and copy NFC chips?
12:43
But that library has functions along the lines rtwhwnd(int a, __blah bluh bleh)
It's a proprietary protocol, you can't read from the NFC as it comes, you need keys, SAM cards, etc.
hwnd = handle window
I made up that name.
It was metaphorical
that doesnt help at all then
I mean it doesn't have readable access points, they are also obscured.
hwnd is stupid because normal people would say "Window handle"
12:45
I understand you want people to stop eavesdropping on it, but come on when your personnel can't work with it it goes beyond retarded
@Squirrelintraining I grew up.
Actually, scratch that, I'll never do that. I just forgot.
@RoelvanUden NOOOOOOOOOOOOOOO. <INSERT LUKE GIF>
@RoelvanUden Oh OK.
well all this wharrgarbling was about having to use stuff that I really don't want to.
And I would really love working at EA.
Not fan of EA as a publisher, but I bet playing alongside other nerds would be fun.
Also, Crysis 4.
:'<
the 2nd message saved my day :D
I've been staring at the screen for 3 hours and no code has written itself so far.
I don't have an ANY key.
@HéctorÁlvarez "use a DLL"
I can do that
Files.ReadAllText(dll)
12:51
You'd write your own most likely before using this shit
there, used it
@HéctorÁlvarez obviously
also... HP, EA, you dont need to apply for such companies
you can work for a small company
non-international
I already tried, didn't like it
you tried every company?
Unless they allow me to work remote
I want, sorted by importance descending:
1. To do something fun. That means no VB6 crap amonther other stuff.
2. To have a good paycheck.
3. To not be proactively spied upon by IT.
1, search for a job in kotlin
2, sort jobs by paycheck desc
3, uhm... do something
if im looking for job positions atm, people prolly will have suspicions about be though :D
also, im not sure what website would be common to search jobs for in spain
12:57
There are a couple
linkedin works just as fine as any other country
Software Engineer at Utrecht gives me 1178 results
That's an extra, I'd be willing to move abroad for a better job.
ok, not that many on linkedin though
@Squirrelintraining :-P
which is prolly more accurate
831 at linkedin
13:00
BTW if someone around here runs a company and wants a diligent, proactive decision maker that wants to improve every day and conquer the world in .NET instructions, feel free to ask.
here in the netherlands, Java is the top used language set
we want Jaba, no .NET
It probably is too here in Spain, but for each Java position there are 3000 people ready to work minimum wage
out of those 831 jobs, 500+ should be Java
maybe 100 C#
and the others all less known languages
or maybe JS also as a bigger one
In spain there's this kind of propaganda where software developers are lazy asses who spend the whole day talking to the computer using the keyboard.
So people go to college and shit, and they are all "Hah this is so easy! I'll spend all day playing Counter-Strike and hacking the pentagon"
@HéctorÁlvarez Bro, if you want to relocate to another country and you think the Netherlands is cool, look at jobs in Eindhoven. There are literally hundreds of jobs in English multinationals.
13:04
@HéctorÁlvarez i would pay a fair amount to people who play counter-strike and hack the pentagon
except that they have to hack the pentagon before I would pay them
When they realize what it actually is, half of them quit straightforward, about 10% become super nerds, and the rest wonder why the hell did they really waste 5 years at something they didn't like from day 1.
im still at college doing a bachelor degree SE
part-time
@RoelvanUden I don't know the Netherlands, but it sounds cool and @WilliamMariager works there IIRC, it's all good.
in our class, there are 3 people that are just there for a piece of paper
1, me
Ireland
I got the option for the Netherlands though.
13:07
Oh shit, then what was that about the Hague.
one other great guy, kind of older... around 35-40, who is really nice and also very experienced in SE
Ooooh, option.
I'm going to China for a month next week to work there ...
OK I need a job at Ireland.
and an idiot
13:07
Man of the world this guy.
@WilliamMariager RIP
Are there any more of those jobs you have there?
@WilliamMariager is Blizzard in Ireland?
Hey, china? If you se TH000 or Moon, say hi.
Or ni-hao
Or whatever, they won't care really.
I feel an incoming contradiction
13:09
Blizzard is everywhere
@HéctorÁlvarez, My job isn't even in Ireland. :P So no, no more jobs.
I just work out of here while my visa situation is getting sorted.
America hates foreigners ... even if I'm from tiny Denmark.
You're confusing me right now
I know right?
@WilliamMariager haters gotta hate
I work for the US Classic Games team
13:10
and america gotta americaä
But I can't get a visa.
So I work for the team out of Ireland for the time being.
There's a CS location in Ireland, which has a place I could get an office :P
CS location? Like B plant site?
Cyka Blyat, rush Ireland
Classic Gorilla location
CS like customer service
13:13
Condom Shop
Coffee Shop?
I work at the Blizzard Condom Shop ...
oh. Tho I almost play daily on cs_office...
13:13
wait...
I feel so nerdy right now
is a coffee shop a thing outside of the netherlands?
i feel like it is an inside joke
What's a "coffee shop"?
In the Netherlands, coffeeshops are establishments where the sale of cannabis for personal consumption by the public is tolerated by the local authorities. Under the drug policy of the Netherlands, the sale of cannabis products in small quantities is allowed by licensed coffeeshops. The majority of these also serve drinks and food. Coffeeshops are not allowed to serve alcohol or other drugs, and risk closure if they are found to be selling soft drugs to minors, hard drugs or selling alcohol. The idea of licensing the sale of cannabis was introduced in the 1970s for the explicit purpose of keeping...
considering it explicitly states "In the Netherlands,", I suppose that it is a netherlands thingy
It should definitely inherit from a generic coffeeshop abstract class
13:16
interface!
think about loose coupling
> In 2008, the Vereniging van Nederlandse Gemeenten (VNG, the organisation of Dutch municipalities) organised a wiettop ("weed summit",
wiettop?
> I am your father, Wietlol!
- Wiettop
> NOOOOOOOOOOOOOOOOOOOOO0000000000000ooooooooooooooooooooo!!!!!!
- Wietlol
You are the son of weed summit.
I hope you are high as expectations
13:18
i am not high, but i make people high
That's why the green cate?
not really
my name is not related to weed
Unfortunately.
my name originated from my random name generated I used when playing Maplestory
which was "Karakirewiet"
Karakirewiet shindeiru.
13:19
In an MVC project, I have the following code to create the logout button.
`using (Html.BeginForm("LogOff", "Account", FormMethod.Post, new { id = "logoutForm", @class = "navbar-right logoutForm" })) {
@Html.AntiForgeryToken()
<a href="javascript:document.getElementById('logoutForm').submit()">Log off</a>
}`

It's putting "Account/LogOff" in the ReturnUrl when it sends me back to the login page. Thing is, the breakpoint in Account/LogOff isn't even getting hit.
people thought it was too long and named me "Wietlol" instead (made by a brittish guy)
name remained
Maplestory didnt
nor the guy
@Hypersapien Why did you use razor and then code an HTML button?
The coded HTML button was actually part of the default Visual Studio MVC project
@Wietlol I smiled to that.
Well then, maybe the JS isn't working?
Call the function from the console
@Hypersapien you should stop using breaks at some point
13:22
20 minutes and I'm outta 'ere!
I've done nothing at all today
Except
try to decompile a DLL and understand it
@HéctorÁlvarez wow. Seems interesting
Nooo you broke it!
13:24
What are you guys doing?
It was one of the best clickbaits ever
Spamming spaces
@HéctorÁlvarez if you are given no information of how to use something, you are given a very compelling reason not to use it
@WilliamMariager aside from procrastinating after a defeat by binary nonsense?
13:25
Yes ... aside from that ...
@HéctorÁlvarez Don't see how taht could ever work.
@WilliamMariager i am fixing bugs
some colleague said they wanted X
I made X
now they complain that X happens
We just sent out a hotfix for patch 1.30 yesterday
because they actually wanted Y
1.30 accidentally broke a ton of maps ...
13:26
how come?
@Wietlol This company doesn't stop to reason, plus the guy who asked me to copy what's currently working clearly doesn't give 2 shits.
@WilliamMariager Only the maps?
also... we are experiencing tons of issues on our dev environment
Releasing 1.30a is now mainstream
we wanted to switch from an EC2 SQL server to RDS stuff
There was some weird thing where custom abilities that had non-standard targets would crash.
13:28
so, they made a copy of all our dev environment databases
Like, in DotA, they abuse abilities to be able to double-click items.
@ntohl No, it's not. I did because nobody ever cared to make a doc on how to use it internally and they keep that code locked away from most people, dunno why.
and now, we have 2 databases for everything on our dev environment
So you'd have an item that fires a firebolt, but it could also target the item itself in your inventory.
and half of our applications work with the old ones and half work with the new ones
13:29
This used to work but in 1.30 it broke.
But in 1.30 hotfix it works again. :P
Well, when I saw the PTR mess I knew we were in for some huge crap
Building stuff purges the action queue at the end of the construction, upgrades not applied if buildings made prior to research complete, certain upgrades not sticking together.
Like Vorpal blades reduce the damage of glaives by 15 (to the pre-patch value)
Then again, as I predicted they just slaughtered the game a bit. The changes were in the right direction, but really bad.
@WilliamMariager so... how come?
Who knows. But now it's fixed. :P
13:32
i want to know
knowing things is interesting
Well, I just explained the issue :P
Can't go into details about the actual implementations obviously. :P
I always @WilliamMariager to be the guy who weds people.
Ruuning around in a robe, picking 2 people and will and then weds them.

William - the Marriager!
yes, but I want you to explain the cause
It's what I do @Squirrelintraining
in Java, May 9 at 17:15, by Wietlol
note to self, stop having knowledge
13:34
Software Engineer and Mariager
Well, having an item being able to do 2 different things at once isn't easy, you have to code some triggers and shit, and trick the game by telling it that if you click a second time it shouldn't activate the targeted ability, but rather activate the other one.
I dont think that is how it works though
So if there are any changes like cough a missing doodad file cough you'd be targeting a null, which would crash it all.
a missing doodad file as in a model?
13:37
for those who didn't catch the coughing, there were missing files in 1.30
or texture?
those should be replaced by default ones
IDK what that file had in it, if it's either or both at the same time.
maybe it was a missing mpq file
Yeah, but if it's not in memory and you run a custom function it throws an exception at runtime.
go to the blizzard classic forums general discussions patch notes for 1.30, some modder caught a few errors, including missing files.
Then again
I could be very wrong.
Or this might not even be related.
Anyway
I'm out, gonna get home and give NE another try
But so far rip NE
and UD
NE?
UD?
13:40
night elf
Night Elf: NE
Undead: UD
Human: HU
Orc: ...orc
some say OC
But eh.
because of consistency?
Apparently, yes
Night Elf = NE
Undead = U
Human = H
Orc = ...orc
13:41
Then again, Orc has orcs, tauren and trolls
OC = Original Character, a very common phrase among internet artists, so probably didn't want to mix it up
@MadaraUchiha im not sure if that is sarcastic
OC = Original Content
Human have humans, high elves, blood elves, gnomes, dwarves and probably something else.
13:43
OG = Original Gent
@Wietlol Hmm, yeah, probably the more well known of the two :D
Said about people you respect dearly
> Orange County
"I play human, but I only play mass casters, which is all elves..."
13:43
LMAO
Kek, time for me to go
> Of Course
well, of course
see you around.
cya?
@Squirrelkiller I really tried to get back to DotA2 but it's grow so much that it really makes me want to quit it
@Hector just have some fun in turbo mode, you'll be back in no time :D
13:50
Well, im off for today. Have a good weekend folks!
also, waiting for a 3rd party to add our servers to their whitelists
they did it monday
which didnt work
they did it again tuesday, which didnt work
they did it again tuesday evening, which didnt work
and they did it again wednesday evening, which didnt work either
but they did it now again... and need a release
i mean like... how complex is that frigging whitelist?
advice needed - removing duplicate objects from a list based on some combination of properties (concatenated into a string key) - 1) add them to a dictionary<string, object> and reject those where key already exists 2) use linq Distinct with a custom comparer
currently I'm using the Dictionary approach but was wondering if the linq way was any better
14:05
better how?
I don't know
readability, maintainability, memory consumption, cpu performance?
there are many ways something can be better
the latter I guess
the latter two
I mean I'd have to just profile it but maybe I'm looking to see if you guys think the first way - using Dictionary is an 'OK' way to do it
14:07
other than that, you can try it yourself
depends on your use case
well does Distinct offer the ability to give you the rejected items?
do you require a dictionary later on? maybe dictionary is better. otherwise distinct might suffice
I think I'm just overthinking this
@Default that looks so lazy
hehe
but it works
14:17
In an MVC project, I have a form submitting with the 'action' pointing to a specific server method, but it looks like that method is never getting hit. I'm not sure what I'm doing wrong.
Form:
using (Html.BeginForm("LogOff", "Account", FormMethod.Post, new { id = "logoutForm", @class = "navbar-right" })) {
    @Html.AntiForgeryToken()
    <a href="javascript:document.getElementById('logoutForm').submit()">Log off</a>
}
method:
[HttpPost]
[ValidateAntiForgeryToken]
public ActionResult LogOff() {
    AuthenticationManager.SignOut(DefaultAuthenticationTypes.ApplicationCookie);
    Session.Abandon();
    return RedirectToAction("Login", "Account", new { returnUrl = "" });
}
14:54
Have a nice weekend guys :) lots of ♥
if that's friday again...
A Squirrel in training can never be trusted.
oo a video
lets watch
@Hypersapien have you made sure that the form actually gets the id you specified? have you checked the page's html (right-click -> view-source) to make sure it's correct?
14:58
@MadaraUchiha MAGNIFICENT. I needed this.
15:09
How should I catch a 404 on request.GetHttpResponseAsync ? Just put a try/catch around and handle the webexception?
Nah, you need a net.
I've got this now.
Small mesh
WHat kinda net? because I have a dotnet handy.
@M.Aroosi <form class="navbar-right" id="logoutForm" action="/Account/LogOff" method="post">
15:27
Anyway, time to go home visit the other Squirrel now, have a nice weekend everyone, don't forget to drink enough, see you as soon as I'm back because I can't code properly without you!
15:54
How do I open another wpf window so I can use both at once, side by side?
@Squirrelkiller Window.Show()
Oh, nice. Haven't done that for some time, and just remember lots of difficulties with using another window in wpf.
 
1 hour later…
17:14
"lots of difficulties" :P
You probably used ShowDialog which is the modal version of Show.
17:38
How to make a pie chart if you are missing data:
are android questions allowed here
do you think we would be fully capable in answering your question?
I think so!
Basically im trying to use the google star map by running this intent:

Intent i = new Intent(Intent.ACTION_SEARCH); i.setPackage("com.google.android.stardroid"); i.putExtra(SearchManager.QUERY, "mars");
startActivity(i);

But I am getting the error "No Activity found to handle intent"
The mention of "think" tells me you are not sure about your answer, but the exclamation mark (!) counters your subtle suggestion and tells me you are fully confident in the capabilities of the C# users.
That is a really android specific question, you might find a relatable answer in the android chatroom.
Ok, thanks!
17:46
You could try to remove all google star map related things to see if that has anything to do with your issue to cross out various causes and minimalize the scope of your endeavour.
I will try that, thanks!
18:04
@WilliamMariager
> Mouse cursor is on point
-_-
18:58
well, they aren't wrong

« first day (2855 days earlier)      last day (2319 days later) »