« first day (2909 days earlier)      last day (1939 days later) » 

12:07 AM
hmmmmm...... if classes are first class objects, should you be able to access the constructor and get a first class function back?
should the constructor be called constructor? or should i be trying to avoid cluttering the namespace with magic strings?
 
12:56 AM
Are there any Conway's Game of Life programmers here?
I need help with using OTCA pixels
 
@MilkyWay90 check in tetris chatroom, dave greene occasionally goes there
 
Okay
 
@MilkyWay90 but... what kind of help exactly
 
With OTCA metapixels, I need to know how exactly to simulate different rules ith it
*with
Like an example of it
And where is the Tetris chatroom?
 
@MilkyWay90 search pls
 
12:58 AM
ok
 
Okay
I asked over on the Tetris chatroom, in case I have more questions
 
oh wait also. anyone know how having two different types (variable type and AST node type) would work?
would there be both normal classes and AST Node classes that are not very similar to normal classes? hmm
 
for what?
And also, was there any example macrocell/run length encoding file ther
I've been looking for that
But If not, then I can experiment arround
 
@MilkyWay90 huh?
@MilkyWay90 of the otca? always check wiki first
 
1:11 AM
Oof!
I forgot that
How do I connect them to other OTCA metapixels? Thinks
Let me go check Goly
*Golly
 
1:35 AM
@MilkyWay90 again, check the wiki "To tile these unit cells to emulate other patterns, place them so that the cornermost blocks overlap; the unit cells will physically overlap by 5 cells in every direction. The overlap will place tubs inside cross-corner neighbours."
 
@ASCII-only Oh, didnt see that. Thank you for persisting through my laziness
 
2:17 AM
@ASCII-only btw thinking about switching tuple format to {a: b} instead of {a: b} which has benefit of being unambiguous with generics
 
@Downgoat um wat
how are they different
also. ambiguous with generics why
also if you have time. could you look at my earlier messages. not related to this but if you have any ideas that would be nice
 
@ASCII-only Array<String>(length: 1) can be (Array < String) > (length: 1)
 
@Downgoat didn't you move the generic thing already to before comparisons
 
no very hard to fix idk how
also this has benefit of being familiar to JS people
working on JS/VSL-WASM dispatch interop
this means that most VSL DOM calls would look almost identical
 
@Downgoat i thought you asked a few months ago though?
 
2:28 AM
Oof 21 days until 1 year since last TF2 update
 
Man, I wish it was 21 days until MYM launched because then I could still enjoy the game
 
@Veskah MYM?
 
Meet Your Match patch. AKA "We killed Quickplay which had killed the Community servers because we thought you wanted casual matchmaking"
 
Personally preffered official to community servers
 
Me too, I just don't like now waiting 3 minutes to join the 2nd round of a rapidly-emptying pubstomp just to get dumped back in the queue.
 
