« first day (1446 days earlier)      last day (2132 days later) » 

12:00 AM
RELOAD!
[rubberduck-vba/Rubberduck] 3 opened issues. 9 issue comments.
[Zomis/Server2] 1 opened issue.
 
@Phrancis I think it qualifies under those standards.
And, goodnight all!
 
Home time for me
 
12:46 AM
@IvenBach I feel comfortable doing it through the webapp or through VS. But at the end of the day Id like to be far better with command line than i am. I still look up everything.
@FreezePhoenix the problem with tables is that people were using it ubiquitously for formatting.
 
@bruglesco I almost always use git on the command line, and still have to look up everything ;)
 
1:09 AM
@Phrancis that very much makes me feel better.
 
I know add, commit, push, pull, everything else I have to look up :)
 
I need to get more comfortable with the command line in general though.
 
1:26 AM
The command line used to scare me till I figured out how to read documentation for it.
 
@IvenBach link?
 
Git: https://git-scm.com/book/en/v2/Getting-Started-The-Command-Line
Windows cmd: http://simplyadvanced.net/blog/cheat-sheet-for-windows-command-prompt/
Powershell: http://ramblingcookiemonster.github.io/images/Cheat-Sheets/powershell-basic-cheat-sheet2.pdf
 
@Phrancis thanks. I prolly shoulda googled. Im more self sufficient than that.
 
1:41 AM
I find Windows cmd particularly useful for closing Chrome when I have a million tabs open :)
 
@Phrancis was it you that called Powershell cmd with colors?
 
@bruglesco huh?
 
PowerShell is blue
 
Oh, yeah
 
Im not sure why they are both on the same machine. Do they function differently at all?
 
1:44 AM
@bruglesco PowerShell can run regular Windows commands, but it also has an API/language all its own that's really powerful
 
See cmd with color!
@Phrancis so it's an extension basically
Thats reasonable
 
You could say that
Powershell has COM interoperability, so you can use it to control Windows programs (IE, Excel, etc.)
It's also much more scriptable than the Windows shell
5
Q: Create release package from git tag with Powershell

Josh KnutsonIn my deployment I need to generate a zip file from a git repo. I have the basic work done with how to pull the latest tag and create the zip file. I ended wanting to update the files that are pulled down to have the last modified of the last commit instead of when I just checked them out. # Set...

(just an example)
 
2:01 AM
My favorite time of the workday! Log off my phone, taskkill Chrome, and go home!
 
 
1 hour later…
3:26 AM
ohh it's my birthday in half hour
 
Happy birthday @bruglesco!
 
Thanks!
 
4:31 AM
GN
 
 
7 hours later…
11:36 AM
@bruglesco I can't give you a proper birthday greeting until I know how old you become today.
@FreezePhoenix Looks fine, except the fact that that board is already invalid.
 
12:08 PM
@SimonForsberg That was to demonstrate what invalid spaces are
 
@FreezePhoenix Oh right, I didn't realize that's why they had red color.
I'm not sarcastic actually.
I just thought "Okay, so 1s are red and 2s are red and the rest are white"
 
Oh :P
Have you played sudoku before? Well, that is both a validator, and later a solver.
 
@FreezePhoenix I have, yes.
 
Writing a logic to solve it is gonna be very fun :)
[...arr] Clone an array so you don' modify the original array when you use splice methods
Helped a lot of things involving validation
 
12:28 PM
[FreezePhoenix/XtraUtils] FreezePhoenix pushed commit 3328e41f to master: Updated docs some
 
69
Q: SudokuSharp Solver with advanced features

Simon ForsbergEven though it's the first time I'm writing something this "big", it feels like I know C# quite well (it is very similar to Java after all). It's been nice to learn LINQ also and I am very impressed by the features (which is just like Steams in Java 8), and perhaps I have overused it here (if it'...

It is indeed.
(You should probably not pay too much attention to the code there yet)
 
:P I already know all the logic - my validation works already, I just have to implement it
 
@FreezePhoenix Your validation maybe, but your solver?
And I guess that your solver does not support this:
 
No, my solver does not support images
2
@SimonForsberg The solver is just recursive validation, my friend. Figure out what numbers can go where, if there is only one number, enter it.
 
@FreezePhoenix I was more thinking of a Samurai Sudoku...
I also do not have a solver that solves images.
 
12:36 PM
@SimonForsberg See? I didn't look at your code :P
 
@FreezePhoenix And if there is no obvious place for where only one number can go?
 
@SimonForsberg It checks each square one by one
 
13
A: Weekend Challenge #3

Mathieu GuindonSudoku solver Please tag submissions with sudoku. Given a Sudoku puzzle as input, find its solution (or determine that it is unsolvable or ambiguous). The program must take as input a puzzle in the form of a 9×9 grid of digits and dots (the dots representing blank squares in the puzzle). For e...

