« first day (2877 days earlier)      last day (1983 days later) » 
00:00 - 17:0017:00 - 00:00

5:01 PM
98???
 
I'd guess that's about how long the code to decompress and eval is.
 
Huh, I thought minimum would be 43 * 2 for xem's compressor. Unless I did my math wrong
 
The shortest 2:1 compressor I know of is 48 bytes without the compressed code included
idk if xem's compressor works on code-golf.io
holy crap it does
instant -5 on a bunch of my medium-sized answers
 
@ETHproductions why would it not
 
5:16 PM
I didn't realize U+10000 and up were counted as one character
 
@ETHproductions 'Course they are! They are individual characters. Are you thinking of UTF-16? They're still one character.
 
Yes, but they're surrogate pairs, and JS's .length counts them as 2. idk what website I was thinking of that does count them as 2
 
JS just sucks.
You should know that by now.
 
Oh, I know :P
Now I just need to find a single byte to remove and I'll tie roman on 99 bottles
 
@ETHproductions Try the superfluous one.
 
5:23 PM
@ETHproductions wow mine had so many obvious golfs
 
can a hat move someone to action?
 
@wizzwizz4 why thanks for the helpful tip, I'll let you know as soon as I can find it
 
@quartata Depends on the action
 
- a hat given for applying to a job through SO Careers
 
@quartata Yeah, that would work.
 
5:24 PM
can a hat move masses?
 
But those who have jobs would be upset.
 
- a hat given for showing up at SE HQ on christmas eve
 
@quartata No NO NO NO NO!!!!
Bad idea.
 
can a hat... help us to say goodbye?
 
@wizzwizz4 Nah, just apply for a job and unconditionally turn it down. Get the hat, win win
 
5:25 PM
- a hat given for disassociating from your most upvoted post
 
@quartata Shog may not be happy about that
 
can a hat bring us...
to kill?
 
spam? I wish :P
 
- a hat given for printing one ream's worth of SE content
maybe together we could kill one tree. wouldnt you like to see that?
 
5:28 PM
no
 
lol, roman's already tied me back
 
That was quick
 
yeah, looks like you challenged him to something... ;-)
 
5:31 PM
@EriktheOutgolfer I take it that's a reference to his blog where he explicitly states that.
 
good or bad dont apply here. all that matters is feeling an emotion. any emotion. that is what we demand every day
 
@ETHproductions he usually matches or passes it within a few hours
i just passed him for the 6th and 7th time
let's see how long those last :p
 
yeah, I don't think he's lost 100% for more than a few hours ever since he gained it a few months back
 
now if youll excuse me im gong to go trade in my car for an incandescentlightbulb
ayn rand would be proud of me. z
 
5:50 PM
- a hat given for clicking "I hate hats"
I assume they've already done a hat given for earning three other hats in the same day (a hat-trick)
 
A hat given for staying logged into at least one SE site for the whole duration of winterbash and doing one action at least every 5 minutes (clicking a question, etc.)
 
@Quintec Nobody will ever find that.
 
Plot twist: that hat has existed every year
 
No sleep for a whole month, huh?
I know some people think they can do that, but no, they can't.
 
@El'endiaStarman I can do that! I've been not sleeping for the past theeeeeee days ! 233333
JJEOW Isn't that right?!
 
5:56 PM
- a hat given for getting an answer accepted on every site in the network
 
l ;SLAzzzzzzzzzzzzzzzzzz
@ETHproductions That'd be a good one, but not as a secret hat.
If it were a competition.
 
Then every site would get traffic!!
(Or just one for posting an accepted answer in PPCG :P)
 
- A hat for drawing a perfect replica of a hat you have in the knitting game
 
- a hat given for visiting the site from 7 distinct countries
 
@Quintec That's a hat for botting.
@ETHproductions Excluding TOR IP addresses.
But that's basically a "you live in the EU" hat.
 
5:59 PM
- A hat for not logging in to SE for all of winterbash
^totally supports the purpose of winterbash
 
@quartata "how do hats say goodnight"
 
@ETHproductions And of course our "Don't accept answers" policy screws over a bunch of users
 
"Selling accepts! 50 rep bounty each!"
 
@Quintec That's not a good deal.
 
@ETHproductions you mean continents right
 
6:24 PM
There are only four continents which are floating in the sky surrounded by orange nnnnn
You're right; nobody can go a month without sleep.
@Riker Only those stationed in Antarctica who are leaving or just arriving could get that hat.
 
