« first day (2325 days earlier)      last day (1154 days later) » 

1:07 AM
@Jason That would be my guess. Translated, maybe?
exaggerated shrug
 
 
8 hours later…
8:56 AM
Morn
 
Morning! o/
 
hello there
 
 
3 hours later…
12:00 PM
Can I borrow some of your flags @E_net4wantsmoreflags?
 
@Jason Sure, where do you want 'em?
 
@E_net4wantsmoreflags Ha, ah, I was looking at the triage page and flagging some. I noticed one you had edited and had to laugh at the "wants more flags" in your name.
 
Wanting more flags does happen when you scavenge for carp
 
I've noticed that "[enter image description here]" seems to be a classic among many in the review queue.
 
12:27 PM
I gave up on review queues after getting two bogus "audits" in quick succession and being banned for a month
There's got to be a better way to design that system.
 
@trentcl O, I might have to watch out if that's the case. I've flagged a ton.
 
Yeah I don't mean to discourage you from participating in review. Just, don't vote on anything that you're not 100% sure on
Some of the queues might not have audits?
 
No shame in skipping.
AFAIK all of them have audits.
 
@E_net4wantsmoreflags I skip all those that I'm not sure of, fortunately.
 
And even without hitting an audit, a moderator can manually apply a review ban if they find a bad review decision.
 
12:53 PM
oh, they changed "Requires editing" at some point. That's an improvement
 
1:19 PM
It was constantly misinterpreted.
 
2:07 PM
At work, we use this piece of software called Squidex. It's a CMS. Now, since CMS's are garbage, Squidex is naturally also complete garbage. There's an issue (that other people have also complained about) where random 404 errors happen. Try again 15 minutes later, and it's gone. What? And then sometimes it seems to persist for hours...
So I'm wondering what to tell my company when my work is blocked by random 404 errors, and what to tell them when my deployments end up getting these 404's as well
Ah, whatever, I'm probably quitting soon anyway. Who cares
 
@EnnMichael This isn't a sane way to work
 
Is this answer up to date? Couldn't one also use impl Trait here?
 
@EnnMichael My advice, if you have a bug tracker or ticket system of some kind, is to open an issue and add a report every time you have this issue. Even if nobody ever looks at it, if one day somebody says "Hey why is X failing all the time?" you can point to the issue and say "I reported this and have been keeping records"
 
O wait, impl Fn is used.
 
@trentcl So, open a ticket in our company? I can definitely do that. But it's an external component that is failing.
And the guys who wrote our software were so smart, that they are so tightly coupled to Squidex, if we tried to change the CMS it would require a complete re-write.
 
2:18 PM
@EnnMichael If you don't have the power to change the component yourself, reporting the issue internally might be the best you can do.
Since Squidex appears to be open source, perhaps you could also file an issue on their tracker and link to it in the internal one
 
We have
People have already written on the Squidex forum. I was part of this discussion. The error was never solved because nobody could provide a reproducible case. (Lol.)
I imagine that this error has something to do with caching, Squidex caches stuff quite aggressively, and the error usually pops up when I am deleting/re-creating tables
 
Sounds like your chance to shine.
 
Maybe I could try to fork Squidex and disable all caching, and then see if the error never happens again...
@E_net4wantsmoreflags You mean I should try to fix the bug in Squidex?
 
@EnnMichael I mean that you should consider writing an isolated example to reproduce the problem. A script that populates the system with junk data so many times, it ought to trigger the error.
 
@E_net4wantsmoreflags You're right
And it's gone now. It's just that easy. :|
"Back to work"
 
 
2 hours later…
4:08 PM
I can't fucking reproduce it
I'm trying really hard
 
Maybe just let the script run in a loop while recording everything. And let it run for a day.
It might just take more time.
 
4:28 PM
@EnnMichael totally off-topic, but since you complain a lot about TypeScript (as every decent engineer should, since it is a botched language) I thought I share the following with you. I'm not sure if you can have the liberty to ditch TS in favour of something else (even only incrementally introduce the alternative or use it in a separate project) but maybe you would enjoy working with ReasonML more.
I haven't tried it yet myself, only skimmed through the syntax and features documentation, but since it is implemented in OCaml and obviously inspired by it (similarly to Rust) most of the features seems appealing to me at first glance.
(And as always, learning a new language is sort of fun.)
 
4:40 PM
@PeterVaro So which part of TS do you hate the most? :)
 
@E_net4wantsmoreflags The most? Let me see.. That you cannot inform the compiler in any way of exceptions. Basically all non-trivial functions lie about their type-safety to the compiler. Which is really horrible, 'cause you cannot even use async (i.e. Promises) safely
Not to mention the beauties of: return await Promise.reject(new Error("c'mon.."));
You?
But I could mention every shit feature of JS, because those are all leaking through..
Or I could mention everything that is type-level (i.e. static) -- you cannot express any of those properly
Or that you cannot reference the implementer (i.e. Self in Rust)
 
I feel the pain on that one. Promises could have had saner use guards. It bothers me that one can await something that isn't even a promise.
 
