« first day (1483 days earlier)      last day (3365 days later) » 

12:00 AM
When I started my degree here I found that the maths taught here in A-Levels was actually beyond what I had learned during my BSc (which wasn't exactly maths-heavy, but their A-Level standard is definitely well above the Abitur when it comes to maths)
 
12:11 AM
@MartinBüttner Indeed. My view may be skewed as I attended a Leistungskurs in both mathematics and computer science, the former on a higher level than an ordinary Leistungskurs (thus, gaining the privilege of not having to attend certain entry-level math classes in university).
@TheBestOne The most important thing is that homeschooling cannot replace the social exposure you get at schools.
For some people, school is the only place they get exposure to “ordinary” society.
This is a huge problem with immigrants.
 
@FUZxxl 50% of the kids at the local highschool do drugs.
 
@TheBestOne Again; the situation is different in Germany. We don't have that much of a drug problem.
 
I also go to church. If I wanted to, I could join in sports and clubs at public school.
 
We many school-organized activities. Students usually join clubs elsewhere.
 
My friend is a fellow highschooler (age 17-18). Do you think Python 3 is a decent "real programming language a beginner can handle"?
BTW, I learned Perl as my first programming language. I don't know what "normal" is.
 
12:17 AM
The problem is that quite a few parents try to shield their children from the world outside. We have children who don't speak German before they go to school because they never get out of their family. It's important to force these children to interact with other children from outside of their parents sphere of influence.
Mandantory public schooling is a very good way to achieve this.
It probably helps having a funding system for schools that isn't as brain-dead as the US system.
 
Python 3 sounds good - Python 2 was my first "real" language (because I don't think Actionscript counts :P)
 
@PhiNotPi Much more so than Java. I recommend www.codecademy.com for some good beginning courses.
 
I think a functional language is good for beginners.
or better, a declarative language.
Like Haskell.
Because people don't have to learn how a computer computes in the beginning.
They have to start with “how do I write down what I want to have?,” which is much more important.
 
@FUZxxl If the parents are doing it right, parents should be allowed to teach their children.
 
@TheBestOne How do you qualify “are doing it right?” You could mandate that the parents have a degree in pedagogics and in all the subjects the student needs to learn. Oh right, that would take about 20 years to study.
I don't think a parent can reach the same level of knowledge than the ~30 teachers a student encounters during his time in school.
 
12:25 AM
@FUZxxl A mandatory yearly assessment of all students' knowledge.
 
I think a huge part of the reason for mandantory school attendance in Germany is the different policy pertaining children. In Germany the well-being of the child is the first priority. Everything else, including belief and intent of the parents, is less important.
 
For example, I've had two teachers in the past with PhDs (and not in "education"). They knew a lot about their subject.
 
@TheBestOne That could be done, but that doesn't fix the problem that some parents would try to indoctrinate their children. We had that problem before (parents teaching their children religiously-biased things).
 
If religion teaches a child to be successful, what is wrong with it?
 
@TheBestOne It often doesn't. There's a large problem in Germany with some fringe groups which try to bind their children to them by religion and other means. There's a lot of crime involved in that.
Mandantory public eduction makes this problem less severe, although it's not a silver bullet.
 
12:30 AM
The problems occur when the parents actually disagree with the public school material (rather than simply how it's taught or at what speed).
 
E.g. there are entire communities of muslims which exist outside of normal law and society. They have their own judges and language. Much (organized) crime and abuse happens there. If the children are never forced to interact with the world outside of their community, they will have a hard time getting out of that environment.
@PhiNotPi That, too. But as said before, that's only a minor reason. The major reason is that public schooling forces children to interact with children outside of the community of their parents.
 
Is there a Python 3 IDE good for a complete beginner?
 
@PhiNotPi I'm not sure.
 
When I first learned Perl, I used the Windows Command Prompt.
 
The command line interpreter should be enough.
I think giving a beginner an IDE is a very bad thing.
An IDE hides many things and makes the user believe what he sees is magic.
 
12:40 AM
That's how I first learned Java :)
 
People who learned to code using an IDE tend to know less about how the building process and project structure works.
A teletypewriter and modem access to a mainframe should be enough to learn C.
 
A good text editor with syntax highlighting is alright to start with though (I think)
 
@PhiNotPi Python comes with IDLE by default, which you can run scripts with F5 (or equivalent)
 
@TheBestOne Good idea.
 
It also has a REPL and syntax highlighting and whatnot
 
12:41 AM
Maybe Notepad++ if on Windows, nano or g/kedit on Unix.
 
Maybe Geeny?
 
or that
 
Notepad++ is probably okay.
(pretty sure this particular person uses Windows)
 
Many beginners do.
It's fun to tell people that they should really use a Unix-like when they want to learn C. Learning C on Windows is a real pain in the ass and leads to programmers who know jack shit about portability.
 
Please don't swear :)
 
12:45 AM
(I moderate /r/C_Programming on reddit)
Sorry. I'm not used to censoring anything. There isn't that much of a stigma against swear words where I'm from.
 
I was given a new computer for Christmas. Still haven't switched it to Ubuntu yet :)
 
:-)
 
I'm on a Windows 8.1. Seems okay so far, I guess... sometimes.
 
Let me suggest you to use Cinnamon Mate instead.
Much more usable and less crap.
 
I used to have a Vista.
 
12:50 AM
Pshh, what's all this talk about silly IDEs? Everyone knows Vim is the best editor.
 
Ubuntu isn't a good system anymore.
@Doorknob indeed. I prefer to use ed for vi does not provide meaningful expansion over that.
 
Why use Vim when you can use Vi? It's one char shorter.
 
I used Linux Mint(OS) before I got this computer.
 
@FUZxxl Why isn't it?
 
@Doorknob Because vim is a bloated vi which is a slow ex which is an ed with meaningless expansions.
 
12:52 AM
@PhiNotPi Muscle memory, mostly. vi is symlinked to vim on my computer anyway. :P
 
Being able to type commands that are longer than a character is overrated.
 
@FUZxxl I was responding to
1 min ago, by FUZxxl
Ubuntu isn't a good system anymore.
(hover over my message)
 
After all, ed is the standard Unix text editor.
I see.
Ubuntu used to be good but they good caught in the torrent of NIH. Also, they had this Amazon-lense disaster which was one too many red flag for me.
 
@FUZxxl Editors are overrated. Real programmers use butterflies.
 
@Doorknob Indeed. For your age you know a lot of memes. Let's hope nobody switches back to magic…
 
12:54 AM
I carve the program's binary into my hard drive.
 
Ugh, don't get into circuitry.
 
@PhiNotPi Philistine! Everybody knows that you aren't a real programmer until you pass the rite of wiring your own core-memory and pre-loading a kernel on it.
 
You might as well build a computer from spare car parts.
 
This reminds me of a video I saw where somebody tried to build a toaster from scratch.
 
hehe
that guy had zero skill.
negative skill, possibly.
 
12:58 AM
@PhiNotPi I had a cat named Scratch. I am now imagining a toaster being made out of him.
 
It was a pretty bad toaster.
 
o.O
 
Its actually pretty simple to make one :)
 
¯\(°_o)/¯
 
Take stick. Poke bread. Hold over fire.
 
12:59 AM
This is my dog. instagram.com/oskusius
Much dog. Such flauschig.
 
I have a cat. He is a cat. He does cat things.
 
Indeed.
 
As soon as I install Ubuntu(or some other distro) I will get a cat.
 
hehe.
cat comes preinstalled with all Unix and Linux systems.
 
I know :)
How many? :D
 
1:06 AM
uh… I think at least Solaris has two (a POSIX cat and a GNU cat)
because GNU cat sadly violates POSIX.
(not POSIX, but XSI which is a stricter variant of POSIX)
 
1:19 AM
My laptop audio has been acting up recently.
I'm going to try to update the audio driver.
 
Thanks Poettering!
 
There's like a staticy crackling sound that keeps happening, which occurs no matter the source of the audio (Youtube video or a program on the computer) or the speakers I use (built in or headphones).
 
weird
might be a hardware issue
 
The sound acts normally, crackles for like half a second, and keeps playing.
restarting my computer now. brb
 
Ha, "restarting." That's funny.
:P
 
1:26 AM
you can restart audio drivers without restarting everything
 
Now to see if anything changed.
And I broke all audio. JK LOL Windows, now fix it,
It works!
Life = complete
 
class PhiNotPi extends Human{
    boolean lifeComplete;
    Computer computer;
    void fixComputer(){
        computer.restart();
        lifeComplete = true;
    }
}
 
1:56 AM
> NullPointerException on line 5: "computer"
 
class PhiNotPi extends Human{
    boolean lifeComplete;
    Computer computer = new Computer("Windows 8").update();
    void fixComputer(){
        computer.restart();
        lifeComplete = true;
    }
}
 
