HNHacker News
TopNewBestAskShowJobs

briantakita

186 karma · joined September 4, 2013

https://briantakita.me
submissionscomments
briantakita··on Rewrite the VP9 codec library in Rust
> No. It's all C code in the stacktrace. And kernel devs still don't have to deal with Rust, if they don't want to.

Thank you for the answer. I was wondering since the conversion to Rust is a large undertaking & rewrites can have surprises. Part of the question was if this was an argument to use Rust since NULL pointers are something that Rust goes through great lengths to guard against.

And wow...my original post got flagged? It was a sincere question that I was curious about & didn't have an answer for. Either everyone needs to chill...or is mentioning NULL pointer references in the Linux Kernel some sort of unspoken mortal sin or was I somehow offensive? Please, someone let me know if I'm out of line cause I just see zealotry of some type that I cannot begin to imagine. I want to avoid such land mines in the future...for the love of all that is holy.

briantakita··on Institutions try to preserve the problem to which they are the solution
Lawyers & economists contribute more to GDP than farmers...yet most lawyers & economists are a net negative in real terms while farmers provide food, essential for life.

If GDP was the end all be all of measurements, why is Russia winning the war despite having a fraction of GDP compared to its western opponents?

Sure seems like the wrong things are being measured...and rewarded.

briantakita··on Our Company Is Doing So Well That You're All Fired
> Mate, you want to tell me that a country that had 1/6 of all the resources of the planet collapsed into oblivious because of the Western sanctions and mean Western banks? I'm sorry, I'm not buying it.

Are you talking about Russia? They seem to be on the upswing by all standards. Food is plentiful & inexpensive compared to the inflation that we see in America with rampant homelessness...while billions are sent to buy weapons for foreign countries. You seem quite emotionally agitated.

> Authoritarian/Totalitarian structures always flop. Unfortunately, they also tend to screw millions of lives in between. They also like put the blame on others and gaslight. Like a crazy doomsday cult

Gee...are you talking about Pax Americana Exceptionalism? With NeoCon/NeoLib crying about "human rights" while supplying weapons & escalating conflicts to genocide populations of brown people?

> Oh mate... The so-called socialism is a much worse mafia which wouldn't even allow you to call them mafia. The way they disregard human life and any human morals would damage your mental sanity if you ever had to face it. I hope you wouldn't. I wish you all the best and a great life, and hopefully you would never have to face the evil that the socialism is.

I'm glad that I don't live in a country controlled by Nazis, yes actual Banderite Nazis, brought in by a US backed coup...where young men & women are picked up off the street & sent to the front lines to die. All because the country is dissuaded from making a peace agreement by British & American politicians. Lets get real. This insanity needs to stop...or people will look for alternatives...which is happening as we speak. I hope we can focus on what is constructive again & be on the right side of history. The age of Colonialism is nearing its end.

briantakita··on Our Company Is Doing So Well That You're All Fired
What's interesting is that capitalist systems often make socialist systems poor through sanctions, military intervention, & other underhanded tactics. It's a geopolitical game of control & socialism stands of defiance over the banking establishment. Times seem to be changing though as the commodity producing nations are gaining leverage & winning wars against colonial nations. The problem for the colonialists is if the peasants walk away, peasant work is no longer as inexpensive & readily available.

I'm all for free markets, but the end-game of capitalism is power cartels backed by military intervention...not free markets. So socialism seems like an interesting alternative to collaborate. That being said, rhetorical systems are used to convince people to adopt an underlying real political order.

briantakita··on Our Company Is Doing So Well That You're All Fired
Financial engineering is designed to benefit the designers of the financial systems. There is a sales pitch to convince people to play along, but it's a net negative game & not designed to benefit everyone else.
briantakita··on Our Company Is Doing So Well That You're All Fired
Solopreneur programmers collaborating using open source software to create businesses would be more fair. Even if it no longer makes sense to "keep the band together", the programmers have a greater chance of having something tangible to use moving forward. Non-programmers don't have the option, which is where proprietary Intellectual Property comes in. Giving everyone a share of the IP, like a co-op, would be more fair.