Should I continue? I can barely mention anything that's right about TS
@E_net4wantsmoreflags Yup, that is beautiful as well.
 
@PeterVaro Some static thingies have been introduced in later versions. Might be worth double-checking.
@PeterVaro Doesn't this work for you? I've used it myself without issues.
 
@E_net4wantsmoreflags I did, you still cannot express anything those with interfaces or in abstract classes..
@E_net4wantsmoreflags Not self (i.e. this) but Self (i.e. nothing in TS)
 
4:46 PM
So you mean typeof this?
 
I had to do things like interface Interface<This> { ... } and then class Class implements Interface<Class>
 
class X { fn foo(): this { return this } }
this is also a type.
 
@E_net4wantsmoreflags Yup, try to use it in an interface declaration
 
There you go.
 
Give me a sec then
interface Clone
{
    clone(): this;
}
Yup, you're right, that one is actually working.
 
4:49 PM
Whelp, maybe there was a version where this didn't work.
 
Not sure, I don't use TS on a daily basis, so I don't know :/
 
FWIW we're still seeing new versions of TypeScript, 4.2 was released not long ago.
 
@E_net4wantsmoreflags Nice usage of the fn keyword :P:P:P:P
 
@PeterVaro o yeah, my mistake
TS and Rust made a syntax baby
 
A bastard if you don't mind me calling it like that ;)
 
4:53 PM
I have a thick crustacean skin. Exoskeleton, that is.
 
And two-hats, double the protection from above!
 
5:05 PM
@E_net4wantsmoreflags So it turns out you were wrong, I'm afraid. Let me compile you a quick example.
 
Am I missing something here @E_net4wantsmoreflags?
So it works in your class example, because that returns the class-instance
but it doesn't work with interfaces..
Of course if I change the return value to this to match the interface
then it works!
So you were half right :)
 
Well, yeah.
So do write this in both places. :)))
 
HAHAHHA
Yes.
@E_net4wantsmoreflags And even that won't work, FFS: look
 
Oh. So yes, they are not semantically equivalent.
 
5:11 PM
Naturally.
So again, as I said. TypeScript is shit. It is not a serious language and it does more harm than good 'cause it let's you believe your code is type-safe -- albeit it certainly is not.
All the features of TS are feels like they have been hacked to the language in some ways so that it would seemingly work for the most obvious cases.
 
A strong statement, for my experience. I've been better off with TypeScript than with plain JS.
 
Sure, being blind on the one eye is much better than being blind on both.
But I prefer to see on both.
 
Is ReasonML that pair of eyes? :)
 
@PeterVaro -are -s
@E_net4wantsmoreflags I don't think so, but one can only hope. But I know for sure, that Rust + WASM + GPU access would mean I grew a third eye as well.
 
ReasonML is just a syntax for OCaml (like coffeescript for JS). It's probably not worth the effort of needing extra tooling
 
5:23 PM
@copy :sob:
Although you probably saved me a lot of wasted time..
 
OCaml is a great language anyway
 
(Except for the \=== <-- I mean WTF is that? :upside_down_smile:)
 
I'd say that's a matter of taste, or being used to brackets and semicolons
 
Without a doubt!
 
 
5 hours later…
10:08 PM
I've looked at Reason before
It was really imature at the time
@PeterVaro
And the documentation was kind of incomplete
This must have been... 4 years ago?
@copy You contributed to kitty (the terminal), BTW?
 
Yeah
 
I've found a weird bug on kitty
But it might be a bit hard to tackle as a first issue... I really want to fix it though because it annoys me
Possibly it can be fixed without changing the code, because it's a graphical bug
And tbh it might have been fixed in a newer version, maybe I should update
But basically, I use dwm and when I toggle windows, kitty doesn't repaint properly
It repaints for half a second, then goes back to the old state
Until another change happens to the buffer
For example, I can toggle to a screen where kitty is open and nothing is written on the command line,
write three characters like xyz, and wait half a second. And suddenly they disappear
 
I use awesome, which is similar to dwm, and don't have that issue. So it might be a bug in dwm too
 
Possibly
 
You're using kitty for the ligatures, right?
 
10:13 PM
...Yes :D
Otherwise I'd just use alacritty
@copy Well now that I think of it, the bug also happens with Chrome dev tools
 
The ligature pull request on the alacritty repo is incredible.
 
So it probably is dwm...
@Jason What do you mean by incredible? :D
It's been sitting... for a minute...
 
It goes back ages, with people coming in trying to fix it and giving up.
 
I don't understand why... it shouldn't be that hard... lol
 
Alacritty is cross-platform and I think they're working on a new renderer.
I'm not familiar with it to be honest, but the pull request specifically was for Linux I think.
 
10:16 PM
There must be a fork with ligatures, right?
If only for linux
Maybe I should use it
 
I think there still might be, but it's quite old by now.
 
@Jason Jesus
 
10:31 PM
It's unfortunate for those of us that like ligatures, but I don't have the know-how to fix it either.
 

« first day (2325 days earlier)      last day (1154 days later) »