« first day (2035 days earlier)      last day (2801 days later) » 

11:00 PM
@Downgoat the equivalent is "package goat;" if I'm not mistaken
 
@EamonOlive why not? You can open a < in a >
 
Right, that's basically what packages are.
 
@EamonOlive @DJMcMayhem I would recommend you do perform a frequency analysis on sufficiently large code. And use that to compress the code.
 
@DJMcMayhem Sorry I meant [] my bad.
 
> Programming Golf & Code Puzzles
 
11:02 PM
PGCP?
 
@RohanJhunjhunwala I'm not trying to compress it from existing code. Ideally you would write directly in the new binary.
 
@EamonOlive Kk. BTW out of curiosity, how did you first find BF? Iirc, you joined the repo before I ever used it anywhere or announced it.
 
0
Q: Sort a C "array" without knowing its length

SoniEx2First I need to talk about the language choice. I'm picking C because it segfaults if you go beyond the array length. But you don't know the length. Given the signature: void sort(int* array); Each step of your code needs to sort the array. You must not calculate the length in any way, not ev...

 
@DJMcMayhem 1000000000 is my roommate. He showed it to me
idk how he found it
 
Oh huh. That's funny
 
11:04 PM
@RohanJhunjhunwala how to access package from another file?
Wait how to have subpackages
 
@Downgoat so assuming all your code is in the same package
 
import goat.Classname;
 
@Geobits or Classname.doFooBar(); (without an import)
 
subpackages are just dot-separated, eg goat.subpackage.subsub
 
^
@Geobits I never really understood how Java handles subpackages
(Never really use them)
 
11:06 PM
Most "packages" I see are a few dots deep anyway. Just think of the subpackage as a package.
 
@EamonOlive who is 1000000000?
 
AFAIK, it's just for organization anyway.
 
@EᴀsᴛᴇʀʟʏIʀᴋ github.com/1000000000
 
But within a subpackage you can access the outer package without imports? @Geobits
 
11:07 PM
@EᴀsᴛᴇʀʟʏIʀᴋ a github user that helped me write the BF interpreter
 
1000000000, New York, United States
103 3
 
@RohanJhunjhunwala Uh... I don't think so. I'd have to check to be sure. Like I said, my IDE handles imports for me, and I barely notice them at all.
 
@Geobits ok, I'll just avoid using them
 
11:09 PM
@RohanJhunjhunwala wait so then what does my IDE's New -> Package do?
 
@EamonOlive Hey congratulations on hitting 1k rep!
 
@Downgoat Not to be trite, but it creates a new package.
 
@DJMcMayhem thanks. Ruined my repdigit though.
 
I'm listing languages that seem horrifying to those inexperienced in esolangs, what shouldn't I miss?
 
Malbolge? It's horrifying to everyone.
 
11:10 PM
@Geobits do does package goat; right? What's thr difference?
 
Mathematica!
 
I got that one
 
@StevenH. brain-flak
 
@Geobits at a hackathon at 2:00 am in the morning I actually explained a BufferedImage by saying its an Image thats buffered
 
@StevenH. Hexagony
 
11:11 PM
@StevenH. jelly it's horrifyingly short
 
Jelly
Ninja
 
Brainf***
 
@Downgoat When it's created. If you use the IDE, it will do it then. If you just type the package name in, most IDEs should create it on next save.
 
Whitespace
 
Marbelous
 
11:12 PM
@Geobits ah ok thanks
 
PHP
3
 
@Adnan I... I can't argue with that as much as I want to
 
@StevenH. jolf. it has minimal docs
 
For which of these should I link something other than the Esolangs page?
 
Snowman
 
11:13 PM
the github
 
^
 
11:29 PM
OK, I've been away for 2 days. Has everything exploded?
 
yes
badly
we are thinking about more non-mod ROs, also.
 
Oh, cool.
Link to conversation?
 
@quartata This happened:
No offense Alex, but you haven't been extremely active in chat recently. We've had almost three straight days of one user causing pain for everyone in TNB. Flags have done nothing except for bringing mods and 10K users in to tell us to only flag blatantly offensive posts, and even mod flags have done nothing to take care of the problematic user. If that's the best we can do when someone wants to be unpleasant, TNB might as well not be moderated. — DJMcMayhem 23 hours ago
Although I haven't noticed any problems recently
 