I mean
it's not hard to fake ips
I mean I think quartata is successfully tweeting from turkmenistan still
 
@primo Roman would like to talk with you about code-golf, you can find his email on his website (romancortes.com)
 
interesting
 
He and I spent a good length of time sharing tips, back when he was still working on his JS domination
(it was mostly him sharing tips though tbh, I obviously still have a ways to go to catch up with him)
 
i'll shoot him a mail
 
6:32 PM
awesome, he'll be looking forward to it :-)
 
@ETHproductions Did Roman ever say "I was once the student; now I am the master." or anything like that? :P
 
Not that I know of, lol
He did say he didn't care much about code golf until I started to beat all of his scores :P
I believe he's had quite a few JS1K entries which helps a good bit too
 
7:01 PM
@riker why is your first assumption that im spoofing it and not the simpler explanation that i relly am in turkmenistan
occam cut himself while shaving
8
 
@ngn ..and how about an IDE feature to change representations of things? e.g. 2 2⍴1 2 3 4 ←→ ↑(1 2) (3 4) ←→ [1 2 ⋄ 3 4]?
also, quick refactor to swap ⍺ & ⍵ of a dfn
 
@quartata There's Occam's Razor, and then there's being naive
 
ngn
7:17 PM
@dzaima those sound nice and i certainly don't mind editor features, as long as the language doesn't force you to use them
for instance like java forces you to put your code in a main() function and wrap it in a class - lots of boilerplate which nobody writes by hand
 
@ngn that's the type of thing I don't mind the IDE doing - at least I wouldn't trade having the entry point be very special-cased just so I wouldn't have to use an IDE
 
ngn
@dzaima another common one for apl is comment alignment
@dzaima for me it's not just "don't mind", i must use it, or waste so much attention in typing it that i forget what i was doing :)
@dzaima regarding the tight binding between language and ide - i, like many other programmers, have invested a considerable amount of time in configuring a favourite ide (vim in my case). i don't want all this thrown away just because the language/ide authors think they know better than me what is convenient
 
@quartata one costs at least 1k+ in plane tickets and the other costs much less
 
7:35 PM
@ETHproductions C's strlen counts them as 4 code units. Still one code point.
 
8:27 PM
C# has an amazing mess of dealing with surrogate pairs
You can even manipulate internal string encoding
 
@Pavel It's worse than JavaScript in that regard.
 
@dzaima @ngn I'd like have an IDE feature to move the rest of this line to a new line above the current one, then put on the far left, then put the cursor on the end of the line I came from, and when I type a name there, it will also appear at the beginning of the inserted line. Clearly, this wish-feature is due to a problem in the language.
 
@wizzwizz4 Honestly yeah. They really dropped the ball on Unicode support.
 
@Pavel It uses UTF-16 underneath, and for full Microsoft Windows compatibility they ensured that a string was practically just a C short array, correct?
 
It does use UTF-16 underneath, yes. A char is 16 bits wide.
 
8:37 PM
Reason #38 never to use C#.
Good timezone!
 
What are reasons numbers 1 through 37?
 
@Pavel I think I'm on #38, or something like that.
Let me think...
#1 was something to do with it not being anything like C, despite the deceptive branding.
 
@Adám hmm I wonder how vim would be able to do that
 
#2 was the importing system, I think.
 
@Adám ctrl+alt+f does that in Intellij IDEA for Java, it even searches for the same expression used elsewhere in the code and gives you the choice of replacing it too
 
8:39 PM
I don't have a copy of the list any more, sorry.
Bye!
 
@dzaima That doesn't sound right. Java isn't strictly right-to-left.
 
@wizzwizz4 WTF do you not like about C# imports
 
