Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dfee
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
34 ms
·
421.
▲
by
dfee
4y ago
"How you make the database connection work with serverless connection requirements seems like a minor issue." It's really not. See... databases like PostgreSQL aren't designed for an infinite number of simultaneous conne
422.
▲
by
dfee
4y ago
I'm all for a monorepo – or to a lesser degree, utility functions that are re-usable across components. That's not what I'm talking about. Running NextJS as a handful of lambdas is fine, but you still likely need to initializ
423.
▲
by
dfee
4y ago
Monolithic – yes. However, my concerns with Remix are that it intentionally doesn't align well with the premise of GraphQL – for better or worse. However, that's a very common pattern when you do need microservices. I.e. Remix d
424.
▲
by
dfee
4y ago
Hey Lee – imagine that I've got a database I need to initialize on startup / teardown on shutdown. Where can I do this? It's inherently an async concept. There are no hooks. The docs for Custom Servers [0] begin with a bunch
425.
▲
by
dfee
4y ago
On the NodeJS / React ecosystem - no one really wants you to do monoliths. NextJS, for example, doesn’t let you manage service lifecycle methods (unless you write a custom server - which they explicitly warn you against). NextJS wants
426.
▲
by
dfee
4y ago
Check the dollar store.
427.
▲
by
dfee
4y ago
Nailed it. Almost as if I wrote this. One difference in application, though, is it seems you change your blades every time. I’ve not found a good / meaningful cadence.
428.
▲
by
dfee
4y ago
Seth didn’t include a link to the series, but it’s called “The Beatles: Get Back”. [0] https://en.m.wikipedia.org/wiki/The_Beatles:_Get_Back
429.
▲
by
dfee
4y ago
How about the inverse, though? I'd love to identify which management teams set unrealistic deadlines to play mind games.
430.
▲
by
dfee
4y ago
The mental gymnastics of this comment. > bound by boards and ethics committees Is there any evidence an ethics committee was party to this? If in fact, one was, they found it ethical to consume personally identifiable data without those
431.
▲
by
dfee
4y ago
I have put in many that look like `TODO: can’t foo because bar. workaround with buzz. tracking: github.com/issue/1234` or whatever. Every once in a while I go back through and clean up what I can. I think this is good.
432.
▲
by
dfee
4y ago
> A few years ago I gave a conference talk in which I asserted that the C++ macro system blows goat dick. This remark has since become somewhat notorious, and the C++ fans hate me for it. But I did not think at the time that this would
433.
▲
by
dfee
4y ago
Came here looking for this comment. To the sibling: meh, they’re alright. The big windows are nice, but there’s a bunch of downsides - especially if it hasn’t been remodeled. Some things remodeling can’t change, either. Like the lack of cen
434.
▲
by
dfee
4y ago
Maybe this is why I’ve received upwards of 500 requests to reset my Instagram password over the last year?
435.
▲
by
dfee
4y ago
Appreciate the tip! Will check it out!
436.
▲
by
dfee
4y ago
I bought one, and of course it hasn’t arrived yet (though I think it will in Q3). The best parts for me are the following: 1. It’s indie. 2. It’s accessible. 3. It’s got a completely different engagement model. I have a 7yo who I bought it
437.
▲
by
dfee
5y ago
Coming off another week in the national parks (this time, Utah) - I’d encourage you to go see more/others. GC can be pretty cool, but I’d not put it in my top 10 parks. Mainly because of the people and the mares ruin the effect on a hi
438.
▲
by
dfee
5y ago
i've got tons of open source packages on my github with interpreted languages :p But yeah, I guess i first started using Django ~2008 if I recall correctly, and switched over to Pyramid in 2010. Since then, I've used many other fr
439.
▲
by
dfee
5y ago
if the "red" function isn't successful, than you're mapping that error to what? a RuntimeException? great – you've now escaped the indirection with the original solution – just use RuntimeExceptions. map it to anoth
440.
▲
by
dfee
5y ago
I'm just suggesting that Checked Exceptions aren't well enough adopted and there's grey area between what constitutes a checked / unchecked exception. I have no problem with Either<Error, Result> though.
441.
▲
by
dfee
5y ago
sure. consider me ignorant of proper error handling. looks like the "true scotsman problem", though. i'm using state of the art packages like jgrapht which throw runtime exceptions, and i'm manually catching those runtim
442.
▲
by
dfee
5y ago
sure. or if using something like Vavr... catch a bunch of 'em all at once. ``` Try.success(foo. .map(...) .mapTry(...) .map(...) .mapTry(...) .onFailure(e -> LOGGER.warn("Failed %s", e) .get() ```
443.
▲
by
dfee
5y ago
wow. you just blew my mind. thank you.
444.
▲
by
dfee
5y ago
There are a lot of problems in the JS and Swift communities, as there are for Java. I think you’ve got to meet your customer where they are, and if you can ship Java desktop apps, and they’re happy… keep going. But you’re not shipping apps
445.
▲
by
dfee
5y ago
But the problem is that checked exceptions create the same “what color is your function” problem for errors.
446.
▲
by
dfee
5y ago
Definitely an issue in 8. My hack is to call everything an `int`, write the statement, and go back and let IntelliJ handle the proper name, adding the import, etc. I understand though, that in more recent versions of Java this is taken care
447.
▲
by
dfee
5y ago
Great error handling? What does that mean? Checked exceptions seem cool at first, but are really just nonsense… as your only real way of dealing with this is: 1. Catch, log and rethrow, or 2. Wrap as a runtime exception (so you don’t have t
448.
▲
by
dfee
5y ago
I think it has a relative speed performance over languages that are interpreted (runtime). It also has an ecosystem of tooling to monitor and profile built both into the JDKs and by teams across Silicon Valley (eg first class bazel support)
449.
▲
by
dfee
5y ago
What you said made a lot of sense. I wish HS chem was explained in this way. For me there was a bit too much mystery - the introduction of the third atom explains quite a bit in my mental model.
450.
▲
by
dfee
5y ago
Ooh. I have a question about migrating off Google Apps (which I pay $12/mo for across two domains - one mine, and one my wife’s). We’ve received a fair amount of links shared with us on Google Drive. Is there anyway to migrate off Goog
More ›