« first day (2110 days earlier)      last day (2737 days later) » 

12:07 AM
-2
Q: Logic circuit structure

Josh BarberNow I have a homework question that isn't quite clear to me. "Construct a finite state machine that accepts a base 2 value entered one bit at a time with the most significant bit first. The machine output is 1 if the number entered so far (i.e. current state) reflects 2 mod 3 else the output is ...

 
57
Q: How can tilting a N64 cartridge cause such subtle glitches?

Jack MWhen the N64 cartridge is tilted in Super Mario 64, it reliably produces glitches such as this. Mario's limbs disappear, he rotates 90° and sinks into the floor, and the music gets messed up (usually it goes faster). What surprises me about this glitch is two things: It's a very specific and s...

 
I'm very proud of my most recent answer
 
12:23 AM
I waiting for the time when a PPCG answer is so obscure that it unintentionally exploits some buffer overflow in a major browser.
 
@DrMcMoylex what is difference between ç and :g/
 
Nothing other than golfiness
ç works with compressed regex, and fills in the 'norm' automatically
 
12:39 AM
:) = smiley face, :( = sad face, :D = ?, :P = ?
 
:D is a big smile, or a grin. :P is someone sticking their tongue out
 
"I shoved an orange wedge in my mouth face' for the first
 
I guess tongue face for :P
 
No that's :p
 
If any of you are bored: try out Earthcore on android. We can battle it out :)
It's a CCG with a very small ptw factor
 
12:47 AM
@NathanMerrill Wha?
 
@NathanMerrill It's not one where you mainly power up by fusing crap-cards, is it?
 
@NathanMerrill now that dn is down, i might give it a try
 
That's the one. The disadvantage to crafting is that the risk of the card goes up
Risk =damage you take if the card loses
 
Meh. That's one of my least liked mechanics, and all too common in mobile games in general imo.
Fusing that is, not the risk issue.
 
I like coming up with cool card combos. I'm in the upper brackets though, so I'm frequently seeing the same combos, making me think that they are looking that stuff up
 
12:52 AM
this is why you don't use Java for server
because then some poor goat wont be able to complete his HW because your server bork
 
I'm gonna guess it isn't Java's fault ;)
 
@Downgoat you should write a strongly worded letter telling him to use cheddar
 
@Maltysen yes
 
@Maltysen my username is thenameipicked. Feel free to add me as a friend :)
 
@NathanMerrill This is why I invented a totally unique name...
 
12:57 AM
I like places that don't have an upper limit. I'm AllTheUsernamesITriedSoFarAreTakenSoThisIsItIGuess on at least one site.
CMC: Find that site :P
 
@Geobits :/ but google tell me it java error message
 
theemailipicked was my first email ever
 
@Downgoat Well yeah. I can make Java errors appear too, but that's (almost always) my fault, not Java's.
 
@LuisMendo You wouldn't happen to have a quick operator reference for MATL, would you?
 
yea but it appear to be java bork since other thing doesnt bork
 
12:59 AM
@Geobits LastPass is a lifesaver, even with one username
 
@ConorO'Brien matl.suever.net
 
@Downgoat I don't know what "winning" means here lol. I just mean you should blame the programmer in most cases. Unless it's JavaScript of course.
 
;_;
 
@HelkaHomba Oh, I use Geobits everywhere, I haven't seen it taken yet. I use that one for an alt if I need it.
 
1:00 AM
this is dumb
 
@DrMcMoylex oh, cool. that's going to be useful.
 
teacher wont believe me either
wait actually she might, brb
ಠ________________ಠ i have like 500MB left but phone says i cannot take video
 
does anyone else ever get asked if you can hack into <X> on the merits of you being a programmer?
@Downgoat download more space?
 
@ConorO'Brien people see monospace text, they think hack
 
1:01 AM
halp how do I submit a new language to hackerrank, I want to put pyth
 
Are you learning matl?
 
@Downgoat screenshot?
 
@ConorO'Brien All that takes is using a terminal :P
 
@Maltysen I think they avoid esolangs
 
