HNHacker News
TopNewBestAskShowJobs

xvinci

187 karma · joined April 1, 2022

submissionscomments
xvinci··on Tesla drivers run Autopilot where it's not intended – with deadly consequences
While you are right, using those autopilots requires a license which at least in europe is waaaaaaaay harder and expensive to get. Hell I am fine with people using something called Autopilot in the car if you get instructed on how-to, but you are absolutely not. Throw teslas and elons sometimes very misleading statements in the mix and I have to disagree with you ,sorry.
xvinci··on Users are massively giving their 1-star reviews to AdBlocker
As a passionate competitive gamer since 20+ years I see a 100% parallel to the "Cheating" problem in PC games. There is a HUGE market there and a never-ending game of cat and mouse between cheat developers and anti-cheat developers.

I fundamentally see the same structure: A client-server relationship, some game developers DO trust Anti-Cheats to a huge extent and the AC tools even have ring0 power on your device. And every game ever is full of cheaters and most of them with 0 IT knowledge.

As long as you have access to the network connection or own the end device, I dont see how this can end well for advertisers. Maybe for a few days / weeks / months here and there, but at what price.

xvinci··on Every database will become a vector database sooner or later
I think they have, they are just not that well known. E.g. SQL Server - https://learn.microsoft.com/en-us/sql/relational-databases/i... - you can also find quite a lot of papers by microsoft employees on the designs and capabilities (starting around 2016 I believe, so "pretty new"). I have used it with TPC-H and it worked wonders, never got around to using it in a production workload though.
xvinci··on Ubisoft account -including games- can be permanently deleted for inactivity
I mean there is, you send out randomized credentials "please use these for your next login". And if someone lost access to their e-mail address, the proof of ownership would be the same as it is today (aka sending receipts, keys, etc.).

But lets really be honest: These kind of companies dont give two sh*ts about security leaks and GDPR infringements, as is demonstrated almost every other week by news. Privacy or legal compliance is most certainly not the reason they are doing this.

xvinci··on Anything can be a message queue if you use it wrongly enough
Since you seem to be from citusdata: I used cstore_fdw 2 - 3 years back and at least when paired with TPC-H it was horrendously broken for both small (10 gig) and large (100 gig) datasets. It has been integrated into some other product by the time being, I hope you managed to improve it.
xvinci··on The Prime Video microservices to monolith story
Statelessnes is really a prerequisite for proper horizontal scaling (with small exceptions), so best practices for e.g. spring boot web applications will lead to a stateless architecture as well. Same goes for event-driven -> amqp, mqtt (and jms for java) plug easily into most modern web-frameworks, you can be as event-driven as you want to (which in my experience is an overhead to plain http / rest which needs to be justified)
xvinci··on Valve Restricts Accounts of 2500 Users Who Marked a Negative Game Review Useful
I mean, yeah you are right calling those out, but there is a plethora of vulnerable drivers from e.g. mainboard and GPU manufacturers, very often installed by default on new machines.

I would distinguish between an Anti-Cheat actively doing shady stuff (like it seems to be the case here) and companies simply shipping crappy software - because that's too often the case in many areas.

xvinci··on Valve bans 40k Dota 2 accounts using honeypot patch
The old saying goes (basically the same as with Malware vs Anti-Malware): Whoever loads first, wins. So you are right in theory, you could intercept any call that would allow you to detect malicious behaviour. That being said two things:

1.) Windows is a closed-source and really huge system. There are many places you will leave traces, and they change all the time. Getting it right is hard.

2.) At least for malware, windows offers official ways to get to go first with e.g. https://learn.microsoft.com/en-us/windows-hardware/drivers/i... - I do not know if this is used by any Anti Cheat though.

The super exotic theory would be a rootkit, in those cases not even windows can help you. But as with security, as long as there is easy money to be made (because most anti-cheat systems are simply bad), those very expensive solutions will be limited to selected few professionals.

