HN user

gaul

858 karma

Chief simulacrum officer, chronicler of hipster museums, and Potemkin geek. https://gaul.org/

[ my public key: https://keybase.io/gaul; my proof: https://keybase.io/gaul/sigs/DtswoGs6HGcXb01P9qsR9TH65rJFSUZ0SuqiSV7ZXKY ]

Posts29
Comments55
View on HN
soc.me 6mo ago

x86 prefixes and escape opcodes flowchart

gaul
98pts51
pigeonsnest.co.uk 6mo ago

Pigeon's Device (2009)

gaul
16pts0
ciq.com 2y ago

Vendor Kernels, Bugs and Stability

gaul
2pts0
github.com 2y ago

Retiring the Mozilla Location Service

gaul
1pts0
grapheneos.social 2y ago

GrapheneOS finds Bluetooth memory corruption via ARM MTE

gaul
328pts199
open-web-advocacy.org 2y ago

Open Web Advocacy 2023 in Review

gaul
9pts0
uberpubpolicy.medium.com 2y ago

Understanding Uber's Share of Driver Earnings

gaul
1pts0
landing.google.co.jp 3y ago

Gboard Stick Version

gaul
3pts1
blog.min.io 4y ago

Nutanix Objects violates MinIO’s open source license

gaul
425pts142
blog.pyston.org 4y ago

Pyston Team Joins Anaconda

gaul
4pts0
www.mozilla.org 5y ago

Firefox 83 Release

gaul
4pts1
github.com 5y ago

Homebrew deprecates all FUSE formulae

gaul
2pts0
openjdk.java.net 6y ago

JEP 381: Remove the Solaris and Sparc Ports

gaul
1pts0
github.com 6y ago

Awesome-ld-preload: List of resources related to LD_PRELOAD

gaul
85pts34
bartongeorge.io 6y ago

Introducing the 2020 Dell XPS 13 Developer Edition

gaul
8pts0
github.com 7y ago

Show HN: Undocumented Amazon S3 APIs and Third-Party Extensions

gaul
3pts0
github.com 7y ago

Show HN: Mirrorfs – Mirror filesystem operations and check for consistency

gaul
2pts0
github.com 8y ago

Show HN: Java Collection Overhead

gaul
2pts0
aws.amazon.com 8y ago

Amazon S3 Update – New Storage Class and General Availability of S3 Select

gaul
8pts0
www.bizjournals.com 9y ago

Tintri IPOs with $216M market cap, below previous $900M valuation

gaul
1pts0
www.mozilla.org 9y ago

Firefox 52 released

gaul
489pts360
clusterhq.com 9y ago

Git for data is here: Announcing FlockerHub and Fli

gaul
5pts0
github.com 10y ago

Bay Area Transit Plans

gaul
5pts0
russcon.org 10y ago

Triangle Classification Problem (2002)

gaul
9pts9
github.com 11y ago

Show HN: Chaos HTTP Proxy introduces failures into requests via a proxy server

gaul
3pts0
areweconsistentyet.com 11y ago

Observed and Documented Eventual Consistency in Amazon S3, OpenStack Swift, etc.

gaul
19pts2
gaul.org 11y ago

Compare cost, durability, and regions of cloud object stores

gaul
12pts6
github.com 11y ago

Show HN: Modernizer-maven-plugin detects use of legacy Java APIs

gaul
4pts0
github.com 11y ago

S3Proxy allows applications using the S3 API to access other object stores

gaul
47pts16

This is not a NOP; it explicitly clears the upper 32 bits of EDI since the compiler does not know that they are zero in this situation. If you change cc from an int to size_t (long on x86-64) the compiler will generate:

        mov     eax, OFFSET FLAT:.LC0
        cmp     rdi, 258
        ja      .L1
        mov     rax, QWORD PTR CSWTCH.1[0+rdi*8]
Note that in some cases the compiler can do this automatically via lifetime analysis but not in this freestanding example.

The article mentions 32-bit Raspbian which is moving to 64-bit to better support the Raspberry Pi 4 with 8 GB of RAM. Both the RPi 3 and 4 have 64-bit support but earlier models, including the popular and still-on-sale Zero, do not support 64-bit. This platform will likely stick around for a long time; we need to continue to fix issues like this size_t/off_t one in s3fs:

https://github.com/s3fs-fuse/s3fs-fuse/pull/1039

Could you expand on this comment? s3fs uses multiple threads for uploading and populating readdir metadata via S3fsMultiCurl::MultiPerform. Earlier versions used curl_multi_perform which may have hidden some of the parallelism from you.

This is not expected behavior. An older version had pessimized locking which preventing concurrently adding a file to a directory and listing the directory simultaneously which is the most similar symptom. I recommend upgrading to the latest version, running with debug flags `-f -d -o curldbg`, and observing what's happening. Please open an issue at https://github.com/s3fs-fuse/s3fs-fuse/issues if your symptoms persist.

I maintain mbpfan and have contributed to a few other Linux on Mac tools.

Linux on Mac is not worth the effort. I ran Ubuntu on a 2011 MacBook Air and now run Fedora on a 2014 MacBook Air. There were several papercuts even with these relatively open models where it took a while to get suspend, trackpad, fan, webcam, wifi, etc. working properly. You will need to use binary drivers for the latter two features and some strange EFI bootloader. It seems that newer MacBook compatibility is worse:

https://github.com/Dunedan/mbp-2016-linux

I use Debian on ThinkPad at work and plan to buy this or a Dell XPS for my next laptop.

Every talk should include a link to the slides at the beginning and end of the deck, preferably with a shortened URL. This allows live viewers random access but also improves recorded talks. I often want to evaluate the content of a talk to see if I should invest 30-60 minutes watching. This would also help users with accessibility needs.

This changed in 1.86 and I updated the README as follows:

random writes or appends to files require rewriting the entire object, optimized with multi-part upload copy

Now changing one bit means re-uploading 5 MB, the minimum S3 part size.

They claim 100% S3 compatibility but it fails a large number of API calls using Ceph’s s3-test. I didn’t dig into this too far but they do claim “No need to change your S3-compatible application” so changing my endpoint + credentials should have worked. To their credit - PUT, GET and DELETE did work but that is only 3 of 100’s of API’s.

Validating claims of S3 compatibility is important. The S3 API has corner cases like and misfeatures like BitTorrent hosting but sometimes vendors omit key features like multi-part upload and v4 signatures. s3-tests[1] is the best way we have to evaluate implementations yet only Ceph and S3Proxy seem to contribute to it. Users should hold vendors' feet to the fire about these these claims.

[1] https://github.com/ceph/s3-tests