I need to write an argumentative paper about CS
 
Anything CS related? Rip off one of our meta discussions about what is a function/program/language :P
 
I can't think of topics that are debated, as much of CS is mathematically defined
oh, that's a good idea
 
There's a new audio problem: I can't get it to separate speakers and headphones.
Both play when headphones are in.
 
2:02 AM
@MartinBüttner Oh yeah... heh, that. Totally didn't forget about that. :P
I guess I'll start working on that now, seeing as I haven't found any other viable options yet.
 
@PhiNotPi That's just plain wrong. Have you tried restarting it? ;)
 
I'm about to.
brb :)
 
39 mins ago, by PhiNotPi
restarting my computer now. brb
 
As long as the symptoms keep changing, keep restarting, right?
 
The Solution™ to All Computer® Problems™©, for Microsoft Windows:
1. Restart computer.
2. Is it working? no) go to step 1. yes) go to step 3.
3. Congratulations, problem solved.
 
2:06 AM
I like that the only thing not trademarked or copyrighted there is "Microsoft Windows".
 
Restarting again.
3
 
The Solution™ to All Computer® Problems™©, for Ubuntu:
1. Search Ubuntu.SE
2. Found solution? yes) got to step 5. no) go to step 3.
3. Ask question on Ubuntu.SE
4. Wait for solution.
5. Open terminal.
6. Follow directions from solution.
7. Is it working? no) go to step 1. yes) go to step 8.
8. Congratulations, problem solved.
 
@MartinBüttner So I'm trying to write the un-CW script...
> POST http://codegolf.stackexchange.com/admin/posts/24407/remove-wiki 418 (I'm a teapot)
 
@TheBestOne That's pretty much spot on in my experience. Except I usually replace Ubuntu.SE in step one with Google. Sure I might end up there, but there's a surprising number of blogs out there with random fixes I can't find anywhere else.
 
@Doorknob IDE complains with infinite recursion.
 
2:17 AM
@TheBestOne Ahem, that would be a stack overflow actually
@TheBestOne IDE? Eww, get out. :P
 
Better than Window's Command Prompt.
 
2:44 AM
Okay....
I've installed a few different versions of the audio driver and restarted my computer like 5 more times.
And it finally works.
This is great.
 
is there an esoteric language that contains functions but no data?
 
@MartinBüttner Finished. All [tips] questions slowly being un-CW-ified. (Slowly because I don't want my IP rate-limited for all the POST requests I'm making.)
Considering which site we're on, I'm obligated to provide golfed code:
$.ajaxSetup({async:!1});var q=$("#question").data("questionid");$.post(location.origin+"/admin/posts/"+q+"/remove-wiki",{"mod-actions":"remove-wiki","master-question-id":"",duration:1,fkey:StackExchange.options.user.fkey});$(".answer").each(function(){var a=this.getAttribute("data-answerid");$.post(location.origin+"/admin/posts/"+a+"/remove-wiki",{"mod-actions":"remove-wiki","master-question-id":q,duration:1,fkey:StackExchange.options.user.fkey})});
$(".page-numbers.next").length?(alert("you need to dun do it again"),location.replace($(".page-numbers.next").parent().attr("href"))):alert("no
 
I have the tips page up, trying to watch the de-wiki-fication in action.
 
I'm going from top-voted questions down
^ search query
Dewikifying GolfScript... done.
 
I'm going to upvote one so that it is skipped.
 
2:51 AM
C#... done
@PhiNotPi I can always come back to the search query later :P
Haskell done
ECMAScript 6 done. You're watching history happen! :P
 
"Choosing Languages for Golfing" was skipped. :)
 
