« first day (1914 days earlier)      last day (3225 days later) » 

00:00
@HelkaHomba But wouldn't the length of the number be so much more useful?
10/10 best youtube video I promise not the rick astley vevo, rick rolled, etc video.
Hmm...I'm thinking about having a 6pack operator instead of abs...
8
@CᴏɴᴏʀO'Bʀɪᴇɴ Maybe, but then an optional base arg seems necessary
@El'endiaStarman 0/10 too corny
00:00
@El'endiaStarman I'd love a 6 pack
sighs and stars
@CᴏɴᴏʀO'Bʀɪᴇɴ ikr
@El'endiaStarman that is too much soda. I'll stick with a 4 pack
@HelkaHomba it could have a left argument
BAI for the night maybe, hopefully, just BAI ALREADY!
@EasterlyIrk bai
what should reverse do a numbers?
00:02
@EasterlyIrk Are you guys secretly advertising drinkbai.com ?
@HelkaHomba oh shit, you just blew our cover
@HelkaHomba yes, that's my uncle Bae's company No
They do seems to have an eccentric ad campaign
@Downgoat You could make it reverse the number's representation, and again, you'd have to provide an optional base argument.
00:04
nah
As a lang maker, I would overload as much as makes sense.
Say, what do you guys think of storing a number's base with it?
(How) Can I tell git to source a file other than .gitconfig when it runs?
@HelkaHomba no
@El'endiaStarman That's not a bad idea... is it, @Downgoat?
00:08
@Downgoat the same thing the challenge says to do
like reverse continous non-zero sections
@CᴏɴᴏʀO'Bʀɪᴇɴ What should the base be of the result of adding two numbers in different bases?
@El'endiaStarman We've had this conversation before, I think >_>
Yeah, feels like it.
Apr 11 at 17:44, by Cᴏɴᴏʀ O'Bʀɪᴇɴ
9 mins ago, by Cᴏɴᴏʀ O'Bʀɪᴇɴ
How should adding two numbers in different bases react?
Apr 11 at 17:45, by El'endia Starman
@CᴏɴᴏʀO'Bʀɪᴇɴ Add their values and output in either the first or second base.
Apr 11 at 17:45, by Solver
@CᴏɴᴏʀO'Bʀɪᴇɴ convert them and output as the first number's base
00:10
Haha, so we have.
Add the values and output in base (b1+b2)/2.
What? It's elegant or something >_>
That'd be problematic if you add a binary and ternary number.
How do you write out a base 2.5 number?
00:11
@El'endiaStarman cry.
then round down
Fractional bases are a thing.
Not a great thing, but a thing.
what about base 0.5+1.5i and base 3j+4h-i+3
00:12
Oh, bases can be practically anything. I'm just thinking about how to display the representation.
This is weird. I've specified the path to the directory with -L and I have -llibnacl_spawn but clang still says it can't find it.
Will being a static library affect that? Do I need another option?
@El'endiaStarman How are they represented now? Do it like that, but with a .5 :P
@Geobits Like 1.51.51.51.51.5?
Is the last "digit" a 1.5 or a 5?
I have an old Python program that converts between bases, and you can use :123: to denote a "digit" with the value 123.
00:15
I'm not sure I understand the problem
the kitten chooses the human
This is frustrating. I have all the libraries in order but clang is pretending they aren't there
@orlp You know C++ right? Do I need to specify something special to the linker when I'm dealing with static libraries (.a)?
@quartata depends on the library
@orlp +2 for awww -1 for gifv
00:20
$NACL_SDK/toolchain/linux_pnacl/bin/pnacl-clang++ akoya.cpp -I$NACL_SDK/include/ -I$WEB_PORTS/out/build/perl/perl-5.20.2/ -L$NACL_SDK/lib/pnacl/Release/ -L$WEB_PORTS/out/build/perl/perl-5.20.2/ -L$WEB_PORTS/out/build/nacl-spawn/build_pnacl/ -llibnacl_spawn -lppapi_cpp -lppapi -lperl -o akoya.pexe -O2
This is the command.
@Geobits How do you display a number with "digits" that have decimals in a way that doesn't make any potential actual decimal part ambiguous?
@quartata try adding -static-libstdc++ -static-libgcc -static
at the front
I guess one way to do it could be to use a different decimal symbol for the "digits".
Yea, you could use commas and dots.
@orlp What does -static do?
00:22
But , and ' have other meanings, so you couldn't copy-paste it.
@quartata well, sometimes -l libraries have both a static and a dynamic version
Or double dots, but ew.
with the same name
Plus, Pytek also has a meaning for double dots.
@El'endiaStarman let's keep it appropriate for children here
00:23
@orlp You're the one making it inappropriate.
So these limitations are the language's fault, not mine :P
PNaCl has its own newlib it automagically static links against I think. I'll try the -static but I'm not sure why that woud cause a -llibnacl_spawn not found error
0
A: Sandbox for Proposed Challenges

The_Basset_HoundChopsticks king-of-the-hill Overview (basically the wiki page) Chopsticks is a game played with two hands and two people. Both start with one finger out on each hand, the finger count. On a player's turn, they must choose one of their opponent's hands. That opponent adds the player's finger co...

