Uncaught TypeError: Cannot read property 'createRouteFromReactElement' of undefined

var React = require('react')
var ReactDOM =  require('react-dom')
var Router = require('react-router').Router
var Route= Router.Route
var IndexRoute = Router.IndexRoute

var App = React.createClass({
  render() {
    return (

App

About

    )
  }
})

var About = require('./components/Home')

ReactDOM.render((
  <Router>
    <Route path="/" component={App}>
      <IndexRoute path="/about" component={About} />
    </Route>
  </Router>
), document.body)

and my Home.jsx
var React = require('react');
var RaisedButton = require('material-ui/lib/raised-button');

var Home = React.createClass({
  render:function() {
    return (
        <RaisedButton label="Default" />
    );
  },
});

module.exports = Home;

Thanks for your question!
We want to make sure that the GitHub issue tracker remains the best place to track bug reports and feature requests that affect the development of React Router.
Questions like yours deserve a purpose-built Q&A forum. Would you like to post this question to Stack Overflow with the tag #react-router? https://stackoverflow.com/questions/ask?tags=react-router.
We also have an active and helpful React Router community on Reactiflux, which is a great place to get fast help with React Router and with the rest of the React ecosystem. You can join at https://discord.gg/0ZcbPKXt5bYaNQ46.


Missing requirements

It needs these packages as well so I guess they need to go into requirements.txt:
torch
tqdm

Yes I agree with you Thanks


MediaBrowser: Aborting video playback before end results in attractor not showing up after timeout

I noticed that if I tap to abort a video before it ends, the attractor ceases to show up after the timeout.  I suspect the 'ended' event is not firing in that case, so
document.getElementById('mediaLightboxVideo').addEventListener('ended', (event) => {   resetActivityTimer()   videoPlaying = false })
at the end of media_browser.js isn't called.  Not sure though which event would be triggered in this case.

Adding
resetActivityTimer()
videoPlaying = false
to hideMediaLightBox does seem to take care of the issue, and in my brief testing doesn't seem to break anything else.

Fixed in https://github.com/Cosmic-Chatter/Exhibitera/commit/b8c5e94cd0eec44311dc8c6ceee6e27885f2e686


FixNeed to recalculate health value when table row count become 0.

Need to recalculate health value when table row count become 0. Otherwise, when user truncate a table, the old statistics will not be updated.

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall

run buildall


Can't set frame height

document.selectedLayers.layers[0].frame.height=100 does not do anything. The layer exists and I can get the height etc. But I can't set it. Am I missing something?

I just tried this and it works:
log(context.document.selectedLayers().layers()[0].frame().height())
// 200
context.document.selectedLayers().layers()[0].frame().height = 300
log(context.document.selectedLayers().layers()[0].frame().height())
// 300

BTW, for plugin-related questions, http://sketchplugins.com is a much better place to ask : )

@bomberstudios Thanks, but this is the old syntax, I would like to make the new work.
Thanks for the tip :)

Then check https://github.com/BohemianCoding/SketchAPI : )

Sounds like a bug. Can you open an issue https://github.com/BohemianCoding/SketchAPI ?

@mathieudutour I will!
Meanwhile to make it work you can use the sketchObject property of the layer:
 document.selectedLayers.layers[0].sketchObject.frame.height = 100


fix: escape everything with modified QueryEscape

This commit switches to using QueryEscape for escaping all components. However, because QueryEscape escapes   (space) to +, we actually change that to a %20, that is the percent-encoded equivalent.
QueryEscape was built for HTTP Query parameters, and although there is some discussion around it, escaping   to a + is completely valid. Sadly, other languages / implementations like the Javascript one don't handle that properly, so if we simply used QueryEscape, the purl couldn't be parsed by other implementations.
By using the universally supported %20 instead, we restore compatibility.

LGTM. Sorry for the delay @tommyknows  :) I am looking through the other PRs right now.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

19 of 19 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.8%) to 85.833%

Totals

Change from base Build<PHONE_NUMBER>:
0.8%

Covered Lines:
206

Relevant Lines:
240

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

19 of 19 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.8%) to 85.833%

Totals

Change from base Build<PHONE_NUMBER>:
0.8%

Covered Lines:
206

Relevant Lines:
240

💛  - Coveralls


A new mod for server rules

Maybe shall we add this mod, it seems easier to understand.
https://forum.minetest.net/viewtopic.php?f=9&t=12441

Also, if we add it here, we should add it to creative.
EDIT : Just saw that MinetestForFun commented on it. But I think it's still better than the actual one :)

We already used a better version of this mod, it's a really useless mod for us.


Support reading Hudi table

Support reading hudi external table
Hudi table schema
Table schema get from

[ ] remote storage
[ ] Hive metastore

Execution

[ ] Hudi cow read
[ ] Hudi mor read

Storage

[ ] Hudi table on HDFS
[ ] Hudi table on S3

Hi, I wonder which way will you use to support Hudi table? Because as I know, there is no Hudi C++ API.


Add option for ragged columns in LaTeX

I'm using your script to generate a PDF of a recipe collection in markdown. Ingredients are in two columns and the cooking instructions follows in one column layout.
Sometimes the list of ingredients does not fit evenly in two columns and LaTeX fills up with vertical space (too much white space in right column):

By inserting
\vspace*{\fill}

before \end{multicols} I can get my desired result (see this SO thread):

It would be nice to have an option to not layout column text in the entire column height. This would insert \vspace*{\vfill} before \columnbreak (for left column) and \end{multicols} (for right column).

Here is an example of what happens when inserting \vspace*{vfill} before a \columnbreak (wanted result):

And the current (undesired) output:

The correct way to solve it is probably to use \raggedcolumns instead. Create a file format.tex that contains:
\raggedcolumns

And then use
pandoc --lua-filter=columns.lua --include-before-body=format.tex file.md -o file.pdf

and Bob's your uncle.

Thanks for your input and sorting this one. I was thinking of adding filter options, one could be to get ragged columns. Something like adding:
columns-filter:
   ragged-columns: yes

in the file metadata. I'll keep this open as an enhancement.

This is now implement, see README.md.


NaN and Infinity support

Аdded support for parsing NaN and Infinity.
Serializer already supports this.

As far as I know, neither NaN nor infinity is a part of JSON format

As far as I know, neither NaN nor infinity is a part of JSON format

Yes, but for example comments too.
JSON5 is supporting NaN and Infinity.
Maybe add by option?

What do you accept for NaN or infinity?

What do you accept for NaN or infinity?

JSON
{
  "nan": NaN,
  "infinity": Infinity,
  "minus_infinity": -Infinity
}

parsed as
object obj( {
  { "nan",  std::numeric_limits<double>::quiet_NaN() },
  { "infinity", std::numeric_limits<double>::infinity() },
  { "minus_infinity", -std::numeric_limits<double>::infinity() }
} );

This needs to be disabled by default and enabled with an option. See
https://www.boost.org/doc/libs/1_77_0/libs/json/doc/html/json/ref/boost__json__parse_options.html

The JSON5 spec also allows +NaN, -NaN and +Infinity:

The IEEE 754 value positive infinity must be the literal characters Infinity and may be prefixed with an optional plus sign.
The IEEE 754 value negative infinity must be the literal characters -Infinity.
The IEEE 754 value NaN must be the literal characters NaN and may be prefixed with an optional plus or minus sign.

Hi!
I would like to pick up this PR (@ZFail has added me to his repo).
We need this feature either way, but I'd like to know if there is interest in merging it.
I've already committed optional support for Infinity/NaN parsing through parse_options::allow_infinity_and_nan.
If there is interest, then I'll add more tests.
Another question is regarding leading + and -NaN support.
As @pdimov mentioned, JSON5 supports these.
But IMO, supporting leading + signs specifically for Infinity and NaN is not a good idea.
In JSON5 this syntax is supported for numbers in general, which is not true for JSON.
If there is interest in supporting leading + signs, then that should either be extended to all numbers (with the parse option renamed to allow_extended_numbers), or implemented separately with it's own parse option.
-NaN is more of a grey area.
It could definitely make sense to support this, given that the sign of a NaN is actually observable using std::signbit().
But in that case the serializing code should also be modified to produce -NaN for such values.
Otherwise we loose the ability to roundtrip numbers, which is the main point of this feature.

This is still not reviewed and merged?

This is still not reviewed and merged?

Yeah, it was sort of forgotten about for a while.
Since I needed to rebase this onto 1.82.0 anyway, I decided to take over the PR.
I also left a couple TODOs in the code, if someone could have a look at them:
https://github.com/boostorg/json/pull/657/commits/2dbb08f3fccbe8599e204655a68e3f256f4959ba#diff-2cc706ac1836b6457314bc5f7f00837fc38310395e9d1486782a82b7d5b6e583R105
https://github.com/boostorg/json/pull/657/commits/2dbb08f3fccbe8599e204655a68e3f256f4959ba#diff-ac0f59cf63d51320da1fc37682921e31221528ac2e1c8412363fa3f4d2dead5cR769

The massive switch/case in basic_parser::parse_document() is not the most easily extendable thing.
Here is a template recursion based replacement, if you're interested: https://github.com/ZFail/json/commit/887a3e8223f6935c86e08f58ee35a13ae5117457
I put it in a separate branch in case such an implementation is not acceptable, e.g. due to debug performance.

Why specifically Infinity and NaN? My cursory research shows that the only implementation that outputs these is Python.

Why specifically Infinity and NaN? My cursory research shows that the only implementation that outputs these is Python.

I think the original reasoning is simple - that's what Boost.JSON serializes them as: https://github.com/boostorg/json/blob/ee01580cfde818e31d8ea41c2e4056bcff9e3018/include/boost/json/detail/ryu/detail/common.hpp#L85-L99
Given that JSON is closely related to JS, and JS has Infinity and NaN as global properties, this actually seems reasonable.
That's also probably the reasoning behind JSON5's spelling.

While JS has them, it doesn't parse them as numbers. But I guess, this is a common enough approach to pick it.
One question. I'm not sure we actually need the template parameter for whether special number support is enabled. Can you test if the template parameter affects performance and how much it affects binary size?
Also, please rebase on the current develop and squash. after that I will approve CI runs.

Are you still planning to do this? I've made a few changes to parsing of JSON literals that makes implementing this change much easier, and also simplifies getting full coverage.


Support installing sensu plugins and extensions

Pull Request Checklist

Description

Add both type and provider and class to manage sensu plugin and extension installation.
Had to have apt based systems have packages depend on Class[apt::update] as adding a second repo caused apt-get update to take place later and prevented install of core sensu-go packages.  The dependency change ensures apt-get update is run before trying to install any packages.
Motivation and Context

sensu-go docs for plugins: https://docs.sensu.io/sensu-go/5.2/installation/plugins/
This change makes it easy to utilize plugins.
General

[ ] Update README.md with any necessary configuration snippets

