Allow "parallel signing"

Right now signer can't sign 2 messages, and then receive signature shares for these 2 messages, because the FS challenge is saved inside the signer for each message after sign is called. The only flow possible is sign -> receive_signature_shares -> sign -> receive_signature_shares ...
This PR attempts to fix this by making users store FS challenges externally for each message. This way, the following flow is made possible: sign -> sign -> receive_signature_shares -> receive_signature_shares
It also creates a more convenient TS wrapper around the signer and resolves some other minor issues.

Existing implementation will need more tweaks more than exposing fiat-shamir challenge in order to sign multiple messages simultaneously. @lyova-potyomkin For example, we can't use same nonce for different signing operations. In other words we should refresh signing context for each signing session. So this PR needs some other rework. So let's discuss details in chat and make this appropriate.

Closing this, multiple signers for multiple messages seems like an ok solution for now, which can be abstracted away on JS level.


Cannot use tsyringe with electron-react-typescript

Describe the bug
Cannot use tsyringe with electron-react-typescript
To Reproduce
git clone --depth=1 git@github.com:Robinfr/electron-react-typescript.git
cd electron-react-typescript
yarn install
yarn add tsyringe reflect-metadata @babel/plugin-proposal-decorators

Then open tsconfig.json in the project, enable the following two options:
"experimentalDecorators": true,        /* Enables experimental support for ES7 decorators. */
"emitDecoratorMetadata": true         /* Enables experimental support for emitting type metadata f

Then go to webpack.main.config.js and change this line
["@babel/plugin-proposal-decorators", { "legacy": true }],

to
["@babel/plugin-proposal-decorators", { "legacy": true }],
['@babel/plugin-proposal-class-properties', { loose: true }],

Finally, add two files:
src/main/Client.ts
import {inject, singleton} from "tsyringe";
import {Service} from "./Service";

@singleton()
export class Client {

  constructor(@inject(Service) private service: Service) {

  }
}

src/main/Service.ts
import {injectable} from "tsyringe";

@injectable()
export class Service {

}

Add the following lines to main.ts
import "reflect-metadata";
import { container } from 'tsyringe';
import { Client } from './Client';

...

const client = container.resolve(Client);
console.log(client);

Run the project with the command yarn run start-main-dev --dev
Expected behavior
client should be printed and no error was thrown.
Actual behavior
An error was thrown.
App threw an error during load
Error: TypeInfo not known for "Client"
    at InternalDependencyContainer../node_modules/tsyringe/dist/esm5/dependency-container.js.InternalDependencyContainer.construct (/home/searene/WebstormProjects/electron-react-typescript/dist/main.js:7620:19)
    at InternalDependencyContainer../node_modules/tsyringe/dist/esm5/dependency-container.js.InternalDependencyContainer.resolveRegistration (/home/searene/WebstormProjects/electron-react-typescript/dist/main.js:7500:51)
    at InternalDependencyContainer../node_modules/tsyringe/dist/esm5/dependency-container.js.InternalDependencyContainer.resolve (/home/searene/WebstormProjects/electron-react-typescript/dist/main.js:7472:25)
    at Module../src/main/main.ts (/home/searene/WebstormProjects/electron-react-typescript/dist/main.js:8330:67)
    at __webpack_require__ (/home/searene/WebstormProjects/electron-react-typescript/dist/main.js:20:30)
    at /home/searene/WebstormProjects/electron-react-typescript/dist/main.js:84:18
    at Object.<anonymous> (/home/searene/WebstormProjects/electron-react-typescript/dist/main.js:87:10)
    at Object.<anonymous> (/home/searene/WebstormProjects/electron-react-typescript/dist/main.js:8436:3)
    at Module._compile (internal/modules/cjs/loader.js:711:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:722:10)

Version:
"reflect-metadata": "^0.1.13",
"tsyringe": "^4.3.0"

This definitely has something odd going on. I suspect Babel. I'll see about fixing this. Hopefully I can fix the React Native issues at the same time.

Ok, so the issue here was that Babel was not configured to emit metadata. I fixed this by doing:
yarn add --dev babel-plugin-transform-typescript-metadata

Then changed my Babel plugin config to:
                    plugins: [
                        'babel-plugin-transform-typescript-metadata',
                        ['@babel/plugin-proposal-decorators', { legacy: true }],
                        ['@babel/plugin-proposal-class-properties', { loose: true }]
                    ]


Simplify code to find the installer script

Also found faster/cleaner ways to find the ilo version string so there
is no need to use the shell module, grep etc.

Thanks @peterjenkins1 , this is indeed a clean and smart way to get ILO version. I was looking for something like this.
Question: You are searching for ILO at locationi 01:00.0 lspci -s 01:00.0 -m will this make any difference if we run this playbook against different models SL4540 , DL380 , SLXX . Or what if ILO is present at different location ?

I tested on a DL380 too, but it definitely we should add some more sanity checks. Pietari read the same code and made the same comment. We could check the string we get starts with "ilo" and then a number ... that would cover most cases. Also we should use the ansible_vendor variable so the code only runs on HP boxes.

Ok, added some "asserts" to the role that should make this much safer! :-)


Use ansible_facts to reference facts

Overall Review of Changes:
By default, Ansible injects a variable for every fact, prefixed with
ansible_. This can result in a large number of variables for each host,
which at scale can incur a performance penalty. Ansible provides a
configuration option [0] that can be set to False to prevent this
injection of facts. In this case, facts should be referenced via
ansible_facts..
This change updates all references to Ansible facts from using
individual fact variables to using the items in the
ansible_facts dictionary. This allows users to disable fact variable
injection in their Ansible configuration, which may provide some
performance improvement.
[0] https://docs.ansible.com/ansible/latest/reference_appendices/config.html#inject-facts-as-vars
Issue Fixes:
No issue, but let me know if you want  me to create one.
Enhancements:

Allows use of inject_facts_as_vars=False.

How has this been tested?:
Ran the role against a host.

Equivalent to: https://github.com/ansible-lockdown/RHEL9-CIS/pull/54

hi @jovial
Thank you for taking the time to raise this PR and helping to improve ansible-lockdown. It does really help us to improve with feedback.
While the change works we do require it to be GPG signed in order to be merged, if you could  add a gpg signature to your commits that would be brilliant.
Thank you
uk-bolly

hi @jovial
Thank you again for you time, I have incorporated your changes into the community_work_fix branch with credits given as i need to try and get these fixes added as quickly as possible.
many thanks
uk-bolly

hi @jovial
Thanks again for taking the time to raise this PR. As mentioned we have managed to incorporate this into many other changes. With credit being given.
If the PR was GPG signed as well as signed-off this would have been accepted earlier.
many thanks once again
uk-bolly

Sorry, missed you comments. Thanks @uk-bolly - very much appreciated :)


No Sound with USB On Stretch

IMPORTANT: Before you create an issue, please take a look at our Issue Reporting Guide.
Briefly summarize your issue:
USB Card on Raspberry B 3+
No Sound output with Alexa
What is the expected behavior?
Play Sound via USB Card
What behavior are you observing?
No Sound Output
Provide the steps to reproduce the issue, if applicable:
i disabled
Enable audio (loads snd_bcm2835)
dtparam=audio=off
in config.txt
cat /proc/asound/modules tells me
1 snd_usb_audio
Microphone is recogniced with wake word...
If i use f.ex. browser and call swr3.de, i am able to hear the sound from the output of the USB Card.
i have tried all possible bug fixes in this forum (hope so), but nothing worked.
Tell us about your environment:

What version of the AVS Device SDK are you using?
  "Latest"  Build yesterday. don't know where i can find out.

Tell us what hardware you're using:

[ ] Desktop / Laptop
[x ] Raspberry Pi
[ ] Other - tell us more:

Tell us about your OS (Type & version):

[ ] Linux
[ ] MacOS
[ x] Raspbian Stretch with latest updates
[ ] Raspbian Jessy
[ ] Other - tell us more:

Funny  found following:
Also you can change the line in MediaPlayer.cpp, so that instead of:
m_pipeline.audioSink = gst_element_factory_make("autoaudiosink", "audio_sink");
you have:
m_pipeline.audioSink = gst_element_factory_make("alsasink", "audio_sink");
Where is the MediaPlayer.cpp? Maybe avs-device-sdk/MediaPlayer/GStreamerMediaPlayer/src ?
What and where do i have to do next to compile new?

Hi @fraeggle, yes that is the correct file to make that code change.  You'll find that line of code in the MediaPlayer::setupPipeline() function within that file.
For compiling and running the SDK, please refer to instructions provided here.
Let us know if you need any further guidance.

I am closing this issue due to inactivity. Please feel free to re-open it if it has been closed in error.


Add strings module, apply @go.join and @go.split functions

Closes #62. The urgent need for @go.split in particular was made apparent during the course of implementing #81, whereby Travis's Linux build running Bash 4.2.25(1)-release caused the log/log-command test to expose a bug whereby the temporary environment for IFS=, read in<EMAIL_ADDRESS>wasn't honored inside of process substitutions. Also see the message for commit 99ab7805e6ef0a14568d8a100eec03bb2cb03631.
Since @go.log_command uses a process substitution to capture command output, and thus potentially any ./go script command could be so captured, the need for @go.split to encapsulate (and document) the workaround for this bug became a priority.
Strangely, while IFS= read invocations (such as the one in @go.log_command) aren't affected by the bug, so those don't require any special treatment. See the message for commit 2297b48e3851323c9bfcb567ad794ec58a846d1b, also from this PR.

Coverage increased (+0.02%) to 94.302% when pulling bb6a344a09ba18503090a3a91f86c8fd52397713 on strings into 365d4b50edbc12d48e4ef2352e8f5dd50b336067 on master.


Crash for newAutoLayoutView

i just add some codes from sample in my project
@objc(LoginViewController)
class LoginViewController : UIViewController, FBSDKLoginButtonDelegate {

let blueView: UIView = {
    let view = UIView.newAutoLayoutView()
    view.backgroundColor = .blueColor()
    return view
    }()

Then add these crashs
[UIView newAutoLayoutView]: unrecognized selector sent to class 0x10bfb71c8
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[UIView newAutoLayoutView]: unrecognized selector sent to class 0x10bfb71c8'

what things i missed?

Hi Wu,
It's hard to say for sure exactly what is happening. Here are a few questions to help narrow it down:

How are you integrating PureLayout into your project? (Did you use CocoaPods, Carthage, or just drag the source files into your project?)
How are you importing PureLayout into your Swift code?
This crash looks to me like a possible linker issue. Can you try adding the -all_load and -ObjC linker flags to the target in your Xcode project where you are trying to use PureLayout? These linker flags are important because PureLayout is implemented using categories. Here is some further discussion about these flags.

Using the PureLayout example app, here is a screenshot of where you should add those linker flags:

@smileyborg Thanks. I found that i miss steps on Carthage setup. Just add linkage. Then work.

Great, thanks for the update!


Media > Video | Design QA | Breakpoint Issues | Caption

Detailed description

Describe in detail the issue you're having.

Small: Caption is 100% width, not 90% per visual spec
Large: Caption is wider than 496 px max width, per visual spec
Xlarge: Caption is wider than 496 px max width, per visual spec
Max : Caption is wider than 496 px max width, per visual spec
Visual spec >

Is this a feature request (new component, new icon), a bug, or a general
issue?

Bug

Is this issue related to a specific component?

Media > Video

What did you expect to happen? What happened instead? What would you like to
see changed?

Small: Caption is 100% width, not 90% per visual spec
Large: Caption is wider than 496 px max width, per visual spec
Xlarge: Caption is wider than 496 px max width, per visual spec
Max : Caption is wider than 496 px max width, per visual spec

What browser are you working in?

Chrome Version 80.0.3987.149 (Official Build) (64-bit) on Mac.

What version of the IBM.com Library are you using?

1.5.1
Steps to reproduce the issue

Open Video Storybook
Use Inspect to view respective breakpoints in the caption (see screenshot below)

Additional information
SMALL

LARGE

XLARGE

MAX

@RobertaJHahn Updated this one to include all four of the previously separate bugs?  I think it's ok to delete #1968, #1969 and #1970 now.  Can you handle this part after looking at this to make sure it looks good to go?


indentation issue in code snippet

Thanks for this great app.
when shell gpt returns a code snippet it adds blank space at the beginning of each line (see the screenshot below, highlighted in red) so if I copy it into any ide it creates indentation error. In ChatGPT copying the snippet doesn't have the issue. Am I missing something?

Unfortunately, the way text is rendered in a terminal/shell differs from how it's displayed in a browser. To format markdown, the shell uses space characters for indentations and formatting. When copying code snippets into an IDE, I recommend using the --code option to generate pure code without additional formatting.


Database migration

I have koreader-sync running on a Google Cloud VM, and it works perfectly.  But if I try to create a new VM, setup koreader-sync there, how do I copy over user and sync progress to the database on the new server?

hi there,
try the following steps:

stop the docker container on both servers
copy the db.json from the old server data folder to the new server data folder (pay attention to file permissions)
start the new docker container

Maybe that would work, but I'm not using docker so I can't test it.  Because of how the passwords are hashed, that approach doesn't work with the non-docker implementation.  It is possible to just copy over the database to the new server, manually edit the file to delete the users (leaving the progress syncs), then re-register from Koreader using the same usernames.  This re-establishes your synced progress.  I was just hoping there was a better way to migrate data, especially if there are a larger number of users.

Because of how the passwords are hashed, that approach doesn't work with the non-docker implementation.

It doesn’t matter whether you run it on Docker or not—the hash is generated directly by KOReader, not the sync server.

especially if there are a larger number of users

Sorry, but this version of the sync server isn't designed to handle a large number of users or to manage them efficiently. (I might add that feature in the future.)

I was just hoping there was a better way to migrate data

Feel free to check out TinyDB; you could use it to implement a way to remove users. (Note: This hasn't been tested—it’s just written in the GitHub reply section)
from tinydb import TinyDB, Query

# db path
db = TinyDB('data/db.json')

# tables
users_table = db.table('users')
documents_table = db.table('documents')

# query object
User = Query()

# 1. delete "user1"
users_to_delete = users_table.search(User.username == 'user1')
for user in users_to_delete:
    users_table.remove(doc_ids=[int(doc_id) for doc_id in user.keys()])

# 2. delete all documents from "user1"
documents_to_delete = documents_table.search(User.username == 'user1')
for doc in documents_to_delete:
    documents_table.remove(doc_ids=[int(doc_id) for doc_id in doc.keys()])

print("all entries for 'user1' deleted")


pxtconfig is null

pxtConfig can be undefined or null (localhost).

I guess not. Makes sense.

I kept it just in case it is not defined for some reason.


feat(params): serialize all pipeline params and shared params into SERIALIZED_VARIABLES to avoid limit of 10 inputs for GHA workflow

Closes #2

:tada: This PR is included in version 1.7.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


First commit

Codecov Report
Patch coverage: 57.03% and project coverage change: -58.01 :warning:

Comparison is base (ceb239e) 84.34% compared to head (7c5bce2) 26.34%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@             Coverage Diff             @@
##             main       #2       +/-   ##
===========================================
- Coverage   84.34%   26.34%   -58.01%
===========================================
  Files           9       11        +2
  Lines         313      429      +116
===========================================
- Hits          264      113      -151
- Misses         49      316      +267

Impacted Files
Coverage Δ

src/core.jl
0.00% <0.00%> (-83.34%)
:arrow_down:

src/views.jl
0.00% <0.00%> (-70.50%)
:arrow_down:

src/GUI/core.jl
66.66% <66.66%> (ø)

src/Config/core.jl
93.93% <93.93%> (ø)

src/Config/type.jl
100.00% <100.00%> (ø)

src/GUI/type.jl
100.00% <100.00%> (ø)

... and 4 files with indirect coverage changes

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


[AJ-1279] Support conversions between strings and files (without validation)

Alternative to #493...
This treats the File type as simply an annotation/hint for the user. It allows creating File columns that contain values that are not valid URLs.

Closing until AJ-1617 is resolved.


Bug: Auth Slow

Bug description

It takes a long time to load the /auth/login page. However, this only happens the first time you load the /auth/login page. Below are the relevant screenshots from devtools.

My assumption is that since we're server side rendering the page, we're just experiencing cold start. This probably warrants further investigation
Potential Ideas + Resources

Maybe we can try caching the responses?
This and this might have useful info

More Problems
Haven't looked into this myself, but apparently auth is slow on off-campus wifi + email sign in doesn't work w/ Yahoo? Will break into separate issues later.
Steps To Reproduce

Go to any preview deployment
Click "Get Started" or "Login" for the first time

The expected behavior
It shouldn't be this slow lol.

The most probable explanation

cold start + instantiating the DB client and setting up connection + setting up auth providers + checking for the session
No connection pooling (unless MongoDB does it by default, need to check this)

I would agree w/ Sarthak here. Going to drop these metrics from Atlas in here, notice the spike in database connections...

Addressed in #415


Does specifying multiple partition keys limit partition scope of query in Cosmos?

I can't find a definitive answer on this.  If i run a Cosmos SQL query like:

SELECT * FROM c WHERE c.partitionKey IN("somePartition", "someOtherPartition", "yetAThirdPartition")

would the query be limited to just these 3 partitions or would all partitions be queried?

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

ID: 14e1b90f-3c65-6a39-d0a6-df2002532ad8
Version Independent ID: 43ecbde3-ad05-8e48-a646-168723afa72a
Content: SQL query metrics for Azure Cosmos DB SQL API
Content Source: articles/cosmos-db/sql-api-sql-query-metrics.md
Service: cosmos-db
GitHub Login: @SnehaGunda
Microsoft Alias: sngun

@Alberto-Vega-MSFT  I was looking at documentation on query performance here: https://docs.microsoft.com/en-us/azure/cosmos-db/sql-api-sql-query-metrics

@bgulrich Thanks for providing the link

@bgulrich yes the query would only hit the partitions you specify in the query. You can confirm this from the per-query metrics file generated after you run the query. This file shows the partition key ranges used for querying and the portal should also show the total number of partitions created for the throughput your provision.

@bgulrich we will close this issue, if you have further questions, feel free to reopen :-)
#please-close

If I could request a clarification on this?
I understand that if specific partition keys are specified, that the query will only execute on a subset of the physical partitions.
However, if we were defining portions like p1234_001, p1234_002, etc and query with something like WHERE pk LIKE ‘p1234_%’ or WHERE pk BETWEEN ‘p1234_001’ AND ‘p1234_999’ would this also limit the query to run just on the subset of physical partitions these logical partition keys exist on?

I'm also interested in knowing this. The following queries RUs cost are exactly the same.
The 2 docs (ids) are in 2 different logical partitions.
Query 1:
SELECT * FROM c where  c.id IN ( 'e00d9a72-6033-42b6-bb17-ad61248b8a91', '0f06ce0c-ecd0-4452-8f86-ed27cabdc97b')
Query 2:
SELECT * FROM c where  c.pk IN('partition1', 'partition2') AND  c.id IN ( 'e00d9a72-6033-42b6-bb17-ad61248b8a91', '0f06ce0c-ecd0-4452-8f86-ed27cabdc97b')
The RU cost is exactly the same independently if i specify the partition key or not. (this was tested in the Emulator with hierarchical partition keys enabled)
I know that id is handled differently but wouldn't it still be faster/cheaper if I also specify which logical partitions to look into?


Compose box obscured by keyboard on long message, in stream view

When replying to a message in the stream view, if the message you’re typing is longer than a certain line length, the message gets cut off.
This makes drafting long messages extremely difficult. See this video for a reproduction.

Thanks @armaanahluwalia for this report! Very interesting.
To highlight one detail: this specifically happens when narrowed to a whole stream -- it doesn't happen when narrowed to a topic.
To describe here in words the exact symptom: when you type a long (draft) message, the compose box grows to make room... and in the video, it eventually grows to try to use some space that's hidden by the keyboard.
Some further observations in the video:

The send button moves along with the bottom of the compose box... and right to the end of the video, you can still see a bit of the top of it. So the box is growing just a constant amount too far down.

Even before you type anything, there's a different symptom present!
That blank white band between the compose box and keyboard is doing nobody any good.

You appear to be on iOS. Helpful to mention for issues involving layout and/or the keyboard :slightly_smiling_face: , as they often vary by platform.

Further notes:

With 23.1.110 (the current beta) on Android 9, I reproduce this issue -- but I don't reproduce the blank white band. So that's probably an unrelated issue.
Gosh, though -- the height of that blank white band is just about equal to the amount we're going too low. So I still wonder if they're related somehow, even though one can happen without the other.

Oh also -- this symptom is reminiscent of #3273 "Keyboard overlaps the compose box on iOS". That one was fixed in 23.0.109, but the history may be a clue for what to look into.

(I went and filed #3370 for the blank white band.)

Some discussion on a duplicate issue, #3414.
One direction to fix this would be to limit the compose box's height. But this shouldn't be a small fixed limit like 6 lines; see discussion on #3049. Instead it should fill the space available. See @borisyankov 's comment on #3414 about how that would ideally work.
Also @jainkuniya points out that the fact this happens only on a stream narrow means it only happens when the topic input is present. That's probably a clue. The compose box's layout already works just fine when there's no topic input; if we can make it work equally well when there is, that solves the problem.

See #3579 for another report, with a nice screenshot demonstrating the issue.


Cache a font file

Replaced ttf file with woff2 because it's smaller and faster. Cached this font file for a year. Caching is good for performance.

Looks like the pattern is wrong

Authorization required to deploy.

Where did you get this version? The ones I see on https://github.com/adobe-fonts/source-code-pro are larger. Why is this one so small?

thanks, this is really good.

ok, i did this for the other font in https://github.com/reactjs/reactjs.org/commit/8def74995a416377a366d882d20d5bc111ccf9d0.

Where did you get this version? The ones I see on https://github.com/adobe-fonts/source-code-pro are larger. Why is this one so small?

I got it here but I don't know why it's so small.


Is it possible to measure the total length of all lines in one dxf file?

Let's say I was creating a program to determine how long it would take a CNC to cut out all lines in a file. First I would need the total length of all the lines. Is that possible with this software?

Yes you can, iterate through the list of lines of the drawing and add their lengths, if you need it you can use the Vector.Distance method.

Please, write some code example. Thanks in advance!


Add github actions based check enforcer

Adding check enforcer v2 action to repository. See https://github.com/Azure/azure-sdk-tools/pull/3287 for details.

/check-enforcer override


Move state calls up, add init for es-2015 class

@toranb Please take a look
Related to #180, as the issue still occurs.

Moving the calls for other life cycle hooks should be also considered, because if anyone were to access the state in DidReceiveAttrs for example, they'd end up with older state, if it happened to be updated.

Just a heads up :) the es2015 init addition here is something I truly don’t want in the codebase (as es2019 solves that and was added for only that compat reason).
The root cause here is “why” doesn’t the conditional for EmberObject catch and connect up as it does wirh test/dev. Until we understand that more deeply I won’t be merging a bandaid over this to solve the immediate defect you ran into.

Sure, but I dunno If I'll be able to debunk the issue if  I know just as much.
The only things I know at the moment is that it hits the es-2015 connector which has no init, and basically makes no call to the state at all.
Also apparently this occurs for Chrome and not for Firefox, and so it gets as much more interesting and the try/catch when calling the component returns
Cannot read property 'proto' of undefined instead of Class constructor cannot be invoked without 'new'

Also please take a look at the changes again, I couldn't help but think that es-2015 file is redundant.

Alright! I DE-BUNKED it.
I've had a revelation, I simply ran tests in production environment on master branch in addon, and 1 of them failed, the one You've added for this issue. Then I ran tests on this PR branch, and it worked :)
I've modified ember-try to run in environment production right now.

@BobrImperator  thanks for the extra effort on this today! I'm glad to see the nasty hacks I added last week gone and this works for ember 2.18+ so it should be g2g for everyone (for all envs dev/test/prod).

@BobrImperator  I've published this on npm as v4.0.3

Lovely! Thank you very much!
<3


Add for cycle

Self explanatory.

Maybe foreach is sufficient.
Foreach will iterate all collections.
Also numbers can be iterated in range. Therefore, add range operator ..

foreach added, for seems to be useless currently


fix datepicker format in challenge form to mm-dd-yyyy

Fix the datepicker field format to mm-dd-yyyy in boostrap datepicker object as well as in portal.py where birthdate field is now a Flask-WTF String Field - and converted to datetime field before the fuzzy match comparison.

Guess I missed this one earlier.  Merging now...


[Bug]: Only workspace admins are able to publish a Workflow.

Policy Graph had some incorrect attributes.
Correcting them.


The filter dropdown should be according to the selected value.

Steps To reproduce--
1. log in as a user
2. Try to filter your order by status.
Actual result: The filter dropdown is not according to the selected value. Please find the below screenshot.
Expected result: The filter dropdown should be according to the selected value.

@devansh-webkul
Thanks, now this enhancement is implemented. so I am closing this issue.
And I have attached a screenshot here, for future reference.


prometheus.yaml and servicegraph.yaml is missing in istio master branch

prometheus.yaml and servicegraph.yaml is missing in istio master branch.
However, the document still ask customers to use, as below
In https://istio.io/docs/tasks/telemetry/querying-metrics.html, use command
kubectl apply -f install/kubernetes/addons/prometheus.yaml
In https://istio.io/docs/tasks/telemetry/servicegraph.html, use command
kubectl apply -f install/kubernetes/addons/servicegraph.yaml

There's two possible answers, though I don't know which is more relevant for these docs: 1) the pages first say to install istio, so the files should be present in the tar files in a release on github, vs. 2) if you're building from source then the yaml files are generated by release/updateVersion.sh (easiest thing to run is "make generate_yaml" to create the files).

Correct, I find these files are in gitignore file. We should not add it manually.
They will be generated automatically by updateVersion.sh


How should I handle the case where the elements have the same name?

If the Element Name modified by ModifyElement is the same, only the last entry will be processed.

Hi! You can to use a selector with creationIDs to decouple a modifier from element name.
Please take a look at this example:
  const automizer = new Automizer({
    templateDir: `${__dirname}/../__tests__/pptx-templates`,
    outputDir: `${__dirname}/../__tests__/pptx-templates`,
    // Set this to `true` if you like to use creationIds by default for both,
    // elements AND slides.
    useCreationIds: false,
  });

  const pres = automizer
    .loadRoot(`RootTemplate.pptx`)
    .load(`SlideWithShapes.pptx`, 'shapes');

  // you can read some information about your templates.
  const creationIds = await pres.setCreationIds();
  console.log(
    creationIds
      .find((template) => template.name === 'shapes')
      .slides.find((slide) => slide.number === 2),
  );

  // We are still using slide numbers to find the target slide.
  // CreationID for this slide would be 273148976.
  await pres
    .addSlide('images', 1, (slide) => {
      // You can use both, creationId as primary selector and
      // name as fallback:
      slide.addElement('shapes', 2, {
        creationId: '{E43D12C3-AD5A-4317-BC00-FDED287C0BE8}',
        name: 'Drum',
      } as FindElementSelector);
    })
    .write(`modify-shapes.test.pptx`);

Please not: When turning on useCreationIds: true, you need to find out each creationId for both, all slides and all shapes. The may appear more complicated on first sight, but, you don't need to care about slide sortation and element names when your templates are evolving.

@singerla  Thanks for your reply, but I was expecting to make content changes on a PPT template that was already styled, not just add elements, so maybe I didn't quite get the point.
 slide.addElement('shapes', 2, {
        creationId: '{E43D12C3-AD5A-4317-BC00-FDED287C0BE8}',
        name: 'Drum',
      } as FindElementSelector);
  })

Here it looks as if the addition was done directly and the name set

I have added some more details regarding this to Readme. Please take a look at this section to find more information.
Please let me know if this is helpful to you or if you need e.g. more examples on this.
Thanks in advance for your participation :smiley:

Thanks for the guide, I solved the problem


Adapter.DiscoveredDevices is always zero in Vanilla version

I am trying to make a Vanilla version using your Mvx version as a guide.
I was able to get the MVX sample working fine, but so far not a vanilla.  I get a reference to the Adapter in MainPage.xaml.cs
BLEInstance = CrossBluetoothLE.Current;
Adapter = BLEInstance.Adapter;
BLEInstance.Adapter.DeviceDiscovered += OnDeviceDiscovered;
and used the
Adapter.ScanMode = ScanMode.LowLatency;
await Adapter.StartScanningForDevicesAsync();
to start it off.  But I get no discovered devices. In the Mvx origina, I see at least 8 devices around.
I can see it scanning=true, so something is functioning. And it times out. But no results.
Q: In your Mvx sample, you include all the Plugin.BLE.xxx locally and add them to the project rather than get the Nuget Plugin.BLE.  Is that correct?

Note: There is often little we can do without a minimal reproducible sample of the issue, so please provide that in a standalone git repository and link it here.
https://github.com/Jockey4her/Chief
I made a blank project, included the nuget BLE.Plugin 2.1.1. and some simple code to start it scanning. My device has BT enabled.

Steps to reproduce

Use a Vanilla version to start a scan from a blank MainPage.xaml.cs.  Not seeing DiscoveredDevices even though Adapter says it is scanning.

Expected behavior
The Mvx version sees at least 8 devices very quickly. But I get none in my attempt at a vanilla.  I wish you could publish a vanilla version; it is very hard to try and understand what to do when MvvmCross.Plugin.BLE is there.  You dont know what's missing.
Actual behavior
OnCeviceDiscovered never fires.
Crashlog
If something causes an exception paste full stack trace + Exception here
Configuration
Version of the Plugin: e.g. 1.0.0 / 1.0.1-alpha3
Plugin 2.1.1 - stored locally from the Mvx sample of bluetoothLe, not the Nuget version.
Platform: e.g. iOS 10.1 / Android 4.4 / ... (including version!!! e.g. Android 5.1 / i0S 10)
Android target version 9.0 (Pie).
Device: e.g. HTC Sensation /i Phone 7 ...
Galaxy S9

Hi @Jockey4her,
I'm the friendly issue checker.
Thanks for using the issue template :star2:
I appreciate it very much. I'm sure, the maintainers of this repository will answer, soon.

ah yes!  Gosh I love it when things are simple..
OK.. if this happens to you, don't panic. What it was was that you have to go into Settings on droid, and App info, Permissions, and MANUALLY enable Location permission.. Even though you set Permissions in the AppManifest, and you'd think it would popup something it doesn't.. Without it, the Adapter scans, but you get no results.  Fixed!    Thanks xabre.  and also to msthrax because I didn't catch the issue until I tried his version.    Vanilla fudge awaits.


I hope to fix the problem of covering the search bar in the editor when opening a new file in the activated state.

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

VS Code Version: 1.85.1
OS Version: Darwin arm64 21.6.0 (Mac mini m1)

Steps to Reproduce:

open one file to search some word
open another file which not opened,  and this file has a long code in first line ,so you can see ,The search bar covers the first line of code, and you need to scroll the mouse.This is a bad experience. When I pay attention to the first line, for example, I just have to deal with grammatical errors now.

Hope：
I hope that when you can open the file in this situation, the space occupied by the search bar is reserved by default, instead of scrolling the mouse to show the height of the occupied space.

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


Update status to Not Active

This PR updates the status field to Not Active.

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


Allow Player timeline scrubbing

On long videos (like WAN) it’s a relatively slow process to fastforward significantly into a video. I believe this is a feature native to the TVos playback controls you seem to be using already.

Um, well actually it seems to scrub when paused only. (tvOS 17 beta) idk if this was normal behavior before.
If scrubbing from the “playing state” is possible that’d  e great.

I haven't used the tvOS 17 Beta yet, but I'm using the new player that was introduced in tvOS 16.
Which Apple TV remote are you using? The older black one with the trackpad, or the newer aluminum one with the circle? When you pause the video with either remote, you should be able to scrub very quickly around. On the older remote, you can swipe left and right when paused and it should scrub quite quickly. On the newer remote, Apple changed things a bit and you can use circular motions to scrub around. For example, here's a quick guide: https://www.macrumors.com/how-to/scrub-through-video-new-siri-remote-2nd-gen/
Otherwise, while playing the left/right click will only skip 10 seconds at a time.
Did the tvOS 17 Beta change this dramatically? If so I can take a look into it.

New remote with the circle, the swiping left/right gesture works when paused. I think it’s just unexpected that I’d need to pause bc the youtube controls doesn’t require you to be paused to scrub, which is the app I’m on most. Looking around at Plex, AppleTV, and Infuse it seems like YT is the odd one out. Sent from my iPhoneOn Jul 22, 2023, at 3:12 PM, James Linnell @.***> wrote:
I haven't used the tvOS 17 Beta yet, but I'm using the new player that was introduced in tvOS 16.
Which Apple TV remote are you using? The older black one with the trackpad, or the newer aluminum one with the circle? When you pause the video with either remote, you should be able to scrub very quickly around. On the older remote, you can swipe left and right when paused and it should scrub quite quickly. On the newer remote, Apple changed things a bit and you can use circular motions to scrub around. For example, here's a quick guide: https://www.macrumors.com/how-to/scrub-through-video-new-siri-remote-2nd-gen/
Otherwise, while playing the left/right click will only skip 10 seconds at a time.
Did the tvOS 17 Beta change this dramatically? If so I can take a look into it.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Yep, that would be correct. Youtube ditches the entire built-in interface and strays in the UX quite a bit! I honestly don't like that Youtube will scrub without pause, since I accidentally lose my place a lot haha.
It sounds like nothing needs to be changed here. I'd rather stick to the default Apple TV experience than try to fiddle with things and break the norm from other apps (aside from Youtube). But feel free to re-open this or make other issues for other suggestions!


[Backport 2.x] [Tiered Caching] Serializers for ehcache (#12709)

Original PR: https://github.com/opensearch-project/OpenSearch/pull/12709
Signed-off-by: Peter Alfonsi<EMAIL_ADDRESS>Co-authored-by: Peter Alfonsi<EMAIL_ADDRESS>(cherry picked from commit 21b28f2a019a8ee538a763453366e6fd4943b768)
Description
As part of tiered caching, adds a Serializer interface and implementations for BytesReference and IndicesRequestCache.Key. Also integrates these with EhcacheDiskCache. This is required for Ehcache to accept non-primitive keys or values.
Related Issues
Part of the tiered caching feature.
Check List

[x] New functionality includes testing.

[x] All tests pass

[x] New functionality has been documented.

[x] New functionality has javadoc added

[x] Failing checks are inspected and point to the corresponding known issue(s) (See: Troubleshooting Failing Builds)
[x] Commits are signed per the DCO using --signoff
[x] Commit changes are listed out in CHANGELOG.md file (See: Changelog)
~- [N/A] Public documentation issue/PR created~

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

https://github.com/opensearch-project/OpenSearch/issues/12743


'TypeError("cannot pickle 'SwigPyObject' object")'

Hi
i am having an issue trying to run the compass, i am getting this error, any ideas how to solve this problem?
root@RonS:~# compass --data avg_exp_mat.tsv --num-thread 8 --species homo_sapiens --output-dir compass_res --temp-dir compass_res_tmp --calc-metabolites --lambda 0
Warning: Temporary directory found without saved arguments. Cached results may not be compatible with current settings
Building up model cache
  0%|                                                                                | 0/320 [00:00<?, ?it/s]
Traceback (most recent call last):
  File "/usr/local/bin/compass", line 8, in <module>
    sys.exit(entry())
  File "/usr/local/lib/python3.8/dist-packages/compass/main.py", line 572, in entry
    precacheCompass(args=args)
  File "/usr/local/lib/python3.8/dist-packages/compass/main.py", line 873, in precacheCompass
    for sub_cache in pool.imap_unordered(partial_map_fun, reaction_chunks):
  File "/usr/lib/python3.8/multiprocessing/pool.py", line 868, in next
    raise value
multiprocessing.pool.MaybeEncodingError: Error sending result: '<multiprocessing.pool.ExceptionWithTraceback object at 0x7f6236f62520>'. Reason: 'TypeError("cannot pickle 'SwigPyObject' object")'

found out the solution here:
https://github.com/YosefLab/Compass/issues/91


Don't skip add_subpage when only one page available

Is your proposal related to a problem?

When only one page is available to create add_subpage page redirects directly to the form. When the options are limited by parent_page_types or max_count_per_parent this is not always apparent to the user and can be confusing.
Describe the solution you'd like

I propose an (optional?) setting which allows the user to see the add_subpage page with all the options and a short explanation of why they're not allowed at that moment, even when only one option is available. I hope the below image gives a clear impression of what I mean:

Of course, If there is only 1 page available without any of the rules blocking others, the add_subpage page could still be skipped.
I'm interested to hear what you think of this idea. If possible I could also try building it.

Thanks for the suggestion @ramonakira!
I don't think this should be an option in settings. While this sort of UI detail is something we definitely care about as developers of Wagtail, ordinary site implementers shouldn't have to care about it - the developer experience is important too, and we don't want to overwhelm them with a sea of UI 'micromanagement' settings.
I can see the benefit of this for max_count_per_parent and other setups (including custom can_create_at methods - it's quite common to override this) where the list of available page types under a parent page can change dynamically in non-obvious ways. I think we still want subpage_types/parent_page_types rules to exist at a level outside of that, so that we don't display disabled choices for pages that would never be valid - a large site could have dozens of specialised page types that are only used in narrow circumstances, so it would be annoying to have a long list of "you cannot create a Children's Birthday Party Invitation Form Page as a child of News".
I think the tricky part will be to keep everything backwards-compatible for people overriding can_create_at, while also making it extensible enough so that it's not just the hard-coded rules like max_count_per_parent that can produce these messages. Maybe the semantics of can_create_at should be modified so that it can return a special "reason" value as well as True (= page type can be created) and False (= page type should not be in the listing at all). Then, we can keep the "redirect if only one option exists" logic, but slightly modify it so that it considers disabled options too. In other words: we show the add_subpage view when there's a single valid choice but the invalid ones have a reason attached, but redirect away if there's a single valid choice and no reasons to display.

See also #1292 and #879. To me as a user, skipping the "add_subpage" page type selection screen feels very jarring, because you don’t know ahead of clicking what you’re going to land on (the form, or the interstitial screen).
My preference would be to always show that screen, and implement this as suggested in #1292, where the page would be divided into multiple sections based on page types being short-listed, available, unavailable (and if so, why).

@thibaudcolas It might be jarring for a superuser who deals with diverse page types across the tree, but what about a basic editor role who's working with one page type 99% of the time, on a site that's making judicious use of subpage_types? For them, clicking "Add child page" on Blog Index and then having to specify Blog Page, with no other options available, is a pointless extra page load.

@gasman in that case I think the current behaviour would be acceptable if we also changed the label of the link accordingly ("Add child blog page"), so users know what the link will take them to before they click.
Ideally this would only be done based on subpage_types (and not max_count_per_parent / can_create_at), so this shortcut only happens for the case that’s unlikely to change much over time.

(see also #4056 – would be nice to consider this as well if we revisited this screen)

@thibaudcolas Sounds good to me. Skipping the interstitial screen only when there's an explicit subpage_types list with a single item would also help with the common gotcha when people first try out the admin on a newly created project - at which point HomePage is the only page type available - and 'Add page' just ends up creating more homepages as children of the actual homepage. In that situation, being presented with a list of page types consisting of just "home page" will hopefully clue them in that they need to set up additional page types.


samples: fixed console.log placements in add/remove fulfillment and set inventory.

…tutorials.
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

[ ] Make sure to open an issue as a bug/issue before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
[ ] Ensure the tests and linter pass
[ ] Code coverage does not decrease (if any source code was changed)
[ ] Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> 🦕

@Arakel2811 could I bother you to resolve the merge conflicts and push?

@bcoe i will try to fix the conflicts and push


[Bug] After Updating from 2.1.4 to 2.2 the server did not start anymore

Checks

[X] I confirm that I have searched for existing issues / pull requests before reporting to avoid duplicate reporting.
[X] I confirm that I followed the MCDC Docs and read the Changelog, but this problem still exists.
[X] I confirm that I noted that if I don't follow the instructions, the issue may be closed directly.

Java Version
Java
Minecraft Version
1.19.2
MCDiscordChat Version
2.2.0
Description
I had updated only MCDiscordChat, tried also to recreate the Config, but don't work.
Server start not up
To Reproduce
Only Start server with 2.2.0, with 2.1.4 it work fine
Log
Here is the Full Log
https://mclo.gs/PzdAnz0
Config
No config will created, but old Config on 2.1.4 work fine.

Two options:

Update to 1.19.4
Disable check for update and stay at 1.19.2

Then there is an issue on your side, because, on Curseforge and on Modrinth, the MCDiscord is shown for Compatibility on 1.19.2

The apps are loading this as update for 1.19.2.

yet i know it is incompatible with 1.19.2 but other guys are not knowing.

This is an expected problem, but I would not fix it because MCDC supported too many major and minor versions, and I do not want such unclean pages. If it bothered you, I would like to say sorry, but yeah, would not fix it.

I'm sorry, but this is not how you should be doing things. Lying about game version support just for the sake of cleanliness can (and did for me) cause headache for server owners. It's frankly bad software practice, just like breaking semver.

@suerion @Speak2Erase @fortnider @thesabinelim
I appreciate your desire to improve the mod for other players in the Minecraft community.
While it is important to ensure that the mod is compatible with the Minecraft versions it claims to support and to eliminate confusion and frustration for users, it is currently unrealistic to expect mod maintainers to test each MCDC release against every Minecraft minor version.
If you were to consider the suggestion to show the exact Minecraft versions supported by a new MCDC release in the future, you would realize that retroactively updating the version support information for all past releases would be demanding. This step is required to make such a suggestion effective, as it would result in incorrect information for previous versions if the potential problem is not fixed.
For example, let's say version 2.0.1 claims support for all versions from 1.14 to 1.19.1, but version 1.19 is not actually supported. If I select only [...] to 1.18.2, and 1.19.1, excluding 1.19, in the next version, 2.0.2, then the page would show that version 2.1.4 supports version 1.19, but this would be incorrect information.
However, I am unable to do all the demanding work myself and would appreciate any contribution you may have to this effort, given your eagerness to improve the mod for other players in the Minecraft community. Please note that I am busy in real life and would not be able to start fixing this demanding work until I find it possible to do so.
Thank you for bringing up your concerns and feedback. I hope you can contribute to MCDC practically to improve MCDC for the Minecraft community.

Can't you use GitHub actions to automate testing?

No, these automated operations cannot be tested for compatibility and must be tested using server and client side manually. The behaviour of how each version of the mod is incompatible with a game varies from case to case. Some won't start the server at all, some can, but kick players out when they join a game, and some kick players out when they send chat messages, and even more.

All issues re-examined:
Fixed in #180 already.


bulk -t does not disable parallel jobs

poudriere(8) says, in the bulk section:
 -t           Add some testing.  Currently uninstalls the port, and dis-
              able parallel jobs for make.

but this does not seem the case, parallel jobs in builds are active.
Maybe I'm misunderstanding the meaning of "parallel jobs" in this context or that is wrong?
From a quick look at the repository it looks like the problem is also present in trunk.
Thanks in advance.

https://forums.FreeBSD.org/threads/81582/post-527053
https://github.com/freebsd/poudriere/commit/1257b1d492ca1db88f7f61d51e1bfa03a2cd9e0a


[Interop] cmd.exe from clean bash install results in Input/Output error

Build 16193
Installed a clean instance of Ubuntu 16.04, in WSL to test this (see the log), and launching
/mnt/c/Windows/System32/cmd.exe
fails with
fpqc@FPQC-PC:/mnt/c/Users/fpqc$ /mnt/c/Windows/System32/cmd.exe
-bash: /mnt/c/Windows/System32/cmd.exe: Input/output error

log.txt
I did it from wsl.exe, but it does the same exact thing with bash.exe
C:\Users\fpqc>bash
fpqc@FPQC-PC:/mnt/c/Users/fpqc$ /mnt/c/Windows/System32/cmd.exe
-bash: /mnt/c/Windows/System32/cmd.exe: Input/output error
fpqc@FPQC-PC:/mnt/c/Users/fpqc$

I feel same as my issue #1877.
Try run compact /compactos:query outside of bash.
If "The system is in the Compact state." is shown, this.

@0xbadfca11 - I think you may be correct.  I installed the most recent prerelease build that has not yet been released (16197) and interop is working again.  It's possible the most recent insider build has a bug with compact mode that has been fixed since the build snapped.

@benhillis I turned off compactos and it worked (ssd is big enough, didn't need the 3gb of extra space, plus boot from nvme seems to be faster w compactos off).
Was the problem that you were not checking for transparent compression before executing the file, so it was detecting the compressed binary as an invalid PE file?

There are actually no changes from our driver in the past two Windows Insider builds.  I'll sync up with @SvenGroot next week to make sure we're handling compact OS stuff correctly, since I believe it's implemented as a reparse point.


Version 4.3.1 Missing

The NPM page for this project shows a version 4.3.1 and this commit references the same version. I also remember seeing it earlier today.
Now as I look, the latest release on Github is 4.3.0 and the tag v4.3.1 does not exist. However the main branch still shows the commit above.

Was this action intentional? Is there a bug or issue with those changes?
Thank you

@Roanmh I unfortunately forgot to create a release on Github but pushed it to npm as a quick bug fix, it does indeed exist it's just not documented on Github, sorry about that!


Update get-networkcontrollervirtualswitchconfiguration.md

Added descriptions and example

@AnirbanPaul,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Pullquotes Component

Component demo:
https://eea.github.io/volto-kitkat-frontend/?path=/story/components-pullquote--default
This component follows the same issues that I've detailed in the Blockquotes component
Therefore I am keeping it short with examples and links, see the above ticket if extra details are needed

[ ] Follow Semantic UI conventions / constructs even for new components but use .eea parent class
[ ] Since it's a new component you need to define variables that can be set per component variable

https://github.com/Semantic-Org/Semantic-UI/blob/master/src/definitions/collections/menu.less#L135
https://github.com/Semantic-Org/Semantic-UI/blob/master/src/definitions/collections/menu.less#L281
https://github.com/eea/volto-eea-design-system/blob/develop-itml/theme/themes/eea/extras/pullquote.less#L37
For classes where we have the name right or left you are not required to use a variable for the float
rule, only for situations where an element could have a display rule and a float where the user could choose
to set display to flex perhaps and float to none or left or right

Component is to be redesigned in R3.


Error while running spm design with Sky130A library

I am trying to run spm with Fault. Synthesis and Cut commands are successful but when I try to run
fault -c Tech/sky130A/libs.ref/sky130_fd_sc_hd/verilog/sky130_fd_sc_hd.v -v 100 -r 50 -m 95 --ceiling 1000 Netlists/spm.netlist.v.cut.v
Which actually uses sky130_fd_sc_hd.v file, the following error appears.
Generating LALR tables
WARNING: 183 shift/reduce conflicts
Processing module CSADD…
Found 25 fault sites in 6 gates and 5 ports.
Performing simulations…
Skipped 84 duplicate generated test vectors.
./Tech/sky130A/libs.ref/sky130_fd_sc_hd/verilog/sky130_fd_sc_hd.v:40410: syntax error./Tech/sky130A/libs.ref/sky130_fd_sc_hd/verilog/sky130_fd_sc_hd.v:40410: syntax error
./Tech/sky130A/libs.ref/sky130_fd_sc_hd/verilog/sky130_fd_sc_hd.v:40410: error: invalid module item.

./Tech/sky130A/libs.ref/sky130_fd_sc_hd/verilog/sky130_fd_sc_hd.v:40410: error: invalid module item.
./Tech/sky130A/libs.ref/sky130_fd_sc_hd/verilog/sky130_fd_sc_hd.v:40410: syntax error
./Tech/sky130A/libs.ref/sky130_fd_sc_hd/verilog/sky130_fd_sc_hd.v:40410: error: invalid module item.
./Tech/sky130A/libs.ref/sky130_fd_sc_hd/verilog/sky130_fd_sc_hd.v:40410: syntax error
./Tech/sky130A/libs.ref/sky130_fd_sc_hd/verilog/sky130_fd_sc_hd.v:40410: error: invalid module item.

I am unable to find the issue.

Alright, in the future we'd intensely appreciate uploading the offending file(s) because the file in question is actually generated by open_pdks. It is not a "standard" file.
The issue will be tracked in https://github.com/RTimothyEdwards/open_pdks/issues/87. This may be an issue with any of IcarusVerilog, open_pdks or the Skywater PDK, but ultimately not Fault.

Alright, in the future we'd intensely appreciate uploading the offending file(s) because the file in question is actually generated by open_pdks. It is not a "standard" file.
The issue will be tracked in https://github.com/RTimothyEdwards/open_pdks/issues/87. This may be an issue with any of IcarusVerilog, open_pdks or the Skywater PDK, but ultimately not Fault.

Alright, in the future we'd intensely appreciate uploading the offending file(s) because the file in question is actually generated by open_pdks. It is not a "standard" file.
The issue will be tracked in RTimothyEdwards/open_pdks#87. This may be an issue with any of IcarusVerilog, open_pdks or the Skywater PDK, but ultimately not Fault.

@donn
Thanks for the clarification.

Alright, in the future we'd intensely appreciate uploading the offending file(s) because the file in question is actually generated by open_pdks. It is not a "standard" file.
The issue will be tracked in RTimothyEdwards/open_pdks#87. This may be an issue with any of IcarusVerilog, open_pdks or the Skywater PDK, but ultimately not Fault.

@donn
Thanks for the clarification.

@donn
I commented out ' wire 1' on line 40410 in the file sky130_fd_sc_hd.v and included primitives.v file. Now a new error message is being shown.
fault -c Tech/sky130A/libs.ref/sky130_fd_sc_hd/verilog/sky130_fd_sc_hd.v -v 100 -r 50 -m 95 --ceiling 100 Netlists/spm.netlist.v.cut.v
Generating LALR tables
WARNING: 183 shift/reduce conflicts
Processing module CSADD…
Found 25 fault sites in 6 gates and 5 ports.
Performing simulations…
Skipped 84 duplicate generated test vectors.
[Warning]: golden output contains x or z.
[Warning]: golden output contains x or z.
[Warning]: golden output contains x or z.
[Warning]: golden output contains x or z.
[Warning]: golden output contains x or z.
[Warning]: golden output contains x or z.
[Warning]: golden output contains x or z.
[Warning]: golden output contains x or z.
[Warning]: golden output contains x or z.
[Warning]: golden output contains x or z.
[Warning]: golden output contains x or z.
[Warning]: golden output contains x or z.
[Warning]: golden output contains x or z.
[Warning]: golden output contains x or z.
[Warning]: golden output contains x or z.
[Warning]: golden output contains x or z.
Hit ceiling. Settling for current coverage.
Time elapsed: 3.61s.
Simulations concluded: Coverage 0.0%

I have attached sky130_fd_sc_hd.txt and primitives.txt for reference
sky130_fd_sc_hd.txt
primitives.txt

@donn
I commented out ' wire 1' on line 40410 in the file sky130_fd_sc_hd.v and included primitives.v file. Now a new error message is being shown.
fault -c Tech/sky130A/libs.ref/sky130_fd_sc_hd/verilog/sky130_fd_sc_hd.v -v 100 -r 50 -m 95 --ceiling 100 Netlists/spm.netlist.v.cut.v
Generating LALR tables
WARNING: 183 shift/reduce conflicts
Processing module CSADD…
Found 25 fault sites in 6 gates and 5 ports.
Performing simulations…
Skipped 84 duplicate generated test vectors.
[Warning]: golden output contains x or z.
[Warning]: golden output contains x or z.
[Warning]: golden output contains x or z.
[Warning]: golden output contains x or z.
[Warning]: golden output contains x or z.
[Warning]: golden output contains x or z.
[Warning]: golden output contains x or z.
[Warning]: golden output contains x or z.
[Warning]: golden output contains x or z.
[Warning]: golden output contains x or z.
[Warning]: golden output contains x or z.
[Warning]: golden output contains x or z.
[Warning]: golden output contains x or z.
[Warning]: golden output contains x or z.
[Warning]: golden output contains x or z.
[Warning]: golden output contains x or z.
Hit ceiling. Settling for current coverage.
Time elapsed: 3.61s.
Simulations concluded: Coverage 0.0%

I have attached sky130_fd_sc_hd.txt and primitives.txt for reference
sky130_fd_sc_hd.txt
primitives.txt

Thanks for the report, we'll investigate

Thanks for the report, we'll investigate

@mahmoodulhassan-lm
The following macros have to be defined to be able to run the simulations with sky130
`define FUNCTIONAL
`define UNIT_DELAY #1
Can you verify that these macros were set ? You can add them to sky130_fd_sc_hd.v

@mahmoodulhassan-lm
The following macros have to be defined to be able to run the simulations with sky130
`define FUNCTIONAL
`define UNIT_DELAY #1
Can you verify that these macros were set ? You can add them to sky130_fd_sc_hd.v

@Manarabdelaty when I entered both of the above definitions, the following error popped up.
fault -c Tech/sky130A/libs.ref/sky130_fd_sc_hd/verilog/sky130_fd_sc_hd.v -v 100 -r 50 -m 95 --ceiling 100 Netlists/spm.netlist.v.cut.v
Generating LALR tables
WARNING: 183 shift/reduce conflicts
Processing module CSADD…
Found 25 fault sites in 6 gates and 5 ports.
Performing simulations…
Skipped 84 duplicate generated test vectors.
./Tech/sky130A/libs.ref/sky130_fd_sc_hd/verilog/sky130_fd_sc_hd.v:19754: syntax error
I give up.
./Tech/sky130A/libs.ref/sky130_fd_sc_hd/verilog/sky130_fd_sc_hd.v:19754: syntax error
I give up.
./Tech/sky130A/libs.ref/sky130_fd_sc_hd/verilog/sky130_fd_sc_hd.v:19754: syntax error
I give up.
./Tech/sky130A/libs.ref/sky130_fd_sc_hd/verilog/sky130_fd_sc_hd.v:19754: syntax error
I give up.

@Manarabdelaty when I entered both of the above definitions, the following error popped up.
fault -c Tech/sky130A/libs.ref/sky130_fd_sc_hd/verilog/sky130_fd_sc_hd.v -v 100 -r 50 -m 95 --ceiling 100 Netlists/spm.netlist.v.cut.v
Generating LALR tables
WARNING: 183 shift/reduce conflicts
Processing module CSADD…
Found 25 fault sites in 6 gates and 5 ports.
Performing simulations…
Skipped 84 duplicate generated test vectors.
./Tech/sky130A/libs.ref/sky130_fd_sc_hd/verilog/sky130_fd_sc_hd.v:19754: syntax error
I give up.
./Tech/sky130A/libs.ref/sky130_fd_sc_hd/verilog/sky130_fd_sc_hd.v:19754: syntax error
I give up.
./Tech/sky130A/libs.ref/sky130_fd_sc_hd/verilog/sky130_fd_sc_hd.v:19754: syntax error
I give up.
./Tech/sky130A/libs.ref/sky130_fd_sc_hd/verilog/sky130_fd_sc_hd.v:19754: syntax error
I give up.

I think it is because the lpflow_bleeder cells in the verilog views have syntax errors in the current version. I commented them out in the file you posted and was able to successfully pass it to Iverilog without syntax errors.
sky130_fd_sc_hd.txt

I think it is because the lpflow_bleeder cells in the verilog views have syntax errors in the current version. I commented them out in the file you posted and was able to successfully pass it to Iverilog without syntax errors.
sky130_fd_sc_hd.txt

Please look into the output now.
fault -c Tech/sky130A/libs.ref/sky130_fd_sc_hd/verilog/sky130_fd_sc_hd.v -v 100 -r 50 -m 95 --ceiling 1000 Netlists/spm.netlist.v.cut.v
Generating LALR tables
WARNING: 183 shift/reduce conflicts
Processing module CSADD…
Found 25 fault sites in 6 gates and 5 ports.
Performing simulations…
Skipped 84 duplicate generated test vectors.
[Warning]: golden output contains x or z.
[Warning]: golden output contains x or z.
[Warning]: golden output contains x or z.
[Warning]: golden output contains x or z.
[Warning]: golden output contains x or z.
[Warning]: golden output contains x or z.
[Warning]: golden output contains x or z.
[Warning]: golden output contains x or z.
Minimum coverage not met (4.0%/95.0%,) incrementing to 150…
Skipped 50 duplicate generated test vectors.
Minimum coverage not met (4.0%/95.0%,) incrementing to 200…
Skipped 50 duplicate generated test vectors.
Minimum coverage not met (4.0%/95.0%,) incrementing to 250…
Skipped 50 duplicate generated test vectors.
Minimum coverage not met (4.0%/95.0%,) incrementing to 300…
Skipped 50 duplicate generated test vectors.
Minimum coverage not met (4.0%/95.0%,) incrementing to 350…
Skipped 50 duplicate generated test vectors.
Minimum coverage not met (4.0%/95.0%,) incrementing to 400…
Skipped 50 duplicate generated test vectors.
Minimum coverage not met (4.0%/95.0%,) incrementing to 450…
Skipped 50 duplicate generated test vectors.
Minimum coverage not met (4.0%/95.0%,) incrementing to 500…
Skipped 50 duplicate generated test vectors.
Minimum coverage not met (4.0%/95.0%,) incrementing to 550…
Skipped 50 duplicate generated test vectors.
Minimum coverage not met (4.0%/95.0%,) incrementing to 600…
Skipped 50 duplicate generated test vectors.
Minimum coverage not met (4.0%/95.0%,) incrementing to 650…
Skipped 50 duplicate generated test vectors.
Minimum coverage not met (4.0%/95.0%,) incrementing to 700…
Skipped 50 duplicate generated test vectors.
Minimum coverage not met (4.0%/95.0%,) incrementing to 750…
Skipped 50 duplicate generated test vectors.
Minimum coverage not met (4.0%/95.0%,) incrementing to 800…
Skipped 50 duplicate generated test vectors.
Minimum coverage not met (4.0%/95.0%,) incrementing to 850…
Skipped 50 duplicate generated test vectors.
Minimum coverage not met (4.0%/95.0%,) incrementing to 900…
Skipped 50 duplicate generated test vectors.
Minimum coverage not met (4.0%/95.0%,) incrementing to 950…
Skipped 50 duplicate generated test vectors.
Minimum coverage not met (4.0%/95.0%,) incrementing to 1000…
Skipped 50 duplicate generated test vectors.
Hit ceiling. Settling for current coverage.
Time elapsed: 2.67s.
Simulations concluded: Coverage 4.0%

One more thing I would like to mention that I am using sky130_fd_sc_hd__tt_100C_1v80.lib as a lib file.

Please look into the output now.
fault -c Tech/sky130A/libs.ref/sky130_fd_sc_hd/verilog/sky130_fd_sc_hd.v -v 100 -r 50 -m 95 --ceiling 1000 Netlists/spm.netlist.v.cut.v
Generating LALR tables
WARNING: 183 shift/reduce conflicts
Processing module CSADD…
Found 25 fault sites in 6 gates and 5 ports.
Performing simulations…
Skipped 84 duplicate generated test vectors.
[Warning]: golden output contains x or z.
[Warning]: golden output contains x or z.
[Warning]: golden output contains x or z.
[Warning]: golden output contains x or z.
[Warning]: golden output contains x or z.
[Warning]: golden output contains x or z.
[Warning]: golden output contains x or z.
[Warning]: golden output contains x or z.
Minimum coverage not met (4.0%/95.0%,) incrementing to 150…
Skipped 50 duplicate generated test vectors.
Minimum coverage not met (4.0%/95.0%,) incrementing to 200…
Skipped 50 duplicate generated test vectors.
Minimum coverage not met (4.0%/95.0%,) incrementing to 250…
Skipped 50 duplicate generated test vectors.
Minimum coverage not met (4.0%/95.0%,) incrementing to 300…
Skipped 50 duplicate generated test vectors.
Minimum coverage not met (4.0%/95.0%,) incrementing to 350…
Skipped 50 duplicate generated test vectors.
Minimum coverage not met (4.0%/95.0%,) incrementing to 400…
Skipped 50 duplicate generated test vectors.
Minimum coverage not met (4.0%/95.0%,) incrementing to 450…
Skipped 50 duplicate generated test vectors.
Minimum coverage not met (4.0%/95.0%,) incrementing to 500…
Skipped 50 duplicate generated test vectors.
Minimum coverage not met (4.0%/95.0%,) incrementing to 550…
Skipped 50 duplicate generated test vectors.
Minimum coverage not met (4.0%/95.0%,) incrementing to 600…
Skipped 50 duplicate generated test vectors.
Minimum coverage not met (4.0%/95.0%,) incrementing to 650…
Skipped 50 duplicate generated test vectors.
Minimum coverage not met (4.0%/95.0%,) incrementing to 700…
Skipped 50 duplicate generated test vectors.
Minimum coverage not met (4.0%/95.0%,) incrementing to 750…
Skipped 50 duplicate generated test vectors.
Minimum coverage not met (4.0%/95.0%,) incrementing to 800…
Skipped 50 duplicate generated test vectors.
Minimum coverage not met (4.0%/95.0%,) incrementing to 850…
Skipped 50 duplicate generated test vectors.
Minimum coverage not met (4.0%/95.0%,) incrementing to 900…
Skipped 50 duplicate generated test vectors.
Minimum coverage not met (4.0%/95.0%,) incrementing to 950…
Skipped 50 duplicate generated test vectors.
Minimum coverage not met (4.0%/95.0%,) incrementing to 1000…
Skipped 50 duplicate generated test vectors.
Hit ceiling. Settling for current coverage.
Time elapsed: 2.67s.
Simulations concluded: Coverage 4.0%

One more thing I would like to mention that I am using sky130_fd_sc_hd__tt_100C_1v80.lib as a lib file.

Can you post spm.netlist.v.cut.v ?

Can you post spm.netlist.v.cut.v ?

Can you post spm.netlist.v.cut.v ?
Please find both .netlist and netlist.cut.

spm.netlist.v.cut.txt
spm.netlist.txt

Can you post spm.netlist.v.cut.v ?
Please find both .netlist and netlist.cut.

spm.netlist.v.cut.txt
spm.netlist.txt

There is an issue with chain insertion commands as well.
fault chain -l Tech/sky130A/libs.ref/sky130_fd_sc_hd/lib/sky130_fd_sc_hd__tt_025C_1v80.lib -c Tech/sky130A/libs.ref/sky130_fd_sc_hd/verilog/sky130_fd_sc_hd.v --clock clk --reset rst Netlists/spm.netlist.v
Generating LALR tables
WARNING: 183 shift/reduce conflicts
Chaining internal flip-flops…
Internal scan chain successfuly constructed. Length:  0
Creating and chaining boundary flip-flops…
Generating LALR tables
WARNING: 183 shift/reduce conflicts
Boundary scan cells successfuly chained. Length:  3
Total scan-chain length:  3
Resynthesizing with yosys…
Verifying scan chain integrity…
Generating LALR tables
WARNING: 183 shift/reduce conflicts
done
Scan chain verification failed.
・Ensure that clock and reset signals, if they exist are passed as such to the program.
・Ensure that the reset is active high- pass --activeLow for activeLow.
・Ensure that D flip-flop cell name starts with ["DFFSR", "DFFPOSX1", "DFFNEGX1"].
・Ensure that there are no other asynchronous resets anywhere in the circuit.
Done.

In sky130_fd_sc_hd.v, cells definitions are different from Osu35. For example, flipflops names start with sky130_fd_sc_hd__udp_dff$PR_pp$PG$N etc.
Please do correct me if I am understanding it wrong.

There is an issue with chain insertion commands as well.
fault chain -l Tech/sky130A/libs.ref/sky130_fd_sc_hd/lib/sky130_fd_sc_hd__tt_025C_1v80.lib -c Tech/sky130A/libs.ref/sky130_fd_sc_hd/verilog/sky130_fd_sc_hd.v --clock clk --reset rst Netlists/spm.netlist.v
Generating LALR tables
WARNING: 183 shift/reduce conflicts
Chaining internal flip-flops…
Internal scan chain successfuly constructed. Length:  0
Creating and chaining boundary flip-flops…
Generating LALR tables
WARNING: 183 shift/reduce conflicts
Boundary scan cells successfuly chained. Length:  3
Total scan-chain length:  3
Resynthesizing with yosys…
Verifying scan chain integrity…
Generating LALR tables
WARNING: 183 shift/reduce conflicts
done
Scan chain verification failed.
・Ensure that clock and reset signals, if they exist are passed as such to the program.
・Ensure that the reset is active high- pass --activeLow for activeLow.
・Ensure that D flip-flop cell name starts with ["DFFSR", "DFFPOSX1", "DFFNEGX1"].
・Ensure that there are no other asynchronous resets anywhere in the circuit.
Done.

In sky130_fd_sc_hd.v, cells definitions are different from Osu35. For example, flipflops names start with sky130_fd_sc_hd__udp_dff$PR_pp$PG$N etc.
Please do correct me if I am understanding it wrong.

@mahmoodulhassan-lm

I noticed that the synthesized netlist only has the CSADD module. To generate synthesized netlist with the SPM as top module, you need to specify the top module name using the -t option as follows
 fault synth -l /ef/tech/SW/sky130A/libs.ref/sky130_fd_sc_hd/lib/sky130_fd_sc_hd__ff_100C_1v65.lib  -t SPM -o spm.synthesis.v spm.v
(You will need to replace the liberty file path with your own path)

The low coverage you are exhibiting in the simulation is because the cut netlist wasn't generated correctly. The cut option should remove all flip-flop cells from the design. If you examined the netlist, you will see that the netlist still has flip-flop cells (I think we need to add a warning message for failing to detect any flip-flop cells)  To specify the flip-flop cell name, you can use -d option as follows:
fault cut -d sky130_fd_sc_hd__dfrtp_1 spm.synthesis.v
(You will need to make sure that the synthesized netlist indeed has flip-flop cells named  sky130_fd_sc_hd__dfrtp_1; also note that this name will vary from design to design)

I have attached the synthesized and the cut netlists I generated using above commands for your reference.
spm.synthesis.txt
spm.synthesis.v.cut.txt

@mahmoodulhassan-lm

I noticed that the synthesized netlist only has the CSADD module. To generate synthesized netlist with the SPM as top module, you need to specify the top module name using the -t option as follows
 fault synth -l /ef/tech/SW/sky130A/libs.ref/sky130_fd_sc_hd/lib/sky130_fd_sc_hd__ff_100C_1v65.lib  -t SPM -o spm.synthesis.v spm.v
(You will need to replace the liberty file path with your own path)

The low coverage you are exhibiting in the simulation is because the cut netlist wasn't generated correctly. The cut option should remove all flip-flop cells from the design. If you examined the netlist, you will see that the netlist still has flip-flop cells (I think we need to add a warning message for failing to detect any flip-flop cells)  To specify the flip-flop cell name, you can use -d option as follows:
fault cut -d sky130_fd_sc_hd__dfrtp_1 spm.synthesis.v
(You will need to make sure that the synthesized netlist indeed has flip-flop cells named  sky130_fd_sc_hd__dfrtp_1; also note that this name will vary from design to design)

I have attached the synthesized and the cut netlists I generated using above commands for your reference.
spm.synthesis.txt
spm.synthesis.v.cut.txt


Need bin files for a simple installation

Please create bin files of the firmware and file system for simple intsation in ESP.

The "compiledbin" folder already has the bin files for the ESP including flashing software. It includes the latest firmware and spiffs.

Sorry, Thanks!


[Hydra] nixos tests often fails due to timeouts, blocking channel updates

Issue description
There's been discussion around this issue various places, most notably https://github.com/NixOS/nixpkgs/issues/49384. But I thought it deserved it's own issue.
To quote @vcunat and summarize the problem operationally:

Without manual test restarts we probably can't keep up reasonable channel update frequency. On unstable it's common to have other regressions, too.

The installer tests seems to be affected the most, but various other tests also time out:

nixos-unstable
release-18.09

Causes?
Quoting @vcunat again for a likely cause:

Lately I relatively often see transient nixos test errors from packet-epyc-1; I suspect it may get overloaded occasionally.
I can only guess why that happens. One possibility: some derivations don't use make -l$NIX_BUILD_CORES or similar – I find that very annoying locally, as I have a cheap 16-threaded desktop and 16*16 is way too much (--cores + --max-jobs).

That would explain why we're suddenly seeing this so much with the new epyc machine (which have a lot of cores).
Fixes?
There's been attempts to increase the timeout https://github.com/NixOS/nixpkgs/pull/49441 (reverted) and  #53828, without any immediate success. https://github.com/NixOS/nixpkgs/pull/53827 added time logging which could be useful for debugging.
An ad-hoc fix would be to automate the manual restarts (eg. if the tested job fails, restart it once). Though that's obviously not ideal.

Did the backdoor revert help?

Tests on Hydra seemed quite reliable since that time.  I suppose this revert was the main contribution to that (had to be 100% sure for me).  In any case, I see no reason to keep this open anymore.

I wish PR https://github.com/NixOS/nixpkgs/pull/54330/files isn't lost in space. Maybe some mention in NixOS tests, that if you want to debug tests from inside, apply custom patch from that PR.

Sadly it doesn't work for me anymore.

I've opened up https://github.com/NixOS/nixpkgs/issues/125359 to continue the discussion on how to get this back.


OSX support

I started using Operative on OS X. Currently only use it for a small console app that generates CoreData seed for my iOS app. I would gladly share this part of my work but by mistake I used master from my fork where one of my PRs is already merged which creates a slight discomfort in making it a clean PR.
Here my OS X branch btw:
https://github.com/pronebird/Operative/commits/osx-support

Top level structure of classes is split on Core and iOS. Potentially OS X folder too.

I didn't port any of conditions and only moved iOS related ones out of OS X deployment.

OPLocationCondition and OPLocationOperation should be ported manually because OS X permissions system is exactly as pre-iOS 8.0 which makes the entire design of mentioned above classes much simpler. First I rushed to resolve that but I think it needs proper care, not just #if TARGET flags and such. Currently those two are in iOS only deployment and maybe should remain there in further too.

OPAlertOperation has to be ported manually too. It's similar but not the same on OSX. I don't see any alert controllers here so probably has to be ported with NSAlert.

I wonder if #29 can be revised when you have time and if it makes sense, merged so I could propose this PR or otherwise I could cherry pick if you feel like OS X support would be a good addition to Operative.

This issue now is a PR #45. I removed #29 from PR.


"select hightlights" bug on delete

VSCode Version: latest
OS Version: linux 4.8.0

Steps to Reproduce:

select a single quote or 'highlight it'
ctrl+L
del

I was modifying a constants file in php and then I wanted to replace all single quotes for double quotes.

@iqbal98 I cannot reproduce. Can you reproduce when running without extensions code --disable-extensions ?

Closing after a number of days without a response.


Discover not Multicast Ready

I have been playing with this library to discover CoAP devices using my own library on the microcontroller (ESP8266): https://github.com/Alv3s/Thing.CoAP
It seems CoAP.NET is not ready for this feature.  Microcontroller is configured to respond to CoAP multicast address (<IP_ADDRESS>), I am opening a client to this coap endpoint "coap://<IP_ADDRESS>/" and I was expecting to discover all the resources of all available CoAP devices on the network. But it seems I am only getting the first one.
I tried to do as follows:
CoapClient client = new CoapClient(new Uri("coap://<IP_ADDRESS>/"));
            client.Respond += Request_Respond;
            var result = client.Discover().ToList();

            for (; ; )
            {
                Thread.Sleep(1000);
            }

The code above only returns the first device replying to the request. I also tried as follows:
        static void CoAPMulticast()
        {
            // new a GET request
            Request request = new Request(Method.GET, false);
            request.Multicast = true;
            request.URI = new Uri("coap://<IP_ADDRESS>/.well-known/core");
            request.Respond += Request_Respond;

            request.Send();

            for (; ; )
            {
                Thread.Sleep(1000);
            }
        }

private static void Request_Respond(object sender, ResponseEventArgs e)
        {
            Console.WriteLine("Here");
        }

I was expecting function "Request_Respond" to print twice the "Here", but I can see on the logs that the second response is being ignored.
Any tips? Maybe I could help you with this one.

Does the request reach all the clients? Should be easy to verify by checking the logs for multiple devices.
Do all the clients' responses reach the computer where the client is running? Easiest way to verify is probably to run wireshark on the computer.

@mfalkvidd Thank your for the reply. I did verify and checked the multicast request reached both devices and both devices response reach CoAP.NET. I could verify this with Wireshark and also via logs generated on the console by CoAP.NET.
The issue seems to be the Discover method is only expecting one response (which usually it is fine). I guess a method called "DiscoverAll" could be created and return an IEnumerable of Devices with weblinks. If that seems fine to you, I could implement it and open a merge request for you.

I don't have control over this repository, and I don't use multicast myself, but your suggestion sounds good.
I'm not sure anyone is maintaining this repo anymore. I submitted a pull request quite a while ago: https://github.com/smeshlink/CoAP.NET/pull/64
There are a few other forks as well: https://github.com/mfalkvidd/CoAP.NET/network
I would prefer that this repo remained the "true" source for the project, but you are welcome to submit a pull request to my fork if you have no luck here.


 Invalidate local task plugin cache on delete.
Actually, it just always shows even if not configured. So there is a bigger bug here.

The website encountered an unexpected error. Please try again later.
Error: Call to a member function getSitesForEntity() on null in Drupal\next\Render\MainContent\HtmlRenderer->prepare() (line 115 of modules/contrib/next/src/Render/MainContent/HtmlRenderer.php).
This would fix it:
`$resolver = $next_entity_type_config->getSiteResolver();
if (empty($resolver)) {
return $build;
}
$sites = $resolver->getSitesForEntity($entity);
if (!count($sites)) {
return $build;
}`

FYI, i would have opened an issue on module page and submitted a patch but it seems they want to handle everything here outside of drupal. I'm not really sure how that fits into normal drupal issues or workflow.

@mglaman I'll look into it.
@apmsooner You can submit a PR here. I'll merge and credit you on d.o.

Duplicate of #517


404 link in Jupiter / JUnit 5 docs page

On page for Jupiter / JUnit 5, in section Singleton containers there's a link which leads to https://www.testcontainers.org/manual_lifecycle_control/#singleton-containers, which doesn't exist.

this is due to how the link is shared... if it finishes with / then everything ok otherwise it fails. Not a testcontainers issue but one for mkdocs.
Using https://www.testcontainers.org/test_framework_integration/junit_5/ it works as expected.


snRNA-seq_for_human_retina: needs update (DCP1 dataset)

This DCP1 dataset: snRNA-seq_for_human_retina needs updating. Specifically lane indices are needed to distinguish the multiple files per input cell suspension. However it is a DCP1 dataset, we cannot update DCP1 datasets currently. The submission in ingest prod. is here: https://contribute.data.humancellatlas.org/submissions/detail?uuid=7d515499-b5b6-4083-95cd-6a393344865e&project=9c20a245-f2c0-43ae-82c9-2232ec6b594f N.B. it was wrangled by Zina.

This project was deleted and Lattice will submit to DCP. So this ticket no longer needed


amd64 binaries should not depend on libc

we only use libc for write now, which can just as easily be a system call.

we only use libc for write now, which can just as easily be a system call.

this was wrong i forgot about malloc lol. anyway
done in 53bad8d3a04623670bdde8ee0259d240545d3d7d


VSCode - Cpu not supported

please complete the following information:

OS version: Win 10
Editor: vscode
Editor version: 1.52.1
Programming language: php
TabNine extension version: 3.2.63-23

If the issue is related to TabNine failure, please provide log files:
I cant find log files location.
Type TabNine::config in your editor, the logs are located at the bottom of the page.
{
  "version": "3.1.1",
  "hide_promotional_message": false,
  "beta_enabled": "Yes",
  "ignore_all_lsp": false,
  "creation_time": "2020-10-08T15:37:09.658134900Z",
  "semantic_status": {},
  "enable_telemetry": false,
  "user_understands_that_enabling_tabnine_cloud_sends_code_to_tabnine_servers": false,
  "hosted_deep_completions_enabled": "Disabled",
  "tabnine_cloud_host": null,
  "tabnine_cloud_certificate_domain": null,
  "tabnine_cloud_port": null,
  "cloud_whitelist": [],
  "num_of_suggestions": 5,
  "multiline_suggestions": false,
  "api_key": null,
  "api_base_url": null,
  "binary_update_interval_seconds": null,
  "local_enabled": "Unset",
  "disable_local_when_using_battery": false,
  "hide_deep_information_message": false,
  "enable_power_saving_mode": false,
  "rate_limit_interval_seconds": null,
  "rate_limit_amount": null,
  "generation": 23,
  "local_model_size": null,
  "model_hash_override": null,
  "local_indexing": null
}

Issue Details:
Status bar shows "CPU not supported, click to solve", clicking opens tabnine hub, no more info is given.
Issue #310 tells about "Tabnine Lite" option, but i cant find anywhere.

Same issue in pycharm, after tabnine updating

Same here not got that option neither

Same here not got that option neither

Hey all, sorry that you experience this issue.
Tabnine uses several machine learning models under the hood, and one of them (the deep learning model) requires FMA instructions (see https://www.tabnine.com/faq/#FMA)
It has always been this way, we just started prompting you with that info, so you know that you do not get the full experience Tabnine has to offer.
There are 2 possible ways to resolve that:

Join our free cloud plan (limited and experimental) using the message in Tabnine Hub.
Join our Pro plan that include the Deep Completions Cloud (bigger model, GPU powered).

Tabnine was and will function well without you doing anything, it will just not provide you with the deep learning completions (which are a big part of the magic).

That said, we are aware that the messaging is too aggressive and that once the issue resolved using cloud completions the status bar is not changing (and also some state in the hub). This is a bug we addressing ASAP.

Hey all, sorry that you experience this issue.
Tabnine uses several machine learning models under the hood, and one of them (the deep learning model) requires FMA instructions (see https://www.tabnine.com/faq/#FMA)
It has always been this way, we just started prompting you with that info, so you know that you do not get the full experience Tabnine has to offer.
There are 2 possible ways to resolve that:

Join our free cloud plan (limited and experimental) using the message in Tabnine Hub.
Join our Pro plan that include the Deep Completions Cloud (bigger model, GPU powered).

Tabnine was and will function well without you doing anything, it will just not provide you with the deep learning completions (which are a big part of the magic).

That said, we are aware that the messaging is too aggressive and that once the issue resolved using cloud completions the status bar is not changing (and also some state in the hub). This is a bug we addressing ASAP.

I've been using TabNine in VS Code for months, and suddenly, starting this morning, I see the message "CPU not supported, click to resolve" in the status bar. I already followed the instructions to download the model file and place it in the correct folder, but the message still remains.

I've been using TabNine in VS Code for months, and suddenly, starting this morning, I see the message "CPU not supported, click to resolve" in the status bar. I already followed the instructions to download the model file and place it in the correct folder, but the message still remains.


Question: Drag and Drop row to non-grid item

Hi again.
Is there a configuration item which would allow one to drag a whole row (plus/minus children) to a non-grid item? Like a separate <div/> somewhere?

Since the Grid won't own the piece of DOM that will receive the drop event I'm not sure what the Grid can do here, aside from associating some metadata with the dragged element.
What would the desired behavior be?

I think so. I'd ultimately like to be able to drag a row both in and out of the grid from/to some custom widget. I think as long as I'm able to identify which row it was on either end, I can fetch the item from my store in my own reducer (at least from Grid to Custom.) Not sure exactly how to do it the other way.
I've been debating on trying to write my own for a while now so I can do this kind of thing. It just seems like so much work to not leverage something like your project, though.

What I would recommend is creating a drop event on some container and having the event trigger some actions.
I've just push a commit which adds some metadata to the drop event so you will know which row has been dropped. Here's a sample drop event that will remove the row from the grid.
import { Actions } from 'react-redux-grid';
import { store } from './path/to/store';
import { stateKey } from './path/to/constants';

const dropEvent = (e) => {
    // get data from drop event
    const { id, row } = e.dataTransfer.gerData('text/plain');

    // get grid data from store
    const gridData = store
        .getState()
        .dataSource.getIn([stateKey, 'data'])
    const index = gridData.findIndex(i => i.id === id);

    // remove row from grid using action
    store.dispatch(
        Actions.EditorActions.removeRow({
            stateKey,
            index
        })
    );

    //custom code to add row to another area

    // Actions.addNewRow is also available if you'd
    // like to add a row

};

As far as dropping a new into grid, that's a little more complex. We could expose a rowDrop event that get's passed through with props, and you could simply write your own event that handles this by firing custom or grid actions?

Thanks, so much!
I think an event that would accept the row to add/update would be helpful. How would this affect the other DnD row functions for reordering? Would those still work the same?

Yeah I think those would work the same. I don't think we could support hinting on the drop of a custom element on a row, since the Grid won't be aware of what's being dropped.

@jktravis closing this issue. If you'd like a row drop event, would you mind opening up a new issue, requesting the feature?


fix 'make deploy-local'

Description
I encountered some errors when execute 'make deploy-local' on macOS and nerdctl.
Therefore, I've made some modifications.
I confirmed that it works correctly under the following environment.

macOS 13.6
nerdctl

client: 1.4.0
server

containerd: 1.7.0
runc: 1.1.7

resolve: https://github.com/AthenZ/athenz/issues/2310#issuecomment-1758953130
Contribution Checklist:

[ ] The pull request does not introduce any breaking changes
[x] I have read the contribution guidelines.
[x] Create an issue and link to the pull request.

Attach Screenshots (Optional)

I noticed a contribution guidelines link on template is not working


Format collection description on collection view

Let's make it better for mobile and by default looks nicer, to save some space

Items
unique owners

Floor
volume traded

@yangwao I'll try to do this

😍

@yangwao is this same as #1217 ?

ah yeah true, it's was really tingling my mind as you can see! 😄
Thank you for making #1217 !

ah yeah true, it's was really tingling my mind as you can see! 😄 Thank you for making #1217 !

yeah I was going to do this next, then I was like wait I just did this 😄


KAFKA-15352: Update log-start-offset before initiating deletion of remote segments

This pull request tries to solve is to first update the log-start-offset and then delete remote segments.
In the previous version if a read request arrives between us deleting a segment and updating the log-start-offset we won't be able to service it.

@divijvaidya
Could you please review this patch? Discussion thread:
This patch addresses the case-2 mentioned in the KAFKA-15352 ticket partially. Only the leader will move the log-start-offset and starts to delete the remote log segments. In middle of deleting the remote log segments, if leader switch happens then there can be two cases:

The log-start-offset changes was propagated to all the replicas including the new-leader. In this case, both the old-leader and new-leader can delete the remote log segments since the log-start-offset can be updated only with the monotonically increasing value.
The log-start-offset changes was not propagated to the new leader. In this case, the new leader assumes the log-start-offset which can be deleted immediately by the old leader and the log-start-offset can be stale until the next segment deletion, we can address this case by ensuring that the log-start-offset propagates to all the replicas before deleting the remote log segments, we can take this up later (or) file a JIRA.

My point is, should we check for leadership even before updating the log start offset?

yes, this is the expectation and being done inside the handleLogStartOffsetUpdate method:
public void handleLogStartOffsetUpdate(TopicPartition topicPartition, long remoteLogStartOffset) {
    if (isLeader()) {
        logger.debug("Updating {} with remoteLogStartOffset: {}", topicPartition, remoteLogStartOffset);
        updateRemoteLogStartOffset.accept(topicPartition, remoteLogStartOffset);
    }
}

Thanks for the latest comments! I will review and respond today

@satishd , do you want to have another look?

There are a few unrelated test failures. Merging it to trunk and 3.6


Some text used in StaticTexture's inspector does not have translation keys

At the bottom of the StaticTexture2D component:

The translation keys used in Inspector.Texture.AdjustAlphaGamma and Inspector.Texture.AddAlpha are not defined in the locale file. Keys remain visible in any language setting

I didn't notice this issue was already posted. #401 resolved this for en, so you may close this @eai04191.


Refactor ledmanager to handle different display + add example display output

The two commits can be reviewed separately or together.
First commit: In order to support hardware which has a small LCD display which can say e.g., "Progress 2: acquiring IP addresses" instead of blinking twice, it makes sense to have a displayFunc instead of a blinkFunc etc.
Second commit adds support for a display function which is called each time there is a change, plus some example code which can be used to show the output in some file. If the XXX code is added back for QEMU.*, then it will output something like this:
<65cfbd7:/# more /persist/log/ledmanager-status.log
Progress: 1 EVE-OS booting
Progress: 2 acquiring IP address
eth0 IP <IP_ADDRESS> fec0::9490:92cb:898c:7602 fec0::aae9:6e83:11ef:b6ac fe80::84df:f534:b351:abf3
eth1 IP <IP_ADDRESS> fec0::7b5f:6bed:82c6:b870 fec0::6908:c7d5:d0:7c75 fe80::5054:ff:fe12:3457
Progress: 4 online
eth0 IP <IP_ADDRESS> fec0::9490:92cb:898c:7602 fec0::aae9:6e83:11ef:b6ac fe80::84df:f534:b351:abf3
eth1 IP <IP_ADDRESS> fec0::7b5f:6bed:82c6:b870 fec0::6908:c7d5:d0:7c75 fe80::5054:ff:fe12:3457
Progress: 3 reached controller
eth0 IP <IP_ADDRESS> fec0::9490:92cb:898c:7602 fec0::aae9:6e83:11ef:b6ac fe80::84df:f534:b351:abf3
eth1 IP <IP_ADDRESS> fec0::7b5f:6bed:82c6:b870 fec0::6908:c7d5:d0:7c75 fe80::5054:ff:fe12:3457
Progress: 4 online
eth0 IP <IP_ADDRESS> fec0::9490:92cb:898c:7602 fec0::aae9:6e83:11ef:b6ac fe80::84df:f534:b351:abf3
eth1 IP <IP_ADDRESS> fec0::7b5f:6bed:82c6:b870 fec0::6908:c7d5:d0:7c75 fe80::5054:ff:fe12:3457
Note that the above output might be too voluminous for some displays, thus individual display functions will need to manage the formatting.

Is this ready for review @eriknordmark ?

Is this ready for review @eriknordmark ?

Yes. [That's why I removed the WIP a day or so ago.]

NIT: that would be great to have this refactoring happening in a couple of steps, e.g.

You mean as more separate commits? It is already two commits.

NIT: that would be great to have this refactoring happening in a couple of steps, e.g.

You mean as more separate commits? It is already two commits.

Yes, I mean to split this commit. Just massive renaming creates a lot of noise distracting reviewers from the functional changes (even if these function changes are refactoring too). I am not insisting though

Yes, I mean to split this commit. Just massive renaming creates a lot of noise distracting reviewers from the functional changes (even if these function changes are refactoring too). I am not insisting though

The only pure renaming is "dd" to "forcedisk" (approximately).
The change from "blinkFunc" to "displayFunc" is due to different functional behavior of the plugged in function,


Feature request: Remove validator

It would be useful to have an option to remove the validator from a form - I think all it needs to do it remove the data and unbind the events.
At the moment I'm doing this outside the plugin like this:
form.add(form.find(':submit, input, select, option, textarea')).off('.validate .validate-equalTo');
form.removeData('validator');

With 1.14 there is an "destroy"-method, see #1392

netbrot had the right answer. will close this issue now.
feel free to ask if you have followup questions.

Awesome, thanks!
A couple of small questions:

Can it get added to the documentation?
The equalTo method adds a "blur.validate-equalTo" event, which I don't believe will be unbound, is that right?

you are more than welcome to provide the docs as a PR in https://github.com/jzaefferer/validation-content ;-)

I guess you are right. there is a open todo in the code[1].

[1] https://github.com/jzaefferer/jquery-validation/blob/master/src/core.js#L1371

we should use .one to fix that: http://api.jquery.com/one/
but this will also not clear the event listener on destroy

we should use .one()[1] to fix that TODO.

I think it's the same as using .off( ... ).on( ... ) but more readable.
IMO, the goal of that TODO is to bind the event once for all without unbinding it every time.
Anyway, until there is a better solution, using one( ... ) makes more sense here.

but this will also not clear the event listener on destroy

We have to add it, then.

@staabm I updated my previous comment!
I will create a new issue to discuss the first point.

I guess we need to discuss how we can clear the listener on destroy - so how to find the elements on which this elements have been registered...

@staabm
see https://github.com/jzaefferer/jquery-validation/issues/1707#issuecomment-182926873