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

I actually bothered to load both side-by-side and check. Firefox loads pages faster.

Really the parent commenter is right: Chrome is dominant only because of its huge marketing budget.

P.S. Chrome is also buggy as hell and crashes pages all the time, which Firefox doesn't do.

comment 6y ago · link · parent

Chrome has a more responsive UI, but as for actually rendering and laying out pages, Firefox is usually much faster.

I've actually checked with both browsers open side-by-side while developing my own webapps.

What's worse, Chrome is super buggy and will often randomly crash on complex CSS or too many table rows, etc.

comment 6y ago · link · parent

Firefox is a much more performant browser for actually rendering heavy pages.

comment 6y ago · link · parent

I personally use Nix to build Docker-compatible containers in production.

comment 6y ago · link · parent

> C++ isn't known for building things quickly.

What language is?

If only sticking to deadlines was as easy as changing your programming language!

Alas.

comment 6y ago · link · parent

> (C++) programming is hard, let's go (language) shopping!

There isn't really a trend, those who can are doing it in C++, those who can't are teaching us about the wonders of rewriting in a more fashionable language.

comment 6y ago · link · parent

> How many Tiktok videos will the average consumer watch in their life?

This number is not unbounded. It will converge to some asymptotic limit.

> How much profit will Tiktok make on each of those views?

Around a tenth of a cent per view.

These huge valuations are purely because people don't do the math and don't know how the market works.

comment 6y ago · link · parent

I wasn't talking about lines of code.

Developers have perverse incentives, like endlessly refactoring the same codebase or architecting "scalable" and "abstract" solutions.

comment 6y ago · link · parent

It's only a tiny step above searching Github and copy-pasting.

Searching and copy-pasting isn't the hard part of software development. Guaranteeing validity, safety and performance is the hard part.

This doesn't get us any closer to the goal. (In fact it's the opposite, a big step back.)

comment 6y ago · link · parent

Asking developers if they're "productive" is absolutely the wrong metric. Developers, well, love writing code. Lots of code. But in reality, code is a liability, not an asset. (That Bill Gates quote about airplanes and weight, etc.)

comment 6y ago · link · parent

> ...it's not a big deal.

Unless you're Obama or Trump.

comment 6y ago · link · parent

Security in 2020 is basically "if you can't be 100% guaranteed secure, then don't bother securing anything".

comment 6y ago · link · parent

Well, if I was Obama I'd cancel my Twitter account ASAP. Today the tweet is relatively harmless and obviously fake, but who's to say that tomorrow something really toxic to Obama's reputation won't be posted under Obama's name? (Say, something anti-feminist.)

Are there better options?

comment 6y ago · link · parent

There's a simpler explanation: someone wants to destroy Twitter. (Bless them, lol.)

Twitter's only value to the world is the idea that it is a platform where "celebs" can safely broadcast their message to the public. That value proposition has now been destroyed.

comment 6y ago · link · parent

Lua is probably way more popular as a scripting language for web servers than for games.

comment 6y ago · link · parent

> A new kind of JavaScript X

Oh God please no.

comment 6y ago · link · parent

Retconning 'prison bitch' as 'gay husband' is beyond stupid and crass.

Does this sort of thing really help anyone?

comment 6y ago · link · parent

> <URL> is a UTF-8 encoded absolute URL, of maximum length 1024 bytes.

This is never a good idea.

comment 6y ago · link · parent

You're not actually supposed to care about errors. It's the C tradition, YOLO.

(bash doesn't care about errors either, by the way.)

comment 6y ago · link · parent

Yeah, the fact that jq has both 'streams of values' and 'arrays of values', and that the two are somehow completely orthogonal and support different operations is a huge design wart, in my opinion.

comment 6y ago · link · parent

It's basically Chinese circus with better production values.

comment 6y ago · link · parent

> When both were on version 5.1, there didn't seem to be any downsides to LuaJIT.

LuaJIT has (had?) weird memory limits due to its GC implementation. This matters if you're running scripts on a server.

comment 6y ago · link · parent

> I think we are really torturing language here.

Not really. My point is simple: as of 2020, any proposition for a business to 'invest in AI' is a money-losing proposition. (Just like 'blockchain'.)

comment 6y ago · link · parent

> Why are you so confident Google Translate is not monetized?

Obviously I don't have access to Google's accounting sheets, but there's no way in hell Google Translate pays for itself if you take all the costs of R&D into account.

Reason being that professionals who might pay big money for it want stuff other than just shiny 'AI' - they might want stuff like professional dictionaries and cited sources, etc.

And obviously people who translate random webpages for the lulz won't be paying much for this service.

comment 6y ago · link · parent

The latter.

JSON is popular because it's schemaless; storing and versioning schemas is its own nightmare of inconsistent and inefficient hacks.

However, in practice, JSON messages almost always have an implied schema. Figuring it out on the fly shouldn't be too hard - just apply the JIT and type inference technologies that compilers have already used for decades.

(Not a problem with an immediately obvious solution, but that's why we're here, no?)

comment 6y ago · link · parent

> If https://en.m.wikipedia.org/wiki/Google_Translate does not seem like having business value to you, then I don't understand what you mean by "business value".

There's no way Google Translate will ever be monetized. So yes, it's effectively an expensive art project for Google, not something that brings real business value.

Hotword detection ('ok google') is a practical application of AI, but that's really slim pickings considering how hyped 'AI' was. (Also, the costs of data collection for this feature are still way too high.)

comment 6y ago · link · parent

I'd guess that 99.9% of those protocols are actually statically-typed.

E.g., an object's "foobar" field is always an array of int, and won't suddenly become a string from one invocation to the next.

It seems incredibly strange that we're somehow not leveraging this.

comment 6y ago · link · parent

Of course, just pointing out that not everyone's point of view agrees with the glib pronunciation that 'progress exploded'.

In my little world attitudes have soured on 'AI'; 'AI' is posed to become the next 'blockchain'.

comment 6y ago · link · parent

All this effort on building a better JSON parser for language 'X' should have been better spent on inventing a statically-typed JSON. (Type inference seems like a thing that should work well in this space.)

comment 6y ago · link · parent

> progress exploded

Did it? Deep Learning provided us with some mindblowing performance art (FaceApp, DeepFake, etc.), but as far as I know any actual business value that claims to be derived from 'AI' is fake news.

1
125126127
135