« first day (2011 days earlier)      last day (2824 days later) » 

3:00 PM
@MartinEnder First ever to reach 100k! Congrats!
 
@veganaiZe the first line is input(), which is basic python. Many would consider commenting what input() does to be poor programming
@Dennis you're fine :)
 
n = input("Original value = ")
print
n += 1 << 16
while (n >> 16) <= (n & 0xFFFF):
        print"Current step =", n >> 16
        n += 1 << 16
print
print"Final value =", (n >> 16) - 1
 
In an actual answer, you'd be expected to explain how to use the program
 
then the output is Original value = _
 
@TùxCräftîñg Please stop pasting those big snipepts.
 
3:00 PM
and you can type a number
@veganaiZe
 
@TùxCräftîñg pls link to a gist instead, the snippets take up a lot of space
 
> snipepts
 
@MᴀʀsUʟᴛᴏʀ Don't you understand it?
 
@Dennis we haven't reached a consensus on whether are on-topic. Are things on-topic unless otherwise deemed, or vice versa?
 
3:02 PM
@flawr ???
 
@NathanMerrill We have the consensus that challenges need objective winning criterions.
 
ah, so the post was trying to make an exception to the general rule of objective winning criterion
 
basically
 
so, they're still offtopic :/
 
and this challenge is insanely simple
everyone that know basic bit operations can solve it
 
3:06 PM
@NathanMerrill Programming puzzles are in a weird spot. Our official rules regarding objective winning criteria has at least as much weight as the (small) difference in votes between xnor's and trichoplax's answer, and they get closed by the community without exception.
 
@Dennis usually because of other problems though. This wasn't closed
 
In 2013, almost nothing got closed.
 
@Dennis There's also the part where they're the first two words of this community's name.
 
@Dennis fair enough :)
 
@MartinEnder Yeah, that.
 
3:08 PM
lol, the "PP" has to count for at least 20 votes, right?
 
@MartinEnder I don't think the guys really had xnor's definition in mind.
 
@aditsu @LuisMendo @ANerd-I @RohanJhunjhunwala @zyabin101 @TùxCräftîñg @DerpfacePython thanks for the congratulations :)
 
@MartinEnder No problem! :D
 
@flawr and still this community can't make up its mind to change it meta.codegolf.stackexchange.com/q/5759/8478
 
3:10 PM
"Also, nochange.stackexchange.com has a nice ring to it" lol
 
@NathanMerrill Well, that did get closed. Twice. It just got reopened twice as well.
 
ah. (Is that from memory, or can you see something I can't?)
 
ah, cool, didn't know closes got into the edit history
woah, we have an automatic tweeter?
 
@MartinEnder Congratulations for a well deserved 100k in rep!
 
3:13 PM
does anybody here follow it?
 
thanks :)
 
@MartinEnder What are you talking about? CJam & Pyth Exchange clearly has the most votes... ;-)
 
maybe we'll get a brand new name with the new design.
 
@TimmyD I think we'd need to add a lot of other languages as well=)
 
@TimmyD Should be Jelly Exchange nowadays, but too late to update my comment
 
3:16 PM
@NathanMerrill well not if the community doesn't want it. and I also think if we do want to change that should probably happen before (or in conjunction with) the design. afterwards it's only going to be harder.
 
"Hey devs, you want to redo our background with the new name?"
lets just hope they didn't tile PPCG as the background
 
@Dennis Hey, could you teach me how to use TryItOnline? I'd like to port it.
 
;) ... it would probably not be a lot of effort, but once we have a design the name is becoming more of a brand than it is now
 
Yes?
 
whoops. :P Sorry
 
3:18 PM
Not sure I follow.
 
anyways, isn't 36 to 26 a pretty good consensus
I mean, there's a 10 point difference there
 
@Dennis I'm not quite sure how I would alter it in order to use it on my end - for example, what are the required packages that I would need to run it, what webserver does it need to run, etc.
 
