« first day (4311 days earlier)      last day (526 days later) » 

12:00 AM
@DialFrost it's not just you
 
 
1 hour later…
1:09 AM
apparently esolang.org's lime logo is CC0 licensed so we can use it as the logo for Langdev.SE (assuming we reach that point q:)
 
ummm
 
ಠ_ಠ
A Prince Child of the Dark National Honor Society
 
I'm looking through this list of attributes you can choose you have (for searching for scholarship), one of them is "tall stature" lmao
Like who's giving out scholarships to tall people in particular that's what I wanna know
 
Get stilts
Just in case
 
1:16 AM
"Dog Owner" and "Raised by Hobbits" are also in the "Misc." category
 
maybe the person in charge uses tinder a lot
 
I don't think College Board is vetting these very well
 
@RadvylfPrograms You're kidding.
 
@DialFrost in julia for odious/evil, you need count_ones(i)%2, not that funky bitwise formula
 
oh
im still lower than u :/
 
1:28 AM
replace 1000 with 999 maybe?
 
oh good point
sry im being super dumb today
i cracked and toenail and cut my knee yesterday :(
 
F
 
@Steffan hmm?
 
that's a chat slang thing
 
rly?
what it stand for lol
 
^
 
ahhh
thats new for me :3
@Steffan pysearch aint working :/
 
fear not, we all learnt it somewhere :b
 
@Ginger :p
 
@DialFrost go buy more RAM? lmao
idk
 
1:34 AM
@Steffan :(
im getting my "new" laptop repaired
 
download more ram
 
@Ginger eat more ram
 
obliterate more ram
 
nuke more ram
 
[[Unintelligible Laughter]] more RAM
 
1:36 AM
wut are we doing XD
 
MORE RAM
 
ya'll know how im aiming to get a diamond?
 
becoming mod on Langdev.SE?
 
@DialFrost how's the code.golf grind going?
 
good, it seems like
 
1:46 AM
47th on medals
 
@Ginger ... code.golf lol
@JoKing ?
@lyxal terrible
 
@DialFrost eh?
 
i cant get any diamonds or even golds as julia is a complicated lang
@Ginger diamond on code.golf, meaning 1st place uncontested
 
ohhh
lol
 
especially when antimon2 or jayxon is camping at 1st place
@Steffan ur doing better than me :/
i have to ask for your help every 5 minutes :3
@JoKing who?
 
1:48 AM
@DialFrost you are 47th on the medals leaderboard
 
oh
where?
i dont see a medal LB anywhere
 
in the rankings, under Medals
 
wait nvm
ye i found it
@lyxal all i can say is "welp" :p
@Steffan whats the shortest way to repeat a string x n times?
 
julia?
"string"^n
 
no method matching +(::Char, ::String) are u kidding me
wat kind of stupid rule is this
@Steffan welp :/
 
2:03 AM
string concat is *, not +
 
gahhhhhhh
god im screwed i have to translate [[u*s^(x*2+~i)*a,u*z*b][i==x-1],u*z*l][i<x-1] from python to julia
note the * is already changed to represent string concat like steffan mentioned
 
2:26 AM
what are i, x, s, u, z, l, and b?
does this work? i<x-1 ? u*z*l : i==x-1 ? u*z*b : u*s^(x*2+~i)*a
 
@Ginger rol is not multitargeted, myxal is
feel free to use any of my langs for questions
i fully support this
 
@Steffan ERROR: LoadError: ArgumentError: can't repeat a character -1 times errrr
full version (expanded abit for readability)
s,l,b,a,t=" │█╱─"
p=println
for x=1:7
 y=x*4;u=l*s^y*l;z=s^x;w=b*t^y;p(s^-~x*w*b);[p(s^(x-i)*a*s^y*a*s^i*l) for i=0:x];p(w*b*z*l)
 [p([[u*s^(x*2+~i)*a,u*z*b][i==x-1],u*z*l][i<x-1]) for i=0:x*2]
 p(w*b*z);p()
end
 
2:42 AM
hmm, replace (x*2+~i) with max(0,x*2+~i)
oh, thanks, i didnt know how to solve cubes
i'm all set
 
@Steffan ...
lmao
@Steffan er no didnt work
 
max(0,x) works, but you need a -1 after 0:x*2 and 0:x
 
@RadvylfPrograms right, i aim to be first mod :P
@lyxal not a bad idea
 
yay, i copy and paste and golf a bit, and get 5th place
 
3:36 AM
Hey @lyxal, would you be willing to have a mouse pad shipped to you, and then shipped to me? I think I found a seller in Australia
I can pay you in lots of monopoly money
 
@RadvylfPrograms probably not - don't feel comfortable with that sorry :/
 
Lyxal, if you ship it to me I'll pay you in [[kromer]]
 
Oh, nw.
Hmm. Do y'all know anyone in South Africa?
 
What brand of mousepad are you looking for?
 
Corsair MM300 Small
 
3:42 AM
Idk if this does global shipping
 
I think they only ship in India
 
Looks like they do global shipping, they have a country selection form
Idk what that currency is but it probably translates to $15-20
 
Yeah, but when you put in a US address it says it can't ship there
 
huh oh well
ಠ_ಠ why have a country selection form then
 
are you just going down the list of alternate retailers from the corsair website?
 
3:54 AM
I think I may have found a way to do it
Some only halfway shady-looking service where people buy things in one place and then ship them to you for a fee
It looks like it's really meant as a way to evade tariffs but it works for this purpose too I guess
 
@Steffan aint working
@Steffan u scammed me :/
 
4:14 AM
6 hours ago, by lyxal
@cairdcoinheringaahing shiiiiiiit. Now where am I going to go to get help with the two windows phones I never use if I ever need help?
 
I suppose the overwhelming lack of apps in the app store and having to use IE to browse the internet will have to be committed to nostalgia now :p
As will that goofy ahh ide thing that you could code on
 
Wait what
 
There was this app thing where it had some weird programming language you could use
Let me see if I can find it
 
4:32 AM
0
Q: LS, Part 1: Ana Gram

UndoneStudiosWarning: Wouldn't you rather answer a challenge about ponies?1 If you have read The Hostile Hospital, you would know that the Baudelaire orphans, from one of the scraps of paper recovered from the Quagmire's notebooks, they discover a name, "Ana Gram". Later on, they realize that means the word...

 
4:49 AM
@Steffan u there? lol
also anyone know how to parse the input properly? i did it wrong :/
for x in ARGS
a,b,c,d,x,y,w,h=[Int(i) for i in x];println(a);println(max(0,min(a+c,x+w)-max(a,x))*max(0,min(b+d,y+h)-max(b,y)))
end
 
@lyxal oh that sounds like something
did it come with the phone or was it just one of the few third party apps that existed
xna? silverlight?
 
5:32 AM
@UnrelatedString made by Microsoft iirc but had to be downloaded
 
I remember making a piano tiles thing with it once
From a guided tutorial of course :p
@emanresuA @UnrelatedString TouchDevelop
That's what the app was
Frick that brings back memories
 
just build:
jake
wait wait wait is jake fucking
make
in JAVASCRIPT
JAVASCRIPT MAKE
this isn't funny anymore
i'm going to sleep now and hope the benadryl i just took erases this from my memory by the time i wake up
 
 
1 hour later…
7:45 AM
What’s the shortest. C code to print the current year?
 
something like main(){printf("2022");} ?
 
i think graffe means using some module
@Steffan steffannnnnnnnnnnnnnnnn
 
8:05 AM
@JoKing :) I didn’t quite mean thar
 
i know it feels like it's still 2020, but that is the shocking truth
 
In C++ it seems to be
#include <iostream>
#include <format>
#include <chrono>
int main()
{
const auto now = std::chrono::system_clock::now();
std::cout << std::format("{:%Y}", now); // => 2022
}
But what is it in C?
 
i'm sure you could find some reference to the current date if you fuck up your pointers enough, but that may be implementation/system dependent
 
Gcc on Linux?
 
8:12 AM
@JoKing how does x&y work?
 
what language? that operator usually does bitwise and
 
python
 
bitwise and for numbers and setwise intersection for sets
 
8:32 AM
looks like most people hate LS, which is good for LS...
 
It had 0 points in the sandbox....
 
@mousetail which is ok
because none of my good challenges in sandbox had more than 0 votes
 
Not really, I always wait till I get at least 3
 
which means its good for me
 
That's high risk play
 
8:34 AM
bad ones get -1 or less
@mousetail it's not. It's just dealing with people's urges to vote
 
0 points means just the problems are not immediatly obvious, or that the challenge is not bad but just uninteresting
But you want to make sure at least a few people actually read it
Few people read it if you have a super long back story
 
one did
@FryAmTheEggman
@mousetail it's not that long
 
It is?
It's like 1/5th of the post
And also seems unrelated to the actual question
 
I haven't seen backstories shorter than 7 lines
why is my chat pfp still shaun the sheep's aunt even though i changed it back
 
Backstories should be 1 or 2 sentences max
 
8:37 AM
@mousetail i disagree
 
Or at least be related to the post, not just summarize a unrelated book with a very indirect relationship to anagrams
 
@mousetail most of the other anagram posts are not about what mine is
 
It's just a.filter(is_anagram(b)) right? Except ignoring case and punctuation
 
@mousetail pretty much, and im surprised its not asked already
 
Because it's not any more interesesting than just the is_anagram function
The solutions will be the same so there is no need for 2 challenges
 
8:42 AM
yeah guess i agree
but now its online, no point in removing
besides the next addition to LS will be much better I promise
 
Oh def keep it online, I think I can beat the current python answer
 
9:20 AM
Hai there
 
hai
 
Ok
Minor question
C++ golf:
#include<iostream>
long s,r,n,a,i=1;main(){std::cin>>n;for(;i<n;i++)std::cin>>a,s+=a-i,r+=s;std::cout<<r;}
 
long s,r,n,a,i=1;main(){std::cin>>n;for(;i<n;r+=s)std::cin>>a,s+=a-i++;std::cout<<r;}
I think this is equivalent?
shuffling some of the assignments around saves 2 bytes
 
@pxeger thx
 
10:10 AM
Apparently they switched to C
long s,r,a;main(i){for(scanf("%d",&a);~scanf("%d",&a);r+=s+=a-i++);printf("%ld",r);}
Do anyone see how to improve on this?
Obviously, the two scanf("%d",&a) can be combined, but I failed for some reason
 
10:31 AM
@pxeger you might wanna check github.com/python/cpython/issues/87999
 
Oi oi, we got our first 10 score answer on the langdev.se proposal
1 down 39 to go
 
39 followers to go?
I was that one
I wanna get a precognitive badge
 
@UndoneStudios no, 39 10-score questions
43 is the number of followers still required
 
@lyxal yup i contributed to that
the second one
 
I saw
Very good
 
10:58 AM
@lyxal Where?
 
CMC print the current year (whatever it happens to be) in C
 
Why is Area51 using my old old old SO profile photo
Acutally Area51 seems super bugged in general
half the pages think I'm not logged in
1
Q: I have fought Area 51's signup system, and won... but at what cost?

kaya3I'm a Stack Exchange user of a few years and was recently pointed at the Area 51 proposal for a Programming Language Design SE. So I tried to sign up to express my interest in supporting such a site. It did not go well: The first thing I saw was the orange "Follow It!" button, which I clicked, a...

 
@mousetail here
 
Thanks
Ok now my log in on 51 is so bugged I can't even complain about it on meta
 
11:14 AM
exactly the interface is alien, in both senses
 
The interface is fine, the backend is the part that's broken
 
@Steffan ru sleeeping lol
@lyxal im nearly top 10 julia :3
 
gg
 
the furthest ill get is probably 7th
 
top 10 in what
 
11:21 AM
julia language in code.golf
 
im not very active on that anymore
@graffe Temporary solution: main(){printf("2022");}
@lyxal should we advertise langdev.se on discord?
 
@UndoneStudios that's no good :)
 
@graffe As I mentioned, it's temporary :|
 
@UndoneStudios :)
 
