« first day (2006 days earlier)      last day (2852 days later) » 

Anonymous
5:04 AM
@Dennis Thanks!
 
Anonymous
@HelkaHomba Didn't you post something similar a few months back?
 
I'm starting to get suspicious of all these polls, somebody must be trying for mass identity fraud ;-;
 
@Mego Probably
 
Anonymous
@Quill He's actually very slowly creating an AI that simulates TNB's users
3
 
@Quill Elon Musk told me to do research on a key demographic: Code Golfers.
3
 
5:07 AM
I always had a feeling HelkaHomba was a sock of Elon Musk
 
Anonymous
@HelkaHomba Key demographic of what? People who have way too much time on their hands?
 
@Mego No no, people who have little time on their hands but spend it staring at "deliberately typed" characters until they figure out how to remove a few.
 
Anonymous
@GamrCorps "random characters" isn't fair - every character is very deliberately typed.
 
@Mego Half of a SpaceX rocket's weight goes to hard drives that store the source code. He needs our help you see.
 
@HelkaHomba as long as he's ok with the calculations finishing after the death of the universe, I guess that's ok
 
5:16 AM
@HelkaHomba Maybe they shouldn't have written the source code in Java, then
 
@NathanMerrill T-minus infinity...
 
They may need to hire Ramanujan to be in mission control for that one.
 
5:32 AM
so, I think I finally found a good "low language" for my upcoming language
Its super fast (no JVM bulk), supports lots of types that I want, and has garbage collection
bah, nevermind. the last update was 6 years ago
 
"low language"?
if you want a fast one, compile to LLVM, if you want reflection use .NET/Mono
 
I don't think I want LLVM because it means implementing my own garbage collector (and a bunch of other stuff)
I don't care about reflection, though
 
Anonymous
@NathanMerrill Just write it on top of an existing language that can compile to machine code
 
@NathanMerrill low language?
 
Anonymous
Like C++
 
5:44 AM
@MᴀʀsUʟᴛᴏʀ a language that I'll be targeting for compiling
 
Is speed important?
If not, JS/Python is fine, if only slightly JVM/.NET (.NET may be easier/faster?), otherwise transpile to C++/Rust/Go or something
 
@Mego I've considered c++, but I really don't enjoy programming in it.
 
You can use PyPy's toolchain for pretty fast code as well
 
speed is important, and the language is compiled (not interpreted), so JS/Python are out
I haven't looked into the CLR (.Net) because I'm much more familiar with Java.
 
PyPy should be close to native though
If you want to bother learning its toolchain, your language can compile directly to compiled PyPy or something
 
5:48 AM
My biggest complaint with the JVM is that it somewhat enforces a type model on you. You define classes with methods (with accessor modifiers).
 
Anonymous
Python can be compiled via IronPython and .NET/Mono
 
@MᴀʀsUʟᴛᴏʀ but why? I'm not sure what advantages compiled PyPy has
 
@NathanMerrill I mean it should be fast enough, and RPython is probably easier to write in than C++
 
RPython? is that what the bytecode is called?
 
IDK about performance vs .NET/JVM
@NathanMerrill No, it's a subset of Python the PyPy interpreter uses
 
5:51 AM
ah
 
Transpiled to C++ and compiled for the interepreter
 
-3
Q: Do nothing but use some code

PeanutYour goal in this code-golf is to write some code that does absolutely nothing. There must be some code; it cannot be blank. No comparisons or other things either! Functions/calls are allowed but those functions/calls must not do anything If you need to know if something is allowed or not, just...

 
@NewMainPosts ...what?
 
@NewMainPosts why isn't this on topic?
I mean, I understand the downvotes, but I think its actually an on-topic question
 
"doing nothing" is a broad statement
 
5:55 AM
while he hasn't covered all his bases, he's defined it pretty well
 
How do you define doing nothing?
 
...no calculations happening
 
Anonymous
@NathanMerrill Does returning from a void function count? What about calling a void function that doesn't do anything? Wouldn't it in essence just be "write the shortest code that immediately exits"?
 
@Mego yes
which is why I understand the downvotes (as its an dead-simple, little-to-golf challenge), but I don't think its off topic
 
0
Q: Linking to a byte counter

