HNHacker News
TopNewBestAskShowJobs

predakanga

358 karma · joined December 17, 2013

submissionscomments
predakanga··on Modern CMake short tutorial and best practice
The bundled Find* modules are great, but once you go beyond what's included you often run into problems.

In converting a recent project to CMake (so as to use CLion), I encountered all of the following:

- find_package modules that didn't support REQUIRED or VERSION options

- Lack of standardization on whether find_package variables include recursive dependencies

- Some modules supply imported targets, some don't - requires different consumption

The fact is, I can't simply rely on find_package doing what I expect - I have to read each and every Find*.cmake I use.

On top of that, there's a bunch of conflicting information out there - should your source list include header files? Some older blog posts suggest it's necessary for dependency calculation, newer ones don't seem to mention it; I honestly have no idea what the right answer is.

predakanga··on 1.1.1.1: Fast, privacy-first consumer DNS service
Interesting that they're announcing 1.1.1.1 in Australia, while their CDN traffic still goes via Hong Kong
predakanga··on What to do about NFS and SIGBUS
Interesting - I wonder if that inspired GNU Stow (similar tool I often see used for managing dotfiles)
predakanga··on Ten Hours of Static Gets Five Copyright Notices
As I understand it, appeals against these Content ID strikes are assessed by the (alleged) rightsholder.

A good start would be having appeals handled by an impartial party, though I'm sure everyone involved would be loathe to pay for that.

predakanga··on Ten Hours of Static Gets Five Copyright Notices
There's a bit of conflicting verbiage around this, but the 'copyright notices' that are mentioned in the linked article aren't actually DMCA takedown requests; they're Content ID matches.

The Content ID system is a private arrangement between Youtube and various rightsholders, and it allows them to assert control without the legal repercussions involved in DMCA claims.

The EFF has another article[0] which goes into more detail on the two systems, but I found that to be a bit confusing as well - it seems to conflate the two systems at times.

[0]: https://www.eff.org/issues/intellectual-property/guide-to-yo...

predakanga··on Do not use NPM 5.7
I can see your point (particularly with regard to deliverables), but I suspect the practice is quite widespread - comments often end up being used as a sort of brain dump.

For instance, see this article (from 2004) on comments in the Win2k source code: http://atdt.freeshell.org/k5/story_2004_2_15_71552_7795.html

predakanga··on PWA Coming to Chrome for Desktop
The seeming incompatibility of PWAs with Progressive Enhancement is something that's been bugging me for a while now.

As an earnest question, is Progressive Enhancement (i.e. graceful degradation, "unobtrusive javascript", etc) simply dead now? None of the frameworks out there seem to encourage it, I'm not sure if many even support those paradigms.

predakanga··on PWA Coming to Chrome for Desktop
Yep, Mozilla Prism - there have been plenty of similar efforts both first- and third-party: https://en.wikipedia.org/wiki/Site-specific_browser