@UndoneStudios not sure which channel I would post it in
 
11:25 AM
can you make a permanent solution?
 
@lyxal let me
 
sure
 
@graffe Not sure
@lyxal hold on
 
@UndoneStudios a little deligation of advertising couldn't hurt :p
 
Although it doesn't seem that easy I guess it's not suitable for a challenge on main
 
11:26 AM
Ok I finally logged in on area51
 
@lyxal No as in, I'm on it :)
 
I know you are
 
hmm.. actually is there a challenge to print the current year?
 
@graffe pretty sure
 
@DialFrost I haven't found it yet
 
11:28 AM
35
Q: It's [current year] already, folks, go home

Matthew RohOn most new-years challenges when it is currently not the corresponding year of the challenge, It says this in the front. It's [current year] already, folks, go home. You have to output this text with the current year substituted. I/O Input: None. Output: It's [current year] already, folks, go...

 
@lyxal yeah ig im done
 
@lyxal darn u beat it to me
 
here it is: f(){printf("%s",__DATE__+6);}
 
@lyxal good find!
@UndoneStudios wow... what does the +6 do??
 
je ne connais pas
 
11:29 AM
@graffe just go to the tag "date" then sort by score then scroll down for 15 seconds
 
i stole it so how do ik
 
@DialFrost cool
@UndoneStudios :)
 
