« first day (2074 days earlier)      last day (3064 days later) » 

12:08
@JonathanAllan Looks mostly good (thank you for this), but ż represents 250, not 0.
Anonymous
@NewMainPosts Poor feed :(
@Dennis good catch, fixed.
12:23
I've got Bash on Windows (WSL-like) working on Windows 8.1!
Anonymous
@mınxomaτ Awesome!
microsoft accepting linux is superior
bash running arch?
not arch running bash?
@ASCII-only Not bash, Bash on Windows
Looks more like Arch on Windows to me
12:27
No, Bash on Windows (one term/phrase) is a feature of Windows 10.
This is more like Bash on Archlinux on Windows if you want.
Anonymous
He got Bash on Windows running on 8.1 (which is impressive). He's using that to run Arch via alwsl, another impressive project of his.
Anonymous
(did I get that right?)
Anonymous
Cool
Anonymous
See, I pay attention to your stuff :P
12:32
Actually, this version runs a custom linux kernel (running in a container-like hypervisor). Curiously, according to sysbench, it is way faster then WSL on the same system. A side effect of using the linux instead of the NT kernel is that there's hardly anything that doesn't work. You could host websites from the bash prompt and expect it to be as stable as a normal server.
Let's just call it Bindows for simplicity.
Anonymous
> A side effect of using the linux instead of the NT kernel is that there's hardly anything that doesn't work.
Anonymous
Shots fired
Well it's true
Anonymous
Oh, I completely agree. It's so true that it will take Windows several years to realize that those shots were fired.
12:37
@NathanMerrill check this out.
(background in case you missed it)
@DestructibleWatermelon Yep, my framework is in Java. It can do communication between multiple languages, and has quite a few libraries for common tasks in KoTHs, such as maps, how the games are run/scored, and a few other things
@mınxomaτ I'm confused. I've historically seen this, is "bash on windows" any different than how alwsl used to work?
Well. On Windows 10 it uses WSL. But that's not available for previous versions of Windows. That's why alwsl also implements WSL for these versions. (such as Win8.1 above).
ahhh
...wait, isn't WSL proprietary code? did you reimplement all of the WSL-stuff?
@NathanMerrill WSL is a NT kernel module. Instead of using NT, I use a linux kernel. Syscalls are provided by a hypervisor.
It's still complex, but the user get's the same experience as with al+WSL.
so yes, you did reimplement all of it :)
12:44
There are some differences (see above), but yeah, it "implements" WSL for last-gen Windows.
right. You mention increased speed and better compatibility. Are there any disadvantages to it compared to how WSL does it?
Some things are still missing to integrate it more tightly with Windows. Also the startup speed is not great (about 1 to 2s to get a shell). But that's it I think.
Windows 10 users will have the choice of either this or the WSL way.
Oh yes, something important (for me at least): You can access all disks, even removable.
oh, I think I understand. Because it uses the linux kernel, when bash is running, the linux kernel is running, as opposed to reusing the currently running windows kernel
if you have multiple bashes open, you'd theoretically have multiple linux kernals runninmg?
No and no.
well, I apparently don't understand kernels then :)
12:50
The Windows kernel contains the hypervisor, which boots one linux kernel when Windows boots. This is running the whole time.
You can have any number of bash prompts or other linux apps running (just like in WSL).
Anonymous
So it's slower than WSL because it's a kernel running in the hypervisor rather than an NT kernel module?
you manage to hook into their hypervisor to get it to boot a linux kernel? I didn't realize windows would let you do that
@Mego apparently its faster
@Mego It's faster than WSL in most cases.
Anonymous
@NathanMerrill It's less that Windows doesn't let you do stuff, and more that Windows can't effectively keep you from doing stuff.
Anonymous
@mınxomaτ Oh, I misread
12:52
Because rather than isolating the linux processes in a picoprocess, then translating the syscalls, this method uses the hyperv to access the CPU directly (VT-d/x) through the linux kernel.
Anonymous
Picoprocess?
It's still not emulation. The memory (and everything else really) is shared with the NT kernel. The hypervisor acts as the scheduler.
which makes sense why windows integration is harder. You've removed the windows layer
@NathanMerrill But I did it anyway and it's working fine. Also, because it has access to the system, it can interact with audio, GPU and network hardware directly.
All these things are not available in WSL (by design).
Anonymous
@mınxomaτ 400 Bad Request?
12:58
@Mego Works fine for me.
@Mego me as well
have you blocked microsoft's website?
don't worry, we all get tempted to do that some days
@mınxomaτ so with alwsl 1.0, are you going to allow people to choose what "virtualization" (if that's the term) they want?
or is this completely separate
13 mins ago, by mınxomaτ
Windows 10 users will have the choice of either this or the WSL way.
@NathanMerrill alwsl supports three frameworks. When there are multiple available, you can choose. Here's a list: docs.google.com/spreadsheets/d/…
I should ask this in a better way. What's the installation process of ALWSL?
13:02
@NathanMerrill I'm in the process of writing a post about that.
@mınxomaτ Just read the transcript and all I can say is holy smokes
@quartata thx. This whole thing actually went way smoother than I expected.
13:21
bah, just found a news article saying "no republican has ever won without Ohio", and nobody posted xkcd in the comments.
I was going to, but they closed the comments
@Dennis TIO seems to be copying the snippets weirdly. Here is the link I am using: convex.tryitonline.net/…
when I press copy snippet it says 11 bytes not 9
@NathanMerrill what a surprise
Anonymous
@GamrCorps The "copy snippet" button only counts UTF-8 bytes
@Mego The decanting problem challenge and their one highly upvoted answer are probably what's preventing a question ban.
13:30
@Mego oh is that how it works? My bad.
Anonymous
Ideally that button would count bytes in the native encoding for the language, but that's tricky
Anonymous
Technically both counts are correct - the "copy snippet" button counts UTF-8 bytes, and the code input box counts characters
Anonymous
@El'endiaStarman Still, 11 closed questions in as many days. That should scream "spambot" to the system (even if it isn't the case here).
The rules of the question banner are secret but I suspect that the fact that he's done it in small separated periods of time plus the two questions that were actually good are just enough for him to stay below the radar
13:44
oml I just found something amazing while doing some code-perusing for a sales site
They literally id'd the span as "fake number".
Not to mention that you can still order more than one, of various different styles, from them anyway.
2
Q: Natural Pi #0 - Rock

