« first day (2609 days earlier)      last day (2234 days later) » 
00:00 - 17:0017:00 - 00:00

ngn
12:01 AM
@H.PWiz oh, I didn't notice the link... sorry
@H.PWiz new laptop - it feels like my ability to type and read text on screen has been reduced by half
 
@ngn Really is it a ppi thing?
 
ngn
@H.PWiz what's ppi?
 
@ngn pixels per square inch
When I got my laptop, text was suddenly a lot smaller for me
 
ngn
@H.PWiz yeah, my new screen is larger but the letters have become smaller, and the colours are not like before
 
12:29 AM
I've got a friend with a laptop with a 4k display that he sets to 1080p
> link-status: Good
> supported: Good, Bad
I wonder if xrandr lets you set the link status to bad
 
ngn
@Pavel mine is a 14" screen and the resolution I got by default is 1920x1080
 
o_o what was your resolution before
 
ngn
@Pavel 1024x600 on a 10" screen (a very old laptop)
 
That's... pretty bad, yeah, I can see why you upgraded
 
ngn
@Pavel I couldn't see the individual pixels anyway, so I didn't care much about resolution :) I'm much more worried about keyboards - they are worse today than 10 years ago.
 
12:43 AM
Very true
 
@H.PWiz :| what OS
On Windows you can configure UI scale
I'm assuming on Linux you should be able to do the same
 
@ASCII-only Linux. Bear in mind that my old monitor was complete crap and it didn't take too long to get used to this
 
@H.PWiz what distro
 
It's on fedora right now, but I haven't settled
 
@H.PWiz Apparently gnome-tweak-tool can scale your UI?
 
12:52 AM
@ASCII-only It's fine, thanks. I did recently go on to my old monitor and was appaled by the size of the text. I guess it's just something that you get used to
 
@LeakyNun did you see `⊢∘-`?
 
saw it after you asked
 
Hellllo peoples
 
Hello
 
1:03 AM
@LeakyNun given some 2-1 gate g (e.g. NAND), n inputs and k outputs, how many distinct non-cyclic circuits can you form with j gates?
 
is this supposed to be easy? :P
 
Define "distinct". Distinct setup, or output?
 
where distinct refers to the output
with the only information about g is that if a = c and b = d then g(a, b) = g(c, d)
@LeakyNun no :)
 
do you have an answer for it?
 
no :)
 
1:05 AM
There's an easy way to find an upper bound, at least.
 
yes, that's easy
 
so it's a finite problem
 
yes
 
It's at most (2^2^n)^k, right?
 
ngn
@orlp only 2 then: 0 and 1?
 
1:07 AM
@ngn 0 and 1?
 
Random question: anyone know where I can get a temp email that I can send from?
 
an example of two seemingly distinct but actually equivalent circuits (in single assignment form):
t1 = g(i1, i2)       t1 = g(i3, i4)
t2 = g(i3, i4)       t2 = g(i1, i2)
t3 = g(t1, t2)       t3 = g(t2, t1)
o = t3               o = t3
or another example
t1 = g(i1, i2)       t1 = g(i1, i3)
o = i1               o = i1
 
@Blue Just create a real email...
 
@Zacharý eh...
 
(afaik 10minutemail only allow receiving messages)
 
1:08 AM
gmail and yahoo want a phone number
 
@Blue Gmail doesn't.
 
@user202729 I think after a few emails they do
 
Pretty sure it did when I tried signing up
Ah
 
ngn
@orlp if you're asking how many outputs are possible - well, there's only two of them :) I'm sure I'm not interpreting the question correctly.
 
I'm using tor for it so that would do it
 
1:09 AM
@Zacharý I believe I have 5~6 ones. How much is a few?
 
@ngn well I never said anything about the type, I never said these were logic gates
 
:43550488w/ gmail?
 
@ngn to go beyond that, two circuits are equivalent if for EVERY POSSIBLE INPUT, they have the same output
 
@user202729 Zacharý is replying to this.
@Zacharý Yes.
 
 Verify your account
You're almost done! We just need to verify your account before you can start using it.
 
ngn
1:10 AM
@orlp ok, that makes sense
 
