HNHacker News
TopNewBestAskShowJobs

danfritz

562 karma · joined November 10, 2015

https://janstevens.dev
submissionscomments
danfritz··on Lottie – Use after effects animations in web and native apps
Sadly Lottie is a huge dependency, for one or two animations I find it wasteful to even add it. Another downside is that your lighthouse score gets negatively affected since the animation is seen as busy time so your time until interactive becomes very long. I'm always looking for a smaller alternative
danfritz··on Angular 13
I've worked with angular 1.x never made it to the upgrade of v2 and moved to React. I couldn't grok the two way data binding which seems odd let alone all the decorators / services / controllers patterns. In the end I had no clue what I was doing.

I do like to read up on these kind of things, but why should I be excited about Angular 13? Except from yay faster because of esbuild (like any other frontend framework).

danfritz··on Internet Object – A JSON alternative data serialization format
Looks like CSV described. Gzip the json and don't care about the biggest selling point
danfritz··on Web3 architecture and how it compares to traditional web apps
This will never get any traction except for startup hype. The economics just don't work and the end user sees nothing changed since frontend stays the same?

How complicated and expensive can you get. Engineering is about solving problems with the right tools and with the least amount of maintenance.

This is inventing a whole lot of stack for what? Your pipedream of "decentralised" internet. They fork Ethereum chain continueslly for their own gain, aka it's managed centrally!

/endrand

danfritz··on DeFi bug accidentally gives $90M to users
I have never had "bugs" from my bank or money that suddenly got stole / removed from my account. Yet in crypto land this seems to be daily news.

Far too much trust and too little control in systems like DeFi. It all sounds wonderful in theory but we fail to see the big impacts of human errors.

danfritz··on Show HN: Time travel debugger for web development
I just made an account did a recording but cannot seem to see the network request tab anywhere in the ui? I can make a brakepoint, add console.log statements and evaluate stuff (pretty cool tech) but where do I find network requests?
danfritz··on Show HN: Time travel debugger for web development
Does it record network calls? We often build fronts for API'S so bugs are most of the time mismatch between frontend va backend expectations
danfritz··on Suture: A Ruby gem that helps you refactor your legacy code
I follow the readme of creating a seam so you get nice isolated class you can easily test. Then I would suggest to write a lot of tests, understand the code and then refactor and ensure your test still pass.

No need for a gem like this. As others point out for functional small pieces of code this might work but api endpoints I'll rather go with a "add tests" approach