Perhaps this is unrealistic in most scenarios today, but it's at least worth pointing out. Perhaps the future of economic collaboration can have fairness in future progress/reward as a consideration.

briantakita··on Show HN: htmz – a low power tool for HTML
I released it a few days ago & I appreciate the feedback. A single__hyop is a strategy to run a hyop mapped to a key...opposed to a multi__hyop which runs multiple hyops on keys delimited by whitespace. Other strategies are possible, like implementing an HTMX-like api with tree-shaking...but I havn't yet run into a use case for such sophisticated behavior. TBH, I only use single__hyop but wanted to leave the api space open for more sophistication. I mainly use this pattern instead of the overly-bloated hydration feature that come with the large UI frameworks.

It is like onload for all elements, it works with tree-shaking, & the hyops can keep local scope (do not need to be assigned to globalThis/window). I didn't use the onload attribute because hyop has different semantics than onload. eval would need to be used & the functions would need to in global scope to preserve onload semantics.

There is a DEBUG preprocessor which ensures that all of the hyops are loaded in the browser build & there are no unused hyops as well.

It's only 61 bytes, so it's basically snippet-ware at this point. There may be more built on this foundation as I mentioned earlier. I wanted to express this pattern b/c it's been useful for me.

briantakita··on Show HN: htmz – a low power tool for HTML
Love it! I think this idea has some legs in that a programmer can build their own f****k. Bundling only the pieces that they actually use. I don't see why it should not be used in a production environment...other than someone in the internet disapproves...a fear many of us suffer from. It's a simple idea & can be easily managed in a codebase.

In he spirit of breaking apart HTMX piece by piece, I created hyop (Hypermedia/Hydration Operation). It weighs in at 61 B but uses the "hyop" attribute. I know, I know, I'm bad...but at least I save bytes.

https://github.com/hyopjs/hyop

I'm going to use some of your concepts, with credit of course...like the snippetware idea among others.

briantakita··on Tailwind CSS marketing and misinformation engine
I like Tailwind because it's easier to prototype & modularize design. The HTML can be copied from templates, other sites, & it more or less works. Carson Gross, creator of HTMX, wrote an article about Locality of Behavior, which I believe applies here.

https://htmx.org/essays/locality-of-behaviour/

I don't use HTMX as I would like a smaller JS bundle. I would also like an efficient CSS system of utility classes. I think Hypermedia libraries & CSS utility libraries can be improved. I'm also working on app systems to reuse code across domains...using a consistent domain language. A challenge is interoping my domain ontology with other domain ontologies. The class name interop is an area where Tailwind has found success. You can start with their prototypes or another developer's prototype with copy/paste. This is great for engineers/developers who are less inclined to spend enough time learning the art of perfecting design.

This can happen in semantic markup as well, however the bounded context of the example site is less likely to interop with your app...because the semantic markup is less bounded than utility classes.

Tailwind also has `purge` to remove unused CSS classes. Yes, `purge` is a build step & it requires the js/html content to evaluate. However, if you want to optimize the JS bundle size, you probably use a build step.

briantakita··on Carbon Capture Facility in World Creates 25x More CO2 from Use of Product
The whole thing is a fraud to capture (no pun intended) markets...and put meters on what was once free.
briantakita··on “I'm sorry, Dave. I'm afraid that computation is too carbon intensive”
> Their competitors - which like the US military will be state-controlled entities - for burning the most fossil fuels aren't exactly known for their transparency.

The Pentagon has never passed an audit, so it's not known for it's transparency either.

https://www.npr.org/2021/05/19/997961646/the-pentagon-has-ne...

https://www.defensenews.com/pentagon/2023/11/16/pentagon-fai...

Trillions of funds unaccounted for & much of what is accounted for is "top secret". Not transparent.

> Sure, this comparison may be "cheating", but put it this way; it's much worse for global emissions to have Aramco improve their barrels/day rate by 10% than the Pentagon's budget increase by 10%.

