Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jw1224
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
61.
▲
by
jw1224
3y ago
> Unless training included line-level skips Yes, of course — GPT-4 was trained on all common character sequences, including linebreaks and other invisible characters. You can see how it works here: https://platform.openai.com&
62.
▲
by
jw1224
3y ago
I think it's just some networking misconfiguration they haven't noticed. I can't see them intentionally trying to prevent DoS this way, that's what API key rate limits are for (it would be a very expensive and slow DoS o
63.
▲
by
jw1224
3y ago
Your question: > How does chat-gpt actually get this right? Your answer: > its output is purely probabilistic, based on existing corpus of text Because GPT was trained on existing text, some of which included numbers an
64.
▲
by
jw1224
3y ago
Are you using the API, or just the ChatGPT UI? Do custom instructions/system messages help at all? Saving resources like this seems okay(ish) for general-purpose ChatGPT, as they'd know there's a human who can interpret the a
65.
▲
by
jw1224
3y ago
This was using gpt-4-0314, fixed and datestamped. The counting shortcut still affects newer models too, but the old version undoubtedly changed behaviour without warning.
66.
▲
by
jw1224
3y ago
I first noticed the counting shortcut back in April. It still persists with both the previous and current models.
67.
▲
by
jw1224
3y ago
Yes, it seems their servers are terminating responses early. Unfortunately it's undocumented, was introduced unexpectedly one day, and prevents full use of larger context-window models. It also charges in full for the entire response,
68.
▲
by
jw1224
3y ago
There is an ongoing bug[1] with OpenAI's API, where it stops streaming responses after exactly 5 minutes. When I first came across the issue, I debugged it by writing a prompt along these lines: > Output every number from 1 to 1
69.
▲
by
jw1224
3y ago
> But the success of PHP comes from the people who like PHP the way it was I'm sure that was the case for many years, but I believe the successful resurgence of modern PHP is coming from the people who want to see PHP actively impr
70.
▲
by
jw1224
3y ago
Laravel has a dedicated marketing page especially about this: https://laravel.com/frontend I personally use different approaches in different projects, but it works great both ways. Inertia is really excellent with frontend
71.
▲
by
jw1224
3y ago
> Doing one simple thing seems to take a mountain of incomprehensible overhead. If you just need to do one simple thing, don’t use a framework :) If you need to lots of simple (or complex) things, in an organised manner across a single
72.
▲
by
jw1224
3y ago
It’s the name of a PhpStorm plugin, which adds extended support for Laravel. PhpStorm is built by JetBrains on IDEA.
73.
▲
by
jw1224
3y ago
PHP dev since 5.0 here. I think the severity of these breaking changes is overstated. I’ve been able to keep several large business-critical projects up-to-date for years, even up to PHP 8.3, with little to no breaking changes encountered.
74.
▲
by
jw1224
3y ago
It’s sad to see blanket statements like this. Stable Diffusion can be an extraordinarily powerful tool for creatives. I know two professional artists who both hated the concept of AI image generators. But since Photoshop added Generative Fi
75.
▲
by
jw1224
3y ago
ScienceClic is an incredible and underrated channel, glad to see it shared here!
76.
▲
by
jw1224
3y ago
> Huh? Setting a schedule/location for nightshift and setting the dark mode setting to auto will always change instantly Not in my case?! I’d say there’s a 25% chance that Dark Mode enables at sunset. It’s been this way for years —
77.
▲
by
jw1224
3y ago
Two great Phish songs!
78.
▲
by
jw1224
3y ago
I’m guessing you’re referring to their YouTube channel, in which case, I totally agree. But AFAIK the website is still just as good as always. They used to put out brilliant high-production value videos like this one: https://you
79.
▲
by
jw1224
3y ago
That's what makes prediction markets work — if you (or anyone else, for that matter) feel the market has priced the expected outcome wrong, you stand to make a fortune! Great article on the economic theories behind it here: https:
80.
▲
by
jw1224
3y ago
Perhaps (respectfully) this is not good advice? In my experience a “sense of control” over one’s addiction only serves to keep it alive.
81.
▲
by
jw1224
3y ago
Laravel has a dedicated marketing page specifically targeted towards JS-first developers: https://laravel.com/frontend
82.
▲
by
jw1224
3y ago
> CONTRIBUTING.md
83.
▲
by
jw1224
3y ago
Whilst it can be used that way, peng more broadly means something is generally attractive / appealing / impressive. It doesn’t necessarily have sexual connotations.
84.
▲
by
jw1224
3y ago
Each component is so simple, there’s no upgrading to be done. It’s just an handful of Alpine directives, most don’t include more than a line or two of JavaScript. Just copy-paste into your project, tweak as needed, and that’s it.
85.
▲
by
jw1224
3y ago
It’s great for quickly adding interactivity to any static HTML element. You can turn any element into an “Alpine component” simply by adding the x-data attribute. Imagine a drop-down menu like so: <div> <button>Toggle me
86.
▲
by
jw1224
3y ago
This is just how language evolves, stop gatekeeping it. Most engineers these days have never been near an actual engine, and nor do they have any need to.
87.
▲
by
jw1224
3y ago
The culture war surrounding prompt engineering is so dumb. My eyes roll hard into the back of my head every time I read a comment like this. Prompt engineering is not the same as programming. In some regards, it is “better”. In other regard
88.
▲
by
jw1224
3y ago
This seems complex, and not necessarily in a good way
89.
▲
by
jw1224
3y ago
WASM is a compiler target for countless languages, unlike JVM which is tied to Java. That’s what makes it incomparable to JVM… It’s a global runtime-on-demand for whatever you throw at it.
90.
▲
by
jw1224
3y ago
It makes sense. Why worry about hosting your own server, when you can just execute one locally in the visitor’s browser?
More ›