HNHacker News
TopNewBestAskShowJobs

dirkg

338 karma · joined November 30, 2016

submissionscomments
dirkg··on NYC major crime complaints fell when cops took a break from ‘proactive policing’
Police in the US are thugs. They were created to protect property of the rich, and have never been legally obligated to 'protect and serve'. They steal more money than criminals in 'asset seizure' which is legalized theft, murder more innocent people, are literally above the law and cannot be punished thanks to nonsense like 'qualified immunity', and yet are worshipped as heroes, are always complaining and demanding more funds while being completely ineffective and dangerous to people, and the media perpetuates the 'risk their lives' myth.
dirkg··on Show HN: Sturdy – online-first version control focused on collaboration
this may work well for teams of 2-5, I simply don't see this working at all for any larger teams or any team with formal development processes.

The whole idea of merges/PRs etc is to be able to formalize this stuff, track it, keep history etc in a way that is open and can be used with multiple tools.

Using some kind of proprietary, or even open source, web backend SaaS completely defeats this.

And the whole 'real time google docs for code' is going to be incredibly intrusive for most experienced devs. People dont make a habit of micro inspecting every line of code someone writes, no one has the time for that. The whole idea is to have good design practices, unit tests, CI/CD etc, good APIs and interfaces.

Sturdy sounds great for small startups who are all basically working on a single shared file and everyone is doing some sort of massive pair programming. That simply doesnt work for other models and is a nightmare. Learning git (or any other vcs) is a tiny tiny part of software development, its not a barrier like its being presented unless you are a junior dev starting out.

dirkg··on Visual Studio Code team considers Vim mode depending on upvotes
insert Office Space NOOOOOOOO gif

Sorry but please stop. No one needs yet more bloat in Vscode, and its trying to be all things to everyone. There are already extensions for this.

Whats next, eMacs mode, Jetbrains mode?

dirkg··on The fall of Quibi: how did a starry $1.75B Netflix rival crash so fast?
Netflix rival ??!!

Only in the wild imaginings and ramblings of its founders.

A stupid concept endlessly hyped by billionaire founder and vapid celebs, anti-consumer and useless, and having the nerve to blame Covid-19 for the failure of your idea - the hubris and arrogance is truly breathtaking.

dirkg··on The Perils of Rehydration – A Realization about Gatsby and React
Precisely. DDP is also based on WebSockets and does essentially the same thing - server side computation, client side optimistic UI updates, caching etc.

As with any stateful solution it has problems scaling. I'm not sure LiveView is the right answer.

dirkg··on NeutralinoJS: Lightweight Electron alternative using native browser controls
Gnome already is based on html/js. There is no need for 10 different UI toolkits if one standard can be optimized. The problem is html/js are far from well designed but due to their popularity a lot of time and money has been spent optimizing them.
dirkg··on NeutralinoJS: Lightweight Electron alternative using native browser controls
Electron's value prop is running the same code as your website, and also being able to use latest features from Chromium, Node and JS for unified development.

Neutralino uses MSHTML and WebKit so its already outdated, and it won't run on the web. So why would I use it?

dirkg··on WordPad Is Gettings Ads in Windows 10
You're right. Although being a Linux user I'm pretty sure you know your way around a terminal and are the equivalent of a power user.

Chromebooks are targeted at people who find even Windows too complex.

dirkg··on WordPad Is Gettings Ads in Windows 10
Crostini is still an esoteric dev only feature. No user is going to use it, or even be aware. When they need to run any apps or work with files, they don't have any options.

Why can't ChromeOS be a standard Linux distro which runs apps in a flatpak (and validated by Google). That way you can't screw up your machine, you don't really lose any perf, and you have the best of both worlds.

dirkg··on WordPad Is Gettings Ads in Windows 10
Windows file management and UI is far superior to anything out there. Its a little ironic that NTFS isn't faster than ext3 (in fact its slower for many use cases) but Explorer is amazing - Finder is a joke and most Linux fm's are modeled after Explorer, so is taskbar and start menu.
dirkg··on WordPad Is Gettings Ads in Windows 10
Google has been making half hearted attempts to merge ChromeOs and Android or at least provide a proper Linux distro without resorting to chroot hacks or replacing the fw.

I'm sure they have internal builds which are pure Linux with a compatibility layer to run ChromeOS legacy. There is absolutely no reason a Chromebook can't run that - but then its just another laptop and loses the marketability.

dirkg··on WordPad Is Gettings Ads in Windows 10
ChromeOS is a joke if you are offline or need to do any local work. Their 'file browser' has got to be an inside joke its so bad.

Its a great device for browsing + youtube/netflix + FB + gdocs. Which is why its so popular in edu because they basically give it away. And its enough for most people.

dirkg··on WordPad Is Gettings Ads in Windows 10
Its not worse. Not anymore. And arguably better in many desktop areas.

But LOTD is not any easier for your average non techie.

And it was never about ease of use, its about adoption, presence and marketing.

dirkg··on WordPad Is Gettings Ads in Windows 10
The telemetry collection in Windows 10 has been reduced a lot. And MS are transparent about it and give you lots of control and switches in Settings/group policy to turn it off, unlike everyone else.

