Better HN
topnewbestaskshowjobs
Log inSign up

doodlesdev

3,169 karma · joined Nov 9, 2020 (6y ago) · 852 submissions

Hi, how's your day?

https://www.doodlesdev.com

Submissions

comment 3y ago · link · parent

Any specific reason not to put it in the ProtonMail GitHub organization? Anyway, thank you for taking the time to answer. :)

Tangentially, I see the application is native (i.e. not using Xamarin like Bitwarden), you should definitely point this out if you ever make some technical post about Proton Pass, I'm sure HN folks will be interested to hear about it.

Another thing, the client is not only open source but also free software, I think you should definitely point this out as well. I believe this is an important distinction for quite a lot of Proton users. I wonder however if this is OK to do for the iOS client, AFAIK GPL code could not be published on the app store without breaking the license [0].

Last but not least, I noticed that the issues tab does not appear on the Android repo but does on the iOS one, surely this is not intened?

[0]: http://www.fsf.org/blogs/licensing/more-about-the-app-store-...

comment 3y ago · link · parent

Their original plan was to keep it closed source during the beta and make it open source upon release, according to https://proton.me/blog/proton-pass-launch it is now opensource, however I have not been able to find the repository anywhere.

The biggest problem for me now would be the fact it cannot be self hosted, making lock in pretty extreme even though it's open source. The fact I can host my own instance is the main reason I stay with Bitwarden instead of migrating to an offline-first solution.

comment 3y ago · link · parent

Am I correct in believing that they haven't open-sourced Proton Pass yet? It seems like an ok password manager, but with no mention of open-source and an option for self-hosting, this already becomes completely unusable, especially considering so many great alternatives are already available.

edit: Their official announcement post says it's now open source, however I haven't been able to find the repository. I also still see no mentions of self hosting.

comment 3y ago · link · parent

Only if you use the AMDGPU-Pro drivers, since it requires HIP. They only introduced HIP support in Blender 3.2: that's two minor releases (almost an entire year) without support for AMD GPU rendering at all. I should've made that clearer in my original comment. If there's a way to get HIP working under the Mesa drivers, I haven't been able to find it in my cursory searches through the internet.

The newer versions of Blender only support CUDA and HIP as render devices, whereas in Blender 2.83 we still had the option to use OpenCL for rendering. You could say the blame is on AMD for giving subpar HIP support on Linux, and that would be fair IF the OpenCL backend didn't exist in Blender 2.83.

Of course, to add insult to injury, they now don't port the RT acceleration to Linux, which just makes the experience truly inferior to Windows. As I pointed out in the original comment, this is a reasonable decision from a business standpoint. I just find it sad because Blender is one of the darlings of the open-source movement, so seeing them neglect Linux so much is frustrating.

comment 3y ago · link · parent

Depends on what you're doing, which GPU you go for, etc. For my use cases switching from NVIDIA to AMD was a great decision. Also, if you're going to stick with open source drivers there is basically no comparison.

Just for reference, what setup are you using? (Linux kernel, drivers, GPU, etc.)

comment 3y ago · link · parent

   > Support for hardware ray-tracing acceleration has been added for AMD and Intel graphics cards.

   Added experimental support for AMD hardware ray-tracing acceleration, using HIP RT. This improves performance on RX 6000, RX 7000, W6000, and W7000 series GPUs.

   Known limitations:

       Windows only, as HIP RT doesn’t support Linux yet.
       Degenerate triangles may causes crashes or poor performance.
       Shadows in hair are not rendering accurately.

   > Windows only, as HIP RT doesn’t support Linux yet
NOOOOOO. I guess I'll have to stay with Blender 2.80 for now. Honestly, the situation with hardware acceleration on Linux is pretty sad. I'm a full-time Linux user, and I acquired an AMD GPU specifically because of better Linux support and much better open-source drivers.

Blender 3 taking so much time to give AMD Linux users hardware acceleration back makes me sad. I guess it's not misguided though, they got a lot of attention from the industry in recent years, and that's where funding comes from, so naturally they will focus on supporting the major use cases (i.e. Windows and Nvidia) and improving features. Though I do love the new and improved features, UV packing, for instance, was a longtime pet peeve of mine while using Blender compared to other (closed-source) modeling packages.

