Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
DanielHB
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
25 ms
·
481.
▲
by
DanielHB
1y ago
I am not super familiar with python but that sounds quite annoying to set up in the build process. You would need to compile different files/modules using a different compiler right?
482.
▲
by
DanielHB
1y ago
I wrote a few benchmarks a few years ago comparing JS vs C++ compiled to WASM vs C++ compiled to x64 with -O3. I was surprised that the heaviest one (a lot of float math) run about the same speed in JS vs C++ -> x64. The code was several
483.
▲
by
DanielHB
1y ago
Yes exactly, I was forgetting the name of that.
484.
▲
by
DanielHB
1y ago
> 1. Enforce some level of code complexity. Best practice is 40 lines per function and no more than 4 parameters per function. Epic probably shouldn’t shoot for that, but a 100 line limit and 6 parameters per function would already be a
485.
▲
by
DanielHB
2y ago
Because low-experienced professionals are a net-negative to projects these days because of the increased complexity of modern development and training went away alongside company loyalty. Heck it is even hard to get companies to onboard exp
486.
▲
by
DanielHB
2y ago
Oh I didn't know that, the Swedish system doesn't have anything like that as far as I am aware. But credit card fraud reimbursements are relatively straightforward. The PIX one seems more complicated, but the chance of being defra
487.
▲
by
DanielHB
2y ago
It is still not the same as credit cards, credit card fraud protection doesn't require any sort of legal process. Also these kind of limits can also be put on credit (and debit) cards.
488.
▲
by
DanielHB
2y ago
Yes BankID is the real MVP of digital systems, I heard some talks about the EU making one valid for the whole block. Hopefully it will fix all the countries.Everything is done through BankID in swedish-only institutions. Put house on sale?
489.
▲
by
DanielHB
2y ago
- At year end you can download all your invoices, including any taxes already paid, for doing your taxes. (Brazil taxes make American taxation look simple.) I disagree, although it is VERY complex the US system is much worse. At least the B
490.
▲
by
DanielHB
2y ago
Brazil has massive amounts of fraud so credit cards are very inconvenient, card cloning and websites leaking credit card numbers is a huge problem. Banks are super aggressive about blocking cards if they see suspicious transactions. Tap and
491.
▲
by
DanielHB
2y ago
These systems are not a direct alternative to Visa/Mastercard. They offer no credit and give no fraud protection and no way to revert transactions (ie you can never get your money back once you send it). Although they can replace a lot
492.
▲
by
DanielHB
2y ago
Sweden has had a similar system for several years before PIX in Brazil. It is also integrated with the digital ID system (BankID). The main difference is that the Swedish system is ran through a private organization managed by all the major
493.
▲
by
DanielHB
2y ago
I know, R&D is like that in every company. It is mostly "development" not research. What I am pointing out is that they could be doing a shit ton of research, what happened to big companies sponsoring fringe research? That use
494.
▲
by
DanielHB
2y ago
It amazes me how much these companies make actually gets spent on R&D, you see the funnel charts on reddit and I am like what the hell. Microsoft only spends ~6bn USD on R&D with a total 48bn of revenue and 15bn in profits? What the
495.
▲
by
DanielHB
2y ago
I dunno, I am sure the plastic industry would be thrilled to be able to get around environment concerns.
496.
▲
by
DanielHB
2y ago
Sweden (and I assume Denmark) has a lot of tax-dodging[1] (just like any other country). The tax code is complex (but not nearly US-complex) and gives plenty of ways to avoid paying tax[2]. But at least the tax agency seems quite keen on in
497.
▲
by
DanielHB
2y ago
Yes running a full blown web server with HTTP support requires a bigger CPU and RAM, but don't need a lot of RAM or CPU to stream an HTLM file through blutooth from flash storage. Serving data over blutooth for that HTML application wo
498.
▲
by
DanielHB
2y ago
If you afford a bluetooth chip you can definitely definitely afford a CPU that can push 2-5mb HTML files through it in reasonable time (you can pre-gzip it) and some flash storage (which you probably already need if you are any kind of metr
499.
▲
by
DanielHB
2y ago
For basic diagnostics that is enough, but if you want to do more data-intensive stuff (including software updates) you need something more.
500.
▲
by
DanielHB
2y ago
Apps require permissions and they can't just sniff the network willy nilly. Any IoT device on your network has way more access to privacy-related things than apps.
501.
▲
by
DanielHB
2y ago
An appliance could just have blutooth so it can connect to an app on your phone. With the machine not having a direct internet connection, the app can collect diagnostics, metrics and do software updates. Require you to press a button in th
502.
▲
by
DanielHB
2y ago
In our CI we do a lot of clever stuff like posting comments to github PRs, sending messages on slack, etc. Even though those are useful things it makes the CI a bit harder to make changes to and test. Making it do more things also makes it
503.
▲
by
DanielHB
2y ago
I had a project that had to build for macos, linux and windows on armv7, armv8 and x64 (and there were some talks about mips too). Just setting up all the stuff required to compile for all these target archs was a nightmare. We used a singl
504.
▲
by
DanielHB
2y ago
I agree with you, but I think the liability of a dependency is FAR higher if it has a peerDependency to another dependency. For example, react-router has a peerDependency with react, therefor the liability of adding it to your project is mu
505.
▲
by
DanielHB
2y ago
I can tell you for a fact that snow and salted streets is far, far worse for an e-bike (I assume cars/trucks too, but maybe not since the gears are more isolated from the street?). However these places are like that only for 2-4 months
506.
▲
by
DanielHB
2y ago
I think people just hate CI set up by other people. I used TeamCity in a job a few years back and I absolutely hated it, however I imagine a lot of my hatred was the way it was set up. CI is just the thing no one wants to deal with, yet eve
507.
▲
by
DanielHB
2y ago
> But already at that point, a lot of us questioned the idea of owning thousands of hidden lines, rather than explicitly owning those, and outsourcing everything to volunteers who basically do FOSS for fun. This is not quite accurate, th
508.
▲
by
DanielHB
2y ago
If you have complex multi-step actions I recommend tools like nx (for frontend projects) or Bazel. It massively simplifies caching parts of your CI workflows and works locally too. We have a very complicated build process in my current proj
509.
▲
by
DanielHB
2y ago
Man I tried this approach by making my builds dockerized, turns out docker layer caching is pretty slow on CI and adds a lot of overhead locally. Do not recommend this approach (of using docker for building).
510.
▲
by
DanielHB
2y ago
I never owned a car, I commute to work in an e-bike and most other places I go to. It is usually faster than car (if you account parking) or public transport. Since I got an e-bike I haven't bought a single month public-transport cards
More ›