HNHacker News
TopNewBestAskShowJobs

neitsab

170 karma · joined September 25, 2016

[ my public key: https://keybase.io/neitsab; my proof: https://keybase.io/neitsab/sigs/Tdslm0oqEtUbswWWX5p4SvTR9YRaCAb8WB1CsgBqQvE ]
submissionscomments
neitsab··on FFmpeg Cheat Sheet
If by best you mean "most efficient space/quality ratio while maintaining correct performance and compatibility", then I'd argue HEVC/H.265 for video and Opus for audio are strong contenders for the current "best". They provide nice upgrades in efficiency compared with their predecessors, are still generally compatible (while nowhere near AVC/H.264 and MP3/AAC, their decoding is available on major platforms with increasing hardware support for HEVC), and their most used encoders (x265 and opusenc) have sane defaults and CLI.

However, that strongly depends on your use case: where are the files going to be played (which hardware/software, how old, which OS, what battery requirements...)? What are the media to be encoded/decoded like (screencapture, Blu-Ray, voice or acoustic concert...)?

AVC/H.264 is still the king of compatibility and speed/performance, albeit at a lower quality or higher file size. MP3/AAC, depending on the encoder and parameters used, still do a good job and are faster (better optimized) than Opus.

VP9 (video) is kind of niche and complex to use properly, although it is well supported due to its use YouTube. AV1 and its proprietary counterpart are not there yet, although I have a few files encoded (by others) with it and they play mostly fine, but it's on recent hardware/software and it can still be pretty iffy (like e.g. fast forwarding). But the promise is huge!

Re: containers, don't bother with AVI unless on a veeery old stack; go with MKV whenever you can (most flexible) or MP4 when you cannot (most compatible? Especially with proprietary vendors à la Apple).

So you know, like with cipher suites and other things I'd say you have two sets, the "modern" one with HEVC+Opus encapsulated in MKV, or the "compatible" one with AVC+AAC in MP4. I always go with the first one because my requirements allow it and I prefer the space/quality efficiency over anything else, but depending on the use case you may have to resort to the compatible set.

neitsab··on Ubuntu in the Browser (Portfolio Project)
Note: I am not the original author, just the submitter. He shared his work on /r/webdev (https://www.reddit.com/r/webdev/comments/mrylut/made_my_port...) and I just happened to find it very impressive. I messaged him to say I posted it here. There is also https://www.reddit.com/r/linux/comments/mrzayy/ubuntu_clone_... with a few more comments.
neitsab··on Ask HN: Those who quit their jobs to travel the world, how did it go?
To get a feel of what it's like to cycle through vast swaths of empty land, I highly suggest "A bivvy, a phone and a drone: cycling home from China." https://www.youtube.com/watch?v=Mmdxs_0yYwc

This man literally rode through Eurasia up to the UK, sleeping on the side of the road. I stumbled upon it recently and found it quite endearing.

neitsab··on Ask HN: What are the best unknown books you have read?
"The Shamanic Path to Quantum Consciousness: The Eight Circuits of Creative Power" by Laurent Huguelit.

This book literally changed my life and set it on a very different course a few years ago.

It builds upon the 8 circuit-brain model of Timothy Leary, to provide both a map (which is presented as such and not expounded so as to confuse it with the reality it describes), and a practice that is derived from classic, western-compliant core shamanism, as formulated by the anthropologist Michael Harner who created the Foundation for Shamanic Studies (FSS) in the 80's, practice which makes testable the framework presented in the book (so it remains quite pragmatic and not only theoretical), and provides the absolutely delightful properties of:

- not rejecting any part or aspect of reality as we know it, so that biology, emotions, the intellect, social life, sex, drugs, sports, science, religions, yoga, meditation, nutrition, arts, quantum probabilities etc. all have their place in this story;

- doesn't paint itself as THE ONE AND ONLY valid view of reality, but instead offers (and strongly recommend) to integrate and make your own life experiences first class citizens and to adapt the discourse according to them, thus completely reversing the usual pattern of those kind of "revelation" books;

- offers a very coherent and inclusive perspective on reality, borrowing concepts from the science of cybernetics to paint a picture of it in terms of feedback loops that develops a new approach of the mind and its harmony, relying on eight broadly defined "circuits" or "tracks" (like in a car engine) and their interactive and dynamic play to provide fulfillment and as the source to real life creativity...

It is not long but it is dense in content; there is no fluff, and I am fairly certain that any competent hacker (in the broadest sense) with an open mind will find a many very precious tools and ideas in it.

Amazon: https://www.amazon.com/Shamanic-Path-Quantum-Consciousness-C... Official website: http://8circuits.org/ENGLISH/index_ENG.html

neitsab··on KrebsOnSecurity is now up and hosted on Google Cloud
You can try hardcoding the IP address in your hosts file (see my comment below: https://news.ycombinator.com/item?id=12574428#12575021). This will get you to the site through a regular request.
neitsab··on KrebsOnSecurity is now up and hosted on Google Cloud
Could you elaborate more on why propagation is not the right term? Its definition reads:

  The process of spreading to a larger area or greater number; dissemination.
Which is (to my understanding) exactly what happens with DNS information while clients fetch the updated zone.

72 hours is indeed a comfortable upper bound ("up to"), that we would give to customers so as to make absolutely sure every cache down the chain has refreshed its records, and is not the cause of the issue at hand when name servers were changed. 24 hours is common delay.

neitsab··on KrebsOnSecurity is now up and hosted on Google Cloud
For now DNS information reflect the former address and name servers for most people:

  $ dig krebsonsecurity.com +short
  127.0.0.1
  
  $ dig ns krebsonsecurity.com +short
  ns2.prolexic.net.
  ns1.prolexic.net.
127.0.0.1 points to localhost, which is your local machine.

However if you query the Whois, you'll see that the site changed its name servers from Prolexic's to Google's ones today:

  $ whois krebsonsecurity.com | grep "Name Server"
   Name Server: NS-CLOUD-D1.GOOGLEDOMAINS.COM
   Name Server: NS-CLOUD-D2.GOOGLEDOMAINS.COM
   Name Server: NS-CLOUD-D3.GOOGLEDOMAINS.COM
   Name Server: NS-CLOUD-D4.GOOGLEDOMAINS.COM
And indeed if we query those directly:

  $ dig krebsonsecurity.com @ns-cloud-d1.googledomains.com +short
  130.211.45.45
Such name servers change can take up to 72h to propagate. Meanwhile, you can edit your /etc/hosts file (on GNU/Linux) to hardcode the IP of krebsonsecurity.com:

  # echo "130.211.45.45   krebsonsecurity.com" >> /etc/hosts
(must run as root)

Now browse to krebsonsecurity.com et voilà!

← PreviousPage 2 of 2