terminate when running SurfelMap.cpp

Hi, Could you help me with this problem? Thank you very much!
I run this command
./bin/visualizer ./SuMa/config/default.xml
Terminal output is following  :
OpenGL Context Version 3.3 core profile
GLEW initialized.
OpenGL context version: 3.3
OpenGL vendor string  : VMware, Inc.
OpenGL renderer string: llvmpipe (LLVM 8.0, 256 bits)
Extracting surfel maps partially.
OpenGL Error: invalid enumerant(1280)
In: /home/Mine/slam/code/catkin_suma/src/SuMa/src/core/SurfelMap.cpp on Line: 298
terminate called after throwing an instance of 'std::runtime_error'
what():  OpenGL error detected.

Hi @qiaozhijian,
sorry for the delay, but I was quite busy with some other stuff.
I would suggest that you run the code without a virtual machine with a real graphics driver. I don't know if the VMWare OpenGL implementation supports all operations needed by our code. It might be that I used some operation that is not strictly supported by OpenGL 3.3 Core Profile. Therefore, I would suggest that you have a real NVIDIA or AMD or Intel GPU driver, since they usally support at least OpenGL 4.0 and usally also more then the Core Profile asks for.

Hi @qiaozhijian,
sorry for the delay, but I was quite busy with some other stuff.
I would suggest that you run the code without a virtual machine with a real graphics driver. I don't know if the VMWare OpenGL implementation supports all operations needed by our code. It might be that I used some operation that is not strictly supported by OpenGL 3.3 Core Profile. Therefore, I would suggest that you have a real NVIDIA or AMD or Intel GPU driver, since they usally support at least OpenGL 4.0 and usally also more then the Core Profile asks for.

Thank you. But I don't know why it outputs "OpenGL vendor string : VMware, Inc." while my device is equipped with GTX1070. I will try to work it out again. Maybe there are some problems in my Ubuntu.

Hi @qiaozhijian,
sorry for the delay, but I was quite busy with some other stuff.
I would suggest that you run the code without a virtual machine with a real graphics driver. I don't know if the VMWare OpenGL implementation supports all operations needed by our code. It might be that I used some operation that is not strictly supported by OpenGL 3.3 Core Profile. Therefore, I would suggest that you have a real NVIDIA or AMD or Intel GPU driver, since they usally support at least OpenGL 4.0 and usally also more then the Core Profile asks for.

I have solved the problem by reinstall nvidia-drive. Thank you!
But the new problem ocurrs when I open a ".bin" file
OpenGL Context Version 4.6 core profile
GLEW initialized.
OpenGL context version: 4.6
OpenGL vendor string  : NVIDIA Corporation
OpenGL renderer string: GeForce GTX 1070/PCIe/SSE2
Extracting surfel maps partially.
Performing frame-to-model matching.
Gtk-Message: 21:24:21.687: GtkDialog mapped without a transient parent. This is discouraged.
calibration filename: /media/qzj/Document/grow/slam/slamDataSet/kitti/data_odometry_velodyne/dataset/00/calib.txt...段错误 (核心已转储)

You need to download the extra calibration files containing a line starting  withTr that is available as extra download on the odometry benchmark website.

You need to download the extra calibration files containing a line starting withTr that is available as extra download on the odometry benchmark website.

OK, thank you~!

Hi @qiaozhijian,
sorry for the delay, but I was quite busy with some other stuff.
I would suggest that you run the code without a virtual machine with a real graphics driver. I don't know if the VMWare OpenGL implementation supports all operations needed by our code. It might be that I used some operation that is not strictly supported by OpenGL 3.3 Core Profile. Therefore, I would suggest that you have a real NVIDIA or AMD or Intel GPU driver, since they usally support at least OpenGL 4.0 and usally also more then the Core Profile asks for.

I have solved the problem by reinstall nvidia-drive. Thank you!
But the new problem ocurrs when I open a ".bin" file
OpenGL Context Version 4.6 core profile
GLEW initialized.
OpenGL context version: 4.6
OpenGL vendor string : NVIDIA Corporation
OpenGL renderer string: GeForce GTX 1070/PCIe/SSE2
Extracting surfel maps partially.
Performing frame-to-model matching.
Gtk-Message: 21:24:21.687: GtkDialog mapped without a transient parent. This is discouraged.
calibration filename: /media/qzj/Document/grow/slam/slamDataSet/kitti/data_odometry_velodyne/dataset/00/calib.txt...段错误 (核心已转储)

How do you solve this problem?Just reinstall nvidia-drive?
I meet the same problem sa you

Could you please open a new issue. In this issue, three different things are discussed. And its hard to help, when you don't know what's exactly the problem. However, as a summary for troubleshooting :

We mainly tested our approach with Nvidia GPUs and drivers provided by Nvidia under Ubuntu 16.04/18.04. Thus, ensure that you have current Nvidia drivers.
We tried to follow the specification of the OpenGL Core Profile and use only functionality described as required, since we made the experience that Intel, Mesa, and ATI often only support the required specifications. However, sometimes there are driver-specifics that we could not test. Please, report such problems and we try to work this out. (Nvidia has a rather feature complete driver and often implements all texture formats, etc. We even experienced that uncompiled shaders got linked by silently compiling them. Very convenient. ;))
The KITTI calibration file contained with the images misses the line Tr: and must be downloaded separately from the KITTI webpage.

Hope that helps.


Assert minimal copier version

The template needs a new key:
# copier.yml
_min_copier_version: v3.1.0

Otherwise the template might fail badly if a template is done for a version that i.e. includes #190 and is executed under a copier that doesn't have it.
@pawamoy You might be interested in this.

Yes, good catch, displaying a warning when the version is too low is way better than starting to generate and fail.

I'd say an error more than a warning... If the templater took the time to write this constraint, it's better to enforce it.

Unfortunately, I don't think it will be possible to write tests for that, because poetry-dynamic-versioning does not work with poetry run, and so we'll not be able to retrieve the current version to compare it to a _min_copier_version.

Mock it:

https://docs.python.org/3/library/unittest.mock.html#unittest.mock.patch
https://docs.pytest.org/en/latest/monkeypatch.html


$resource instance methods

It would be nice to develop $resource with some OOP class functionality such as instance methods. Take this code:
angular.module('app', ['ngResource'])
  .factory('PanelUser', ['$resource', function($resource) {
    return $resource('/api/panel/users/:userId', {
      userId: '@_id'
    }, {
      invite: {
        method: 'POST'
      },
      hasAuthorization: {
        url: '/api/panel/auth/:user',
        params: {
          user: '@user'
        },
        method: 'POST'
      }
    });
  }]);

Now say I instantiate a user var user = new PanelUser(); How can I call user.hasAuthorization() to do some checks on the client. I don't need to make requests to the server, but I need to be able to do it on each user as an instance method. It seems like this functionality isn't present, is there some way to make it a part?

Each method is available on the instances with the $ prefix (although only "non-GET" methods actually make sense (usually)). (E.g. user.$hasInvitation().)
That said, because $resource is meant for interacting with remote data-sources, all class or instance methods will submit HTTP requests.
If you want other methods to be available on instances (e.g. not related to interacting with the data-source), you can use the resource's prototype:
  .factory('PanelUser', ['$resource', function($resource) {
    vaar PanelUser = $resource('/api/panel/users/:userId', {
      userId: '@_id'
    }, {
      invite: {
        method: 'POST'
      },
      hasAuthorization: {
        url: '/api/panel/auth/:user',
        params: {
          user: '@user'
        },
        method: 'POST'
      }
    });

  PanelUser.prototype.someLocalFunc = function () {
    console.log(this._id);
  };

  return PanelUser;
  }]);

Demo fiddle

@gkalpak thanks for the explanation. Is this something that is going to be considered more for Angular 2.0's $resource module?

Considering everything is going to be considered more for Angular 2.0... :smile:
This "consideration" is going to be part of the Data Persistence and more info can be found on the relevant design doc (very interesting read imo).

@ilanbiala we could add some sugar for this but I'm not sure if it is worth it (I mean - additional code in core, new API etc.). I think that what @gkalpak is proposing here is the way to go about things today and it isn't that verbose, IMO.
Putting it in backlog, if anyone feels strongly about adding some convenience method here and can prepare a minimal patch - why not. But this can be easily done today - I mean, just extend the prototype of a generated Resource with all the methods you might need.

You can already do this -- well, sort of. Resource is a constructor, and you can do this:
// (Returned from factory):

class MyResource extends $resource(path, params, staticDefs) {
  constructor() {
    super();

    // set some default properties here! awesome!
  }

  someMethod() {
    return true;
  }
}

// (...)

const myResource = new MyResource();
assert(myResource.someMethod());
assert(myResource.$get);
// tears of joy

The Angular docs show examples of using new SomeResource to create new instances, so it makes sense that this works. Everything's great -- except...
MyResouce.get().$promise.then(myResource =>
  assert(myResource.someMethod()); // <-- fails
);

I could be mistaken, but I think it's because of this:
https://github.com/angular/angular.js/blob/master/src/ngResource/resource.js#L569
The line is
var value = isInstanceCall ? data : (action.isArray ? [] : new Resource(data));

instead of
var value = isInstanceCall ? data : (action.isArray ? [] : new this.constructor(data));

Would changing that make sense, or am I on the wrong track here?