@NathanMerrill they have bf
 
1:02 AM
@DrMcMoylex I am trying. However I just wanted to know how &* works. Now I'm looking for docs on &
also, wtf is moylex
 
@Maltysen how do i take screenshot if i am out of space apparently .____.
 
Trump, if he loses, will set up a party of his own. It's gonna be called the National Socialist Democratic Party.
 
@Downgoat no, on your computer
 
wat
oh
 
@Downgoat cmd shift 4
 
1:03 AM
anyone can fake screenshot
 
@Geobits this is sad but true
 
reduce swap
 
@ConorO'Brien Oooh. & is still really confusing. I think the offline docs and interpreter go into more detail, but I couldn't say for sure
 
i can just take screenshot of apache 500 and use that for all assignment i forgot to do
 
@Maltysen I highly doubt they'd take an unstable language tbh, and let them get the proper languages working on all problems first :P
 
1:04 AM
(google docs uses apache right?)
 
@Downgoat I doubt it
 
1 hour ago, by DrMcMoylex
+1 for DrMcMoylex. :D — DrMcMoylex Oct 31 at 20:45
 
@DrMcMoylex ah rip
 
You're like the fifth person to ask, haha
 
@Downgoat north korea uses Apache™
 
1:05 AM
@NathanMerrill oooh, what if I submit the entire code for pyth and call the compiling function with my code :P
 
@DrMcMoylex ohh. has tricho made the change? :P
 
I want a swapped name.
 
@DrMcMoylex question: how come you havent make username DrHamJam yet ;_;
 
@Downgoat what assignment?
 
Hehe, not yet, we should get him to
 
1:05 AM
@noɥʇʎPʎzɐɹC but your name uses crazy unicode chars
 
@ConorO'Brien Just ascii CrazyPython.
 
but that's not your username :P
 
@ConorO'Brien It is normally...
 
@noɥʇʎPʎzɐɹC here: CrazyGoat
or DownPython
 
@Downgoat .....
 
1:06 AM
@ConorO'Brien Awful high and mighty for a longtime smallcaps holdout :P
 
though I'm not sure how I feel about part of my name being used with "Python"
 
@Downgoat I'm pretty sure I have
 
@Geobits <_< >_> sᴍᴀʟʟ ᴄᴀᴘs?
 
Doesn't Starman have a query for that?
 
@Downgoat more like DrwzgPat o & Coanyoyth n
 
1:07 AM
@DrMcMoylex I don't remember if it was DJHamJam or DrHamJam, but you were definitely xxHamJam for a while.
 
wat
 
Dr WYSIWYG Pat, o.
 
@noɥʇʎPʎzɐɹC O_o
 
CJacyayhhmn
DrMzMPyteo
 
1:09 AM
Apr 5 at 6:14, by Alex A.
Btw, @MyHamDJ I now solely refer to you as Dr. Ham Jam in my head.
 
@HelkaHomba im not really bothered by ads as long as they aren't like ones where they require you to watch them
 
@Downgoat And even then, if the app a good enough, I'll still keep the app
 
1:13 AM
@HelkaHomba I chose microtransaction, but it's pretty rare that I do. Usually it's for good apps with non-intrusive ads though, as payment to the dev. I uninstall apps with really bad ads.
 
@Geobits > I uninstall apps with really bad apps.
 
So. This just idle curiosity, or are you writing an app?
 
@Downgoat Do you at least appreciate the option that ads can be removed for a small fee? I really wish some sites did that.
 
@HelkaHomba Microtransaction, to keep it together. Separate app gets a bit annoying unless save data transfers (in the case of game apps)
 
1:14 AM
@HelkaHomba idk. i dont really care since i probably wouldn't pay to remove ad
 
@Sp3000 I agree. No saved high scores and stuff
 
and if it is website, adblock is free
 
@Sp3000 btw did you see kimi no na wa?
it was amazing
 
@Maltysen Ssssh, I've booked tickets for Nov 26 (it's rare for films like that to actually show in Australian cinemas, even if we get it late)
 