R, PHP, and Mathematica all done
I know. Only doing the language ones right now.
 
@Doorknob You have a typo on your website
 
Pyth, CJam, Lua, PostScript, Bash all un-CW-ified
@SirPython I do? Where?
 
About me > What do you dislike the most?
Your answer has a typo
Although, I'm not sure if you were joking around with it
 
2:57 AM
@SirPython What? No it doesn't. I have no idea what you're talking about.
(refresh, I fixed it :P)
 
I thought you had meant it to be a typo, considering it would make sense it context.
 
Is the script still running?
 
Well, I have to run it on every [tips] question. All it does is un-CW the question and all answers.
(I'm pausing for a bit because I don't want to be throttled for making so many requests)
Actually, most of these have very few answers now. J to Processing all un-CW-ified
 
@Doorknob Have a good one
 
How are questions made CW in the first place? (I've never tried)
You should bump every tips question to the front page.
 
3:03 AM
There used to be a few automatic processes. Those got removed a while back though.
(too many answers, too many edits, too many editors, etc.)
Now the only way for a question to be CW is for a mod to manually convert it.)
 
How does one become a mod? If I were to, say, want to "convert" some questions?
 
@PhiNotPi I became a ♦ here because everyone unanimously declared that we needed a new mod and that the new mod should be me. But that usually doesn't happen.
 
okay
 
For new sites (i.e. right after public beta), pro-tem mods are hand-picked by the Stack Exchange staff.
(That's how I became a mod on Puzzling)
For graduated sites, elections are held every once in a while, in which the community members actually choose who becomes a mod.
 
I have mod experience on a non-SE site.
 
3:09 AM
(If PPCG graduates, then we get an election soon after.)
 
But they picked mods by "who's willing to volunteer"
And then I slowly moved up the ladder
now I can ssh into the server and mess with stuff
 
Heh, which site is this?
 
Which is quite a story....
 
@MartinBüttner All "Tips for golfing in [langage]" questions are now un-CW-ified!
 
3:15 AM
Ooh, fancy. :)
 
Speaking of which.... they wanted me to change their IP lookup mod tool from MaxMind to SenderBase.
I'm doing that now.
 
3:31 AM
So, I think it is interesting that I went from "average user" to "programming on the site."
Especially since I had to teach myself all of the programming involved in an actual web server.
 
 
5 hours later…
8:57 AM
@FUZxxl Ah, fair enough. In the UK, on top of the Maths A-Levels, there's also a Further Maths course (which may be similar to the course you took). Normal German Leistungskurs level definitely doesn't compare to that though.
@Doorknob amazing :)
I wonder how much rep this will generate across the site when the next recalc happens
Hm, I'm considering a challenge about ASCII art jigsaw puzzles
with pieces like this:
           ___
          /   \
          \   /
    +------   ------+
    |               |
    |               |
 __ |               | __
/  \|               |/  \
|                       |
\__/|               |\__/
    |               |
    |               |
    |               |
    +------   ------+
          /   \
          \___/
the hard version: read a bunch of pieces from a string/STDIN and piece them together
the simple version: given a width m and height n, produce a puzzle from those pieces with the given dimensions
also, if any ASCII art pro could improve the look of the sideways notches, that would be great :)
 
9:17 AM
I had a challenge idea this night in my dream. goes to sandbox
 
those are the best
 
wow, we got tips points ?
 
0
A: Sandbox for Proposed Challenges

ProgramFOXFinding prime numbers without using "prime chars" code-golf restricted-source Your task, if you choose to accept it, is to write a program/function that accepts an integer N as input. The program/function should output/return a list of the first N prime numbers. But here's the catch: you are no...

 
@Optimizer Yep. All tips are un-CWed.
 
@Optimizer oh, we already did
@ProgramFOX edited your proposal a bit, hope you don't mind
 
Good edit, thanks!
 
9:39 AM
hm, I was just thinking this is a rather lame restriction, but it hits both % and /...
what about built-in prime testing/generating functions?
 
Yeah, I should probably ban those.
edited
 
CJam and GolfScript are also hit pretty badly with both ) and + banned
you are pretty lucky with the code points in ascii... they hit the worst possible symbols :D
 
