Better HN
topnewbestaskshowjobs
Log inSign up

kannanvijayan

1,636 karma · joined Aug 10, 2010 (16y ago) · 308 submissions

Submissions

comment 3d ago · link · parent

My father was a botanist that went into plant genetics research and I remember him describing to me at one point how it felt when the later sequencing technologies came online in that field.

A scientist could spend an entire lifetime characterizing a single gene with careful meticulous breeding and old techniques for sequencing. At some point sequencing machines started producing entire libraries of mRNA transcripts in one run. Things moved on, and new techniques were invented to leverage these tools. Metagenomics and whole population transcriptome analysis were just like, born.

I don't think math is threatened at all here - we just don't know where the new frontier is yet. Something humans had been hand-digging at with picks and chisels is now being excavated by mass earth movers. The frontier will move to the limits of these tools.

comment 3d ago · link · parent

Yeah you can hash out the policy details this way or that, but at the end of the day it's details. Import bans in general are rarely used in western nations, and where used it's targeted at specific moral issues or national relationship posturing. And I suspect an import ban would have faced stronger retaliation earlier from our southern neighbors.

In theory any number of systems might be better. In practice you don't know till you try and find out. In this context, that question doesn't even matter before you resolve whether it is worth it to preserve a domestic dairy supply relatively independent of influence from external/global factors including pressure from foreign governments.

Once you resolve that question, assuming there's agreement on it, you can move onto thinking about whether this policy mechanism or that is better for that, if you're just doing idle "superman vs the hulk" speculation. Actually proposing a policy measure would come with some extra expectation of what the validation would look like, and what the political pathway from here to there would look like meaningfully given the current set of incentives and influences in play in Canadian politics.

comment 3d ago · link · parent

I think it's also because we have a big neighboring country with a larger market that uses public money to subsidize their corporate milk industry which is looking to leverage that taxpayer funded welfare to try to dump their product in our dairy markets.

Dairy is a reasonably critical industry from a domestic security perspective. Not a great idea to let it get swallowed up whole by another nation's subsidized industry.

comment 1w ago · link · parent

I'm similarly working on a complex project and have run into these issues.

There's typically a combination of issues that are occurring when the codebase goes off the rails.

One is that cruft builds up. Large vibecoded codebases need regular "review cleaning". Where you review the whole thing top down for hygiene, contradictions, bad comments, style, redundancy, design. It's a standard thing for me now. A full review and cleanup pass once every couple months.

The second thing that tends to go wrong is that after a certain complexity threshold, the models cannot keep track of the relevant details for a task very well. They lose sense of project directionality. Every task gets disconnected from other tasks and they start pulling the system apart at the seams, exacerbating the cruft issue above and accelerating collapse.

I've found that separating my documentation into three distinct lobes helps: goaling docs, guardrail docs, and implementation docs. Goaling docs describe in prose the goals of the project which includes scope, certain design targets, and other things that you are aiming towards. Guardrails are for design and implementation choices you have explicitly ruled out, the "what not to do" part. Impl docs describe the state of the system as it is.

The top-level agent documents refer to these and make their purpose explicit.

You'd think a ticketing system might capture this, but it doesn't really provide the richness of expression a collection of documents in a directory does.

These approaches aren't perfect. The process still has a tendency to wander off the rails, but it happens less often now and I catch it more quickly. Every session misses little bits of the goaling alignment, but they also find and address small issues missed by previous sessions. Overall it does a better job of keeping the codebase hovering around some threshold of coherency.

I'm having a lot of fun to be honest. Yes it's bizarre and nothing like what development used to be, but it finally feels like there's some new things to learn now.

comment 1w ago · link · parent

Goalposts haven't moved - expectations have.

I think it's pretty clear that the Turing Test has fallen. If that's the standard for intelligence then we've passed it. Over the years there have been various litmus tests proposed: beating humans at chess, and then Go, and then "doing research", etc.

For a large segment of the population, these are good enough already that our tendency to anthropomorphize fills in the gaps steps in. It's clear many people are talking to LLMs like they're people.

By various metrics, "super" intelligence has already been achieved in one or the other domain. Algorithms got superhuman at chess a while back.

The big underlying question is whether the idea of some AI singularity itself isn't some fundamentally nonsensical concept. Similar to how often singularities in other areas are actually just artifacts of the framing or coordinate system.

