Better HN
topnewbestaskshowjobs
Log inSign up

otabdeveloper4

3,226 karma · joined Jun 14, 2019 (7y ago) · 4,043 submissions

Submissions

comment 6y ago · link · parent

It's not about performance.

Modeling (including financial modeling) requires transcedental functions and real numbers.

comment 6y ago · link · parent

Open the developer tools and see for yourself.

Of course by "load" I don't mean TTFB, I mean actually loading the full page, including all the spinners, reflows, banners and toolbars popping into your page, images, etc.

comment 6y ago · link · parent

Your point is orthogonal, even if true. My point is that SPA frameworks are necessarily buggy and inefficient - after all, their whole point is to reimplement in a bespoke fashion the stuff that the browser already implemented.

Buggy and inefficient stuff sometimes makes sense to a business, this is true.

comment 6y ago · link · parent

As a person that uses Nix to build Docker images in production, let me explain.

Docker is a tool that lets you package a Linux distribution and roll it out on any random server cleanly and safely. But the stuff inside that distribution is still very much bespoke and unmaintainable.

Nix is a tool that lets you create a custom Linux distribution with absolutely minimal effort. (Basically, just list your packages in a file and hit 'go'.) But the packaging story for Nix is pretty bad.

To bridge that gap, Nix has code that puts a Nix package with all dependencies into a Docker container. It works, but of course kind of icky; something more integrated and smart would be preferred.

comment 6y ago · link · parent

> But we have alternatives for these problems.

No, we don't.

What else can let me install two different versions of gcc and glibc and choose one with a one-line config change?

Seriously, if you have any suggestions, I'm all ears. I agree Nix is too complex.

comment 6y ago · link · parent

In 2020, a webpage that "only" takes 10 seconds to load is a miracle of performance and user-friendliness. Load times of up to a minute are the new normal.

I'm pretty sure dismissive comments such as yours lead us to this bad place.

comment 6y ago · link · parent

> Everyone likes to complain about SPAs, as if terrible load times are a fundamental trait of frontend frameworks. That is not at all the case.

I disagree. SPA frameworks attempt to re-implement browser UI and DOM within Javascript. Of course the result is buggy and slow.