Hey @Doorknob, feature request: make your chat server have a WSDL interface
That way I could write a client in any language trivially
 
@quartata Wiggly Sonic Dancing Llama?
 
11:43 PM
Web Service Definition Language but I like yours better
 
@Doorknob chat server?
 
@Downgoat You don't
 
@quartata what is chat server?
 
Also @Doorknob I was thinking of making a Nethack mod that adds some more interesting worldgen and fauna, are there any resources for slogging through the source code?
I figured of anyone here you'd probably know
 
Downloaded that file for a long plane ride without wifi once.
 
11:46 PM
@EᴀsᴛᴇʀʟʏIʀᴋ github.com/glavra
@Doorknob Ah, great.
 
@quartata oh?
(idk java but it has biiiiiggggg learning curve)
 
All you need is the JDK
javac files.java; java <class name>
 
is taht javac and java?
ah ok
@quartata yeah but I'm seeing all these .jar and .class files with crazy folder structure that is very intimidating
 
What is this?
 
like every java project
 
11:49 PM
Very specific
Big projects usually use ant.
It's the Java equivalent of make.
 
So you could grab that and do ant
 
@quartata ok well ive dropped commands and just switched to IDE >_>
 
@Downgoat First off this is deliberately designed to be confusing
So if this is how you're trying to learn Java I highly recommend not doing that
In fact I have no idea how you run this
It has Maven and something else
Travis just runs codecov
I think it's a Spring application?
What
OK, I found the Main
java com.seriouscompany.business.java.fizzbuzz.packagenamingpackage.impl.Main
I think?
 
I just need to write Java for my CS class >_>
 
11:52 PM
You'll need to use maven to build it
 
@quartata oh my
 
@Downgoat I'm assuming they told you a specific ide to use then
@Downgoat Yeah, like I said, I'm pretty sure it's a joke
 
@quartata uh no not yet
but probably eclipse
 
Actually if it's an intro course they'll probably have you using something smaller
 
@quartata its AP CS A :/
 
11:54 PM
you usually won't see eclipse required until a mid-level course
 
@Downgoat Oh, AP. Never mind then
@Downgoat That means you have errors.
 
question: what do these red xs mean?
@quartata oh no
 
Error in the code somewhere
 
They'll show in the editor
 
11:54 PM
It won't compile, usually
 
Look for something underlined in red in your source
 
There will be an X by the line
 
._.
no red
 
@Downgoat that should be somewhat obvious
 
@EᴀsᴛᴇʀʟʏIʀᴋ ive never used IDE before
 
11:55 PM
You need to save the file
CTRL-S
 
@StevenH. ah ok thanks :D
 
that will recheck and clear it of errors
 
That's what the asterisk next to the file name means, unsaved edits to the file
And when you first opened it, there was probably some error in the code that the IDE never bothered to check if you fixed for the purposes of removing the X
 
:/ I thought IDE was supposed to automatically add imports
 
11:56 PM
It will but not fully automatically
How will it know which of multiple imports to choose
 
It does if you ctrl-space
Ctrl-space opens up the context-sensitive autocomplete menu, and when you select one of those it will add the import if necessary
 
@StevenH. oh, cool. Thank you very much
 
Ctrl-Shift-o should work also ime.
 
Why do I still know this, I haven't used Eclipse for four months .-.
 
@Geobits cmd+shit+o for me but thanks
 
11:58 PM
@Doorknob The phonology is literally the worst part
The grammar is cool but I can't imagine a human actually pronouncing Q
 
@Downgoat Oh right, one of those people.
 
@Downgoat can you help me? I need to write a function currier in js. Like, curry((a,b)=>a+b) would be equivalent to (a) => (b) => a + b
 
@quartata That lateral affricate though
 
It's cool in theory, sure
 
@ConorO'Brien hm lemme see if I can write one
 
11:59 PM
@quartata /qχ/ is in my conlang .-.
 
But I almost triggered my gag reflex trying to pronounce something once
@Doorknob Monster
 

« first day (2035 days earlier)      last day (2801 days later) »