HNHacker News
TopNewBestAskShowJobs

Illniyar

4,822 karma · joined February 17, 2013

https://alonbd.com
submissionscomments
Illniyar··on Use the Mikado Method to do safe changes in a complex codebase
This is a good method if you are stuck and you don't know what you need to do. It also helps explore a project with a specific task in mind.

It is not very useful in giving you confidence your changes would not cause unexpected side effects, which is usually the main problem working with legacy code.

If you want confidence when working with legacy code, your best bet is to do a strangler fig pattern - find a boundaries for the module you want to work on, rewrite the module (or clone and make your changes), run both at the same time in shadow mode, monitor and verify your new module is working the same as the old one, then switch and eventually delete the old module.

Illniyar··on Your app subscription is now my weekend project
There is probably a huge chunk of people who only need a slither of the features of a SaaS but are paying for everything they don't need.

If your particular use of a SaaS is not susceptible to security issues (for example you can use it on your local laptop) then a slither of features that are insecure is exactly the thing for you.

Not everyone is going to replace SaaS with half-baked personal implementations, especially the big companies that most SaaS are aimed at, but it will gnaw out some of the long tail of SaaS subscription revenue for sure.

Illniyar··on Cloudflare CEO on the Italy fines
He isn't threatening to block Italy, just to remove cloudflare's business from there. Anyone living and surfing from Italy would not be blocked by cloudflare from accessing any service provided by cloudflare.
Illniyar··on Cloudflare CEO on the Italy fines
He did mention that they were fighting the law before they were fined and they plan to challenge the fine in court. He has also been vocal about other similar legislation before they were enacted or the company got fined (not sure about this specific one though).

So I don't think it's fair to characterize it as he "only complains about it when his company is fined".

Illniyar··on Logging sucks
While I agree with some of it, I feel like there's a big gotcha here that isn't addressed. Having 1 single wide event, at the end of a request, means that if something unexpected happens in the middle (stack overflow, some bug that throws an error that bypasses your logging system, lambda times out etc...) you don't get any visibility into what happens.

You also most likely lose out on a lot of logging frameworks your language has that your dependencies might use.

I would say this is a good layer to put on top of your regular logs. Make sure you have a request/session wide id and aggregate all those in your clickhouse or whatever into a single "log".

Illniyar··on We pwned X, Vercel, Cursor, and Discord through a supply-chain attack
Nice discovery and writeup. Let alone for a 16 yo!.

I've never heard an XSS vulnerability described as a supply-chain attack before though, usually that one is reserved for package managers malicious scripts or companies putting backdoors in hardware.

Illniyar··on Is it a bubble?
I think he might be misrepresenting it a bit, but from what I've seen every software company I know of heavily uses agentic AI to create code (except some highly regulated industries).

It has become a standard tool, in the same way that most developers code with an IDE, most developers use agentic AI to start a task (if not to finish it).

Illniyar··on Cloudflare Global Network experiencing issues
Does HN not experience DDOS? I would imagine being as popular as it is it'll experience DDOS.
Illniyar··on Public Montessori programs strengthen learning outcomes at lower costs: study
From the article: "All 24 public study Montessori schools met basic Montessori criteria (SI Appendix, section 3A), but implementation varied widely. "

"The final implementation criteria for school inclusion were thus:

• At least 66% of the lead Primary classroom teachers are trained by one of the two most prominent Montessori teacher training organizations, the Association Montessori Internationale (AMI) or the American Montessori Society (AMS). One school was excluded on this basis.

• No more than two adults, the trained teacher and a non-teaching assistant, in the classroom on a regular basis. No school was excluded on this basis.

• Classrooms are mixed-age, with at least 18 children ranging from 3 to 6 years old. Five schools did not mix ages so were excluded.

• At least a 2-hour uninterrupted free choice period every day. Five schools were excluded on this basis.

• Each classroom has at least 80% of the complete set of roughly 150 Montessori Primary materials, and fewer than 5% of the materials available to children in the classroom are not Montessori materials. No school was excluded for failing to meet this criterion."

So seems like the criteria for this research is fairly good.

In general though it's hard to tell if a school is Montessori or not. The method is not trademarked and anyone can claim to be a Montessori school ,or Montessori inspired etc...

There are two organizations that certify - AMI, which was created by Maria Montessori's daughter and functions mostly in Europe, and AMS which is an American organization founded by people inspired by the Montessori method.

AMI is stricter while AMS is more modern, but most places that identify as Montessori is neither.

I would say the best way to identify if a school is Montessori is first if they have mixed-age classrooms, the standard is a 3 year class (so 1-3, 4-6, 7-9...).

If all the kids in a class are in the same age, it's not Montessori.

Second, for preschool, you expect the class to be very organized with intermittent shelves and work areas, and very neat (no mountain of toys etc...) - https://www.google.com/search?udm=2&q=montessori+classroom

