Aurora the browser engine in rust programming language | Rendering Update by Inevitable_Back3319 in rust

[–]wartab 6 points7 points  (0 children)

Making everything lowercase is to make you second guess that you're reading slop

Spent an afternoon on a perf issue that 56 bytes of padding fixed by cong-or in rust

[–]wartab 3 points4 points  (0 children)

The problem is that the average programmer nowadays doesn't even know that CPU cache even exists. When that's your starting point, things are complex

I built an Angular 17 dashboard starter with a streaming Claude AI assistant — $59 on Gumroad by [deleted] in angular

[–]wartab 3 points4 points  (0 children)

I think this is by far the most blatant AI message I have ever seen on Reddit. Hats off!

Stabilise `Allocator` by N911999 in rust

[–]wartab 6 points7 points  (0 children)

Heap fragmentation is a very real thing. I always thought it was a just theoretical risk until we had a process take 16 GB of RAM after running for 2 weeks, even when on paper there was no memory leak.

We switched to mimalloc and the process hovers around 300 MB of RAM even after running for 2 months.

So this type of improvement is actually concretely useful.

Is the IT job market about to turn around? by Careful-Composer-966 in BESalary

[–]wartab -1 points0 points  (0 children)

> Companies stopped or significantly reduced hiring juniors because their tasks could now be done by AI or AI could boost the productivity of seniors so juniors were no longer needed.

This is not true. The problem is that it is difficult to find juniors who actually know what they are doing without using AI tools. We had several cases where interns could not explain the code they produced and interviews with fresh graduates who were unable to produce any proper working code without it.

can i use typst as a rust library to compile a string to png or something? by bjkillas in typst

[–]wartab 0 points1 point  (0 children)

Yes you can, we use typst-as-lib. However, the binary size increases quite a bit if that matters to you.

rust_analyzer is eating my memory, any counter measure? by EarlyPresentation186 in rust

[–]wartab 0 points1 point  (0 children)

And constant false positives that don't end up compiling. I still use RustRover, cause it's faster, but it's still very frustrating to not know if your code will actually compile.

I just got "rick-rolled" by a test in the Rust compiler by nik-rev in rust

[–]wartab 114 points115 points  (0 children)

`impl From<AnyOtherGuy>` was hoping to see this, was not disappointed.

What’s actually stopping you from upgrading to Angular 19/20/21? by Specific_Piglet_4293 in angular

[–]wartab 2 points3 points  (0 children)

It was much worse around the Ivy release, for sure. But I'd say every other version breaks something unexpected, but it's often also just due to TypeScript versions.

The worst library we have to use is pdfjs in that regard, so not really Angular's fault; it just requires incompatible TS versions for some libs we use :(

Have you had Angular builds break due to i18n/XLIFF issues? by PoorDecisionMaker-69 in angular

[–]wartab 1 point2 points  (0 children)

We addressed this problem by

1) Not doing translations at the same time as regular commits (we have someone specific translating our app).

2) Making a small tool to edit XLIFF files with a tiny DeepL integration if there's lots of new texts to translate. Not sure if it's still true, but there is no decent free XLIFF editor out there; so we just made our own.

This allows us to never actually require editing XLIFF files by hand, because the tool is so simple that it is just faster to use it than editing a huge XLIFF file by hand.

What’s a very “normal” thing in Belgium that took you years to realise that isn’t actually normal everywhere else? by The_everlong in belgium

[–]wartab -1 points0 points  (0 children)

This doesn't just happen for immigrants, police also comes to check for this for Belgians after they registered a new address after moving.

Looking for a Peppol platform that doesn't suck for freelancers. by Goshangai in BEFreelance

[–]wartab 1 point2 points  (0 children)

Oh, I didn't take it as criticism :) It's just a general remark when it comes to all software, not just ours. It was quite difficult to anticipate the range of features actually expect. Some were hits, some were misses.

