HNHacker News
TopNewBestAskShowJobs

nyxxie

263 karma · joined May 14, 2017

https://twitter.com/malwrar
submissionscomments
nyxxie··on PC games are fighting a new surge of cheaters and hackers
I built my initial programming/security skills by making PC game cheats, and now that I'm actually working in the software industry on other stuff I decided at the beginning of quarantine to see if I could still do it. Specifically, I targeted PUBG.

They've added obfuscation, that's about it. Even one of the guys the author interviews admits it:

> “Last year, we spent time working on various measures to block cheat programs,” explains Taeseok Jang, executive producer of PUBG PC. “Most of these actions focused on blocking cheat program developers to make it more difficult for them to create these highly lucrative cheats.”

That obfuscation was probably a huge problem when PUBG initially started adding it, but so long as some bored high school kid has a pirated copy of IDA and a desire to prove themselves, that info is going to end up online. Each new obfuscation feature or anticheat detection becomes a challenge, and the results of that challenge being inevitably solved are inevitably posted in a public and high-visibility place for others to learn from and use.

All of this public information meant that creating a cheat for the game probably added around a month or two of work to adapt to the cheat prevention efforts, on top of the month or so that I spent looking for the actual in-game structures necessary to implement the radar I was going for. I already expected every hindrance I encountered when reversing the game and writing the tooling to interact with the game's process. It was still daunting, especially since I had never touched the windows kernel until this project, but ultimately when I ended up getting everything working it felt like I was just using the same techniques I used to use back in the day only with extra steps.

My takeaways for anyone interested in preventing videogames from being cheated in:

  - Cheaters will eventually find a way, but you can always reduce the quantity and quality of them.
  - All information on how to write a cheat for your game eventually ends up in public forums. Keep an eye on those and learn how most people are writing cheats and target those methods specifically.
  - Obfuscation (new detentions, new anti-reversing measures, new countermeasures to cheating methods) buys you time in the immediate term and invalidates existing online information in the long term. They're like antibiotics--they increases the barrier to entry and pain factor of cheating only if you continue adding/changing it. 
  - Obfuscation will never be adequate to prevent cheating entirely. Human monitoring, ML, skill-based pairing, and full visibility & control over hardware the game is executing on are probably the next generation in terms of cheat prevention.
nyxxie··on Tanka: Our way of deploying to Kubernetes
Terraform is really good at describing how infrastructure should be provisioned (VMs, load balancers, dns entries, networking, etc). Provisioning software on a VM and keeping it in a consistent state, however, is not something it's very good at. Userdata is very difficult to do anything complex with (limited size payloads, optimized for uploading a single shell script), and the provisioner system is explicitly described as a "last resort". This makes Terraform not so good at describing how software should be provisioned.

There is a bit of a movement, however, behind using it to deploy software by pairing it with Packer. You use Packer to create an e.g. AMI whose sole job it is to run your software (like a Docker container) then use Terraform to launch a bunch of EC2 instances that have juuuust enough resources to effectively run your software. That'd allow you to eliminate k8s from your stack, though it remains to be seen which stack would be more cost-efficient to run on.

nyxxie··on Ask HN: Solo devs, how do you plan your development?
Github issues and milestones for me.

Generally I put all features, ideas, bugs, etc into small granular issues that I can ideally complete in a day or two. I’ll group them into milestones representing high level goals (“implement video editor”, “v1.1 release”, etc) and then prioritize issues accordingly into a kanban dashboard.

I find that this method takes little extra time and lets me separate my development brain from my project management brain. I can come up with high level design and compose goals, then start hacking away later in tiny sprints without needing to think too much about how things fit together. Issue comments are also great places to record ideas when you’re e.g. at a bar with friends and have a sudden breakthrough that you want to jot down.

Most importantly though it helps with motivation, since it’s usually much easier to pick up my laptop knowing I’ll be able to achieve something that day rather than making incremental progress towards a larger goal.