9:53 AM
using Eratosthenes I need 29 in CJam
I only needed to work around ; (for which I could use 0* because it was applied to a list) and % which I could replace with '&(~ (get & as a character, decrement to get %, eval)
 
this again...
cjam.aditsu.net -> code: l~_2*2#,2>\{(\{1$'&(~},\p}*0* -> N goes on STDIN
 
nice!
 
after 3.5 years of studying physics I have to say, today's xkcd is pretty accurate:
 
10:12 AM
Now I am at a point where Martin was when i started golfing :D
 
how do you even remember that.
 
I remember stuff
not accurately, but i do :P
 
10:38 AM
D: ) is banned. How to Python.
... I don't think I can. Better find another tool.
 
0
A: Sandbox for Proposed Challenges

trichoplaxUniquely separated pixels code-challenge Graphical intro This is not a graphical challenge, but I'll start with a graphical approach to the question: For an N x N image, find a set of pixels such that no separation distance is present more than once. That is, if two pixels are separated by a ...

 
@Sp3000 what is banned ?
 
exec, def, lambda, input(), import, for the prime challenge in the sandbox
Basically, I can't think of any way to read in input...
 
10:53 AM
lol
LOL
code point ? :P
(or is that in the same domain ?)
 
?
Well I can't think of a way to read in anything, let alone an integer
 
If only I had the letter g...then I could do Python
 
How does that help?
 
#coding
 
rot13?
 
10:58 AM
that was the first choice although there are many other possiblities
 
That would have been a really awesome idea :)
 
Java would be easy at least
Simply \uxxxx the whole file
only e and % are impossible due to also having 5 in their hexadecimal escape
 
how is Pyth doing on this?
 
Stack Snippet for verification is finished and included in the Sandbox post.
 
Pyth should be able to get shorter than what you have up there, I'd imagine
Map's banned and reduce is a little hard to use (because G is banned) though
 
11:05 AM
@ProgramFOX could you shorten the text field a bit, so that the button and result are visible without going full screen?
@Sp3000 I managed 28 now, but I don't see myself shortening it much further
 
you all are talking like our Censor Board :D . Random things are banned without any real reason behind it
 
@MartinBüttner Sure, done.
 
awesome
actually, base encoding might shorten my code a bit
(if I find a base that produces no prime number digits)
 
score it in bytes please?
 
it is scored in bytes
 
11:09 AM
what about computers which don't use ascii encoding at all?
 
So ; is a banned character? Well then.
 
It seems that only +=/⊣⎕⍣ are banned in APL. Not a very serious restraint.
+ hurts the most, but it hurts in almost every language.
 
Hmm ) is banned, makes nested loops a bit hard in Pyth
 
@Zgarb does the entire rest of the character set map to non-prime Unicode? o.O
 
@MartinBüttner Looks like it. Well, then there's 5 and the letters of course, but those are easy to avoid.
 
11:13 AM
base encoding isn't looking good... can't be bothered to search in detail though
 
Wait. If I claim to use the APL codepage to get single-byte characters, the banned set will be different.
 
the question specifies Unicode code points
(for the source restriction)
 
Okay, so APL gets two-byte characters for that challenge. Seems fair, considering how few of them are banned.
 
ummm
I didn't think the source restriction would necessarily require the byte counting to be in the same encoding
but @ProgramFOX should probably clarify that
 
I've got 21 in Pyth
 
11:19 AM
guys
 
I don't think the restriction and the counting should necessarily be in the same encoding, so I'll edit my post to clarify that.
 
what happened to the spirit of questions
stop solving questions which are still in sandbox
 
you free souls
 
that was never a thing
 
11:19 AM
because i dont have time to do it too :P
@MartinBüttner make it
 
@Optimizer I wouldn't for most questions, but when a question is about whether or not it's possible in a language of course you'd want to try
 
solving questions in the sandbox is an important part of helping the author figure out if the challenge is feasible
especially when it comes to funny source restrictions
 
then dont all of you start it and even start golfing it :P
 
I don't understand that sentence
 
I'm not golfing. 21 was just the first one I got that worked D:
Well I guess the saving grace is that subtraction's not banned
So you can do modulo the slow way for things like ><> or Befunge
 
