« first day (2150 days earlier)      last day (2686 days later) » 

4:01 PM
 
It says Linux for me instead of macOS
 
Yes, but the problem for me is mainly different socket code
 
@KritixiLithos Then __linux__ is defined... Interesting.
@TuxCopter I mean, you can put these different codes in between #ifdefs
@KritixiLithos wait, you running code on site or compiling in your machine? It says Linux because the TIO server runs Linux
 
Oh right, lol, my bad
 
How do I import a file into another file in Perl, like #include (putting the entirety of the file in place of the commands needed for that).
So import file2import.pl?
 
4:06 PM
Sorry didn't read much just looked at title, I don't know
 
user@aspire-4738ZG MSYS ~
$ perl mwc32.demo.pl
37210802882775378555
user@aspire-4738ZG MSYS ~
$ cat mwc32.*pl
require'./mwc32.pl';print r();print r();
$s=1;sub r{$s=(1791398085*$s+1929682203)%4294967296}
:D It works
 
How to lookup the IP of a site with bash and coreutils?
 
@TuxCopter dig sitename
 
> bash and coreutils
 
Okay, I made an entropy file of an RNG with perl. will check it (the RNG). :3
 
4:14 PM
@TuxCopter echo "127.0.0.1"
 
(ノಠ益ಠ)ノ彡┻━┻
ok what is the IP of tio.run
 
@TuxCopter 192.241.130.16
 
If id(1) was allowed in the non-deterministic output question, does that mean I can shuffle an array in python with sorted(data,key=id)? :P
 
thx
 
@TuxCopter wait that gets you to a very weird page
 
4:16 PM
huh
 
Now, how do I divide a file into 16M segments with bash, coreutils and dd?
 
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 18570
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;tio.run.                       IN      A

;; ANSWER SECTION:
tio.run.                1799    IN      A       192.241.130.16

;; Query time: 296 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Sun Dec 18 11:16:31 2016
;; MSG SIZE  rcvd: 41
 
Question: is there a nice way to make windows installer without like Visual Studio™ Pro™ Professional™ Plus™?
 
0
A: Sandbox for Proposed Challenges

CrazyPythonEvery prime bit must alternate code-golf restricted-source A program is bit primed if: For every nth bit, if n is prime, if n is 2, the nth bit must be 1. if the previous prime n was 1, the nth bit must be 0. if the previous prime n was 0, the nth bit must be 1. For example, this is a te...

 
@TuxCopter lemme get it for you
 
4:17 PM
@Downgoat For electron, there's electron-builder. Just npm install electron-builder and see for yourself.
For others, there's IExpress. Just run iexpress.exe via the Run window and see for yourself.
 
Okay uploading...
 
seems I find answers quicker than you :/
 
@TuxCopter D: is like DNS bork
 
Why do you need IP if you can do DNS
 
4:23 PM
com.com = weird search engine thingy
 
Oh my, dnf is so much better than apt-get. It got killed while installing a package, and instead of having me clean up lock files for the next fifteen minutes or breaking the entire system, re-running dnf just freed the locks automatically and resumed the install.
 
@noɥʇʎPʎzɐɹC This is an advert.
 
Note: I've changed my username back to LegionMammal978 so the mods will stop being angry at me.
7
 
@zyabin101 ??
 
4:23 PM
The site is parked.
 
I hope it works now
 
@zyabin101 no it's not
 
@noɥʇʎPʎzɐɹC ^^^
 
It's not parked.
 
@LegionMammal978 Why are they angry at you?
 
4:24 PM
PSA: Don't go to com.com.com
 
The trend back to normal ASCII names makes me happy.
7
 
@zyabin101 For transliterating my username to Greek
 
@Dennis pacman does it too. apt isn't that good.
 
@Downgoat I appreciate your enthusiasm, but you should really hold off on all this stuff. I'll be changing the way front- and backend communicate multiple times over the course of the next couple of weeks.
@LegionMammal978 Thank you!
 
@Dennis Ik, though zyabin asked me to fix so I did
@TuxCopter ^^^
 
4:26 PM
@Dennis Yeah, had to wait for a 2-month period after fixing a typo
 
com.com is not malware, com.com.com is
 
@LegionMammal978 You can always bother a mod. I'll happily eleven the Unicode out of every username.
 
k. anyway sockets are a PITA to use in C
 
