HackerTrans
TopNewTrendsCommentsPastAskShowJobs

ilovwindows

no profile record

Submissions

Microsoft making it difficult to set default browser

howtogeek.com
1 points·by ilovwindows·5 ปีที่แล้ว·0 comments

A tiny SQL query composer that scales infinitely

github.com
2 points·by ilovwindows·5 ปีที่แล้ว·0 comments

comments

ilovwindows
·4 ปีที่แล้ว·discuss
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
·5 ปีที่แล้ว·discuss
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
·5 ปีที่แล้ว·discuss
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
·5 ปีที่แล้ว·discuss
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
·5 ปีที่แล้ว·discuss
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
·5 ปีที่แล้ว·discuss
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
·5 ปีที่แล้ว·discuss
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
·5 ปีที่แล้ว·discuss
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.