« first day (1935 days earlier)      last day (2900 days later) » 

3:00 AM
@Maltysen yep
 
now I really have to study for final
wish me luck!
 
@PhiNotPi I got invited, and I don't understand shit ¯\_(ツ)_/¯
 
I need control-T gates to do a quantum Fourier transform, but can't figure out how to make one.
I have a brute-forcer working on it right now.
 
i need overwatch so badly i want to drive to Blizzard HQ and punch whoever decided to support only DirectX instead of just using opengl or mesa in the face
 
3:01 AM
@CᴏɴᴏʀO'Bʀɪᴇɴ opens up new tab
 
@PhiNotPi do you use windows?
 
This is Chrome on Linux right now.
 
@HelkaHomba one above hexation :P
jdUuuuu^NNGNGCG
except its even more than that cuz at each step I'm using the current val of the thing
 
@PhiNotPi ctrl+t displays as a pilcrow
 
I think for the first time in almost 12 years I'm going to have to dual boot
 
3:04 AM
what's that?
 
He kicks someone with both boots
 
@CᴏɴᴏʀO'Bʀɪᴇɴ two OS's at once
or ^^
 
@Maltysen that seems like a bad idea
can you triple boot?
 
nah its cool, especially if you're forced to use windows
@CᴏɴᴏʀO'Bʀɪᴇɴ sure
 
what's the limit?
 
3:06 AM
Normally I would just say screw it but I honestly don't think i can live without Overwatch. I shouldn't have watched any gameplay of it and just stayed in blissful ignorance
 
@quartata wine not working?
 
I like TF2 better >_>
overwatch is such a hype beast
 
@CᴏɴᴏʀO'Bʀɪᴇɴ I have dual-booted linux and windows.
 
@Maltysen So much disdain for windows ._.
It's a perfectly usable OS for the most part
 
3:08 AM
@HelkaHomba not windows in general. windows 7 is cool
 
@Maltysen Apparently Wine is 100% broken with it which is highly unusual
especially for such a low spec game
 
I'd whine more if I didn't have Windows
 
G'night people
 
@CᴏɴᴏʀO'Bʀɪᴇɴ nighty night
 
3:10 AM
@HelkaHomba I don't think I could ever possibly use only Windows.
 
JavaScript async/await implemented in V8 https://chromium.googlesource.com/v8/v8.git/+/d08c0304c5779223d6c468373af4815ec3ccdb84
 
@quartata It's easy when most of what you do can be done in [browser of your choice]
 
Blergh hell no. Maybe I'm just werd but I can't fathom using something like Chrome OS and having to use online code editors and junk
 
You probably do important software development stuff with your OS. Almost all of my golfing could actually be done with Try It Online! and similar online stuff
 
I guess it's pretty natural for me to dislike Windows. I don't want an OS that treats me like an idiot basically. (also seriously no tab completion in cmd how do you people do anything)
 
3:16 AM
I'm never comfortable in anything but a terminal (preferably zsh). I don't understand how people can use web IDEs and remain sane. :P
 
@quartata Important note: I don't actually code mostly online. But considering the fact that Windows has a decent enough ecosystem for code editors, I'm not looking for other OS's just to not be stuck with one OS
 
@Doorknob C9 feels like that new guy everyone says is nice, but then when you're alone he tells you he's gonna get you
 
@Quill I don't mind C9 but that is only because I value the collaborative tools it offers. The editor sucks
 
I'd rather a ole fashioned pull request
But those require people to give a shit about your project ;-;
 
The terminal is also slowwwwwwwwwwww (presumably because it's all server side)
Anyways, I'm still fairly convinced that in 10-20 years Windows will probably start dying out. As tablets advance most "casual" users will turn away from Windows PCs to them, and power users are already starting to turn to OS X/Linux (SO survey said that less than half of SO users use Windows I think)
 
3:34 AM
Because 7 and 10 were considered different
 
wut
 
3:55 AM
@Maltysen lol thats k it happens. Normally though, for me its just my idiot wireless adapter..
 
@quartata Are you sure? That seems unlikely.
(re survey)
 
@Quill do you know express?
 
I found this gem. The quality of these codes is just too good.
 
4:13 AM
@quartata According to the 2016 survey, it's 52% Windows to 26% OS X and 22% Linux.
 
4:28 AM
@Downgoat no, why
 
GUYS I GOT ESMIN TO WORK IN CHROME!!!
YESS!!!
 
Nice
Considering chrome has more coverage than Firefox atm
 
4:52 AM
eh nvm figured it out.
 
Anonymous
@Dennis Could you pull Actually? Thanks in advance :)
 
@PhiNotPi found a solution: [HtHTHTHtHTHTCtHtHTHtHtCHTH]
 