PeanutThere's a byte counter website that allows you to count the bytes in your code. This is a UTF-8 byte counter. If you're wanting to know if the byte count is correct, you have to go to a site like that and input the code. This site has a feature allowing you to insert code into the counter and s...

 
user214599
6:01 AM
Hi
 
6:24 AM
@Mego Wouldn't the empty string be the optimal solution in most languages?
 
Anonymous
@Katenkyo Yep. Not for Actually though, unless there's no input.
 
@Mego That would be booooooooring to do
 
6:36 AM
... welp, didn't mean to post that question yet, but accidentally hit tab on the "tags" field before the autocomplete popped up.
 
0
Q: Sort a number's factors by prime factorization

DoorknobGiven an input of an integer ≥ 2, output a list of its factors sorted by the exponents in their prime factorizations, in ascending order, ordering first by the largest prime, then by the second largest, and so on. As an example, take the integer 72, which is 2332. It has the factors 1 3^0 ·...

 
@LeakyNun Same thing, is it not?
 
Some people use "factor" to refer to prime factors, but tbh I don't think it matters
It's sort of like the highest common fact/greatest common divisor situation
 
Eh, I'll edit it anyway. The title reads a bit odd with "factor" in there twice.
 
Anonymous
@Doorknob Prime factors are either the prime divisors of a number, or the number's unique factorization into a product of powers of primes.
 
