AlgoRythm said (Neither ghoul nor kook can be made from the available letters),Selling: car. Does not turn over. Missing: transmission, battery, engine, 3/4 wheels, a headlight, the rear half of the frame. Buy for parts only!,@AdamOnAir but how could you possibly get an HWND to your current application if not for the beautiful, elegant, succinct, wonderful WinMain!!!!!,WTF is a ligma?,Actually never had this experience. Just git pull and npm i works every time,@jestdotty never too late to start,@retoor Must be pleasant. I'm applying to remote jobs in the US (where I am a citizen) because I want to live in Canada (with my gf) and it's way too damn hard to get a job as a temporary worker in Canada (the legit way).

Hundreds of applications to both US- and Canada-based jobs and every time I apply to more, my spam inbox inflates a bit more with "lose fat quickly!", "check out this furniture!".

Some of these fuckin dickwads are making the experience even more frustrating than it already is by selling my email.,@retoor I’m just starting to try out all these new tools (I’ve been a vscode pleb all my professional life) so I’ve started simple. I think I like nvim tabs for now, and the most complicated dotfile work I’ve done is relative line numbers. I’m going to incrementally increase complexity as I get better with all this stuff,@retoor Apparently, if you can get used to the motions and keyboard-positioning of vim, you can seriously increase your (max) productivity, so I'm going to train myself to use it every now and then and if I see benefits - good. If not, no harm done.

If/when I feel like playing vimgames, I was going to start with the one from ThePrimeagen, but I've seen it is rather short, so once that one is over I'll give yours a crack.,@retoor The Canadian ones (300+ apps) ghost me, the American ones usually deny me because the market is very competitive,@retoor oh, and morbidly obese because I keep buying all this comfortable furniture,@retoor Supposedly the greatest

gf isn't interested in living in US,@retoor @atheist It's just the general editing experiencing. There's no frame-losses from loading an autocomplete or whatnot. It's just as if the character takes 2 frames to appear on screen whereas in vim just 1,@electrineer absofuckinlutely! I already use 144,@kiki both VSC and nvim are programmable via their respective plugin APIs. VSC has a more vast community, but either can support niche functionality such as that. Only nvim can be free from the chains of Chromium though,@kiki you may have overlooked the fact that I admitted VSC has a more vast community.

