64 karma · joined Apr 11, 2010 (16y ago) · 24 submissions
comment 1y ago · link · parent
I cannot use it directly in OpenAI's API, even today:
> $ llm -m gpt-5-mini Hello
> Error: Error code: 400 - {'error': {'message': 'Your organization must be verified to stream this model. Please go to: https://platform.openai.com/settings/organization/general and click on Verify Organization. If you just verified, it can take up to 15 minutes for access to propagate.', 'type': 'invalid_request_error', 'param': 'stream', 'code': 'unsupported_value'}}
Until two days ago, OpenAI on OpenRouter was Bring-Your-Own-Key (BYOK), so it didn't work there either.
Since they dropped BYOK, I can indeed use it through OpenRouter:
> $ llm -m openrouter/openai/gpt-5-mini Hello
> Hi — hello! How can I help you today?
This is for both `gpt-5` and `gpt-5-mini`. The `-nano` has always worked. I'm going to try some of my evals on gpt-5-mini, but it doesn't feel like I can depend on it.
comment 13y ago · link · parent
Every developer needs to touch crypto. Encrypted communications needs to be our default. And yes, of course, we should prefer verified, standard algorithms (NSA Suite B, for example).
It's OK to get it wrong, it's OK to fail forward, even with cryptography. ROT13 will protect you very well, if your attack vector is someone glancing over your shoulder for 1 second. As long as the code is open, and you're honest about what it does, you've made people a little bit safer.
There's a fair amount of gloating around Cryptocat, but it protected people's communications from me, because I didn't know how to break it. So that's better than nothing.
comment 13y ago · link · parent
It's not entirely rational, but if you ask around, I'd wager most people who use Linode love it.
Maybe it's because it used to be just caker doing everything, or the free disk / memory upgrades he kept handing out. I remember him asking about LASIK surgery in the (very helpful) forums; there's a family feeling to it. It's the anti-Rackspace. It's home.
comment 14y ago · link · parent
http://www.darkcoding.net/credit-card-numbers/ http://www.darkcoding.net/credit-card-generator/
If the code on darkcoding helped you build your project (we have the exact same card issuers), could you give attribution?
It would also be very cool if you open-sourced that site. The code on darkcoding is GPL, not AGPL, so you're not required to. Would still be cool of you :-)
comment 14y ago · link · parent
This would help:
- Change the tagline from "Put the Internet to work for you" to something more descriptive.
- Have a prominent "About" link on the blog. Write an About page, or better put some content on your home page.
comment 14y ago · link · parent
There are regular discussions on the golang-nuts mailing list about Go on Android: https://groups.google.com/group/golang-nuts/search?q=android
I certainly hope for Go as a core Android language.
comment 14y ago · link · parent
It doesn't really _do_ anything, there's no clever features, yet as a team we've been having these intelligent thoughtful discussions since we started using it. Somehow those discussions just didn't happen with the other tools we tried.
comment 14y ago · link · parent
sock.setsockopt(socket.IPPROTO_TCP, socket.TCP_NODELAY, 1)
It's an interaction between delayed ACKS and the Nagle algorithm, mentioned on the Nagle algorithm wikipedia page.
I'm learning a lot this week. Thanks again.
comment 14y ago · link · parent
Reducing the number of send calls, in both the C and Python versions, makes them enormously faster. Go is already batching up the writes, hence the apparent speed advantage.
If you strace the client, you see that the "get" case was replying with two send calls, one for the "VALUE" line, another with the value and "END". All the time is consumed with the client waiting to receive that second message. Depending on the client, and I tried a bunch of ways, it's either in 'poll' (pylibmc), 'futex' (Go), or 'recv' (basic python socket). That second receive is about two orders of magnitude slower than the previous recv.
Why does reading that second line take so much longer?
There's more detail here: https://github.com/grahamking/Key-Value-Polyglot/pull/5#issu...
comment 15y ago · link · parent
Yes, although that view seems both controversial, and very poorly funded. The landmark experiment here was http://en.wikipedia.org/wiki/Rat_Park
23.
Are we still doing OOP?(hackinghat.com ↗)
23 points · by graham_king_3 · 16y ago · 34 comments
comment 16y ago · link · parent
http://code.google.com/p/flot/
I have been using it for a while in production, am happy with it.