HNHacker News
TopNewBestAskShowJobs

ilovwindows

22 karma · joined March 6, 2019

submissionscomments
ilovwindows··on Ask HN: What book changed your life?
I wish I had read following books when I was a teenager or my parents had read them. Never too late though. These books changed my life.

1. The power of Now by Eckhart Tolle

Helped me stay present. Helped me overcome past regrets and future stresses

2. Feeling Good: The New Mood Therapy by David D. Burns

Helped me understand how my thought process was impacting my mood and fueling anxiety

3. Crucial Conversations: Tools for Talking When Stakes are High

Saved my failing relationship

4. The Power of Habit by Charles Duhigg

Helped me overcome some of my compulsive behaviors

ilovwindows··on Apple Open Source
It's clearly shows Apple doesn't support Open Source. So few projects. It's embarrassing for the company which sprout out of an Open Source project. For those who don't know, MacOS is a fork of FreeBSD.
ilovwindows··on 25 years ago Microsoft released Internet Explorer 3.0
Many people might not know, but early version of IE was built on top of Mosaic, the first web browser, created by same people who built Netscape Navigator.

Also, IE didn't win because it was better than Navigator but it was shipped free with Windows OS.

ilovwindows··on Stop mocking your system
I agree with the author. Some devs take unit testing too literally. I have come across tests which mock every units that a component being test depends on. It's a terrible practice. First mocks are hard to maintain and second over time this friction generate disparity between real code and mocks. I have seen tests that pass even when the actual implementations have diverged.

The rule of thumb is, if you can test without mocks don't mock.

Most of the tests we write are integration tests not unit tests. Even at function level, a function being tested calls multiple other functions to get the things done.

ilovwindows··on Neovim v0.5
I have been waiting for 0.5 for ages. While most of us are trying to justify one text editor over the other, I am using combination of them depending upon the usecases. I use Neovim most of the time and use Vscode for special cases like getting previews on Markdown, PlantUML, and stuff.

Sure we can do same with Neovim, it's just I don't like memorizing every possible commands. It would be great to have a command that lists all the available commands in Neovim along with some description and fuzzy finding just like in VSCode and Sublime.

ilovwindows··on DenoDB
I disagree. Query composing is probably 70% of an ORM framework. Rest are schema generation, serialization and validation. All of which can live outside the ORM.
ilovwindows··on DenoDB
ORMs are unnecessary abstraction.

Check out https://github.com/ludbek/sql-compose

Tools like this are the future. It's so simple yet flexible enough to handle any complex queries.

It scales infinitely.

ilovwindows··on How fighter jets lock on, and how the targets know (2014)
I have always wondered, wouldn't it be pretty easy to create a missile that follows a radar wave to it's source? A fighter plane could use this very missile to shut down a fighter plane chasing it or a ground radar scanning it.
ilovwindows··on Tim Cook’s Fortnite trial testimony was unexpectedly revealing
A simple experiment will open your eyes wide.

Lets ship iPhones which cannot install any third party apps and see who goes bankrupt. Apple or the app developers?

No one with sane mind will by the iPhones. Where as devs can always make money from other platform like web.

Apple needs devs more than devs need apple. Proved !!!

ilovwindows··on Tim Cook’s Fortnite trial testimony was unexpectedly revealing
30% of a revenue is extortion. Why should an app developer pay that fee? It's like owning almost half of a business.

Apple is the most developer hostile company.It charges $100 every year to devs for developing apps to it's platform. And additionally charge another 30% of their business. The worst thing is apps cannot use third party payments, why? Some people argue it's for security. I disagree. It's greed.

Tim Cook said it does not charge companies for services apps serves to end users e.g Uber, e-commerce, etc. Are your serious? It's like postal service saying hey we need 30% of every IPhone we deliver. Or the workers at china demanding cuts on every financial transactions that happens through the iPhone.

Some even argue devs need apple more than Apple needs devs. Do you guys know why Windows phone failed? Cos they didn't have enough devs developing enough apps. Take aways all the apps from IPhone, and what is it? A Brick.

ilovwindows··on The future of web software is HTML over WebSockets
The biggest drawback of this pattern is, it won't support mobile and desktop apps.
ilovwindows··on Microsoft Repo Installed on [Raspbian]
The question is why it's installed by default?

Also why would the admin in Raspberry Pi forum remove threads related above issue.

It's suspicious.

ilovwindows··on Open-Sourcing Windows Calculator
And we still have to pay for it
ilovwindows··on Open-Sourcing Windows Calculator
So they are gonna open source everything so that the community can contribute to it and still charge us for using it. Cleaver move Microsoft