> Firefox can’t find the server at www.www.www.
Aww, www should be a TLD
 
@noɥʇʎPʎzɐɹC brb confirming
 
4:27 PM
Awww, there isn't a google.google
 
@LegionMammal978 www shouldn't even be a prefix.
 
there's com.google however
 
@Downgoat ik
 
Fun fact: www.tio.run is a DNS error.
 
4:28 PM
There isn't istanbul.istanbul too
 
@Downgoat Hey, if you're OK with having to redo everything every once in a while, I won't stop you. I just don't want you to feel discouraged when all your efforts are suddenly in vain.
 
Wait, com.com.com.com is even weirder
14
 
@Dennis I'm unfortunately very used to efforts being in vain >_>
 
@LegionMammal978 :/
 
(please don't kill me)
 
4:29 PM
@LegionMammal978 get out
 
And out?
 
@TuxCopter See ^^^
 
@LegionMammal978 btw rational casts are broken:
cheddar> Rational::1
Runtime Error: Cannot cast to given target `Rational`
 
@Downgoat Yeah, I'll have to relearn the interface if I want to fix anything
 
luckily you can now write interface in cheddar :D
 
4:31 PM
@Downgoat I didn't add any casts on CheddarNumber to CheddarRational
 
oh
I can fix that
 
edu.edu : Escolas Das Universidades Chaves Reunidas
 
net.net : "NET.NET is the firts and the best domain name on the Internet!"
org.org : Index of /
lol.lol doesn't exist :(
Nor do co.uk.co.uk or uk.uk
 
I wanted to change my avatar to match my username but it's almost impossible
 
gov.gov definitely doesn't exist
info.info : Afilias plc .info registrar list
 
4:39 PM
 
Just noticed that you can do rudimentary server-side calculations on GitHub with Jekyll template code.
I wonder if there is such a thing as a jekyll fork-bomb.
 
It would make GH angry
I think every /go+gle\.com/ domains are registered lol
 
Strangest website name
 
@betseg Where is this supposed to lead? There's no hostname "ai" in my LAN, so this doesn't resolve for me.
 
@mınxomaτ ai.com
 
4:42 PM
 
/me contemplates trashing everything about website names
 
"ai" is not an internet hostname, your browser does something that's not right.
@betseg That's offshore.ai, not "ai".
 
Why http:// ai shows it then?
 
@betseg Because your browser appends a dot that's missing (typo correction).
The real url is ai. (http://ai./)
All domains really end with a dot, browsers just hide that.
 
TIL
 
4:45 PM
TIL
 
@LegionMammal978 The com DNS root has no website.
 
About this nice random derangement challenge, I'm surprised it isn't a duplicate
 
@mınxomaτ Well, that gives com
 
Because that's something that isn't really supposed to happen. The AI authority is messing with DNS here.
 
4:48 PM
@mınxomaτ That's a URL!?
 
USPS sucks
 
@Maltysen Why so?
 
@LegionMammal978 That's another artifact of your browser, which prepends "www"
 
@LegionMammal978 my package is delayed, its been over a week... was supposed to be 3 days still isn't here
 
@mınxomaτ "The AI Authority"
 
4:48 PM
@LegionMammal978 that's www.www.com?
 
@betseg Yep
 
I saw an ad for offshore companies in The Economist
 
http://www.com is a website. http://com and http://com. aren't. However, http://ai. is.
Everything else is browsers messing about with the URL.
 
@LuisMendo I actually considered posting one a couple of weeks ago when I saw a numberphile video about generating a random derangement (which I think was linked in here). I think I didn't because of the most likely optimal rejection-based approach.
 
Now i just wish http://google or http://google. was a thing
 
4:51 PM
@betseg google. could be a thing, but I guess Google doesn't want to break DNS like AI does. Just google is impossible, because that's a local hostname.
 
Anonymous
@quartata I haven't the slightest idea
 
But google. is only possible because there actually is a .google TLD.
 
@betseg they have the tld
 
@MartinEnder Yes, maybe requiring running time to be bounded (as a function of input size) would have made it more interesting. Nice choice of :| to produce an emoticon BTW :-D
 
> there actually is a .google TLD.
WAT
 
4:52 PM
ninja'd
@TuxCopter domains.google
 
There are even city TLDs now
Like .istanbul
 
> Which top level domains will Google Registry be offering?
We've applied to be the registry for: .みんな, .ADS, .APP, .BOO, .DAD, .DAY, .EAT, .ESQ, .FLY, .HERE, .HOW, .ING, .MEME, .MOV, .PROF, .RSVP, .SOY, and .ZIP, among others.
 
minna?
 
That's the kana, I didn't know you could use kana in URLs
 
4:55 PM
jokes.dad plz explain the error
 
@redstarcoder You can use all characters in URLs. They'll just be converted to punycode before hitting DNS.
 
Is that like a TLD for everyone?
Ah
Oh it really is
>Description: .みんな ('minnah', or "everyone" in Japanese) is the extension that gathers everyone
 
Question: Why is punycode so complicated?
It apparently involves crazy FSMs and isn't documented anywhere
 
why does .blue exist
 
> The encoding syntax is defined in IETF document RFC 3492.
 
5:02 PM
 
@LegionMammal978 ^^ From wikipedia
 
Can't believe feel.blue doesn't exist yet.
 
I did not know that Samoa was a country.
 
Lul
 
Question: how to propose .goat gTLD to ICANN
 
5:03 PM
:O https://domains.google/#/
 
What happens if I put a force RTL character in my website name?
 
I have no quarter million dollars but I have hay and tin cans
 
The spec is largely code: ietf.org/rfc/rfc3492.txt
 
@Downgoat Propose the top level domain to a DNS server.
 
/* The following string is used to convert printable */
/* characters between ASCII and the native charset:  */

static const char print_ascii[] =
  "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"
  "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"
  " !\"#$%&'()*+,-./"
Rofl.
 
5:04 PM
@zyabin101 uhhh
 
spec as code :P
@Downgoat you need 500k of investments
 
> downgoat
The act of voting down internet posts indiscriminately, much the way a goat chooses its food.
ಠ_ಠ
> by Geobits
 
tnb.chat is $40 a year
@Downgoat Where!?
 
@Geobits ಠ_____ಠ
@noɥʇʎPʎzɐɹC UD
 
May 15 at 19:33, by mınxomaτ
@flawr Uhm, they already do. TLDs are not regulated by some company, but by the DNS you are using. If you want a new TLD, you just need enough DNS servers to agree with you ;-)
 
5:06 PM
> Any established public or private organization that meets eligibility requirements anywhere in the world can apply to create and operate a new gTLD Registry. Applicants will need to demonstrate the operational, technical and financial capability to run a registry and comply with additional specific requirements.
 
May 15 at 19:36, by mınxomaτ
@flawr Why? If you create a DNS server that resolves .flawr then anyone who puts your DNS' IP in their network config will be able to access flawr-sites :P
 
@zyabin101 Goat asked about ICANN, not just DNS.
The application process for ICANN is well defined.
 
There you go.
 
Or you can take *.goat.local instead.
May 15 at 19:39, by zyabin101
All *.local domains are free. :D :P
 
5:07 PM
Can an ISP block SSL?
 
@zyabin101 ಠ_ಠ
 
instantdomainsearch.com is an extremely useful website.
 
@betseg Sure, but why?
 
great design, great functionality
 
@mınxomaτ dunno, I can't connect to any HTTPS websites in schools
 
5:09 PM
If I ™ something can I sue someone a registrar owns that domain name?
 
@betseg So they can see all traffic probably
 
@noɥʇʎPʎzɐɹC Only for registered Trademarks.
 
@Downgoat yea
 
TMs are worth nothing.
 
@mınxomaτ Awww, gotta register?
Oh, and I, James ---, hereby ™ .x and dotx and "Text bookmarks for a more productive world"
 
5:11 PM
xn--gugl-nza.com lol (gugıl is pronunciation of Google in Turkish and someone bought gugıl.com)
 
"Bu Alan Adı Satılıktır." (This domain names is for sale.)
 
Idea: buy google.club and related domains so when Google needs it they will need to pay you lots of $$$
I think that's how it works
 
Yes.
For .wed domains, the first and second years it costs $30, the third year it costs $30,000. Because they want the next johnandmary.wed to be able to get a domain.
 
johnandmarywedd.ing
 
johnandmary.wedding
:O meandnobody.wed is available!
 
5:16 PM
Question: Where to register .at domain
 
meandurmom.wed or urmom.lol
 
oh cool GoDaddy goes
 
urmom.lol exists, lol
 
instantdomainsearch.com is very useful
 
Anonymous
So you're going to try to grab downgo.at?
 
5:17 PM
@Mego Kinda.
 
Yes
 
Anonymous
Urge to snipe rising...
 
good idea
 
Anonymous
Oh right I still own youwanttohire.me
 
@Mego NooooooooooooooOoooo! D:
 
Anonymous
5:18 PM
I should probably do something with it
 
Good idea. You should register pleasehire.me
> $2,395.00*
+ $14.99*/year
goddammit
 
Basically all the good domains are expensive and nobody buys them so lose-lose
 
^ this domain industry is dumb
 
Anonymous
I got youwanttohire.me during Namecheap's promotion where they let anyone with a valid university email get a domain name for free
 
5:20 PM
then it's filled with assholes who buy domains and do nothing with them and charge you 70K
 
@Maltysen Thanks for the explanation. I read the tutorial and got close to only shuffling the list :D.
 
@Mego Wait what!?
 
Anonymous
That was also when I discovered that my university email still worked, despite having graduates over a year prior
 
new idea: shutupandhire.me
 
idea: jelly program that outputs the lyrics to rick astely never gonna give you up
 
5:21 PM
I can buy bets.eg
 
downgo.at is $13
@betseg \o/
crazypyth.com is 99¢
so is crazypython.com
 
I would get artofco.de, but someone already has it
 
@Downgoat What a weird coincidence.
 
@ArtOfCode It's only 3.49
 
Anonymous
.go isn't a TLD :(
 
5:24 PM
> $359.00
No thx
 
downgoat's is cheap
doorknob.com is only >18k
 
Plz some1 rich buy me bets.eg thx
 
@noɥʇʎPʎzɐɹC try crazypyth.on
 
@betseg I've nothing at all, and %name%.%anglicized_surname%.name suits you better, I think.
 
If i ever buy a website with my name I'd buy it with punycode and my real surname
So, arda.xn--nl-wkac.name
 
5:31 PM
@Downgoat nope; crazypyth.one
 
@betseg Cool.
 
Bye
 
Idea: tryit.online, tryit.online/nexus, tryit.online/v2.
@Dennis Will you publish the TIO Ne×us API online?
 
arda.ünlü.me for $9.99?
Nvm, "This domain isn't available." :[
.org for $8.99 tho
 
5:36 PM
@zyabin101 It's not too hard, just submit a request with this format:
    [
        0, 0, 0, 0, 0, // 5
        0, 0, 0, 0, 0, // 10
        0,             // 11
        language.length >>> 0
    ], language, [
        0, 0, 0, 0, 0, // 5
        0, 0, 0,       // 8
        code.length >>> 0
    ], code, [
        0, 0, 0, 0, 0, // 5
        0, 0,
        input.length >>> 0
    ], input, [
        0, 0, 0, 0     // 4
    ]
where that is a byte array
 
Got it.
 
@zyabin101 Unsurprisingly, that's already taken.
 
Okay, try tionex.us.
 
@zyabin101 No point right now, since I'm going to change it soon.
@zyabin101 That is available, but there are better ways to spend money for TIO.
 
@Downgoat Temporary solution.
 
5:44 PM
@Downgoat You're forgetting about DEFLATE.
 
oh yeah @zyabin101 don't forget to DEFLATE it
ninja
 
zlib?
 
@Mego Do you know what a regular fork is? :P
 
I noticed someone mentioned GoDaddy
Never use GoDaddy
 
why not?
 
5:45 PM
They're the worst.
 
Yeah GoDaddy is awful
 
Argumentate.
 
@zyabin101 Not quite. Raw DEFLATE has a shorter header and no checksum.
 
I got a domain from them.
 
@seequ And?
 
5:46 PM
I'm typing
 
So do I, unfortunately. Wonder how hard it is to change registrars.
 
@Dennis Then how do that in Node?
And how to make a byte array from a string? @:-/
 
Idk. tio.run/deflate-min.js might work.
 
^ I just did that
 
@zyabin101 Slow as molasses, bad support, questionable ethics
 
5:47 PM
This is my function:
function generateByteArray(obj) {
    function toBytes(string) {
        var chars = string || "";
        var res = [];
        for (var i = 0; i < chars.length; i++) {
            res.push( chars.charCodeAt(i) );
        }
        return res;
    }

    var language = toBytes(
        IdFromName(TIO.Language)
    );
    var code = toBytes(unescape(encodeURIComponent(obj.code)));
    var input = toBytes(unescape(encodeURIComponent(obj.input)));

    var array = [].concat([
        0, 0, 0, 0, 0, // 5
 
Anonymous
@quartata Yes, I do. (f g) y -> y f (g y)
 
@Mego That's a monadic hook
 
Anonymous
Oh
 
Anonymous
Then I'm bad at terminology
 
Anonymous
I'm new to this tacit stuff :P
 
5:48 PM
@Dennis I'm working in a REPL.
 
Don't worry I'll explain it then
 
Anonymous
Cool, thanks
 
I can't copy this function to the REPL.
It becomes dumb if I do.
 
@quartata The last part is what bothers me the most. Support for SOPA and hidden costs.
 
My Godaddy experience: Okay, took 24h to activate, not a big deal. Oh, hmm, it doesn't actually point to my IP. Oh wow, they set up a website that redirects to the IP rather than set an A record. Okay, dig around and find the field to set up records. Wtf are these namings? Oh'kay got it working after some bruteforce fiddling. Oh wow, now they're sending me emails once a week because my domain is not in use (aka the redirection isn't in use)
 
5:49 PM
@Mego since this is almost valid cheddar, does that make cheddar functional? :D
 
Anonymous
@Downgoat You have a lot of bugs to work out before you can call Cheddar functional
 
Idk. I wrote a working BF thing in cheddar and it work
 
That's not quite what functional means usually :P
 
How do I make a byte array from a string in Python 2?
 
cheddar test.cheddar
￿￿￿[[1, 2, 3, 2, 1, 1], [0, 1]]
 
5:51 PM
0
A: Sandbox for Proposed Challenges

Flp.TkcSeparate a Nested Array To separate values in a nested array, flatten it, and then wrap each value so it is at the same nested depth it as before. That is to say, this array: [1, [2, 3], [4, 5, [6, 7], 8]] Would become: [1, [2], [3], [4], [5], [[6]], [[7]], [8]] The Challenge Your...

 
OH MY GOD IT DID THING WOW
@ConorO'Brien \o/ \o/ \o/ brainfuck program in cheddar works
 
@zyabin101 You mean an array of the byte values as ints?
 
yes
 
map(ord, "hello")
 
oh thanks
 
5:53 PM
Probably the easiest way I can think of.
And shortest :P
 
@Mego Will the list always be two elements long?
 
@seequ outgolfed you in cheddar: "hello".bytes :D
 
I have no idea what Cheddar even is
 
Oh, it's a really cool new programming languages
everyone is using it, you should too
 
Anonymous
@quartata Yes
 
5:55 PM
@Mego Then this is what you want: ([: *: {.) * {:
So this is a monadic fork
i.e f g h is g(f(x), h(x))
 
Anonymous
Ah right that thing
 
Here g is * obviously
{: is tail -- last element
 
Anonymous
I tried making a fork but I failed miserably
 
([: *: {.) is a capped fork which is like this: [: f g is f(g(x))
 
What problem does Cheddar fix?
 
5:56 PM
*: is square and {. is head
Pretty simple.
If you're golfing you should use an atop
But I find capped forks to be easier to read.
 
Anonymous
I am golfing, so what's an atop?
 
Anonymous
I know that's @ or something like that but I don't know what it does
 
@seequ The problem of having no problems
 
([: *: {.) == *:@:{. and usually the same as *:@{.
 
Golfed would be this: *:@{.*{:
f@g is the same as [: f g
ninja'd
But like I said, I find capped forks to be a little more readable.
But since you're golfing :P
 
Anonymous
5:59 PM
I thought it was f@:g
 
1
Q: An Array of Challenges #1: Alternating Arrays

Flp.TkcAlternating Arrays An alternating array is a list of any length in which two (not necessarily different) values are alternating. That is to say, all even-indexed items are equal, and all odd-indexed items are equal. Your task is to write a program or function which, when given a list of positiv...

 
Readable J, yay.
 
Anonymous
What's the difference between @: and @?
 
@Mego Has to do with rank
 
Now, how to convert a byte array back to a string in Python 2?
 
5:59 PM
@TuxCopter I can't see anything new at the site
 
Let me see if I can construct an example
 

« first day (2150 days earlier)      last day (2686 days later) »