Hacker Timesnew | past | comments | ask | show | jobs | submit | bestboy's commentslogin

Soylent Green (https://www.imdb.com/title/tt0070723/)

"In 2022, Earth is overpopulated and totally polluted; the natural resources have been exhausted and the nourishment of the population is provided by Soylent Industries, a company that makes a food [...]"


Is it really necessary to add this header to each and every response?! I feel like it might be sufficent to add this header just to documents like *.html.


If I understood it correctly, then they are using simple physical disk mirrors for redundancy. To me that seems like a huge waste of disk space. Parity based redundancy schemes like RAID-Z3 are way more space efficient. I do understand that parity based schemes need more time to heal/rebuild on drive replacements, but that does not seem to outweigh the huge amount of wasted disk space IMHO.


The paired disks are in a different physical location so they also provide a degree of geographic redundancy.

Short of splitting a RAID array across two physical locations (a terrible idea), your proposal would require them to run mirrored RAID arrays in both locations.

This would give them greater redundancy, but would be a less efficient use of raw disk space than their current solution. It would also be more complex and difficult to maintain, and have performance impacts.


There are tables for bandwidth and iops vs differing raid levels, mirroring is generally the best.


True, but I do not consider nearline archiving to be a workload that requires lots of IOPS.


Besides the cross-DC issue others have mentioned, erasure coding everything can also exacerbate CPU or memory bottlenecks. Not sure if this is an issue for IA, but on my last project data would be initially replicated and then transparently converted to erasure codes after some time. I believe that some other exabyte-scale storage systems work similarly.


In case one is using LineageOS, what keyboard is used then? Is it the vanilla AOSP keyboard? How does the LineageOS keyboard compare to privacy conscious keyboards like this one or the AnysoftKeyboard?


My understanding is the LOS very much uses the vanilla AOSP keyboard, which is basic but FOSS so about the same privacy-wise as this or ASK.


I have a little doubt about the results of the Java benchmarks.

I think the JVM tests should have been executed with the same amount of heap allocated for each platform in order to get the internal dynamics/heuristics of the JVM to be comparable. IMHO all JVM tests should have been executed with -Xmx 7G (8 Gigs maximum as per the M1 MacBook Air minus a little something for the OS and the system buffers)

Still, I'm impressed with the Apple silicone.


Why? You cannot buy 8gb of dual channel high performance ddr4 - it's a capacity with such a small market and low expected price that manufacturers won't bother. It's only Apple that insists on $200 extra for 16gb.


I'm sorry, if I wasn't making this clear enough. I'm not proposing to remove DIMMs. I'm merely suggesting to run the Java VM with the same amount of memory/heap for all the platforms. That is purely a software setting. The command-line switch to configure the heap size of a JVM is -Xmx

The reason why I'm suggesting to have the same heap size for the benchmarks is that the maximum heap size is the single most important (tuning) setting for the JVM. Based on this setting the VM sizes its internal data structures and adepts its behavior.

Also, garbage collection times are typically* dependent on the size of the heap. With most* garbage collectors collecting a 32gb heap takes longer than collecting a 8gb heap. If the workload of the benchmark allows for the heap to be used entirely, then garbage collection overhead is directly related to the heap size.

* unless a "big heap" garbage collector like ZGC or Shenandoah is used


They should set both the minimum size and maximum size to 4 GB (assuming it's enough).

Heap resizing has a much bigger impact on performance than garbage collection.


Yeah and I didn’t see what version of Java they were using since the Apple Silicon support isn’t really mature yet.


just want to quickly share an IMHO interesting sorting algorithm visualization video: https://youtu.be/kPRA0W1kECg

"Visualization and "audibilization" of 15 Sorting Algorithms in 6 Minutes. Sorts random shuffles of integers, with both speed and the number of items adapted to each algorithm's complexity. The algorithms are: selection sort, insertion sort, quick sort, merge sort, heap sort, radix sort (LSD), radix sort (MSD), std::sort (intro sort), std::stable_sort (adaptive merge sort), shell sort, bubble sort, cocktail shaker sort, gnome sort, bitonic sort and bogo sort (30 seconds of it)."


Great article!

I acknowledge that this is an honest mistake that might happen to me anytime.

I guess human error is the likeliest cause of data loss nowadays... :(

Anyways for my ext4 ubuntu desktop I immediately made some changes in response to this post:

* installed ext4magic and extundelete so I don't have to do it after the accident, potentiality overwriting the deleted file

* changed my 'll' alias to 'ls -lisah' to include the inode. I guess it's very likely that one does a file listing before moving files around and this can be a live saver.


Using ZFS is no replacement for backups.

Still, this would have been a non-issue on a ZFS system:

  /var/recordings $ ll .zfs/snapshot/
  total 72
  drwxr-x---+ 7 root  root  7 Apr  9  2019 0003/
  drwxr-x---+ 7 root  root  7 Apr  9  2019 auto-2020-11-26_00-00/
  drwxr-x---+ 7 root  root  7 Apr  9  2019 auto-2020-11-27_00-00/
  drwxr-x---+ 7 root  root  7 Apr  9  2019 auto-2020-11-28_00-00/
  drwxr-x---+ 7 root  root  7 Apr  9  2019 auto-2020-11-29_00-00/
  drwxr-x---+ 7 root  root  7 Apr  9  2019 manual-2020-10-05/

  /var/recordings $ cp .zfs/snapshot/auto-2020-11-28_00-00/recording-16679.flv recording-16679.flv

(every directory/dataset contains an invisible .zfs directory "mounting" the snapshots of the dataset)


I'd suggest to disable webRTC and webGL (unrelated to this particular issue but still) in the browser for fingerprinting reasons alone.

e.g. firefox > about:config:

* media.peerconnection.enabled false

* webgl.disabled true


How do play WebGL games? Do you temporarily activate WebGL or can you whitelist sites?


I do not play 3D games in the browser. If that is a usecase, then webGL has to be enabled of curse.

If browser games were a usecase of mine, then I'd keep my safe "daily driver" Firefox for surfing the WWW with the mentioned restrictions in place. I'd use a separate Chrome browser as a "game client".


Seems plausible to me. I guess it would be pretty hard to maintain a TPD of about 200W for 80 3GHz ARM cores [1]. The bus traffic to synchronize 80 CPU caches can probably be significant.

[1] https://www.anandtech.com/show/15871/amperes-product-list-80...


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: