« first day (1741 days earlier)      last day (3117 days later) » 

3:05 AM
 
I don't even know what is going on anymore
5
 
@AlexA. Well, you're being almost as coherent as usual...
 
Well that's mildly terrifying.
 
3:09 AM
^ oh god
This is actually a picture of Geobits with his son.
 
what
just
what
 
...
 
@Geobits I am doing the entire solar system on approximately the same scale
1 block is about 1700 miles
 
3:12 AM
@SuperJedi224 he means 1 block is 1 meter
 
@phase That would be impossible, without mods
 
@SuperJedi224 that's the point ;-;
 
@SuperJedi224 Hence really impressed ;)
 
3:13 AM
The whole system to some scale is still cool, though.
 
Memes. So happy.
 
We should stop before the Stack Exchange servers auto-ban us for overly dank memes.
 
Ermehgersh, they make little plushes with ಠ_ಠ on them!
:3
 
I saw that.
 
:D That makes me so happy for some reason. XD
 
3:16 AM
It makes me not surprised.
 
I wonder if any language outside the APL family has built-in function inversion.
 
@Dennis What is function inversion?
 
@AlexA. Did you get the ping for the ngn bugfix?
 
YES! Awesome!
@phase The inverse of a function, like how square root is the opposite of squaring, etc.
 
The sun is going to be hollow, if I ever wind up finishing it
 
3:19 AM
@AlexA. 1/x is not the inverse of the identity function
y=x is its own inverse
 
@AlexA. Ah, I thought it was like reversing the code within the function. That sounds like a good idea.....
 
So far it's just a square glowstone wall
501 blocks to a side
 
@Doorknob No one claimed that. <.< >.>
 
@phase If you have a function/verb f, you can apply its inverse with f^:_1 in J. For example, since #: is convert from integer to base 2, #:^:_1 is convert from base 2 to integer.
 
@AlexA. heh (f(x)=1/x is its own inverse as well)
 
3:21 AM
@Dennis Can you specify the inverse of functions you create?
 
Goodbye guys
 
bai
 
same
 
As long as they're bijective, it works for user-defined functions (specifically, tacit verbs) as well.
Bye!
 
3:22 AM
@Doorknob These are things I should remember...
 
But how does the computer know how to inverse the function? Just go through all the operations in the wrong direction?
 
No clue.
 
^
 
@AlexA. remember? it's just f(x)=1/x -> x=1/f^-1(x) -> f^-1(x)=1/x
 
J has magic built in.
 
3:23 AM
As does Dyalog
 
or you can use the fact that the graph of y=1/x is symmetrical over y=x
 
@Dennis seems legit
 
This is my new favorite feature of J, since it allowed me to beat Pyth recently.
 
> J is actually written in Mathematica Mathemagica as of now.
 
@Dennis link to that black magic?
 
3:24 AM
3
A: Biplex: an important useless operator

DennisJ, 31 30 24 23 bytes (e.>./,<./@#~)@(+/)&.#: This is a tacit, monadic verb that takes a list of decimal integers and returns their decimal biplex. Thanks to @Zgarb for his suggestions, which saved 4 bytes directly and paved the way for 2 more! Test cases biplex =: (e.>./,<./@#~)@(+/)&.#:...

I'm using dual (&.), which applies a function, then another function, then the inverse of the first. Perfect for convert to base 2, do stuff, convert back to base 10.
For a more impressive use of J's function inversion, see this:
2
A: Pack sequences of non-negative integers

algorithmsharkJ - 17 char g=:(f=:_ q:>:)inv We implement the prime exponent idea with this bijection—that's what the _ q: is doing, getting a list of the exponents of the primes of a number—except we also increment the input number by one before doing so, with >:, so that we don't forget 0, who doesn't have...

 
^ he probably doesn't need g=:, saving 3 bytes
 
I need to get on board this APL train, cause it's awesome :O
 
> Do this by defining two functions: f, going from N and c0 (N); and g, the inverse of f.
 
@phase APL != J
APL > J ;)
 