@Adám right, forgot to mention that it requires selecting the expression (and if you don't, it gives a drop-down of possible expressions)
 
@dzaima Right. Now it makes more sense.
 
also i meant ctrl+alt+v; though the statistics say that i've used it only 87 times, thought that'd be way much more
 
8:42 PM
@wizzwizz4 It is like C++ in a lot of ways. The syntax and keywords, of course, but a lot of C++ features are present in C#: You have pointers, virtual and nonvirutal methods, stack allocated and heap allocated objects...
 
If, however, APL was left-to-right, it would be as simple as typing name [Enter] name
 
The point is to be memory-safe C++ and in many ways that's what C# is
 
@Adám or if you wrote it right-to-left :D
 
@dzaima That would be pretty awkward if names were still in English. Of course, if all your identifiers are in Hebrew or Arabic…
 
@Adám yeah, that, and numbers are a big problem for that
also array strands would be awkward
 
8:45 PM
@dzaima Oh, right, they already are in Hebrew. Yeah, I think the more viable viable solution is LtR APL.
 
i wonder how much work would it be to get a flag to enable left-to-rightness in my apl
 
O_o apparently rust is too cool to use libc so fro WASM they have their own allocator and math function implementations
 
@dzaima Probably too much
Or hack it together somehow with a bunch of ⍨'s maybe.
 
@Zacharý eh, it'd mostly require replacing my horrible regex-typish things and making a bunch of firstSomething & lastSomething do the exact opposite
 
@Pavel Never mind; was confusing that with my PHP list.
C#s is better than Java's in some ways.
 
8:51 PM
@Downgoat afaik swift is the only big one that makes use of libc
go's abi is incompatible i think
 
@Pavel The syntax and keywords, the fact that sizeof(char) is now 2 for no apparent reason.
It's not a C-like language.
 
@quartata I mean rust does use Libc but not for WASM
 
own implementation of malloc certainly doesnt surprise me -- @ngn can tell you how much glibc malloc sucks
 
@wizzwizz4 i mean if both the syntax & names of it would be the same as Cs, it would literally just be C ._.
 
particularly for WASM thats gonna be a "No Go"
 
8:53 PM
@dzaima C++ isn't C.
It's almost entirely backwards-compatible, but it's not C.
 
anyone up for a game other than spyfall
 
@quartata Emscripten uses MUSL though at this point I am probably going to roll my own copy paste one
 
@Downgoat emscripten doesnt use musl, emcc does
 
@wizzwizz4 C# is better than java in like all ways
(For the record, Java handles strings the exact same way)
 
that is, im pretty sure emscripten doesnt care at all since its at LLVM IR by that point
 
8:59 PM
@quartata Contact or Codenames?
 
if youre worrking in C then youre going to get MUSL
 
@quartata That's an implementation of libc, correct?
 
@Pavel if you want to deploy the pings for Codenanes so im not liable
@wizzwizz4 yes
 
@quartata I think only ffao and mods can deploy pings
 
@Pavel What do you mean by "deploy pings"?
 
9:01 PM
@wizzwizz4 There's a bot that has a command to ping a whole bunch of people at once
 
@Pavel Oooh.
 
for a game...
not like
 
katana copypasta v2 @quartata you may find this inspiration for a tweet
(found unironically on dandwiki)
 
ill have to find a way to incorporate the long form katana joke i did here
 
ngn
@quartata @Downgoat i confirm. recommended reading: how to allocate memory
 
9:06 PM
it really do be like that
 
ngn
@Adám @Cowsquack in what ide? that doesn't sound terribly hard to do in vim
 
@ngn Any, I guess, as needing it is due to a fault in the language.
 
ngn
@Adám that's more like a refactoring maneuver than a fault
 
@ngn No, the fact that it is so complicated to do (and thus, I'd like it automated) is a fault of the language.
 
9:28 PM
@Pavel do you recommend xnh as a reasonable variant to pull from source for the purposes of modifying it for AoC d15
I think it's more likely to have good supportable code than vanilla 3.4.3 and I am not familiar with the 3.6 codebase
 
No character-based language can be perfect at everything.
 
@Riker I haven't seen AoC d15 but it's not much different from the 3.6 codebase
 
hm I thought things like mflags and map gen were different
esp. map gen
 
¯\_(ツ)_/¯
 
@Pavel No
 
9:29 PM
All I did was a bug fix for archon polyinit and added the splashscreen
I haven't poked around in there much
@Quintec Yes
 
False
 
True
 
0
 
In all seriousness though there's very few things Java does better than C#
Off the top of my head I can only think of enums having methods
 
Why no, good madam or sir, that is not the case
 
9:33 PM
i wish i knew c# to comment on the issue but every time i want to learn it i go to tio, see Main written with a capital m and close tio..
6
 
...alright, fair enough
 
-1
Q: Multiple choice code

user84554This isn't so much, HOW do I make it work, as this code works, rather how could I make it better. The way this code works is it guides a person to the correct answer by getting "Yes", "No" or "I don't know" ( in some cases from the person). It's inded to run in HTML5/javascript. (Kind of like a...

 
10:26 PM
hey @quartata where is monster ai in the nethack source
 
monmove.c
i think
 
 
1 hour later…
11:59 PM
@dzaima :|
 
00:00 - 17:0017:00 - 00:00

« first day (2877 days earlier)      last day (1983 days later) »