Much of the violence, weapon production, & violations of sovereignty in the world is centered around the desire to control this resource. I'll take emissions that make make life better/useful things vs emissions that destroy lives/things.

briantakita··on “I'm sorry, Dave. I'm afraid that computation is too carbon intensive”
The largest polluter in the world is the US Military.
briantakita··on Tesla's Cybertrucks are rusting despite stainless steel
The battery could be used to power a cathodic protection system with a sacrificial anode. Looks like some there will be some job openings for corrosion engineers.

https://en.m.wikipedia.org/wiki/Cathodic_protection

briantakita··on Tesla's Cybertrucks are rusting despite stainless steel
The battery could be used to power a cathodic protection system with a sacrificial anode.
briantakita··on A record number of Americans can't afford rent
Welcome to the rentier economy. Where less goods are produced & the workers are homeless...While people who own multiple properties extract maximum rent to barely get by themselves.
briantakita··on Zed, a collaborative code editor, is now open source
I credit Nathan Wilmes for showing me how to speed up my development techniques & decision making...Mainly by observing him work during our pairing sessions. It's interesting how one can learn effective practices that are difficult codify with conscious thought & written or spoken language...Yet the human observational systems & nervous system are effective in working with these complexities. It's almost like how a GPU frees the CPU from processing graphics or linear equations.
briantakita··on Zed, a collaborative code editor, is now open source
I had the pleasure of working with Nathan Sobo when he joined Pivotal Labs ~2008. He had a burning desire to create a transformative text edior/ide back then. He is bright, not only in an intellectual & talent sense, but also in an energetic sense. He is also compassionate & genuine person. I'm very happy & inspired every time I see his endeavors progress.

Knowing Nathan has been one of the major catalysts for me to improve the art of software craftsmanship. Sometimes you meet amazing people in life & I count Nathan as Amazing in many ways.

briantakita··on A cautionary tale about software dependencies during major geopolitical events
> any theory of _why_ Russia would care about an inconsequential CSS-related lib

Most likely he didn't want to deal with the maintenance burden of CSS-in-JS or React.

I must be Russian because I don't want to deal with that either. Those darn Russians...

briantakita··on The case for single-stair multifamily
> I'd like to see more discussion of the safety impact;

Another concern is building stability, whether or not the actual construction process followed code, whether or not structural maintenance is adequate, & the age of some high rises. Florida recently had a condo collapse. There are many old tall buildings built on shifting water permeable ground in the US.

China has issues with tall buildings as well, particularly in it's river flood plains. It is quite surreal to see an entire high-rise being carried down a river. Look it up.

Edit:

I was unable to find the video with today's search...so here is the video. Apparently there was censorship with the Chinese government over the video.

https://youtu.be/MCC7C5PJrOI?si=TAgIKOYbIpr8VAM0&t=154

briantakita··on Is htmx Just Another JavaScript Framework?
> Obviously you benefit from understanding the internals too, but realistically, the more complicated the thing you're using, the less of the internals even a motivated user is going to bother with.

This is a problem that grows with a large library...An api change has a higher cost than with a smaller library. Smaller libraries also tend to be easier to fully understand. Large libraries tend to be more of a "leap of faith" than small libraries.

briantakita··on Revitalizing US Navy Shipbuilding
I'll leave it to the Russians to determine if they are achieving their publicly stated goals or not.

In the meantime, I think we should focus on helping our government better & more efficiently serve the people in America...rather than flooding the world with weapons, publically lecturing about "values" while privately destabilizing governments abroad & arming genocidal maniacs & Banderite Nazis...while disproportionately enriching select contractors & politically entrenched institutions.

briantakita··on Revitalizing US Navy Shipbuilding
A common criticism of the defense industry, or relating to government contractors in all industries, is misaligned incentives. Military contractors are incentivized to maximize profit, not win wars. Health care contractors are incentivized to maximize profit, not care for people. Technology contractors are incentivized to maximize profit, not innovate. And so on...

