Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pedrovhb
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
pedrovhb
3y ago
They're totally different in terms of the scope of the project they're meant to be used for. FastAPI is much closer to Flask in that it's trivial to throw up a single file with a couple of routes, and you can use something l
62.
▲
by
pedrovhb
3y ago
I see the appeal and I'd totally consider using SQLite as a vector store with the proper extensions/support (I'd imagine this exists; does it?), but the code shown there really isn't an apples to apples comparison, is it
63.
▲
by
pedrovhb
3y ago
I've seen at least a couple of papers before with similar claims, and still nothing I can run on my phone, so I'm not holding my breath yet. It seems a bit disingenuous to compare with Stable Diffusion taking 50 steps, though; wit
64.
▲
by
pedrovhb
3y ago
> While not as powerful as destructuring in other languages (I still wish we could unpack dicts as JS does with objects) Like this? In [1]: a = {1: 10, 2: 20} In [2]: b = {3: 30, **a} In [4]: b Out[4]: {3: 30, 1:
65.
▲
by
pedrovhb
3y ago
Fwiw I don't use the app, but I have a Yi 4k camera, which I bought used as a cheap GoPro alternative, and it's surprisingly easy to hack some stuff with. It has a WiFi connection feature which is primarily meant for use with thei
66.
▲
by
pedrovhb
4y ago
Nice, using "pointer:Logitech MX Ergo" beats my hacky regex. Thanks!
67.
▲
by
pedrovhb
4y ago
Oh boy, I found/invented a tweak that I can't live without anymore. I use an MX Ergo trackball, not sure how it'd fare on a mouse, but here are the magic runes: xinput set-prop <mouse device id> "libinput Scr
68.
▲
by
pedrovhb
4y ago
I'm not much of a reader of the genre, but it was completely baffling to me a few years ago how Asimov's writings (from circa 1950) were relevant then, and it's now clear they're only getting more relevant with the rec
69.
▲
by
pedrovhb
4y ago
If you're talking about the web UI - just go back to an existing conversation and edit the message at the point you want to resume from. All the previous context will be kept as if you had cloned the chat and branched off at some point
70.
▲
by
pedrovhb
4y ago
Yup, it's pretty fascinating. I think we have to keep in mind the possibility that it didn't really happen (another user here failed to replicate it - not proof it didn't happen, but if it's been patched we can no longer
71.
▲
by
pedrovhb
4y ago
Ah, the best and most readily available source of makeshift jumper wires. Truly an amazing contribution even in ways it wasn't quite designed to be :)
72.
▲
by
pedrovhb
4y ago
Not to mention the complexity is mostly offloaded to the maintainers of the library itself, not the browser that calls it. I wish Mozilla had gone ahead and enabled it by default in Firefox, as I'd hoped it would. Still salty it didn&#
73.
▲
by
pedrovhb
4y ago
I don't think "memoisation" is an accurate word for this; it implies doing the computation once, and storing the result in cache to return later. It's more like replacing your Python code with a SQL query of the LLM'
74.
▲
by
pedrovhb
4y ago
This caught my attention as I found it implausible: > One DeepMind engineer even reported being able to convince ChatGPT that it was a Linux terminal and getting it to run some simple mathematical code to compute the first 10 prime numbe
75.
▲
by
pedrovhb
4y ago
One thing I think will be different and that had totally escaped my radar until recently is just the enormous and diverse community that has been developing around Stable Diffusion, which I think will be less likely to form with language mo
76.
▲
by
pedrovhb
4y ago
Looking at the gif of a guy picking on the robot by messing with the chips it's supposed to get, I can't help but be reminded of that one Boston Dynamics parody [0]. I sure hope our future overlords can tell that it was just a jok
77.
▲
by
pedrovhb
4y ago
That's neat, but it's not doing anything in the latent space of ChatGPT, is it? As I understand, it basically teaches the assistant to use SD for generating images/descriptions, but comes with all the limitations of the image
78.
▲
by
pedrovhb
4y ago
Considering it's a widely used API, there's probably enough in an LLM's training data for it to not even need much trial and error. I've recently done since Xlib stuff with ChatGPT and it was pretty helpful (and Xlib is
79.
▲
by
pedrovhb
4y ago
Wow, that first article is really amusing. I've been experimenting with ChatGPT a reasonable amount lately, and the article really perked up my AI writing senses. The enumerated list with consistently, monotonously cautious and non-com
80.
▲
by
pedrovhb
4y ago
I'm curious about examples in which industry self policing has actually worked in favor of customers. My intuition is that in an unregulated environment, incentives are the only thing that matters, and if one shop has a competitive edg
81.
▲
by
pedrovhb
4y ago
It doesn't necessarily have to be useful information. They mentioned they understood how the cheat application worked, so it's possible it was doing something like indiscriminately accessing certain memory regions; this would make
82.
▲
by
pedrovhb
4y ago
This demonstrates in spectacular fashion the reason why I felt the complaints about ChatGPT being a prude were misguided. Yeah, sometimes it's annoying to have it tell you that it can't do X or Y, but it sure beats being threatene
83.
▲
by
pedrovhb
4y ago
Used this all the time in University :) I think there's an interesting parallel to this usefulness in code which the author just briefly mentioned. Static typing can help bridge thoughts about what makes sense to do ("I have a cal
84.
▲
by
pedrovhb
4y ago
JetBrains IDEs have a handy "step into my code" control in addition to the usual ones. It's not quite as granular as picking specific libraries not to step into but it requires no configuration and it's often enough what
85.
▲
by
pedrovhb
4y ago
I've also been experimenting with generating embeddings from repos/docs, and even though embeddings are cheap, I find myself making sure I record every last one to disk so I don't have to hit the API again for that piece of c
86.
▲
by
pedrovhb
4y ago
Ah, the "are you a terrorist" section of the U.S. visa application is hilarious. I was honestly laughing out loud at some of the questions, imagining a sincere terrorist having their plan foiled by their strict moral code which re
87.
▲
by
pedrovhb
4y ago
Hall effect sensors are really neat. I'm a mechatronics engineer by education, but I almost exclusively work with software. One of the reasons for this is that I dislike the fallibility of The Real World™. Switches wear out with time,
88.
▲
by
pedrovhb
4y ago
Somehow I imagine this as a "Twitch Plays Pokemon" kind of a living codebase (or at least one branch of it). I saw an "export three = 1 + await @someone.add(1, 1)" and due to my love of open source, contributed to the wo
89.
▲
by
pedrovhb
4y ago
> - Write-only file upload under an obscure domain. A bit dangerous, but a life saver when someone wants to send you a 200MB file. "Just go to frequentrain.com and upload there". Keep in mind that DNS records, including subdoma
90.
▲
by
pedrovhb
4y ago
Huh. Did you try with the included examples from the gist link?
More ›