Suggestion - Dingo API Integration

It's an awesome project!
Will it support Dingo API?

Yes, its on plan.

You know All I had to do to get dingo working is replace the API code you generate from the one you were generating in your previous package
$api = app('api.router');

$api->version('v1', function ($api) {
    $api->group(['namespace' => 'App', 'middleware' => 'cors'], function ($api) {
        require config('infyom.laravel_generator.path.api_routes');
    });
});

And then in the api_routes.php I replaced Resource:: by $api->resource
And that's it? Isn't it? I did that and I'm using Dingo. Piece of cake no? Or am I missing something.

@vesper8 I'm not sure. Not much experienced with dingo. But will check, if that's it then will add it.

Dingo uses its own router so I would prefer instead to keep Infy's great design of using the built in router and addition of the api_routes file via a route group. Much less overhead and cleaner design.

@daniel-huang Can you mention precisely what you expect from such integration?
@mitulgolakiya I'm available to help with this if needed. Have been using Dingo with laravel-generator for some years now. The major addition is probably in the generation/scaffolding of transformers.

@xwiz Great. so yes, if someone can highlight a brief plan here, what kind of integration is needed or will be useful as an optional feature/add-on (as all users will not be using it). then we can plan something.

@mitulgolakiya  So basically the idea of transformers is mostly about fractals/includable resources.
For example, assuming you want to retrieve a project model, you also want to retrieve the task models, and possible the time logs related to it, etc. With transformers, we can load all that extra information as needed by client without needing to write extra API endpoints/methods.


Reduce memory usage

hello, i started using webtorrent in a nodejs app and quickly i realized that in order to download a file webtorrent uses the main memory,I understand that this is necessary because it use torrents, pieces in order etc.. But this could cause problems in big files. Let say a file of 2gb would be loaded in main memory causing a large memory usage and in fact causing node to crash because it has a limit of 1gb memory limit, this could be solved with passing extra flags to force node use more memory but I don't think this is really a solution. I think the solution in this is to free buffers when a piece is verified and saved to disk, I already made some changes in my local project to setting null in piece buffer and block properties and then forcing v8's garbage collector to run. This (maybe not very good) solution worked and I managed to download a file of 3gb (before this i couldn't download more than 1gb).
PS. Still it use much memory, but in node working levels. Am I missing a reference to another buffer??

This is not supposed to happen. In node, webtorrent uses your system's tmp folder to store pieces to disk and only reads them back into memory from disk when a peer requests them. After that, they should be garbage collected.
The browser is another story. Right now, we store the file entirely in memory in the browser because I haven't investigated what storage to use yet (it's not a top priority at the moment).
Could you send a PR with your changes? We definitely can do a better job setting references to null to help with GC. I'll merge your PR.
FWIW, I've streamed video files up to 5GB without problems. What version of node/iojs are you using? Platform? Version of webtorrent?

@feross since the Filesystem API support has been dropped, we could maybe look into IndexedDB (CanIUse) for storage?

For the record: I observed increasing memory usage too. Maybe it's the storage layer not freeing pieces after validation.

I use
webtorrent v0.23.0
node v0.10.33
ubuntu 14.04
In the original webtorrent i cannot see freeing any memory, node instance getting bigger and bigger
as the downloading continues( I changed the tmp folder but i dont think this is a problem?). In fact even running webtorrent from the terminal, system monitor shows the same growing memory usage as if i run it from inside my node app. Can you please tell me in which file and line you deallocate the buffers, because i couldn't figure it when I inspected the lib files.

Perhaps self.buffer could be deleted here: https://github.com/feross/webtorrent/blob/master/lib/storage.js#L578

I think what the project needs is a clean abstraction interface that deals with file operations.
I have looked at fs-storage.js under lib directory but it seems to be rather complicated. _onPiece Done deals with a piece object directly and such. What is needed is simple C level interface to do open, read, write, seek and such operations. Then one simply can implement various backends to store the files.
Perhaps there is such an interface but I couldn't find it. I think https://github.com/filerjs/filer is great to handle the storage on browser side but first a proper file IO interface is needed. Insted of fs-storage, another module needs to find what piece drops into which offset in which file and call the appropriate functions in file IO interface.

One should simply configure the storage backend on runtime. Simply a call to setStorageBackend on WebTorrent object. MemoryStorageBackend, BrowserStorageBackend can be implemented and set then.

Any news regarding this?
I too need to plug in a different storage backend.

@astro No news -- I haven't made progress on this. Do you still think https://github.com/feross/webtorrent/pull/251 solves the issue? If so, I can look at merging that.

Tolga HOŞGÖR wrote:

One should simply configure the storage backend on runtime. Simply a call to setStorageBackend on WebTorrent object. MemoryStorageBackend, BrowserStorageBackend can be implemented and set then.

Would this imply changing storage backends for running torrents? Such
ability needs a lot more effort compared to declaring it just on
initialization.

Feross Aboukhadijeh wrote:

@astro No news -- I haven't made progress on this. Do you still think https://github.com/feross/webtorrent/pull/251 solves the issue? If so, I can look at merging that.

Please give it a try.

@astro I think you're fix is the right idea, but it causes the file data to get corrupted somehow and the tests fail.
I'm going to take another look at this soon.

Yeah, it's been half a year...

Tolga HOŞGÖR wrote:
 One should simply configure the storage backend on runtime. Simply a call to setStorageBackend on WebTorrent object. MemoryStorageBackend, BrowserStorageBackend can be implemented and set then.
Would this imply changing storage backends for running torrents? Such
ability needs a lot more effort compared to declaring it just on
initialization.

Not necessarily. That operation would be really hard to implement and even libtorrent-rasterbar sometimes has weird behavior while moving the storage directory. There will also be various problems regarding interruption while changing the storage since it is working in a web page. Such feature will result in all kinds of headache and should not be part of webtorrent.


Plugin creates mardown files for folders

reproduce unexpected behaviour in fresh vault

install Addon and activate
create a file named File 01
create a folder Folder 01
view File 01 in Obsidian
trigger Neighbouring Files: Navigate to next file command
💥now the addon creates a new markdown file named Folder 01

I think the Folders should be simply ignored, right?
kind regards,
Clemens

I fixed that by adding a filter to the files list and created a pull request:
https://github.com/FabianUntermoser/obsidian-neighbouring-files-plugin/pull/3

Thanks for your contribution! I did not consider other files being present in the same directory.
Also, I left you a comment in your PR.


Clean up the web scraping data for efficiency

Specifically the find financials method with the tables grabbing so much extra. Could also use this data for other indicators

Resolved few weeks ago, removed dead code and excessive data


Shubham saharan

I have tried to do my best in Completing US 02.04.01. I cannot run the app to check for errors because of some compatibility issue. Please check for errors before merging.

Branch not upto date


Add Ruby 2.2 to Travis CI matrix

Resolved by https://github.com/intridea/omniauth-oauth2/commit/555aee9ac3b130de8216074d6370507d8b59772e.


Retrieve weather data for each city using OpenWeatherMap API

http://www.openweathermap.com/current

https://github.com/meowball/WandT/commit/415e1eeb4ffbf0e7524447b7ebb544df2b6aef03


vs code becomes heavy and response is too slow after each update is received

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.64.2
OS Version: Windows_NT x64 10.0.18362

VS Code becomes heavy and response is too slow after each update is received

after each update it has become soo heavy and loaded with bloatware
enough of adding too many unnecessary features
as much as possible concentrate on improving overall performance as well initial startup time

I came to this repo today to say exactly this.
I opened Sublime text today by mistake and it was such a smooth experience. Everything was instant.
Couple of things that are too slow:

Syntax highlighting (language parser/server)
Basic editor functionality: typing, searching, changing/selecting language
Opening new editor window (new project or a single file)
This is especially noticeable when you need to quickly edit something in a single file. It takes ~10+ seconds for the editor to load. It should take less than 1 second.
Basically everything is slightly slow.

Please attach the startup profiles and timer numbers following these steps
https://github.com/microsoft/vscode/wiki/Performance-Issues#visual-studio-code-starts-up-slowly
https://github.com/microsoft/vscode/wiki/Performance-Issues#read-the-startup-timers

Wow! The exploration build is more than twice as fast! It took roughly ~10 seconds to start VS Code and about ~3 seconds to start VS Code - Exploration! 😱
When is this going live? :)
I'm switching to exploration build immediately, but I'd love to see this as stable to experience less compatibility issues while working in VS Code daily.

Thanks for testing, we are currently targeting March 2022 for update to the newer runtime. You can follow https://github.com/microsoft/vscode/issues/136260 issue for updates which has the same root cause.

I personally didn't notice slowness during starting up, it's quite immediate and this is awesome, but after some days of utilization it takes a while to close (command + Q). The window close immediately but It seems there's some delay before effectively quitting the process.
If I clear the Library/Application Support/Code folder, the application quit instantly again.
This behaviour appeared 3-4 times during this last 2 months.
I'm on macOS Monterey 12.2.1 ARM64.


Fix VS deadlock on shutdown.