The browser already has a UI and DOM framework. Use it. (Yes, I know it's ugly. Such is life.)

comment 6y ago · link · parent

Not if it saves the candidate time in commuting to/from interviews and spending time answering pointless boilerplate questions. ("Why did you leave your previous job", "where do you see yourself in five years", etc.)

comment 6y ago · link · parent

> No engineer has ever sued a company because of constructive post-interview feedback. So why don’t employers do it?

Because there's only risk and zero benefit in it for the employer.

Note: the risk isn't mythical 'lawsuits', the risk is in bad PR that disgruntled rejected candidates generate. Even if one in 10 get offended and start spreading shit-talk on the Internet, that 10% is still too much.

Without a post-interview explanation, there is no ammunition for internet discussion.

comment 6y ago · link · parent

I have. It sucks.

comment 6y ago · link · parent

You're making very strong statements that aren't backed by empirical evidence.

All I can say is that I see that successful chat apps for 'normal people' seem to have converged on something that isn't WYSIWIG, and it's probably not an accident.

P.S. Asking users what they want probably isn't the best idea. See "Homer's car" for a humorous take on this issue.

comment 6y ago · link · parent

> - WYSIWYG formatting instead of automatically parsing symbols into bold texts etc

WhatsApp is the most popular chat app among non-technical users in the world, and it explicitly uses symbols instead of WYSIWIG for formatting.

I'm pretty sure you're making up these requirements without actually researching your target audience.

comment 6y ago · link · parent

> Solar, wind and batteries will solve that.

Pretty sure that's not true if you account for total costs. (Including the energy and materials budget for making solar panels and batteries at scale.)

comment 6y ago · link · parent

Lisp didn't pioneer lambda calculus, come on!

comment 6y ago · link · parent

You're right, Italian is much closer to Latin than English is to "Old English".

comment 6y ago · link · parent

> ...pioneered much of computer science.

'Computer science' is the study of information complexity and how it maps to solving computational problems, so no.

comment 6y ago · link · parent

If you want a garbage-collected language, there's already literally a thousand of them out there. Including dozens that are more popular than Rust.

comment 6y ago · link · parent

> ...if people got information about products from independent reviewers

No such thing; in markets where traditional advertising never caught hold, the 'independent' reviewers are anything but. In a way that is much worse when bias and vested interest is clearly labeled.

comment 6y ago · link · parent

Using advertising to create demand is only a tiny part of the advertising market, and arguably the worst way to spend your ad budget.

Most advertising is to maintain your market share in already established and very competitive markets.

E.g., Coca-Cola plastering their logo everywhere to prevent Pepsi from doing the same. It's certainly not to convince those who don't drink Coke to start doing so.

comment 6y ago · link · parent

> But there was no way to get rid of it without breaking things.

Even such a breaking change would be a molehill compared to the mountain of breaking changes in Python 3.

Point is, they had one job, and they failed.

comment 6y ago · link · parent

"C/C++" is not a language.

Good lord, how much ignorance can hackernews handle??

comment 6y ago · link · parent

> Because whenever a Unicode and a non-Unicode string had to be combined, it used ASCII as the default encoding to converge them.

They could have just changed the default encoding to utf8. (For those too lazy to configure their Python properly.)

There, problem solved - and no need for a breaking Python 3.

comment 6y ago · link · parent

"v2 major rewrite, to make the code clean and stuff" is where dumb projects go to die.

(There's even a scientific name for this phenomenon.)

comment 6y ago · link · parent

> If basic computer operations like loading a webpage took minutes rather than seconds...

Wait, are you implying they don't ? What world do you live in, and how do I join?

comment 6y ago · link · parent

> cheaply

Citation needed. AlphaZero was 'cheap' only if you have Google-scale resources at hand.

comment 6y ago · link · parent

Not really; hiring Python and Java devs is very amenable to keyword-driven recruitment. Hiring C++ devs in the same manner is a clusterfuck waiting to happen.

comment 6y ago · link · parent

Two points:

a) Writing a schema parser is not rocket science. In fact, for a good programmer implementing their own GraphQL library would be quicker than integrating some third-party library. So your first point ("average Python programmer would do it quicker than even a top-tier C++ programmer") is absolutely wrong.

b) There's no value in an MVP that does something generic that is already available in off-the-shelf libraries. Your GraphQL example is pretty pointless because it doesn't actually do anything.

> ...the Python/Node/Go/etc developer would have a working GraphQL server up and running connected to a database of choice within an afternoon

Well, no. By the end of the week they'll still be arguing about which package manager to use, whether TDD is a good idea, what makes a microservice 'micro' and how to configure Kubernetes.

comment 6y ago · link · parent

> The job description of a sysadmin always required knowing at least one interpreted and one compiled programming language.

You'd be surprised. A large chunk (say, more than 50%) of the sysadmin job market are guys that can set up a Windows LDAP and/or some Cisco and Wi-Fi equipment, but no more.

It's why the 'DevOps' moniker was invented, to differentiate the old-school Unix sysadmins from the LDAP-and-Exchange guys.

comment 6y ago · link · parent

> Personal productivity is generally going to be slower in C++ than it is in Python.

No, it entirely depends on the skill and experience level of the programmer.

> In most situations you would gain more productivity out of a similarly skilled Python dev as you are a C++ dev

No, a good programmer with equally good knowledge of both languages will code equally fast in both.

> This is a false dichotomy. You don't have to choose between 1 C++ developer and 15+ package of Python developers.

You failed to see the point. Large teams of clueless programmers doing things slowly and badly is a feature of the system, not a bug. KPI's for managers don't include lowering headcount and cost cutting as an incentive. (And trust me, you really wouldn't like it if they did.)

> Unless your argument is "C++ devs are smart and Python devs are dumb", in which case, let's not start calling people names over the language they use.

Yet that's effectively what you just did in your specious 'productivity' argument.

comment 6y ago · link · parent

Replace "cpp or java" with "Python or Ruby" and how is it any different today?
1
129130131
135