« first day (2581 days earlier)      last day (2264 days later) » 

12:02 AM
@ASCII-only Very nice that it explains how it processes (p&~w)|(p&q) into pq + p~w but the correct result is p .
 
@Adám wait it is?
 
@ASCII-only Sorry, typos. It makes (p&~q) | (p&q)pq + p~q when it should give p .
 
@Adám hmm so it sometimes needs to factorize. would you ever need to do it multiple times?
 
@ASCII-only I don't know. Your code is clearly very clever while mine is dumb brute forcing.
 
mine isn't clever, it just applies the laws
 
12:11 AM
@ASCII-only How does it know which law to apply next?
 
@Adám it doesn't, it just applies whichever law it can
 
@ASCII-only And if two can be applied?
 
@Adám whichever one is earlier in the code >_>
also it does it left to right
 
@ASCII-only prs + pr~s + ps~r stays as is (so does it in mine), while clearly the first term can just be removed.
@ASCII-only Shouldn't it rather split whenever it has a choice and pursue all branches and in the end compare the results to see which leaf is simplest?
@ASCII-only Btw, I have an idea to tackle the prs + pr~s + ps~rpr~s + ps~r case, but it won't be for tonight.
 
maybe. but isn't that really similar to bruteforcing
well, at least it will significantly slow it down
and let's just say my code is not the most efficient
 
12:18 AM
@ASCII-only You're trying to solve an NP-hard problem…
 
@Adám well, not exactly, it's not meant to always fully simplify, just whenever it's pretty obvious
 
@ASCII-only Could you add and for AND and OR?
 
@Adám It always had those
 
13 hours ago, by ASCII-only
@Adám and is &, up arrow thing or . (or nothing at all), or is |, down arrow thing or +
 
> up arrow thing
i guess that's really unclear
 
12:23 AM
@ASCII-only Oh.
@ASCII-only So much for me hand-translating…
 
@ASCII-only it's more meant to help people working it out by hand I guess?
@Adám Is it still equally hard with K-maps?
 
@ASCII-only I don't know.
 
Hey, I've just been learning about K-maps in uni
 
well, there's this
 
that too
are you trying to implement those algorithmically or something?
 
12:31 AM
Not really
 
@ASCII-only Btw, prs + pr~s + ps~r (which both of our programs currently stop at) can be golfed (is it simplified?) to p(r+s)
 
@Adám So the simplest form would be pr + ps then? I think simplified usually means anything that doesn't and a term with or
 
@ASCII-only yes, if we have p and r, then s doesn't matter, and if we have p and s, then r doesn't matter.
 
i guess it was a stupid question, of course it's simpler than pr~s + ps~r
 
The "p implies q" test can be shortened quite a bit too, to q + ~p
 
12:42 AM
@ETHproductions Yup. My code "fails" by returning ((~p)∧(~q)) ∨ ((~p)∧q) ∨ (p∧q)
 
prs + pr~s + ps~r
pr + ps~r
p(r + s~r) // so you can't simplify like this :/

prs + pr~s + ps~r
prs + pr~s + prs + ps~r
pr + ps
the computer would probably need to brute force that though
 
What language is this?
 
boolean algebra
 
I heard code though
 
@Zacharý where
 
12:47 AM
@Adám Here
 
They have boolean algebra simplifiers
 
47 mins ago, by Adám
https://tio.run/##hVVBaxtHFL7rV8xtrCIjK720XkIITSGGUkNbaCDkMNqdlaeZnVntzNoWpjrk4MrGaxJCj4XSJFTNpZTQHgKhkJ8yf8R5b2YjaaW1sxfLO@9973vf@@Yty@V2MmFSj66u3OyXRJjcnT79Ro9ETPhxXkSHrDCRZUPJI3f5695@ZIuSR4rzhCeRUImJmJSREVkOETEz3HSIDwSYHXLd46rfyM72EMITAiD8WKhRh2AtSMO6bvaXq@YAdLf3xeBLd/Ef/mzm82NbsNhilkB@RLGsrv79/bv39n901WtEbK8udcykMJzYA551CDQBlW@581euevH@74Gr3tz6zJ39sQGAuRC8HetsqIkXJhA/cdWlq972KOC46l/68/u5O30OoRvZxoiRIpzFB0RYQ3INL4ZCWoHsvYQe4hJ1uEY7fshkySxHKqRWfXcvJTu33Wze9y9a80TqyadMGqCNTz1x0Ip@pRUomojYCq0ooTt0kTcuhQXGhZxAna8hGWq52Z@tlVbqoFc2yvzASqvBcBMoMaCNtI0yNxooE8dgn4KbUloTymBBKONp9de0/5iWgtS8ID@VxuL
 