They may even retain some use - on OS X, for example, you used to get issues with PWAs being considered part of the main browser process for cmd+tab and cmd+`. I've had to use SSBs to overcome this in the past.

predakanga··on StarCraft: Remastered – Emulating a buffer overflow for fun and profit [pdf]
Just this past week, a number of classified government documents were obtained by reporters in Australia - in that case a filing cabinet had been sold off as second-hand, still containing government files[1].

The investigation into how this could happen is still ongoing, but the reason that's been reported so far is that someone just lost the keys.

If something like that can happen to government documents, just imagine what could happen to general company assets.

[1]: http://www.abc.net.au/news/2018-01-31/cabinet-files-reveal-i...

predakanga··on Many major websites are taking silent anti-ad-blocking measures
Not seeking to invalidate your point, but DVDs and Blurays can stop you from fast forwarding, most famously for the FBI anti-copying warning.

https://en.m.wikipedia.org/wiki/User_operation_prohibition

predakanga··on Stupid long route
This is one of those issues that Mosh handles well - it essentially emulates a terminal on the server and sends snapshots to the client, varying the rate based on network conditions.
predakanga··on How Australia's $49B internet network came to be ridiculed
There's always the Flux party[0] - as I understand it, they're basically committing themselves to direct democracy within their own party.

[0]: https://voteflux.org/

predakanga··on Show HN: Trickle/tritty, a 600 baud pipe/terminal
It doesn't address the TTY part, but for limiting a pipe's throughput there's also pv[0]. It's main purpose is visualising pipe transfers, but the throttling support is solid.

[0] https://www.ivarch.com/programs/pv.shtml

predakanga··on Short-Lived Certificates at Netflix
LetsEncrypt provide two reference implementations of an ACME server, in Pebble[0] (not production ready) and Boulder[1]

[0]: https://github.com/letsencrypt/pebble

[1]: https://github.com/letsencrypt/boulder

predakanga··on Ask HN: What is your preferred method of sending large files over the internet?
In this vein (and the current pricing kerfuffle notwithstanding), Caddy is great.

Just cd into the directory and "caddy", no config needed.

predakanga··on Ask HN: What is your preferred method of sending large files over the internet?
I went to use this last week, discovered a major limitation - the only CLI client that I found, webtorrent-hybrid, requires an X server to be running.
predakanga··on Code Everywhere: Why We Built Cloudflare Workers
Notably, implementing ESI directly at Cloudflare's edge enables them to cache page fragments, rather than fully constructed pages.

That could do wonders both for the size of caches and for cache hit-rates

predakanga··on Code Everywhere: Why We Built Cloudflare Workers
To clarify, yesterday you mentioned that subrequests go through the regular caching subsystem.

Does this hold true even for subrequests to your own zone, where you say here that they go directly to the origin server?

predakanga··on Cloudflare Workers: Run JavaScript Service Workers at the Edge
Congratulations on the announce - it seems like a game changer of a feature, and one I look forward to testing.

Will Cloudflare be curating a list of useful worker scripts? I imagine there will be certain usecases that get a lot of attention (e.g. ESI)

Do requests made from the API go through Cloudflare's usual pipeline, or do they go straight to the backend? In short, will we need to manage the cache ourselves?

And finally, does this change Cloudflare's role as a "dumb" intermediary?

predakanga··on Why Roku’s IPO Will Be Worth Watching
For what it's worth, the Roku is available in Australia, along with localized services.

It's been rebranded and only available through the dominant telco, but it's certainly available (and better for grannies in my experience): https://www.telstra.com.au/tv-movies-music/telstra-tv

predakanga··on Announcing .NET Core 2.0
Spotify uses Chromium Embedded Framework, not Electron - doesn't change your argument, but it's good to know.

Source: https://www.quora.com/How-did-Spotify-make-a-multiplatform-l...

predakanga··on The BitTorrent Protocol Specification v2
How do you intend to handle incompatibilities in the tracker protocol that are introduced by BEP52?

In particular, I note that there's nothing in there regarding which infohash should be used in the tracker updates. Should traffic with v1/v2 clients be reported separately, or should it be consolidated under the v2 infohash?

predakanga··on ACME v2 API Endpoint Coming January 2018
Just discovered Lego[0], which is a batteries-included client written in Go, should be an even better option.

[0]: https://github.com/xenolf/lego

predakanga··on ACME v2 API Endpoint Coming January 2018
It sounds like Dehydrated[0] suits your usecase - it's meant to be truly tiny so it doesn't bundle DNS validation; that's generally handled by the DNS Tool Lexicon[1], which includes an example config for use with Dehydrated.

0: https://dehydrated.de/ 1: https://github.com/AnalogJ/lexicon

predakanga··on Useful one-line scripts for sed (2005)
I've found that pattern to be very useful when altering/sanitising MySQL backups.

  # Set the engine of all tables in schema `foo` to TokuDB
  sed -re '/^USE `foo`/,/^USE / s/^\) ENGINE=\S+/) ENGINE=TokuDB/'
predakanga··on New Surface Pro
It reminds me of the story "The programming antihero" from an old Gamasutra article[1]

"He knew from experience that it was always impossible to cut content down to memory budgets, and that many projects had come close to failing because of it. So now, as a regular practice, he always put aside a nice block of memory to free up when it's really needed."

[1]: http://www.gamasutra.com/view/feature/132500/dirty_coding_tr...

predakanga··on Sweden drops Julian Assange rape investigation
They just reported on the news (ABC, aussie) that the UK police are seeking to arrest him for skipping bail.
predakanga··on When You Accidentally Break Your School Network in 1995
Similar story here - mine was in the days of Windows 9x; everyone knew about "net send", but few bothered to look into the other options.

I decided to poke at it and see what "/forest" did, ended up messaging the entire network with a harmless "Hello world".

It's shocking to see the ordeal that mmccaff went through; for me it was just a couple of very confused teachers and an IT department that wanted to keep an eye on the troublemaker.

predakanga··on Energizing Atom with V8's custom startup snapshot
The emacs startup hack is in it's use of a glibc function called "unexec", which essentially serializes the program's state into a single binary which can later be executed normally.

One of the big downsides (and the reason it became well known) is it's lack of portability, as it requires in-depth knowledge of the system's memory structures.

LWN article and previous HN discussion: https://news.ycombinator.com/item?id=11001796 Somewhat lower-level article that shines some light: http://emacshorrors.com/posts/unexecute.html

predakanga··on HTTP/2 is not the future, it’s the present
Enabling HTTPS on the CDN is good for the users, but please consider using it between the CDN and your network as well - if nothing else, it prevents situations like this: https://medium.com/@karthikb351/airtel-is-sniffing-and-censo...
← PreviousPage 3 of 5Next →