Better HN
topnewbestaskshowjobs
Log inSign up

jongjong

3,085 karma · joined Jul 22, 2022 (4y ago) · 2,303 submissions

Submissions

comment 7mo ago · link · parent

Logically, I think there's a big difference between code which was produced from a simple generic prompt without other input vs code which was produced from a multiple complex prompts with large existing code as input.

When I'm feeding AI my code as input and it ends up producing new code which adheres to my architecture, my coding style and my detailed technical requirements, the copyright over the output should be mine since the code looks exactly like what I would have produced by hand, there is no creative input from the AI. It's just a code completion tool to save time.

I understand if someone leaves an LLM running as an agent for multiple days and it produces a whole bunch of code, then it's a very different process.

comment 7mo ago · link · parent

This is why I advocate for making everything as simple as possible. The more complex the tech, the more likely it will be lost through the passing of time.

It's kind of insane how much knowledge a human being needs to have to build certain technologies and it's taken for granted.

AI might make the knowledge easier to acquire but it's still a lot of knowledge that people have to internalize.

comment 7mo ago · link · parent

This makes a good point. A lot of people think that big tech has a duty to provide jobs to smart, ambitious people.

They assume that we live in some kind of socialist system. They feel like it's a kind of deal; they accept all the regulations, monopolies bureaucratic bullshit and, in return, the corporate monopolies pay them to keep quiet and stay out of politics.

I understand the sentiment but what's horrible about this mindset is that these people think it's OK to support corrupt political power to enrich themselves at the expense of everyone who doesn't work for a big corporate monopoly. They think that all the smart people work for big tech and everyone else is trash... And they set the criteria for entry into the big tech monopoly club (I.e. screenings and interviews). But the irony is that they're trash! Their pseudo-socialist view of the word is crooked.

The reason I support UBI is because I don't see a meaningful difference between ambitious people and random people. Every generation from boomers onwards are spoiled brats. Mostly monetizing and gatekeeping the ingenuity and labor of past generations by playing dumb social games. The whole system doesn't make sense. As meritocracy declines, the rewards increase and false narratives fill the gaps... They'll have you believe that the person who painted Facebook HQ's walls contributed more to society than the guy who actually invented the paint...

comment 7mo ago · link · parent

There seems to be a pattern that if someone who was not pre-selected by some elites ends up making their own money (I.e. real 'self-made') they are swiftly attacked by the system. On the other hand, look at Nancy Pelosi; she didn't get into any trouble.

Are people allowed to be self-made anymore?

For me personally, after years of planning and hard work, I once managed to secure myself about $40k of passive income from a blockchain in crypto; this lasted a few years but eventually the founders suspiciously abandoned the entire tech stack (for no reason) and switched to Ethereum; this destroyed the opportunity for me; literally lost that stream entirely. Now, recently, I was able to re-establish a passive income stream of about $10k per year from a non-crypto source; this is from an opportunity I took over 10 years ago... I'm worried about that being taken away somehow.

comment 7mo ago · link · parent

It feels like the political forces underpinning the software industry are coming to light but it seems like there are two opposing forces now instead of just one.

comment 7mo ago · link · parent

I want to support OAuth2, not OpenID so I don't rely on a JWT; I call the issuer's endpoint directly from my backend using their official domain name over HTTPS. I use the sub field to avoid re-allocation of usernames/emails but my point is that I don't trust it on its own; I couple it with the provider ID.

To make it universal, I had to keep complexity minimal and focus on the most supported protocol which is plain OAuth2.

comment 7mo ago · link · parent

If this kind of vulnerability exists at the platform level, imagine how vulnerable all the vibe-coded apps are to this kind of exploit.

I don't doubt the competence of the Vercel team actually and that's the point. Imagine if this happens to a top company which has their pick of the best engineers, on a global scale.

My experience with modern startups is that they're essentially all vulnerable to hacks. They just don't have the time to actually verify their infra.

Also, almost all apps are over-engineered. It's impossibly difficult to secure an app with hundreds of thousands of lines of code and 20 or so engineers working on the backend code in parallel.

