« first day (3151 days earlier)      last day (87 days later) » 

5:48 AM
@PhiNotPi this looks very similar to the linear programming problem except that your target function is the number of positive numbers in v instead of some given linear combination of v
2 hours later…
7:37 AM
A: Sandbox for Proposed Challenges

A _Inquiry answerer (Idea) Original: https://james-iry.blogspot.co.at/2009/05/brief-incomplete-and-mostly-wrong.html Alain Colmerauer designed the logic programming language Prolog. His goal was to create a programming language that is as intelligent as a two-year-old child. In order to prove t...

1 hour later…
9:16 AM
Q: Output Distinct Factor Cuboids

Jono 2906Output Distinct Factor Cuboids Today's task is very simple: given a positive integer, output a representative of each cuboid formable by its factors. Explanations A cuboid's volume is the product of its three side lengths. For example, a cuboid of volume 4 whose side lengths are integers can h...

9:30 AM
@DJMcMayhem ^^
9:58 AM
A: Sandbox for Proposed Challenges

SanchisesObservability and controllability code-golf linear-algebra decision-problem Background Note: if you like, you can skip this part, and simply implement the suggested algorithm. When looking at dynamic systems, there exist the notions of observability and controllability. They are the answers ...

4 hours later…
1:37 PM
Q: Floating Point XOR

virchauYour task is pretty simple. Given two floats, bitwise xor the binary representation of them, and output that as a float. For example, Normal: 16.7472 ^ 123.61 = 7.13402e-37 Binary: 01000001100001011111101001000100 ^ 01000010111101110011100001010010 = 00000011011100101100001000010110 Restricti...

A: Sandbox for Proposed Challenges

caird coinheringaahingSolve a separable differential equation A first order separable ordinary differential equation is (arguably) the easiest type of differential equation to solve, and takes the form of $$N(y)\frac{dy}{dx} = M(x) \\ y(x_0) = y_0$$ For two given functions \$N(y)\$ and \$M(x)\$ and an initial cond...

2:13 PM
Nov 12 '15 at 22:26, by Doorknob
okay seriously stop abusing stars
the most starred message in TNB
1 hour later…
3:20 PM
@Adám Sorry, I was asleep
@DJMcMayhem np. Thank you.
1 hour later…
4:39 PM
What's a good place to learn advanced vim? I've got a decent grasp of the basic commands and motions in my muscle memory, and I'm ready to gain even more efficiency.
@noɥʇʎԀʎzɐɹƆ On top of a mountain in Tibet
Be ready for some out-of-this-world experiences.
At that point you may as well make your own text editor in Malebolge ... or PHP.
@El'endiaStarman Photoshop reference manual is 100 pages longer than the Java Spec, but the people who know it can turn their imagination into reality in full flow
4:50 PM
@noɥʇʎԀʎzɐɹƆ I'll bet PS manual has lots of pictures.
Wait... there is a paper version of the Java specification? Why?
@El'endiaStarman I don't think so
sure, it has a picture that occupies maybe 1/4th of the space, but nothing particularly huge
@noɥʇʎԀʎzɐɹƆ vi.stackexchange is great. (totally not biased as a mod there) Best tip I have is to start with an empty .vimrc and write your own shortcuts and commands that you find useful, looking things up if you get stuck.
Text objects and <expr> mappings are awesome. Golfing in vim helps too
@DJMcMayhem hmmm, why not download a pre-set .vimrc and use that?
@El'endiaStarman I agree with your point though, however it's a Java spec, while it's a photoshop manual, and specs are longer than manuals.
@noɥʇʎԀʎzɐɹƆ your own vimrc will be more suited for you
ergo, you can be more productive
4:55 PM
Because then you don't get the advantage of a) learning which settings you do or don't like, and b) learning how to implement things yourself in vimscript
how long is an expeirenced vim user's vimrc?
@DJMcMayhem I don't wanna learn how to do things in vimscript, I want a productive text editing tool
I've been working on my Seed generator even further, now it's instantly bruteforcing 3 character-big programs
idk, probably 100-500?
Mine is currently 418
that's a lot tbh
I wish I could use vim efficently
hmmm, I like light mode for systems languages C/D/C++, and dark mode for everything else. Can I configure vim to do that?
4:56 PM
@noɥʇʎԀʎzɐɹƆ Sometimes vimscript is a productive text editing tool
I already get a 20% text editing speed boost when using vim
@noɥʇʎԀʎzɐɹƆ Sure
writing Java in vim tho
is a nightmare
How? I'm using MacVim btw.
Writing Java is a nightmare. FTFY.
4:57 PM
@KrzysztofSzewczyk Yeah, a lot of it is probably cruft that has accumulated over the years. I'm guessing that if I aggressively trimmed it down I'd have 250-300 left
I wish there was just a "vimtutor the sequel" out there
@noɥʇʎԀʎzɐɹƆ Look into :h filetype, although I can't help more because that's one part of vim I'm less familiar with
I read one of ViSE's top answers, then cross-referenced with google and found out it was incorrect: OSX does have a secondary keyboard
The other tip I'd have is just keep up using it. You'll pick up new stuff as you go, some of it'll be useful, some won't. If you run into a problem where you're not sure the best/fastest way to do something is, spend some time on it, find different approaches, look for stuff online or ask your own question
Oh, and feel free to ask me questions (whether that's here or :chat!). I greatly enjoy talking about vim lol
As an IntelliJ user, when I'm on the last or first character of a I'm used to moving across lines with the with the left-right arrow keys. Is there a reason Vim doesn't let me do that?
5:04 PM
:h whichwrap
There's a setting for almost everything
5:39 PM
Q: Find Magic Powers of Two

Yimin RongWhen represented in base three, there are some integer powers of two where the digits are a permutation of the next power of two. Some examples: \$2^5\$ in base three is \$1012_3\$, whereas \$2^6\$ in base three is \$2101_3\$, both have one \$0\$, two \$1\$’s, and one \$2\$ \$2^{27}\$ → \$1001...

6:17 PM
I played the very first version of Minecraft. It was not okay.
1 hour later…
7:23 PM
@DJMcMayhem Is there a vim plugin for SE chat yet?
7:40 PM
Q: Highest cardinality grouping of contiguous integers with minimum-sum threshold

Mike PonemarikoChallenge Given an array of positive integers and a threshold, output grouping sets of consecutive elements (subarrays) such that each group/subarray has a sum greater than the threshold. Rules The solution should honor two additional criteria: be of highest cardinality of the groups (i.e. h...

8:21 PM
A: Sandbox for Proposed Challenges

SanchisesReorder a matrix, twice code-golf linear-algebra You are given a square \$n \times n\$ matrix \$A\$, and a list (or vector) \$u\$ of length \$n\$ containing the numbers \$1\$ through \$n\$ (or \$0\$ through \$n-1\$). Your task is to reorder the columns and rows of the matrix \$A\$ according to ...

@Mego no, but there should be
3 hours later…
11:21 PM
Q: Cleaning the dishes

user1475369Cleaning the dishes In this task, you will be given a bar of soap with a width of 1 or more units, which will be inputted as an integer. You will also be given a plate, which you will have to clean, using the soap as few times as you can. The plate will be inputted as a an array of 2 different c...


« first day (3151 days earlier)      last day (87 days later) »