I'm not sure $resource's return value is extensible (in the "class" sense). It has some "static" methods.
But since $resource is a factory, you could wrap your own factory around it (as shown in https://github.com/angular/angular.js/issues/10692#issuecomment-69327003).

@gkalpak The return value of $resource is a constructor which has both static and prototype methods. I ended up doing a local rewrite of ngResource that fixed the this-vs-Resource issue among some other changes; it worked. I think the reference to Resource in that line (as well as the non-array one) is  an error; if one wants to be very safe, it could confirm that this is indeed a Resource before instantiating it, but it shouldn't be hijacking the prototype chain by using a direct reference like that since you end up with some things returning your class and others returning the ancestor class.

The problem I see is with non-instance/class/static methods, where this is by virtue not pointing to an instance. How would you get hold of the correct constructor ?
In any case, it would be awesome if you could submit a PR with a fix (and tests that show it working) :smiley:

I'll put something together, @gkalpak -- for some reason it didn't even occur to me that I could contribute to angular myself. As for confirming you've got the right this, the following logic determines the value of the constructor which will be instantiated with new resource results:

if !this, the method is being called divorced from any context. The constructor to use is, by necessity, Resource.
if this instanceof Resource, we are being called from an instance of Resource, which as a category includes instances of any subclasses of Resource. The constructor to use is this.constructor.
if this.prototype instanceof Resource, we are being called from a constructor which is or inherits from Resource. The constructor to use is this.

@bathos @gkalpak did anything ever happen with this?

I don't think so.


use decoded id for prometheus metrics

WHAT is this pull request doing?
use decoded id for prometheus metris
HOW can this pull request be tested?
Manual

Thanks!
(the terminology is that it is now encoded as a base 32 string. you can't really decode an integer, it is what it is, it can only be encoded (represented) in different ways, as a base 10 string (default for Int#to_s) or now as a base 32 string.)


Spotify Player no longer remembers current playlist, etc

Describe the bug
Previously, Spotify Player used to remember the playlist it was playing. If I was to quit Spotify Player and open it again later on or the next day, it would know the song and playlist from where it left off and continue playing.
Now, for a while (since 0.20 at least) it does not. Whenever Spotify Player is opened it has the message "No playback found. Please start a new playback." From here I have to search for the playlist again and start from the very beginning.
At first I thought it was corruption on my side but I have removed Spotify Players configuration and cache folders and started from the beginning - the problem remains.
To Reproduce

Open Spotify Player
Search for a playlist
Play a few songs
Quit
Re-open Spotify Player
All state is completely lost

Expected behaviour
For the current song that was playing to be remembered along with the playlist.
Log and backtrace
Log from opening up picking a playlist playing a song for a while and then quitting. The last line is simply this:
  47   │ 2024-12-17T11:07:59.507829Z  INFO client_request{request=GetCurrentUserQueue}: spotify_player::client: Successfully handl
       │ ed the client request, took: 188ms

Implying that no state or anything special was stored. All the other entries before were to do with searching for a playlist and playing something, which worked just fine.
... and when loading back in and getting nothing, these are the logs:
   2   │ 2024-12-17T11:10:44.089658Z  INFO spotify_player::state::data: Loading Playlists data from /home/user/.cache/spotify-play
       │ er/Playlists_cache.json...
   3   │ 2024-12-17T11:10:44.089677Z  INFO spotify_player::state::data: Successfully loaded Playlists data!
   4   │ 2024-12-17T11:10:44.089689Z  INFO spotify_player::state::data: Loading FollowedArtists data from /home/user/.cache/spotif
       │ y-player/FollowedArtists_cache.json...
   5   │ 2024-12-17T11:10:44.089707Z  INFO spotify_player::state::data: Successfully loaded FollowedArtists data!
   6   │ 2024-12-17T11:10:44.089710Z  INFO spotify_player::state::data: Loading SavedShows data from /home/user/.cache/spotify-pla
       │ yer/SavedShows_cache.json...
   7   │ 2024-12-17T11:10:44.089716Z  INFO spotify_player::state::data: Successfully loaded SavedShows data!
   8   │ 2024-12-17T11:10:44.089719Z  INFO spotify_player::state::data: Loading SavedAlbums data from /home/user/.cache/spotify-pl
       │ ayer/SavedAlbums_cache.json...
   9   │ 2024-12-17T11:10:44.089724Z  INFO spotify_player::state::data: Successfully loaded SavedAlbums data!
  10   │ 2024-12-17T11:10:44.089727Z  INFO spotify_player::state::data: Loading SavedTracks data from /home/user/.cache/spotify-pl
       │ ayer/SavedTracks_cache.json...
  11   │ 2024-12-17T11:10:44.089751Z  INFO spotify_player::state::data: Successfully loaded SavedTracks data!
  12   │ 2024-12-17T11:10:44.120518Z  INFO spotify_player::auth: Using cached credentials
  13   │ 2024-12-17T11:10:44.120530Z  INFO spotify_player::streaming: Application's connect configurations: ConnectConfig { name:
       │ "spotify-player", device_type: Speaker, is_group: false, initial_volume: Some(45875), has_volume_ctrl: true }
  14   │ 2024-12-17T11:10:44.120538Z  INFO librespot_playback::mixer::softmixer: Mixing with softvol and volume control: Log(60.0)
       │
  15   │ 2024-12-17T11:10:44.120556Z  INFO spotify_player::streaming: Initializing a new integrated player with device_id=[uuid removed]
  16   │ 2024-12-17T11:10:44.120598Z  INFO spotify_player::streaming: Starting an integrated Spotify player using librespot's spir
       │ c protocol
  17   │ 2024-12-17T11:10:44.120727Z  INFO librespot_playback::convert: Converting with ditherer: tpdf
  18   │ 2024-12-17T11:10:44.120747Z  INFO librespot_playback::audio_backend::gstreamer: Using GStreamer sink with format: S16
  19   │ 2024-12-17T11:10:44.266150Z  INFO librespot_core::session: Connecting to AP "ap-gew1.spotify.com:4070"
  20   │ 2024-12-17T11:10:44.360693Z  INFO librespot_core::session: Authenticated as '[random string removed]' !
  21   │ 2024-12-17T11:10:44.360943Z  INFO spotify_player::streaming: New streaming connection has been established!
  22   │ 2024-12-17T11:10:44.360955Z  INFO spotify_player::client: Used a new session for Spotify client.
  23   │ 2024-12-17T11:10:44.360966Z  INFO spotify_player::token: Getting a new authentication token...
  24   │ 2024-12-17T11:10:44.361049Z  INFO librespot_core::session: Country: "GB"
  25   │ 2024-12-17T11:10:44.408881Z  INFO spotify_player::token: Got new token: Token { access_token: "[token removed]", expi
       │ res_in: TimeDelta { secs: 3600, nanos: 0 }, expires_at: Some(2024-12-17T12:10:44.408875129Z), refresh_token: None, scopes
       │ : {} }
  26   │ 2024-12-17T11:10:44.409175Z  INFO spotify_player: Starting a client socket at <IP_ADDRESS>:8080
  27   │ 2024-12-17T11:10:44.409593Z  INFO spotify_player::media_control: Initializing application's media control event watcher..
       │ .
  28   │ 2024-12-17T11:10:44.480351Z  INFO client_request{request=GetCurrentUser}: spotify_player::client: Successfully handled th
       │ e client request, took: 70ms
  29   │ 2024-12-17T11:10:44.487800Z  INFO client_request{request=GetUserSavedAlbums}: spotify_player::client: Successfully handle
       │ d the client request, took: 78ms
  30   │ 2024-12-17T11:10:44.494225Z  INFO client_request{request=GetUserSavedShows}: spotify_player::client: Successfully handled
       │  the client request, took: 84ms
  31   │ 2024-12-17T11:10:44.503630Z  INFO client_request{request=GetUserPlaylists}: spotify_player::client: Successfully handled
       │ the client request, took: 94ms
  32   │ 2024-12-17T11:10:44.531048Z  INFO client_request{request=GetUserSavedTracks}: spotify_player::client: Successfully handle
       │ d the client request, took: 121ms
  33   │ 2024-12-17T11:10:44.564177Z  INFO client_request{request=GetUserFollowedArtists}: spotify_player::client: Successfully ha
       │ ndled the client request, took: 154ms
  34   │ 2024-12-17T11:10:45.482523Z  WARN spotify_player::client: No device found. Please make sure you already setup Spotify Con
       │ nect support as described in https://github.com/aome510/spotify-player#spotify-connect.
  35   │ 2024-12-17T11:10:45.482602Z  INFO spotify_player::client: Trying to connect to device (id=c8d6c379-41f2-4b96-b988-0e4fdf0
       │ ad037)
  36   │ 2024-12-17T11:10:45.496433Z  WARN spotify_player::client: No device found. Please make sure you already setup Spotify Con
       │ nect support as described in https://github.com/aome510/spotify-player#spotify-connect.
  37   │ 2024-12-17T11:10:45.496511Z  INFO spotify_player::client: Trying to connect to device (id=c8d6c379-41f2-4b96-b988-0e4fdf0
       │ ad037)
  38   │ 2024-12-17T11:10:45.599654Z  INFO spotify_player::client: Connection succeeded (device_id=c8d6c379-41f2-4b96-b988-0e4fdf0
       │ ad037)!
  39   │ 2024-12-17T11:10:45.603082Z  INFO librespot_connect::spirc: No more tracks left in queue
  40   │ 2024-12-17T11:10:45.603259Z  INFO librespot_core::spclient: Resolved "gew1-spclient.spotify.com:443" as spclient access p
       │ oint
  41   │ 2024-12-17T11:10:45.607727Z  INFO spotify_player::client: Connection succeeded (device_id=c8d6c379-41f2-4b96-b988-0e4fdf0
       │ ad037)!
  42   │ 2024-12-17T11:10:45.653982Z ERROR librespot_connect::spirc: ContextError: Error { kind: NotFound, error: StatusCode(404)
       │ }
  43   │ 2024-12-17T11:10:45.654122Z  INFO librespot_connect::spirc: No more tracks left in queue
  44   │ 2024-12-17T11:10:45.679779Z ERROR librespot_connect::spirc: ContextError: Error { kind: NotFound, error: StatusCode(404)
       │ }

Screenshots
N/A
Environment

OS: Arch Linux
Application version: 0.20.4 (happened before this though)

Additional context
I can see its moaning about Spotify connect. This was NOT needed before however!

I set up Spotify Connect it makes 0 difference anyway.

Kind of glad that its not just me. That would certainly make sense. I guess I raise an issue over there, not sure exactly how to word it mind.
I'm normally using playlists with 1000 or so items in them, so its kind of a pain to keep going back to the start 😅


Wrong brightness percentage

Checklist:

[x] I updated to the latest version available
[x] I cleared the cache of my browser

Release with the issue:
2023.3.6
Last working release (if known):
Browser and Operating System:
Google Chrome 112.0.5615.49, Windows 11

Description of problem:

When changing the brightness of a WLED light, the card sometimes shows a higher brightness percentage than the Home Assistant more-info card.

In this example, WLED reports a brightness level of 97 out of 255, which is 97/255 = 38.04%. It seems like this card rounds the brightness up to 39%, while Home Assistant only rounds up if the brightness level is >= *.5%, so it rounds down to 38%.
Javascript errors shown in the web inspector (if applicable):

Additional information:

I just merge a pull request that changed the behaviour so that it rounds at .5
Try the next version which will be out soon and see if this fixed your issue

This fixed the issue. Thank you.


Fix an issue where defaultLinesDiffComputer does not pass in the timeout variable

Issue: https://github.com/microsoft/vscode/issues/213034
This caller is missing to pass in the timeout variable.
The definition of the myersDiffingAlgorithm.compute looks like this
compute(seq1: ISequence, seq2: ISequence, timeout: ITimeout = InfiniteTimeout.instance)

cc @hediet the last editor of the line.


doc: update README and add i18n screenshot

Checklist

[ ] Resolve issue/feat. n°
[ ] tests are included
[x] documentation is changed or added
[ ] existing message properties have been updated with new phrases
[ ] new (i18n) language set have been added
[ ] improvement to make view conforms with WCAG 2.1 AA

Description of change
Add i18n screenshots

verified ✅


Remove space before and after -

I want to remove the space before and after - sign. Can somebody help me?

Use {-} as in LaTeX.


Anyone could create a new issue

Couldn't anyone technically make an issue and publish to your status page... Is there any way to stop this?

The idea was that issues without labels won't be displayed (non-maintainers can't add labels), but there's currently a bug where every issue is used to render the template.
But there's another thing: If someone comments on an issue, his/hers comment will be displayed. I haven't checked it yet, but it should be possible to limit this to maintainers.