NonlinearFruitGoal Create a program/function that takes an input N, check if 2 random integers are relatively prime and returns #coprime / N. TL;DR These challenges are simulations of algorithms that only require nature and your brain (and maybe some re-usable resources) to approximate Pi. If you really nee...

@Syxer hahahaha
@Mego It should, yes. I think the issue is really that this sort of situation (good questions and then lots of bad ones) is pretty rare, so the usefulness of coding that case into the system is probably unclear. Stuff like this can be handled with a suspension.
Anonymous
@Syxer You should post that on /r/programminghorror
That's more like programmingblessing. How refreshingly honest
13:49
I don't use Reddit very often, how do I post an image?
Anonymous
Submit a link post
Anonymous
Oh, that sub only allows text posts. Just include the URL in the body of the post.
@Mego That's what I was wondering. kk.
@El'endiaStarman You watch Tom Scott too?
@TRiG I have since like two or three weeks ago. :P
Also, I see you're up to your transcript-plumbing shenanigans again.
13:55
@Mego Posted. I might have to peruse this subreddit a little more. :P
@Mego Belated thanks. When next I can access a command line, I'll be sure to use your advice
@El'endiaStarman He has a lot of impressive content.
@El'endiaStarman In this case, I was following links from meta discussions.
I also watch Tom Scott. Particularly his Citation Needed series
Tom Scott manages to make everything sound like the most important thing ever.
Did you know he had a segment in a TV show, together with Colin Furze a while ago?
@mınxomaτ There are some small bits of that show up on YouTube.
14:01
Yes. Also full episodes sometimes.
Recent example:
I've been pretty uninterested in his arctic videos.
I really enjoyed the game show stuff they had though
I actually made (but never posted) a KoTH based on one of them
Hows everyone today ?:
@confusedandamused I dunno... today I saw an upside down goat so I am confused and amused :P
@Downgoat s/saw/am, surely.
Lol whenver I ask how people are doing they make a joke about my handle...
14:13
@confusedandamused sleeeeppyyyyy😴😴😴
@confusedandamused You did this to yourself. ;P
@Downgoat Did you write an algorithm to confirm it was an upside down goat?
@betseg Oh please don't turn this into facebook
$ uniprops 😴
U+1F634 ‹😴› \N{SLEEPING FACE}
\pS \p{So}
All Any Assigned InEmoticons Common Zyyy Emoticons So S Gr_Base Grapheme_Base Graph GrBase Other_Symbol Print Symbol X_POSIX_Graph X_POSIX_Print
@mınxomaτ ;_;
14:17
@TRiG yes, I ran it through Mathematica
213
Q: Upgoat or Downgoat?

DowngoatGiven an image of a goat, your program should best try to identify whether the goat is upside down, or not. Examples These are examples of what the input may be. Not actual inputs Input: Output: Downgoat Spec Your program should be at most 30,000 bytes The input will contain the full goa...