Some people are like "Why they didn't encrypt all this?" This is a naive way to think about it. The platform has to decrypt the tokens at some point in order to use them. The best we can do is store the tokens and roll them over frequently.

If you make the authentication system too complex, with too many layers of defense, you create a situation where users will struggle to access their own accounts... And you only get marginal security benefits anyway. Some might argue the complexity creates other kinds of vulnerabilities.

comment 7mo ago · link · parent

Ah yeah but I wanted my platform to provide universal OAuth with any platform (that my app developer user trusts) as OAuth provider. If you rely entirely on subject identifiers; in theory, it gives one platform (OAuth provider) the ability to hijack any account belonging to users authenticating via a different platform; e.g. one platform could fake the subject identifiers of their own platform/provider to intentionally make them match that of target accounts from a different platform/provider.

Now, I realize that this would require a large-scale conspiracy by the company/platform to execute but I don't want to trust one platform with access to accounts coming from a different platform. I don't want any possible edge cases. I wanted to fully isolate them. If one platform was compromised; that would be bad news for a subset of users, but not all users.

If the maker of an application wants to trust some obscure platform as their OAuth provider; they're welcome to. In fact, I allow people running their own KeyCloak instances as provider to do their own OAuth so it's actually a realistic scenario.

This is why I used the hash approach; I have full control over the username on my platform.

[EDIT] I forgot to mention I incorporate the issuer's sub in addition to their username to produce a username with a hash which I use as my username. The key point I wanted to get across here is don't trust one provider with accounts created via a different provider.

comment 7mo ago · link · parent

I remember implementing OAuth2 for my platform months ago and I was using the username from the provider's platform as the username within my own platform... But this is a big problem because what if a different person creates an account with the same username on a different platform? They could authenticate themselves onto my platform using that other provider to hijack the first person's account!

Thankfully I patched this issue just before it became a viable exploit because the two platforms I was supporting at the time had different username conventions; Google used email addresses with an @ symbol and GitHub used plain usernames; this naturally prevented the possibility of username hijacking. I discovered this issue as I was upgrading my platform to support universal OAuth; it would have been a major flaw had I not identified this. This sounds similar to the Vercel issue.

Anyway my fix was to append a unique hash based on the username and platform combination to the end of the username on my platform.

comment 7mo ago · link · parent

Yes, this is a genuine problem with AI platforms. It does sometimes feel like they're suspiciously over-promoting certain solutions; to the point that it's not in the AI platform's interest.

I know what it's like being on the opposite side of this as I maintain an open source project which I started almost 15 years ago and has over 6k GitHub stars. It's been thoroughly tested and battle-tested over long periods of time at scale with a variety of projects; but even if I try to use exact sentences from the website documentation in my AI prompt (e.g. Claude), my project will not surface! I have to mention my project directly by name and then it starts praising it and its architecture saying that it meets all the specific requirements I had mentioned earlier. Then I ask the AI why it didn't mention my project before if it's such a good fit. Then it hints at number of mentions in its training data.

It's weird that clearly the LLM knows a LOT about my project and yet it never recommends it even when I design the question intentionally in such a way that it is the perfect fit.

I feel like some companies have been paying people to upvote/like certain answers in AI-responses with the intent that those upvotes/likes would lead to inclusion in the training set for the next cutting-edge model.

It's a hard problem to solve. I hope Anthropic finds a solution because they have a great product and it would be a shame for it to devolve into a free advertising tool for select few tech platforms. Their users (myself included) pay them good money and so they have no reason to pander to vested interests other than their own and that of their customers.

comment 7mo ago · link · parent

Never thought I'd be reading this on TechCrunch but fully resonates and it's an interesting article. Also, I understand why some people think we live in a simulation. It can be explained to some extent; we're glued to our phones/devices and those devices choose what information we see.

We are only aware of the stuff that our devices show to us; yet the vastness of the internet creates a false sense that we know everything. This dual reality (deep reality vs the surface reality we see) creates the feeling of being in a simulation; we have a feeling that there's another reality beyond our simulation. We implicitly trust the algorithms to do the curation for us, personalized to our tastes, but the algorithms are heavily biased towards popular content, ideas and people. It's a tiny subset of reality that's highly manipulated and fake. The less critically-minded you are, the smaller but more pleasant your world is (until you reach a certain point?).

