5,763 karma · joined Oct 27, 2011 (15y ago) · 2,893 submissions
comment 8y ago · link · parent
All that Graal stuff, while a true open source project, has some "Oracle weirdness" around it (IIRC, only Linux (and probably only amd64) is supported in the "community edition") and requires JDK 9/10 (not available on FreeBSD yet..)
comment 8y ago · link · parent
By default, Crystal generates dynamically linked binaries. You absolutely do not need Crystal to run them. But you do need:
- Boehm GC (libgc-threaded)
- libevent
- PCRE if the program uses regexps
- libyaml if the program uses yaml
- OpenSSL if the program uses crypto/TLS (?)
Here's an example ldd output:
/usr/local/bin/shards:
libyaml-0.so.2 => /usr/local/lib/libyaml-0.so.2 (0x8c0bb1e000)
libpcre.so.1 => /usr/local/lib/libpcre.so.1 (0x8c0bd3c000)
libm.so.5 => /lib/libm.so.5 (0x8c0bfb8000)
libgc-threaded.so.1 => /usr/local/lib/libgc-threaded.so.1 (0x8c0c1e6000)
libthr.so.3 => /lib/libthr.so.3 (0x8c0c444000)
libevent-2.1.so.6 => /usr/local/lib/libevent-2.1.so.6 (0x8c0c66c000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x8c0c8c3000)
libc.so.7 => /lib/libc.so.7 (0x8c0cad2000)
libdl.so.1 => /usr/lib/libdl.so.1 (0x8c0ce8f000)
libcrypto.so.42 => /usr/local/lib/libcrypto.so (0x8c0d091000)
You can try `crystal build --static` though :)comment 8y ago · link · parent
https://rocket.rs looks nice ;)
comment 8y ago · link · parent
Well, security_protocol+rust. The actual crypto comes from https://github.com/briansmith/ring which just calls hand-written assembly crypto code copied from BoringSSL.
comment 8y ago · link · parent
comment 8y ago · link · parent
> [Basic mathematics on the real numbers] Why: You need to be able to understand, write, and prove equations and inequalities involving real numbers
If logic is the assembly, real numbers must be the Enterprise Java frameworks :)
But really, aren't they from non-discrete (continuous?) mathematics? How are they useful for computer science? Like, sure we have approximations of them on computers (floats, rationals) but aren't they mostly used for those pesky boring real-world-ish calculations? Isn't CS mostly about integers?
comment 8y ago · link · parent
Modifications to the Horizon OS (like Atmosphere) can be detected, but I wouldn't worry about bans if you don't pirate or cheat.
comment 8y ago · link · parent
Ugh. Why do even supposedly "cool" companies go to the cops when they get pwned? Own up to your mistakes, change your passwords, fix your security. Don't report anything to the fucking authorities. What would punishing a kid even give you?
comment 8y ago · link · parent
They were interesting when the bitcoin paper was released.
Then people (outside of the cult) realized that you Do Not Need A Trustless System. Society is built on trust. Wasting ENORMOUS amounts of power just to replace a few trusted entities with 51% of the network is a horrible idea.
comment 8y ago · link · parent
The N-Gage QD removed the MP3 decoder that was present in the original model. And you could install a software player, and it would struggle with bitrates above 128kbps :D
Modern phones can decode video in software (sucks for battery life, and framerate/resolution are more limited than with hardware, but it's possible). Audio is nothing for them.
comment 8y ago · link · parent
Because people need things other than security to actually do useful things with computers :)
- more ports
- more features (ZFS, DTrace, Jails, RCTL/RACCT, netgraph, Capsicum, CloudABI, Linuxulator)
- more drivers (lots of >=10GbE NICs, AMD GPUs, evdev for input devices)
- more SMP scalability (even NUMA work is ongoing on FreeBSD, while OpenBSD still has lots of things under giant lock AFAIK)
comment 8y ago · link · parent
https://github.com/HardenedBSD/secadm-rules/blob/master/fire...
comment 8y ago · link · parent
Kernel random (read_random_uio(9) / sysctl kern.arandom / /dev/*random / getrandom(2) / getentropy(3)) has been Fortuna since v10, and Yarrow before that.