Better HN
topnewbestaskshowjobs
Log inSign up

dugite-code

908 karma · joined Jan 18, 2016 (10y ago) · 306 submissions

Homepage: http://peekread.info
Submissions

comment 4y ago · link · parent

My solution was to zip-tie lengths of black poster board to the legs. Worked very well for a long time. Eventually the vacuum did bend it a bit, but it's not *too* ugly.

comment 4y ago · link · parent

These issues are why I suggested to a co-worker to run it on a low spec intel nuc and not a Pi. They are cheap second hand and far more reliable than a Pi so are great for a HA server.

He's had great success with the built in backup to google drive solution. He fragged the whole setup once without bothering to do any trouble shooting he just reinstalled the OS and applied the backup and was up and running in no time.

comment 4y ago · link · parent

It's a niggling issue for me, not a show stopper. I did consider it, very briefly, but it's not enough of an issue for me to spend the time and effort maintaining such a fork. Especially with an active project as HomeAssistant keeping a fork working with all the upstream modifications would be difficult.

comment 4y ago · link · parent

Currently I use Authenik on my LAN and VPN, but I used to use Keycloak when it was publicly exposed. I had issues configuring several of the components to work together and decided to use something that "kinda" works out of the box. The app dashboard is also very nice and has the "partner tick of approval" that is so important for hosting your own services.

comment 4y ago · link · parent

Good news, you can use HA with LDAP (ish) and it's sorta supported using the built in command line auth - https://www.home-assistant.io/docs/authentication/providers/... and the ldap-auth-sh script - https://github.com/bob1de/ldap-auth-sh

Not quite SSO, but at least the passwords and users a synced across, so that's nice.

comment 4y ago · link · parent

Yeah that's basically what the Auth header add-on is used for. It's just a pain for the Android app. I got it working briefly but hit a snag where my yubikey I use for passwordless login couldn't be used as it's using a webview container and you can't easily just use a yubikey in that scenario. If SSO was supported mainline support for that could be added.

What I have been meaning to do is have my Auth provider fall back to basic password or something else for HomeAssistant logins, just need to figure out HOW to do that.

comment 4y ago · link · parent

My biggest issue with HomeAssistant at the moment is the refusal of the Devs to support Single sign on methods. Several have been submitted via pull requests and almost gone through and then dropped based on very poor reasoning in my opinion. There is an auth header addon in HACS but without official support the android app is a buggy mess to get working.

HA is the only service I am running now that isn't hooked into my SSO and it's a niggling frustration to say the least.

comment 4y ago · link · parent

> Without doing this, you can’t install add ons from the store.

Usually you can do it yourself, because yes they are just docker containers. I don't use them myself as I don't find much use for most of them. The more important addon tool is HACS and that works in the stand alone docker container.

> But from there, it seemed extremely GUI oriented… I had to install an add on just to see my config files

Yes it's very GUI focused now, you can usually get to the basic yaml config in any screen though if you click through to manually configue that component. This was generally done because the yaml config method was a pain even for the tech literate... because yaml.

If you want proper code in HomeAssistant have a look at AppDaemon https://appdaemon.readthedocs.io/en/latest/HASS_TUTORIAL.htm... Makes it easy to use Python in HomeAssistant.

Alternatively there is Node-red https://nodered.org/ (js visual node programing automation) and huginn https://github.com/huginn/huginn (Python automation)

They will never offer as much integration as HA so I tend to find using HA as a dashboard/device integrator and then Node-red/AppDaemon for the actual automations to be more optimal.

comment 4y ago · link · parent

I wont lie I was confused as to the purpose at first, but the more I think about this the more impressed I get. What wasn't clear at first glance was the port isn't fixed and it generates a "one-time" link. i.e. curling `https://tunnel.example.tld/<whateverport>` generates a neat proxy link `https://<code>.tunnel.example.tld/`.