We have hype leading adoption, which funds development capacity which leads to slight improvements, which lead to consolidation of hype... But there exist alternatives that are 10x better from the beginning but lacking the hype component altogether and those things appear to not exist. Value creators are often terrible at marketing. It's hard to sell to people who are inside the simulation when you are outside of it because you don't speak the same language.

The contrast between form vs substance has reached comically absurd levels and sadly, the clear winner is form.

To really get the full picture, you almost have to already know all the key information. At best, AI/LLMs can give you confirmation of your existing knowledge with additional supporting data... But even that's under attack; there are narratives trying to discredit the objectivity of LLMs by saying that they are programmed to agree with you for engagement... That's a persuasive narrative, especially in the age of fake news, but I really hope we ignore these narratives; we just have to observe that LLMs do in fact push back effectively when you're wrong! You can't make an LLM agree with you on facts that are wrong no matter how many times or how many ways you repeat them. The only wiggle-room is in terms of 'importance' or 'relevance', not facts.

Critical thinking (e.g. poking holes in otherwise perfectly satisfying explanations) is now more important than ever if you want to stay connected to reality because there are incredibly powerful forces in place to make sure we stay on the first layer.

comment 7mo ago · link · parent

I decided to not open source my latest project but it has nothing to do with security concerns. My code is perfectly secure and bug-free.

My concern is mostly financial. Most people would be in a better position to monetize my software than I am... Using AI to obfuscate the origin while appropriating all the key innovations. I wouldn't get any credit.

Also, I'm not really interested in humans anymore. I have human fatigue.

comment 7mo ago · link · parent

Claude does a great job generating the code. The hard part was the UX like if the app gets complex, then I want a new feature which adds more complexity on top; because of the way the application/UX is designed, it's hard to integrate that feature in a way that's not confusing to the user.

Like for example, I used check boxes to mean "include the records in the result set" but in a different section later in the flow, I have a different but similar looking view/list of records but I just want to use the check boxes to do batch delete but don't want the user to think that this means "include in the result set" in this case. So maybe instead I need a different single checkbox at the top which says "Don't ask for confirmation" so the user can just click on the normal "delete icon" on each row to delete the entries quickly without being prompted... But on the other previous view/list I allow the user to use the check boxes to both include the record but also batch delete using a single small cross at the top... But in the later section I mentioned, I don't want to do this because of the way I designed the flow, it would confuse the user and make it hard for them to track what they're doing and where they made the change (I want the selection step to be in a single place, the current page serves a different purpose). So maybe I need to change the other page as well for consistency... And use the "Don't ask for delete confirmation" approach everywhere? But there's not enough space to fit that text on those other pages...

When you solve all the hard problems, this is what coding gets reduced to. Not a hard problem but it's like lots of small ones like that which keep coming up and your interface ends up with a complex URL scheme and lot of modals and nested tabs.

comment 7mo ago · link · parent

The distinction isn't meaningful to me because I feel like one of the humans from Planet of the Apes here.

comment 7mo ago · link · parent

Fully agree. I started hitting this bottleneck when I combined a low-code backend I built with Claude Code to generate web applications.

I can build applications rapidly but the requirements and UX are the bottleneck. So much so that I often like to sit on a concept for multiple days to give myself the time to fully absorb the goal and refine the requirements. Then once I know what to build, it snaps together in like 4 hours.

There are a lot of ambiguities which need to be resolved ahead of time. Software engineering becomes a kind of detailed business strategy role.

comment 7mo ago · link · parent

Formal proofs can only ever work to validate against requirements... But a major issue with a lot of modern software is that the requirements themselves can be incorrect and some requirements can logically conflict with other requirements... So long as we have non-technical people formulating requirements, we can never have provably correct software.

I've come across issues in the past which weren't actually bugs. For example, the software was behaving exactly as intended but it looked like a bug to a user who didn't understand the nuances and complexities of what was happening.

I also cannot count how many times a non-technical person asked me to implement conflicting functionality or functionality which would have made the UX incredibly confusing for the user.

comment 7mo ago · link · parent