Every technological age has a cohort that proclaims it as the end of everything. In the early 1900s we had solved all of physics and were on the cusp of answering all questions the universe could throw at us, according to many at the time. The early parts of the prior century saw similar grandiose prognostications. Eugenics would finally solve the problem of human justice. Engineered microwaveable dinners would solve human nutrition. etc. etc.

Ultimately it's true that society change drastically in an irreversible way due to these technologies, as I'm sure it will due to AI. But the appropriate analogy there is an event horizon, not a singularity. And even then, it's a rhetorical device, not a real thing. It's conjuring an idea that can't correspond to anything in reality - sort of like how you can define the concept of a perpetual motion machine and also understand that the concept is not a reachable reality.

comment 1w ago · link · parent

You're one of five hundred doing the same now for every nontrivial open source project. Your submission gets lost in the noise.

This sort of drive-by collaboration on open source is effectively dead in the water now. The technical talent to bang out a small fix for something is a commodity. The thing that's scarce is trust.

Someone merging a drive-by patch is going to have to spend a lot of time checking it carefully to make sure it's not a vulnerability injection in disguise. You simply can't ask for that kind of bandwidth from open source maintainers. They have lives.

The thing is that this was already sort of true before AI. Once tech effectively became the only job sector where salary wasn't garbage you had a ton of people whose only involvement in open source was as a resume booster. The tech version of high school extracurriculars to pad out your Ivy League application.

comment 1w ago · link · parent

> Reality doesn't work like fiction, in reality the bad guy wins. Luckily I'm all out of giving a damn and am willing to play the bad guy.

How strange.. this is the same sentiment expressed by a subsegment of the emo/goth teen crowd in my high school in the 90s.

comment 2w ago · link · parent

The simple combinatorial explosion criticism feels reductive to me. It's exceedingly unlikely that a single "self-replicating RNA molecule" formed independently by chance and then propagated.

Let's say that you have some RNA soup with some ribozymes some of which weakly encourage some reaction involving other RNA molecules. The occurrence of a cycle of reinforcing reactions might be sufficient to build a crude evolutionary ratchet.

In fact the "cycle of reactions" perspective feels a bit more robust to me since it allows for the proto-replication process to take place over a longer period of time and over larger areas.

comment 2w ago · link · parent

Consider the wisdom of speculating on the incredibly fast adoption of the internet and mobile technologies, and on that basis investing heavily in whatever mobile carrier had the fastest network.

The speculation that the AI investment sector depends on is not just that adoption is incredible and that the value it generates is high, it's ALSO that the companies will be able to capture a significant amount of that value generation for themselves via fees or some other mechanism.

Are the LLM vendors more comparable to Google/Apple in this scenario, or more comparable to AT&T and Bell?

comment 3w ago · link · parent

Yeah they're fine/reasonable rural vehicles - functionally ok and the critical features work well. But the size is just.. comical, and an absolute hazard in urban environments. I have similar needs to you - I semi regularly use private wooded unmaintained roads where there's some chance of needing to saw a fallen tree out to keep moving.

I don't really want a second vehicle as it would get rare use. Urban driving with it is just an unpleasant experience. I am forced to be hyper-aware of any and every corner a tyke COULD have walked out of and entered into my driving range without me seeing, especially when running errands for the kid to places where other kids are around. Cannot relax for a moment.

comment 3w ago · link · parent

As an owner and daily driver of one of these absurd oversized tonkas, I have to say that it's almost like they're precision engineered to murder children.

I'd trade this princess in for a hi-lux or a road-worthy late 90s ranger any day of the week, but try finding that on the market.

comment 3w ago · link · parent

I am in no way trying to undermine your point, but I have to say as I read past that first sentence, it became impossible to not imagine Tobias Fünke's aspirational role as "Frightened Inmate Number Two" as the subject of your commentary.

comment 1mo ago · link · parent

I came of age with the personal PC revolution and developed my career during the internet revolution, and was well into my career when the mobile computing smartphone revolution occurred. I did not see or feel even a fraction of the amount of social dread with those technologies that I see with AI, and I think that's justified given the circumstances.

Saying that this revolution is another one of those is true in a general sense, but misleading in the specific sense. Just as saying that adding 1c heat to some body of water is "more of the same" can be true in a general sense, but misleading when the water's basis temperature is 99.5c.

That is to say, periodic or gradual change induces large changes at inflection points.

