HNHacker News
TopNewBestAskShowJobs

prabhu-yu

189 karma · joined August 7, 2021

submissionscomments
prabhu-yu··on Leaving Mozilla
I want to put it in other words based on philosophy of Friedrich Nietzsche - Exploitation is the key characteristic of living beings. This is applicable not only to humans but also to single celled life forms. (There are exceptions to this). So, those who are dedicated to the org itself are the one who are exploiting. And those who are working for the goal of the org are the exploited. There is always fight between these two group. Some time, a symbiotic relationship, some times status quo. etc.

Those who recognize this will be at peace since they understand the soul of bureaucracy.

prabhu-yu··on Mercedes-Benz commits to bringing back physical buttons
There is another thing that reduces the safety of car - it is sunroof. In India, all top trims come with sunroof. I believe, sunroof can not provide the safety that of one without sunroof. More ever, it can absorb significantly more heat compared one without sunroof.
prabhu-yu··on Why Everything in the Universe Turns More Complex
Can life evolve to slow down the process of increasing entropy? For ex: Sun is throwing energy in space. What if life tries to store it and use it only when it needs? Has the sunlight gone into space (without being captured by fossilized life), it would have thinly spread out in universe(high entropy, low energy density). But plants and humans (solar cells) capturing it to create fossil fules or create some infrastructure... Is it not life going against this theory? Or is it just intermidiate step of life which eventually (life will) blast all energy in short period of time at the end like an expontial system does?
prabhu-yu··on Fun with C++26 reflection: Keyword Arguments
I liked the syntax of key word arguments in Python. Then asked myself on how come this is not popular in C/C++ world. After seaching internet, found the way and documented here.

https://prabhuullagaddi.substack.com/p/simulation-of-keyword...

prabhu-yu··on Moon
I have same question. Is it simple <canvas>
prabhu-yu··on Dominate: A Python/JavaScript lib for generating HTML documents
Instead of using a templating lang for html file generation, we can use Python or Javascript. Thus, we don't need to learn one more templating lang. I never used Javascript lib that I mentioned above, but it is here for ref : https://github.com/Knio/dominate.js

I use this a SSG (Static Site Generator). This is helpful since I don't need to learn one more SSG since I am already aware of Python and little bit of html/css.

prabhu-yu··on A return to hand-written notes by learning to read and write
Good idea. May you please share youtube link you are referencing?
prabhu-yu··on OpenSCAD: The Programmer's Solid 3D CAD Modeller
Thank you for explaining why the CadQuery and its successor Build123D are better. Thank you for explaining mesh Vs BREP.
prabhu-yu··on Building the same app using various web frameworks
Thank you for the link!
prabhu-yu··on Pattern of brain damage is pervasive in Navy SEALs who died by suicide
Some people want laws for everything.
prabhu-yu··on Microsoft removes documentation for switching to a local account in Windows 11
From past 2 years, for 98% of the time, I use Linux (Mint-Mate edition). I have nVidia p600 GPU and 4K monitor. Due to some reasons, scaling does not work fine in Xfce edition, but scaling at 1x works fine in Mate edition.

Given the limitations, still I feel, using GNU/Linux is better than Windows for most use cases like surfing web, Terminals, LibreOffice, SW development etc...

prabhu-yu··on No one should use the AT&T syntax (2021)
1.Once we learn Intel syntax, same knowledge can re-used in other ISA (RISC-V, ARM) This is not true for AT&T syntax, hence one more no for the use of AT&T.
prabhu-yu··on Institutions try to preserve the problem to which they are the solution
Sorry, I generalized it too much. I was expressing the general tendency, not the exception, forgot put a star mark! Yes, you are correct. There are good people in every system. Even I have seen top doctors in top hospitals who wished patients who had surgeries to return home as soon as possible. I have seen (some you tube videos) some police persons who wished less crime. I have seen engineers fixing bugs once for all!

This adage can be seen in the Neitz-sche's statement - "exploitation is a basic function of life".

prabhu-yu··on Institutions try to preserve the problem to which they are the solution
Police system wants criminals to persist. Justice system wants litigations to persist. Medical system wants diseases to prolong. Religious leaders don't want to us to reach our own god. Political and military leaders want the country to be threatened. Education system don't want us to learn on our own. So, they create artificial pressure to get educated. Even top technological companies pay legal bribes to users not to use competatiors product. so on.

Only solution to all this is: Think how would we live if such entities did not exist. Then develop necessary skills and use them in daily life.

prabhu-yu··on RISC-V Assembler: Arithmetic
pre-fix is the finest notation for many reasons. So, Intel syntax makes more sense than ATT syntax.

