HNHacker News
TopNewBestAskShowJobs

dirtnugget

150 karma · joined March 7, 2020

submissionscomments
dirtnugget··on No One Ever Got Fired for Choosing React
I really don’t understand all the hate, also occasionally here.

Also I don’t understand why everyone is building with and hiring for react.

Its main selling point is that it is "just a library, not a framework" which I also find to be its biggest disadvantage. When I build an application and I choose SPA, I want a framework, not a loose collection of libs.

It’s a little like Django vs Flask. Sure Flask has less overhead but if I know what I am doing I can do 4 times as much with a framework like django in the same time, given that I know what it can do for me. Because I don’t spend time (more or less consciously) reinventing the wheel

dirtnugget··on Ethereum 2.0 launches
* which the majority of nodes are running
dirtnugget··on No One Ever Got Fired for Choosing React
At first maybe but once projects become larger, its often preferable to have a complete toolset which is feature-complete and documented in the same place. I do not like spending time on things such as choosing which router to use, or which extension should be used to handle async operations in redux. Or wether we should write class-based or functional components. Or how to configure production builds. Or wether to use dispatchToProps or hooks. React has gotten quite messy over the years. In my last react project I encountered 3 out of those 5 questions in a 4 week span. Angular projects tend to have the same, reliable dependencies and structure.

I admit that Angular adds some overhead if you have not worked with modules and observables, but it does give you a complete toolset to build very scalable frontends.

And once you dive into ngrx and its ecosystem it becomes clear that Angular has quite some upsides, especially for enterprise software.

There is a reason why NestJS adopted a lot of Angulars patterns such as modules and services. They make the code so much cleaner when used properly.

dirtnugget··on Ethereum 2.0 launches
Validation of the longest chain, agreed upon by the protocol which the nodes are running. This is the absolute fundamental of this technology. This is not new and it has been working for more than a decade.
dirtnugget··on U.S. Marines Won’t Stop Taking LSD
Leary would be proud
dirtnugget··on No One Ever Got Fired for Choosing React
I find Angular much more "boring" than react because it feels much closer to classical HTML/CSS/JS. React basically asks me to mix all of these, which can be distracting
dirtnugget··on RemoveJS – Remove JavaScript from any website
Regularly using this to get around paywalls and no-Adblock overlays
dirtnugget··on Ethereum 2.0 launches
I have to suspect that you are wrong. Can you provide a source? There is no mentioning of difficulty in the spec, instead there are predefined slot times:

https://github.com/ethereum/eth2.0-specs/blob/dev/specs/phas...

Here is how they sync: https://ieeexplore.ieee.org/document/8946264

Assuming they describe the BeaconBlocks mentioned here: https://github.com/ethereum/eth2.0-specs/blob/dev/specs/phas...

Also, which effect would an increased difficulty have?

dirtnugget··on Ethereum 2.0 launches
Well it is enforced by the protocol on which all node agree and there needs to be a mechanism for syncing clocks across nodes (also defined by the protocol) but they exist, e.g. https://ieeexplore.ieee.org/document/8946264

Not 100% sure what ETH is using here but there is a mechanism.

If someone would want to fake timestamps, they would need to deviate from the protocol and would thus not be on chain.

dirtnugget··on Ethereum 2.0 launches
No, as far as I understood the time between blocks in a PoS chain is basically just a timer (e.g. 10 seconds). There is no need to adjust that dynamically because there is no "race" to solve a problem. I guess it is even more predictable if it is not dynamically adjusted.
dirtnugget··on M1 Mac mini overtakes entire Japanese desktop market in less than 2 weeks
Article is somewhat click bait, it refers to "market share" which I would usually assume to be be the installed base. Instead the Japanese source explicitly says (if I can trust google translate) that this figure refers to sales only. Hard to say the overtook the market, they took the crown for sales in a single month so far.
dirtnugget··on Parsing All of Wikipedia to an Offline Encyclopedia
A few years back I remember having had a DVD with all of Wikipedia from a magazine
dirtnugget··on Switzerland – Europe's Silicon Valley for Developers?
Switzerland is inherently multi-lingual. They have four official languages and there are regions in Switzerland where each of them are predominantly spoken (except for Romansh I guess).

The German-speaking part just happens to be the largest and also where the capital is located.

dirtnugget··on Fucking, Austria changes name to Fugging
I wonder if they will keep making this glorious beer:

https://www.bierlinie-shop.de/a-640

They clearly also had some fun with the name

dirtnugget··on Fucking, Austria changes name to Fugging
There was also the case of a guy with the last name Hell (which means "bright" in German). He wanted to be part of a church in the US and they denied him
dirtnugget··on A fun website that simulates fluid
This is crazy efficient, my iPhone 7 was just fine at highest settings.
dirtnugget··on U.S. Feds Seized Nearly $1B in Bitcoin from Wallet Linked to Silk Road
So what happens to bitcoins which were seized by the US government?
dirtnugget··on Termux is an Android terminal emulator and Linux environment app with no rooting
A while ago I ran TOR from this while serving a NodeJS chat via HiddenService. Had no issue reaching it from another network. Not sure if it’s still possible, but this app is quite powerful.
dirtnugget··on Sketch: Proud to Build a Truly Native Mac App
Also it was super easy to bypass the registration with a super simple hack on their old mac app. It’s been a few years but I remember something along the lines of having to use the menu bar to open a file while they were prompting me to pay. There was probably another step involved but I was able to read and write files forever without paying. Reminded me WinRar
dirtnugget··on Deno 1.5
accidentally?
dirtnugget··on Deno 1.5
Sooo after a quick look through their packages it turns out there is one: https://deno.land/x/trex@v1.3.1

Though I gotta agree that not having to have one is pretty sweet. Just wondering how that would scale and age.

dirtnugget··on Deno 1.5
I guess the biggest complaint after it was released was the lack of a packet manager. Not sure if that situation changed. However there was quite some buzz around it, here as well.
dirtnugget··on YouTube-dl has received a DMCA takedown from RIAA
Thanks for the throwback
dirtnugget··on Egypt Blocks Access to Telegram
Really? Last time I was there around a year ago I was able to connect Proton.

I believe the paid plan of ProtonVPN also offers TOR connections. Not a specialist on this, though.

dirtnugget··on Egypt Blocks Access to Telegram
There are plenty of ways to proxy the traffic. Apparently Telegram has it built in but for anything else I usually use ProtonVPN
dirtnugget··on Russia gives Edward Snowden permanent residency
As much as I liked Obama, his government would take any chance at spying on others.
dirtnugget··on Russia gives Edward Snowden permanent residency
This source says explicitly that he was on his way to Ecuador
dirtnugget··on Facebook Container for Firefox
I have no idea how the product is structured, but I do know that many other services have a similar issue.

Heck, we’re using outlook at one of my customers and I can’t even open a second tab in 2020. It will just block the UI telling me there is another tab open.

dirtnugget··on Russia gives Edward Snowden permanent residency
"The enemy of my enemy is my friend"
dirtnugget··on Russia gives Edward Snowden permanent residency
Is it still popular opinion that he seeked asylum in Russia?

I feel most people don’t realize that he was on transit to Ecuador when the Russians told him passport had apparently been expired. He never planned to stay there.

← PreviousPage 2 of 8Next →