Better HN
topnewbestaskshowjobs
Log inSign up

otabdeveloper4

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

Submissions

comment 5y ago · link · parent

Management can't make these sorts of decisions.

They can set metrics on quality, but those can be easily gamed. (E.g. measuring average TTFB for a site instead of the real wall time to show visible content for the user.)

comment 5y ago · link · parent

The problem of Javascript bloat doesn't have a technical solution.

Javascript bloat exists because of a social problem: the guy who fixes the corporate webpage's javascripts is called a "webdesigner", and "webdesigners" are the lowest rung on the corporate IT ladder, maybe only a bit above first-tier techsupport.

If you want to make some sort of career you need to upgrade from "webdesigner" to "frontend developer", and that means cryptic, incomprehensible and pointless "frontend frameworks".

It provides to value to business or users, but management puts up with it because it fixes the problem of employee churn. (Frontend positions are a big pain in the ass.)

comment 5y ago · link · parent

Don't blaspheme against the FOTM gods. Today is the year of the Rust. Wait until next year when $language is the next shining beacon of not-having-to-deal-with-legacy and Rust itself goes to the dustheap where Cobol and Fortran and Python 3.6 now live.

comment 5y ago · link · parent

My kid doesn't mind, he says he doesn't need feedback.

On the other hand, mobile screens have multitouch and drag/swipe actions, and that's a real complaint when he's using a controller with physical buttons.

comment 5y ago · link · parent

Speaking from experience: absolutely not true.

Many kids (like my own) prefer the mobile form factor and mobile controls.

That said, they're not playing Fortnite and likely don't even know what Fortnite is.

comment 5y ago · link · parent

> This is wrong in a lot of ways.

It's a factual statement. The "pay more - get more employees" relationship doesn't work with software development.

What to do with the ethics of this situation is up to you, I made no statement either way.

comment 5y ago · link · parent

This doesn't really work for software.

Often the more you pay an employee, the more he (she) starts believing in their own "rockstarness". And as everybody knows, rockstars don't have to work, they get paid just for the sheer fact of being so awesome.

(This is one reason why underpaid software developers are often so much more effective - see H1B, outsourcing, etc.)

comment 5y ago · link · parent

This is an open secret, but many (most?) "dating" sites are just ubertized prostitution providers.

In this context, a "12 month plan" is just their bulk discount.

comment 5y ago · link · parent

> There are a bunch of languages that compile to webassembly, including Rust, Golang, Python (via Pyodide), and Kotlin, so that by itself isn't a great competitive differentiator either.

If you've ever tried actually doing something with webassemly, you know that none of these actually work that well and should be considered pre-alpha software. (And often abandoned or unsupported.)

Realistically at this point your only choice for webassembly is emscripten, but the code quality and documentation quality of that project is abysmal.

Grain makes sense from that point of view; something that compiles to webassembly and isn't a giant pile of unvetted legacy hacks doesn't exist right now.

comment 5y ago · link · parent

> The idea was to copy slices model from memory safe languages

No, the idea was to make a simple one-to-one wrapper for the "char, char" pairs programmers were already using all over the place, nothing more.

comment 5y ago · link · parent

string_view is a new feature designed on purpose to be unsafe.

comment 5y ago · link · parent

Tuples are the data type representing "top of the stack", so as a core data type it's great; tuples + arrays + syntactic sugar are the building blocks that give you all the other data types.

comment 5y ago · link · parent

Their pitch is actually "compiles to WebAssembly".

comment 5y ago · link · parent

C++ is also 'just "+" them together', and it's not unsafe.

comment 5y ago · link · parent

"Moore's law" was strictly about the average cost of a transistor, not performance in general.

comment 5y ago · link · parent

> This in the time when 16 gigs ram is the baseline if you plan to do anything more than facebook and instagram.

Facebook and Instagram is probably the upper bound on memory-hungry apps. (The average webpage consumes more memory nowadays than gcc -O3.)

comment 5y ago · link · parent

> how prude the US is when it comes to sexuality