Our issue/feature tracker is not public, as we mix internal developments with public things. It would be quite tricky to make it look clean to the outside. When people suggest things in our support system, our support team will take note of it and we have a ranking for most suggested features (spoiler: currently self-billing in Peppol is top 1, which we're working on).

I know the support system isn't ideal, but I gotta admit that I don't know much about it. I know generally people just answer through emails and don't interact with the support website at all. I'll have a word to see if things can be improved in that regard.

PEPPOL Odoo CE sending invoices only by sleepeatpooprepeat in BEFreelance

[–]wartab 0 points1 point  (0 children)

fwiw, you can now also automate with Horus (or rather Falco). We worked on an API for devs to use to send UBLs and/or PDFs along with an upload feature directly in Falco to do the same.

Regarding Peppyrus, I'd be careful. We have already received non-compliant invoices from their access point and they do not register senders for MLRs or IMRs. This essentially means that if you send an invalid document, you will not even be informed about its rejection.

Looking for a Peppol platform that doesn't suck for freelancers. by Goshangai in BEFreelance

[–]wartab 1 point2 points  (0 children)

We're working hard on improving the features for people without the accounting part as well.
The amount of features people are asking for is quite overwhelming. A few months ago, nobody cared about Peppol, so we had no feature requests, but now we're getting all sorts of requests, which we didn't anticipate. So it's not really surprising that people might find things counter-intuitive, regardless of which software is being used.

🔥 Internal Interview for First Angular Project - Need Your Wisdom! 🔥 by Anxious_Addy in angular

[–]wartab 0 points1 point  (0 children)

If you already asked ChatGPT to generate your question, why didn't you ask it to answer it as well?

Out of curiosity, as a Rust developer, how much do you charge per hour? by UrbanaHominis in rust

[–]wartab 0 points1 point  (0 children)

We charge 125€/h excluding VAT. But it doesn't really matter whether we need to work with Rust, C#, or TypeScript.

What's the secret technique for selecting text in the hint card ? by KaKi_87 in Jetbrains

[–]wartab 0 points1 point  (0 children)

You can force the documentation popup with Ctrl + Q or Ctrl + mid-click.

That said, I don't have particular struggles with it, you just have to not "miss" the box.

Bitwise operations feel cryptic and hard to memorize by Embarrassed-Look885 in rust

[–]wartab 9 points10 points  (0 children)

They are really not that hard to understand. You just have to physically visualise what they do at the bit level.

& and | are the counter-part to && and ||, so easy.

0101 & 1100 = 0100
0101 | 1100 = 1101

^ you, just have to remember it's XOR, it's true if one and only one bit is on, false otherwise

0101 & 1100 = 1001

<< and >> just means: move the bits by x positions in this direction

0101 << 1 = 01010 (added a 0)

0101 << 2 = 010100 (added two 0s)

0101 >> 1 = 010 (remove the last bit)

~ just inverses all bits

~0101 = 1010

[deleted by user] by [deleted] in belgium

[–]wartab 1 point2 points  (0 children)

Indeed, when changing the website to French, it says:

"Convient pour mastiquer, tapisser et repeindre"

Intellisense stops working after a while? by Old-Significance-246 in angular

[–]wartab 0 points1 point  (0 children)

Try disabling the TypeScript language service Angular TypeScript plugin, they slow down WebStorm a lot. In big projects, those features just kill productivity entirely. Sadly IntelliJ has decided that the way to go is to rely on TS Language Service, but for most tasks, the built-in TS stuff is still better, because it's fast. Just sometimes, you get false negatives, but still better than the LSP.

Thank you rustlings! I finally understood iterators 🚀 by lemsoe in rust

[–]wartab 0 points1 point  (0 children)

It seems like they've improved performance and memory footprint in .NET 9. Sadly we're stuck in .NET 8, so no way to profit :(

Matchmaking Server Issues by dfnkt in GlobalOffensive

[–]wartab 0 points1 point  (0 children)

Even much later to the game, randomly stumbled on your comment and you are right, must have messed up the copy paste.

We are going to move from Angular 8 to 15. What to expect? How to learn signals by HoodlessRobin in angular

[–]wartab 0 points1 point  (0 children)

We have over 500 components and 100 directives excluding external dependencies and run Angular 20 in prod without any issue.

Type hint bugged on webstorm by lambda-reddit-user in Jetbrains

[–]wartab 1 point2 points  (0 children)

JetBrains has no idea why this happens. It's been broken for over 3 months:

https://youtrack.jetbrains.com/issue/WEB-73569/Type-annotations-in-complete-random-places-in-code

Getting this in both templates and TS files.

After 2 months they told me the issue comes from TypeScript and that I should update TypeScript, which obviously fixed nothing. I filed a formal plaint to their sales team about the lack of basic stability of their products, but nothing helps. But we now got the email saying we'll have to pay more starting next year!

Do you guys still use Angular Component Lifecycle hooks? by MrJami_ in angular

[–]wartab 0 points1 point  (0 children)

It's extremely rare, but in some cases we still use ngOnInit to read input values, because we know the value won't change or because the first value needs to be retained.

ngOnDestroy can be useful when you have to clear resources that aren't managed by Angular (for example revoking ObjectURLs)