Fixed in https://github.com/pyupio/statuspage/commit/bc0661ae686fe3c17abe7a4f7044e2f45707e5d5


Refactor searchPlants api call in CreateSeedForm to use react query

Tasks
In PR #1099 api queries have been wrapped using useQuery. However, the refactoring of the searchPlants call in the CreateSeedForm seems to be a little bit tricky because react-select-async-paginate expect an async function to be passed for loadOptions.
Idea 1:
handle state of search input in CreateSeedForm and use it to create query in the form component.
Idea 2:
create hook in form component and pass error message and api function via props.
Related Pull request
#1099

Thx for creating the issue! As discussed, we handle it as low-prior for now. Please write here, if this is not the case.

I also took a look at this, and I think this component could be cleaned up with proper usage of react-hook-form as well.
Maybe we can do that first, then the api call.
I have a feeling that cleaning it up, would make it easier make that api-call with react query.
Currently the problem is, that with searchPlants we do not use the local cache that might already be populated from other user interactions.
Not a big problem though.


Examples are empty

Examples dir contains only empty files

Indeed! The examples are being postponed until the next major update to the client which would likely render them moot; however I confusingly left the stub files in the project.

Any timeline on that next release? The current version seems really broken (see #3 and #4)

Thanks for the PRs. I'll take a look, test against Python versions, and likely merge this afternoon.


Unexpected conditions in tokens behaviour

Description
I expect the button to change color when I hover it. Instead it changes color when I hover the page.
Link to Reproduction
https://play.panda-css.com/8JELValJZ6
JS Framework
React (TS)
Panda CSS Version
v0.46.1
Operating System

[X] macOS
[ ] Windows
[ ] Linux

Design tokens (which are effectively CSS Variables) should be scoped to attribute selectors or media queries.

Anything you could do to clarify docs and maybe restrict behaviour?
Docs
Docs do mention that token conditions must be an at-rule, but also mention "parent selectors" and link to condition reference. Except "Parent selector" is barely a CSS term (could be achieved with has, but has has more applications than that, eh?), and having a link to the reference is confusing since nothing there points at the condition suitability for this context. If you're not paying close attention, it looks like the link shows usable conditions.
Codegen
Also, since this produces arguable useless result, should panda skip generating code for these conditions, or do a warning or something? I initially thought I just need to tweak something in the config for it to work, since the result looked "almost working"


@DanielJMaher Should be fine.


Connecting to Hub Failed! Opening COM8: File not found

Hello, First of all, thank you so much for this great plugin. I am trying to connect lego minestrone inventor with this plugin via VS code. Unfortunately, I am getting this Connecting to Hub Failed! Opening COM8: File not found.
Can you please look into this issue?

I think you've commented on the wrong repository?


Global Tag Search to Enhance User Experience

Describe your suggested feature
Dear Community,
I would like to propose the implementation of a global tag search function across the application. This improvement, along with the inclusion of TachiSY Komikku recommendations and the requested filter, would streamline the search process for all users.
The key aspects of this feature are:
Unified tag search accessible from each extension
Addition of a search icon in each extension to enable quick scanning for keywords
Seamless integration without increasing app size
Automated user agent updates to prevent unnecessary site blocks
To address potential concerns, I suggest an automated data cleaner that preserves user history and downloads, maintaining accessibility.
I believe this proposal would significantly enhance our collective experience, and I look forward to your valuable feedback.
Sincerely,
[Fran]
Other details
And yes, excuse me, everything was done by A'is, because although the idea is mine, apparently someone already suggested it, someone named G-94. At least it's worth trying to ask nicely, since, as I'm a fan of this, I'd like to see how it improves.
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated the app to version 0.16.5.
[X] I will fill out all of the requested information in this form.

Not possible. As already explained by @MajorTanya in the other issue.

No es posible. Como ya lo explicó@MajorTanyaen el otro número.

Okey perdón las molestias supongo que por lo menos se intentó 🫠💐


Error when using 'ng build -prod -aot'

Versions.
"@angular/cli": "1.4.4"
"@angular/core": "^4.2.4"
"@angular/compiler": "^4.2.4"
"typescript": "~2.3.3"
Issue when using.
I just build using ng build -prod -aot
The log given by the failure.
Unexpected value 'NgModule in<EMAIL_ADDRESS>imported by the module 'MyModule in D:/GIT/Branches/Angular4/trunk/Web/src/app/dashboard/dashboard.module.ts'. Please add a @NgModule annotation.
When using ng serve and ng build it works properly, attached screen shot of my issue

Thanks for reporting this issue. However, you didn't provide sufficient information for us to understand and reproduce the problem. Please check out our submission guidelines to understand why we can't act on issues that are lacking important information.
If the problem persists, please file a new issue and ensure you provide all of the required information when filling out the issue template.


Storage layer garbage collection wrong gc.ttl

https://www.cockroachlabs.com/docs/stable/architecture/storage-layer.html#garbage-collection states: the garbage collection period is 24 hours, but it can be set at the cluster, database, or table level through replication zones..
The default garbage collection period is 25 hours (90000 seconds).

Default is correctly documented here: https://www.cockroachlabs.com/docs/v19.2/configure-replication-zones.html#replication-zone-variables


#151 create record validation if it is happened in future

PR for #151
Added validation to create command to check if provided record happend after current timestamp.

This PR is included in timetrace v0.11.1.


Update zh_tw.json

In Traditional Chinese, "system trash" should not be literally translated as "系統回收站" but rather called "資源回收筒."

Merged, thank you!


[CALCITE-5083] In RelBuilder.project_, do not unwrap SARGs

This bug is affecting the switch to the VolcanoPlanner. We're having the ReduceExpressionsRule convert something from an AND to a SEARCH and then the RelBuilder is undoing it and causing the plan generation to fail.


Slurmrestd

Add slurmrestd to CentOS7.
Depends on https://github.com/omnivector-solutions/slurm-ops-manager/pull/55 and https://github.com/omnivector-solutions/slurm-bundles/pull/16
I'll update the docs afterwards

Why does the CI don't pass?

On Mon, 14 Jun 2021 09:11:08 -0700
Lucas Carvalho @.***> wrote:

Why does the CI don't pass?

Because it is currently broken... some sort of auth failure.


all collapsable elements independent

opening one doesn't close another.

https://github.com/mobilizingcs/classes/commit/b713c8950037b9d9aafc0e2a63b5911ac980ca6e


MSID: 101061 Version: 1 DOI: 10.1101/2<IP_ADDRESS>1876

MSID: 101061
Version: 1
Preprint DOI: https://doi.org/10.1101/2<IP_ADDRESS>1876
Step 1. Awaiting reviews
Editorial to post reviews via hypothesis
Useful links:

DocMap: https://data-hub-api.elifesciences.org/enhanced-preprints/docmaps/v2/by-publisher/elife/get-by-manuscript-id?manuscript_id=101061
New model tracking: https://docs.google.com/spreadsheets/d/1_fHaoOy7hjyocptKtVJRijeNpUY4hBS7Ck_aVmx6ZJk/
Reviews on sciety: https://sciety.org/articles/activity/10.1101/2<IP_ADDRESS>1876

For trouble shooting (e.g. no Docmaps available):

DocMap issue addressing: https://miro.com/app/board/uXjVNCwK6EI=/
Explore DataHub DocMaps API: https://lookerstudio.google.com/reporting/4c2f0368-babb-4beb-b5b3-497e7e7b0f08/page/ejphD
Unmatched submissions and preprints: https://lookerstudio.google.com/u/0/reporting/9f86204f-3bf7-477c-9b18-5c5ef141bf69/page/p_gxi57ha93c
Unmatched manuscripts spreadsheet: https://docs.google.com/spreadsheets/d/15QcK8w-ssB7109RQEDtFpJPZ0J5HTGxoHa_2TtpMBbg/edit#gid=1336081641

Step 2. Preview reviewed preprint
Production QC content ahead of publication
Instructions:

QC preview: https://prod--epp.elifesciences.org/previews/101061v1
Update ticket with any problems (add blocked label)
When QC OK, add QC OK label to ticket and add publication date and time to https://docs.google.com/spreadsheets/d/1amAlKvdLcaDp5W8Z8g77NmkwbMF5n_u89ArSqPMO8jg
Move card to next column
(At end of the day post link in #enhanced-preprint and ask for PDF to be generated)

Useful links:

Preprint DOI :  https://doi.org/10.1101/2<IP_ADDRESS>1876
Confirm reviews returned by EPP: https://prod--epp.elifesciences.org/api/reviewed-preprints/101061/v1/reviews
To update the MECA path in the docmap: https://docs.google.com/spreadsheets/d/1mctCQuNFBjSn97Lihy7_vBO6z7-N-oqyLv4clyi6zHg

Step 3: Awaiting search reindex
This step adds the reviewed preprint to the homepage: https://elifesciences.org
The search reindex is triggered once an hour. We need the reviewed preprint to be indexed as the search application serves the journal homepage.
Useful links:

Jenkins pipeline to reindex search can be triggered sooner or monitored here: https://alfred.elifesciences.org/job/process/job/process-reindex-reviewed-preprints/

Step 4: Published! PDF requested
Waiting for PDF to be generated
Useful links:

PDF tracking: https://docs.google.com/spreadsheets/d/106_XeDjmuBae7gexOTNzg60lapeqjl2aRn9DzupGyS8/

Step 5: Introduce PDF to data folder and git repo
Upload PDF to relevent folder in git repo https://github.com/elifesciences/enhanced-preprints-data/
Step 6: Done!

[ ] Kettle is on!

WOS query sent

Author would like to withdraw


Crash when Open

Description
I don't know how that happen, but when I open de Files, it's freezy and crashed, than I open it again and it Works!
I notice that "Devices" Right Menu don't appear when it crashed. Now it's working normally
Steps To Reproduce
Just Open Files
Expected behavior
Open the Program without crash
Files Version
Versão: <IP_ADDRESS> OS Version: 10.0.22000.318
Windows Version
Windows 11 Pro 21H2 22000.318
Relevant Assets
No response

Thanks for the report. Could you upload the app's log files?

[debug.log](https://github.com/files-community/Files/files/7582636/debug.log
debug_fulltrust.log
)

Sure!
debug.log
debug_fulltrust.log

Need to chack but this one should be due to drive icon randomly failing to load as it was in other places.

This issue should be resolved with #7069.


Add lastAccessed field to map table

closes #286

Please don't forget to generate the migration file for this, see https://github.com/b310-digital/teammapper/blob/main/teammapper-backend/README.md.

please also add the use of this field to the delete handler in the service (deleteOutdatedMaps), so that we use the lastAccessed field on map as a default and as a backup the lastModified field (existing logic). We can also do this in a new PR?

please also add the use of this field to the delete handler in the service (deleteOutdatedMaps), so that we use the lastAccessed field on map as a default and as a backup the lastModified field (existing logic). We can also do this in a new PR?

I'm working on that right now, it's just that I need to restructure the queries a bit to work with the new field, so it'll take some time.

ok there are actually >300 maps on our server, that do not have any nodes. Interestingly, all these maps are not old but where created in September - so there seems to be a bug not creating the root node or deleting the root node.
But this is a bug for a different issue. However, we should still include this case, that a map does not contain any nodes. => nodeLastUpdatedAt = null AND GREATER(map.lastModified, map.lastAccessed) ...
The following test cases are the most relevant:

Only lastModified is set on a map (either too old or recent enough) with one node that is was either modified before and after the lastModified date.
lastModified AND lastAccess are set (one being older than the other) + with one node existing, being modified at a later point and at a newer point in time
A map that has no nodes at all for some reason => only look at lastModified as a reference. I also thought about deleting those directly, but for debugging purposes it makes sense to keep them for some time.

Dates are now set explicitly in every test, in addition to the following format changes:
An "old" date is always 2021-01-01.
A "recent" date is always 2024-09-01.
If we're testing "recent" dates, system time will always be set exactly to the same date.
On the other hand, if we're testing "old" dates, system time will always be set to "old" date + 30 days, which will always result in system time being set to 2021-01-31.

looks good, I also tested everything locally with cross running every minute and 1 day as delete threshold. Could not find any problems.


"reject_tmin" and "reject_tmax" params in Epochs are not applied for "reject_by_annotation"

first reported on gitter
Describe the bug
The reject_tmin and reject_tmax parameters from Epochs are not used for the reject_by_annotation parameter. But instead only for the reject and flat parameters.
Look at this part in the code.
Steps to reproduce
MWE:
# Create raw data
sfreq = 1000
times = np.arange(0, 10, 0.001)
sin = np.sin(times * 10)
cos = np.cos(times * 10)
data = np.array([sin, cos])
ch_types = ['mag', 'grad']
ch_names = ['sin', 'cos']
info = mne.create_info(ch_names=ch_names, sfreq=sfreq, ch_types=ch_types)
raw = mne.io.RawArray(data, info)

# We have an event at 2 seconds
events = np.array([[2000, 0, 1]])

# There is a bad segment from 1 to 1.5 seconds
onset=[1]
duration=[0.5]
description=['BAD']
annots = mne.Annotations(onset, duration, description)

raw.set_annotations(annots)

# Create epochs from 1s to 3s, centered on the event at 2s.
# this epoch will be rejected_by_annotation,  because there is an overlap
# with a bad segment (1s to 1.5s)
epochs = mne.Epochs(raw, events, tmin=-1, tmax=1, preload=True, reject_by_annotation=True)
assert len(epochs) == 0

# Now setting `reject_tmin` so that there is NO overlap ... should not reject
# any epochs ... because bad segment is from 1s to 1.5s ... but epochs "reject" window
# is from 1.8s to 3s
epochs = mne.Epochs(raw, events, tmin=-1, tmax=1, reject_tmin=-0.2, preload=True, reject_by_annotation=True)

# This errors
assert len(epochs) == 1, "oups!"

Expected results
reject_tmin and reject_tmax should have an effect on how reject_by_annotation is applied.
Example: When an epoch from -2s to 3s relative to 0 was formed with reject_tmin=-0.2, then that epoch MUST NOT be rejected if there is an overlap with a BAD annotation from, say -2s to -1.5s

Agreed, @sappelhoff do you have time to look into it?

yes, I'll look into it!


[FRG] - Setting a single band cell as bold makes the entire band bold

When I try to set a single band cell as bold, it ends up making the entire band, all of the cells, bold.

Fixed in next version.


change scan area

Hello! I need to change scan area. Default it scan in center of screen, buy I need scan area on top, like this:

how I can did it?
I change placeholder position, but not scan area.

Yes this is an issue.


Agenda view missing on click function for events

In the basic example sandbox, the onEventClick seems to be triggered on agenda item click.
do you have more details to share? or sample sandbox?

@aldabil21 Problem is maybe in that im using eventRenderer and even when i spread props to div its not triggering onEventClick function

@PatrikZajacMia Since you are using eventRenderer to render your custom element, then you have full control. use the onClick on your custom element, you don't need the onEventClick


Release file lock on USR1 signal

close #2136

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@8f44ca3). Click here to learn what that means.
Patch has no changes to coverable lines.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2151   +/-   ##
=======================================
  Coverage        ?   39.27%
=======================================
  Files           ?      182
  Lines           ?    10870
  Branches        ?        0
=======================================
  Hits            ?     4269
  Misses          ?     6292
  Partials        ?      309

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Android Basics: tip-calculator

URL of codelab
In which task and step of the codelab can this issue be found?
Describe the problem
Steps to reproduce?

Go to...
Click on...
See error...

Versions
Android Studio version:
API version of the emulator:
Additional information
Include screenshots if they would be useful in clarifying the problem.

Hello @fvkontos,
Please provide the requested information to proceed further. Unfortunately the issue will be closed within 7 days if there is no further update.


feat: If I am logged in, I should be directed directly to the dashboard page.

I have to log in every time. If I'm logged in, it would be nice to be automatically redirected to the dashboard page.

[done]


Remove 'enum' specifier from template declarations which caused warnings

This PR gets rid of the enum template warnings by removing the enum specifier. :man_shrugging:

Actually... I approve so long as this still enforces that you can only put a value from the enum in there

I agree with Trent here, we shouldn't religiously stick with ISO c++ when we have the option for neater looking code.

Actually... I approve so long as this still enforces that you can only put a value from the enum in there

That's what it does ;) https://godbolt.org/z/d73rc3cdb


Actions items before merging v2+v1 repositories

(well maybe not merging, but definitely making this the primary one).

[ ] We should probably implement wrangler generate as a layer on top of npm init cloudflare. We need to review all the templates, as well all the older v1 templates, and come up with a cohesive plan for it all.
[ ] Generate prebuilt binaries OR make a call to what we're going to do here for folks who need that workflow
[ ] Evaluate the github action and make sure it works correctly with wrangler 2, or fox the things that don't
[ ] We need to review the docs to make sure they're at apr with v1. Specifically we need to expand the config page, finish up all the other unfinished pages, and make sure references to the pages from everywhere are pointing at the right pages
[ ] There are 70 open issues on https://github.com/cloudflare/wrangler/issues, and I think issues there should either be closed, or moved here, or resolved in some way

This is a moving target, this list may change a bit unto it settle

I'm in favor of not offering standalone binaries unless we have a strong signal that this would be a significant issue for a large group of our customers. Standalone binaries are non-trivial to maintain and offer incomplete DX (only a subset of functionality would work without npm dependencies, e.g. typescript, or worker-types, so we'll be able to provide a better experience if we expect that node support just works.
The docs have been increasingly getting better thanks to contributions from Kate. Maybe we could organize a doc hackathon to do a pass through all the content.
As for the old issues, I recommend closing them with a pointer to wrangler v2 as the replacement of v1.
The remaining items lgtm.

Thanks for the feedback, we'll discuss it and take a call.

overall, wrangler v1 deprecation is being tracked internally, so closing this issue in favor of that. specifically for each item noted:

wrangler generate has been implemented: https://github.com/cloudflare/wrangler2/issues/1402 / https://github.com/cloudflare/wrangler2/pull/1438
per @IgorMinar 's suggestion we will not offer standalone binaries
an internal ticket has been created to evaluate the github action and address if necessary
docs changes are being tracked internally, but the current list of PRs include: https://github.com/cloudflare/cloudflare-docs/pull/6934, https://github.com/cloudflare/cloudflare-docs/pull/6141, https://github.com/cloudflare/cloudflare-docs/pull/6905, https://github.com/cloudflare/cloudflare-docs/pull/6925
we plan to close issues and PRs in the wrangler v1 repo per the suggestions here and there is an internal ticket to track this


[Feature request] Ability to duplicate plant with its main picture

It would be great if you could clone one plant to new plants. E.g. if you sow 10 seeds or clones from the mother plant it would be great just duplicate the current plant and its details (like scientific name, main photo) but maybe not with its history.

To-do: Duplicate the photo, too, or else it is lost for all plants if just the link to the photo is copied and one of the clones gets deleted.


The results of test_net and demo have a huge different.

I have a custom dataset which only has only one category. And the dataset is pretty small (training around 150 images). When I tried Faster RCNN with 500 epoch. I got mAP= AP = 0.8806. However, after I run demo, it could only show couple of detection boxes. I realized that may be I need to adjust the number of boxes, so I modified  ./lib/model/utils/net_utils.py line 52 to 150 followed by #876. It comes up couple more but way less than I want. I am wondering why I have this high mAP but not too much good detection bounding boxes. Also, how could I set the conf threshold?  I checked the images after running demo, it seems like the probability is around above 70%. Any thought will be appreciated!

I have reviewed the demo and test.py. I found that the image would be preprocessed into a 'feature map',but in the test it would not be processed and directly passed into model.So demo had worse result.


fix(userspace/libsinsp): revert container.mount source and dest extraction

What type of PR is this?
/kind bug
Any specific area of the project related to this PR?
/area libsinsp
Does this PR require a change in the driver versions?
What this PR does / why we need it:
This reverts a change of #493 that inverts the extracted values of container.mount.source and container.mount.dest, which caused an unwanted breaking change on libs consumers. Reminding the field documentation:
container.mount.source        (ARG_REQUIRED) the mount source, specified by number (e.g. container.mount.source[0]) or
                              mount destination (container.mount.source[/host/lib/modules]). The pathname can be a
                              glob.
container.mount.dest          (ARG_REQUIRED) the mount destination, specified by number (e.g. container.mount.dest[0])
                              or mount source (container.mount.dest[/lib/modules]). The pathname can be a glob.

Which issue(s) this PR fixes:
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
fix(userspace/libsinsp): revert container.mount source and dest extraction

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: FedeDP, jasondellaluce
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [FedeDP]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: 4da0cb22d6ae43e64e5f955b2046942d7b1e6a97


Remove unnecessary :config metadata from specs

Just refactoring.
Test cases in the spec/rubocop/cop/ directory are automatically assigned the :config metadata, so there is no need to add this in individual test files.
https://github.com/rubocop/rubocop-factory_bot/blob/9801c7d91e14df508b61fab9c3d2da642a4ce564/spec/spec_helper.rb#L20-L28
When a new cop is added to this project in the future, a new test file will be created by referring to the existing test files (while copy-and-pasting some of them), so I thought it would be better to delete these redundant code. In fact, I noticed this when I tried to create a new test file with reference to the existing test files at #19.

This is quite complicated and we had to keep this before this was merged.
With metadata and the default RSpec 3 triggered inclusion of shared contexts, we had no control over the "config" shared context inclusion, and rubocop's one was included after ours, overriding it.
See this comment.
Thanks for noticing and cleaning this up!


Fix REST registration endpoint

Fixes an issue with our custom token method during registration and adds better API docs.
Also includes fixes for:

missing redirects after account creation
possible problems with non-configured emails
adds a missing dependency pin

Closes #8707

Working on tests to ensure this does not happen again

ready for review and merge

Nice work. Do you think we should backport this?

@SchrodingersGat would not hurt; the code path is only used by PUI but can effect PUI users in 0.17.0

@matmair any idea why the new API schema hasn't uploaded properly after this PR?

@SchrodingersGat I found the error in https://github.com/inventree/InvenTree/actions/runs/12475075825/job/34819238252#step:5:48 - I introduced a bug when I reduced the permission. The action we use to push the changes uses the permissions that are set up earlier (not really best practices to keep them around but everything else would be pretty complicated).

💚 All backports created successfully

Status
Branch
Result

✅
0.17.x

Questions ?
Please refer to the Backport tool documentation


Create function for API call to Spotify

Create JS/JQuery function for calling Spotify API to request track using tags.

completed successfully


V1.0.0 relying on deprecated React features.

I just installed 1.0.0 and it appears to be using deprecated features of React. That should probably be addressed at some point.
I've attached the warnings I see in my console via a captured image since I can't copy/paste the text, unfortunately.

Whoops, accidentally saved before entering my issue. So this is it. I just installed 1.0.0 and it appears to be using deprecated features of React. That should probably be addressed at some point.
I've attached the warnings I see in my console via a captured image since I can't copy/paste the text, unfortunately.

See #181, PR #191 in progress

Ah, didn't see those. Sorry about that.


New: support including service processor

Current coverage is 55.79% (diff: 100%)

Merging #92 into master will not change coverage

@@             master        #92   diff @@
==========================================
  Files            19         19
  Lines          2957       2957
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits           1650       1650
  Misses         1190       1190
  Partials        117        117

Powered by Codecov. Last update 3db42de...6878b5a


Fixed i18n message sources to load fallback messages in a smarter way

Fixed i18n message sources to load fallback messages in a smarter way
Added migration and unit-tests for yii\i18n\DbMessageSource
Closes #7964

[x] Code
[x] Tests
[x] SQL files for manual migration (?)
[x] Review

Reviewed by @samdark


Auto assign remembers the case of the previous container

StR:

Open SQLite version of Chinook.
Select Album -> Export data -> Database
Change the name of the target database to Album2. Mapping type changes to create.
Change target container to a DB with upper case or lower case names.
Hit auto-assign. The names change their case.
Change container back to SQLite, hit auto-assign. The case did not change. However, the case should be exactly as in the step 3.

Fixed.

verified


[Index Manager] TypeError: c.map is not a function

Environment
Docker
Version
0.15.3
Describe the problem
The index manager (and the calendar too I guess, might be related) were working perfectly fine for a day after installing homarr. Shortly after, index manager started having an infinite loading animation, throwing the following error in the console
[
  {
    "error": {
      "json": {
        "message": "Hostname/IP does not match certificate's altnames: IP: <IP_ADDRESS> is not in the cert's list: ",
        "code": -32603,
        "data": {
          "code": "INTERNAL_SERVER_ERROR",
          "httpStatus": 500,
          "path": "indexerManager.indexers",
          "zodError": null
        }
      }
    }
  },
  {
    "error": {
      "json": {
        "message": "Hostname/IP does not match certificate's altnames: IP: <IP_ADDRESS> is not in the cert's list: ",
        "code": -32603,
        "data": {
          "code": "INTERNAL_SERVER_ERROR",
          "httpStatus": 500,
          "path": "indexerManager.statuses",
          "zodError": null
        }
      }
    }
  }
]

After adding
    environment:
      NODE_TLS_REJECT_UNAUTHORIZED: 0

to the homarr config, the widget turned pink and is reporting
TypeError: c.map is not a function

Logs
No response
Context
No response
Please tick the boxes

[X] I confirm that I attached the proper logs
[X] I've read the docs
[X] I've checked for duplicate issues
[X] I've tried to debug myself

You're 100% correct, it was an issue with my nginx reverse proxy.
Swapping https://local.ip/app to http://local.ip:port/app fixed the issue. Thanks!


Rename an outdated benchmark from "run criteria" to "run condition"

Objective
The benchmark for run conditions still uses the outdated terminology "run criteria".
Solution
Update the name.

Missed this one 😅
bors r+


Jobs are not updated when federated jobs are changed (and status does not show this)

What happened:
When a I update a FederatedJob, it tries to update the managed Jobs, but since Jobs are immutable, the update fails silently.
What you expected to happen:
I expected one of three things.

The error is propagated back to the FederatedJob Status and Events.
Or, instead of updating the Job it would be replaced (deleted, then created).
Or, the FederatedJob could itself be immutable, preventing the change altogether.

How to reproduce it (as minimally and precisely as possible):

Create a new FederatedJob which fails due to missing image or something.
Update the FederatedJob with a new image.
Check that the Job is not updated and the error doesn't show up on the FederatedJob.

Anything else we need to know?:
Environment:
$ kubectl version
Client Version: version.Info{Major:"1", Minor:"13", GitVersion:"v1.13.2", GitCommit:"cff46ab41ff0bb44d8584413b598ad8360ec1def", GitTreeState:"clean", BuildDate:"2019-01-13T23:16:01Z", GoVersion:"go1.11.4", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"12", GitVersion:"v1.12.4", GitCommit:"f49fa022dbe63faafd0da106ef7e05a29721d3f1", GitTreeState:"clean", BuildDate:"2018-12-14T06:59:37Z", GoVersion:"go1.10.4", Compiler:"gc", Platform:"linux/amd64"}
- Kubernetes version (use `kubectl version`)
$ ./kubefed2 version
kubefed2 version: version.Info{Version:"v0.0.1-alpha.0", GitCommit:"unknown", GitTreeState:"unknown", BuildDate:"unknown", GoVersion:"go1.11.5", Compiler:"gc", Platform:"darwin/amd64"}

Install method: Helm
Install configuration: cluster-scoped

/kind bug

Thank you for your detailed report!
#44 describes the same concern related to overrides, but as you point out the same problem can result from an update to immutable fields in the template.
The error is not silent - it is logged to the controller log - but I agree that it should be surfaced more effectively.
As to how to resolve the underlying problem of immutability, the propagation controller is not intended to implement type-specific logic. That would likely be the province of a scheduling mechanism, one example of which has been lingering as a PR for some time.  I encourage you to chime on on that PR and see if the discussion can be restarted.

I believe solution 1 could be generically implemented. When the error is logged it could also be added as an event on the Federated<resource>. It should possibly also change the status.
I can take a look and see how this could be implemented if it's interesting.

Please go ahead with proposing to add an event to federated resources on propagation failure.  This is something half-heartedly supported today, and could definitely stand improvement.  I'm less convinced of the value of recording errors in status, especially since the same sync controller processes all types and some types are going to commonly report transient propagation failures due to controller interaction (I'm looking at you deployments).

