Possibilities of modifying the cursor

Hey there,
first of all, thank you for your amazing work! I really have been looking for something like this for a while and it added a lot of value to Obsidian as a whole for me.
Now I only have two things missing that I would like to implement in Obsidian and I was wondering if you or maybe someone else knew a way to do this.

Before I had a blue cursor just like on iOS and I would like to get that back. How can I change the cursor color in your Plugin? I tried changing stuff in CSS but it did not work
I really want the cursor smooth caret effect that vs code has in Obsidian but I just cant figure out how to do that.

Do you know a solution to any of these issues I'm having?
Thanks again for your amazing plugin!

Yeah changing the color of the cursor would be wonderful.

Sorry for the delay!
To change the cursor colour, we can use the CSS snippet as like below:
* {
    caret-color: red !important;
}

(Please change red to your favourite colour).
And if you want to overwrite the behaviour too, snippets in  #3 are useful.

@vrtmrz You're good, no rush. Also thank you for that. Caret-color works perfect.
Quick question, this is not that important just curious:
from snippet 3 The disable movement effect, if I wanted to keep the movement effect, and disable this it doesn't work.
/* Disable movement effect */
.cursorWrapper .x-cursor::after {
    display: none;
}

Even if I disable this whole part, it basically removes the whole iA (long blue cursor) from snippet #3 and goes to a default cursor like this.
Here's the before:

Here's the after (disabling effect above to bring back movement effect):

Again, not really a big deal. But just wanted to try to keep the iA cursor from #3 ....ANNND keep the movement effect.
Anyways thank you ♥

@yarub123
Finally, I understood what is the problem!
I think the following CSS would be nice, could you please try it once?
https://gist.github.com/vrtmrz/c12640a02cdb4102730b9a1938e611a8

@vrtmrz Omg first off sorry I hadn't seen this till now.

It is now PERFECT 👌
Love it man, thank you so very much, appreciate you and your effort. ♥

I am very glad to hear that!

@vrtmrz it's me again, your favorite nightmare 🙃

Question on this. When selecting for example 2 lines from the left side only the top line has the cursor blue

When selecting the text but from the right side then all the lines are blue.

I want to get the second option (2.), so that if I select from left side all of them are blue.
Example of (1.)

Example of (2.) this is the one I want but only works when selecting from right side:


Adding an atomic applyPatch method

The new subscribe invokes a callback function with a array of diffs:
[["set", ["path1"], old1, new1],
 ["set", ["path2"], old2, new2]]

it would be great to have a function that takes a diff array and applies all the diffs in one atomic action:
p = proxy({a: 1, b: 2})
applyPatch(p, [["set", ["a"], 10 ],
              ["set", ["b"], 20 ]])

so in this case, listeners with subscribe would trigger with
[["set", ["a"], 10, 1 ],
 ["set", ["b"], 20, 2]]

This would allow finer control setting historical state.
Alternatively, can a cas function be implemented ?
p = proxy({a: 1, b: 2})
f = function cas (p, f) {
  prev = snapshot(p)
  curr = f(p)
  replace(p, curr)   // replace will replace the contents of the proxy with `curr`
}

this should also trigger subscribe with all the changes.

As I wrote somewhere, I'd encourage you to develop a 3rd party package.

okay, I reread https://github.com/pmndrs/valtio/issues/185
The problem I have with this approach is that the original proxy has to be mutated in order to figure out what the diffs are. is there a way to do this before mutation?

I mean you can parse ops and apply them in an atomic way. I know it's a tough task.
Or, I may misunderstand what you are trying.

I mean you can parse ops and apply them in an atomic way. I know it's a tough task.

that's actually what I want to do, but apply the ops to a proxy all at the same time. I know that operations like assign can add multiple keys but I want to capture changes on more complex operations:
ie. going from
{a: {b: 2}, c: 1} to {a: {b: 3}}

would be involve the following ops:
[["set", ["a", "b"], 3, 2],
 ["delete", ["c"], 3]]

I'd like for the diffs to be applied all at once to the proxy before the subscribers are notified so that it mimics a transaction in that either all changes go through or none will go through.

[["set", ["a", "b"], 3, 2],
 ["delete", ["c"], 3]]

This is not an atomic operation. Notice proxies are nested.
As valtio batches notifications within a tick, so:
const p = proxy({ a: {b: 2}, c: 1 })
subscribe(p, () => console.log('changed'))
p.a.b = 3
delete p.c

will notify once.

@dai-shi, oh thanks. That makes more sense now.

As valtio batches notifications within a tick

Can you point me to the code that does the batching?

https://github.com/pmndrs/valtio/blob/827f0a5ddc1b5cf60e9e5a73d17d1ca44d13cad7/src/vanilla.ts#L233-L238
We use Promise.resolve() for microtasks. https://developer.mozilla.org/en-US/docs/Web/API/HTML_DOM_API/Microtask_guide

Got it. that link explains a lot.
So basically any changes made to a proxy object within a synchronous function call will be batched. Is that correct?

Correct.

Okay. So the functionality I was looking for is already built-in.  It's a really nice feature to have.
Thanks!


FAQ Option in Header

Summary
FAQ Option in the Headers
Background
Add a FAQ option under Get Hep (below image), and point to our documentation page: https://docs.linuxfoundation.org/lfx/easycla/getting-started/easycla-faqs
Current Drop-Down:

Improved Drop-Down:

User Story

As a project manager, I want to have a FAQ for EasyCLA.

Acceptance Criteria
FAQ menu option that links to the appropriate page.
References

Provide any code or specification references that would be helpful for the developer implementing this feature.

FAQ is now in the header.


graph: Add support for "or" filter on /users

This add support for combining filters on the /users with a logical "or" operation. E.g. the filter:
"filter=(memberOf/any(m:m/id eq 509a9dcd-bb37-4f4f-a01a-19dca27d9cfa) or memberOf/any(m:m/id eq 262982c1-2362-4afa-bfdf-8cbfef64a06e)"
will return all users that are a member of either of the referenced group.
Closes: #5667
Examples added to the libregraph spec in: https://github.com/owncloud/libre-graph-api/pull/96

@JammingBen This should make or filters for groups work:
(memberOf/any(x:x/id eq 910367f9-4041-4db1-961b-d1e98f708eaf) or memberOf/any(x:x/id eq 4cceeace-b8ca-472a-9788-e73da11de14c)) and appRoleAssignments/any(x:x/appRoleId eq 910367f9-4041-4db1-961b-d1e98f708eaf)

Please note the () around the or query. Without them the and would take precedence.

:boom: Acceptance test Web-Tests-ocis-smoke-ocis-storage-2 failed. Further test are cancelled...

Hooking myself in just because to review the admin docs for possible changes


run error need help

run error with minio,here is log msg

check the minio status in Docker, make sure it is running.

minio run ok,this url http://xmj.minio:9000 can't visit

I already create manually xmj bucket with web url，but not run ok

if you want to access the minio management site, try this http://<IP_ADDRESS>:33103. there is no need to manually create buckets. I'm uncertain about the specific issue that caused the error you encountered. could you send the image or file in sandcat frontend?

i try again with no docker run ok,maybe docker config has error,i'll see later

ok,very thanks，i'll continue to test


How to declare a non-asset dependency?

I'm not sure if this is even possible, but I'm trying to fix a bug in a gem I'm using (not my own) in a Rails project that breaks with sprockets 3 and thought maybe you could point me in the right direction.
In particular, this gem calls depend_on to declare a dependency on routes.rb:
https://github.com/railsware/js-routes/blob/master/lib/js_routes/engine.rb#L9
But since that file is not in the assets path it is rejected here in sprockets:
https://github.com/sstephenson/sprockets/blob/v3.0.0.beta.8/lib/sprockets/resolve.rb#L65
Is there a way to handle this with sprockets 3? It doesn't seem right to add the config directory to config.assets.paths surely.
I don't know if this is a more general problem, perhaps? Seems like any ERB processor could depend on some code elsewhere and would need to get reprocessed when the Rails environment is reloaded.
Apologies if this is more an issue for sprockets-rails, though it seems like it could apply in other circumstances too.

If this is still an active issue can you close this one and re-open it at http://github.com/rails/sprockets. Active development has moved to that repo.
If you've got a bug with sprockets 3 please make sure you've tried the latest 3.3.3. If you can confirm this is still an active issue, the fastest way to get it fixed is to create a small example app that reproduces the failure and open an issue in the new repo http://github.com/rails/sprockets.


feat: More details about "browser-like" mobile NextAuth usage

Describe the feature you'd like to request
Please describe in more detail what the solution looks like regarding this comment from the README talking about authentication options for mobile apps.
if you're dropping the Expo app for something more "browser-like", you can still use Next-Auth.js for those.
I build mobile apps primarily with Ionic React + Capacitor, so I think this would fall directly under the "browser-like" category.  The whole app runs mostly within a webview on the device.  Everything is built using standard web technologies and components.
The one thing I can't seem to get an answer on with regards to using Next-Auth is how to use it outside the context of the sever-side session provider.  The app would be running completely outside the context of the NextJS server, so how would I leverage the server-side auth from my app?
Describe the solution you'd like to see
Please provide examples or more explanation about how to leverage NextAuth in the "browser-like" mobile app context.
Additional information
I'm currently using the Supabase SDK directly on the client for auth and database, but I'm also looking into how to bridge this gap between the client and server - they have some auth helpers to hopefully make this easier.
Either way - I want to sort out auth between client and server so I can use tRPC with my various client apps.  I'm just trying to figure out the best way to do that.
https://supabase.com/docs/guides/auth/auth-helpers/nextjs
https://www.reddit.com/r/Supabase/comments/10qlg3h/client_sdk_vs_trpc_api_pros_and_cons/

If your app is "browser-like" and can handle cookies etc you should be able to just request <next-app-url>/api/auth/signin?callbackUrl=<other-app-url>
And handle the session data when it comes back


Incorrect help doc of az storage container list

The content of the help doc is extracted from azure python sdk, which doesn't apply to the context of cli. For example, the concept generator doesn't apply here.
Command
    az storage container list: Returns a generator to list the containers under the specified
    account.
        The generator will lazily follow the continuation tokens returned by the service and stop
        when all containers have been returned or num_results is reached.  If num_results is
        specified and the account has more than that number of  containers, the generator will have
        a populated next_marker field once it  finishes. This marker can be used to create a new
        generator if more  results are desired.

@jasonrshaver: can we look at it as part of doc bugs.
@tjprescott: Should we open sdk bug?

The doc is extracted from here. The content itself is correct in the context of the python API but it doesn't fit to be exposed as CLI help doc directly.

@mayurid I think the SDK would agree with Troy that it is adequate within the context of the SDK. That it is not helpful for the CLI isn't really their problem, and unless we create standard for help documentation across services, I doubt they would do anything. I would suggest we simply override it in the _help.py file.

I believe there will be more cases like this across CLI as long as we direct extract documentation from SDK.

Yes, this will. Originally we did this to have placeholder text when we were supposed to get dedicated help doc writers. Now that this isn't the case, what I do when I "touch" a module is review the help text and update the _help.py file as appropriate. I recommend we simply do this as a team.

This has been fixed in another PR.


