« first day (2728 days earlier)      last day (2114 days later) » 

12:17 AM
@xnor ...nah, exec doesn't do the trick
 
12:53 AM
@Pavel I can confirm your PR worked correctly.
But Linq still scares me.
 
dd = data destroyer, make sure you get the if= and of= options right so you don't end up overwriting your partition table @Sherlock9
@ATaco AFAIK your I Am Typing userscript stopped working recently... do you know why?
 
Because the Webserver that hosted it was deleted.
So I need to rewrite the backend.
 
I see
What happened that led to it being deleted?
 
I ran out of money.
 
Ok
 
12:56 AM
Correction, I had run out of money.
And b/cuz I'm a smart coder, I didn't have anything backed up.
 
Anonymous
1:21 AM
@Downgoat I think you broke something in the design userscript with comment icons:
 
Anonymous
 
Anonymous
Final request for feedback:
 
Anonymous
1
A: Sandbox for Proposed Challenges

MegoDate Recurrences Given three non-negative integers y, m, and d (of which at least one must be positive) and a valid date with a positive year (in any reasonable format that includes the year, month, and day, and no additional information), output the date that is y years, m months, and d days af...

 
I like the challenge
 
@Mego the title made me expect something different
what does "recurrences" refer to?
 
Anonymous
1:31 AM
@xnor The typical use case - you have an event that recurs every y years, m months, and/or d days, and you want to see the dates that it will happen.
 
@Mego ok, I didn't get that, since you're only looking ahead once. I'd suggest some more direct title
 
Anonymous
I suck at coming up with good titles, so suggestions are always welcome
 
2:56 AM
@Sherlock9 I don't understand. "the laptop is fine", "the hard disk itself with data intact", so what's broken?
 
4:05 AM
@user202729 I always thought this was dumb. The two top questions on SO are about a debugging a branch prediction fail, a highly low-level optimization nuance, and a Git question that is literally searched for so often it gets almost as much traffic as the homepage
These are not the stupid questions getting thousands of upvotes that is envisioning
they are appropriately scored, in the first case by the effort put in and in the second case by its value to people from all walks of experience
 
Well, that's a good thing.
But.
You only show one face of the problem. (wrong idiom? ...) On the other hand, you didn't show that hard problems are appropriately scored.
 
Plenty of interesting SO questions hit HNQ
At the minimum, not ones of the triviality suggested there
 
Interesting != "real question".
 
Perhaps by virtue that there aren't any left to ask...
 
I find most of HNQ boring and duplicate.
 
4:16 AM
well it probably helped someone
It all comes down to what you want to reward I suppose
 
Also, (I think) when the score exceeds 100, it doesn't matter.
Except for rep.
 
Some questions may not get the attention they deserve, but I find it tough to name any modern questions that get more attention than they do deserve
Which is really more the angle of that post
 
W W
Easy, javascript shouldn't exists ipso facto all javascript questions get too much attention, qed.
2
 
knows no Latin
 
@WW my lawyers, have instructed me to talk not in depth on this point'
 
4:19 AM
@quartata Yes there are a lot. It depends.
It depends on how you define "deserve".
 
nonononononono
no defining define allowed
 
W W
Nothing good ever started with "technically ..."
 
Just a joke...
 
there always exists a constant φ such that all question q that actually deserves at(q) attention, gets φ×at(q) attention.
So it's just a constant factor, after all.
And... of course what you think the constant factor should be is dependent on the number of users on Stack Overflow.
 
Um
So... You're saying that all questions either get more attention or less attention
Which means it's fair
I don't think that's what you meant
 
4:24 AM
... made myself confused
 
W W
Let's view questions as a category where the morphism are the order in which they are viewed by individual users ...
Now let question A be a terminal question and B be a coterminal question ...
We'll call the morphism between them ƒ.
 
3 messages moved to garbological cohomology
4
 
W W
The answer to that question always seemed painstakingly obvious to me.
I also strongly disagree that it is a bad interview question.
 
@WW Obviously, as this is Programming Puzzles & Code Golf.
 
4:36 AM
That's fair, although it's more of a fun/silly question. Hardly help vampiring
 
I believe that is exactly what the bikeshed meta question is addressing.
 
W W
@user202729 IMO this is basic object oriented debugging.
 
@WW "Just a joke..."
Anyway.
 
@user202729 the quoted example is "what is the difference between . and ->"
That's no research effort
Also, the question was closed so....
 