Anonymous
5:30 AM
@Downgoat Oh cool, JS is finally getting around to adding stuff that's been in Python, C++, and Java for years.
 
Anonymous
(3, 5, and 11 years, respectively)
 
 
6:43 AM
> Basically async & await are based of promises.
 
@Downgoat I do
@Mego And C#
@Mego But the thing is, JS is a web language. It was not originally designed for async/await/computation/non-web stuff
 
@MarsUltor JS was designed to be a lightweight scripting language
@Downgoat You tagfed the article with es 2015, but as far ask I know, es7 is the 2016 standard
Great first article btw.
 
Hello people!
wizzwizz4, Further west. Always further west.
303 1 2 7
Gold BADGE!!! so shiny
 
What on earth is RetroComputing and why haven't I joined yet?
 
@phase A site about Retrocomputing, and because people told me off when I talked about it.
 
7:56 AM
@Bálint es2015 isn't accurate, apparently that's when it was defined
@phase It's only been in public beta for a little over a month
 
8:10 AM
Unheap (here) and CSSScripts (here) published my vanilla JS context menu plugin :-)
 
8:31 AM
@CᴏɴᴏʀO'Bʀɪᴇɴ Popping in to answer: if the left tine of a fork is a noun, then it's converted into a verb that always returns that noun.
 
 
1 hour later…
9:44 AM
Hello
@Mego "Yes."
"When I'm finished with flags."
 
Hello
 
 
1 hour later…
10:52 AM
Anyone around?
 
I am around.
Hello.
 
Hi
 
Hi
I've got an exam in an hour. Shudder
 
I have a final control work right now.
 
Electronics AS
'Simple circuits'
it is relatively simple
 
10:57 AM
English, class six.
 
How old is that?
Because I see that as 10/11 years old
 
Somewhere around 13 in Russia.
 
Ok
 
Russia has its own school class system.
 
So does everywhere
I find the american system extremely weird
Why would they split education into so many parts?
 
10:59 AM
So you can have more graduations.
 
Yay
but why
 
The mistaken belief that awards provide motivation?
 
Also, anyone know why
def __repr__(self):
    cls = self.__class__
    string = cls.__name__
    if self.init_args:
        return "llo %s"%(self.init_args)
    return string
would return
TypeError: __repr__ returned non-string (type NoneType)
 
python 3?
 
yeah
 
11:01 AM
but python 2 string formatting - valid but jars my poor brain... :P
 
Ok
how about
        return str(self.init_args)
still dies
(with same error)
 
It shouldn't get past the if if it's None, so maybe it's the final return string
 
It dies on that line though
 
but surely the class has a name
Oh - ignore me then :)
 
Hopefully
self.init_args should be a list of objects - possibly empty
 
11:04 AM
Can you print self.init_args at the point it is assigned?
(as a test)
 
sure
it dies with
    print(args)
TypeError: repr returned non-string (type NoneType)
but its not even in a repr at that point
 
wait
 
More debugging!
 
where is init_args documentation?
 
11:06 AM
I'm setting it to the args init gets
 
Can you print it at that point?
 
which point
where I set it?
 
Yes
 
yeah, print the arguments and self.init_args where you set it
 
Im still getting the error - and now im printing it outside the class
 
11:08 AM
Try commenting out the entire __repr__ definition
 
Oh
 
@zyabin101 Wat no it's only Cheddar atm. Also, it's already abandonware
 
I think Im doing some form of nasty recursion
Where repr is looking at an undefined repr or somthing
 
__repr__ should be implicitly defined already, so if you don't override it you can see if there's a problem, then only proceed to overriding it once you have eliminated any other problem
 
Do you have working code anywhere that you can post?
 
11:11 AM
Ok
by renaming repr to str its not dying that way any more
I think thats because of aforementioned recursion issues
 
But how is it recursing?
If you could get a stacktrace it would be helpful
 
There can be classes of the type im printing in init_args
 
@MarsUltor O_o Why?
 
@zyabin101 Because I realized Jison is way better
 
@MarsUltor Jison?
 
11:13 AM
RUNNING: 'F/++'

[Divide, Add, Add]

Traceback (most recent call last):

File "main.py", line 59, in <module>

stack = ast.run()

File "D:\Python\PYKE\lang_ast.py", line 35, in run

stack = cur_node(args) + stack

File "D:\Python\PYKE\nodes.py", line 56, in __call__

self.add_arg(args)

File "D:\Python\PYKE\nodes.py", line 134, in add_arg

if settings.WARNINGS: print("Missing arg to %r, evaling input."%self)

File "D:\Python\PYKE\nodes.py", line 45, in __repr__

return str(self.init_args)

TypeError: __repr__ returned non-string (type NoneType)
 
JS port of Bison
do a console.log(self) in nodes.py:133
Basically, Jison supports regex tokens, BNF and interpretation IIRC
It's also pretty fast
 