@NathanMerrill the status quo is probably easily biased though especially if there are no universally convincing alternatives
plus, that's already a year old again.
 
SourceForge is partially dead :(
 
@zyabin101 SF is always down
 
3:20 PM
@NathanMerrill thats about 20%, 40-60
 
and now that we've graduated we should probably really think about whether we want the community's name as boring (and misleading) as "Programming Puzzles & Code Golf" once everything else is shiny
 
why it try to infinitely refresh ಠ_ಠ
 
@MartinEnder perhaps we split it into two parts ("Do we want a new name","What is our new name")
the problem is that there are going to say "It depends on the new name"
 
#SourceForge is experiencing issues. The ops team is investigating.
@TùxCräftîñg Why exactly?
 
@VTCAKAVSMoACE I'm using Apache, but every webserver you're comfortable with should work.
 
3:21 PM
@NathanMerrill Like New Zealand did with their flag?
 
@zyabin101 ¯\_(ツ)_/¯
 
@betseg sure? I have no idea :(
 
@Dennis Oh. No extra necessary packages or anything?
 
I'm guessing you follow CGPGrey?
 
@NathanMerrill like everyone
 
3:23 PM
@NathanMerrill yeah i do, but I didn't think of him when i wrote that
 
ah, well, he's the guy I always think of when I hear "flag"
 
@VTCAKAVSMoACE IIRC I had to install realpath, but other than that, just the interpreters. The backend is written in Bash, so no need for PHP or anything.
 
@NathanMerrill I either think of Eddie Izzard, Red vs Blue, or Roman Mars
 
@Dennis you wrote a server in Bash?
 
@Dennis \o/ Coolio.
 
3:25 PM
@Dennis you wrote a webserver in bash ಠ_ಠ
 
I have changed distros and removed the Tiny Core VMs.
 
New Zealanders voted for which flag to replace the current one, then voted if they really wanted a change, which turned out, they didn't. I'm afraid that might happen with PPCG.
 
@NathanMerrill Why is everyone so surprised about this? It's write this code to a file and execute it with that interpreter. That's a shell script if I've ever seen one.
 
@Dennis servers are black magic to me, so doing it with Bash is even more black magic IMO
 
89
Q: A simple TCP server

Hannes KarppilaWrite a program or function that listens for incoming TCP traffic on port N. It offers a simple service: it calculates sum of IP address fields of incoming connection and returns. Program or function reads integer N from arguments or stdin. It listens to incoming TCP connections on port N. When ...

 
3:29 PM
@NathanMerrill The heavy lifting is done by Apache. The Bash script just reads the POST request from STDIN and writes the generated HTML to STDOUT. Nothing fancy.
 
@Dennis what does the output of Apache look like?
 
The POST request?
 
@zyabin101 which distro now?
 
lol .. security request ticket just came in and in the "Which folders does this user need access to?" box, the submitter put in "yes"
 
3:35 PM
@NathanMerrill code=<percent-encoded code>&input=<percent-encoded input>&args=<percent-encoded args>[&debug=on]
 
@betseg Going to install SliTaz.
 
@Dennis huh. I didn't think it would encoded so nicely
Java 8 question. Stream.generate(provider).limit(50).forEach(ranker::scoreGame) for some reason, isn't calling provider.get() or scoreGame() at all
any of you guys know streams?
 
3:50 PM
SliTaz supports Russian :D
 
@NathanMerrill huh java
 
bah, my SSCE works
 
This time, there's a GUI for partitioning.
 
oh, that was stupid of me
I was generating the games, and scoring them, but not actually running them
 
But setting up partitions is two transactions: one, create the partitions /dev/hda1 for SliTaz and /dev/hda2 for swap.
Two, raise the boot flag on /dev/hda1.
And there's a web site to control the VM.
Which hostname should I choose for the VM?
slitaz is too generic.
 
3:59 PM
zyabin101s-slitaz
 
I don't want my name in the hostname. :/
 
so hostname
 
Note that the VM is on VirtualBox.
@TùxCräftîñg Is too generic. :/
 
slitaz-vbox?
 
slitaz-VirtualBox! Nice name!
How should I call the user?
Maybe tux :3
 
4:04 PM
IF Y U DO DIS...
 
What should I call the user? :3
 
¯\_(ツ)_/¯ zyabin or zyabin101
 
Nope, I don't want my name for the user.
 
notroot?
 
@TùxCräftîñg Hehe.
I chose ceres!
 
4:11 PM
name your user user, thats something you can't do on windows
 
why not notroot ;_;
 
@betseg I already chose. :(
 
> **Resolution**
> To resolve the issue, do not create a user account contains the string "user" on the computer.
 
WOOHOO.
Документация means Documentation.
As in, documentation for SliTaz.
 
DokymeHTayNR amirite
 
4:15 PM
@betseg Nope.
See ^^^^^.
 
@betseg You have to be kidding me.
 
@betseg It's for Windows 8.1.
 
windows 10 is affected?
 
you can't be sure without trying :D
 
> Applies to Windows 8.1, Windows 8.1 Enterprise, Windows 8.1 Pro, Windows 8.1 with Bing
 
4:18 PM
And I thought my code had weird bugs.
 
> Windows 8.1 with Bing
wat
 
Weird bugs exist all over the place. Heh.
That's a pretty amusing one, though.
Kinda like the joke that goes "'Doctor, it hurts when I do this.' 'Then don't do that.'"
 
HALP I NEED CMDLINE PARTITIONER D:
 
The bug is bad enough, but the proposed fix? Ugh.
 
huh nvm found
now installing slitaz
on a vm
-_-
installed \o/
 
4:26 PM
Why do you need a command line partition editor for installing SliTaz?
 
because i have no brainfucking idea on how to use GParted
 
There's a GUI one in SliTaz itself.
 
@Dennis Meh. This one has as a fix to "keep moving your mouse."
 
@TùxCräftîñg To initialize a partition table, Device ==> Create Partition Table...
 
ik
2 mins ago, by TùxCräftîñg
huh nvm found
 
4:28 PM
> If you move your mouse pointer continuously while the data is being returned to Microsoft Excel, the query may not fail. Do not stop moving the mouse until all the data has been returned to Microsoft Excel.
WHAT?
 
\o/
@Dennis Microsoft logic ¯\_(ツ)_/¯
 
Microsoft.
 
Reminds me of this.
 
i love the title text
 
Or my favorite Microsoft joke of all time.
 
4:31 PM
tuxcrafting@myvm:~$ vim
-sh: vim: not found
;_;
 
Q: How many Microsoft engineers does it take to change a light bulb?
A: None. They just update the software documentation to call darkness the new standard.
 
@TùxCräftîñg does it have vi at least?
 
idk checking
yes it have
 
@TimmyD Solution: Wait 12 hours.
3
 
4:35 PM
@Dennis Simpler than 7-8-8.1-10.
 
I did a re-install because SliTaz have become dumb.
 
vi or vim come by default with most distros, while nano doesn't. I'll never figure out why.
 
¯\_(ツ)_/¯ because vi/vim is more used
 
@Dennis The people who use these distros have neckbeards
 
@Dennis wat? pretty sure nano comes by default with ubuntu
 
4:36 PM
@MartinEnder Congratulations on 100k!
 
but the most frequent scenario is how the f*** i get out of this ಠ_ಠ
 
@TùxCräftîñg ???
 
with vi/vim
 
@TùxCräftîñg :!killall vim
 
@TùxCräftîñg :wq or :x
 
4:37 PM
@betseg :q is the ommand to exit
 
But if you never used vim or nano, it's more likely that you'll be able to figure out how the latter works.
 
@TùxCräftîñg To quit vi/vim, press Ctrl-C in normal mode.
 
@TùxCräftîñg i...was...making a joke
 
its why I use nano. Things are more expectable
 
ik i am using vim -_-
 
4:38 PM
Then vi/vim will troll you.
 
@Dennis yeah, nano has the most common commands at the bottom of the window, the closest vim has would probably be vimtutor
 
@zyabin101 it says Press :q right? I'm on mobile i can't try
 
@MᴀʀsUʟᴛᴏʀ In the desktop version, sure. I had many fresh server installs that didn't have nano though.
 
yes it says Press :quit<Enter> to exit
 
@Dennis Would it be unreasonable to ask for this answer to be made CW by a mod so that I can continue it? The user is inactive, and has been for 18 months. The post has enough upvotes for significant progress in the showcase of the language, and I'd like to add some, since I use VB.net on a regular basis. A user suggested that CW would be better than creating another answer, in order to maintain the existing upvotes.
 
4:40 PM
1. Execute crontab -e. 2. vim launches. 3. Can't edit. Or exit. 4. Stuck.
 
5. Reboot
 
Escape+meta+shift+kontrol+alt
 
@NathanMerrill I prefer pico. It's smaller.
:P
 
@TùxCräftîñg 6. Realize you can't reboot.
 
with the power button -_-
 
4:41 PM
7. Plug power out of computer.
 
8. Realize you are on a laptop
 
Plug out the battery
 
9. ???
10. Profit!
 
@mbomb007 Not yet.
@El'endiaStarman Have fun with that: SE employees can't be suspended. XD
 
9. Spill coke on the laptop
 
4:45 PM
10. RIP
11. Answer code-golf challenges on phone
 
@mbomb007 I think we should ask him first. I'll consult the other mods too.
 
12. Realize the snippets only work on phone
 
You
13. Drop phone in a sea of coke
 
TechRax did it
I think
 
4:46 PM
@betseg link :3
 
You
Yes, it's me. MUAHAHAHA!!!
 
Oh dear, what did I start?
 
Hello @You!
 
You
Hello, @zyabin101
 
I followed steps 9-12. No profit yet.
 
You
4:47 PM
Try step 13.
I'll fill my swimming pool with coke for you. :)
 
after @You should drink all the coke.
 
You
I don't like soda. :(
 
:(
i just dont drink coke
 
soda means mineral water in my langüagə
 
what language?
 
You
4:50 PM
ソダ?
 
(look like czesch (no idea on how to write it))
 
Turkish
 
You
Cool.
 
Ə is a letter from Azerbaijani btw
Not turkish
 
4:50 PM
> Azerbaijani
this name is way too long
 
You
@TùxCräftîñg I like it long.
 
Plz no
 
You
@betseg That's not what I meant. :|
 
Oh
 
You
@TùxCräftîñg WHICH SLASH DO I USE??? :P
Never mind...
 
4:52 PM
@you are evil
 
Forwardslash is actually leaning backwards, and vice versa
 
You
@TùxCräftîñg Evil is a slave unto itself, for pure evil be eval.
I am eval.
 
AHHHH CYRILIC
 
You
@betseg This (/) is forward slash, right?
 
4:54 PM
For those who still don't know what Документация means: it means Documentation.
 
@You <s>leaning</s>going
 
@betseg ---444---
 
Btw yes
 
You
Ok.
I feel accomplished now. :)
 
forward slash goes from forward to backwards, backslash goes from back to forwards...
 
You
4:58 PM
@betseg That should be pinned for future reference. :)
 
So, a few messages ago, I made a screenshot of my new panel!
@You But, we can only star it.
 
You
I see...
 
It's like Windows 7.
 
@You actually i saw that somewhere, wasnt my idea. I saw it, and i was like whoaa
 
The host system.
We see...
 
You
4:59 PM
@betseg Still should be pinned.
@zyabin101 Ouch. (Oh, You sees him.)
 

« first day (2011 days earlier)      last day (2824 days later) »