nyxxie··on Networking Guides for Linux Sysadmins
That knowledge is becoming increasingly low level though as we build further abstractions over it. If you're working on a network you probably aught to know how TCP works, or at least know how to use Wireshark and a reference. If you're trying to spin up a simple webapp on AWS, you can pretty much stop thinking about firewalls and networking once you set up security groups/NACLs/policies/etc and confirm you can hit whatever is behind them. With new trends like immutable infrastructure coming into vogue, I'd even argue that system administration altogether is becoming a more niche skillset.
nyxxie··on I asked my students to turn in their cell phones and write about it
> If you need to constantly look up informations, it means you have no long term knowledge of anything.

I don’t think this is a very charitable interpretation of what GP was trying to say. Of course you can’t get by being a blind conduit of Google’d/Wikipedia’d/etc information, but you certainly don’t need to (and probably can’t) cram everything you need into your memory for instant recall on demand.

How about a middle ground: memory can be thought more like an LFU cache, where “use” is defined as reliance on explicit details of a concept. For example, I rely daily on programming language syntax and best practices and therefore have them deeply embedded in my mental cache. Other knowledge however, like sorting algorithm implementations, I rarely utilize and probably won’t remember after the next time I’m quizzed on it in e.g. an interview or conversation with someone where I’m trying to sound smart (cache miss).

In many cases where I suspect that I’ll frequently encounter cache misses with a particular piece of knowledge , I often find it better to just cache high level details (useful properties of sorting algorithms) and Google the missing details. That or work with subject matter experts.

nyxxie··on Google claims copyright on employee side projects
Idiotic policy. Side projects are one of the best way to learn new skills (they're the entire basis for my current skillset in this industry!). I often find that I import lessons and technologies learned in my freetime to my day job as opposed to stealing niche lessons from work. This fact basically makes my side projects akin to ongoing training that my employers aren't paying for but are reaping value from.

Not only is it unfair for these companies to leverage their power to try and claim ownership over side projects, but they're actively shooting themselves in the foot by discouraging a massive and free source of continuous education for their employees.

nyxxie··on Ask HN: What are you thankful for?
Definitely this for me as well. When I was younger I was at an interesting crossroads with my freetime where I'd either program or play video games obsessively. I decided to try putting that video game energy into improving my programming ability, and 10 years later now I'm in the valley making FAANG wages at a young age and still absolutely love programming. I have no idea how my life would have turned out if I didn't luck into discovering this amazing hobby. I feel bad calling my job "work" since I very rarely don't feel like coming in.
nyxxie··on Go master Lee Se-dol says he quits, unable to win over AI Go players
History is filled with constant examples of longstanding traditional arts and practices being invalidated and surpassed by technological advances. It seems that Go is one of year 2016's losses to technology. If history tells us anything, all that this means is that the future is going to be just a little more different than it was before. At some point, my work as a programmer might even dry up in the face of technological progress. I'm really looking forward to seeing how the world changes after that one. I wonder if I'll end up like Lee Se-dol and declare my defeat to technology and wait to die, or if I'll learn to adapt and adjust to a post-programmer society.
nyxxie··on Vinod Khosla Wins Ruling Threatening Public Beach Access
I couldn't care less about this rich person's beach nor the people who want to surf on it, but I do care about the property rights issue at play here and how it intermingles with popular perception and treatment of "rich people" (a relative term that, for most people reading this, almost certainly is applied pejoratively to them by those who have less than they do). I don't like the idea that someone feeling entitled to something I own factors into the question of control over that thing -- I worked and paid for it, I should get to do what I want with it. It seems to me that this simple principle is thrown out when the owner is deemed "rich", which is frightening to me.

> To what benefit to ones self can you possibly point? I worry that tolerating the entitlement of the many over the rights of the few will result in a degrading of those rights. It's this dude's beach today, what about a website that I suddenly charge for tomorrow? Or hey, lets be realistic here, what about my future beach when that aforementioned website makes me my billions :)

