Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sgk284
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
61.
▲
by
sgk284
3y ago
Hey there, I'm the author of the prompt engineering guide (and run Brex's Office of the CTO) – I can pull back the curtain a little bit. I firmly believe that the introduction of LLMs will be as essential to the future of human-co
62.
▲
by
sgk284
3y ago
Direct link to the guide: https://github.com/brexhq/prompt-engineering
63.
▲
Brex’s GPT-4 Prompt Engineering Guide
(medium.com)
18 points
by
sgk284
3y ago
|
1 comments
64.
▲
Brex Open-Sourced Their Prompt Engineering Crash Course
(github.com)
2 points
by
sgk284
3y ago
|
0 comments
65.
▲
by
sgk284
4y ago
It is not illegal for a human to look at something another human created and learn composition, strokes, lighting, etc... and then apply it to their own future creations. This is all the AI is doing.
66.
▲
by
sgk284
4y ago
We saw the same phenomenon with DALL-E. It was state-of-the-art for a blip in time before Midjourney and StableDiffusion surpassed it. And now with ControlNet + the ecosystem of domain-specific models, if you're doing serious generativ
67.
▲
by
sgk284
4y ago
SQL already covers this use case with the `using` keyword. But you need to specify the shared column name. If you didn't need to specify the column then adding a new foreign key between the tables would make existing queries ambiguous
68.
▲
by
sgk284
4y ago
Definitely not better for users. You used to buy an app and get everything it has to offer. You wouldn't have to worry about getting a useless app and having to pay another $1,000 to get it functional. And you'd know that any revi
69.
▲
The most unethical thing I was asked to build while working at Twitter in 2015
(twitter.com)
921 points
by
sgk284
4y ago
|
408 comments
70.
▲
by
sgk284
4y ago
Vim user for 15+ years here. Switched to neovim last December to try out Github's Copilot plugin (which only supported neovim), and it was basically a drop-in replacement for vim. And I haven't looked back. I'm also a heavy u
71.
▲
by
sgk284
4y ago
They were originally founded as a non-profit that would ensure open and equal access to advanced AI, so it wouldn't be locked up in the hands of a few corporations. And then they realized there was a lot of money to be made, and switch
72.
▲
by
sgk284
4y ago
> Data storage and querying Storage + querying is vastly underutilizing a tool that is designed to help you safely manage the entire lifecycle of your data – From defining that data (DDL), making it accessible (queries, indexes), ensurin
73.
▲
by
sgk284
4y ago
If data validation doesn't belong in the database, then what does? At that point you're treating your RDBMS as a fancy filesystem and drastically underutilizing the tool. By centralizing data validation, it removes many potential
74.
▲
by
sgk284
4y ago
The risk here is that if one table has two fks to another table, the syntax becomes ambiguous. And the number of fks two tables have to each other may change over time. This means that an append-only change to a table may break existing que
75.
▲
by
sgk284
4y ago
[disclaimer: I work at Brex, but am not speaking on behalf of the company] I think one thing being lost in translation here is that Brex considers small businesses to be different from startups, and it's an important distinction intern
76.
▲
by
sgk284
4y ago
The "one way" philosophy worked really well for Python for 15-20 years. It was really only during the break-away adoption by the data science community (and other mass audiences) that started adding pressure to bloat the language.
77.
▲
by
sgk284
5y ago
ADIEU seems to be a popular four vowel choice. Seems to work pretty well in practice.
78.
▲
by
sgk284
5y ago
You've posed a false dichotomoy. I've worked at multiple billion dollar startups that got by just fine without k8s. And I've worked at startups that started on completely different stacks and migrated to k8s. If you're a
79.
▲
by
sgk284
5y ago
I'd heavily encourage you to read the docs. If the scenarios you outlined are your top concern for your homelab, I suspect the complexity and resource overhead of k8s isn't warranted. - Cert Renewal / Rotation: https:/&
80.
▲
by
sgk284
5y ago
I've hemmed and hawed over this as well, but I believe that sometimes software can be complete and stable and not need constant iteration. As long as they add security patches and don't remove it from Docker, I'll still defau
81.
▲
by
sgk284
5y ago
K8S is great if you have Google problems, but most people don't and I think much of hype around it is much like the hype that existed a decade ago around "web scale" and "big data" and "NoSQL for everything&quo
82.
▲
by
sgk284
5y ago
> would you agree that if a schema is not likely to change and is controlled as you put it, there is no reason to attempt to store that data as denormalized document As a general rule of thumb, yes. Starting with denormalization often op
83.
▲
by
sgk284
5y ago
You can index on fields in JSONB, but I don’t believe that’s what the op is solving for here. In either scenario, I’d still generally encourage avoiding storing JSON(B) unless there isn’t a better alternative. There are a lot of maintenance
84.
▲
by
sgk284
5y ago
I do want to emphasize that the S3 approach has a lot of trade offs worth considering. There is something really nice about having all of your data in one place (transactions, backups, indexing, etc... all become trivial), and you lose that
85.
▲
by
sgk284
5y ago
Are you just doing primary key lookups? If so, a new index won’t do much as Postgres already has you covered there. If you have any foreign key columns, add indexes on them. And if you’re doing any joins, make sure the criteria have indexes
86.
▲
by
sgk284
5y ago
This was a hiring puzzle from the Instagram team in 2012, from back before Facebook acquired them: https://instagram-engineering.com/instagram-engineering-chal... I remember having a lot of fun solving it, in Coffeescript (
87.
▲
by
sgk284
5y ago
The names are just pointers, and they're both pointing to the same definition in your example. But when you redefine one of those, you would point one of the names to a new definition. It's similar to how DNS can have two domains
88.
▲
by
sgk284
5y ago
Here's another excellent talk at Strangeloop on FoundationDB's simulation testing by Will Wilson in 2014: https://www.youtube.com/watch?v=4fFDFbi3toc
89.
▲
by
sgk284
6y ago
These requirements are insane. By comparison, Stack Overflow had 25 servers in 2016 [1]: - 2 database servers (with half that RAM and 24 cores each) - 2 redis servers - 3 elasticsearch servers - 11 web servers - 4 load
90.
▲
by
sgk284
6y ago
It's a bit overly clever. I am a huge fan of Peter Norvig (and he was once my skip-level boss), but I'd call this code out in a code review for being obtuse. Notice that the input, `nums`, is a set. So he's taking the interse
More ›