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

Rats, mice, dolphins, and parrots are all intelligent enough to be grouped along with dogs, monkeys, etc.

comment 6y ago · link · parent

The government might claim that it represents the interests of the people but they do not seem to put their words into actions. Would you support teachers employed by the state not having unions?

comment 6y ago · link · parent

The point of these protests is that you do not need to do any crime in order to be murdered or go to jail. Not to mention that certain crimes are victimless (just look at turing).

comment 6y ago · link · parent

That reminds me, PG wrote that "static typing seems to preclude true macros" in http://www.paulgraham.com/hundred.html despite it being obviously incorrect.

comment 6y ago · link · parent

> I can understand why he wouldn't want to go through it again

Especially after having gone through the broken NHS system once. If I was in his position I too would do anything to avoid them, although I admit that if I were him I would rather move to a country with a better healthcare system than use weird snakeoil magic cancer curing items.

comment 6y ago · link · parent

This kind of thinking exists everywhere really, from politics (in both sides) to software. It is not limited only to medicine.

comment 6y ago · link · parent

Just the fact that it uses all kinds of w3c tech is enough to make it bloated and overengineered imo.

comment 6y ago · link · parent

> choose your instance well, or run your own

I can and will do that, most people are not however - after all most people are still on twitter.

> Other people might like such moderation

Or they just do not care, or they decide to stay in a specific instance because if they move they will be unable to communicate with the people from their old instance due to instance-blocks, or they might dislike how you can't really move your account (mastodon has an account migration feature but it is really not that good).

comment 6y ago · link · parent

> Discord, while sometimes down, is generally fast and featureful.

No, Discord is slow due to all the weird js crap that they have put in it, even with 8GB ram I have trouble running it alongside other software (both in electron and on firefox). It is also not featureful, you can't disable image previewing for example.

comment 6y ago · link · parent

The issue here is that even if you visit the page of the user if you use a software like pleroma that allows you to see their profile from your instance chances are that it will not display most of their posts. Although admittedly this is more of a Pleroma bug rather than anything else.

comment 6y ago · link · parent

The main issue with instance blocks is that usually they are completely arbitrary and often based solely on rumours that someone who hates user X that lives in instance Y spreads.

comment 6y ago · link · parent

My issue with ActivityPub is that it is yet another overengineered specification by w3c that somehow despite being a bloated mess manages to miss important features (such as end-to-end encryption for DMs or end-to-end authentication, now you can have admins forging posts in the names of their users and/or reading their DMs, which is not that big of a threat for the average person when you are in a big semi-serious platform like twitter but it is when your admin is some random dude online). In addition it depends on stuff that are universally despised, such as JSON-LD, and it forces federation down your throat (you can't use it in a distributed way like bittorrent for example, your user is binded to the domain name of your instance).

comment 6y ago · link · parent

They could also track it at server side which would not need any form of consent.

comment 6y ago · link · parent

Google should face a lawsuit for intentionally breaking the audio challenge in captcha when someone is using a proxy or has the fingerprinting protection enabled (same for cloudflare with their hcaptcha actually which does not even have an audio challenge). Also for making captcha more difficult when using firefox.

comment 6y ago · link · parent

That brings a surprisingly amount of false positives. After all nobody would think that two users might share a proxy ip address.

comment 6y ago · link · parent

I am actually glad for this. Not because of any nationalistic reason but rather because Huawei is an extremely anti-user company (locked bootloader etc) and I would be glad if it went down.

comment 6y ago · link · parent

Please do not visit this site unless if you want to be tracked.

In addition it is extremely inaccurate, it used to say that 8.8.8.8 was torrenting anime.

comment 6y ago · link · parent

With this logic Signal is a "heuristic for bad cryptography" because it uses CBC. Although I admit that GNU does not have a great track record.

comment 6y ago · link · parent

I disagree, you can have your IDE display the types if you so wish.

Even then, would you say that python for example is hard mode?

comment 6y ago · link · parent

I do not really understand what this means. Something like given y : yt and let x = y we can infer that x : yt?

comment 6y ago · link · parent

KDE 4 on opensuse back in 2011 felt lighter than xp for me at least (It worked fine on a laptop with sis graphics, intel Pentium M, and 1.5GB ram). It was around the time that gnome 3 was released I think and when I tried it I immediately was greeted with an error message about lacking graphics acceleration.

comment 6y ago · link · parent

Thank you for the links. Somehow snew <https://snew.notabug.io/r/gnome/comments/hn1s3r/mpv_is_not_a... does not display this subthread <https://snew.notabug.io/r/gnome/comments/hn1s3r/mpv_is_not_a... (nor does it have a way to let you know that it exists). I will be using your site from now on.

comment 6y ago · link · parent

Not only they removed everything randomly (just a few things that I remember: terminal transparency/background, search on the local directory on nautilus, zoom on gnome shell) but it is still one of the most heavy DEs (the new KDE is surprisingly light) somehow when even my DWM has more features. Sadly I have only 8GB of ram and I want to run more programs than just the gnome shell (which takes as much memory as the average electron application).

As for gtk, they still have not merged the patch for thumbnails in the open file dialog.

comment 6y ago · link · parent

Some mandatory mentions:

https://en.wikipedia.org/wiki/MkLinux - linux on top of the mach microkernel, I think it was sponsored by Apple (especially its book was great)

https://en.wikipedia.org/wiki/L4Linux

comment 6y ago · link · parent

If you are interested for a language that does something like that then check out https://archive.is/Op8Mf or the other words by Stephen Dolan

comment 6y ago · link · parent

In haskell you would do it like

    import System.Random
    x = do y <- randomIO :: IO Float -- note: this is before there are instances of randomIO for IO Int and other types
           if y > 0.5 then
             return (Left "abc")
           else
             return (Right 2.01)
1
121314
42