This is a contained fix to address a deadlock plagueing RPS tests on VS shutdown (it'd hang). See the associated issue for context.
This is a partial revert of https://github.com/dotnet/razor-tooling/commit/cb467896550c867281e87a75c35b9313006ec77b

Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1529381

lgtm, although I still don't fully understand why the original deadlocks? (possibly need that threading overview meeting with @ryanbrandenburg we discussed before 😄)

So the gist is that whenever we had a pattern like this:

Aka
ProjectManagerChanged {
JTF.Run(() => { ... await switch to main thread...})
}
What effectively is happening is that our calling thread (the one calling ProjectManagerChanged) would then block synchronously until it was able to get back onto the main thread. That combined with our codebase doing ProjectSnapshotManagerDispatcher.RunOnDispatcherThread(() => {....}) in a context where the UI thread was also blocked would result in ProjectSnapshotManager.RunOnDispatcherThread never being able to get invoked because the other ProjectManagerChanged => JTF.Run was blocking it from running while simultaneously blocking the UI thread from being acquired.
Hopefully this clarifies a little 😄

That does help, thank you for the explanation!

Thanks for catching my thread crimes Taylor! I could SWEAR I did all the instances of this, I don't know if I lost it in a rebase and didn't notice or what.


Disable eoled distro check

As discussed with @at-wat offline, we decided to disable the EOL distribution check and use the default branch of this repository as base to compute the diff.

@at-wat I think it is better to change the base branch in a separate PR. It seems to require more changes than I initially thought.


Expose internal TypeChecker.getTypePredicateOfSignature API

Suggestion
Expose necessary functions for working with type predicates in the TypeChecker
🔍 Search Terms
TypeChecker getTypePredicateOfSignature internal compiler API
✅ Viability Checklist
My suggestion meets these guidelines:

[x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
[x] This feature would agree with the rest of TypeScript's Design Goals.

⭐ Suggestion
Remove @internal annotation from TypeChecker.getTypePredicateOfSignature
📃 Motivating Example
N/A - transparent to normal user
💻 Use Cases
In an effort to produce documentation more consistent with the actual types used by the compiler, TypeDoc has recently started using the TypeChecker considerably more when generating documentation. For the most part this just worked - but it caused problems with signatures that have type predicates. @sandersn pointed me towards this function, which I've added to the ts-internals.ts.
From discussion in the #compiler channel in the TypeScript discord:

shivelysanders 11/30/2020
yep, getTypePredicateOfSignature will return the type predicate if there is one
(includes asserts predicates)
it's in TYpeChecker, but internal for some reason :rolling_eyes:

It does seem like the only changes since the function was written have been adding support for predicates in JSDoc signatures and for assertion signatures. Not really sure how we evaluate requests to make internal APIs public, but this one seems fairly reasonable. @DanielRosenwasser thoughts?


No sha256sum for v1.0.0?

Would possibly spark a bit more confidence if people could verify the sha256sum checksum for the latest release also.

added, thank you


Running at-http-webserver and at-core at once

How can I use the AT-core through the UART but still use the AT-webserver, I don't want to run all the AT commands through the webserver, I'm having trouble using both.

[22:51:47:638] ESP_ERROR_CHECK failed: esp_err_t 0xffffffff (ESP_FAIL) at 0x400e9554
[22:51:47:638] file: "/builds/rd/esp-at-core/components/at_core/at_port.c" line 694
[22:51:47:638] func: initialise_wifi
[22:51:47:638] expression: esp_event_loop_init(at_wifi_event_handler_cb, NULL)
[22:51:47:638]
[22:51:47:638] Backtrace: 0x4008facb:0x3ffbe230 0x4008ffd8:0x3ffbe250 0x400e9554:0x3ffbe270 0x400ea01f:0x3ffbe330 0x400f3a98:0x3ffbe370 0x400f1b9e:0x3ffbe3b0 0x400d2de2:0x3ffbe450 0x400d1837:0x3ffbe480

I added all the relevant cgi commands at the top of the given app_main()
I added the initialization code at the bottom:
...
#ifdef CONFIG_AT_EAP_COMMAND_SUPPORT
if(esp_at_eap_cmd_regist() == false) {
printf("regist eap cmd fail\r\n");
}
#endif
#ifdef CONFIG_AT_COMMAND_TERMINATOR
esp_at_custom_cmd_line_terminator_set((uint8_t*)&cmd_terminator);
#endif
ESP_ERROR_CHECK(esp_at_init_parse());

#ifndef ESP_AT_FATFS_COMMAND
ret =  espFsInit();
assert(ret == 1);
#endif
httpdInit(builtInUrls, 80);
at_custom_init();

}

Hi  @Wihan , Currently we do not support simultaneous run.

@yake827 do you plan to do this in the future? The only way I can configure the ssid and password seems to be via the smart-config mode and run time via at-commands.
I wanted to do that with the webserver.
Do you have any other suggestions as to what I can do?
I'm working with a headless device here, so there is no screen.
I can also use bluetooth I guess, but ultimately that also requires an app. I don't want to have a specific app just to configure the ESP32

Hi @Wihan ,
Sorry for that we have no schedule to do it. Maybe you can customize it by yourself in the esp_at_device_ops_struct.  When receiving data, remember the data path, and response data via it when output the result.


build tests fail: Connection refused to <IP_ADDRESS>

A Debian build of 2.3.7 fails during build tests on test_reference_file.
The build appears to be assuming <IP_ADDRESS>:9 is available for connections, but it is not.
Build log attached.
python-meshio_2.3.7-1_amd64.build.gz

Also failing to connect to nschloe.github.io:443

Hm, yes. Since recently, meshio has some tests against reference mesh files. Those files, being heavy data, are not included in the meshio repository to avoid a blowing-up in size. Instead, they are downloaded at test time from an online source (the orphaned gh-pages branch of meshio on GitHub). That's probably what's causing the issue.
Not sure how to best proceed here.

Is it just
msh/insulated-2.2.msh
msh/insulated-4.1.msh
med/cylinder.med
vtk/rbc_001.vtk

in https://nschloe.github.io/meshio/ ?
Only 68 KB there.
But I don't think https connections are necessarily blocked by the build system, I think it's possible to make the links work. Maybe some other configuration setting is needed.

Only 68 KB there.

That's right. The idea was to allow larger files, too, which is why the it was set up this way. I'm not entirely happy with it, though.

I'll chime in here, feeling partly responsible after having suggested a test suite for readers #335 in the first place.
I had worried that something like this might happen, but didn't know how realistic that was.  There was a gripe about it in #365, followed by a rationale.  The former had suggested a directory in the master branch while the latter recalled bad experience with Trilinos:

Not only does everyone who ever uses Trilinos have to download the meshes, even if having no intention of running the tests. What's worse is that the meshes are forever engraved in git history, so pulls are terribly slow even if the meshes are removed now.

The first part of this could be partially alleviated by having the suite of meshes in a directory in the master branch that is not installed by pip.   I haven't seen the statistics, but I imagine many who use meshio install it via pip, perhaps unknowingly if brought in as an automatic dependency by e.g. pygmsh.  (I was initially in that subset myself.)  Currently what is installed by pip is controlled by packages=find_packages() in setup.py and this only installs the meshio directory, not logo, test, &c., I think because they don't contain an __init__.py file.  (Or does pip download everything and then just install some?  I hope not, but I haven't checked.)
But I assume that that has already been considered.  Another idea then: what about a separate package on PyPI?  Say 'meshio-test-suite', not depended on by default, but listed in test_requirements.txt or similar.  Would it be reasonable to assume that even though https is unavailable to the builder, pip can be used to bring in dependencies?  Or do all dependencies have to be installed Debian-style?  If so, I don't understand that well enough to comment.

A separate test package (or demo package) is not a bad idea, and provides a robust and simple solution (assuming paths can be agreed on. Something like /usr/share/meshio/test-suite makes sense).
What we'd do in Debian is package it as another package, which the meshio package would then depend on (Build-Depends).

Okay, I think the easiest thing to do for now is to patch out the respective tests in Debian. @RizzerOnGitHub Feasible?

We can put a patch in debian/patches.  Can you provide a preferred patch?

Just comment out all the test_reference_file tests.

I see. Can do.

Interesting discussion about Debian's policy on build-time net access. Some say it's too strict, but others say it's there for a reason (e.g. averting security risks).  https://lwn.net/Articles/700465/
The Debian policy on net access during build is articulated at https://www.debian.org/doc/debian-policy/ch-source.html#main-building-script-debian-rules

I've now switched meshio to Git LFS, so the download() isn't necessary anymore.

LFS is a good solution for this. The LFS reference files remain in the github tarballs (there's a github discussion elsewhere about that). I don't know if that's a problem for pypi.  The meshes subdir is missing in the pypi tarball.
We're discussing how to best handle LFS with the Debian repos.
https://lists.debian.org/debian-devel/2019/08/msg00224.html
There's a new tool pristine-lfs which might help us.

I don't know if that's a problem for pypi.

Yeah, one probably cannot run the respective tests from the pypi tarball. I wouldn't consider this is a huge problem though, at least so far no one has complained.
From the discussion on the Debian list it seems that the problem is solved. If not let me know if there's anything else I can do.

For Debian, I changed debian/watch to get source tarballs from git tags instead of the github "release" tarballs. That method enables access to your LFS objects.  I've also configured the debian repo to use LFS, copying your LFS configuration.   So the Debian packaging is fine now.

Let's close this then. Feel free to comment/reopen if the problem reoccurs.


Non-intuitive behavior in the interactive tactic mode

Assume I'm proving the following statement in a tactic mode (using Lean mode for Emacs):
example (p q : Prop) (a : p) (b : q) : p ∧ q ∧ p :=
begin
<C>
end

where <C> is current the position of the pointer.
I expect the goal to be shown upon pressing C-c C-g, but nothing happens, except for the mini-buffer showing No goal found at point.
I would expect the functionality similar to Coq's C-c C-enter that would show a goal corresponding to the current pointer position and a part of the processed proof.
Related to that,  assume now I progressed in the proof, so it looks as follows:
example (p q : Prop) (a : p) (b : q) : p ∧ q ∧ p :=
begin
apply and.intro,<C>
end

Again, I'm unable to display the changed goal context with the "Show goal" keystroke. For this I need to put the pointer to the next line (with end) before invoking it. Furthermore, in the following case:
example (p q : Prop) (a : p) (b : q) : p ∧ q ∧ p :=
begin
apply and.intro,
<C>

end

it still isn't possible to show the goals -- for this I need navigate with the pointer further to the end keyword.
I would be desirable to have an interactive proof mode with a logic similar to Coq, so it would be possible to show the goals basing on the proof script processed up to the current pointer position.
At the moment, this mode can be partially emulated via Lean-Next-Error (Ctrl-C-N) mode, but this mode doesn't allow selecting text in the buffer. Yet, in this case, it's impossible to see intermediate goals in, e.g., the following case:
example (p q : Prop) (a : p) (b : q) : p ∧ q ∧ p :=
begin
apply and.intro,
<C>
{exact a},
end

I agree that the current behavior is unintuitive. Actually, I can't tell exactly what logic it's following.
Roughly, I'd expect that with the cursor anywhere in a tactic proof, Ctrl-C Ctrl-G would print the tactic state at the most recent completed tactic (that is, at the last comma, begin, or { that occurs before the cursor).

@kha, AFAICT, your commit #1319 solved this issue. Should we close it?

I think it's not quite right yet - a comma before a {} block will show
the state inside the block. I will need to change the elaborator to record
more tactic states to fix that.
On Wed, Jan 18, 2017 at 5:31 PM Leonardo de Moura<EMAIL_ADDRESS>wrote:

@kha https://github.com/kha, AFAICT, your commit #1319
https://github.com/leanprover/lean/pull/1319 solved this issue. Should
we close it?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/leanprover/lean/issues/1313#issuecomment-273525607,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAGqRv8vMqD4YJUKH2Gqb6MEm6ZHvM5Mks5rTj5RgaJpZM4LkoZ_
.

I'm closing this issue since all problems described above have been fixed.


Cannot support windows due to the use of readline module

Error message:
ModuleNotFoundError: No module named 'readline'

When I try installing it directly with pip install readline, another error occurs:
error: this module is not meant to work on Windows

So, it is clear that Python on Windows just does not support the library readline, we may need to use other alternatives for this functionality.

I tried to replace readline with sys.stdin.readline but that does not work, because it does not support the line buffer mechanic (so it reads from a blank line instead from the ....).
Possible alternatives are:

prompt_toolkit
curses
click

I haven't tried any of them, but I am sure that all of them would require at least some level of rework.

Though I gotta ask, do you use the multiline input method often? I haven't found myself using it a single time (with the !editor command in place). If I know I need to write a longer message or paste something I will use an editor, and if the message is small enough I can use the in-place variant (often without exceeding one line).
Perhaps the multiline does not need to be supported? Well this is only my opinion anyways. Of course, there is not a lot of harm in supporting it.

Yes, it makes sense to remove the previous implementation of supporting reading multiple lines if we already have the !editor command. However, as some users (like me :cry: ) have already got very familiar with this usage, it would be much better to deprecate this functionality gradually later rather than do it immediately.

I find an alternative for Windows, pyreadline3. It works but there is still a display problem with that library. I am trying to figure out the solution and will close this issue after solving it.

However, as some users (like me cry ) have already got very familiar with this usage, it would be much better to deprecate this functionality gradually later rather than do it immediately.

Yes that is true haha.

I find an alternative for Windows, pyreadline3.

Ah nice, I only saw pyreadline which stopped being supported 8 years ago. But pyreadline3 seems to be actively maintained.

Though I am a little confused, it seems like we are still using readline in io.py in version 0.1.6. I am using Linux so I can't test the windows version (I also don't have a VM set up atm), but to me this should still generate the same module error.

Do you mean the import readline in the io.py? That's correct, once package pyreadline3 is installed, it would provide support for module readline. I test it on a vbox virtual machine Win10 Microsoft Windows [Version 10.0.19045.2728].
You can see the updated dependency in pyproject.toml  and requirements.txt.

Yes that's exactly what I mean. I thought you would need to do something like from pyreadline3 import readline but this is even better.

Yes, I understand your concern. You can see below:

Looking great!


How to make sure that it has been installed

The.String () method does not seem to satisfy.

@jmccarthy

There is a new "Status()" method that will return StatusUnknown and ErrNotInstalled if not installed. You can probably use that.

谢谢


Add checkpoint syncing providers to rosetta

#88  👈
feature/proof-of-stake

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @lazynina and the rest of your teammates on  Graphite

Merge activity

May 19, 10:44 PM EDT: @lazynina started a stack merge that includes this pull request via Graphite.


[TextField] Multiline does not carry 'color' style property.

I ran into an issue where
<TextField
          fullWidth={true}
          inputStyle={styles.inputStyle}
          hintStyle={styles.hintStyle}
          hintText={this.props.hintText}
          value={this.state.value}
          onChange={this.changeText}
/>

with an inputStyle of :
var styles = {
  inputStyle: {
    color: "white",
  },
}

This colors the text in the text-field white as expected, but when I apply multiLine={true} the text turns to a default black, which, as you might imagine against a black background, is quite difficult to see.

Has this fix 51e9f10 been merged? I'm still having this issue in 0.14.4.

@zachguo not publish see #3142

Not sure what should be done with inputStyle when we use a textarea, but textareaStyle is now available.
For reference we have:
      inputElement = multiLine ? (
        <EnhancedTextarea
          style={inputStyleMerged}
          textareaStyle={textareaStyleMerged}
          ...
        />
      ) : (
        <input
          style={this.prepareStyles(inputStyleMerged)}
          ...
        />
      );

when using a textarea inputStyle goes to the div including the textarea and textareaStyle to the actual textarea.

When using a textarea inputStyle goes to the div including the textarea and textareaStyle to the actual textarea.

That sounds good. I think that we can close this issue.

Related to #3099, we're going to make the change in this comment which should fix this. I'll include considering this when we refactor TextField.


Add interrupt example to basics

Moved from https://github.com/arduino/Arduino/pull/6154 by @zfields
This is a basic sample of the interrupt functionality. It only exists in the documentation, but not formally in any example code.

I to know why merging it blocked

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: per1234:x: zfieldsYou have signed the CLA already but the status is still pending? Let us recheck it.

CLA? I'm already a contributor! :rofl:
Alright, CLA [re]signed! :tada:


add homebrew installation for osm

https://github.com/Homebrew/homebrew-core/pull/59210

Thank you!

got merged !

Thank you so much @tharun208 ! Few quick questions:

Where does the sha256 checksum listed for the formula here come from? In the assets, we list sha256 for all the packages but that one is not listed.

Do we need to make a PR for a every release we want to put on homebrew?

Thank you so much @tharun208 ! Just updated brew and found it. 😻 Few quick questions:

Where does the sha256 checksum listed for the formula here come from? Is this the sha256 checksum for the entire repo? Is it something you had to calculate or was it available at url anyone could access?
Do we need to make a PR for a every release we want to put on homebrew?
We do releases off of release branches. Should we send the archive of the release branch instead of of main?

the sha256 will be generated for the git tar file from which you create this formula. it is separate for each brew formula.
yes, we need to raise a pr for every version upgrade.
home-brew maintainers right now accept only release branches for formula.

Thank you again @tharun208 ! If it's not too much trouble, would you minding adding some documentation to upgrade the homebrew formula to the release guide (issue #1475)?

sure @michelleN


Make signs continuous in buffers with line wrapping enabled

Is your feature request related to a problem? Please describe.
If you are in a buffer with line wrapping, signs will appear only for the first screen line of an added/modified/deleted buffer line.

Describe the solution you'd like
The same sign should be present for every screen line of a modified buffer line.
Actually, the killer version of this would be for the Git sign to reflect the word-level situation, as in, if I add a single word in the middle of a wrapped line, to show an "added" sign only for the screen line where that word is. But that sounds like it may be hard.
Describe alternatives you've considered
None.
Additional context
I understand this may depend on core Neovim functionality which may not exist yet.

Just wanted to mention that there's an open issue in Neovim to support repeating particular signs across wrapped lines. Could be useful to throw a :+1: on it: https://github.com/neovim/neovim/issues/12866


Cleanup all Pulsar related metadata in delete-cluster-metadata command

Is your feature request related to a problem? Please describe.
Currently seems the delete-cluster-metadata command is only cleaning the /admin/clusters and /managed-ledgers path in MetaStore, which might left some metadata in MetaStore like tenant and namespace data. And if user reuse same MetaStore for a new Pulsar cluster could observe tenant/namespace from previous installation.
Describe the solution you'd like
Provide an option in the delete-cluster-metadata command to completely remove all metadata in MetaStore.
Describe alternatives you've considered
N/A
Additional context
Add any other context or screenshots about the feature request here.

@mattisonchao hi, are you still working on it?


Account for nil for non-required complex type attributes

👋 @pond,
Initialising a resources with nil for a non-required multi valued complex type attribute resulted in a NoMethodError (nil#map). This PR fixes that.

Yep, simple quality of life thing - many thanks.


dreamview: Change the shape of polygon to rectangle

We appreciate you go through Apollo documentations and search previous issues before creating an new one. If neither of the sources helped you with your issues, please report the issue using the following form. Please note missing info can delay the response time.
System information

OS Platform and Distribution (e.g., Linux Ubuntu 18.04): 20.04
Apollo installed from (source or binary):
Apollo version (3.5, 5.0, 5.5, 6.0): 7.0
Output of apollo.sh config if on master branch:

Steps to reproduce the issue:

Please use bullet points and include as much details as possible:
Like the following figure: when the recorder is played, the detected results are displayed as polygons, but I want to replace them with rectangles. I don't know where to start. Does anyone know?

Supporting materials (screenshots, command lines, code/script snippets):

you can chage the message in the recorded pb.txt file
the raw  perception_obstacle layout is just iike the fellow  style, you can change it to what you want
perception_obstacle {
    id: 3843
    position {
      x:<PHONE_NUMBER>9980431
      y: 4141538.4187665051
      z: -31.788609421753417
    }
    theta: 1.8273884765711224
    velocity {
      x: -20
      y: 8
      z: 0
    }
    length: 3.323319673538208
    width: 0.27527374029159546
    height: 0.89608645439147949
    polygon_point {
      x:<PHONE_NUMBER>9980431
      y: 4141540.4187665051
      z: -31.788609421753417
    }
    polygon_point {
      x:<PHONE_NUMBER>9980431
      y: 4141538.4187665051
      z: -31.788609421753417
    }
    polygon_point {
      x:<PHONE_NUMBER>0228334
      y: 4141540.4187665051
      z: -31.788609421753417
    }
    tracking_time: 11.806291103363037
    type: VEHICLE
    timestamp:<PHONE_NUMBER>.2048476
  }

Thank you very much for your answer, but I don't think that's a long-term plan. I tried to modify the graphics and succeeded. Thank you anyway.


Reduce the bundle size

Might help to move styled-components from dependencies to peerDependencies ( no risk of bundling it twice).

@tume Yeah, maybe. I had no prior experience with Rollup but would be happy if you could prepare a small PR for this 😉  If not, I'll tackle this sometime in the future.


Fail to install azure-identity and azure-keyvault in docker devcontainer

Package Name: azure-identity & azure-keyvault
Package Version: latest
Operating System: linux
Python Version: 3.8

Describe the bug
try to install azure-identity and azure-keyvault but all failed.
AttributeError: 'str' object has no attribute 'name'
I only attach the screenshot for installing keyvault, but the error messages are the same.
Screenshots
If applicable, add screenshots to help explain your problem.

Could you give me some suggestions?
Many thanks.

update pip solves this issue


fix: DEV-3982: Fix duplicated March in DateTime

fixes https://github.com/heartexlabs/label-studio/issues/3331

Codecov Report
Base: 9.39% // Head: 9.39% // No change to project coverage :thumbsup:

Coverage data is based on head (e53722e) compared to base (e6c5505).
Patch has no changes to coverable lines.

Additional details and impacted files
@@          Coverage Diff           @@
##           master   #1087   +/-   ##
======================================
  Coverage    9.39%   9.39%
======================================
  Files         109     109
  Lines        7782    7782
  Branches     1954    1954
======================================
  Hits          731     731
  Misses       5905    5905
  Partials     1146    1146

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

/git merge master


Step by step instructions for beginner

Hi, just before we get started, I am an absolute beginner with all of this so please be patient. I'm currently trying to download software (Git and VS code) for a software development course I am soon to start, onto my Chromebook, an Asus C100PA with ARM processor.
I've had a play around on my own for the last day or so and have learnt a lot already about Croutons/ Linux etc, but am finally totally stuck. From what (I think) I've learnt, the ARM processor has a compatibility issue with VS code so I found and ran the relevant install command from https://code.headmelted.com/, which seems to have worked as it says on the terminal 'Visual Studio Code install complete'.
But I don't know what to do now? My previous attempts with chroots I'd input 'sudo enter-chroot startxfce4' and that would get me in, though similar attempts now mean the command line has changed to (code-oss-chroot)jamesbryant@localhost:~$ but that's it, and now all attempts at commands are being met with 'Command not found'. I can't see VS code anywhere, or have any idea how to find it.
Help please? Or even links to Linux for beginners which would help me get my head around it? Have read a fair bit already but not sure if I'm making a mistake or there's compatibility problems and I'm wasting my time.
Thanks so much - James

sudo enter-chroot -n code-oss-chroot
to enter the chroot. The command is
code-oss
Another way is
sudo startxiwi -n code-oss-chroot /usr/bin/code-oss
This starts code in a window. If you add -.b ist detaches from the chroot.

Thanks for this - I've followed your instructions, though I just got this error?
ERROR: Connection failed (code: -2).
The only thing I've done since is uninstall my xfce4 chroot, and install a Gnome chroot, which also doesn't appear to be working.
Appreciate your help, thanks

Do you have the crouton extension installed?

Yes - but it won't connect. Keeps trying and saying disconnected


6.2.6 ignores nonexistent directory in root's PATH

Root's PATH in Amazon Linux (and CentOS, and likely other similar distributions) by default has /root/bin in it, which doesn't exist:
[root@ip-192-168-3-209 ~]# env | grep PATH
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin
[root@ip-192-168-3-209 ~]# ls -ld /root/bin
ls: cannot access /root/bin: No such file or directory

That should trigger an action in item 6.2.6, but it skips over. Looks like ansible's script module doesn't set environment as it's expected in the role.
PLAY [ip-192-168-3-209] ***************************************************************************

TASK [6.2.6 - Audit root PATH Integrity] **********************************************************
ok: [ip-192-168-3-209]

TASK [6.2.6 - Ensure root PATH Integrity] *********************************************************
skipping: [ip-192-168-3-209]

TASK [6.2.6 - Ensure root PATH Integrity] *********************************************************
skipping: [ip-192-168-3-209]

PLAY RECAP ****************************************************************************************
ip-192-168-3-209           : ok=1    changed=0    unreachable=0    failed=0    skipped=2    rescued=0    ignored=0

Running audit_6.2.6.sh directly on the hosts provides expected results.
[root@ip-192-168-3-209 ~]# /tmp/audit_6.2.6.sh
/root/bin is not a directory

Hi Sergey,
thanks a lot for creating the issue and submitting the pull request.
After going through the official Ansible documentation of script couple of times and reviewing your changes, it looks like we are missing something.
As I understand, the script module "Runs a local script on a remote node after transferring it", so we should not need to manually transfer the script on the remote host.
I think the issue is somewhere else. I will dig deeper. In the meantime could you please investigate further.

I think, the reason for all of this is the different invocation of bash. I'll check this, but it appears that  ansible's script gets interactive non-login shell, while we need login shell in order to get full env present.
Quoting man bash

When bash is invoked as an interactive login shell, or as a non-interactive shell with the --login option, it first reads and executes commands from the file /etc/profile, if that file exists. After reading that file, it looks for ~/.bash_profile, ~/.bash_login, and ~/.profile, in that order, and reads and executes commands from the first one that exists and is readable. The --noprofile option may be used when the shell is started to inhibit this behavior.

Behavior can be shown using ssh or sudo.
$ sudo /tmp/audit_6.2.6.sh
$ sudo bash /tmp/audit_6.2.6.sh
$ sudo bash -l /tmp/audit_6.2.6.sh
/root/bin is not a directory

$ ssh -q ip-192-168-3-209 "/tmp/audit_6.2.6.sh"
$ ssh -q ip-192-168-3-209 "bash /tmp/audit_6.2.6.sh"
$ ssh -q ip-192-168-3-209 "bash -l /tmp/audit_6.2.6.sh"
/home/ec2-user/.local/bin is not a directory
/home/ec2-user/bin is not a directory

Better yet, it can be shown directly through PATH (script has single env | grep PATH line)
$ sudo /tmp/env-path.sh
PATH=/sbin:/bin:/usr/sbin:/usr/bin
$ sudo bash /tmp/env-path.sh
PATH=/sbin:/bin:/usr/sbin:/usr/bin
$ sudo bash -l /tmp/env-path.sh
PATH=/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

Some trivial testing through ansible.
$ cat env.sh
#!/bin/bash
env | grep PATH

  tasks:
    - name: Copy test script to the remote machine
      copy:
        src: env.sh
        dest: /tmp/env.sh
        mode: 0700

    - name: Get environment using `script`
      script: env.sh
      register: script_out

    - name: debug print output
      debug:
        msg: "{{ script_out.stdout }}"

    - name: Get environment using `script` and do become
      script: env.sh
      become: yes
      register: script_become_out

    - name: debug print output
      debug:
        msg: "{{ script_become_out.stdout }}"

    - name: Get environment using `command`
      command: /tmp/env.sh
      register: command_out

    - name: debug print output
      debug:
        msg: "{{ command_out.stdout }}"

    - name: Get environment using `command` and do become
      command: /tmp/env.sh
      become: yes
      register: command_become_out

    - name: debug print output
      debug:
        msg: "{{ command_become_out.stdout }}"

    - name: Get environment using `shell`
      shell: /tmp/env.sh
      register: shell_out

    - name: debug print output
      debug:
        msg: "{{ shell_out.stdout }}"

    - name: Get environment using `shell` and do become
      shell: /tmp/env.sh
      become: yes
      register: shell_become_out

    - name: debug print output
      debug:
        msg: "{{ shell_become_out.stdout }}"

    - name: Get environment using `command` with bash invocation
      command: bash /tmp/env.sh
      register: command_bash_out

    - name: debug print output
      debug:
        msg: "{{ command_bash_out.stdout }}"

    - name: Get environment using `command` with bash invocation and do become
      command: /tmp/env.sh
      become: yes
      register: command_become_bash_out

    - name: debug print output
      debug:
        msg: "{{ command_become_bash_out.stdout }}"

    - name: Get environment using `command` with bash login invocation
      command: bash -l /tmp/env.sh
      register: command_bash_login_out

    - name: debug print output
      debug:
        msg: "{{ command_bash_login_out.stdout }}"

    - name: Get environment using `command` with bash login invocation and do become
      command: bash -l /tmp/env.sh
      become: yes
      register: command_become_bash_login_out

    - name: debug print output
      debug:
        msg: "{{ command_become_bash_login_out.stdout }}"

PLAY [ip-192-168-3-209] ******************************************************************************************

TASK [Copy test script to the remote machine] ********************************************************************
ok: [ip-192-168-3-209]

TASK [Get environment using `script`] ****************************************************************************
changed: [ip-192-168-3-209]

TASK [debug print output] ****************************************************************************************
ok: [ip-192-168-3-209] => {
    "msg": "PATH=/usr/local/bin:/usr/bin\r\n"
}

TASK [Get environment using `script` and do become] **************************************************************
changed: [ip-192-168-3-209]

TASK [debug print output] ****************************************************************************************
ok: [ip-192-168-3-209] => {
    "msg": "PATH=/sbin:/bin:/usr/sbin:/usr/bin\r\n"
}

TASK [Get environment using `command`] ***************************************************************************
changed: [ip-192-168-3-209]

TASK [debug print output] ****************************************************************************************
ok: [ip-192-168-3-209] => {
    "msg": "PATH=/usr/local/bin:/usr/bin"
}

TASK [Get environment using `command` and do become] *************************************************************
changed: [ip-192-168-3-209]

TASK [debug print output] ****************************************************************************************
ok: [ip-192-168-3-209] => {
    "msg": "PATH=/sbin:/bin:/usr/sbin:/usr/bin"
}

TASK [Get environment using `shell`] *****************************************************************************
changed: [ip-192-168-3-209]

TASK [debug print output] ****************************************************************************************
ok: [ip-192-168-3-209] => {
    "msg": "PATH=/usr/local/bin:/usr/bin"
}

TASK [Get environment using `shell` and do become] ***************************************************************
changed: [ip-192-168-3-209]

TASK [debug print output] ****************************************************************************************
ok: [ip-192-168-3-209] => {
    "msg": "PATH=/sbin:/bin:/usr/sbin:/usr/bin"
}

TASK [Get environment using `command` with bash invocation] ******************************************************
changed: [ip-192-168-3-209]

TASK [debug print output] ****************************************************************************************
ok: [ip-192-168-3-209] => {
    "msg": "PATH=/usr/local/bin:/usr/bin"
}

TASK [Get environment using `command` with bash invocation and do become] ****************************************
changed: [ip-192-168-3-209]

TASK [debug print output] ****************************************************************************************
ok: [ip-192-168-3-209] => {
    "msg": "PATH=/sbin:/bin:/usr/sbin:/usr/bin"
}

TASK [Get environment using `command` with bash login invocation] ************************************************
changed: [ip-192-168-3-209]

TASK [debug print output] ****************************************************************************************
ok: [ip-192-168-3-209] => {
    "msg": "PATH=/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/ec2-user/.local/bin:/home/ec2-user/bin"
}

TASK [Get environment using `command` with bash login invocation and do become] **********************************
changed: [ip-192-168-3-209]

TASK [debug print output] ****************************************************************************************
ok: [ip-192-168-3-209] => {
    "msg": "PATH=/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"
}

PLAY RECAP *******************************************************************************************************
ip-192-168-3-209           : ok=21   changed=10   unreachable=0    failed=0    skipped=0    rescued=0    ignored=0

I do not think that ansible will support login shells any time soon, and I am personally not sure that's required, as there are workarounds available. Environment variables and scripts are sometimes tricky, and can break whatever ansible is running.
Some ansible team answers to the related issues.
https://github.com/ansible/ansible/issues/4854#issuecomment-37657751
https://github.com/ansible/ansible/issues/29637#issuecomment-380672737

Thanks again @arronax for doing all the research and hardwork.
One tiny request. Could you please send the pull request to build instead of master.
We are trying to follow this approach so to allow others to test run build and report any bugs they find before we merge the changes in master which will become prodcuction version.

@arronax  Please ignore the request, was able to modify the PR to pull into build


Different field size in localizations

Business central Spring release
RU and US localizations
Need to have same fields length in all localizations.
Due to the next differences in tables Intelligent Cloud don't want to replicate next situations:

Table 85 Acc. Schedule Line
Field "Row No."
RU localization - Code[20]
US localization - Code[10]

Table 334 Column Layout
Field "Column Header"
RU localization - Text[50]
US localization - Text[30]

Table 1223 Data Exch. Column Def
Field "Constant"
RU localization - Text[250]
US localization - Text[30]

Table 5200 Employee
Field "Job Title"
RU localization - Text[50]
US localization - Text[30]

We do not consider or support this scenario. Why do you need this?

But this scenario almost works. We just need to have same size for fields or not throwing an error when we replicating bigger field to smaller (just cut field values).
We have 2 databases - operational on premise RU localization and consolidation US database in the cloud. Intelligent Edge is the easiest way to replicate data from on premise to cloud.
I reduced some fields size in on premise database now and everything works but I don't want to do it in future :)


Issue with instrumenting defn function in let

Hi,
there appears to be an issue when instrumenting a fn from the UI when this function was defined using defn inside a let and calls an anonymous fn binding
Error re-evaluating issue/hi {:type :unknown-error, :msg "Syntax error compiling at (0:0).", :original-form (defn hi [] (println :issue (anon)))}

To reproduce

Create an example namespaced fn in src/issue.clj

(ns issue)

(let [anon (fn [] :hi)]
  (defn hi []
    (println :issue (anon))))

Bring up the REPL

clj -Sforce -Sdeps '{:deps {com.github.jpmonettas/flow-storm-dbg {:mvn/version """3.3.315"""}}}'

Bring up flow storm

(do (require '[flow-storm.api :as fs-api]) (fs-api/local-connect))

load example file

(load-file "src/issue.clj")

On the flow storm UI, select the issue/hi fn and click on the instrument button.

the error appears in the REPL

Error re-evaluating issue/hi {:type :unknown-error, :msg "Syntax error compiling at (0:0).", :original-form (defn hi [] (println :issue (anon)))}

Evaluating (issue/hi) otherwise prinouts out ":issue :hi" as expected.
REPL output
user=> (do (require '[flow-storm.api :as fs-api]) (fs-api/local-connect))
[Starting Events queue subsystem]
Events queue started
[Starting Runtime Api subsystem]
[Starting docs subsystem]
Loading docs using () files
[Starting UI subsystem]
Feb 02, 2023  com.sun.javafx.application.PlatformImpl startup
WARNING: Unsupported JavaFX configuration: classes were loaded from 'unnamed module @48c7549e'
#object[flow_storm.runtime.taps$setup_tap_BANG_$tap_f__10647 0x6d445c91 "flow_storm.runtime.taps$setup_tap_BANG_$tap_f__10647@6d445c91"]
user=> (load-file "src/issue.clj")
#'issue/hi
user=> Instrumenting var issue/hi {}
Re-evaluating var: issue/hi deep?: null instrument?: true
Error re-evaluating issue/hi {:type :unknown-error, :msg "Syntax error compiling at (0:0).", :original-form (defn hi [] (println :issue (anon)))}
(issue/hi)
:issue :hi
nil
user=>

thanks

Hmm interesting, this is because happens because given a var, it retrieves the source by using a fn like clojure.repl/source-fn (https://github.com/jpmonettas/hansel/blob/master/src/hansel/instrument/utils.clj#L223-L248), which for issue/hi case is (defn hi [] (println :issue (anon))).
It then tries to re-evaluate that code (after instrumenting it) but fails because anon doesn't exist in the global scope.
I guess the solution is to write a more powerful source-fn that for the issue/hi returns the complete form.
I'll give it some thinking.
This should work fine if you instrument the entire namespace.
Thanks for reporting it!!

Ok I gave it a shot here https://github.com/jpmonettas/hansel/commit/5746b57223427953e872193ff7e444542213cdbb and it looks it is working fine.
I'll wait for more testing before releasing it, but if you want to give it a shot and help me testing just run with this coordinates :
clj -Sdeps '{:deps {flow-storm/flow-storm {:git/url "https://github.com/jpmonettas/flow-storm-debugger" :git/sha "a1296edb12e10847ca9835b00d1b86be09f2048d"}}}'

Please re-open in case there is anything wrong.
Cheers!

Ok I gave it a shot here jpmonettas/hansel@5746b57 and it looks it is working fine.

Thanks! it appears it has resolved my issue.

Happy to hear it @ikappaki !


Correct all command examples and include a double quote when dealing with file outputs

This is a follow-up issue for #1393.
This issue will add to all remaining command examples a single double quote when dealing with output files.
You can assign it to me

@plamber, can we please change single quote to double quotes. We had discussion with @waldekmastykarz  and @garrytrinder on that, and we agreed that double quotes work better for different shells than the single quotes.
Correct me if I am wrong.

@VelinGeorgiev you are right. Changed it to double quotes. Just assign it to me

All yours @plamber 👍🏻


⚠ Jenkins Plugins Artifactory has degraded performance

In 529203a, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1288 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 8d4f4af after 12 minutes.


Lost content-length header fix

@francisco-sanchez-molina , thanks for the PR.
I've noticed that request on Android does not contains Content-Length field but IOS does, after some simple tests.
However, when I try to add these lines to Android, it throws an error. After some investigation, the Content-Type field is created by OkHttp conditionally per this.
Therefore, I'm not sure if this change is necessary 😧

Hi @wkh237 !
I sent a picture of camera-roll and everything was fine, including content-length header.
In Request-body api ( https://square.github.io/okhttp/3.x/okhttp/okhttp3/RequestBody.html ) I found:
long	contentLength() Returns the number of bytes that will be written to out in a call to writeTo(okio.BufferedSink), or -1 if that count is unknown.
So I think it is necessary.
If it throws an exception, it may be because the variable contentLength has an incorrect value in some cases
thanks you so much!

hi, @francisco-sanchez-molina
I have the same problem and I wondering how did you calculate the content-length value? thx.


Add .meta files

Now that the project contains Samples with scenes, we need .meta files.

Closing in favor of #79.


After delete user from project, you can query the user of project by api "http://xxx/api/projects/{project_id}/members/{user_id}"

1)Version of docker engine and docker-compose
Client:
Version:      1.12.1
API version:  1.24
Go version:   go1.6.3
Git commit:   23cf638
Built:        Thu Aug 18 05:33:38 2016
OS/Arch:      linux/amd64
Server:
Version:      1.12.1
API version:  1.24
Go version:   go1.6.3
Git commit:   23cf638
Built:        Thu Aug 18 05:33:38 2016
OS/Arch:      linux/amd64
docker-compose version 1.8.1, build 878cff1
2)Config files of harbor, you can get them by packaging "Deploy/config" directory
harbor.cfg.zip
3)Log files, you can get them by package the /var/log/harbor/
harbor_log.zip

We need a testcase for this.

clear environment
add a user to  ldap
login the user in Harbor web
create a project named by "test_project01" in Harbor
add a user to "test_project01" project in Harbor
delete the user from the project , not delete the user
the project_id of the project is {project_id}, and the user_id of the user is {user_id},  when i use the api "https://xxx/api/projects/{project_id}/members/{user_id}",  the status_code returned from the api  is 200.

src/harbor/api/member.go
100                 //return empty role list to indicate if a user is not a member
101                 result := make(map[string]interface{})
102                 user, err := dao.GetUser(models.User{UserID: pma.memberID})
I think this may be the reason of the problem.

you hope it return 404?

I think the user is not member of the project. The 200 isn't bright.

but if returns 404 it's ambiguous regarding if the project does not exist or the member is not part of the project?

this situation is relatively rare, but i find one in harbor docs.

Fixed by #955 .


Update package.json

We were trying to use the react-native-emarsys-sdk in a jest test environment. Jest does not recognize the sdk as a module, thus refusing to import it as a module. Adding the declaration in the package.json fixes the issue.
This is why we are asking you to merge this. :)

Hi @FlorianH ,
Thanks a lot for creating the pull request.
The suggested change is now available in v1.16.0
I will close this PR for now.
Please feel free to create a Emarsys Zendesk ticket, and let us know if there are further questions.
Regards,
Bianca .


✨ Add Code Folding Ribbon

Is your feature request related to a problem? Please describe.
No response
Describe the solution you'd like
One of the features that I love most about XCode specifically is the code folding ribbon to the side. You can fold a level of braces by clicking anywhere in the gradient level that you want.

Hover:

Clicked (folded code):

Here is a short recording of the whole process. There is a fancy animation that is not necessary, but it would be pretty cool to have!
https://user-images.githubusercontent.com/47652746/164981601-56c531e4-9420-4d46-96d7-f9d8456e5821.mov
Describe alternatives you've considered
n/a
Additional context
For reference, here is a picture of the ribbon in both dark and light mode:

I have been messing around with CoreGraphics a little bit, and it looks like the ribbon is a gray (in light mode), transparent line with a width of 7 (not 6 or 8, which I find strange) and a round cap. They also have a very fine white stroke around the edge. My experiments are not that great and I can't quite get them to play nice with SwiftUI views, but I thought I would leave that basic information here in case it helps.

I have been messing around with CoreGraphics a little bit, and it looks like the ribbon is a gray (in light mode), transparent line with a width of 7 (not 6 or 8, which I find strange) and a round cap. They also have a very fine white stroke around the edge. My experiments are not that great and I can't quite get them to play nice with SwiftUI views, but I thought I would leave that basic information here in case it helps.

Apple likes using odd numbers in everything

I never understood this. I typically like designing in multiples of 2 (2, 4, 8, 12, 16, 20, 24, 32, 40, 48, 56, 64, 72, 80, 96, 104, etc.) because they can always divide into two without falling on a subpixel. This is especially helpful when dealing with responsive layouts and 1x and 2x densities. I think Apple chooses to design in odd numbers so that it can always have a center pixel.


Massive compile-time issues since we use a lot of fields in params

We changed our maru services so that we define the data-structure in params instead of receiving just a Map.
We really like that it is checking the data that is received and that we get atom keys for all maps, but the compile time has increased massively.
Looking at the maru code it looks like a lot of things are going on in the param-definitions. Is there a change to speed up the macro execution?

8 seconds sound ok, we will try to extract our code to a toy project. And
measure. Thanx alot for your help.
Am Do., 31. Jan. 2019 um 16:26 Uhr schrieb Xiangrong Hao <
<EMAIL_ADDRESS>
I have a demo
https://gist.github.com/falood/3ecb2f038b6093e081ad7161e5444f44 which
take about 8 seconds to compile.
It will be very helpful for me to debug it if you can show me what's your
routes struct.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/elixir-maru/maru/issues/118#issuecomment-459385319,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAouUvJq57-K_B0Wo2b3WK6QYp7XY9IJks5vIwsegaJpZM4aZ_pI
.

@mlankenau
how about this issue? can I do any help with this?

I am working with @mlankenau on the same project and now I finally had the time to take a closer look at this issue.
The problem seems to come up in combination with the make_plug option. Here is a minimal example with ~200 parameters which takes about 11 seconds to compile on my computer.
(Without make_plug it takes a bit over a second which would be fine.)
api.ex

Hi @danielkirch
Thanks for the feedback.
there's only one huge endpoint in your example, can I ask how many endpoints like this in your system?

We have one big param structure that we define in a helper module, but we have 5 endpoints that use it. And for each time we use the big param structure it seems to recompile the whole thing because the compile times add up.
(You can check this with the example: put the params into a helper and use it in 2 endpoints, the compile time should be about twice as long as before.)

I see, it's expected to take 10 seconds to compile such a complex parameter block, I'll try to decrease the compile time when we include it in several endpoints.

Thanks, that would be a great help for us!
I still wonder why the make_plug option makes such a big difference in compile time though. I tried to figure this out by looking at the project myself, but I didn't get very far.

I think I have finally been able to fix this issue (see PR). :D
It seems that the runtime macro generated by the helper was getting a little bloated by repeated quoting and unquoting. In the new version it will first generate the struct and then convert it into a macro. This change cuts down the compile time from about 10 seconds to under 2 seconds.

that's awesome,  quote and unquote take a lot of time!
Thanks for figure it out!

Sadly, this has become more of an issue again after the changes to the compiler in Elixir 1.8, so we will probably just stick to 1.7 for now. :-/


conflict with heroicons

When I integrate the phosphoricons, they come into conflict with the heroicons. How can I deactivate or remove the heroicons?

I reported a similar issue already in 2023 on the WireUI repo where I requested an option to use phosphor icons by default:
https://github.com/wireui/wireui/issues/825
There you can also find a solution for this problem: Changing the config/wireui.php to use a different alias for internal used icons releases the phosphor icons for "public" use.
@TiboriusDev maybe you can push the other issue too.


Create a Room Card Component

Your mission is to craft a CreateRoom component for quiz creation in GrepIt. Here are the specifics:
Task Details:
Your task is to create a CreateRoom named component that contains various input boxes. Details are given below.
#Details

Refer to the provided design and feel free to inject your creativity, which may be recognized separately if exceptional.
Ensure the input boxes align with their respective types. For example, a scheduled quiz must include time and date inputs. Utilize AntDesign components effectively.
The "Create Quiz" button should navigate to the '/quiz' route.
The "Get Link to Room" button must trigger a backend request to generate a link based on the filled data.
Make the component responsive for a seamless user experience on various devices.

File Location: Write the component in src/components/createRoom.jsx

Router Placement: Integrate the component into the app router with the path '/home' and place it properly at the center-left side.

Claim this challenge by commenting below!

claim

Team, please include success/error messages upon returning from the '/quiz' route as per given. Also, prevent room link generation before creating a quiz. Utilize appropriate hooks and props for functionality. Thank you.

@rnavaneeth992 go through the details once again and make it to completion ASAP. for any discussion related to the task, ping me on Discord.


Compatibility when defining the global object

In environments where window is not defined, line 416 would result in an error 'fetch is not defined'.
At this stage self.fetch is always defined and can be used.

Released https://github.com/camsong/fetch-ie8/releases/tag/v1.4.3


Crash when use MRNavigationBarProgressView iOS 9

Hi ,
Thanks a lot for your progress :) . but I have a crash when add progress to navigation controller .
[[MRNavigationBarProgressView progressViewForNavigationController:self.navigationController]
 setProgressWithDownloadProgressOfTask:task animated:YES];

[SGProgressView setProgressWithDownloadProgressOfTask:animated:]: unrecognized selector sent to instance 0x7f88b0f21870
2015-09-20 12:37:57.532  *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[SGProgressView setProgressWithDownloadProgressOfTask:animated:]: unrecognized selector sent to instance 0x7f88b0f21870'

Seems like you have another navigation bar progress view component included in your project. Because this contains no class SGProgressView, or is that your own subclass of MRNavigationBarProgressView?


infinite resize (enlarging) loop

hi! first off, thank you for iframe-resizer. it's awesome!
i'm seeing an infinite resize loop when i use it with a Metabase embedded dashboard in an iframe. here's a video: https://snarfed.org/infinite_loop_enlarge.mov
this is with iframe-resizer 3.5.15. looking at the changelog, the changes since then seem unrelated, but feel free to let me know if you think it might already be fixed. reproduces for me in firefox 60, chrome 66, and safari 11.1.1 on mac os x 10.13.5.
here's the outer page's HTML:
<!DOCTYPE html>
<html>
<head>
<script src="http://localhost:3000/app/iframeResizer.js"></script>
</head>
<body>
foo bar baz
<iframe src="http://localhost:3000/public/dashboard/440e3f82-9c7a-4822-a244-7fb038a5eee4"
        id="metabase" frameborder="0" width="100%" allowtransparency>
</iframe>
<script>iFrameResize({log: true}, "#metabase");</script>
</body>
</html>

one possible cause is that Metabase itself uses window.parent.postMessage() to send messages to the top-level page, so i wonder if iframe-resizer is accidentally handling those. here's an example message payload from Metabase:
{
  source: "Metabase",
  name: "dashboard-parameters",
  value: "?min=3&max=5"
}

possibly related: #7, #58, https://stackoverflow.com/questions/48563508
metabase docs that recommend iframe-resizer usage: https://www.metabase.com/docs/latest/administration-guide/13-embedding.html#resizing-dashboards-to-fit-their-content
thanks in advance!

@snarfed I "fixed" the issue temporarily by setting the autoResize : false and changing the limit of the iframe height, but I wish it could be differently.

Have you tried using the tolerence option that can sometimes help.
The most common cause of the is CSS setting a style to be taller than the page, everytime the page resizes, the CSS sizes past the bottome of the page and around we go again.
The other thing to try is the different height calculation methods, as this can sometimes help.
PostMessage is unlikly to be the issue, as we ignore messages not for iframe resizing.

The most common cause of the is CSS setting a style to be taller than the page, everytime the page resizes, the CSS sizes past the bottome of the page and around we go again.

good guess! this was indeed the issue. details in metabase/metabase#7903. different height calculation methods didn't help, so i ended up overriding the offending CSS rule. tolerance would probably work too.

@davidjbradshaw i know it's probably a big request, but if this has happened before, you all might consider adding loop detection to at least prevent the infinite loop in these kinds of cases. just a thought.

Tolerance didn't work for me (as the different height calculation methods) and we are experiencing the same problem in a similar configuration @snarfed

Long dead thread but for anyone else who comes across this, I had this same issue with nested iframes growing withoug bound.  I was using:
        log: true,
        bodyPadding: '10px',
        autoResize: true,
      }

as my settings.  Removing the bodyPadding fixed the issue for me.  Thanks @davidjbradshaw for your work on this library!


can you add auto play feature?

It's an awesome library, but it lacks of auto playing, can you consider about moving slides intervals?

@jboeyin
This library was not meant to be for doing slideshows. It was created to have a nice looking replacement for radio buttons and dropdown menus.
What would an autoplay feature in your opinion add to the use case of this library?

@jboeyin Could be dangerous to have auto-changing settings because user might not see that the option changes.


Lighting for trailblazer fire effects/animations

As the title suggests. Would be sick to see. thanks

This is actually already in master and should be in the emxt release 😎

Forestry campfires will have lights, but we've not added lights for trailblazer animations, so I'll leave this issue open

@aHooder @SirFancyBacon thank you i cant wait to see 😎


Read this beFORE ACCEPT --> I m waiting for your question

you have an error check

Yes i see!!

Just reject it---


Update applications.yaml

Adapt Opensearch internal Url

That needs to be changed here https://github.com/shopware/paas-meta/blob/main/platformsh-env.php#L328


Add DWOC fields to allow configuring workspace ServiceAccounts

What does this PR do?
Adds fields to DWOC

.config.workspace.ServiceAccount

.config.workspace.serviceAccount.serviceAccountName - override SA name used for DevWorkspaces
.config.workspace.serviceAccount.disableCreation - disable creating DevWorkspace ServiceAccounts

What issues does this PR fix or reference?
Closes https://github.com/devfile/devworkspace-operator/issues/962
Is it tested? How?
Verify:

No changes if fields are unconfigured
If name is specified, all workspaces in all namespaces use a single SA with the specified name
If disableCreation is specified

workspaces fail if ServiceAccountName is not set
workspaces do not create ServiceAccounts, SA must be created manually (kubectl create sa <name>)

PR Checklist

[ ] E2E tests pass (when PR is ready, comment /test v8-devworkspace-operator-e2e, v8-che-happy-path to trigger)

[ ] v8-devworkspace-operator-e2e: DevWorkspace e2e test
[ ] v8-che-happy-path: Happy path for verification integration with Che

I've updated the PR after I found a bug in how we handle multiple workspaces + a shared ServiceAccount (08bfbb58). Previously, we were still attempting to add a DevWorkspace ID label to the shared SA, which would cause competing reconciles when a single namespace had more than one running workspace. We had a similar problem with ownerrefs, which required a slightly more complicated fix: aed63beb

Tested again on OpenShift; verified multiple workspaces, switching config options, and cleanup -- works as expected.


bug(curation-api): curator-api or curation-api

Describe the bug
We need to keep naming consistent within the code. In someplace we use curation-api in other we use curator-api. The name should be curation-api. Curator should only appear when we are referring to the user curating. Anywhere curator is used that is not directly referring to the user should be changed to curation.

The answer is curation-api

Yeah I just did a look-through of all instances of curator and didn't see any that were misused in the data portal repo.

@Bento007 though be advised that we're still naming directories in the data portal repo curator/ when they should probably be curation/...


⚠ Jenkins Plugins Artifactory has degraded performance

In 6d2693a, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1056 ms

Resolved: Jenkins Plugins Artifactory performance has improved in dcdd2c4 after 32 minutes.


Implement Stores for NPC

Leading idea is to use the NPCManager, which currently creates our NPCManager to also manage converting our NPCModel objects into TSJDocument Objects which extends stores functionality.


Add support for producing and consuming REST APIs

Currently, HTTP-RPC requests encode a method name in the URL and use either GET or POST to invoke the method. This is by design, and is appropriate for SOAP-like use cases that require custom verbs. However, it does not support applications that require REST semantics. This limits HTTP-RPC's usefulness in many situations.
HTTP-RPC should be extended to support REST-style APIs in addition to SOAP-like APIs. Method arguments would still be encoded in the query string or request body, but verbs would be restricted to GET, POST, PUT, and DELETE. Note that path-encoded (e.g. /users/10) or header-encoded argument values would not be supported.
An annotation would be provided to map an HTTP verb and resource path to a particular service method. For example:
@Resource(name="user", action="get")
public Map<String, Object> getUser(int userID) {
    ...
}

@Resource(name="user", action="post")
public int addUser(String firstName, String lastName) {
    ...
}

The current invocation behavior could be preserved if this annotation is not provided (i.e. the method would be accessible by name via GET or POST). Alternatively, a service could be flagged as requiring REST semantics in web.xml, in which case un-annotated methods would simply be ignored.
Additionally, an HTTP method argument would be added to the invoke() method of the client libraries. This would allow a caller to specify the verb, rather than leaving it to the implementation's discretion. Non-REST methods could be invoked by specifying either GET or POST as the verb type. The existing method name argument would be repurposed as "path", to reflect its more general intent.
Note that this change may necessitate changes to or elimination of the service descriptor. In earlier versions, a given path was guaranteed to refer to a single method. Now, a path may refer to up to four methods, each of which will have different arguments and return types. It is not possible to encode this information using the current descriptor structure.

Another option is to simply drop support for arbitrary verbs and make HTTP-RPC a REST-only framework. In this case, only annotated methods would be published, and the descriptor structure would be simpler to define.

One outstanding question is how to handle templates. Currently, templates can be applied to any method, since all methods are invoked via GET or POST. However, in a REST environment, it may not make sense to apply a template to the output of a PUT, POST, or DELETE, which typically return little or no content. Instead, it may make more sense to limit templates to GET handlers.

Note that attachments should only be supported for POST and PUT requests. They do not make sense for GET or DELETE, and should generate an exception on the client if specified with a GET or DELETE request.

Template and descriptor support have been dropped. Still need to think through all of the potential implications of moving to a fully REST-based model.

Support for the RPC annotation has been added to RequestDispatcherServlet, and the test service has been annotated to preserve the existing API. However, the client libraries have not been updated to accept an HTTP verb yet.

The Java client library has been updated and tested with the annotated service methods.

The JavaScript and Objective-C libraries have been updated and tested.

It appears that servlets do not handle multipart form content with PUT requests. As a result, PUTs have been updated to use the query string like GET and DELETE.
Further, since this effectively limited the use of attachments to POST requests only, support for attachments was dropped.

The Android client apps (test and demo) have been updated.

It would probably be valuable to support path-encoded arguments as well as query string arguments. Without this, it will be difficult or impossible to implement common REST collection patterns such as the following:

GET /collection - return an array containing the collection's contents
GET /collection/resource - return a single object from the collection

The RPC annotation could potentially be extended to support this as follows:
@RPC(method="GET", path="users/{userID}")

Multiple variables should be supported.

It seems like both JAX-RS and Spring use a leading "/" character in path specifications, so HTTP-RPC probably should as well.

After some investigation, it seems like the proposed approach isn't significantly different from what is provided by JAX-RS or Spring. As a result, a better option might be to retire the server component and focus on the client libraries.
Also, it may be possible to restore streaming and template support on the server as an extension to JAX-RS or Spring, rather than a replacement for it. This will require a little more investigation.

Path argument support has been added to the Java and Objective-C clients; however, the JavaScript client has not been updated yet.

This has been mostly implemented but has not been fully tested yet.

This has been implemented and tested but has not been documented yet.

This is done.


evaluate deep-landmark

[ ] https://github.com/luoyetx/deep-landmark
[ ] https://github.com/luoyetx/mini-caffe-example
[ ] https://github.com/ufoym/Caffe-mini

Both mini-caffe and Caffe-mini projects above seem to be candidate hunter packages for running caffe models portably "outside" the caffe environment.

Closing in favor of newer networks: https://github.com/MarekKowalski/DeepAlignmentNetwork


add "About" app menu to be more consistent with OSX standards

The version number and often any F/LOSS credits are put into an About menu. The version info is available already today in the app's help pane, but it would more typically be found in a separate App Window.
https://developer.apple.com/library/mac/documentation/UserExperience/Conceptual/OSXHIGuidelines/MenuBarMenus.html#//apple_ref/doc/uid/20000957-CH29-SW1
https://developer.apple.com/library/mac/documentation/UserExperience/Conceptual/OSXHIGuidelines/WindowPanels.html#//apple_ref/doc/uid/20000957-CH42-SW4

Implemented in c8812bd9566724fe7bed51172bb5e68226c6ce3c. Only added as a menu item for desktops with a native menu bar. For the other ones, a single button "About Tarsnap" that pops up the same window has been added in place of the current items in the Settings -> App category.
@dch Anything else that should be considered for this?


feat(protocol): remove gas limit check

Completely remove gasLimit check and only check gasUsed is smaller than an config. The circuits will need to verify that for any block, gasLimit >= gasUsed (probably without checking gasLimit <= some threshold).
This will enable proposers to include transactions that have hugh gasLimit but very small gasUsed.

This is a bit of a tricky one which is why I wanted to avoid this scenario, but I guess it has to be solved at some point.
I want to make sure we're on the same page of the expected behavior. I'm also not sure how Ethereum currently behaves in this case, I would think a block using more than 30M gas is an invalid block and can never end up in the chain?
For us to support we'll have to execute the transaction up til the block gas limit, when gasUsed > block gas limit we have to stop the execution of the transaction somehow (some special error case). We then have two options:

Stop the execution of the current transaction and revert it completely (turning it in an invalid tx with no state changes, because the transaction still needs to be includable in another block afterwards as it was executed wrongly in this block). All other transactions after this one also needs to be turned into invalid transactions that should be skipped.
Stop the execution of the current transaction and turn the block in an empty block so automatically all transactions can be included in another valid block.

We also have to watch out that we don't create a DoS possibility because nodes also have to execute these transactions to find out how much gas is actually used, so with 2) for example they would have to do a lot of work to just throw everything away. This should still count towards our target gas/s so the EIP 1559 base fee should still go up as if the block was full following this approach.
So 1) seems to be a reasonable approach, but also in this case we'll have to force the gas_used for the basefee calculation of the current block to be the block gas limit, because also in this case the nodes had to execute transactions up until that limit, even if all the work had to be reverted and the actual gas_used would be 0.
So regardless of how many transactions we turn invalid, forcing the gas_used to the block gas limit for the EIP-1559 calculation seems to be required. So then the decision is just how many transactions we make invalid. I think the only concern we have to have for this decision is implementation complexity, because block proposers won't make these invalid blocks so it doesn't really matter what happens exactly. I think complexity wise they will be very similar for the circuits (though certainly not easy!) so we may as well go with 1), but I"ll try to think about it some more. I assume for the node this doesn't matter that much?

Brecht, both options you've suggested could potentially work, but I believe Option 1 would be more effective. This is because it allows for the inclusion of certain transactions within the block, which enhances efficiency. However, the primary issue here doesn't stem from the client's implementation; it's actually about the circuit's complexity.
Even if the n-th transaction (the tx in question) pushes the total gas used beyond the block's maximum allowable gas used, it's necessary for this transaction to be executed so its trace logs can be produced for the Zero-Knowledge Proof (ZKP) in order to confirm that the transaction in question did indeed consume enough amount of gas to overflow the block gas used maximum. This makes this specific transaction unique compared to all previous transactions. However, I am uncertain whether zkEVM can handle such a situation efficiently and easily.
If we consider the total gas used by all preceding transactions to be G, and the gas used by the transaction in question is represented by g, the proposer fee should be calculated using the sum of G+g, rather than just G, and I believe g is known to circuits and can be provided to the protocol contracts.

I think we can reuse the out-of-gas error for the last transaction, because if we we had to cap the tx gas limit because of the block gas limit, than any out-of-gas error is caused because of the block gas limit. It's still a special case that needs to be added, but maybe doesn't need to have that special handling if we can do it like that, on both the node and the circuits side. Still a bit tricky for the other stuff, because the nonce/ETH transferred at the start of the transaction now also needs to be revertible (which currently is not the case).
G+g for the basefee calculation will be basically the block gas limit. And yeah the trace until the block gas limit is used will have to generated (which is the DoS attack vector), so the node could use the same trick as described to do so if that's convenient there.

Brecht, both options you've suggested could potentially work, but I believe Option 1 would be more effective. This is because it allows for the inclusion of certain transactions within the block, which enhances efficiency.

I don't think the efficiency is important as I wrote in my first post. Proposers won't propose blocks like this because they waste money by having to post the data of the transaction on-chain knowing that it won't be able to be executed (and so won't get them any fee). So only trying to reduce complexity should be important here.

I suggest us with the following actions:

David and Jeff: try to implement the feature in client to exclude the first out-of-gas transaction and all other transactions after it, but try to produce a as large block as possible.
If the client is efficient enough against malicious attacks, Brecht takes over with circuits changes.
Dani and myself will follow up with this PR with potential more changes.

I discussed this issue with @davidtaikocha today, and we believe we can ignore it for now -- it seems this is only an issue for testnets where some proposers do not consider the cost in test Ether. On mainnet with real Ether, most proposers won't be as irrational.

@Brechtpd @davidtaikocha @cyberhorsey @adaki2004 please take another look at this PR.

Ready for another round of review, guys. @Brechtpd @davidtaikocha @adaki2004  @cyberhorsey

@Brechtpd @davidtaikocha @cyberhorsey @dantaik
So after a offline discussion, we decided not to move forward with this PR, but rather just increase the gas limit for the next testnet.


Add (basic) unit-tests for the non-global URL constructor (PR 9868 follow-up)

This should really have been included in PR #9868, since it will help ensure that the URL constructor is correctly imported/exported by src/shared/util.js.

/botio unittest

Thank you for the follow-up!


Difficult to handle open/closed state on pickr button

Hi, thanks for creating this great library.
Do you want to request a feature or report a bug?

feature

