Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
SPBS
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
SPBS
2y ago
I don't understand what you mean by easier way, because it's always going to be a script. Unless you mean some low code/no cool tool that was already tailor made to do this. If you're worried about data not fitting in me
32.
▲
by
SPBS
2y ago
No, I am adamant that "sequel" is worse than "ess que ell". Most people who learned SQL on their own already call it "ess que ell" (a lot of my colleagues at work), because they never had a greybeard over their
33.
▲
by
SPBS
2y ago
> All I want in a tablet is a nice screen, fast CPU, and quick switching between apps. > What magic features does an iPad have? > I am somewhat jealous of is battery efficiency of the fanless macbooks. I want good battery efficienc
34.
▲
by
SPBS
2y ago
I can't believe they changed this too. It's like context doesn't matter, as though "Man" wasn't used in a gender-neutral way in the term "Man-In-The-Middle". People are free to choose to say PITM inst
35.
▲
by
SPBS
2y ago
TL;DR the author settled on Tailwind. I prefer Tachyons myself (less overhead). I agree that functional/atomic CSS is the way to go. Separation Of Concerns (HTML <-> CSS) is a LIE. Naming is one of the hardest things in computer
36.
▲
by
SPBS
2y ago
This speaks more as a testament to your web developer skills (at 16!) than your actual value as an... AI startup. Keep it up, your career should be rosy.
37.
▲
by
SPBS
2y ago
Yes, it's this line that gives the hint that the author means Typescript when they mention they will "often times push back on changes that add more complexity in the type system". They're referring to code that tries to
38.
▲
by
SPBS
2y ago
For those dinging the article, please check this line > when discussing architecture of code or reviewing a pull request, I will often times push back on changes that add more complexity in the type system. The reason is because, even if
39.
▲
by
SPBS
2y ago
So this is an argument for the Imperial system. It's never stated in the post, but if you don't like the Metric system then what are you arguing for? There's only the Imperial system left. Here is why the Imperial system is b
40.
▲
by
SPBS
2y ago
Then what's your point? Writing fewer lines of code in a less powerful language to accomplish the same thing as JavaScript is not KISS? React is web scale, use React?
41.
▲
by
SPBS
2y ago
> it's also getting close to two decades old if I remember correctly. Any large C or C++ project that is that old is going to have quite a bit of historical cruft. I don't think writing arbitrary data into fixed-size buffer wit
42.
▲
by
SPBS
2y ago
It's true. The easiest code to read is the code you wrote yourself. To read other people's code, you have to decode it. And it's very easy to write convoluted "clever" code that you yourself will not be able to read
43.
▲
by
SPBS
3y ago
On Windows only? Then just download AutoHotKey, good lord. It was made for this (and it's free!). They're called hotstrings and they're a first class citizen in AutoHotKey. Personally I would not rely on these because the m
44.
▲
by
SPBS
3y ago
1. CSV is for ensuring compatibility with the widest range of consumers, not for ensuring best read or storage performance for consumers. (It is already more efficient than JSON because it can be streamed, and takes up less space than a J
45.
▲
by
SPBS
3y ago
Tests are very much a "if you liked it then you shoulda put a test on it" thing. If some end-user property is desirable to you, make sure a test covers it so that you can be sure it still works that way. This is a godsend when doi
46.
▲
by
SPBS
3y ago
It doesn't even run on mobile because the sidebar takes up all the space and the main content is squeezed to the side. Even more disappointing to learn that what is essentially a static webpage doesn't render without JavaScript.
47.
▲
by
SPBS
3y ago
I had to re-read OP's post multiple times just to understand that he was trying to serve static HTML pages alongside a Rust application at /api. It's not very clear, he only mentions the Rust server for the first time at the
48.
▲
by
SPBS
3y ago
A build step is absolutely my issue with Tailwind. Tailwind tries to ship with every single style you need, as a result it needs a build step to purge unused CSS. On the other hand, Tachyons CSS (which came out before Tailwind) provides 20%
49.
▲
by
SPBS
3y ago
> Go also seems too low level for high level work - use TypeScript with all the nifty ES6 features, powerful type system, exceptions, etc.. You can solve most problems with if-else and loops. This wasn't something I was aware of bef
50.
▲
by
SPBS
3y ago
Fun fact: `go run .` was retrofitted on after `go run main.go` because go run was initially designed to only accept explicit filenames as an argument [1]. I can't imagine how people used to use `go run` without the ability to specify w
51.
▲
by
SPBS
3y ago
I wish more people understood this. Nobody should be arguing for Agile anymore. Don't say "no, but-" or "that is not what the Manifesto says-" because you're only strengthening the case for Agile as propagated
52.
▲
by
SPBS
3y ago
I judge boring by how many external dependencies a website depends on, this is not boring. Boring is a server with Postgres (or SQLite). Maybe two servers, in which case you'd need a load balancer (another dependency). > I write cod
53.
▲
by
SPBS
3y ago
It's not a hard rule that context should not be struct fields. See https://github.com/golang/go/issues/22602 (context: relax recommendation against putting Contexts in structs) "Right now the contex
54.
▲
by
SPBS
3y ago
Look here: https://github.com/ente-io/edge-db-benchmarks/blob/43273607d... SELECT $columnEmbedding FROM $tableName LIMIT 10000 OFFSET $offset They're not using any indexes, because they're do
55.
▲
by
SPBS
3y ago
I use Goland. The article says the plugin is not "enabled by default", but that's only because its functionality is locked behind a subscription. The plugin is enabled by default, I have to manually go into the settings to
56.
▲
by
SPBS
3y ago
The number of times my fridge door has popped open (yes it has happened to me as well) is not worth making it a smart appliance that talks to the internet. It plays a physical alarm. That's it. It's not the end of the world if som
57.
▲
by
SPBS
3y ago
Wow, what an incredibly low quality article (TL;DR the questions are hard because the interviewer wants to lord it over the candidate) for something behind a paywall. And he ends with a call to upvote and follow, classy.
58.
▲
by
SPBS
3y ago
Call me back when PWAs can be registered as share targets on iOS (i.e. it appears as an app on the share sheet when you click "share" on a web page). I really want the ability to bookmark sites I browse on my phone and save it to
59.
▲
by
SPBS
3y ago
That looks incredibly unpleasant (to me), makes positioning the cursor like slipping over oil. I prefer the discrete jumps that the cursor makes :)
60.
▲
by
SPBS
3y ago
> First, what's good and bad in a programming language is largely a matter of opinion rather than fact, despite the certainty with which many people argue about even the most trivial features of Go or any other language. > Also,
More ›