nyxxie··on Science Vigilante Calls Out Bogus Results in Prestigious Journals
Academia is almost entirely based on trust and reputation, which we're seeming to discover is not a useful heuristic if your end goal is a net gain in uncovering the truth of the phenomena around us. If you ask me, credibility should be based on reproduction of results rather than reputation of the author, name of the sponsoring institution, journal title, or a vague "peer reviewed" badge. New papers should be by-default untrusted until several reproduction attempts have been successfully executed. This would incentivize authors and scientific institutions to produce science of quantifiable quality.
nyxxie··on Adding Client-Side Scanning Breaks End-to-End Encryption
These systems are useless. Of the many flaws:

1.) Simple alteration (change a pixel in MS paint) or encryption of content bypasses the filter 2.) Patching out the filtering routine bypasses the filter 3.) Blocking the phone-home address (pihole, router firewall, etc) bypasses any reporting 4.) Any vulnerability in the future that allows an attacker to report arbitrary clients (disclosure of client IDs, weakness in app, weakness in server) renders evidence gathered by the system unreliable.

At best clientside filtering allows you to draw relationship maps of technically incompetent perverts who might possibly be sharing CP. What harm reduction are they trying to get out of that?? Why not just refocus efforts on catching the small minority of individuals who are actually producing this content??

But hey, if these garbage clientside filtering of image uploads is enough security theatre to keep governments satisfied, I say let them have it.

nyxxie··on What is the new Apple U1 chip?
> The new Apple‑designed U1 chip uses Ultra Wideband technology for spatial awareness — allowing iPhone 11 to precisely locate other U1‑equipped Apple devices

Interesting. Will this thing be always on and broadcasting my phone's precise location? Seems like a rather privacy-sensitive feature.

nyxxie··on M.I.T. Media Lab concealed its relationship with Jeffrey Epstein
> the clear argument is that, because drawing a line is hard, we shouldn't call for any action against those who have stepped over it.

I think you're putting words in his mouth. He doesn't want to see no consequences whatsoever for those who were involved with Epstein, GP argues that people are drawing arbitrary boundaries with no clear repeatable definition and then taking action on them. He wants to understand what precisely being "tainted" entails and why a particular definition is deserving of the consequences such a label entails. In other words, he rejects arbitrary and subjective persecution for an objective approach to justice.

nyxxie··on A Telegram bug that disclose phone numbers of any users in public groups
All this to get an app to make "do any of my contacts also use signal" requests? You could probably just figure out what endpoint the mobile client calls and imitate them yourself to avoid all the overhead of setting up the mobile devices. If you have to register to make the request, just provision a bunch of VOIP numbers and go to town.

Point being, if "who is using signal" is a question you want answered, it's far more trivial than having to acquire actual devices. Your oppressive regime could go from zero to black bag list in an afternoon.

nyxxie··on Parsing JSON Is a Minefield (2018)
I've used protobufs in the past and I REALLY want to use them now, but the human readable aspect of json has always kept me coming back.

If I want to perform some rough tests of an endpoint during development, all I need to do is compose the json request and fire it off using curl. The response then comes back in a human readable format I can parse straight from the terminal. Boom, simple test conducted in less than 1 minute. I don't even need to think about it.

Compare that to protobufs; I need to create a custom client or unit test that'll compose and fire off the request I want to test, then I need to write a bunch of code that will introspect the contents of the response so I can pick out the details. Huge time loss, concentration ruined since I need to actually think about the process, I'd rather just take the extra latency that using json will incur.

This skips past all of the other advantages json has over binary serialization protocols, like quickly being able to parse requests while debugging issues, infinite client language support, ease of sharing breaking requests to help devs reproduce problems, not needing to add an extra compilation step to my deployments and packages, etc.

nyxxie··on Google Plans to Deprecate FTP URL Support in Chrome
No, but they currently index ftp links.
nyxxie··on Google Plans to Deprecate FTP URL Support in Chrome
A lot of Google hate in this thread. Normally I'm on board, but I think you guys are making a big deal out of nothing.