xvinci··on Valve bans 40k Dota 2 accounts using honeypot patch
Everything that goes is common sadly. This includes:

- Reading from and writing to memory (either by direct means provided by windows, by custom drivers, or by exploiting installed vulnerable drivers to bypass secure boot and such)

- Reading network traffic (particularly nasty because it can be done on a device where the game and Anti-Cheat is NOT running provided you get access to SSL decryption keys)

- Having an external device react to your video feed only (either "dumb" aka on colors, pixels shapes etc. or fancy with AI and stuff) and then react by a "faked" input device (mouse, controller, etc).

- Modifying game files (e.g. replace texture walls with transparent textures)

- The very easy way: Simply exploiting game bugs. E.g. you can cheat in Fifa on console (!) since years by doing stuff in the system menu. Fifa will just disconnect the game without giving you a loss for the match.

xvinci··on Valve bans 40k Dota 2 accounts using honeypot patch
Piracy is not Cheating (or rather it is, but a different kind: cheating the developer out of his money):)
xvinci··on Git commands you probably do not need
Creating empty git commits and pushing them to a PR might be all you need to scratch that “let’s just try it once more, without changing anything” itch.

Please just don't. If your CI / CD pipelines do not offer the option to retrigger builds in some way other than modifying the repository, rather spend some time improving them.

I am aware of the "Squash commits" and similar features most CI systems have, but those boxes are easily forgotten. Plus you end up squashing everything and there are valid reasons for having more than one commit in the same PR and keeping them separate

xvinci··on I've procrastinated working on my thesis for more than a year
Except I've seen too many spaghetti code craps in production to actually recommend this. There is a plethora of reasons why colleagues (or even you) will end up not waiting until code is production ready (e.g.: A new nice task comes in which you'd rather work on, you get reassigned, you get sick and someone else has to finish, you get a great opportunity to show off and say "hey I'm already done no problem", a tester sees and tests the features and misinforms the customer, etc. etc.) I am not saying your code needs to be perfect and then you only notice the one great flaw which requires re-engineering after weeks of hard work. I am saying find a good (backed by TDD) middle ground of fast work and fitting into existing / designing a decent architecture.

My 2 cents only, and if you can make it work that's great. But I will never go ahead and recommend this to juniors or even younger seniors.

xvinci··on A mistake that killed Japan’s software industry?
I think you got it wrong: Buying hardware and setting it up and keeping it running, just as described, is / was a high barrier of entry cost-wise (Not to mention the fact that people used to actually running hardware in a data center are scarce). Many (sometimes poor) people could not / would not take that bet.

With "cloud computing" (to me even before there was the word cloud around, but thats nitpicking) suddenly your only real investment needed was your own time, which to you is "free" if you can somehow make a living on the side (some people simply accept to live poor for some time, some had their family, etc.). The few Euros for a vserver (or "webspace" at the time) were doable for most if not all. Not to mention student programs, free credits to lock you down to hyperscaler X, etc. we all have nowadays.

Or comparing it to myself: I learnt programming at the age of 12 because we got a free environment alongside our ISP contract for executing PHP with a mysql database behind it. I would never have spent any money. Now I have been a professional software developer for almost 16 years which I say is thanks to that way lower barrier of entry that was created along the lines of ~ 1995 - 2005.

xvinci··on Show HN: Portable Secret – How I store my secrets and communicate privately
Can anyone enlighten me on

  Some secrets don’t belong in your password manager. Things like backup private keys, 2FS recovery keys, wallet keys, safe combinations, treasure maps, etc.
I am a 1password user and am aware that I am trusting a 3rd party with most of my life basically (minus the 2FA, my phone), but that's the way I decided for convenience. But why would I keep passwords in there but not PKs, wallet keys etc.? To me they all have the same value. What am I missing?
xvinci··on JWT vs. Opaque Tokens
It was more about the

  and use it in another without those servers needing to consult a central service.
