« first day (2063 days earlier)      last day (2780 days later) » 

12:01 AM
@Downgoat Is it possible to do anything like this?
 
@Downgoat Danger noodle technology is very good
highly advanced species only outclassed by mice and dolphins
 
@DJMcMayhem to use functionzed ops you need to use parens. There is no "function" type either (well techincally you could do let function = (what is ->))
i thoughgt i added functional ops to docs :/
 
Ah, okay cool. So when is the colon necessary or not?
 
colon is for strict typing and its completely optional. also, classes are both in camel-case and non camel-case version e.g. String and string both refer to the same string class
 
@Downgoat did you write a parser yourself, if so, can u teach me some basics?
 
12:08 AM
@RohanJhunjhunwala im busy rn but reading from here i described basic grammar with LL workings
 
@Downgoat OK, so typing is weak by default, but strict typing is allowed. Is there a const yet?
 
yes
try const foo = 'bar' and then try setting foo to something else
(if you have npm you can install a fancy cheddar REPL with npm install -g cheddar-lang btw, easier than TIO imo)
 
I don't have node and I don't want to bother getting it
 
:O D: ;_;
it has really easy installer and all tho
 
I have to agree with DJMcMayhem, it is clear as mud.
@Downgoat are you interested in adding Cheddar to the esolang IDE?
 
12:12 AM
cheddar is not esolang :P
ill probably make a vim plugin for it sometime
(maybe other editors but idk anything except vim)
 
@Downgoat the esolang IDE need not support only esolangs
SILOS is supported in it (Which has an esolang page) but thats beside the point
 
github.com/rjhunjhunwala/S.I.D.E please do consider adding cheddar its easy
Just provide a jar which takes a cheddar file as a CLA, and a list of regexes for syntax higlighting
 
Apparently men are the holiest
 
@RohanJhunjhunwala :O I know Java, I can make a jar :D
shit this is complex java tho
 
12:15 AM
@Downgoat :) shouldnt be too hard, just invoke another interpreter you have.
 
@Downgoat js halp pls?
 
@EᴀsᴛᴇʀʟʏIʀᴋ yea?
 
how get a Date with today's year, month, and day?
but no time/time is midnight
 
@EᴀsᴛᴇʀʟʏIʀᴋ new Date().getMonth new Date().getYear() new Date().getDay()
 
12:19 AM
100 percent not verbose
sorry
 
oh god js date subtraction is bad
 
@RohanJhunjhunwala Do you use an IDE when you're working on SIDE?
 
@DJMcMayhem yes I use netbeans, although i twould be hilarious to do on SIDE
 
Ok, I'll download it. Should I go with "java se" or "java ee"?
 
Java SE
 
12:25 AM
What exactly is the difference?
@DJMcMayhem the latest release isn
 
Java EE is for enterprise web stuff like EJB and JSF which I don't think you'll be using
 
isnt the most recent
 
I have no idea.
 
@RohanJhunjhunwala pls halp eclipse is not working on your java, its borked pls ;________;
it cannot find main idk what is going on such bork Q_Q
 
@Downgoat what is the error.
 
12:26 AM
this is why i hate java. you are forced to use crappy ide which never works
 
oh
Ensure the file name is Main.java
 
yeah its all there but it claims it cannot find it
 
and you can comment out the main method in SILOS,java if it is confused by it
 
user image
9
@Downgoat You mind explaining this I found in my kid's work?
 
¯\_(ツ)_/¯ What can I say. If the ratio of Goats to Bananas was that IRL the world would be a better place
 
12:28 AM
Those are upgoats, right?
 
Is this the stuff they're making Minibits do
 
idk, let's ask mathematica
 
@DLosc @DJMcMayhem I added a nicely packaged release on to gitHub
 
Ha, yeah. Poor goat-counting fourth graders :/
 
@RohanJhunjhunwala Where? I can't see it
 
12:30 AM
pls halp I am freaking out, eclipse is weird, big bloated, ide that is borking ;___;
 
@DJMcMayhem refresh and click the releases tag
 
what is my Java files are not in a very specific eclipse format??
what do I do redo my app?
ugh
 
@Downgoat it's eclipse, does that help?
 
@Downgoat use SIDE the first real release has been published
 
@Downgoat Import them?
 
12:31 AM
okay i think this is enough computer for today, bai
2
 
You have to make a blank project and use Import from Filesystem
 
@Downgoat baa
 
Or do it in one step in NetBeans: project from existing sources
 
12:32 AM
what am i donig wrong help
 
