Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rictic
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
91.
▲
by
rictic
3y ago
Ascii convention to emphasize text, similar to doing the same thing with asterisks . Markdown later used this syntax for italics and bold, which popularized it further.
92.
▲
by
rictic
3y ago
Are StringTemplates constant? i.e. for this method: StringTemplate foo() { return RAW.""; } is foo() == foo()? This is a very useful feature of JS tagged template functions, as it lets a template processor do expensive one-time
93.
▲
by
rictic
3y ago
> Even this example - will this create a prepared statement or insert a correctly escaped value into the SQL string? It runs the sql function, with separation between the static string parts and the dynamic values, and it returns whateve
94.
▲
by
rictic
3y ago
Mind explaining to someone with only a cursory knowledge of the philosophy of natural kinds, what it contributes to this topic?
95.
▲
by
rictic
3y ago
JS Promises in something like their modern form were first played around with in ~2010, and it was ~2016 before browsers were shipping them natively. Good standards can take a while!
96.
▲
by
rictic
3y ago
A disappointing analysis. It discusses cost in isolation from revenue, and raises environmental impacts without mentioning that the major cloud computing providers where the largest models are trained and run are carbon neutral. Better resu
97.
▲
by
rictic
3y ago
Using tagged template literals with Lit or Preact + htm is more readable than Van.js, is much faster on update, and is also completely vanilla JS (no JSX and so no build step needed)
98.
▲
by
rictic
4y ago
I agree, but that doesn't explain why it did better than the rest of the class
99.
▲
by
rictic
4y ago
Cost of power usage is marginal compared to that too: 300W per A100 * 8766 hours per year * $0.12 per kWh = $316 to power an A100 for a year
100.
▲
by
rictic
4y ago
Yeah, and it doesn't take much to convey that this is a conversation between peers. A couple simple changes I get a lot of mileage out of. Where once I'd have written: "Do [X]" Now I write: "I see [problem Y], consi
101.
▲
by
rictic
4y ago
This hits on the biggest problem with projectional languages, and why text has dominated: they don't interoperate well with any existing developer tooling. So the language implementors have to write everything the developer needs: code
102.
▲
by
rictic
4y ago
My car got a "recall" because the automatic windows could pinch too hard. It'll be fixed with an OTA software update Terming that a recall is a farce
103.
▲
by
rictic
4y ago
Cross origin caching of resources is a privacy risk If site A can tell based on timing information that you probably visited site B recently, that's a pretty big privacy issue This has largely killed cross-origin caching on the web, as
104.
▲
by
rictic
4y ago
Are you familiar with the Gato paper from DeepMind this May? I say this not as a gotcha, but as a genuine question that I'm interested in your response to. > Inspired by progress in large-scale language modelling, we apply a similar
105.
▲
by
rictic
4y ago
Someone writing a new blog engine would need review from two people (one of whom is a government agent) in order to serve traffic outside the home?
106.
▲
by
rictic
4y ago
You're arguing who is truly at fault, but as a consumer with less sophistication than "MSDN Subscriber" who are you going to blame when Win95 doesn't run your favorite software?
107.
▲
by
rictic
4y ago
What's the alternative? Change the semantics of the comparison operator so that code looks cleaner? That means that when you read a comparison in source you have to know how it's going to be compiled in order to tell if the code i
108.
▲
by
rictic
4y ago
Prove in a machine legible sense, picture a transaction like: "here are two contradictory blocks validated by validator ABC, including ABC's signature, therefore ABC's stake is slashed". (at least, that's how it wor
109.
▲
by
rictic
4y ago
That's if you write it in Java. With a type system like TypeScript's you can write largely the same code as before, with a few annotations to clarify what you mean, and you get the exact same runtime only you also will get compile
110.
▲
by
rictic
4y ago
Recall that GPT-3 isn't trying to get the right answer, it's trying to plausibly complete the document. If the document is could be an 8th grade homework assignment, it may answer as a plausible 8th grader would, which includes a
111.
▲
by
rictic
4y ago
On GPT-3's large number addition, a little prompt engineering goes a long ways. Separating large numbers into three digit chunks is helpful for its input encoding ( https://www.gwern.net/GPT-3#bpes ), and giving it a few
112.
▲
by
rictic
4y ago
Hot dog menu -> More tools -> Create Shortcut -> check the "Open as Window" checkbox For PWAs (web apps that do additional things to make them work more like apps) there may also be a simpler install button in the url bar
113.
▲
by
rictic
4y ago
Agree, but an interesting point being made here is that as we continue to add more layers of separately-attributable infrastructure the attributions get quite unwieldy. I don't have a conclusion from this, and if you're going to u
114.
▲
by
rictic
4y ago
Copilot very rarely copies code verbatum, and when it does it's very short snippets. When Oracle sued Google over allegedly copying short and fairly trivial snippets of code they were justly derided. I can't speak to the legal sid
115.
▲
by
rictic
4y ago
The dream of the 90s is alive in the GPU market: https://aiimpacts.org/2019-recent-trends-in-gpu-price-per-fl... Moore's law didn't stop, just Dennard scaling. Expect graphics and AI to continue to improve radical
116.
▲
by
rictic
4y ago
The VSCode extension has one. There's a button in the bottom right with the logo that you can click to enable/disable, or you could add a keybind for the "github.copilot.toggleCopilot" command
117.
▲
by
rictic
4y ago
It's definitely different, but it can be pretty similar really. Tending my actual plants and tending plants in stardew valley are both pleasant things I like to do while listening to an audiobook or podcast.
118.
▲
by
rictic
4y ago
What can an attacker do by knowing how many much queued crypto work there is?
119.
▲
by
rictic
4y ago
> Why? To take just one of many examples, so that you can do the same validation client side and the server side. You have to do the validation on the server because the client can't be trusted, but if you only do it on the server y
120.
▲
by
rictic
4y ago
You're talking about a different sort of skepticism, about whether the effects of an AGI would be good or bad if one was produced with these methods. The skepticism that the parent comment was discussing was skepticism about whether we
More ›