Illniyar··on What happened to Apple's legendary attention to detail?
Unless it has a huge memory leak that isn't fixed for years and causes it to be virtually unusable for anyone it's probably not the Windows ME of Tablet OS's.

Maybe the Windows Vista of Tablet OSs though.

Illniyar··on Exploring PostgreSQL 18's new UUIDv7 support
If leaking creation time is a concern, can we not just fake the timestamp? We can do so in a way that most performance benefits remain - so like starting with a base time of 1970 and then adding base time to it intermittently, having random months and days to new records (or maybe based on the user's id - so the user's record are temporally consistent but they aren't with other user records).

I'm sure there might be a middle ground where most of the performance gains remain but the deanonymizing risk is greatly reduced.

Edit: encrypting the value in transit seems a simpler solution really

Illniyar··on Who owns Express VPN, Nord, Surfshark? VPN relationships explained (2024)
Unit 8200 is the premier software development track in the Israeli military.

Every Israeli tech company likely has multiple developers from Unit 8200 in it. Whether it's building e-commerce shops or making video games.

While 8200 definitely falls under the military intelligence wing, I don't think describing people in it as Cyber Spies is anywhere near accurate. And unless that guy was very high ranking it is a stretch to imply that's an indication that IL military intelligence is involved in the company.

That is not to say that the military isn't involved with the company - that might very well be true, just that someone being from Unit 8200 isn't an indication of it.

Illniyar··on Apps SDK
I can't understand the documentation. How are the interactive elements embedded in the chat? Are they just iFrames?

The docs mention returning resources, and the example is returning a rust file as a resource, which is nonsensical.

This seems similar to MCP UI in result but it's not clear how it works internally.

Illniyar··on Thoughts on Cloudflare
Load of bull. Every article linked in this is either wrong or mischaracterized.

Cloudflare does not facilitate phising - it just made proxying and tunneling easier.

The breaches and bypasses mentioned are anything but - they are linking to a successful mitigation of an attack as if the attacker got away with something of value.

This entire article reeks of trying to fit the evidence to an agenda.

Considering they couldn't find actual evidence of problems and had to resort to mischaracterization this is actually a great reason to use Cloudflare.

Illniyar··on A Postmark backdoor that’s downloading emails
This doesn't look like an MCP backdoor. It looks like a supply chain attacks on an unofficial mcp tool.

It's definitely not what we are worried about with MCP.

Illniyar··on The Theatre of Pull Requests and Code Review
I disagree with practically everything suggested.

Reducing scope and splitting a single task into multiple PRs each small but part of a bigger picture makes it very hard to see the bigger picture.

You should try to make PRs small, but if a PR is big, then you just have to spend more time to review it.

Formatting commits as a story is a huge hurdle for the one making the changes. And unless every PR is meticulously prepared - going over the commits by the reviewer is a waste of time.

I agree you should return PRs you don't understand though. Or don't feel comfortable reviewing for whatever reason.

Illniyar··on Do YC after you graduate: Early decision for students
Seems like a good thing for founders, doesn't force them to quit school to start a funded startup. Especially for under-privileged youths who might not be able to miss a high paying job opportunity or have no income for months.

Seems like a bad signal for YC though - if you aren't committed enough to quit school or at the very least reject job offers and do your startup anyway - feels like you might not be committed enough to do what it takes?

But if anyone does, YC knows how to pick founders with the right mindset.

Illniyar··on How to Lead in a Room Full of Experts
What is a lead developer in this context? An engineering manager? Is it like an architect (staff engineer/whatever)? An engineer who is in charge of a specific project?

There are different dynamics at play in each role and reading the guy's bio I'm getting the sense that he is a freelancer? or has a consulting company? which would have a whole different dynamic.

Illniyar··on Greatest irony of the AI age: Humans hired to clean AI slop
The goal remains the same - AGI is what we see in sci-fi movies. An infallible human like intelligence that has access to infinite knowledge, can navigate it without fail and is capable of performing any digital action a human can.

What changed is how we measure progress. This is common in the tech world - some times your KPIs become their own goal, and you must design new KPIs.

Obviously NLP was not a good enough predictor of progress towards AGI and we must find a better metric.

Illniyar··on Trump to impose $100k fee for H-1B worker visas, White House says
A country can only take so much people a year. There must be adequate employment, housing, education, health services and other infrastructure to support more people.

This is especially true for immigration that is not tied to employment. If you can choose to only take the top, which America mostly could as it is the most desired immigration country in the world, you would prioritize the top.

If there's a limited amount of spots, why won't you prioritize the superstars over just talented and hard working?

So the top 0.1% of the total population, that's likely a good deal (on top of the employment oriented visa which have less of a strain on the economy).

Illniyar··on Trump to impose $100k fee for H-1B worker visas, White House says
I mean there's somewhere between 10-20k o1 visas issued a year. o1 is literally the visa for smart and talented people.

There is also EB with National Interest Waiver - including for profession like Doctors and such.

Not to mention a lot of employment based visa, if you work for a US employer - L1, EB1/2 directly etc...

There isn't a permanent resident visa for Driven people - but you can get entrepreneur visas if you run a profitable business.

Illniyar··on Help us raise $200k to free JavaScript from Oracle
I don't get the hate here. This is practically a public service and Deno doesn't have any direct or obvious material gains from this. Definitely not more then dozens of other projects (from Chrome to Node.js to Tutorial sites and any company offering something with JS)

So what if they are a VC backed company? If you perform a public service, it's fair to ask the public for money. No one is suggesting this money would go to fund their product.

Illniyar··on Slack has raised our charges by $195k per year
Not saying this is the case, or that slack thinks it is, but -

If slack found out that the company isn't really a non-profit, or that it violated the requirements in the non-profit agreement (such as promoting discrimination) it would justify a demand for immediate payment in my opinion.

Illniyar··on Slack has raised our charges by $195k per year
So it seems like Slack took them off the nonprofit plan. That's a different story altogether and makes more sense for the timeline involved.

If they determined that Hacker Club violated some terms of the nonprofit demanding they move to regular or be kicked out seems not as bad

Illniyar··on React is winning by default and slowing innovation
They were newer. I don't know if they were prescribed. It took a long time for newer frameworks to reach feature parity and even longer to get deprecated.

Microsoft would routinely suggest both, I think there were articles in MSN showing how to do stuff with each side by side. Like programming language flavors.

Linux is even more of a mess I imagine. I think Mac, and especially iOS, were the odd ones out. The Apple ecosystem is built on making sure everyone does things their way. And that translates to having one blessed framework you must use.

Illniyar··on React is winning by default and slowing innovation
I don't know about Mac, but windows had WPF, winforms, UWP - all blessed by microsoft (I'm sure I'm missing a few), and often maintained at the same time.

A huge amount of windows apps were built with Java, you had to install the JDK separately - one such thing that comes to mind is Minecraft, another is Jetbrains IDE.

Most of the major native apps you use most often, like browsers, render things directly using DirectX and similar, not to mention games which are made almost entirely in third-party engines that are far from Microsoft display frameworks. (There are also 2-3 competitors to DirectX - such as Vulcan and OpenGL )

And of course there are quite a lot of popular apps that use other frameworks like QT

Illniyar··on "Your" vs. "My" in user interfaces
Not the parent, but you use a translation format like `translations("INVITE_USER", {gender_of_host, num_guests})`

Then you will have an algorithm that knows to translate based on some rules - like the ICU messages format - https://unicode-org.github.io/icu/userguide/format_parse/mes...

In the link there's an example of how such rules look like (they'll be different for each language)