@Sp3000 ooh nice. I saw a super low quality one on kissanime, but it was totally worth it. Gonna see it in the theaters when it makes rounds in the US (I think next year)
 
1:16 AM
@HelkaHomba One model I used was having simple banner ads (that don't get in the way), along with a button to upgrade. On the upgrade screen you had three options, along with a very clear text that said there was no difference between the three except price, and all it did was remove ads. It was surprising and gratifying to see how many people chose the $10 option over the $2 or $5. IIRC they were labeled "Buy me [coffee, a drink, dinner]".
 
@Geobits Maybe. I'm planning a simple little game just to reacquaint myself with it but I'd love to make a 2D-programming type game where you need to "write" code to complete levels.
@Geobits Good idea!
 
@DrMcMoylex Done.
 
@HelkaHomba 2D-programming?
 
Most 2D puzzle games can already be reduced to a programming language
 
@ASCII-only So it works on a grid, more game-like. Like ><> but much simpler. You'd be given I/O testcases and try to optimize for shortest run/smallest area/fewest components.
 
1:20 AM
@Dennis Thanks!
 
@HelkaHomba So basically a fungeoid with SHENZHEN I/O-like graphics?
 
@HelkaHomba Since it wasn't an option in the poll, there's also "I'd sometimes voluntarily watch optional ads (read: click it a leave it playing for 30s while I do something else) if I like the game and it has an incentive for doing so"
 
@HelkaHomba so you want to work for zachtronics :)
 
@HelkaHomba ooh
 
@NathanMerrill That would be neat :P (Though I've hardly played any of their games...)
 
1:21 AM
@Maltysen That was originally the plan until I found out it was available in cinemas :) Looking forward to it though, Makoto Shinkai and all.
 
I'm wondering if there are enough Android app developers here to do some kind of collaboration
 
Despite loving Java, I've done very little android development
 
I've only attempted Android development once and from what I remember it's a painful process in every way imaginable
 
@quartata How
 
I remember these terrible things
"Fragments"
I'm still scarred for life
 
1:27 AM
@quartata its not that bad until you want to start doing even slightly complicated stuff
 
Worse than Objective-C?
 
Oh, but can't you have like an OpenGL app and use no Fragments at all?
 
@feersum I love Objective-C so definitely
@ASCII-only Are you proposing writing a GUI in OpenGL ES
I mean good luck but
 
What if you don't love it though.
 
@quartata Yes why not
 
1:27 AM
@feersum Probably still worse.
 
Cocos2D would work as well
 
@ASCII-only I mean already making a GUI in OpenGL means you're doing everything from scratch
And then on top of that you have the terrifying thing that is OpenGL ES
And C will definitely be involved
So that sounds even worse
 
Wait C will be involved?
I tried to do Android development but my laptop couldn't run the emulator without lagging really badly, I gave up after trying to run it so many times ;_;
 
Has anybody enjoyed GUI work in any language?
 
Yes. Shoes and JavaFX are great
 
1:32 AM
I haven't liked JavaFX so far. Haven't tried Shoes.
That said, I'm only in my third day of JavaFX
 
@NathanMerrill WPF/QML aren't too bad, HTML is the best though
 
@NathanMerrill C#, Android Java yes. HTML is the worst...
 
@HelkaHomba ;_; HTML is not the worst
 
I've always been kind of partial to Swing despite its threading quirks
Qt is OK
 