The example puzzle there needs some "guessing" in order to be solved
... 84. ..9
..1 ... ..5
8.. .21 46.

7.8 ... .9.
... ... ...
.5. ... 3.1

.24 91. ..7
9.. ... 5..
3.. .84 ...
 
12:53 PM
@SimonForsberg 36
@FreezePhoenix i assumed the whites were the presets and the reds were user added.
 
@bruglesco Happy Birthday :) I hope you will have nice day :)
Good morning everyone
 
@Marc-Andre thank you and good morning
 
 
3 hours later…
3:52 PM
@bruglesco Once I figured out how to read the documentation it got a lot easier.
 
4:08 PM
@bruglesco Interesting
 
@FreezePhoenix red makes more sense as an error so I clearly misread. But distinguishing between the initial puzzle and user added values is a good idea.
 
Initial puzzle:
:P
 
that's not a puzzle. That can literally be every single sudoku variation
 
You enter the puzzle, and it's supposed to solve it.
 
ahh.
 
4:20 PM
hey
 
4:40 PM
hey
 
5:33 PM
 
A regex inside of a string template. Just what I needed.
 
5:49 PM
@Duga A lot of stars lately
@SimonForsberg do you have stats on would be using the game? Like connections on the site ?
 
@Marc-Andre I wonder if there were any while @Duga was down
 
@Marc-Andre He could set up a google webmaster account and find out if sites are linking to it
@Duga So many forks
 
hey
 
hey
 
I wonder why the xkcd feed isn't working anymore here
 
6:02 PM
He hasn't a single non-forked repo!
 
In fact, seems like commitstrip hasn't been working either...?
 
your right
I haven't seen any of the comics in some time
@Phrancis That one is good
 
Last commitstrip was July 5, last xkcd was June 15
 
I just read that, but not sure I fully understand it.
 
Phrancis has made a change to the feeds posted into this room
 
6:08 PM
Is it just using the drill as a placebo/placeholder?
 
re-added xkcd, for some reason it was not there
 
Anyone still interested in feeds for tags and/or ?
@SimonForsberg ^^
 
6:20 PM
playing catch-up
 
Dunno why I help people like this: github.com/fabiocaccamo/utils.js/pull/1
 
@FreezePhoenix Well, at least it has some recent activity
 
13 mins ago, by FreezePhoenix
https://www.npmjs.com/package/@fabiocaccamo/utils.js o.O Published 4 hours ago...
Had to follow links all over the place
 
 
2 hours later…
8:24 PM
@Marc-Andre Which game? Cardshifter? Ur? Minesweeper?
@Marc-Andre Oh, Cardshifter...
2018-07-16 18:42:21.145	asd4
2018-07-16 18:42:15.805	asd
2018-07-16 18:40:43.037	asd
2018-07-16 14:34:54.719	Autyzm
2018-07-16 08:11:59.536	ornereu
2018-07-16 04:42:27.839	shiro
2018-07-11 14:43:18.066	test12345
2018-07-09 15:47:05.230	ajinkya
2018-07-07 20:21:15.583	FreezePhoenix
2018-07-03 17:55:05.608	123456
2018-07-03 01:05:42.795	ashy
2018-07-02 16:04:08.153	Ash
2018-06-26 13:51:58.652	asdasdasd
2018-06-23 15:14:57.149	Phrancis
2018-06-23 15:14:45.824	Zomis
@Marc-Andre ^^ recent users connected to Cardshifter
92 actions were made two days ago.
@Phrancis Yes. You think they're too noisy?
@Feeds Didn't we already have XKCD in here?
 
@SimonForsberg No, was just wondering since I was looking at the feeds
 
8:39 PM
I just ordered this, hoping it won't be junk
The regular headphone socket on my phone is worn out and no longer working, which makes me sad because I have to listen to podcasts on the speaker
 
 
1 hour later…
10:03 PM
@SimonForsberg We did. Then we didn't, and now we do
 
@bruglesco 36 is a quadratic number. Next quadratic number you become is 49. It is also a triangular number, your next triangular number is 45. Next number you turn that is both triangular and quadratic is.... none which you will experience during your lifetime, if there is any more. 36 is the atomic number for Krypton. Happy Birthday!
 
@bruglesco Happy birthday!
 
Krypton should not be confused with Kryptonite.
 
10:26 PM
Whatcha guys think should be a placeholder for an argument?
Like 'I give you <placeholder> because i want to fill this argument in later'
 
@SimonForsberg That is a thorough and interesting birthday greeting. Thank you!
 
@FreezePhoenix Um... "placeholder" seems like a good name for a placeholder...
 
@FreezePhoenix thank you too.
@Phrancis agreed
 
@Phrancis So... func.template('first arg', 'placeholder', 'third arg')
 
@FreezePhoenix Not sure exactly what you're doing, but it seems as good a name as any
 