(It's his own challenge. He should know.)
 
3:28 AM
o
i c
k
 
@AlexA. Is there any major difference between APL & J?
 
Lots
 
J wastes a lot of characters in two-char built-in names, but APL has way less magic.
 
J looks like someone barfed ASCII and is entirely unreadable
But when you explain the code it's super elegant
 
@phase They're entirely different languages. It's like comparing Perl to Python.
@AlexA. At least J is typeable. :P
 
3:29 AM
<.< you have a point
 
Just get a keyboard with all the unicodes
 
All of them? All the unicodes?
 
every single unicode
 
o shit
that's a lot of unicodes
 
Hm. There's only a million of them, and I have lots of free space on my desk.
brb Buying keyboard.
 
3:31 AM
:D
 
@quartata yaaaaassss groooooovy
 
@phase :D
 
3:33 AM
@AlexA. I need this.
I think I would like APL way better if I had this.
Whoa top 0.99% this week
 
It's £100...
 
I feel so elite
@AlexA. Eep
Why?
 
$153.81 USD
Because they can
 
@AlexA. Even that has a Windows symbol. >.<
 
I mean, for that price I could literally buy a bunch of pushbuttons and a Teensy for way less
 
3:35 AM
Teensy? Is that some kind of street name for drugs?
 
Not to advertise or anything... but it would probably be a decent way of making an APL keyboard
 
Why would you need that?
 
^
 
Because.
 
Just paint your keycaps and install the layout.
 
3:37 AM
@feersum Painting keycaps is difficult
Switching layouts is difficult too
What if you want to type in the regular alphabet too?
 
@quartata It's Cmd+Space on a Mac.
 
Switching layouts is very easy in my experience.
 
You could just have this as a little keypad on the side
 
Ctrl+Shift on windows.
 
While having your regular keyboard.
 
3:38 AM
Those don't fit on a "little" keypad.
 
I didn't know what you meant
 
It probably doesn't require a layout switch anyway.
 
@feersum You could use another button to switch letters. Like on a calculator
 
@Dennis ಠ_ಠ
 
If it's like e.g. French keyboards, where there are 3 or 4 symbols on each button and you press another meta key to get them.
 
3:40 AM
The French AZERTY keyboard is hell to use.
 
3:51 AM
TeaScript's interpreter takes 5 seconds to load. halp
 
Patience
 
What did you put in there?
 
Bugs lal
 
CJam does not have a builtin for removing the secondmost element in the stack right? You have to do \;
 
Depends on what it yes. In general, yes.
 
4:03 AM
Alright.
 
Well now I broke the interpreter ;-;
 
    You should have received a copy of the GNU General Public License
    along with this program. If not, write to

       The Free Software Foundation, Inc.
       51 Franklin Street, Fifth Floor
       Boston, MA 02110-1301  USA
do the people who wrote the GPU really expect people to do that?
 
I also love proprietary licenses that end with "write me at <somename>@geocities.com" ...
 
Communicating via Internet or telephone involves using closed-source software. True freedom lovers use the Postal Service.
 
True freedom lovers deliver mail themselves on horseback.
 
4:18 AM
True freedom lovers don't trust the motives of horses.
 
True freedom lovers communicate via butterflies instead.
 
Horses bred with proprietary DNA.
 
I usually just shout really loud and hope the software author hears me.
 
True freedom lovers ignore the license entirely.
 
I suppose the only way to do it properly is to walk naked to the recipient and speak directly to them.
 
4:21 AM
Unless they see you coming and lock up their house.
 
Well, anyone can choose not to listen. That's freedom for ya.
 
@AlexA. Fork their house and remove the door in a patch :)
 
I don't know about you, but I don't git commit my living quarters.
 
Why bother. Just fork the recipient.
 
@AlexA. You should. I had an apartment catch fire once. An offsite backup would've been nice.
 
4:22 AM
Oh god, were you and everyone else okay??
 
no he died
 
Yea, this was years ago. Nobody hurt or anything, just ruined the building. It started in another apartment.
 
GPLv2 was kinda ok, GPLv3 is just plain stupid. I prefer the Artistic License. If you are going open-source, go all the way.
 
@Doorknob OH GOD NO NOT GEOBITS WHY
@Geobits I'm really glad no one was hurt. Still sucks that it happened though. :/
Neighbors are the worst. This is why everyone should live in the woods at least 100km from the nearest human.
 