@Downgoat using ecliplse
 
using mac
 
^ that too
 
cropping too closely
 
eclipse is cross platform that is not the problem though.
 
12:33 AM
using a potato
 
make an empty project and import from filesystem
 
well I want to import from a git tracked project
 
You can make a new project from the import dialog IIRC
 
I also don't want it to be in the super-specific eclipse format
 
Use the Git perspective
 
12:34 AM
;_; I am just trying to compile files
 
the .gitignore the .project stuff
 
CMC: write a chat extension that randomly replaces words with goats in the textarea
3
 
@quartata but it requires files to be in specific directories and all
@ConorO'Brien AFAIK its already been done
 
@Downgoat You mean besides Java wanting it in a certain structure?
 
12:35 AM
You mean in packages?
Your code should always be like that
 
@DJMcMayhem did u see the release tag>
@Downgoat I compiled it for you. It should be easy to downlaod
Go to the latest release of SIDE
 
@Geobits javac lets me structure my project any damn way I want as long as i supply the correct file names ;_;
ok im getting agitated, i really should leave now
 
@Downgoat That doesn't make it right o_o
 
The compiler sure. Try running it lmfao
 
I could install programs to the Documents folder, but it doesn't mean I should.
 
12:38 AM
wait that's not where they go
 
@Geobits i am american citizen i am free to do whatever the hell i want whether or not the compiler likes it >_> :P
 
read up on how packages work. Folder structure needs to be precise
 
though seriously... the compiler enforcing your folder structure is crazy
 
@quartata where is pip installed .-.
 
12:39 AM
I only don't like it when someone goes eight packages deep. Then I curse them to hell. Any other time it's very nice, tbh.
 
The compiler doesn't. You just can't run it if it can't be qualified correctly
 
@Downgoat It gets rid of the possibility of name conflicts if nothing else. If both of your Entity.java files (or whatever) are in the right folder, there's no confusion.
 
@ConorO'Brien python -m pip install xyz
 
thanks :D
 
I don't think Windows gets the alias
 
12:41 AM
windows doesn't get a lot of things -.-
 
@El'endiaStarman probably knows
 
@Geobits I really need to learn a classpath and all that fun stuff.
I kind of just let me IDE take care of it...
 
Well, the point of the IDE is that it can. Most of the time ;)
It's nice to know anyway, of course, for those few times when something gets borked.
 
0
Q: Is the function even or odd

DopappIn mathematics, an "even" function f is one where f(x)=f(-x). An "odd" function g is one where where g(x)=-g(-x). You must determine whether a function is even or odd. A function might be neither even nor odd. Input An expression which you can take from stdin, a function parameter, etc. The inp...

 
@quartata Wait what huh?
And yes, I read the context.
 
12:48 AM
9 mins ago, by Conor O'Brien
@quartata where is pip installed .-.
that maybe?
 
You're clearly the Windows guru 'round these parts :P
 
.....I actually have no idea where pip is installed. It Just Works™.
I think I have an idea though.
Yep, thought so. C:\Python35\Lib\site-packages\pip
 
@Downgoat u get it to work?
 
@Conor I don't know J, but can that not be golfed more? It's just very odd to see a Java answer within 11 bytes of it :/
 
@Geobits J is not very good at recursion
I'm working on it rn
 
12:54 AM
Ah. That could be an issue there then.
 
trying to use ^: if that means anything
 
@Dennis please pull SILOS, a lot of changes have been made that should ideally not affect function
 
pointy-nose-guy. Got it
 
close enough
@Geobits golfed it to 27, just reordered the reference such that iterating over the zero cells became unnecessary
 
13% reduction? Nice :)
 
12:59 AM
@ConorO'Brien wait wat i thought J was functional lang?
 
@Downgoat it is
recursion != functional
@Geobits thanks :D
 
and it doens't have consise recursion o_O
 