@UndoneStudios lmao
 
well stole it with a little mod
made using minecraft
 
oh the solution is no good
I want it to work without recompiling
 
11:32 AM
argh apparently you just revealed I'm faking my C experience
 
:)
maybe no one on cgcc knows any C :)
 
keeps refreshing to see new activity on langdev.se
 
// Get the current year in C without recompiling

#include <stdio.h>
#include <time.h>

int main(void)
{
    time_t t = time(NULL);
    struct tm tm = *localtime(&t);
    printf("%d", tm.tm_year + 1900);
    return 0;
}
There's your answer
how it works I haven't a clue because I got my computer to do it for me
 
@lyxal not golfy
 
Copilot doesn't care about golf
#include <stdio.h>
#include <time.h>
int main(void){time_t t = time(NULL);struct tm tm=*localtime(&t);return tm.tm_year + 1900;}
 
11:36 AM
This is what you call golf:
main(void){time_t t=time(NULL);struct tm tm = *localtime(&t);printf("%d",tm.tm_year+1900);}
 
@lyxal copilot?
 
Pause please
 
@graffe sure is :p
 
do you pay for copilot?
 
11:36 AM
Code review and golf coming together
 
@graffe no
 
no way
 
how do you get it for free?
 
thousands of dollars in student loans that need to be repayed after I graduate university
 