pybamm developers workshop

@brosaplanella:
From the discussions in the meeting today it seems that we may want:

Show people how to write a basic model, we can start simple Reservoir, and build all the way to DFN (or SPM) with acid dissolution. - - This will also include writing a parameter set that works for it.
We also want that the final task is to write things as a submodel. Even if we don't require this from contributors in the near future, maintainers will have to do it, so still worth documenting it and training people.
The day should finish with a PR. Most likely we won't merge any, but people will then have the opportunity to practice with Github and deal with tests, etc.
The idea is for people to work in teams, so they can split the work (i.e. treat it as a project, rather than as exercises).
We should think of hints or checkpoints to guide people if they get stuck.

Maybe we could start by having a DFN + acid dissolution working script. Then we can work backwards (i.e. any exercises we want to use to teach people how to write models) and forwards (i.e. the submodel version), and also write the statement.


 Also cat was disabled, since it mostly has torrents from other websites and no original uploaders, also had a lot of anti scraping means so it wasn't reliable.

Do you think it's worth the time if I add another scrapper ? I was looking at limetorrent but it might have repeated torrents. Any other ones I could add or improvements I could make ? I have some time to put into improving this addon


Streaming the Reply to Save Time

Is your feature request related to a problem? Please describe.
It can be a bit boring and a time loss waiting for ChatGPT to reply when it got a lot to say.
Describe the solution you'd like
The reply being streamed to Alfred while being generated with stream set to True for openai.ChatCompletion.create. But AFAIK there's no way for an Alfred action like the current Large Type to update while a script being executed by Run Script. So it might have to be implemented using a Python GUI programming tool.
Describe alternatives you've considered
AppleScript dialog, but it can't be updated or closed by itself. Tkinter, but the window won't become the front-most one automatically.
Additional context
I have implemented it using Fled for myself:
https://github.com/chrislemke/ChatFred/assets/33798984/665c84ae-ae11-4a7a-8398-79c8779f0407
But I think it would be a little invasive for an Alfred Workflow to just launch an app you never installed…

I have updated the code for this on my fork:
https://github.com/Sponge-bink/ChatFred/blob/12504682df50e6a1b2ff147903ffe76be321fb0e/workflow/src/text_chat_flet.py#L292-L346

Hey @Sponge-bink cool idea! Please feel free to create a PR!!!


Need advice: Extract Local Attention Positions

I am working on a project, I want to extract the local attention positions present in the feature maps of every level in the FPN. Below is the visualization:

For example, a level in the FPN outputs the feature map that can be visualized below:

I want am to know how to locate those weights and how to extract their location with respect to the (H x W x 256) tensor size output of FPN.

there are many visualization methods, such as grad-cam.......

there are many visualization methods, such as grad-cam.......

I mean, how to get the locations of the blobs of attention in the feature map

there are many visualization methods, such as grad-cam.......

I mean, how to get the locations of the blobs of attention in the feature map. In theoretical explaination.

I understand you want to extract the high attention region of the feature map. In this case, you can first localize this region by calculating the coordinates of pixels with high attention. Then you can use roi align to extract the region features.

I understand you want to extract the high attention region of the feature map. In this case, you can first localize this region by calculating the coordinates of pixels with high attention. Then you can use roi align to extract the region features.

@jbwang1997 I was thinking to combine the 256-channels into 1-channel, then use torch.where() to calculate the x-y locations of high attention values.

Yes, it's feasible.


Provide a simple way to disable WebClient instrumentation

I am looking to disable the TraceWebClientBeanPostProcessor since I have my own simple brave instrumentation for WebClient.
I cannot just exclude it because it is being created in a nested configuration in TraceWebClientAutoConfiguration and the TraceWebClientAutoConfiguration is also in charge of providing other instrumentations (RestTemplate) that I don't want to exclude.
I had to implement a BeanDefinitionRegistryPostProcessor to remove it, but would have preferred to set a property, or add the AutoConfiguration to the exclude list.
I think adding a @ConditionalOnProperty on the nested configuration will suffice.

Are you willing to add a pull request to the master branch? We can make it @ConditionalOnProperty indeed.

Fixed via https://github.com/spring-cloud/spring-cloud-sleuth/pull/1723


custom filter for assets

for example - you need to display assets only with location

Hi @krezzoid Sorry for my late reply...
I have a small question. Why do you create new transient Collection/FetchResult with filtered assets?

@zhangao0086 because I didn't find  way how to remove objects from received PHFetchResult object which is not confirm to filter. With PHFetchResult you can just enumerate items and .. thats all :) you can't use .filter or .map or any other functional calls which could simplify this work.
If you have more elegant solution - feel free to make changes in my code.

Thanks!


Add UI or UX Design Communities Resource

Our UI/UX design section lacks a sense of community engagement. To foster learning and collaboration, Your task is to find and add relevant UI/UX design communities to our resources. These communities can encompass forums, social media groups, or any other platforms where UI/UX designers gather to share insights, seek advice, and collaborate on projects.

Please make sure that you read the Contributing guidelines before raising a pr

i will do it assign me


missing ruby, perl

ruby has a bunch of virtual machine implmentations:

yarv
jruby
opal
etc

dunno about perl

I think you should open this issue on mohd-akram/compilers, since that is where the data is.

Thank you for the suggestions, I've added them to the graph.


Add sensors or parameters - how to (in this case the new power limitation)

Hey friends,
ist there a documentation, on how to add parameters or sensors to the integration?
My attempt is to add the power limitation as a writable parameter tobe able to use it in automations.
Thanks

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Thanks I gues.
I dont get how a windows exe can fix the integartion on the HA?
The exe is flagged as suspicious....can you give furhter info on how this exe will fix this problem?

I would definitely not do anything with what Wanderx said, I don't trust that.
What you can do, is find the ID. Download the diagnostics before you change the parameter, change the parameter and download the diagnostics again. Find the difference between the 2 files and try to find the right parameter. Mention it here, and Benpru might add it to a future version.

I would definitely not do anything with what Wanderx said, I don't trust that. What you can do, is find the ID. Download the diagnostics before you change the parameter, change the parameter and download the diagnostics again. Find the difference between the 2 files and try to find the right parameter. Mention it here, and Benpru might add it to a future version.

Thanks for suggestion: Do you mean the datalogger diagnostics from the machine, right?

I would definitely not do anything with what Wanderx said, I don't trust that. What you can do, is find the ID. Download the diagnostics before you change the parameter, change the parameter and download the diagnostics again. Find the difference between the 2 files and try to find the right parameter. Mention it here, and Benpru might add it to a future version.

Thanks for suggestion: Do you mean the datalogger diagnostics from the machine, right?

See https://github.com/BenPru/luxtronik and then reporting issues.

Hello friends,
I did some investigation:
The Parameter ID 1158 is ON/OFF Limitation
The Parameter ID 1159 is the limitation in kW but in a weird dimension.
e.g. 2kW is listet as "20" and 1.1kw is listet as "11"
Is there a way to add it manualy via editor in HA?

As far as I could research, BenPru's integration removed the possibility to add those parameters manually.
So I'm still stuck with this task.
Could anyone give me directions on:

either how to add those parameters manually (if possible)
or how to support BenPru to add those parameters (I am willing to contribute, but with very little experience)

Thanks

How to manually add Luxtronik parameters:

Go to HACS
Search for Luxtronik
It will find 2 integrations with the name Luxtronik and the same icon. You basically need both.

The original Luxtronik integration by Bouni, last updated last year. URL ends with "hacs/repository/260169906"
The integration in this repository by BenPru, currently at version 2024.9.23-Beta. URL ends with "hacs/repository/420733339"

You will have already downloaded and installed integration 2.
Download and Install the integration 1. It will install the integration in custom_components/luxtronik.
(The BenPru integration 2. in this repository has been installed to custom_components/luxtronik2)
Integration 1. cannot be configured via the HA UI: you need to configure everything via YAML.
The Hacs page of the integration 1. (URL ends with "hacs.repository/260169906") describes how to configure via YAML the connection to the Heatpump, and how to add sensors for parameters that are not part of integration 2.

The Parameter ID 1158 is ON/OFF Limitation
The Parameter ID 1159 is the limitation in kW but in a weird dimension.
Firmware *.90 >=

@stefanovich1 Great, thank you very much.
Please let me release a new stable and after that I can have a look at the new values.
Unfortunately my heatpump has no new firmware (*.90) and I can't test it.

Hi,
I think these parameters are very interesting not just as sensors but also as writable. At the end I would be possible to adjust the heat pump power limit to the available power  from PV for example.
I have no idea how to change these parameters via HA. But changing this via the UI of the Luxtronik is not an option.

There is a new firmware available which adds support for a HEMS based on Solar Manager .
See some infos at Link
Up to now i have no problems using this firmware with the latest integration 2024.9.30
[V3.90.1-12327]