They want a phone number
 
@Blue Really...? let me try creating one.
 
Gmail requires a phone number now
 
a simple upper bound is as follows
the first gate 2 times the choice from the inputs, so n^2
the second gate has 2 times the choice from the inputs but also the output from the first gate, so (n+1)^2
so you get n^2 * (n+1)^2 * ... * (n+j)^2
 
Would that have been better on Math.SE ?
 
1:13 AM
@moonheart08 ... indeed.
 
finally each output can be any of the inputs or any of the gates' outputs, adding another (n+j)^k choices
but that doesn't do any distinct checking
@Zacharý don't think so
 
There's probably an OEIS sequence in all honesty, with fixed n or k.
 
I would probably try k = 1 first
 
When in doubt, fit it with a pol... never mind, this is multivariate.
 
... Just tried yahoo, gmail, microsoft, doesn't work.
 
1:27 AM
@user202729 google.nl/…
have you tried, you know, googling?
 
ngn
@orlp So, if we compute g(x) for some vector x that's a k-tuple of inputs, and add that g(x) to the original set of inputs, we have a problem of size j-1?
 
@ngn g is a binary function
if you have 3 inputs, a, b, c, then there's 9 possibilities: g(a, a), g(a, b), g(a, c), ...
suppose k = 1, so only 1 output
when n = 3 and j = 1, it's indeed only those 9 possibilities
and they're all unique
j = 2 and stuff already explodes
9 possibilities for the first gate, then (3+9)^2 = 144 possibilities for the second gate
 
ngn
@orlp Hm... ok. I'm a slow learner. So we're not interested in the values on each output "wire" but in the number of distinct "wirings", so to speak.
 
@ngn correct
 
ngn
@orlp ...and two wirings are considered equivalent if they compute the same function on the inputs?
 
1:37 AM
@ngn also correct
 
@orlp Wrong search term...
(often, I only can google questions I already know the answer)
 
@user202729 " Random question: anyone know where I can get a temp email that I can send from? "
I literally googled what you asked
"temporary email for sending"
 
@orlp Not me, but Blue.
 
oh
 
Hello
I still haven't found one
 
1:44 AM
 
1:57 AM
Explaining how an answer in a tarpit works is always... fun.
 
ngn
2:13 AM
@orlp Does that question about circuits come from a real-world problem?
 
@ngn eh just minimizing NAND circuits
was just thinking about it
 
ngn
@orlp oh ok, I was going to ask if you have estimates for n, k, j and the number of distinct values in the data type
 
ok idea: language with 3 stringly typed registers, but the only way you can do any comparing of these registers, is checking if they've been activated (if you have the string "blah", you can activate it, and if you then have a string "bla", which you then add h to, you can check if it's activated, and conditionally do an operation)
or with numeric registers. or both
I think it might be interesting to prove the turing completeness of it
although, if you can delete characters, could it be easily reduced to a minsky machine?
 
i don't really get what you're describing but it's almost certainly a tag system
 
I don't think it is
 
2:24 AM
you mean strongly?
 
stringly typed is a pun
basically it means it uses strings rather than a more practical integer type
@quartata there's no chase, for one thing. the first characters probably don't get deleted
oh and also you can't unactivate strings, to make it more difficult
 
Ah. +1
 
@DestructibleLemon *PHP typed
 
0
Q: Rules for "Language Name" to use in a challenge

