HackerTrans
トップ新着トレンドコメント過去質問紹介求人

Dangeranger

no profile record

投稿

A field guide to sandboxes for AI

luiscardoso.dev
1 ポイント·投稿者 Dangeranger·5 か月前·0 コメント

Good Taste as a Super Power

emsh.cat
1 ポイント·投稿者 Dangeranger·6 か月前·0 コメント

コメント

Dangeranger
·2 か月前·議論
You should never store passwords in plain-text, encrypted or not, you should always use a one-way cryptographic hash like bcrypt [0], scrypt [1], or PBKDF2 [2], combined with a single use salt [3] and optionally a pepper [4], and then store the output of the hash in the database.

To confirm a user supplied password matches you run input into the same hash function again with the salt+pepper and compare it to the value in the database.

That way if the database is stolen, the attacker cannot recover the contents of the passwords without brute forcing them. Encrypting passwords is not recommended because too often attackers are able to recover the encryption keys during the same attack where the password data is extracted.

[0] https://en.wikipedia.org/wiki/Bcrypt

[1] https://en.wikipedia.org/wiki/Scrypt

[2] https://en.wikipedia.org/wiki/PBKDF2

[3] https://en.wikipedia.org/wiki/Salt_(cryptography)

[4] https://en.wikipedia.org/wiki/Pepper_(cryptography)
Dangeranger
·4 か月前·議論
There are alternative package managers like Yarn that use zip files as a way to store each Node package.[0]

[0] https://yarnpkg.com/advanced/pnp-spec#zip-access
Dangeranger
·4 か月前·議論
Yes, my AirPod Pros do this too, and I've found that the issue is due to a problem with the external microphones which are involved in active noise cancelling. In order to fix the problem I had to disable ANC, and use them like a pair of basic wireless headphones, which has been quite disappointing. I've found that basically any instance of dropping the headphones on a solid floor, even while in the case, will result in this rattling sound occurring.
Dangeranger
·4 か月前·議論
I've been using the AirPods Max 1s for the last five years and you should get the Sony XM-6s. The Apple AirPod Max sound great, bur are heavy and fairly uncomfortable on the head when worn for more than an hour or two. Furthermore, I experienced persistent wireless connectivity problems and eventually sent them back to Apple under warranty. They were replaced successfully, but with a different pair of the same model which had a worn out headband. Overall it's been a bad experience and I wish that I purchased the Sony XM-6s insead.
Dangeranger
·5 か月前·議論
The AI agent can run `echo $API_KEY` all it wants, but the value is only a placeholder which is useless outside the system, and only the proxy service which the agent cannot directly access, will replace the placeholder with the real value and return the result of the network call. Furthermore, the replacement will happen within the proxy service itself, it does not expose the replaced value to memory or files that the agent can access.

It's a bit like taking a prepaid voucher to a food truck window. The cashier receives the voucher, checks it against their list of valid vouchers, records that the voucher was used so they can be paid, and then gives you the food you ordered. You as the customer never get to see the exchange of money between the cashier and the payment system.
Dangeranger
·6 か月前·議論
This post [0] suggests that leadership at SparkFun has been engaged in a long term harassment campaign targeting the founder of AdaFruit (Limor Fried) using company resources, and is allegedly using their CoC as a smokescreen to cover up their own bad behavior and cast blame on the victim.

[0] https://forum.pjrc.com/index.php?threads/open-source-teensy-...
Dangeranger
·6 か月前·議論
See additional context for the accusation(s) here[0].