Proposed solution 1 (indicate the error in events and status) was implemented as part of #740 and the cleanup that proceeded it.  I'm not sure automatic creation/deletion of the job is desirable, but field immutability is likely to be supported now that webhook validation is being implemented.


post: init team B description

Description
Team B description의 팀 구성원 추가, 구성원 소개 추가
Context

Team-B 의 래블업 컨트리뷰션 시작을 알리는 마크다운 파일 수정
Checklist:

[x] Updated tests for this change.
[x] Tested the changes locally.
[x] Updated documentation.

Screenshots (if available)

Link to story (if available)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Text alignment of the figure seems not work

This example is from the official documentation, the figure and the caption should be centered.

This bug is triggered when switching to another style. I found that the generated CSS is missing "align-center".


react stateless functional component snippet

Would you be adverse to adding the non fat arrow syntax version of a stateless functional component?
function $1(props) {
  return (
    <div>$2</div>
  );
}

export default $1

I ask because flow recommends this style

Hi @audiolion,  I'm not a very big fan of writing function word nowadays in JS. We have Babel, and other stages to transpile arrow functions. However, if we figure out how to name those you can create a PR :) I thought about pfc -> pureFunctionComponent and so on. What do you think?

Yeah @dsznajder I don't too much either, but it is a valid way and if some codebases have opinions about styling functions then perhaps this would be useful. I suppose we could wait to see if some other people would vote 👍 on whether they would want this and if adding another keyword is worth it


