HN user

o1y32

715 karma
Posts0
Comments206
View on HN
No posts found.
An Internet of PHP 3 years ago

Sorry to inform you that the original article definitely tries to use this number to prove that php is still relevant.

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.

An Internet of PHP 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.

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.

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.

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.

I joined my current company at the height of the pandemic. So did at least hundreds of other people, many of which joined as their first job. I am a top performer at the company, and I also can't tell how other people who joined around the same time and worked fully remote the first two years would have been any better in their career had the pandemic not happened. I don't see any young employee's career killed. This is all just empty talk.

A base model iPad + Apple Pencil 1 offsets about $400 in MSRP. A more decent setup would be iPad Air + Apple Pencil 2 for $650. And of course there are a ton of software that helps prototyping or organizing ideas collaboratively, online.

If any company actually cares about collaboration, they should give every employee a set of these. They cost a fraction of a developer's work laptop and are negligible compared to their salary. There is hardly anything that can't be done online.

But of course companies are not going to do that. They are going to instead ask you to drive one hour to the office and pay for the gas on your own money, then write on whiteboard in real buildings so that the money wasted on the lease is worth something.

My company's CEO used words no other than "we believe collaboration is better in-person" to justify forcing everyone to work in the office three days a week. The usual "revitalize downtown" or "support local business" argument doesn't even apply in our case because company is on a highway. You know this decision is not based on any concrete data but purely on the investment in those useless buildings and wanting to force people out.

I don't know which world you live in, but I am pretty confident that there aren't that many HN users in my software company, even among developers

Even so people (HN or not) won't give up their productivity tool their daily work relies on because of some nuisance or really, ideal. I have seen comments where people are so pissed off by the aggressive ads in Windows that they switched to Linux or Mac, but the number is going to be very small.

code-server can't use Microsoft's extension marketplace, but this can. Supposedly this runs the original Microsoft binary which is why things work exactly like a Linux desktop version. I know, this sucks.

I think they only look similar but are completely different. OP's app runs a full-featured vscode (not creating a new editor) and supposedly has access to all vscode's marketplace extensions.

Great! I have been wondering why something like this did not already exist, given that you can already run a full Ubuntu from termux (and indeed people have run a coder-server from such an environment). Someone must be able to create a more user-friendly version of vscode on Android. Will try this out on my Samsung tablet.

My only concern is the memory management -- vscode (and its extensions) is not super friendly in its memory usage, and on a phone/tablet the RAM could easily run out, even if swap is enabled.

People bring up Figma in almost any discussion related to WebAssembly. I tried to dig into this and understand why they chose this, what kind of benefit they are getting from this and how it compares to alternatives. Turns out that there is no comparison in performance because the alternative (doing everything in JS) was never done, and the choice of going WebAssembly is more due to their history and stack than anything else. In other words, if they rewrote the whole thing with modern JavaScript ecosystem (e.g. TypeScript with strict typing, typed array), it is unclear that the product would be any worse than the current implementation, because nobody ever tried that.

Therefore, "Figma is built on WebAssembly so WebAssembly is good" is weak argument.

One use case is that if you have a folder of (presumably legitimately acquired, or you know what I mean) movie files, you can figure out how long it will take you to finish them. Although number of video files * 2 hours/file is also likely a very good estimate.

Although I seriously doubt data hoarders care about that. A movie will be eventually watched someday. If they run out of space, they'll get another drive. Storage is cheap.