« first day (1904 days earlier)      last day (2931 days later) » 

5:00 AM
@orlp Because it's easier to talk about things you can convince yourself you have no control over. If car accidents got that much coverage, we'd have to actually do something about it, and nobody wants that.
 
There's a really convenient official neovim library that allows you to embed a hidden neovim instance into the python script and send keystrokes and vim commands to that.
 
@orlp To make money / get votes. It's the same reason the media fabricate a worldwide scare every time a new virus is found. The "swine flu" didn't kill nearly as many people as the "regular flu" did in the same year, yet the former somehow was a pandemic.
 
@kennyluo that looks like a bug to me. I'll investigate.
 
@QPaysTaxes And that's old too. My father's birth predates McCarthy's paper on Lisp in 1958. How about you?
 
@QPaysTaxes That would be pretty cool. Really, I just need to get the basics down first.
 
5:01 AM
That's not quite what I said either :P
 
It's also a great scare tactic. If you keep people scared of terrorism, it's easy to pass laws that would otherwise die.
 
Just, why this degree of media attention to terrorism vs. why discuss 9/11 at all when the whole world is full bigger causes of death
 
Do you know vim? That would help.
 
Umm, my dad was born before there was a polio vaccine. Do I win?
@QPaysTaxes No, so I guess I'm automatically a winner :P
 
The first feature I'm trying to implement is a shorter way to repeat arbitrary keystrokes in less keystrokes.
 
5:04 AM
@QPaysTaxes Well, I mentioned the Lisp paper because that's relevant to me. My dad always preferred working with computers to programming for programming's sake like I do, so he probably doesn't know about that paper
 
So for example, in vim you would do `qqfoobarqn@q`
In *V* that would be `nñfoobarñ`
 
Neither do I :P
 
@Geobits Effective or ineffective?
 
I'll have to look at the history of computers and computer engineering to see what he predates
 
@orlp Because it's scary. People have always responded more strongly to things that are scary (this makes perfect sense when you consider our evolutionary history). The media is primarily about scary or otherwise bad things because that's what gets people watching. Terrorism fits this perfectly.
 
5:08 AM
 
I've got it. Transistors predate my dad but he predates integrated circuits by mere months
 
@QPaysTaxes It's a beautiful platypus
 
Where's cyoce when you need him?
 
A few messages up
My great grandparents lived in Tatarstan but fled the Bolshevik Revolution and ended up in Japan, where my grandpa was born.
 
And squarely between the first FORTRAN compiler and the Lisp paper :D
 
5:13 AM
I'm only like 8% paying attention to the conversation so I don't know if what I said was relevant
 
I, on the other hand, was born just months after Javascript and PHP
What a legacy :P
 
My grampa too was a soldier in WWI, and he fought for the Americans. Battle of the Bulge, I think.
My other grandfather was in the Navy during peacetime. :P
 
My paternal grandfather was a child during WWII, and my maternal grandfather was a child during the Indonesian War of Independence (1945-1949)
 
O(GOD NO)
 
@Sherlock9 From which country did Indonesia gain independence?
 
5:17 AM
^^
 
And I predate Palm Pilots and iMacs
@AlexA. The Netherlands
 
Anonymous
@AlexA. Sure thing. First I'd have to find a reason to add a package manager
 
We were a Dutch colony from about 1620 or so to (we say 1945, the UN recognized us in 1949)
Let me tell you the story of my people :D
 
Interesting, wouldn't have guessed Dutch
What other countries are former Dutch colonies?
 
1600. The Indonesian islands are a hodgepodge of cultures (as they continue to be today). From the outside world, we've received Hinduism (big in Bali), Buddhism (big among some of the Chinese Indonesian population) and Islam (just big, 80% majority)
 
5:19 AM
@El'endiaStarman are people really scared of terrorists?
I don't know anyone that is
 
@QPaysTaxes YES :D
This story involves Portugal, Britain and the Netherlands
It's fun, Q. Hush
 
from my (limited) sample size of people I've talked to, anyone who is really riled up about terrorists is usually motivated by xenophobia rather than fear of terrorist attacks
 
@orlp I know very few people who are Trump supporters (could count 'em on one hand), and yet, he's winning the Republican primaries.
 
1600, Britain snoops around what becomes Malaysia, Portugal finds the real prize: the spice islands in eastern Indonesia
1620, the Dutch East India Company (VOC) kicks out the Portuguese (helped by the turmoil of Portugal joining with Spain at the time IIRC) and off of the spice islands, the VOC becomes the single largest corporation in history
 
Anonymous
 
5:23 AM
Owning an entire nation and its vast resources will do that
 
@QPaysTaxes are you insinuating I'm sympathizing with terrorists?
 
Alright, alright. I'll skip quickly. The monarchy decides this is too much, takes over the colony, loses it to the British in the Napoleonic Wars, Sir Thomas Stamford Raffles, known for helping Singapore, actually spends more time in Indonesia as Governor of Java, colony returns to the monarchy of the Netherlands, the Netherlands quenches a lot of thoughts of independence but not all until...
1942. The Japanese take over
 
Anonymous
@QPaysTaxes I'm suggesting that continuing to give a history lesson in a non-History.SE chatroom when at least one person has said "please no" is probably not on-topic
 
Anonymous
I'm being general here, with the "at least one"
 
I'm about halfway done. Should I stop?
 
5:28 AM
It's not bothering me any. The only other conversation going on atm is terrorism which I could be done reading about. :P
 
I can continue this on Discord
 
Anonymous
I'd rather have conversations actually relating to PPCG (though I don't have any to offer up)
 
Anonymous
Perhaps we could chat about GCJ Round 1A, since it ended 2 hours ago
 
@Mego Yeah, but there's no rule against this. People do this all the time.
 
block literals work in Babble but they can't be nested because my code doesn't like me
it's on github
 
5:29 AM
Alright. I'll run through things quickly then
 
BLK...END
Mine's just recursive; parse calls parse_literal_block which calls parse
 
The view of the Japanese is conflicted. They weren't nicer than the Dutch, but they did allow us to organize for independence. We did on 17 August 1945. The Dutch didn't like it, but caved in with the rest of the world in late 1949. President Soekarno was a good orator, but a poor economist. Coup in 1965. President Soeharto rules with an iron and very, very corrupt fist
 
(I for one appreciate the summary of history.)
 
no, it never hits a BLK because it doesn't read anything
only parse reads things
yes
and now I see the problem
parse_literal_block doesn't consume the END which means a single END ends all blocks -_-
 
5:35 AM
1997 Asian financial crisis. Indonesia is hit the hardest. Soeharto is overthrown and string of presidents run. The first president I am eligible to vote for (and was glad to elect) is the incumbent, Joko Widodo or "Jokowi"
 
blocks now nest \o/
 
Corruption is still rampant, especially in parliament, local government and the public school system, but things are great. Side note: we were once the biggest market for Blackberry phones. Then RIM built their SEA office in Malaysia, the former British colony. That and a lot of other things led to the death of Blackberry in Indonesia
 
Hi
Whenever I give input which has 3 or more duplicates (e.g. {1, 2, 1, 3, 1}), my unknown sort goes into an infinite loop
Any hints?
 
As for Malaysia and Singapore, that's another story, but suffice it to say, we like Singapore fine, but Indonesia and Malaysia are like Yankees and Red Sox. And tensions with China over the gigantic South China Sea debacle are mounting, but mostly meh. It's all good
Thank you all and good day
 
@QPaysTaxes There is no code
 
5:38 AM
@JesterTran Is this for "Sort an integer list"?
 
@QPaysTaxes Given unknown sorting code, deduce the sorting algorithm
no access to code btw
 
@JesterTran o/
 
@QPaysTaxes what's the complexity of best case scenario for (oblivious bubble sort)? O(n^2)
 
Someone pleez tri github.com/schas002/.modules/blob/master/aliases/.ganything. I need it reviewed ;_;
 
@Sherlock9 Fascinating.
 
5:40 AM
I did a few tests with best case scenario and deduced the complexity to be O(nlog(n))
@QPaysTaxes options are vanilla quick sort, quick sort of median three, randomised quick sort, shell sort with powers of 2, sehll sort sedgewick
forgot to mention that the algorithm is unstable
 
@EasterlyIrk what is your YWOT username?
 
Ok, I'm gonna think about why
@QPaysTaxes it says O(nlog_2 n) on wiki
 
What python debugger for linux do you recommend?
 
@DrGreenEggsandHamDJ I recommend print
 
Anonymous
print, assert, and unittest are all great
 
5:44 AM
-__-
 
Anonymous
@Doorknob Thanks for reminding me that I have stuff to work on for Seriously v2
 
@QPaysTaxes oh thanks
that's good, I can eliminate the shell sorts :D
 
Welp, should have posted it at nighttime.
 
@El'endiaStarman Thanks :D
 
@DrGreenEggsandHamDJ python doesn't have a built-in debugger?
 
5:47 AM
Python does have a debugger, in fact. pdb
 
@QPaysTaxes With randomised quicksort is just a better version (with respect to worst case) of vanilla quick sort, right?
 
Anonymous
@El'endiaStarman But nobody uses it :P
 
@QPaysTaxes ok, np
 
@Mego I actually used it last week! First and so far only time. :P
I use print, mostly...
 
Anonymous
5:48 AM
I unexpectedly used it while compiling pypy. Something broke and it launched pdb+
 
Anonymous
@QPaysTaxes elf
 
Anonymous
Ninja-elf'd
 
@QPaysTaxes eli
 
@Mego * elf'd
 
5:52 AM
@QPaysTaxes BTW, thanks for giving me a kick in the pants and making me start working on V again. I've been meaning to for a while, but never gotten around to it.
By offering to help.
 
2
A: Sandbox for Proposed Challenges

apsillersParse a binary string into the largest sorted list code-golf Given a binary sequence, separate the bits into little-endian binary values such that the series of values is sorted in strictly ascending order. That is, given a binary sequence like... 11011100101 ...separate the sequence into b...

 
And I went "Uh, I have almost no progress."
 
Defeat me :)
@QPaysTaxes ?
@QPaysTaxes I see xd
 
@QPaysTaxes I made a mistake, best case scenario as complexity O(n) lol, just letting you know for reference
 
6:14 AM
I just feel very bad for that cat.
 
@Dennis would you mind pulling Convex when you have a chance? Just updated it.
 
Pulled.
 
Holy crap that was fast. Thanks!
 
6:29 AM
@Dennis defeat me xd
 
Is it normal for an internship recruiter to not contact you back after you guys did a phone interview 2 weeks ago?
They said they will contact me after they do some filtering of the applicants in the next week
 
Does someone here use Rails?
 
@JesterTran My experience is that it's normal for people to drop contact with you.
 
@QPaysTaxes Well, do you?
 
@QPaysTaxes I'm planning on emailing them if a month has passed
 
6:41 AM
@QPaysTaxes Good! Try out .train, please. I need it reviewed.
 
nigking
 
o/
@QPaysTaxes It is a dotfile containing aliases for most used Rails server management commands.
 
Rails looks really similar to Shell
 
@zyabin101 yeah, not doing it
 
@AlexA. Spent way too long on this. codereview.stackexchange.com/questions/125814/…
 
6:49 AM
@Sp3000 This is legendary
 
@Sp3000 nice work!
 
Anonymous
@Dennis Can Actually get a page on TIO (separate from Seriously)?
 
Anonymous
6:56 AM
I probably should have waited to see if CI passed before making the release but whatevs
 
That's the same repo, yes?
 
Anonymous
The only thing left in my to-do list is the transpiler, so the core language itself is done (minus adding more commands and libraries)
 
Anonymous
@Dennis Yep, branch v2
 
Anonymous
There's no need to run the source code through iconv since Actually understands UTF-8, so setting this up should be much easier than Seriously :P
 
> Python 3 port
ಠ_ಠ
I can't run Python 2 and 3.
I also can't run p.
 
6:59 AM
@Mego Easier than copying the Seriously wrapper? :P
 
Is there someone who uses Git from the command line?
 
Anonymous
Ok fair point :P
 
I'm getting a very weird error...
 
stdbuf: failed to run command '/opt/Actually/seriously.py': No such file or directory
@_@
 
Anonymous
@QPaysTaxes Uhh what?
 
Anonymous
@Dennis Thanks! Looks good!
 
\o/ \o/ \o/
 
For whatever reason, using a symlink instead of a wrapper script gave that error...
 
Anonymous
 
Anonymous
That should print out 3 (maximum value of input list)
 
7:18 AM
That doesn't work directly either.
$ python /opt/Actually/seriously.py -c M <<< '[1,3,2,-5]'
$
 
Anonymous
which python
 
Anonymous
Also the M should be 'M'
 
Anonymous
$ python3 seriously.py -c 'M' <<< '[1,3,2,-5]'
3
 
It's the Python 2.7 executable in /usr/bin. The quotes won't make a difference.
 
Anonymous
It should be Python 3, that's why
 
7:20 AM
Oh! You didn't change the shebang. Python 2 is still be default on my box.
 
Anonymous
$ head -n 1 seriously.py
#!/usr/bin/python3
 
>.<
 
Anonymous
That's actually not quite right (not sure what I was drinking while writing that), but close enough
 
@QPaysTaxes bai
@Mego nice name for seriously v2.0
 
@Mego Um, I feel like I still have Seriously...
The shebang says something else, and Python 3 gives errors.
 
7:25 AM
@Mego give the license a .txt extension so it doesn't try to open in terminal.
 
@Mego read my pull request.
@Mego @Dennis I think Actually would be cool. Unfortunately, actually.tryitonline.net/#code=IlNlcmlvdXNseSI&debug=on gives just the wrong answer.
  File "/opt/Actually/seriously.py", line 97
    print "while loop code: %s"%inner
                              ^
SyntaxError: Missing parentheses in call to 'print'
 
Anonymous
@Dennis git checkout v2
 