When I click magnet:// links, my bittorrent client opens. When I click slack:// links, my slack client opens. With this change, when I click ftp:// my ftp client will open. Chrome has simply decided it only wants to spend resources focusing on http:// and make the unrelated protocols separate. I see 0 problem with this, it's not like they're killing the only or even the most popular ftp client out there. We should all be using sftp anyways...

nyxxie··on The Problem at Yale Is Not Free Speech
> You can blame the players for not helping other players

Assume we did, what is the correct amount of help that the successful players should help the unsuccessful ones? Unless it's codified into the game itself (being made to pay more taxes based on wealth for example), it's unfair to expect arbitrary players to pay some undefined price to the satisfaction of another arbitrary set of players.

nyxxie··on The Problem at Yale Is Not Free Speech
> the situation makes your point about "they have to conceal it to be treated as human" ring totally false

They can smell it sure, but their reaction is proportional to some product of distance between their socioeconomic positions and how much shame the other party signals. Pretending to be poor is demonstrating shame of one's higher position. In your case, this seems to have been enough to placate their less privileged peers.

nyxxie··on The Problem at Yale Is Not Free Speech
> Labor and trade are not zero sum. The decision of where the generated dollars go is zero sum.

Certainly, my point was that possessing a greater share of wealth is not the same as the completely unearned disparity in distribution of common resources in the author's hypothetical scenario. We live in a world of scarcity, so disparity when that scarcity is left up to market forces is to be expected and in fact could even be argued to be earned. This is completely different than this sort of village commune that the author envisions. Nevertheless, the author equates the two to justify her argument, which I believe is fallacious.

> Do you mean they can't 'earn' it in their eyes, or are you agreeing that a certain amount of wealth cannot actually be earned?

The former. This responsibility that the author posits her rich peers have is based on nothing other than her feeling that they didn't earn their position and aren't even using it properly, which will only go away after said peers do something that alleviates this feeling. What is that thing? Only the author knows. Maybe she doesn't even know, she just knows that she wants the rich people to fix it.

> they come nowhere near taking care of that burden on their own.

I don't believe it's fair that they even be under some sort of implied burden. Unless they are criminals, their family earned that wealth playing the same game as everyone else and have chosen to use it to ensure their offspring are comfortable. I see no problem in that.

nyxxie··on The Problem at Yale Is Not Free Speech
>Pretending you're poor when you're very rich, while perhaps not unprecedented, is at least not the norm. So I think an explanation is called for, and hers is at the very least quite plausible

Here's mine: social media and culture in general seeming to centralize around the internet places rich people in the same cultural environment as their poorer counterparts at a scale that is historically unprecedented. The elite have always been inaccessible, now they are within a stone's throw of us. American pop culture is disdainful (or at worst hostile) towards outwardly rich people, and has been legitimized by the popularity of the political concept of privilege. The rich want to participate in this culture but are surrounded by messaging telling them they're somehow lesser or a bad person for being rich. Cause, meet effect.

nyxxie··on The Problem at Yale Is Not Free Speech
I think the author is ascribing too much intent to a simple economy of shame that’s omnipresent in all classes; if people find out you have more than they do, they hate you.

The author herself appears to be biased by this. She believes that the “rich elites” have a great burden of responsibility towards the world, which she justifies with shaky zero sum logic that suggests that because they have more, they necessarily took it from those who have less (her bulky villager metaphor). She might not be openly jealous, but she still seems to believe that her rich peers must somehow earn this wealth (an undefined and likely impossible undertaking), and writes about them with condescension when she sees they do not meet her burden.

The kind of “rich elite” that attends Yale—that is to say a child who has access to vast sums of wealth they themselves did not amass—is an otherwise normal person who simply wants to live a happy life. Some end up president, some end up “gypsies”, but as the observes all of them have learned that in order to pursue these goals unmolested they have to put on the cloak of being less privileged than those around them. If they don’t, they’ll drown in a sea of hate from those of lesser means than them.