BubblerIn my recent challenge, the task is to generate an output including the language name, and then generate an error (in two different languages). Regarding the "language name", I used the following rules (since someone mentioned that another challenge was closed due to the "language name" being un...

 
actually, for a while, php had string rounding errors from casting strings to floats before comparing
I think that the only way to make a variables shorter it to set them to "" again in this new lang
 
2:46 AM
@DestructibleLemon *clear
 
ok... so what should the language be called?
 
PHP
 
no
well... needs recursiveness probably
AAAA appends and activates?
 
activates?
also why AAAA
 
because it's recursive
also the idea of a language being an acronym AAAA is pretty funny
 
2:57 AM
oh
 
is there a synonym for compare or check starting with A?
 
assert
 
why is meriam webster such a crap dictionary though (at least in the thesaurus)
it doesn't have a section in the thesaurus for "to examine the character or qualities of especially in order to discover resemblances or differences". like the main definition imo
assess?
 
3:18 AM
@NathanMerrill please
confession: I'm actually starting to like @user56656's profile pictures
2
 
as in "phew llama eye aisle see ewe"
 
Fyie-ie-see?
 
@NathanMerrill Too bad I'm not a native English speaker and know none of them...
 
> U as in urb/urn/URL
does anyone actually pronounce "URL" as one syllable?
 
no, but it defeats the purpose of using a phonetic
its like saying "N as in N"
 
3:31 AM
ah. maybe I'm coming at the joke from the wrong angle then
> If you enjoyed this, you may also be interested in seeing the alphabet in alphabetical order.
Link doesn't work :(
I wanna see it so bad
 
yeah, I've been perusing the website: it appears that that page is back from 2000
 
thanks, should've realized I could check archive.org
that is... very 2000-y
 
It is indeed. My eyes!
 
...there's the terraria tree (the favicon)
it must be open source or something
 
4:17 AM
In J, a train of verbs is an expression, correct?
How does J evaluate an expression if there are some nouns inside?
 
 
1 hour later…
5:32 AM
WTF?
$ saytime
The time is now, a little after half past 10, in the evening.
[1]    15110 segmentation fault (core dumped)  saytime
What even is this command
Where did it come from
 
I have no idea, but I don't like the way it uses commas.
 
5:59 AM
@Pavel $ which saytime
 
@betseg /usr/bin/saytime.
There's not a package called saytime installed though, I checked
 
@Pavel That's where it came from :p
dpkg -s file or rpm -qf file or pacman -Qo file or whatever your os uses
 
> festival-1.96-32.fc24.x86_64
festival has also been segfaulting randomly, so this explains so much
 
Huh, apparently it's a TTS thing, that explains the commas @recursive
 
I knew what festival was, I just didn't know what saytime was
I heard about the say command, typed it in, and pressed tab, and saytime is what autocomplete came up with
 
6:22 AM
If there are people with enough rep here to cast delete votes: codegolf.stackexchange.com/a/159863/31516
It's invalid and prevents others from posting new answers until it's fixed.
 
@StewieGriffin done
 
7:20 AM
0
Q: Read color in my way

tshDifferent system has different way to describe colors. Even all of them are speaking in R-G-B-A space. A front-end developer who familiar with CSS may prefer #RRGGBBAA. But Android developers may prefer #AARRGGBB. When handling AAS file format, #AABBGGRR is needed. That's too confusing. Maybe we ...

 
8:00 AM
@user202729 As if the noun was a verb that always returns that value. You could also see it as the verb (noun[]). E.g. 2+] is equivalent to (2[])+].
 
But... (1+1) is a noun. (of course)
 
@user202729 So? it is just evaluated and the result takes its place.
 
And (1:+1:) is a verb.
 
@user202729 Of course, it dosn't contain anything but verbs.
 
@StewieGriffin Actually matching 6 hexadecimal digits is just 1-in-16777216, just need some computer brute-force to solve out.
@Adám When will (something) be a noun and when will it be a verb?
@StewieGriffin It's certainly interesting in its own way (require answers to be in an infinite family), but it can't be work out by hand.
 
8:05 AM
@user202729 but you can brute force it...
 