python 2 is objectively better, no use python3
 
Anonymous
@EasterlyIrk That's standard for OSS projects
 
hm
TIL
 
7:29 AM
@Mego I did that, by I somehow messed that branch up. Deleted everything and pulled again. Where do I get pyshoco?
 
Anonymous
@Dennis pip3 install pyshoco
 
Anonymous
Or better yet, pip3 install -r requirements.txt
 
Right, I did the same for Python 2...
It's actually working!
 
Anonymous
Hooray!
 
@Mego nice work on pyshoco, you created it yourself?
 
Anonymous
7:40 AM
@EasterlyIrk I didn't create shoco, but I created the Python wrapper
 
also, it doesn't work....
 
Anonymous
I added more snippets:
 
Anonymous
14
A: Showcase your language one vote at a time

MegoSeriously/Actually Length 14 snippet 1WX╚;;S=YWX♂.X This snippet sorts the input list using bogosort and prints out each value in ascending order, separated by newlines. Cool things in this snippet: Implicit input: because there are no input commands (,, ○, ♀, or ╩) in the code, Actually r...

 
@Mego seriously file extension, by convention?
 
Anonymous
@EasterlyIrk .srs, though there is no enforcement
 
7:42 AM
hello all
 
Anonymous
@EasterlyIrk What doesn't work?
 
wtf am i doing up at 12:40am
 
Anonymous
Casual
 
@Mego gimme a mo pasting errors
 
Anonymous
7:42 AM
It's 2:42 am here
 
Anonymous
If it's something about shoco not wanting to compile on Windows, that's a shoco problem, not a pyshoco problem
 
nope
mac
 
@Mego So Actually is .act? Uhh...
 
Anonymous
Actually it's a Windows problem because Microsoft won't freaking add full support for C99 to MSVC
 
Or is it .srsx?
 
7:43 AM
MacBook-Pro:~ rikerw$ pip3 install pyshoco
Requirement already satisfied (use --upgrade to upgrade): pyshoco in /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages
MacBook-Pro:~ rikerw$ python seriously/seriously.py
Traceback (most recent call last):
  File "seriously/seriously.py", line 11, in <module>
    import SeriouslyCommands
  File "/Users/WachtlerMacBook/seriously/SeriouslyCommands.py", line 12, in <module>
    import pyshoco
ImportError: No module named pyshoco
@Mego errors
 
Or is it .actually?
 
Anonymous
@EasterlyIrk pip3 install -r requirements.txt
 
I should make a straw poll.
 
@Mego still errors
 
Anonymous
What's the version on pyshoco?
 
7:45 AM
MacBook-Pro:~ rikerw$ pip3 install -r seriously/requirements.txt
Requirement already satisfied (use --upgrade to upgrade): pyshoco>=1.3.4 in /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages (from -r seriously/requirements.txt (line 1))
MacBook-Pro:~ rikerw$ python seriously/seriously.py
Traceback (most recent call last):
  File "seriously/seriously.py", line 11, in <module>
    import SeriouslyCommands
  File "/Users/WachtlerMacBook/seriously/SeriouslyCommands.py", line 12, in <module>
@Mego found the error
python on my mac runs python2
python3 works
 
Maybe enter pip3 install --upgrade pyshoco?
 
already tried that, but it didn't work. ^^ did tho
 
Anonymous
@EasterlyIrk That's why we have shebangs :)
 
:(
python ignores them?
 
Anonymous
Were you not paying attention earlier when Dennis had literally the exact same problem? :P
 
Anonymous
Yeah but bash doesn't - bash seriously.py or ./seriously.py
 
Anonymous
@zyabin101 Why is this a thing
 
@Mego I'm not sure what is the convention.
 
sees captcha nopes the fuck out of there
 
Anonymous
Why does there need to be a convention?
 
7:48 AM
idk
 
Anonymous
Do whatever man
 
Anonymous
The file extension could not be less important
 
^ nope.
It could.
If it were choose a file extension or eat avocad, it would be less important.
 
Anonymous
Real OSes use shebangs and MIME types to determine what type a file is, not arbitrary extensions
 
7:53 AM
@Mego what does ಠ do in seriously?
 
Anonymous
@EasterlyIrk It doesn't. It's not in CP437.
 
awww
 
@Mego Do you speak Pyth?
 
@KennyLau "I speak Actually"
 
@zyabin101 What's the difference between Seriously and Actually?
I guess it's the new version
 
7:57 AM
@KennyLau Yup.
 
Anonymous
@KennyLau A little
 
Anonymous
The difference between Seriously and Actually is 1
 
@Mego Is stack-based really better than, you know, the traditional ones?
 

« first day (1904 days earlier)      last day (2931 days later) »