HNHacker News
TopNewBestAskShowJobs

iwalton3

215 karma · joined May 6, 2012

iwalton3 in most places. Contact at: izzie@iwalton.com
submissionscomments
iwalton3··on Canada Border Services seizes lawyer's phone, laptop for not sharing passwords
The problem is if these features become common enough you will start getting asked about them. Even worse, if you aren't using them you may be asked to provide something that is impossible to provide.
iwalton3··on Slack is now easier to use with Microsoft’s Office 365 apps
The headline for this article almost makes it sound like Slack was acquired by Microsoft, which is not the case.
iwalton3··on Nobody wants to read your shit (2009)
Cached Version: https://webcache.googleusercontent.com/search?q=cache:https:...
iwalton3··on How cigarette makers applied their marketing wizardry to sweetened beverages
A lot of news websites seem to be lazy-loading images when they are scrolled into view. This is presumably to save bandwidth, but it may also encourage people to execute unwanted JavaScript.
iwalton3··on Spotify trying to lock-in users just after IPO (2018)
The Spotify playlists aren't even a license. They are just a list of songs that you want to listen to. The only thing that prevents you from switching services is restrictions on porting the playlists. (Currently, the two ways of getting playlists out of Spotify are the developer oauth tokens and the GDPR export.)
iwalton3··on ReactOS 0.4.11 Released
Wine translates Windows syscalls to POSIX syscalls without using virtualization.
iwalton3··on Amazon to give power to brands to remove fakes from website
A fake SD card is one that doesn't store all the data it claims to. There are SD cards on Amazon that claim to store 64 GB (or whatever), but they really store a fraction of that, with firmware that lies to the user and corrupts the data they try to store beyond the actual capacity.
iwalton3··on CVE-2019-5736: runc container breakout
Yes. The lxc commit[1] states that this issue only affects privileged containers. No CVE has been issued for lxc because they consider privileged containers to be insecure.

In my experience unprivileged containers work for most tasks, but there is breakage in some areas. Usually the issues are simple to resolve, like disabling OOM adjustments in systemd or changing the idmap range in winbind to be within the namespace allotment.

[1] https://github.com/lxc/lxc/commit/6400238d08cdf1ca20d49bafb8...

iwalton3··on Spotify will now suspend or terminate accounts it finds are using ad blockers
You can use the malware domains blacklist [1]. It can be applied through uBlock Origin or as a hosts blacklist if you process the file.

Although I personally treat ads as a malware vector and block them. Hopefully I don't get banned from Spotify as I'm a paying customer. If I do, I'll switch to another platform.

[1] http://mirror1.malwaredomains.com/files/domains.txt

iwalton3··on HTTP/3 explained
At least Let's Encrypt has made certificates easier than ever to add and update. Installation of a self-updating certificate takes less than 10 minutes on many server setups.
iwalton3··on Digital exchange loses $137M as founder takes passwords to the grave
Scheme like Shamir's Secret Sharing [1] allow you to split a secret between multiple people, and also set how many people are needed to reconstruct the secret. For instance, you could share it with 5 people, and only require 3 to reconstruct the secret.

[1] http://point-at-infinity.org/ssss/

iwalton3··on SSD Storage: 2018 in review
Those filesystems seem to handle different design requirements though. I also don't trust most vendors to properly encrypt the drives in the firmware [1], so I end up putting dm-crypt over most drives. It also doesn't account for raid setups, which are usually done at the block level. (Although I like snapraid for some use cases.)

[1] https://www.welivesecurity.com/2018/11/15/security-researche...

iwalton3··on Ask HN: Best things in your bash_profile/aliases?
This lets you easily search your command history by typing the beginning of a command and pressing the up arrow.

    bind '"\e[A": history-search-backward'
    bind '"\e[B": history-search-forward'
This one automatically lists the files in the current directory, but limits the number of lines.

    function cd {
        builtin cd "${@}"
        if [[ "$(stat -c "%b" .)" -lt "100" ]]
        then
        if [ "$( ls -C -w $COLUMNS | wc -l )" -gt 30 ] ; then
            ls -C -w $COLUMNS --color=always | awk 'NR < 16 { print }; NR == 16 { print " (... snip ...)" }; { buffer[NR % 14] = $0 } END { for( i = NR + 1; i <= NR+14; i++ ) print buffer[i % 14] }'
        else
            ls
        fi
        fi
    }
iwalton3··on Excel Unusual – home of the most unique Microsoft Excel animated spreadsheets
You can use this Javascript to bypass the block in the F12 console or a bookmarklet:

    document.getElementsByClassName("onp-sl-content")[0].style.display = "block"