comment 3y ago · link · parent

Absolutely. Depending on your hardware using Paper can be the difference of the server not even starting and a playable game. Paper is an absolutely incredible effort.

278.

Wirth's Law(en.wikipedia.org ↗)

20 points · by doodlesdev · 3y ago · discuss

279.

Anime.js – A lightweight JavaScript animation library(animejs.com ↗)

604 points · by doodlesdev · 3y ago · 128 comments

comment 3y ago · link · parent

Yes there is. They use Auth0 for authentication, so they would have to pour some effort in for this to not be possible. Just go to the login page and select "Forgot your password?" and reset it that way.

comment 3y ago · link · parent

   > Competition can be a bad thing in this field, because it decreases the quality of the games
Where did you get that from? Some of the best games I have ever played were Xbox or PlayStation exclusive and probably wouldn't have happened the way they did without funding from Microsoft/Sony for the exclusivity deal. The value for Sony selling an exclusive game is not just the box price, but the price of the console itself too, so they are willing to accept projects that won't be full of microtransactions, shitty overpriced DLCs, or buggy botched releases since a successful release of a long awaited game could be the difference between someone going for PC/Xbox or getting the new Sony console.

comment 3y ago · link · parent

I prefer VSCodium builds over proprietary Microsoft ones any day of the week, but:

   > This is not a fork. This is a repository of scripts to automatically build Microsoft's vscode repository into freely-licensed binaries with a community-driven default configuration

comment 3y ago · link · parent

Yes.

comment 3y ago · link · parent

How so?

comment 3y ago · link · parent

Wine + DXVK disagrees. Graphics API emulation doesn't necessarily provide worse performance, in fact DXVK often wins against raw DirectX 9/10 and sometimes even DirectX 11. VKD3D performance is pretty awesome.

Not sure how much of the bottleneck here is because of Rosetta though (i.e. cpu-bound) although I suspect not much really.

286.

Repair.wiki – A repository of information for repairing any kind of device(repair.wiki ↗)

2 points · by doodlesdev · 3y ago · discuss

287.

Mkws – A simple static site generator in 400 lines of C(mkws.sh ↗)

1 points · by doodlesdev · 3y ago · discuss

comment 3y ago · link · parent

If you block third-party frames and third-party scripts then indeed it should. See uBlock Origin medium and hard blocking modes [0][1].

Bonus points if you adopt cookie higiene and clean cookies, form data, etc. on browser exit (maybe save for some exceptions) [1]. Even better if you also use firefox containers, browser profiles, or maybe even different browsers for different browsing needs and online profiles.

[0]: https://github.com/gorhill/uBlock/wiki/Blocking-mode#medium-...

[1]: https://github.com/gorhill/uBlock/wiki/Dynamic-filtering:-Be...

[2]: https://support.mozilla.org/en-US/questions/1308719#answer-1...

comment 3y ago · link · parent

Haven't read it completely or paid attention to the data yet, but the conclusion got me hooked:

   > Conclusion

   > The foregoing review of the statistical case for helmet legislation suggests that the faith of the BMJ in the reliability of the statistical evidence on the effect of helmet legislation is misplaced. But debates about sophisticated statistics should not be allowed to drown out the voice of common sense. The risk compensation hypothesis is essentially common sense. There is a wealth of evidence from everyday experience that suggests that people's behaviour is influenced by their perception of risk. People tend to be more cautious when up high ladders than when up low ladders. They tend to take more care when standing on the edge of a high precipice than when standing on a low kerb. They tend to slow down when they encounter bends in the road or patches of fog and to speed up when the road becomes straight or the visibility good-and so on. The possible illustrations of the phenomenon are countless.

   > There is an impressive amount of propaganda designed to encourage people to believe that they are very much less vulnerable when using seat belts and motorcycle helmets, and common sense suggests that driving behaviour will be influenced by safety devices that diminish the user's sense of vulnerability. What unaided common sense cannot predict is whether the behavioural changes induced by a safety device will partly, completely, or more than completely nullify the intended effect of the device.

   > The statistics which the NHTSA considers the most compelling evidence in support of helmet legislation are displayed in figure 1. The state which Watson et al (1980) consider has had the greatest increase in deaths as result of helmet law repeal is Utah. 

   > When the distorting effects of the analytical methods employed by the NHTSA and Watson et al are removed, their data (with the caveats discussed above) suggest that the effect, if any, of helmet legislation on motorcycling fatalities is perverse.