11:23 AM
Prelude is impossible :(
 
)?
 
edited
> The source restriction is imposed on Unicode characters, but the byte counting for the score can be in another encoding if you wish.
 
What do you mean by "invalid inputs"?
 
oh I just noticed that... I'd definitely prefer undefined behaviour for invalid inputs
 
11:25 AM
Yeah, otherwise anything that evals the input will chuck an error at a non-integer
 
@Sp3000 Non-integers or integers bigger than 10000.
@MartinBüttner Good idea, I'll edit it
 
The task is already close to too trivial so why make it even easier?
 
> For invalid inputs (non-integers, integers out of range), there is no defined behavior.
Is that clear?
 
yes
although feersum has a point
 
I think this should be possible in BF, but it would take some effort.
 
11:30 AM
So... you'd rather we do some exception handling?
 
@feersum right, good point
 
I've got 45 with input validation
 
25 for not error-ing on invalid input for Pyth, but I'm still not convinced that requiring not-breaking on invalid input is a good idea
 
Input validation might be a nice addition, so I'll include it anyway.
 
what is the format for a valid input?
 
11:34 AM
@Sp3000 wow that was cheap
 
@feersum An integer 0 < N <= 10000
 
no really
like, can it have leading speaces or something
 
@MartinBüttner nvm it doesn't work if the invalid input is two integers...
 
Good question. No, it cannot, it has to be an integer without extra characters like spaces. I'll clarify that.
 
heh ]:)
 
11:35 AM
But otherwise # is loop til exception, so yeah...
 
@ProgramFOX a single optional trailing newline would be nice though, because I think there are some languages where it will be impossible to avoid that
 
true
edited
 
So now it actually has to break if the input is an integer with leading spaces?
 
I think so
(I like that :))
 
D:
 
11:39 AM
The rule is now that you have to throw an exception or output/return nothing/null.
 
Oh, so if you can throw an exception then we don't need to check the input?
 
@Sp3000 provided the exception is thrown even if there are surrounding spaces, I guess
 
This is now the exact rule:
> For invalid inputs (non-integers, integers out of range), throw an exception or output/return nothing/null.
> An integer with leading/trailing spaces as input is considered invalid.
 
If checking whether len(input()) > len(str(eval(input()))) works, then 35
 
11:45 AM
000000003
 
ah, I was just gonna post that
 
SyntaxError: invalid token - Python 3 doesn't allow leading zeroes
 
@ProgramFOX are leading zeroes valid or invalid?
 
valid. I'll edit the post
 
11:47 AM
D:
 
how about +5
 
+5? You mean using arithmetic operators in the input?
 
no, a number with a sign character
len(input()) > len(str(eval(input()))) wouldn'nt work anyway because something like 3**7
 
I'll make that invalid. Negative integers are already invalid inputs anyway.
 
12:21 PM
@MartinBüttner I'm too lazy to continue trying, but the reason Pyth works well is because it has i for GCD
Which I think CJam could do with too
 
ah okay
does anyone have comments for jigsaw puzzle ASCII art ideas I posted this morning?
 
Medium difficulty: Given a string, write the string in puzzle pieces, one letter per piece
 
what's interesting about ascii art?
this is a real question
 
I think that's hard to nail down... I guess that it's usually nontrivial to generate, because of the 2D-ness and alignment and what not, but still has a lot of interesting patterns that can be exploited.
if you don't find it interesting, then an explanation for why it's interesting probably won't convince you anyway :P
but seeing that it's the second-to-top non-challenge tag we have, I guess a lot of people do find it interesting ;)
 
I just find the percentage of questions that involve ascii art to be surprisingly large
 
12:29 PM
it's also very accessible
@Sp3000 that will probably be too big to be nice to look at... it also involves the encoding of characters in "pixels" (the puzzle pieces) on top of the core challenge
 
12:57 PM
oh, it's Friday, I can kick off a new fortnightly challenge, in hopes that this one won't die
 
Yeah, the fortnightly challenges are turning into monthly challenges.
 
well CH sort of dropped his
I think @Sp3000 is still planning to post his at some point
I'm determined to get the next one on track though
should be easier, since there's no need to write a controller this time
 

« first day (1483 days earlier)      last day (3365 days later) »