Ah that's way more progress than I thought! Last I heard they were still in "you're wrong for wanting this" territory.
Good! Maybe they'll start taking security seriously...
That's definitely better, but still not as good as Windows. If you click on an area that isn't a drag source it should be raised on button down. I presume it doesn't do that?
What on earth are you talking about? I honestly can't even understand what objection you're trying to make.
Wait, wait! Are you under the impression that .at() is a function call and operator[] is ...not? What?
Well... the else condition (bar) needs to be covered. I haven't used branch coverage tools in Python but in any sane language you cover the actual semantics, not the lines. It shouldn't make any difference if you write your code on one line, or with ternary expressions, or whatever.
They do have a ton of tests actually. In their defence, if this task is doing Git things then just killing it when it goes badly is probably the best you can do. Git itself is quite buggy if you stray from the most basic setup. I've had it almost completely destroy my .git directory in the past when using submodules.
On the other hand, Gitlab itself is an enormous entirely untyped Ruby monster, with extremely difficult to follow code. Not in terms of individual functions - except for the lack of types mean you can't really know what they do, they are quite clear and well written. The issue is the control flow between parts of the system. It's difficult to know what calls what, so I'm not surprised they occasionally have to give up.
I had a play with Deno's Fresh web framework recently (Typescript/TSX but mainly server rendered). IMO it's light years ahead of other solutions.
You get full amazing Typescript typing, including in templates (unlike Go for example), but unlike React you don't have to deal with JavaScript tooling or complex client side state management. It's a real breath of fresh air. (Ha that wasn't even intentional.)
Yeah you're right that comment doesn't make any sense.
threading bugs are sometimes hard to catch
Putting it mildly! Threading bugs are probably the worst class of bugs to debug
Definitely debatable if this is worth the risk of impossible bugs. Python is very slow, and multi threading isn't going to change that. 4x extremely slow is still extremely slow. If you care remotely about performance you need to use a different language anyway.
Meanwhile current AI is pretty much useless for any purpose where you actually need to rely on a decent chance to get quality results without human review.
Sure but there are tons of applications where you can tolerate lower than human levels of performance.
The amount of time ChatGPT has saved me programming is crazy, even though it struggles with more complex or niche tasks.
Here's what I used it for most recently:
Write an HTML page that consists of a tree of elements with interspersed text. These are log files with expandable sections. The sections can be nested.
The difficult part is I want the text content that is stored in the HTML file to be compressed with zlib and base64 encoded. It should be decompressed and inserted into the DOM once when each DOM node first becomes visible.
Be terse. Write high quality code with jsdoc type annotations.
It write a couple of hundred lines of code that was not perfect but took 5 minutes to fix. Probably saved me an hour writing it from scratch (I'm not a web dev so I'd have to look things up).
I was going to say there are about a gazillion free Git tutorials so this seems like a strange thing to charge quite a lot of money for. But it does look very well done.
It's not. In functional languages there's no special case like this. All if-elses are expressions. It's far superior. For example how do you do this with Python's if-else expression?
let x = if foo {
let y = bar();
baz();
y
} else {
z
}
FizzyOrange
0 post score0 comment score
Why not? I've added it to my projects. It's simple, just open README.md. Write "# Use of AI. This project does not currently use AI. / This project is entirely vibe coded & I don't read the code at all. / I occasionally use Claude Code but thoroughly review its output."
Save. Commit. Push. How is that not straightforward?