part. Unless you take care of key distribution yourself (like another poster wrote), this consultation of a central service has to take place to exchange key information (but not for additional authentication or authorization information).
xvinci··on JWT vs. Opaque Tokens
Unless I misread I consider this statement not true or contradictory:

  it has all the information the server needs except the signing keys, so the server doesn't need to store this information server-side. This means that users can get a token from your authorization server and use it in another without those servers needing to consult a central service.
In order to not have to care about rotating keys, a typical Resource Server would fetch the public key from the SSO server. Not necessarily in real-time, but at least on a frequent periodic basis. It even says "except the signing key", which is half true, since the public key needs to be well.. public and available.

Now this may be nitpicking but it comes with an important implication: Your jwt validating party needs to have network access to the SSO service (unless you want to provide keys for token verification yourself, which I do not recommend), which is not always a given, especially in hybrid setups (On-Prem + Cloud).

xvinci··on Heavier cars are safer for their drivers, but far deadlier for everyone else
When picking a car I wanted as much safety as possible for myself but also especially my kid and the obvious choice was a SUV (Qashqai in my case). I am aware of the dangers of a big car to others and try to drive responsible, but self-preservation (and that of my family) is top priority. Whether that warrants discussion (Maybe it's better dying myself than killing a family of 5 driving the other car) I don't know, but we're touching absolute basic instincts here if we want to change that.

On a side note: Newer cars also really do a lot to avoid dangers to the outside world (e.g. emergency braking for bikes and pedestrians), so I would rather throw a lot at improving here than discussing the safety of heavier-build cars.

xvinci··on Show HN: I made a modern web UI for Hacker News
Depends on what you mean by "proxying". Everything you do (serving a Single-Page Application or requesting HN by backend, processing it's HTML and sending the content to your own frontend) will take traffic away from news.ycombinator.com and to another domain - which comes with it's own set of dreadful scenarios.

There used to be (and still are) things like https://mreidsma.github.io/bookmarklets/jquerify.html which allow to inject JavaScript on click (and thus would make it possible to transform that site), but I gave it a shot and HN is set up to disallow this:

  Refused to load the script 'https://code.jquery.com/jquery.min.js' because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-inline' https://www.google.com/recaptcha/ https://www.gstatic.com/recaptcha/ https://cdnjs.cloudflare.com/". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.
xvinci··on Serverless DNS: Self-hosted DNS resolver at the edge
To state the blindingly obvious: It's a perfectly valid term for what OP / the github repo refers to and your response just goes on to show that you probably don't know much about these things.

Let me spoil it to you: The cloud is also not an actual cloud, it's just someone else's server.

xvinci··on Italian watchdog bans use of Google Analytics
(what other options are there LOL)

It is a hot topic, here are a few: IONOS - https://cloud.ionos.com/ Onep Telekom Cloud - https://open-telekom-cloud.com/en

But if you want to do scale in Europe you have to go for OVH: https://www.ovhcloud.com/en/

xvinci··on Authorization in a Microservices World
I meant the overhead - in the case of two services - of managing and developing two sets of schemas and a mechanism of data exchange (be it rest apis or queues. both come with a producing and a consuming side). There are many reasons where that makes sense (e.g. both ms have to evolve the shared storage schema in different directions) but I would not do it out of the box every time like the author implies.
xvinci··on Authorization in a Microservices World
> "Direct DB reads, outside the domain of each service, is a bad idea and it will be obvious to you why on the first schema change. Please don't be lazy and just say no to this."

Good read, but I am not really a fan of that stance. The "separate schema per ms" pattern is an overhead which has to be justified and even paid for by customers (small 50k projects and enterprise grade projects of million $). First and foremost the db is a shared data structure which CAN be used for communication and in a one actor writes and 1..n actors read scenario (especially when all connecting services are controlled by the same team) is typically the simpler and better approach as a start. Schema evolution will also hit you with messaging and APIs which can be done properly in smaller databases as well.

← PreviousPage 2 of 2