740 karma · joined Apr 1, 2016 (10y ago) · 215 submissions
comment 4y ago · link · parent
Another approach could be to use an effect system like PureScript does. The main problem with Node.js packages is that any function you use can execute arbitrary code (such as wiping systems with an IP that is from the Russian region). Having an effect system in place the library author has no other means than to come forward with the side-effect, or code won't compile.
comment 6y ago · link · parent
Like parent mentions, this is about scoping. My rule about short variables is that I have to see their _full_ use (including declaration) in only a few lines on the screen.
Personally I prefer single letter variables especially in lambdas for consistency (x, y, z).
comment 7y ago · link · parent
The argument that there might be some end-users unable to renew their prescription seems mostly used to gain sympathy. Also this will most probably not be “a large swath of internet users”.
I do hope Actalis step up their game and regain some trust. Or it may become the next symantec.
comment 7y ago · link · parent
Either way, that has absolutely nothing to do with the security issues of html email. Eg phishing and tracking still works when you decrypt the message and open it.
comment 7y ago · link · parent
Encrypting the data transfer doesn’t improve any of the HTML email security issues. So I fail to see how that would be “real improved security”.
But I do share the authors sentiment on the failure to not using open standards of both Protonmail and Tutanota. So maybe I’m biased.
comment 7y ago · link · parent
Right is actually a synonym for Ok.. besides, Either is useful for _much_ more than error handling. That is exactly why I dislike Error for the left side; often it's just not an error.
comment 7y ago · link · parent
This is no different than with windows. Except that more vendors sell you windows compatible pre-built systems. With macos the situation is far worse.
If you want more Linux enables hardware it will help to vote with your wallet and buy hardware from manufacturers that do provide support for Linux.
comment 7y ago · link · parent
And yet I fearlessly upgrade my Linux system at any time. With OSX you first have to check if the software you use is at all compatible, especially if you use proprietary software..
comment 7y ago · link · parent
Also Apple does not embed icons in their binaries. Their app bundles are not binaries, they are a directory structure. The icon is just another file, just like the _actual_ executable(s).
> you could publish a binary containing native versions for all existing architectures
This sort of ignores the hardest part of shipping binaries; linked libraries. Dynamic linking everything is simply not always feasible. Not to mention libc.
Also I don't really understand why anyone on Linux would want this. The fact that I can recompile all of the software I use, is a really important feature to me and not a distribution problem. I can see why Apple wanted this to simplify distribution via their Appstore, but IMO that's mostly to work-around their specific distribution problems. I don't see any of those problems on Linux.
(edit: wording, see below)
comment 7y ago · link · parent
Microsoft proves over and over again that they are not trust worthy. I agree you shouldn't be using their OS, but sadly many people don't consider this a choice since it comes pre-installed on most PCs.
comment 7y ago · link · parent
For a hobby computer it can be interesting to write your own driver. For a professional laptop not so much :)
comment 7y ago · link · parent
In fact my own 15" MBP late 2013 has a GFX750, which is no longer supported according to Apple Support [1].
The worst for me is that this didn't withold Apple from pushing the update, so running Mojave with an external monitor is hardly possible now.
> Nvidia is not a "good" company.
Agreed. Neither is Apple.
comment 7y ago · link · parent
So this is seriously what you suggest owners of an older MBP (official Apple hardware, just over 4 years old) to do?
Since both Apple's drivers and NVidia's drivers are completely closed source, I'd say it's hardly possible to write a working driver (w/ hardware acceleration) for it.
comment 7y ago · link · parent
> Some time ago I was forced to upgrade to Sierra
Until about a month ago I ran Sierra - which worked fine and in 2 years didn't crash my mpb once.
Then I had to compile a few ios apps for work, and since xcode was outdated on Sierra, I had to upgrade to High Sierra. High Sierra kept crashing on me. Several coworkers also had this experience and suggested to upgrade to Mojave.
Meanwhile Apple also kept pushing to upgrade to Mojave via an os notification they showed a few times a day. So I sadly ran the "upgrade" to find out the system was much less stable than before. No I see why. Sadly my GFX-750 isn't supported.
For me this is the end of the line on macs. Newer MBPs have broken keyboard that Apple refuses to fix, and are really expensive to the old hardware they come with. And apparently you cannot even expect a >$3500 MBP to outlive 5 years because Apple breaks it with their software patches.
I'll have to buy a new laptop because I cannot even connect a proper external monitor anymore. Obviously it won't apple product. I'm thinking to go System76.
comment 8y ago · link · parent
This is exactly why _you_ must be in control of what software can boot and not Apple or some other company. It's not exactly freedom if you must disable the secure boot feature to run your own software, it's a work-around.
If Apple really cared about freedom they would provide you with your own _unique_ key to sign your own software, so you can ensure that your system actually runs _your_ software.
comment 8y ago · link · parent
Personally I don't use software that I cannot review myself for tasks that are important to me. That includes reading email. Hence, the reason for rejection is that it's not open source. I don't see how this makes me a horrible fundamentalist, but maybe you care to enlighten me :)
> it's harmful for the entire ecosystem
I also completely fail to see how me personally want to review source code is harmful to the "entire ecosystem" (I assume you refer to the FOSS ecosystem?)
comment 8y ago · link · parent
You have to at least understand that (some) people have a trust issue with proprietary software, since too many vendors (including Canonical btw) ship with monitoring included.
comment 8y ago · link · parent
When trying to sell a niche product, r/linux might not be the best place to ask. I'm wondering if the author would have had the same response when someone on a windows or mac subreddit did not want to use their software.
Instead try to sell to people who you solve a particular problem for.
comment 8y ago · link · parent
I strongly like to urge authors to give credit where credit is due. IMO this post should have at least mentioned the original article.
[0] - https://zedshaw.com/archive/indirection-is-not-abstraction/
comment 8y ago · link · parent
Since you didn’t answer my question, let me try again. How can someone break an embargo they’re not a part of?
To me the mess back then was a very convenient distraction from the real issue, for Intel and their embargo.