Allgemeine Verbesserungen und Optimierungen der Wärmepumpenregelung
Integration [Smart Home Schnittstelle (SHI) für die Anbindungen des Solar Managers (HEMS)

Hey people!
I would like to help wherever I can. I have a suggestion for the Sensors below.
The Sensors only apply when "smart grid" is active.
This switch is also not available in the integration....should we add this also?
descr(
    key=SensorKey.ELECTRICAL_POWER_LIMITATION_VALUE,
    luxtronik_key=LP.P1159_Unknown_Parameter_1159,
    icon="mdi:arrow-collapse-down",
    state_class=SensorStateClass.MEASSUREMENT,
    device_class=SensorDeviceClass.ENERGY,
    entity_category=EntityCategory.DIAGNOSTIC,
    native_unit_of_measurement=UnitOfEnergy.KILO_WATT_HOUR,
    native_precision=1,
    factor=0.1,
    min_firmware_version_minor=FirmwareVersionMinor.minor_90,
    update_interval=UPDATE_INTERVAL_SLOW,

LuxtronikBinarySensorEntityDescription(
    key=SensorKey.ELECTRICAL_POWER_LIMITATION_SWITCH,
    luxtronik_key=LP.P1158_Unknown_Parameter_1158,
    icon="mdi:leaf-circle-outline",
    device_class=BinarySensorDeviceClass.RUNNING,

There is a new firmware available which adds support for a HEMS based on Solar Manager .
See some infos at Link
Up to now i have no problems using this firmware with the latest integration 2024.9.30
EDIT: see this issue
[V3.90.1-12327]

Allgemeine Verbesserungen und Optimierungen der Wärmepumpenregelung
Integration Smart Home Schnittstelle (SHI) für die Anbindungen des Solar Managers (HEMS)

where did you find the 'releasenotes' of the new firmware?

Are there any plans for this feature?

I am done with the feature. I would like to push it to a separate branch. Can anyone give me the permission?


program crashes eventually (MCTS)

program sometimes crashes after MCTS calculation;
picked move is already occupied.

fixed in PR#84


[FEATURE]: Adding images in headphone section

I have collected different different images of headphone and also updated the content and prices of the headphones

hi @codervivek5
can you please assign me this issue #1116 ?


outlook encrypt error

win7 32, pgp4win 2.2.5, outlook 2010 32
when I chose encrypt, it says
.resources error
It should be system.windows.forms.listviewitem but it is system.windows.forms.listviewitem + listviewsubitem.

Please post a screen shot of the error.

duplicate of #94.


Add data/examples folder to plenoptic with functions for accessing

as discussed in the pyOpenSci review:
https://github.com/pyOpenSci/software-submission/issues/150#issuecomment-1896069593
https://github.com/pyOpenSci/software-submission/issues/150#issuecomment-1896125038
it's typical to want data that a user can access.
Basically there's two ways to do this:

directly add files to the package, and then access them with importlib-resources
host files somewhere else (e.g., OSF) and then download them, e.g. with pooch

So for example, for (1) you might have
./src/plenoptic/data/einsten.pgm

So a user can do
img = plenoptic.data.get('einstein')
# do stuff

whereas (2) on the other hand would trigger a call to a function that downloads e.g. a tar.gz of metamers off of a project on OSF -- note this requires some more engineering, e.g. picking a default download location
@billbrod there's some more detail here, would love feedback on this if you have any
https://github.com/NickleDave/python-package-guide/commit/277c5769d215d407c56746d3856d1822a560d605
Also note I would recommend keeping the data you have for tests even though it involves some duplication.
That's because you don't want your tests/fixtures to depend on your plenoptic.data.get function working.

Thanks for the help and happy to see there's a write-up being worked on for the python package guide! Happy to give feedback, how should I do so? (do you want to open a PR or should I send you feedback directly?)
I currently use OSF to host some files that I use for testing (e.g., the files to check against during some regression tests), which I download using requests -- haven't heard of pooch before!
The contents of the data folder as it exists on github and as would be helpful for users (i.e., not the files used only for tests) are mainly images, and so are not very large. I'll look into this more, but my inclination then is to use improtlib-resources. It seems like the major downside is total file size and using git for binary files -- I'm already using git for those images (whomp whomp) and the total size of the directory is about 2MB, so I don't think that's much of a problem. Does that sound reasonable to you?

:100: Totally. For an initial implementation I would literally copy + paste the data dir, add an init.py and a get module with an eponymously named function, and from inside it access the files with importlib-resources. 2 MB is not great but it's not gigantic--maybe raise a "trim data dir" issue and add it to the backlog

sounds like u got it, but just as an example here's a very low-overhead way of doing it:
https://github.com/sneakers-the-rat/paper-feeds/blob/1015841855c499798fa30a47dde778512841b87e/src/paper_feeds/const.py#L5
In my (non editorial, personal) opinion, ~2MB is a reasonable cost for making onboarding in a quickstart as seamless as possible, esp. in an archival sense where eg. the image host might go down at some point and having some small example images stored along with the package would be good to test basic functionality. obvs if you want to take those out of the package to host separately that is good too, but just to say don't feel too bad about the 2MB :)

Closed by #252


introduce bazel  "--output_user_root" startup option

This fixes #issues/11198. We don't put bazel cache in $HOME/.cache outside container; Instead, we take advantage of  bazel's --output_user_root startup option (pointing to /apollo/bazel-root inside container, $APOLLO_ROOT/bazel-root outside).
Although bazel-0.5.3 doesn't support .bazelignore file yet, it makes no harm. As soon as we moved to bazel 3.x, .bazelignore will come to life!

We have many modules, and great number of developers working together. To make it easier to refer to,
please always add module name in your commit message. ": msg...".
In your case, probably it's "build: "? please consult with @xiaoxq . thx

Agree! @storypku Let's use "Bazel: xxx yyy zzz." and "Docker: xxx yyy zzz." for all commit message and pull request title.

We have many modules, and great number of developers working together. To make it easier to refer to,
please always add module name in your commit message. ": msg...".
In your case, probably it's "build: "? please consult with @xiaoxq . thx

Agree! @storypku Let's use "Bazel: xxx yyy zzz." and "Docker: xxx yyy zzz." for all commit message and pull request title.

OK.

We have many modules, and great number of developers working together. To make it easier to refer to,
please always add module name in your commit message. ": msg...".
In your case, probably it's "build: "? please consult with @xiaoxq . thx

Great idea! Thanks to Jiaming Tao from Jiaming Liu. :-)


cute_tiled.h

Using cute_tiled.h instead would remove the libxml and zlib dependency. Might be a seperate library though, since it would be a change in the API.

https://github.com/RobLoach/raylib-tiled


drivers: eth: Fix return value if we run out of bufs in TX

The correct return value is -ENOBUFS if we run out of network
buffers when sending the packets.
Signed-off-by: Jukka Rissanen<EMAIL_ADDRESS>

I am still seeing weird errors in TX if we do not have enough bufs, investigating more.

Sorry for the noise, this is not a proper fix. Closing.

I am still seeing weird errors in TX if we do not have enough bufs, investigating more.

I agree with -ENOBUFS. Therefore, your change to eth_stm32_hal.c eth driver is highly welcome. In my opinion it should not be the show stopper, if you using QEMU or other board.

Occasionally I've deleted one Jukkars of comment and can't restore it. My apologize Jukkar!

Sorry for the noise, this is not a proper fix. Closing.

What board you're using?
I agree with -ENOBUFS. Therefore, your change to eth_stm32_hal.c eth driver is highly welcome. In my opinion it should not be the show stopper, if you using QEMU or other board.
Please reopen this PR again, if you see the change as meaningful. Jerome and I can then test it.

@Nukersson I agree too. The thing is that net_pkt_read only returns an error in case of -ENOBUFS so I guess this PR could still be cleaner error propagation back to the calling stack.

I closed this one as it was not fixing the issue I saw. My testing showed issue in nucleo_f767zi but not in mimxrt1050_evk so I was suspecting issue with the stm32 driver. Turns out it was not.
But we can certainly have this fix if you think it would be helpful.

@MaureenHelm Could you merge this PR?

@MaureenHelm Could you merge this PR please?

@Nukersson We might need to open an issue in order to have this merged in 2.4.0.
The thing is that correct behavior should be -ENOBUFS but as far as I can tell, -EIO has not caused problems since then.

Are there other drivers that need this change too?

Are there other drivers that need this change too?

In fact I've been looking at other targets driver implementation. It seems to not be consistent if weither or not the driver returns -ENOBUFS or -EIO in case of an error with net_pkt_read().
native_posix:
	ret = net_pkt_read(pkt, ctx->send, count);
	if (ret) {
		return ret;
	}

eth_smsc911x.c:
	if (net_pkt_read(pkt, tx_buf, total_len)) {
		goto error;
	}
...
error:
	LOG_ERR("Writing pkt to FIFO failed");
	return -1;

eth_e1000.c
       if (net_pkt_read(pkt, dev->txb, len)) {
		return -EIO;
	}

eth_stm32.c
       if (net_pkt_read(pkt, dma_buffer, total_len)) {
		res = -EIO;
		goto error;
	}


Add Xml property to ArrayModel class #2669

In reference to issue: #2669

Thanks! slightly refactored in merged #2670


Session fails to set on subdomains.

Affected Symphony version(s) : 2.7.6
PHP version(s) : 5.5.19 (haven't tested 7 yet)
Encountered a scenario today that was a little tricky to repeat:

Main domain, https://www.example.org
Dev domain, http://dev.example.org

Login to Symphony on the main domain ✔
Login to Symphony on the dev domain 🙅♂
Logout of Symphony on the main domain
Login to Symphony on the dev domain ✔
Login to Symphony on the main domain 🙅♂

The reason behind this weirdness appears to be the session.name setting. We don't set it in Symphony at all, so by default it is PHPSESSID.
When we attempt to login on the dev domain, it won't replace the cookie that was set previously (not too sure why?), so the login fails. You can see in the database that the session is actually created correctly, but the cookie just won't be set.
To fix it I set the session.name (just hardcoded it to a different string).
For a long term fix, perhaps we should set this value using the getDomain() method? The return value would need to be cleaned up to be alphanumeric but it should solve the issue...

Oh and yes, I tested with the #2820 patch as well.

Thanks @brendo ! This is great! But I feel like it is a breaking change, and would get merged into 3.0.0.
Could we fix this in LTS by setting the domain name without a preceding dot ?

I am not sure if this is needed, and it may have a lot of side effects. Have I understtod correctyl? Does this change the cookie's name from PHPSESSID to something derived from the domain? This would definitely break my setups, at least.
@brendo, are you sure that your problems were not simply caused by the fact that one of the domains was running with SSL, the other did not? (In this case you will have a "secure" cookie on the first domain, which may cause your issues.)
If you think that this is useful, please give me some days to test it and dive into it.

Does this change the cookie's name from PHPSESSID to something derived from the domain?

That's what I've also understood. That's why my fix is to be more strict on the domain value, never setting the cookie to be valid on the root when it hits www.
You log on one host, that should only be valid for a that single host.
That being said, I have nothing against letting user set the cookie name.

@brendo, are you sure that your problems were not simply caused by the fact that one of the domains was running with SSL, the other did not? (In this case you will have a "secure" cookie on the first domain, which may cause your issues.)

That could definitely be the case. Will retest once I get SSL on the subdomain!

:+1:

Let's wait for @brendo's SSL test.


fix(style) - housekeeping for button css

This PR provides refactoring/housekeeping of the button component.

[x] Replace explicit instances of ilo with the $prefix variable to enable theming later on
[x] Make sure classnames conform to modified BEM convention (block--element__modifier)
[x] Remove local variables that should instead use standard ones from the theme
[x] Explain any local variables that have to be used for special cases
[x] Remove unneeded rules
[x] Replace map-get invocations with the name of the css variable exported by the themes package
[x] Use LTR/RTL agnostic css (Example padding-inline-start instead of padding-left)
[x] Where necessary, break up the CSS for very big components into logical sub-components, that could potentially be exported from the Design System by themselves

Related to #971
Design bugs fixed :-
Align the small button icon and label
Before :-

After :-

Fix icon only component in twig
Before :-

After :-

@justintemps I noticed that there is a border radius token just used for the button. We should get rid of this one right?

The reason why I didn't delete it yet is because its been used in fileupload as well. Should we come back to this on file upload ?

packages/themes/tokens/radius/button.json

@GGKapanadze could you give this a look?

@justintemps @Shashika6 data-js-processed selector is removed and replaced with twig component attributes

@justintemps #1084 Is done in this as well. Will update the changesets along with the variables and let you know.

Refactored based on the feedback @GGKapanadze removed a few unused variables from the foundation and moved variables to component level where needed

@GGKapanadze This is good to go now right Cc :- @justintemps

Hey @Shashika6 I merged #1000 and now this has some merge conflicts in the Foundations file. Could you resolve those and rebase this on top of develop?


Upgrade Django to 1.9.5

Coverage remained the same at 93.783% when pulling eae249d1590fb729ae5cbb32b2836188fb203254 on django-upgrade into b2a5e9b9fea2fa5c6ca42d2b3439eb83d8612588 on master.


Multiple NullReferenceException exceptions in PeerMessage.cs while in Metadata mode

I noticed that there are multiple exceptions are thrown for the following line in Metadata mode:
Register (BitfieldMessage.MessageId, data => new BitfieldMessage ((int) Math.Ceiling ((double)
data.Size / data.PieceLength)));
The stacktrace is following:
at System.Environment.get_StackTrace()
at System.Runtime.CompilerServices.ReusableTaskAwaiter1.GetResult()    at MonoTorrent.Client.ConnectionManager.ReceiveMessagesAsync(IConnection2 connection, IEncryption decryptor, RateLimiterGroup downloadLimiter, ConnectionMonitor monitor, TorrentManager torrentManager, PeerId id)    at System.Runtime.CompilerServices.AsyncTaskMethodBuilder1.AsyncStateMachineBox1.<>c.<.cctor>b__9_0(Object s)    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)    at System.Runtime.CompilerServices.AsyncTaskMethodBuilder1.AsyncStateMachineBox`1.MoveNext()
at System.Runtime.CompilerServices.ResultHolder.<>c.<.cctor>b__4_0(Object state)
at MonoTorrent.Client.MainLoop.Loop()
at System.Threading.Thread.ThreadMain_ThreadStart()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
System.NullReferenceException
HResult=0x80004003
Message=Object reference not set to an instance of an object.
Source=MonoTorrent
StackTrace:
at MonoTorrent.Client.Messages.PeerMessage.<>c.<.cctor>b__1_1(ITorrentData data) in C:\Projects_TorrentRT\monotorrent\src\MonoTorrent\MonoTorrent.Client.Messages\PeerMessage.cs:line 52
at MonoTorrent.Client.Messages.PeerMessage.DecodeMessage(Byte[] buffer, Int32 offset, Int32 count, ITorrentData manager) in C:\Projects_TorrentRT\monotorrent\src\MonoTorrent\MonoTorrent.Client.Messages\PeerMessage.cs:line 100
at MonoTorrent.Client.PeerIO.d__3.MoveNext() in C:\Projects_TorrentRT\monotorrent\src\MonoTorrent\MonoTorrent.Client\PeerIO.cs:line 115
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
This exception was originally thrown at this call stack:   MonoTorrent.Client.Messages.PeerMessage..cctor.AnonymousMethod__1_1(MonoTorrent.ITorrentData) in PeerMessage.cs
MonoTorrent.Client.Messages.PeerMessage.DecodeMessage(byte[], int, int, MonoTorrent.ITorrentData) in PeerMessage.cs
MonoTorrent.Client.PeerIO.ReceiveMessageAsync(MonoTorrent.Client.Connections.IConnection2, MonoTorrent.Client.Encryption.IEncryption, MonoTorrent.Client.RateLimiters.IRateLimiter, MonoTorrent.Client.ConnectionMonitor, MonoTorrent.Client.ConnectionMonitor, MonoTorrent.ITorrentData) in PeerIO.cs
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
For current logic torrentManager.Torrent is always null for Metadata mode, and socket is going to be cleared in ConnectionManager.ReceiveMessagesAsync
Does it make sense to clear socket and close connection in such case?
Is this a correct logic?
Would it be possible to use BitfieldMessage while in Metadata mode?
For some reason DHT discovery doesn't work that well for MonoTorrent, could this be related?

That's a good call! The tests didn't cover this.
I have a test covering this and will figure out a good approach for this soon: https://github.com/alanmcgovern/monotorrent/pull/new/bitfield-metadata-mode

 For some reason DHT discovery doesn't work that well for MonoTorrent, could this be related?
Maybe? If Dht is finding peers but MonoTorrent is disconnecting from them, then this could be the reason alright. If this is the issue you were seeing, that should be fixed in master now.
If MonoTorrent is not finding peers then either there's a bug in the Dht code, or there's a slow bootstrapping issue (or similar). If this is the case, then please open a new issue and we can look into the Dht problem in more detail :)


add image version option

@kahootali Image is available for testing. docker pull docker.io/stakater/base-centos:7


[Website] Design how to present functional spec

We currently have Website wiki documenting the Dependencies of Functional spec :tada:
We would like to pull all information out of the word/pages documents. The rest of the info are:

Annotated image
Content section
[TBD]

Will add to the June 1 Design planning meeting agenda

Duplicated.


🚀 Feature:  Background of squad name

🔖 Feature description

Background of the squad name is like the following

Background of the squad name can be none it will enhance the UI Of the website

🎤 Why is this feature needed ?
This will enhance the UI of the website
✌ How do you aim to achieve this?
I will fix the CSS
🔄 Additional Information
No response
👀 Have you spent some time to check if this feature request has been raised before?

[X] I checked and didn't find similar issue

Are you willing to submit PR?
Yes I am willing to submit a PR!

Working on it

can you assign this task to me?

Can you assign this to me ?

Kindly assign me this issue

I can able to solve this issue, assign me...

Dear Contributors,
Join my team on Hackquad and HacktoberFest 2023. 1 contribution will count for both Hacksquad and HacktoberFest. Increase your chances of winning certificates and swags from both the contests.
https://www.hacksquad.dev/invite/cln8n87c80011mn06bjd8f1f3

Please assign this to me

Thank you for mentioning it, however we are not looking for this change 🙏


Segmentation fault on glfwDestroyWindow

On both 3.3-stable and master I receive a segmentation fault upon calling glfwDestroyWindow in the destructor of my custom wrapper class. I test my application on both WSL and Windows and the issue only appears to exist on WSL.
#0  0x00007ffff66439e3 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#1  0x00007ffff662cb0a in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#2  0x00007ffff61c31d2 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#3  0x00007ffff61c3b4a in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#4  0x00007ffff61c460b in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#5  0x00007ffff61ca6d8 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#6  0x00007ffff5d277a7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#7  0x00007ffff5dcb800 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#8  0x00007ffff5d3daeb in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#9  0x00007ffff5c674de in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#10 0x00007ffff5c6b169 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#11 0x00007ffff77802c6 in ?? () from /lib/x86_64-linux-gnu/libGLX_mesa.so.0
#12 0x00007ffff77d3641 in ?? () from /lib/x86_64-linux-gnu/libGLX.so.0
#13 0x00007ffff77d8126 in ?? () from /lib/x86_64-linux-gnu/libGLX.so.0
#14 0x000055555557fb71 in makeContextCurrentGLX (window=0x0)
    at /home/bottledlactose/projects/modelview/lib/glfw/src/glx_context.c:174
#15 0x00005555555689db in glfwMakeContextCurrent (handle=0x0) at /home/bottledlactose/projects/modelview/lib/glfw/src/context.c:635
#16 0x00005555555709e8 in glfwDestroyWindow (handle=0x5555556418b0)
    at /home/bottledlactose/projects/modelview/lib/glfw/src/window.c:435
#17 0x000055555556764c in platform::Window::~Window (this=0x555555619eb0, __in_chrg=<optimized out>)
    at /home/bottledlactose/projects/modelview/src/platform/window.cpp:21

My internal usage looks something like this:
// context.hpp
struct Context {
    std::unique_ptr<platform::Window> window;
    ...
};
...
// platform/window.cpp
Window::Window() : handle(nullptr) {}

Window::~Window() {
    glfwDestroyWindow(static_cast<GLFWwindow*>(handle));
    glfwTerminate();
}

The actual window is being initialized in Window::init.

Multithreaded or single-threaded?  Does the problem go away if you call glfwMakeContextCurrent(handle) before destroying it?

The entire program is running on a single thread. I actually call glfwMakeContextCurrent in the constructor of the Window class. Adding the call right before destroying the window just to be sure it's really called right before the destroy makes no difference.
The initialization of my window looks something like this:
void Window::init(const std::string &title, int width, int height) {
    glfwSetErrorCallback(glfw_error_callback);

    if (!glfwInit()) {
        throw std::runtime_error("Failed to initialize GLFW!");
    }

    glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3);
    glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3);
    glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);

    handle = glfwCreateWindow(width, height, title.c_str(), nullptr, nullptr);

    if (!handle) {
        throw std::runtime_error("Failed to create GLFW window!");
    }

    glfwMakeContextCurrent(static_cast<GLFWwindow *>(handle));

    int version = gladLoadGL(glfwGetProcAddress);
    if (version == 0) {
        throw std::runtime_error("Failed to initialize OpenGL context!");
    }

    glfwSetFramebufferSizeCallback(static_cast<GLFWwindow *>(handle), glfw_framebuffer_size_callback);
    glfwSetKeyCallback(static_cast<GLFWwindow *>(handle), glfw_key_callback);

    glViewport(0, 0, width, height);
}

I started suspecting that the cast from a void pointer might do some weird stuff, but changing the window handle variable from void * to GLFWwindow * explicitly makes no difference whatsoever.


Get wrong exit code when exit code >= 128.

Describe the bug
$ cat main.c

int main() {
  return 128;
}

Run it by ckb-vm:
$  /usr/local/riscv/bin/riscv64-unknown-elf-gcc main.c -o main.riscv

use bytes::Bytes;
use std::io::Read;

fn main() {
    let args: Vec<Bytes> = std::env::args().map(|a| a.into()).collect();

    let mut file = std::fs::File::open("/tmp/main.riscv").unwrap();
    let mut buffer = Vec::new();
    file.read_to_end(&mut buffer).unwrap();
    let buffer = Bytes::from(buffer);

    let r = ckb_vm::run::<u64, ckb_vm::SparseMemory<u64>>(&buffer, &args[..]).unwrap();
    println!("{:?}", r);
}

output:
-128

Hi, right now this is expected behavior, CKB VM would shrink the exit code to 8-bit value similar to a UNIX platform. To aid debugging, we now use i8 here: https://github.com/nervosnetwork/ckb-vm/blob/develop/src/machine/mod.rs#L249, that's why 128 would be converted to -128, cuz i8 is not capable of holding a i8 value

On POSIX systems the standard exit code is 0 for success and any number from 1 to 255 for anything else, I can't quite understand the benefits of using i8.

Like I mentioned above this is more a handy change for debugging. In c people use negative return value all the time, having i8 can be quite handy when debugging, besides i8 and u8 have the same value range.
That being said, I consider it a separate question if we should use i8 or u8, my point is the return value is not wrong, just different interpretation


Add 409 conflict error to Errors

👍

:+1:

test this please

:+1: after adding the unit-test to improve the coverage.
I see there are multiple PRs to add new Error recently, I have some proposals to improve this Errors definition (not required for this PR), and I want to hear your voice of @RackHD/corecommitters and @zyoung51 :
(1) Separation the HTTP erros and other erros, create HttpBaseError (all Http Error has a status prooperty), HttpBaseError inherits from BaseError, and all other Http Errors inherits from HttpBaseError.
(2) Create all HTTP normal errors at a time, not one by one, thus minimize the times of such across repos changes in future.
(3) Improve the Error unit-testing, make it be more flexible to add new Error type.

@yyscamper What do you suggest is unittested here?  The fact that status is a 409 value?
@RackHD/corecommitters Closing the PR.  I'll use BaseError and set a status property to 409 instead.

@yyscamper and @heckj  can you help provide some standardized criteria on percentage of unit test (Coveralls) coverage loss that should gate a PR?  This PR combined with (https://github.com/RackHD/on-core/pull/112/files) had a -0.09% loss of unit test coverage.  This PR was flagged while the other was given +1s and not gated.
Also, @yyscamper for your refactoring suggestion would you mind to put that in google groups?  Those comments will be lost if/when this PR is merged.

@RackHD/corecommitters: Updated on-http dependent PR to indicate that it would be changed after Felix has refactored the error handling: '// TODO: Replace with HttpError after errors are refactored' and switched to using BaseError and setting status to 409.

@amymullins , @zyoung51 : Actually we don't have a common criteria on percentage of unit test coverage, my practice is that it differs in following situation:
(1) If the new code totally doesn't have any unit-test code, then it is gating;
(2) If there is a lot of new code and reasonable amount of unit-test, then it is OK for me as long as the coverage doesn't decrease a lot ( less than around 0.5% in my practice).
Anyway, the more the unit-test, the better for our project. And I just found a bug (see https://github.com/RackHD/RackHD/issues/186), if we had written the unit-test, that bug can be prevented.
As for those suggestion about Error refactor, I will write them in google group, so we don't forget it.

Thanks for your guidelines @yyscamper !  In this case, I believe the coverage loss with the combined 2 PRs was 0.09% and was considered negligible test coverage loss by both developers.  If applying your guidelines, then going forward we may not want to waste valuable CC time with such a comment given the large amount of PRs these days, let the automatic build tools call out the coverage loss, and review the content of the unit tests to make sure there is sufficient coverage.
I also agree 100% on adding the supporting unit test coverage, that is part of our definition of done and should have technically gated BOTH PRs.  Glad it was caught in code review for this PR, but was missed in its peer: https://github.com/RackHD/on-core/pull/112/files.


Difference between multiple predicates and the logical AND operator

Consider the following example JSON:
var doc = {
    "books" : [
            {
            "id"     : 1,
            "title"  : "Clean Code",
            "author" : { "name" : "Robert C. Martin" },
            "price"  : 7
        },
        {
            "id"     : 2,
            "title"  : "Maintainable JavaScript",
            "author" : { "name" : "Nicholas C. Zakas" },
            "price"  : 12
        },
        {
            "id"     : 3,
            "title"  : "Agile Software Development",
            "author" : { "name" : "Robert C. Martin" },
            "price"  : 15
        }
    ]
};

I wonder now if there is a difference between the usage of multiple predicates,
JSPath.apply('.books{.price < 15}{.price > 5}.title', doc);
//yields ["Clean Code", "Maintainable JavaScript"]

or the logical AND operator (&&),
JSPath.apply('.books{.price < 15 && .price > 5}.title', doc);
//yields ["Clean Code", "Maintainable JavaScript"]

to find all books whose price is between 5 and 15?

There's no difference. The result will be the same.

Ok thanks :)
Why should multiple predicates still be used when there is an equivalent logical operator which leads to the same result?

There might be more complicated cases, which can be resolved only using multiple predicates, for instance:
.a{.b}[0]{.c}

Fair enough, but now you are use one predicate for each path expression, not multiple predicates to filter an expression… :worried:
I know that's nitpicking, but on the other hand I really like JSPath—and hope this helps to make it even better. :smile:


bind src ip address

Hi! Is there way to set up src ip address for scrape requests?

This is not possible. What is your use case?

Freebsd router with multiple ip's and many vpn tunnels with huge routing table. I'm need to set up per src ip prometheus instanes.


VideoJS 5.0 integration

I also noticed that they are moving away from closure?
At least, https://github.com/videojs/video.js/blob/v4.12.13/src/js/exports.js doesn't exist in 5.0.
videojs.Html5 no longer exists and chokes on load.

My issues are kind of all over the place as I am trying to figure out how to reload a src with protection data (videojs('player').src({...})). As it doesn't seem like there is any mechanism to do so.
From player > tech > source handler.
I will continue my efforts using 4.12 for now I suppose.
#grumblecakes

Yep, 5.x has a lot of changes. The Dash tech is currently developed against vjs 4.x. See https://github.com/videojs/video.js/wiki/5.0-Change-Details for the changes happening between vjs 4.x and 5.x.

Leveraging 4.x for now. Will open a different issue if there are 5.0 issues when released.


Root folders should show children

The root viz's cards should have a "card-reveal" css enabled so the users can view the children directly from the given screen

This is no longer relevant as the main visualizer no longer uses cards


[Documentation] FAQ added for Why all executors are showing success in Spark UI even …

FAQ added for
Why are all executors showing success in Spark UI even after Dataload command failed at Driver side?

@rahulforallp kindly review

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/3910/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/5131/


tensorboard two value every step

What is your question?
I have same question. Have any suggestion? thanks
#3997

@Limtle can you elaborate what your problem is?
Is it because you are seeing both a train_loss:_step and train_loss:_epoch curve?
Because then you just need to explicit set one of them to False:
self.log('train_loss', loss, on_step=False, on_epoch=True)
Please see the documentation: https://pytorch-lightning.readthedocs.io/en/latest/logging.html#automatic-logging

Thanks. The code same as #3997. Then I find the same discussion in #4304


upgradejob: report job status (PROJQUAY-3443)

Take the upgrade job status into account when assessing quay component
status. This will show up quay in a non ready state until the database
upgrade job has been finished successfully.

/cherrypick redhat-3.7


Will the buyback still be happening 20th?

Just wanted to make sure that is still going to be happening ?

@2themoonandback the buyback will definitely happen, but with some delay it seems. Still waiting for the details from the team.


A memory leak

A memory leak
jdk1.8

Please upgrade your netty version. ObjectCleaner is not used anymore for ages.

Please upgrade your netty version. ObjectCleaner is not used anymore for ages.

thanks


[cli] update ping command - use id to match responses to requests

This commit updates/enhances the CLI ping command. It adds the
feature to track and match the ICMPv6 echo requests and responses
using an identifier. Each ping command will use a new value as the
identifier. A received ICMPv6 echo response not matching the current
identifier is ignored. This commit also makes the following (smaller)
changes:

renames the ping related member variables as mPing{Name},
defines  constants for default ping parameters,
changes ping to use public OT APIs/definition (instead of core
methods).

This should help address https://github.com/openthread/openthread/issues/4531.

@LuDuda I agree this will change how issuing back-to-back ping would behave. CLI will handle a single outstanding pingcommand  at a time (the ping command itself can specify a count parameter for number of pings to send). But once we issue a new ping (or ping stop) we won't get any output for any previous ping commands even if we receive ICMP echo replies from those later.
I don't have any strong preference here. If there is a need to support parallel pings from CLI we can change the logic to support it.
Thoughts?


transparent trakt call

I just opened an issue on fuzeman/trakt.py but just realised I need it in your kodi module ;-)
could you add a possibility for transparent trakt calls for functions that are not supported?
e.g. collection=Trakt['shows/'+showID+'/progress/collection']
maybe it is already possible but your interface-machine is too complicated for me to understand properly! :-/

Well this just pulls in the package done by fuzeman, so he needs to do it

Btw I think it's possible just check script.trakt for an example


Code formatter always reporting illegal source (3.0.80)

Not sure what's happening as it's working for me with the same method. If you email me your stone's login information, I might be able to see what error RowanMethodService>>reformatSource is doing.

Interval>>stonOn:  not committed to package but lived in my stone.
Therefore the bug didn't reproduce for me until I changed stones.
Method committed and issue resolved in 3.0.81.


DCR request contains string instead of array for redirect_uris and response_types fields

Describe the bug
When DR makes a DCR request, it sends a string instead of an array for redirect_uris and response_types fields, for example:
{
  ...
  "redirect_uris": "https://dr.cdrsandbox.gov.au/consent/callback",
  "grant_types": [
    "client_credentials",
    "authorization_code",
    "refresh_token"
  ],
  "response_types": "code id_token",
  ...
}

To Reproduce
Run DR and use Client registration option.
Expected behaviour
Even if redirect_uris / response_types contains a single string, it should send it as one element array as per RFC spec: https://www.rfc-editor.org/rfc/rfc7591.html, for example:
{
  ...
  "redirect_uris": [
    "https://dr.cdrsandbox.gov.au/consent/callback"
  ],
  "response_types": [
    "code id_token"
  ]
  ...
}

Screenshots
n/a
Additional context
This issue was spotted when using https://dr.cdrsandbox.gov.au/

Hi @ikawalec,
Thank you for getting in touch with us to raise this issue. The information provided and notification of the issue will greatly help to us make the sandbox more closely aligned with the CDR ecosystem.
We have logged the issue and will include a fix in a future release.

Hi @ikawalec,
A fix for this issue was released to the Sandbox yesterday.
This issue will be closed after we push the updated code from our internal code repository to this repository.

Hi @ikawalec,
The same fix applied to the sandbox is now available in the main branch on this repository.


BUG: HDFStore.append with encoded string itemsize

Closes https://github.com/pydata/pandas/issues/11234
Failure came when the maximum length of the unencoded string
was smaller than the maximum encoded length.
Need to run a perf check still. We end up having to call _convert_string_array twice, once before we know the min_itemsize, and a second time just before appending once we do know the min itemsize.

So initially I had to call _convert_string_array twice, the second time just to change the length. But it seems like we can just astype the converted string to the new length, which is quite a bit faster.
In [1]: from pandas.io.pytables import _convert_string_array

In [2]: a = np.array(10000 * ['ë́'])

In [3]: c =  _convert_string_array(a, 'utf-8')

In [4]: %timeit _convert_string_array(a, 'utf-8')
100 loops, best of 3: 5.37 ms per loop

In [5]: %timeit c.astype('|S6')
10000 loops, best of 3: 91.4 µs per loop

All the tests passed, but I've never worked with numpy's fixed length strings. Hopefully I'm not breaking any rules here.

merged via https://github.com/pydata/pandas/commit/26db1729f2947d95d9a2e51878ba0f297fe24165
thanks @TomAugspurger


Handle errors thrown while reading the response body

Solves #39 by adding a rejection handler to the then after reading the response body. It will now return the response even if there's an error reading its body.

Thanks again @shanecav :v:

@shanecav this was released as v3.0.0. I'll try and get an update out for react-request today. A coworker may have found a bug there so we're going to look into fixing that and try and get both updates in at the same time. Thanks! :+1:

@jamesplease sounds great! Is the bug caused by this PR?
Thanks!

@jamesplease sounds great! Is the bug caused by this PR?

Unrelated :v:


Gold Citations

Hi,
I wonder if gold citations dataset (gold_citations_dict.pkl) is publicly available to download?
Thanks!

Hello! If you go into the "v1" directory, there are some additional instructions for deploying the model locally. Specifically, you would need to download the model artifacts which are at the following link:
https://zenodo.org/records/10568402


Make SubdomainNavBar children optional

Some of the pages we build on resources.github.com are meant for campaigns only. Ideally, these pages minimize links to focus visitors on single CTAs. Could we make children for https://primer.style/brand/components/SubdomainNavBar optional, so that we can render it with just the GitHub logo and subdomain name?

👋 Thanks for bringing this up.

The GitHub logomark typically goes back to the github.com homepage, indicated by an arrow hover effect. Will this behave more like a document root link now? So if used on resources.github.com, it will go to / and we remove the hover effect?
The buttons are already optional, so can work for both of your scenario's @stefankp @waynewi

also cc. @ajashams @samoshin @danielguillan for confirmation that we can use the SubdomainNavBar pattern in this way for non-flagship marketing pages.

The GitHub logomark typically goes back to the github.com homepage, indicated by an arrow hover effect. Will this behave more like a document root link now? So if used on resources.github.com, it will go to / and we remove the hover effect?

@waynewi that's for you to decide.

The buttons are already optional

Ah awesome 👌

This request sounds reasonable to me. I prefer that we stay consistent and continue to route customers to our /home page when they click the GitHub logo. Otherwise, let's use the / Resources header if that's the intention.

Thanks @ajashams - one last thing, is it okay to show the logomark without adjacent text in the SubdomainNavBar?
We weren't sure if this was an officially supported pattern, as the component will typically display contextual text alongside it separated by a forward slash. E.g.

If it's okay to use the SubdomainNavBar without title text, we would need to do some minor refactoring to React component to remove the slash, but we'll wait on the answer to the question above..

It's in our inbox, so it's scheduled to be discussed at the next planning call on Monday. 👍 We can ship the update to the component next week, or do you need it sooner @waynewi.

Just want to make sure but I do not see any CTA buttons on the right hand side and want to ensure that when it's time to build this in Contentful, it will be clear to the Engineer that it's okay to have CTA buttons.

👍 The buttons still work as usual, and are already optional. No extra work needed to make it work.
Here's an example of how it would all work together:

@waynewi - FYI this feature has shipped in Primer Brand v0.17.1.
E.g.
https://user-images.githubusercontent.com/13340707/235921137-bad21598-f787-4f7c-8ce5-c2da645e2d70.mov


Add more APIs to File-related configuration input tracking

File

[x] list (while listFiles is already there)
[x] length
[ ] delete ❓ (may cause a lot of misses while the return value is often unused)
[ ] renameTo ❓ (same concerns as for delete)

⚠ These APIs require snapshotting file attributes and are not supported yet:

[ ] canRead, canWrite, canExecute
[ ] lastModified
[ ] isHidden
[ ] maybe getCanonicalPath and getCanonicalFile, as those resolve symlinks

Java NIO Files

[x] newInputStream
[x] newByteChannel
[x] newDirectoryStream
[x] probeContentType
[x] isDirectory
[x] isRegularFile
[x] exists, notExists
[x] newBufferedReader
[x] readAllBytes, readAllLines, lines
[x] readString
[x] list

⚠ These APIs require snapshotting file attributes and maybe symlinks:

[ ] isHidden (seems to only rely on the file name in some file systems?)
[ ] maybe readSymbolicLink
[ ] maybe isSameFile
[ ] getFileAttributeView, getAttribute, readAttributes, getPosixFilePermissions, getOwner
[ ] isSymbolicLink
[ ] getLastModifiedTime
[ ] isReadable, isWritable, isExecutable

⚠ These APIs require snapshotting nested directories:

[ ] walk
[ ] walkFileTree
[ ] find

Java NIO FileSystemProvider

[x] newInputStream
[x] newByteChannel
[x] newDirectoryStream

⚠ These APIs require snapshotting file attributes:

[ ] checkAccess

Java NIO FileChannel

[x] open

Java NIO FileTypeDetector

[x] probeContentType

Groovy File extensions
❗ Most of them have an implementation in ResourceGroovyMethods, and the Groovy static compiler emits an invocation of that, so the calls to the implementation need to be covered, too. It might make sense to introduce some special support for this case in the tool, like @WithStaticReference(ResourceGroovyMethods.class)

[x] text, getText
[x] eachByte
[x] eachDir
[x] eachDirMatch
[x] eachFile
[x] eachFileMatch
[x] eachLine
[x] eachObject
[x] getBytes
[x] newInputStream
[x] newDataInputStream
[x] newObjectInputStream
[x] newReader
[x] readBytes
[x] readLines
[ ] renameTo ❓ (same concerns as for File.delete)
[x] size
[x] splitEachLine (TODO: find Groovy API)
[x] withInputStream
[x] withDataInputStream
[x] withObjectInputStream
[x] withReader

⚠ These APIs require snapshotting nested directories:

[ ] eachDirRecurse
[ ] eachFileRecurse
[ ] directorySize
[ ] traverse
[ ] deleteDir ❓ (same concerns as for File.delete)

Kotlin stdlib extensions:

[x] ~File.bufferedReader~ → INLINED
[x] File.forEachBlock
[x] File.forEachLine
[x] ~File.inputStream~ → INLINED
[x] File.readBytes
[x] ~File.reader~ → INLINED
[x] File.readLines
[x] File.useLines
[x] ~Path.*~ → a lot of INLINED extensions that refer to Java NIO Paths
[x] ~URL.readText~ → INLINED
[ ] URL.readBytes

⚠ These APIs require snapshotting nested directories:

[ ] File.walk*
[ ] File.deleteRecursively (same concerns as for File.delete)

Thank you for your interest in Gradle!
This feature request is in the backlog of the relevant team and is prioritized by them.

This is a copy of the list in the description that I'm working with, it only reflects my local state.
For File:

[ ] list (while listFiles is already there)
[ ] canRead, canWrite, canExecute
[ ] lastModified
[ ] length
[ ] isHidden
[ ] maybe getCanonicalPath and getCanonicalFile, as those resolve symlinks

For Java NIO Files:

[ ] newInputStream
[ ] newByteChannel
[ ] newDirectoryStream
[ ] isHidden
[ ] maybe readSymbolicLink
[ ] maybe isSameFile
[ ] probeContentType
[ ] getFileAttributeView, getAttribute, readAttributes, getPosixFilePermissions, getOwner
[ ] isSymbolicLink
[ ] isDirectory
[ ] isRegularFile
[ ] getLastModifiedTime
[ ] exists, notExists
[ ] isReadable, isWritable, isExecutable
[ ] walkFileTree, walk
[ ] newBufferedReader
[ ] readAllBytes, readAllLines, lines
[ ] list
[ ] find

For Java NIO FileChannel:

[ ] open

For FileSystemProvider maybe:

[ ] newFileChannel
[ ] newByteChannel
[ ] newDirectoryStream
[ ] newInputStream

Kotlin stdlib extensions:

[ ] File.bufferedReader
[ ] File.forEachBlock
[ ] File.forEachLine
[ ] File.inputStream
[ ] File.readBytes
[ ] File.reader
[ ] File.readLines
[ ] File.useLines
[ ] File.walk*
[ ] maybe URL.readText and URL.readBytes

Progress on this is made in:

https://github.com/gradle/gradle/pull/23925
https://github.com/gradle/gradle/pull/24165

The APIs that mutate the file system are tracked under this follow-up issue:

https://github.com/gradle/gradle/issues/24181


Schedule account expiration

Describe the feature you'd like
I would like for the admin to be able to pre-set an expiration date for any user account to help automate user management. It could be added as a setting under Settings > Users > Edit User. Perhaps it could be implemented as part of the user roles, e.g., when a user account expires, the user is demoted to a lower access level which does not give them access to any content, without erasing/messing up the history of their contributions. Even better, if the access level they are demoted to can be customised, e.g., instead of not being able to access the content at all, grant them read-only access.
Use case: I use BookStack to manage information for a group of users. The users join the group for a pre-determined amount of time (typically 1 year). After that, they leave the group, whereupon their access to the BookStack instance should be revoked. At the moment I am doing this manually, but having to do so manually for multiple users at different times of the year (they join at different times) has become a chore. I basically have to monitor which user leaves when, and remember to log on to BookStack to revoke access for them. If I forget to do it, then the users have access to contents they should no longer have access to. I have only about ~10 users at any one time. It's not the number of users, but the fact that they all have different joining dates (and therefore revocation dates) and the constant turnaround of users, that make this difficult to manage manually.
Describe the benefits this would bring to existing BookStack users
It helps automate user management. Many corporate IT systems do this already, e.g., when you cease to be an employee, your access to the IT systems gets cut immediately, or within a predefined grace period. It saves admin time and effort, and importantly, enhances security by making sure users who should no longer have access cannot continue to access the content.
Can the goal of this request already be achieved via other means?
Short of doing it manually, there is currently no existing way to do it programmatically in BookStack (that I'm aware of).
Have you searched for an existing open/closed issue?

[X] I have searched for existing issues and none cover my fundemental request

How long have you been using BookStack?
1 to 5 years
Additional context
No response

Thanks for the request @austozi,
This feels like something quite specific though and, with lack of previous request for such a system, not something I'd maybe see as worthwhile supporting in the core project.

Can the goal of this request already be achieved via other means?
Short of doing it manually, there is currently no existing way to do it programmatically in BookStack (that I'm aware of).

There's a couple of options to achieve this:

The BookStack REST API supports management of users and roles. You could script your process against the API.
With a bit more intensive PHP hackery, you could use the logical theme system to add your own system command or endpoint to do whatever action your desire.

The API would be the best approach IMO, could likely tie it into any wider automation you may already have.

Thanks for taking the time to reply, @ssddanbrown. I didn't know about the REST API. Sounds like the way forward. I'll investigate it!


Possible fix for #1951

BugFixanalysisforissue1951.docx
When two instances of Torque3D are running on the same network, one as a
hosted server and the other as a client, the client is unable to connect
to the server. The program now can open a socket. This was obviously a
typo. To find the error I just searched for keywords containing socket,
open, open socket, and opensocket till I found the correct file. The
other error was in how the program processed “non fatal” errors. I just
outputed the error to the main console and devised that the socket
should not be closed for a WSAEWOULDBLOCK error 10035 "It is normal for
WSAEWOULDBLOCK to be reported as the result from calling connect on a
nonblocking SOCK_STREAM socket, since some time must elapse for the
connection to be established."
Read about the WouldBlock error:
https://msdn.microsoft.com/en-us/library/windows/desktop/ms740668(v=vs.85).aspx
Use of dbgSetParameters ( port , password ):
http://docs.garagegames.com/tge/official/content/documentation/Reference/Console Functions/TorqueScript_Console_Functions_2.html#dbgSetParameters_.28_port_.2C_password_.29
Use this commit: 	35046b9
Lines 812-838 (ignore spaces)

Really need to set your text editor to not strip empty lines to avoid all these unrelated line changes, or hand merge changes to another repository/branch used for upstream pull requests. Also Engine/source/platform/platformNet.cpp:825 block change has weird line line indentations.

Yeah, as @dottools said, looks like your IDE got a little aggressive with the formatting help. But this sounds pretty awesome!
If you can get the formatting bits cleaned out so it's just the actual fix, I'd love to roll this in.

Alright, working on the formatting today. Thanks for the fast feedback!


#11 replace set-output statement GITHUB_OUTPUT

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
This is a patch to use $GITHUB_OUTPUT instead of set-output.
Other information:

https://github.com/karancode/yamllint-github-action/issues/11
GitHub Actions: Deprecating save-state and set-output commands

check ok


Issue; "Command not configured for Python Console!" when running a python code.

This problem is presented after writing anything and running it, including having installed the correct python packages and having a python path installed on Windows 10.

i have the same issue as well. It may be because the script uses the prefix 'python' instead of 'py' which is the correct prefix for windows 10.


Ignoring features on Ulbrig does not work

Describe the bug
Brought to my attention by Loub#0125 in the Discord
Using Ignore Alignment When Choosing a Class or Ignore Prerequisite Features when Choosing a Class options in Toybox does not allow Ulbrig (the new DLC character) to pick classes that require specific alignment/features, i.e. Paladin.
To Reproduce
Steps to reproduce the behavior:

Turn on one of the two options
Give Ulbrig a level
Attempt to give him a level in Paladin
See error

Expected behavior
Be allowed to pick Paladin or whatever
Version Info:

ToyBox Version: 1.4.25
OS: Windows 10
Game Version: 2.1.2e

Additional context
Was able to replicate the issue on my end, in my 5 minutes of testing. Ignore Class Restrictions did allow me to pick Paladin, however.

Never seen the reply to this issue, and I don't actually have a save close to Ulbrig (that I can load with just Toybox). Will attempt to find a save and check later


fix(fs-bq-import-collection): update bigquery lib and insert api usage

related to #192

fixes #192

I check out this commit ba5257a but still having the same issue.
~/Code/firebase/extensions/firestore-bigquery-export/scripts/import   firestore-bigquery-export-0.1.2^2~4 ?  npm run import                     PIPE(-13) ↵  11862  16:21:38

<EMAIL_ADDRESS>import /Users/tony/dev/src/github.com/firebase/extensions/firestore-bigquery-export/scripts/import
node ./lib/index.js

? What is your Firebase project ID? alka-production
? What is the path of the the Cloud Firestore Collection you would like to import from? (This may, or may not, be the same Collection for which you plan to mirror changes.) ledgers
? What is the ID of the BigQuery dataset that you would like to use? (A dataset will be created if it doesn't already exist) fst
? What is the identifying prefix of the BigQuery table that you would like to import to? (A table will be created if one doesn't already exist) ledgers
? How many documents should the import stream into BigQuery at once? 300
Importing data from Cloud Firestore Collection: ledgers, to BigQuery Dataset: fst, Table: ledgers_raw_changelog
BigQuery dataset already exists: fst
BigQuery table with name ledgers_raw_changelog already exists in dataset fst!
View with id ledgers_raw_latest already exists in dataset fst.
Inserting 300 row(s) of data into BigQuery
Error importing Collection to BigQuery: PartialFailureError
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>import: node ./lib/index.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>import script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR!      /Users/tony/.npm/_logs/2020-03-28T08_22_01_033Z-debug.log


Freeplay Categories Help

Describe your problem here.
How do I put Freeplay Categories into my mod? I've been searching for months but without success (i am asking for help, I am not asking to ShadowMario if he can put that into the game)
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
A bit of everything (FreeplayState.hx, added some files, etc.)

d+b source code has freeplay sections and so does indie cross

I know, but how do I make the categories? What files do I need to take/edit?

I dont use source code so dk

I know, but how do I make the categories? What files do I need to take/edit?

just use source code from indie cross

I know, but how do I make the categories?


Update TermsAttribute.xml

MaxPhrase is a property, not an attribute; add "Gets or sets" to MaxPhrase summary, so users can see from the tooltip if it can be assigned; indentation.

The API reference docs are auto-generated from the comments in the source code. You can update the comments in the source code, and submit a PR. The source code is here: https://github.com/Microsoft/botbuilder.


fix: bump logflare to address restart issue

What kind of change does this PR introduce?
Bug fix https://github.com/supabase/cli/issues/1177
What is the new behavior?
Feel free to include screenshots if it includes visual changes.
Additional context
blocked by

[x] https://github.com/Logflare/logflare/pull/1608

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
10 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.1%) to 61.326%

Files with Coverage Reduction
New Missed Lines
%

internal/debug/postgres.go
3
64.86%

internal/gen/keys/keys.go
7
7.94%

Totals

Change from base Build<PHONE_NUMBER>:
-0.1%

Covered Lines:
4654

Relevant Lines:
7589

💛  - Coveralls


linalg svd unwrap issues

Maybe this isn't the correct place to ask or maybe I just need a fresh pair of eyes but I'm having trouble using the ndarray-linalg svd function.
the following code throws and error at the unwrap()
    X : &ArrayBase<impl Data<Elem = f64>, Ix2>,
) -> Array2<f64> {
    let temp:Array2<f64> = X.to_owned().clone();
    let (u, s, v) = temp.svd(true, true).unwrap();

while the following does not
    x : &ArrayBase<impl Data<Elem = f64>, Ix2>,
    n_components : f64,
) -> Self {

    let (_n, _m) = x.dim();

    //calculate the array of columnar means
    let mean = x.mean_axis(Axis(0)).unwrap();

    // subtract means from X
    let h:Array2<f64> = Array2::ones((_n, _m));
    let temp:Array2<f64> = h * &mean;
    let b:Array2<f64> = x - &temp;

    // compute SVD
    let (u, sigma, v) = b.svd(true, true).unwrap();

any help would be appreciated

Can you post the full backtrace for the case that panics?
If the code you are working on is already here on GitHub a link would be useful to clone and reproduce.

Here is the code https://github.com/ADMoreau/Rust-PCA The issue only happens in the rPCA function, PCA works fine. Sorry if the code is hard to read I haven't put all of the docs in yet.  backtrace -
[/home/austin/.cargo/registry/src/github.com-1ecc6299db9ec823/ndarray-linalg-0.12.0/src/lapack/svd.rs:83] ldvt = 100
called Result::unwrap() on an Err value: Lapack { return_code: -6 }
thread 'rPCA::algorithm::tests::test_rPCA' panicked at 'called Result::unwrap() on an Err value: Lapack { return_code: -6 }', src/libcore/result.rs:1189:5
stack backtrace:
0: backtrace::backtrace::libunwind::trace
at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.40/src/backtrace/libunwind.rs:88
1: backtrace::backtrace::trace_unsynchronized
at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.40/src/backtrace/mod.rs:66
2: std::sys_common::backtrace::_print_fmt
at src/libstd/sys_common/backtrace.rs:84
3: <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt
at src/libstd/sys_common/backtrace.rs:61
4: core::fmt::write
at src/libcore/fmt/mod.rs:1024
5: std::io::Write::write_fmt
at /rustc/4007d4ef26eab44bdabc2b7574d032152264d3ad/src/libstd/io/mod.rs:1428
6: std::io::impls::<impl std::io::Write for alloc::boxed::Box>::write_fmt
at src/libstd/io/impls.rs:156
7: std::sys_common::backtrace::_print
at src/libstd/sys_common/backtrace.rs:65
8: std::sys_common::backtrace::print
at src/libstd/sys_common/backtrace.rs:50
9: std::panicking::default_hook::{{closure}}
at src/libstd/panicking.rs:193
10: std::panicking::default_hook
at src/libstd/panicking.rs:207
11: std::panicking::rust_panic_with_hook
at src/libstd/panicking.rs:471
12: rust_begin_unwind
at src/libstd/panicking.rs:375
13: core::panicking::panic_fmt
at src/libcore/panicking.rs:82
14: core::result::unwrap_failed
at src/libcore/result.rs:1189
15: core::result::Result<T,E>::unwrap
at /rustc/4007d4ef26eab44bdabc2b7574d032152264d3ad/src/libcore/result.rs:957
16: processing::rPCA::algorithm::Do
at processing/src/rPCA/algorithm.rs:95
17: processing::rPCA::algorithm::rPCA::fit
at processing/src/rPCA/algorithm.rs:49
18: processing::rPCA::algorithm::tests::test_rPCA
at processing/src/rPCA/algorithm.rs:165
19: processing::rPCA::algorithm::tests::test_rPCA::{{closure}}
at processing/src/rPCA/algorithm.rs:158
20: core::ops::function::FnOnce::call_once
at /rustc/4007d4ef26eab44bdabc2b7574d032152264d3ad/src/libcore/ops/function.rs:232
21: <alloc::boxed::Box as core::ops::function::FnOnce>::call_once
at /rustc/4007d4ef26eab44bdabc2b7574d032152264d3ad/src/liballoc/boxed.rs:969
22: __rust_maybe_catch_panic
at src/libpanic_unwind/lib.rs:81
23: std::panicking::try
at /rustc/4007d4ef26eab44bdabc2b7574d032152264d3ad/src/libstd/panicking.rs:270
24: std::panic::catch_unwind
at /rustc/4007d4ef26eab44bdabc2b7574d032152264d3ad/src/libstd/panic.rs:394
25: test::run_test_in_process
at src/libtest/lib.rs:570
26: test::run_test::run_test_inner::{{closure}}
at src/libtest/lib.rs:473
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.

If you have any other comments on the code let me know so I can include it before pushing it

Ok, I cloned the repo and I am managed to reproduce the test panic.

So, the panic doesn't happen the first time Do is called (which contains the call to .svd) - several SVD calls end successfully before you see the one that panics.
The error message on the console says:
thread 'rPCA::algorithm::tests::test_rPCA' panicked at 'called `Result::unwrap()` on an `Err` value: Lapack { return_code: -6 }', src/libcore/result.rs:1188:5

Looking at ndarray-linalg, we can see that the underlying LAPACK routine being called should be dgesvd ( https://github.com/rust-ndarray/ndarray-linalg/blob/cdc6db1fb5442c6e286c57e226933b1285211d92/src/lapack/svd.rs#L83 ).
Checking LAPACK's reference, it seems we are looking at line 291 here - http://www.netlib.org/lapack/explore-html/d1/d7e/group__double_g_esing_ga84fdf22a62b12ff364621e4713ce02f2.html#ga84fdf22a62b12ff364621e4713ce02f2
Now I just need to figure out what it means :sweat_smile:

Could you provide some insights here @termoshtt?

I am bit confused because looking at LAPACK's code, it seems to be erroring because the LDA doesn't satisfy that equation. But this doesn't seem to be the case, given that the LDA is consistently 100 and it doesn't change throughout the computation.

I also reproduced this issue. This unwrap occurs when the input vector temp at https://github.com/ADMoreau/Rust-PCA/blob/1cce2f34e60bfa59faec219fd45a62a14e7471eb/processing/src/rPCA/algorithm.rs#L95 becomes NaN array.
With my some debug code
      let temp: Array2<f64> = X.to_owned().clone();
      println!("temp[0, 0] = {}", temp[(0, 0)]);
      println!("temp[0, 1] = {}", temp[(0, 1)]);
      println!("temp[1, 0] = {}", temp[(1, 0)]);
      let (u, s, v) = temp.svd(true, true).unwrap();

the end of log becomes following:
$ cd preprocessing
$ cargo test --features=intel-mkl
...
[/home/teramura/.cargo/registry/src/github.com-1ecc6299db9ec823/ndarray-linalg-0.12.0/src/lapack/svd.rs:83] ldvt = 100
temp[0, 0] = -483774241208677100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
temp[0, 1] = -1581024226846399000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
temp[1, 0] = -417737396116675400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
[/home/teramura/.cargo/registry/src/github.com-1ecc6299db9ec823/ndarray-linalg-0.12.0/src/lapack/svd.rs:83] ldvt = 100
temp[0, 0] = NaN
temp[0, 1] = NaN
temp[1, 0] = NaN
[/home/teramura/.cargo/registry/src/github.com-1ecc6299db9ec823/ndarray-linalg-0.12.0/src/lapack/svd.rs:83] ldvt = 100
thread 'rPCA::algorithm::tests::test_rPCA' panicked at 'called `Result::unwrap()` on an `Err` value: Lapack { return_code: -6 }', src/libcore/result.rs:1165:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.

I did not trace why it becomes NAN yet...
Anyway, this is an error message issue for ndarray-linalg, thanks for notification @LukeMathWalker


link to mobile SDK overhead measurement

The repo is named sdk-measurement which is quite generic. It doesn't cover Browser or Mobile, so adding a link to the repo we have with work done to measure overhead of mobile apps.
Idea: How about we rename this repo to backend-sdk-measurements ?

Generally, I think it's totally possible to do browser headless testing using this infrastructure, so not so sure about labeling it as backend-only.

Generally, I think it's totally possible to do browser headless testing using this infrastructure, so not so sure about labeling it as backend-only.

Fair, but at this time, it's backend-only. So going with a more generic name at this time adds to confusion. backend prefix could be dropped when (if) other platforms added later


Link color

https://github.com/The-Forum-Participators/the-forum-participators.github.io/blob/e7e52120b3f2e9f63b162975d39aaf82da2896dd/style.css#L72
I feel like this color option would have to be reconsidered. First, it makes the navbar look bad, and it makes the members' list links look bad. (it's for visited links)

If anything, I could change it back

What about adding special classes? E.G. “navbar” and “real link”

What about adding special classes? E.G. “navbar” and “real link”

CSS selectors can do that. No need for adding special classes.

Links are back to black, no need for this anymore.


Keyboard & Mouse Remap

Description of the new feature / enhancement
Allow keys to be mapped as mouse buttons.  At least left and right click, maybe scroll click.
If possible, make it not just act as a single click, but act just as a mouse button would, as in ability to click, hold, drag, etc.
Scenario when this would be used?
Personally I've had a mouse with a bouncing left click that I couldn't replace for a couple days and had to do this.
To be a ninja who has a loud mouse, but a quiet keyboard?
Prevent arthritis?
not a doctor
Supporting information
No response

/dup #3364


problem about tensorrt  inference

Thanks for your excellent work.  In CenterPoint/tensorrt/samples/centerpoint)/README.md, Do i have to install docker and run the step2.   (Because i run centerpoint in anaconda)  or just need to run step1 then step3 and 4?  thanks again.

using  docker is the most convenient way for me. If you install the tensorRT, you don't need docker.


Fix for Localization Bug and Retaining the Installer Log

This PR include Fix for Issue #14225 #14243
ping @navch @boopeshmahendran @shubhsnov for review

ping @vickramdhawal @swmitra  for review

LGTM 👍


Extend error response with additional information

What this PR does:
Extend error response with additional information
The matching family and scope for each error code are here
Which issue(s) this PR fixes:
Fixes NA
Checklist

[x] Changes manually tested
[ ] Automated Tests added/updated
[ ] Documentation added/updated
[x] CLA Signed: DataStax CLA

If the extendError flag is enabled, the new error response will be like:
{
    "errors": [
        {
            "message": "\"insertOne1\" not one of \"CollectionCommand\"s: known commands are [countDocuments, deleteMany, deleteOne, estimatedDocumentCount, find, findOne, findOneAndDelete, findOneAndReplace, findOneAndUpdate, insertMany, insertOne, updateMany, updateOne]",
            "errorCode": "COMMAND_UNKNOWN",
            "scope": "",
            "title": "Provided command unknown",
            "family": "REQUEST"
        }
    ]
}

By default, the flag is disabled, and the error response will not be changed:
{
    "errors": [
        {
            "message": "Provided command unknown: \"insertOne1\" not one of \"CollectionCommand\"s: known commands are [countDocuments, deleteMany, deleteOne, estimatedDocumentCount, find, findOne, findOneAndDelete, findOneAndReplace, findOneAndUpdate, insertMany, insertOne, updateMany, updateOne]",
            "errorCode": "COMMAND_UNKNOWN"
        }
    ]
}


Avoid creating child classification if already exists.

Number of reasons for a classification entry (+tag) only if not exists:

when a different refresh already created the same classification but it is not in our cache
cases were several values with different case/accent are mapped to the same tag

Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1382347

@miq-bot add_label bug, providers/containers, euwe/yes, darga/yes
cc @cben @simon3z

Thanks.  I think it needs some changes but I'll use parts of this in my upcoming PR.

@moolitayer @cben @simon3z In light of #11806, should this PR be closed?

Yes, please close.
On Nov 7, 2016 5:26 PM, "Oleg Barenboim"<EMAIL_ADDRESS>wrote:

@moolitayer https://github.com/moolitayer @cben
https://github.com/cben @simon3z https://github.com/simon3z In light
of #11806 https://github.com/ManageIQ/manageiq/pull/11806, should this
PR be closed?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ManageIQ/manageiq/pull/11796#issuecomment-258865658,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAQtGFLIxZGWpSjuNkvfHzKWRW8dpl76ks5q70MRgaJpZM4KSskR
.


Amigo  numbers over-inflated, but no annotation present

This is really strange.
I have 128  proteins annotated to "actin cytoskeleton organization"
this is whet we submit to GO.
In AmiGO if I search on pombe proteins annotated to "actin cytoskeleton organization"
i get 185 gene products reported.
I down-loaded this list and looked at the difference
One member is
http://amigo.geneontology.org/amigo/gene_product/PomBase:SPBP23A10.08
but when I looked at this gene product in AmiGO
this does not have an annotation to "actin cytoskeleton organization" or one of its  descendants?

So, it seems that what you get from a query does not match what is displayed on the  Amigo gene product pages?

another example,
no annotation to  "actin cytoskeleton organization"
http://amigo.geneontology.org/amigo/gene_product/PomBase:SPAC14C4.09

@huaiyumi  this is an AmiGO problem.
Once this is correct it will be easier to troubleshoot the PANther enrichment  to see why the results don't match what  are in the GO database.

This is the file of 128 genes annotated to "actin cytoskeketon organization" in our current GAF
cytoskeleton_list.txt
These are the 57 genes in the download list
gene_list_57.txt
that aren't annotated to "actin cytoskeleton organization"

@ValWood Not an amigo problem (amigo just displays what it is given), but possibly some pipeline issue. Also tagging on @dougli1sqrd .

It's weird because AmiGO seems to be internally inconsistent. The list I downloaded is FRM Amigo?

If AmiGO is internally inconsistent then it would be an AmiGO issue, but I believe it is consistent

In AmiGO if I search on pombe proteins annotated to "actin cytoskeleton organization"
i get 185 gene products reported.

Do you still have the URL you used? Or we can walk through this together.
If I start on
http://amigo.geneontology.org/amigo/term/GO:0030036
And then select the link to the list of genes (sorry this is still unintuitive), then filter on pombase
i.e:
http://amigo.geneontology.org/amigo/search/bioentity?q=*:*&fq=regulates_closure:"GO:0030036"&sfq=document_category:"bioentity"
download link:
http://golr.geneontology.org/solr/select?defType=edismax&qt=standard&indent=on&wt=csv&rows=100000&start=0&fl=bioentity,bioentity_label&facet=true&facet.mincount=1&facet.sort=count&json.nl=arrarr&facet.limit=25&hl=true&hl.simple.pre=<em class="hilite">&hl.snippets=1000&csv.encapsulator=&csv.separator=	&csv.header=false&csv.mv.separator=|&fq=regulates_closure:"GO:0030036"&fq=document_category:"bioentity"&fq=taxon_subset_closure_label:"Schizosaccharomyces pombe"&facet.field=source&facet.field=taxon_subset_closure_label&facet.field=type&facet.field=panther_family_label&facet.field=annotation_class_list_label&facet.field=regulates_closure_label&q=*:*
I get 136, this does not include SPAC14C4.09
$ curl -s -L 'http://golr.geneontology.org/solr/select?defType=edismax&qt=standard&indent=on&wt=csv&rows=100000&start=0&fl=bioentity,bioentity_label&facet=true&facet.mincount=1&facet.sort=count&json.nl=arrarr&facet.limit=25&hl=true&hl.simple.pre=%3Cem%20class=%22hilite%22%3E&hl.snippets=1000&csv.encapsulator=&csv.separator=%09&csv.header=false&csv.mv.separator=%7C&fq=regulates_closure:%22GO:0030036%22&fq=document_category:%22bioentity%22&fq=taxon_subset_closure_label:%22Schizosaccharomyces%20pombe%22&facet.field=source&facet.field=taxon_subset_closure_label&facet.field=type&facet.field=panther_family_label&facet.field=annotation_class_list_label&facet.field=regulates_closure_label&q=*:*' | grep SPAC14C4.09

it still doesn't match your 128, we have an extra 8. But I can't reproduce your 185

Likely a DNS issue from recent switchover from Stanford. I had the same issue. Can you do a hard refresh/reload?
I just want to confirm the path that you went through to get the list of 186, I want to get to the bottom of this

just from the GO term. I'm now getting correctly "136"

This is the list of IDs I got from the "download" previously
cyto_amigo.txt
cytoskeleton_list.txt

The thing that I find really confusing is that  these, as far as I known have nver been annotated to "actin cytoskeleton organization"
but there is usually  a  (tenuous) link to cytoskeleton (for example complexes which contain an actin like protein but are involved in transcription, clathrin coats, septins etc).
So I thought maybe this was paint annotations, but it seems not. I just can't see where the annotations would come from.

The difference you see now 128-136 is fine. This is due to PAINT (I will check these).
but why it was 186 is still odd...

Should this be closed and moved to the AMIGO2 tracker? It doesn't seem like an ontology task.

I believe that this issue has been resolved for the time being either way?

We still haven't been able to trace the cause. The numbers fluctuate.
We have been trying to trace it locally without success.
https://github.com/pombase/curation/issues/1901
https://github.com/pombase/pombase-chado/issues/678
.. I think it is most likely ontology. seems to be different handling of regulation over regulates. I'm not sure where or how...

I haven't seen this issue for a while.
I'll re report if it happens again.


A question about PSNR implementation in tensorflow 2.0

This template is for miscellaneous issues not covered by the other issue categories.
For questions on how to work with TensorFlow, or support for problems that are not verified bugs in TensorFlow, please go to StackOverflow.
If you are reporting a vulnerability, please use the dedicated reporting process.
For high-level discussions about TensorFlow, please post to<EMAIL_ADDRESS>for questions about the development or internal workings of TensorFlow, or if you would like to know how to contribute to TensorFlow, please post to<EMAIL_ADDRESS>I am working on some image processes using PSNR ( tf.image.psnr), but always I
got results larger than what I expected. Then I check the source code and I
find
psnr_val = math_ops.subtract(

20 * math_ops.log(max_val) / math_ops.log(10.0),

np.float32(10 / np.log(10)) * math_ops.log(mse),

name='psnr')

Compare to the standard PSNR algorithm, its formula as follows:

I wonder why there is np.log(10) in the tensorflow implementation rather
than np.log10(10)? Or is there anything I get wrong?
Thanks for any help.

I'll close this, as the comment above shows the equation is equivalent.