Recent submissions

Comment · 3 years ago
And how is this useful and why should another company care about how things work at your company? Shouldn't those companies focus on more on the productivity tools their employees use?
Comment · 3 years ago
... as if memory management issue is the only source of software vulnerability.
Comment · 3 years ago
Sorry to inform you that the original article definitely tries to use this number to prove that php is still relevant.
Comment · 3 years ago
"only true for non-Pro" (i.e. anything < $1K), "a fair trade-off" "nothing to complained about"

As someone whose most devices are USB-C 3.0+ for the past few years and never need to think about speed, I have to say this comment is hilarious.

Comment · 3 years ago
> anyone tried to tackle the browser market

Bad news, barely anyone is even thinking about it. There are one or two players that are trying to build a new browser from scratch, but they are far from mainstream and nobody knows how long these efforts will exist.

Comment · 3 years ago
Eh, I think websites adopt webp for their smaller size than anything else.
Comment · 3 years ago
Yeah, "should", as in "Apple should invest millions of dollars in a product that (almost) nobody uses or cares about". Tweeting is easy, isn't it?
Comment · 3 years ago
How is your personal preference relevant at all under a comment of enterprise-level setup? You are going to ask everyone in the company to use emacs?
Comment · 3 years ago
People have already questioned the validity of this number. Do a search and you'll find people looking into this and conclude that the number is very unreliable. Whether you agree or not is up to you.

Also I want to point out that almost any time people quote number about PHP's popularity, this is the only number, which is strange -- for metrics like iOS market share you can always find multiple numbers from multiple sources which don't fully agree with each other but are within a certain range. Not for this PHP number. In other words, w3tech's number is not cross validated by any other source. I wouldn't use it to "prove" anything.

Comment · 3 years ago
If you are looking for someone to blame for you not getting your dream job, blame it on employers instead of the government. Companies like Verizon and Wells Fargo almost never hire anyone on a visa. Go work for those companies. Oh wait, they do hire foreigners with a green card. Are you going to find a company that only hires US-born citizens like the requirement for the US President?

Many countries offer work visas (for many good reasons), although they are often used in unintended ways. It is very much a stretch to say these programs shouldn't exist at all because they "take away" jobs.

Also, if half of the people you work with are on H1B, very likely you are not in a midwest "town" with 3,000 population, but rather a decent metropolitan area with a large immigration population, and the company you work is of decent size. I wouldn't be surprised if even half of the Americans in your company relocated from a different "town".

Finally, I like working with people that are productive and easy to communicate, instead of looking at which country they come from or their visa status. If anything that's my boss's concern.

Therefore, if you want to actually see any change, maybe (1) become the CEO of your company, fire all H1B and only hire US citizens (2) join a different company (3) start your own company, or at least (4) call your senator and advocate for anti-immigration bills, or sue USCIS, instead of posting these useless and borderline racist comments on HN.

Comment · 3 years ago
"Apple isn't going to release a half cooked ai project to the world"

Sorry what again? What is Siri then? That's even less than a half cooked product

Comment · 3 years ago
I am not a lawyer but I am pretty sure a website protected with a password and/or firewall means something different from a robots.txt that is nothing more than a convention.
Comment · 3 years ago
Honestly doing line.split('\t') seems a newbie mistake. I don't know how many columns each line has but it could be a bottleneck. Wouldn't manually processing tab and non-tab character help, in the same way you don't load the entire log into memory but only read by line? When you are dealing with huge amount of data, you have to be extra careful, regardless of which language you use. That plus other optimization could make Node.js run very efficiently.

Otherwise, I still need to be convinced that the "line" array is causing trouble but not anything else -- the article definitely doesn't provide detail about how they found this problem. It is almost funny that the author tried to put this on Kubernetes instead of even attempting to optimize the JS code. I wish I had that luxury and tell my boss I should use more resources instead of fixing my code.

Comment · 3 years ago
There is an update just issued that is at the bottom of the page. It confirms that lockdown prevents this specific attack.
Comment · 3 years ago
Ever since I discovered that some reviews used in rotten tomatoes are unscripted YouTube videos, in the sense that the reviewer just talks about a movie however their thoughts lead them without any organization, I stopped paying attention to rotten tomato scores. I am sure a lot of people prefer a video review to a carefully written and edited nytimes review (as an actual article), but that's not for me.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton