HNHacker News
TopNewBestAskShowJobs

alinspired

77 karma · joined January 7, 2011

submissionscomments
alinspired··on ContainerSSH: Launch containers on demand
Try xrdp and xorgxrdp (with --enable_glamor) for gpu acceleration of x-windows in containers. I have successfully tried it on integrated intel and radeon GPUs with opensource drivers.

https://github.com/neutrinolabs/xrdp/issues/1029

alinspired··on Ask HN: Can I see your scripts?
Show kubernetes pods in "unusual states" or restarted 8 or more times:

    kubectl get pods --all-namespaces --sort-by=.metadata.creationTimestamp -o wide -Lapp \
        | grep -vP "Completed|Terminating|ContainerCreating|Running\s+[01234567]\s+"
alinspired··on LineageOS 19
Google Pixel 5a has aux but no sd card
alinspired··on Ask HN: Full-text browser history search forever?
TIL of monolith, thanks. It worked great for old.reddit.com but failed to capture www.reddit.com for mobile
alinspired··on My essential Firefox fixes in 2022
Here is how i hide top tab bar with TreeStyleTab

  $ cat userChrome.css 
  /* Hide horizontal tabs at the top of the window */
  #main-window[tabsintitlebar="true"]:not([extradragspace="true"]) #TabsToolbar > .toolbar-items {
    opacity: 0;
    pointer-events: none;
  }
  #main-window:not([tabsintitlebar="true"]) #TabsToolbar {
      visibility: collapse !important;
  }
  
  /* Hide the "Tree Style Tab" header at the top of the sidebar */
  #sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"] #sidebar-header {
    display: none;
  }
alinspired··on Show HN: LANDrop – A cross-platform AirDrop-like file transfer tool
I used Resilio Sync (ex BTSync) to transfer between devices, but it's not open source and by default allows to use "relay" servers: https://www.resilio.com/individuals/
alinspired··on Firefox Release 89.0
i use https://github.com/Aris-t2/CustomCSSforFx to "freeze" my preferred firefox look
alinspired··on Ask HN: Favorite purchases of last two years?
ergonomic vertical mouse - tried a few and liked Workstream by Monoprice https://www.monoprice.com/product?p_id=38963
alinspired··on Extreme HTTP Performance Tuning
What was an MTU in the test, how increasing it affects the results ?

Reminds me how complicated it was to generate 40Gbit/sec of http traffic (with default MTU) to test F5 Bigip appliances, luckily TCL irules had `HTTP::retry`

alinspired··on Replacing Elasticsearch with Rust and SQLite (2017)
for nginx a Prometheus exporter module can be used https://github.com/vozlt/nginx-module-vts
alinspired··on Rescue Mission for Sci-Hub and Open Science: We are the library
these are not available, i don't see any high storage options for sale at hetzner
alinspired··on Apt Encounters of the Third Kind
sounds like a non-conventional bank with many details allowed to be posted, perhaps something crypto ?
alinspired··on Apt Encounters of the Third Kind
in solarwind hack their cicd systems were hacked, don't see a lesson here
alinspired··on Backblaze Hard Drive Stats for 2020
perhaps margin of error should be raised to accommodate this change of about 1%, although the set of drives under test is likely not the same between years
alinspired··on 2021 GPS Accuracy Issue Impacting Some Garmin, Suunto, other GPS Devices
I might have run into this on a few systems, which started reporting first days of new year as 53rd week of 2021, instead of 2020.

Most systems behave as expected:

  $  date +%G.%V --date="03 Jan 2021 00:00:15"
  2020.53
  
  $  date +%G.%V --date="04 Jan 2021 00:00:15"
  2021.01
alinspired··on Migrating Dropbox from Nginx to Envoy
nginx had cold (for American standards) and conservative community to begin with, commercial version and F5 ownership likely "closed" it even more

it's a pity that community never evolved with nginx growth and success

alinspired··on Make Linux Fast Again (2019)
same conclusion on the hardware i tested with
alinspired··on Off-Facebook activity
never installed facebook app on a phone, but multiple 3rd party apps on the phone report to facebook. For some reported apps i've never been logged in.

looks like facebook knows my phone's "hardware id" from somewhere

edit: good to know that uBlock blocked all web activity

alinspired··on Ask HN: Ever worked with a service that can never be restarted?
check https://github.com/checkpoint-restore/criu - designed to dump a set of process to a file and restore it elsewere
alinspired··on Docker-slim: Minify your Docker container image without changing anything
use a docker sidecar, in fact explained in the docker-slim repo:

https://github.com/docker-slim/docker-slim#debugging-minifie...

alinspired··on NUMA Siloing in the FreeBSD Network Stack [pdf]
What a progress! In 2015 they were serving only ~9gb/sec https per server: https://people.freebsd.org/~rrs/asiabsd_2015_tls.pdf
alinspired··on Firefox 69.0 Released
disable in about:config:

  extensions.pocket.enabled -> false
alinspired··on Android 10
even old google pixel 1 (2016) got android 10!

and there seems to be a re-spin already:

https://developers.google.com/android/images#marlin

alinspired··on Bugatti has broken the 300mph barrier
gives me similar chills as to spacex boosters landing - what an achievement!

dual walled exhaust is peculiar - is there an air feed into the gap?

alinspired··on Robinhood raises $323M at a $7.6B valuation
you can approximate short with inverse funds, like SH, PSQ
alinspired··on BPF Performance Tools: Linux System and Application Observability
should be linked to another BPF book by David Calavera and Lorenzo Fontana discussed recently:

https://news.ycombinator.com/item?id=20412395

alinspired··on Why is Stack Overflow trying to start audio?
this is the time to appreciate uBlock Origin's advanced mode, since 3rd party JS is blacklisted by default https://github.com/gorhill/uBlock/wiki/Advanced-user-feature...
alinspired··on Show HN: Catj – A new way to display JSON files
i need to understand how #! works, ie `#!/usr/bin/jq --stream -rf" errors with `/usr/bin/jq: Unknown option --stream -rf`

`#!/usr/bin/jq -rf ` with tostream wrapper in code works fine

alinspired··on Show HN: Catj – A new way to display JSON files
Following https://github.com/stedolan/jq/issues/243 i commonly use https://github.com/joelpurra/har-dulcify/blob/master/src/uti... to explore unfamiliar json, ie:

  $ docker inspect 620f55df9177| structure.sh |grep -i addr
   .[].NetworkSettings.GlobalIPv6Address
   .[].NetworkSettings.IPAddress
   .[].NetworkSettings.LinkLocalIPv6Address
   .[].NetworkSettings.MacAddress
   .[].NetworkSettings.Networks.bridge.GlobalIPv6Address
   .[].NetworkSettings.Networks.bridge.IPAddress
   .[].NetworkSettings.Networks.bridge.MacAddress
  
  $ docker inspect 620f55df9177| jq .[].NetworkSettings.IPAddress
   "192.168.0.2"
alinspired··on Google unveils Stadia cloud gaming service
reminds me of https://en.wikipedia.org/wiki/OnLive that was shut down in 2015
Page 1 of 5Next →