Better HN
topnewbestaskshowjobs
Log inSign up

dependenttypes

1,649 karma · joined Jan 1, 2019 (7y ago) · 1,251 submissions

Submissions

comment 6y ago · link · parent

It would be even better if people learned to refuse to give data irrelevant to the service that they are seeking and/or if there was some sort of regulation about this (I should not have to give my name and address when returning a product for example).

comment 6y ago · link · parent

Guess I should go to jail for daring to make a script for me and my friends that uploads screenshots to my server without having a professional certification, huh? Same for releasing open source software.

comment 6y ago · link · parent

by the :

comment 6y ago · link · parent

doing simply funname(args): would work fine

comment 6y ago · link · parent

Will I be fined if I decide to make my own software without a license?

comment 6y ago · link · parent

I do not think that whether you think that people should be prosecuted for thought crimes has much to do with him being right on wrong.

comment 6y ago · link · parent

Some folks can't teach but I do not think that this applies to the author of this post. Rather I think that the issue is that some folks just can't learn.

> The author of this article lost me when explaining zero and one...

If you are interested in learning I would suggest pointing the exact thing that confuses you.

comment 6y ago · link · parent

ImageMagick is the ffmpeg of images.

comment 6y ago · link · parent

Installing a firefox fork is also within the bounds of the law.

comment 6y ago · link · parent

> It's significantly more difficult to parse unbalanced tags.

No, it is not.

comment 6y ago · link · parent

Ah yes, locales. Everyone loves them https://github.com/mpv-player/mpv/commit/1e70e82baa9193f6f02...

comment 6y ago · link · parent

> HTML would have to be written correctly (eg. balanced tags)

This is an opinion regarding style. Adding support for unbalanced tags is one of the easiest things.

comment 6y ago · link · parent

It shouldn't, I was talking about addons.

comment 6y ago · link · parent

I think that this is misguided. If a malicious installer sneaks in toolbars it can also install a keylogger/send all of your data to a server/install a firefox fork with the toolbar preinstalled/etc.

If anything this kind of thing only hurts the users that know what they are doing (such as someone wanting to install a 3rd party addon or someone wanting to install addons via nix).

comment 6y ago · link · parent

The old text has been deleted now. https://archive.is/MdOfw and https://web.archive.org/web/20200815110730/https://postapath... provide the old version.

comment 6y ago · link · parent

Taking grievances to social media immediately is generally wise because it is often the only way to solve an issue (sadly).

In addition it warns the other potential customers of the issue.

comment 6y ago · link · parent

> publicly shamed the company for doing nothing wrong

Maybe we have a different understanding of what "wrong" means.

comment 6y ago · link · parent

I would consider 500+ as "many". 10-20 would be considered as "very few".

comment 6y ago · link · parent

Ah yes, the good old walled garden approach.

Not very "open", is it?

comment 6y ago · link · parent

They are adding openpgp support to thunderbird because enigmail will be dead soon. So much for extensibility.

comment 6y ago · link · parent

> to a superior

Even now it lacks a lot of necessary APIs that the old one had - such as the ability to disable ctrl+q on linux. I would argue that only around now the new model became usable.

> Making it a more secure

In expense of usability.

> wouldn't play YouTube

It played youtube before and it would still play it without the switch.

Regardless, the old extension model was not the only power user feature which they killed (rss and panorama were two others).

comment 6y ago · link · parent

Do they though? There are many good unemployed or poorly paid programmers all around the globe. Even if they do start allowing more remote work this will not change much as they will still have around the same number of employees.

comment 6y ago · link · parent

Time to move the HQ then.

comment 6y ago · link · parent

Maybe they should not be in SV then (especially if they expect to survive from donations from people from all over the world). You can find developers just as good all over for 1/4th the cost.

comment 6y ago · link · parent

You can use _Pragma/#pragma, regardless though, you can achieve a lot of what lifetimes can without any annotation.

comment 6y ago · link · parent

No, people tend to be quick to create a new language in addition to lacking imagination and thinking that it is impossible to do in C.

comment 6y ago · link · parent

This has nothing to do with what I am talking about.

comment 6y ago · link · parent

> The problem fat pointer based implementations are massively slower

I am challenging that. I do not believe that a C implementation that uses fat pointers needs to be any slower than Rust.

> If one wanted safety without performance they would just use java or similar.

Or C with a safe implementation.

comment 6y ago · link · parent

Here is one in Idris. https://gist.github.com/chrisdone/672efcd784528b7d0b7e17ad9c...

Because Idris supports dependent types it is prettier both in the implementation and usage.

comment 6y ago · link · parent

Your C implementations lacks "buffer bounds". C by itself doesn't. There is nothing stopping a C implementation tracking the size of the data that a pointer points to (and these implementations are not even hypothetical, they actually exist right now).

> hence it would be backward incompatible

Rust is backward incompatible with C. A C implementation with fat pointers would not be backward incompatible with C. Depending on how it was implemented it could be ABI-incompatible with older C implementations but this is not necessary either.

1
678
42