@Downgoat The program we are using has some of the very basics (adding integers, SERIOUSLY?) and then it lets you ski[p them in the first "Knowledge Check"
@ATaco yeah, I was hoping you'd be in here actually. Let's say I have parser.java in dir/parser/parser.java, and myException.java in dir/exceptions/myException.java. I try referencing myException in parser but it errors. how might I fix this?
Question about locking people into solitary confinement with ASCII walls
code-golf ascii-art
You've got a rectangular prison:
O------------------------------O
| |
| X X |
| |
| D
D ...
I just remembered that I have like 5 JDKs installed and one of them happens to be the Oracle 8 one
@ConorO'Brien Back when OpenJDK came out for 1.5 (I think?) the OpenJDK people called it Java 5. People stuck to that numbering even though it was actually officially listed as 1.5.
Uh, do I give a concrete number? My IDE sets up packages and such for me, so I use it even for the smallest projects. When I can't use my IDE, I generally go to any lengths to avoid it, leading to really messy /src/ folders
@Downgoat s/Regular expressions aren't a horrible evil thing like they're oh to commonly portrayed./Regular expressions aren't a horrible evil thing like they're oh too commonly portrayed. /
Question: There is little problem with GitGoat, is that GitHub API has two auth methods, new one, and old one. I am using new one, but for activity feed you need old one to access activity. So question is do you want activity feed at cost of security.
So I was working on a Google Doc project with a friend. I added a code block in monospace and now he printed out doc in monospace thinking I wanted to change entire font
Ooh. You know how in Java stack traces are just plain text? In Java 9 stack traces are going to be their own objects, allowing you to manipulate where you are in the stack and such.
I have no idea what that means and if it will be remotely useful, but it sounds cool.
In theoretical computer science and formal language theory, a regular language (also called a rational language) is a formal language that can be expressed using a regular expression, in the strict sense of the latter notion used in theoretical computer science (as opposed to many regular expressions engines provided by modern programming languages, which are augmented with features that allow recognition of languages that cannot be expressed by a classic regular expression).
Alternatively, a regular language can be defined as a language recognized by a finite automaton. The equivalence of regular...
@ConorO'Brien i would say context-sensitive, but i'm not sure
Question: There is little problem with GitGoat, is that GitHub API has two auth methods, new one, and old one. I am using new one, but for activity feed you need old one to access activity. So question is do you want activity feed at cost of security.
In mathematical measure theory, for every positive integer n the ham sandwich theorem states that given n measurable "objects" in n-dimensional Euclidean space, it is possible to divide all of them in half (with respect to their measure, i.e. volume) with a single (n − 1)-dimensional hyperplane.
It was proposed by Hugo Steinhaus and proved by Stefan Banach (explicitly in dimension 3, without bothering to automatically state the theorem in the n-dimensional case), and also years later called the Stone–Tukey theorem after Arthur H. Stone and John Tukey.
== Naming ==
The ham sandwich theorem takes...
Draw the parabolic trajectory of a thrown ball.
The input is the ball's initial upward velocity, a positive integer v. Every second, the ball moves 1 space right and v spaces vertically, and then v decreases by 1 to due to gravity. So, the upward velocity eventually steps down from v to 0 and d...
is there a way to see a list of recent activity on the site as individual actions, as opposed to the front page where if user X updates their post on question Y and then user Z updates their post on question Y, user X's update is in a way hidden, as what is displayed is just the most recent activity on the question
Interpret "Chameleon"
code-challenge interpreter
Introduction
Chameleon is a new language of my design. Here is how it works:
The Chameleon interpreter takes two arguments: a filename, and a string. This can be taken in STDIN, in an array, or in any convenient format.
The Chameleon interpret...
Question: So I installed Ubuntu because I liked the user-friendliness and Unity DE. So just now I realized that I'm not actually able to get all the bleeding-edge software that I could be getting, since the Ubuntu people have this weird idea that stability is more important than new features. So I was wondering if it's remotely possible to connect to the Arch or Fedora repos, and get the latest software that way?
Note: Minor spoilers for The Martian are in this challenge. Read ahead with caution
The Martian is a Science Fiction novel about astronaut and botanist extraordinaire, Mark Watney, who has been accidentally stranded on Mars. At one point in the book, Mark tries communicating with NASA, but the...