how to c?
 
4:39 AM
Oh oops that was a moderator note
 
Looking at the newest Stack Overflow questions, it's very obvious that most Javascript people know less than a programmer.
 
All the modals look the same on mobile
 
@user202729 The hard disk is fine but the laptop won't read it
When plugged in internally
Externally, it can be read
I probably should have just copied everything over onto the new hard disk in the first place honestly
 
4:57 AM
Oh, well if you can read it:
22
Q: How to restore OneTab list of tabs after computer crash?

GiladbiMy computer crashed and I reinstall it over a new disk with chrome and the OneTab extension. However, I can't find where OneTab is storing my data under my former disk. I used this answer Where does Chrome store extensions? to go to the folder but there is no file dated close to the computer cras...

 
Yeah that's what I meant
Oh bless you sir
 
I assumed you were trying to do data recovery, and I thought it was weird this was the only file you cared about
It would have been easy to do a signature scan for though
 
Signature scan?
 
look for certain strings
Blog post claims it uses an SQLite database so I'm sure it'd be easy to find even with the file system busted
 
I think I saw an SQLite database when I was looking last night
 
5:08 AM
It's still stored in localStorage
 
5:31 AM
@Sherlock9 Probably the laptop's hard disk reader is broken...?
 
6:27 AM
@xnor I see! then my "fun" 38 is off the mark enough that I can share it:
a=0
b=1
while'%c'%a:print(a);a,b=b,a+b
(I also have un-fun 38s a-plenty)
 
 
1 hour later…
7:34 AM
@user202729 It isn't because it reads the new hard disk just fine
Thanks for the suggestion though
 
...? So what is broken?
 
I don't know
The old hard drive can't be read internally, just externally
 
You're using Windows, I suppose.
Try using another OS.
 
Yes, I said that earlier
This is specifically my Windows machine
For gaming
 
Then it's probably just a software issue.
Looking online for solution...
 
7:48 AM
Internal drive not recognized, sir
As in, it won't boot
The old one anyway. The new one was fine
*is, excuse me
 
8:25 AM
maybe it's just some of the boot data that's corrupt, which is why it works as an external drive
 
8:35 AM
That would make sense. I'm not sure how to fix that though
 
I think if you boot from media then you can try something called startup repair
 
8:52 AM
So that hard disk is also used for booting?
 
 
3 hours later…
12:05 PM
@xnor this is so tricky! I have a hunch about what the code should look like but I'm trying everything of that form and nothing works
I have 37-byte programs to print 32 Fibonacci numbers, or 29 Fibonacci numbers... ^^
every other form I can think of is 38 bytes or longer. there surely aren't that many ways to loop in Python, arghh
 
So the timeline was:
- Old hard drive was used for booting in laptop.
- Laptop got coke in it.
- After laptop was determined to be fine, old hard drive would not boot, but would work externally.
- New hard drive procured for internal use in laptop.
- Am now trying to find specific files from old hard drive so that I can retrieve data from them
@Neil Will try that. Thanks Neil
 
 
2 hours later…
1:48 PM
0
Q: Collapsing Matrices

Luis felipe De jesus MunozCollapsing Matrices Related: Let's design a digit mosaic, Print/Output the L-phabet Sandbox post here Given 2 inputs C = columns and rows, S = starting point output a matrix as follow: Input 4, 3 1 2 3 0 2 2 3 0 3 3 3 0 0 0 0 0 Explanation Given C = 4, S = 3 1) Cr...

 
 
2 hours later…
4:00 PM
For a moment I thought this was a golfing question on writers.se
18
Q: How many characters are too many?

JilliI am plotting out a longish story, which would have the following number of characters: Main/ reasonably significant characters: Nine Characters still vital for the story to work:Thirteen Side characters, named, with a little detail because they are colleagues/relatives of the character whose ...

 
LOL
 
4:10 PM
@trichoplax obviously, they should measure their story in bytes instead
3
 
lol
 
Recall that Infinity War had 76 main characters. — DonielF yesterday
Wow, I didn't realize that
 
watched AntMan and the Wasp yesterday
Ending was 10/10
 
._.
 
@Pavel I've heard it was good. I want to watch it sometime soon
 
@DJMcMayhem It was awesome. If you haven't watched the first one and also Civil War, you might want to watch those.
 
