(Zero Delay Encoder) - Button mapping

I have now changed to this encoder https://www.electrokit.com/uploads/productfile/41017/SBC-ZDE-Datasheet.pdf, because it's the one the kids will have (I'll revert to the SJ@JX later). Could you point me to tha latest issue on this encoder, if there is anyone else who have tryed it? It would be really helpful. I have worked out the following so far:
Dragonrise inc generic USB joystick on event 4
Button 1 (K1) = TRIGGER
Button 2 (K2) = BTN THUMB = A
Button 3 (K3) = BTN THUMB2 = B
Button 4 (K4) = BTN TOP
Button 5 (L2) = BTN TOP 2
Button 6 (R2) = BTN PINKIE
Button 7 (L1) = BTN BASE
Button 8 (R1) = BTN BASE 2
Button 9 (SE) = BTN BASE 3
Button 10 (ST) = BTN BASE 4
Button 11 (K11) = BTN BASE 5
Button 12 (K12) = BTN BASE 6
I get A and B and the joystick to work, but the rest seem to work sometimes and sometimes not, and I randomly can't exit. It also seems like the B button (which acts like the B button in the game, also can select, hm...
Originally posted by @sofiania in https://github.com/Vegz78/McAirpos/issues/10#issuecomment-869524942

Deleted the last comment. It does seem to work with both retropie and makecode games now!!! It seems that many of my "unstable" problems occurs when I am to fast for the system... If I press Button 10 (ST) = BTN BASE 4 it does exit, but the screen goes black for a while first. Still some strange things, like button B seems to be select plus the B-button. And Button 10 - exit also opens the manue if I exit from Makecode (the list of makecode games)
This is my present configuration:
Button 2 (K2) = BTN THUMB = A
Button 3 (K3) = BTN THUMB2 = B (+ Select)
Button 9 (SE) = BTN BASE 3 = RETURN
Button 10 (ST) = BTN BASE 4 = EXIT
Originally posted by @sofiania in https://github.com/Vegz78/McAirpos/issues/11#issuecomment-869566873

Try using evtest /dev/input/eventX | grep "(type 1)" and see what pressing each of the buttons shows. Specifically, press B, then press select, and see what shows up. If they have the same button name, there might be a problem with the encoder. Maybe try plugging the select button into a different port on the encoder if another is available, and seeing if it fixes the issue.
Edit: close quote
Originally posted by @SuperPupperDoggo in https://github.com/Vegz78/McAirpos/issues/10#issuecomment-869746264

This is B and select:

Originally posted by @sofiania in https://github.com/Vegz78/McAirpos/issues/10#issuecomment-869867459

It does seem to work with both retropie and makecode games now!!!

I am really happy to hear that it is starting to work for you now, @sofiania! ;-)

If I press Button 10 (ST) = BTN BASE 4 it does exit, but the screen goes black for a while first.

The black screen for a little while on exit is expected, since McAirpos uses a little time to make sure and double check that every MakeCode game process is killed and not respawned, and then clear and hand back control of the framebuffer, to prevent the system from appearing frozen with the last image loaded into the framebuffer, zombie processes etc. This time differs according to how fast your system is, since the "time" to wait actually is enough numbers of CPU cycles to be sure all processes are killed, and not actual SI unit time IRL...
=> RPi Zero and 3A slow, 3B and 4 etc. much faster...
(I never had Zero and 3A in mind or available when I battled with the freeze problem, so maybe you could optimize the while-loop counter in launCharc.c and compile for your system. Then again, a higher number of freezes/reboots is normally felt like a much worse experience than a little longer waiting time, in that tradeoff.)

This is my present configuration:
Button 2 (K2) = BTN THUMB = A
Button 3 (K3) = BTN THUMB2 = B (+ Select)
Button 9 (SE) = BTN BASE 3 = RETURN
Button 10 (ST) = BTN BASE 4 = EXIT
Still some strange things, like button B seems to be select plus the B-button. And Button 10 - exit also opens the manue if I exit from Makecode (the list of makecode games)

(Thanks for your helpe here, @SuperPupperDoggo!)
The most important step, from my 4-point list in my last reply above, and like @SuperPupperDoggo just mentioned and @QuadDam has described in his writeup above, for DIY Arcade controller, is to:
1-2. Physically (re-)wire the real button with its intended function(e.g. Exit) so that evtest outputs one of the codes in the rightmost column of the same row as this function in the controller mapping table
Kindly see the newly updated controller section in the README:
https://github.com/Vegz78/McAirpos#ev_abs-controller

It seems that many of my "unstable" problems occurs when I am to fast for the system...

You might experience the auto calibration routine at work, and, when you get all buttons working as intended, it might be possible to optimize uinput-mapper a little:
https://github.com/Vegz78/McAirpos#optimizig-controller-performance

This is B and select:

Both images didn't upload fully, but if your "B-button" outputs the "BTN_BASE3" code, this is by default mapped by uinput-mapper as the "SELECT/RESET" function. It is easier to re-wire physically on default/unchanged /sd/arcade.cfg and arcade1&1.py config files, which work together, than editing these config files. It should only be necessary to edit these files if some of the buttons are wrongly/not  mapped AND it is not possible to rewire your controller (not the case with the ZERO DELAY ENCODER), or if there is missing too many output codes from your controller to fill every needed function to play MakeCode Arcade games(7-9 functions; UP, DOWN, LEFT, RIGHT, FIRE1, FIRE2, EXIT(,RESET, MENU))
https://github.com/Vegz78/McAirpos#default-button-mappings-with-corresponding-ev_abs-and-ev_key-codes
If you "B-button" emits TWO output codes(BTN_BASE3(it shouldn't) AND simultaneously(it shouldn't) any of the codes BTN_EAST(/BTN_B), BTN_THUMB2, 42 or 57), you should re-check the wiring and/or revert back to clean/default arcade.cfg and arcade1&2.py files(or at least ensure that the chain: physical button code output -> arcade1&2.py mapping -> arcade.cfg mapping is correct for every button/function.

I have now changed to this encoder https://www.electrokit.com/uploads/productfile/41017/SBC-ZDE-Datasheet.pdf, because it's the one the kids will have (I'll revert to the SJ@JX later).

Ok, I have opened a new issue for the Zero Delay Encoder(ZDE) here. Please keep your future comments about the ZDE inside this issue, and when you come back to the SJ@JX Arcade, please post in the other issue.

Could you point me to tha latest issue on this encoder, if there is anyone else who have tryed it? It would be really helpful.

This is the first time I have seen the ZDE and this is the first issue about it specifically.

Thanks for the reply! The picture that uploaded was rhe Select button (SE) BASE3. B button output is: 1 (EU_KEY), code 290 (BTN_THUMB2), value 1. So it should be ok? But is still is the select button as well in menues etc... strange.

Thanks for the reply! The picture that uploaded was rhe Select button (SE) BASE3. B button output is: 1 (EU_KEY), code 290 (BTN_THUMB2), value 1. So it should be ok?

Looks correct for McAirpos that "Select" button outputs EV code BTN_BASE3 and "B" button outputs BTN_THUMB2! ;-)

But is still is the select button as well in menues etc... strange.

When you mention "menus", do you mean the RetroPie menus? In that case, reconfiguring for RetroPie is a totally separate operation, which you could do when every button is configured correctly inside MakeCode Arcade games:
https://droix.co.uk/kb/how-to-reset-controllers-on-retropie/
(You could instead of resetting controller mappings inside RetroPie, also find "Configure Input" in the RetroPie Main Menu, and then just hold any button on the controller you want to configure to start the process)

Any luck at last, @sofiania?

Yes! I thougt I couldn't configure it that way as well, I thought I had to avoid that menue, and let McAirpos decide all the input controllers.
I'm so happy, because I got it all to work only really the last minute before the workshop began. Now with one day left of the workshop the cabinets are almost finished and they all have got RetroPie AND Makecode up and running with the usb encoder and all. I am so so so grateful for all your replies, because otherwise they would "only" have had RetroPie, and now they will also be able to play their own games in it!!!!

I am delighted to hear that, and much better a little late than never! ;-)
Thank you very much for you feed back and keep on retro game making and playing!
PS: Please advise your workshop participants to reduce as much as possible the use of extensions if they want the games to run well in RetroPie, at least the ones for (other)hardware. At least test the extensions early on in RetroPie, to see which ones work and which don't. The web simulator @makecode.com is known to ignore errors with extensions more gracefully and work more robustly, and the extensions do not all compile equally well @makecode.com to the RPi(and other hardware). This will save you all from a lot of frustration and boring bug-hunting time.


Allow DNS nameservers to be picked up from DHCP before using Google's.

Currently, Google's DNS nameservers are hardcoded.
If someone uses DHCP, the nameservers are not picked up.
We should select DNS nameservers in this order

Nameservers from Cloud Config
Nameservers set in Rancher.yml (if you used ros config set)
DHCP nameservers (NEW ADDITION)
Use the Google DNS nameservers  that are currently hardcoded

test msg

Upvote this.. It would be really great if the OS picked up the DHCP settings for DNS instead of having to hardcode them in yet-another-place.

Verified fixed in v0.4.2 by @ibuildthecloud


Training Loss Stuck During Training / Evaluation

Reminder

[X] I have read the README and searched the existing issues.

 Initially, the loss was decreasing steadily when training started, but after training from epoch 0.5 to 3, the loss stopped changing.
Training start:

Loss stuck:

Others
Thank you for your assistance!

I am trying to use SFT to train a binary classification task A or B, a data sample is:
{
  "conversations": [
    {
      "from": "system",
      "value": "...."
    },
    {
      "from": "human",
      "value": "..."
    },
    {
      "from": "gpt",
      "value": "A"
    }
  ]
},


DrawPixel shouldn't need a default draw mode

DrawPixel(0, 0, 1, DrawMode.Sprite) works but DrawPixel(0, 0, 1) does not.

DrawPixel() has been removed from the API.


[Backport 7.61.x] [tagger/remote] Fix "tagger-list" command

What does this PR do?
Backports https://github.com/DataDog/datadog-agent/pull/31647 to the 7.61.x branch.
The automatic backport failed and I needed to fix some conflicts: https://github.com/DataDog/datadog-agent/pull/31647#issuecomment-2511523237
Describe how you validated your changes
Done. Same as described in #31647

/merge


Merge major abstraction refactoring into master

Merge major abstraction refactoring into master, Tested Pierre's notebook and made it work.

bors+

bors+

bors r+

bors r+


windows mpv arrow keys not working