Even C functions are pre-fix. [function_name arg1, arg2 ...] If schools were teaching pre-fix, we would be in better position to appreciate Intel syntax.

Higher maths uses pre-fix, for example: y=f(x) unfortenately, above line is not pure prefix... = y f(x) would be pure pre-fix.

prabhu-yu··on Remote Pair Programming Made Easy with SSH and Tmux
How to use Tmux for screen (Terminal) sharing between 2 or more people!
prabhu-yu··on Intel announces Arm investment, talks up RISC-V
.
prabhu-yu··on If you can use open source, you can build hardware
Etching would be difficult. ie, if you bend two traces side by side with 90 degree corner, watch the etching around the corner. ie copper may be left on the inner angle of the 90-degree turn.

So, I do not use 90 degree turns for this reason, if not for the EMI reason.

prabhu-yu··on Svelte is surprisingly easy to learn
yes, I thought the same, expecting how the author giving reasons. At the end, I felt fooled by the author!
prabhu-yu··on How Indian artists transformed the Buddha’s absence into presence
I hope, better term is "Consuming". Brahminism consumed the Buddhism to deny its existence.
prabhu-yu··on Protecting Inputs in Digital Electronics
Useful in protecting GPIO input pins of a MCU.
prabhu-yu··on Qspice Simulator
Something like LTSpice.
prabhu-yu··on FedNow Is Live
Seems, it started with Google advising the Fed.

https://en.wikipedia.org/wiki/Unified_Payments_Interface

In December 2019, noting the success of UPI, Google suggested the US Federal Reserve Board to follow UPI as example in developing FedNow,[22] a real-time payment system for United States.[23]

prabhu-yu··on Taskfile: A Modern Alternative to Makefile
Scons using Pure Python Lang. No more DSL. https://scons.org/

It has cache facility to speed up re-builds. scons --implicit-cache I heard people say, Scons is slow, but it need not be if we use cache facility.

Some people say Meson (https://mesonbuild.com/) would be its successor, but I use scons for building my C/Python files. (ex: Python to .mpy files, asciidoc to pdf, html etc)

prabhu-yu··on BeagleV-Ahead RISC-V board
Agree, Any reason why is the Type-C not used?
prabhu-yu··on RISC-V Assembly Programming
Repo Link: https://github.com/eborin/riscv-programming I may be wrong. I am not able to see the content of the book. (I thought, above repo has the content.). More ever, I see copyright notice in the book. So, it is open for reading purpose only.

Seems, reading the book on the browser is the only option, that is how I did it since many weeks.

prabhu-yu··on RISC-V Assembly Programming
About protection: I see book is in github as a public repo. I will try to print with my pdf tools. Please give me some time.
prabhu-yu··on RISC-V Assembly Programming
Did you try print to pdf in browser?
prabhu-yu··on RISC-V Assembly Programming
I understand you. I had same thoughts.

Yet I posted this because- - Book is really good for learning RISC-V Assembly.

- There are plenty other RISC-V simulators. Use what you like. For learning each instruction one by one, I like the following sim. https://www.cs.cornell.edu/courses/cs3410/2019sp/riscv/inter...

or read more here: https://medium.com/swlh/risc-v-assembly-for-beginners-387c6c...

- RISC-V has very small number of instructions (less than 100, the integer version has less than 50), compare this to ARM, X86 etc. By the way, word "REDUCED" in RISC does not mean less number of instructions in ISA. Rather it means, each instruction has significantly "REDUCED" functionality such that, it can be easily executed in single clock cycle, can be implemented with less gates, easy to build pipelines, easy to add super scalar units etc. overall simplicity is main goal to get multitude of benefits. Yet, I see, even ChatGPT told me that other way around until I pointed that ARM ISA (being RISC) has significantly higher number of instructions compared some other CISCs. I guess why it failed to understand a fundamental concept of computer architecture that it is running on. May be, corpus of text it trained. It is a irony, yet we are told, AI can think (I still use AI!)

However, it told one thing very correctly: All RISC-V have Load-store model, where entire ISA can be devided into 2 parts: First part, instructions that purely work on cpu registers without ever making memory access. And second part, where instructions that only access the memory. This is fundamentally load store architecture which is one of the must part of RISC-V. But load-store can also be used in CISC.

Correct me if I am wrong here.

Last but not least: If I can turn time back and learn programming language, I would learn RISC-V assembly, ( not C or Python or JavaScript ...). In that sense, I am learning RISC-V and sharing it to others.

prabhu-yu··on XML is the future
I think, Python Dictionary format can represent structured data well. i.e., I need to re-present some data, I use Python dictionary format, then YAML, then JSON. Possibly never in XML as I feel the tags simply redundant, verbose, prone to missing when we are constructing with hands.
Page 1 of 2Next →