Viewing profile — ckdot2
ckdot2
HN member- Joined
- Tue, Mar 07, 2023, 12:09 PM UTC
- HN karma
- 156
- Public activity
- 35 items
- HN profile
- View on Hacker News ↗
About ckdot2
No profile information was provided.
Recent public activity
-
comment
Comment #44458778
That abstraction is another layer though. And additional layers are additional complexity. So, if you add another layer, the software is less simple than before. You might need to …
-
comment
Comment #44458190
"I think now caching is probably best understood as a tool for making software simpler" - that's cute. Caching might be beneficial for many cases, but if it doesn't do one thing th…
-
comment
Comment #41039689
Not far. Just show all changes. Like the blog article already states, for many projects you already have code formatters, so changes in format usually don’t happen a lot - and if t…
-
comment
Comment #38869628
This is default on Mac if you use the Trackpad. Just to be sure I just tested with "man ls", which is also used in the example video. If I use my keyboard, I prefer to not have smo…
-
comment
Comment #38602039
You're right. But this only means that it won't be possible that you use the same template for different slots. Personally, I don't remember I ever needed that. Actually, most temp…
-
comment
Comment #38601970
Here's a blog post which goes more into detail: https://kilb.tech/golang-templates
-
comment
Comment #38599791
The same is still possible in PHP to include HTML code into you PHP files. But it's rarely still being done like this. It's considered good practise to separate your PHP (business)…
-
comment
Comment #38599757
Both is possible. See here an example how to implement use case 2: https://github.com/ckilb/golang-layout-tpl-example I don't like Go's template engine too much, I find it a bit cu…
-
comment
Comment #38556517
Please, please don't mix up ORMs with ActiveRecords. ActiveRecords are one way to implement an ORM, but it's not the only way. I think many say they hate ORMs when they actually me…
-
comment
Comment #38287031
No, that would be crazy. Ofc I want syntax highlighting. There's a bug in the newest version which removes syntax highlighting. I thought it's more common, so I understand that pro…
-
comment
Comment #38276749
Use human readable dates: Every blog post should include a human readable date. In fact, this extends to almost anything online and even offline. Timestamps are hard to read. Use d…
-
comment
Comment #38266568
Syntax highlighting? Aaaaaand... it's gone!
-
comment
Comment #38217787
Sooo deeeep. Woooow!
-
comment
Comment #38035589
There are so many unknowns and unknown unknowns in medical sciense, especially regarding the human body. Did evolution really keep two kidneys if you actually just need one? I doub…
-
comment
Comment #37389257
Is there still demand? Is it better paid? There's a German website where you can compare average hourly rates for different programming languages and according to this COBOL develo…
-
comment
Comment #37323876
Of course we can expect errors, I don't doubt that. That's what I mean with "wrong". But still, how should the author consider that if he doesn't know about the precision nor quant…
-
comment
Comment #37322898
How would you consider that? The article states that all the calculations were based on the ANSUR-II dataset. If the values in that dataset were wrong, of course the results of the…
-
comment
Comment #37310970
Don't re-use using inheritance, but dependency injection. A (well-tested) software component that get's dependency-injected should get considered "final". If it makes sense to adju…
-
comment
Comment #37234018
Even if you don't need or want to deploy daily, your software should be continous deliverable.
-
comment
Comment #37119282
Well, the SQL is always somewhere. If you use an ORM library, even if you use ActiveRecord, you will find some SQL in it. In the end, it always translates to SQL. In the blogpost, …
-
comment
Comment #37119253
It's a pattern where a single object (the "active record") not only represents a single database row, but also usually is responsible for saving/inserting data into the database (v…
-
comment
Comment #36983870
there is a search, yes. but it's not working as good (and simple) as the search in VsCode... Just an example... search for "Scrolling speed" and you won't get any result. But if yo…
-
comment
Comment #36982200
All the default* options belong to the system settings, not to the specific app. The system delegates specific functionality to a corresponding app. Still, I admit that the whole s…
-
comment
Comment #36622652
it's not always as simple as that. what if you once implemented some facade method to get data from database like "findProductById" and you comment it with "finds a product from da…
-
comment
Comment #36622579
If code is wrong or out of date, the program will fail or stop doing that it's supposed to do. If comments are wrong or out of date, it will mislead the developer or at least confu…