I feel like this is a trend. A few months ago, my phone was hacked because I was using a free QR code scanner app which I'd been using for like 5 years without issue.

It was an effective hack. I'd wasted 3+ hours jumping through hoops to get access to some basic service and was running into one hurdle after another... Then I got to a point that I wanted to scan a QR code from an old screenshot and so I opened my trusty QR code app to navigate to the website but when I opened the app; it wouldn't let me scan as usual; instead, there was a legit-looking update button on the page saying I needed to update the app; it was shown as part of the app interface itself (not some side ad). After 3 hours of running into a deep recursive rabbit hole with one hurdle after another, I was at my wit's end... I needed to read that QR code NOW! This was one hurdle too many which I didn't have the energy to even think about! I was too busy thinking about the other 4 layers of nested issues which I was trying to unwind myself out of! And so my muscle memory kicked in and hit the update button! Then BAM! Even before my system 2 thinking kicked in (to remind me that updates should be done through the app store), within a second or two, a message flashed on the screen and I knew my phone had been hacked. I noticed later that I received a whole bunch of extortion emails.

Thankfully, I never put anything sensitive on my phone. I treat it as a public space. I wasn't logged into any session on any app at the time. I immediately did a factory reset of my phone and changed all my passwords just in case. But damn, that was an effective hack! I trusted this app for 5 years and it betrayed me in a fraction of a second! This was surprising for me as I'd never been hacked before. It showed me how even someone who fully understands the tech can be hacked if caught at the right time in the right situation.

comment 8mo ago · link · parent

Me think this good idea. Regular language unnecessary complex. Distract meaning. Me wish everyone always talk this way. No hidden spin manipulate emotion. Information only. Complexity stupid.

comment 8mo ago · link · parent

Sure, but I think the media mostly misleads through omission and shifting the focus.

It seems trivial, but on a national or global scale, so many things happen that it becomes a powerful force.

Every day, the media ignores millions of events that happened in the country. It only reports on a few hundreds. The way it chooses what is important give it massive power.

Every day, some politicians somewhere act in a corrupt manner. The media covers a tiny fraction of those. Instead the media might fill the space with celebrity gossip. This creates a false impression that things are alright when they are not.

Unfortunately it's hard for us to get a general sense for how people in our society are doing because our perception is badly distorted.

My sense is that our current society is terrible and many people are harmed and left behind but the suffering is covered up and nobody is held accountable. This is based on what I've observed of people who I used to go to school with (for example).

comment 8mo ago · link · parent

I'm pretty sure the luck came first because optimism/pessimism is a learned trait.

I say this as someone who considers themselves "Optimistic by nature, pessimistic by experience."

I was born in lucky circumstances but that luck turned in my teens due to factors outside of my control. I have seen firsthand how it works.

Even now, I constantly have to catch myself and force myself to think pessimistically... And my pessimistic projections are usually right or sometimes not pessimistic enough.

But I know I'm a natural optimist by the fact that I don't give up. I've built so much software and startups over the years; most of them I'm still running on the side and keeping up to date even though I know consciously that there is zero chance they will succeed. Deep down I have a deep optimism that something will change and all the opportunities will come at once. Consciously, I know it is delusional but I'm fundamentally motivated by emotions, not thoughts.

It's a weird feeling having built products that work very similarly to (or better than) other products which rake in millions of dollars but not being able to find a single customer due to all sorts of weird contrived socio-political reasons.

comment 8mo ago · link · parent

My interpretation of the newspaper image-counting experiment is quite different from that of the author.

My view is that unlucky people don't trust the system (for a good reason) so they don't trust the text; given the nature of the experiment, it is reasonable that they would think the text is a trap to mislead them. It actually mirrors reality perfectly because most people are constantly misled about everything... But a few lucky 'chosen' people are not. In terms of the experiment it would be like showing unlucky people text which shows an incorrect number and the lucky people would see text showing the correct number. That's what's actually happening in real life.

What lucky people don't understand is that merely surviving, without receiving special treatment, is actually very difficult and it requires constantly jumping over all sorts of hurdles and deceptions and you can't afford trust third-party information because every time you did, you ended up losing everything or wasting years of your life. Lucky people are wrong to trust third-party information. They only learn how wrong they were when they stop receiving special treatment; then reality comes as a shock!