It would be very handy for say a website designer to quickly bring up and share a demo website running on their development laptop no matter where they happen to be (home, work, the client's office or Starbucks) and everyone involved can "just access" everything through a web browser.

comment 4y ago · link · parent

This is what I do with my personal blog. I actually kind of use it as a personal documentation guide. If I can write it for someone else to use I can re-impliment it myself

comment 4y ago · link · parent

Just be careful with Athentik, it is an extremely young, rapidly developing project. So expect the odd pitfall

comment 4y ago · link · parent

I've selfhosted my own email for almost a decade now. I was spending about 5 min a month on it until my ip block rep died one day for little decernable reason. Then I wasted many hours on it so I switched to sending through amazon ses and I'm back to my 5 min a month (updating packages/checking logs).

It has a few advantages because I can run a bunch of automations and filters. Honestly I get less spam than in my gmail inbox, so I harvest spam from gmail to train my filters now. It's insane to me how much providers charge for an inbox and the tiny sizes many still offer

comment 4y ago · link · parent

I selfhosted my email server on the same IP address for 10 years and never got my reputation tracked. I remember once reading that they needed something in the range of a few thousand emails going to their servers. I swear it used to be listed on the google dashboard but like everything else email related they hide this information to "protect from spammers". Sounds like an excuse for anti-compeditive behaviour to me

comment 4y ago · link · parent

I would guess it's because there was a long time between updates while the material re-design was happening where it stagnated. Then when the re-design finally dropped many features still needed re-implimenting and many bugs needing squashing.

It's been a rough few years for the project because so much needed re-doing but they have come out the other end quite well

comment 4y ago · link · parent

>In the nation where you have to put "Caution - Hot" on coffee-to-go cups to avoid being sued

Hate to be that guy but McDonald's got sued over the hot coffee because they continued to serve coffee well above safe temperatures long after valid saftey concerns had been raised. The poor woman recieved 3rd degree burns (something that shouldn't be possible from a spilled beverage). She was publicly vilified for the massive settlement awarded to her when she only asked for reasonable medical costs.

Also the "Caution - Hot" warning wouldn't have prevented her from being able to sue for negligence. From the data America isn't nearly as litigious as many media stories make out. In fact after this minor court case it actually became harder to sue companies in America and arguably resulted in may corporations to be less concerned about their affect on the common good.

comment 4y ago · link · parent

Thought this was interesting so had a quick search and here is what I found

For linux there are a few solutions depending on the install:

    */5 * * * * pactl set-sink-volume @DEFAULT_SINK@ -2%
or with amixer

    */5 * * * * amixer -D pulse sset Master 2%-
Terminal command to set audio volume? - https://askubuntu.com/a/97945

For windows you can use powershell to trigger the Volume Down Button

    $obj = new-object -com wscript.shell
    $obj.SendKeys([char]174)
Simply add the script to a Task scheduler task (create as a daily task then go into advanced and trigger every x minutes)

Change audio level from powershell - https://stackoverflow.com/a/21362870 Run a task every x-minutes - https://stackoverflow.com/a/4250516

comment 4y ago · link · parent

https://peekread.info

I'm just a tech enthusiast and generally post about interesting workarounds I've done while selfhosting or managing a small buisness computer systems. I used to post my artwork here as well but I've been doing less art lately.

comment 4y ago · link · parent

I can't find the link but I remember reading an article about weight lifting raising the resting calorie use for quite some time after the exercise. Also as you say you retain more muscle, and that muscle requires calories at rest potentially altering the overall calculation. I still agree with the overall premise that fixing your diet is probably the most important aspect of weight loss though.

May main take-away was from the article it read that they focused on running as the primarily measured exercise. So it might not provide the best full picture when looking at other exercise methods.

comment 4y ago · link · parent

From my read of the article the data is heavily biased towards running as the exercise of choice, probably because measuring CO2 is easy and non-intrusive to do on a treadmill. They do mention utilizing doubly labeled water but don't say if they only used that for sedentary participants or measured a wider range of exercises.

Given I have always heard/read how efficient humans are at running if they didn't account for the differing exercise methods the conclusion being offered in this article may be flawed.

comment 4y ago · link · parent

