Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
DanielHB
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
16 ms
·
361.
▲
by
DanielHB
1y ago
I don't think we will ever be able to get away from bundlers because there is no way to solve the waterfall request problem of using modules (one module imports requires another module). Maybe some kind of standard manifest spec that t
362.
▲
by
DanielHB
1y ago
Yeah, clever code is the bane of my existence. Only my own code is allowed to be clever!
363.
▲
by
DanielHB
1y ago
Yep, been there. It is a lot better these days for React SPAs but it is still a pain. Fact is the only way around this in the frontend without a monolitic "batteries-included" all-encompassing all-knowing all-mighty framework is t
364.
▲
by
DanielHB
1y ago
When I first saw Next.js I was immediatelly reminded of Meteor.js. I did invest a bit in learning into it and did some personal projects. But quickly realized it was both over-abstracted and inflexible which made it really hard to get it pa
365.
▲
by
DanielHB
1y ago
I have had a bad time with PMs and UX designers not actually understanding how the product works _right now_. How can you ask for changes if you don't understand how it works currently? Like I am saying how the current behavior of the
366.
▲
by
DanielHB
1y ago
It is not that much different with the US policies in the middle-east. If anything EU is at least not supporting coups in pro-russian satellite states. But I think that is mostly because the EU can't operate at that level of interventi
367.
▲
by
DanielHB
1y ago
The problem with CSS is the C: Cascading. Which is what you are calling "inheritance" Cascading is a nice feature for documents, that present data in the same way over and over. It not good for anything interactive. A lot of moder
368.
▲
by
DanielHB
1y ago
I have a similar story, many years ago I worked in Brazil as an "IBM consulting partner". Meaning my company implemented IBM solutions on clients, but as a separate company from IBM. Usually as a more of a budget option to IBM int
369.
▲
by
DanielHB
1y ago
You overestimate how much people remember of the dictatorship, my parents were very much pro-Bolsonaro and they lived through the dictatorship. Fact is for most of the population, especially the poorest, the dictatorship was not as oppressi
370.
▲
by
DanielHB
1y ago
> In fact it's more of a two-personalities system at this point Yes, well put. This is what I meant that the current president is not making things better. But it is still fundamentally different from how the US works, centrist part
371.
▲
by
DanielHB
1y ago
The ideal amount of corruption is not 0, but equating lobbying to suit-cases is disingenuous. Suite-cases are far more damaging and cheaper way to get congress votes and only brings the most unscrupulous people who want to plunder the most
372.
▲
by
DanielHB
1y ago
It looks very weird if a congress-person in the US votes against the party, isn't it?. In Brazil it is not that unnusual. In Brazil vote-buying happens through suit-cases full of dollars, in the US it happens through lobbying and promi
373.
▲
by
DanielHB
1y ago
Although the parallels are similar there is one big difference between US and Brazil political system: Dual-party system. Trump bullied the republican party and purged anyone who is not loyal to him, and through his party he got a good chun
374.
▲
by
DanielHB
1y ago
Nobody is out there opening packs and replacing single cells, a battery pack is usually composed of multiple modules and each module can have multiple arrays of cells in series. You shutoff the whole array of cells around the cell that fail
375.
▲
by
DanielHB
1y ago
> How do you achieve this with cells in series? You don't, if one cell fail you shut off the whole array of cells that is in series. But a pack has several arrays of cells.
376.
▲
by
DanielHB
1y ago
I know, it seems it is fairly large operation however, if it wasn't I would assume it was a PR stunt. This is definitely not worth doing for small scale operations. As far as I know there is no generic solution for doing this kind of t
377.
▲
by
DanielHB
1y ago
Balancing multiple battery packs at different wear levels is a huge nightmare. You have to run rebalancing operations all the time and on used packs it can be quite dangerous to trigger a thermal runaway. If they do it with different types
378.
▲
by
DanielHB
1y ago
> I see 100s-1000+ people work on software product development and very little happen with the product for YEARS while there are tons of obvious (to me) improvements possible I worked in an org with about 60 engineers all working on the
379.
▲
by
DanielHB
1y ago
I never tried but on their website they show screenshots of lazarus apps running in android/ios.
380.
▲
by
DanielHB
1y ago
And the social implications of converting farmland from growing food to growing sugar cane/corn/soy. It is a VERY complex topic, but it seems overall it is a marginally positive thing for Brazil (even in emissions). While a very n
381.
▲
by
DanielHB
1y ago
Lazarus (kinda of a Delphi clone that also uses Object Pascal) is probably the best way to make cross platform native desktop applications that actually uses the native GUI toolkit for each platform. I hear it is quite popular for creating
382.
▲
by
DanielHB
1y ago
I suffer a lot from this too, what I usually do is set some target goals for the day and don't stop working until I finish them. When I finish them before the end of the day I can stop working early. Now you are back to your homework m
383.
▲
by
DanielHB
1y ago
Underclock it, it helps a lot.
384.
▲
by
DanielHB
1y ago
We literally make ethanol from corn and sugar cane. And biodielse from soy. It doesn't make economic and enviromental sense in most parts of the world (especially corn). In some places they are net-positive on carbon emissions compared
385.
▲
by
DanielHB
1y ago
I don't think it is so much efficiency of their chips for their hardware (phones) so much as efficiency of their OS for their chips and hardware design (like unified memory).
386.
▲
by
DanielHB
1y ago
Oh well, for GPU programming sure as VRAM is king depending on task. But for gaming I won't go high end again.
387.
▲
by
DanielHB
1y ago
I bought a geforce RTX 3080 at launch and boy was I surprised at the power draw and heat/noise it pumps out. I wonder why anybody bothers with the 90 series at all. I actually run it ~10% underclocked, barely affects performance, but g
388.
▲
by
DanielHB
1y ago
I do it maybe once a month to fetch <1000 URLs. I do it from my home PC with my internet connection. I was just using puppeteer (headless chromium), I will try making it use my own normal browser instance instead of the built-in one. Tha
389.
▲
by
DanielHB
1y ago
It is well known that all the suburbs in the US are just an economic time-bomb waiting to happen due to the maintenance cost of the public amenities (especially when water/sewage/electricity infra). Seems fair that the people who
390.
▲
by
DanielHB
1y ago
I run it through my home network and I'm still triggering it. I add 2s delays between page load and it still triggers
More ›