« first day (1315 days earlier)      last day (2700 days later) » 

8:13 PM
3
Q: QuickMergeSort — The power of internal buffering

MorwennAmongst the lesser-known sorting algorithms is the QuickXsort family of algorithms, as described in QuickXsort: Efficient Sorting with n log n - 1.399n +o(n) Comparisons on Average by Stefan Edelkamp and Armin Weiß. This family of sorting algorithms tries to exploit the technique of internal buff...

6
 
I'd star if I could
 
Rsa
 
IWSIIC
 
@skiwi I would star if I could?
 
@EBrown YTIC
 
8:23 PM
@skiwi Yes, that is correct?
 
@EBrown YTIC
 
Dang I'm good
What's curious is that from a protocol standpoint I might have gotten both of those wrong. We never established a baseline for Yes and No, so both of those YTIC messages could have been no's.
 
It could be, correct
Mangling YTIC to a no is more difficult though
 
Yes it is. Lol
 
8:41 PM
@skiwi RSA
 
Wow, I forgot this chatroom was StarOverflow.
9
 
Anyone any idea what to do with this question?
-4
Q: How to do a search and find in user forms for Excel

VicelikeelmSo I am working on doing the inventory for the school shop that I work at. Now my dilemma is that because I have such a large data base to pull from that some information may get put on twice if I am not careful, so what I want to know is there a way in the coding of the user form to do a search ...

It's closed and after closing OP removed the code and made a comment. Now we could roll it back without purpose, it's closed anyway, or we can simply delete it.
Of-course, I don't have deletion privileges unless it's a closed question and downvoted enough, so I'll leave it here in case anyone has the urge to clean-up.
 
9:01 PM
does it matter what we do with it given that it's closed?
I'd just leave it alone tbh
 
9:18 PM
It's something about Linux not approving AMD-driver code in the kernel, only got a Dutch source though
 
@skiwi Without context it's hard to see what's going on. Do you have a Cliff's notes version?
 
@skiwi not necessarily for the wrong reasons, I'd say
 
9:46 PM
@Mast tweakers.net/nieuws/118847/… Might as well share it as you can read it
 
Hahahaha
I can understand why they refused it and why AMD got pissed.
I wonder how it will end though.
If AMD concedes, everybody except AMD wins (and even they will win a bit)
If AMD doesn't concede, this could lead to a whole lot of trouble.
 
Clean Code came a day early.
Let's see if I can't finish my DI book by Christmas.
 
I've heard it's a good book, Clean Code.
 
Yeah, Heslacher and Mat both told me to read it.
 
10:02 PM
0
Q: PHP SignUp and Validation

EgyMMMI have created php signup page and it was working fine until I add Validation, Then I found out that it saves data into database despite wrong info, As if I didn't add Validations. Thanks http://pastebin.com/BUMbUEYC

 
@Hosch250 that's the book I gave Quill during last year's Secret Santa :)
 
@CaptainObvious Broken, and no code.
I've not seen Quill in ages.
BTW, how is your cold going?
 
he was appointed pro-tem mod on another site IIRC. or elected?
@Hosch250 okay-ish
for now
it tends to get worse later in the evening
 
Whoa, YouTube got a CSS stylesheet.
 
anyway, TTQW
 
10:04 PM
@CaptainObvious I was going to VTC, but got ninja'd by 20 seconds.
 
@Mat'sMug Brush your teeth really good. Minty toothpaste helps clear my head out.
 
@Mat'sMug Pro-tem on some language site IIRC.
 
@Hosch250 That makes modifying how it looks a lot easier :-)
@Mat'sMug Go to bed early.
 
Yeah, everything is in the same place, just a new look.
Except for a Restore Classic YouTube button.
 
10:07 PM
@Hosch250 Not what I meant, now it's easier to write a userscript changing the looks.
 
Oh, I see.
I like the old one better. The new one looks like iOS.
 
I honestly hadn't noticed the difference yet.
 
It just changed in the past hour or so.
I know, because I opened it shortly before I left, and it was the old one.
 
> What is What is mystring=(80000000)?Is it a virus?I know it is suppose to make your pc go faster but is it a................
virus?
spyware?
malware?
Is my computer infected?
I shouldn't be laughing so hard, but I can't help myself.
> You can also change the number (80000000) to a higher number so it will speed up your computer even more! Just be careful. If you make the number too high, it could cause glitches on your computer.
The crap people tell each other on the internet.
 
LOL!
 
10:32 PM
I have no clue why my code is doing what it's doing instead of what it's supposed to do.
Interesting.
Monking @forsvarir
 
@Mast A coder's life.
 
Basically, yea.
Although usually I've figured it out by now.
Might be a case of the Friday nightsies.
 
0
Q: Can you have an answer without any code in the question?

forsvarirI was doing some reviewing earlier when I came across this question, which in my view doesn't have sufficient code to constitute a reviewable question. It essentially consists of a data structure short[3][3] and a description of how values can be stored/updated in it. Edward had already left a ...

 
@StackExchange @forsvarir Wrote you an answer. If anything is unclear, feel free to ping.
 