@lyxal rich
 
11:37 AM
@lyxal That sounds expensive
 
(I'm an uni student - github gives it to students for free)
@DialFrost the opposite
 
Gateway drug
 
would you mean lending me some money
@lyxal i disagree
 
@lyxal ah... for cheap cheating :)
 
@DialFrost we all are poor people :P
 
11:38 AM
@DialFrost these "loans" are government issued for paying for courses
 
@PyGamer0 except lyxal
 
@DialFrost this is the experience of 99% of uni students
these student loans aren't money in hand - it's the government covering uni costs for now so you can focus on getting smart
you start paying it back in shudders taxes once you start, well, paying taxes
 
Lyxal today:
 
@graffe shhhh don't say that out loud :p
 
@lyxal What you don't cheat in exams do you
speaking of which @DialFrost my exams are now over
 
11:43 AM
@UndoneStudios tell me how tf I'mma use copilot on a computer in an exam where you aren't allowed to have computers.
and besides, copilot isn't really cheating - it's giving you the freedom to think more about what you're doing instead of how you're doing it
 
@lyxal I agree. I always use VSCode instead of Notepad in computer class, which is why I'm 66.66666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666669% faster in my work
 
@lyxal Wouldn't it encourage verbose code since it's cheaper? Thus harder to read
 
that still doesn't answer the question of how I'm going to access Copilot which requires a computer in an exam where you aren't allowed to use a computer
 
@mousetail and antithetical to our code-golf roots
@lyxal sneak it in
 
Not even that
 
11:46 AM
speaking of which one of my classmates cheated in a language exam
@mousetail wdym
 
@UndoneStudios ah yes let me just sneak in my laptop and put it on the desk I'm using where the exam supervisors can see what I'm doing
 
Like writing lots of useless abstractions instead of finding a more efficient way
 
@lyxal then bribe her
or use it under your desk
 
And get expelled for academic misconduct? hell no
 
or just ask github "hey my friends at github why can't you make a version of copilot I can use for cheating in an exam"
"without getting expelled"
and act cool for better chances
 
11:49 AM
besides, it wouldn't have been helpful for my last 3 exams anyway
copilot is useless at maths, databases was more theory than practice and the algorithms final required pseudocode
 
@lyxal ok now my very paranoid brain senses lyxal turning disturbing towards moi
give me the heads-up when you're ready... to get ignored
 
@lyxal :)
 

« first day (4311 days earlier)      last day (526 days later) »