_semisignal's profile picture.

Avishkar Autar

@_semisignal

Avishkar Autar reposted

I try to understand the "why" of a bug all the way through. I'm human and sometimes get impatient and just commit a fix without understanding. But having the discipline and patience to trace the why has no downsides other than the cost of time.

Inspired by @mitchellh's devlog yesterday (mitchellh.com/writing/ghostt…) I wrote about fixing bugs in today's Register Spill. It's a short one. To truly fix a bug, one must truly know the bug: registerspill.thorstenball.com/p/to-truly-fix…

thorstenball's tweet image. Inspired by @mitchellh's devlog yesterday (mitchellh.com/writing/ghostt…) I wrote about fixing bugs in today's Register Spill.

It's a short one.

To truly fix a bug, one must truly know the bug: 

registerspill.thorstenball.com/p/to-truly-fix…


Avishkar Autar reposted

got em both here joshualoftus.com/posts/2020-11-… with springs to represent the squared error (force scales linear with distance, hooke's law, and the equilibrium minimizes the potential which is the integral of force)

joftius's tweet image. got em both here joshualoftus.com/posts/2020-11-… with springs to represent the squared error (force scales linear with distance, hooke's law, and the equilibrium minimizes the potential which is the integral of force)
joftius's tweet image. got em both here joshualoftus.com/posts/2020-11-… with springs to represent the squared error (force scales linear with distance, hooke's law, and the equilibrium minimizes the potential which is the integral of force)

Avishkar Autar reposted

I should write something longer about the similarities of this absurd-in-hindsight bet with some current projections about AI transforming everything in the next few years. The inertia of the system of the world is underestimated.


Avishkar Autar reposted

FWIW, APIs are not the best way for independent services to communicate most of the time. Consider using pub/sub messaging instead. Vastly lower coupling with no loss in capability. Not "do X, Y, Z to process this order," but rather "An order has been placed—deal with it."


Avishkar Autar reposted

If a team is deploying 12+ times a day and experiences no real slow down while using Prs, and we say that it's not CI/CD then I feel we are too stuck on being purists over what CI/CD is trying to achieve. Also if you don't do prs and it works for you then great


Avishkar Autar reposted

A mutable model that you can reliably understand is better than an immutable one that leaks.


Avishkar Autar reposted

main() is an architectural connector, specifically adapter. It adapts between the OS and the call/return model used by most programs. I think we can have a lot of fun if we allow other connectors.


Avishkar Autar reposted

You can't understand technology as "buzzwords that get venture money thrown at them". That's not what technology is.


Avishkar Autar reposted

This is a perfect example of zero-added-value comments. They just repeat the code 1:1. Code already tells us "how", we need to know "why". A high level algorithm description could also be nice to have. AI based function/class/variable (re)naming would be interesting too.

4/ Comment code We can extend the point 3 above by adding line by line comments to that code base we didn't build. But we can also make our own code properly commented before shipping, by asking ChatGPT to add comments. No more uncommented code in PRs.

SergioRocks's tweet image. 4/ Comment code

We can extend the point 3 above by adding line by line comments to that code base we didn't build.

But we can also make our own code properly commented before shipping, by asking ChatGPT to add comments.

No more uncommented code in PRs.
SergioRocks's tweet image. 4/ Comment code

We can extend the point 3 above by adding line by line comments to that code base we didn't build.

But we can also make our own code properly commented before shipping, by asking ChatGPT to add comments.

No more uncommented code in PRs.


Avishkar Autar reposted

I believe in separation of concerns, but I think most people's definition of a concern is suboptimal, often leading to what you've described. When I see that, I often find that they've separated based on technology, not concern.


Avishkar Autar reposted

The following formula yields the correct decimal digits of π to 42 billion digits

fermatslibrary's tweet image. The following formula yields the correct decimal digits of π  to 42 billion digits

Avishkar Autar reposted

Pre-commit hooks are a waste of time. Why? Because they enforce standards too early. Pre-commit hooks make us wait for a quality check on every commit.👎 The code shouldn't need to be "right" to save my changes. The code only needs to be right before merge. Solution? Use CI.


Avishkar Autar reposted

Don’t confuse process with the goal - Making the product great is the goal goodreads.com/quotes/7450009…


Was happy to discover that @f_l_o_u_r_i_s_h supports SVG export but the header and legend not being exported is mildly annoying. Also this explanation doesn't make sense, SVG supports text, axis labels are already exported as text elements.

_semisignal's tweet image. Was happy to discover that @f_l_o_u_r_i_s_h supports SVG export but the header and legend not being exported is mildly annoying. 

Also this explanation doesn't make sense, SVG supports text, axis labels are already exported as text elements.

Avishkar Autar reposted

It seems like nobody has had an original idea in the PaaS space since heroku.


Loading...

Something went wrong.


Something went wrong.