6:50 AM
Function[n,Sort[FactorInteger[n],#1[[2]]>#2[[2]]]&]
 
7:00 AM
@LeakyNun fyi that wasn't why I deleted it
 
was there something wrong with the solution?
 
Yes, it wasn't golfed enough :P
 
@Sp3000 alright
@charredgrass then answer there?
 
@xnor btw would you happen to be trying in Python by any chance? Seems like it might be interesting
 
i'm looking at it now
i'm trying to squeeze out some recursive structure
 
7:06 AM
@LeakyNun isn't complete, and I can't be bothered to test it
 
@LeakyNun btw maybe update the explanation line for U - seems like I remembered how it works incorrectly
 
@Sp3000 eh, what's wrong with it?
 
It doesn't reverse the whole list it seems, only the sublists
 
@Sp3000 fixed
 
7:22 AM
Hmm, Python for this is hard :/
 
0
A: Sandbox for Proposed Challenges

DerpfacePythonQuine-ify PPCG Answers! Write a program that, when executed, returns the markdown file to your answer. So, something like this: #Python: 123 bytes `{insert code here}` Required things: Header must be one hash (#) The "code part" must be indented with four spaces (or surrounded with backti...

 
7:42 AM
Hello
I wish the words didn't come in the same chunks. The substrings "Peter Piper picked" and "peck of pickled peppers" are most of the text, and the rest has little structure: X a Y. A Y X. If X a Y, Where's the Y X? Is there another tongue-twister where the words are permuted more? — xnor 6 hours ago
 
+1 Vivaldi is convoluting user agent string even more
 
8:00 AM
@HelkaHomba Missing option : "a Calvin'sHobbies who starts asking questions on a regular basis again"
 
8:22 AM
@MᴀʀsUʟᴛᴏʀ How exactly?
 
8:35 AM
@LeakyNun Which one are you referring to?
 
Hello
I've been wondering, is PPCG ever going to get a custom site design that sets it apart from other beta sites?
 
@R.Kap Yes
 
@R.Kap Yes we are, but we don't really know when
 
Just the site designers are really busy with other sites
 
I'm not saying I don't like how it currently looks. I'm just curious.
Is there some sort of Meta post regarding this?
 
8:41 AM
@R.Kap November 21st is the date... last I heard from SO devs..
 
@R.Kap Not yet, the designers haven't started
@R.Kap Can't you use the design userscript for now?
I've been using it so much that I forgot PPCG still has no site design
 
@MᴀʀsUʟᴛᴏʀ Yeah, I can. I was just curious after going to sites like SO or Mathematics, then some other beta sites, and then coming back here.
 
@R.Kap wait, you can what?
 
@MᴀʀsUʟᴛᴏʀ Use the design user script, like you asked.
 
@Optimizer when we look back at each time we heard some deadlines for things, like the community ads for instance, we can safely estimate they meant November 21st 2017 or 2018 ^^
 
8:45 AM
@R.Kap BTW, part of the reason I use it is the auto-bytecount/tryitonline/leaderboards
 
@Katenkyo of course.. u must be a fool to think that we are getting a custom design this year.
 
@MᴀʀsUʟᴛᴏʀ You know what? I'm getting lost here. What is this "design userscript" you are talking about?
 
@R.Kap github.com/vihanb/PPCG-Design (sorry, should have linked it)
 
@Optimizer Reading this sentence is making me strangely sad...
 
I was just going with it for a moment to avoid any possible embarrassment, but now I'm curious.
 
8:48 AM
Only works on browsers with greasemonkey (Firefox)/tampermonkey (Chrome)/something that can run third-party scripts
It's nice, but on slower computers it may make page loading pretty slow
 
@MᴀʀsUʟᴛᴏʀ Even on a slow computer, it doesn't slow too much as the modifications on the DOM aren't that big
 
@Katenkyo It did for me on Firefox (I have a Celeron CPU)
 
@MᴀʀsUʟᴛᴏʀ Oh. Currently have an old i3, works just fine for once
 
@Katenkyo depending on how old it is, there's a pretty high chance it's better than mine
 
@MᴀʀsUʟᴛᴏʀ i3-2330M, looks like it's 5 years old
 
9:00 AM
more like 8 yrs old
its currently at 6XXX
 
okay, wat, looks about the same, so idk why my firefox is so laggy then
 
@MᴀʀsUʟᴛᴏʀ not enough ram?
 
@Katenkyo I have 4GB
 
@MᴀʀsUʟᴛᴏʀ Same here... Well, I can't understand why then ^^
(speaking of lag, my ssh terminal linked to my web serv is currently laggy, it's horrible to work with that u_u)
There's like 500ms of delay with my inputs
 
Wow, the design user script is nice.
It makes the site look so cool.
That is, in my opinion.
The chat looks really nice, too.
The auto leaderboard is awesome. Good job to all the people who worked on this! It's really nice! :)
 
9:14 AM
hi
@GamrCorps cool, i havent noticed that p is used for the pointer and the satck
 
> satck
 
ಠ_ಠ
\o/ monospace font in chat
 
> _ಠಠ
 
¯\_(ツ)_/¯
 
oh... i didnt even notice it.. since when?
...
ggg
nope
 
9:20 AM
with the PPCG design userscipt
the font in the box is monospaced
(when the chat option is activated)
uh no nvm
 
ven
@aditsu "element on the stack is between 0 and size of G" (exclusive)
 
@TùxCräftîñg Did you see my messages in the GoL room? :D
 
@zyabin101 yes, but the pipe is permanently destroyed after being cleared, so i can just delay :/
 
@ven one way is _0>\G,<&
or you can do something like G,,1>&
 
1+2+3 is (1+2)+3 or 1+(2+3)?
 
9:32 AM
@TùxCräftîñg (1+2)+3
 
so my parser is definitevely borked
neoscript> 1 + 2 + 3
Tokens:
[ { id: 'Number', value: '1', line: 1, column: 1 },
  { id: 'Operator', value: '+', line: 1, column: 3 },
  { id: 'Number', value: '2', line: 1, column: 5 },
  { id: 'Operator', value: '+', line: 1, column: 7 },
  { id: 'Number', value: '3', line: 1, column: 9 },
  { id: 'EOF', line: 1, column: 10 } ]
AST:
[ { id: 'BinaryOperator',
    op: '+',
    left: { id: 'Number', value: 1, line: 1, column: 1 },
    right:
     { id: 'BinaryOperator',
       op: '+',
       left: [Object],
11
A: Convert exponents into ASCII art

DowngoatCheddar, 77 72 bytes l->l.chars.vfuse.replace("^\n"," ").lines.map(j->"%-2s"%j).turn(3).vfuse No regex! I love this answer as it is a wonderful demonstration of Cheddar's abilities. Mainly thanks to the replace function added by Conor. The PR to dev was never made so the replace function only...

ಠ_ಠ s.turn
neoscript> 1 * 2 + 3
Tokens:
[ { id: 'Number', value: '1', line: 1, column: 1 },
  { id: 'Operator', value: '*', line: 1, column: 3 },
  { id: 'Number', value: '2', line: 1, column: 5 },
  { id: 'Operator', value: '+', line: 1, column: 7 },
  { id: 'Number', value: '3', line: 1, column: 9 },
  { id: 'EOF', line: 1, column: 10 } ]
AST:
[ { id: 'BinaryOperator',
    op: '+',
    left:
     { id: 'BinaryOperator',
       op: '*',
       left: [Object],
       right: [Object],
       line: 1,
       column: 3 },
unborked the parser \o/
 
9:50 AM
$ git push origin master
To github.com/tuxcrafting/neoscript.git
 ! [rejected]        master -> master (fetch first)
error: failed to push some refs to 'https://github.com/tuxcrafting/neoscript.git'
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first integrate the remote changes
hint: (e.g., 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
halp
 
@TùxCräftîñg Read the error you have posted, very carefully.
 
oh >_>
i have deleted a file on github
so i have to pull
 
ven
@aditsu why 1,?
@aditsu ugh, so sorry - I need to check if it's a valid index for G, so it's >=0 && <G,
 
10:10 AM
@LegionMammal978 How will you be able to tell someone didn't just google it?
 
@MᴀʀsUʟᴛᴏʀ googling it might be... difficult
 
@LegionMammal978 So that reference I found is just a massive coincidence?
 
@MᴀʀsUʟᴛᴏʀ which one?
 
@LegionMammal978 wait, i didn't post it
but I posted the search terms
 
@ven there's no 1,
@ven then remove the 1>
 
10:17 AM
@LegionMammal978 BTW, how are internet points even measured?
 
@MᴀʀsUʟᴛᴏʀ congrats, you win 100,000 internet points (plus an answer from me)
 
ಠ_ಠ
 
@MᴀʀsUʟᴛᴏʀ It's the scale between them that is measured
 
@LegionMammal978 IDK, I found it before the prize was increased
@LegionMammal978 ???
 
@MᴀʀsUʟᴛᴏʀ As in, 10000 points is only 10% of 100000 points, but that's really all that matters
 
ven
10:22 AM
@aditsu no, because G,,& will give 0 for 0 which is falsy :/
 
@ven actually it gives [0] which is truthy
 
@Downgoat you're here early
 
that's why I initially added 1>
 
ven
@aditsu oooooh it's not the just the "stack" array
thanks <3
 
@flawr The first one.
@TùxCräftîñg Are you here?
 
10:36 AM
yes
 
@TùxCräftîñg May I ask you a French question?
i.e. a question about French
 

 Chez Cosette

Discussion pour french.stackexchange.com. Bienvenue à tous ! Y...
Please go here
 
@LeakyNun Everyone talks French here? o_O
 
@zyabin101 eh, yes, AFAICT.
 
10:40 AM
i am even a native french ¯\_(ツ)_/¯
 
ven
same :P
 
I'm a 0 at French.~_~
Using only Google Translate occassionally to ask what it means in English.
 
11:21 AM
0
Q: Legalize Reversed Date

Kevin CruijssenInput: A valid date-string containing dd, MM and yyyy or a date-object. Output: Each part (dd, MM and yyyy) individually reverted and than rounded to the nearest valid date. For example (in the format dd-MM-yyyy): 21-10-2016 becomes 12-01-6102 Challenge rules: Only dd, MM, yyyy is valid, b...

 
11:41 AM
Hello
 
i am back
 
Je ne peux pas parler français sans Google Translate.
 
¯\_(ツ)_/¯ at least this sentence is correctly translated
 
@TùxCräftîñg It isn't, it should be Google Traduction :D
 
11:53 AM
ah, true
but i think Google Translate is not translated
nvm
 
@TùxCräftîñg It is :p
 
Just not by Google Translate itself ^^
 
google translate is translated
 
Well Google Translate Google Translates Google Translate as Google Translate
 
11:54 AM
(which is dumb)
 
@LegionMammal978 no, Google Translate => Google Traduction
 
huh wat
if you remove the text before Google Translate, Translate is translated
 
Err, isn't "Google Translate" a proper noun, like a name, and therefore untranslated?
 
11:57 AM
^
 
better hide from @GraceNote document.getElementById`input`.disabled=1
 
ಠ_ಠ
 
@LegionMammal978 why
 
@MᴀʀsUʟᴛᴏʀ ​
 

« first day (2006 days earlier)      last day (2852 days later) »