This hasn't been true for decades.

comment 5y ago · link · parent

Fonts are a standard and cross-platform way to bundle vector images.

Now if we only had some way to figure out which image in the bundle corresponds to what... Maybe some encoding scheme where we assign a numeric ID to each image?

(Oh wait...)

comment 5y ago · link · parent

Security by obscurity?

This problem is (correctly) solved by VPN.

comment 5y ago · link · parent

Trying to separate "NAT" from "stateful firewall" is pointless and only causes pain to the end user.

comment 5y ago · link · parent

> Honestly I think you don't understand what NAT is.

Yes, I do. It's the "masquerade" rule in my router's firewall rules table.

> The only thing you "lose" is that your whole house looks like one device.

That's a feature, not a bug.

> You gain a significant reduction in latency, online games will work better and p2p networking (such as voip) will have significantly fewer problems

99.99999% of those problems are caused by shoddy Wi-Fi. IPv6 does nothing to fix it. (Directional antennas and a standard way to bridge L2 over Wi-Fi is the real solution; expanding the IPv4 address space does nothing.)

Again: what's the benefit of IPv6 to me? So far I only see downsides.

comment 5y ago · link · parent

> Your home network and a cloud datacenter aren’t comparable.

Of course they are. I didn't need to think about firewall automation before, and now I do. For what gain?

> anyone competent

Not an option for most people. Let's make networking and security things more foolproof, not less, okay?

comment 5y ago · link · parent

> the firewall instead says "do you want this port open to this device" [y/N]

That's exactly what I don't want to do. I have over 20 devices in the home LAN at any given point in time; why do you want to make my life difficult for no good reason?

comment 5y ago · link · parent

Of course you can. But why would you? You're replacing something that is simple, easy to understand and works perfectly well with a nebulous something that invites user error and security nightmares.

For example, my (modest) home LAN is five routers, a NAS/media server, a media player, two "smart TVs" and dozens of notebooks and phones connected via Wi-Fi.

What do you propose? Manage a firewall on each of those devices?

I suppose you mean setting up a firewall on the WAN link to block all incoming traffic? How is that different from a NAT? Merely a lack of 'masquerade' setting on the firewall rule? What's the benefit to me and why should I care?

Or do you propose some sort of hybrid scheme to intelligently block traffic while making all my countless devices pingable from the Internet? Not in this timeline, sorry.

comment 5y ago · link · parent

Again: "you're doing it wrong" and "you're not allowed to like the NAT" are not valid criticisms.

People like NAT because it's an easy batteries-included way to manage, secure and understand your LAN.

Taking it away and forcing them to migrate to an incompatible zoo of firewall technologies for no benefit is asinine.

> They're just sold to consumers as a single package.

Exactly. How in the world is this a bad thing now? Do we really want to make network security for the average do-it-yourself home LAN harder?

comment 5y ago · link · parent

Most people use containers as a packaging format - instead of .tar.gz.

People run containers with host networking and bind-mounting everything and nobody minds.

(The story for hosting providers is a bit different, but they're not the main driver for Docker adoption.)

comment 5y ago · link · parent

> Azure's network team decided to unnecessarily use NAT for IPv6, making it exactly (100%!) as complex as IPv4...

People like the NAT. It's a feature, not a bug. If your selling point for IPv6 is "no more NAT" then no wonder it never went anywhere!

P.S. No, "you're doing it wrong" and "you're not allowed to like the NAT" are not valid responses to user needs.

comment 5y ago · link · parent

Good idea, but 5Ghz doesn't work for many building materials. I had to go back to 2.4 to get reception further than 1 meter from the AP.

comment 5y ago · link · parent

I concur, pybind11 is the smoothest Python extension story I've experienced so far.

comment 5y ago · link · parent

Multiple implementations is a fact of life for popular and useful languages. (Not Rust yet.)

Standards exist to make multiple implementations palatable.

See Python for a stunning example where they botched the standardization effort and ruined the language for good.

1
111112113
135