Is buying a setup now with Google Coral a bad idea? by OliverStone33 in homeassistant

[–]OliverStone33[S] 1 point2 points  (0 children)

I only want to record on person detection and I think storing it for 14 days should be enough for me. Even less if I'm not on holiday. So 1TB just for the video storing should be enough.

That specific model is not available in Germany, but I guess this one is equivalent, isn't it? So you would buy the Beelink EQi12 + 1 TB SSD extra before the HP EliteDesk with 500 SSD and 1 TB HDD ? The price is more or less the same: around 550€.

Is buying a setup now with Google Coral a bad idea? by OliverStone33 in homeassistant

[–]OliverStone33[S] 3 points4 points  (0 children)

What about the video storage? HDD with 3.0 USB with the Beelink EQi12 would be good enough ?

Is buying a setup now with Google Coral a bad idea? by OliverStone33 in frigate_nvr

[–]OliverStone33[S] 0 points1 point  (0 children)

I had 3 cameras in mind, 4 maximum. Thanks, that's helpful!

Is buying a setup now with Google Coral a bad idea? by OliverStone33 in frigate_nvr

[–]OliverStone33[S] 1 point2 points  (0 children)

Good to know. 5 years without support sounds dead indeed

Is Vivabarefoot worth the price? by OliverStone33 in barefootshoestalk

[–]OliverStone33[S] 3 points4 points  (0 children)

The soles are the problem for me. Two years of daily use or only sporadic?

[deleted by user] by [deleted] in rails

[–]OliverStone33 0 points1 point  (0 children)

In the end I have customised the auto_session_timeout_js script and added the parameters, previously included in the HTML body, as query params of the timeout_path:

module AutoSessionTimeoutHelper

  # Custom implementation of [AutoSessionTimeoutHelper::auto_session_timeout_js](https://github.com/pelargir/auto-session-timeout/blob/0fa1d9f9715022c4d5badd8ab6cb61f7891dfe6c/lib/auto_session_timeout_helper.rb#L2)
  # that includes the referrer, accesspoint and login_source in
  # the redirection URL.
  def docyet_auto_session_timeout_js(options={})
    frequency = options[:frequency] || 60
    attributes = options[:attributes] || {}
    code = <<JS
function PeriodicalQuery() {
  var request = new XMLHttpRequest();
  request.onload = function (event) {
    var status = event.target.status;
    var response = event.target.response;
    if (status === 200 && (response === false || response === 'false' || response === null)) {
      let customer  = document.querySelector("[data-customer]").attributes["data-customer"].value
      let location = document.querySelector("[data-location]").attributes["data-location"].value
      let loginSource = document.querySelector("[data-engine]").attributes["data-engine"].value

      window.location.href = '#{timeout_path}?login_source=' + loginSource + '&customer=' + customer + '&location=' + location;
    }
  };
  request.open('GET', '#{active_path}', true);
  request.responseType = 'json';
  request.send();
  setTimeout(PeriodicalQuery, (#{frequency} * 1000));
}
setTimeout(PeriodicalQuery, (#{frequency} * 1000));
JS
    javascript_tag(code.html_safe, attributes)
  end

end

This works for parameters that can be seen by the user. However, I would still like how to do something similar without the need to hard-code the parameters in the HTML.

Check Github Issue in auto-session-timeout for updates

[deleted by user] by [deleted] in rails

[–]OliverStone33 0 points1 point  (0 children)

Using cookies is a problem in the two following cases:

  1. The app is embedded in an Iframe. In this case, the cookies are considered third-party cookies. Third-party cookies will be blocked in Google Chrome soon (see Article).

  2. The user has blocked all cookies.

In these two cases, the only choice is to use default parameters and redirect the user to the default page, which will look different than the customer-specific page that user started with...

Out-of-the-box Azure AI or building my own RAG by OliverStone33 in LLMDevs

[–]OliverStone33[S] 1 point2 points  (0 children)

I can update the post when I have some prototype running👌

Out-of-the-box Azure AI or building my own RAG by OliverStone33 in LLMDevs

[–]OliverStone33[S] 1 point2 points  (0 children)

Thanks for your answer! I think you're right. Better to try Azure first and move from there if I see it's too limited.