10:37 PM
@Phrancis I'm trying to make it so you can call a remapped version of a function that has placeholders you can fill in
 
'second arg' doesnt work?
 
What if 'second arg' isn't constant?
But the others are?
Say,
'first arg' is always 1.
But 'second arg' may be 2 or 3.
And 'third arg' is always 4.
 
func.template(1, 'variable arg', 4) maybe? :P
 
dont use magic numbers
 
@bruglesco Oh shush :P
I have the logic down... just how to get from:
 
10:48 PM
It's hard to give advice out of context.
 
Well lemme give you some context!
OH NOW I GOT IT
 
Nice
 
Ok, lemme report back as soon as I have it done
 
11:01 PM
Got it!
function j(a, b, c) { return `${a}+${b}+${c}` }
Function.template(j, null, 1, '_PH_', 2)(3)
// 1+3+2
 
WTF
 
Hacky
 
That's an understatement lol
 
[FreezePhoenix/XtraUtils] FreezePhoenix pushed commit a94ecef4 to master: Lots of stuff, including
 
BASH I SWEAR
pi@balance:~/Downloads/XtraUtils $ git commit -m "Lots of stuff, including `Function.template`"
bash: Function.template: command not found
[master a94ecef] Lots of stuff, including
 34 files changed, 2899 insertions(+), 1098 deletions(-)
And run the above code, and it works!
It was only this much:
  XtraUtils.Function.addMethod('template', (function(){
    const _toString = Object.prototype.toString,
      _isNumber = val => typeof val === 'number',
      _reOrg=(c,a,d)=>{let b=[...c];a=[...a];d.forEach((c,d)=>{b.splice(c,1,a[d]);a.shift()});b.splice(b.length,0,...a);return b};,
      _regularize=(a)=>{let b=[];if('[object Array]'===_toString.call(a)){return a;}keys(a).filter(_isNumber).forEach((c)=>{b[c]=a[c];});return b;};
    return function template(fn, context=null, ...BoundArgs) {
      let func = fn.bind(context),
@Phrancis Like it?
@Phrancis You think that's hacky check this out:
function j(a,b,c) { return `${a}+${b}+${c}` }
Function.reArg(j, [2, 1, 0])(1,2,3);         //  '3+2+1'
 
11:10 PM
@FreezePhoenix Nice, is the documentation generated from JSDoc or did you type it all out?
 
JSDoc, but I did type it all out. JSDoc just did the html and css
I mean:
/**
 * Creates an array representing the range between two numbers.
 * @param {number} min The lower limit on the range.
 * @param {number} max The upper limit on the range.
 * @param {boolean} [minInclusive=true] Whether to include `min` in the range.
 * @param {boolean} [maxInclusive=true] Whether to include the maximum in the range.
 * @returns {Array.<Number>} The range.
 * @memberof XtraUtils.Array.
 * @example
 * // returns [1, 2, 3, 4]
 * Array.range(1, 4 /*, true, true *&#8205;/);
 *
 * // returns [2, 3, 4]
BTW the code I told you to run only works on the homepage
The reason:
<script src="./scripts/tests.js"></script>
<script src="./scripts/XtraUtils.js"></script>
<script src="./scripts/SealedArray.js"></script>
<script src="./scripts/Vector.js"></script>
<script src="./scripts/Object.js"></script>
<script src="./scripts/Array.js"></script>
<script src="./scripts/Number.js"></script>
<script src="./scripts/Function.js"></script>
<script src="./scripts/String.js"></script>
<script src="./scripts/Testers.js"></script>
@Phrancis By 'type it all out' do you mean hand typed the html?
 
@FreezePhoenix Yes
 
11:28 PM
In that case, I did not 'type it all out'
 
Reading through Array, I have to compliment you on your documentation, and there appear to be a lot of useful things in there!
 
Function looks kinda empty in comparison... lemme update the docs for Function
Also, XtraUtils is user-modifiable, so... you can define your own methods on it!
 
I have a remark to offer on your Number namespace. While gcf and lcm are nice short names, I would care to at least indicate what the acronyms mean in the docs
 
@Phrancis Ah... a link to Wikipedia perhaps also?
 
Perhaps that or an example
Or just the meaning, one can always Google it if they need an explanation
 
11:39 PM
I think Function.flow Should be able to accept an array of contexts...
@Phrancis Done.
Will be added in the next commit
 
Sweet
 
200_success vs. rolfl: 31724 diff. Year: +4166. Quarter: +398. Month: +398. Week: +207. Day: +38.
 
The one part I don't like is this:
function template(fn, context=null, ...BoundArgs) {
 
200_success vs. janos: 27779 diff. Year: +2242. Quarter: -88. Month: -88. Week: +115. Day: +28.
 
I feel like context is in the way...
 

« first day (1446 days earlier)      last day (2132 days later) »