Which may explain why Russia's military is more effective than US led NATO. Or why US Health Care is relatively expensive compared to other countries offering equivalent care. Or why massive tech initiatives need to be rescued or are a costly failure.

briantakita··on Bad scientific code beats code following "best practices" (2014)
Some people incorporate antipatterns into their practice & reinforce these antipatterns with years of experience. All fields have this issue. Bad professional scientists are often worse than effective amateur scientists. Having good first principles with little experience often beats plenty of experience with bad first principles.

I have learned to appreciate codebases which break some rules & yet are easier to maintain for some reason(s) Distilling the reason(s) identifies areas where I can modify my technique...or at least help identify questions & alternatives to some techniques that I regularly use.

briantakita··on We Could Fix Everything, We Just Don't
Hopefully it's not "The Great Reset" which uses a derivation of an even older form of governance...Neo-Feudalism...along with "Public-Private Partnerships"...aka Fascism.

A culture of bottom up independent & responsible creators would be a freedom-oriented alternative. Perhaps things are not fixed because the majority of the population is nudged & habituated to give up their responsibility to governments, corporations, & "experts". This includes the responsibility to hear all information in a pure uncensored & unnarrated form...And the responsibility to make decisions based on all available information. Also, the responsibility to take action based on the information & decisions. Convenience & irresponsibility comes with a great price.

If you let let them take your responsibility away from you, they will have sole determination of your conditions...Feudalism & Fascism has historically not ended well for the subjects, including the subjects that profit from these governance models.

briantakita··on Wealthiest Californians are leaving the state. It's bad news for the economy
I don't know what the trigger is. I know of 2 people this happened to including me. My CPA mentioned that CA was "very aggressive" & he had dealt with this before. I had already filed in a different state far away from CA for multiple years after moving out. The seizure happened on a Friday late December & my CPA got all of my funds back by the next Tuesday. Did you notify the FTB that you moved out of CA?

Edit

My friend recently had his funds seized from when he moved out for the 2016 year. He got 1/2 back but his paperwork is not in order & got cleaned out. Currently does not have enough to hire a CPA to get the rest.

Btw, I had already done several of the steps listed in https://www.modernfp.com/blog/leaving-ca

I will never move back to CA. Another word of warning from a CHP officer. If you happen to drive in CA as a former resident, make sure you have your out of state license on you. If you forget your wallet, you could be cited for driving with an expired license.

briantakita··on Wealthiest Californians are leaving the state. It's bad news for the economy
The FTB will track you by your SSN. If you open a new bank account, the funds in that new bank account will be seized.
briantakita··on Wealthiest Californians are leaving the state. It's bad news for the economy
The FTB will attempt to contact you by mail at your last known address about not filing for the year you moved out onward. If the FTB is unable to contact you, the funds in the bank account will be seized for the "estimated income tax"...probably a few years later. Perhaps you can give the FTB a notice that you moved out of the state before this happens?

It would be nice if the FTB contacts your bank about contacting you before the seizure, but that's not what they do. It can be particularly inconvenient if they seize all of the funds (and they will if that's what is estimated to be owed), as it may be difficult to hire a CPA in that event. Hopefully the paperwork is in order or a CPA is already hired.

briantakita··on Wealthiest Californians are leaving the state. It's bad news for the economy
No, but the Franchise Tax Board is aggressive about going into former state residents' bank accounts & cleaning them out without notice for an "estimated income tax"...even if the former resident filed in another state for the year that they moved out onward. So have your paperwork in order or get a CPA to get your money back if the FTB does a surprise withdrawal from your bank account.
briantakita··on Asking your customers what they want doesn't work
I wonder how many of your customers secretly don't want to be your customer but have to be for some reason or another. If this is the case, then asking these customers for what they want may illicit a response to create satisfaction from their unsatisfactory circumstance.
briantakita··on The Limits to Growth (1972)
This work, essentially Malthus 2.0, is yet another lesson of how the unknown unknowns often defeat the most dire & most optimistic linear projections.
← PreviousPage 4 of 34Next →