@Geobits Haha, well, double dots also has a language-independent problem: 1..5 could be one digit with the value of 1.5, or it could mean two digits where the first has the value of 1 and the second has the value of 0.5.
@quartata well, as I said, it depends on the library
00:25
Err, actually, that would be 1...5, right? Which is horrible.
some libraries make static libs available under a different name
Yea, I do like the comma/dot better. That's why I ew'd at double dots when I mentioned it.
e.g. -lsomelib_s or -lsomelib_static
or some default to static, and have a -lsomelib_dll or smt
Lots of languages (and math too) have a meaning for commas as separators in a list.
If you guys want to make it boring, though, just stay with integer bases ;)
00:27
@Geobits fuck it, let's go straight to transcendental quaternion bases
18 mins ago, by Cᴏɴᴏʀ O'Bʀɪᴇɴ
what about base 0.5+1.5i and base 3j+4h-i+3
much better
CheddarArrayToken {
  Code: 'avocad.juic().but.how.juic()',
  Index: 12,
  _Tokens: [],
  Errored: true }
D:
avocad juic errored
Better yet, if you want to add numbers from two different bases, add the values and output in that base.
@Geobits I hope this is a joke
I'm thinking that one option might be something like num{2+i}[1 1.5 i].
00:33
@Downgoat I would never make jokes about such a serious thing.
@Geobits ok, good. I thought you were serious for a second
I am. It would make the function very simple.
Technically correct. However...
> 10 + 10
10
Usability schmusability.
It could work if you also outputted the base.
00:35
Technically correct is the best kind of correct anyway.
@AshwinGupta mind logging the array?
@Maltysen mind logging?
what you mean?
@AshwinGupta You may have an issue with updating the array you're looping through.
@AshwinGupta [would you] mind logging the array
00:36
I'd post this to SO but I doubt anyone would answer
Oh yeah duh
sorry xD
sure
@AshwinGupta use the debugger it is 1000000x better than console.logging
Don't think a lot of people use pNaCl
@Downgoat Meh, more like 2x, if that.
2
00:37
@Downgoat i doubt he can debug at 60 fps
@Downgoat does chrome have a built in deubgger?
or do i have to download one?
@AshwinGupta yeah
@AshwinGupta yes, but ^^^^
@Maltysen of course you can
00:38
wait I'm give logging the arary shot first
better than console.logging 60 ftps
Are you modifying the array while looping over it?
oh wait wt heck am I doing...
I didn't even push my code yet to the repo
how could you guys help me... when the codes not there
xD
K code is pushed, let me try logging
00:40
@orlp what like for a job or something? I say resign
@Geobits I was thinking that too.
It looks like it from a glance at the code.
@Geobits yeafh
@Geobits I was thinking that from his description of the problem.
@Downgoat little problem, using the debugger on the aliens arary doesn't say what # alien is in there, it just says the obj name, Alien.
00:41
@El'endiaStarman Yea, I looked at the code just after he pushed it to confirm ;)
@AshwinGupta use the console to see the index
@AshwinGupta .map(function(i){i.number})
or whatever the code is for you
you should also be able to mouse over a variable to see it's value
@Geobits Ahhh, gotcha. :)
00:42
ty
@Ashwin You're removing the aliens while looping over them, so the indices keep shifting. You're skipping one every time you remove one.
;_; I broke everything
@Geobits I literally was just about to say that LOL
@Downgoat O NO WE'RE ALL GONNA DIE
I figured it out like a second ago.
00:42
I see I missed more PHP hate
@El'endiaStarman SHIT, I TRI CALL 911 BUT CAN'T WITH HOOVES
I realized after clicking through the array, the indexes don't match the stored index.
Ty geo lol :D
Ok, shoot now what should I do =/
@AshwinGupta js protip: deleting things from an array, use filter
no need to screw around with indices or splicing
No thanks to me? ;_;
6 mins ago, by El'endia Starman
@AshwinGupta You may have an issue with updating the array you're looping through.
00:43
@QPaysTaxes your unicorn-ness is fake so it doesn't count as part of everything
@El'endiaStarman ty :D
and too Malt
and downgoat
@AshwinGupta aliens=aliens.filter(function(i){i!=alienIwantToKill})
@QPaysTaxes What have I started??
Oh. I see.
Well at least my horn is real.
00:45
@Maltysen yeah looking at w3 schools, so basically filter shows everything in the paremeter and removes everything else?
@Geobits a hallucination that we're graduating
@AshwinGupta filter keeps all things that pass the test
@Maltysen This latest one is very convincing, if I do say so myself.
@Maltysen got you perfect :D
@AshwinGupta ಠ___________________________________________ಠ
@Downgoat what, w3?
00:46
no w3 fools schools
@Downgoat ?
@Downgoat html5rocks.com/en is great
@AshwinGupta please never use w3schools, it is worse than jquerry
=/ ok lol
So.... still better than js?
2
00:47
y?
@Geobits roasted*
w3schools is great
@Geobits ಠ_ಠ
@Downgoat its not bad for quickly checking the arg list for something
@Maltysen yes it is
you can use MDN for that and it is better
w3schools is worse than PHP
@Downgoat I generally just use google and don't usually actually open up any of the entries. google knows that i only care about the arg list
<3 google
00:49
MDN is the best
google is great like that
I do love it when I can see my answer in the little blurbs that Google provides.
00:49
My google has gotten to the point where I rarely have to type the language any more. It just knows.
@Maltysen I don't understand the parameter i, what is passed to i?
Each element of the array?
is that done by default?
Ah got it
@Downgoat Can you give us some concrete examples of why w3schools is so bad? People always link to w3fools.com but it only gives vague reasoning
2
ty again
00:50
@El'endiaStarman they are called oneboxes
@AshwinGupta actually (element, index, entire array)
but you only care about the element
@Maltysen oh
hmm
I've found a new bug after solving the last one, of course...
@HelkaHomba because we have mdn.
1. There are many errors in their documentation.
2. They've chosen a name that misleads people into thinking they're affiliated with the W3C.
3. Far superior sources exist:
- Mozilla Developer Network
- WebPlatform.org
- HTML5 Rocks
- SitePoint
There's just no reason for people to use W3Schools beyond it often being at the top of search results.
@AshwinGupta programming in a nutshell
In my experience w3schools is great as an HTML quick ref
@Downgoat I mean bad code examples, or false information found there
> There's just no reason for people to use W3Schools beyond it often being at the top of search results.
@QPaysTaxes yeah, it's horrible
Does anyone here do vex robotics?
@Downgoat I often see MDN at the top nowadays
like for school team?
00:53
@HelkaHomba I agree with you that w3schools is not necessarily bad, but I do wish it would go into more detail <s>some</s> almost all of the time. For most cases where you need to know about a specific topic, you can almost certainly only find the broad topic.
The name thing is I guess objective, but point 3 is subjective at best, unless given good examples for point 1.
@CᴏɴᴏʀO'Bʀɪᴇɴ yeah, that makes me feel like there is a glint of hope for web development
@AshwinGupta i do
starstruck is soooooooooooo much better than NBN
WE CAN EXPAND OUT OF 18!
I'm going to stop wasting time on the internet and go play some Legend of Zelda: A Link to the Past. On My rpi of course. Illegaly
@GamrCorps Isn't that what it's designed for, though? I don't get the impression that they're trying to be the end-all stop for the details.
00:54
@Downgoat That sidesteps my question entirely
@epicTCK Have you played A Link Between Worlds?
@Maltysen I 100% AGREE! NBN is stupid because, 1)can't expand past 18, 2)autonomous is pointless, no time to do anything but shoot preloads, 3)only valid strategy is a corner shooter that does nothing but sit in the same spot all game and shoot preloads
@Geobits That is true, but just a little more detail would be nice sometimes.
@Maltysen the best was skyrise tho in 2014 :D
00:55
@AshwinGupta totally agree with you. so many viable options
@CᴏɴᴏʀO'Bʀɪᴇɴ even worse, they use inline JavaScript, and inline styles
Our skyrise bot was decent, we could get consistantly 6-7 skyrise sections then go and stack a few cubes on it.
Cheddar:T_REPL> avocad
━━ STDOUT ━━
¯\_(ツ)_/¯
@AshwinGupta did you see worlds tho? people were clearing the fields then emptying their bag from the corner in the last 30 secs
00:56
@Downgoat ewwwww
OoT is objectively the best
@CᴏɴᴏʀO'Bʀɪᴇɴ That is a lamp, if you're talking to any sort of engineer :P
@Geobits But the table isn't.
@Maltysen I didn't see the worlds =/ my teacher told my friends when it was when I was not in the room. LOL
Sure it is. I love lamp.
00:56
@Maltysen thats crazy =/
@AshwinGupta we won states with skyrise ^.^ and this time we didn't even make it to states ¯\_(ツ)_/¯
Idea: lets all get together to make a huge documentation site for all of our golfing languages that is even better than w3schools, MSDN, etc.
@Maltysen you guys must have been really good. Our teams are crap, our coaches don't know anything, I'm the only person in the entire class who knows any programming...
@GamrCorps Stack Overflow Documentation.
@El'endiaStarman @>@
00:57
Errr, golfing languages? Nevermind... :P
@AshwinGupta same with the programming part. we used to have seniors who were good tho
And we could call it Golfing: Our Documentation.
@Maltysen I'm in middle school so we had no expierence people lol
@Geobits and we can make it as short as possible
Oh sure, that's a given :)
00:58
I just REALLY hope I make the team next year =/, my high school is expecting like 60 applicants and only 10 get on.
I wish my school had programming competitions :(
@AshwinGupta you can always start your own team, right?
@CᴏɴᴏʀO'Bʀɪᴇɴ robotics
@CᴏɴᴏʀO'Bʀɪᴇɴ well its not really a progarmming competition, but yeah its cool
00:59
@Maltysen what state are you in?

« first day (1914 days earlier)      last day (3225 days later) »