« first day (2116 days earlier)      last day (2727 days later) » 

10:00 PM
9000 is not that big for memory
 
That's actually pretty damn small
 
20 000 * ~16 bytes (per string)?
 
you're trying to avoid opening all of the other files? impossible
 
@NathanMerrill Ok. There isn't a way to do it without an intermediate array?
 
unless you really want to reopen the file over and over
 
10:01 PM
@NathanMerrill So, a reader can't be used like this?
 
well, you could, but it seems a lot simpler to store it in memory
you'll deal with seek times as well (which may or may not be an issue)
if you are trying to maintain multiple file pointers
 
There's only one filea, and template can be hardcoded.
 
'night
 
right, but you are bouncing back between filea and another file that you are writing to
you need at least two file pointers if you keep on reading from filea
which means bouncing
 
@NathanMerrill Ok. Loading it into memory is probably best then.
 
10:04 PM
yep
 
Thanks for your help; hopefully my questions will be more educated in future!
@NathanMerrill ... One more question...
 
you're fine
 
Would Python (3.5.0) optimise a "string stringy stringo".split(" ") into ("string", "stringy", "stringo")?
 
doubt it
but you shouldn't care about that
 
@wizzwizz4 The text is just in a List<string>
 
10:10 PM
Ok... I'll just use a find/replace in Notepad++ then.
 
why are you so concerned about runtime?
 
The code will be running a lot and often.
 
seriously, you only need to optimize when optimization is needed
right, but profile it
 
It's a conversion script.
 
it also doesn't matter what kind of work you do in notepad++, you're going to need to do string conversion into an array
 
10:12 PM
And when dealing with massive files, it's easier if Python isn't doing the same process over and over with constants.
@NathanMerrill I was planning to do that with Notepad++.
Then let the Python compiler do the bytecode stuff. (Not optimising *that much! :-D)
 
so you're going to make a .py file from the space delimited file?
 
@NathanMerrill No. I'm doing this with the template, which remains constant.
I can't change the format of the space-delimited file.
 
whatever. it's kind of silly to optimize out constant-factor operations, since python has such a huge constant factor.
but do what you want
 
I'll just write it in C. At this stage that'll probably be faster; if I'm converting to a constant array of strings anyway...
 
if you really want speed, then that's probably wise
 
10:17 PM
Your file sizes are nowhere near where C would give a massive improvement over Python.
 
though realize that the biggest factor that will be slowing you down is the filesystem
not the language you pick
 
> What the Touch Bar tells us about the Mac's future: Buttons and keys, your days are numbered.
Just no.
 
@NathanMerrill The biggest factor is always the algorithm you use.
 
@NathanMerrill Unfortunately I can't change that either.
@mınxomaτ Unless the data source is a bottleneck and the algorithm has to wait anyway.
 
@mınxomaτ true :P
 
10:18 PM
I almost bought that back when it came out. But it had terrible battery life.
 
@mınxomaτ oh, I'd hate that
 
But it's absurd to think keyboards are going anywhere anytime soon. Even if we're all phones/tablets people will still want physical keyboards for heavy typing.
 
I totally agree, I hate those touchscreen keyboards...
 
Is there a C multi-line string?
 
@wizzwizz4 \
 
10:21 PM
C doesn't have any strings.
 
222
Q: How to split a string literal across multiple lines in C / Objective-C?

Ilya SuzdalnitskiI have a pretty long sqlite query: const char *sql_query = "SELECT statuses.word_id FROM lang1_words, statuses WHERE statuses.word_id = lang1_words.word_id ORDER BY lang1_words.word ASC"; How can I break it in a number of lines to make it easier to read? If I do the following: const char *sql...

 
Escape the newlines
 
@quartata Yeah, I'll probably just find/replace all CRLF with \n.
 
No I mean escape the literal newlines
"a\
 b\
 c"
 
Will the end-result string still be multi-line?
 
10:24 PM
No.
 
I'll have to go with \n then.
 
*a jelly newb
FTFY
 
true
idk jelly but think a 5 or 6 should be possible
 
I was so bummed. My first answer was 5 bytes, and then I realized that didn't work so it was just continually getting longer
 
10:30 PM
@Maltysen I'm not sure that works.
 
@Maltysen I also don't know jelly, but you're probably right.
:P
 
@Dennis why?
 
It'd be really cool if we had an esolangs quiz, where you were told a task, and a bunch of different valid/invalid submissions from an esolang. The goal is to have a, say 90% accuracy rate across as many esolangs as possible
 
in The Bridge, 1 min ago, by Unionhawk
I thought the Brexit made all europeans british
 
That's Union, you can't take him seriously
 
10:34 PM
I'm not saying it doesn't, but you're only checking if all digits of are present in n, not vice versa.
 
@Dennis oic what you mean
 
@quartata I know it's a joke. I'm sharing it because it's funny.
 
Ah, sorry.
 
@Dennis out of curiosity, is there a reason you haven't made a "long" form for Jelly (each symbol a word separated by white space?)?
2
if its just time/effort, I understand
 
@Maltysen 106239 returns True, but 1199090390129919 contains no 6.
 
10:38 PM
ah ok, then
 
@NathanMerrill Probably has something to do with the fact that Dennis uses golfing languages even when not golfing...
 
@Dennis fixed
halp how do I tie a tie very confusing
 