[0] https://forum.pjrc.com/index.php?threads/open-source-teensy-...
Dangeranger
·6 か月前·議論
For context: This post by ptorrone suggests that leadership at Sparkfun has been engaged in a long running harassment campaign against the founder of AdaFruit (Limor Fried) and is now attempting to weaponize their CoC to cast blame on the victim in order to deflect from their own behavior[0].

    for anyone still reading:
    in july, we told sparkfun they needed to get their house in order. for years, sparkfun's leadership ignored specific behavior from leadership (and employees, now former... they had created and promoted hate sites, photoshopped images, and harassment targeting limor, me, and others at adafruit. this was done on company time, shared, promoted. this was reported to them. it was documented and ignored. that was the big issue i wanted them to get some hr training on, or _something_

    months later in 2025, the same individual resurfaced and re-promoted it with what appears to be nate's blessing at the time. we again told sparkfun to deal with this. instead of addressing the behavior, sparkfun’s response was to “ban” adafruit from purchasing teensy by invoking a vague, secret set of rules that neither we nor paul (the creator of teensy) were allowed to see.

    this is not a one-off. nate (the founder of sparkfun) has done this before. anyone who has worked with him long enough knows this is how conflict is handled: deflect, escalate, and try to punish rather than deal with the underlying conduct.

    we do not respond to bullying by backing down. we never have. that is why we are here.
https://forum.pjrc.com/index.php?threads/open-source-teensy-...
Dangeranger
·3 年前·議論
If you have any interest in writing a series of blog posts about your experiences in the “turnaround” and linking to them in your profile I believe you would have an audience. Your explanations are clear and your experience is worthwhile. Just food for thought.
Dangeranger
·4 年前·議論
There is a speech that was given at EPIC (Electronic Privacy Information Center) in 2015 that is likely to have the quote you are looking for.[0][1]

There is a short clip of his speech at the event which was reported by NBC News, in which he states the boundaries of their advertisement program at the time.[2]

EDIT: There is also this story from the Verge in 2014 which includes a lengthy quote about the advertisement program.[3]

[0] https://archive.epic.org/2015/06/tim-cook-backs-privacy-cryp...

[1] https://archive.epic.org/june1/

[2] https://www.nbcnews.com/tech/apple/its-wrong-apple-ceo-tim-c...

[3] https://www.theverge.com/2014/9/17/6368669/tim-cook-talks-up...
Dangeranger
·5 年前·議論
Irreversible transactions mean irreversible fraud. How does crypto solve for that?

The solution here is to go to court, or more likely arbitration on this case.

Crime continues to be part of business, you must account for it in your use cases, or you will get caught off guard.
Dangeranger
·5 年前·議論
And yet, “smart” is less about how much you know and more about how quickly you can become competent in something new. You can feel confident in the knowledge that when you need to know something you can learn it, just-in-time.
Dangeranger
·5 年前·議論
James Clear writes in his book Atomic Habits, that making one small change and performing that change consistently every day is the compound interest of life. I like how James’ description and the one from your book suggestion are so similar.
Dangeranger
·6 年前·議論
This is an unpopular opinion, but if the meme creator violated copyright when they made the meme, and they want credit for their “derived version” then they need a license.
Dangeranger
·8 年前·議論
"It would not be much of a universe if it wasn't home to the people you love."

-- Stephen Hawking
Dangeranger
·8 年前·議論
John Oliver asked: "Is there a universe where I am smarter than you?"

Stephen Hawking replied: "Yes, and also one, where you are funny."
Dangeranger
·8 年前·議論
“What do Sheldon Cooper and a black hole have in common?” Hawking asked the fictional Caltech physicist whose IQ comfortably outstrips his social skills.

After a pause, the answer came: “They both suck.”

Stephen's sense of humor has always cracked me up.
Dangeranger
·8 年前·議論
“I have lived with the prospect of an early death for the last 49 years. I’m not afraid of death, but I’m in no hurry to die. I have so much I want to do first.”

-- Stephen Hawking
Dangeranger
·9 年前·議論
Considering that there are places in the world where government employees must use Linux due to regulations, and Microsoft is moving ever closer to cloud delivered services, one would think that they want to support Linux as an OS. [0]

[0] https://arstechnica.com/information-technology/2009/03/frenc...
Dangeranger
·10 年前·議論
Hello Alan,

Something that I find striking about you and your work is your cross discipline approach to hardware, software, and "humanware".

Can you speak about people and subjects which have inspired you from fields other than computer science and how they have changed you as a person and technologist.