Thats it. There’s no mystery here, just a bunch of kids trying to avoid being systematically bullied for circumstances outside of their control.

nyxxie··on Facebook lawyers explain to a judge that privacy on Facebook is nonexistent
How is “leave the platform if you don’t like it” not the solution here?

Facebook’s creepy stalking of its users is well known, and it’s practically their only method of funding themselves. The calls to regulate Facebook just sound like entitled users attempting to use the hammer of government to reshape the site into what they want.

Can anyone here make a case as to why regulation is preferable compared to letting the free market force Facebook to change or die? I’m legitimately struggling to find any legitimate reason to do so.

nyxxie··on Project Svalbard: The Future of Have I Been Pwned
Raidforums and similar have them. You occasionally find them on reddit and small security blogs. I collect data breaches, and usually by the time you hear about one on HIBP it’s making the rounds on a variety of forums. Only on a few occasions has Troy actually gotten anything exclusive.
nyxxie··on Tencent replaces PUBG with a Chinese government-friendly alternative
You know, I hear shit like this all the time but I’ve never experienced it in the 500 hours I’ve played pubg.

The most extreme form of cheating I’ve seen is a few people using no-recoil scripts, and I’ve never had a problem with the behavior of Chinese players. In fact, I’ve gotten to learn a bit of the language to communicate with them, and it’s great fun to try and cross the language barrier. They often reciprocate, I’m kinda sad I might potentially see less of them.

Maybe it’s because I’m on desktop? Who knows...

nyxxie··on South Korea's booming 'webtoons'
> Manga is nowhere near obsolete

I agree. The obsolete label applies to print manga, not the medium itself.

nyxxie··on South Korea's booming 'webtoons'
Another day another story of an old style of business facing obsolescence due to shifting market conditions.

The narrative for stories like this one is usually “businesses stuck in their ways refuse to adapt and die out”, painting the business as fools who die due to their incompetence and conservative mindset. I’m curious, though; is there any reason why Japan’s manga publishers might want to retain their focus on print media rather than move to a digital focus?

Going digital seems like the clear optimal move here, they might even consider encouraging artists to create their own webtoons and make Japan competitive in that space. Why might they not want to do so?

nyxxie··on Study finds Reddit’s ban of its most toxic subreddits worked (2017)
Ok, lets suppose that banning discussion of "toxic viewpoints" worked as this title implies (overall spread of the viewpoints declined). Now for the tricky question: who defines what "toxic" means?

Is something a "toxic" viewpoint when it's holders take action that is harmful? Certainly that's why racism is bad, but what about more controversial opinions? People who spread the belief that abortion is OK are encouraging more people to get abortions, which the pro-life movement equates to murder (and therefore harm). What about meat consumption? Vegans and PETA-types would label this harmful as it involves the death of animals. What about weed? LGBT normalization?

This labeling of speech as being "harmful" is necessarily subjective. What happens when operators of major discussion platforms decide that things besides racism are too "harmful" to permit discussion of? Seeing that limiting the discussion of ideas shapes how a population propagates them (taking this study's claim at face value), do we really want to normalize this sort of censorship? Is it even moral for site operators to manipulate people's perception of reality like this by censoring what they see to shape a population to be politically homogeneous to the operator's views?

nyxxie··on Explaining Sex Rate Changes
For some it’s not easily achieved, so I’d suppose it’s less about dudes thinking “meh, this is more convenient” than dudes thinking “meh, I’m not getting laid anyways”
nyxxie··on I tried creating a web browser, and Google blocked me
This. I’m currently working on a project to do what OP is doing, and this is almost certainly the most painful route to go down. All of this could be done with WebRTC, and you get the bonus that it’s even p2p so you don’t even have to handle video content yourself if you don’t want to (if you do, you can mix in media servers like Kurento or Janus if you want). To further sell this approach, I built v1 of the streaming pipeline in like 2 weeks.
Page 1 of 3Next →