Readit News logoReadit News
charcircuit commented on Dynamically patch a Python function's source code at runtime   ericmjl.github.io/blog/20... · Posted by u/apwheele
diggan · 13 hours ago
> There is not 2 different kinds of code

In Python in relation to ast, it does seem so yeah.

If you add two numbers in Python code, it looks like `1 + 1`, but if you use the module from `Lib/ast.py` linked above, how would it look like? I think it would be something like `Expression(body=BinOp(left=Name(id='x',ctx=Load()),op=Add(),right=Name(id='y', ctx=Load())))` which at a glance, certainly looks different than `1 + 1` in my eyes :)

In lisps, `(+ 1 1)` is just `(+ 1 1)` regardless if it's source code or AST, they're just the same thing.

charcircuit · 21 minutes ago
(cons '+ (cons 1 (cons 1 nil))) doesn't look like (+ 1 1).
charcircuit commented on Vanguard hits new 'bans-per-second' record   playvalorant.com/en-us/ne... · Posted by u/Wingy
lwansbrough · 4 hours ago
This is true of any online game ever. Games require integrity and there are plenty of people who would rather have game integrity than system integrity because, for them, the system is for the game.

I don’t think Riot is losing sleep over denying access to the 4 people who want to play Valorant on a Steam Deck.

charcircuit · 3 hours ago
And for macOS the OS itself provides enough system integrity that Riot don't need a kernel anticheat on macOS.

Steam Deck users need to ask Valve to similarly improve SteamOS's system integrity to prove to game companies that it's safe for people to run their games on it without compromising their game's integrity.

Deleted Comment

charcircuit commented on Comet AI browser can get prompt injected from any site, drain your bank account   twitter.com/zack_overflow... · Posted by u/helloplanets
charcircuit · 13 hours ago
Why did summarizing a web page need access to so many browser functions? How does scanning the user's emails without confirmation result in being able to provide a better summary? It seems way to risky to do.

Edit: From the blog post for possible regulations.

>The browser should distinguish between user instructions and website content

>The model should check user-alignment for tasks

These will never work. It's embarrassing that these are even included, considering how models are always instantly jailbroken the moment people get access to them.

charcircuit commented on Dynamically patch a Python function's source code at runtime   ericmjl.github.io/blog/20... · Posted by u/apwheele
diggan · 15 hours ago
Ah, so in Python, you have "normal code" then you have AST code. Imagine that they were exactly the same, and whenever you're writing "normal code", you're at the same time writing AST code and vice-versa.

So whenever you want, you can start using "normal code" for manipulating the "normal code" itself, and hopefully now we have yet another perspective on the same thing, for why Lisps are so awesome :)

charcircuit · 13 hours ago
There is not 2 different kinds of code. That's like saying Lisp has normal code and list code.
charcircuit commented on Popular Japanese smartphone games have introduced external payment systems   english.kyodonews.net/art... · Posted by u/anigbrowl
ohdeargodno · 2 days ago
> Designing entire hardware

Designing the hardware does not entitle you to extracting more money from anything. If you don't want to lose money on your hardware, don't sell it at a loss. (Which Apple isn't doing, nor are any of the Android device manufacturers.) I haven't seen Dyson try to extract 30% off of every hairdressing salon that uses their dryers.

> software, and backend platforms

Are made to attract users on the platform. With the intention of making money from it after. Cool. Quick question, do you pay for Chrome, or Firefox ? They invest hundreds of millions of dollars every year into it, how dare you not pay them 30% of every purchase you make online ?

> investing billions of dollars into them every year is not nothing

The billions have been invested initially. The ongoing costs of running the App Store / Play Store are not even close to a billion, especially not for Google that already owns all the network infrastructure necessary to run it.

>If what these companies built took no work, try making your own platform to release games on and see how little work it truly needs.

Sure, that's very simple: take any open publishing store on Android, and ask yourself why noone uses them for games delivery. I'll even add a hint: it's not because they don't offer diff based assets upgrades.

charcircuit · a day ago
>Designing the hardware does not entitle you to extracting more money from anything.

But they can work together with 3p to expand the capabilities of the device and incentivize it with revenue sharing agreements.

>how dare you not pay them 30% of every purchase you make online ?

It's somewhat strange but payments have been taken up by other vendors like stripe. If payments were built into the browser it would make commerce easier and would allow them to take a percentage.

>and ask yourself why noone uses them for games delivery

Because being able to distribute to a store billions of people already visit is valuable.

charcircuit commented on AGI is an engineering problem, not a model training problem   vincirufus.com/posts/agi-... · Posted by u/vincirufus
danenania · a day ago
The idea that biological intelligence is impossible to replicate by other means would seem to imply that there’s something magical about biology.
charcircuit · a day ago
There very well could be something magical about it.
charcircuit commented on The issue of anti-cheat on Linux (2024)   tulach.cc/the-issue-of-an... · Posted by u/todsacerdoti
Hackbraten · 2 days ago
That achieves nothing. A hypervisor can see and manipulate any VM it runs. By extension, a compromised kernel can do the same.
charcircuit · 2 days ago
On Android this isn't true with support for protected virtual machines.
charcircuit commented on The issue of anti-cheat on Linux (2024)   tulach.cc/the-issue-of-an... · Posted by u/todsacerdoti
baby_souffle · 2 days ago
If that's the case then why not only have kernel level anti-cheat enforced for the leagues and the tournaments?
charcircuit · 2 days ago
Because then a lot more people would cheat outside of leagues and tournaments.
charcircuit commented on Popular Japanese smartphone games have introduced external payment systems   english.kyodonews.net/art... · Posted by u/anigbrowl
ohdeargodno · 2 days ago
The walled gardens don't give a shit about the "honest indies", they make 30% off of the micro transactions while doing nothing. Billions in effortless money.
charcircuit · 2 days ago
>while doing nothing

Designing entire hardware, software, and backend platforms and investing billions of dollars into them every year is not nothing. If what these companies built took no work, try making your own platform to release games on and see how little work it truly needs.

u/charcircuit

KarmaCake day2140February 3, 2021View Original