I've seen every marvel movie other than CA 1 and Thor 1/2
I really like the MCU
 
@DJMcMayhem Make sure you see Infinity War first if you haven't
 
Really? I thought that AMaTW was set before IW?
 
@DJMcMayhem Same time actually
 
4:27 PM
They are simultaneous
 
That's why the ending was so good :P
 
:O Oooooooh
K, no more spoilers
 
Have you seen IW yet?
 
1 min ago, by DJMcMayhem
I've seen every marvel movie other than CA 1 and Thor 1/2
 
1 min ago, by DJMcMayhem
I've seen every marvel movie other than CA 1 and Thor 1/2
 
4:27 PM
ninja'd
 
K
I saw that. Just making sure.
 
Hold on, I'm blanking here, which one is CA?
 
I guess technically that statement isn't true since I haven't seen Ant-man and teh wasp yet... :P
 
Capt America
 
@Pavel Captain america
 
4:28 PM
Oh yeah
duh
 
Man, there's a lot of ninja's out today
 
California
 
@mbomb007 Y are there no cyrillic chars in there?!
 
Even though I never saw CA 1, IMO CA Civil War is one of the best they've ever made
 
I haven't seen Homecoming, Iron Man 3 (but will later today), or GotG 1.
 
4:29 PM
@Pavel GotG 1 is soooo much better than GotG 2
 
Civil War was the first MCU movie I watched
I read the comics and didn't like them, so I assumed I wouldn't like the movies either
My friends made me watch Civil War with them
I was extremely incorrect
 
That sounds like a confusing first movie to start with.
 
@DJMcMayhem I understood a lot more after watching it the second time, but it was still great the first time.
 
I have a screen full of a (intentional) run-time error.
 
I'm just glad that IW wasn't my first one
 
4:32 PM
 
I hear Disney will have the rights to Deadpool soon
 
@Pavel ._. are you being serious.
 
@Zacharý Yeah, supposedly they're buying Fox and Fox has the rights to Deadpool currently
 
>_<
 
But Disney also owns the MCU
So hopefully something good happens there
 
4:34 PM
I'm surprised: the development of RAD's rewrite is going smoother than the Python one did.
The bad news: I can't do import numpy or stuff like that...
Or import sympy
Speaking of that ... I want to find a way to get a D to APL interop to work.
 
@Zacharý Step 1: Bug Morten Kromberg to add mono support. Step 2: Embed mono into RAD, since mono is super easy to embed.
 
@Pavel This project is totally unrelated to RAD. D <-> APL would be awesome.
I know I can hack it together with other interop languages: D <-> C <-> Python <-> APL
Wait, is there a way for Python to call C code?
 
@Zacharý Yeah, ctypes.
If D can call C++ libraries you might be able to get away with boost::python.
 
D <-> C++ interop is a bit shaky, if I remember correctly.
I know Python<->APL is covered by pynapl.
 
I'd be surprised if Dyalog has no way to export to an unmanaged DLL
 
4:50 PM
It probably does, I'm just having some trouble with Dyalog <-> anything-but-python
 
Are you on Windows or Unix?
 
Unix.
 
Does anyone have reccomendations for a strong-typed interpreted language written in JS
 
@Downgoat Why would you want that
 
there's cheddar but it's cheddar
@Pavel I have a very specific use case
 
4:57 PM
@Downgoat does transpilation count?
 
Why would someone write that
 
@Zacharý not unless I can sandbox it
 
oh ... idk
 
Would something like typescript not work for you
 
@Pavel I need to run user-provided code but safely
 
4:58 PM
@Downgoat SELinux?
 
Why does it need to be written in JS
 
So it can run in browser
 
oh, for stack snippets
 
Does WASM count
 
I don't want to stream to TIO because that's relatively slow
@Pavel I'd have to include a compiler then :|
 
5:01 PM
Why not just use JS
And eval
 
Because the user can do malicious things with eval
 
They can probably do malicious things with any language written in JS
The TIO API might be your best option
 
@Downgoat pick an interpreted language you like and emscripten it
I know Pawn works, but you'd hate the typing
 
Python would be a huge del though >_<
 
you like Python?
you just admitted you like Python
 
5:04 PM
Yes but i just realized it's not typed
 
pawn actually would suit your usecase pretty well thinking about it
 
Why do you need static types
 
Althoughh...
I think it's only the compiler that works under emscripten
I'd imagine the VM is x86 only
hm what else
 