3:02 AM
Essay topic: Ice. All I've written: Hear now a tragic tale of tyranny, a shocking story of submission, a catastrophic chronicle of capitulation. 1000 rep if you can guess where I'm going with this (hint: I can't)
 
I want to say McAfee just because dude's an absolute mad lad
 
 
1 hour later…
4:07 AM
since september 26th, 2015, I have visited ppcg every day except for 3, and two of those days were last november. wow
 
4:21 AM
Just need another hit of that tiny code, eh?
 
 
5 hours later…
ngn
9:41 AM
@Quintec a brief background of brexit negotiations?
 
9:59 AM
0
Q: The great Oreo™ construction script. Or; how I learned to stop worrying and love the Orererereo

AJFaradayI think we can all agree that an Oreo™ looks like this #### ---- #### Having extensively reverse engineered this information, I have come to the conclusion that a Reore™ would look like this: ---- #### ---- And that clearly, then, a Orereooreo™ would look like this: ########## ---------- -...

 
 
4 hours later…
1:50 PM
0
Q: Work out \$x^y\$ using only addition and subtraction

Olly BrittonThe challenge is to implement a function or program that takes two numbers, \$x\$ and \$y\$ and return the result of \$x^y\$. The program cannot use any other mathematical operation other than \$+\$ or \$-\$, so no multiplication or division. Functions built into languages are also not allowed....

 
@ngn Lol, relate to ice?
 
2:30 PM
@ngn haha, that would be interesting
 
 
2 hours later…
4:08 PM
0
Q: Equal, sum or difference!

Vikrant BiswasWrite shortest possible code that will return true if the two given integer values are equal or their sum or difference is 5. Example test cases: 4 1 => True 10 10 => True 1 6 => True -256 -251 => True The shortest I could come up with in python2 is 56 characters long: x=input();y=input();pr...

 
Anyone here speak Graphviz? If I have really long node labels, is there a way to give them a short name so it's easier to refer to them?
 
4:55 PM
0
Q: Build a border trench

AdámGiven a 2D map of the border between Astan and Blandia, make the Blands pay (with land) for a border trench. For example, with Alandian cells are marked A, Blanian cells are marked B and trench cells are marked + (the map frames are only for clarity): ┌──────────┐ ┌──────────┐ │AAAAAAAAAA│ │AAA...

 
@NewMainPosts aw, you removed the backstory :p
 
Glory to Artstozka Astan.
 
@AdmBorkBork I absolutely love that game.
 
@dzaima Added.
 
5:18 PM
@Pavel @flawr @ngn ^^^^^
 
\o/
Currently working on mind-bogling regular expressions
 
5:51 PM
@NewMainPosts In static Huffman-coded Mathematica that's 8 bytes. I just haven't finished my implementation yet. @Adám
 
ngn
@lirtosiast is your huffman encoder generic enough to be used for other languages?
i mean, will it be?
 
I guess in theory you could use a Huffman encoder for any language.
It might help less for a language like Jelly since analysis has already been done to reduce reliance on any one symbol
Mine is specific to Wolfram but is really the same as for any other parenthesized language @ngn
 
6:55 PM
Code-golf idea: Reverse GoL. Given a GoL board, return a previous state that would evolve to the given state in the next generation. It must be possible for small boards, but probably requires brute force, no?
 
7:11 PM
@Adám Mathematica, some amount of bytes: <something containing FindInstance and CellularAutomata here>
 
@Pavel Thought so too, but the lirtosiast found another way.
 
that's... wow
 
7:49 PM
(I sandboxed that idea, decided it was in no state to be posted, and offered it for anyone to improve and post. Instead it was just posted without modification, so there's definitely room for a better thought out previous state finding challenge...)
When I offered it for adaptation I suggested it might work better with a different rule set. Might also be better with a smaller neighbourhood although I'm not sure how to make it suitable for approaches other than brute force.
 
8:13 PM
@trichoplax I don't think you can avoid brute force for the actual GoL, as it is turing complete. I think that would imply solving the halting problem or something.
 
8:33 PM
1
Q: Is it Valid Modified UTF-8?

BeefsterUTF-8 is a relatively simple way to encode Unicode codepoints in a variable-width format such that it doesn't easily confuse code that isn't Unicode aware. UTF-8 overview Bytes in the range of 0-0x7F, inclusive, are normally valid Bytes with the bit pattern 10XX XXXX are considered continuatio...

 
9:16 PM
0
A: Sandbox for Proposed Challenges

Francisco Hahn#thanosdidnothingwrong Even if you are happy about Thanos "humanitarian" actions with the famous snap, there is a trully sad point , the infinity gauntlet is basically destroyed. The Gaunlet "works" with a 50/50 chance to destroy a random ammount of characters from right to left of a "line of yo...

 
@Adám Good point. Not all cellular automata are Turing complete though. I know some of the 1D ones are not. There might be some 2D ones too. I'm not sure
 
9:35 PM
A reversible cellular automaton is a cellular automaton in which every configuration has a unique predecessor. That is, it is a regular grid of cells, each containing a state drawn from a finite set of states, with a rule for updating all cells simultaneously based on the states of their neighbors, such that the previous state of any cell before an update can be determined uniquely from the updated states of all the cells. The time-reversed dynamics of a reversible cellular automaton can always be described by another cellular automaton rule, possibly on a much larger neighborhood. Several methods...
 
@trichoplax Sure some 2D are. On a torus, next gen = NE is reversible.
 
@Adám of course all limited size automata are reversible
 
@dzaima Oh actually, that one is reversible on an infinite board too.
 
Reading that article I was surprised to learn that a cellular automaton can be both reversible and Turing complete
 
ngn
wtf did they do to github!?
 
9:42 PM
if there's no simple way to reverse GoL, a could be interesting (though i have no idea how that would work and if there's really that much to optimize)
 
@ngn What do you have in mind? The status?
 
@ngn oh the beta dashboard finally became unbeta. i knew something felt off :|
 
ngn
@Adám it looks... different
 
> unbeta
3
 
@ngn I didn't notice anything significant.
 
9:45 PM
@Adám you probably never opted out of the beta dashboard rework (or ngn's talking about some other smaller design changes, but i've been using a dark theme so can't tell)
 
ngn
1/3 of my screen is now occupied with "discover repositories" which i have no interest in
 
@dzaima Even if brute force is the only way, tables of patterns and their predecessors to cut down the possibilities for larger patterns might help, maybe...?
 
ok yep ngn's talking about the dashboard or whatever its called aka main page
 
@dzaima I barely ever see the dashboard, other than by mistake.
 
@Adám yeah, same. i once considered making github.com redirect to github.com/notifications, but then realized that'd be too much work
 
9:48 PM
Too bad GitHub is closed-source. ¯\_(⍨)_/¯
 
They seem a bit overcautious with the changes. Over half the area of my screen is still blank space. Why hasn't that been filled in with animated ads?
 
@trichoplax they've gotta ease the changes in, or else we'll notice
 
The main thing that stands out to me is that I can set an emoji next to my status (which I don't have a particular problem with), but there is a default emoji and no obvious way to set it back to no emoji.
I don't mind having the option but being forced to have an emoji bothers me
 
right, why even have statuses.. that's another thing i should completely edit out
 
:thinking: is the Patrician's emoji as an aside
 
9:53 PM
Oh actually it's fine - to others I show as having no status and no emoji. It's only when viewing my own profile as myself that I have a blue smiley face stuck on my avatar. Still annoying, but as long as it isn't visible to anyone I can let myself not care
 
OK, plenty of non-emoji characters are available as "emoji". Why can't I have my own character? I want
@trichoplax Doesn't [Clear status] do that?
 
@Adám I don't know. I've never set a status but already have a blue grinning face
I think it's just a button to allow me to add an emoji if I wish to, but it confused me
 
@trichoplax That grin looks sinister to me — like it is scheming something evil.
 
Indeed. Hopefully someone will write a userscript to hide it
 
@trichoplax a simple .js-user-status-context { display: none; } hides the status updater from your profile page, but i can't seem to find any other account to test with which has a status :|
yeah that doesn't hide other users statuses, for that you'd also need .user-status-container
 
10:02 PM
@trichoplax after clicking randomly through links in this
> Logic gates based on billiard-ball computer designs have also been made to operate using live soldier crabs of the species Mictyris guinotae in place of the billiard balls
5
i love wikipedia
 
Hey, I set my status but no emoji (I hate emoji), and GitHub forced an emoji on me.
 
@dzaima oh that also removes the menu option :D removing the divider would be harder, i won't bother.
 
>intimidation plate
you can tell this is going to be good
"...the crabs are very sensitive to the shadows made by standing and moving object. Thus the intimidation plate can trigger soldier crabs to move away from the shadowed region."
 
@dzaima Not .user-status-message-wrapper,.user-status-emoji-container{display:none}?
 
10:08 PM
"on visual inspection, no crabs appeared to have been injured"
 
@dzaima It's only my own that bothers me - other people's are chosen by them not enforced, which is fine
 
@Adám that classes are of items deeper in, the ones i mentioned contain those further down the hierarchy
@trichoplax right, that's why i mentioned it separately
 
@quartata Ha ha that's brilliant. Makes me wonder if we're reading the same Wikipedia...
 
i checked just to make sure it wasnt the xkcd wiki
 
@Adám Is it just the blue grinning face that's actually a button to let you choose an emoji? If you view it logged out (say in another browser or a private window) does it still show?
 
10:11 PM
Hm, maybe it isn't safe to hide statuses. What if the status said "Please do not PR me!"?
@trichoplax Look at my profile.
 
@Adám that'd require going to the users profile page, there are better ways to give info like that
 
@Adám link?
 
@trichoplax you seem to have no status, in comparison to Adám's account
 
i think im making good use of this
 
@dzaima Ah I see. So the only way to show no emoji is to show no status. Bad, but doesn't affect me as I'm never likely to have a status
 
10:15 PM
@quartata good job 10/10
 
@Adám nice
 
The "Give us feedback" link might reasonably be presumed to be a link to give feedback to the GitHub user, but is actually a link to give feedback on the concept of GitHub statuses
 
1
Q: Trench Border Negotiations

Draco18sThe president of Blandia, recognizing how expensive the trench will be between his country and that of Astan and that the Astanians will be able to swoop in and snatched up the land that ends up being nothing but trench for themselves (represented by !): [ "AAAAAAAAAA", "A!AAAAAA!A", "A+++...

 
We must now frame all challenges as a conflict between Blandia and Astan
 
10:31 PM
Question: Given a standard 3x3 Rubik's Cube in the solved configuration, is it possible to enumerate every different configuration exactly once, without repeating, and return to the original solved state?
 
@cairdcoinheringaahing spoiler
 
@trichoplax Interesting. Am I being dumb, or does that not include a proof?
 
No it's a very brief overview
A search for "hamiltonian network rubik's cube" brings up results with various levels of detail
(that's how I found that overview - I had no idea of the answer until a few minutes ago)
Totally different question came up in the search results too: puzzling.stackexchange.com/questions/24083/…
 
@Veskah Oh no, what have I started‽
 
10:52 PM
0
A: List of bounties with no deadline

lirtosiast500 reputation for an golfy language This bounty will be awarded to a new golfing language (more precisely, to an answer in that language by its author to Showcase of Languages) that Bests all pre-2019 languages by 10% or 2 bytes (whichever is greater) in 10 pure code-golf challenges. The 10...

 
Can someone sanity-check ^ that it's not either broken or impossible to achieve?
Also is it even on-topic?
 
@lirtosiast Sounds doable, but 10/100 is a high bar for what basically is a job to create a superior golfing language. Best bet would be a highly domain specific language for a domain that is popular enough to be 10% of challenges. Very tough. Stencil might have stood a chance if there were enough cellular automaton challenges.
 
11:22 PM
@Adám Next challenge: Is the Astan government operating?
 
@Quintec Interesting. You mean, is Astan completely separated from Blandia by trenches?
 
11:52 PM
@Adám *low bar?
@Adám it's only 10% shorter
 
@ASCII-only No, winning 10% of challenges.
 
yeah, and only 10%
ais' decimal encoding idea, plus weighting from every single previous challenge, would make this pretty easy imo
the hardest part would probably be to write all those solutions lol
@Adám re: this, do the top golflangs already not do this? there aren't that many competitors
like... are there even 10 top golflangs
 

« first day (2909 days earlier)      last day (1939 days later) »