when pressing arrow keys to seek forward/backward in mpv, they are interpreted as Key Press 2(down) 4(left) 6(right) 8(up). In other  apps the arrow keys are working fine.
below is my defsrc:
 (defsrc
   esc     f1      f2      f3      f4      f5      f6      f7      f8      f9      f10     f11     f12     prnt    ins     del
   `       1       2       3       4       5       6       7       8       9       0       -       =       bspc
   tab     q       w       e       r       t       y       u       i       o       p       [       ]       \
   caps    a       s       d       f       g       h       j       k       l       ;       '       ret
   lsft    z       x       c       v       b       n       m       ,       .       /       rsft    up
   lctl            lmet    lalt    spc                     ralt    rctrl                   left    down    rght
 )

How can I resolve this? currently I can't fast forward or rewind in mpv.  Thanks!

What does evtest say?  If it reports the correct keys then that sounds like something on the mpv side (though I can say that it is working just fine for me with regards to arrow keys)

it is working just fine for me with regards to arrow keys

in mpv? I'm on windows no evtest?

On Tue, Feb 15 2022 21:13, HALS wrote:

it is working just fine for me with regards to arrow keys
in mpv?

Yes

I'm on windows no evtest?

Well, then I don't know :)

arrow keys to seek forward/backward works on my linux laptop as well. Just mpv intepret the keys as KP2 KP4 KP6 and KP8....maybe it is windows or mpv problem. Thanks will close the issue.


FocusGained does not reload buffer when autoread is set

Same issue as following
https://github.com/equalsraf/neovim-qt/issues/846

So, what need to configure in config files to goneovim reload changed files?

@damanis
No configuration is needed.
If the binary contains https://github.com/akiyosi/goneovim/commit/92f16b33c94dc9710ed7b30fca1cd6e9c98ca197, it will be automatically loaded when the application is activated under set autoread setting.


tuw_geometry: 0.0.4-2 in 'rolling/distribution.yaml' [bloom]

Increasing version of package(s) in repository tuw_geometry to 0.0.4-2:

upstream repository: https://github.com/tuw-robotics/tuw_geometry.git
release repository: https://github.com/tuw-robotics/tuw_geometry-release.git
distro file: rolling/distribution.yaml
bloom version: 0.11.2
previous version for package: null

tuw_geometry
* Error on returnvalue in LayeredMaps::getVal( fixed
* header files renamed to hpp
* figure sample added
* uncrustifyed
* code reformated
* ros2 ready
* CMake version updated
* opencv4 fix in grid_map
* warning fixed
* Contributors: Markus Bader

Holding for Rolling migration

Closed as duplicate


CSS

CSS
User Story
As a bootcamp student
I want the prework ntes to be structured on a webpage
So that I can easily find and read the information
Acceptance Criteria
GIVEN a Prework Study Guide website
WHEN I view the study guide
THEN I see a dark blue header and footer, and four boxes with a shadow

added css file and added styling to study guide


source doesn't complete if source it is fallback for is not enabled

Make sure you have done the following

[X] I have updated to the latest version of blink.cmp
[X] I have read the README

Bug Description
If a provider has a fallback_for on a source that is not in enabled_providers, that provider will not show any completions. For instance, in the config below, I was no longer getting any LSP completions.
Relevant configuration
sources = {
  completion = {
    enabled_providers = { "lsp" }
  },
  providers = {
    lazydev = { name = "LazyDev", module = "lazydev.integrations.blink" },
    lsp = { fallback_for = { "lazydev" } },
  }
}

neovim version
NVIM v0.11.0-dev+1068-g8df682250 Build type: RelWithDebInfo LuaJIT 2.1.1720049189
blink.cmp version: branch, tag, or commit
88f1c20

Just noticed as well.  See PR


Http Api

Enhancement Proposal:  A Rest HTTP API compatible with github that allows for user organization and repo management.

Merge this thread into https://github.com/gogits/gogs/issues/1692


Error: ETIMEDOUT

Error: ETIMEDOUT
at StreamApiError.ErrorAbstract (/var/task/node_modules/getstream/lib/lib/errors.js:18:11)
at new StreamApiError (/var/task/node_modules/getstream/lib/lib/errors.js:84:17)
at Request.task [as _callback] (/var/task/node_modules/getstream/lib/lib/client.js:297:16)
at self.callback (/var/task/node_modules/getstream/node_modules/request/request.js:185:22)
at Request.emit (events.js:310:20)
at Timeout. (/var/task/node_modules/getstream/node_modules/request/request.js:851:16)
at listOnTimeout (internal/timers.js:549:17)
at processTimers (internal/timers.js:492:7) {
error: undefined,
response: undefined
sometimes am getting  this timeout issue. after few minutes its working fine. can anyone help me?

do you get this in production or in development? please make sure you are using an app on a region close by your servers/dev environment and to configure your client correctly (the api region must be passed to the client at init)

@tbarbugli  yes am getting from production getstream app. Also our server location is us-east-1. In getstream app also i had chosen us-east. Also stream connection i had used location
var client = stream.connect(APPKEY, APPSECRET, APPID, { location: APPLOCATION });

{ Error: Error: socket hang up
at StreamApiError.ErrorAbstract (/var/task/node_modules/getstream/lib/lib/errors.js:18:11)
at new StreamApiError (/var/task/node_modules/getstream/lib/lib/errors.js:84:17)
at Request.task [as _callback] (/var/task/node_modules/getstream/lib/lib/client.js:297:16)
at self.callback (/var/task/node_modules/getstream/node_modules/request/request.js:185:22)
at Request.emit (events.js:198:13)
at Request.onRequestError (/var/task/node_modules/getstream/node_modules/request/request.js:877:8)
at ClientRequest.emit (events.js:198:13)
at TLSSocket.socketCloseListener (_http_client.js:373:11)
at TLSSocket.emit (events.js:203:15)
at _handle.close (net.js:607:12)
error: undefined,
response: undefined,
sometimes am getting this issue also

@muthupriya you can also increase the timeout with the new version
var client = stream.connect(APPKEY, APPSECRET, APPID, { location: APPLOCATION, timeout: 20000 });

@muthupriya just got the same issue.
@tbarbugli @ferhatelmas what is the default value of timeout?

@Andrei-Vakulski 10s
When did you get? File upload?

@ferhatelmas no, just a regular user creation on node.js backend, something like client.user(profileId).create().

OK, it's possible since network can create unbounded delay. Mine was an educated guess.
Please ensure:

setting the correct region in client setup
setting good enough timeout for network / location

Thanks, we'll investigate it deeper.
BTW, current README says that it is possible to configure us-west:
javascript // Optionally supply the app identifier and an options object specifying the data center to use and timeout for requests (15s) const client = connect('YOUR_API_KEY', 'API_KEY_SECRET', 'APP_ID', { location: 'us-west', timeout: 15000 });
but docs say that there are only 4 regions and there is no us-west listed.
So I believe if we are building US based app we should specify us-east?

That (us-east) is correct and default. That region (us-west) is wrong, I will update it.

@ferhatelmas got it. Thanks!

updated at https://github.com/GetStream/stream-js/commit/ffd6abb7567aae49089830af1a13a8138f249ff3

@ferhatelmas we're also experiencing this issue (socket hang up). I already tried setting region explicitly, increasing timeout etc. but nothing helped. It only happens on the notifications feed, during fetching data (though we use it most exhaustively).
It roughly occurs on less than 10% of the requests, rather randomly, on both local dev and production environments. The app runs on node v14.

@feimosi same on aws lamda

@b3nni97 I guess you caching the client. If so, you could test keepAlive: false. I believe your connection is gone when client comes back.
@feimosi Is there a caching ongoing in your case too?

If caching is enabled by default then probably yes (we use the default config).

In short, if you use keepAlive, you need to wrap your call into a try/catch and handle it or retry. If no keep alive, I wouldn't expect you to see it. Please let me know by playing with that config.


Add Delete Job command

Implement a delete job command which is:

capable of removing a job posting from Infinity Book
undoable

This was completed in v1.5rc


[UX] Multi-Cluster: Improve cluster connection showback

Current Behavior
Upon uploading kubeconfig(s) in Meshery UI, Meshery Server will attempt to connect to contexts within the kubeconfig. Users are shown a snackbar upon successful addition of a cluster, but without any context-specific details.
Desired Behavior
Ideally, users get one snackbar per context added or ignored. Each notification should include the context name and address.
Acceptance Tests

"Upload" confirmation snackbar is changed to Informational (blue-colored) message.
One success (green) notification is displayed per new context added.
One warning (yellow) notification is displayed per context ignored (not added).
User sees confirmation of the number of contexts added and number of contexts ignored.

More Context:

Yes, so in that case we fall back to not flattening. This is included

For users, this will be in almost all cases. We need two things:

Further instructions in the modal on how to prepare your kubeconfig.
Additional snackbar notifications containing details of the context(s) that was just added and/or details of context(s) that were skipped over.

Originally posted by @leecalcote in https://github.com/meshery/meshery/issues/5867#issuecomment-1192817843

Contributor Guides and Resources

🎨 Wireframes and designs for Meshery UI in Figma
🖥 Contributing to Meshery UI
🙋🏾🙋🏼 Questions: Layer5 Discussion Forum and Layer5 Community Slack

hi @leecalcote I would like to try this issue, can you assign me this issue

@AakashRaj20 thanks for raising your hand. Yes, let's check with @gr455, who recently started working on this and see if collaboration is feasible or not. Collaboration is always desired, just not always feasible, though, depending upon the issue at-hand. I'll let @gr455 assess.

@AakashRaj20 thanks for raising your hand. Yes, let's check with @gr455, who recently started working on this and see if collaboration is feasible or not. Collaboration is always desired, just not always feasible, though, depending upon the issue at-hand. I'll let @gr455 assess.

OK no problem.

Ah I've made some progress on this on the backend. If you don't mind @AakashRaj20 can you help with the UI part of this?

Ah I've made quite a bit progress on this on the backend. If you don't mind @AakashRaj20 can you help with the UI part of this?

Sure sure


fix(find): add undefined to return type

Description:
Fixes the return types for the find operator to indicate that undefined is a value that could be emitted.
Removes unnecessary overload signatures and adds dtslint tests.
Related issue (if exists): #3969

Coverage increased (+0.2%) to 96.923% when pulling e44ade025b5ac2014e42a2dad0cf90555578dee6 on cartant:issue-3969 into 5c52a7337942dc157ae425d2f0362c57f222ecfa on ReactiveX:master.


Handling unconnected gradients in Scipy optimizer

Feature request
Our Scipy optimizer wrapper should explicitly handle unconnected gradients.
Motivation
Currently, the GPflow Scipy optimizer wrapper (gpflow.optimizers.Scipy) simply errors (with one of the typically unhelpful TensorFlow error messages) when one of the passed-in variables is not connected to the loss to be minimized. This can easily happen in a valid case, for example when using an SVGP model with a Constant kernel (which might be used as a very simple baseline) but having inducing locations not explicitly set to non-trainable. This could also happen erroneously in a bug case, e.g. when calling Scipy().minimize(model1.training_loss, model2.trainable_variables).
Proposal
Describe the solution you would like
An explicit error message when the variables are not connected to the loss (and hence the grads list contains None entries).
What alternatives have you considered?
We could also simply change the call for the gradient computation to use unconnected_gradients=tf.UnconnectedGradients.ZERO. This might silently hide bug cases (see above), so perhaps this option could be an extra flag to the minimize() call?

Hey,
If this issue is still active, I would be happy to work on it.

Hi @antonykamp ! thanks for your interest. Yes, nothing has changed about this issue - if you try to optimize a loss that's not connected to the variables you pass in, you still get an unhelpful error message.
Regarding your question, can you expand a bit more on how you'd want to use count_nonzero?

Can you expand a bit more on how you'd want to use count_nonzero?

Of course! When using unconnected_gradients=tf.UnconnectedGradients.ZERO and the loss is not connected to the variables, the associated item in the gradient equals a zero tensor. GPflow could test for this by counting the nonzeros of each item. Should the situation arise that every value equals zero, GPflow warns the user, eg.
https://github.com/antonykamp/GPflow/blob/599bc49ed902c2296a550c8f0409dcc9bdcef900/gpflow/optimizers/scipy.py#L181

Ah! You mean to give a warning, yet continue running?
Will the if check you added in your link work correctly within tf.function()? even if it does, it might make the call a bit slower. How about moving the check to https://github.com/antonykamp/GPflow/blob/599bc49ed902c2296a550c8f0409dcc9bdcef900/gpflow/optimizers/scipy.py#L119 (where we've got to be in numpy-land anyways), and maybe having a flag so it only actually checks on the first call ?

Ah! You mean to give a warning, yet continue running?

As you pointed out, sometimes its desired behavior eg. in bug cases. Am I right? :)
Moving the check was a great idea ofc :D I would add the new flag as a simple attribute of Scipy-objects (and uncon_gradients_handle stays?)

Should we move this discussion to a PR? :)

Would you like to open a PR so we can discuss more concretely on the code? :)


update Makefile for local create compile_ golangimage and fix some issue

Coverage remained the same at 50.761% when pulling 9c91fdc18e2332453030f60f6f8122f56f1b60b4 on yhua123:dev into ddc9e4538bd54e1ce1aa8a511a151c9ba51ba385 on vmware:dev.


Support for Snowflake SSO

Our snowflake accounts use SSO (externalbrowser) authentication. Is there any plan to support this in future.

Hey @MasoudGhodrati , I'll take it with @dapollak and will update ASAP.


null Id's in GetChangesTvAsync response

I got a null Id on a single page of the response from GetChangesTvAsync which killed the method. Wondering if you've seen this and if maybe Id should be nullable in ChangesListItem?

Which arguments did you provide?

I am getting the total pages first, then looping through by page with
var TvChanges = client.GetChangesTvAsync(i, startDate, endDate).Result;
where i is the page number. My start date is 11/22/2018, enddate 11/30/2018. I get an error on page 16 today (Yesterday it was oage 11):
JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'results[96].id', line 1, position 2593.

Ok. This is likely a case where TMDb has messed up their data again. Would you, @rpm61, be able to get the original JSON for that request?
Using a proxy like Fiddler will easily let you see all requests as they are made, and then you can grab the response body for the offending request. We can then send this to TMDb.

Will do, I'm working on another issue right now, but I will get this to you today.
Thank you very much for your help.

There is a null value on line 32 here. I have run this several times and the null will appear on different pages, though it seems to move further back, higher page number, as time goes on.  I also like the int? as I stated earlier, and let consuming processes discard the nulls. Your converter works just as well for me, but the int? is easier and I don't see that as an unreasonable hardship, but maybe some would.

If we went down that road, the library would make no promises, and pretty much everything you'd see would need a if (obj.Value.HasValue) doStuff(obj.Value.Value) ... which I'd really dislike.
 The converter is one way.

I agree, though I guess I am looking at this as feeling the use case for the changes is likely the same for all.  I get your point though, and I certainly wouldn't mind being assured of no nulls.
Btw, I found a null in the movie changes today as well.

Oh yay.

@rpm61 can you try out the latest code?
If it works, I'll push it to nuget

Thanks, I'll do that today and let you know.

This worked. I confirmed there is still a null Id on page 17 of my results so all looks good, thank you very much.
I have been assuming these changes include new records, records with changes and deleted records, but I haven't been able to confirm this from TMDb docs. Do you know if that is correct?

I'm really not sure. The Changes API is something I've never worked with in depth.

If TMDb responds on the Changes thing, we can change stuff here. Else, use 1.3.2-alpha, @rpm61.
Thanks for troubleshooting for us :)

Just fyi the changes api is not super reliable I often have changes not comming in and have to do a full refresh once in a while...


train.txt create

Hi,I'm a beginner about machine learning.
How can i do for make train.txt.
Is using Dataload.py?
Which parameters should I change?
Can you provide a practice?
Thanks.

and How to run gen_cityscapes?

Hi,
Thanks for your interest in our code. We are about to release a new repository that supports several datasets (MS-COCO, ImageNet, PASCAL VOC, Cityscapes) across three different tasks (single/multi-label classification, object detection, and semantic segmentation). New repository includes better and fast training policies + scripts to set-up the datasets, including downloading and pre-processing. This repo should be out sometime next week.
I request you to wait for couple more days.
Thanks


fix(autoware_ground_segmentation): remove unused function

Description
Fixed cppcheck unusedFunction warning
perception/autoware_ground_segmentation/src/scan_ground_filter/grid.hpp:117:0: style: The function 'getPointNum' is never used. [unusedFunction]
  inline int getPointNum() const { return static_cast<int>(point_list_.size()); }

Related links
Parent Issue:

Link

How was this PR tested?
Notes for reviewers
None.
Interface changes
None.

Effects on system behavior
None.

@badai-nguyen It was used during development, but it may removed in finalization. It is good to be removed.


Restore compatibility with BBHN 1.1.2

This patch restores compatibility with BBHN 1.1.2.  It changes the link quality metric to match BBHN's, and also pulls in a patch that BBHN has made to the OLSRD Secure plugin.  I've tested this on my Raspberry Pi, and it's now able to talk to a Bullet M2 running BBHN 1.1.2.

Looks like compatibility has been lost again as of BBHN 3.1.0 ... I haven't been able to investigate further just yet, but symptoms are:

Linksys BBHN 3.1.0 nodes visible from hsmm-pi powered node
Node names do not resolve on hsmm-pi powered node
hsmm-pi powered node is not visible from BBHN-based nodes

73
Mike K2MTS

Looks like compatibility has been lost again as of BBHN 3.1.0 ... I haven't been able to investigate further just yet, but symptoms are:

Linksys BBHN 3.1.0 nodes visible from hsmm-pi powered node
Node names do not resolve on hsmm-pi powered node
hsmm-pi powered node is not visible from BBHN-based nodes

73
Mike K2MTS

Is there any solution to this? I'm trying to connect MSMM-PI to BBHN node. The Pi can see the node and connect to it interface, but the BBHN does not see and connect to the Pi.
Any ideas how to fix this?

The Olsrd release version adopted for this version has moved beyond the
version used in the build used in BBHN.
http://www.olsr.org/mediawiki/index.php/Main_Page
73 Mathison
On Sat, Feb 9, 2019, 5:40 AM Ikata89<EMAIL_ADDRESS>wrote:

Looks like compatibility has been lost again as of BBHN 3.1.0 ... I
haven't been able to investigate further just yet, but symptoms are:

Linksys BBHN 3.1.0 nodes visible from hsmm-pi powered node
Node names do not resolve on hsmm-pi powered node
hsmm-pi powered node is not visible from BBHN-based nodes

73
Mike K2MTS
Is there any solution to this? I'm trying to connect MSMM-PI to BBHN node.
The Pi can see the node and connect to it interface, but the BBHN does not
see and connect to the Pi.
Any ideas how to fix this?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/urlgrey/hsmm-pi/pull/34#issuecomment-462045436, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAlvLKVHksom35x8JuJPvAfqtrPMynMIks5vLs-3gaJpZM4Cqwbl
.


Roll Flutter Engine from 8aa2e6516af1 to a109e0b6e548 (1 revision)

https://github.com/flutter/engine/compare/8aa2e6516af1...a109e0b6e548
2023-07-07<EMAIL_ADDRESS>Manual roll Dart SDK from 2d98d9e27dae to 0b07debd5862 (21 revisions) (flutter/engine#43457)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC aaclarke@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


[Feature Request] Initial delay on enforcing policy on new indices potentially triggers unnessecary allocations

Describe the bug
In our setup we have both SSDs and CEPH storage, in order to achieve a hot/cold architecture. Thus, within a cluster there are data nodes with SSD and data nodes with CEPH. To distinguish them, we add a node.attr to the respective elasticsearch.yml:

node.attr.node_attr: default for SSD nodes
node.attr.node_attr: ceph for CEPH nodes

Using an Index Management policy, we naturally want to assign any new index to SSD nodes and then after X days to move to CEPH nodes. Here's an example policy:
{
    "policy_id": "hot_cold_delete_13m",
    "description": "Hot/cold (15 days)/delete after 13 months",
    "default_state": "hot",
    "states": [
        {
            "name": "hot",
            "actions": [
                {
                    "allocation": {
                        "require": {
                            "node_attr": "default"
                        },
                        "wait_for": false
                    }
                }
            ],
            "transitions": [
                {
                    "state_name": "cold",
                    "conditions": {
                        "min_index_age": "15d"
                    }
                }
            ]
        },
        {
            "name": "cold",
            "actions": [
                {
                    "replica_count": {
                        "number_of_replicas": 0
                    }
                },
                {
                    "allocation": {
                        "exclude": {
                            "node_attr": "default"
                        },
                        "wait_for": false
                    }
                }
            ],
            "transitions": [
                {
                    "state_name": "delete",
                    "conditions": {
                        "min_index_age": "400d"
                    }
                }
            ]
        },
        {
            "name": "delete",
            "actions": [
                {
                    "delete": {}
                }
            ],
            "transitions": []
        }
    ],
    "ism_template": {
        "index_patterns": [
            "*"
        ],
        "priority": 0
    }
}

The policy works fine indeed, however we experience some delay of few minutes upon indices creation. So, initially a new index may end up on CEPH nodes and then the policy gets applied, moving the index to SSD nodes where they should belong. That can be potentially a demanding task that would be good to avoid.
To Reproduce
Steps to reproduce the behavior:

Setup a hot/cold architecture based on node.attr
Apply a policy like the one above to all new indices
Create a new index
Observe that it may initially end up on the wrong node, having to wait for the policy application to force an allocation to the proper node.

Expected behavior
The policy is expected to be applied immediately at index creation thus leading the new indices to be stored dirrectly on SSDs, instead of them ending up on CEPH and then during policy application get moved into SSD.
Plugins
All official OpenDistro/Opensearch plugins
Desktop (please complete the following information):

OS: CentOS / CentOS Stream
Version 8

Additional context
There is a workaround of adding "index.routing.allocation.require.node_attr": "default", on the index template, however it would be good if the index policy could be applied immediately at index creation, in order to avoid the need of adding that setting also within the index template.

@spapadop Today the expected behavior for policy is that the policy gets attached at the moment the index is created when its matching policies index pattern.
However, the actions in policy are triggered at a later point in time, not at the time policy is attached.
This request would be to support a new feature - i.e run the action immediately when the policy is attached to the index. We currently have a setting to speed the time between policy is attached to first execution of policy - plugins.index_state_management.job_interval This setting will be applied to all policies not just to one. This cannot be zero

@thalurur Even if the policy is executed immediately it won't help here as the applying of a policy to an index happens after an index has been created and allocated. In the example it means the index has potentially already been allocated to the CEPH nodes. I think the request is asking for ISM policies to intervene during index creation and allocate the indices at creation to the correct nodes, but that's not something we can do currently and I'm not sure it's something we'll support. As noted in the additional context, the correct solution would be to ensure the index template for these indices has the correct allocation settings as those are what will get added at creation time and used.

Hello @thalurur @dbbaughe,
Thanks for your input. Indeed, I asked for ISM policies to intervene during index creation. Thinking over it again, maybe ISM shouldn't interfere there and let index template do the job. Setting plugins.index_state_management.job_interval to a low value isn't a good solution, as it will trigger too many jobs without any real benefit.
@thalurur  you mentioned:

However, the actions in policy are triggered at a later point in time, not at the time policy is attached.

As you said, maybe it's indeed worth pushing towards policy being triggered immediately after it is attached, and then conform with the corresponding plugins.index_state_management.job_interval. This sounds like an expected behaviour: when I attach a policy to an index I expect it to run asap, immediately if possible.
That being said, feel free to decide about the fate of the issue, maybe renaming it would make sense.

@dbbaughe alright sounds good to me. Still though, as Job Scheduler has to be revisited for my request (immediately execute policy upon attachment), I am not sure if attaching it to https://github.com/opensearch-project/index-management/issues/48 would help. However, feel free to do so if there is a chance for this to be worked upon.

@spapadop I see we actually had an issue for this previously on the OpenDistro repo
https://github.com/opendistro-for-elasticsearch/job-scheduler/issues/76
Looks like we didn't migrate over all the issues for job scheduler to this new org.. will do that too.
Let me sync up with the developer that initially worked on job scheduler, perhaps there was a limitation that was blocking us on this.

Should revisit if we can execute action along with policy initialization during the first job run.


can this bot deliver 2k viewers for live stream??

Is there an existing issue for this?

[X] I have searched the existing issues

I'm submitting a ...

[ ] bug report
[ ] feature request
[ ] support request --> Contact me over mail for support https://github.com/MShawon

Description
hey guys I hope someone help me by answering if this bot can deliver about 2k viewers with HQ proxies + high config RDP or VPS ??
Environment
- OS :
- Python :
- Script version :

config.json
sds

thanks in advance guys

You would need resedential proxies, and I am pretty sure HQ proxies are datacenter proxies.
You would need at least 1000 resedential proxies

Can i have ur telegram please!

I dont have telegram, maybe discord?

Ok bro whats urs ?

You can add me on Bloxxy213#8826

kazkzet#9850
Can u add me please!

@JijaProGamer hey can u install telegram pls? i wanna hve some conversation regarding this. thnks

@JijaProGamer hey can u install telegram please , need to talk regarding this few things.


broken my tests if I don't have connection

Well, I running my tests not connected in the internet, and, while one test should save a model, I received a error that is:
maps4rails::DirectionNetStatus in Controller#create
The request sent to google was invalid (not http success): http://maps.googleapis.com/maps/api/geocode/json?language=en&address=XXXX&sensor=false.
Response was:
In my opinion, in this case, just only don't save the map, because, is a valid instance of my model.
Suggestions for this?

Well, there is work on this: tests now clearly depend on internet connection which should be mocked.

And, if I have a localhost app, running in a intranet. Given that I don't have connection? My app is broken.
It's common??

Look here: https://github.com/apneadiving/Google-Maps-for-Rails/wiki/Model-Customization.
And set the process\geoding attribute depending on your environment


Switch to newest Stackage LTS.

Bumps GHC to 8.10 form 8.8 as 8.8 is now close to no longer being supported.
I'll send a future PR to update to the first LTS that supports GHC 9.0 when that is possible.

Closing as repo is abandoned.


Allow to re-open toast?

Very nice design and animations! I would love to see an option for a toast to collapse to just it's icon on (auto-)closing, allowing user to re-open it on click. I guess the icon could float on the edge of the screen on larger screens, respecting the existing position parameter (bottomRight, bottomLeft, topRight, topLeft, topCenter, bottomCenter). Some animation could make it clear to the user that the icon came out of the collapsed toast. What do you think?

I never saw a toast that needed to be reoppened. Wouldn't be better if you create a custom component to handle this need? Your component would then fire a new toast when clicked.

Exactly @chekovsky, thanks! @ErinPo The goal of a toast is not that.
But you can do the control in your code.

This should be closed if it is outside the scope.


Add log in ZkclientZookeeperClient.java

What is the purpose of the change
add log in ZkclientZookeeperClient.java
Brief changelog
XXXXX
Verifying this change
XXXXX
Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Make sure there is a GITHUB_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GITHUB issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[ ] Format the pull request title like [Dubbo-XXX] Fix UnknownException when host config not exist #XXX. Each commit in the pull request should have a meaningful subject line and body.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[ ] Run mvn clean install -DskipTests=false & mvn clean test-compile failsafe:integration-test to make sure unit-test and integration-test pass.
[ ] If this contribution is large, please follow the Software Donation Guide.

Codecov Report

Merging #3109 into master will decrease coverage by 0.04%.
The diff coverage is 11.11%.

@@             Coverage Diff              @@
##             master    #3109      +/-   ##
============================================
- Coverage     63.63%   63.59%   -0.05%
  Complexity       75       75
============================================
  Files           653      653
  Lines         28210    28219       +9
  Branches       4794     4794
============================================
- Hits          17951    17945       -6
- Misses         7999     8009      +10
- Partials       2260     2265       +5

Impacted Files
Coverage Δ
Complexity Δ

...ng/zookeeper/zkclient/ZkclientZookeeperClient.java
55% <11.11%> (-7.75%)
0 <0> (ø)

...ache/dubbo/remoting/p2p/support/AbstractGroup.java
45.45% <0%> (-11.37%)
0% <0%> (ø)

.../remoting/transport/netty4/NettyClientHandler.java
75% <0%> (-11.12%)
0% <0%> (ø)

.../apache/dubbo/remoting/transport/AbstractPeer.java
63.04% <0%> (-4.35%)
0% <0%> (ø)

...he/dubbo/remoting/transport/netty/NettyServer.java
67.85% <0%> (-3.58%)
0% <0%> (ø)

...he/dubbo/registry/multicast/MulticastRegistry.java
63.79% <0%> (-1.73%)
0% <0%> (ø)

...rpc/protocol/dubbo/telnet/InvokeTelnetHandler.java
72.5% <0%> (-1.67%)
0% <0%> (ø)

...pache/dubbo/remoting/transport/AbstractServer.java
47.91% <0%> (-1.05%)
0% <0%> (ø)

.../java/org/apache/dubbo/config/ReferenceConfig.java
57.57% <0%> (-0.38%)
0% <0%> (ø)

...pache/dubbo/registry/support/AbstractRegistry.java
82.33% <0%> (+0.37%)
0% <0%> (ø)
:arrow_down:

... and 2 more

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 bdb78b8...c8e0f8b. Read the comment docs.


datetime for repost_time

Use system's cert instead of disable InsecureRequestWarning
https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
https://urllib3.readthedocs.io/en/latest/user-guide.html#ssl
https://stackoverflow.com/questions/42982143/python-requests-how-to-use-system-ca-certificates-debian-ubuntu
https://stackoverflow.com/a/33717517/1695680
In this PR, we use system's cert rather than third-party certs. However, this will downgrade the compatibility since only ubuntu(debian) use this path.

In 4d80e0b, the create time for repost was updated to use datetime(python) and Datetime(mysql). This is a BREAKING change for the current project and means no more compactability for the previous database schema. However, by extracting the common create time parser, the repost and comment tasks can be maintained at once. And also the reposts can be filtered by create time via where. So this should be a helpful update.
Since the last PR heard no comments till today, I may merge this in the coming few weeks if there is still no any comments.


add mac quick-setup

Thank you very much for this amazing details! I like the fact that you mentions several ways to connect to the serial port, so users can choose what is best for them.

For what it's worth, what I've actually been using is cu with iTerm2 (version 3.4.22).
I'm using iTerm2 because, well, that's just the terminal I normally use for everything.
I tried using screen before I tried cu, and it worked but the colors were mostly missing. It that's something I could fix in either screen's configuration or in BusPirate's firmware, but I haven't dug into it since cu has been working for me. (At a previous job I used screen every day, but I changed jobs and haven't used it regularly in quite a while now.)
It took me a bit of googling to find something that worked, so I figured I should document it.

I could fix in either screen's configuration or in BusPirate's firmware
I have already added support for 256 ANSI colors in bus pirate firmware, it's the third option in the color configuration menu.
In addition, the release versions of screen do not yet support RGB colors, but the master branch is, so probably the next release of screen will support RGB colors

Ah, so that's what's going on!
Ok, I updated the PR to correctly explain the color situation. I also switched to consistently using the cu.usbmodem version of the devices, and a couple of other minor things.
Anything else I should change?


Add option for server to do route adds and dels for aws-vpc and gce

Manipulating AWS VPC and GCE routing tables is a privileged operation -- ideally it should only be done from a one or a handful of machines. If running in client-server mode, server is in a perfect position to manage the routing table changes for the whole cluster.

No longer have client-server mode so closing


UI: button to download code lacks tooltip

Gitea version (or commit ref): cb16028
Git version: 2.10.2
Operating system: Arch Linux
Database (use [x]):

[x] PostgreSQL
[ ] MySQL
[ ] SQLite

Within those fields displaying a repository's URL which can e. g. be seen at URLs like gitea.example.org/Someorganization/Somerepo the button to copy comes with a tooltip while the button to download at its right doesn't.

Maybe this is a bit of bikeshedding but I figure the UX would be a bit more smooth if the button to download had a tooltip as well.

Sounds like an easy change. Are you up for a PR @pmattern ?

@pmattern try github theme for a while. I fixed these things. Hope to see theme feature on gitea in the future. https://github.com/gencer/gitea-gihubify

@pmattern try github theme for a while. I fixed these things. Hope to see theme feature on gitea in the future. https://github.com/gencer/gitea-gihubify

Cool, we will provide better theming support for sure, but we will never get a GitHub clone theme into the core itself, we don't want to end like https://gitbucket.github.io/gitbucket-news/gitbucket/2016/03/20/change-user-interface.html ;)

@gencer
After applying gencer/gitea-gihubify@8b80e49 upon 574e49c the problem addressed in this issue is persisting here.
Btw. files patch{,-ext}.css have to go to public/*css*/, not? Also, I wonder whether directory ss really isn't needed at all and whether it's unavoidable that patch.css is basically a single line comprising 300k characters.
@strk

Sounds like an easy change. Are you up for a PR @pmattern ?

Unfortunately I'm lacking both time and skills right now.

@pmattern, please confirm this have been resolved.

Running 39d0db5 the problem is basically solved but there are two things worth having another look at, IMO:
The tooltip to copy is above that line comprising URL etc. as shown above while the tooltip to download is placed left of the button which is a bit inconsistent and covering parts of the URL.

More importantly string "download_archive" doesn't seem like a really good choice.

@hhenkel

Looks like the bindata have not been updated.
And the tooltip is automatically placed like that.

And the tooltip is automatically placed like that.

Indeed the alignment seems to be independent from the current commits. Increasing the width of the browser window yields

Not sure whether the underlying algorithms should be adjusted, though. When the tooltip was displayed left of the button plenty of space would have been available to have it placed top / right of that line displaying URL and so on.

I'm currently testing - with the position "top right" it looks like shown on my screen.

@pmattern I submitted #364 to fix this, can you test it?

@hhenkel
Running bab737b from current master the tooltip states "Download this repository" and the placement is reasonable, IMO.
Would it make sense to have the other tooltip state something like "Copy URL" or so, hence some kind of description like the one provided by "Download this repository" right now? Just wondering.

@pmattern, please fire another issue for Copy URL and I think this issue could be closed.

Fixed


design preview

pls add design preview to visual studio extension

You can see the preview by switching to the generated XAML file


source_id registration IPSL-CM6A-ATM-LR-REPROBUS; Remove IPSL-CM7A* entries

Thanks a lot for your understanding. I confirm you can remove IPSL-CM7A-ATM-HR and IPSL-CM7A-ATM-LR models.
We have planned to ask you soon to register a new model : IPSL-CM6A-ATM-LR-REPROBUS (REPROBUS is the name of our stratospheric model).
We have already written data for the first experiment. We chose this name several weeks ago before you told me about the rules for the size of the name...what do you think of that ? Would "IPSL-CM6A-ATM-LR-REPROBUS" be ok for you ?
Originally posted by @acaubel in https://github.com/WCRP-CMIP/CMIP6_CVs/issues/1046#issuecomment-1031590054

@acaubel please update this new issue with the details for registration of IPSL-CM6A-ATM-LR-REPROBUS, while we prefer to reduce the source_id lengths, your logic and the fact that you've already written data means we can register this information once you provide the details

@acaubel if you are still interested in registering IPSL-CM6A-ATM-LR-REPROBUS please update this issue with all appropriate details and I will update our registered entries

Here is information about IPSL-CM6A-ATM-LR-REPROBUS model. Sorry for the delay and thanks a lot !!
label = IPSL-CM6A-ATM-LR-REPROBUS
label_extended = IPSL-CM6A-ATM-LR-REPROBUS
source_id = IPSL-CM6A-ATM-LR-REPROBUS
institution_id = IPSL
release_year = 2021
activity_participation = [AerChemMIP]
aerosol:
description = LMDZ (NPv6 ; 144 x 143 longitude/latitude; 79 levels; top level 80000 m)
nominal_resolution = 250 km
atmos:
description = LMDZ (NPv6 ; 144 x 143 longitude/latitude; 79 levels; top level 80000 m)
nominal_resolution = 250 km
atmosChem:
description = REPROBUS v6
nominal_resolution = 250 km
land:
description = none
nominal_resolution = none
landIce:
description = none
nominal_resolution = none
ocean:
description = none
nominal_resolution = none
ocnBgchem:
description = none
nominal_resolution = none
seaIce:
description = none
nominal_resolution = none

@acaubel thanks for the update. Please take a peek at CMIP6_source_id.html and let me know if any further tweaks are required.


IMG_Init(IMG_INIT_WEBP) fails

When building SDL_image using system dependencies, and using a dynamic loaded libwebp, IMG_Init(IMG_INIT_WEBP) fails.
This can be reproduced by running testimage.
The following messages are logged to stderr:
ERROR: 01/05/23 18:05:59: Assert 'Initialization should succeed (Failed loading WebPGetFeaturesInternal: /home/maarten/programming/SDL_image/cmake-build-debug/test/testimage: undefined symbol: _WebPGetFeaturesInternal)': Failed
INFO:  01/05/23 18:05:59: Assert 'Building filename should succeed (Failed loading WebPGetFeaturesInternal: /home/maarten/programming/SDL_image/cmake-build-debug/test/testimage: undefined symbol: _WebPGetFeaturesInternal)': Passed
INFO:  01/05/23 18:05:59: Assert 'Building ref filename should succeed (Failed loading WebPGetFeaturesInternal: /home/maarten/programming/SDL_image/cmake-build-debug/test/testimage: undefined symbol: _WebPGetFeaturesInternal)': Passed
INFO:  01/05/23 18:05:59: Assert 'Loading reference should succeed ()': Passed
ERROR: 01/05/23 18:05:59: Assert 'Initialization should succeed (Failed loading WebPGetFeaturesInternal: /home/maarten/programming/SDL_image/cmake-build-debug/test/testimage: undefined symbol: _WebPGetFeaturesInternal)': Failed
INFO:  01/05/23 18:05:59: Assert 'Building filename should succeed (Failed loading WebPGetFeaturesInternal: /home/maarten/programming/SDL_image/cmake-build-debug/test/testimage: undefined symbol: _WebPGetFeaturesInternal)': Passed

System is Fedora Linux 36
libwebp is provided by libwebp-devel-1.2.2-4.fc36.x86_64

Don't know about SDL3, but in the SDL2 branch I just did
./configure --prefix=/home/ozzie/zy --enable-tests && make && make check
and it passed:
PASS: testimage
============================================================================
Testsuite summary for SDL2_image 2.7.0
============================================================================
# TOTAL: 1
# PASS:  1
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0

Manually running testimage output the following (only the WEBP related part):
INFO:  01/05/23 20:23:00: Testing ability to load format WEBP
INFO:  01/05/23 20:23:00: Assert 'Building filename should succeed (Parameter 'src' is invalid)': Passed
INFO:  01/05/23 20:23:00: Assert 'Building ref filename should succeed (Parameter 'src' is invalid)': Passed
ERROR: 01/05/23 20:23:00: Assert 'Loading reference should succeed (Parameter 'src' is invalid)': Failed
INFO:  01/05/23 20:23:00: Assert 'Building filename should succeed (Parameter 'src' is invalid)': Passed
INFO:  01/05/23 20:23:00: Assert 'Building ref filename should succeed (Parameter 'src' is invalid)': Passed
ERROR: 01/05/23 20:23:00: Assert 'Loading reference should succeed (Parameter 'src' is invalid)': Failed
INFO:  01/05/23 20:23:00: Assert 'Building filename should succeed (Parameter 'src' is invalid)': Passed
INFO:  01/05/23 20:23:00: Assert 'Building ref filename should succeed (Parameter 'src' is invalid)': Passed
ERROR: 01/05/23 20:23:00: Assert 'Loading reference should succeed (Parameter 'src' is invalid)': Failed
INFO:  01/05/23 20:23:00: Assert 'Building filename should succeed (Parameter 'src' is invalid)': Passed
INFO:  01/05/23 20:23:00: Assert 'Building ref filename should succeed (Parameter 'src' is invalid)': Passed
ERROR: 01/05/23 20:23:00: Assert 'Loading reference should succeed (Parameter 'src' is invalid)': Failed
INFO:  01/05/23 20:23:00: Saving format WEBP is not supported

I found the issue, it was due to a typo in the cmake script.

See #325

Is a fix pushed?

Yes, see 0c1a4c70a29a7288b9b27452ead1ffc14eb23380


Handle token's decimals property

Fixes #85
Add a new network function to get the definition of a token.
Add new parameter to fromBigInt and toBigInt function which permit to define the number of decimals needed
Add unit test on fromBigInt and toBigInt function.
getTokenfunction tested with transactionBuilder example

Seems good.
Could you just write also tests for getToken  API call.

Seems good. Could you just write also tests for getToken API call.

done !


Base feature implementation

Basic behavior

By inheriting StateModel, create a model that determines the state.
Information about transition should be written in StateModel.
ObservableStateMachine transmits StateModel at the desired time and passes it through stream.

LGTM!


Era

@RubenGeo this latest commit, is the result after I added the store+layer myself manually in geoserver again. Not clear what the difference is, except for maybe a different coverageStore ID or something.
Anyway, if this change also works for you (maybe delete the store + layer first before pulling this), then we can simply try and merge and see if it works on test-vm.


Add Zcash audit set to registry

This audit set is automatically aggregated from all of our audit sources (currently only one, soon to be two).

Thanks!


Add bit variable allocation and initialization to bitlib, veclib

.var_zero name
.var_one  name
.var_zero64 name        0000
.var_one64  name        0001
.var_negone64 name   ffff
Also, .var in dww-bits size.

added .bit0, .bit1, maybe the name will change

added .bit0, .bit1, maybe the name will change

added .var n v - n-bit variable with the starting value of v.
should cover it all.

added .var n v - n-bit variable with the starting value of v.
should cover it all.


ISequence naming

ISequence<T> implies an ordering which is not your intention I believe. Perhaps call it IStream<T>?

Ordering is a bit of an ambiguous term, I consider it ordered but not sorted. The ordering is determined by construction. If an item is added (appended), then it will always be returned as the last item. I'm using the term Sequence synonymously with Enumerable, but with the constraint that the first item is always the first item, and the last item is always the last item. Unfortunately with an IEnumerable is that it can change between invocations on the same data set.
The name is inspired by https://docs.microsoft.com/en-us/dotnet/fsharp/language-reference/sequences. I always found "enumerable" to be a bit of an obtuse academic term.

But if it's potentially infinite, how can you have an order beyond time? Can you have a concept of First or Last? I'm thinking of the example: ISequence<MouseClicks>
Is ISequence as a name compatible with the common formal usage? https://en.wikipedia.org/wiki/Sequence

In the Wikipedia article  they do mention that a sequence can be infinite. Consider the sequence: "1,0,1,0,...". There is a first item, but indeed there is no last, which is the same problem as IEnumerable.
It is a good to note that any concept of infinite series, should be careful about introducing potentially undefined operations (like "ToArray()", "Last()", "TakeLastN()", "Reverse()"). I generally consider this a design mistake, but I decided to keep operation naming a 1-to-1 with LINQ, to facilitate cross-over.
Plato should be a drop-in replacement for any C# programmer, with a minimal learning curve. They just have to get used to pure functional programming.
Other inspirations for the name "Sequence" come from Scala (https://www.scala-lang.org/api/2.12.x/scala/collection/Seq.html), and was also used in Clojure (https://clojure.org/reference/sequences).

But if it's potentially infinite, how can you have an order beyond time?

You have the order in which it was add to the sequence during construction.
var xs = EmptySequence().Add(1).Add(5).Add(2);
Console.WriteLine(xs.First()); // Always 1
Console.WriteLine(xs.ElementAt(1)); // Always 5
Console.WriteLine(xs.Last()); // Always 2

The idea of something being truly unordered is extremely rare in practice in programming. A Plato ISet is one example of this. You can ask whether something is in a set, you can create a set by combining or interesecting them. You can even take the true complement of a set (create the set of all things not in the set), which is not possible with IEnumerable. To make this possible, there has to be no operations that imply ordering. You simply cannot say "Get me the first item of a set". It makes no sense mathematically.
I also had a bag concept, but over the last week (and through our conversations) realized that it wasn't very useful practically, and I'll be removing it.

There's nothing wrong with a Bag (MultiSet). While the use cases are uncommon they are not rare I'd say.
I could represent the items in a Shopping Cart for instance. The order doesn't matter and I can have the same item multiple times. I also don't have to assume every item has a SKU number or some other common ID scheme.


Confusing username availability API

The API to check availability of a username (GET /_matrix/client/r0/register/available) communicates the availability by either returning 200 Success or 400 Bad Request with an error code.
However, the response body in a 200 Success return also contains an object wrapping a boolean available value. This value is described in the spec as always being set to true when returned in a 200 response. Which in effect means "this is a constant true value", because the available boolean does not exist on non-200 responses. So it doesn't really fill any purpose.
This feels a bit confusing. Adding to the confusion is the fact that when a username is taken the API responds by telling the caller "your API request was invalid", when that shouldn't be the case. Asking if the username "Foo" is taken is a valid request, even if the username happens to be taken (in my mind, at least).
Maybe this can be changed to be less confusing? Changing what it returns would likely be a breaking change though.

After some deliberation with myself, I think this needs a MSC to change the behaviour. Although awkward, the API is used in practice, and does have an easily identifiable error code for when the username is in use. I'd definitely support a MSC which was somehow backwards compatible and made the success property mean something.


Feat(torii): Support subscription by id

Add subscription by id to entities and components

if id is not provided, then subscribe to all entities/components
if id is provided, then subscribe to only the entity/component with that id
if the id provided does not match with the entity/component id, then don't send anything, keep still listening

Partially solves #879

@broody Thanks. Now all the tests have passed


Failed to download the PGO profile for Win64

Windows 11
λ set PATH=path\to\depot_tools;%PATH%
λ py build/src/tools/update_pgo_profiles.py --target=win64 update --gs-url-base=chromium-optimization-profiles/pgo_profiles
The system cannot find the file paht\to\depot_tools\python3_bin_reldir.txt.

depot_tools is download at
https://commondatastorage.googleapis.com/chrome-infra-docs/flat/depot_tools/docs/html/depot_tools_tutorial.html#_setting_up
the actual download link is
https://storage.googleapis.com/chrome-infra/depot_tools.zip

After running gclient.bat, errors as below
E:\ungoogled-chromium-windows>py build/src/tools/update_pgo_profiles.py --target=win64 update --gs-url-base=chromium-optimization-profiles/pgo_profiles
INFO 1010 10:47:28.044000 util.py] Retrying request, attempt #3...
INFO 1010 10:47:37.940000 util.py] Retrying request, attempt #4...
INFO 1010 10:47:57.836000 util.py] Retrying request, attempt #5...
INFO 1010 10:48:31.567000 util.py] Retrying request, attempt #6...
INFO 1010 10:49:06.234000 util.py] Retrying request, attempt #7...
INFO 1010 10:49:41.697000 util.py] Retrying request, attempt #8...
INFO 1010 10:50:16.425000 util.py] Retrying request, attempt #9...
INFO 1010 10:51:07.719000 util.py] Retrying request, attempt #10...
INFO 1010 10:51:42.524000 util.py] Retrying request, attempt #11...
INFO 1010 10:52:17.319000 util.py] Retrying request, attempt #12...
INFO 1010 10:52:52.053000 util.py] Retrying request, attempt #13...
INFO 1010 10:53:26.800000 util.py] Retrying request, attempt #14...
INFO 1010 10:54:01.504000 util.py] Retrying request, attempt #15...
INFO 1010 10:54:36.313000 util.py] Retrying request, attempt #16...
INFO 1010 10:55:11.072000 util.py] Retrying request, attempt #17...
INFO 1010 10:55:45.839000 util.py] Retrying request, attempt #18...
INFO 1010 10:56:20.604000 util.py] Retrying request, attempt #19...
INFO 1010 10:56:55.346000 util.py] Retrying request, attempt #20...
INFO 1010 10:57:30.201000 util.py] Retrying request, attempt #21...
INFO 1010 10:58:04.909000 util.py] Retrying request, attempt #22...
Traceback (most recent call last):
  File "E:\ungoogled-chromium-windows\build\src\third_party\depot_tools\external_bin\gsutil\gsutil_4.28\gsutil\gsutil", line 22, in <module>
    gsutil.RunMain()
  File "E:\ungoogled-chromium-windows\build\src\third_party\depot_tools\external_bin\gsutil\gsutil_4.28\gsutil\gsutil.py", line 114, in RunMain
    sys.exit(gslib.__main__.main())
  File "E:\ungoogled-chromium-windows\build\src\third_party\depot_tools\external_bin\gsutil\gsutil_4.28\gsutil\gslib\__main__.py", line 381, in main
    perf_trace_token=perf_trace_token, user_project=user_project)
  File "E:\ungoogled-chromium-windows\build\src\third_party\depot_tools\external_bin\gsutil\gsutil_4.28\gsutil\gslib\__main__.py", line 567, in _RunNamedCommandAndHandleExceptions
    user_project=user_project)
  File "E:\ungoogled-chromium-windows\build\src\third_party\depot_tools\external_bin\gsutil\gsutil_4.28\gsutil\gslib\command_runner.py", line 319, in RunNamedCommand
    return_code = command_inst.RunCommand()
  File "E:\ungoogled-chromium-windows\build\src\third_party\depot_tools\external_bin\gsutil\gsutil_4.28\gsutil\gslib\commands\cp.py", line 1139, in RunCommand
    seek_ahead_iterator=seek_ahead_iterator)
  File "E:\ungoogled-chromium-windows\build\src\third_party\depot_tools\external_bin\gsutil\gsutil_4.28\gsutil\gslib\command.py", line 1372, in Apply
    arg_checker, should_return_results, fail_on_error)
  File "E:\ungoogled-chromium-windows\build\src\third_party\depot_tools\external_bin\gsutil\gsutil_4.28\gsutil\gslib\command.py", line 1418, in _SequentialApply
    args = args_iterator.next()
  File "E:\ungoogled-chromium-windows\build\src\third_party\depot_tools\external_bin\gsutil\gsutil_4.28\gsutil\gslib\name_expansion.py", line 622, in next
    name_expansion_result = self.current_expansion_iter.next()
  File "E:\ungoogled-chromium-windows\build\src\third_party\depot_tools\external_bin\gsutil\gsutil_4.28\gsutil\gslib\plurality_checkable_iterator.py", line 65, in _PopulateHead
    e = self.base_iterator.next()
  File "E:\ungoogled-chromium-windows\build\src\third_party\depot_tools\external_bin\gsutil\gsutil_4.28\gsutil\gslib\name_expansion.py", line 265, in __iter__
    for (names_container, blr) in post_step3_iter:
  File "E:\ungoogled-chromium-windows\build\src\third_party\depot_tools\external_bin\gsutil\gsutil_4.28\gsutil\gslib\plurality_checkable_iterator.py", line 65, in _PopulateHead
    e = self.base_iterator.next()
  File "E:\ungoogled-chromium-windows\build\src\third_party\depot_tools\external_bin\gsutil\gsutil_4.28\gsutil\gslib\name_expansion.py", line 468, in __iter__
    for (names_container, blr) in self.tuple_iter:
  File "E:\ungoogled-chromium-windows\build\src\third_party\depot_tools\external_bin\gsutil\gsutil_4.28\gsutil\gslib\plurality_checkable_iterator.py", line 65, in _PopulateHead
    e = self.base_iterator.next()
  File "E:\ungoogled-chromium-windows\build\src\third_party\depot_tools\external_bin\gsutil\gsutil_4.28\gsutil\gslib\name_expansion.py", line 432, in __iter__
    for blr in self.blr_iter:
  File "E:\ungoogled-chromium-windows\build\src\third_party\depot_tools\external_bin\gsutil\gsutil_4.28\gsutil\gslib\plurality_checkable_iterator.py", line 65, in _PopulateHead
    e = self.base_iterator.next()
  File "E:\ungoogled-chromium-windows\build\src\third_party\depot_tools\external_bin\gsutil\gsutil_4.28\gsutil\gslib\wildcard_iterator.py", line 476, in IterAll
    expand_top_level_buckets=expand_top_level_buckets):
  File "E:\ungoogled-chromium-windows\build\src\third_party\depot_tools\external_bin\gsutil\gsutil_4.28\gsutil\gslib\wildcard_iterator.py", line 177, in __iter__
    fields=get_fields)
  File "E:\ungoogled-chromium-windows\build\src\third_party\depot_tools\external_bin\gsutil\gsutil_4.28\gsutil\gslib\cloud_api_delegator.py", line 253, in GetObjectMetadata
    bucket_name, object_name, generation=generation, fields=fields)
  File "E:\ungoogled-chromium-windows\build\src\third_party\depot_tools\external_bin\gsutil\gsutil_4.28\gsutil\gslib\gcs_json_api.py", line 783, in GetObjectMetadata
    global_params=global_params)
  File "E:\ungoogled-chromium-windows\build\src\third_party\depot_tools\external_bin\gsutil\gsutil_4.28\gsutil\gslib\third_party\storage_apitools\storage_v1_client.py", line 1086, in Get
    download=download)
  File "E:\ungoogled-chromium-windows\build\src\third_party\depot_tools\external_bin\gsutil\gsutil_4.28\gsutil\third_party\apitools\apitools\base\py\base_api.py", line 720, in _RunMethod
    http, http_request, **opts)
  File "E:\ungoogled-chromium-windows\build\src\third_party\depot_tools\external_bin\gsutil\gsutil_4.28\gsutil\third_party\apitools\apitools\base\py\http_wrapper.py", line 341, in MakeRequest
    check_response_func=check_response_func)
  File "E:\ungoogled-chromium-windows\build\src\third_party\depot_tools\external_bin\gsutil\gsutil_4.28\gsutil\third_party\apitools\apitools\base\py\http_wrapper.py", line 391, in _MakeRequestNoRetry
    redirections=redirections, connection_type=connection_type)
  File "E:\ungoogled-chromium-windows\build\src\third_party\depot_tools\external_bin\gsutil\gsutil_4.28\gsutil\third_party\httplib2\python2\httplib2\__init__.py", line 1659, in request
    (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
  File "E:\ungoogled-chromium-windows\build\src\third_party\depot_tools\external_bin\gsutil\gsutil_4.28\gsutil\third_party\httplib2\python2\httplib2\__init__.py", line 1399, in _request
    (response, content) = self._conn_request(conn, request_uri, method, body, headers)
  File "E:\ungoogled-chromium-windows\build\src\third_party\depot_tools\external_bin\gsutil\gsutil_4.28\gsutil\third_party\httplib2\python2\httplib2\__init__.py", line 1319, in _conn_request
    conn.connect()
  File "E:\ungoogled-chromium-windows\build\src\third_party\depot_tools\external_bin\gsutil\gsutil_4.28\gsutil\third_party\httplib2\python2\httplib2\__init__.py", line 1069, in connect
    self.ssl_version, self.host)
  File "E:\ungoogled-chromium-windows\build\src\third_party\depot_tools\external_bin\gsutil\gsutil_4.28\gsutil\third_party\httplib2\python2\httplib2\__init__.py", line 97, in _ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=hostname)
  File<EMAIL_ADDRESS>line 369, in wrap_socket
    _context=self)
  File<EMAIL_ADDRESS>line 599, in __init__
    self.do_handshake()
  File<EMAIL_ADDRESS>line 828, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:727)
Traceback (most recent call last):
  File "build/src/tools/update_pgo_profiles.py", line 154, in <module>
    sys.exit(main())
  File "build/src/tools/update_pgo_profiles.py", line 150, in main
    return args.func(args)
  File "build/src/tools/update_pgo_profiles.py", line 90, in _update
    raise RuntimeError('gsutil failed to download "%s"' % gs_path)
RuntimeError: gsutil failed to download "gs://chromium-optimization-profiles/pgo_profiles/chrome-win64-4606-1632147900-c5fefe97ce543e9ae30eae162df995bba6bc91d1.profdata"

It probably has something to do with GFW. Maybe try a VPN out?

Unlike VPNs, a program will not use http proxy unless it explicitly supports it.
You might need to configure depot_tools to use http proxy.
http://looooj.github.io/blog/depot_tools/2016/11/27/depot_tools.html
https://gist.github.com/nickdiego/2b2faa35f5ab48e7438ee434d2756765

path\to\depot_tools\depot_tools.gitconfig
[http]
proxy = http://<IP_ADDRESS>:8889
[https]
proxy = http://<IP_ADDRESS>:8889

path\to\depot_tools\g.bat
set HTTP_PROXY=http://<IP_ADDRESS>:8889
set HTTPS_PROXY=http://<IP_ADDRESS>:8889
set PATH=path\to\depot_tools;%PATH%
gclient.bat

g.bat
(no error)

%USERPROFILE%.boto
[Boto]
proxy = <IP_ADDRESS>
proxy_port = 8889
proxy_type = http

set PATH=path\to\depot_tools;%PATH%
set NO_AUTH_BOTO_CONFIG=%USERPROFILE%\.boto
py build/src/tools/update_pgo_profiles.py --target=win64 update --gs-url-base=chromium-optimization-profiles/pgo_profiles
INFO 1010 16:38:15.220000 util.py] Retrying request, attempt #3...                                                                                INFO 1010 16:38:26.637000 util.py] Retrying request, attempt #4...                                                                                INFO 1010 16:38:42.219000 util.py] Retrying request, attempt #5...                                                                                INFO 1010 16:39:16.939000 util.py] Retrying request, attempt #6...
...

No idea, but it seems that depot_tools doesn't use the proxy to download the pgo profile.
You can disable GPO and ThinLTO if VPN is not an option.


Add transformation test make target and docs

Description
This PR adds make targets for transformation tests, as well as usage docs.
Some other things were fixed incidentally:

Running the precommit_update target yielded numerous files missing license headers
Fixed warnings in transformation_test.go

Related issue
These updates will feed into updating the otelopscol version.
How has this been tested?
All make targets have been run.
Checklist:

Unit tests

[x] Unit tests do not apply.
[ ] Unit tests have been added/modified and passed for this PR.

Integration tests

[x] Integration tests do not apply.
[ ] Integration tests have been added/modified and passed for this PR.

Documentation

[x] This PR introduces no user visible changes.
[ ] This PR introduces user visible changes and the corresponding documentation change has been made.

Minor version bump

[x] This PR introduces no new features.
[ ] This PR introduces new features, and there is a separate PR to bump the minor version since the last release already.
[ ] This PR bumps the version.

Something that I want to do over FixIt is to clean up the Makefile and make it better since I'm much better at writing make than I was when I first made the Makefile. Also, our update to goccy/go-yaml is dependent on making some transformation_test updates, which are really hard to do right now without these make targets. So provided CI passes, I am going to merge this and address the feedback when I do the cleanup during the FixIt.


Configuration Names and Descriptions as Variables

I've added variables for configuration names and descriptions to make one set of variables that need updated to update the configurations throughout the entire script.
This will make the script easier to customize for people who want different names and application sets for their configurations.

The only issue I see with this is it implies a limitation of three configurations which is not the case, you can have as many as you want / need.

Thanks, @theadamcraig!
Fair point, @drtaru, but I do see this as an improvement of the currently hard-coded Configuration labels we're using internally.

@theadamcraig: I just changed the base branch from main  to 1.11.0 and there are now conflicts.
Please resolve. Thanks.

I've updated to resolve  the conflicts.
@drtaru I hope that these changes will help users who want to add a 4th, or more, configurations find out where they need to be updated by being able to easily search and find variable names.


Extend WrldMarkerController with clustering

See https://github.com/Leaflet/Leaflet.markercluster for comparison

Tracked internally


Continuous Authorization Request on TV Screen with Samsung The Frame TV (2022 model)

Describe the bug
The integration keeps on sending authorization requests to both the TV I have (Samsung the Frame 85 and 65, model 2022)
Expected behavior
Connectivity should be stable
Environment details:

Environment (HASSIO, Raspbian, etc): Core
Home Assistant version installed: 2023.6.0
Component version installed: v.0.11.6
Last know working version: never worked
TV model: Samsung the Frame 85/65 model 2022

Output of HA logs
2023-07-07 11:13:11.918 WARNING (MainThread) [homeassistant.components.samsungtv] Unexpected ConnectionFailure trying to get remote for <IP_ADDRESS>, please report this issue: ConnectionFailure({'event': 'ms.channel.timeOut'})

Additional context
The TV is connected to the NW switch via ethernet cable and has a stable connection.

I already tried that before, still not working.

I'm encountering the same issue with my QE77S95C, which happens to be the latest model of 2023. However, this problem doesn't occur with other connected devices, such as my iPhone. The permission was only requested once.

The solution proposed by Ollo69 appears to have resolved all of my related issues, not just the popups that were occurring upon every restart of Home Assistant. Additionally, I deleted the SmartThings integration in HA. To ensure thoroughness, I also reinitialized the SmartThings API key by first deleting the previous one and then granting access only to the items specified in the guides. Previously, I had granted access to all items. Another step I took was to navigate to the network settings on the TV: Settings -> Network -> Expert Settings, and I enabled "IP Remote." These actions, collectively, seem to have resolved all of my problems.

The solution proposed by Ollo69 appears to have resolved all of my related issues, not just the popups that were occurring upon every restart of Home Assistant. Additionally, I deleted the SmartThings integration in HA. To ensure thoroughness, I also reinitialized the SmartThings API key by first deleting the previous one and then granting access only to the items specified in the guides. Previously, I had granted access to all items. Another step I took was to navigate to the network settings on the TV: Settings -> Network -> Expert Settings, and I enabled "IP Remote." These actions, collectively, seem to have resolved all of my problems.

Unfortunatelly after writing this...I found to do not be true at 100%. One thing remains unsolved in my case....I had put the mediaplayer entity of the Tv on the dashboard. Even if the Tv is on, after a while...i cannot tell exactly how much time, it seems to me to do not be the same every time, probably 5 or 10 minutes, the entity shows to be off....to make it work again, I have to turn off the tv using its remote and when I turn it on again with its remote, the mediaplayer entity goes online again, again for a while and then the same issue...while the entity shows it is only I can do everything and everything works. Once on the dashboard it show that it is off, nothing works anymore.....I do not know if it is better to open a new post for this or it could be find a solution also here....

This issue is persisting despite doing everything that is described as a solution in all those issue reports. And it's very annoying first, and second if you don't approve the notification on time, the integration looses control of the TV, so it can't be turned off, for example, when you're leaving home and you have an automation that turns everything off, you see the notification popping up, and you have to go to the TV and approve, else the TV stays on.
I realize that the TV is not storing the approval of notification, and although you can see Home Assistant among the approved devices, the TV is asking it again. Isn't it anything that can be done to solve this? Else it becomes impossible to use this integration on a regular bases.

I don't think it's about the integration... It solely depends on the TV's faulty firmware. I experienced the same issue with my S95C. After several resets of the TV and toggling all the notifications in the TV menu on and off, it started working.

I don't think it's about the integration... It solely depends on the TV's faulty firmware. I experienced the same issue with my S95C. After several resets of the TV and toggling all the notifications in the TV menu on and off, it started working.

Ok, intuitively I can sense that the issue must be with the TV's firmware, but one argument against that is that I have 2 different Samsung models with different firmware versions and different year of manufacture, and it happens on both, and second, why isn't it asking approval for all the other devices connected to the TVs?

I had the exact same problems with my Samsung S95C initially. It worked for other devices but not for Home Assistant. After resetting and frequently changing the settings, the annoying pop-ups finally stopped. Honestly, I don't remember the exact reason, so it seemed rather random. Please note that you have to disable the notifications and give approval. Also, be aware that if you hard restart Home Assistant, it might prompt you again. If it still doesn’t work, your last resort for turning the TV on and off is to use an external device. In my case, I have a Google Chromecast attached to the TV. With the Google devices in my house, I can control the TV using Google Chromecast. Alternatively, if you use Node-RED, you can create flows to manage this. If you have an Apple TV, I believe you can do the same.

I understand the frustration of people that continuously receive popup notification on the TV, but let me say that the process is very simple:

Try first connection with the TV (without a token) -> during this phase the popup is shown on the TV and when the user confirm the token is generated and sent back to the integration
The integration store the token in the config entry
Next time the integration try to connect, it use the stored token. If the TV consider the token not valid anymore, a new popup is shown and a new token is released, and the integration replace the previous one with the new one.

The reason for which the previous token is not considered valid anymore, can vary, I put here just a couple of cases that I know:

The TV is configured to always ask for authorization (and not only the first time) -> in this case the token is not considered valid all the time, popup always appear
Other Integrations / software from the same HW try to communicate with the TV (this is the typical case where multiple Samsung TV integration are enabled and configured) -> in this case the TV probably invalidate the token because another integration try to connect with a different one. It is important to have only 1 integration configured, all the others should be disabled / removed. I'm thinking about implement a notification message to alert about another TV integration configured  (eg. the native one, that BTW use auto-discovery and must be ignored!!!).

I do not have any element to understand exactly what happen, one possible option is enable the debug log for integration to analyze the log when token is requested again.
In my case I have a 2022 Samsung TV configured from about 1 year, never received popup after first configuration.
For now I reopen this issue, just to see if someone can provide additional information.

I would add just another think: could somebody test if native integration have the same issue?

I would add just another think: could somebody test if native integration have the same issue?

Frankly, I was considering the same thing the last days, to install the native integration and test it. The issue is that I started using your integration from the beginning, I never used the native, and never wanted to use it, so it always stayed as "ignored'. (By the way, thanks for all the effort made).
And of course the "ask for authorization only the first time" setting was always enabled.
I will follow your advice and enable the integration's debug. It must be done in the integration's page, right?

Honestly I would be surprised discovering that native integration do not have the same issue, but in that case I will further investigate in possible difference between the 2 integration.
The real limitation of native integration is that it doesn't use SmartThings and this limit a lot the controls for the TV, especially for the part related to the control and information about sources and channels

Honestly I would be surprised discovering that native integration do not have the same issue, but in that case I will further investigate in possible difference between the 2 integration. The real limitation of native integration is that it doesn't use SmartThings and this limit a lot the controls for the TV, especially for the part related to the control and information about sources and channels.

It must be done in the integration's page, right?

Yes, should exist an option "Enable debug tracing" that I think is enough

* Disabled polling :( -

Can you explain what exactly do you mean by that? What polling?

Your tips worked for me. Thanks a ton!

Currently experiencing the same issue, however, I might have found a way to resolve it.
Additional to ollo69's recommendations, I did the following:

Disable polling for new devices in the native Samsung integration: I managed to do so while removing the configured integration.
Restart Home Assistant: I noticed that HA kept sending permission request, even while both integrations were deleted

@MrBlue90 Thanks! I can confirm that I've solved the issue by:

Removing all configured "SamsungTV Smart" devices
Restart HA

My TV kept showing the permission popup even after i removed the devices. It didn't stop until i restarted HA.
After going through the steps i mentioned above, the connection seems stable.


Fix for #192: improve OpenTherm/OnOff boiler detection

Should fix https://github.com/home-assistant/core/issues/72305


Grammar on Github.IO page

Call me a pedant, but:

Lot's of fixes to designer serialization

Should be:

Lots of fixes to designer serialization

Some persons here are not anglo speakers... like me... for example... be patient and of course...just help us.

I know, I didn't mean that in a judgemental way, was just trying to help :)

;)
On Thu, 2 Mar 2017, 08:55 James Hughes<EMAIL_ADDRESS>wrote:

I know, I didn't mean that in a judgemental way, was just trying to help :)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/thielj/MetroFramework/issues/84#issuecomment-283634317,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AD_PSlOulyGB23RBIH9-3tSl6DC-saNLks5rhq5HgaJpZM4MQ4Ir
.

--
MARCELO L. PONCE F.
Analista de Sistemas de Computación.
Cel: 3385-403708


allow configuration like p6spy

p6spy allows to configure that database connection like this:
url=jdbc:p6spy:hsqldb:mem:data
driver=com.p6spy.engine.spy.P6SpyDriver
That way I can connect to a hsql database without changing the source just by changing the URL and the driver.
see http://p6spy.readthedocs.io/en/latest/index.html
It would be pretty cool if that would be possible using "datasource-proxy". Currently I cannot use it without changing the code of a hibernate application.

Thanks for the suggestion.
It sounds good. I'll take a look for how it's been done.

Thanks for the idea.
Currently, I'm not planning to implement datasource-proxy to behave like database driver. (i.e.: to allow configuration via connection string)
Will reconsider when time comes.
Closing for now.


Different results between the search engine scraper and google

Hello,
Thanks for the outstanding library!
I recently faced an issue with different results when using the scraper.
Search query is PROCTER & GAMBLE CO sustainability report.
From google web query, I can get the results as following:

However, when I use scraper,
from search_engines import Google
from googlesearch import search

query = 'PROCTER & GAMBLE CO sustainability report'
results = engine.search(query, 1)
links = results.links()

The output links are:
https://us.pg.com/
https://twitter.com/ProcterGamble?ref_src=twsrc^google|twcamp^serp|twgr^author
https://en.wikipedia.org/wiki/Procter_&_Gamble
https://www.pgcareers.com/
https://www.linkedin.com/company/procter-and-gamble
https://www.facebook.com/proctergamble/
https://pginvestor.com/

May I know why this happens? How can I get the consistent result?
Many thanks!

I find the issue.
It is due to & in the query. If I change the query to PROCTER and GAMBLE CO sustainability report. The output will be:
https://us.pg.com/sustainability-reports/
https://www.pg.co.uk/environmental-sustainability/
https://www.sustainability-reports.com/company/procter-gamble-nederland-bv/
https://www.responsibilityreports.com/Company/procter-gamble-co
https://www.pginvestor.com/esg/esg-overview/
https://www.knowesg.com/esg-ratings/the-procter-and-gamble-company
https://assets.ctfassets.net/oggad6svuzkv/6BTnYGZ9raiy4is806wCkI/dfb3ae4d8c1304f24ece241f643aed7f/2010_Full_Sustainability_Report.pdf

Is there any way to solve this problem except change the character?


New code insertion is inconsistent with middlewares

I've been looking to add in a middleware that does contract analysis whenever new code is discovered. I looked for similar ideas that already are in the codebase, but many implementations are inconsistent. Want to note these down.
I think the best thing to do is use invoke_middleware!(..., on_insert) consistently everywhere possible.
Coverage middleware
✅ uses on_insert as middleware step.
👎 in evm_fuzzer(), it specifically calls out coverage.on_insert rather than invoking all middleware with invoke_middleware!(..., on_insert)
https://github.com/fuzzland/ityfuzz/blob/98407247b8bb5c38d7e2713fa822123f72e25d4b/src/fuzzers/evm_fuzzer.rs#L303-L311
Flashloan middleware
👎 uses on_contract_insertion() rather than on_insert() for contract code
👎 uses handle_contract_insertion!() macro
invoke_middleware!()
👎 specifically references flashloan middleware rather than doing it in the middleware iteration
https://github.com/fuzzland/ityfuzz/blob/98407247b8bb5c38d7e2713fa822123f72e25d4b/src/evm/host.rs#L984-L1008
bytecode_analyzers::add_analysis_result_to_state()
This is done to add ConstantHints to dictionary
✅ done on contracts ityfuzz inits with corpus_initializer.rs::initialize_contract()
✅ done on newly loaded onchain code in load_code()
👎 not done on newly deployed code through the CREATE and CREATE2 opcodes in runtime
Host set_code()
✅ done on contracts ityfuzz inits with corpus_initializer.rs::initialize_contract()
✅ done on newly loaded onchain code in load_code()
✅ done on newly deployed code through the CREATE and CREATE2 opcodes in runtime
✅ calls invoke_middleware!(..., on_insert)
👎 doesn't call bytecode_analyzers::add_analysis_result_to_state()

Nice catches.

I think the best thing to do is use invoke_middleware!(..., on_insert) consistently everywhere possible.

I agree. @shouc Can you confirm if there's specific concerns not using invoke_middleware or just out of date code?

Yeah I agree. The reason that flashloan middleware is left alone is because flashloan middleware is used in each fuzzing iteration to record the fund changes. Going through a loop every iteration just to find flashloan middleware is a bit costly.

👎 not done on newly deployed code through the CREATE and CREATE2 opcodes in runtime
This is ignored because we found adding created contracts during fuzzing can significantly impact the performance. For example, when fuzzing Uniswap Factory, it would deploy millions of pools (contracts), which would stall the fuzzer. Also, these contracts created on the fly are not added to the state but instead directly added to the shared code hashmap used by all states. So, ItyFuzz disallows creating contracts during fuzzing.

Maybe add a flag to not ignore CREATE and CREATE2? In some situations you may want to sacrifice some performance to find a vulnerability or break an invariant which is possible only when a new contract is created dynamically.


Is it possible to catch a build-time error during a dynamic import?

Precheck

[X] I searched existing issues before opening this one to avoid duplicates
[X] I understand tsx aims for TypeScript parity and will not support arbitrary Node.js enhancements
[X] This request cannot be made to Node.js directly, and is specific to tsx
[X] I understand this form is not for addressing a bug or seeking help

Feature request
I have a codegen task watching a directory for changes and whenever there is a malformed TS file, TSX will throw a esbuild error and exit the watcher. I wish I could try-catch this error so the watcher restarts the task.
Motivations
I don't know if it's expected but I think it's a bit unintuitive that I can't trust this:
try {
   await import('./something')
} catch (e) {
   console.log(e)
}

Alternatives
No response
Additional context
No response
Contributions

[ ] I plan to open a pull request for this issue
[ ] I plan to make a financial contribution to this project

Not really sure what you're asking/reporting

Also have this issue. I'm dynamically importing a path, and if that file has a syntax error in it, the watcher will crash and I need to restart the whole process.
In Node, you can catch the error like so:
try {
  const x = await import(`./file-with-syntax-error.js`);
  console.log(x);
} catch (e) {
  console.log(`caught error in try/catch block`);
  console.error(e);
}

But with tsx, esbuild throws and error and exits the process:

I supposed I could run nodemon or something to get around this, but was wondering if I could somehow catch the error on a dynamic require/import.

Ooh gotcha. The original issue didn't explain that dynamic import errors can't be caught. Thanks for explaining.
This would be a bug, and possibly related to https://github.com/privatenumber/tsx/issues/493

Okay thank you - that is also the issue i have. I think we can close this as a dupe.


Bulk update with csv

As ...
Dan - Data Owner
I want ...
to have bulk update feature supporting csv (not just bulk import) which can update just some attributes of objects (e.g. update only custom field with different values for all devices).
So that ...
anyone who can't code (many people in a firm) or can't use mass edit (due to different values for a field) but knows how to work with csv/excel (almost "anyone" :-) ) can easily update data which they are responsible for.
By using Excel (or similar tool), Dan can edit values within known editor, edit just a single column (or a minimal set of data) relevant for the change + keeping columns for matching object in Nautobot (name, tenant, site or uuid that could be a part of export?) and then use the bulk update as a simple process to upload modified data.
This allows more people in teams to keep data up-to-date.
I know this is done when...

A bulk update button is present in GUI
Only a UUID (or other column(s) used for matching) is required
Updating just some objects with data subset is processed without raising an error (e.g. missing model required fields etc.).

Optional - Feature groups this request pertains to.

[ ] Automation
[ ] Circuits
[X] DCIM
[X] IPAM
[ ] Misc (including Data Sources)
[ ] Organization
[ ] Plugins (and other Extensibility)
[ ] Security (Secrets, etc)
[ ] Image Management
[ ] UI/UX
[ ] Documentation
[ ] Other (not directly a platform feature)

Database Changes

External Dependencies

This should probably be tackled as part of the broader work on improving symmetry between import and export.

Should be possible via a REST API PATCH request with a text/csv content-type after #3722 is merged and released. Will need to be tested and confirmed though.

Closely linked to #6166 given that the CSV handling uses the REST serializers under the hood.

So I've started on PR #6340. I've only added the ability to supply the id thus far but I think it's working. There's a CSV round trip test that's failing because it's getting back 2 objects when it expected 4 objects currently. When I read the test code it's loading 2 objects from the existing DB and changing the name of both objects and uploading them. It then checks how many objects exist. Using the existing code the answer is 4 because even though the CSV file had an id for each object, it was ignored and new objects were made with new id's. But with my change you're updating the existing objects.
Is that the behavior that's expected to close out this issue? If so I'll work on adding tests and fixing up the branch.

Sounds terrific to me! Changing the test makes sense in that case.

If I understand you right, I think you might be able to just chain the .restrict calls (objects.restrict(request.user, "add").restrict(request.user, "change")) but I haven't tested that theory.

Just to make this ticket up to date. Going to land the creation part without the CSV bulk update. It will detect duplicate entries now instead of creating them with new IDs. So if you want things duplicated you will need to change the IDs or just delete that column from your CSV data. A future update will fix up the bulk update.


Correcting typo in code comment

Correcting a minor typo in the a code sample

Hi @lorenpaulsen, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no contribution license agreement is required at this point. Real humans will now evaluate your PR.

TTYL, AZPRBOT;

@tamram - Could you review this update from @lorenpaulsen and let me know if it can be merged?

Looks great. Thank you @lorenpaulsen for your contribution.

@tysonn, please merge.