What is the current behavior?
Right now pickr only adds the visible className to .pcr-app.
Sadly this makes it impossible to style the pickr button (or element, given useAsButton=true).
What is the expected behavior?
I would like to have some kind of className that toggles on the pickr button element.
That way it's possible to style the pickr button (or element, given useAsButton=true) depending on its open state.
Alternatively some additional show/hide events could be helpful so a consumer is able to implement the visibility change handling themselves.
Your environment:
Version (see Pickr.version): 1.2.3
Used bundle (es5 or normal one): es5
Used theme (default is classic):  nano
Browser-version:  chromium 75
Operating-system:  linux

Great idea! I like the idea with additional events, I'll take a look at it :)

I've added hide and show events in 18be8c9e48a7e598e93ea1350157898f66746066. All other option would blow the code too much but you can chain all event-listeners so it won't be that much code you need to write :)

Thanks :D

If nothing comes up in the next 2/3 days :)


Add float write format option

Add an option to ojg.Option for float format when writing.

Added in develop.


Issues #283

#283
Update index.html add URL Supporters , Conferences , Affiliates sections

Anyone tell me why conflicting files error show me .

I'm not sure what's happening here but perhaps @SaptakS is who I would suggest would maybe know (along with a few other folks at the open source design team with FE knowledge) perhaps also @AnXh3L0 ?