RUNNING: 'F/++'

args []

[Divide, Add, Add]

Traceback (most recent call last):

File "main.py", line 59, in <module>

stack = ast.run()

File "D:\Python\PYKE\lang_ast.py", line 35, in run

stack = cur_node(args) + stack

File "D:\Python\PYKE\nodes.py", line 59, in __call__

self.add_arg(args)

File "D:\Python\PYKE\nodes.py", line 138, in add_arg

if settings.WARNINGS: print("Missing arg to %r, evaling input."%self)

File "D:\Python\PYKE\nodes.py", line 48, in __repr__

return str(self.init_args)
line 133: print("args", args)
(thats line 2 of output)
 
I meant do a print(self), which should call __repr__
 
@MarsUltor Also, why no UGL?
 
RUNNING: 'F/++'

self [Divide, Add, Add]

Traceback (most recent call last):

File "main.py", line 59, in <module>

stack = ast.run()

File "D:\Python\PYKE\lang_ast.py", line 35, in run

stack = cur_node(args) + stack

File "D:\Python\PYKE\nodes.py", line 59, in __call__

self.add_arg(args)

File "D:\Python\PYKE\nodes.py", line 137, in add_arg

print("self", self)

File "D:\Python\PYKE\nodes.py", line 48, in __repr__

return str(self.init_args)

TypeError: __repr__ returned non-string (type NoneType)
 
11:17 AM
@zyabin101 Too lazy to create the grammar
 
Ah.
 
I could probably try doing it in Jison, but not right now
 
brb getting food
 
A Mathematica grammar is still higher priority for me, but I've kinda taken a break from languages/parsing/grammars
weird
Wait, the __repr__ is definitely the problem then
do a print(self.init_args)?
 
in __repr__
?
 
11:21 AM
It looks like it's breaking on the str(self.init_args)
 
RUNNING: 'F/++'
self IA IA []
IA []
IA []
[Divide, Add, Add]
Traceback (most recent call last):
File "main.py", line 59, in <module>
stack = ast.run()
File "D:\Python\PYKE\lang_ast.py", line 35, in run
stack = cur_node(args) + stack
File "D:\Python\PYKE\nodes.py", line 60, in __call__
self.add_arg(args)
File "D:\Python\PYKE\nodes.py", line 138, in add_arg
print("self", self)
File "D:\Python\PYKE\nodes.py", line 47, in __repr__
print("IA",self.init_args)
TypeError: __repr__ returned non-string (type NoneType)
 
Okay
do print(type(self.init_args))
 
(map over type)
RUNNING: 'F/++'

self TYPE [<class 'int'>, <class 'lang_ast.AST'>]

IA TYPE []

IA []

TYPE []

IA []

TYPE []

IA []

[Divide, Add, Add]

Traceback (most recent call last):

File "main.py", line 59, in <module>

stack = ast.run()

File "D:\Python\PYKE\lang_ast.py", line 35, in run

stack = cur_node(args) + stack

File "D:\Python\PYKE\nodes.py", line 61, in __call__

self.add_arg(args)

File "D:\Python\PYKE\nodes.py", line 139, in add_arg

print("self", self)

File "D:\Python\PYKE\nodes.py", line 48, in __repr__
    print("TYPE", list(map(type, self.init_args)))
    print("IA",self.init_args)
 
IDK
Are these local-only changes?
 
yeah
I could post a diff
 
11:29 AM
> phase open sources phase/omgos
Guuuuuys! Time to fork it!
(The project)
 
Got to go! Thanks.
To exam
;(
 
@muddyfish Got: patch does not apply
 
@MarsUltor It is a git patch.
One does not simply apply it.
 
@muddyfish Use pdb
 
11:54 AM
I have a challenge idea
given an URL, find the shortest string that you can enter into google such that that url is the top result
 
0
A: Sandbox for Proposed Challenges

Agawa001Kill the mosketeers Taken a NxN square field, where you are supposed to be on the extreme upper left corner, n mosketeers are waiting an execution instruction that begins with the first leftmost shooter alternatively until the leftmost one, in a continuous unceasable order, meanwhile, between an...

 
Question: should I write a blog post about the Apple Watch or about generated property keys in ES6?
 
@Quill generated property keys?
@Downgoat What were/are you using express for?
 
12:09 PM
@Quill Both! :P
 
@MarsUltor yeah, they're a new feature that doesn't have much use or exposure, as far as I've seen
 
@Quill What are those?
var obj = {[1+1]:2}?
 
Yeah, like that
 
Wait wat hardly anyone knows about that?
 
Now put Symbol.toPrimitive inside the square brackets and have the value be function(){console.log(arguments); return ""}
You can change an object type's toPrimitive and iterable functions via generated property keys
 
12:19 PM
You can also put normal symbols in as well
 
Meaning you can change how Objects, Arrays and value wrapper types interact
I'm working on trying to overload wrapper types atm
 
The Symbol page has a lot more defined Symbols
 
12:35 PM
I might write one on generated property keys then
 
@Quill And on the Apple Watch! :D :P
 
Really helpful when you have a function returning an object literal and want to save space - instead of object[key] = value; return object; you can assign it directly
 
Wait, there's already one.
Quill you heard nothing >_>
 
Yeah, Jekyll generates me blog feeds :3
 
@Quill Jekyll generates RSS feeds?
 
12:42 PM
yeah
 
How? :/
 
@zyabin101 It just does?
Probably commits
 
---
layout: null
---
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>{{ site.title | xml_escape }}</title>
    <description>{{ site.description | xml_escape }}</description>
    <link>{{ site.url }}{{ site.baseurl }}/</link>
    <atom:link href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}" rel="self" type="application/rss+xml"/>
    <pubDate>{{ site.time | date_to_rfc822 }}</pubDate>
    <lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate>
 
