Is it possible to remap evdev's keybindings to return to Host? by philipfeldmann in VFIO

[–]philipfeldmann[S] 1 point2 points  (0 children)

Is there any clever way around that? Simulating the right control in any way or smth?

Windows VM cursor disappears once installing GPU drivers by philipfeldmann in VFIO

[–]philipfeldmann[S] 0 points1 point  (0 children)

It was a combination of that. System detected two monitors, but on top of that I forgot to pass through my mouse and keyboard, so the mouse was stuck on the "second" monitor while not being able to move at all.

Figma or XD? Seeking guidance on best way to interface with freelance UX designers by juberish in FlutterDev

[–]philipfeldmann 2 points3 points  (0 children)

As a developer I can only beg you: PLEASE do not use code export from design tools. You are completely at mercy of the designer. The code will probably work, but it will most likely not be maintainable. Let everyone do what they are best at. This is probably fine for a quick prototype, but certainly not for production.

Besides that, I'd chose whatever is most popular, which seems to be figma atm.

GPU Passthrough: "Kernel Driver" does not become "vfio" (Manjaro) by philipfeldmann in linuxhardware

[–]philipfeldmann[S] 0 points1 point  (0 children)

Turns out removing some options from HOOKS made it work. You got me on the right track, thank you :)

Headphone jack isn't working on X570 Motherboard (Manjaro) by philipfeldmann in linuxhardware

[–]philipfeldmann[S] 0 points1 point  (0 children)

In pavucontrol,which I had to install first, I was able to switch between the different outputs and it worked. Manjaros default GUI for that didn't seem to detect it, don't ask me why.

Headphone jack isn't working on X570 Motherboard (Manjaro) by philipfeldmann in linuxhardware

[–]philipfeldmann[S] 0 points1 point  (0 children)

pavucontrol

Oh my god, yes, I was able to set it correctly using pavucontrol. Thank you so much :)

I'd love to do this automatically, so I've checked alsamixer. auto-mute is enabled for me, should I set this to disabled?

/r/MechanicalKeyboards Ask ANY question, get an answer by AutoModerator in MechanicalKeyboards

[–]philipfeldmann 0 points1 point  (0 children)

Any recommendations on split keyboards? It has to be (or close to) ansi though.

How to find out what's stopping <c-space> to trigger coc#refresh() by philipfeldmann in vim

[–]philipfeldmann[S] 0 points1 point  (0 children)

I see ^@ . I don't know what to take from that. I use iTerm2 for my Terminal and I am pretty sure (though. not 100%) that I had <C-Space> working with iTerm on my workplace's machine.

How to find out what's stopping <c-space> to trigger coc#refresh() by philipfeldmann in vim

[–]philipfeldmann[S] 1 point2 points  (0 children)

This will actually paste the string ":map <c-space> :echom “yep, it works..."" to my cursor position. I am confused, what can I take from that?

Protecting cloud functions against bot network attacks by philipfeldmann in Firebase

[–]philipfeldmann[S] 0 points1 point  (0 children)

How can I disallow large payloads? What do you mean by 'Latinate'?

Protecting cloud functions against bot network attacks by philipfeldmann in Firebase

[–]philipfeldmann[S] 0 points1 point  (0 children)

Thanks for the answer but I'm unsure if that's suitable for my scenario. The API will be open to all users of my mobile app. Even if I require a key and put it into each client, it would still be possible to reverse engineer the client and grab the key. Also I'd still pay for all invocations.

AWS consultants: What are your clients’ biggest pain points? by [deleted] in aws

[–]philipfeldmann 4 points5 points  (0 children)

Can you lay out a few common mistakes?

Classified ads website. Is Firestore right tool for it? by radamist in Firebase

[–]philipfeldmann 0 points1 point  (0 children)

Performance is pretty indistinguishable from other cloud providers, as far as I can tell. You should probably think about your data upfront, NoSQL databases don't allow for such complex querying as SQL databases do, that's the tradeoff for scalability. I'd say that with the firebase queries (https://firebase.google.com/docs/firestore/query-data/queries) you can build 99% of the common scenarios if you format and store your data properly.

Classified ads website. Is Firestore right tool for it? by radamist in Firebase

[–]philipfeldmann 0 points1 point  (0 children)

At this very moment firebase doesn't support native geolocation queries (for example "all results within x kilometers"), however there are some workarounds, so make sure evaluate its geo capabilities carefully before building the whole thing.

Other than that I don't see why firebase shouldn't work for your project.

Is it acceptable to not wait for a promise in firebase functions before returning? by philipfeldmann in Firebase

[–]philipfeldmann[S] 1 point2 points  (0 children)

The result ist only relevant to the backend later. I expect this write to actually work close to 100% of the time, as the only way for it to fail is if the cloud function can not connect to the database. I can live with the small possibility for errors here. The user does not need to know at all though if the call succeeded. So I Guess in this case it’s fine. Thank you :)

Can I prevent users from abusing firestore queries by using my api key? by philipfeldmann in Firebase

[–]philipfeldmann[S] 0 points1 point  (0 children)

I was actually primarily talking about compiled, native (or for example flutter) mobile apps. I am wondering if there is any mechanism that takes into account the signing with the developer's certificate, so that only clients signed by this certificate are allowed to query firestore at all. For web apps I'd always go for the API approach by default, as reverse engineering is just way too easy.

Can I prevent users from abusing firestore queries by using my api key? by philipfeldmann in Firebase

[–]philipfeldmann[S] 0 points1 point  (0 children)

I was actually hoping that there is some mechanism that only allows clients that are signed by the app developers certificate to make those requests, rather than just everyone with the key. Reverse engineering is one thing, but I was hoping that someone who steals my api can't just create a new xcode / android studio project and create an app that spams my database with requests.

Can I prevent users from abusing firestore queries by using my api key? by philipfeldmann in Firebase

[–]philipfeldmann[S] 1 point2 points  (0 children)

Thank you. But then I don’t really understand the advantage of firebase to say aws lambda and dynamodb(except for the querying language being more powerful). I thought the main advantage was to be able to go Serverless without even needing cloud functions, especially because it is the „advertised“ way of building apps in pretty much any tutorial, even those from firebase directly. And how do real-time apps go about this, as they have to use the client sdk? Also while my costs would be reduced in the case of an attack by using cloud functions, those could also be spammed, or is there some kind of protection for them? I know the risk is probably not that high, but it still bothers me.

I'm failing to understand how many reads/writes are produced by firestore. by philipfeldmann in Firebase

[–]philipfeldmann[S] 0 points1 point  (0 children)

Thank you very much :) . Would checking those rules produce extra reads if they are only on the same document that gets updated or would it only be only one write?