@aryasoni98 Thanks for the PR!!! The PR needed to be based on top of the master branch instead of the main branch. I fixed that. :)
Also, the ImgBot PR was created by you for optimizing image sizes? Can you tell me what tool you used for doing that?

#340 seems to be the new updated PR. Closing this.


It states that it checks out ca19a90028e242e878585941c2a27c8f3b3efc25, though that commit doesn't actually contain the function TLSSNI01ChallengeCertDomain which this library uses.
See: https://github.com/xenolf/lego/blob/ca19a90028e242e878585941c2a27c8f3b3efc25/acme/tls_sni_challenge.go
vs the vendored:
https://github.com/rsc/letsencrypt/blob/master/vendor/github.com/xenolf/lego/acme/tls_sni_challenge.go#L44

Looks like this is fixed in https://github.com/rsc/letsencrypt/pull/12

I modified the code after vendoring it. The vendor.json file records the copy I started with. Any diffs are local modifications. That doesn't make it invalid.

In case anyone else runs into this: glide can help work around this with the following config:
- package: github.com/xenolf/lego
  repo: https://github.com/vikstrous/lego
  version: 8bb3dce0bea06e315bcbe18a5806ae0716514dfc
  subpackages:
  - acme

similarly for govendor using @vikstrous's branch:
$ govendor fetch github.com/xenolf/lego/^::github.com/vikstrous/lego@8bb3dce0bea06e315bcbe18a5806ae0716514dfc