@StewieGriffin (e.g., you need program; # comment any ASCII characters here [...] and brute force for a possible [...] instead of just program;)
@ASCII-only not by hand.
 
@user202729 yes, but who said you have to write the program by hand
 
Putting Lua through C's precompiler has made things a bit easier.
 
@ASCII-only Writing programs not by hand is most-of-the-time boring.
(although MartinEnder has some brute force programs that is highly upvoted <- wait that means nothing)
 
@user202729 you can literally write your program and write another program to bruteforce a comment
 
8:07 AM
@ASCII-only Yes, that's the point. You need to have an infinite family of programs (infinitely many possible values of the comment) with the same functionality to be able to do that.
(e.g., SKS Add 2 numbers, Hexagony Truth machine, Wumpus Third time the charm)
 
yeah, what I'm saying is that it's not too hard to write a valid program, the real hard part is implementing the check
 
@user202729 Verb if the right-most token is a verb. Noun if the rightmost token is a noun.
 
8:24 AM
@user202729 It's invalid because it doesn't contain the string Hi, Retina!, not because of the hash requirement.
 
@StewieGriffin I see (miss the trailing !), but...
 
@user202729 I suggested to OP in a comment that he should keep the answer if he managed to update the answer while adhering to the hash requirement.
 
8:42 AM
Can anybody tell me why the two numbers printed by my Python program aren't equal?
 
0
Q: Am I a Self Number?

SokA self number (also called a Colombian or Devlali number) is a natural number, x, where the equation n + <digit sum of n> = x has no solutions for any natural number n. For example, 21 is not a self number, as n = 15 results in 15 + 1 + 5 = 21. 20, on the other hand, is a self number, as no n can...

 
@NieDzejkob Because you're assigning to a dictionary...
@NieDzejkob protip: don't enumerate dictionaries. pls. is this really that hard to do
 
I thought this was the purpose of enumerate...
 
@NieDzejkob :| since when... enumerate is for lists
 
9:05 AM
0
A: Sandbox for Proposed Challenges

casualcoderWrite a program that takes a string as an input, if the ASCII representation of the the last char is even, it returns all chars who's ASCII representation is even (in order) or return the string as is if the ASCII representation of last char is odd.

 
9:38 AM
@NieDzejkob I think you should use .items()...?
... Interesting. If d is a dict, list(enumerate(d)) == list(enumerate(d.keys())). Obviously the latter way is easier to read.
Although, it's pointless, as Python dict is randomly ordered doesn't guarantee any order. (just based on their hash, which is implementation dependent)
 
exactly
 
10:14 AM
0
Q: Code Golf: Alice and Bob have a fight

AJFaraday Alice (A) and Bob (B) decided to have a battle. Each combatant has 10 health. They take turns to roll a die 6 for damage. That damage is removed from their opponent's health. In the end either Alice or Bob, will vanquish their foe. Show me how the battle went. Outputting these codes for the ...

 
10:25 AM
> This computer has only 0 bytes disk space remaining.
Whoops.
 
"Alice and Bob, Is this Cryptography related..?"
A-ta.co is back online if anyone cared.
 
11:19 AM
what are the odds Dennis' next language has a name ending in -os?
 
inb4 osos
 
@ATaco avocados
 
 
1 hour later…
12:43 PM
ugh, why do I apparently have the power to single-handedly flag a comment as "no longer needed"
 
Anonymous
@EriktheOutgolfer I believe once a comment reaches a certain number of NLN flags, it's auto-deleted. Not sure though
 
Anonymous
I noticed it happening a few times when I flagged comments (pre-diamond)
 
it has happened twice in a very short time period though, once yesterday and once today
and it's not like they were not needed till I edited the post myself, which came right before flagging the comment
for example here I just flagged a "related" comment as NLN because I edited the link into the question itself, and it got instantly deleted
 
Anonymous
Dunno
 
@ASCII-only ;-; another dead project, RIP Avocados.
 
12:46 PM
@PhiNotPi :| yeah
@PhiNotPi i mean the real reason is who wants to develop using insanely low level languages
all we really need to do is wait for Fuchsia to be finished and fork that :P
Just write a JS -> Dart transpiler and write everything in JS
 
@ATaco "sign in through steam"?
 
@ATaco pls switch XStore's file storage to dat/hyperdrive
 
1:03 PM
@EriktheOutgolfer Try flagging some more? This one?
 
sorry, I don't test like that
 
1:57 PM
Quick question: Where do I find a magnet at home? We don't have fridge magnets...
What are some typical magnetic domestic stuff?
 
@StewieGriffin Does it need to be removable or do you just want to test whether something is ferromagnetic, i.e. is attracted to the magnet?
 
@StewieGriffin does it need to be particularly strong? If not, some earphones are usually magnetic
 
@StewieGriffin I can't think of any common domestic items (other than fridge magnets). Maybe make an electromagnet?
 
1
Q: How does this baby rattle work?

Stewie GriffinThe picture below shows a baby rattle. The circular tube hangs vertically, with the balls being on the bottom. Here's a gif showing how the balls move. They are rolling freely inside the tube (other's have confirmed that they see the balls rolling too) The inner diameter of the tube is larger t...