Many other corps collect much more invasive telemetry and users have no clue - e.g Netflix is basically a data collection service with a side effect of video streaming. Same for FB, Google ads cookies etc, every retailer etc etc.

But singling out MS has always been popular.

dirkg··on Protester shot in chest by live police round during Hong Kong protests
Ah yes, if Chinese police did it, its barbaric. US cops do far worse on a daily basis and are worshiped as heroes and literally get away with murder without so much as a charge.
dirkg··on Electron 6.0
Its always the same complaints about Electron's size/runtime.

Try to build a desktop app using a native language/UI framework of your choice (C#/Java/C++ with whatever fancy UI libs you want) which will even come close to the power or HTML+CSS - hint, you can't. Just trying to implement the layout/cascading behaviors, never mind all the stuff on top, would take forever.

Next add the fact that you can get true cross platform apps with a single code base in reality, not the pseudo lies promised by ReactNative or the even more ridiculous RN on Web, or new pretenders like Flutter.

Electron isn't being used for tiny utilities - its used for apps like Slack/VSCode which really do need to run on multiple platforms and have the exact same UI/UX, which is simply impossible even if you dedicate 3 dedicated teams at 3-5x the cost.

Why don't people complain about how bloated browsers are? Electron is simply V8+Node bundled for desktop use.

dirkg··on What's Coming in Python 3.8
What Python needs is a better lambda syntax similar to JS and true anonymous multiline functions. Defining and using lambdas in Python feels very unpythonic, this is something JS gets perfectly.

Also fix the GIL.

dirkg··on Building Facebook's Service Encryption Infastructure
yes I know they are different, but the lessons learnt/dev in both products probably end up influencing each other.

My point was encryption of services is built into K8s/service mesh and wondering how it fares compared to FB's approach.

dirkg··on Building Facebook's Service Encryption Infastructure
I wonder what the performance differences are with their approach vs using K8s + service mesh of your choice which includes all this.

I imagine Google runs a bigger scale operation on top of Borg and their internal service mesh.

dirkg··on Amazon Is Poised to Unleash a Purge of Small Wholesale Suppliers
FBA is very very different from being sold by Amazon. Its a cancerous scheme that charges ridiculously high 15% fees for the privilege of being listed on Amazon.
dirkg··on Amazon Is Poised to Unleash a Purge of Small Wholesale Suppliers
Their definition of 'smaller' is <$10m sales/year, which is gigantic and basically excludes maybe 95% of the myriad products Amazon now sells.

If I'm not buying from Amazon I have no reason to shop there. Its just another marketplace and I like ebay a lot more for that.

dirkg··on Go is Google's language, not ours
async/await is fantastic and pretty much the direct inspiration for the exact same feature om ES6, where its a godsend.

C# i s one of the best dev experiences in any language/IDE

dirkg··on Go is Google's language, not ours
C also supports generics - just use void * !!

no, Go doesnt' support generics.

dirkg··on Go is Google's language, not ours
Agreed 1000%. Java is backward compared to C# - bolted on half baked features that are the opposite of elegant, a standard library that is built on the principle of 'why use 10 lines when a 1000 will do' and the tools/IDEs are a generation behind C#. As is the runtime speed.
dirkg··on US has underestimated Huawei, says founder
The US is doing what it does so well, acting as a bully and using its economic/military status to abuse its power.

The whole thing is total hypocrisy - the US spies/steals from other countries as a matter of policy and we spend trillions on it, but its ok because we're the 'good' guys. China is becoming a threat so any means must be used to suppress them, since we can't very well invade China like we do weaker countries.

what exactly has Huawei done which is so bad anyway? Any why should anyone trust the US govt, esp this govt?

dirkg··on Hobbling Huawei: Inside the U.S. war on China’s tech giant
Hypocrisy and arrogance at its finest - its ok for us to engage in illegal spying but not other countries. US leads the world in illegal activities and spying/stealing from foreign nations.
dirkg··on Apple introduces 8-core MacBook Pro
The MacBook has always been mediocre hardware hyped and marketed beyond all reason. Even way back all the nonsense about unibody construction was a total myth, Thinkpads were even more durable but didnt have the hype.

Apple knows they will keep selling these things due to the brand image.

dirkg··on Virtual DOM is pure overhead (2018)
Vue's 'separation' is a myth.

I don't know why people keep believing that separating templates and js is a good thig. Pete Hunt addressed this in the React into videos he did -

you want 'separation of concerns', not 'separation of technologies'.

React does the former. Vue/any other templating engine does the latter.

dirkg··on Virtual DOM is pure overhead (2018)
Anything with a DSL is evil. That's why I never liked Vue and don't understand its huge popularity - you get none of the functional benefits of React, you might get a minor speed increase, and you DO get to write code the old style with custom DSL and no clear components.
dirkg··on Solid Principles: A Software Developer’s Framework to Robust, Maintainable Code
Does SOLID align with functional programming?

I've come to think that IOC/DI should almost be an anti pattern as it depends on interfaces and I've never seen anything use it that wasn't abstraction hell.

Functional programming seems like a breath of fresh air, which is ironic since it predates all this modern buzzword centric world and was around with LSIP.

← PreviousPage 3 of 5Next →