Feature/rfhub2 161 add tags

Adding tags to frontend and backend/cli. No alembic migrations are prepared yet, I will need to figure it out.

I will add missing tests in nearest future

@pbylicki I took a look at alembic and it requires your expertise. There is a bit of design stuff, before coding. If migration is to be invoked programatically, there is a need for alembic.ini/env.py getting env variables, then running it alongside app etc. Could You take a look at this stuff?

@pbylicki could You highlight in code where should I do changes to return tags as list? And how should I save values to DB for tags?

@pbylicki could You highlight in code where should I do changes to return tags as list? And how should I save values to DB for tags? I went through the docs, but I still don't get it.

I think we should have tags represented as list of strings on the API schema level and as a string with JSON list in the DB (like you did). In this way we will have validation of this field instead of just hoping that users will always upload a valid list there. SQLite does not have support for array columns so we would need to drop it and only use Postgres from now. Once this is done we should actually do the same for args field to add validation there and have consistent schema

@MaciejWiczk One missing element is two-way mapping between pydantic model and DB model which will need to be explicit as we introduce custom mapping between the fields. I wanted to do this soon because lack of this is actually the source of the problem with latest FastAPI version. I will try to add it today/tomorrow to not keep you blocked.

@pbylicki there is some strange behaviour from TravisCI. It stalls on robot tests. @MarcinMaciaszek will investigate GitHub Actions and we will see how it will behave there.

@pbylicki there is some strange behaviour from TravisCI. It stalls on robot tests. @MarcinMaciaszek will investigate GitHub Actions and we will see how it will behave there.

I did a workaround to run tests for CLI nad E2E separately. Ugly, but works for now. In a separate PR I will add tests for statistics, because they failed the same way.


The name "NotFound" does not exist in the current context

General
We use issues to drive the discussion for changes to
existing topics and the creation of new topics.
This template offers some suggestions to consider
when creating an issue.
Issues with Existing Topics
If the issue is a simple typo or similar correction, just submit a PR.
Otherwise, let us know what's wrong or what we should improve. Include a
link to the topic.
Requests for new Topics

Write a short paragraph describing what the topic will cover.

Write an outline of the proposed topic contents.

Where would you put the topic in the Table of Contents.

If you know who should review the issue, notify them by including @githubID in the issue description.

after scaffolding the movie model, i get the above issue. I cannot run my project because of the error

@makutamatey  that's a pretty good error message. Compare your code to the code from dotnet new webapp to see what you did wrong.


Update flAST to 1.5.2 to Support Comments and Improved Node Removal

Update other dependencies.

Solves #90 and #87 that were dependant on flAST


Platformatic css missing