I'm the wrong person to ask
 
it looks like I tried to strangle myself ._.
 
llama@llama:~$ sudo ip link set wlp3s0 donw
Error: either "dev" is duplicate, or "donw" is a garbage.
>_>
 
10:50 PM
@Maltysen Pick a knot. It's easier than trying to explain in text :P
Four in hand is fairly simple, but fine for most occasions.
 
Or get a clip-on. That's even easier.
 
Ew
Clip-ons would be fine if they made them that weren't immediately obvious as clip-ons.
But people judge, so it just depends on the situation.
 
That's exactly the reaction I was hoping for. :D
 
I figured as much. Just think of clip-on ties like you think of velcro shoes. I don't personally care if you wear them, but there are some places you probably shouldn't :P
 
@Geobits Haha, I used to love them, now I hate them:)
(the velcro shoes)
 
10:56 PM
@Geobits haha, that's a wonderful description.
What about my velcro tie?
 
I'm not even sure I want to know ;)
 
(I love the animatedknots website)
 
@NathanMerrill I've considered that for Jelly 2 (name tbd), but I'm currently focused on TIO.
 
@Dennis re-outgolded :D (and only two slimy votes from another)
 
@Dennis m?
 
11:04 PM
Now, if only anyone could outgolf you...
 
@Maltysen Still fails the same test case.
 
@DrMcMoylex 🎂
 
@DrMcMoylex No, M is a fork, not the next version. Once M is more mature, I want to make some changes to Jelly though. It's currently a bit math-oriented.
@Calvin'sHobbies Looks like you're safe from me for a while.
 
@Dennis Looking through the esolangs.org list, it looks like Marmalade is available.
 
@Dennis I think Martin once said the same :I
 
11:10 PM
@Geobits Nah, I wouldn't be able to get the song out of my head. I've considered Mathmallow though.
5
 
@Dennis My name is Geobits, and I approve this message.
 
@Dennis idea: jam
or fred
 
I refuse to believe there's a better name than Mathmallow
 
Jam sounds too similar to CJam. And why Fred?
 
Mathmallow returns a lot of search results online though, so it might not be as distinguishing as you'd like
(More distinguishing than Jelly though...)
 
11:20 PM
@Dennis The language everyone is afred of
 
@trichoplax 4,020 vs ~214,000,000 o_O
 
That's quite an improvement...
 
wat
@Dennis preserves?
 
At least the fork has an obvious name with Jelly: Other M
 
@Dennis yet another name suggestion: Peanut Butter
 
11:36 PM
Do people really eat peanut butter with jelly?
 
... yes.
 
OK
 
@Calvin'sHobbies mmm, delicious!
 
Sweet idea: a cube of turkish delight with a cube of peanut butter embedded at its centre
 
@Dennis people do, not goats however
 
11:41 PM
I'm pretty sure goats eat anything...
 
I thought goats ate almost everything.
Ninja würde
 
@trichoplax that is true, peanut butter and olives are exceptions however.
 
@trichoplax *cookie butter
pls
it's amazing
 
@EᴀsᴛᴇʀʟʏIʀᴋ Is that like cookie dough, or something new?
 
no
think peanut butter + speculoos/gingerbread
 
11:48 PM
@DrMcMoylex \o/ Happy Birthday! 🎉
 
Tank you
 
@EᴀsᴛᴇʀʟʏIʀᴋ Speculoos? So many new concepts...
 
it's basically gingerbread butter
 
@DrMcMoylex ;_; pls no run goat over with tank :P
 
@EᴀsᴛᴇʀʟʏIʀᴋ Sounds incredible
 
@EᴀsᴛᴇʀʟʏIʀᴋ Did not know amazon oneboxed.
 
> A ... spread ... made with crushed biscuits
So you can make a biscuit sandwich?
 
@EᴀsᴛᴇʀʟʏIʀᴋ wait is Speculoos a cookie brand or a cookie butter brand or really not even a brand at all .___.
 
Also: cashew butter
 
CMC: Make a program that alternates between outputting one (binary one is fine, ascii one is not needed) and zero in Wentelx87.
 
11:53 PM
Alternate between one thing?
 
@trichoplax fixed
 
@Downgoat update tf2 sever please
@Downgoat no it's a kind of biscuit
 
That cookie butter is the bomb but I'm pretty sure it's just a Trader Joe's thing
 
think gingerbread cookie
@quartata yes, sadly :/
they sell it on amazon though
@trichoplax pretty much
 
So not surprised the non west coasters don't know it
 
11:55 PM
yes, but still
they should try it
 
@Downgoat Did you set up auto updating w/steamcmd?
 
I can show you how if not
It isn't auto per se but it checks for updates every restart
 
small update looks like, DR bug with flags and the strange filters for the new maps actually work now
 
@trichoplax there is a debugger btw
 
11:56 PM
I'm probably not going to learn a new language for a CMC...
 
@trichoplax learn FOG it's totally not a clusterfuck
@noɥʇʎPʎzɐɹC ... binary 1?
that's... 1
 
@trichoplax There's an infinite loop example in the examples
@EᴀsᴛᴇʀʟʏIʀᴋ the Wentel VM outputs binary as ascii, I'm just requesting a binary 1
 
Does it mean the byte 00000001 rather than the ASCII character 1's 00110001?
 

« first day (2116 days earlier)      last day (2727 days later) »