Oh it definitely sucked for a while. It was a good way to clear out my paperback collection, though.
 
4:25 AM
@AlexA. I tried. Others did the same, not counting me.
 
Great motivation to get a Kindle.
2
 
<_<
Isn't that just kindling?
 
I made sure to capitalize the K just for you ;)
 
Aw!
You're so sweet.
<3 <3 <3
 
Those could be hearts or chicken-head silhouettes. Coming from a bird, it's hard to tell.
 
4:28 AM
Obviously it's not chickens because chickens are crooked
See example above
 
Oh god they have holes going straight through their heads, too.
 
Those are called balance slots. They make it so chickens can stay balanced when they stand all crooked like that.
 
Poor chickens. And here I thought they were just tasty treats.
Like most other birds, I guess.
 
I should really be going... You know, somewhere you can't reach me with a fork.
 
Cooked right I don't think I'd need a fork.
I mean, no rush... stay a while.
 
4:31 AM
O___o
 
Oh you have balance slots, too? And one is bigger than the other. Does that mean you're normally lopsided?
 
qb64 is the first compiler I've used that fails to compile a source file if it contains any tabs. >:(
 
@Doorknob ^^^
We're winning
 
I've had issues with qb64 before, so that's just another nail in the coffin really.
 
We've found our dream compiler
 
4:35 AM
@Geobits I've never had an issue with qb64. I just found one bug and it was fixed immediately.
 
I had it fail to work in spectacular fashion. This was at least a year or so ago, so I don't know what it's like now if it's being updated regularly.
Which platform are you using it on?
 
Windows primarily, because I have to update tons of QB code from olds POS systems.
 
@Dennis jaw drops
J is indeed magic
 
No arguments there.
 
Maybe that's it. I haven't tried the windows version.
 
4:40 AM
Incomprehensible magic, but magic nonetheless.
 
Magic is by definition incomprehensible. Everything else is science.
 
Unless you mean stage magic. Then it's, umm... "magic"?
Mainly I just hate the term illusionist. You're a damned magician, get over yourself :)
 
I somehow read damned as damaged.
 
stage magic can be comprehended, you just need internet
 
What is ukda chawal?
 
4:44 AM
What am I? Your guide to Indian food?
:P
 