What happens?
Related to https://github.com/platformatic/platformatic/issues/2429#issuecomment-2066820088
is required to wait your release or Fastify release ?
What did you expect to happen?
A Scalar beautiful page
How can we reproduce the issue?
Platformatic create service
pnpm create platformatic@latest

Swagger/OpenAPI Example
No response

hey @clabnet ! we fixed this in the latest release of Scalar
what version are you running?
https://github.com/platformatic/platformatic/issues/2429#issuecomment-2066820088

1.36.1 of Platformatic
Il giorno 20 apr 2024, 21:50, alle ore 21:50, Marc Laventure @.***> ha scritto:

hey @clabnet ! we fixed this in the latest release of Scalar
what version are you running?
https://github.com/platformatic/platformatic/issues/2429#issuecomment-2066820088
--
Reply to this email directly or view it on GitHub:
https://github.com/scalar/scalar/issues/1472#issuecomment-2067766588
You are receiving this because you were mentioned.
Message ID: @.***>

@clabnet which version of scalar are you running? :) it should show in your lock file/package.json :)

@marclave   The scalar versions contained into PLT 1.36.1 are:

@scalar/fastify-api-reference 1.21.0
@platformatic/scalar-theme 1.35.2

@clabnet could you update @scalar/fastify-api-reference to latest version 1.22.3 :)

Yes, it works! Thanks @marclave


RDM-2425 User Profile - Generate Audit Logs

JIRA link (if applicable)
RDM-2425
Change description
User Profile - Generate Audit Logs
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[x] No

reopen


CORE-12165: merge latest 5.2 changes

I can see the PR contains changes required by already merged changes in the api repo. Reviewed and approved.


Add authentification

Starting Feature/Authentification
Implementing  authentification

This app is intentionally really basic and narrow in scope. It's got just enough to be "realistic" without being "real". The community org (https://github.com/spring-petclinic/) might be a good place to contribute extended feature scopes.


Minor cleanup of groovy code.

Ignore the travis failure, its confused and tries to do a "push" build on branch that does not exist (push build should be run only for branches from EmbedITCZ repo not for forks). Correct one for fork is the pr one which passed.


Add relay

I don't want to have more than 5 relays and 3 of those are already in Europe. No need to add another one so I won't merge this PR.
If you want to use a specific relay you can create a nip65 event with a different client (e.g. gossip) and broadcast it to one of the defaultRelays. Nozzle can't create those events yet but it will query and use them.


Revert "Add canonical/data-integrator@main at path tests/integration/app-charm (#165)

This reverts commit 6f1d58b447a9255835d5ef090c7b6e9d337a9081.
The reason is that there's some bug in build which fails to build embedded charms that don't have requirements.txt (refer to Issue #170). While this PR does not solve the bug, it will unblock the caching of charms added to the list after that commit so that the cache works in the meantime while the bug is solved with a more robust solution.

@carlcsaposs-canonical I have merged this to fix data-integrator build process.
Please review it postfactum after your vacation. Tnx!


Can't tap AHDownloadButton which is inside UICollectionViewCell

Button is added inside awakeFromNib
override func awakeFromNib() {
        super.awakeFromNib()

        buttonContainer.addSubview(downloadButton)
        downloadButton.snp.makeConstraints { (maker) in
            maker.leading.trailing.equalToSuperview()
            maker.top.equalToSuperview().offset(2)
            maker.bottom.equalToSuperview().offset(2)
        }
    }

but next delegate function isn't called after tap on button
extension FileViewCell: AHDownloadButtonDelegate {
    func downloadButton(_ downloadButton: AHDownloadButton, tappedWithState state: AHDownloadButton.State) {...}
}

The workaround is to use touch API:
override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
        for touch in touches {
            if touch.view == downloadButton {
                downloadButton(downloadButton, tappedWithState: downloadButton.state)
                break
            }
        }
    }

But it only makes button container UIView tappable:
@IBOutlet weak var buttonContainer: UIView!

I had a feeling that overriding hitTest somehow could help, but not sure completely, will be thankful if somebody will help to understand what is the proper way of using this button inside collection cell

I've just found better workaround:
override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
        for touch in touches {
            if touch.view == downloadButton {
                downloadButton(downloadButton, tappedWithState: downloadButton.state)
                break
            }
        }
    }

    override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
        // http://khanlou.com/2018/09/hacking-hit-tests/

        guard isUserInteractionEnabled else { return nil }

        guard !isHidden else { return nil }

        guard alpha >= 0.01 else { return nil }

        guard self.point(inside: point, with: event) else { return nil }

        if downloadButton.point(inside: convert(point, to: downloadButton), with: event) {
            return downloadButton
        }

        for subview in subviews.reversed() {
            let convertedPoint = subview.convert(point, from: self)
            if let candidate = subview.hitTest(convertedPoint, with: event) {
                return candidate
            }
        }

        return super.hitTest(point, with: event)
    }

But still, actions for internal AHDownloadButton UIButtons aren't triggered, to make them work need to make them public to use them in hitTest .

Hi @kyzmitch ! Can you please provide an example project so that I can take look. I would really appreciate it.

Hi, decided to temporarily replace with simple UIButton and UIProgressView in my project, can't provide example project currently. But as I described above, you need to have UICollectionViewCell with some container UIView in Storyboard and you need to add your view as a subview to that container.


Performance regression in the classpath lookup

The performance of classpath lookup has regressed in both sbt and zinc. The performance is lost due to a repeated calls to FileValueCache.get that performs a filesystem call to see if a corresponding file has changed and the cache entry needs to be invalidated.
The cached values are partially applied function DefinesClass that is an alias for File => String => Boolean. The FileValueCache caches String => Boolean functions based on a given file. The file here corresponds to a classpath element (e.g. directory or a jar). In sbt 0.13.11, the values from the cache are fetched in this code:
/**
   * Returns a function that searches the provided class path for
   * a class name and returns the entry that defines that class.
   */
  def entry(classpath: Seq[File], f: DefinesClass): String => Option[File] =
    {
      val entries = classpath.toStream.map { entry => (entry, f(entry)) }
      className => entries.collect { case (entry, defines) if defines(className) => entry }.headOption
    }

Here, the argument f is a function roughly of the shape (file: File) => FileValueCache.get(file). The first line looks up (lazily because it's a Stream) cached functions from the FileValueCache. The returned function in the second line closes over entries. The end result is that entry returns a function that closes over a series of functions that were looked up from FileValueCache.
Now, in zinc and sbt 1.0 the function f passed to the entry method is roughly of the shape (file: File) => (className: String) => FileValueCache.get(file)(className). When you apply this function with a file in the entries definition, you'll just get another function g that closes over file value but doesn't call the cache yet. The cache is called only when className is passed to g - that's is the cache is hit on every classpath lookup. The delayed evaluation of the File argument was introduced twice: once on the zinc side and second time on the sbt side. In both cases it's due to wrapping to accommodate to Java API.
The regression in zinc occurred at https://github.com/sbt/zinc/commit/9c75003b3129400b1ee3b8a16d1792132f776594#diff-f07388b6f3520add59fb517e7d3f530aR38.
The sbt regression was introduced at https://github.com/sbt/sbt/commit/20d0c41473f515cf94ebbc5ac9d59e2602284b76#diff-6373e7f7122325e753b75fe1cc76ff5fR878

Introduction of the same bug twice by two different people suggests that using currying for caching is not a good idea. If the evaluation order is important, one should signal it with distinctive types and proper documentation.

This patch fixes the problem on the zinc side:
diff --git a/zinc/src/main/scala/sbt/internal/inc/IncrementalCompilerImpl.scala b/zinc/src/main/scala/sbt/internal/inc/IncrementalCompilerImpl.scala
index 7c2e217..fbeae8d 100644
--- a/zinc/src/main/scala/sbt/internal/inc/IncrementalCompilerImpl.scala
+++ b/zinc/src/main/scala/sbt/internal/inc/IncrementalCompilerImpl.scala
@@ -44,7 +44,10 @@ class IncrementalCompilerImpl extends IncrementalCompiler {
         m2o(in.previousResult.analysis),
         m2o(in.previousResult.setup),
         { f => m2o(analysisMap()(f)) },
-        { f => { s => definesClass()(f)(s) } },
+        { f =>
+          val dc = definesClass()(f)
+          s => dc(s)
+        },
         reporter, order, skip, incrementalCompilerOptions,
         extra.toList map { x => (x.get1, x.get2) })(log)
     }

but I think comprehension level of the code responsible for classpath lookups dropped below acceptable threshold. I'll rework it.

Introduction of the same bug twice by two different people suggests that using currying for caching is not a good idea. If the evaluation order is important, one should signal it with distinctive types and proper documentation.

+1000

I suggest we fix this one way or the other before M1.

 The refactoring will probably a bit more effort to prepare.

I refactored how Definesclass lookup is done in #120


⚠ ClamAV has degraded performance

In f990d1e, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 72 ms

Resolved: ClamAV performance has improved in b53cf34 after 11 minutes.


python38Packages.caldav: 0.7.1 -> 0.8.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python38Packages.caldav is: "This project is a CalDAV (RFC4791) client library for Python."
meta.homepage for python38Packages.caldav is: "https://pythonhosted.org/caldav/"
meta.changelog for python38Packages.caldav is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

Warning: a test defined in passthru.tests did not pass

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 0.8.0 with grep in /nix/store/9zxg6r5274di39rvab70sxi0qbh0ay39-python3.8-caldav-0.8.0

directory tree listing: https://gist.github.com/9cd67367cf4e6393288ff4329167ce18

du listing: https://gist.github.com/b7a1c112f34bc152f52884b75bbe2c28

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

11 total rebuild path(s)

3 package rebuild(s)

3 x86_64-linux rebuild(s)
3 i686-linux rebuild(s)
2 x86_64-darwin rebuild(s)
3 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
home-assistant
python38Packages.caldav
python39Packages.caldav

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/9zxg6r5274di39rvab70sxi0qbh0ay39-python3.8-caldav-0.8.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/9zxg6r5274di39rvab70sxi0qbh0ay39-python3.8-caldav-0.8.0
ls -la /nix/store/9zxg6r5274di39rvab70sxi0qbh0ay39-python3.8-caldav-0.8.0/bin

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

3 packages built:

home-assistant
python38Packages.caldav
python39Packages.caldav

Maintainer pings
cc @marenz2569 for testing.

Result of nixpkgs-review pr 116116 at ddc52d4a run on aarch64-linux 1

3 packages built successfully:

home-assistant
python38Packages.caldav
python39Packages.caldav


Put profiler logs at custom folder location