@Mast I guess it teaches eh clean code?
 
10:44 PM
@Mast Thanks, my working assumption is that I'm doing roughly the right thing, I'm just not really sure how much context mods have when handling flags.
 
Hmm... when knowing multiple languages it can become difficult to choose the language to code in
 
@skiwi The reason I learned multiple languages was because every problem had another 'optimal' way of getting solved.
So take that one.
The optimal language for the problem.
And no, ASM is never the optimal language nowadays.
You're doing it wrong.
 
@Mast Programming in ASM probably no, emitting ASM can be
The project I'm trying to decide the language for is the Hearthstone simulator
It's mainly a bunch of logic, likely OOP design but state will be immutable so FP is a possibility, the usual stuff and then there's a part where every card needs to be described
I'm tempted to try C++ as I would also need to know it on the new job but it seems overkill, C# is another good candidate but with my Java experience I can program it faster
 
11:00 PM
Do you want a GUI?
 
Not a priority
 
Irrelevant.
Do you want one or not?
 
I don't know yet
 
Would you like the possibility of a GUI in the future?
 
Maybe
 
11:01 PM
...
Let's assume that's a yes.
 
Also, I would like to dynamically create the cards, but they have to be compiled somewhere down the line because I cannot afford to run them interpreted when dealing with a large amount of board states
 
GUI in C++ isn't fun.
 
I was thinking C++ and Lua might work, but maybe C# and Lua does too
Running the application natively would be a pro, so that's a con for Java
 
You could very well write your simulator in C++. The language is almost perfect for it. Except you never want to write a GUI in C++.
I don't see why you'd need Lua though.
 
I don't want to put the cards details in the source code
 
11:03 PM
@Mast Write your simulator in C++.
If you need a GUI, you can make the C++ think into a library that your C# UI can use.
 
@forsvarir You found a question which got answered which shouldn't have been answered. Yes, that can be confusing at times. Nuke the answer, keep the question closed till it's fixed. If it's fixed, the answer was useless anyway and should've been gone by now.
 
A solution could be JSON, but having a form of cod eavailable in the cards would be a pre
 
You can put the card details in anything you like.
Make it a CSV for all we care.
 
I know that Linq works nicely with XML.
 
Not sure why you'd want something like JSON, that's needlessly complicated for a card IMO.
 
11:05 PM
I don't know how well it works with JSON and CSV.
 
Hmm that's a bit big for chat :/
But the idea is that it's an OnPlay effect that deals 1 damage to all other minions, I need to code that for the card
And Lua is used a lot for game engines, so might be worth it performance-wise
 
Down to one class!
 
Glad it helped. If you'd like some refactoring suggestions, you might want to post this on Code Review as well. — gyre 40 secs ago
 
@Mast And that's why a CSV won't work, if it only had cost/attack/health/rarity then it was easier
 
0
Q: Mysql in container or different VM

Ronak PatelI am running MySQL database on different VM (separate from web server). With docker I can set up LAMP server in one container and MySQL in other. How secure and scalable is this solution?

 
11:13 PM
@CaptainObvious That is not code review
 
I flagged as too broad, but maybe a custom flag would be better.
 
I think the standard "Blatantly Offtopic" offtopic flag works since it's not code review requests at all
 
@skiwi That's just a list? Of Effects, like Battlecry|Splash|1, IIRC the effects are pretty simple and are all very alike
 
@skiwi If you can choose between Lua and C++ and performance is your main problem, you don't need to consider Lua.
 
:34023913 lol
 
11:21 PM
I give up, I'm going to bed.
I'll sort this mess out tomorrow.
 
@Peilonrayz Except there's a ton of exceptions to the rules, because... Blizzard
 
@Mast i could give you some tea if you'd like. Or you can sleep.
 
My wife would probably prefer the latter :-)
Cya!
 
1
Q: Securing a file encryption(ECIES) protocol using Scrypt + Inferno

FrankI'm evaluating the security level of a file encryption app, which implements Scrypt and Inferno, in an ECIES context. The encrypted files are either stored on the user's PC/laptop, either sent with gmail. I must reach a security level appropriate for files containing sensitive data like credit ca...

 
@Mast It's not or it's and
 
11:24 PM
see ya, Mast.
 
Night @Mast
 
@skiwi Is there, I've not played it that much. The biggest card game I played was Yu-Gi-Oh, and it's much simpler than that. :)
 
@Peilonrayz I'm not so sure, hard-coded text seems like a bad idea to me
 
@skiwi I meant them to be ID's and don't think int id's are the best there (They're confusing). I don't remember many that require more than time of activation, effect and a couple of arguments
 
If I were you, I'd do XML.
You can use whatever tags you like.
And .NET has a bunch of methods built in for reading, writing, and parsing it.
 
11:45 PM
I'll still think about it
 
what's wrong with a db?
much more flexible than xml or hardcoded
 

« first day (1315 days earlier)      last day (2700 days later) »