It feels similar to the progression from post-WW2 technological utopianism that arose with the adoption and deployment of massive advancements in materials and mechanical, and electrical technology, to the cold-war dread of nuclear and ballistic technology.

I think the 90s saw the end of the cold war which lifted a bunch of that dread. The optimism of those days has been worn down over time.

What I remember back then is at least the pretense being sold that the technology would improve people's lives by giving them more leisure and enjoyment. That the productivity gains would be reflected in some improvement in quality of life. I think the main difference now is that this expectation has been lost by most people.

comment 1mo ago · link · parent

This has been very informative. With object property/method lookup optimized the next big leap in JIT-style perf is actually a hard pull. The next big perf win lies behind local type inference, and a method-jit with your standard bevy of SSA optimizations to hoist the typeguards.

I suppose the various JIT projects are trying to come at that from different angles incrementally, but that's a genuinely hard problem as you don't see real benefits until multiple complex pieces of infrastructure are in place and with good coverage over the language.

Anyway, my hot take was misplaced.

comment 1mo ago · link · parent

I see you brought up the freedom of speech group, but didn't address the potential implications of other similarly important groups such as fursuit afficianados and PETA and, most egregiously, the Taylor Swift fandom.

comment 1mo ago · link · parent

Ah, the `__slots__` feature makes it make a lot more sense.

> Sorry, that sounds a bit vague and not too different from what CPython already is doing.

With slots being available, I can see where I was misled. I went looking for a type structure that modeled the dynamic properties on an object which would be used as a typeguard, but the class itself functions as that if you're restricting the optimization to slotted properties.

Appreciate the clarfication!

comment 1mo ago · link · parent

I haven't kept up with python development lately, so thanks for pointing that out. I looked this up and it does seem like some sort of property access is being optimized. What's not clear is what the hidden runtime type model is being used for this, or if it's a lightweight tracking that captures some subset of property accesses.

More digging led to this: https://peps.python.org/pep-0659/ which seems to be what the effort is organized around?

Python's object semantics are broadly similar to Javascript, bar the prototypical inheritance chain, but with the extra complexity of potentially needing to handle dynamic `__*attr__` overrides. Optimizing for this would require a tree of hidden map objects much like JS JIT engines use. I dug around the codebase a while back looking for something like that but didn't find it. `OrderedDict` seemed promising but after more investigation that turned out to just be adding property ordering to dictionaries.

The thing is, you can build that entire hidden type structure out, AND optimize against it, without ever having to mess with things like bytecode replacement. Once you have the hidden type model, you can modify the property lookup algorithm in the VM itself (as in cpython c code) to use some annotation structure hanging off of the bytecode to look up inline caches of type-guarded fastpaths. It would be an optimized fastpath that integrated directly into the C code that interprets the GETATTR opcode.

comment 1mo ago · link · parent

Gonna dump a technical hot take here.

Python is a mature production language with a lot of users. Even before it was huge - like 20 years ago when I was in college - getting a small backwards compatible API change into a python extension module (gnu readline in my case) required convincing GvR personally that the API change was necessary.

Every JIT attempt I've seen for python just tries to cut too deep in the first pass, and scope themselves too large.

I believe any successful attempt at optimizing python performance from JIT will FIRST start with a 100% semantically compatible hidden type model for optimizing object property access and method dispatch.

The single biggest performance delta in most dynamic language jits come from that, not from optimizing guards off of bytecode operations or from compiling to machine code. It's from converting hashtable lookups into constant-time guard + offset lookups.

The hidden type model is also a hard nut to crack. It needs to perserve dict semantics which have very dynamic behaviour via the various `__*__` methods, and handle exotics scope objects since scoped name lookups are the most common ones which have their own exotic behaviours (I remember python providing some ability for callee frames to inspect caller scopes in some limited ways).

comment 1mo ago · link · parent

The "good enough" problem is a real biter. The personal PC market overtook the mainframe market long before PCs were even close to beating the top supercomputers. Cheap and good enough is the threat.

What does good enough look like for various use cases, when do we hit it, and can these companies guard that territory?

comment 1mo ago · link · parent