> Exercise doesn’t help you burn more energy on average

I have a problem with this hard statement based on the data because:

> He realized he had to go back to basics, measuring the calories expended by humans and animals walking and running on treadmills.

> He backed this up with a new analysis of data from another team’s study of sedentary women trained to run half marathons

I've always heard that humans, due to our upright posture, are extremely efficient when it comes to walking and running and so if you want to increase you calories usage via exercise you should lift weights as we are much less efficient at this. I have also heard it will would increase your resting calorie usage as well due to repairing/reinforcing the muscle. I will note calorie management has always been heavily emphasized to me: "you can't out-run a fork"

Perhaps that is wrong and a good data based analysis would disprove these common gym tropes I've heard but from my read of this article they only "bust" the morning breakfast channel myths of burning calories.

comment 5y ago · link · parent

So I found this article that says in 2018 it was around 17% (and rising) of employees are at an employer 10 years or more and similar for 20 years and more https://www.smh.com.au/business/workplace/we-don-t-job-hop-a...

Also note in some states where it's after 10 years you actually start accruing the leave after 7 years and if you leave the company prior to 10 years you get paid out for the amount of long service leave you have accrued. Again from the article at 5 to 10 years tenure is around 18%

Even with low participation it would be political suicide to make long service leave harder to gain or even try to take it away. Probably why Victoria actually made long service leave kick in after only 7 years.

comment 5y ago · link · parent

Don't forget long service leave. A uniquely Australian/New Zealand leave offering. After 10 years you deserve a nice long break from the office. Came about due to the excessively long travel times back in the day to Europe.

comment 5y ago · link · parent

One of the first steps when rooting is usually to block outgoing and incoming in iptables (it's a fairly standard ubuntu install after all) so you don't lose root at any point, so the risk is minimal. Not to mention I have a dedicated non internet routable IOT network specifically for this reason.

comment 5y ago · link · parent

A few of the Xaiomi's and Viomi's are rootable. I have a Gen1 Xaiomi and it's brilliant. I got ssh access to the ubuntu install and installed https://github.com/Hypfer/Valetudo and run it 100% local via my home-assistant install.

dgiese is a proficient vacuum security researcher and has most of that stuff available here: https://github.com/dgiese/dustcloud

comment 5y ago · link · parent

I personally soured on Kolab after the whole roundcubenext debacle. Also I ended up having some serious issues because files are stored in IMAP on Kolab

What about Roundcube Next? - https://github.com/roundcube/roundcubemail/issues/6030

In 2018, RoundCube Next Remains Dead In The Water - https://www.phoronix.com/scan.php?page=news_item&px=RoundCub...

comment 5y ago · link · parent

Except it's not old PHP? Nextcloud stable officially runs on PHP7.4 and that is still officially supported for a little while yet. I personally run it on PHP8 with no issues

https://www.php.net/supported-versions.php

Edit: Also the docker image is updated to PHP8 for NC22: https://github.com/nextcloud/docker/pull/1563

comment 5y ago · link · parent

I do some minor customization with the UI via the custom css app https://apps.nextcloud.com/apps/theming_customcss to make it a bit more functional. Thankfully they have keept the css classes and don't look to ever be getting rid of them.

268.

New maintainers needed for the Thunderbird Lookout Fix-version add-on(peekread.info ↗)

2 points · by dugite-code · 5y ago · discuss

comment 5y ago · link · parent

It will sometimes just not show a video from a creator for unknown reasons or it will disappear between sessions. It's been an issue that's popped up regularly over the years on the youtube support forums so it looks like even that is not a pure feed of content and is subject to the whims of the "algorithm".

Not to mention the notifications list for new videos on mobile is also wildly inconsistent and unpredictable

comment 5y ago · link · parent

I only subscribe to youtube channels with RSS. It's the only practical way to always see new videos on a channel. I find it honestly baffling me to see the hoops creators I subscribe to have to beg people to jump through to maaaybeee get notified when there is a new video up.

They used to have an OPML export, but it looks like it was removed

1
7891011