What's that, Jinja? nunjucks?
 
Jekyll is literally just a build tool that uses YAML formatting to generate static files
 
12:44 PM
Or the Ruby equivalent?
 
@MarsUltor ^^ >_>
It's YAML formatting.
 
No, that's jinja syntax
why does everything use jinja syntax?
 
My mistake
That's Liquid
 
It uses YML for the config
 
1:01 PM
@VTCAKAVSMoACE I sent that joke to Dad :D :P
I can't wait what he will do with it :D
@CᴏɴᴏʀO'Bʀɪᴇɴ What does the following code on your main GitHub page do?
(function(S){E=s=>[].concat.apply([],[x="x",_=[Q=[]&&[]&&[...
(T=u=this,j=(k,...s)=>(s[0]?s.pop():!k+[])[`${k[0]||k}`],B=u[
("b"||"n")+j(0)+"o"+j(1)])(x)],a=Q[-!x]][x&!x][2^x|-~x],p=[Y=
3,Y*3].map((E,I,X)=>X[g="slice"](0,++I).map(a[c="constructor"
]).reduce((x,y)=>x+y)).map(n=>[,z=`${E}`][-~E][n]),u.k=`;v=0`
,(U=u[a+u.k[2>>1]+j`1`+j`2${`${!1}`}`])&&(u.o=u.k[~~x]),U`w=`
+z[g](0,Y)+`(${x}`,(n=p[g]())&&p.splice(1,0,u.k[1])&&p,_+x,p,
U("|"|"|"||"\"||\""),0,',',x,p,`%=${3<<7>>3>>2>>3<<4<<4})`,o,
[,...s].map(e=>["while("+x+(P=p.join``)+"){","r","}",PP="++",
 
orders pizza, hopefully
 
1:29 PM
user image
4
 
But that's only 1 Data
 
I'm building a blog for zyabinVI. Already live, setting up now.
 
@zyabin101 o gad
 
@AlexA. Ah, OK. Still lower than one might expect
 
1:42 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ I made it in three single steps using Jekyll Now.
It's an easier way to do a blog.
Not that doing a blog using your scripts is not easy, just wanted you to know.
 
@Zgarb Oh, I had no idea. That could be pretty convenient
 
phase just open sources phase/music-server! Fork this repo to d***h!
 
What?
 
@quartata phase made public phase/music-server, a personal music server. Either his private period ended, or he just wanted to be less shy.
@quartata askseriously.tk didn't propagate in two days, as you said. >_>
 
2:08 PM
It hasn't been the full 48 hours yet wait longer
 
@quartata So, I have to wait a few days?
@_@
It will take even longer for that!
 
I did a propagation check and none of the US servers have your NS record yet
 
This is 100 percent a scam as explained by multiple other posters, but it does open a way to make money. Reward money posted by law enforcement and victimized banks. I suggest you try to collect, making an appointment with the relevant authorities. — Andrew Lazarus May 13 at 15:05
 
@Mego Pulled.
 
(the ones that it checked that is)
@EᴀsᴛᴇʀʟʏIʀᴋ heh
 
@mınxomaτ I think I may have implemented a 3-qubit quantum fourier transform, but I don't know what the results are supposed to look like.
 
@El'endiaStarman I thought it was gonna be a link to the Microsoft homepage
 
2:38 PM
0
Q: Compress your code in an image

BálintThis is a quine variation. Introduction We all write short code, because some obscure reasons, but whatever we do, the'll take up at least 144 pixels/byte (with a 12px font). But what would happen, if we would encode our code in images? This is your task today. Challenge You task is to read i...

 
^ Playing a rock with another rock. Seriously.
 

« first day (1935 days earlier)      last day (2900 days later) »