danfritz··on Git-cliff – Generate changelog files from the Git history
Cool, does it also work when you squash PR? One thing that annoys me about conventional commit is that they assume merge or rebass but if you squash features / bugs it's a one line change in your history. By default the auto generated message of a squash does not conform conventional commit
danfritz··on Onboarding to Elixir
If only there were jobs in Elixir, god I switched in an instance. Sadly here in Belgium there is not a single company looking for a senior Elixir dev :(.

I love that language...

danfritz··on The MiniDisc: the failure of a forgotten format (2020)
My dad had a full collection of minidics and our car had a mini discs player. I remember my dad telling me it was a superior technology but sadly wouldn't get any traction.

I never had a minidics player, I had cd's and after that a USB player with 32mb of storage. A year later I could get the same model with 64mb storage for the same price!

danfritz··on Show HN: A simple JavaScript notebook in one file
Exactly this! I have no clue what it means and googeling for its gives me "live editor". To me a notebook (in terms of computers) is a small laptop.

HN enlighten us!

danfritz··on _hyperscript: A jQuery and JavaScript Alternative
As a developer with dyslexia I hope this never becomes popular as I would be out of a job.

Kuddos to the author looks cool but personally I wouldn't be able to make a single thing work.

danfritz··on NFTs Are a Dangerous Trap
Don't forget that this is just a social construct. Without anything tangeable (physical) we just have to agree that a NFT is unique / original.

Compare it with paper notes, they are worthless but sociaty gives it value. If we all agree paper notes are worthless it is worthless.

I can see easily how this becomes worthless in a couple of years when the bubble bursts and the hype is over

danfritz··on The default branch for newly-created repositories is now main
In 2 years we all frown on main and think how stupid it was and we change it to default

/sarcasm?

danfritz··on The default branch for newly-created repositories is now main
- Years of muscle memory - git itself uses master - a lot of tooling / commands expect master do they now need to be aware of main vs master - I understand the need for some to allow to change the default but just changing it for everyone by default is a step to far
danfritz··on The default branch for newly-created repositories is now main
Replacing the word master in ctrl-r fashion. Master as a word has a far more deeper history than just master-slave
danfritz··on The default branch for newly-created repositories is now main
Unpopular opinion: Sticking with master as this is being political correctness taking way to far. Are we also going to rename master-bedrooms? [1]

At least keep the default master and let people customise it however they want.

[1] https://www.etymonline.com/word/master

danfritz··on Is anybody still using Windows 95?
Reminds me of George RR Martin (author of the Game of Thrones books) who uses DOS for writing books.

[1] https://www.bbc.com/news/technology-27407502

danfritz··on Analysis of Today's CenturyLink/Level(3) Outage
I think thats because they don't know anything more atm. CenturyLink didn't do a postmortem yet so they can only guess and see what happend. What they suggest all seems possible, but it will be guesswork until CenturyLink explains what happens (if that ever happens)
danfritz··on Analysis of Today's CenturyLink/Level(3) Outage
Fixed!
danfritz··on OpenDyslexic: A Typeface for Dyslexia
It's one of the reasons I bought a Kobo e-reader is because they had support for a Dyslexia font (not sure which one it is but looks similar). For me that font helped me in both reading speed and correctness.

I can now enjoy any book while before I would sometimes buy a book but never manage to read it correctly since the font would throw me off.

I can only applaud the initiative but I can get that its not for every person with dyslexia.

danfritz··on RBS, Ruby’s new type signature language
How does this compare to the sorbet project? Is it two different implementations for the same goal or is it adding support in ruby so sorbet can also benefit?
danfritz··on Why you should try GraphQL?
We used it for a b2b backend system with a lot of configurable knobs that change data entry drastically.

It meant that we had almost no possibility in caching anything so we saw a good fit in Graphql. Especially when 3th parties need an API you can easily give them the Graphql and they can query what they need.

We used it in a rails app with a react frontend. Depending on the requirements, GraphQL can bring more problems to the table than solutions

danfritz··on Deep learning to translate between programming languages
Cool magic trick but I fail to see anything useful coming out of it. I would not blindly rewrite code, rather see how it can be improved and maybe dig a bit in the existing functionality, clean it out, use the new language in my advantage...

Also as a programmer your mental modal is completely out of sync, how do you work on such application suddenly now that its all in Python (coming from C++)? Or is this shipped to a new team which received 100 000 lines of C++ but no clue how it all works?

How would FB use this at all?

danfritz··on 'Doomscrolling' breeds anxiety – how to stop the cycle
I use the following golden advice: don't bring your phone in the bedroom.

We bought a simple digital alarm clock and suddenly we both slept way better and didn't had any trouble to fall asleep.

Reading a book also helps putting your mind in an off state.

danfritz··on The Zen of Erlang (2016)
Thanks for pointing that out, I've updated my original statement
danfritz··on The Zen of Erlang (2016)
Elixir is the only language that really blew my mind in its capabilities while still using a readable and fairly easy syntax.

Everything is just thinking in terms of message passing between lightweight processes

danfritz··on The Zen of Erlang (2016)
Ha yes fair point! I mainly wanted to indicate that it's used more than people think. It's the backbone of telecom
danfritz··on The Zen of Erlang (2016)
Its already the biggest thing ever, but nobody knows it. 90% of the Internet nodes is controlled by erlang code [1]

Edit: it's indeed controlled nodes and not code

[1] https://thenewstack.io/why-erlang-joe-armstrongs-legacy-of-f...

← PreviousPage 2 of 3Next →