iwalton3··on Show HN: Make Medium Readable Again
You can also have this happen automatically when you scroll, and then get the headers back when you scroll up. https://iwalton.com/wiki/#NoFixed
iwalton3··on Ask HN: What feature would you want the web to “force” next, after HTTPS?
I tried something like thiswith a user script to attack those fixed banners, but I found that it caused too much breakage. (For instance on Youtube you would not be able to use the menus.)

I settled on hiding the fixed headers and other objects upon scroll down. (They can be brought back by scrolling up.) https://iwalton.com/wiki/#NoFixed

It would be nice if there was browser support, maybe something like tricking the page into thinking the viewport is as long as the page itself.

iwalton3··on Kill sticky headers (2013)
You can use this userscript [1] to hide most floating headers when you scroll down the page. (When you scroll up, the header is displayed again, so the site doesn't become unusable.)

[1] https://iwalton.com/wiki/#NoFixed

iwalton3··on Ask HN: What is the logic behind closing comments after certain period
Comment threads likely close because they are archiving the data into some format that is harder to modify but easier to serve. (For instance, rendering the thread to HTML and saving that.) It doesn't make sense to store comments in unarchived form after people are done talking about the topic.
iwalton3··on The Cloud Is Raining Cash on Amazon, Google, and Microsoft
> $31,000 for a terabyte

What kind of storage are we talking here? Even 1TB server SSDs don't cost nearly that much.

iwalton3··on Reddit shell
I think RedditStorage was what you were looking for: https://github.com/Rossem/RedditStorage

(I also found redditfs, which is for browsing reddit: https://github.com/ianpreston/redditfs)

iwalton3··on Show HN: Universal Pause Button
Here is a quick clone of this project for Linux using the STOP and CONT signals:

  #!/bin/bash
  
  currentProcess=$(xprop -id $(xprop -root | grep -F '_NET_ACTIVE_WINDOW(WINDOW)' | awk '{print $5}') | grep -F '_NET_WM_PID(CARDINAL)' | awk '{print $3}')
  
  state=$(grep 'State:' /proc/$currentProcess/status | awk '{print $2}')
  
  if [[ "$state" == "T" ]]
  then
      kill -CONT $currentProcess
  else
      kill -STOP $currentProcess
  fi
iwalton3··on BadUSB – On accessories that turn evil [pdf]
I can think of 2 solutions to this issue offhand.

- Accept general input from a keyboard or mouse only after the user's password has been entered into a confirmation window. (Even just a yes/no would work here.) - Change all key shortcuts and menus that can execute things (WinKey+R, Alt+F2, etc.) to something nonstandard. You could also remove them altogether or prompt for a password if afraid of a targeted attack.

The question then becomes this: Are there other attacks that can use USB to execute code beside mimicking input devices?

iwalton3··on Show HN: One-time redeemable download codes as a service
I remember needing a single use url shortener a while ago. I created this out of necessity: http://iwalton.us.to/vl/

It only shortens URLs, it doesn't host anything.

iwalton3··on Ask HN: What should I save for offline reading during 5 weeks without Internet?
There is a Wikipedia archive now that includes images: http://www.kiwix.org/wiki/Wikipedia_in_all_languages
iwalton3··on Cron commands to plain English
You can also use DuckDuckGo to do this: https://duckduckgo.com/?q=cron+0+0+*+*+*+some_report.sh&t=lm
iwalton3··on Google will stop calling games 'free' when they offer in-app purchases
What they could do is show the important distinction between the uses of IAP with 2 categories:

- Games where each purchase can only be made once: Most games where purchases are used to add extra content

- Games where the same IAP can be made multiple times: Spammy games with consumable purchases

The two categories can have text indicating they include expansions (DLC) or that they contain consumable purchases (pay-to-win).

iwalton3··on Dear Recruiters
I found this in the source code:

If you're reading this, we figure you are probably technical enough to work out what's going on. See below for the code that generates our never-ending form.

We built this because we are always being bugged by recruiters who cold call us (http://www.distilled.net). We send them here to "qualify" them.

Thank you reddit for some funny additional question suggestions (now incorporated): http://www.reddit.com/r/funny/comments/eng14/we_get_a_lot_of...

iwalton3··on Microsoft Adds Bitcoin Currency Conversion to Bing
DuckDuckGo also supports BTC conversions (through Wolfram|Alpha):

https://duckduckgo.com/?t=lm&q=1btc+to+usd

iwalton3··on Best Linux Laptops (2013)
On my system the webcam works without any fuss.

I use a Thinkpad T430 with Debian unstable. All hardware works as intended. I purchased mine with the Intel wireless, and that requires a non-free firmware blob. Optimus works, but if there are issues it can be disabled in the BIOS.

iwalton3··on Super-resolution from a single image
How do I use the Python Implementation?
← PreviousPage 3 of 3