Inspired by this.
Agatha Stephendale, a sophomore who is really into raster graphics, has taken a course in linear algebra. Now she imagines matrices as rectangles, but in her artistic mind, she attaches diagonal lines to those rectangles and tries to compute traces along them. In fact, she want...
Create a function which given a number of lines n, make as a bigA.
The horizontal bar of bigA must be at the middle row, or the lower of the two if n is even
Assume a monospace font for output
Output should be a string with linebreaks to break up the lines, with correct whitespace for left-pa...
@DJMcMayhem Firefox doesn't use malloc, instead it has its own copy of a custom allocator called jemalloc which it tries really hard to use everywhere (caused a problem with the MSVC CRT at one point though)
@quartata we're going to abstract to a concurrent priority-based model which should abstract threads so it should also be applicable in a web-based environment so the current way is that you can either dispatch a method in another thread and join that later
@quartata :| does this mean I need seperate STL for each OS
we're not doing kotlin-style blocking async stuff since that seems to void the point
@quartata there is no benefit to using select over poll
also i'm still kind of annoyed that people say or said allowing 0 byte answers is ok because people won't upvote them, then seeing upvoted 0 byte answers
There are some pretty cool challenges out there involving regex (Self-matching regex, Regex validating regex)
This may well be impossible, but is there a regex that will ONLY match itself?
NOTE, delimiters must be included:
for example /thing/ must match /thing/ and not thing. The only match p...
it came by default on OS X and I haven't bothered to install gdb (only have gcc and gfortran) so it bugs the shit out of me everytime I have to use it and I'm expecting gdb
or you can just offer something like a ThreadPoolExecutor or EM.defer
Let the user control dispatch
this gets tougher when you get into hybrid threading
there I could see it being useful to have a pool of handling threads for all handlers, although it's kinda weird to have a function run on one thread and its callback potentially on another
hm
Really though regular blocking I/O and async don't mix, they're not supposed to. So don't worry about that so much
That shouldn't be the reason for having a separate thread
I wonder what NIO does, I should go check. Java STDLIB source code is actually super easy to read
@PhiNotPi It's been too long since you spoken in Primes and Squares, so I can't ping you (pouting goes here). I've got a graph theory question you might be interested in
Based on information in this post I feel I should try and validate all answers to my challenges. That hasn't proved too hard so far which is good, but Dennis's answer here technically wins the criteria of the challenge, but I cannot actually validate it.
The information in this post doesn't rea...
Your task is to build a program that identifies the shape of the input. The shapes to be identified can be any of the following:
Square
To be identified as a square, the source must have lines of all equal length, and the same number of lines as characters per line (newline characters excluded)...
Quarterstaff repo here with additional quarterbf interpreter: rather bereft of documentation, however, but it does contain the two interpreters
you can go to https://tio.run/#quarterstaff to run quarterstaff programs online. however, the TIO BF implementation seems to have limited cells, accordi...
Brain-Flak, 76 bytes
{{({}[()]<([({})]()<({}{})>)>)}{}([{}]()){{}((({})){}{})<>}<>}<>({}({}){}())
Try it online!
Explanation
This program works by dividing the number by two and tripling until it gets a remainder of one from the division. Then it stops looping and doubles and adds one to the...
....... I figured out that repeatedly creating and deleting an account can give you high rep increase notification. (assume you have association bonus)
I wonder if repeatedly doing that 4294968 times overflow anything.
Anyone know how can I (try to) access Safe mode of Windows 10, if every time I boot it gets a "page fault on nonpaged area" error? (assume I have a bootable USB)
(the bootable USB is not a Windows installer/recovery drive/etc., unfortunately)
Anonymous
@user202729 Boot from the recovery drive
Anonymous
Win10 automatically makes a partition for recovery/safe mode
@Mego ... how can I do it? (yes, I can find a small hidden partition that looks like the recovery drive, but I can only choose the drive and not the partition to boot from)
And I don't have a recovery drive, probably only a partition.
Anonymous
@EriktheOutgolfer The problem is (I assume) they can't even get to the part where Windows loads to hit F8
Anonymous
12:32 PM
@user202729 Mash whatever key opens the boot menu while your BIOS is loading
@user202729 asus.com/uk/support/FAQ/1013074 might help, depending on how quickly it blue screens, if you can power it down three times first it might trigger safe mode options
basically people are assumed to use proper spacing there (?) and so it turns out similar to expr1 : expr2, but the first space isn't for clarity but part of <space>:
Ellen is a new Assembly Line Manager in a shoe factory.
So far, everything has been going very smoothly for her and N shoes of the same model and size have been produced.
Exactly half of them have left shoes and the other half are right shoes.
The freshly sewn shoes are standing in a line, in ...
Time left before week-end
Your task is to write the shortest program that displays the amount of days, hours, minutes, seconds before the next Friday at 18:00:00 (6 p.m.) and loop every 1 seconds to display the new time left.
It took me 1300+ characters to get it in C#. I am curious how low it ...