I'm going to take a blind guess at APL ...
nailed it
 
"Blind Guess"
 
Anecdote: In high-school, we were not allowed to bring our graphing calculators to math tests, but we were allowed to bring them to chemistry tests if they had nothing stored on them. I asked if I could bring it to my philosophy test. They laughed at the ridiculous idea; sure, why not? For for the questions asking to evaluate truthiness of some huge convoluted logic statement, I replaced "and" with * and "not" with 1- and "or" with 1-(1-a)*(1-b). Then I used vectorising to get the answer…
 
12:48 AM
I did it before I saw what the link was to
Vectorizing, the most wonderful thing ever on a calculator.
 
I wonder if it would make a nice (probably not since there's already an algorithm >_>)
@Adám vectorising?
 
APL-ing
1 2+3 4 => 4 6
 
@Zacharý Adám wrote it. That's almost good enough for me to start betting limbs on it being APL.
 
J's a thing though
I wouldn't bet limbs on it
I'd bet crap tons of money though :p
 
@Zacharý almost
 
12:50 AM
Yep
 
@ASCII-only Yeah, just like in my APL code. The TI calculator would pair up corresponding elements when using arithmetic operations (- and * in this case) on lists. So I just defined each variable so that they would make a truth table, and did the math. If all was 1, then the answer was True, else it was False.
 
@Adám oh, nice
@Adám did your calculator have an = symbol
 
@Adám TI-Basic is amazing
 
@ASCII-only Yeah, that saved me a lot of time during the test.
 
I've actually programmed Wireworld, GoL, and a symbolic quadratic formula calculator in TI-BASIC.
 
12:52 AM
@ASCII-only Yes I think so, but that wouldn't vectorise, it would look whether the two lists were identical.
 
L_1 - L_2 = 0
If I had my calculator with me, I'd test L_1 = L_2 right now
 
@Zacharý I made a graphical Mandelbrot set plotter. I would start it in the evening on fresh batteries, and in the morning it would be done, but I couldn't tell until I switched batteries…
 
How long ago was this? I've done langton's ant as well. But the Symbolic Quadratic Equation Solver "SQES" (pronounced as "squeeze"?) was one of the two most useful things I've done in TIBASIC, the other being Euler's method
 
@Adám wait can a calculator even burn batterise that quickly
@Zacharý symbolic?
 
@Zacharý I also made a car racing game which my classmates would play during class. Once, in the middle of a Swedish class, I think, someone exclaimed "high score!" from the back row. This was before smartphones and all that.
 
12:55 AM
The most useful useless thing I did (CASIO BASIC) was a calendar
 
@ASCII-only Yes. Quadratic formula numeric would be useless and too easy
 
@ASCII-only Non-stop full-throttle overnight. Yeah, that did it on my TI-86.
 
Dang. TI-BASIC is a gateway drug ... to APL. Or is it the otherway around?
 
@Zacharý Programming is a gateway drug to programming
 
I'm going to actually find my calculator rn, as I need it for a stats test on Friday.
 
12:58 AM
@ASCII-only -vl outputs a byte count which differs from the OP's byte count. I didn't actually check to see which was right.
although speaking of -vl...
 
@Zacharý Actually, I couldn't afford a graphing calculator. My math teacher gave me his, with the reason that I could do more good with it than he could, after I found that the max y value of y=ˣ√x is for x=e. (Shameless boasting)
 
Confirmed: List = List outputs List
 
@ASCII-only why doesn't this parse? tio.run/…
 
@Zacharý so it does vectorise? Cool.
 
@Adám Which class was this in?
If teachers made deals like that now, I'd probably be getting gifts better than a textbook on polynomials. (Shameless bragging)
 
1:02 AM
Floating point approximation of e? Beware of numerical coincidence.
 
@Zacharý A bit hard to compare across countries. It was probably in the first year of "high-school" which came after 9 years of regular school, beginning at age 7.
 
@Neil 1. I'm an idiot, 2. default doesn't support ending with ; yet >_>
 
Calculus in 8th grade is better (of course on my own time)
 
@ASCII-only ... which reminds me, else doesn't work after ; either
 
Oh, Sophomore to Junior year if it's 9+7=16. o_o
 
1:05 AM
@Zacharý In the final year (3rd) I wrote a paper on the possibilities of improving mathematical notation (a.k.a. APL). It was delayed well beyond the end of the school year because they couldn't find a teacher who felt qualified to judge it.
 
> wrote a paper
 
Well. They might consider it literally ripping off APL if it was close enough
My schedule next year is hell
 
most interesting thing I did with a programmable calculator was to approximate the Normal distribution
 
For my paper as part of the philosophy course, I wrote a small paper on extending Boolean algebra to include fuzziness:
7
Q: Implement Multiplicative Fuzzy Logic

AdámInspired by this excellent challenge (from which the bulk of this text is blatantly duct-taped) – and my highschool philosophy project... I define the following operators: Fuzzy Conjunction a ×F b is a × b Fuzzy Division a ÷F b is a ÷ b Fuzzy Negation –F b is 1 – b Fuzzy Disjunction a +F b i...

 
4 off-campus courses, oh joy. Half of my year is not even in high school next year
 
1:07 AM
@Zacharý better?
 
@Zacharý What? I brought APL (by name) as an example of how notation could be improved.
 
If you discarded order of operations, it's APL, no beating around the bush there
 
@Zacharý I don't understand. What is APL?
 
I'm not really APLe to comprehend this right now :p
 
My linear algebra teacher was completely flabbergasted when I suggested multiplying two matrices element-by-element just as with +.
@Zacharý Please don't start!
 
1:12 AM
@Adám Was this in pre-uni/pre-college/equivalent-in-denmark ? O_O
 
@Adám wait wat
 
@Adám That's understandable. Let's have a circled times be element-wise.
 
@Zacharý It was in the last year (3rd) of "high-school" (i.e. just before going to university/college) where we were allowed to take the first university level linear algebra course.
 
Ah. I'm taking Calc III and ODE instead. In all honesty, I should've done Linear Algebra and Calc III, that way I don't have 3 off campus courses in one semester...
 
@ASCII-only In APL, all arithmetic functions go element-by-element. To do matrix multiplication, you write +.× since it is the same as dot-product (hence the dot) and is a conjunction of additions and multiplications. APL allows you to conjoin any functions dot-product-style.
@Zacharý ODE?
 
1:16 AM
Ordinary Differential Equations
 
Which is better: printf or cout
(In your opinion, no practicality needed :P)
 
Hell, if French 4 is unavailable, I'll try to add Linear Algebra.
 
@Zacharý wait wat...
 
Anonymous
@moonheart08 cout
 
printf > all
 
1:17 AM
@moonheart08 Golf-wise: prinf because backwards compatibility is a thing
 
Anonymous
cout<<foo; is shorter than printf("%d",foo);
 
IMPORTS
 
@Zacharý We had DiffEqs in an optional final high-school course. LA was uni-level. All calculus was mandatory. But then again, the high-school had many "lines" and I went on the mathematical-scientific line with focus on nature sciences.
 
INCLUDES
 
Anonymous
No need to yell
 
1:18 AM
Caps lock
 
@Mego Hi Mego. Feeling blue?
4
 
@Adám My messed-up country would never do anything that good.
 
@Zacharý What? Have multiple lines or offer those courses?
 
cout is one of very few C++ standard library features I use.
 
printf feels more natural to me
 
Anonymous
1:19 AM
If you're using it multiple times, cout will have a byte advantage over printf, even with the longer include. Also it's C++, so you have to include stdio.h (or cstdio) to use printf. Also #include<bits/stdc++.h> is a thing, which saves bytes in the long run if you need other stdlib/STL stuff.
 
@Adám Require Calculus. Have multiple lines. And offer those courses (normally). I'm literally the only 11th grader in Calculus.
 
Anonymous
@Adám Da ba dee da ba die
 
@Zacharý Where is this? At my school it's considered perfectly normal to take Calculus in 10th grade.
 
cout because it's C++.
 
@Pavel In the tradition-littered sh I mean sticks
 
1:23 AM
I use cout for output, but scanf for input. Explain me, all ye who who argue about C vs C++.
 
There's another guy that might be able to take Calc in 10th grade, from what I've heard. He took Geometry in 8th grade w/o moving (VERY weird for my school, I achieved my courses by taking Alg II+PreCal in the same year), and then he might be able to take Calculus as a sophomore by doing Alg II and PreCal in the same year (since 8th and 9th grade have year-long courses and 10th-12th have semester, he might actually be forced to)
 
Anonymous
@Pavel You stared into the abyss of Brain-Flak and haven't been the same since
4
 
@MartinEnder [SKS] I think at best, not using the template can save at most 3~4 bytes, not "half of the program".
 
But of course, somehow Maryville still manages to hold on for dear life to any claims it has to fame.
@Pavel The seniors graduate at a different date then the rest of my school: so I'll be ALONE in a room for ~6 days, half of them studying for an AP test.
 
Mostly I'm bothered by cin determining what the type of data being read is, rather than it being explicitely specified.
 
1:27 AM
Use a cast. std::cin >> (int&) a;
(but you don't want to do std::cin >> *reinterpret_cast<int&>(&a))
 
Anonymous
@Pavel That's because int a; scanf("%d"); is redundant. No need to state that it's an int twice.
 
Yeah, but even languages with stronger type systems than C++ still provide seperate methods for reading strings and numbers. In C++, anything can act as an int or void * or even something else. It just irks me.
 
That's because C is a thing
Come to D, we have std.variant :p
 
I'd rather stay in C# land and accept the memory overhead.
 
I just realized a perfect pun
THE ADÁM'S APL!
2
 
1:32 AM
@Pavel well, it's because there exist people that like using bad casting hacks
 
Anonymous
@Zacharý You mean std::variant?
 
@Mego We had it before you.
 
@Mego No, that's C++.
 
@user202729 We know
 
@Pavel What do you want to say...? How can you read either a string and an number to a variable?
 
1:33 AM
He's saying that C++ has it as well
 
Anonymous
@user202729 We've been talking about C++
 
@user202729 Huh?
 
Come to D: we have dynamic arrays and associative arrays without having to import anything
 
... okay. But that's redundant. In Jelly you need 0 bytes to read input.
 
C#, for example, has a Console.Read (int) and a Console.ReadLine (string). C++ just figures it out from where you're reading too.
 
1:35 AM
And a by-far golfier template system
 
Someone has to make the C++-golfed language.
 
@Zacharý That's not saying much
 
(we have shortC, but nothing for C++)
 
T id(T)(T a){return a;}
 
Anonymous
@Pavel Technically Console.Read reads a single character. That's closer to getchar in C.
 
1:36 AM
^THAT is D's template system
 
@Mego Sorry, I haven't read ints from the console in a while¯\_(ツ)_/¯
 
D WOULD actually make for a good golfy C++, at least in terms of its import syntax, templates, etc. Except one horrible thing: there're no macros
 
@Zacharý How does it know T is a template type and not a class named T?
 
It could be either.
That's the beauty
 
uhhh
explain
 
Anonymous
1:38 AM
> Explicit is better than implicit.
 
Also ^
 
Well. Template types aren't really a thing that's used often. For std::vector<int>, D has int[]
So it might just assume it's a type/class, but I don't know
D has the makings of a good golfing language gone wrong
 
What does it have for Dictionary<k, v>?
 
v[k]
If dictionary maps k=>v
 
0
Q: Order a list but respect integer ordering

infinitezeroGiven a list of n strings, return a list of that strings in ascending order. However, be aware, that in this case we want integer comparison for all numbers appearing in the strings, meaning that "12" > "3". Example cases: {"abc123", "abc6", "abc47", "abd49"} -> {"abc6", "abc47", "abc123", "abd...

0
Q: Verifying a horizontal ASCII pet snake

Mirror318Recently there have been a couple of ASCII pet snake challenges (e.g. here) 0 0 0 0 0 000 00 0 00 000 0 0 000 0 0 0 00 0 000 This challenge is to take a randomly generated horizontal pet s...

 
1:40 AM
key => value, so yes
 
Oh. (Qwerp-)Derp
And int a[2][3] could be either int[3][2] a or int a[2][3] in D. And the former opens up some golfing opportunities: int[3][2]a
 
C# has int[2,3]
 
And functions are types without needing to import anything! (And delegate, I never really know the difference`
@Pavel But C# also has Java-esque boiler-plate
If D added macros and didn't have pointless restrictions for the sake of style, it would be one good language for golfing
 
@Zacharý Good thing we can completely disregard that boilerplate when golfing and submit a function
 
@Pavel Oh yeah, forgot about that
. instead of :: for namespaces, import instead of #include, string included by default, no semicolons needed after classes/structs, .... But of course, && and || can't be mixed for some reason, you're pretty much forced to use break in a switch statement, type-casts are longer.
D is basically a failed-golf-C++.
 
1:47 AM
@Zacharý In C#, the difference between a delegate and method is that if a class has a method, and you have multiple objects of that class, the instructions for that method are at the same address in memory for all of them. If you use a delegate instead, each new object will allocate the set of instructions on the heap.
D might have a similar thing
 
If I remember correctly its something w/ scope?
 
@Zacharý *type-casts are actually meaningful, instead of letting you implicitely coerce anything to anything else
Also, no #include for char *
 
We don't have to end in "\0" :p
 
The \0 is implicit in string literals
 
And cent is a thing: 128-bit numbers if they ever get implemented.
 
1:50 AM
C# has a 128-bit type called decimal
 
uint instead of unsigned
128-bit integers.
Oh, I didn't know this until just now: D has arrow notation
Does anyone know how to pronounce the last nameGuerinot? Is it French (I think so, but I'm not sure)
 
random guess: "gware-i-no"
(i as in pin)
 
@Pavel I don't know what @Zacharý is talking about, you declare it
 
@Pavel IDK honestly.
 
template Foo(T) { void f(T param) { ... } }
About as explicit as it gets
 
2:11 AM
C#?
Template types? Would that be something like template in D? I don't know
 
@Zacharý I won't be surprised either way, but do you know D and not know any of C#/C/C++?
 
@NewMainPosts Ninja'd ¯\_(⍨)_/¯
 
@Οurous I know enough to get by in C#/C++. I actually mostly code in Python and JavaScript.
I just don't know the specifics of either language really well
 
@ETHproductions If it's French, there should be no w. The u there means the g is hard.
 
@ØrjanJohansen oh ok, thanks. so more like "gar-i-no" or "gair-i-no"?
 
2:17 AM
@ØrjanJohansen That's what I thought. As long as I don't call her "Goo-errrr----ayyyyy----nohhhhht"
 
gair is probably the closest way to write that in English.
 
@NewMetaPosts Can't your messages be more descriptive? (the question announcement title or something) (and avoid onebox too)
 
Anonymous
@user202729 That's the format that the feeds get posted in. Mods can edit the messages afterwards, but it would be time-consuming to do that for every feed message. Also the oneboxes are a feature.
 
At least if it's on the starboard...
 
@Zacharý T func<T>(T a) => foo
 
2:21 AM
(it's a known problem that there is no onebox on the starboard)
 
@quartata What language is this?
 
Anonymous
@user202729 That's by design
 
Anonymous
Oneboxes on the starboard would take up an ungoatly amount of room
 
Congratulations on moderator-hood (?) @DJMcMayhem and @Mego
 
Anonymous
@Zacharý Thanks :)
 
2:24 AM
No more congratulations mod messages please. They flooded the starboard already.
 
Because the stuff that is usually on the starboard is so useful...
 
@Dennis ... Ok, it's not.
 
Anonymous
@Dennis I find the log of the feed bots' consumption of butter especially compelling
 
Regarding this , I suggest the OP (Martin) posting an answer and move the arguments from the question there.
 
I just wanted to do it when they were both present
 
2:26 AM
11 hours ago, by NieDzejkob
the question contains arguments itself...
 
@Dennis But frequently quite interesting.
 
@Zacharý Thank-ya
 
ya-welcome
 
Anonymous
DJMcModhem
5
 
2:37 AM
I should've seen that one
M(eg)od
Mod+Mod+Mod. 3 mods in one room
What's the REMAINDER of the mods left?
Seriously though, who are the other mods?
 
Doorknob is also in here
Martin is not
 
Now Alex is no longer considered a mod (starboard ->)
 
Anonymous
The current PPCG mods (in order of election date, then alphabetical order) are: Doorknob, Martin, Dennis, Alex (for now), DJ, and myself
 
But is Doorknob active? Or ... nah. No puns, too much risk
 
So... we have 5 mods.
 
2:41 AM
5,5
5.5
 
So 4/5.5 mods in the room at the moment
 
Anonymous
@user202729 Alex still has his diamond. SE hasn't taken it away yet
 
That' s why he's a 1/2 mod
But that will be modified soon.
:p
 
Alex the 'alf a bee?
 
Or as the modern greeks call it: iiiiii /s
 
2:54 AM
@Zacharý D
Were we talking about something else?
 
@quartata How did you get D out of that?
I read "'alf a bee" as "alphabee"<="alphabet"
So I mocked the Modern Greek language with its variety of /i/ sounds
 
@Zacharý I think he was replying about your "What language is that" query.
 
AHHHH. I wasn't thinking the explicit template thing would come up
 
Well they were complaining about it being implicit
 
It's both
 
2:58 AM
I guess it wasn't clear it goes inside a template
The other thing is still void f(T)(T t) { ... }
if you prefer that
 
I prefer the latter, it makes more sense to me: it feels like a type is an implicit or explicit parameter.
 
the benefit of explicit templates is that you can then make aliases out of specialized versions even if it's just a function and not a class
although I guess you could do that with a using in C++ too? Not sure...
 
@quartata Yep.
@quartata Obviously somewhat. C++ has macros
#define V vector<int>
And maybe typedef too
 
Oh sure but that's cheating :P
You can do a typedef for classes but not a function
If you have a template on that
 
I'm just glad D isn't as dead as I first thought it was.
 
3:03 AM
@Zacharý He's active, just not here
 
but yeah you could do template <typename T> void f(T t) { ... } .... #define specializedF f<int>
 
Probably just the fact that the TZs don't want to work together
 
It would be a nice surprise for anyone working with it though
preprocessor trap
 
Yep ... IT'S A TRAP
 
@quartata So how does D determine if it's a template type or a class named T?
 
3:12 AM
... And now there are 5 4.5 mods here.
 
Police raid
7
 
All teh modz
 
Anonymous
@AlexA. hits the deck
 
deck hits you right back
 
3:35 AM
Seriously, the edits to that natural sort challenge just made it worse.
 
I agree
lol this site is interesting. sometimes I post an answer and instantly get 5 upvotes. today I just posted 5 answers within half an hour and got 0. nobody understands how voting works :P
 
Known issues.
 
the main problem might be that most of the answers are probably not verifiable because the challenge to which they were posted is closed
 
yeah, I don't tend to browse closed challenges
 
Anonymous
 
@Mego I see the C# one, and a simillar one at i.redd.it/ygatitymd5001.jpg, but I just don't get it.
 
Anonymous
@Pavel The C# one in the one I posted is a reference to how Visual Studio/Roslyn/whatever complains about style usage - it doesn't like it when people don't use CamelCase.
 
Anonymous
The second comic is more bashing on languages with less basis in objective reality
 
@Mego well you can configure it
 
4:34 AM
@ASCII-only Still, if you set the highest warning level, the compiler itself will throw warnings if your naming conventions are wrong. This isn't configurable, you just have to supress the warning.
 
What should happen in this case: print(UInt(Int(-5)))
 
@Pavel *if you enable all warnings
including the ones for naming conventions, which in this case you wouldn't be using
plus, way too many of the warnings are basically useless
@Downgoat error
you can't convert negative int to uint
 
yeah but runtime error is very high overhead
 
@Downgoat yeah well it's better to runtime error than to ignore
 
I was thinking of just doing like (~(1 << 31)) & n
 
4:42 AM
@Downgoat only in the exception case, so who cares
Although the behavior most people would expect is underflow
 
@Downgoat C# has a checked mode. If you have a block marked as checked, math operations inside of it will be checked for integer overflow and cause an error. In unchecked mode, the operation will overflow.
You could do something like that
 
Cython also has this
also a jump on overflow is not so bad
if that's what you're concerned about
 
5:00 AM
I was thinking of jump on overflow but I'm not sure on the overhead on using that for every arithmetic expression
perhaps just for debug builds
 
Why not have checked mode?
 
because imo that's a design cop out
 
Giving the developer more choices isn't a cop-out
 
you also get a lot of choices in assembly
 
You don't have to specify checked or unchecked. Those are just additional options.
 
5:04 AM
what's the default?
 
Defaults to unchecked, but the Debug configuration sets the -checked flag.
 
ok that makes sense
will maybe add an @unchecked annotation
 
I just finally got around to setting visual studio to dark theme
It's so nice
 
5:34 AM
csharp> 1/0
(1,2): error CS0020: Division by constant zero
csharp> var a = 1
csharp> a/0
System.DivideByZeroException: Attempted to divide by zero.
  at <InteractiveExpressionClass>.Host (System.Object& $retval) [0x00000] in <d5b19e6974334b03bc7f0b28ff331027>:0
  at Mono.CSharp.Evaluator.Evaluate (System.String input, System.Object& result, System.Boolean& result_set) [0x00038] in <3229a1e52ca447dba8e01e11d8e65893>:0
  at Mono.CSharpShell.Evaluate (System.String input) [0x00000] in <eb86265ea9984342a932021c0489eb9d>:0
goddammit C#
 
5:54 AM
0
Q: Shell Glob Golfing

PavelThis task is to output the shortest path to a file, after glob expansion. What is shell globbing? In most shells, you can use the * character in a path to represent any characters at the position. For example, If directory foo contains files bar baz and asdf, then foo/b* will expand to foo/bar f...

 
@Pavel Oh yes, can there be hidden files not starting with .?
 
@user202729 No hidden files or dotfiles, that sounds pretty clear to me.
 
Sorry, I read it as "no hidden files with filenames starting with .."
... wait a minute. That's a wrong assumption (in both Windows and Linux), and you can deduce anything from False.
 
@Downgoat it's really not. You have to choose between performance and safety in this case, offer both
 
What's wrong with unregistered?
 
6:00 AM
@user202729 Look at their answers
@user202729 I'm not understanding your problem
 
... Oh, I was looking at the question tab.
 
Don't forget to suspend first, then destroy
 
Why's that?
 
Jan 27 at 3:02, by Dennis
In any case, you should use flags to get our attention, not chat pings.
 
disables account creation
@user202729 everyone and their dog has already flagged it R/A, I was just having some fun
although to be fair one needs a post to flag...
 
6:04 AM
Therefore you can't flag someone for weird avatar image.
 
Kinda bugs me I have to say this every time: don't use DVs on spam or R/A
if you had flagged as R/A it would be gone by now
6 flags deletes the post
it has 5 currently
 
They're gone
 
Only 1 is
Other is still alive at -9 after 30 minutes
now it's gone
 
Caching? Both were gone before I posted
 
(DV is delete vote in this case, not downvote)
I suggest using VTD.
 
6:17 AM
No. Don't.
 
Vote to Down :P
 
You will piss off a lot of mods and Charcoalers that way. Red flags deal heavier punishments, trigger SpamRam, and take the same amount if the post was autoflagged
 
I meant I suggest using VTD instead of DV for VoteToDelete.
 
oh, sorry
yeah you're right
too late to edit
 
 
1 hour later…
7:47 AM
@user202729 I don't actually feel strongly about any of the options.
@user202729 did I actually say you could save half the program? (Can't easily dig up the bounty post on mobile.) I wouldn't think so, but I'd expect that the potential savings grow as the program does. Even the template itself is 7 bytes long.
 

« first day (2581 days earlier)      last day (2264 days later) »