Readit News logoReadit News
nemothekid commented on Go Proposal: Secret Mode   antonz.org/accepted/runti... · Posted by u/enz
HendrikHensen · 4 days ago
With good helpers, it could become something as simple as

    key := make([]byte, 32)
    defer scramble(&key)
    // do all the secret stuff

Unless I don't understand the problem correctly.

nemothekid · 4 days ago
As I understand it, this is too brittle. I think this is trivially defeated if someone adds an append to your code:

    func do_another_important_thing(key []byte) []byte {
       newKey := append(key, 0x0, 0x1) // this might make a copy!
       return newKey
    } 

    key := make([]byte, 32) 
    defer scramble(&key) 
    do_another_important_thing(key)
    // do all the secret stuff

Because of the copy that append might do, you now have 2 copies of the key in data, but you only scramble one. There are many functions that might make a copy of the data given that you don't manually manage memory in Go. And if you are writing an open source library that might have dozens of authors, it's better for the language to provide a guarantee, rather than hope that a developer that probably isn't born yet will remember not to call an "insecure" function.

nemothekid commented on Valve: HDMI Forum Continues to Block HDMI 2.1 for Linux   heise.de/en/news/Valve-HD... · Posted by u/OsrsNeedsf2P
shmerl · 7 days ago
That's a catch 22 / circular argument that can always be used to excuse inaction, but it's not a real argument. Yes, it's a long term problem to solve and has many moving parts. But if they don't solve their part, they are only slowing it down even more. Any contribution to move things forward moves things forward, and lack of it delays things.

I.e. if you are saying "we feed the cartel, let's not do anything about it, since doing anything will only potentially help later, so we still need to feed the cartel in in the interim" doesn't really stand any argument grounds. I.e. feed the cartel and do nothing is worse than feed the cartel and do what you can to stop that over time.

And their piece of this is pretty big (huge portion of TV market), that's why they in particular should be asked more than others, why they aren't doing their part.

nemothekid · 7 days ago
It's not so much that it's a catch 22, its that there's no financial incentive for them. TVs are a low margin item already, and Samsung/LG get their margin by being brand names and advertising fancy features.

I doubt they would meaningfully save money over investing in DP, and the opportunity cost is greater for them to spend that money on the next "Frame" TV or whatever.

LG, Samsung and Sony are the only actual panel manufacturers and they probably bake those license fees into the panels they sell back to HDMI Forum.

nemothekid commented on Golang's big miss on memory arenas   avittig.medium.com/golang... · Posted by u/andr3wV
nemothekid · 7 days ago
>If you choose lower-level languages like Rust, your team will spend weeks fighting the borrow checker, asynchronicity, and difficult syntax.

It's interesting the author decides to describe Rust in this way, but then spends the next 90% of the article lambasting the Go authors for having the restraint to not turn Go into Rust.

Arenas are simple to write, and if you need one, there are a lot of implementations available. If you want the language to give you complete flexibility on memory allocations then Go is the wrong language to use. Rust and Zig are right there, you pay upfront from that power with "difficult syntax".

nemothekid commented on Neopets.com changed my life (2019)   annastreetman.com/2019/05... · Posted by u/bariumbitmap
nemothekid · 23 days ago
Every once in a blue moon I'll meet someone who can trace the genesis of their career to neopets. I learned to code from neopets. It started from html, then I fell into a cheats crowd, where I learned Visual Basic (some of the best early cheats were in Visual Basic).

Then one day, a guy coded a program in Python. It was only one with a "modern" style (it used Window XP styles, while most VB6 programs looked like windows 98 programs), and it used threads so it could watch multiple stores instead of having to manage multiple processes.

I must have been 12-13, and I was completely floored with it. I was convinced everyone programming in VB6 was wrong and the future was Python. I eventually self taught myself Python just to write my own cheats, which I eventually sold to others for millions of neopoints. Then my account got frozen and I moved on to other games.

nemothekid commented on California DMV approves map increase in Waymo driverless operations   dmv.ca.gov/portal/vehicle... · Posted by u/NullHypothesist
davidw · 25 days ago
How long does it take to recoup the cost of the automobile and all the tech stuff they add to it?
nemothekid · 24 days ago
As I understand it, whatever it costs, is strictly less than the market dynamics of providing the ride today.

There is probably some market equilibrium where they could reasonably provide <5 minute pickups for waymo users that would both cover the cost of the automobile and still be less than the price of an uber today.

nemothekid commented on The realities of being a pop star   itscharlibb.substack.com/... · Posted by u/lovestory
varjag · 25 days ago
Yeah there's a 'delve' there but it almost feels it was put in as a taunt.
nemothekid · 25 days ago
Charli is a half-british half-Indian. It could be legitimate
nemothekid commented on Apple's Problem with Bodies   drobinin.com/posts/apples... · Posted by u/valzevul
nemothekid · a month ago
>And yet, from the App Store’s point of view, you can build a game with guns and cartoon violence and happily ship it to kids, while tracking your own body needs a 16+ “mature themes” label.

This really isn't an Apple problem, but an American culture problem. This is such a common trope in many forms of media:

* You can sell games with gratuitous amount of gore, but implied clothed intercourse gets you pulled from stores.

* You can get away with a lot of violence and possible sneak a PG-13 rating, but a single boob gets you rated R.

nemothekid commented on California DMV approves map increase in Waymo driverless operations   dmv.ca.gov/portal/vehicle... · Posted by u/NullHypothesist
davidw · a month ago
I wonder what the non-subsidized price of a Waymo ride would be.
nemothekid · a month ago
As I understand it, unless the fleet size dramatically increases, the cost of a ride is completely determined by supply/demand.
nemothekid commented on Homebrew no longer allows bypassing Gatekeeper for unsigned/unnotarized software   github.com/Homebrew/brew/... · Posted by u/firexcy
superkuh · a month ago
Well, 2. is what the people are asking for but aren't getting. They want deprecation and a ENV flag to enable. It'd be enough. But even that isn't being allowed which is weird for a power-user program. I can't help but think, "Don't obey in advance."
nemothekid · a month ago
2 is what is happening. The feature is being deprecated and will likely be removed in the next MacOS version.

>I can't help but think, "Don't obey in advance."

They aren't obeying in advance. They simply aren't doing the work to find another Gatekeeper bypass for ARM64.

nemothekid commented on Homebrew no longer allows bypassing Gatekeeper for unsigned/unnotarized software   github.com/Homebrew/brew/... · Posted by u/firexcy
superkuh · a month ago
It may be Apple policy to prevent users from doing what they want because "security" is the most important thing for a their bank/shopping terminals. But I thought the whole point of using homebrew was to empower the user to use Apple devices like a normal computer without the hassle of having to do it manually? The developer has made it clear this is not the use case and that it helped with it was unintentional and undesired. The actual use case for homebrew remains unclear given this new information.
nemothekid · a month ago
As I understand it `--no-quarantine`, as it is currently implemented, is a noop on ARM Macs. So if Homebrew has two options:

1. Play cat and mouse with Apple to ensure `--no-quarantine` works

2. Deprecate and remove the feature.

u/nemothekid

KarmaCake day14585June 7, 2012
About
github.com/nemosupremo
View Original