We are running our application in non privileged container and marked filesystem as readonly. While running profiler we are seeing below error and i think we are getting into issue because of read only file system, so we want a way to provide a environment variable which specify path where these file can be write.
fail: ServiceProfiler.EventPipe.Client.ServiceProfilerProvider[0]
Expected trace validation error.
ServiceProfiler.EventPipe.Client.TraceValidators.ValidateFailedException: [ConvertTraceToEtlxValidator] File /tmp/5f8772ee-176c-4d24-b684-4cc5ec4f0cca.netperf not found.
---> System.IO.FileNotFoundException: File /tmp/5f8772ee-176c-4d24-b684-4cc5ec4f0cca.netperf not found.
--- End of inner exception stack trace ---
at ServiceProfiler.EventPipe.Client.TraceValidators.ConvertTraceToEtlxValidator.ValidateImp(IEnumerable1 samples)    at ServiceProfiler.EventPipe.Client.TraceValidators.TraceValidatorBase.Validate(IEnumerable1 samples)
at ServiceProfiler.EventPipe.Client.ServiceProfilerProvider.ValidateSamples(String traceFilePath, List`1 samples)
PLease help

We are hard-coding the temp trace file to be put under %temp%. We will need to provide a way to allow overwriting the trace working folder.

@dewanymca Please checkout 2.1.0-beta5. Configuration details are documented here: Configurations. Looking for the configuration of LocalCacheFolder.

It looks like the uploader needs to be extract to the writable folder too for it to work E2E:
Locating file path with input: /app/ServiceProfiler/Microsoft.ApplicationInsights.Profiler.Uploader.dll
dbug: ServiceProfiler.EventPipe.Client.UploaderCallers.UploaderLocator[0]
      File uploader is not found. Try the zip file: /app/ServiceProfiler/TraceUpload.zip
dbug: ServiceProfiler.EventPipe.Client.UploaderCallers.UploaderLocator[0]
      Zip file exist. Unzipping . . .
fail: ServiceProfiler.EventPipe.Client.ServiceProfilerProvider[0]
      Unexpected error happens on stopping service profiler.
System.IO.IOException: Read-only file system
   at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
   at System.IO.Compression.ZipFileExtensions.ExtractToFile(ZipArchiveEntry source, String destinationFileName, Boolean overwrite)
   at System.IO.Compression.ZipFileExtensions.ExtractRelativeToDirectory(ZipArchiveEntry source, String destinationDirectoryName, Boolean overwrite)
   at System.IO.Compression.ZipFileExtensions.ExtractToDirectory(ZipArchive source, String destinationDirectoryName, Boolean overwriteFiles)
   at System.IO.Compression.ZipFile.ExtractToDirectory(String sourceArchiveFileName, String destinationDirectoryName, Encoding entryNameEncoding, Boolean overwriteFiles)
   at System.IO.Compression.ZipFile.ExtractToDirectory(String sourceArchiveFileName, String destinationDirectoryName)
   at ServiceProfiler.EventPipe.Client.UploaderCallers.UploaderLocator.Locate(String expectedUploaderPath)
   at ServiceProfiler.EventPipe.Client.TraceUploader.TraceUploaderProxy.UploadAsync(DateTimeOffset sessionId, String traceFilePath, String metadataFilePath, Guid dataCube)
   at ServiceProfiler.EventPipe.Client.ServiceProfilerProvider.UploadTraceAsync(PostStopOptions options, Int32 processId)
   at ServiceProfiler.EventPipe.Client.ServiceProfilerProvider.PostStopProcessAsync(PostStopOptions e)

Please try this out:
https://www.nuget.org/packages/Microsoft.ApplicationInsights.Profiler.AspNetCore/2.1.0-beta6
It should use the cache folder for unzipping the uploader.

Synced offline. The E2E scenario works with 2.1.0-beta6 and close this issue.


Send Raw JSON data

Hello,
I'm trying to allow my users to send raw JSON in a field, using the CodeMirror extension (https://github.com/philippbosch/angular-schema-form-ui-codemirror).
Unfortunately the data is not validated as a valid JSON :

Here is my schema :
{
    'type': 'object',
    'additionalProperties': False,
    'properties': {
        'query': {
            'title': 'Your OpenTSDB query',
            'type': 'object',
            'description': 'Lorem ipsum...'
        }
    }
}

And my form :
{
    "key": "query",
    "type": "codemirror",
    "codemirrorOptions": {
          "lineNumbers": true,
          "mode": "javascript",
          "theme": "twilight"
    }
}

When I change the type for string type, the JS validation is ok but as I'm also using the schema in the Python backend, it's also failing :)
Thank you for your help, and thanks also for this great module !

Oups, no sorry I misspoke. The problem is not the extension, I have the same behaviour with a simple "textarea" type in the form definition.
I should not have talked about codemirror :)
My question is : how to send raw JSON data please ?

The easiest way would be to use an extension applied to a textarea that then updates the model. It wouldn't be hard to do, similar to writing a normal bit of code in angular only you turn it into a ccomponent, the framework is ultimately an angular template manager after all. If you take a look at the calculate extension in the example/add-on folder you can see how you can add whatever you like in a template and then add any required directives to it. If you want to start with the template used for a text area then you can manipulate it to do what you want it to.

Ok great, I'll do it ! Thanks for your answer :)


Add and configure auto-compile

See auto-compile. This prevents Emacs from loading outdated byte-compiled files, if you are messing with library code.

Nope. See straight.el.


Fill in the field-offset vector and payload size for fixed-layout value metadata

This regression wasn't caught by normal code-generation pattern testing because the emission pattern substantially changed anyway, breaking tests that were looking for the field-offset vector, and because normal execution testing doesn't actually use the field-offset vector and enum payload size fields.
Reflection, which does use these fields, was skating by for common types because metadata is typically allocated out of freshly zeroed pages and most such types have only one field.  But that doesn't always happen, so there was a non-determinstic failure that caught it.
Also, don't emit a completion function for value metadata with fixed layout.
We really shouldn't have to emit field-offset vectors for fixed-layout types; the layout should just go in the type descriptor.  But for now, this is what we have to do.

@swift-ci Please test and merge.

@swift-ci Please test and merge.

@swift-ci Please test and merge.

@swift-ci Please test and merge.


MWPW-162833 [nala][MEP] confirm the "any-marquee-section" selector

This nala tests checks the "any-marquee-section" selector per PR request 2884:
Resolves: MWPW-162833
Test URLs:

Before: https://main--milo--adobecom.aem.page/?martech=off
After: https://any-marquee-section--milo--adobecom.aem.page/?martech=off

Here is an example of the nala test:
https://main--milo--adobecom.hlx.page/drafts/nala/features/personalization/any-marquee-section/any-marquee-section
compare with the default base page: https://main--milo--adobecom.hlx.page/drafts/nala/features/personalization/any-marquee-section/any-marquee-section?mep=%2Fdrafts%2Fnala%2Ffeatures%2Fpersonalization%2Fany-marquee-section%2Fany-marquee-section.json--default
Note how every type of marquee is listed on the base page and that all marquee types are replaced with text by using the any-marquee-section selector in the MEP manifest

@skumar09 Please let me know if you accept how I used CSS locators within this test.


Error: Native RNSkia Module cannot be found! Make sure you correctly installed native dependencien guardedLoadModule

Description
I am attempting to utilize @shopify/react-native-skia on an expo-go application (which I presume is now supported due to this showcase https://www.youtube.com/watch?v=uvLQ5f3KDXk&ab_channel=WilliamCandillon). The error I receive states that the module could not be found, I've already nuked my node modules, attempted to install a different version, and installed it in a bare expo go application, but it still ceases to function. I'm utilizing a basic expo application in my codebase, running via the expo-go app on a physical device.
What I've done:

npm i @shopify/react-native-skia
npm i<EMAIL_ADDRESS>Nuking my node modules.

I'm most definitely missing something here. It's been a day or so, and I still can't get this to function properly within my application. Any possible faults of mine or possible fixes?
Version
0.1.152
Steps to reproduce

npm i @shopify/react-native-skia
Start expo application
Encounter Uncaught Error

Snack, code example, screenshot, or link to a repository

Resolved. Outdated SDK was the culprit. Apologies.


Issue when swapping from wNear to ETH in trisolaris.io

I met some trouble when swapping from wNear to ETH in trisolaris.io. But the next time I tried, there is no such a bug like that again (I think this issue just sometimes happens)

duplicate issue https://github.com/aurora-is-near/aurora-relayer/issues/60


I can't curl through http proxy, but why?

I want to use kubectl proxy to visit k8s api:
kubectl proxy --port=8080 &

but I can't access it by:

I can't reproduce
$ ps -ef | grep proxy
...
  501 38175 38138   0 10:55AM ttys008    0:00.11 kubectl proxy --port=8080

$ curl http://localhost:8080/api/
{
  "kind": "APIVersions",
  "versions": [
    "v1"
  ],
  "serverAddressByClientCIDRs": [
    {
      "clientCIDR": "<IP_ADDRESS>/0",
      "serverAddress": "<IP_ADDRESS>:6443"
    }
  ]
}

Any more useful details you can share about reproducing?


adding rates specs

Adding some rates specs.
You need to store currency in rails in cents to make it work

Coverage increased (+0.09%) to 70.554% when pulling c5a1e5d400261a5a3988dd3006c5a07629877a37 on sergio-ocon:adding_rate_specs into ab967e14703fe31ae9a9295d79b4e1a4dbc98ef7 on miq-consumption:master.

Coverage increased (+0.06%) to 78.797% when pulling c4cd9343f926316bb5e3bf507061f02d0cdd7c60 on sergio-ocon:adding_rate_specs into de8f91e14abf2583f496c139f2238bb990efd0a8 on miq-consumption:master.

Coverage increased (+0.06%) to 78.797% when pulling c4cd9343f926316bb5e3bf507061f02d0cdd7c60 on sergio-ocon:adding_rate_specs into de8f91e14abf2583f496c139f2238bb990efd0a8 on miq-consumption:master.

Coverage increased (+0.06%) to 78.797% when pulling 16f43331b9ff1f547841b8fb775c5470d68470d2 on sergio-ocon:adding_rate_specs into de8f91e14abf2583f496c139f2238bb990efd0a8 on miq-consumption:master.

Coverage increased (+0.06%) to 78.797% when pulling 16f43331b9ff1f547841b8fb775c5470d68470d2 on sergio-ocon:adding_rate_specs into de8f91e14abf2583f496c139f2238bb990efd0a8 on miq-consumption:master.

Coverage increased (+0.06%) to 78.797% when pulling 0a8cba0fd69be43d6c8efd838967b3303e81a04e on sergio-ocon:adding_rate_specs into de8f91e14abf2583f496c139f2238bb990efd0a8 on miq-consumption:master.

Coverage increased (+0.3%) to 79.083% when pulling 3640a95db19895c29050dc2f43c987164241653d on sergio-ocon:adding_rate_specs into de8f91e14abf2583f496c139f2238bb990efd0a8 on miq-consumption:master.


Clean Input Files

Reviewed all commits, then ran tests in test_input_files and all test passed. Accepting pull request.


createImageEdit is not working

Describe the bug
So I'm new to openai, I'm using version 3.2.1,  aside the wrong argument ordering in docs, the method openai.createImageEdit is not working
  const openaiRes = await openai.createImageEdit(image, prompt, image, n, size)

error:
TypeError: j.getHeaders is not a function

any workaround for this issue? I couldn't find any solution
also I'm using Supabase and Deno, in case it is related
To Reproduce

call createImageEdit
raises the error

Code snippets
const configuration = new Configuration({
   apiKey: Deno.env.get('OPENAI_API_KEY')
})
const openai = new OpenAIApi(configuration)
const openaiRes = await openai.createImageEdit(image, prompt, image, n, size)

OS
Linux - Debian
Node version
None - Deno
Library version
openai 3.2.1

@ArsHinMQ what are properties detail ?
What is "image" ?

When I try to use example documentation code, no error appears:
const { Configuration, OpenAIApi } = require("openai");
const configuration = new Configuration({
  apiKey: process.env.OPENAI_API_KEY,
});
const openai = new OpenAIApi(configuration);
const response = await openai.createImageEdit(
  fs.createReadStream("otter.png"),
  fs.createReadStream("mask.png"),
  "A cute baby sea otter wearing a beret",
  2,
  "1024x1024"
);

But when I change the import to have "typescript" documentation, like this:
import { Configuration, OpenAIApi } from "openai";
const configuration = new Configuration({
  apiKey: process.env.OPENAI_API_KEY,
});
const openai = new OpenAIApi(configuration);
const response = await openai.createImageEdit(
  fs.createReadStream("otter.png"),
  fs.createReadStream("mask.png"),
  "A cute baby sea otter wearing a beret",
  2,
  "1024x1024"
);

An error appears on the line fs.createReadStream("otter.png"),.
Error is :
Argument of type 'ReadStream' is not assignable to parameter of type 'File'
This is because the method whant a "File" object:
OpenAIApi.createImageEdit(image: File, prompt: string, mask?: File, n?: number, size?: string, responseFormat?: string, user?: string, options?: AxiosRequestConfig<any>): Promise<...>
This is the difference between api documentation and library.

@ArsHinMQ what are properties detail ? What is "image" ?

image is of type File, it's guaranteed and checked

When I try to use example documentation code, no error appears:
const { Configuration, OpenAIApi } = require("openai");
const configuration = new Configuration({
  apiKey: process.env.OPENAI_API_KEY,
});
const openai = new OpenAIApi(configuration);
const response = await openai.createImageEdit(
  fs.createReadStream("otter.png"),
  fs.createReadStream("mask.png"),
  "A cute baby sea otter wearing a beret",
  2,
  "1024x1024"
);

But when I change the import to have "typescript" documentation, like this:
import { Configuration, OpenAIApi } from "openai";
const configuration = new Configuration({
  apiKey: process.env.OPENAI_API_KEY,
});
const openai = new OpenAIApi(configuration);
const response = await openai.createImageEdit(
  fs.createReadStream("otter.png"),
  fs.createReadStream("mask.png"),
  "A cute baby sea otter wearing a beret",
  2,
  "1024x1024"
);

An error appears on the line fs.createReadStream("otter.png"),.
Error is : Argument of type 'ReadStream' is not assignable to parameter of type 'File'
This is because the method whant a "File" object:
OpenAIApi.createImageEdit(image: File, prompt: string, mask?: File, n?: number, size?: string, responseFormat?: string, user?: string, options?: AxiosRequestConfig<any>): Promise<...>
This is the difference between api documentation and library.

OK I think this is what happening: that in fact, the method openai.createImageEdit needs to accept two ReadStream as image and mask, but the parameters' type is File, which is not correct an causes error; as it works in JS but not in TS.

My understanding is that this library is assuming that FormData has a method called getHeaders, but that is not part of the standard specification of FormData.
Only some non-standard implementations of FormData have this method, such as the form-data package's implementation.
This is confusing for users. OpenAI should either not rely on non-standard methods of FormData, or if it does, it should default to using an implementation of FormData that actually supports those methods.

potentially related issue: https://github.com/openai/openai-node/issues/75

Our upcoming v4 fixes this; please give it a try!


Roadmap Proposal

Last Updated - 17 Aug 2021

django-timescaledb
django-timescaledb aims to achieve following objectives

feature rich integration of TimescaleDB with Django
high-quality module - proper testing and documentation
keeping the module active with future releases of TimescaleDB and Django
clearly communicate - version supports for Django and TimescaleDB - along with LTS, deprecation/upgrade notes

Improvements/Feature Requests

#22  Why not allow making "partition key" as primary key? [M.1]
Why does the partition key have to be named "time"? [M.1]
data retention policy [M.2]
Compression policies [M.2]
#12 Continuously aggregated views [M.2]
additional partitioning key [M.2]

Milestone 1 [Basic usage]

Create hypertable (for empty or non-empty tables) with single "time" based partition
proper model.Manager that can be used to run queries
proper testing framework
proper documentation
all features in this step should work seamlessly with Django's makemigrations and migrate commands, without user having to run single query himself
APIs

[x] DB backends (postgres and postgis) - TimescaleSchemaEditor
[x] models.Model - TimescaleModel (abstract)
[ ] models.Manager - TimescaleManager (time_bucket, time_bucket_gapfill, histogram)
[x] models.Field - TimescaleDateTimeField
[x] models.Func - Interval, TimeBucket, TimeBucketGapFill
[x] models.Aggregate - Histogram, Last, First

Milestone 2 [Advance features with manual management]

have migrations operations for adding/removing/altering advanced features of TSDB, this has to be dropped in by the user in the migrations files manually
support for "AggregateViews" - not sure how to implement it?
additional partitioning key - not sure how to implement it?
additional functions and/or queryset methods - "Drop chunks", "Percentile approximation", "Time-weighted average functions"
new APIs

data retention policy - AddRetentionPolicy, AlterRetentionPolicy, RemoveRetentionPolicy
compression - AlterTableCompression, AddCompressionPolicy, RemoveCompressionPolicy

Milestone 3 [Advance features with automatic management]

Have a parallel "migration system" like Django's

Model.TSMeta class - since Model.Meta class in Django is restrictive (cannot add new attributes, etc), need to have a parallel TSMeta class for storing "TSDB related meta" info (policies, etc) about the Model
makemigrations_ts command - to generate "migrations" files with "TSDB" migration operations
maketsmeta command - that goes through all migrations and outputs all TSMeta class based on "migration operations" added manually - tooling to migrate from M.2 -> M.3

@schlunsen I have been busy with other projects recently.
Now that I am back! I have prepared this. Please give your feedback on it.
This could act as a central issue for planning/discussing new APIs etc.
This document will be updated as we go along.

@schlunsen Please also tag other active contributor for their views/feedback on it.

Hi @daadu, would you say this project is ready for use on production ? Or is it still in a too early stage ?
Thanks !


Packaging gradle 7.4.0 for openSUSE

Objective
Attempt to package the current gradle 7.4.0 as rpm here
Steps, being taken
Prepared a gradle-kit package (a helper package, that provides the full offline environment for building and using gradle)
After I found out, that building the gradle-kit package in a path containing colons fails, I managed to build it in a colon free area and that seemed to be working fine.
Building gradle
The gradle build itself fails with:
[  124s] * What went wrong:
[  124s] Execution failed for task ':base-annotations:compileJava'.
[  124s] > Error while evaluating property 'javaCompiler' of task ':base-annotations:compileJava'
[  124s]    > Failed to calculate the value of task ':base-annotations:compileJava' property 'javaCompiler'.
[  124s]       > No compatible toolchains found for request filter: {languageVersion=11, vendor=ADOPTIUM, implementation=vendor-specific} (auto-detect false, auto-download false)
[  124s]

but no matter, how I treat the java.toolchain in build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts

vendor.set(JvmVendorSpec.ADOPTOPENJDK)
switch to other language versions (8)
setting specific implementations implementation.set(JvmImplementation.VENDOR_SPECIFIC)

it results in variations of above error.
General concerns
The major problem with packaging is, that everything needs to be available (offline build) in order to be reproducible.
It would be nice to limit the number of used JVMs for the build to just one, if possible. We have 8, 11, 12, 13, 14, 15, 16, 17 available.
Environment
openSUSE Tumbleweed
Kernel 5.16.11
Most packages are pretty current
Full debug build log

Hi.
In order to build and package Gradle you should need a single JDK. Here is the documentation of how auto-detection works: https://docs.gradle.org/current/userguide/toolchains.html#sec:auto_detection
If you are actually running tests, then yes, you will need more. Unfortunately, we don't really have the bandwidth to help you create the packages.
Rgds


chore(main): release amazon2023-systemd 0.1.0

:robot: I have created a release beep boop
0.1.0 (2024-03-03)
Features

amazon2023-systemd: add a dockerfile for building an amazon2023 image with systemd support (#9) (c53809c)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/mateusz-uminski/dockerfiles/releases/tag/amazon2023-systemd-v0.1.0 :sunflower:


520 clang tidy cert additions

Added the cert-* checks to .clang-tidy.  Removed two relating to the random number generators as they were used primarily in the tests and those instance need to be reproducible.  Also removed cert-err58-cpp as this would require changing static const std::string's to const char*.
Closes #520

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 92.90%. Comparing base (be095e8) to head (ff16eb4).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #525   +/-   ##
=======================================
  Coverage   92.90%   92.90%
=======================================
  Files          42       42
  Lines        3270     3270
=======================================
  Hits         3038     3038
  Misses        232      232

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


"Loading style" modal - not possible to close

It is not possible to close the Loading style modal if no URL was inserted before click on Open URL:

@pathmapper can you confirm the merged PR fixes the issue

@orangemug the behaviour is now the following:
If no or an invalid URL was inserted before click on Open URL, the Loading style modal shows up and immediately closes on its own. So the issue reagrding the stucked modal is fixed, but I wonder if there should be a notification to the user that no style was loaded.
The Open URL button looks now differently compared to the Upload button (white border):

@pathmapper I agree, lets open a new ticket though.


Cron job to update pyang

Hi,
You still use pyang 1.7.5
<EMAIL_ADDRESS>| Compilation Result (pyang). Note: also generates errors for imported files. pyang 1.7.5
-- | --
The latest pyang is 1.7.6.
And the very latest, from gitclone, is:
$ pyang -v
pyang 1.7.6-devel

Duplicate of #21


Add support for nested controlers

Reference: https://hexdocs.pm/phoenix/routing.html#nested-resources

Implemented in 3c5f8d28515b8c4c753f7fe50920805d3810cdd4, sample - https://github.com/SaturnFramework/Saturn/blob/master/sample/Controller.Sample/Controller.Sample.fs


How to quick access to context project

I have many project helm.
Each project has a context for me to start typing command. Ex: source/project-x/k8s/, source/project-y/k8s/. Every time I open a terminal I have to cd into context. It takes time
Is there a quicker way to deal with that

You can set Working directory in cluster settings, this might help a bit. Any suggestions how to improve this further?

You can set Working directory in cluster settings, this might help a bit. Any suggestions how to improve this further?

thank you. i seen

thank you. i seen