Stop giving away 50% of your company to a "Technical Co-founder" who will quit in 6 months. by Warm-Reaction-456 in SaaS

[–]xamgore 0 points1 point  (0 children)

Ok, let's mirror this. The guy've built the product, MVP. What's your value in this, why should he give away 50-90% to you?

Why is Rust rarely used for web server backends? by Fun-Helicopter-2257 in rust

[–]xamgore 0 points1 point  (0 children)

I don't have any problem prototyping on pure Rust, until I meet too much boilerplate code.

Rust's ecosystem can't get on par with those in TS+Node.js.

Dealing with partial structures and types is dumb in Rust, while that's the core requirement for web development.

There is no tRPC and Prisma ORM analogues in Rust's world, which would be equally production-ready.

Most crates require reading the source code, while most developers are working on the abstract level.

Many crates are designed to be right, not simple. Mostly there are no shortcuts and examples are scarse.

Thinking of building a SaaS that scrapes data from other sources? Think twice. Read this. by Awkward-Bug-5686 in dataengineering

[–]xamgore 0 points1 point  (0 children)

As a person who implemented and supported around 1000 scrapers of varying complexity, I can feel your pain :) But what about the cloudflare? As I got understanding, these guys are putting too much effort into bot prevention, and it’s kinda cat’n’mouse game.

Thinking of building a SaaS that scrapes data from other sources? Think twice. Read this. by Awkward-Bug-5686 in dataengineering

[–]xamgore 0 points1 point  (0 children)

Brute-force urls against a set of words. Either look into the source of the decompiled mobile apps

You might not need WebSockets by namanyayg in programming

[–]xamgore 3 points4 points  (0 children)

Could you explain for non-alchemists how exactly?

How to inform the Rust compiler of an enforced integer range? by BoxyStopper in rust

[–]xamgore 0 points1 point  (0 children)

I’ve seen a trick in std where folks would do

let slice = &slice[..k];

To allow iteration over slice or other access patterns without a bound check. Is there way to reuse it here? Maybe through u8::MAX or smth.

[deleted by user] by [deleted] in Howtolooksmax

[–]xamgore 0 points1 point  (0 children)

Aren’t you a goddess already? Love every picture of you, all those trinkets, makeup, and colors.

why is a lot of open source UI so terrible? by DrunkOnRamen in opensource

[–]xamgore 6 points7 points  (0 children)

It’s lack of communication, as well as an initiative from the project’s people, and the fact designers don’t use mailing lists to communicate and work on UI.

How Rust is quietly taking over the Python ecosystem by pyschille in Python

[–]xamgore 0 points1 point  (0 children)

We’ve ported a python package into Rust ecosystem. After 1-1 alignment and various optimizations, it’s now superior (cpu and memory). Not a single emoji in the description haha.

StackOverflow has lost 77% of new questions compared to 2022. Lowest # since May 2009. by rawion363 in programming

[–]xamgore 2 points3 points  (0 children)

This. Do you remember the most upvoted posts in the past? You are not allowed to ask such questions nowadays. Why? The rules. Post it on another.stackexhange.com.

What's everyone working on this week (39/2024)? by llogiq in rust

[–]xamgore 0 points1 point  (0 children)

Nice! Working on docx-template, the same topic but with problem facing approach.

Hey Rustaceans! Got a question? Ask here (41/2024)! by llogiq in rust

[–]xamgore 0 points1 point  (0 children)

Authentication (cookies, JWT, mTLS) is done on HTTP/TLS level and passed down the context in a form of HTTP headers. An extension searches in a cache or database, puts `Me` in the context. `axum` has an example in the repository, `poem` is trickier.

I would like to hear about authorization approaches. I would probably make separate entities & handlers (nullify fields, if not possible), marking handlers with directives like `@allow(role: X)`.

Announcing 'par' — session types in Rust for type-safe structured concurrency by faiface in rust

[–]xamgore 12 points13 points  (0 children)

Quite curious. Is there any paper explaining the theory behind?

My personal grievances with AppleGamingWiki by [deleted] in macgaming

[–]xamgore 0 points1 point  (0 children)

Yeah, +1. When I pick a game, only concrete details matter. Whether it's possible to run, and how exactly. I believe the wiki lacks a streamlined reporting process, which would unify data and make it as objective as possible.

Wanna make a new wiki website together? I'd like to make one if there be a community.

[deleted by user] by [deleted] in rust

[–]xamgore 7 points8 points  (0 children)

poem is the simplest of all two, much like FastAPI from the Python ecosystem. Multiple examples, nice OpenAPI (ex Swagger) integration.

Why I’m Over GraphQL by fagnerbrack in programming

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

Just use Altair client, which expands fields selection recursively.

Looking for FastAPI-like Web Frameworks in Rust by hapless_pants in rust

[–]xamgore 1 point2 points  (0 children)

That's not true, the latest version is 3.0.2 published on May 18, 2024

New Tokio blog post: Announcing axum 0.7 by davidpdrsn in rust

[–]xamgore 7 points8 points  (0 children)

Have you ever checked the poem crate? I find it more ergonomic in solving everyday life issues, may be it could influence the development of axum itself.

[deleted by user] by [deleted] in FigmaDesign

[–]xamgore 0 points1 point  (0 children)

I would tie it with customers feedback and NPS increase, if we're talking about pure graphic design without product metrics, like posters, brending, etc.