What is shown to the majority is what the media wants to show them. The media's purpose is to mislead people. Only a small handful of people are actually lucky enough to have mentors who will tell them "The media is misleading, I know because I influence the media; here is reality: ..."

comment 8mo ago · link · parent

Yep but there are strange undesirable characteristics that are being selected. Some of which we don't fully understand.

For example, it is my personal belief that there is a selection mechanism for high suggestibility (by social media and search algorithms which can monetize it). Basically suggestible people are helped in their careers because they act like a money pipeline which redirects money they 'earn' back to social media companies. Social media companies might be thinking of people as straight money pipes leading outward vs bendable pipes potentially leading back towards themselves. Which kind of pipe would they select to pump money through?

This has a side effect of creating strong social alignment over bad ideas. If you empower suggestible people to make decisions, then whoever is above them can bend them in any direction they want.

comment 8mo ago · link · parent

He did deny it multiple times on Twitter/X. Probably your news source of choice is the one which omitted this fact.

I think it probably did look a bit that way and maybe he did it for engagement, maybe he intended to create controversy or maybe it was none of these things. In any case, it wasn't an actual Nazi salute.

comment 8mo ago · link · parent

What did he do specifically to crater his reputation?

Is it his politics? He seems to have reasonable beliefs there. It's not like he's been supporting Trump unconditionally. He doesn't always agree with Trump. Is it because of his stance in favor of free speech? How is that a bad thing? As someone who doesn't like any side of politics, I don't get it.

comment 8mo ago · link · parent

Yep and I think unfortunately people don't understand human nature because they look at themselves and look at their neighbours to estimate it... But human nature is very different when evaluated from the centres of power. Humans near the centres of power are fundamentally very different from those on the periphery. There are powerful selection mechanisms at play.

I used to think success was mostly about luck but now I think there are selection mechanisms but they're not selecting for what people think. Selection is not based on skill or hard work.

comment 8mo ago · link · parent

They really don't want people scraping their data with extensions. The LI API response is the worst tangled mess I've ever seen... It's so bad, I have to assume it's intentional. Took me 3 days to parse their responses. I had to build a special rules-based scraping engine which allows me to filter and map items layer by layer based the relative positions of those items with flexible rules. A bit like CSS selectors but more complicated.

The hard part is that some APIs return items in a different order or with different indentation so my engine normalizes all the variants into consistent objects.

It's quite impressive that LI works at all given the complexity.

comment 8mo ago · link · parent

People won't be able to afford to leave their beds because food prices will be too high to justify the energy cost of standing up.

Every joule of human energy is energy that could have been better spent to produce AI slop for other AI agents to consume.

comment 8mo ago · link · parent

Studies are extremely difficult to get right. I'm generally a little bit skeptical of data for this reason.

A bit of a tangent but still on the subject of environmental pollution; the other day I found out that CO2 sensor sensitivity naturally drifts over time... So when a CO2 sensor is replaced for long term climate research, if they try to calibrate the new sensor to the old one at the time of replacement, the drift would be carried over into the new sensor even if no actual real change of CO2 occurred... Apparently there are standards to prevent this but mistakes have been identified multiple times with the methodology for setting that standard... Anyway measuring data accurately is really hard.

People do not appreciate correctness enough.

comment 8mo ago · link · parent

What I'm hoping for is for more competition in the tech sector. I'm tired of companies foisting Microsoft or Oracle products on everyone! WTF! The current tech sector feels like all companies are subsidiaries of Big Tech... It's likely a direct result of passive investing... Everyone who has any money and controls a small or medium sized company likely owns stock of Microsoft, Apple, Meta, Google, Amazon... So they mandate their companies to use products from those big tech companies. So all the small-fish founders feel like they are dogfooding their own investments... And that's preventing new entrants from getting a foothold in B2B space... Feels like all the small companies are working for Big Tech.

Conflict of interests is the norm. It should be illegal for a company founder or director to own stock of a supplier. It should be illegal for shareholders to own stocks of two competing companies. Index funds should be illegal.

1
141516
77