rjha | 1 year ago | on: Apple introduces M4 chip
rjha's comments
rjha | 1 year ago | on: The only two log levels you need are INFO and ERROR
Especially when the deployment is not under your control. That is when you ask to enable DEBUG so system can spew more information and you can trace the execution better.
OTOH, this whole idea of attaching trace-id (Android) and where the log came from (modules and functions) is nothing new. on the whole, I am not sure what the takeaway is.
rjha | 2 years ago | on: Show HN: I wished for a site with a growing list of math problems, I built it
rjha | 2 years ago | on: The D Programming Language
``` func toUpperCase(s: string) <IMPLEMENTATION>
a = "hello world"
echo toUpperCase(a)
# HELLO WORLD
echo a.toUpperCase
# HELLO WORLD
echo toUpperCase a
# HELLO WORLD
echo a.toUpperCase
# HELLO WORLD ```rjha | 2 years ago | on: Arduino raises $22M Series B round
However, this easy was slapped together in the most unprofessional ways imaginable. IIRC, the SD card code used to have C++ virtual functions when a rock solid library from Chan was available. It was not easy built on a solid core that provided a gradual path to professional setups. It was do-it-and-happy-when-it-works kind of setup.
So I am not sure what direction can they take it in with funding. There is a limit on where easy can take you in the Embedded world, especially if you are looking for reliability and performance.
rjha | 2 years ago | on: Show HN: I open sourced the QR designer from my failed startup
rjha | 2 years ago | on: Ask HN: WWYD? Built a company valued at $1B and may walk away with nothing
rjha | 3 years ago | on: Simple Modern JavaScript Using JavaScript Modules and Import Maps
Javascript is not getting hate because it is now famous so people are jealous and are hurling non-sensical abuses. The problem many of us see is that Javascript is famous, a critical piece of tooling and Javascript evangelists are still working in the teenager I-will-just-type-it-again mode.
By now, things should have progressed to a stage where doing simple things was simple.
rjha | 3 years ago | on: Simple Modern JavaScript Using JavaScript Modules and Import Maps
Today, Java considers the canonical Hello world example to be too complicated because of static main() and System.out.println() and introducing changes to make it easy to write first programs.
I do not know what kool-aid cool kids in Javascript front end world are drinking.
rjha | 3 years ago | on: Ask HN: Best examples of software documentation that you've come across?
rjha | 3 years ago | on: Ask HN: Why did Frontend development explode in complexity?
* It is not that native GUI libraries like Qt or SDL or GTK are super easy. GUI are event driven and composed and need to be in sync with the user wishes and as such have a programming model that is different from a top to down execution of instructions.
* The biggest challenge with the current state of front end development though is that there are no standards and no stability on a YoY basis. What I learned to do with PHP in 2005 is still valid. I can still use those tricks and whip something useful. What I learned to do with tables in mysql 3.x is still useful with mysql 8.x. However the world of Javascript frameworks is one of shifting sand.
What I learned with Javascript framework X.1 will be obsoleted by X.2 and will be obsoleted by X.3. No guarantees for time investment is challenge #1. angular 1.x -> 2.x, Vue 2.x -> 3.x are some examples that come to mind. Think of all the wasted effort. That is the killer. Humans are good at making peace with whatever crap is thrown at them. I do not think technology is the reason here. It has more to do with hype cycles and trying to catch developer's attention in a competitive market with new buzzwords.
* There is a lack of simple tools like what visual basic used to do. Sure, everything is async and we are in an event driven world but frameworks could have provided a common core to enable simple use cases. bootstrap library is a case in point. I can get decent results with bootstrap without knowing the intricacies of css. However I am hard pressed to find a suitable Javascript framework.
rjha | 3 years ago | on: Ask HN: Reading material on how to be a better software engineer?
rjha | 3 years ago | on: Knuth's Art of Computer Programming, V 4B, has gone into print
rjha | 3 years ago | on: Open Soil Spectral Library
rjha | 4 years ago | on: PHP in 2022
Also, any language that is used in real life is built on a foundation of sh*t only. The component loading with python is so bad that I have programs keeping their own version of python and IDE suggesting I create VM for my project. The situation with C is so bad that no one can solve my linker problems unless I switch the toolchain version. For a long time Javascript was a (purpose built) toy language to sprinkle pixie dust on web pages. Any sufficiently complex problem requires either deep knowledge or following convention (tribal knowledge specific to the context)
rjha | 4 years ago | on: Ask HN: Why is Docusign a $50B company?
multi party agreements and especially the ones where you are the one needing others signatures (e.g. share holder agreement) and DocuSign are a match made in the heaven. It can send reminders to parties, show you who to nudge and let you download the final version. Compare that to print and put signature workflow.
Here I feel that I-hate-apple crowd is just stuck with this notion of luxury overpriced brand when it is clearly not the case. Apple has superior hardware at better price points. Last time I was doing shopping for a laptop, I could get similar features only at a 30% - 40% price premium in other brands.
I am typing this on an apple M2 air and try finding similar performance under 2000 USD in other brands. The responsiveness, the (mostly) sane defaults and superior rendering and fonts make it worth it. The OS does not matter so much as it used to do in 2004 and the fact that I have a unix terminal in 2024 is just incidental. I have turned off auto updates and I do not use much of phone integration apart from taking backups and photo copying.
I switched to an iPhone in 2022 from a 200 US$ Samsung handset. Here, I would say that not everyone needs an iPhone. My old phone used to do all the tricks I need on this one. However, the camera is really and photos are really great. If I buy an iPhone next time, it would be just for the photos it takes.