[x] New parameters are documented

[x] New parameters have tests

[x] Tests pass - bundle exec rake validate lint spec

Tests are failing because Debian lacks sensu-plugins-ruby package for Debian.  See https://github.com/sensu/sensu-go/issues/2757

Thanks for creating the ticket with sensu-go. Suggest skipping those tests with Debian and adding a comment like
# TODO: package is missing on Debian - See https://github.com/sensu/sensu-go/issues/2757

Add commit to skip all plugin related tests for Debian.

Added commit that documents sensu::plugins in README.


Need support to develop more Tiebreaks ?

Hello @marceljuenemann !
I am a Chess referee and therefore (very) interested in what you do here.
I have side-project to develop a UX-centric and efficient pairing engine using TypeScript (mostly)
Do you need help and contributions to go further on more tiebreaks, like for example:

Nb victories
Truncated buchholz (which seems to be logic continuation here)
Performance
before you go onto deeper project like sonneborn things ?

Thanks again !

Hey @nicolasey!
Thanks for reaching out and offering help! I'm curious how you came across this project, did you just find it on Google?
I already started working on Buchholz with Cut/Median and Sonneborn-Berger, but would certainly appreciate pull requests for other popular tiebreaks.
I doubt performance is a problem at all, but would be interseted in running a benchmark with a 1000 player tournament to measure. If it takes more than a few miliseconds, could probably just add a cache in the adjustedScore method to not keep recalcuating that.
You should reach out to @grosem as well, I'm sure he'd be very interested in your pairing engine as he's currently building a new tournament management system and there might be more room for collaboration.
Marcel

@nicolasey - we will reach out to you 😎

I answered. As you may have noticed, I am not mature about how things should be dealt with in terms of licence, and maybe model, but open for conversation ;)


chalice delete

I love the simplicity of the chalice CLI, but feel there is one more command to add to complete the feature set.  That is a chalice delete (or named something similar) command.
I'm requesting this because chalice deploy automatically creates the Lambda function, the API Gateway routes and the IAM policy (and perhaps other things).  It would be difficult for novice users and frustrating for advanced users to have to manually delete all those things themselves especially for failed experiments and hello word trials which the simplicity of the CLI encourages.

I agree.  Marking as feature request.  Thanks for the feedback.

Agreed, I personally feel this should be managed by a simple CloudFormation template, that way users have the ability to delete the stack from with the AWS UI too if they so desire, and it can be extended upon for future use however the end-user sees fit.
Kind of relates to #35

+1 This feature should be standard, a counterpart to serverless remove for the serverless framework.

I agree, this is something I'd like to add.  In the meantime, the proposal in https://github.com/awslabs/chalice/issues/183 would make this trivial, we'd just use cloudformation to delete the stack.

@jamesls in the meantime do you have a list of the resources that are created, so as to make it easier to delete them manually?


[SP + All Staff views] Last updated needed

To the right of the individual staff's name (which is currently the email address), a last updated notification is needed.
Juhan Sonin (as of 1 hour ago)
or
Juhan Sonin (as of 5 days ago)
or
Juhan Sonin (as of 1 months ago)
Text size and color of the "as of 5 days ago" should be the same as "Total" (in the weeks row).
In later revisions, that "as of 5 days ago" will be a link to an audit trail (like mediawiki's history page) and show every person who has edited the data, what they did, and when.

Just to clarify, the timestamp, is that the last login or the last time they entered/changed hours or the last time they updated anything.

Timestamp = last time they changed any data (from project name to hours to whatever).

This should probably be a field on the User model that's updated via callbacks from the appropriate models.

@fermion I was thinking we could use an Observer but then remembered we don't have access to the user that originated the change. How do we do this cleanly that isn't passing the current_user to every model method? Maybe some global application controller filter + queue? Heroku offers free IronMQ and a private beta of RabbitMQ.

I was thinking we'd use a technique similar to what paper_trail uses:
https://github.com/airblade/paper_trail
Rob
http://rescuedcode.com
On Tuesday, February 7, 2012 at 2:18 AM, Gianni Chiappetta wrote:

@fermion I was thinking we could use an Observer but then remembered we don't have access to the user that originated the change. How do we do this cleanly that isn't passing the current_user to every model method? Maybe some global application controller filter + queue? Heroku offers free IronMQ and a private beta of RabbitMQ.

Reply to this email directly or view it on GitHub:
https://github.com/rescuedcode/StaffPlan/issues/5#issuecomment-3843705

Sorry, got sent prematurely — they're able to give models a hook to the current_user.  Either we include it (I wanted to use it anyway for the auditing feature coming up) or write our own that does something similar.  AMIRITE?
Rob
http://rescuedcode.com
On Tuesday, February 7, 2012 at 2:18 AM, Gianni Chiappetta wrote:

@fermion I was thinking we could use an Observer but then remembered we don't have access to the user that originated the change. How do we do this cleanly that isn't passing the current_user to every model method? Maybe some global application controller filter + queue? Heroku offers free IronMQ and a private beta of RabbitMQ.

Reply to this email directly or view it on GitHub:
https://github.com/rescuedcode/StaffPlan/issues/5#issuecomment-3843705


how to support pipeline in async mio.

Hi @seanmonstar
I know that now async client supports connection pool, the flow like:

get connection
send request header (on_request)
send request body (on_request_writable)
receive response header (on_response)
receive response body (on_response_readable)
put the connection to pool for later reuse.

I try to support pipeline, so after step 3, I return Next::read_and_write(), and think the handle can call step 2 again directly, but failed.
Then I try to return Next::write(), after step 5, but to my surprised, the handle call step 3 directly.
After some tries, I think that now async hyper doesn't support pipeline, am I right?  Or later HTTP/2.0 can support it?

Btw, I find that client now doesn't support connection pool now, although there is a pool implementation in pool.rs, is it?

The Client doesn't yet pool keep-alive connections.
As for pipelining, I don't think I'll be trying to add support for it, because it's complicated, servers don't all support it well (hence most browsers don't use it), and HTTP 2 does it far better. I'd wait for HTTP 2 support.

Em, I am waiting the pool mechanism and HTTP2, :-)
Btw, what's the difference between Next::end() and Next::remove(), seem that they all terminate the transport now. So in the server, if I want to re-use the connection for next request after on_response_writable finished, return Next::end()?

end signifies that the current response is done. After any flushing, it
will check if the connection is allowed to be kept alive, and if so, the
state is reset to the beginning to be used with a new request. Keep alive
is working in the server implementation.
remove will stop all action on the socket, and remove it from the event
loop. It will then be passed to Handler::on_remove. The default
implementation of that method will just drop the socket, so that makes
remove equivalent to an abort for the connection. However, you could also
use it for taking control of the socket, such as after receiving Upgrade
headers to websocket, you could remove the socket and give it to a
websocket library.
On Thu, May 12, 2016, 7:06 PM siddontang<EMAIL_ADDRESS>wrote:

Em, I am waiting the pool mechanism and HTTP2, :-)
Btw, what's the difference between Next::end() and Next::remove(), seem
that they all terminate the transport now. So in the server, if I want to
re-use the connection for next request after on_response_writable finished,
return Next::end()?
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/hyperium/hyper/issues/789#issuecomment-218934425

Thank for your detailed explanation :-)


Custom alerts don't close properly

I have a custom alert that I use in a rails project and it doesn't close on click. Here are the relevant code bits.
  .flash {
    @include alert($bg:$success-color);

    .close {
      @include alert-close;
    }
  }

  .errors {
    @include alert($bg:$alert-color);

    .close {
      @include alert-close;
    }
  }

    <div class="flash <%= "#{name}" %>" data-alert>
      <% if msg.is_a?(String) %>
          <%= msg %>
      <% end %>
        ×

I hate to dig this up, but I just noticed this myself. Alerts are often injected dynamically via ajax events and should probably support this use case out of the box without forcing the user to reinitialize the foundation library.


THRIFT-5562: remove gradle wrapper and use installed gradle 6.9

remove gradle wrapper and use installed gradle 6.9

[ ] Did you create an Apache Jira ticket?  (not required for trivial changes)
[ ] If a ticket exists: Does your pull request title follow the pattern "THRIFT-NNNN: describe my issue"?
[ ] Did you squash your changes to a single commit?  (not required, but preferred)
[ ] Did you do your best to avoid breaking changes?  If one was needed, did you label the Jira ticket with "Breaking-Change"?
[ ] If your change does not involve any code, include [skip ci] anywhere in the commit message to free up build resources.

local config result:
thrift 0.17.0

Building C (GLib) Library .... : no
Building C++ Library ......... : yes
Building D Library ........... : no
Building Dart Library ........ : no
Building .NET Standard Library : no
Building Erlang Library ...... : no
Building Go Library .......... : no
Building Haxe Library ........ : no
Building Java Library ........ : yes
Building Lua Library ......... : no
Building NodeJS Library ...... : no
Building Perl Library ........ : no
Building PHP Library ......... : no
Building Python Library ...... : yes
Building Py3 Library ......... : yes
Building Ruby Library ........ : no
Building Rust Library ........ : no
Building Swift Library ....... : no