it does
$: is self-reference
but the casework costs some bytes
conventional golfed fibonacci is 1:`(-&2+&$:-&1)@.(2&<)
 
why is my google mobile version on my laptop
 
shakes fist markdown!
 
@EᴀsᴛᴇʀʟʏIʀᴋ Well technically a laptop is mobile, so... :P
 
Good thing neither he nor I started it with that word.
 
true
@ConorO'Brien cergos comic with bugfix please
 
bugfix?
@Geobits technically technically is technically a technicality
 
1:03 AM
basically that xkcd with "started with 'techinically'" replaced with "started with 'well, techinically'"
 
Is it possible to fix a git release with a new jar
 
I'm trying to make the comic distinct somewhat from xkcd :P
"self-contained" as it were
 
So do that by ripping off xkcd? :P
2
 
tempting :P
 
Next up: replace velociraptors with feral peacocks
 
1:06 AM
s/peacocks/goats/
 
Meh. Goats just don't pounce the same as bird lizards.
 
@EᴀsᴛᴇʀʟʏIʀᴋ no such thing
 
this is the most I've ever ripped of xkcd :P
 
@Geobits orly?
 
1:08 AM
@ConorO'Brien no no no no no no no no no no no no no.
 
wat * 12
 
hunting part = "no pls"
exists part = "rip my neighbor's garden"
 
@EᴀsᴛᴇʀʟʏIʀᴋ feral cat california has 10x results
 
feral cat isn't really a common thing and 10 times less is like non-existant
 
but he didn't say cat
38 mins ago, by Downgoat
okay i think this is enough computer for today, bai
@ConorO'Brien seriously, how many socks do you have
 
I'm wearing a pair
 
they all have the "i'm leaving is back in 30min" problem
 
@Downgoat No, I mean like a raptor:
:D
 
1:10 AM
@EᴀsᴛᴇʀʟʏIʀᴋ oh shoot I need to be studying
 
@Geobits goats can do that too. gimme a sec to pull up the gif
 
yes you do goodbye
 
bai!
pineapples
 
Aug 30 at 2:02, by El'endia Starman
Downgoat said bye and was back two minutes later. I see he goes to the Conor O'Brien school of leaving chat rooms. :P
 
yeah, sock confirmed
 
1:11 AM
@Downgoat :D
 
@EᴀsᴛᴇʀʟʏIʀᴋ pupil =/= sock
 
i think sock
 
See, and I always thought Riker was the sock, due to the small caps thing ;)
 
@Downgoat release published. @DJMcMayhem It's fixed now
 
0
A: Sandbox for Proposed Challenges

DopappIs the function even or odd? mathcode-golf In mathematics, an "even" function f is one where f(x)=f(-x). An "odd" function g is one where where g(x)=-g(-x). You must determine whether a function is even or odd. A function might be neither even nor odd. Input An expression which you can take f...

 
1:14 AM
@RohanJhunjhunwala sorry but I've quit Java outside of CS class :P Eclipse is just utter crap and it is very difficult to practicallly code java apps in without
 
yes
but one typo
s/Eclipse/Java/
 
@Downgoat :( could you at least take a look at the IDE so I can have some ffedback
@EᴀsᴛᴇʀʟʏIʀᴋ no s/s/Eclipse/java//java is amazing
 
for a odd definition of amazing
 
@EᴀsᴛᴇʀʟʏIʀᴋ in all seriousness I agree on some levels
 
1:17 AM
Java is powerful in that it is fairly multi-platform, but I don't like the dubious business practices, and poor security.
 
C++ is techinically multiplatform considering im sure they is windows C++ compiler
 
@RohanJhunjhunwala yeah, that's the only good part IMO
though I do like the enforced style of packaging
 
@Downgoat in a way, but significantly less than java
 
@Downgoat J is function-level not functional
There was a good SO post on the difference that I can't find
 
1:40 AM
@Dennis does Jelly work on windows?
 
I haven't tried, but I guess it should.
 
C:\Users\Conor O'Brien\Documents\Programming
λ cd jelly

C:\Users\Conor O'Brien\Documents\Programming\jelly (master)
λ echo +>test.txt

C:\Users\Conor O'Brien\Documents\Programming\jelly (master)
λ type test.txt
+

C:\Users\Conor O'Brien\Documents\Programming\jelly (master)
λ jelly test.txt 3 4

C:\Users\Conor O'Brien\Documents\Programming\jelly (master)
λ
no output :/
wait I'm an idiot
 
It's jelly fun test.txt 3 4.
 
still no output with any combination of flags
:/
 
Try python3 jelly fun test.txt 3 4.
 
1:44 AM
I think that works, except a 0x7f char is printed after the 7
 
That's the newline in the Jelly code page. You have to set your terminal to UTF-8 to avoid that.
 
oh, okay
thanks!
 
np
 
windows should just break down and use shebangs :P
 
@Dennis Curious: why was newline not set to 0x0A in the Jelly codepage?
 
1:47 AM
Excellent question. Having all ASCII characters grouped in a contiguous 96 byte block was supposed to make some things easier.
In hindsight, it wasn't the best idea...
 
Good to know.
 
Code golf scoring aside, Jelly was never meant to be used with non-UTF-8 source code and non-UTF-8 output.
 
@Dennis what is ldepth and rdepth in attrdict?
actually should I be taking this to the jelly room
 
The depths at which the atom vectorizes for its left and right argument.
 
oh, like rank in J?
 
1:52 AM
I have to go now, but if you leave some questions (here or in Jelly), I'll answer them as soom as I can.
 
okay, will do! thanks
 
2:02 AM
CMC: output a weird range, i.e., from 1 to 5 it's 1 5 2 4 3; take n, m, n + 1, m -1, ... . So 1, 4 -> 1 4 2 3 etc.
 
2:12 AM
@ConorO'Brien Minkolang, 9 bytes: 1nLI[rN].
 
@ConorO'Brien Tried an approach in Pip; turned up an interpreter bug. >_<
 
@DLosc aw. but hooray!
 
Yep. ;)
 
@El'endiaStarman I meant 2 inputs, but that shouldn't change the byte count
 
Still not sure what's going wrong... it's something to do with assigning to items of lists, though. It works the first time through the loop but fails thereafter.
 
2:15 AM
@ConorO'Brien Yeah, just replace the 1 with n.
 
Got it! I must never have added cyclic indices for lvalues, just rvalues.
I can fix that tonight, since I was working on index-related stuff anyway.
 
@ConorO'Brien I tried using iteration and got 0{]_&(]}.,+/@}:)1 1 2"_ at 23 bytges
 
@miles nice! feel free to post that, I'm going to be out of commission for about half a day (school and sleep)
 
@ConorO'Brien Pip, 29 bytes: T$=g{Pg@i(gi%2)-:i%2|v++i}g@0 (there's got to be a better way)
The bug lack of new feature only cost me 3 bytes.
 
@ConorO'Brien nah it's for you, it's the same method anyways
 
2:30 AM
@miles alright, thanks. :) will post it now, but explanation will come later.
 
can anyone point me in right direction for creating good searching algorithm things
 
Very specific 10/10
 
@Downgoat go right
 
@ConorO'Brien Getting better, 21 bytes: Ta>bP++v%2?--b+1++a-1
 
2:34 AM
@Downgoat What are you searching for, and in what?
 
@DLosc whoa, 8 bytes. is this with the fix?
 
For grazing, a random walk usually works well enough.
 
@ConorO'Brien No, a less naive algorithm. :P
 
oh lol
 
@Geobits Basically I need to make a thing where the user searches for an item and the most relevant item shows up. I have no idea how it should work. A) How should I store the description of the item, a paragraph? an array of keywords? something else? B) how do I effectively do a search? How do I weigh different words based on semantic meaning/importance?
 
2:37 AM
@Geobits hill climbing is better, though
:P
 
only CS thing i know how to do well is pretty much parser theory :P
 
Oh jeez, you need a book or few then.
 
O_o just for search algorithm
 
@Downgoat you could try a trie
 
@Downgoat red the MIT book
 
2:38 AM
@Downgoat If what you were doing was simple, Google wouldn't be Google.
 
I'm really strong in parser theory and number theory, but not in search algo's
"This is what Google does, and here's an analogy that's vaguely related and will make you think that you can make your own search engine by reading a book." And thus bing was born.
:P
 
@Maltysen what?
@Geobits pls halp how to acquir googl suorce coed
 
@Downgoat geobits reccommended you read book on algorithms
i pointed you to one
 
hahahaha... I am not a book person
 
@Downgoat talk to china govemnent
 
2:40 AM
(and I can't find the boko you're talking about, link?)
 
@Downgoat introduction to alogrithms or somrthing
 
ಠ_ಠ I know what algorithm is
 
@Geobits It's worth noting, though, that there were several competing search engines when Google started. Google won because they did search really well, and PageRank helped a lot with that.
 
... because using alphabet didn't make you look smart enough?
 
Nope. ^_^
 
2:43 AM
@El'endiaStarman Sure, and you could patch together some basic keyword matching really easily, but I'm not sure that truly qualifies as "search" in this case. I don't really know how deep he wants to go.
 
@Downgoat no this is a really good book
10/10 very in depth
 
ok will check if i can rent from local library
 
Take that Nvidia:
0
Q: Is naming different products the same thing good UX?

Helka HombaThe Titan X is Nvidia's latest top-of-the-line enthusiast graphics card built on the Pascal architecture. "Titan X" is also the name of Nvidia's last-generation top-of-the-line enthusiast graphics card, built on the older Maxwell architecture. To be clear, these are both high-end Nvidia graphic...

 
@Downgoat i don't know how you want to do this, but A) you store some sort of index of your data, and then B) you use one many search algorithms to return the relevent data, binary, hash table, maybe some sort of fuzzy search
 
@HelkaHomba There are an awful lot of different Mustangs or Expeditions out there, and they seem to do all right.
 
2:46 AM
@Maltysen i know that but now i have to figure out how to weight meaning of words without abusing greek alphabet
 
@Downgoat that's really vague. what do you mean by weighting words?
you'll probably need some kind of nlp for that
 
I know ;_;
brb extracting from chatgoat engine
@Maltysen e.g. the => 0, goat => 10
I did a double-threshold frequency thing for chatgoat and it works ok
but its still pretty bad
 
google kinda wrote something for this
and its part of their google cloud platform
do the demo, if im understanding you corrctly, salience is what you're looking for
 
@Geobits Ok. But a car is a much bigger investment. Even naive consumers would check the year and do a test drive.
 
It's not just cars though. Unless you delve into model numbers, you see the same thing all over the place. For laptops, there's Thinkpads, Inspirons, etc. You've got Chromecasts, Apple TVs, and Kindles. Lots of things keep the name when a new generation comes out, even if the underlying architecture is not the same.
The main "pro" is instant name recognition.
 
@Geobits ... Programming languages...
 
*cough*perl 6*couhh*
 
I've spent quite a few hours at work lately fixing stuff that broke because PHP7 !== PHP5
 
VB.NET threw people for a loop IIRC, after VB6 ;)
I had a program fail on me for a missing method before I realized I was working in Java 5 :/
Like, last year.
Stupid legacy programs.
 
> Google: makes super smart advanced NLP API
> Google: Can't get z-index right on their website
 
3:01 AM
@Downgoat where?
 
@Maltysen on the website you linked
 
@ConorO'Brien Got it down to 14! Tb=PaSba-:o*:v
 
@Downgoat haha
didn't happen to me
 
@DLosc There are some truly nasty tricks in that code, folks.
Pseudocode: till (b == print(a)) swap b with a -= (o *= v)
with a and b being the cmdline inputs, o preinitialized to 1, and v to -1.
 
@Maltysen I think he's running some janky browser on some janky OS ;)
 
3:12 AM
@Downgoat Not like that for me either. Probably a problem on your end...
 
Well, based on my very unscientific survey, it looks like TNB wants a good mixture of difficulty in code golf questions, with a slight preference for medium (30 mins or less).
 
@Geobits I'm just running Safari on OS X
 
That's what I said, isn't it?
 
sigh...
 
@Downgoat Google: has enough employees that there's a probability a person who works on NLP will probably never meet whoever broke the z-index
 
3:20 AM
@DLosc whoa
@Quill this is true
 
@ConorO'Brien A lot of that improvement was finding ways to resolve off-by-1 errors. Printing in the loop test, for instance.
 
(You'll note the previous version had nasty stuff like ++a-1. Too bad Pip doesn't have a post-increment operator, but it's much easier on the parser not to.)
 
haha, I know the feeling. "This would be better, but it's ugly in the source code, so nah"
Anyhow, I'm going to sleep now. peace y'all
 
Shalom!
 
3:33 AM
Right now I'm trying to write some very-abstract/generic code to "analyze" programs written in simple esoteric languages.
 
"Analyze" how? Sounds interesting.
 
The key insight being that many esolangs are built around a couple of core, global data structures (arrays, stacks, etc.). Even though the syntaxes are often wildly different, each "command" typically performs a straightforward operation on one of the global data structures.
 
Ok, yeah.
Good luck with Hexagony, though ;)
 
Adding hexagony support might just be a matter of implementing a crazy data structure or two.
But, given a list of all of the commands and how they affect the contents of the stack (I'm mainly sticking to stack for now), we can start to do things such as determine the state of the stack at a given place in the program, without actually "running the code" (no input is provided).
For example, the ability to say that "between characters X and Z of the program, the stack grows by 7 items, and the top 5 items are strings"
 
Hm, okay.
 
3:42 AM
If operators are overloaded (as operators are wont to do) then it would sometimes be capable of calculating the correct context of the operator and determining what it will do.
Of course, I'm a long ways away from having anything useful working.
 
:) We've all been there.
 
I think it's a cool idea though.
 
I'll be interested to see where you go with it.
 
I'll probably incorporate it as part of the Esolangs IDE project i'm working on.
 

« first day (2063 days earlier)      last day (2780 days later) »