Readit News logoReadit News
aijony commented on Multicore OCaml: September 2021, effect handlers will be in OCaml 5.0   discuss.ocaml.org/t/multi... · Posted by u/anuragsoni
dandotway · 4 years ago
OCaml is becoming a must learn language for those who want to take their C programming to the highest levels, because:

1. Frama-C, which enables writing bug-free C programs, is implemented using a combination of OCaml and the Coq proof assistant (which is itself implemented in OCaml):

https://frama-c.com/

2. CompCert, a formally verified C compiler, is implemented using OCaml and Coq:

https://github.com/AbsInt/CompCert

Nothing at this level yet exists in the Rust and Zig ecosystems, for example. Rust is a very complicated language with many features which makes formalization much harder than with C and OCaml, which both had mathematical ideas of simplicity, analyzability, and minimalism inspire their designs, even if they continue to grow into more complicated monsters, which, incidentally this OCaml 5.0 release will contribute towards. :-)

aijony · 4 years ago
Did somebody say the Fastest Fourier Fransform in the West [1]?

I love this kind of stuff, but the barrier to entry just seems so huge.

https://ocaml.org/learn/success.html#FFTW

aijony commented on GnuCash 4.7   github.com/Gnucash/gnucas... · Posted by u/mrsalt
BigRedDog1669 · 4 years ago
Does anyone have experience switching from QuickBooks to GnuCash? I would like to move from QuickBooks self employed to something that doesn't require a subscription. Would this work well?
aijony · 4 years ago
I haven't done this myself, but GnuCash has importing [1] from .qif and .qfx and a few others.

Also check out integration [2] with OFX at your bank [3]

[1] https://www.gnucash.org/docs/v4/C/gnucash-help/trans-import....

[2] https://wiki.gnucash.org/wiki/OFX_Direct_Connect_Bank_Settin...

[3] https://www.ofxhome.com/index.php/home/directory/all

aijony commented on     · Posted by u/dempedempe
floren · 4 years ago
> Leaked documents at Wikileaks show that the CIA requires emails to be stored as an EML filetype. There are several ways to store emails, and Protonmail has selected the format that the CIA requires.

Wait until they find out about other standard file formats; the possibilities for collusion are endless! The ACLU is colluding with the FBI, because both use PDF!

aijony commented on     · Posted by u/dempedempe
moonchrome · 4 years ago
Yeaharguments here seem far fetched - like "developers aren't using protonmail" - based on github profiles ? My github profile is associated with my gmail account because that's what I used back in 2010 when I signed up, I've since added my personal domain but I still probably have gmail as my default on projects
aijony · 4 years ago
Not to mention, who would want to work at a company that forces them to use their product?
aijony commented on     · Posted by u/dempedempe
tyingq · 4 years ago
>1) Claimed redirection from .onion to .com does not deanonymize the user.

Is is clear why they do the redirect?

aijony commented on     · Posted by u/dempedempe
float4 · 4 years ago
Email is insecure by design. End of story.

Even if you use a secure email service (whatever that means), the other party you're emailing with rarely does, so the NSA/CIA/MI6/whatever still has access to your 99.9% of your email traffic. If you don't want this, then don't email.

I truly don't get why we're having these discussions here on HN.

aijony · 4 years ago
Even Protonmail [1] agrees:

"Not recommended

If you are attempting to leak state secrets (as was the case of Edward Snowden) or going up against a powerful state adversary, email may not be the most secure medium for communications. The Internet is generally not anonymous, and if you are breaking Swiss law, a law-abiding company such as ProtonMail can be legally compelled to log your IP address. A powerful state adversary will also be better positioned to launch one of the attacks described above against you, which may negate the privacy protection provided by ProtonMail. While we can offer more protection and security, we cannot guarantee your safety against a powerful adversary."

[1] https://protonmail.com/blog/protonmail-threat-model/

aijony commented on I Built My New Linux Gaming Desktop in 2021 with AMD (CPU+GPU) and GNU Guix   boilingsteam.com/how-i-bu... · Posted by u/ekianjo
tuananh · 4 years ago
can you elaborate what do you love about guix?
aijony · 4 years ago
Not OP but here are some of mine:

- Universal package manager (replaces pip, cabal, npm, etc.)

- Declarative OS-config which makes deploys on new devices and servers a breeze

- Scheme declaration language (I prefer it to Nix-lang)

- Bootstrapable from 512 byte binary [1]

- I can build a package from source or download the binary

- Easily modify package source, deps, or compiler [2]

Cons:

- No official nonfree software [3]

- Smaller package set than Nix

- No KDE yet and old version of Gnome (it takes a lot of work to update)

Neutral:

- No systemd

- Works with GNU Hurd

- No MacOS or BSD support (yet)

[1] https://guix.gnu.org/en/blog/2020/guix-further-reduces-boots...

[2] https://guix.gnu.org/manual/en/html_node/Defining-Package-Va...

[3] https://gitlab.com/nonguix/nonguix

aijony commented on What’s in a package   hpc.guix.info/blog/2021/0... · Posted by u/Reventlov
aijony · 4 years ago
Another huge plus for source based package managers not elaborated in this article is how easy transformations are [1], so you can rebuild your software with different compilers, dependency versions, source branches, etc. from often a single command.

[1] https://guix.gnu.org/manual/en/html_node/Package-Transformat...

aijony commented on If you could change one thing about Emacs what would it be?   reddit.com/r/emacs/commen... · Posted by u/Decabytes
Qem · 4 years ago
Guile Scheme would be great for this purpose.
aijony · 4 years ago
Better idea, use Guile's built in Emacs lisp engine:

https://www.gnu.org/software/guile/manual/html_node/Emacs-Li...

u/aijony

KarmaCake day98July 8, 2017View Original