@quartata GCC and LLVM have been succesfully emscripten'd
 
5:21 PM
> Android and Chrome OS are built on Linux, a widely used open-source programming language.
quote from Bloomberg
 
,_,
 
@Downgoat including the LLVM interpreter bit?
You could try converting this github.com/zsaleeba/picoc
 
5:36 PM
@Downgoat wonder how compliant this is github.com/felixhao28/JSCPP
 
6:17 PM
1
Q: What is the consensus on built ins?

Beta DecayOriginally on this challenge I banned built in matrix functions but people complained about it. I then removed the ban but there were few interesting answers given and some people complained and said there should be no built ins. So what should I have done? In my opinion, I am for banning built ...

 
 
1 hour later…
7:42 PM
@Zacharý Have you tried using ⎕NA? I'd think you can even call D functions directly with ⎕NA. And for the other way, you can package APL as dll, and I think Linux shared library too, but I'm not sure about that. If not, then we're working on it.
 
0
Q: Print a polynomial

HoodGiven a list of v variable names and a list of exponent vectors, output a string representation of the name of the polynomial. The exponent vectors should be vectors of integers of length v+1 where the first element of the exponent vector represents a coefficient and the other elements represent ...

1
Q: Solve the Halting Problem for Modilar SNISP

Esolanging FruitIn the spirit of Solve the Halting Problem for Befinge, let's define another 2D language called Modilar SNISP. Modilar SNISP has the following six instructions: \ directs the instruction pointer as follows: if approached from the top, go right; if approached from the right, go up; if approach...

 
@Adám iirc there's a thing in File -> Export for producing DLLs, but how do you do it from APL code?
 
@Adám I somehow forgot about that, thanks
 
@Pavel I'm not sure or if you even can. I'd have to ask John Daintree, but I'm not in the office until Monday. You could ask on SE or the forums or email support@.
 
8:18 PM
It works (somewhat)! I can get extern(C) functions to work perfectly
 
8:40 PM
@Adám I got it to (mostly) work, thanks!
 
@Zacharý Care to show me?
 
Say a D file (test.d) has the function definition int f(int a){return a;}. I compile the D via gdc test.d -shared and acess the function in APL via ⎕NA 'I <path>/a.out|_D4test1fFiZi I'.
I'm struggling to get D's dynamic arrays to work.
 
@Zacharý Did you find out how to call a out from APL with a variable size array?
 
Call the function, or call a.out?
 
@Zacharý Call, a.out. I mean to ask if you know what to feed ⎕NA for variably sized arguments.
 
8:57 PM
@Adám No, I have not figured that out yet,
 
@Zacharý Have a look here how ⎕NA is called dynamically.
 
9:20 PM
I think I got it now. I figured out how to pass an array to an extern(C) function (via pointers, probably same thing with a D function that uses pointers).
 
9:39 PM
0
A: Sandbox for Proposed Challenges

HoodGiven a list of variable names and a list of monomials, output a string representation of the name of the polynomial. The monomials should be represented as pairs [coefficient, vector of exponents] where the vector of exponents has the same length as the list of variable names. Combine like term...

 
I'm pretty sure APL doesn't like D arrays
 
@Zacharý Why? Are you getting garble back?
 
@Adám At one point: syserror 999, later: garble, now: domain error.
I can understand why: T[] in D is not equivalent to anything in C.
 
@Zacharý If you can repro the syserr, you can send the aplcore to support@.
@Zacharý In worst case, you should be able to get the raw bytes back and decode it yourself.
 
Oh god, python got a stackoverflow trying to run the ensurepip module and it took a minute to print the error during which my terminal froze up.
 
9:49 PM
Dynamic arrays (T[]) syserror, and static arrays (T[n]) garble.
 
@Zacharý Can you cut it down to a minimal repro and send the code plus the aplcore?
 
I'm pretty sure it's just because of D's incompatible dynamic arrays (they don't exist in C, so APL doesn't know what to do with them).
 
@Zacharý Still, APL shouldn't syserror, just throw a domain error or something.
 
Would a syserror result from C segfaulting?
 
@Zacharý Yeah, probably. Syserror means that the memory was found to be in a state it shouldn't be in.
 
10:17 PM
python -m virtualenv is telling me AttributeError: 'module' object has no attribute 'symlink' ;-;
 

« first day (2728 days earlier)      last day (2114 days later) »