I'm asking anyone.
(But if you're offering... :P)
 
nice timing then :P
 
An explanation here :P
 
:P
( ͡ಠ ͜ʖ ͡ಠ)
 
serves you right
 
4:47 AM
( ͠ಠ ͟ʖ ͠ಠ)
 
AlexA. is the besto modo everu
 
@Geobits This physically pains me
@Optimizer HAI, SOO DESU
 
birds find it difficult to tilt their heads?
 
Not if Indian food is involved.
 
4:49 AM
It's still better than barrel rolls.
 
I wish Google would make you food if you searched for food.
 
Give it a few years.
You never noticed Picard saying "Okay Google" before talking to the replicator?
6
 
I always heard "Hey Siri." :P
 
That's because tag reasons.
 
What?
 
4:51 AM
Do I have to say it?
 
Oh.
That tag.
 
:D
 
@AlexA. Google Now has make me a sandwich. You should really upgrade to Android.
 
D:
 
4:54 AM
(I'm not kidding. It does.)
 
Oh wow, it does. That's great.
 
What does it do?
 
I should probably try sudo...
 
Yes, you should.
 
Oh wow. Not expected.
 
4:56 AM
;_;
 
> make me a sandwich.
What? Make it yourself.
sudo make me a sandwich
Here are the listings for delis within seven miles.
 
Hahaha
 
> who are you?
Searching for yourself can take a lifetime, but a good place to start is classic rock (along with link to https://www.youtube.com/watch?v=PdLIerfXuZ4)
On that note, I'm off. Don't do anything I wouldn't do (this includes ASCII art).
 
I'll try.
 
5:14 AM
Heck, private repos require a paid GitHub account.
 
Yes
Heck they do
 
@Dennis open source is free!
you can use bit bucket
 
Interesting.
This would kill in a golfier language:
1
A: Who's that probability distribution?

Glen OJulia, 57 bytes + 25 errors = 82 k->(V=var(k))>1/6?"E":V>0.1?"B":V<.05?"T":any(k.>1)?"G":"U" k->(V=var(k))>0.14?"E":V>0.1?"B":V<.05?"T":any(k.>1)?"G":"U" This is fairly simple. The variance for the distributions are mostly different - it's 1/4 for exponential, 1/8 for beta, 1/12 for gamma and ...

 
5:31 AM
Variance is a nice way to go :)
I wonder what happens if you do, say, average of cubes or average of fourth powers
 
I tried variance (stdev, but whatever), but I got awful results. It could be related to the revised test cases, but my biggest mistake was to not combine it with the has-elements-greater-than-1 test.
 
@Dennis Student Pack gives you 5 free ones, plus OSS FTW
 
I can't find that anywhere.
Nevermind.
 
They recently added AWS to it too
 
5:49 AM
@Dennis I had that idea too. You can see from my deleted Pyth answer.
I was going to use either TI-BASIC or Stuck, because Pyth doesn't have variance.
My other idea was to use the first quartile of the data, but that ended up being worse than variance.
 
Variance is around 10 bytes in Pyth IIRC.
Good night, y'all.
 
Yeah, I had to use -.OQRQ or whatever it is to subtract from mean, then .a for vector length
Goodnight!
 
G'night!
 
6:05 AM
@mınxomaτ Wait--you actually use QB64 for work? (O . O)
 
So what?
 
I just didn't think QBasic would have any real-world relevance anymore. I use it for fun & nostalgia.
 
What would be really shocking is if someone used Haskell at work.
 
@DLosc You know that qb64 is based on QB4.5 but has a lot more features?
And it generates crossplatform C++ code.
 
Yes. But you're working with POS systems that were running QB originally, right?
(Hm, I guess that'd put them at only 20 years old or so... how time flies.)
 
6:09 AM
Most POS or cash registers use freedos or DOS. I needed to upgrade one to complete inventory (not related to my job :) ).
I then sold the new interface to owners of compatible POS. ^^
 
Again: wow/fascinating.
 
I keep reading "POS" as an obscene acronym and I can't figure out what it actually means. Such confusion. Wow.
 
If `**(sqrt(2))^2=2**`

Then **2^

(Sqrt 2) ** is what???
 
@El'endiaStarman Point Of Sale [system].
 
But with the new money laundering laws passed recently here in Germany most retailers have to switch to a standardized (expensive) new type of register. It is supposed to be "hacking" proof (insert evil laughter here)
 
6:13 AM
@DLosc Ahh, thanks.
 
Is anybody knows anything for this question i posed.
 
@mınxomaτ Yeah, my employer has had to make some upgrades in the past few years to comply with US credit card laws... not my area, though, so I don't know much more than that.
 
@himu I'm not quite sure what you were asking
 
@DLosc Basically there can be surprise visits from the tax authorities and they have an ID card with a private key on it so only they can access the cash log files.
The system is already hacked and it's not even out yet.
 
@himu Use a calculator :)
 
6:16 AM
@himu Are you asking what 2^sqrt(2) is?
Something looks terribly wrong with our starboard @AlexA.
 
@Calvin'sHobbies Oh yeah? What's that?
Is it that? ^
 
The problem is the newlines are missing.
 
It's giving me the textual creepy crawlies
 
Oh no!
 
6:33 AM
All that mod power going to your keyboard..
 
You want me to kill the Lennipede, don't you?
First Reggie, now the Lennipede...
Why must everything I love die?
 
6:49 AM
Booted up an old computer after taking out an unnecessary video card. Windows XP. Wow, reminds me of the days when Windows 95/98 was the common old Windows OS. :P
 
 
2 hours later…
8:40 AM
(Pinging @CᴏɴᴏʀO'Bʀɪᴇɴ and @VoteToClose.)
 
localhost?
not sure why you post that link
@El'endiaStarman ^
 
DANGIT.
I KEEP DOING THAT!
@Optimizer: Fixed.
 
dangit, you can edit infinitely ?
 
Mods can.
 
9:00 AM
damn
imma be a mod now
 
Pick a new beta, make yourself indispensable. :P
 
too much work trouble
 
@dennis not all, also tried to optimize the distance function which also improved somewhat
 
9:17 AM
@El'endiaStarman \o/
 
@Lembik i thought for strange coins that your description is clear and unambiguous, but then i read the comments with mbomb007 and then it needs clarification
because of your reply to him
you wrote x_0 in your comment, which is confusing -- makes it sound like you can choose an arbitrary new coin to start weighing, and not just coin 0
since from problem description it seems clear that {x_i} is just arbitrary collection of indices, and the i doesn't give the coin's label, as mbomb007 seemed to interpret it
QPaysTaxes was maybe confused about this too, since he mentioned about "a through b", although your description doesn't imply that the chosen coins have to have consecutive labels, as far as i can see
maybe best way to avoid confusion is to give short example, e.g. first weighing is (x_1, x_2, x_3) = (3, 2, 7), then second weighing can be either (4, 3, 8) or (0, 4, 3, 8)
 
9:47 AM
@MitchSchwartz hi
 
that's an error!
let me fix it
sorry for the error
the comment should be fixed now
 
thanks, i see it
 
Whoa
gcc lets me put a goto statement inside a ternary conditional
x > 4 ? ({goto abc;}) : 0;
This is going to be my backup if it won't do TCO.
 
@MitchSchwartz thanks for spotting it and welcome back :) If you have been away
 
9:52 AM
gcc extensions are a lot of fun for code golf
I can also initialize structs like a python dict.
 
@MitchSchwartz thank you for your very helpful comment!!
 
@Lembik thanks. i added a comment about notation
 
yes.. that's what I meant
very helpful indeed
 
i guess it could be clarified: if we choose second weighing (0, 4, 3, 8), then third weighing can be either (1, 5, 4, 9) or (0, 1, 5, 4, 9) ?
the other option is (5, 4, 9) vs (0, 5, 4, 9)
@Lembik ^
it seems the chat message time stamps are at a resolution of 1 minute only?
i guess a finer resolution isn't useful for most things and just uses server space, but there is a little odd interaction above, where my message and Lembik's were within a second of each other, and "crossed in the mail"
 
10:25 AM
someone is simulating the universe right now!
well, apart from the one who was already doing it from ages
 
10:50 AM
0
Q: "Hello world" that creates a different "Hello world" program

Ville-Valtteri TiittanenCreate a program, that outputs a hello world string ("Hello world", "Hello, World" etc.), and source code. Output is written to stdout or equivalent. Hello world string is embedded in the source code. For example, the output for might be (some source code here)hello world(some source code here)...

 
11:32 AM
0
A: Sandbox for Proposed Challenges

Christian IrwanLiterally Mirror Your Sourcecode! Task Your program should take input. If the input is falsy, print the source code. If the input is truthy, print the mirrored source code. What is mirrored in my opinion (That is used in this challenge)? Each line is padded with space so each line have sa...

 
11:43 AM
@MitchSchwartz (1, 5, 4, 9) or (0, 1, 5, 4, 9) is correct
 
12:13 PM
@AlexA. >:D
 
@MitchSchwartz are you still about?
 
about to come?
 
12:30 PM
@Calvin'sHobbies yeah!sir actually my problem is to fing the nature of that no.
Rational, irrational or even a complex one.
 
1:16 PM
Anyone used cygwin?
I can't find the proper way to invoke cygwin's gcc.
 
I see your error: You're using cygwin.
 
I wouldn't normally use it, but I'm doing it for a code golf.
I'm hoping it supports the dynamic allocation option for scanf.
 
2
Q: Make a 3var interpreter!

DJgamer983var is a variant of deadfish which uses three variables called A, B and R. A and B are accumulators, while R is used as a result variable. In this code-golf challenge, you need to make an interpreter for a stripped-down version of this language. Required Commands: i Increments A d Decre...

 
1:58 PM
0
A: Sandbox for Proposed Challenges

Christian IrwanPrint a sourcecode Task: code-golfquine Given 2 inputs(First input is truthy/falsy, second input is program in same language as submission): If the first input is truthy then transform the second input into same program but printing the source code(After modification) first. If the first inp...

 

« first day (1741 days earlier)      last day (3117 days later) »