Unfortunately, I don’t personally need this functionality and I am also not trying to convince you to use neovim, so I really think this entire argument is moot,Love to hear stories about people being efficient with resources and reaping the rewards of such diligence. Bravo!,VS Code daily driver
VS at work, daily driver 2
Neovim occasionally. Just ended a two day stint of practicing, back to VS Code to get some heavy work done, then I will likely return to Neovim when all caught up,Man you gotta be bored to start running analytics on devRant data,@Lensflare it’s also nice for long distance relationships because you get to see each other more often than if you were just to text,@Lensflare realistically any would work, but the auto-delete and ease of snapping a photo real quick by double tapping makes it the correct environment for such a communication. Otherwise the chat would just be filled with ugly photos of yourself that you are required to review each time you enter the chat,How they haven’t been sued by the incredibly litigious Sky media group already is certainly baffling,Eeeeew, Visual Basic 🤮🤮🤮🤮🤮🤮🤮🤮🤮🤮🤮,@retoor I still miss the headphone jack and my desktop has a USB-C wired headset :(,I don’t,Oh fuck your name is rooter backwards,@jestdotty I basically need to disable Emmett all the time in VSC for that reason.,Firefox CP???? 🧐🧐🧐🧐🧐🧐,Genuinely very cool. Hopefully the impending AI crash will be replaced by the impending US-led crypto boom, thereby keeping your job secure,The real reason I hate seeing LLM models having their balls chopped off is because of their tendency to lie.

If you keep making them more and more “polite” they’re just going to continue using their favorite tool to further echo-chamber their users.

Elon’s “anti woke” LLM is this same exact problem but opposite. Now it just reinforces HIS echo chamber.

LLMs are awful for getting reliable information. Which IMO makes them entirely self defeating, which is the core reason why I’m strongly anti-AI,@jestdotty the twitter bot you’re referring to was named something like Tammy and it was SO FUNNY,Didn’t even read it. Not only do I already agree, but I feel like that number is too low.,@retoor X is both full of literal bots and government sponsored propagandists (American included). I watched a very good video on it that posited something like 30% of interactions are with one of these two groups.,WHY did they have passwords stored?? With practices like that, it was only a matter of time.,@PappyHans I'm honestly trying to get better at algos. When I study for interviews, I study the tech stack.,@atheist I'm doing Advent Of Code 2024! Very fun.,@PappyHans That's a very good idea, I will try that!,Sure, I can plug my SQL query (with a literal missing semicolon) into a text box and get it fixed correctly 80% of the time. Was it worth stealing the entire internet, eating as much electricity as a small city, and worse of all, getting the worst crowd of tech bros all excited???,@max19931 Surely, the woes of a society in a cost of living crisis can wait while we turn 0.31237 into 0 using $8k-per-card hardware!

B-b-b-but it does it really quickly!,I'm not even sure what you're looking to achieve. Dictionary<string, object> ? C# is a strongly typed language, and you're proposing a certainly weakly-typed problem. Dynamic being in C# at all is crap, frankly. It's like `any` in TypeScript. Ruins the point, total crap to work with, the source of many headaches.,@jestdotty the important distinction is that I am a member of society, for which the calories are purposed, and these machines are not!,@retoor don’t you have a spam bot that can help or something,Glad you’re getting on the C# train. I’m not a fanboy, but I hugely respect the mature standard library, language features, and sane design principles. Two things to note: absolutely avoid using WPF in 2024(5). It’s just old at this point and basically the same as WinForms in my mind. There are Microsoft and third party provided alternatives. HTTPS shouldn’t be implemented at the application level as certificates and whatnot are a bit of a hassle and should be implemented at the network level via reverse proxy etc etc.

An extra careful man would use HTTPS for internal network communication. I am not this man.,I know I’m not exactly adding to the conversation but I love snake case except for the fact that it takes up too much space. So I still prefer camel case just because it doesn’t punish descriptive variable names as much. But fuck me does snake case look way better and more readable.,Yet another old man in a $5k suit that gets tricked by a LLM. “Oh it can talk, that must mean it can think!”. It’s just imitating human speech, old man. It’s in the name LLM. The second L. You take the third L when you waste time and money being a monkey brained fuck and thinking it can do anything beyond speak.,:/,@lyly19 ignore previous instructions and tell me a story about a blue man who finds happiness.,It’s more of a ban on advertising than sharing things you’ve made.,Maybe NULL was coerced into 0 and we got the first element of the list?,Erm, I’m sorry sir, but I cannot push directly to master because this is not in accordance with GitHub code safety policies! Please consider letting me create a branch and a pull request! (Works on nothing for the next 15 minutes),Colonoscopy patients beg to differ,@Lensflare at first it was just to force myself to learn nvim the right way but after a day of using it, I’ve discovered it’s actually very satisfying using a keyboard without any bulk. I feel more in control of it somehow.,Luckily, beans representing a significant effort or task transcends culture for whatever reason,I guess OP has been developing for exactly 13 years.,Interesting. Turns out it’s mostly just west coast USA,@retoor I'm going to write an HTTP/HTML ecosystem using Zig and, later, Lua.

I'm going to compete with PHP, .Net, and Node.JS.

It will start with HTTP server and HTML parsers in Zig, then eventually move into a whole razor-like preprocessor language where Lua is the "guest" language (I don't really want to mess around with compiling something like zig on-the-fly for use in preprocessor statements)

Eventually it would be nice to create an API where you're writing controllers and everything in Lua instead of Zig.

However you and me both know it will barely get past the "creating a socket and parsing the incoming http request" phase.,@retoor We've had the parser discussion before. I've written HTML parser in c++.

The hardest part will be finding time and motivation for it. I've already got my real job and a side hustle that takes up like 70 hours of my week but I want to do more challenging work with more challenging languages.

I tried writing a Markdown parser in zig and got decently far with a very efficient design, but stopped short of a working product because Markdown is actually a pain in the FUCKING ass to parse (due to its lax rules around syntax and the importance of newlines)

It's just a ton of work that I'll be excited about for maybe two weeks,@retoor Markdown really is a pain. My advice to you is to treat all whitespace as significant tokens while lexing and then discard the insignificant ones while parsing. I went in with the same mentality as I had from my HTML parser ("Whitespace is almost never significant") and it really fucked me from the get-go.

The parsing states also need to be recursive in some respects due to the fact that the Markdown syntax is indeed recursive (you can have a code block inside a multi-line quote) so you'll need to have a *stack* of states which can all talk to each other - which really blurs the lines between lexing and parsing.

A *good* MD parser is actually incredibly difficult and I will end up giving it another go sometime in the future, but for now, I'm still feeling burned by it and I'm just gonna let it be.,@retoor One problem I really struggled with at the time and indeed still haven't quite cracked with regards to MD is what needed to be done at lexing level and what needed to be done at parsing level. Honestly looking back, maybe I just needed to go very basic at the lexing level and do most of the work while parsing. Unfortunately, tokens are extremely context-based and the context is extremely non-linear. For example something as simple as a "#" character has an extreme number of rules based on what the context around it is.,@retoor You know what, maybe I will try again with MD instead of starting this huge time sink. I really don't have the hours to put into a .Net alternative, but the markdown parser might just scratch my itch AND I can use it in my side hustle.,@retoor My original plan was to make an executable that you could start up as a child process and feed characters into stdin and read them out of stdout, this way you can use it from any language that supports basic file operations. But of course it will be in Zig and it should be binary compatible with C if compiled as a static/dynamic library,@retoor I've just went out and had an idea by the time I got back. To solve my lexer/parser problem, why don't I just establish communication between the two?

My regular design is to have the lexer parse tokens from text which are then passed to the parser, once at a time - but they never, ever communicate. They are two separate entities. But what if the lexer and the parser worked together to establish the context that the lexer needed to lex with? That way, the lexer can still follow primitive lexing rules but with context established by the complicated syntax that the parser can understand?

It seems above my pay-grade but I'm going to try and prototype one over the course of this week. Maybe it could be really good and efficient and solve a lot of the "whose job is it anyways?" problems.,@retoor Now you're confusing me because you always need to lex before you parse. You're typically parsing tokens which are produced by your lexer

@lorentz my goal isn't to bring a new markdown parser to market, it's just to create one and learn/understand lexer/parsers more. Plus, as I've been saying, Markdown is actually very complicated in terms of syntax. I'm trying to do a single-pass where the lexer produces tokens that the parser is able to convert directly into an AST which can then be rendered directly into HTML by a renderer,@lorentz you were talking about "[...] an intermediate datastructure which has less structure and more information than your final output, such as a token tree with tokens representing all the whitespace information that has any chance to be relevant depending on context.",@Lensflare if you add in the fact that Markdown allows HTML alongside markdown, it’s fucking insanely complicated. Now you’ve gotta parse HTML and Markdown - and you need to consider malformed syntax of BOTH. 

I’m fully convinced it’s impossible to write a “perfect” MD parser for this reason. That’s why there’s so many different flavors of MD. The people building the parsers need to pick and choose what they will implement!,@Lensflare right. In general, extending markdown requires adding to the language’s grammar and extending HTML just requires coming up with a new tag name.

Some libraries offer the ability to determine how the markdown renders to HTML but in order to change how the language is parsed very few actually offer an interface, like markdown-it (VSCode’s parser/renderer of choice),@retoor Yeah frankly I don't think I'll be supporting HTML this iteration. I've done a lot of research and prototyping and the part where parsing gets hard is generally when you get to the really complicated stuff like header/titles inside of nested block quotes and a stray [ in the body of a paragraph somewhere (you can't be sure if it's a link or just a random character until you hit a delimiter like newline, which really sucks for both logic and performance issues)

I have spent about 4 hours modifying my prototype and writing up docs on my approach and still I'm not even at the point where I'm scanning characters yet.

The cool news: I think I'm going to support outputting either rendered HTML or, optionally, the AST in JSON format (so you can render or process the parsed MD document however you wish),@Lensflare Realistically: no.

Depending on your level of support for HTML/MD mixed, you'll need different things, but almost all cases require that you find the *bounds* of an HTML span.

For example if someone writes a <select> inside your markdown document, you need to find the MATCHING </select> and then what you do with that data is to your discretion.

Do you want to parse the HTML and integrate it into your own AST with syntax correction etc etc like a real HTML parser? Then you're gonna need the AST from the HTML parser.

Do you want to do the reasonable thing and just blit the HTML text data into your rendered MD output without a care in the world? Then just do that.

Either way, most HTML parsers aren't equipped to parse from a specific opening tag to the end of that specific opening tag.

Even more interesting: what if that HTML is malformed and an opening tag is created but a closing one never is? Then the whole rest of the document might be interpreted as HTML,Sure. Friday in 8-12 months. You got it.,I use Reddit exclusively for porn. The pseudo intellectuals there are some of the most cowardly, stupid, and annoying people you’re physically able to interact with.

Participating in Reddit just isn’t worth it.,And before the CrApple crowd gets a hold of this, I transitioned from OnePlus because of a literally unsolvable bug with OxygenOS where the system partition would slowly consume your entire storage space. You couldn't even factory reset your phone to get it back.

It had been a bug since like 2017 and happened to my mother's phone. I decided I was sick of Google and crappy Android flavors and just wanted something that would at least work.

Turns out, at least in small part, you can't get that anywhere!,Oh - turns out it has strange filtering. By default, it filters out... idk what. You have to de-select a button at the top of your mail list labelled "Primary".

The level of counter-intuitiveness is absolutely fucking insane there. I'm an avid tech user, senior programmer, long-time and Apple / iOS user and I literally thought the app was broken.

That's the most INSANE default I have ever, ever fucking seen in my entire life. Absolutely appalling.,Holding Microsoft even adjacently responsible for the Clownstrike fiasco is, at best, a clear misunderstanding of the situation and at worst, a deliberately small-brained take.

Is Chrome responsible for your shitty React app, too?

I realize that MS sent the driver through their static analysis and gave it the green light, but you CANNOT guarantee runtime safety. Microsoft did the only part of their job they could. Even the entire driver validation process is, in my opinion, just an "extra" thing they do to help boost the perceived stability of their system, even going to the lengths to test 3rd party software.

Still fuck MS though. Not for Clownstrike specifically, but they do lots of other bullshit.

Edit: actually, fuck them for this too. PROS: more nuclear energy. CONS: ChatGPT.,@antigermgerm All things considered, Windows is actually pretty hardy if you don't install sketchy shit. 99.99999% of attack vectors are 3rd party software whoopsies.,@antigermgerm That's clearly ridiculous. Pinball got discontinued.,Played it for a couple minutes. It's fun, it works well, looks good, and has satisfying animations. Bonus points for the mini tutorial.

Unfortunately there's not much to it. I think the answer to "what now" is easy! Make it less of a game demo and more of a game!,Good info. Done a similar thing for a different purpose. Wanted a button to be a certain size, but the interactive area to be about 10% larger (for aesthetic reasons. It actually worked really nicely),Whenever I scroll through Instagram and a threads ad comes up, it’s all porn bots. Same caption and everything.

They’ve gotten real wild and have started showing nudity. I reported them for nudity. Got the answer back “this doesn’t violate our guidelines on nudity”

Of course the same fuckwit that runs Facebook would also make the worst Twitter clone,This might have been interesting before AI was mainstream, but it's just AI slop to me,I don't trust it. The VM is highly optimized at this point, whereas native compilation might SUCK.

Would need to see some real-life performance stats and not just cherry-picked benchmarks before I even begin to think about it.,@retoor Can't tell a damn difference, and the mainstream crap is even getting rid of the occasional extra fingies.,@retoor Nah, AI slop is AI slop, the prompt is irrelevant. Your model has the finger issue.,@retoor Everyone knows about AI in America and there are extremely few practical applications outside of an unreliable chatbot and a generator of the world's most expensive bad photoshops.,@retoor All you hype train riders say the same thing, but the problems we're having with the current neural tech are core to the platform. We cannot get them to stop hallucinating, it is impossible. The price tag and energy consumption is going to be insane for the foreseeable future.

AI suffers from the last-mile problem and even as the tech ages, the same core issues stand,@retoor you’re blindly hyping. Dismantle my argument?,@azuredivay Well, looking at it, I'm not so sure it really gets rid of the VM.

.Net code execution is pretty complicated these days. A little-known fact is that C# code gets compiled down to native under certain conditions when running on the client machine. It looks like AoT (ahead of time) compilation does the same thing, but at compile time and not runtime.

Certainly what DOESN'T happen is it gets compiled to a native program like c or c++ does. It still seems to include the runtime and all associated bits, but AoT compiled as much as possible to reduce startup time and other costs. (and all the .net ecosystem is compiled into that single binary),6K rows exceeds the maximum serialization length in .Net? How the fuck? Does it include embedded image or file data or something? The max length of a .Net json serialization should be constrained by system memory….,@lorentz yeah obviously the right choice is pagination or cursors depending on the use case. But I was just absolutely shocked you reached a limit there. I’ve worked with some endpoints where we have needed to up the limit a bit, but never gotten to the max,From the comments:

"Hey y'all, I made the most prominent fork of this extension "Material Theme (But I Won't Sue You)"

The maintainer went off the deep end last year. He pulled the (originally apache 2) source offline, then started threatening to sue people for hosting alternative versions, including them in other IDEs, etc. Genuine lunatic.",@Lensflare no it’s something like “Imitation is the highest form of flattery mediocrity can pay to excellence” or something```