C++ Library:
   C++ compiler .............. : g++ -std=c++11
   Build TZlibTransport ...... : yes
   Build TNonblockingServer .. : yes
   Build TQTcpServer (Qt5) ... : no
   C++ compiler version ...... : g++ (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0

Java Library:
   Using gradle .............. : /usr/local/bin/gradle
   Using java ................ : java
   Using javac ............... : javac
   Using Gradle version ...... : Gradle 6.9.2
   Using java version ........ : openjdk version "<IP_ADDRESS>" 2022-02-08

Python Library:
   Using Python .............. : /usr/bin/python3
   Using Python version ...... : Python 3.8.10
   Using Python3 ............. : /usr/bin/python3
   Using Python3 version ..... : Python 3.8.10

If something is missing that you think should be present,
please skim the output of configure to find the missing
component.  Details are present in config.log.

Anything that needs to be updated here?
https://github.com/apache/thrift/blob/master/doc/ReleaseManagement.md
+1 otherwise


how did weed save the file meta data like filename?

The file name is already saved.

In my opinion it was saved with file-content, wasn't it?

If provided, the file name is also saved.


devise_token_auth: can't work with Rails subdomain.

Hi everyone, sorry if I'm doing something bad, but I can't work with devise_token_auth and subdomain.
I have this:
constraints subdomain: 'api' do
mount_devise_token_auth_for 'Account', at: 'user_auth'
(...)
end
And routes seems correctly:
new_account_session GET /user_auth/sign_in(.:format) devise_token_auth/sessions#new {:subdomain=>"api"}
The error is: Unpermitted parameter: subdomain x3 times on a simple curl request:
curl -i -H "Content-Type: application/json" -d '{ "email"<EMAIL_ADDRESS> "password": "***", "password_confirmation":"***" }' -X POST http://api.test.com:3000/user_auth/
Body Repsonse:
{"status":"error","data":{"id":null,"provider":"email","uid":"","email":"user@example.com","number":null,"user_id":null,"created_at":null,"updated_at":null},"errors":["Missing 'confirm_success_url' parameter."]}
Server Log:
Started POST "/user_auth/" for <IP_ADDRESS> at 2017-02-13 22:08:22 +0100
Processing by Overrides::RegistrationsController#create as */*
Parameters<EMAIL_ADDRESS>"password"=>"[FILTERED]", password_confirmation"=>"[FILTERED]", "subdomain"=>"api"}
Unpermitted parameter: subdomain
Unpermitted parameter: subdomain
Unpermitted parameter: subdomain
Completed 422 Unprocessable Entity in 134ms (Views: 0.2ms | ActiveRecord: 0.0ms)
I overridden the RegistrationController for method sign_in_params, to allow the .permit(:email, :password).
Without this overriding, I get a lot of errors on Unpermitted parameters again with subdomain.
If I remove the constraints subdomain: "api", I never get the error, but still there's 422: Unprocessable Entity for Processing by Overrides::RegistrationsController#create as */*
(VERY STRANGE as */* even if I put default: {format: 'json'} ), it returns also Unpermitted parameter: format. I don't know where I'm going wrong or how to solve.
Why doesn't work with subdomain?
Why is it unable to process entity?

Hello @marcosanfilippo,
Your problem comes from the error message "errors":["Missing 'confirm_success_url' parameter."].
You must send a confirm_success_url param with the data of your request so Devise Token Auth knows where to redirect users after successful email confirmation.
One other solution is to set a default_confirm_success_url in the initializer so you don't have to send the param with each request. You can have a look at the doc here:
https://github.com/lynndylanhurley/devise_token_auth#initializer-settings
The subdomain part is not the problem, I have Devise Token Auth setup on an api subdomain just like you and it works perfectly.
Hope it helps!

Thank you for your time. Unfortunately, this gem is heavy for my app. I switched back on Devise and use a custom session controller.


What are the basic system requirements for running the webUI locally?

There is no system requirements documentation on the project page. I would appreciate the details.

It works on most machines.
However, if you have a cuda-equipped graphics board, you can make inferences faster
The rest depends on basic performance


Phone authentication sms message is different with template

In the firebase console the template for sms message is: %LOGIN_CODE% is your verification code for %APP_NAME%.
But when i test it with Indonesian phone number, the message was only this "Enter:(code)". Is this because the app is still in development or  was this the template for Indonesian number?

@iqbalza this doesn't sound like it's an issue with FirebaseUI.  For help debugging this SMS message please reach out to Firebase support:
https://firebase.google.com/support


Pigeon logs EVM related error: valset_id that was returned is zero

What is happening?

Section description
Provide as much context as you can. Give as much context as you can to make it easier for the developers to figure what is happening.

Sep 30 09:10:50 vmi664253.contaboserver.net pigeon[347867]: time="2022-09-30T09:10:50+02:00" level=info msg="relaying messages" messages-to-relay="[3055]" queue-name=EVM/bnb-main/evm-turnstone-message
Sep 30 09:10:50 vmi664253.contaboserver.net pigeon[347867]: time="2022-09-30T09:10:50+02:00" level=error msg="error filtering logs" error="exceed maximum block range: 50000"
Sep 30 09:10:50 vmi664253.contaboserver.net pigeon[347867]: time="2022-09-30T09:10:50+02:00" level=error msg="processing error" chain-reference-id=bnb-main error="original error: there are 2 errors in the group:\nerror  1: EVM related error: valset_id that was returned is zero\nerror  2: exceed maximum block range: 50000\n\nenriched fields:\nmessage id[uint64] = 0xbef\nmessage type[*types.Message_UpdateValset] = &types.Message_UpdateValset{UpdateValset:(*types.UpdateValset)(0xc00016aa08)}\n" message-type="*types.Message_UpdateValset" msg-id=3055 queue-name=EVM/bnb-main/evm-turnstone-message
Sep 30 09:10:50 vmi664253.contaboserver.net pigeon[347867]: time="2022-09-30T09:10:50+02:00" level=error msg="error relaying messages" err="there are 1 errors in the group:\nerror  1: original error: there are 2 errors in the group:\nerror  1: EVM related error: valset_id that was returned is zero\nerror  2: exceed maximum block range: 50000\n\nenriched fields:\nmessage id[uint64] = 0xbef\nmessage type[*types.Message_UpdateValset] = &types.Message_UpdateValset{UpdateValset:(*types.UpdateValset)(0xc00016aa08)}\n\n" messages-to-relay="[3055]" queue-name=EVM/bnb-main/evm-turnstone-message
Sep 30 09:10:50 vmi664253.contaboserver.net pigeon[347867]: time="2022-09-30T09:10:50+02:00" level=error msg="error returned in process loop" err="there are 1 errors in the group:\nerror  1: original error: there are 2 errors in the group:\nerror  1: EVM related error: valset_id that was returned is zero\nerror  2: exceed maximum block range: 50000\n\nenriched fields:\nmessage id[uint64] = 0xbef\nmessage type[*types.Message_UpdateValset] = &types.Message_UpdateValset{UpdateValset:(*types.UpdateValset)(0xc00016aa08)}\n\n"
Sep 30 09:11:43 vmi664253.contaboserver.net pigeon[347867]: time="2022-09-30T09:11:43+02:00" level=info msg="relayer loop"
Sep 30 09:11:46 vmi664253.contaboserver.net pigeon[347867]: time="2022-09-30T09:11:46+02:00" level=info msg="messages to sign" message-ids="[3056]" queue-name=EVM/eth-main/evm-turnstone-message
Sep 30 09:11:46 vmi664253.contaboserver.net pigeon[347867]: time="2022-09-30T09:11:46+02:00" level=info msg="signed a message" message-id=3056
Sep 30 09:11:46 vmi664253.contaboserver.net pigeon[347867]: time="2022-09-30T09:11:46+02:00" level=info msg="signed messages" message-ids="[3056]" queue-name=EVM/eth-main/evm-turnstone-message signed-messages="[map[id:3056]]"

Paloma and pigeon versions and logs

Section description
Write down paloma version.
Write down pigeon version.

Section description
Please write detailed steps of what you were doing for this bug to appear.

Running pigeon
What is the expected behaviour?

Section description
If you know, please write down what is the expected behaviour. If you don't know, that's ok. We can have a discussion in comments.

Pigeon should not get valset_id returned as zero.

Fixed with https://github.com/palomachain/pigeon/pull/69. valset_id is zero error is simply a byproduct of a different error. I am making a new release for this.


Sunmi Inner Printer Printing Order collapsed

Hi Genius,
Sometimes printing order is collapsed. For example,
i have 4 lines like line1,2,3,4 and click print, the output was line 3,2,4,1 and sometimes line1,4,2,3.
So how to print order-wise(like line-by-line) execution.
My code is below,
sunmiInnerPrinter.printString("Receipt No: " + receiptNo + "\n" + "Date : " + receiptDate);
sunmiInnerPrinter.printTextWithFont('\n\t Kopuram Chits Pvt.Ltd ', 'Segoe UI Black', 32);
sunmiInnerPrinter.printString("\n\t" + address + "\n");
sunmiInnerPrinter.printTextWithFont('\nName : ' + subscriberName, 'Arial Black', 30);
Please give me a any suggestion to printer order-wise

@saravanacs

SUNMI V1/V2 is limited to 32 characters per line
You just need to create a series of text separated by LF and use printString to print all the text in one printing to avoid the order.
An alternative is to cascade your printing code


Introduce build constants

Adds a set of build constants that can be used to isolate code changes specific to the IDEA SDK version used to build the plugin.  In other words, we can use code like: if (IS_IDEA_14_COMPATIBLE) { ...do IDEA 14 stuff... } to isolate version differences.
The major portion of the changes are in the ant build files which parse the build.txt file and copy the data into the appropriate spot in the template file, creating the source file gen/.../build/IdeaSDKIdentifier.java that is used during compilation.
@as3boyan @sganapavarapu1 @yanhick - I would appreciate the review.  I know it's a bit complex.  Sorry about that, but it didn't really make sense to stage these changes in smaller chunks.

 In other words, we can use code like: if (IS_IDEA_14_COMPATIBLE) { ...do IDEA 14 stuff... } to isolate version differences.
I think we can't do this for HaxeCopyPastePostProcessor, because it implements/extends different classes, right?

Looks good to me, this seems like a useful addition to handle simple incompatibilities

I think we can't do this for HaxeCopyPastePostProcessor, because it implements/extends different classes, right?

Yes and no.  You are correct that we can't use this to change issues outside of a function (i.e. implements/extends, additional overrides, or eliminating imports).  However, for the implements/extends case, I think we can use a factory pattern to create a correct object using anonymous classes defined inside of the factory create method.  I have an idea of how to make that work, but I haven't tested it yet.  It'll have to wait until I get some more time to test it.


Use storage delegate and nocSigner in chip-tool-darwin.

Problem
chip-tool-darwin cannot be signed in GitHub workflow. This will allow for chip-tool-darwin to be used without signing.
Change overview

Add a storage delegate to chip-tool-darwin.
Creates NOC signer if there isn't already one.

Testing

Commissioned device and ran commands.

/rebase


Date Utils

Is your feature request related to a problem? Please describe.
It would be great to have a inbuilt date manipulating functions like momentjs or luxon
Describe the solution you'd like
const { date } = require('pactum');

date.now();
date.now().add({ days: 2});
date.now().minus({ hours: 2}).format('dd MM yyyy');

In javascript world, I think dayjs (website) is better, and the size of this library is 2kb after zipping.
As the momentjs, it doesn't upgrade for long time, and it suggest  users to use dayjs as a replacement.
However, as for me, if I need to format some Date structure, I just do import dayjs from 'dayjs'.
So, In my opinion, maybe there is no need to implement patcum with some Date library


Broken link to zklogin circuit repo

The link on the zklogin docs points to a non existent repo. Haven't been able to find the repo on mystenlabs or sui foundation

Hi, we launched the new docs website and the ZkLogin docs are up at this link: https://docs.sui.io/concepts/cryptography/zklogin
@alilloig  @mangoplane hopefully, that's what you were looking for, but if not, please feel free to leave an update here.

the circuit is currently not open sourced. anyone can verify the proof correctness locally.

Why not open source the circuit code?
Sui Bounty page https://hackenproof.com/sui/sui-protocol list zklogin circuit repo https://github.com/sui-foundation/zklogin-circuit
How can I audit the circuit without the source code?

thanks for pointing it out. it's removed from the bug bounty site.


DelegableAuthInfoService is missing in the latest codebase - master

I am creating a Play application that leverages play-Silhouette (latest based on play 2.4). I am using the current play-silhouette-seed as the base and I dont find DelegableAuthInfoService and AuthInfoService in play-silhouette. In addition save method has been pulled out of AuthInfoDAO
I see all these were part of 2.0-RC2 but have been removed in the latest codebase. Any particular reason? Is this not required anymore?
Could you please help me understand what functionality these classes were bringing us ? What would we miss if our controllers don't use the AuthInfoService as part of their chain?
On another note, have these been refactored to AuthInfoRepository and DelegableAuthInfoRepository?  Could you please help me understand this?

Please see #326 and #334. The classes were renamed for the next 3.0 release and the seed template is currently out of date. I'll start today to update the seed template to the latest Play RC version.


[WIP] - Added additional condition for when done callbacks are invoked

I'm going to fill in some more details once I've correctly determine the root cause of the issue I've observed.

Finally got master green again, this should be passing with a rebase...


Single gradscaler

The generator and discriminator do not need to be using separate GradScalers. The gradients are cleared after the generator and discriminator steps, meaning there is no reason to separate them.

Good PR :+1:


gojq: 0.12.16 -> 0.12.17

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/itchyny/gojq/releases.
meta.description for gojq is: Pure Go implementation of jq
meta.homepage for gojq is: https://github.com/itchyny/gojq
meta.changelog for gojq is: https://github.com/itchyny/gojq/blob/v0.12.17/CHANGELOG.md
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.12.17 with grep in /nix/store/4w4gkh2i87whaflkw9c3vyri04bc4y3h-gojq-0.12.17
found 0.12.17 in filename of file in /nix/store/4w4gkh2i87whaflkw9c3vyri04bc4y3h-gojq-0.12.17

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

gojq

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/4w4gkh2i87whaflkw9c3vyri04bc4y3h-gojq-0.12.17 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A gojq https://github.com/r-ryantm/nixpkgs/archive/d022749e4d8a230454ee1fc394d58ac16f3e617c.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/d022749e4d8a230454ee1fc394d58ac16f3e617c#gojq

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/4w4gkh2i87whaflkw9c3vyri04bc4y3h-gojq-0.12.17
ls -la /nix/store/4w4gkh2i87whaflkw9c3vyri04bc4y3h-gojq-0.12.17/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review

x86_64-linux

:white_check_mark: 1 package built:

gojq

Maintainer pings
cc @aaronjheng for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.

@NixOS/nixpkgs-merge-bot merge


coco config num_classes

Hi. I was wondering what is the reason that the coco config 'num_classes' is 201 (in config.py), while coco has only 80 classes (in COCO_CLASSES, in coco.py)?
Thanks.

Hi. I was wondering what is the reason that the coco config 'num_classes' is 201 (in config.py), while coco has only 80 classes (in COCO_CLASSES, in coco.py)? Thanks.

I also noticed that the number of categories is 201, and I am still learning the code. Can I train and test the model accurately by training the coco data set? If you can reply, I would be very grateful.


Catch syntax errors in imported actions

Checklist

[x] I've run bundle exec rspec from the root directory to see all new and existing tests pass
[x] I've followed the fastlane code style and run bundle exec rubocop -a to ensure the code style is valid
[x] I've read the Contribution Guidelines
[x] I've updated the documentation if necessary.

Motivation and Context

Problem
I tried to use import_from_git action, since we were having the exact same use-case, but were always doing it manually. While doing it, I had some ruby syntax errors inside my imported actions and the only thing I got was a generic:
/Users/aculeva/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.101.1/fastlane/lib/fastlane/fast_file.rb:59:in `rescue in block in parse': [!] undefined method `[]' for nil:NilClass (NoMethodError)

This is because fastlane knows an error occured, and it assumes it occured in the main FastFile, so it tries to pretty output the error by stripping FastFile from it. Because the error actually occured in the other file, it throws an exception.
Solution
I thought it would be nice to catch all syntax errors inside imported actions, and at least print them to the user. Now the output looks like this:
➜  git:(develop) ✗ fastlane alpha submit:false
[✔] 🚀
[19:26:47]: Get started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile
[19:26:48]: -----------------------------
[19:26:48]: --- Step: import_from_git ---
[19:26:48]: -----------------------------
[19:26:48]: Cloning remote git repo...
[19:26:48]: $ GIT_TERMINAL_PROMPT=0 git clone 'git@github.com:repo/name.git' '/var/folders/bs/464b8xxj2pzg534wczlh41rh0000gp/T/fl_clone20180816-63544-1rzsaze/name.git' --depth 1 -n --branch import-from-git
[19:26:48]: ▸ Cloning into '/var/folders/bs/464b8xxj2pzg534wczlh41rh0000gp/T/fl_clone20180816-63544-1rzsaze/name.git'...
[19:26:57]: $ cd '/var/folders/bs/464b8xxj2pzg534wczlh41rh0000gp/T/fl_clone20180816-63544-1rzsaze/name.git' && git checkout import-from-git 'fastlane/Fastfile'
[19:26:57]: $ cd '/var/folders/bs/464b8xxj2pzg534wczlh41rh0000gp/T/fl_clone20180816-63544-1rzsaze/name.git' && git checkout import-from-git 'fastlane/actions'
[19:26:57]:     64:	                                       type: String,
[19:26:57]:     65:	                                       default_value: 'Sandbox Tester'
[19:26:57]:  => 66:	                                       optional: true),
[19:26:57]:     67:	          FastlaneCore::ConfigItem.new(key: :last_name,
[19:26:57]:     68:	                                       description: 'Last name of the sandbbox tester.',
[19:26:57]:     69:	                                       type: String,
[19:26:57]:     70:	                                       default_value: 'Dev',
[19:26:57]:  => 71:	                                       optional: true),
[19:26:57]:     72:	          FastlaneCore::ConfigItem.new(key: :country,
[19:26:57]:     73:	                                       description: 'Country of the sandbox tester in short format.',
[19:26:57]:     75:	                                       dfault_value: 'US',
[19:26:57]:     76:	                                       optional: true)
[19:26:57]:  => 77:	        ]
[19:26:57]:     78:	      end
[19:26:57]:     79:
[19:26:57]:     87:	    end
[19:26:57]:     88:	  end
[19:26:57]:  => 89:	end

[!] Syntax error in create_sandbox_tester.rb

Description

I added the require file inside a try block and handle all SyntaxError exceptions that ruby might throw, then for each line I decided to show a UI.content_error at that line. I also thought about showing the explicit error to the user, that's the last part of the regex (it should be removed if we decide to go like this). At the end we throw a UI.user_error! so that the execution stops and the user knows which file failed.

@S2dentik This is super cool 😊 I will give this a test today!


🤖 Consolidate install steps for all github actions

This is trying out a "composite action" so install steps are not duplicated across ci / release actions.

I am consistently seeing timeout failures on the execute tests. Can we add a larger timeout flag, not sure if that is what is happening:
https://github.com/executablebooks/mystjs/blob/main/packages/myst-execute/tests/run.spec.ts#L101

Hmm, yeah, successful tests take right about the same amount of time as the timeout:

I'll try bumping the timeout, but I wonder if there's something we can do to speed up the jupyter loading (launch the server outside of running the tests or something...?).


HBASE-22956 Add hbase-operator-tools 1.0.0 to downloads

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

:blue_heart:
reexec
0m 32s
Docker mode activated.

_ Other Tests _

:green_heart:
asflicense
0m 18s
The patch does not generate ASF License warnings.

53m 55s

Subsystem
Report/Notes

Docker
Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-658/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/658

Optional Tests
dupname asflicense mvnsite xml

uname
Linux 8ab4600dbd9d 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-658/out/precommit/personality/provided.sh

git revision
master / 56489819bc

Max. process+thread count
83 (vs. ulimit of 10000)

modules
C: . U: .

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-658/1/console

versions
git=2.11.0 maven=2018-06-17T18:33:14Z)

Powered by
Apache Yetus 0.11.0 https://yetus.apache.org

This message was automatically generated.


getResultSet not implemented

Describe the bug
I'm trying to send some data from a couple of tables in my Clickhouse database to big query by using Airbyte but I'm having this error:
java.sql.SQLFeatureNotSupportedException: getResultSet not implemented

that is shown because indeed clickhouse-jdbc didn't implement the function getResultSet in ClickHouseArray.java.
Error log
INFO i.a.w.g.ReplicationWorkerHelper(getReplicationOutput):313 - failures: [ {
  "failureOrigin" : "source",
  "failureType" : "system_error",
  "internalMessage" : "java.lang.RuntimeException: java.lang.RuntimeException: java.sql.SQLFeatureNotSupportedException: getResultSet not implemented",
  "externalMessage" : "Something went wrong in the connector. See the logs for more details.",
  "metadata" : {
    "attemptNumber" : 2,
    "jobId" : 5708,
    "from_trace_message" : true,
    "connector_command" : "read"
  },

Configuration
Environment

Client version: <IP_ADDRESS>
Language version: 11.0.19
OS: Debian GNU/Linux 11 (bullseye)

Is there a plan for implementing it?

Hi @brendavarguez, thanks for reporting the issue. Will come up with a PR to fix this in weekend.
Meanwhile, if you have control of the code, it's better to use ResultSet.getObject() to retrieve the value. Alternatively, you may play with the typeMappings option to see if you can find a different workaround.

@zhicwu what is the status of this PR?


types: make image source required to be defined

Summary
I believe having an Image component without source property strictly defined makes no sense.
Let's ask, "What should be rendered when we have  without any props?"
From a code perspective, I have no idea what should be the result.
From DX I feel it is an improvement because it will automatically remind the name of this major prop.

Changelog

[General] [Changed] - Force source to be strictly defined on Image component
Test Plan

I have prepared a small Flow playground to show the difference and allow you to play with it.
Playground
https://github.com/DefinitelyTyped/DefinitelyTyped/pull/62065

Thank you for the PR, @MateWW. But, unfortunately, I don't think we can merge this.

@RSNara Hey, sorry for late response. I see this src property but how you know it can be string? From flow perspective it seems that it will be mention that property exists but will not allow you to pass anything there as it's empty type.


Rewrite logging logic to wait for sentinel marker

For nodejs action containers which are managed, use the generated sentinel marker to determine that the logs for the activation have fully flushed.  Heretofore, we were using it for post mortem debugging but we have cases showing that indeed the logs are not always flushed quickly by docker.
PPG 361 passed.

what happens if the user subverts the container, and (for example) squashes the printing of the sentinel?

there's a cap on how long to wait, and when the budget expires, will just accept what's there.

yes - and the cap is currently 1 second

Merged as 55573c1.


Restore backwards compatibility 1.1.x

It's built on top of #31 , only new commit is 2d224ed and adds:

MaintenanceNotification class to use as adapter between old code and new features.
init_parser method refactored to use the adapter class.
get_provider_data_type narrowed function to only return one data type.

Have you tested this with the latest available release of nautobot-circuit-maintenance plugin to ensure that the backward-compatibility changes work as intended?

Yes, I did nautobot_1  |   Nautobot initialized!


Cursor

closes #15

Codecov Report

Merging #16 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##             master    #16   +/-   ##
=======================================
  Coverage       100%   100%
- Complexity      209    217    +8
=======================================
  Files            12     13    +1
  Lines           500    517   +17
=======================================
+ Hits            500    517   +17

Impacted Files
Coverage Δ
Complexity Δ

src/Output/Color.php
100% <100%> (ø)
25 <21> (ø)
:arrow_down:

src/Application.php
100% <100%> (ø)
20 <4> (ø)
:arrow_down:

src/Output/Writer.php
100% <100%> (ø)
16 <2> (-3)
:arrow_down:

src/Output/Cursor.php
100% <100%> (ø)
11 <11> (?)

src/Helper/InflectsString.php
100% <100%> (ø)
1 <1> (ø)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d49594e...78dd0af. Read the comment docs.


CI failures for bytecode and Windows

Since yesterday we are starting to see consistent failures on two CI-targets: bytecode and Windows.
The Linux bytecode target consistently fails with:
#=== ERROR while compiling containers.3.10 ====================================#
# context     2.1.3 | linux/x86_64 | ocaml-option-bytecode-only.1 ocaml-variants.5.0.0+trunk | git+https://github.com/ocaml/opam-repository.git
# path        ~/work/multicoretests/multicoretests/_opam/.opam-switch/build/containers.3.10
# command     ~/.opam/opam-init/hooks/sandbox.sh build dune build -p containers -j 2
# exit-code   1
# env-file    ~/.opam/log/containers-3637-cb1bd4.env
# output-file ~/.opam/log/containers-3637-cb1bd4.out
### output ###
# Shared cache miss [c0830004113cc6919489508ecfee90dc] (_build/default/.dune/configurator): error: Unix.Unix_error(Unix.EXDEV, "link", "_build/default/.dune/configurator")
# Shared cache miss [ecb59d02a14598bcafe820b94d578c58] (_build/default/.dune/configurator.v2): error: Unix.Unix_error(Unix.EXDEV, "link", "_build/default/.dune/configurator.v2")
# File "src/cbor/.merlin-conf/_unknown_", line 1, characters 0-0:
# Error: No rule found for src/core/cpp/cpp.exe

Example: https://github.com/ocaml-multicore/multicoretests/actions/runs/3642839521/jobs/6150409633
Whereas the Windows target consistently fails with:
#=== ERROR while compiling topkg.1.0.6 ========================================#
# context     2.0.10 | win32/x86_64 |  | git+https://github.com/fdopen/opam-repository-mingw.git#opam2
# path        D:/.opam/ci/.opam-switch/build/topkg.1.0.6
# command     D:\.opam\ci\bin\ocaml.exe pkg/pkg.ml build --pkg-name topkg --dev-pkg false
# exit-code   125
# env-file    D:/.opam/log/topkg-5940-ea5034.env
# output-file D:/.opam/log/topkg-5940-ea5034.out
### output ###
# Exception: Fl_package_base.No_such_package ("findlib", "").

Example: https://github.com/ocaml-multicore/multicoretests/actions/runs/3642839522/jobs/6150409575

Both have been fixed with #259 :tada:


Contributing to the framework

Hi,
I would like to add some feature to the framework.
The development is stuck , can you please explain how to do it?
Thanks

simply to say:
Step 1: fork this project
Step 2: make a feature branch
Step 3: coding
Step 4: commit & push to your own forked project
Step 5: do "New pull request"
detail information: see @Learn Git # Making a pull request

@windyson2008 , I know how to contribute, but I dont know how to contibute from my app.
Im using composer obviously, and the source code of laravel-admin is under vendor folder.
How can I aim that this folder vendor/laravel-admin will be from my forked repo.
Thanks

Google


Fixed Linux URL

The URL path pattern has changed for Linux

Thanks for this! I didn't realise the format had changed and my IE VMs are starting to expire, so need re-downloading. Good timing :)
I'm somewhat nervous of the various rm -f's in the changes though. I'll have a go at neatening them later today and see what you think.

Have a look at the new-zip-format branch. I think this works, and avoids having to make more temporary files. A bit more testing, and will merge this into master.
I'm guessing this pull request including the VNC option was a mistake? Probably not something to enable by defualt for the world.

Including VNC by default was intentional mostly because I'm deploying this on CoreOS hosts on secured VPC segments - it would make sense to bind to <IP_ADDRESS> though. Good advice!


Uncaught TypeError Cannot read property 'url' of null

2/11/12 3:44:48.040 PM [0x0-0x9009].com.google.Chrome: [281:519:1323848680882:ERROR:CONSOLE(28)] "Uncaught TypeError: Cannot read property 'url' of null", source: chrome-extension://fdebcbmmihnbmkkadfbgapegofoagajd/devtools.html (28)
seems to have just happened as I updated to the latest version of autosave....

Does it happen on all pages? If not, could you send me a page that has an error?


Save as an image not working

Hi nice work you did. However, I found that save as an image is not working. It keeps on loading. I wonder if you have a solution for this. Thanks

Hello,
Thank you.
I am planning to refactor and improve this project. But now suddenly, I
don't have much time to do this.
As soon as possible to solve the problem.
Best Regards, Sabolch
abaij<EMAIL_ADDRESS>ezt írta (időpont: 2020. jún. 16., K,
7:54):

Hi nice work you did. However, I found that save as an image is not
working. It keeps on loading. I wonder if you have a solution for this.
Thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/VarghaSabee/t-shirt_designer/issues/3, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIV26YVLECFHGNSTBG6VXKTRW4CJRANCNFSM4N7I4YQA
.

on imgsavejpg click event there is save method in this method html2canvas method docuement.querySelector('#test'). just replace docuement.querySelector('#test') to docuement.querySelector('#shirtDiv')


fix linux handshake

https://circleci.com/gh/vapor/tls/169?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link

This is, by the way, not a bug in TLS. It's a bug in the usage of TLS, the unit tests in this case.


Issue while building the docker image

Hello,
Thanks for the repo. I am facing an error while building the docker:
Step 23/46 : RUN python3 -m pip install --no-cache-dir ${TF_PACKAGE}${TF_PACKAGE_VERSION:+==${TF_PACKAGE_VERSION}}
 ---> Running in ebae39a5f72c
Traceback (most recent call last):
  File "/usr/lib/python3.5/runpy.py", line 184, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.5/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/local/lib/python3.5/dist-packages/pip/__main__.py", line 21, in <module>
    from pip._internal.cli.main import main as _main
  File "/usr/local/lib/python3.5/dist-packages/pip/_internal/cli/main.py", line 60
    sys.stderr.write(f"ERROR: {exc}")
                                   ^
SyntaxError: invalid syntax

Could you please suggest a fix for this?
Thanks

I think the issue has to do with pip and python3.5. I'm away for the weekend but can submit a fix when I'm back. If you fix it, feel free to submit a PR

On Feb 13, 2021, at 12:18, Janpreet Singh<EMAIL_ADDRESS>wrote:

Hello,
Thanks for the repo. I am facing an error while building the docker:
Step 23/46 : RUN python3 -m pip install --no-cache-dir ${TF_PACKAGE}${TF_PACKAGE_VERSION:+==${TF_PACKAGE_VERSION}}
---> Running in ebae39a5f72c
Traceback (most recent call last):
File "/usr/lib/python3.5/runpy.py", line 184, in _run_module_as_main
"main", mod_spec)
File "/usr/lib/python3.5/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.5/dist-packages/pip/main.py", line 21, in
from pip._internal.cli.main import main as _main
File "/usr/local/lib/python3.5/dist-packages/pip/_internal/cli/main.py", line 60
sys.stderr.write(f"ERROR: {exc}")
^
SyntaxError: invalid syntax
Could you please suggest a fix for this?
Thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Was this ever resolved?  Am facing this same issue.

Also running into this issue at the moment

addressed by #11


Wrong metadata of tensorflow-cpu-aws in TensorFlow 2.16.1

Issue type
Build/Install
Have you reproduced the bug with TensorFlow Nightly?
No
TensorFlow version
2.16.1
OS platform and distribution
Linux x86_64
Python version
3.11
Current behavior?
The metadata of TensoFlow 2.16.1 (for Linux x86_64) has a dependency of tensorflow-cpu-aws:
Requires-Dist: tensorflow-cpu-aws ==2.16.1 ; platform_system == "Linux" and (platform_machine == "arm64" or platform_machine == "aarch64")

However, the latest version of tensorflow-cpu-aws is 2.15.0. This would cause trouble when resolving the dependencies with the package metadata.
If we can't ensure the release of tensorflow-cpu-aws is synchronized with tensorflow, can we relax the dependency requirement in the metadata?

Any updates? This issue makes it impossible to install tensorflow-cpu (any version) on Python  3.12 when using Poetry. Or is there a workaround?
For example, when using this pyproject.toml:
[tool.poetry]
name = "python-3-12-poetry-env"
version = "0.1.0"
description = ""
authors = [""]

[tool.poetry.dependencies]
python = ">=3.9,<3.13"
tensorflow-cpu = { version = "2.16.*" }

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

And then running poetry install the output is
Because no versions of tensorflow-cpu match >=2.16.dev0,<2.16.0rc0 || >2.16.0rc0,<2.16.1 || >2.16.1,<2.17.dev0
 and tensorflow-cpu (2.16.0rc0) depends on tensorflow-cpu-aws (2.16.0-rc0), tensorflow-cpu (==2.16.0.* || >2.16.1,<2.17.dev0) requires tensorflow-cpu-aws (2.16.0-rc0).
And because no versions of tensorflow-cpu-aws match 2.16.0-rc0
 and tensorflow-cpu (2.16.1) depends on tensorflow-cpu-aws (2.16.1), tensorflow-cpu (==2.16.*) requires tensorflow-cpu-aws (2.16.1).
So, because no versions of tensorflow-cpu-aws match 2.16.1
 and python-3-12-poetry-env depends on tensorflow-cpu (2.16.*), version solving failed.

This also affects other Python versions, not just 3.12. I'm on 3.10. How am I supposed to depend on this version of TensorFlow when using poetry?
This seems to be broken?!?

Installing tf-nightly-cpu version 2.17.0.dev20240412 with Poetry works, so this is fixed in master (intentionally?). If patch release 2.16.2 is going to be made, the fix of this issue should be included in it.
I tried to identify the fix, but could not understand the publish/build process.

Thanks for letting us know.
https://github.com/tensorflow/tensorflow/commit/a03c28b65b4491a1c657e5ef0a918913c5db42ec did not make it into r2.16 which is why it is fixed on Master but not in r2.16. https://github.com/tensorflow/tensorflow/pull/67772 should fix it for TF 2.16.2.
In the meantime, I'll take look at the Poetry installation to see if something can done for mitigation until then.

TL;DR: Poetry encounters dependency resolution issues with tensorflow-cpu due to a dependency on tensorflow-cpu-aws. Fixed wheels for TF 2.16.1 are available in a GCS bucket with instructions on how to use them. This is a temporary workaround until TF 2.16.2 is released.

I created a sample project using Poetry to investigate this issue. I found that Poetry successfully resolves dependencies when using tensorflow, but encounters issues with tensorflow-cpu.
Specifically, the following configuration works:
[tool.poetry.dependencies]
python = "^3.9"
tensorflow = "^2.16.1"

While this configuration does not:
[tool.poetry.dependencies]
python = "^3.9"
tensorflow_cpu = "^2.16.1"

As others have noted, the problem arises when resolving the dependency on tensorflow-cpu-aws:
Because no versions of tensorflow-cpu match >2.16.1,<3.0.0
 and tensorflow-cpu (2.16.1) depends on tensorflow-cpu-aws (2.16.1), tensorflow-cpu (>=2.16.1,<3.0.0) requires tensorflow-cpu-aws (2.16.1).
So, because no versions of tensorflow-cpu-aws match 2.16.1
 and test-project depends on tensorflow_cpu (^2.16.1), version solving failed.

Upon inspecting the metadata of both tensorflow and tensorflow-cpu wheel packages, I noticed they are nearly identical except for the package name. Interestingly, both contain the following requirement:
Requires-Dist: tensorflow-cpu-aws ==2.16.1 ; platform_system == "Linux" and (platform_machine == "arm64" or platform_machine == "aarch64")

It's unclear why depending on tensorflow works, while tensorflow-cpu triggers an error.  In any case, the dependency on tensorflow-cpu-aws in tensorflow_cpu-2.16.1.dist-info/METADATA seems to be the culprit.  Removing this requirement allows Poetry to successfully resolve the tensorflow-cpu dependency.
I've applied this fix to all tensorflow and tensorflow-cpu wheels for TF 2.16.1, available in gs://tensorflow-2-16-1-fixed-wheels-poetry (see end of this comment that lists all the wheels). To use them, modify your pyproject.toml as following:
tensorflow-cpu = {url="https://storage.googleapis.com/tensorflow-2-16-1-fixed-wheels-poetry/tensorflow_cpu/tensorflow_cpu-2.16.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" }

@randolf-scholz While I haven't tested it, it seems that this approach should also work with pdm, based on their documentation.
I hope this temporary solution helps until the release of TF 2.16.2 (expected in the next month or two). Please let me know if anyone encounter any further issues.

 tensorflow

$ gsutil ls gs://tensorflow-2-16-1-fixed-wheels-poetry/tensorflow/*.whl
gs://tensorflow-2-16-1-fixed-wheels-poetry/tensorflow/tensorflow-2.16.1-cp310-cp310-macosx_10_15_x86_64.whl
gs://tensorflow-2-16-1-fixed-wheels-poetry/tensorflow/tensorflow-2.16.1-cp310-cp310-macosx_12_0_arm64.whl
gs://tensorflow-2-16-1-fixed-wheels-poetry/tensorflow/tensorflow-2.16.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
gs://tensorflow-2-16-1-fixed-wheels-poetry/tensorflow/tensorflow-2.16.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
gs://tensorflow-2-16-1-fixed-wheels-poetry/tensorflow/tensorflow-2.16.1-cp310-cp310-win_amd64.whl
gs://tensorflow-2-16-1-fixed-wheels-poetry/tensorflow/tensorflow-2.16.1-cp311-cp311-macosx_10_15_x86_64.whl
gs://tensorflow-2-16-1-fixed-wheels-poetry/tensorflow/tensorflow-2.16.1-cp311-cp311-macosx_12_0_arm64.whl
gs://tensorflow-2-16-1-fixed-wheels-poetry/tensorflow/tensorflow-2.16.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
gs://tensorflow-2-16-1-fixed-wheels-poetry/tensorflow/tensorflow-2.16.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
gs://tensorflow-2-16-1-fixed-wheels-poetry/tensorflow/tensorflow-2.16.1-cp311-cp311-win_amd64.whl
gs://tensorflow-2-16-1-fixed-wheels-poetry/tensorflow/tensorflow-2.16.1-cp312-cp312-macosx_10_15_x86_64.whl
gs://tensorflow-2-16-1-fixed-wheels-poetry/tensorflow/tensorflow-2.16.1-cp312-cp312-macosx_12_0_arm64.whl
gs://tensorflow-2-16-1-fixed-wheels-poetry/tensorflow/tensorflow-2.16.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
gs://tensorflow-2-16-1-fixed-wheels-poetry/tensorflow/tensorflow-2.16.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
gs://tensorflow-2-16-1-fixed-wheels-poetry/tensorflow/tensorflow-2.16.1-cp312-cp312-win_amd64.whl
gs://tensorflow-2-16-1-fixed-wheels-poetry/tensorflow/tensorflow-2.16.1-cp39-cp39-macosx_10_15_x86_64.whl
gs://tensorflow-2-16-1-fixed-wheels-poetry/tensorflow/tensorflow-2.16.1-cp39-cp39-macosx_12_0_arm64.whl
gs://tensorflow-2-16-1-fixed-wheels-poetry/tensorflow/tensorflow-2.16.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
gs://tensorflow-2-16-1-fixed-wheels-poetry/tensorflow/tensorflow-2.16.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
gs://tensorflow-2-16-1-fixed-wheels-poetry/tensorflow/tensorflow-2.16.1-cp39-cp39-win_amd64.whl

 tensorflow-cpu

$ gsutil ls gs://tensorflow-2-16-1-fixed-wheels-poetry/tensorflow_cpu/*.whl
gs://tensorflow-2-16-1-fixed-wheels-poetry/tensorflow_cpu/tensorflow_cpu-2.16.1-cp310-cp310-macosx_10_15_x86_64.whl
gs://tensorflow-2-16-1-fixed-wheels-poetry/tensorflow_cpu/tensorflow_cpu-2.16.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
gs://tensorflow-2-16-1-fixed-wheels-poetry/tensorflow_cpu/tensorflow_cpu-2.16.1-cp310-cp310-win_amd64.whl
gs://tensorflow-2-16-1-fixed-wheels-poetry/tensorflow_cpu/tensorflow_cpu-2.16.1-cp311-cp311-macosx_10_15_x86_64.whl
gs://tensorflow-2-16-1-fixed-wheels-poetry/tensorflow_cpu/tensorflow_cpu-2.16.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
gs://tensorflow-2-16-1-fixed-wheels-poetry/tensorflow_cpu/tensorflow_cpu-2.16.1-cp311-cp311-win_amd64.whl
gs://tensorflow-2-16-1-fixed-wheels-poetry/tensorflow_cpu/tensorflow_cpu-2.16.1-cp312-cp312-macosx_10_15_x86_64.whl
gs://tensorflow-2-16-1-fixed-wheels-poetry/tensorflow_cpu/tensorflow_cpu-2.16.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
gs://tensorflow-2-16-1-fixed-wheels-poetry/tensorflow_cpu/tensorflow_cpu-2.16.1-cp312-cp312-win_amd64.whl
gs://tensorflow-2-16-1-fixed-wheels-poetry/tensorflow_cpu/tensorflow_cpu-2.16.1-cp39-cp39-macosx_10_15_x86_64.whl
gs://tensorflow-2-16-1-fixed-wheels-poetry/tensorflow_cpu/tensorflow_cpu-2.16.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
gs://tensorflow-2-16-1-fixed-wheels-poetry/tensorflow_cpu/tensorflow_cpu-2.16.1-cp39-cp39-win_amd64.whl

@nitins17, thanks for addressing this. Unfortunately, this would not work for us as we are not using poetry and the patched wheel file is for 3.11 only. Just wondering when can we expect the release of 2.16.2? This is blocking us from supporting Python 3.12 as we can't use 2.16.* in our dependencies.

@tachikoma-li Patched versions of all supported wheels should be present in gs://tensorflow-2-16-1-fixed-wheels-poetry.  Sorry if it wasn't clear in my earlier post. In order to download a specific wheel, just replace <wheel_name> in the following urls:

tensorflow: https://storage.googleapis.com/tensorflow-2-16-1-fixed-wheels-poetry/tensorflow/<wheel_name>
tensorflow-cpu: https://storage.googleapis.com/tensorflow-2-16-1-fixed-wheels-poetry/tensorflow_cpu/<wheel_name>

E.g: If you want to install the patched Python 3.12 wheel of TF 2.16 for Linux x86 then run the following:
wget https://storage.googleapis.com/tensorflow-2-16-1-fixed-wheels-poetry/tensorflow/tensorflow-2.16.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
pip install --no-cache-dir tensorflow-2.16.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Sadly, I know this isn't the cleanest of solutions but hope it helps until TF 2.16.2 comes out.

Just wondering when can we expect the release of 2.16.2?

Branch cut was done this week. I'm guessing here but I think rc0 should come out in the next week or so and then 3-4 weeks more for the final release provided everything goes smoothly.

TF 2.16.2 has been released!
Closing this now as it should be fixed in 2.16.2. Please feel free to reopen if anyone is still running into this issue after upgrading to TF 2.16.2

I have the same problem with tensorflow-macos

@miljkovicm15 For Apple Silicon wheels, please switch your workflow to install tensorflow  directly via https://pypi.org/project/tensorflow.


Support a way to disable formatting based style rules

Is your feature request related to a problem? Please describe.
Hello there, with prettier-ruby, rubyfmt and rufo all starting to gain traction - I'd like to be able to easily tell RuboCop "please let another tool handle the formatting of my code"
This is a common pattern in JavaScript projects where code linters have plugins which exist to make the tools not step on each others feet:

https://github.com/prettier/tslint-config-prettier
https://github.com/prettier/eslint-plugin-prettier

Describe the solution you'd like
The simplest idea I had was that in the RuboCop config you could disable formatting in a similar way to how you can turn on rails support:
formatting: false

A more complex approach might be to knowingly delegate to specific formatters:
formatting: "prettier"

But I'm not really sure if there's enough value there to pulls its weight in the additional complexity.
Describe alternatives you've considered
These tools could ship there own RuboCop config ymls which users inherit from - the downside to this is that it ties any update to your formatter to your linter also (As new/renamed rules will then break until there's a new release of your linter)
There could also be a separate gem whose job it is to coordinate the two versions (like the plugins above) it's work, but it's a reasonable answer.
Is it worth having something like this is RuboCop instead though?

Is it possible to disable groups of cops, as in Style/*?

I regularly use
Metrics:
  Enabled: false

I would assume the same would work for Style.


Adding update acsp details base url to authentication middleware

It is required that the user must be signed in before they can access the Update ACSP Details service.
It was noted upon testing, that when navigating to the base url of the update service and the user had not signed in, the user is presented with the sign in screens for one login.
Upon logging in, the user was then re-directed to the 'What is the business type you are registering?' screen within the registration service, rather than the Update ACSP Details start page.
Updated authentication middleware to correctly route the user to the 'Update ACSP Details' service after signing in, when using the base URL of the new service.

CI: No security warnings found

Closing pull request due to conflicts and ticket sync issues


IDE Support

I've read the documentation and it seems only Visual Studio is supported. Are there any plans to support other IDEs, in my case Jetbrains Rider?
Thanks :-)
(Apologies if this isn't the correct place to ask questions.)

Thanks for the interest!
v3 is under development and part of our focus is on .NET 5, its cross-platform nature, and therefore naturally the ability to really use Fixie cross platform in the most common development environments (VS Code and Rider).
There is increasing hope that JetBrains has made this feasible. It would require a dedicated R#/Rider plug-in and all the dev and maintenance hours that implies, but their documentation makes it look like one can deal with the "impedence mismatch" between their existing test model and the model that Micrsoft's dotnet test uses behind the scenes. The plug-in apparently would focus on bridging that modeling gap. A colleague has expressed some interest in pursuing this, so I'd like to give that a little time before diving in myself.
I've updated the Roadmap to include this as it has been on my mind for the v3 time frame, which I hope arrives roughly around .NET 5. I'll close this Issue as a duplicate of the Roadmap item, but I welcome your input if there's anything further to discuss.


Oauth version of registration form

Can we think about having a modal dialog to present the options of either registering with Panoptes (which will link them to the standard oauth devise registration form) or the option of signing in with google? I think just immediately sending people to the devise registration form will be confusing to people why they're going off-site. For I2A we want to encourage folks to sign in with their Edu Google accounts (many universities here use Google Apps for Edu) because one of the feedback items we've received is that instructors and students really hate signing up for extra/new accounts. If we can bypass that one setup and directly provide the sign in with google link here, that might save us some headaches and complaints.

This idea makes a lot of sense, but I've never seen a non-Zooniverse login working in conjunction with a Zooniverse project. My thoughts at the moment:

Do we have an example of this in action? i.e. using Google to login to a Zoo project?
If not, who's best able to give an idea of a dev plan? Cam/Marten/Zach?
Would there be any issues with the EduAPI? (i.e. linking Classrooms/Assignments to non-Zoo IDs)

Yep, this would be the first project that uses a feature that Panoptes has always mostly supported.
Log in with google was fixed in zooniverse/Panoptes#1865, however, it works on production, but not staging at the moment (see zooniverse/Panoptes#2024). I don't think there will be any issue because the way it works as I understand it is that when you log in with your Google account, it asks your permission to use your Google login credentials. Then basically, a Panoptes account is setup using those credentials.
What I'm proposing here is mostly cosmetic. Just based on the feedback I've received, instructors may find the redirect to Panoptes' devise views (https://panoptes.zooniverse.org/users/sign_in) jarring and confusing, so it would be ideal if I can link directly to the Google sign-in via Panoptes' devise setup.

I'm pretty sure google has to redirect back to https://signin.zooniverse.org to complete the registration and I'm not sure we can support this in an iFrame (worth checking though).
Normal flow is this:

Click https://signin.zooniverse.org/users/sign_up (probably need to modify the redirect_uri for this domain)
Click Sign In with google (doesn't work with signin, only with panotpes.zooniverse.org)
Allow zooniverse to access google account
Redirect back to Zooniverse to complete registration process

AFAIK we don't provide a mechanism to redirect back to an external site once the signup is completed. Using an iFrame would enable this to be done in a modal but it's not a great experience, maybe we should provide a way to redirect back to the source domain after successful signup?

Ok, I think I'd like to explore an iframe option. I know it's not ideal, but just based on the feedback I have gotten, I'd like to avoid the confusion of going off site for sign in. Being able to redirect back to the source domain would also be a good option.

I decided against the iframe and have made a modal just for sign in that includes a sign in or register button that links to the normal devise views from Panoptes and a sign in with google button that links directly to the Panoptes sign in with google route. Before the sign in is called, I store where the user was last in localStorage and so when they are redirected back to the site by Panoptes, I'm checking for the presence of that localStorage property and redirecting back to where the user was last. This is helpful for the join classrooms page.


Not detecting Fans any more

Not sure what caused this.  I run this plugin on Oznu Homebridge in docker container on my Qnap nas.  Rebooted the NAS today; installed an update to Container Station (the docker) on the NAS a few days/week or so ago.
Running this version:
homebridge-haiku-senseme v3.4.0-beta.0
I've even set the UDP timeout to 600.
  Logs here (<IP_ADDRESS> is the IP of my NAS and I'm doing host networking for Homebridge; have also tested this with the IP of one of the fans.):
[3/19/2021, 12:10:06 AM] [HB Supervisor] Starting Homebridge with custom env: {"DEBUG":"haiku-senseme:*"}
2021-03-19T04:10:07.752Z haiku-senseme:observable woohoo! observables!
[3/19/2021, 12:10:07 AM] Loaded plugin<EMAIL_ADDRESS>[3/19/2021, 12:10:07 AM] Registering platform 'homebridge-haiku-senseme.haiku'
[3/19/2021, 12:10:08 AM] [Haiku by Big Ass Fans] Initializing haiku platform...
2021-03-19T04:10:08.852Z haiku-senseme:senseme Discovery request for IP: <IP_ADDRESS>
2021-03-19T04:10:18.852Z haiku-senseme:senseme Discovery request for IP: <IP_ADDRESS>
2021-03-19T04:10:28.855Z haiku-senseme:senseme Discovery request for IP: <IP_ADDRESS>
2021-03-19T04:10:38.855Z haiku-senseme:senseme Discovery request for IP: <IP_ADDRESS>
2021-03-19T04:10:48.855Z haiku-senseme:senseme Discovery request for IP: <IP_ADDRESS>
2021-03-19T04:10:58.855Z haiku-senseme:senseme Discovery request for IP: <IP_ADDRESS>
2021-03-19T04:11:08.855Z haiku-senseme:senseme Discovery request for IP: <IP_ADDRESS>
2021-03-19T04:11:18.928Z haiku-senseme:senseme Discovery request for IP: <IP_ADDRESS>
2021-03-19T04:11:28.928Z haiku-senseme:senseme Discovery request for IP: <IP_ADDRESS>
2021-03-19T04:11:38.928Z haiku-senseme:senseme Discovery request for IP: <IP_ADDRESS>
2021-03-19T04:11:48.734Z haiku-senseme:senseme Discovery cancelled
Any ideas?  Any chance you can add a config option where I can hard code my Fans' IPs instead of rely on detection?
I have a different plugin on a non-Homebrdige system (Indigo) and it still works fine; it also has the fans coded by IP.  Haiku app on my iPhone works too.
Thanks for the great plugin.

Thanks @Ramias1 I'll take a look, it has been a while so I might need to refresh some of the dependencies.


Allow setting of parent controller

It would be nice to have the option of setting the parent controller, similar to devise: https://github.com/plataformatec/devise/blob/0c1b1a896f549f92d76baf06fcece150420e94bf/lib/devise.rb#L222
In my use case I am extending your controller with my own in order to add some before action checks, and it would have been ideal to have had my own ApplicationController in the mix.

I don't want settings to depend on class loading/execution order - instead consider refactoring out the common code into a module and mix that into both your application controller and the sub classed healthcheck controller.


I want to use object_detection_3d_sneakers.tflite in ios app

I want to use object_detection_3d_sneakers.tflite in ios app can someone help me out on how to achieve this or perhaps give me a sample or demo project to begin with

were you able to do this ?

Hi @Zulqurnain24, Try this  and reach us, if you have any queries. Thanks!


Can't trigger Enlightenment (spoilers!)

Attempting Enlightenment, by casting a single spell from health, going from full to very low (<0.5 hearts?), after Blind Diversion.
Specifically, attempted casting WSZ with duration 2.49 and power 2, and then duration 2.5 and power 2.
Expected: duration 2.49 unlocks Enlightenment.
Result: duration 2.49 fails with "am I not skilled enough?"
duration 2.50 kills me, and also fails with "am I not skilled enough?"
edit: forge v0.10

You can't use a great spell to achieve enlightenment.


Searching for a named MS Edge window shows a OneNote icon

Microsoft PowerToys version
<IP_ADDRESS>
Running as admin

[ ] Yes

Area(s) with issue?
PowerToys Run
Steps to reproduce

Name a window in MS Edge
Search for the name using PowerToys Run
PowerToys Run finds it, but displays a black and white OneNote icon

✔ Expected Behavior
I expected PowerToys Run to show a Microsoft Edge (related) icon
❌ Actual Behavior
PowerToys Run displayed a black and white OneNote icon
Other Software
Microsoft Edge Version 104.0.1293.70 (Official build) (64-bit)
and
Microsoft Edge Version 106.0.1356.0 (Official build) dev (64-bit)

do all running processes show the onenote icon?  Weird that is grabbing the onenote plugin icon versus the window walker search icon.
/needinfo

It doesn't look like all processes do, but taking a second look it doesn't seem like it's limited to named windows (as I first thought).

Not able to repro this, going to close. Let us know if you see this again!


US-2157: Round USD conversions

As suggested by @TravellerOnTheRun, I decided to not only modify the existing formatTokenValues function, but split into 2 different functions (formatTokenValue and formatUsdValue) that each use a generic formatNumber function. This function expands the current implementation and now it should cover all different cases present in the application.
Below are a few screenshots showing the implementation in action. Please let me know if I missed anything.

@rodrigoncalves
I've looked through the code and I don't like what I see:
First of all, the RBTC fee values will always show as 0.00 as it was before, because the value is toFixed(2). I already added the function which formatTokenValues which already contains the logic for showing the values in a relatively nice-looking manner. How about you edit that? We can discuss how many digits we want after 0 but let's make a single source of truth for formatting values?

@rodrigoncalves I've looked through the code and I don't like what I see: First of all, the RBTC fee values will always show as 0.00 as it was before, because the value is toFixed(2). I already added the function which formatTokenValues which already contains the logic for showing the values in a relatively nice-looking manner. How about you edit that? We can discuss how many digits we want after 0 but let's make a single source of truth for formatting values?

Of course! That's why this PR is in draft, I'm still playing around with it. The formatTokenValues function seems to be a nice way to deal with token amounts due to different quantities of decimal places that we can have. However I didn't want to edit that function yet as all I need to do for a USD conversion is toFixed(2) and there you go. But I know for RBTC fee values cases (<$0.01), for example, it could be a problem.

I still see the NaN in Bitcoin transactions.
@jessgusclark, when you get a chance, could you, please take a look? Rodrigo says it works well for him but for me fails since I still see the NaN.


When changing toDate and fromDate, week and day row not rendering to the left or right respectively after commit  ab2b26c

I have left and right arrows, clicking on left arrow a function is called which reduces the period span(toDate and fromDate) by one month and clicking on right arrow period span(toDate and fromDate) increases by one month. Now when moving left side by clicking left arrow getting week and period row like this:-

This issue came after commit ab2b26c
The same is working fine with the build prior to this commit.

It's fixed in master


[RPM] man pages not linked properly for jre package temurin17

Hi, so the issue is reproducible by:
1)installing temurin-17-jre rpm package
2) calling "man java"
-the cause of this problem is the lack of "--slave" declaration for jre manpages in postinstall scriptlet of the rpm, thus missing links to the installed manpages (the scriptlets can be checked by calling "rpm -qp --scripts pkgname")
another problem is that manpages are missing in temurin-17-jre altogether
refer to the difference in jdk vs jre package in this matter or jre of different major version e.g.11

its also notable that manpages are not when they should be altogether.. the customary place to store them is in /usr/share/man/man1 and not in /usr/lib/jvm/temurin-$ver-$subpkg/man/man1 .. is there a particular reason for this difference to the common convention?
Thanks!

maybe @ascheman have some insights?

Worth exploring:
The JRE spec files don't have the alternative --slave entries like the JDK spec files do for the manpages. They probably should.
JDK: https://github.com/adoptium/installer/blob/master/linux/jdk/redhat/src/main/packaging/temurin/20/temurin-20-jdk.spec#L159
JRE: https://github.com/adoptium/installer/blob/master/linux/jre/redhat/src/main/packaging/temurin/20/temurin-20-jre.spec


Update notebook to reflect what's possible

@kerinin should we close this?

we can move over the example from beepGPT when it is ready


hope this project can have a login page

I'd like to use the UI control panel plugin，but there is no security verification so that I dare not open the UI page in the production environment.
Can you add a simple login page？even if only one admin's account. I think it will be very helpful to the development of the project

At present, in order to use in the production environment, I have deleted the add, delete, and modify related interfaces, and only opened the query interface. I also want to use the full function. The ui plugin is really convenient, but it needs a login function

At present, in order to use in the production environment, I have deleted the add, delete, and modify related interfaces, and only opened the query interface. I also want to use the full function. The ui plugin is really convenient, but it needs a login function

DJLServing have two connector:

inference - inference_address=http://<IP_ADDRESS>:8080, listening on localhost only, you need to make it public for production use
manage - management_address=http://<IP_ADDRESS>:8080, you can open this port to localhost only or only expose to internal network, and use ip filter to allow access only from certain IP address.

@frankfliu
it works ,thanks, but can't achieve the effect of out of the box use。
you said we can consider DJLServer as tomcat
https://github.com/deepjavalibrary/djl-serving/issues/293#issuecomment-1280330077
But tomcat management terminal has login page, so do you want to consider adding a login page.it really helpful !


How to integrate with Asp.net core MVC

Hi,
Thank for great template
How can I integrate with Asp.Net Core MVC project?

Here is the steps

Copy src folder in you wwwroot (SRC FOLDER)
Add this code in your layout page - CODE

Using this your initial design is ready then you will add component based on the requirement.


Saturation & Brightness/Value Gain using Oklab color space

Summary
Adds Saturation & Value Gain settings to the UI under Image Processing and adjusts the colors accordingly using Okhsv. As discussed on Discord this was done using a new OkhsvTransform class.
Fixes #822, #1092 and partially fixes #1142.
What kind of change does this PR introduce? (check at least one)

[ ] Bugfix
[x] Feature
[ ] Code style update
[ ] Refactor
[ ] Docs
[ ] Build-related changes
[ ] Other, please describe:

If changing the UI of web configuration, please provide the before/after screenshot:
Images
Does this PR introduce a breaking change? (check one)

[ ] Yes
[x] No

If yes, please describe the impact and migration path for existing setups:
The PR fulfills these requirements:

[x] When resolving a specific issue, it's referenced in the PR's body (e.g. Fixes: #xxx[,#xxx], where "xxx" is the issue number)

If adding a new feature, the PR's description includes:

[x] A convincing reason for adding this feature
[ ] Related documents have been updated (docs/docs/en)
[ ] Related tests have been updated

PLEASE DON'T FORGET TO ADD YOUR CHANGES TO CHANGELOG.MD

[x] Yes, CHANGELOG.md is also updated

To avoid wasting your time, it's best to open a feature request issue first and wait for approval before working on it.
Other information:

This pull request introduces 5 alerts when merging b874453 into 359618a - view on LGTM.com
new alerts:
* 4 for Multiplication result converted to larger type

* 1 for Declaration hides parameter

These are all in the Oklab reference implementation. Not sure how easy it is license wise to try to fix them.

I deeply hope that this PR is accepted. I built this and the saturation and brightness gain controls put Hyperion over the line for me.
Would the translation to OKLAB facilitate the implementation of ICC profiles for calibration? I find that my particular LEDs render blue midtones as a rich cyan in a way that cannot be corrected through Hyperion's calibration options without ruining the white balance.

I deeply hope that this PR is accepted. I compiled this and the saturation and brightness gain controls put Hyperion over the line for me.

I've been in contact with the maintainer (@Lord-Grey) and I'm optimistic that this will get merged at some point. We'll see how the code review goes...

Would the translation to OKLAB facilitate the implementation of ICC profiles for calibration? I find that my particular LEDs render blue midtones as a rich cyan in a way that cannot be corrected through Hyperion's calibration options without ruining the white balance.

We have also started to look into this issue. While I believe that it is theoretically possible to get a good color correction profile set using the current settings (color setpoints + gamma curves) we agree that it isn't very intuitive to do so.
I don't think that importing ICC files is the solution here as that would require users to use some external software to generate those files. Fine tuning would also be very annoying as one would have to import the newly adjusted ICC file every single testing iteration.
I'm sure that we can find a more user friendly way but that will be in a new PR. Whether or not Oklab will play a part in this is to be seen but the necessary facilities will be present when this PR is merged.

@xkns Sorry, for only coming back on this now.
a) As I am not too detailed in the Color transformation subject, maybe you could help me in understanding why the saturation and value gain are transformed before the RGB color transformations. By heart I would have expected that first Colors are mapped and then gains applied. Maybe I am missing some theory here....
b) What is the number range for saturation and value gain?
Having 0-100 with a stepping of 0.1 does not seem to be reasonable.
Or did you wanted to express a range of 0-100 percent?
(Some definitions in the JSONs are currently not ok, but I would like to update them depending on the outcome of the above)
c) Should the RGB+SatGain+ValGain an alternative way to the existing calibration rather then one on top?
Would a user be able to control 11+ values to achieve a good calibration?
d) What would be the guidance for a standard user going forward?
What are the elements that should be shown on the screen by default? (With input I will make it happen)
Via "expert" level all elements could be shown...
Sorry for those many questions, but I would like to get a better feels in which direction the target design should go.

Edit: As the reference implementation is licensed under MIT it appears that we can modify and redistribute it under any license as long as the copyright is kept. But I'm not a lawyer.

As this is MIT, we can modify the code. Good practice is to keep the original copyright, plus adding info on change
e.g.:
// Copyright(c) 2021 Björn Ottosson + Updates by xkns

a) As I am not too detailed in the Color transformation subject, maybe you could help me in understanding why the saturation and value gain are transformed before the RGB color transformations. By heart I would have expected that first Colors are mapped and then gains applied. Maybe I am missing some theory here....

The order of operations should be irrelevant for hue and saturation. If you were to first saturate a color and then map it or first map it and then saturate the mapped color shouldn't make a significant difference (some rounding errors might occur).
What does make a difference is when you are limiting the brightness through the existing mapper and were to then apply some brightness gain (>= 1.0). In that case you would exceed the maximum brightness as set by your mapping.
There are basically three options here:

Okhsv transform last: You would need to limit the max brightness again and by the same value as given for the other mapping.
Okhsv transform somewhere in the middle: The RgbTransform gets compiled into what is effectively a mapping matrix. This is very efficient as it can do all operations in one go. Splitting that matrix up into two in order to fit the Okhsv transform in the middle would lose some of that benefit.
Okhsv transform first: Let RgbTransform do its thing.

b) What is the number range for saturation and value gain? Having 0-100 with a stepping of 0.1 does not seem to be reasonable. Or did you wanted to express a range of 0-100 percent? (Some definitions in the JSONs are currently not ok, but I would like to update them depending on the outcome of the above)

1.0 is the neutral and (intended) default value for both settings. A brightness gain of 0.0 doesn't make too much sense to me as that would always result in total 0, 0, 0 blackness. Desaturation gain of 0.0 would completely desaturate leaving only grayscale colors. Values smaller than 0.0 have no valid result. On the opposite end gains of 255 and larger would probably always result in perfect white 255, 255, 255 although I haven't tested this extrema. 100 brightness gain is effectively the current brightness times 100. I wasn't sure exactly where to put the upper limit.
Should you want to use percent instead all values would simply have to be multiplied by 100 (including the upper limits).
Using other scales would also be possible but a simple multiplier is quite intuitive in my opinion.
Brightness gain for example could use the same input curve as gamma which would make them act identical given that all three gamma values are the same. You would however lose the ability to "overdrive" the brightness (which might not even be a bad thing).
I would be happy to implement something else instead if you have an idea.

c) Should the RGB+SatGain+ValGain an alternative way to the existing calibration rather then one on top? Would a user be able to control 11+ values to achieve a good calibration?

ValGain is redundant in this sense because you should theoretically be able achieve the same effect by setting all three gamma values just right. What it can't do however is account for different physical light output by various color channels on the hardware. This is important for getting mixed colors (including gray tones) right.
I'm not sure if I would count SatGain as a calibration measure or simply an aesthetic effect. It's not one of the "calibration settings" you would find in other pieces of software but you could argue that (especially in HDR situations) the LED color output might be lacking in saturation / looking washed out. In that sense it would calibrate something that the other existing settings cannot account for.

d) What would be the guidance for a standard user going forward? What are the elements that should be shown on the screen by default? (With input I will make it happen) Via "expert" level all elements could be shown...

This probably needs some additional discussion but I would say that saturation is something that a standard user has some intuition for. As it isn't really redundant there isn't really an alternative expert/non-expert setting to show instead.
Brightness gain on the other hand is mostly identical (the curves diverge more as you get farther away from the neutral value) to gamma settings if all gamma settings have the same value. So the gamma settings could be regarded as the expert brightness gain. This is especially the case if we were to change the input curve to match the gamma formula.

Sorry for those many questions, but I would like to get a better feels in which direction the target design should go.

Thanks for taking the time and sorry for messing up the JSON definitions.

@xkns Ready to merge from your perspective?

@xkns Ready to merge from your perspective?

Yes ready to merge