« first day (516 days earlier)      last day (1978 days later) » 

12:51 AM
@Dennis Can you add F* to the list?
 
1:03 AM
@Dennis FYI, the code textarea doesn't autofocus for me either. Seems to be because my laptop is being detected as a touch device (which technically it is).
Oddly enough this is only a problem on Firefox. On Chrome and Edge the touch functionality doesn't appear to be detected so the autofocus works.
 
$ opam pin add fstar --dev-repo
$ opam install fstar
 
Hm. I wanted to avoid getting half of your phone's screen covered with a
keyboard that you may not use, but I didn't even think of traditional computers with touch functionality. I'll try to think of a better way to make that decision.
 
@Dennis Why does the OCaml HW have two redundant semicolons?
 
@Pavel OK. Any reason to prefer opam over the pre-built binaries they offer?
@Pavel I wouldn't call the first one redundant. No clue what the second one is doing there.
 
1:21 AM
@Dennis No semicolon needed: Try it online!
@Dennis I just assumed it's easier for you to keep it updated if installed through a package manager
 
The things I install through these packages managers are the ones that get updated the least. I have no experience with opam in particular, but there's usually no easy way of updating everything, and no easy way to roll back if an update went bad.
 
opam in particular can upgrade everything with opam update && opam upgrade, but do what's easiest for you.
 
@Pavel I know that it's not needed if you have only one statement. Unless you're golfing, it's still good practice (in my opinion) to use one.
 
Ah
I couldn't find an F* HW, and print seemed to require an import, so I spent around 10 minutes guessing module names until I found something that works.
module Main

open FStar.IO

let main = print_string "hello"
 
1:41 AM
@Pavel Turns out that ; isn't a statement separator in OCaml, ;; is.
2
A: OCaml Syntax Error fixed by double semicolon

glennslAs has been pointed out in the comments, ; is not a statement terminator like in many other (Algol-inspired) languages, but a sequence operator. It takes two values, throws away the first (but warns if it is not unit) and returns the second. a; b is therefore roughly equivalent to let _ = a in b....

 
@Dennis Huh. It works with either amount of semicolons, but not with ; ;
 
A single semicolon is an operator, so you need something that follows it. ; ; is just like + ;.
Weird language.
 
But a single semicolon is a dyadic operator, so it should require something after it.
Yeah. Weird language.
 
@Dennis Not a major concern. I can't imagine there are a huge number of desktop users with touch capability that are also using Firefox.
Although I'm curious whether @user202729 is in the same situation as me or they're having a different issue.
 
@Pavel Hm, good point.
 
1:54 AM
@JamesHolderness well if you go to a computer store (at least the case for me) most of the displayed computers are touch capable. firefox is a pretty popular browser, so it's not too unreasonable
@Dennis Could you please pull Attache ?
 
@Dennis I'm slightly dissapointed print_string "Hello, World!";;; doesn't work since ;;; gets parsed as ;; ; and not ; ;;.
 
@Pavel I guess it can't "even" ;D
or rather it must
disregard the bad pun it doesn't even work for ;;;;
 
@ConorO'Brien Or for ;; ;;. Ocaml doesn't seem to allow having a blank statement.
 
2:26 AM
@ConorO'Brien 5.72% market share according to gs.statcounter.com/browser-market-share.
It's amazing how quickly Chrome is getting rid of the competition.
@ConorO'Brien Done.
 
2:38 AM
I didn't realize Safari was becoming such a major player in the US and (to a lesser degree) Europe. I literally don't know people in this country who use Apple devices...
 
2:51 AM
@Brad TIO is running on dual-core servers now. Should we change something in the Chapel setup?
 
@Dennis TIL
@Dennis Thanks!
 
3:13 AM
@Dennis I feel like TIO had this at one point (or it was discussed), but do you ever plan on adding language specific highlighting tags to the code golf submission formatter? e.g. <!-- language-all: lang-mathematica --> for mathematica
 
@ConorO'Brien That's already a thing for many languages. Mathematica isn't on "the list" though.
 
huh, really? I just tried it on an answer of mine (reverted in favor of a different language), the hint lang-mathematica seems to work just fine
 
It most likely falls back to the same highlighting as lang-attache.
 
Oh, cool, I had no idea there was a fallback. that explains a lot lol
 
3:55 AM
Is there a policy on TIO installing libraries?
 
Pretty much the same deal as with new languages: tell me which and I'll do what I can.
 
Could you add Text.Heredoc for haskell?
 
@Dennis People in the US are generally more able to waste money on overprices garbage.
 
@HeebyJeebyMan Done.
 
Thanks a bunch!
 
4:02 AM
np
 
4:13 AM
@Dennis Hi @Dennis -- Thanks for thinking to ask. It should "just work" and seems to be. This program reports how many processing units (PUs) the node has and is correctly reporting two: tio.run/##S85ILEjN@f@/vCizJDUnTyMjtShVL680NyC0WENT0/r/fwA
This program parallelizes a loop and seems to be doing so: tio.run/##S85ILEjN@f8/Lb8oMSdHIVMhM0/BUE/…
Oops, didn't get that second URL right. Should be: tio.run/##S85ILEjN@f8/Lb8oMSdHIVMhM0/BUE/…
I was trying to puzzle why the parallel loop was seemingly getting split into four chunks rather than two (note that 1..25, 26..50, 51..75, 76..100 are interleaved consecutively in the output depending on how things are scheduled) and remembered that we'd artificially set it to use 4 threads to make it more interesting even with one core: github.com/TryItOnline/tryitonline/blob/master/wrappers/chapel
So, we could stop setting QT_HWPAR in the environment, and I believe we'd see it split the parallel loop into two chunks instead (1..50 and 51..100 would be interspersed).
I don't feel strongly about which way it's configured. Not setting the variable would be more "normal" (we tend to use a number of threads/tasks equal to the number of cores by default), but using 4 threads/tasks is slightly more "interesting"? Your call.
 
Up to you.
 
 
2 hours later…
6:33 AM
@Brad Ok someone is going to have to make a decission at some point
Is it possible to set through compiler flags?
 
 
3 hours later…
9:51 AM
@Dennis Would you please pull tinylisp?
 
 
1 hour later…
11:21 AM
@Dennis I think I found a Mathematica quirk due to updates:
Wolfram Language 11.2.0 Engine for Linux x86 (64-bit)
Copyright 1988-2017 Wolfram Research, Inc.

You will need to get a password from your
license certificate or from Wolfram Research
(register.wolfram.com).

Enter your name:
Enter the name of your organization:
Enter your password:
The password you entered is not valid.
Please press Enter to quit.
This is what I get as output regardless of the code
 
 
1 hour later…
12:40 PM
@Mr.Xcoder Not sure how that happened, but it's fixed now. Thank you for reporting this.
@DLosc Done.
 
 
3 hours later…
3:16 PM
@Dennis Could you pull Husk, please?
 
3:38 PM
@Zgarb Done.
 
Thanks!
 
 
3 hours later…
6:35 PM
Thanks!
 
6:52 PM
@Dennis Could you please pull Pyt?
 
 
1 hour later…
7:57 PM
@mudkip201 Done.
 

« first day (516 days earlier)      last day (1978 days later) »