[qt5-webengine] Fix issues

changes from #16583

add feature "proprietary-codecs"

fix build error due to internal changes how options are passed.

try to fail early on too long build paths instead of late

[x] wait for CI

[x] Run vcpkg x-add-version --all

Seems CI passed.

/azp run

Depends on #16904


Remove dimod.discrete dependency on dimod.bqm

Not sure why this is failing in windows - closing for now.


Support for -h, --help or help is missing up to now

python d.py --help

Traceback (most recent call last):
  File "d.py", line 16, in <module>
    daemon.do_action(sys.argv[1])
  File "/home/guettli/projects/lala-env/lib/python3.8/site-packages/daemonocle/core.py", line 887, in do_action
    func = self.get_action(action)
  File "/home/guettli/projects/lala-env/lib/python3.8/site-packages/daemonocle/core.py", line 883, in get_action
    return get_action(self, action)
  File "/home/guettli/projects/lala-env/lib/python3.8/site-packages/daemonocle/core.py", line 56, in get_action
    raise DaemonError(
daemonocle.exceptions.DaemonError: Invalid action "--help"

I think -h, --help and help should be supported by the library.

Use the click integration described in the README. It has a --help option built-in.


Add GPTQ support

What does this PR do?
Add support for NNCF weights compression with GPTQ.
Usage:
quantization_config = OVWeightQuantizationConfig(bits=4, dataset="wikitext2", gptq=True)
ov_config = OVConfig(quantization_config=quantization_config)
model = OVModelFromCausalLM.from_pretrained(model_id, export=True, ov_config=ov_config)

optimum-cli export openvino --task text-generation-with-past -m <model_id> --weight-format int4 --dataset wikitext2 --gptq ./model

Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

The failed test is irrelevant (it fails sometimes)

The PR is ready for merge


Miniproject 2 solution

Have removed comments. The variable names have been kept to enable easy understanding of the logic.

Did you verify that these work. IF it doesn't, you are answerable to the students :-)

I tested the changes. They worked fine. Thanks Ragav.


Bamboo Playwright E2E Tests with Multinode Configuration Running on Wrong Branch

Describe the bug
We have identified an issue where the Bamboo Playwright E2E tests configured for Multinode execution are running on HEAD instead of pushed branch.
To Reproduce

Turn the video recording on for a branch for debugging reasons
Trigger the Bamboo build for the Playwright E2E tests with the multinode configuration.
Observe the branch on which the tests are executed.

Expected behavior
The tests should get executed on the pushed branch
Screenshots
Example Build with playwright video artifacts: https://bamboo.ase.in.tum.de/browse/ARTEMIS-AEPAEPTMLM11-DA-28/artifact

Which version of Artemis are you seeing the problem on?
7.2.3
What browsers are you seeing the problem on?
Chrome, Safari, Microsoft Edge, Firefox
Additional context
No response
Relevant log output
No response

We should fix this issue asap!


Testcase updation

https://github.com/bulkan/robotframework-requests/issues/74

@bulkan could you please review it?

Thanks again :)

Thank you :)