@Adám I want to test if something is ferromagnetic...
 
@StewieGriffin Open your fridge. The rubbery door seal has a very wide magnet inside to help it clamp tightly to the fridge edge.
 
2:04 PM
I know many screwdrivers are magnetic, but none of mine are :/
 
0
Q: Is (consistently) swapping truthy / falsy values allowed in decision-problems?

Mr. XcoderI couldn't find any consensus on this on meta for a while, and this seems to be particularly helpful when answering decision-problems. Should swapping truthy and falsy be allowed by default, when answering such challenges, or should we let the OP of the challenge decide? For example, when testin...

 
Cupboard doors sometime have magnets to keep them shut
 
Some laptops might have magnets on the sides to keep them closed
 
@Fatalize Brilliant... My cupboard door magnet was strong enough to hold a big screwdriver.
 
...now I'm wondering wth you're doing
 
2:09 PM
0
Q: Limit your numbers by your runs

ZgarbSelf-limiting lists Consider a nonempty list L containing nonnegative integers. A run in L is a contiguous sublist of equal elements, which cannot be made longer. For example, the runs of [0,0,1,1,3,3,3,2,1,1] are [0,0], [1,1], [3,3,3], [2], [1,1]. The list L is self-limiting if for each integer N

 
@Fatalize This :)
 
lol
 
Fetlang is not recommended for production use at this moment
 
it's not even the language, how does the commentator think it's even close to taxi
 
2:19 PM
I don't see that comment
 
This seems related to FetlangSkillmon 19 hours ago
 
what
why
nno please
that was the last of my faith in humanity damnit
 
D:
I don't know what I was expecting, but it wasn't that
 
@EriktheOutgolfer sorry, ignore my comment, I read a word in yours that wasn't there...
 
On that note, lets all promise to never give fetlang a esolangs.org page
 
2:29 PM
I did realize you were replying to me, but I wasn't able to see it :P (when you delete a comment the notification gets automatically removed btw, no need to apologize ;) )
 
probably already there
 
just found out that JDK 10 is a thing, and it has var o_O
 
has it hit stable yet?
i read 'bout it a week ago...
 
The new 6 months per jdk update is going to be a awful pain for the Minecraft Forge devs
They have to patch MCF each time a new update is released
and said patching usually takes about a month to be considered potentially stable
 
@moonheart08 welp
 
2:34 PM
Yup, no more faith in humanity left. Bye guys, i'm going to go hide in a corner and contemplate life
 
yeah i guess jdk 10 has been out for a few days now
but jdk 11 is slated for september of this year
and that's supposed to have lts
and here i thought there wasn't even a full release of jdk 9 yet
 
@totallyhuman why does this exist ಠ_ಠ o_O
 
> Probably Turing complete
 
> Fetlang is not recommended for production use at this moment, especially in medical or military applications
shouldn't ever be used even for not production purposes ಠ_ಠ
 
2:43 PM
@Poke You've been able to TIO Java 10 for pretty much all the time it's been out.
 
@Pavel not a site i frequent all that often, haha
 
CMC: GIven a list, remove every element strictly less than any element before it.
[5,3,8,1,3,6,7,1,5,2,9,1,12,7,12,9,2,5,2,6,6,15] => [5,8,9,12,12,15]
 
@Pavel Argh, so close »\Q
 
3:01 PM
@Pavel Jelly, 7 bytes: Try it online!
Alternative: Try it online!
 
Jelly, 5 bytes: =»\Tị
 
@EriktheOutgolfer Dang, I had the exact same idea, but it wouldn't work because I did »\= which broke the T for some reason
 
in that case T would be the right argument of =
but since = is commutative, I can abuse that and make `»` its right argument and leave its left argument to be implicit
 
@DJMcMayhem I thought you did V
 
3:06 PM
V doing array-manipulation... Oh boy
 
You can take input as char codes
 