My personal emotional reaction to these changes is very similar, as a 40-something year old programmer. I wrote my own take on it (https://medium.com/@kannanvijayan/talking-to-the-computer-5c...), didn't submit it to HN though.

I was genuinely considering whether or not I still liked programming - the excitement and risk of technical failure had dropped off. Most failures were for other organizational and process and management reasons. I respect the value of executing those aspects well, but I have no interest in becoming fluent in solving that class of problems. It just bores me. I want to build big beautiful, complex, intricate machines.

The agentic tools are, for me, a step up into tackling broader projects I had put on the shelf as "not doable without investment". I can self-fund my ideas now. Things I anticipate would have taken about a decade or so to play around with and build out as a sole developer, I'm taking on as a sole developer.

But that said, I do appreciate that we can't be sure of what exactly this churn will produce. The other factors that go along with the technical achievement aren't too rosy.

comment 1mo ago · link · parent

I moved my projects over to GitLab about a year ago.

GitLab's model is different - at least it was when I moved over to it. They charged for public repositories and gave you a free private ones as a sampler for trying out the platform. That approach is far less prone to getting overrun by millions of slopositories.

GitLab never tried to be the social media of software development. Theirs is a much simpler, classical model - one of the reasons I switched to them: you pay them money, they provide you services for that money.

comment 1mo ago · link · parent

Oh I thought you were going to give an example of the prior "regime" telling CFTC staff to retract analysis of suspicious oil trades.

I guess you are asserting that this other thing is equivalent to that?

comment 1mo ago · link · parent

You seem very sensitive if you think someone asking you if you are trolling and asking you if you are being serious is "an insult". If this is what gets under your skin, I shudder at the thought of what the rest of the internet feels like to you. It must be a living nightmare.

Also, where did you get the impression that trolling required the underlying opinion to be falsely held? Whoever taught you that was doing you a disservice.

comment 1mo ago · link · parent

Who exactly claimed to support anyone saying anything? Or are you claiming that supporting "freedom of speech" implies that one must support anyone saying anything?

comment 1mo ago · link · parent

The US also considers prosecution of the Epstein child rapists as unnecessary.

Point being, I don't really think that "the US considers" carries a whole lot of weight these days.

comment 2mo ago · link · parent

The idea of foreign entities holding American leaders to account when Americans are unable to do it themselves is a fundamental emotional taboo for many.

comment 2mo ago · link · parent

There seem to be two groups of people talking past each other here, which is worth acknowledging.

On the one hand, there is a notion of consistent principles regarding the legal handling of the topic, which is being appealed to by some people such as yourself.

The other side seems to be drawing attention to the fact that these principles are not applied consistently by society. They're questioning the moral validity of holding to principle in a circumstance where it's guaranteed to be applied with very specific biases that are rarely explicitly stated.

I've noticed this talking-past happening in other subjects too. For example American drug laws. There's the principle of drug laws, and then there's the practice of which kinds of people gets the laws applied to them. One group of people focus on the one, and another focus on the other, and they just kind of talk past each other.

comment 2mo ago · link · parent

Nonsense, it's clearly tremendously Al-Adeen.

comment 3mo ago · link · parent

This sort of rhetoric leads me to believe you've been enmeshed in the online and more um.. "engaging", rhetoric on this which no doubt paints a very compelling narrative.

The government's actions are much better explained by a sudden actual, panicked focus on actual development of the economy towards some combination of diversification and domestic demand - after the governing party's leader was replaced by arguably a much more results oriented PM after having been governed for a while by a much more vibes oriented PM.

Opening up the pipeline projects required more than just "conceding" to Alberta, it required negotiating with BC and the native tribes that would have a say in the path and ensuring they got the concessions they needed. Boring work. Not really meme material and doesn't make the headlines.

Between all the things the government has been doing - the oil sector work, the acceleration of military procurement, the various bilateral trade agreements, and work on easing internal trade restrictions, acceleration of internal projects - it's easy for some interest or another to cherry pick a particular set of events and use them to paint a narrative.

These narratives would be more compelling and maybe work better at other times, but the issue currently is that the American president is just so effective at drowning out any of these. There's nothing quite so unifying as an obnoxious tyrant rambling on about your country in disrespectful terms.

The commentary (mistakenly) assuming my nationality could probably have been left out of your response :)

comment 3mo ago · link · parent

I think you're mistaken about the effect that the Albertan premier's artificially manufactured "independence" campaign is having on the electorate.

Outside of the small fringe communities that support it, the reaction of the broader country has been to actually shift MORE into hardline stances against the US, as the effort is seen largely as an American manufactured thing.

Additionally, I'd advise to take with caution perspectives from any sources that would characterize the province of Alberta as "the west".

12345
11