Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
xthrowawayxx
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
xthrowawayxx
4y ago
> do you think that there has probably been no progress in climate sciences during the last 30 years and thus predictive power is at the same level? I agree there will have been lots of progress. However, 30 years from now people will pr
2.
▲
by
xthrowawayxx
4y ago
> Counties expected to experience heat indices above 125°F by 2053 Genuine question. How many climate predictions from 30 years ago came true today?
3.
▲
by
xthrowawayxx
4y ago
I have npm fatigue. Just use the language people! Writing 3 LOC instead of 1 call to an external package is OKAY.
4.
▲
by
xthrowawayxx
4y ago
Here's my notes on DynamoDB: How to spend $100k on what would cost $10k with an sql server for a 100x worse service
5.
▲
by
xthrowawayxx
4y ago
I assume you're talking about abortion. How did their ruling infringe on the separation between church and state?
6.
▲
by
xthrowawayxx
4y ago
>Increasing theocracy and dissolution of church and state separation Can you give an example of this?
7.
▲
by
xthrowawayxx
4y ago
How do we distinguish between: "VCs are are selected because they go to school X", "school X is good at creating VCs", and "school X receives more potential VCs"? My guess is probably more statements 2 and 3 fo
8.
▲
by
xthrowawayxx
4y ago
I think a good thing that laws can't pass without sufficient consensus. If you can bypass consensus for the greater good then so can the other side.
9.
▲
by
xthrowawayxx
4y ago
I exclusively use Firefox on Android because of the addons. For me it's the killer feature. Dark mode, ad blocks, YouTube while screen is off. It's made android so much more enjoyable.
10.
▲
by
xthrowawayxx
4y ago
>I lost it when at my previous job I found a 20 multiline super complex type defined by another dev, asked him to describe it because I was in a tight deadline and had not time to parse whatever he was defining. He starts with "it&#
11.
▲
by
xthrowawayxx
4y ago
What happens if you get hacked and someone steals your house NFT? Have a trusted third party transfer it back to you? Or give up your house to the hacker?
12.
▲
by
xthrowawayxx
4y ago
yes yes yes! this is so true
13.
▲
by
xthrowawayxx
4y ago
Sorrt, I can't tell if this is sarcasm. Is there something I'm missing? Even the above examples look awful to me
14.
▲
by
xthrowawayxx
4y ago
Consider removing as many extra tools as possible to make monorepos actually work. Eg throw out eslint and prettier.
15.
▲
by
xthrowawayxx
4y ago
I find that NodeJS runs eventually out of memory and crashes with applications that do a large amount of data processing over a long time with little breaks even if there are no memory leaks. Edit: I've found this consistently building
16.
▲
by
xthrowawayxx
4y ago
This is great! I've been using Firefly III for years. However it consumes a good chunk of time to keep up to date at a line item resolution with many cards and accounts across countries as I've not automated any of it.
17.
▲
by
xthrowawayxx
4y ago
Which is?
18.
▲
by
xthrowawayxx
4y ago
You're right. I don't actually DI always. Only (most of the time) when I have may have multiple implementations of a function, mock the function, or test it with different implementations of its depenencies. I still use many stati
19.
▲
by
xthrowawayxx
4y ago
How though do they know the ID before the object is created (/ fetched from db)? Sounds like it's inferior to manually using a DataLoader within every resolver that fetches an object. eg project has a client. In the resolver for a
20.
▲
by
xthrowawayxx
4y ago
I cache at the schema level for each request. How do GraphQL servers automatically cache objects? I was not aware servers do this. I generally avoid them because of their inflexibility (eg. Unable to support the two websocket subscription s
21.
▲
by
xthrowawayxx
4y ago
What's wrong with it? How do you mock functionality?
22.
▲
by
xthrowawayxx
4y ago
This is true
23.
▲
by
xthrowawayxx
4y ago
>Decoupling your dependency seems reasonable, but you can do it much simpler. > type GetProject = (...) => ... > type ProjectCRUD = { get: GetProject, set: ... } > constructor(private projectCrud: ProjectCrud) Yep that is
24.
▲
by
xthrowawayxx
4y ago
In my experience I prefer grouping by domain over grouping by abstraction An ISaveable interface would need to be generic but "save" functions might take different numbers of arguments, and of different types. I've found the
25.
▲
by
xthrowawayxx
4y ago
In Typescript I've started doing interface IHasSaveProject { saveProject(...): ... } class HasSaveProject implements IHasSaveProject { saveProject(...): {...} } class Controller { constructor(private readonly IHasSave
26.
▲
by
xthrowawayxx
4y ago
how do you jump to arbitrary pages with cursor pagination?
27.
▲
by
xthrowawayxx
4y ago
thank you :)
28.
▲
by
xthrowawayxx
4y ago
Can someone explain the significance of this like I'm 5?
29.
▲
by
xthrowawayxx
4y ago
I once deleted a 15TB database by temporarily shutting off an AWS i3en instance. Nobody told i3en's have "ephemeral storage" that gets wiped on shutdown.