News for hackers. Stuff that matters.

alinspired

Re:ContainerSSH: Launch containers on demand on Sunday September 11, 2022 @11:21AM (#32800375)
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

Re:Ask HN: Can I see your scripts? on Tuesday August 16, 2022 @02:42PM (#32486957)
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+"
Re:LineageOS 19 on Tuesday April 26, 2022 @10:49PM (#31175721)
Google Pixel 5a has aux but no sd card
Re:Ask HN: Full-text browser history search forever? on Friday March 18, 2022 @05:28PM (#30727767)
TIL of monolith, thanks. It worked great for old.reddit.com but failed to capture www.reddit.com for mobile
Re:My essential Firefox fixes in 2022 on Wednesday March 16, 2022 @05:10PM (#30704131)
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;
  }
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/
Re:Firefox Release 89.0 on Thursday June 03, 2021 @07:06PM (#27388576)
i use https://github.com/Aris-t2/CustomCSSforFx to "freeze" my preferred firefox look
Re:Ask HN: Favorite purchases of last two years? on Sunday May 23, 2021 @08:36PM (#27259974)
ergonomic vertical mouse - tried a few and liked Workstream by Monoprice https://www.monoprice.com/product?p_id=38963
Re:Extreme HTTP Performance Tuning on Friday May 21, 2021 @02:05AM (#27230987)
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`

Re:Replacing Elasticsearch with Rust and SQLite (2017) on Monday May 17, 2021 @05:18PM (#27188586)
for nginx a Prometheus exporter module can be used https://github.com/vozlt/nginx-module-vts
these are not available, i don't see any high storage options for sale at hetzner
Re:Apt Encounters of the Third Kind on Friday March 26, 2021 @09:50PM (#26599125)
sounds like a non-conventional bank with many details allowed to be posted, perhaps something crypto ?
Re:Apt Encounters of the Third Kind on Friday March 26, 2021 @09:42PM (#26599087)
in solarwind hack their cicd systems were hacked, don't see a lesson here
Re:Backblaze Hard Drive Stats for 2020 on Tuesday January 26, 2021 @04:54PM (#25921502)
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
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
Re:Migrating Dropbox from Nginx to Envoy on Monday August 03, 2020 @09:59PM (#24045731)
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

Re:Make Linux Fast Again (2019) on Saturday April 11, 2020 @04:30PM (#22843992)
same conclusion on the hardware i tested with
Re:Off-Facebook activity on Wednesday January 29, 2020 @04:28PM (#22186036)
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

check https://github.com/checkpoint-restore/criu - designed to dump a set of process to a file and restore it elsewere
use a docker sidecar, in fact explained in the docker-slim repo:

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

Re:NUMA Siloing in the FreeBSD Network Stack [pdf] on Monday September 23, 2019 @04:32PM (#21053276)
What a progress! In 2015 they were serving only ~9gb/sec https per server: https://people.freebsd.org/~rrs/asiabsd_2015_tls.pdf
Re:Firefox 69.0 Released on Tuesday September 03, 2019 @04:12PM (#20870684)
disable in about:config:

  extensions.pocket.enabled -> false
Re:Android 10 on Tuesday September 03, 2019 @04:02PM (#20870589)
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

Re:Bugatti has broken the 300mph barrier on Monday September 02, 2019 @03:35PM (#20861320)
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?

Re:Robinhood raises $323M at a $7.6B valuation on Tuesday July 23, 2019 @01:19AM (#20504587)
you can approximate short with inverse funds, like SH, PSQ
should be linked to another BPF book by David Calavera and Lorenzo Fontana discussed recently:

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

Re:Why is Stack Overflow trying to start audio? on Thursday June 27, 2019 @08:06PM (#20300219)
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...
Re:Show HN: Catj – A new way to display JSON files on Monday June 24, 2019 @03:58PM (#20267789)
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

Re:Show HN: Catj – A new way to display JSON files on Monday June 24, 2019 @01:59PM (#20266425)
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"
Re:Google unveils Stadia cloud gaming service on Tuesday March 19, 2019 @09:16PM (#19437953)
reminds me of https://en.wikipedia.org/wiki/OnLive that was shut down in 2015

Older »