Illniyar··on The madness of SaaS chargebacks
I assume if you are running multiple SaaS you already discovered this - but the expectation is that you will amortize the cost of a chargeback into your price if you are a legit business.

Card-not-present (I.E. internet transaction) has a lot more merchant fraud then friendly fraud (what we call these cases) and the incentives for both merchants and banks is to make sure the customer never loses trust in the system. If people were afraid to use their cards on the internet everyone loses.

It doesn't make sense for both the merchants and the banks to arbitrate every 10$ transaction. I doubt your case even reached a human, or if it did they even gave it a minute of thought - you are just someone who does not know the rules to them.

Now if a customer abuses the chargeback mechanism, he'll have is card revoked, probably be blacklisted and his life would be an insane amount of complicated from now on. But you'll never see these cases. Be sure that if someone could abuse the chargeback mechanism to the extent you mentioned, the system would be unusable, the fact you get chargebacks only rarely is a testemant that there is policing going on at the bank side.

It's just not 100%. Like Patio11 says - the optimal amount of fraud is non-zero[1]

If you have a large chargeback (let's say 1000$ and more) you might actually get someone to review it, and there's a slight chance you'll win if the case is good. But the system is not geared for that.

It's geared towards you amortizing the cost of chargeback into your price - and eventually the people who pay it is always the customer, not the merchant.

[1] - https://www.bitsaboutmoney.com/archive/optimal-amount-of-fra...

Illniyar··on Stripe Launches L1 Blockchain: Tempo
I guess domains might not mean as much as they used to, but xyz? To me that's something you get for experiments and one-offs, not something you use for a serious enterprise you want to get people onboard for.

I honestly thought this was fake and not from stripe the first time I saw it. (I kinda still do with that domain.)

Illniyar··on Atlassian is acquiring The Browser Company
Isn't Atlassian where products go to die? :)

Is this is an acquihire? Atlassian does not seem to have strategic overlap with making a browser in any meaningful way I can think of.

← PreviousPage 2 of 31Next →