I'll accept that challenge once I'm at a pc
 
»\Q doesn't look that V-ish, especially since in V we're trying to mitigate \ :P
 
i.e. a string
 
@Pavel Oddly enough, that would be worse
 
3:08 PM
@DJMcMayhem Ok, I'm considering posting it to Main
 
consider posting it to sandbox first, it looks kind of trivial (or dupe-y) to me
 
I don't think it's a dupe
 
It kinda is
41
Q: DropSort it like it's hot

Lord FarquaadAs described in this question: Dropsort, designed by David Morgan-Mar, is an example of a linear-time "sorting algorithm" that produces a list that is, in fact, sorted, but contains only some of the original elements. Any element that is not at least as large as the maximum of the elements pr...

 
@Pavel If you do, make sure to explicitly state why the 12 appears twice
Maybe use a smaller example too
 
but it does say "strictly less" already
 
3:11 PM
Definitely duplicate:
45
Q: Lossy Sorting (Implement Dropsort)

SuperJedi224Dropsort, designed by David Morgan-Mar, is an example of a linear-time "sorting algorithm" that produces a list that is, in fact, sorted, but contains only some of the original elements. Any element that is not at least as large as the maximum of the elements preceding it is simply removed from t...

 
yeah, and coincidentally my solution is the same as Dennis's
 
@Pavel Dennis competing in Pyth ಠ_ಠ
MATL, 6 bytes ttY>=)
 
3:37 PM
1
Q: Implement Lazy Drop Sort

PavelThis challenge already describes dropsort. However, I'm kinda lazy and I really only need my array to be a bit more sorted than before, it doesn't need to be sorted all the way. In Drop Sort, we drop every element less than any element before it. In Lazy Drop Sort, we drop every element less tha...

 
Can I make an USB bootable while still keep the data?
 
@user202729 You can partition it
 
@Pavel I know of partition, but most tutorials/guides I can find told me to dd if=....iso of=/dev/sdx (not /dev/sdx1 or something like that) so I'm not sure.
 
if you are using UEFI it's simple
otherwise, you need to look at the ISO more closely
 
@NieDzejkob Use UEFI on the machine used to boot the USB? ... Unfortunately I don't. More explanation please?
 
3:51 PM
well, uefi only depends on the files, not special sectors. What are you trying to boot? A linux distro? Which?
 
Whatever. Is that important?
 
ngn
@user202729 fdisk has a command called "a" to toggle the bootable flag of a partition
 
I tried to write a UEFI application once
It wasn't fun
UEFI is a little... convolted?
 
4:17 PM
If we have a lossy sort, can we also define a gainy sort?
 
The replacement sort
you replace any number that is lower with a number that is higher
that's as close as you get I think
oooh....that's an interesting problem. Make an array sorted by rewriting as few numbers as possible. What's the smallest complexity for this?
 
stable sorting algorithms?
 
@flawr CMC: Given an array, add the fewest numbers possible such that 50% or more of the list is sorted
 
@DJMcMayhem append?
insert? prepend?
 
Any of the above
 
4:22 PM
:o
i'm out
 
what's 50%?
is 4,5,2,1 50%?
do you count the numbers or the adjacencies?
 
vtc unclear
 
@NathanMerrill Hmm. Count the adjacencies
So that would be 1/3rd
 
Just change it to "such that the list is sorted"
 
what about 4,5,1,2?
 
4:23 PM
That's 2/3rds sorted
 
@cairdcoinheringaahing how do you do that with [2,1]?
 
both the 1 and the 2 will have to move, though
 
@flawr Good point
 
Is it just me or Perl suddenly seems far golfier since Ton Hospel's back? >:D
 
4:42 PM
@Pavel cute, DMM link backed to SE
 
what's interesting is that he thinks that dropsort is useful
while lossy algorithms are useful, dropsort is really lossy
the more elements in the array, the more elements you're going to lose
I guess if you know it's mostly sorted, its better
which is what the paper iterates
actually, the paper is quite interesting
it's worth a read
 
I'm waiting for clang to release 7.0.0
 
00:00 - 17:0017:00 - 00:00

« first day (2609 days earlier)      last day (2234 days later) »