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

9:00 AM
mN is not handled ;(
 
...
 
Do you think you could help me with something?
 
@wizzwizz4 With what?
 
@zyabin101 I have a question with 7k views. I would like to get it up to 10k views. Any suggestions as to how I would go about doing that?
 
9:05 AM
@zyabin101 I have no idea why you would even try that
 
@Sp3000 shrug
 
@zyabin101 I should probably ask Downgoat, considering codegolf.stackexchange.com/questions/71631/upgoat-or-downgoat
 
@wizzwizz4 Standard way: make share URLs. Use your social networks.
 
@zyabin101 What if I don't have one because I'd rather keep my exclusive copyright to license my intellectual property however I want?
 
@wizzwizz4 Uhh...
 
@_@
Today I discovered guthub.com
It magically fixes the typo.
 
@zyabin101 But it's a DNS-level redirect :(
 
REPL.output.write("\n\x1B[" + t + "A\x1B[0J");
found this in some SO code...
 
9:23 AM
@Quill Linky winky?
 
4
A: Fixed position command prompt in Node.js

Hors SujetSee https://asciinema.org/a/10583, is console record. This script has display problems when prompt has several lines (more 4), or if prompt is middle screen and have several lines. process.stdout.write("\x1Bc"); var readline = require('readline'), util = require('util'); var rl = readli...

Hello again from the terminal!
 
@Quill \o/ SE chat client for terminal works!
Again! \o/
 
I fixed three bugs at once!
@EᴀsᴛᴇʀʟʏIʀᴋ commit & fix incoming :D
 
9:41 AM
Guys, TAC (The Acronym Chat) is dead. :(

 TAC (The Acronym Chat)

SAHAAH (Sometimes Acronym-Hot, Always Acronym-Heavy). Every me...
 
9:53 AM
lol no more TAC
 
Wait
 
IT WENT TIC TAC
 
why is there no golfing chat
 
there is
 
@Quill How would I go about accessing this console version of chat?
 
9:54 AM
As in a chat where you try to golf your messages
 
@MarsUltor oh
I'm about to commit a crucial bug fix
 
Yayyyyy
I want to go fully text-only in one of my OSes, so this'll help
 
> I'm about to commit a crucial bug - Quill 2016
6
@VTCAKAVSMoACE So you have Lynx already?
and Vim/any terminal chat editor
 
@MarsUltor I have linux already, as well as node and nano.
 
@VTCAKAVSMoACE D: no Lynx
 
9:58 AM
Whaddat?
 
Text web browser
Lynx is a highly configurable text-based web browser for use on cursor-addressable character cell terminals. As of 2015, it is the oldest web browser currently in general use and development, having started in 1992. == History == Lynx was a product of the Distributed Computing Group within Academic Computing Services of the University of Kansas, and was initially developed in 1992 by a team of students at the university (Lou Montulli, Michael Grobe and Charles Rezac) as a hypertext browser used solely to distribute campus information as part of a Campus-Wide Information Server and for browsing...
 
Huh.
Fancy.
 
^ Lynx-optimized websites
Basically you should be able to use it for most things where pictures/videos are not needed
 
10:12 AM
@VTCAKAVSMoACE I should make an API helper for Stack Exchange.
2
Because I want to keep API keys secret, the API helper has to be primed with an API key.
It's optional, but with it you can do the full 10000 API calls per day. :)
 
10:25 AM
@MarsUltor well it used to work... and then I committed to master...
@EᴀsᴛᴇʀʟʏIʀᴋ the fix is active :D
grab the newest branch and you should be good to go-go-gadget
 
@Quill Password storing in .bash_profile is not secure. Can you make this input through STDIN?
 
STDIN goes to bash_history anyway though
 
@Quill STDIN does not go to bash_history if you use read or equivalent.
 
hmmm okay
 
@MarsUltor how can I register a placeholder Stack App?
 
10:37 AM
@VTCAKAVSMoACE If you want to open an issue for it, I'll take a crack at it
 
@Quill Opened.
vtc:~ vtcakavsmoace$ read PASSWD
password
vtc:~ vtcakavsmoace$ echo $PASSWD
password
vtc:~ vtcakavsmoace$ history
  ...
  502  read PASSWD
  503  echo $PASSWD
  504  history
(some lines of history have been removed for concision's sake)
 
@MarsUltor It asks for an OAuth Domain.
So apparently, I can't register command line Stack Apps. (co) Epic fail...
How to make Stack API work with cURL?
Does it require any additional setup?
$ curl api.stackexchange.com/2.2/sites | jq .
parse error: Invalid numeric literal at line 1, column 42


zyabin101@avista MINGW32 /E/jq
$ # ?!?!
$ curl api.stackexchange.com/2.2/sites | xxd
00000000: 1f8b 0800 0000 0000 0400 d55c 6b8f a338  ...........\k..8
00000010: 16fd 2b28 2bcd a774 1521 0448 ad46 bbe9  ..+(+..t.!.H.F..
00000020: aad4 6c8f b635 b3aa e97d 68b5 8a5c c149  ..l..5...}h..\.I
00000030: 5005 c800 a9ea da56 fff7 b936 24bc 6c83  P......V...6$.l.
What is this format that I don't know of? >:|
 
kitty wants to play
 
anyone familiar with J? What does x (M D D) y get evaluated as?
does x (f g h) y equal (x f y) g (x h y)?
 
10:50 AM
@Mars ^^^^^ D:
 
@VTCAKAVSMoACE is PASSWD a file?
I don't understand that...
 
0
Q: Better way to read multiple int in C than scanf

BusyBeingDeliciousI'm trying to read 4 ints in a golfing challenge and I'm bothered by the length of the code that I need to solve it: scanf("%d%d%d%d",&w,&x,&y,&z) that's 29 chars, which is huge considering that my total code size is 101 chars. I can rid of the first int since I don't really need it, so I get ...

 
11:08 AM
@zyabin101 it's an API... like a normal API
 
@Quill Okay.
So I ping /sites via cURL, then pipe it to jq so it could format the JSON it would return.
But instead:
parse error: Invalid numeric literal at line 1, column 42
 
print the output instead and see what it returns
 
It fills the terminal with garbish.
This also includes grids. Grids everywhere.
(Grids are how the Git shell renders unknown characters using the APL font. I'm so used to the APL font.)
So the solution is to check the xxd output.
It outputs a long hex dump, the first few lines of which are:
00000000: 1f8b 0800 0000 0000 0400 d55c 6b8f a338  ...........\k..8
00000010: 16fd 2b28 2bcd a774 1521 0448 ad46 bbe9  ..+(+..t.!.H.F..
00000020: aad4 6c8f b635 b3aa e97d 68b5 8a5c c149  ..l..5...}h..\.I
00000030: 5005 c800 a9ea da56 fff7 b936 24bc 6c83  P......V...6$.l.
I don't know how to parse this garbish. >:|
It does not resemble JSON in any way! What gives?
@Quill ^
 
idk never used curl before
 
Usage: curl [options...] <url>
There are lots of options, enter curl --help to see them all.
$ curl example.com
<!doctype html>
<html>
<head>
    <title>Example Domain</title>

    <meta charset="utf-8" />
    <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <style type="text/css">
    body {
        background-color: #f0f0f2;
        margin: 0;
        padding: 0;
        font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;

    }
    div {
        width: 600px;
 
11:18 AM
@zyabin101 It's gzip-compressed.
 
@LegionMammal978 \/
$ curl api.stackexchange.com/2.2/sites | gunzip --to-stdout | jq .
{
  "items": [
    {
      "aliases": [
        "http://www.stackoverflow.com",
        "http://facebook.stackoverflow.com"
      ],
      "styling": {
        "tag_background_color": "#E0EAF1",
        "tag_foreground_color": "#3E6D8E",
        "link_color": "#0077CC"
      },
      "related_sites": [
        {
          "relation": "meta",
          "api_site_parameter": "meta.stackoverflow",
          "site_url": "http://meta.stackoverflow.com",
\o/ \o/ \o/ \o/ \o/ IT WORKS!
 
@zyabin101 See? I've worked with the API before.
 
@zyabin101 Also:
(if jq will install)
$ curl --compressed api.stackexchange.com/2.2/sites 2>&- | jq . | head
{
  "quota_remaining": 289,
  "quota_max": 300,
  "has_more": true,
  "items": [
    {
      "site_type": "main_site",
      "name": "Stack Overflow",
      "logo_url": "http://cdn.sstatic.net/Sites/stackoverflow/img/logo.png",
      "api_site_parameter": "stackoverflow",
@zyabin101 All you need is the --compressed flag ;)
 
in Tavern on the Meta on Meta Stack Exchange Chat, 43 secs ago, by Quill
how long does someone have to not talk in chat before they become unpingable?
 
11:28 AM
@Quill IDK, >5 minutes?
 
no, the user names disappear from the prompt when you go to ping them
 
@Quill Really? @ MartinBüttner still brings up the prompt (with his user)
 
yeah, and he posted here a day ago
 
@Quill IDK, maybe ask in Meta?
With tag .
 
11:43 AM
It's like 5 days/a week minimum IIRC
> Note that you can only mention @someone who has been in the room at some point
The FAQ is not helpful at all
 
We just need a volunteer to test it
They don't have to stay out of TNB for a week - you could use another chatroom like maybe the sandbox
 
@trichoplax I'm not.
We're voting for whether to make explanations optional in The Acronym Chat but, the end is nigh! Vote quick!

 TAC (The Acronym Chat)

SAHAAH (Sometimes Acronym-Hot, Always Acronym-Heavy). Every me...
 
@trichoplax it's fine, I already got one somewhere else :p
 
$.get('https://chat.stackexchange.com/rooms/pingable/240', data => console.log(new Date(data.reduce((p, c) => Math.min(p, c[3]), Infinity) * 1000)));
Converted to date, it's Thu Nov 19 2015 13:52:52 GMT+1000 (AEST)
 
@LegionMammal978 I'm fine with the sandbox having crazy posts in it - just glad I don't have to be there trying to read what's going on before it scrolls rapidly away :)
 
11:52 AM
@MarsUltor CORS doesn't like HTTPS ;)
unless your current page is on https
 
@Quill Yeah, I was testing on this page
Looks like 6 months though
 
12:12 PM
The TAC proposal is not passed! That was my dream!
 
12:56 PM
Hey there VTC
 
Ohai
I sent you a link on one of your newer issues.
 
ooooh
 
It might be a little big for this, but hey, it works.
 
1:15 PM
@Quill PASSWD is a variable I saved with read.
(I didn't get that ping for some reason, sorry)
 
Yeah, I figured it out
I added it to the current sprint, so I'll get it done soon
 
@Quill You have sprints?
I thought they were milestones.
 
GitHub has milestones, they're the same thing
 
Also, it's a cool Mexican guitar cactus over there in the Sandbox.
 
1:27 PM
hwat
 
@VTCAKAVSMoACE This Mexican guitar cactus, hdat!
And because some people want to see it at a glance:
 
1:50 PM
Are people actually having conversations in the chat sandbox
 
@quartata Some do with people, some do with bots.
And some bots do with bots.
 
I suppose it depends on the definition of "conversation"
 
I was testing oneboxing to markdown conversion for my chat in terminal program
 
@Quill Ah.
 
 
1:57 PM
@QPaysTaxes oh nice
 
Smallcaps in terminal o_O
 
uhhhhhhhhhhhhhhhhhh
oh
 
@Quill Now try with a Russian name.
 
It doesn't look half bad
@Dennis Okay, thanks
 
A Russian name for a room may be found here:
 
1:59 PM
hmm, that totally broke my magical oneboxing powers
[240: The Nineteenth Byte] zyabin101: [](undefined)
 
@DrGreenEggsandHamDJ Yes, I am 15 :3 surprised?
 
A Russian name for a user may be found here:
 
you're 0/2.
:p
 
@Quill try all kinds of one boxes possible, in succession.
But please do it in the Sandbox.
 
I'm fixing the roomlist command atm
@zyabin101 of course ;p
 
2:04 PM
why not here ? :p not a lot of people on rn
oh, nvm
>_>
 
 
wtf
 
I can't tell if that's real or something else
 
@CᴏɴᴏʀO'Bʀɪᴇɴ It is not real, this is just a illusion created by a rectangular grid of colourful squares.
 
@flawr colorful lights bruh
 
2:19 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ Aren't they square?
 
mine are hexagons
(jk)
 
Anyone here know how I can trigger repo X to rebuild when Y's build succeeds (Travis)?
 
none whatsoever. I'm just memorizing small commands
 
You could get an api token and have the after_success in Y push some sort of dummy commit
 
@mınxomaτ yes
 
2:24 PM
Make sure to use the travis gem to put the token as an encrypted environment variable
@Quill oh?
 
I have the same thing apply with my tests module
 
Dummy commit doesn't seem very elegant.
 
there's a postscript option in the .travis.yml
after_success: echo whatever
 
Yea I suppose you could figure out how to automate clicking the restart button but a dummy commit seems easier
 
2:28 PM
Though, officially, Travis says this in response to dependent builds: "we have no immediate plans to add this feature."
@quartata I really don't like to mess with my commit log. I like the open-close a dummy PR approach.
 
Oh, I didn't see that. That's better.
although does that force a build on master or on the branch you're pulling from?
 
It's the branch that is concerned by the PR.
 
Right but which branch? If you want to merge master and asdf, will it build maser or asdf?
I assume master but
 
Yes, master. I consider a dummy PR from brach:patch to branch.
 
2:34 PM
@Quill though wtf were you and vtc doing all morning/whatever the last 4 hours were.
 
All right.
 
@EᴀsᴛᴇʀʟʏIʀᴋ I did a lot of work on it
 
What's this for, by the way?
 
@Quill well thanks!
 
brb installing
@CᴏɴᴏʀO'Bʀɪᴇɴ BAI
 
@EᴀsᴛᴇʀʟʏIʀᴋ it has some new commands too :)
 
@quartata I have a base repo that provides functionality. If updated, I want all other repos that use that code to rebuild (they fetch from the base repo).
 
I still need to add a juic command...
@EᴀsᴛᴇʀʟʏIʀᴋ I refactored the input type, and I added a roomlist, pingable and clear command
oh, I might've broke it already
 
2:50 PM
Good news. The new windows 10 build arrived. Bash now doesn't run in root mode anymore, you can now create unix accounts.
 
@mınxomaτ :O So I can have unlimited Unix accounts per just one Windows account!
 
Yes.
 
:D
How can I crawl a part of the chat transcript?
 
What do you mean "crawl"?
 
Well, take a part of the chat transcript, get the parsed messages' HTML and put it in a text file.
 
2:58 PM
Like wget -qO- chat.stackexchange.com/transcript/240/6-9 | <something>? (240 is the day, 6-9 is the timeframe)
 
@mınxomaτ Yes, something like that.
But I need only the parsed messages, without metadata.
 
@mınxomaτ 240 is the room id
 
lynx has some HTML parsing built-ins. Or you could (but shouldn't) use RegEx. So grep on unix or findstr on windows.
@quartata Yes, right.
 
Hi!
 
1/10 very lazy solution
 
3:07 PM
@mınxomaτ It fails.
 
Where?
 
Regex101 has a very small time limit of two seconds per computation.
The regex does not match in two seconds.
Regex101 interrupts it. :(
 
Then test it locally
 
Works for me.
 
Where could I obtain PCRE regex?
 
3:09 PM
PHP, AutoIt, Perl etc.
 
import re
 
AutoIt can parse HTML and has a built-in for getting text out of HTML bodies btw.
 
@quartata It uses Python's own flavour of regex IIRC.
 
RegEx is not going to work for stranger edge-cases.
 
@zyabin101 ...which is basically pcre
You really should just be using beautifulsoup though
 
3:14 PM
@zyabin101 Give me 5 min, I make you a proof of concept.
 
@mınxomaτ sshh let him figure out the joys of parsing html with regex on his own
it is a journey all programmers must experience (insert zalgo)
 
@KennyLau Space in MATL is used as a separator, so leading spaces can be safely removed
 
@LuisMendo Alright
 
@quartata I'll put it under his pillow.
 
But really, HTML is context-free don't use regex use a parser like beautifulsoup
 
3:20 PM
0
Q: Tips for golfing in Erlang

PythonBOTThis is NoOneIsHere's chatbot. This bot needs 20 rep for chatting privileges Does anybody have tips for golfing in Erlang? I'm looking for specific things that can be applied to Erlang, not any language. I know we already have tips for Elixir, but that is different.

 
@NewMainPosts Good luck getting 20 rep to chat!
(Addressed to PythonBOT, can't contact him directly)
2/5 later and he has 20 rep to chat :)
(2 q-upvotes / 5 edits)
 
3:39 PM
@zyabin101 I'm finished. This actually parses the HTML properly. Source, and a sample output. :-)
 
@mınxomaτ I use AutoHotkey. :(
 
Well, your fault.
 
\o/ \o/ \o/ 21 rep!
Welcome PythonBOT into chat!
...
 
@KennyLau _ÆRfÆR.ị
 
@Dennis What does . do?
 
3:43 PM
@DrGreenEggsandHamDJ Jelly is pretty much in the same state.
@KennyLau . is a shorthand for .5, which yields 0.5.
By using floats, you can select elements at the two nearest indices.
 
What the....
(sorry for language)
 
@quartata I got it. Trigger a build by abusing the web API: curl -s -X POST -H "Content-Type: application/json" -H "Accept: application/json" -H "Authorization: token XXXXXXXXXXX" "https://api.travis-ci.org/builds/YYYYYYYYYYYYYYY/restart" (X = your token, Y = build number)
 
@mınxomaτ abuse eleven
 
Use grep to get the last build number.
 
3:58 PM
I'm going to make an "ask Seriously anything" site.
It will actually be a redirect to a page where you can put your question in the following code:
Say "I agree" if <insert question here>.
I should also add instructions.
@quartata waffles
How should I word these instructions?
 
1
Q: Contaminated Squares

AdnanIntroduction Let's observe the following square, consisting only of the digits 0 - 9: 1034 4167 8414 3542 The outer shell of this square is: 1034 4 7 8 4 3542 It contains zeros, so we need to peel off the outer shell, leaving: 16 41 The outer shell of this square is: 16 41 It does ...

 
Base your version on: seriously.tryitonline.net/…
 
@Dennis o_O when did you add that?
 
Are these instructions okay? If not, why?
 
in Jelly, Feb 7 at 22:42, by Dennis
xị<list> now floors and ceils and, if they're different, retrieves the items at both indices.
 
4:07 PM
@Dennis We still have "Y" as a NOP right?
 
@Dennis This seems like a perfect example of something that's very useful in golfing languages and probably shouldn't ever be implemented in non-golfing languages. :P
 
@Dennis won't you mind if I made a *.tk domain to redirect to a Try it online! page?
 
@KennyLau I think so.
@zyabin101 Go ahead.
 
Okay. I won't lose a minute!
 
@Dennis Any plan?
 
4:13 PM
Not right now.
 
@EᴀsᴛᴇʀʟʏIʀᴋ monring
@Dennis ^
Uhh, it needs a few minutes or hours until the domain is up! XP
 
give the ip
 
@Optimizer Lemme check...
 
@zyabin101 Not found?
 
4:27 PM
@flawr Uhh, it doesn't seem to be up XP
I actually registered the domain at Dot TK, and it still doesn't respond.
The 5 months registration period isn't up, I configured forwarding correctly, I even tried the HTTP 301 redirect mode - and it doesn't respond.
@Optimizer Not found.
 
0
A: Sandbox for Proposed Challenges

gcampbellOutput infinity without referencing it directly Task: create a program/function which outputs/returns infinity, but without directly using your language's built in constant for infinity. For instance, in JavaScript, you can't just return Infinity. This is a popularity contest to see who can com...

 
@Quill you can't speak using SE Chat terminal.
Asks for a domain but not message.
And when typing the message says invalid command
 
ಠ_ಠ
The domain still doesn't work.
 
You have to wait
Domains do not propagate that fast
 
4:42 PM
@quartata How much does it typically take for Dot TK/Freenom domains?
 
Probably 1-2 days
 
@_@
 
lol
makes sense
@quartata you just crushed his dreams.
 
Uhh?
 
I think he wanted to show this off, but now he can't for a while. :P
 
> KAUDERWELSCH?
 
gibberish
 
> MUMBO-JUMBO GIBBERISH ETC
 
> AS;KLASD;KASDFIOWREK;V
 
Is the similarity of welsch to Welsh on purpose? :P
 
4:48 PM
Feb 8 at 2:07, by Alex A.
@El'endiaStarman as;klasd;kasdfiowrek;v
 
@El'endiaStarman Nope, quite unrelated
*Walhaz (ᚹᚨᛚᚺᚨᛉ) is a reconstructed Proto-Germanic word, meaning "foreigner", "stranger", "Roman", "Romance-speaker", or "Celtic-speaker". The term was used by the ancient Germanic peoples to describe inhabitants of the former Western Roman Empire, who were largely romanised and spoke Latin or Celtic languages. The adjectival form is attested in Old Norse valskr, meaning "French", Old High German walhisk, meaning "Romance", Modern German welsch, used in Switzerland and South Tyrol for Romance-speakers, Dutch Waals "Walloon", Old English welisċ, wælisċ, wilisċ, meaning "Romano-British", and Modern...
 
That girl looks like she needs some sleep
 
@Fatalize She probably does, as she has a little kid.
But she does make some fun (some less fun) videos about german vs english.
 
She looks like Itachi from Naruto at this point
 
Whatever this might be
 
I was watching an episode of Fringe the other day that took place in Germany. Every single actor and even voice over was an American trying to speak German. Apart from partly wrong translations, the thick american accent was hilarious. I mean, it can't be that hard to find an actual German in the US...
 
Ät liist wi ar weri guud ät spiiking inglisch.
 
Why not just use "ie" ;-)
Dät wudd mäk it soh matsch bätter :P
 
@mınxomaτ Nine times out of ten, somebody asks me "What did he say?". I have no frickin' clue.
 
5:14 PM
@mınxomaτ So much batter!
:P
@RenderSettings I just now noticed you there.
Hai o/
 
TIL hel.io redirects to the BBC news site.
I wonder why?
@zyabin101 >_> he always appears and never responds.
@CᴏɴᴏʀO'Bʀɪᴇɴ HAI
 
@EᴀsᴛᴇʀʟʏIʀᴋ He did.
20h ago.
@CᴏɴᴏʀO'Bʀɪᴇɴ HAI
 
@LevelRiverSt Considering it's not far from a finished solution, I'm amazed how short the code is - my ungolfed python is several pages...
 
5:31 PM
Made me forget the humidity for a moment. Worth 5 bucks. https://t.co/lRvEoZ31mF
 
0
Q: Harvest energy in Screeps

CrazyPythonScreeps is an MMO where you program creeps. Energy is used to do things in Screeps. There are energy sources which are harvested by creeps. We haven't had a challenge about Screeps before, so I thought I'd make one! Your job: Write some code to tell one or more creeps to harvest the nearest ene...

 
5:52 PM
@trichoplax Hi Trichoplax, I'm hopeless at using this Chat. I assume the above comment refers to my answer to your sierpinski knot question
 
Yes it does - sorry I should have mentioned that...
 
the algorithm I use is tiny. It took me a while to pick it though. The hardest thing was drawing the fragments, actually, especially in svg as the arcs aren't defined by their centres.
what algorithm did you use?
 
I was thinking of golfing down my reference implementation so I can post it to show the approach. It might take me a while though. My approach uses Iterated Function Systems to place the centres of the arcs
 
@LevelRiverSt As impressive as your partial attempt is, I thought I'd let you know that technically we have a policy against partial answers: meta.codegolf.stackexchange.com/a/7450/8478 (also meta.codegolf.stackexchange.com/q/7987/8478). I'd prefer if you deleted the post while you're still working on it and undelete it once it completely solves the challenge.
 

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