@HelkaHomba How is WPF better than HTML (if you're talking about WinForms, how is that better than WPF)
 
1:34 AM
Nothing is better than WPF
 
@ASCII-only You can't really do anything in HTML without CSS and CSS is horrible
 
@HelkaHomba You did not just say something is better than Java
Those coffee beans are killing me right now...
 
@quartata If CSS is horrible then you're doing something wrong
6
 
@ASCII-only I liked the visual designer.
 
Then a lot of people are doing things wrong.
 
1:35 AM
@HelkaHomba There are HTML visual designers though
 
I think that HTML + CSS is great, but it's taken us how many years to get where we are?
 
@quartata Yeah, I wouldn't be too surprised
@NathanMerrill Where are we?
 
I think a lot of people are doing things wrong by using Java. It can't even be understood, even ungolfed!
 
@ASCII-only the current state of web standards
 
@NathanMerrill Oh, yeah, blame it on Brendan Eich for rushing JS (and W3C for being bad at making standards)
@Zizouz212 ... It isn't that bad, just way too verbose - it's pretty much just C# but more verbose
 
1:38 AM
@Zizouz212 I totally disagree. Java is easy to read.
 
Java is a pain
It's a pain to use in so many ways
 
Oh it has nothing to do with that. It's the fact that JS was even adoptef as the standard instead of making a low level assembly and building on top of that
JS was doomed the moment people started making browsers other than Netscape
 
@quartata well they're fixing their msitakes with nacl and webassembly
 
@ASCII-only my point is that it's tough to make even a decent GUI system
 
Which will never be accepted universally.
 
1:39 AM
Mozillla rejected Nacl, no?
 
It had to be at the beginning when Netscape could set the standards. Now there are far too many players
And NaCl still needs JavaScript so.
 
If all the browsers make their own assembly, that'll be fine. We've already dealt with the problem of cross platform compiling
 
Better 10 assembly languages than 1 javascript, right?
 
Sure, because 10 assemblies means I can write my browser code in any language I want
 
Yay!
 
1:46 AM
@quartata OpenGL ES on Android doesn't require you to write C.
 
What does ES mean
 
Still probably not a good idea to do the entire GUI with it when there are so many better GUI options though.
@feersum Uh, embedded systems or something
@ASCII-only How long ago was that? The emulator is way better than it was, say two three years ago.
 
@Geobits Like a month ago? Two? I'm on a Celeron (i.e. Atom) though
 
Oh, yeah it's probably still bad on an Atom.
Works fine on my i3 laptop. Still an occasional lag spike, but nothing major. Desktop is buttery smooth though.
 
@quartata do you by chance know of a way to pass a non-string variable to a JavaFX application?
Right now, I'm doing it via a static variable
 
1:56 AM
You can't as far as I know -- usually that logic should be in the application itself rsther than passing it in. What are you trying to do?
 
Oh, this again :D
 
It's been a while since I've worked with JavaFX so forgive me if I'm rusty
 
You poor souls working with Java
 
Draw lines to match languages and family stereotypes:

(1) C			(a) Hardworking father who drinks a bit too much
(2) C++			(b) Layabout, punk-rocking son
(3) C#			(c) Odd but sometimes fun uncle
(4) Java		(d) Caring but overprotective mother
(5) JS			(e) Shrill, maiden aunt who picks favorites
(6) PHP			(f) Grouchy grandpa, set in his ways
(7) Python		(g) Slightly deaf grandma, good at cooking
(8) Ruby		(h) The cheerleader daughter, popular but shallow
(9) SQL			(i) The kinda dumb dog that everyone still loves
 
Ooh tough.
 
2:00 AM
You don't have to assign them all if it's too hard
 
JS is definitely b
 
@HelkaHomba :( lines? that will take too long
 
@ASCII-only Well just map the numbers to letters or w/e
 
hmm
 
Java is D
C++ is A
 
2:02 AM
> cooking
 
@ASCII-only Cooking?
 
PHP may be I
 
SQL is g
 
PHP is D
 
@ASCII-only i thought php is h
 
2:04 AM
No that's Ruby
 
huh what three different opinions
 
@Zizouz212 Well if you want to write for Android, using anything else is much worse.
 
C is F
 
@quartata So is D PHP or Java
 
which one is python...
 
2:04 AM
I think we can all agree that Python is H at least :D
 
@quartata well, I do a bunch of initialization, and then, depending on whether a runtime argument is set, I boot up an application, or do it via console
 
C# is e
cuz shrill
 
@ASCII-only It's ok if there's overlap I guess (kinda confusing, true)
 
@Geobits Fair... I'm think I'm drained from my CompSci courses
 
@Geobits python, shallow, hmph
 
2:05 AM
1f 2a 3e 4d 5b 6i 7c 8h 9g
Maybe?
 
@quartata This is right for sure :P
 
@Maltysen But, like, totally popular.
 
I have a love-hate relationship with Java... Love it for some things, hate it for others
 
Actually I think Python is b
JS is h
 
What are we deciding here?
 
2:06 AM
@quartata I thought JS was I. The 'love' part might be a bit off, but...
 
7 mins ago, by Helka Homba
Draw lines to match languages and family stereotypes:

(1) C			(a) Hardworking father who drinks a bit too much
(2) C++			(b) Layabout, punk-rocking son
(3) C#			(c) Odd but sometimes fun uncle
(4) Java		(d) Caring but overprotective mother
(5) JS			(e) Shrill, maiden aunt who picks favorites
(6) PHP			(f) Grouchy grandpa, set in his ways
(7) Python		(g) Slightly deaf grandma, good at cooking
(8) Ruby		(h) The cheerleader daughter, popular but shallow
(9) SQL			(i) The kinda dumb dog that everyone still loves
 
PHP is i and Ruby is c
 
@Geobits No way
 
Java sounds like d almost
 
@Zizouz212 that's what i thought
 
2:07 AM
@quartata IDK about that
1f 2a 3e 4d 5h 6i 7b 8c 9g
 
This is literally what I was just typing
@HelkaHomba Your solutions?
 
I would switch JS and Python
 
@quartata Oh, idk. I didn't choose any
 
Yep, Python is an H
 
@Zizouz212 I think you're biased
 
2:09 AM
How so?
 
@Geobits ಠ_ಠ
 
@quartata No way
 
@HelkaHomba We're all just puppets to you, aren't we? :P
 
@ASCII-only This is close but idk about 3e. I might switch your 7 and 8
 
1f 2a 3e 4d 5h 6i 7c 8b 9g
 
2:11 AM
@Maltysen Nobody cares about appearance as much as a pythonista. Even the whitespace has to be correct. If that's not shallow, I don't know what is ;)
 
I always thought JS was b
 
Python is odd?
Are you serious?
 
@Zizouz212 How is it not
 
Syntax-wise it's pretty odd.
 
Fair
 
2:12 AM
It's like the only C-derived language without braces D: D: D:
 
But it's not odd odd
withough?
 
@Zizouz212 :( I fixed that
 
lol I'm just playing :)
 
@Zizouz212 Some people like their fries without salt. I like mine withough.
 
I can't tell whether the salt was intentional or not...
 
2:13 AM
@Geobits Discuss my pretties
 
@Zizouz212 Just assume everything is intentional >_>
 
lol okay :)
 
@HelkaHomba Dance, little people. DANCE!
 
@Geobits "it's not a bug, it's a feature"
 
Is it weird if I was just dancing?
 
2:16 AM
@Zizouz212 your avatar is always dancing
or cheering
depending on how you look at it
 
It's suddenly become quiet...
 
CMC: given a flat array K and an shape array N, shape K into an N shape. That is, N = [...,c,b,a] where a is number of rows, b is the number of columns, c is the number of tables (rows by columns), etc.
 
row major or minor?
 
idk. the ones going across.
0 0 0 0
0 0 0 0
0 0 0 0

0 0 0 0
0 0 0 0
0 0 0 0
this is for input [2 3 4], [0, ..., 0]
 
2:31 AM
Ok but what about [1 2 3 4 5 6], [2 3] ? Is it [[1 2 3],[4 5 6]] or [[1 3 5],[2 4 6]] ?
 
the former
 
Python/numpy: np.reshape(K,N)
I think that works
 
2:59 AM
@ConorO'Brien Terribly golfed: f=(a,s,r=[],l=a.length)=>s[1]?a.length?r.push(f(a.splice(0,l/s[0]),s.slice(1)))‌​&&f(a,s,r,l):r:a
 

« first day (2110 days earlier)      last day (2737 days later) »