I'll have to read the paper with more attention later to see if I agree with this, but it's a fascinating hypothesis regardless.

Also, this is tangential, but I'm always impressed how different conclusions can be based on the same sets of data. Statistics is a truly fascinating field of mathematics because it's still an objective topic (regarding numbers, in isolation) but becomes very human and subjective when it comes to the different conclusions, transformations, and visualizations for the same data sets.

290.

Mechanical Turk(en.wikipedia.org ↗)

5 points · by doodlesdev · 3y ago · discuss

291.

InertiaJS – Build single-page apps, without building an API(inertiajs.com ↗)

3 points · by doodlesdev · 3y ago · discuss

292.

SeaBIOS – Open-source implementation of a 16bit x86 BIOS(seabios.org ↗)

3 points · by doodlesdev · 3y ago · discuss

comment 3y ago · link · parent

   > A lot of the optimisations for efficient client-server sync require the server to be able to read the message. If everything were encrypted, the server would basically be a dumb blob store. This is particularly bad for mobile, where you only want to sync partial information. Users expect to be able to search their whole archive, so either you need all the data in the client, or the server needs to have access to the data.

   > JMAP is therefore not introducing any new measures to address end-to-end encryption. The best advice is probably to run your own "JMAP server" on trusted hardware; otherwise you need to sync the entire multi-gigabyte mail spool to all your devices. JMAP is also simple enough that you could run the server on multiple machines with an underlying replication protocol over encrypted links and have that do your smarts.
They lost a huge opportunity. Encryption at rest of emails and E2EE should've been how we built these protocols from the start, here we get a chance to try it and... no, just "self-host" instead.

I enjoy self-hosting stuff, but it's just not what normal people will be doing, and they deserve privacy too. Also, self-hosting email is possibly the most complicated self-hosting task you can think of due to deliverability issues.

My biggest pain point with mail providers that support encryption, such as Proton or Tutanota, is that I have to run a "bridge" application that hosts the IMAP server on my machine, since otherwise there's no way to get the encrypted payloads into my mail client. Otherwise, I will have to use their proprietary client (proprietary in the sense it implements their own protocols). This sucks, and it could be solved at the protocol level with JMAP. I expected this to be a top priority of the Fastmail team when developing this, but unfortunately it's not.

comment 3y ago · link · parent

So here's the thing, CLR is still here (now called CoreCLR as of the move to .NET Core), how does it differ technically from WASM/WASI, and why aren't we using it instead?

I should note I haven't spent much time studying either of them.

295.

The Risks Digest – Forum on Risks to the Public in Computers and Related Systems(catless.ncl.ac.uk ↗)

3 points · by doodlesdev · 3y ago · discuss

296.

Everything You Never Wanted to Know about PKI but Were Forced to Find Out [pdf](cs.auckland.ac.nz ↗)

27 points · by doodlesdev · 3y ago · 3 comments

comment 3y ago · link · parent

“Piracy is a service problem.” - Gabe Newell

Also, Arkose Labs CAPTCHA (what HBO Max is using) is awful, please don't use it. There's reCAPTCHA, hCAPTCHA, mCAPTCHA, and now even Cloudflare Turnstile. Or better yet, recognize your costumers can still download the movie for free whether your service exists or not and adapt your strategy to provide them with content easier :)

298.

Runway – Advancing creativity with artificial intelligence(runwayml.com ↗)

2 points · by doodlesdev · 3y ago · discuss

comment 3y ago · link · parent

https://www.businessinsider.com/trudeau-canada-freeze-bank-a...
1
91011
29