Better HN
topnewbestaskshowjobs
Log inSign up

alinspired

77 karma · joined Jan 7, 2011 (15y ago) · 145 submissions

Submissions

comment 4y ago · link · parent

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

comment 4y ago · link · parent

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+"

comment 4y ago · link · parent

Google Pixel 5a has aux but no sd card

comment 4y ago · link · parent

TIL of monolith, thanks. It worked great for old.reddit.com but failed to capture www.reddit.com for mobile

comment 4y ago · link · parent

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;
  }

comment 5y ago · link · parent

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/

comment 5y ago · link · parent

i use https://github.com/Aris-t2/CustomCSSforFx to "freeze" my preferred firefox look

comment 5y ago · link · parent

ergonomic vertical mouse - tried a few and liked Workstream by Monoprice https://www.monoprice.com/product?p_id=38963

comment 5y ago · link · parent

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`

comment 5y ago · link · parent

for nginx a Prometheus exporter module can be used https://github.com/vozlt/nginx-module-vts

comment 5y ago · link · parent

these are not available, i don't see any high storage options for sale at hetzner

comment 5y ago · link · parent

sounds like a non-conventional bank with many details allowed to be posted, perhaps something crypto ?

comment 5y ago · link · parent

in solarwind hack their cicd systems were hacked, don't see a lesson here

comment 5y ago · link · parent

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

comment 5y ago · link · parent

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

comment 6y ago · link · parent

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

comment 6y ago · link · parent

same conclusion on the hardware i tested with

comment 6y ago · link · parent

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

comment 6y ago · link · parent

check https://github.com/checkpoint-restore/criu - designed to dump a set of process to a file and restore it elsewere

comment 6y ago · link · parent

use a docker sidecar, in fact explained in the docker-slim repo:

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

comment 7y ago · link · parent

What a progress! In 2015 they were serving only ~9gb/sec https per server: https://people.freebsd.org/~rrs/asiabsd_2015_tls.pdf

comment 7y ago · link · parent

disable in about:config:

  extensions.pocket.enabled -> false

comment 7y ago · link · parent

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

comment 7y ago · link · parent

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?

comment 7y ago · link · parent

you can approximate short with inverse funds, like SH, PSQ

comment 7y ago · link · parent

should be linked to another BPF book by David Calavera and Lorenzo Fontana discussed recently:

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

comment 7y ago · link · parent

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...

comment 7y ago · link · parent

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

comment 7y ago · link · parent

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"

comment 7y ago · link · parent

reminds me of https://en.wikipedia.org/wiki/OnLive that was shut down in 2015
12345