Should return sequence that violates linearizability

When Knossos fails, it gives output showing the sequence of events that violated linearizability. Porcupine seems to just return "false" from the checker. It would be great if it would show the underlying linearizability violation in a manner similar to Knossos.

It would be great to return more output to the user that helps in debugging.
What does it mean to show the sequence of events that violate linearizability?
Linearizability is a property of a history. Linearizability is in NP, so if a history is linearizable, there's a short witness that can be checked efficiently (the linearization). However, linearizability is not known to be in co-NP -- so we don't know of a short witness that can be used to verify that there exists no linearization.
Given a non-linearizable history, there are usually many linearizable prefixes of the history such that any extension of that prefix demonstrates an inconsistency. When a history is not linearizable, Knossos returns some linearizable prefix with this property. It's unclear if doing this is helpful for debugging a system, because it doesn't necessarily correspond with "what happened"; it's simply a linearizable prefix of the history. We could even return the longest possible linearizable prefix, but similarly, it's not necessarily "what's happened", and it's not clear if it'll be helpful to know.

We're currently using Porcupine in testing for linearizability in 6.824 lab assignments, and we briefly considered showing the longest possible linearizable prefix, thinking it may be useful as a debugging tool. After some thought, we came to the conclusion that this may not be too helpful, and may even cause harm, if the linearizable prefix is interpreted as "truth" and it's assumed that something went wrong after the operations in the linearizable prefix (because this isn't necessarily true).
I could be convinced to add this feature, but this is why I haven't done it as of now.
I think it would be great to think more about what might be useful information from a linearizability checker in tracking down a bug in an implementation, and then implement new functionality based on that.

I've thought a good amount about this, and discussed it with Kyle a while
back. I think it's useful to provide the first failing history as knossos
does, but also to show all concurrent operations along with the failing op.
That way you show that the failing history is not necessarily the actual
history, but still give enough information to figure out what possible
permutations may have caused the actual failure.
On Tue, May 15, 2018 at 10:09 PM, Anish Athalye<EMAIL_ADDRESS>wrote:

We're currently using Porcupine in testing for linearizability in 6.824
https://pdos.csail.mit.edu/6.824/index.html lab assignments, and we
briefly considered showing the longest possible linearizable prefix,
thinking it may be useful as a debugging tool. After some thought, we came
to the conclusion that this may not be too helpful, and may even cause
harm, if the linearizable prefix is interpreted as "truth" and it's assumed
that something went wrong after the operations in the linearizable prefix
(because this isn't necessarily true).
I could be convinced to add this feature, but this is why I haven't done
it as of now.
I think it would be great to think more about what might be useful
information from a linearizability checker in tracking down a bug in an
implementation, and then implement new functionality based on that.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/anishathalye/porcupine/issues/4#issuecomment-389372091,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAcf-SnaCQquSGRFbE2DXjjJikoo6i8Qks5ty4pygaJpZM4UAe62
.

Right, the "failing history" isn't the root cause, but it at least helps you understand where you went wrong. Particularly in the case that your model may have some issue (with more complex models).
I resorted to manually binary-searching for the longest linearizable prefix for my own use case and found the results useful to see where the first unexpected result was in the history. In my first test case I dont even have any concurrent operations so it's quite clearly a "wrong step" (perhaps due to a bug in my model)

The counter example shown in the first few figures at https://www.anishathalye.com/2017/06/04/testing-distributed-systems-for-linearizability/ by the author of both the post and this project seems picked in a thoughtful way. Maybe the same can be applied in general?
Seems like the technique is to find the minimal history that makes this tool return false.
Once that’s in, it’d be nice to have an enum of the reason why the history is not linearizable (stale read, ...).

I wrote some code that returns failing history prefixes, and I also wrote some visualization code. It's in the visualization branch. Still a WIP; feedback appreciated.
Linearizable prefixes
As mentioned in this comment above, it's not known if it's possible to produce a short proof witness for non-linearizability (NP ?= co-NP). Still, as several people pointed out above, it can still be useful to return some information to aid in debugging.
I updated the code to keep track of partial linearizations, saving them at backtracking points. With this, we get, for each history element, the longest linearization that we found that includes the given history element. This doesn't necessarily tell us "what actually happened", but it can often help pinpoint the underlying issue.
Visualization
With the set of linearizable prefixes available, it's possible to visualize the entire history along with the linearizable prefixes found. I wrote some code that produces a HTML page with diagrams that look like this:

Interactive version available here: https://s.anish.io/porcupine-vis-example.html
The diagram shows the history of operations, with descriptions of the operations (arguments/return values), and it shows the longest-length linearizable prefix in each partition. Other linearizable prefixes are shown in a translucent color. The x-scale is not proportional to time: instead, time in the diagram is relative (it preserves ordering but not scale). I initially had the x-positions correspond to real time, but the diagrams became unreadable (some operations are really fast, and others are really slow, which results in huge discrepancies in sizes).
A linearizable prefix is shown as a sequence of black bars, with lines connecting them. After the last element that's included in the linearizable prefix, red bars show possible (but illegal) next operations (which would correspond to operations that the search process tried to include in the linearization but which could not have executed at that point).
Hovering over a history element hides elements in other partitions, and it shows the longest-length linearizable prefix that includes that history element (if any). A tooltip shows the previous/next state of the state machine, along with the actual call/return times. Clicking on a history element makes this sticky, making it easier to scroll left/right while keeping a given partition active. Clicking on the same element or the background clears the selection; clicking on another element changes the election.
Larger histories
The example above is synthetic. Here's what the output looks like for a linearizable history from a key-value server:

(interactive version)
And here's what it looks like when the key-value server is deliberately broken (in this case, by allowing stale reads):

(interactive version)
I think it's useful with these realistic histories. E.g. in the failing example, I think it's possible for a developer to guess that the issue is a stale read, and then go about debugging that.
Example
To see the API for the new functionality, see visualization_test.go.
Next steps
I hope to merge this code eventually, but it's not quite ready yet. Here are some things that remain to be done:

Are there additional features related to visualization that would be useful to implement at the same time as this change? One example of an idea I'm considering is an API to attach custom data to the output. This would, for example, allow visualizing the history and linearization on the same timeline as server log messages.
What should the API be for this functionality? The current API returns an opaque object that can be passed to a visualization function; clients importing Porcupine can't do anything else with this partial linearization info except call the visualization function that produces HTML. Should the partial linearization information be part of the public API instead?
What about backward compatibility? The README currently says "Porcupine's API is not stable yet. Please vendor this package before using it.", but I haven't checked to see if there are people using Porcupine without vendoring. The code in the visualization branch is not currently backward compatible, and I don't know if there's a clean way to make it so (without introducing a bunch of redundant data types, etc.)
I wrote this code pretty quickly to arrive at the end result, to see if it's useful. As a result, it's a little hacky and needs to be cleaned up.
Related to the above point: need to add docs related to the new functionality.

CC @siddontang in case you have any insights on this

I made a bunch of small improvements and bugfixes to the visualization code, and I got rid of all external dependencies (including the LP solver). I think it's good enough to use now (merged in a6d4108f7bb39858cae1028c31846bb68596c6ee); we're going to give this as a tool to 6.824 students in the hopes that it might help with debugging (and demystify the "history is not linearizable" result from the tests, with previously had no extra context).


CNV-32824: Paste long string into vnc console

📝 Description
VNC console can't paste long strings in the current implementation.
VNC console is 3rd party component we are consuming and apparently, it can handle fast key sending which causes the paste to break for long strings(probably a buffer issue). I've added a sleep function before each key is sent in order to slow down the rate and make it work.
🎥 Demo
Before:

After:

/retest

/lgtm

/retest

/cherry-pick release-4.14


update script/fabric-preload.sh version && fabcar example Automatic script update

update docker images version.

Thank you for your contribution! This is a read only mirror, however. Please submit your change using gerrit.
you would need to check out the repo here: https://gerrit.hyperledger.org/r/#/admin/projects/fabric-samples and make your edits, pushing them to gerrit
here is a walkthrough for zephyrproject which is much the same WRT setting up an LFID, adding ssh keys, etc:
https://www.zephyrproject.org/doc/1.1.0/collaboration/code/gerrit_accounts.html
feel free to ask on rocket.chat - https://chat.hyperledger.org/ - discuss in #fabric
one note: when you set up your LFID do not use social logins the first time, create the account and you can add social logins later

this url < https://www.zephyrproject.org/doc/1.1.0/collaboration/code/gerrit_accounts.html > is Page Not Found..
and.. im sorry my english. im korean student,, Could you explain it easily? please :D


Static Assets Build and Deploy to GitHub Pages

Suppose I do something like
const spleenImageList = await import.meta.glob('../assets/ss_content/spleen/*.{jpg,png,gif}', { eager: true, import: 'default' });
    spleenImages.value = Object.keys(spleenImageList).map((key) => {
        return {
            // src: 'src/' + key.substring(2),
            src: key,
            alt: 'Image_' + key
        }
    }) as { src: string; alt: string; }[];

and I use those paths to create v-img components which work perfectly well on localhost, how would I change the vite.config.js or whatever else I need to change to be able to simply push the dist folder to a repo and deploy it on GitHub Pages.

I did figure it out, Vite needs to resolve paths for static assets from absolute paths so in my case I had to remove the base from vite.config.js and adapt my code to produce an absolute path which looks something like :
(Object.values(import.meta.glob("../assets/ss_content/tu_et_moi/*.{jpg,png,gif}", { eager: true }))).forEach(
        ({ default: path }: any) => {
            const url = new URL(path, import.meta.url);
            const data = {
                src: url.pathname,
                alt: 'Alt_' + path
            };
            tuEtMoiImages.push(data);
        }
    );


Option to deselect a subscription from calculation

If there was a check box to deselect items from the Subscriptions List, so that they were no longer calculated towards the weekly, monthly, and yearly totals, it would allow users to sort the monthly cost by the type of service. For example I would deselect, Verizon Cell Phone service, so I could only see the remaining monthly cost of my streaming services.

Hi @CopyAce,
Great idea 👌! I've implemented the feature in the feature/subscriptionlist-improve branch. I'll be creating a new Docker image soon, but in the meantime, feel free to clone the repository and build it locally. This update also includes the feature mentioned in your issue #5.


Revert "Bump android SDK to 33"

Reverts flutter/flutter#109583
Failing consistently on CI. One example:
https://ci.chromium.org/ui/p/flutter/builders/prod/Mac_android run_release_test/6379/overview


Changes

Giving object orientation to the pakwheel and the olx scraper file for easy scalability and functionality I hope you like it.
NOTE
This is my first open source contribution so if i have done something wrong or crashed the program entirely so please forgive me.

Thanks !
The files changed are not the main running files so it's okay. Keep Contributing!😉
Happy Learning !👍


Suggestion: control builder block quarrys with the scanner.

currently (rftools 7.11 in minecraft 1.10.2) it appears that if you put a scanned quarry card into a builder, it mines out the scanned shape in relation to the builder block itself...
It would be very nice if builders could use both the location and filtering of the scanner to control where its mining (you could also pair it with the projector for a visual display of blocks still to mine

That's not going to change. The idea is exaclty that you can use the Builder on a scancard elsewhere. Letting it work on the same location is pretty useless IMHO. Note that you can change the offsets in the scan card so that it again matches the original location but I will not change how it works as that is not how the builder works and I can't make a special case in the usage of the offset parameters for only one type of card.


Issue<EMAIL_ADDRESS>

Fixed problem described in mozilla/thimble.mozilla.org#1154. Problem occurred when layout properties were loaded from cache. Editor frame was manually allocated, which was not necessary due to its dynamic nature. Only need to initialize sidebar and preview tab(second pane) for editor to fill the rest.

@flukeout are you able to test this?
This looks like a good fix.

Yes, testing now.

@dsych When running your code, I'm still seeing this behaviour...

...is it different on your local environment?

OK, after resolving all of my terrible caching issues I was able to test this properly @dsych and here's what I think is going on...

We only set the width of the Sidebar when we load the load the editor now
So, the editor and preview window always take up 50% of the remaining space
We also want to remember the width of the Editor window but this doesn't happen anymore.

That's why we had the firstPaneWidth code in there...
var firstPaneWidth = BrambleStartupState.ui("firstPaneWidth");
if(firstPaneWidth) {
  $("#first-pane").width(firstPaneWidth);
}

Which is good, because that sets the size of the Editor to what we used to have. However, the problem comes when we try to resize, by dragging the browser size - it doesn't work.
The reason seems to be that firstPaneWidth is a pixel value. When we change it to a percentage instead, the two panes resize as we expect.
So I think the solution is to keep track of BrambleStartupState.ui("firstPaneWidth") as a percentage, instead of a pixel value, and our problem should go away.
Thoughts?
Here's a test when we set the value as a percentage, you can see it resizes appropriately

Fair enough @flukeout , I will change the size of the first pane to be the percentage equivalent of the total size.

@gideonthomas, I am glad to be of help in this matter that is all. Let me know how you want to approach the problem next.

@gideonthomas sure let's chat. It's just that the native feature for resizing already uses percentages. That's why it's not resizing the views when we first load, because we explicitly set widths as a pixel value, and the resizing code doesn't know how to handle it. If you inspect the code on the panes, you'll see that the widths are set in percentages by the Resizer.js code. I think that's the only issue that's been making this happen, it sets it in percentages, we store it in pixels.

@flukeout yeah that makes sense, but I think the fix to that would be that we shouldn't be setting pixel values in the first place (based on the piece of code touched here, it is not explicitly setting a pixel value here it's just getting what was already set). So somewhere in our code we are setting a px value and we should probably change that to a percentage. Then, brackets should use the same unit throughout (and the calculation done here would not be needed).

Agreed, the best solution would be to store the width as a percentage, then apply it as a percentage on load.

@gideonthomas @flukeout  It seems like you have agreed upon something. From what I understand, you want to fix the part where widths are being set as pixels in brackets and change the unit system in thimble.
So I have two questions:

Do you want me to continue working on this problem?
If question one is true; am I understanding your intention correctly?

@dsych yeah we just chatted. Your understanding of it is basically what I was trying to convey but after debugging with @flukeout, it seems like it's not easy to figure out where that value is being set.
So, instead, I think we'll go with what you have. However, I want to quickly test out if this condition also catches the case when we override the initial width through the Bramble API. If it does, let's land this as it is. If it doesn't, if you don't mind, I'm gonna ask you to remove the functionality from the Bramble API that allows you to override the initial value.
tldr; the core of your fix is right, we will take it in. Just let me quickly test if it catches a case I currently have in mind.

@gideonthomas sounds great.

@dsych Your solution calculates the width of the pane based on the entire width of the editor (files + editor + preview) and then uses that percentage.
However, in the Editor the First and Second Pane are wrapped by an element - #editor-holder - so the % you set for firstPaneWidth needs to be relative to that.
I think just adding up firstPaneWidth + secondPaneWidth and figure out the percentage from that would work.

@flukeout Thanks for the comment, I will make the update.

@gideonthomas I don't know if this will help, but I seem to find the location where the StateManager is being initialized. https://github.com/mozilla/brackets/blob/master/src/bramble/client/main.js#L228

@dsych once you make the update based on @flukeout's suggestion, I think we can land this since I can't reproduce the error on any case.
If you're interested, here's how far we came with trying to standardize the unit used ( https://github.com/gideonthomas/brackets/pull/2/files and https://github.com/gideonthomas/thimble.mozilla.org/pull/2/files). Apparently that might not work either because jQuery doesn't support what we're trying to do. So we might as well stick to the force percentages solution.
One thing I'm realizing is that we have too much state information that is changed in a lot of places at different times. We should probably try to simplify that code.

@gideonthomas @flukeout I will leave this standardization problem to you, since I obviously lack expertise regarding different modules of the system. I might return to it later, after getting more familiar with the system components.

@flukeout is this good to land now?

Checking now!

Thanks so much for this work @dsych - works as expected!


This is awesome.

How hard would it be to add support for other languages such as JS/etc.

Or are there already other alternative plugins better suited for doing so?

I haven't seriously worked on or used this in a long time - my assumption
is there are better things out there. But it would be awesome to get this
going for js/etc
On Wed, Nov 11, 2015, 3:36 PM Jordan W<EMAIL_ADDRESS>wrote:

Or are there already other alternative plugins better suited for doing so?
—
Reply to this email directly or view it on GitHub
https://github.com/jaredly/vim-debug/issues/29#issuecomment-155944541.


Update to<EMAIL_ADDRESS>

Issue Number
Overview

b0456eeb648b0d004b095e52b2b6d22d4894dc88
Update to<EMAIL_ADDRESS>
Comments
It appears to fix misbehavior of API doc on Chrome after recent swagger.yaml updates.

bors r+


option to allow reporting last epoch metric value

In the spirit of the discussion in #56 we're going to add a parameter to Scan() that allows choosing if highest epoch metric is reported or the last epoch metric value.

PR #80 takes care of this.


Did you consider canvas.captureStream and MediaStreamTrackProcessor?

Thanks for the nice sample!
Did you consider using canvas.captureStream() and MediaStreamTrackProcessor to produce a ReadableStream you can transfer to the worker? You don't have to manually createImageBitmap() from the canvas and transfer then.
https://github.com/w3c/webcodecs/tree/main/samples/capture-to-file shows how to do this with camera capture.

@dalecurtis  Can you tell me the background of the problem?
I don't see the benefit of using canvas.captureStream() and MediaStreamTrackProcessor instead of ImageBitmap.

Instead of having to create and transfer each individual frame you just transfer the stream once and receive video frames directly in the worker. In some cases captureStream may be able to optimize readback by using GpuMemoryBuffers to improve hardware encoding performance.
I expect it may not show too much improvement in a simple application, but for busy main threads it's less work in JS. It should be less code overall too.
Up to you in any case, just wanted to point it out if you hadn't seen it.

You probably don't want to set frameRate since that will causes frames to only be generated when the canvas changes:

If not set, a new frame will be captured each time the canvas changes

https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/captureStream
It will cause higher CPU usage to generate synthetic frames, so I wouldn't set a frameRate unless you need to for some reason.

Ok, i will try to use MediaStreamTrackProcessor.readable instead of ImageBitmap.


[IOTDB-6094] Load: Fix error in if/else judgment of tsfileResource exists or not

Description
In a benchmark scenario with 500 devices and 50 sensors, the load gives a No Such File error.

Reason
constructTsFileResource only update the tsfile resource information and does not create a file, then every time it determines whether the file exists, causes it to go to the wrong branch and add resource to LoadTsfileStatement wrongly and repeatedly. As a result, multiple identical tsfile resources are stored in the resources of  LoadTsFileStatement.After loading the file once, it will be deleted in tmp dir and NoSuchFileException will be reported in the subsequent load.
constructTsFileResource 只会更新tsfileResource而不会创建一个新文件，导致每次对tsfile resource 逻辑判断是否存在该文件时会走入错误的分支而重复添加该 tsfile resource到 LoadTsfileStatement 中。在第一次load后，存储在临时文件夹里的tsfile会被删掉，而导致后续重复的load找不到这个文件而报错 NoSuchFIleException.

Nobody knows load better than you🙌

You Make Load Great Again!!!


Lookup schema/Tests

I feel like I am missing something here....

[ ] Add validation for write lookup. If model_id not variant or name. If not model_id must have name, variant should default to key. May already exist.


Merge live

Docs Build status updates of commit f538f80:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

BingMaps/articles/custom-map-styles-in-bing-maps.md
:white_check_mark:Succeeded
View

BingMaps/sdk-native/map-control-api/index.md
:white_check_mark:Succeeded
View

BingMaps/sdk-native/map-control-api/mapelement-class.md
:white_check_mark:Succeeded
View

BingMaps/sdk-native/map-control-concepts/change-map-appearance.md
:white_check_mark:Succeeded
View

BingMaps/sdk-native/map-control-concepts/map-styles-sheets.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Correct masking when the same roles are present in adjacent messages in DataCollatorForCompletionOnlyLM

Feature request
In the function torch_call of DataCollatorForCompletionOnlyLM, the suggested new feature can support correct masking on user requests even if the user and assistant messages are not present alternately.
The current version requires an assistant message must follow a user message, and a user message follows an assistant message.
Two adjacent messages with the same role will cause wrong masking, as the current codes haven't considered that a large start variable can be paired with a small end variable when two roles don't take turn by turn :
 for idx, (start, end) in enumerate(zip(human_token_ids_idxs, response_token_ids_idxs)):
      # Make pytorch loss function ignore all non response tokens

      if idx != 0:
          batch["labels"][i, start:end] = self.ignore_index
      else:
          batch["labels"][i, :end] = self.ignore_index

  if len(response_token_ids_idxs) < len(human_token_ids_idxs):
      batch["labels"][i, human_token_ids_idxs[-1] :] = self.ignore_index

Using two pointers can solve the issue, below is an example solution:
#build test cases for response_token_ids_idxs and human_token_ids_idxs
response_token_ids_idxs = [1, 4, 6, 7, 8, 9, 15, 36, 57, 88, 89, 200]
human_token_ids_idxs= [2, 5, 12, 13, 56, 66, 90, 199, 201, 202]
pointer_human = 0
pointer_response = 0
mask_start = -1
mask_end = -1

while pointer_response <= len(response_token_ids_idxs) - 1 and pointer_human <= len(human_token_ids_idxs) - 1:
    if mask_start == -1:
        mask_start = 0 if response_token_ids_idxs[0] != 0 else human_token_ids_idxs[pointer_human]
    if mask_end == -1:
        mask_end = response_token_ids_idxs[0]
    if response_token_ids_idxs[pointer_response] > human_token_ids_idxs[pointer_human]:
        if mask_end < mask_start:
            mask_end = response_token_ids_idxs[pointer_response]
        pointer_human += 1
    elif response_token_ids_idxs[pointer_response] < human_token_ids_idxs[pointer_human]:
        if mask_start < mask_end:
            print(mask_start, "~", mask_end) #will substitute this line with batch["labels"][i, mask_start:mask_end] = self.ignore_index when pulling a request
            mask_start = human_token_ids_idxs[pointer_human]
        pointer_response += 1
    else:
        raise Exception("response_token_id and human_token_id could not be the same. Please check your response and human template ids")
if pointer_human < len(human_token_ids_idxs) - 1:
    while human_token_ids_idxs[pointer_human] < mask_end:
        pointer_human += 1
    if pointer_human <= len(human_token_ids_idxs) - 1:
        print(human_token_ids_idxs[pointer_human], "~", "end") #will substitute this line with batch["labels"][i, mask_start:mask_end] = self.ignore_index when pulling a request

This code can be tested to output:
### output
0 ~ 1
2 ~ 4
5 ~ 6
12 ~ 15
56 ~ 57
66 ~ 88
90 ~ 200
201 ~ end

Motivation
Support flexible and correct masking strategies for DataCollatorForCompletionOnlyLM, especially allowing masking for continuous messages from the same role.
Your contribution
I submit a PR: #2000

We encountered this problem because we wanted to fine-tune models on real-human conversations. In natural conversation, it is common to see an utterance followed by another from the same speaker in a context where that pause happens., for example, in counseling conversations.
I think not all researchers aim to build LLM as an AI assistant, which if so I agree only needs interleaved role-play.

And another scenario is NPC dialogue in game. When a player doesn't interrupt, the LLM could keep saying as the same role

Thank you very much for the clarification. We are currently working on a new dataset format that could be linked (for different motivation though). See #2148


--compact-tasks flag does not work

Before you open this issue, please complete the following tasks:

[x] use the search bar at the top of the page to search this repository for similar issues or discussions that have already been opened.
[ ] if you are looking for help from the gulp team or community, open a discussion.
[ ] if you think there is a problem with the plugin you're using, open a discussion.
[ ] if you think there is a bug in our code, open this issue.

What were you expecting to happen?

npx gulp --help

returns
  --compact-tasks         Reduce the output of task dependency tree by printing
                          only top tasks and their child tasks.        [boolean]

What actually happened?

npx gulp --compact-tasks

[14:46:35] Requiring external module ts-node/register
[14:46:35] Using gulpfile gulpfile.ts
[14:46:35] Task never defined: default
[14:46:35] To list available tasks, try running: gulp --tasks

Please provide the following information:

OS & version [e.g. MacOS Catalina 10.15.4]: Windows 10
node version (run node -v): 16.5.0
npm version (run npm -v): pnpm 6.10.3
gulp version (run gulp -v): CLI version: 2.3.0, Local version: 4.0.2

Moving this to the CLI repo - @sttk can you investigate?


Close all active sections

Hello there!
First, thanks for this amazing component. It is really awesome!
Is there a way to close all active collapsible? In my case, as an accordion, it will always have just one, but when I delete one of the sections, it automatically rearrange the accordion and it indexes, but it keeps the index opened. So I have a new section occupying the same accordion index, which is active.
Hope I made it clear!
Thanks a lot

Fixed in https://github.com/oblador/react-native-collapsible/releases/tag/v0.7.0

I'm still having a similar issue where I change my sections as the user does something, however, if the first section is opened when the list of sections change, the new list will also have the first tab active (expanded), same applies if it's any other tab of the same index.
Can someone please help? passing an unique key is not solving it.

@matheusbaumgart please create a new issue with an example on https://snack.expo.io that reproduces this


fix: Node dragging starting one event too late.

After these changes, the initial cursor position for the drag-node behaviour is saved on the initial mouse down instead of after the first drag event, so the cursor and dragged node don't missalign when dragging starts.

Thanks for your PR!


Fix bug when serializing sender with only cpf in TransactionRequest.

There is an error when sender has only the cpf attribute filled.
Also I added more tests to prevent this kind of error.

 Code Climate has analyzed this pull request.

LGTM :+1:


[Table] Expansion defect when 3 levels deep

Describe the bug
When the table is expanded 3 levels deep there is a visual defect that makes the that section of the table unusable. The expand icon disappears for the 3rd level and the selection box is partially hidden and the click/tap target is greatly reduced
To Reproduce
Steps to reproduce the behavior:

Go to https://carbon-addons-iot-react.com/?path=/story/watson-iot-table--stateful-example-with-row-nesting
Click on can pinocchio whiteboard 4 table cell

click on can pinocchio whiteboard 4B table cell

click on can pinocchio whiteboard 4B-2 table cell

See error

Environment/versions:

OS: MacOS
Browser: chrome, firefox
carbon-addons-iot-react version: v2.12.0

Specific timeline issues / requests
Do you want this work within a specific time period? Is it related to an
upcoming release?
No
NB: The core contributors will try to work with your timeline, but it's not
guaranteed. The earlier you make a request in advance of a desired delivery
date, the better!

:tada: This issue has been resolved in version 2.38.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


TestLSMR.testInitialization precision issue in scipy 1.5.2 with numpy 1.17+

While building SciPy 1.5.2 with numpy 1.17.5 or 1.18.5 on x86-64 (centos 7), there was one test failure (which would pass with numpy 1.16.6).
# python3 -m pytest -k 'test_lsmr' scipy
============================================ test session starts =============================================
platform linux -- Python 3.6.8, pytest-4.0.0, py-1.9.0, pluggy-0.13.1
rootdir: /root/rpmbuild/BUILDROOT/scipy-1.5.2-1.el7.x86_64/usr/lib64/python3.6/site-packages/scipy, inifile:
plugins: xdist-1.18.2, timeout-1.2.1, hypothesis-3.12.0
collected 38517 items / 38500 deselected

scipy/optimize/tests/test_least_squares.py .                                                           [  5%]
scipy/sparse/linalg/isolve/tests/test_lsmr.py ..........F...                                           [ 88%]
scipy/sparse/linalg/tests/test_pydata_sparse.py ss                                                     [100%]

================================================== FAILURES ==================================================
________________________________________ TestLSMR.testInitialization _________________________________________

self = <scipy.sparse.linalg.isolve.tests.test_lsmr.TestLSMR object at 0x7f6a61c80320>

    def testInitialization(self):
        # Test that the default setting is not modified
        x_ref = lsmr(G, b)[0]
        x0 = zeros(b.shape)
        x = lsmr(G, b, x0=x0)[0]
        assert_array_almost_equal(x_ref, x)

        # Test warm-start with single iteration
        x0 = lsmr(G, b, maxiter=1)[0]
        x = lsmr(G, b, x0=x0)[0]
>       assert_array_almost_equal(x_ref, x, decimal=6)
E       AssertionError:
E       Arrays are not almost equal to 6 decimals
E
E       Mismatched elements: 1 / 35 (2.86%)
E       Max absolute difference: 1.80325434e-06
E       Max relative difference: 3.07118478e-05
E        x: array([ 1.24264 ,  0.01353 , -0.744983,  1.472967, -0.027934, -1.758359,
E               1.554675,  1.404634,  0.057257,  0.040355,  0.760971,  0.902546,
E              -2.890788, -1.010879,  0.508211,  0.895521, -0.423501, -1.37111 ,...
E        y: array([ 1.24264 ,  0.01353 , -0.744982,  1.472967, -0.027933, -1.758359,
E               1.554676,  1.404636,  0.057257,  0.040355,  0.760972,  0.902545,
E              -2.890788, -1.010879,  0.508212,  0.895522, -0.423499, -1.371109,...

scipy/sparse/linalg/isolve/tests/test_lsmr.py:108: AssertionError
===================== 1 failed, 14 passed, 2 skipped, 38500 deselected in 23.29 seconds ======================

When tried with numpy 1.17.5 and 1.18.5 (compiled with the EPEL provided OpenBLAS 0.3.3), the above error occurs.  With numpy 1.16.6, it passes the test.  Interestingly, if I replace OpenBLAS with Intel MKL, the test passes too with numpy 1.17.5 and 1.18.5.
It does seem to me that the issue is not scipy-related; however, I don't have the proper background to go deeper with this, and guess it might still be beneficial to at least let the developers be aware of this issue.

The test passed fine on CentOS 8 + numpy 1.18.5 + OpenBLAS 0.3.3.  So I'm closing this, speculating it is some weirdness in the packaging of OpenBLAS on EPEL 7.


Merge upstream updates

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

[ ] I adhere to the Command Guidelines.

Saw an interesting commit from upstream in adding support for positional argument. /cc @northtyphoon @ehotinger


Remove VERSION file

The VERSION file is no longer used as part of the release process since
commit ad173af954cd ("Simplify the release process a bit") and hasn't
been updated for the last release anyway. Remove it.

The VERSION file is no longer used as part of the release process since
commit ad173af ("Simplify the release process a bit")

I think you mean 3182f5d78827e2a5675507711731e4748194d44a. ad173af is not in master.


CSS extras combined with markup templating retains placeholders

Information:

Prism version: 1.17.1 (probably since markup templating was introduced a year ago)
Environment: Browser, Node

Does the latest version of Prism from the download page also have this issue?
Yes
Description
Markup templating injects placeholders: stuff like ___PHP0___.
If this is injected inside CSS, CSS Extras picks up on the number and creates a number token for it.
Because the placeholder is no longer a single text token, the placeholder can no longer be tokenised and remains in the resulting text instead of being replaced.
Example
Say we want to highlight this code as php:
<img style="width:<?php echo (80 / count($images)) ?>%"/>

Wrapped in HTML like so:
<!DOCTYPE html>

    <link href="./prism.css" rel="stylesheet" />

<img style="width:<?php echo (80 / count($images)) ?>%"/>

...where prism.css refers to any theme, and prism.js refers to a Prism build including php, markup-templating, and css-extras.
Yields:

More info
The problematic line is here:
https://github.com/PrismJS/prism/blob/3af5d744fd7359086c4a1fc5ac4b66fe4001c935/components/prism-css-extras.js#L75
It was changed in https://github.com/PrismJS/prism/pull/1450 8 months ago. But it may have been around for at least 6 years (checking blames up to get to the initial commit). It’s more likely that this was introduced through markup templating in https://github.com/PrismJS/prism/pull/1367

Thank you for reporting!

Thanks @RunDevelopment for solving this!


Add new data table for additional target safety information

New data table will be added to Target Safety block with known risks.
A full design spec will be completed once data has been processed by @EPetsalaki.

Here is a first version of the new json file for 19_06: known safety data. It needs minor editing in the text, but the json schema should remain the same.
New fields:

known safety split into 2 sections: adverse effects and safety liability. Targets CDK2 and AKT1 have both safety liability and adverse effect information.
safety liability has reference info, organs affected and a string field with the safety information (NOT EFO-mapped list of side effects)
reference format is changed into a list (was string). 3 fields for reference info (all list format): reference (author names), pmid & ref_link. The reference links are provided if no pmid is available. If there is both a reference link and a pmid, use the pmid.
additional field "unspecified interaction effects" within adverse effects section (if we don't know if it's activation or inhibition effects). No data currently in this field, but we are expecting to have some there soon, so this is included as well so that we can decide on how to show these.

@EPetsalaki, can we please update the references to return a list of objects with ref_label, ref_link, and pmid attributes?
"references": [
    {
        "ref_label": "Bowes et al. (2012)",
        "ref_link": "",
        "pmid": "23197038",
    },
],

or
"references": [
    {
        "ref_label": "Urban et al. (2012)",
        "ref_link": "https://doi.org/10.1002/9781118098141.ch2",
        "pmid": "",
    },
    {
        "ref_label": "HeCaToS_2.2",
        "ref_link": "https://www.hecatos.eu/home",
        "pmid": "",
    }
],

Done! Please find the new file (24th May) here.

Thanks @EPetsalaki - looks great! 👍

Building on the work done for #460, there are some changes that we will make for the upcoming 19.06 release as there is new safety_risk_info data to display.
Updated designs:
Existing data table (e.g. ACHE)

New data table for safety_risk_info data (e.g. MTOR or PIK3CA

Layout change if both adverse_events and safety_risk_info data is available (e.g. AKT1 or CDK2)

To accommodate the new data, can we please:

Update the tab description text box to read Known safety effects and safety risk information for HGNC-GENE-SYMBOL

Add a heading to each table - Known safety effects and Safety risk information

Create a new data table for the safety_risk_info with the following columns - Main organs and systems affected, Safety liability information, and Publications

If both data tables are displayed, reuse the same layout used for tabs that have multiple tables (e.g. Genetic evidence tab for ESR1 and genetic disorder) similar

Also, there is a change in how the data used for the Publications column in both data tables is returned by the API. Previously, they were individual values, but to accommodate multiple values for a single row, it will now be an array of objects found in the references attribute.
For example
"references": [
    {
        "pmid": "",
        "ref_link": "https://doi.org/10.1002/9781118098141.ch2",
        "ref_label": "Urban et al. (2012)"
    },
    {
        "pmid": "",
        "ref_link": "https://www.hecatos.eu/home",
        "ref_label": "HeCaToS_2.2"
    }
],

or
"references": [
    {
        "pmid": "21283106",
        "ref_link": "",
        "ref_label": "Force et al. (2011)"
    },
    {
        "pmid": "",
        "ref_link": "https://www.hecatos.eu/home",
        "ref_label": "HeCaToS_5"
    }
],

Can we please display the ref_label and construct a link to EuropePMC using the pmid value. However, if the pmid is not available, please construct to the ref_link value instead.

Hello, can we use a tooltip on the 'HeCaToS' reference? The content that should appear in the tootip is 'HeCaToS Deliverable D01.5 (2015) funded by "EU 7th Framework Programme (HEALTH-F4-2013-602156)."'

@EPetsalaki ideally that tooltip would come with the API response, otherwise we have to start matching strings in front end... what do you think @andrewhercules ?

Correct me if I’m wrong @EPetsalaki or @andrewhercules but I think we discussed to do it in the front-end.
It’s a very particular thing. It won’t change for HeCaTos and it’s unlikely we have others in the near future.

@d0choa, yes we decided to do it on the front-end because it is a very specific issue and the entire safety section will go through further iterations as more safety data is added.
@LucaFumis, can you please include the tooltip? I know it's not ideal but it's short-term until more safety data (e.g. buckets) are ready. :-)

As per discussion with @andrewhercule, added standard title attribute for HeCaTos link which shows on rollover after a second or so.


Android integrating with existing Desktop app isn't working

Describe the bug
So I finished all the prerequisites for running the app on Android, but when i run either
npm run tauri android dev // returns nothing at all!!

npm run tauri android build

this returns:

error: no library targets found in package basset
Error Failed to run cargo build`: command ["cargo", "build", "--package", "basset", "--manifest-path", "/home/mohammad/Documents/basset/src-tauri/Cargo.toml", "--target", "aarch64-linux-android", "--features", "tauri/custom-protocol tauri/rustls-tls", "--lib", "--release"] exited with code 101

how can this be fixed?
Reproduction
No response
Expected behavior
just clone this repo: https://github.com/mohammadmansour200/basset
then run either
npm run tauri android dev
or
npm run tauri android build
Full tauri info output
[✔] Environment
    - OS: Ubuntu 24.04 X64
    ✔ webkit2gtk-4.1: 2.44.2
    ✔ rsvg2: 2.58.0
    ✔ rustc: 1.79.0 (129f3b996 2024-06-10)
    ✔ cargo: 1.79.0 (ffa9cf99a 2024-06-03)
    ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
    ✔ Rust toolchain: stable-x86_64-unknown-linux-gnu (default)
    - node: 18.19.1
    - npm: 9.2.0

[-] Packages
    - tauri [RUST]: 2.0.0-beta.22
    - tauri-build [RUST]: 2.0.0-beta.17
    - wry [RUST]: 0.40.1
    - tao [RUST]: 0.28.1
    - @tauri-apps/api [NPM]: 2.0.0-beta.14
    - @tauri-apps/cli [NPM]: 2.0.0-beta.21

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../dist
    - devUrl: http://localhost:1420/
    - framework: React
    - bundler: Rollup

Stack trace
No response
Additional context
No response

Enabling mobile support requires more than setting up your sytstem, check out this part https://v2.tauri.app/start/migrate/from-tauri-1/#preparing-for-mobile (should still apply, don't get confused by the "migrate from v1" stuff.

@FabianLars
I'm unsure if this is correct or not:
here is the lib.rs file:
// Learn more about Tauri commands at https://tauri.app/v1/guides/features/command
#[tauri::command]
fn greet(name: &str) -> String {
    format!("Hello, {}! You've been greeted from Rust!", name)
}

#[cfg_attr(mobile, tauri::mobile_entry_point)]
pub fn run() {
    tauri::Builder::default()
        .plugin(tauri_plugin_process::init())
        .plugin(tauri_plugin_updater::Builder::new().build())
        .plugin(tauri_plugin_notification::init())
        .plugin(tauri_plugin_dialog::init())
        .plugin(tauri_plugin_shell::init())
        .plugin(tauri_plugin_fs::init())
        .invoke_handler(tauri::generate_handler![greet])
        .run(tauri::generate_context!())
        .expect("error while running tauri application");
}

here is the main file:
// Prevents additional console window on Windows in release, DO NOT REMOVE!!
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]

fn main() {
    app_lib::run();
}

and to make it clear I am not that good in Rust, but tried my best to do what was stated here as you requested:
https://v2.tauri.app/start/migrate/from-tauri-1/

That looks correct to me. Does it still not work?
If not, did you also did the Cargo.toml changes?

Yes, it works now


is client thread safe?

hi,
i'm using jetcd 0.0.1, is the client(kv and watchclient) thread safe?
should i use a global instance or create every time when use?
what is the best practice when i want to continuously watch some key?(may be in a while(true))
should i create  Watch/Watch.Watcher every turn?

Yes it is, watching is synchronous at the moment, see: https://github.com/coreos/jetcd/blob/master/jetcd-examples/jetcd-watch-example/src/main/java/com/coreos/jetcd/examples/watch/Main.java


Connecting to The Things Network

Maarten,
Where do I put the "Gateway Key" I got from TTN?
On the website the key is Base64 encrypted (although it is human readable..)
Thanks for your reply!

Open a Terminal (RealTerm) and connect to your gateway (115200). Reset the wemos and you will see some information, including the Gateway ID, that is derived from the Wemos MAC. Copy those 8 bytes.
When you register your gateway in the ttn console, select I'm using the legacy packet forwarder, and then paste the byted copied before.
Good luck!


Fix string option

Add setupCommandTest function.

Coverage increased (+0.3%) to 92.877% when pulling d8c2bd585677bfbe16a9a3edd0efb598778cbcb5 on fix-string-option into 5f659867379fa55fc43c880a28afa4b2cc5153df on master.


Clearly mark self-managed Helm charts

For some components (e.g. cert-manager) we use an upstream Helm chart whereas for others (e.g. Contour) we maintain our own chart.
When making changes to a chart, it's important to know whether that chart is self-maintained or taken from upstream, because, for example, we may be more reluctant to make radical changes to an upstream chart for the sake of keeping things "mergeable".
I suggest we leverage the maintainers field in Chart.yaml to clearly mark all the charts maintained as part of Lokomotive.

List of the chart we manage and needs this addition:

assets/components/contour/Chart.yaml
assets/lokomotive-kubernetes/packet/flatcar-linux/kubernetes/calico-host-protection/Chart.yaml
assets/lokomotive-kubernetes/bootkube/resources/charts/kube-apiserver/Chart.yaml
assets/lokomotive-kubernetes/bootkube/resources/charts/calico/Chart.yaml
assets/lokomotive-kubernetes/bootkube/resources/charts/kubelet/Chart.yaml
assets/lokomotive-kubernetes/bootkube/resources/charts/kubernetes/Chart.yaml
assets/lokomotive-kubernetes/bootkube/resources/charts/pod-checkpointer/Chart.yaml


Proxy Support

Hi, is there a way to have FTW use my organization's proxy server?  I'm not finding a way to pass a proxy address into the py.test invocation, and it doesn't pick up the proxy as an environment variable in my shell, which does work with curl.

FTW uses raw TCP sockets, and values come from the yaml test itself. There is no way to do this, sadly, unless you change your tests to include the calls to your HTTP proxy.
But then, what are you really testing? Aren't you testing also your proxy instead?
I would recommend against going through a proxy.

FTW uses raw TCP sockets, and values come from the yaml test itself. There is no way to do this, sadly, unless you change your tests to include the calls to your HTTP proxy.
But then, what are you really testing? Aren't you testing also your proxy instead?
I would recommend against going through a proxy.


Implement libui's text formatting

Might take some work
Maybe wait a bit in case there are api changes?

Example: https://github.com/andlabs/libui/blob/master/examples/drawtext/main.c

I looked at the example, very nice! And very useful too.
The API is really large, I think we should develop it on separate branch, and continue on master with bug-fixing or other minor improvement.
First step is to prepare a new release on my libui fork. We'll use this new release on text branch, and continue to use the current one on master.

Also, maybe we need to change how string property are handled, because of the new UTF decoding introduced in libui

I already started with the header: https://github.com/parro-it/libui-node/tree/font


doc: Release History doesn't mention 1.11.5

The release history page doesn't list the go1.11.5 minor release:
https://golang.org/doc/devel/release.html#go1.11.minor
However, tip.golang.org has it:
https://tip.golang.org/doc/devel/release.html#go1.11.minor
Does the main website need a redeploy or something?
cc @dmitshur

Yes, it has been fixed on master and backported to release-branch.go1.12 branch via CL 164077, so it'll show up next time golang.org is redeployed.

OK, closing this as a duplicate of #30431.
Can you explain why website fixes aren't deployed after they're merged, though?

Can you explain why website fixes aren't deployed after they're merged, though?

Fixes tend to come in at varying rates, sometimes many per day. When many fixes come in rapidly, as long as they're just cosmetic or nice-to-have, we tend to batch them and deploy the website once per many fixes. If it's critical or time-sensitive, we deploy sooner.
Missing notes or links about the current release are worth deploying sooner.


We cannot connect to remote host using composer

Description:
We tried to connect  with another host  and tried to get service from that host but  i didnt get any response from it.
Steps to reproduce:

first we create a hotspot
*and we connected to it and we send request to  host
but we didnt get response.
Affected Versions:

OS, DB, other environment details and versions:
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

I am closing this issue since this duplicate with #10025. Please check issue #10025 for update.

ok sir..Thankyou for your response
On Wed, Aug 29, 2018 at 4:43 PM Danesh Kuruppu<EMAIL_ADDRESS>wrote:

I am closing this issue since this duplicate with #10025
https://github.com/ballerina-platform/ballerina-lang/issues/10025.
Please check issue #10025
https://github.com/ballerina-platform/ballerina-lang/issues/10025 for
update.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ballerina-platform/ballerina-lang/issues/10026#issuecomment-416915593,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AkIstR7CLG9CBub220eJb7QaIi7MLNzdks5uVndHgaJpZM4V5eiy
.


Update px-file-upload.html

My previous pull request had broken one case. Accidentally was clearing the files array on a valid drag'n'drop case.

Can we get this merged soon?

@randyaskin This one is your baby, can you take a look and merge if you're happy with it? Thanks

Sorry, not sure why I hadn't seen this. Merged in v0.4.6.


x/vuln/cmd/govulncheck: consider showing all locations a vulnerable symbol is called rather than only one

What version of Go are you using (go version)?

$ go version
go version go1.20.3 darwin/arm64

Does this issue reproduce at the latest version of golang.org/x/vuln?
Yes
What did you do?
I ran govulncheck on a sample module that calls a single vulnerable function in three separate locations. Instead of seeing all three locations, the output only shows the filename and line number for one invocation. The sample module I used is available from https://go.dev/play/p/_B6yVIfrkZl
This is the output from govulncheck:

λ govulncheck ./...
govulncheck is an experimental tool. Share feedback at https://go.dev/s/govulncheck-feedback.

Using go1.20.3 and<EMAIL_ADDRESS>with
vulnerability data from https://vuln.go.dev (last modified 2023-04-06 19:19:26 +0000 UTC).

Scanning your code and 46 packages across 1 dependent module for known vulnerabilities...
Your code is affected by 1 vulnerability from 1 module.

Vulnerability #1: GO-2021-0113
  Due to improper index calculation, an incorrectly formatted
  language tag can cause Parse to panic via an out of bounds read.
  If Parse is used to process untrusted user inputs, this may be
  used as a vector for a denial of service attack.

  More info: https://pkg.go.dev/vuln/GO-2021-0113

  Module: golang.org/x/text
    Found in<EMAIL_ADDRESS>    Fixed in<EMAIL_ADDRESS>
    Call stacks in your code:
      main.go:76:29: github.com/julieqiu/govulncheckdemo/module5.foo3 calls golang.org/x/text/language.Parse
      main.go:88:20: github.com/julieqiu/govulncheckdemo/module5.foobar calls golang.org/x/text/language.MustParse

=== Informational ===

Found 1 vulnerability in packages that you import, but there are no call
stacks leading to the use of this vulnerability. You may not need to
take any action. See https://pkg.go.dev/golang.org/x/vuln/cmd/govulncheck
for details.

Vulnerability #1: GO-2022-1059
  An attacker may cause a denial of service by crafting an
  Accept-Language header which ParseAcceptLanguage will take
  significant time to parse.
  More info: https://pkg.go.dev/vuln/GO-2022-1059
  Found in<EMAIL_ADDRESS>  Fixed in<EMAIL_ADDRESS>
What did you expect to see?
I expected govulncheck to report the location of all three invocations of the vulnerable function, language.Parse(). Specifically, in the "Call stacks in your code:" section, I expected to see rows for lines 50 and 63, in addition to line 76.
Alternatively, showing all invocations may make sense only in verbose mode (-v flag), but if we go that route, it would still be helpful to explain in the output how many times the vulnerable symbol is used, and that the output only shows one example. Without either of these changes, it seems possible to misinterpret govulncheck's output as saying that the given module only invokes a vulnerable symbol in one, perhaps innocuous, location, when in reality it may be invoked in other more critical locations.
What did you see instead?
govulncheck only showed the filename and line number for one invocation of language.Parse().

CC @golang/vulndb


Android: Op type not registered 'GatherTree' in binary running on localhost.

System information

**OS Platform and Distribution : Linux Ubuntu 14.04
**TensorFlow installed from source
**TensorFlow version 1.4.0
**Python 2.7
**Bazel version [bazel release 0.8.0]
**GCC/Compiler version gcc version 4.9.4 (GCC)
**CUDA/cuDNN (only for cpu)

Describe the problem
Hi.  I have tried to load the rnn model inside Android that I generated from python for machine translation. When I want to use beam_search in decode I meet an (can't find ** op) error at Android. I have tried below solutions but the error is continue.
solution 1:
use python script “tensorflow/python/tools/print_selective_registration_header.py” to create "ops_to_register.h", then copy it into "tensorflow/core/framework/", then generate "//tensorflow/contrib/android:libtensorflow_inference.so"
I change "print_selective_registration_header.py":
parser.add_argument( '--default_ops', type=str, #default='NoOp:NoOp,_Recv:RecvOp,_Send:SendOp',  default='all',
...)
cmd like below:
bazel build tensorflow/python/tools:print_selective_registration_header &&   bazel-bin/tensorflow/python/tools/print_selective_registration_header     --graphs=/path/to/my/model/decode-model_1213_real_model_with_beam.pb > ops_to_register.h
bazel build -c opt --copt="-DSELECTIVE_REGISTRATION"     --copt="-DSUPPORT_SELECTIVE_REGISTRATION"   //tensorflow/contrib/android:libtensorflow_inference.so     --host_crosstool_top=@bazel_tools//tools/cpp:toolchain  --crosstool_top=//external:android/crosstool --cpu=armeabi-v7a
solution 2:
I met the same type of mistake before, and with "Op type not registered ListDiff" error. I find "listdiff_op.cc" is at "tensorflow/core/kernels". Then I add a line at "tensorflow/core/kernels/BUILD", and re-generate libtensorflow_inference.so to solve that error. But the "beam_search_ops.cc" is at "tensorflow/contrib/seq2seq/kernels", when I add it like "ListDiff" it's still reporting that error at android studio.
add line like below:
filegroup( name = "android_extended_ops_group1", srcs = [ "listdiff_op.cc", #"//tensorflow/contrib/seq2seq/kernels/beam_search_ops.cc", ...] )
I need some help for solving this problem. thanks.
Source code / logs
error log at android studio:
E/AndroidRuntime: FATAL EXCEPTION: main                   Process: com.example.phua.mt_1201, PID: 20817                   java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.phua.mt_1201/com.example.phua.mt_1201.MainActivity}: org.tensorflow.TensorFlowException: Op type not registered 'GatherTree' in binary running on localhost. Make sure the Op and Kernel are registered in the binary running in this process.                       at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2955)                       at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3030)                       at android.app.ActivityThread.-wrap11(Unknown Source:0)                       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1696)                       at android.os.Handler.dispatchMessage(Handler.java:105)                       at android.os.Looper.loop(Looper.java:164)                       at android.app.ActivityThread.main(ActivityThread.java:6938)                       at java.lang.reflect.Method.invoke(Native Method)                       at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327)                       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)                    Caused by: org.tensorflow.TensorFlowException: Op type not registered 'GatherTree' in binary running on localhost. Make sure the Op and Kernel are registered in the binary running in this process.                       at org.tensorflow.Graph.importGraphDef(Native Method)                       at org.tensorflow.Graph.importGraphDef(Graph.java:118)                       at org.tensorflow.Graph.importGraphDef(Graph.java:102)                       at org.tensorflow.contrib.android.TensorFlowInferenceInterface.loadGraph(TensorFlowInferenceInterface.java:396)                       at org.tensorflow.contrib.android.TensorFlowInferenceInterface.<init>(TensorFlowInferenceInterface.java:97)                       at com.example.phua.mt_1201.tfonandroid.Loadmodel(tfonandroid.java:37)                       at com.example.phua.mt_1201.MainActivity.onCreate(MainActivity.java:52)                       at android.app.Activity.performCreate(Activity.java:7174)                       at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1220)                       at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2908)                       at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3030)                        at android.app.ActivityThread.-wrap11(Unknown Source:0)                        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1696)                        at android.os.Handler.dispatchMessage(Handler.java:105)                        at android.os.Looper.loop(Looper.java:164)                        at android.app.ActivityThread.main(ActivityThread.java:6938)

@aselle

@andrewharp, could you take a look?

Nagging Assignee: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @andrewharp: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @andrewharp: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @andrewharp: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @andrewharp: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @andrewharp: It has been 16 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @andrewharp: It has been 148 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @andrewharp: It has been 163 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @andrewharp: It has been 178 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @andrewharp: It has been 193 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @andrewharp: It has been 208 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @andrewharp: It has been 223 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @andrewharp: It has been 238 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @andrewharp: It has been 253 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @andrewharp: It has been 268 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!


Improved concept pages based on initial feedback

Objective
Increase discoverability of the collections by subjects, people and genres
Measures

Iteration based on early feedback and analytics

Pages updated to use better data (when available)

Pages available for genres (when data is available)

Link to feature: https://wellcomecollection.productboard.com/feature-board/planning/features/15789171


Generating Browser Application Bundles

Testing the plugin and trying to build a mircrofrontend. ng serve seems to be getting hung up at:
Generating browser application bundles (phase: building)...
Verbose flag doesn't seem to give any more information on what it's doing.
Any ideas?

There is currently a bug with styleUrls. Please try to comment out all usages of styleUrls and then start ng serve again. Does this work?

I removed them and it still is not building.

interesting. Can you provide your example? I'd love to have a look at it.

https://github.com/zhangjindong/angular11-test.git

Always prompt ”Generating browser application bundles (phase: building)...“。
Seems to be related to auth-lib

Thanks. Found it. Please have a look at the pitfalls section at [1]. It describes some limitations we currently have when sharing libs within a monorepo. Hopefully, this goes away, once the CLI/webpack5 integration isn't experimental anymore (CLI 12).
In your case, it's the usage of styleUrls and sharing a lib via webpack.config.js that isn't used.
If you have further questions, please reach out.
[1] https://www.npmjs.com/package/@angular-architects/module-federation#user-content-pitfalls-when-sharing-libraries-of-a-monorepo

@manfredsteyer @marct83 You can update angular cli and angular packages to 11.1.0-next.1 and styleUrls will be working with shared libs

@manfredsteyer
Thank you very much, I understand.
I wish you a happy life.

In my case it doesn't work with nay urls from node_modules. Even after install<EMAIL_ADDRESS>

@manfredsteyer
Hi,I found that this project can run normally.
But I did not find anything special through comparison.
Please help analyze the reason for success.
https://github.com/zhangjindong/test-tailwind-antd.git

@manfredsteyer when you upgrade to angular 11.1.0-beta-1 im getting the following error on NX library
`Error: The Angular Webpack loader requires the AngularWebpackPlugin.
at Object.angularWebpackLoader (/Users/libertyware/dev/clients/liberty-travel-system/node_modules/@ngtools/webpack/src/ivy/loader.js:28:18)
Error: Conflict: Multiple assets emit different content to the same filename libs_api-interfaces_src_index_ts.js`

@Jordan-Hall I know this one.
Please try to use this setting in your webpack cofig as a sibling of publicName:
chunkFilename: '[name]-[contenthash].js',

@manfredsteyer @marct83  To fix serve hung, go to your tsconfig.json and under paths, remove the .ts extesion.
for example :
Change this

"paths": {
"@lib/auth": ["libs/auth/src/index.ts"]
}

To this

"paths": {
"@lib/auth": ["libs/auth/src/index"]
}

It's a very weird fix!

@manfredsteyer @marct83  To fix serve hung, go to your tsconfig.json and under paths, remove the .ts extesion.
for example :
Change this

"paths": {
"@lib/auth": ["libs/auth/src/index.ts"]
}

To this

"paths": {
"@lib/auth": ["libs/auth/src/index"]
}

It's a very weird fix!

@manfredsteyer But I still have another and I had no luck fixing it

./libs/weather/src/index.ts - Error: Module build failed (from ./node_modules/@ngtools/webpack/src/index.js):
Error: The AngularCompilerPlugin was not found. The @ngtools/webpack loader requires the plugin.
at Object.ngcLoader (...\node_modules@ngtools\webpack\src\loader.js:29:15)

I can ignore this error and serve my app; But I can't build it.

@manfredsteyer But I still have another and I had no luck fixing it

./libs/weather/src/index.ts - Error: Module build failed (from ./node_modules/@ngtools/webpack/src/index.js):
Error: The AngularCompilerPlugin was not found. The @ngtools/webpack loader requires the plugin.
at Object.ngcLoader (...\node_modules@ngtools\webpack\src\loader.js:29:15)

I can ignore this error and serve my app; But I can't build it.

Hey,
If I remove the .ts ending from tsconfig.json the build does not hang anymore, but now I receive the following error:
./libs/core/src/index.ts - Error: Module build failed (from ./node_modules/@ngtools/webpack/src/index.js):
Error: The AngularCompilerPlugin was not found. The @ngtools/webpack loader requires the plugin.
    at Object.ngcLoader (C:\dev\FatVegan\node_modules\@ngtools\webpack\src\loader.js:29:15)

Any suggestions on how to fix this? ^^'

Can you please give it another try with Angular 12.0.0-rc.1 and version 12.0.0-rc.1 of this plugin? We've fixed several issues there.


I have 6 guesses to find the word.

https://github.com/sopra-fs22-group-09/basically-wordle-backend/pull/225


Jetcd will drop java 8

Description
Hi dolphinscheduler community, just for note that Jetcd will drop java 8, please check https://github.com/etcd-io/jetcd/issues/1218

DS can work well at jdk11, so this will not affect ds.
But some projects drop jdk11 too, I think we need to discuss adapting the higher JDK e.g. jdk17.
But before adopting jdk17, we need to provide a stable version.

Thanks for your confirm that!


Strip quotes from translations via _()

If you have translation in template like _("Fox"), then django-babel will extract string with quotes: "Fox". This pull-request strips quotes from message, so extracted string will be Fox

What's this about? There's no explanation of the problem these commits are solving anywhere.

If you have translation in template like _("Fox"), then django-babel will extract string with quotes: "Fox". This pull-request strips quotes from message, so extracted string will be Fox

Any feedback?

@tsouvarev can you move the link fixes to another PR, please?

https://github.com/python-babel/django-babel/pull/31
PR with fixes to docs

Do you need anything else?

@tsouvarev ideally 00e92e7 would be a separate PR


Have Resource#inherited call through to Class#inherited

The Resource class does not call through to Class#inherited. As a result the various ActiveSupport functions for interrogating a resource's subclasses (Resource.subclasses, Resource.descendents and the like) return empty result sets. This is because Resources override the inherited function but do not call through to their superclass. This PR adds the super call to enable this.
Fixes #1337
All Submissions:

[x] I've checked to ensure there aren't other open Pull Requests for the same update/change.
[x] I've submitted a ticket for my issue if one did not already exist.
[x] My submission passes all tests. (Please run the full test suite locally to cut down on noise from travis failures.)
[x] I've used Github auto-closing keywords in the commit message or the description.
[x] I've added/updated tests for this change.

Bug fixes and Changes to Core Features:

[x] I've included an explanation of what the changes do and why I'd like you to include them.
[x] I've provided test(s) that fails without the change.

Test Plan:
Reviewer Checklist:

[ ] Maintains compliance with JSON:API
[ ] Adequate test coverage exists to prevent regressions

Test failure seems to be isolated to a single CI matrix entry & looks unrelated to the changes in this PR - see https://travis-ci.org/github/cerebris/jsonapi-resources/jobs/745702545

@lgebhardt, was there a specific reason why the call to super in this PR was excluded?  We've tested on our fork and things appear to work as expected, but wanted to double-check in case there is any nuance we're missing.  Many thanks!


Existing Package Upload APIs

[x] submit - Submit metadata
[x] submit_pkg_info - Submit metadata as a PKG-INFO file
[x] file_upload - Upload a File
[x] doc_upload - Upload documentation

FWIW I'm working on this now.

These have all now been implemented, either as a real implementation or as a stub that tells users they are no longer supported.


Introduce Timeprovider to improve testing

https://andrewlock.net/exploring-the-dotnet-8-preview-avoiding-flaky-tests-with-timeprovider-and-itimer/

Distributed Async Await could also be something interesting here: https://www.resonatehq.io/
https://github.com/resonatehq/durable-promise-specification


Question: How can I remove inline styles on paste?

I want to be able to use woofmark as a wysiwyg editor for markdown only.

I never want my users to be able to switch to html mode (I know how to do this).
I would like to automatically strip out any inline styles when a user pastes rich text into the editor while in wysiwyg mode. ( don't know how to do this).

How can I accomplish the second item?
I created a code pen to illustrate the non-desirable behavior. http://codepen.io/jessegavin/pen/mRyOJb?editors=0010
Thanks so much. This is one of the coolest implementations I have seen for a wysiwyg editor.

My understanding is that they'll be stripped out when the content is
converted into markdown, but that's not triggered on paste. I think it
could be a good idea to add some kind of filter to pasted content, or as
you've shown, it tends to persist in the editor in WYSIWYG mode until
something triggers the entire post body to be parsed.
On Wed, Jan 4, 2017 at 11:19 PM, Jesse Gavin<EMAIL_ADDRESS>wrote:

I want to be able to use woofmark as a wysiwyg editor for markdown only. I
would like to automatically strip out any inline styles when a user pastes
rich text into the editor while in wysiwyg mode. How can this be
accomplished?
I created a code pen to illustrate the non-desirable behavior.
http://codepen.io/jessegavin/pen/mRyOJb?editors=0010
Thanks so much. This is one of the coolest implementations I have seen for
a wysiwyg editor.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/bevacqua/woofmark/issues/49, or mute the thread
https://github.com/notifications/unsubscribe-auth/AABfJ9ZzmtFY1_Q9BtmPXE7ZjvuCink6ks5rPG9OgaJpZM4LbVWk
.

@jywarren that is correct. I can get the desired result if, when I paste inline-styled content into the wysiwyg mode, then switch to markdown, then switch back.
I want some way to skip the step of having to manually switch to markdown mode and back.

I've tried implementing a triggering of parsing back and forth on a paste
event, but it's not ideal -- for one, it sort of hiccups, and I forget,
perhaps the insertion point was moved or lost? In any case you can give it
a try -- woofmark uses the crossvent event library, also by @bevacqua. It's
pretty easy to use!
On Thu, Jan 5, 2017 at 4:15 PM, Jesse Gavin<EMAIL_ADDRESS>wrote:

@jywarren https://github.com/jywarren that is correct. I can get the
desired result if, when I paste inline-styled content into the wysiwyg
mode, then switch to markdown, then switch back.
I want some way to skip the step of having to manually switch to markdown
mode and back.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/bevacqua/woofmark/issues/49#issuecomment-270759720,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABfJ0elguq3IsLdbEw7UFMKHEINwEg-ks5rPV2IgaJpZM4LbVWk
.

Hmm, do you think it'd be possible to intercept the pasted content and
preventDefault() to stop it getting to the textarea at all? Then insert it
via the "chunks" object, as shown in the code example here:
https://github.com/publiclab/PublicLab.Editor/issues/85#issuecomment-271722433
Just an idea!
On Sat, Jan 7, 2017 at 10:31 AM, Jesse Gavin<EMAIL_ADDRESS>wrote:

Ok, I have come up with a "solution" which works for my particular
needs, but it doesn't feel clean at all.
And, because it uses setTimeout() there's a visual "blip" when the pasted
content is displayed with inline styles, then immediately they are removed.
var editor = woofmark(...);
editor.editable.addEventListener('paste', function(e) {
setTimeout(function() {
var els = editor.editable.querySelectorAll('*'), i;
console.log(els);
for (i = 0; i < els.length; ++i) {
els[i].removeAttribute('style');
}
},0);
}, false);
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/bevacqua/woofmark/issues/49#issuecomment-271090130,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABfJ8LEzufKfQ23PPGFZi3UMAhlK1Tgks5rP6_XgaJpZM4LbVWk
.


layout fixed, full address made visible

still not fully visible + also need to consult with marina whether the visual solution is viable


Add Notification-only scenario

Fixes # https://github.com/microsoft/botbuilder-js/issues/1208
Description
Add notification-only scenario.

Pull Request Test Coverage Report for Build 81632

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 87.473%

Totals

Change from base Build 81623:
0.0%

Covered Lines:
4506

Relevant Lines:
4965

💛  - Coveralls


RHEL-08-040001 doesn't uninstall abrt* packages

Describe the Issue
RHEL-08-040001 doesn't uninstall abrt* packages.
Expected Behavior
Any installed abrt* packages get removed
Actual Behavior
abrt* packages are not removed
Control(s) Affected
RHEL-08-040001
Environment (please complete the following information):
Ansible Version: 2.9.27
Host Python Version: 3.6.8
Ansible Server Python Version: 3.6.8
Additional Notes
https://github.com/ansible-lockdown/RHEL8-STIG/blob/devel/tasks/fix-cat2.yml#L5672
The current command does not use the -y option
Possible Solution
Use package module instead of shell command.

hi @JacobBuskirk
Thank you for you time and effort in this work. It is with feedback we are able to grow and carry on improving the content.
Some excellent catches on all the issues you have raised and thank you for taking the time with the related PRs.
Hoping to get them all sorted or feedback today.
uk-bolly

Closing since this has been merged in


passwdqc: init at 2.0.3

Description of changes
passwdqc is a collection of tools to test password strength, generate strong passwords, and enforce them using PAM. It is hosted on OpenWall: https://www.openwall.com/passwdqc/
The package itself does not have any tests to run. Once built, I was able to successfully use pwqgen to generate a password.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 260903 run on x86_64-linux 1

1 package built:

passwdqc


feat: update default bots folder

Description

The default folder for creating a new bot is path.join(os.homedir(), 'Documents', 'Composer') now.
If the last accessed path is invalid, load default folder.

Task Item
Closes #1506
Closes #1363
Type of change
Bug fix (non-breaking change which fixes an issue)

@liweitian there is a lint failure


Create dump() convenience method to complement Value.from() and ion.load()

Now that #562 and #568 have been merged, it's straightforward to write any given JS value to an Ion stream via:
let jsValue = ...;
let writer = ion.makeBinaryWriter(); // or makeTextWriter(), makePrettyTextWriter()
dom.Value.from(jsValue).writeTo(writer);
writer.close();
let ionBytes: Uint8Array = writer.getBytes();

Since this will be a common pattern, we should provide convenience methods to streamline this even further. I suggest offering a version of dump() to accompany each existing flavor of makeWriter():
function dumpBinary(...values: any[]): Uint8Array {}
function dumpText(...values: any[]): string {}
function dumpPrettyText(...values: any[]): string {}

Addressed by #580.


PDOException: SQLSTATE[22007]: Invalid datetime format: 1292 Truncated incorrect DOUBLE value:

Hi folks,
I have the tables with has many relations:

company
company_has_role
company_role

I've used gii enhanced to generate tables and gui with softdelete, time and userstamp.
Now, I've started to develop the update in modal view and update with ajax call.
I've dumped the model before saveAll() in the controller, model seems to be loaded correctly, but  I get the following error:
Next yii\db\Exception: SQLSTATE[22007]: Invalid datetime format: 1292 Truncated incorrect DOUBLE value: '' The SQL being executed was: UPDATE tbl_company_has_roleSETdeleted_by=1, deleted_at='2021-05-02 02:27:56' WHERE (tbl_company_id='1') AND (id<>'') in /vendor/yiisoft/yii2/db/Schema.php:678
If I submit the ajax button without new hasmanyentries (just the master table company), the system save the data in the correct form. When I add data into the has many forms, I've got an error which pointed at vendor/mootensai/yii2-relation-trait/RelationTrait.php(228): yii\db\ActiveRecord::updateAll()
I have no idea how to fix?
Thanks in advance!
Toby

...this seems not caused by the modal function.
Also pure generated IO Model and IO Crud forms with gii enhanced without any changes produce the same error?

I have a try with a clean generate IO Model and Crud for my person table, the has many table is company_has_person, with the same result.
All key are send in the request for the new entry by pushing the "Add" and finally update button:


Not allowed to add more then 250 label

dear sir,
i want to add a large number of labels, the maximum number allowed is 250, and i want to add 1500,
when i add a number of labels more then 250 the application freezes, is there any way i can do it??
i tried suspendEvents and resumeEvents but still the same result appears..
i am adding labels with viewer.entities.add(label);
any help ?

There is no limit within Cesium related to the problem you're having.  I'm able to display over 10,000 on my laptop.  There's something about your specific situation that is causing the problem.
BTW, Github issues are used for bugs, that are ideally reproducible in Sandcastle, and features.
Please take your question over to the Cesium-dev forum and supply as much information as possible about your application, data, and environment so that someone there can help you.  That information should include your deployment environment (e.g. browser, operating system, and graphics card details).

Thank you.
this is the link on dev-forum, i asked how to add large number of labels, because it seems i am doing it in a wrong way.
https://groups.google.com/forum/#!topic/cesium-dev/bsSL1tngOJ4

I also encountered the same problem


seems web middleware not called

Hello,
is project upgraded to laravel 11 form 10 recently, we tried to install the package, we add  the LogViewer::auth in the AppServiceProvider but when we hit the url http://<IP_ADDRESS>:8081/log-viewer seems the $request->user() is empty.
LogViewer::auth(function ($request) {
 return $request->user()->isAdmin();
});

 'middleware' => [
        'web',
        \Opcodes\LogViewer\Http\Middleware\AuthorizeLogViewer::class,
],

APP_URL=http://<IP_ADDRESS>:8081

We also tried with the gate but with the same issue.
With a dd
        LogViewer::auth(function ($request) {
            dd($request->user()->isAdmin());
            return $request->user()->isAdmin();
        });

we receive true
Thanks

Adding a custom middleware 'admin'
'middleware' => [
        'web',
        'admin'
 ],

is working, but is very strange that is not working with the LogViewer::auth

LogViewer::auth(function ($request) {
            Log::info(['user request', $request->user()]);
            Log::info(['user auth', Auth::user()]);
            return true;
});

With some logging


@import just imports one file

In my package "neosrulez/scssparser" I use "leafo/scssphp".
In the main scss file I'm doing @import. It works. But only with one file. In the next line, after the main file I use another @import. But this file is ignored. All others too.
The main scss looks like this. test.scss is ignored:
@import "resource://NeosRulez.Bootstrap/Private/Styles/bootstrap";
@import "resource://NeosRulez.Bootstrap/Private/Styles/test.scss";

Double check your 2nd line of main.scss actually ends with a semi-colon.


Chaincode definition for 'basic' exists, but chaincode is not installed

I installed fabric 2.0 and fabric samples,followed the tutorial https://hyperledger-fabric.readthedocs.io/en/latest/test_network.html
After I ran the instruction ./network.sh deployCC -ccn basic -ccp ../asset-transfer-basic/chaincode-javascript -ccl javascript,
I checked the docker by using docker ps -a, but couldn't find any chaincode containers. When I  tried to run peer chaincode invoke InitLedger, I got the result like this:
Error: endorsement failure during invoke. response: status:500 message:"make sure the chaincode basic has been successfully defined on channel mychannel and try again: chaincode definition for 'basic' exists, but chaincode is not installed"
I checked peer0.org1 docker logs, they showed the same problem:
WARN [endorser] ProcessProposal -> Failed to invoke chaincode channel=mychannel chaincode=basic error="make sure the chaincode basic has been successfully defined on channel mychannel and try again: chaincode definition for 'basic' exists, but chaincode is not installed"
I don't think this problem was caused by package_id because I followed the tutorial step by step and everything went well before invoking the InitLedger function, can anyone solve this problem?Thanks a lot!
I'm using Ubuntu18.04 vm machine in windows10, running fabric in docker. I can provide full docker logs if you need.
I removed two lines in the source code in test-network/scripts/ccutils.sh in functions installChaincode and queryInstalled:
before:
peer lifecycle chaincode queryinstalled --output json | jq -r 'try (.installed_chaincodes[].package_id)' | grep ^${PACKAGE_ID}$ >&log.txt
peer lifecycle chaincode queryinstalled --output json | jq -r 'try (.installed_chaincodes[].package_id)' | grep ^${PACKAGE_ID}$ >&log.txt
after:
peer lifecycle chaincode queryinstalled --output json (in function installCaincode)
peer lifecycle chaincode queryinstalled --output json (in function queryInstalled)

Hi @Light7Rain, I would recommend you to use the below reference to setup your HLF blockchain network:
https://hyperledger-fabric.readthedocs.io/en/latest/write_first_app.html#set-up-the-blockchain-network
This worked for me, chaincode containers are up & running.

Utilize the following commands below
Verify Chaincode Installation:
Run the following command to check if the chaincode is already installed on the peer:
peer lifecycle chaincode queryinstalled --peerAddresses <peer_address> --channelID <channel_id> --output json
Run the following command to check if the chaincode definition exists on the channel:
peer lifecycle chaincode querycommitted --channelID <channel_id> --name <chaincode_name>
Verify Chaincode Package ID:
Double-check the package_id value you are using when installing the chaincode. Make sure it matches the actual package ID generated during the chaincode package step. You can use the following command to check the package ID:
peer lifecycle chaincode queryinstalled --output json
Compare the package ID returned by this command with the one you used during installation.
If none of the above steps resolve the issue, you can try cleaning up your Fabric network by stopping and removing all Docker containers, deleting any generated crypto material, and then starting the network again from scratch.
Hope it helps ! Cheers

Possibly fixes have been made to the test-network scripts or asset-transfer-basic/chaincode-javascript since this issue was raised. I am unable to replicate this problem with the current main branch content and Fabric v3.0.0. The chaincode is deployed successfully, chaincode Docker containers are present, and the smart contract can be invoked using the sample client applications.


Explicitly reference methods in client docs

Fixes #991
Our generated docs were using loose references to client methods,
which was causing some issues with generated links referencing
methods in other clients. This makes those references more explicit.

Codecov Report

Merging #1171 into develop will increase coverage by <.01%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           develop    #1171      +/-   ##
===========================================
+ Coverage    97.96%   97.96%   +<.01%
===========================================
  Files           45       45
  Lines         7122     7123       +1
===========================================
+ Hits          6977     6978       +1
  Misses         145      145

Impacted Files
Coverage Δ

botocore/docs/client.py
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 82c2902...d5a0195. Read the comment docs.

Whoops, that was an incorrect reference. Fixed it.


https://purls.helmholtz-metadaten.de/evoks/MatWerkAcronyms/

Contact details
This information will appear a comments in the htaccess file of your prefix as comments
Contact person name:
Gulzaure Abdildina
Contact Email:
<EMAIL_ADDRESS>Basic details
What is your resource prefix?
https://purls.helmholtz-metadaten.de/evoks/MatWerkAcronyms/
Where is the resource located on the Web (i.e. the URL)?
http://matwerk.datamanager.kit.edu:8001/MatWerkAcronyms-1/en/page/
Do you want to enable content negotiation?
No.
Advanced details
To enable Content Negotiation, please fill in the following table if you have more than one version  (or more generally, representations of a resource) of your resource. A resource type can be

Resource type:

 RDF/XML
 TTL
 OWL
 N-triples
 N3
 HTML

Resource type
URL

1.

2.

...

Hi Said,
these is the resolution for the main page of the Vocabulary: http://matwerk.datamanager.kit.edu:8001/MatWerkAcronyms-1/en/
Hier I can choose the terms in the left side.
When I choose the term the Link will be: http://matwerk.datamanager.kit.edu:8001/MatWerkAcronyms-1/en/ + page/ + selected term
Can we manage it?
May be you can call me per Teams<EMAIL_ADDRESS>or<EMAIL_ADDRESS>

Super, I hope, I'll be able to redirect my link to the https://purls.helmholtz-metadaten.de/evoks/MatWerkAcronyms/
When I select the term, the resource should be https://purls.helmholtz-metadaten.de/evoks/MatWerkAcronyms/ + selected term
Thanks for your support!

Is it possible? When doesn't, we can remove it.

hi Said,
how are you? Is it going to work? Is there any news?

I would prefer first one: https://purls.helmholtz-metadaten.de/evoks/MatWerkAcronyms

Thanks a lot! I'm very happy!:)


Bug in no script code

The piwik.php file, line 44, has the siteID hardcoded...
I believe the line should be:
<img src="{$sitePiWikURL}/piwik.php?idsite={$siteId}" style="border:0;" alt="" />

fixed bug

Just wanted to mention that for whatever reason, the "bin/gpm update" or "bin/gpm install pewik" isn't getting the new version.

ok


esp32s3: disable verbose logging during boot

Is your enhancement proposal related to a problem? Please describe.
On esp32s3, logging is fairly slow. The default level of logging during the boot process adds about 100ms to the boot time.  That's a showstopper for applications like mine where the time from power up to application code running is critical.
Describe the solution you'd like
I want to be able to disable all non-error logging prior to the application main via Kconfig, similar to the CONFIG_BOOTLOADER_LOG_LEVEL_WARN option in ESP-IDF. Ideally it should only take one setting to do so.
Describe alternatives you've considered
I suppose if the boot time impact of logging could be reduced below 1 ms that would also be fine, but that seems somewhere between impossible and much harder than turning it off.
Since my application logs only to the USB Serial JTAG controller and not UART0, it would also be fine for the boot code to detect whether a USB host is connected and disable logging entirely if not.
Additional context
I've found a few locations which are contributing to log messages not being controlled by any Kconfig option:

modules/hal/espressif/zephyr/port/include/boot/mcuboot_config/mcuboot_logging.h defaults the MCUBOOT_LOG_LEVEL macro to MCUBOOT_LOG_LEVEL_INFO. Nothing else that I can find sets that macro, so it's effectively hard-coded to that level.
modules/hal/espressif/zephyr/esp32s3/include/sdkconfig.h hard-codes the CONFIG_BOOTLOADER_LOG_LEVEL macro to 3 (info).
zephyr/soc/espressif/common/loader.c has its own definition for BOOT_LOG_INF which prints the message unconditionally.

That list probably isn't exhaustive for all configurations, but for my particular application changing those locations gets rid of all the boot-time messages.

I'm also trying to disable boot-level logs before my application's startup. I've used efuse to disable ROM messages, but I'm struggling to disable mcuboot logging messages using macros. Despite setting the CONFIG_BOOTLOADER_LOG_LEVEL in sdkconfig.h and MCUBOOT_LOG_LEVEL to 0 in esp_log.h , I don't see any difference.
How can I ensure these config values are being updated correctly? Is there a build config file similar to Zephyr's autoconf file that I can check? If anyone has any idea where I might be going wrong, please help.


Update automation-get-started.md

Fixed path to point to correct samples location in repo

@osedlacek : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


[Bug] Copy as curl content-type header incorrect for multipart forms

Insomnia Version: 5.16.6 (<IP_ADDRESS>3)
Operating System: OSX 0.12.6

Details
Using the Copy as Curl feature for multipart/form-data requests results in an invalid request.
This is due to the boundary being appended to the content-type, as well as the use of curl's --form option. With this, curl automatically appends the boundary, resulting in the boundary being appended twice. This will cause a 400 BAD REQUEST in most cases.
The request appears as follows when run with curl:
content-type: multipart/form-data; boundary=---011000010111000001101001; boundary=------------------------4a16e46690e40cd3

The content-type field should simply be:
--header 'content-type: multipart/form-data' \

Aha, it seems this is related to the easter egg?
form._boundary = '---011000010111000001101001'