@mınxomaτ (i think that was the joke)
Just for reference.
I'm still flabbergasted at how that challenge got so many upvotes
You've goat to be kidding me... — corsiKa Feb 10 at 15:57
best comment ever, hands down
14:23
I suppose since it isn't code golf it's more HNQ friendly
readable code and stuff
@quartata I believe it was the involvement of goats and the mathematica builtin.
By the way: Amazon AWS has a program where you get a free linux VPS for a year. Just FYI, if anyone needs something to tinker with.
3
I guess it's the Mathematica meme + goat meme + simple challenge but not trivial
simple to understand, not necessarily simply to write
@mınxomaτ !
14:25
@quartata And it's got a Gigabit uplink.
Well goodbye Cloud9
@MartinEnder I'm pretty sure they're stack safe, but I couldn't say for sure. I didn't actually write most of them, >_<
> $0.00/hr
cant tell if $0 or small fraction
Most linux stacks and windows are free.
If you want some enterprise DB stack, well that's probably not.
But no archlinux >:(
aws is only free for 12 months
14:36
@NathanMerrill That's what I said.
If you're given nothing to work on while at work - how or what could you do (to learn more) programming lol. I don't want to do nothing x.x
ok, I missed that
12 months is more than enough time to crank out some KoTHs
which is what I plan to do
my framework is nearly ready to be on a server
it already can auto-download challenges
and compile/run them
I'm just missing the "activate over the web" portion
also, persistent scoring
@DJMcMayhem I've found an alternative stack safe 38 for multiplying two positive numbers if you're interested: ({<({}[()]<(({})<>)><>)><>{}<>}{}<{}>) (and Sp3000 found 28-byte solutions that aren't stack safe)
14:41
Also, Windows licenses are included in the free tier, which is pretty awesome to say the least.
@mınxomaτ That's impressive. I grabbed a little mini-VPS for €3 a month from ovh.ie/vps.
Yeah, I have several of those.
14:57
@mınxomaτ do the linux processes appear in the task manager in windows 7?
@NathanMerrill Only with WSL.
Because they use drawbridge.
so that's part of the "tighter windows integration"
Does X work with the non-WSL way?
@quartata ? look at the screenshot
X performance is higher and compatibility is "complete".
@NathanMerrill Sure, but I don't need it. One can just use lxtask or htop etc. to view the linux processes. Though the framework alwsl uses on Windows version without hypervisor support (Win 7, Vista) shows the processes in Task Manager, too.
I meant when you're using the hypervisor. I'm guessing you need a custom WM for it to play nice with Windows windows (pun absolutely intended)
15:01
@quartata The screenshot shows the hypervisor version.
That firefoy window comes from my WSL clone. The WM is always the Windows Desktop, just like in WSL. The X server is Xming, just like in WSL.
Oh. The label said bash for windows which is why I was confused
assumed that was WSL
No, that's Windows 8.1 in the screenshot. WSL is just Windows 10.
In C# I assume if currenthread.managedthreadid changes during execution that I've done something wrong based on msdn.microsoft.com/en-us/library/… correct?
@quartata Imagine my WSL clone is OSv, but for Windows.
No no I get it. I just got something in the screenshot confused
15:07
@mınxomaτ right, I was just curious
@NathanMerrill There is a way around that by using some kind of daemon on the Windows side, but that would mean the kernel has to be in an active state all the time, possibly increasing CPU consumption (by just 1 or 2 %, but still...)
the only reason I could see that being useful is if it also provided integration with something else windows-specific
because simply making it appear in the task manager is pretty useless
An active bash prompt consumes about 10 to 20 MB RAM. The linux kernel adds about 200 to 500 MB to overall system memory consumption (as it runs in Ring0).
So overall, it's pretty clean. And as it's linux, it doesn't leak memory as much as the NT kernel does.
the NT kernel still leaks memory?
Well, it's Windows. So... yes.
15:12
is that unavoidable due to how NT processes work?
Non-server editions of Windows are pretty terrible at emptying working sets.
how much memory are we talking?
Not much, but programs on Windows generally always increase in memory.
The general action for programs with bad memory policy is to call this magical function in the main loop, which removes memory rot.
0
A: Sandbox for Proposed Challenges

Kevin CruijssenLet's do the Wave! Input: A positive integer >= 1 indicating the length of the wave. A second parameter to indicate the type of the wave. Output: We output an ASCII wave. Depending on the type we output a different wave, and the integer indicates the length of the wave. Type of waves: Typ...

0
A: Sandbox for Proposed Challenges

BlackCapCode me a pickup line I am going on a date, and I need a way to determine if my partner share my love for programming. Write me some syntactically valid code that either directly or indirectly suggest that I am interested in her.This might be code that reads somewhat like English, or it might be...

15:29
@GamrCorps @Mego There's a list of languages that are counted as 1 byte per char, but more than just a few languages were missing. I just added Actually and Convex. You might have to refresh the interpreter to get the updated js.
@Dennis - should we really make a list inside the implementation of X?
0
A: Natural Pi #0 - Rock

Jonathan AllanJelly, 20 bytes ȷ²X ḤRÇ€g2/<2S ×6÷ǽ (Extremely slow due to the random function)

we could use randrange
I guess we could overload X instead of how its implemented right now. Pretty much no part of Jelly is optimized for speed right now...
15:42
Would we even need to overload it? Would call = lambda z: random.randrange(1, z + 1) if z else 0 not work the same as now (randrange errors for strings, lists, decimals)?
or would the error be more catastrophic?
@Dennis Oh, I didn't realize that was an option. Could you add V to that list?
Already added with the other two. :)
-1
Q: Sort as many as possible!

Mitchell HumphreyI have recently been interested in sorting algorithms, and have found many different kinds. I recently thought of this challenge; Implement as many sorting algorithms in as few bytes as possible! CHALLENGE Implement as least two sorting algorithms in as few bytes as possible. Along with printin...

16:18
Oh cool. Thanks!
Woo! It took a while, but I'm finally sharing approximately 13.2KB of my hard drive over Storj.
@Dennis It doesn't seem to be working. Still getting two bytes for é
Who here remembers MS-DOS? What about the dreaded Abort, Retry, Ignore?
@PhiNotPi Erm... Why?
@wizzwizz4 because I can
@PhiNotPi Oh.
16:22
@PhiNotPi Massive. I should connect my USB floppy drive.
I'm not actually going to try to make money off of it, but one thing I've learned is that it's not economical right now for anybody to rent their space. The demand just isn't there. (I've allotted 150GB to see what happens, 14 hours later this is what I have.)
Fixed the problem I was having, is there a way to delete my own message?
What message?
Right now I have 3 connected peers and 26 "successful contracts"
successful contracts sounds like a hitman for hire
16:28
@Dennis Retina would also be good.
@Yodle I can delete a message for you if you like.
But I'm not sure why it would be necessary.
Do you mean this message?
1 hour ago, by Yodle
In C# I assume if currenthread.managedthreadid changes during execution that I've done something wrong based on https://msdn.microsoft.com/en-us/library/system.threading.thread.managedthreadid‌​(v=vs.110).aspx correct?
Why do you want it deleted?
2
Q: How many times will a bell tower ring?

Basically Alan TuringIntroduction A bell tower will ring it's bells every hour, n times, with n being the the current hour on a 12 hour clock. For example, a bell will ring 5 times at 5pm, and 10 times at 10am. Task Given two times in a suitable format, output the number of times the bell will ring, inclusive of ...

I figured out what I was doing wrong, figured it didn't need to be in the transcript. Unless it's okay to have it there. I was going to reply to it to say I solved it, but apparently I can't reply to my own messages/
16:34
@DJMcMayhem Aliens Caching. Refreshing should fix that.
You can, but it's hard. Copy the id from the link, then put : before it.
@wizzwizz4 Like this!
Ah okay, thanks!
@MartinEnder I can add it if you want to, but then the byte count will be off is the source code contains characters with code points above 0xFF...
@Dennis yes, but that happens very rarely whereas 2 out of 3 programs contain ¶ and I use other extended ASCII characters as separators or markers quite regularly
OK, adding. I'll think of something better for v2.
16:39
thanks :)
Should be live now.
::placeholder{color:#C0C0C0;opacity:1;}
::-moz-placeholder{color:#C0C0C0;opacity:1;}
::-webkit-input-placeholder{color:#C0C0C0;}
:-ms-input-placeholder{color:#C0C0C0;}
One hundred and sixty-seven bytes to style placeholders... :(
@Dennis typical
Thanks!
@Dennis Can you add pl?
CG is going to need extra special treatment sadly....
You'll have to reverse the hexdump in the frontend
16:50
Huh. My recent polyglot challenge is now my most viewed challenge and my second highest scoring
How do you ping someone who isn't on chat atm? Do you have to be a mod for that?
You should be able to ping someone who has been in in the last 2 weeks
Failing that you need a mod superping
@@<userid>
Yeah, Erik the Golfer isn't showing up...
Meh, wasn't that important anyway
I've seen him in the Jelly room
@quartata Done.
16:56
@Dennis Hey, is it possible to change the repo that Fourier on TIO is linked to?
@BetaDecay Sure.
In the folder python
Gotta go now. I'll add it as soon as I get back.
@Dennis w3.org/TR/css-pseudo-4 is this published officially? or is ::placeholder not a standard yet?
@betseg It should be a standard by now. The other stuff in there is.
However that particular document is not published officially yet...
17:04
::placeholder only works in Firefox 51+, which isn't stable.
::-webkit-placeholder works in chrome
But not in Firefox or Internet Explorer.
@betseg Yes, but that's non-standard.
Ninja'd.
well the standard isnt published, so...
google is experimenting with -webkit-
I'm not sure what we're discussing. I have a working solution. I'm just ranting because it's too long. :P
17:07
0
Q: Rationalise the Denominator

Beta DecayChallenge Given a fraction with a surd (an irrational number) as the denominator, output the rationalised fraction. Rationalising the Denominator To rationalise the denominator, what you have to do is take the fraction and make one which is equal which does not have an irrational number in the...

it will be shorter when css4 is published
17:19
... CSS4 is coming?
...
That's finally registered in my brain.
I can learn new things about CSS! :-)
> There is no CSS Level 4. Independent modules can reach level 4 or beyond, but CSS the language no longer has levels. ("CSS Level 3" as a term is used only to differentiate it from the previous monolithic versions.) --CSS Snapshot 2015
but practically CSS 4 is coming, in the sense that particular CSS modules will independently reach version 4 eventually
@apsillers That would explain a lot.
Different bits of CSS keep updating separately, and I hadn't noticed.
I thought it had got to CSS3.1.0.2.253.something by now! ;-)
Updating my chat profile message with something witty. Brb.
Done.
in particular, CSS Pseudo-Elements Module Level 4 with ::placeholder is a "Working Draft", which means it "generally represents work in progress and a commitment by W3C to pursue work in a particular area. The label 'Working Draft' does not imply consensus within W3C about the document." (@betseg)
17:27
it probably will be shorter when css4 is published
New ASCII-face: .°.
An upside-down person who is very surprised about being upside-down.
oh yeah, I definitely agree; I was just attempting to answer the " is ::placeholder not a standard yet?" question in your earlier message
.-. upside down expressionless face
@wizzwizz4 it can also be me surprised :/
17:32
@Downgoat Can you really make a circular shape with your mouth?
Yes, perspective ftw
I can't, but I don't have a face so don't have a physical mouth. I AM A REAL HUMAN TYPING WITH MY REAL HUMAN HANDS
DEFINITELY NOT A BOT.
im not sure what a wizzwizz is so I can't confirm or deny this
question: does "no annoying bots" mean no bots because they are all annoying or no bots which are annoying
I don't use Reddit. The chat interface kept sending me CAPTCHAs in early Beta, so I only read it (sometimes).
@Downgoat second one i think
@Downgoat No bots to which you can apply the adjective "annoying" (i.e. the second option).
lel
17:36
I think it means that everything that is annoying is also a bot
How do you make a loud beeping noise from the command-line?
It's important; I've only got 10% battery remaining and need to notify the sysadmin.
do you want the noise to be accompanied with a full-screen app with a blue background?
I really don't like emergency shutdowns.
@NathanMerrill I don't mind, so long as programs can still run.
But I assume you're referring to the BSOD, which I don't want.
@wizzwizz4 while true; do echo -e "\a"; done
^G^G^G^G^G!
@betseg Batch: echo ^G.
How do you turn up the volume from command line on Windows?
8%!
:-O
17:39
did any of you play the Incredible machine? it was great because the music was written using beeps from the computer
Shuts down on 5%, so I'll save to disk at 6%.
nircmd.exe setsysvolume 65535 ? superuser.com/questions/42039/…
Internet's v slow on command line, can't download stuff.
7%...
Echoing ^G^G^G^G^G^G^G^G^G^G^G^G
Writing batch script...
Done
6%, shutting down.
not sure if anyone has mentioned this but the two arduinos just merged
starting wizzwizz4 HID
@BaldBantha Yay! Now I can get an dinosaur!
What? The typo "audrino" corrects to "dinosaur"? :-O
Oh, erm... STILL NOT A BOT!
17:52
ive just noticed that r/TOTALLYNOTROBOTS has 65666 subs
@betseg ... Oh. ... I've always thought that the maximum was 65535...
same
reprograms reddit -> plain text converter
@betseg I'm so tempted to unleash an actual bot on there
17:57
@Geobits How does Marky feel about reddit

« first day (2074 days earlier)      last day (3064 days later) »