improvement fix publish timeout in cocurrent load

In concurrent load, some publish timeout happens occasionally. This is cause by meta lock hold by other thread so publish add increase rowset hang for several seconds.
StorageEngine::start_delete_unused_rowset will hold gc_mutex and it cost a lot of time, so that add_used_rowset wait lock, and compaction modify_rowset or other tablet method will hold meta_lock and call add_unused_rowset which will make meta_lock occupied for too long, finally makes publish timeout.
In this pr, I copy unused_rowsets in lock and delete these rowset without lock, makes gc_mutex more lightweight so meta lock can be acquired immediately in publish thread.
Proposed changes
Issue Number: close #xxx
Problem summary
Describe your changes.
Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[ ] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[ ] No
[ ] No Need

Has document been added or modified:

[ ] Yes
[ ] No
[ ] No Need

Does it need to update dependencies:

[ ] Yes
[ ] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[ ] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 34.35 seconds
load time: 442 seconds
storage size:<PHONE_NUMBER>8 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20221113153556_clickbench_pr_45209.html


Bytecode specs

add a bytecode list to the specs
its too much work right now while theyre kindof unstable

closing because this is obvious and planned but will take time before it can be completed


wifi doesnt work after rebooting

direct cause https://github.com/Mic92/sops-nix/issues/149

Fixed by moving the ssh-key into the sd-card as the nvme is not available during the boot.
Also the bootstrap image doesn't include the wifi configuration as the image itself doesn't contain the key.


Provide non certifcate based API authentication mechanism

Whilst @rianniello was rolling out https://github.com/ausaccessfed/stockpile/issues/43 monitoring alerted that connections to SAML Service in test fed stopped being honoured.
Investigation per https://github.com/ausaccessfed/stockpile/issues/49 showed that the move to AWS ALB was the root cause here as we previously had undertaken API authentication using SSLClientVerify at the Apache level which is no longer feasible in the model where we terminate public SSL at the ALB. Currently, we've rolled back to direct Apache connections on this service in the test federation to restore functionality.
To support our move to ALB the API here needs to be extended to also accept a token via header/query param to permit remote services access when ALB is re-instated.
Token values should be unique per APISubject, requiring an extension of the underpinning schema.

Noting the deployment will require an https://github.com/ausaccessfed/aaf-ansible PR in parallel to deprecate the SSLClientVerify configuration in Apache.

Hi @bradleybeddoes ,
Not sure what you exactly ran into at ALB, but FYI, when we updated to latest Apache on our Ubuntu 18.04 hosts, SSLVerfifyClient optional stopped working (as renegotiation for a specific Location (/api), when combined together with TLSv1.3.
I have reported this to Ubuntu:

comment #26 at https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1865900
and further upstream to Apache:
https://bz.apache.org/bugzilla/show_bug.cgi?id=64263

But right now, I've ended up disabling the authenticated part of the API (we're not using it yet).
So, moving away from SSLClientVerify sounds as the very right step - I'll be keen to see the further progress here...
Cheers,
Vlad

Hi @bradleybeddoes ,
I have been digging into the TLSv1.3 SSLVerifyClient issues further, and found that TLSv1.3 requires all HTTPS clients to change how they invoke the API to support post-handshake authentication.  So this can be solved by updating clients ... but might be too much effort and take too much time.
And I see you've just implemented #222 - I'm looking forward to seeing it merged and simplifying our deployment.
Cheers,
Vlad

Not sure what you exactly ran into at ALB
ALB has no support for this model, at least not in the way we need it to operate without hacks and mess that we don't want.

TLSv1.3 requires all HTTPS clients to change how they invoke the API
Also correct and painful but not the specific issue the AAF tripped over which was nice.

I see you've just implemented #222
Indeed, has been assigned for review, feel free to try it out.


Improve Scaleway documentation

The documentation should mention the Scaleway profiles feature and maybe also include a few example to edit/update the cluster/instance groups, or at least link to the dedicated pages in the kops documentation.

Done in #15604


Modifying hosts jinja template to add host aliases.

This PR modifies hosts_file role to allow the cluster admin to add some aliases for external hosts.

Dear @remyd1
Thanks a lot for this PR, and my apologies for the delay of my answer.
I like this change. However, since I made some deep changes on this role in V2, I wish to let it hold few weeks if it is ok for you ?
Then we can merge it into V2 directly.

It is Ok. Thanks.

Dear @remyd1
New role is available now, sorry for the delay.
You can find it at https://github.com/bluebanquise/bluebanquise/tree/master/collections/infrastructure/roles/hosts_file

Hi,
I just checked if it can be merged with new version, but, well, there are too many changes for me to do so.
My PR was a way to manage host names aliases, and I don't see a way to do it in BB 2.0. Is it possible anyway ?
Best,
Rémy

Ok; done. Finally, it was easy but BB 2.0 seems to be a huge change (...) !

Hello @remyd1 ! 😊
Thanks a lot for these changes. Il will check it asap, probably Monday.
 I mainly focused on stability,  and I avoided introducing too much breaking changes.

Ok. I stay tune !

Small update: I havent forgotten the review, just some pressure with kids. I will work on it asap 😊

Dear @remyd1
I checked code, its ok for me 😊
Merging ! Thanks a lot for this contribution !

Great 👍


Aspect-orientation does not apply to derived attributes

Try the model below. The aspect code block will be ignored in the generated code.
class Test{
name= {"Some value"}
before getName{
//I will be ignored
}
}

We realize that the injection should be for the get method. It still does not work. Example:
class Test{
   firstName;
   lastName;
   fullName= {firstName+lastName}

  before getFullName{
    firstName = firstName+ " ";
   }
}

The problem is in the way JavaClassGenerator is written. It has multiple if blocks for different cases when injecting code. This code should be getting sent to the attribute_GetDerivedCodeInjection block, but is instead being sent to the attribute_GetDerived. This is because the if statement around attribute_GetDerivedCodeInjection requires the existence of after functionality.
If I add an after statement, both the before and after code are appended. It also works if I use after alone, but does not work with before alone.


Error "inconsistent snapshot"

I'm using @antongolub/lockfile in my application to parse some dependencies and their sub-dependencies.
When I execute the analyze function, it throws the following exception:
Uncaught Error: inconsistent snapshot: string-width ^4.1.0
(anonymous function) 	analyze.ts:65
walk                 	analyze.ts:62
walk                 	analyze.ts:76
walk                 	analyze.ts:76
walk                 	analyze.ts:76
(anonymous function) 	analyze.ts:123
analyze              	analyze.ts:123
getDependencyTree    	build.mjs:61
copyDependencies     	build.mjs:69
(anonymous function) 	build.mjs:74
run                  	module_job:194
Async call from await
runMainESM           	run_main:60
executeUserEntryPoint	run_main:83
(anonymous function) 	run_main_module:23

Here is my code:
const dependencies = [
    'zip-lib'
]

function getDependencyTree() {

    const lf = fse.readFileSync('../yarn.lock', 'utf-8')
    const pkg = fse.readFileSync('../package.json', 'utf-8')

    const snapshot = parse(lf, pkg) // Holds JSON-friendly TEntries[]
    const idx = analyze(snapshot)   // An index to represent repo dep graphs
    let tree = idx.tree;
    return Object.keys(tree)
        .filter(s => s.split(',').length > 1 && dependencies.indexOf(s.split(',')[1]) !== -1)
        .map(s => tree[s].chunks[tree[s].chunks.length - 1]);
}

function copyDependencies() {
    let tree = getDependencyTree()
    console.log(1)
}

//copy depts what angular not include
copyDependencies()

https://github.com/qq253498229/error002/blob/1e779a6e18fb9515f698d90f103431ee96371538/nwjs/build.mjs#L61

Could it be a conflict caused by having two package.json files in the environment at the same time?

I'm afraid, this kind of aliases is not supported yet.
"string-width-cjs<EMAIL_ADDRESS><EMAIL_ADDRESS>|| 2 || 3 || 4"<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>  version "4.2.3"
  resolved "https://registry.npmmirror.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
  integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
  dependencies:
    emoji-regex "^8.0.0"
    is-fullwidth-code-point "^3.0.0"
    strip-ansi "^6.0.1"

"string-width-cjs<EMAIL_ADDRESS>{
    "name": "string-width-cjs@npm:string-width",
    "version": "4.2.3",
    "ranges": [
      "^1.0.2 || 2 || 3 || 4",
      "^4.1.0",
      "^4.2.0",
      "^4.2.0",
      "^4.2.3"
    ],
    "hashes": {
      "sha512": "wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g=="
    },

@qq253498229
I added limited aliases support for yarn-classic lockfiles. You can try<EMAIL_ADDRESS>


Error:Configuration with name 'default' not found.

When I put this line
compile project(':react-native-orientation') in dependencies section of gradle file then this error occurs. If removed build is successful but Orientation change cannot be imported in the activity..What am I missing?

@riten7 got this, when run rnpm link
but I have
compile project(':Orientation')

Do I need to use npm install ... process and then npm link ???

Please use the latest version of the package and follow the README for updated guide on how to install and link native dependencies for both Android and iOS platforms


Beach Access

For use with the "Beach" places preset

Source SVGs have been added to my branch, preview the 24 px black standalone version here.


Object.Freeze and Date bad crash

We are using DeepFreeze to check that reducers state are immutable, we have found a weird issue initilializing a Date object:
export class TrainingEntity {
  id : number;
  name : string;
  isActive : boolean;
  start : Date;
  end : Date;
  trainers : Array<TrainerSummary>;
  students : Array<StudentSummary>;

  constructor() {
    this.id = -1;
    this.name = '';
    this.isActive = false;
    // TODO: Temporary workaround, to avoid issues with Deepfreeze + Sinon
    // + Date objects.
    this.start = null; //new Date();
    this.end = null; // new Date();
    this.trainers = new Array<TrainerSummary>();
    this.students = new Array<StudentSummary>();
  }
}

The bad thing is that it crashes in a different test and we get a bad sinon datecomparer issues (attempt to access readonly property).
Deepfreeze just make a recursive loop and applies Object.Freeze to all object.
It seems that Date does not behave well with Object.Freeze
http://stackoverflow.com/questions/34907311/is-there-a-way-to-object-freeze-a-javascript-date
As a temporary workaround we have initialized Date to null, further research is needed.

It seems that Date objects cannot be frozen, mmm... just thinking about a work around, deepfreeze seems to be straight forward, just 8 lines of code:
https://github.com/substack/deep-freeze/blob/master/index.js
module.exports = function deepFreeze (o) {
  Object.freeze(o);

  Object.getOwnPropertyNames(o).forEach(function (prop) {
    if (o.hasOwnProperty(prop)
    && o[prop] !== null
    && (typeof o[prop] === "object" || typeof o[prop] === "function")
    && !Object.isFrozen(o[prop])) {
      deepFreeze(o[prop]);
    }
  });

  return o;
};

We could try to implement a freeze function and skip dates, somethin like described here:
http://stackoverflow.com/questions/643782/how-to-check-whether-an-object-is-a-date
What do you think @crsanti @Nasdan @JaimeSalas @franmolmedo ?


JSoup encoder

Hi, I wanted to check if there's interest in bringing in a JSoup Document encoder to this project? Happy to make a PR if so.
JSoup has its own Document type which is fairly similar to a DOM Document. Typical use case is to take an HTML template, replace some fields, and serve that document.
The code is here and used in Scala Algorithms, alongside the scalatags encoder. https://github.com/ScalaWilliam/rad4s/blob/master/http4s-jsoup-encoder/src/main/scala/com/scalawilliam/rad4s/http4s/JSoupDocumentEncoder.scala

I've used the library several years ago, and I'd be happy to host it in the org.
The plan is to spin integrations into their own repos for http4s-1.0, and I'm sure that would be the long-term plan for this.  And it's going to be up to the community to maintain some of those integrations: it burns out the core team maintaining modules they don't use.  This polyrepo model is already working in various backends like Finagle, Netty, Armeria, and the jdk-http-client, and it's the future for our codecs.  So if we add it, it'll be up to you to keep it fresh, or find someone who will.
In the short term, it's a Java dependency with a long track record of binary compatibility (at least the version numbers say so).  I've discouraged adding some other integrations to the core repo, but this one is very low risk.  I'm open either to adding it here in series/0.22 and making it part of The Great Schism like everything else, or if you want to practice maintaining a satellite repo, setting that up.

Seems we're happy to spin up a repo for this; otherwise, no more to discuss.


Header must provide a Content-Length property

Client Language Server Example: connection to server is erroring. Header must provide a Content-Length property. {"{"jsonrpc"":""2.0","result":{"contents":"## test1\n\n- test\n | a | b | c |\n | --- | --- | --- |\n | ss | ss | ss |\n | ss | ss | ss |","range":{"end":{"character":6,"line":7},"start":{"character":6,"line":7}}},"id":25}Content-Length: 39"} Shutting down server.

let (service, socket) = LspService::new(|client| Backend {
        client,
        trie: Default::default(),
    });
    Server::new(stdin, stdout, socket).serve(service).await;

I think you may printed something.
remove all print/dbg if you use stdio/stdout

I think you may printed something.
remove all print/dbg if you use stdio/stdout

yes you are right, thanks for your help！


Package Managers

I'd like us to consider adopting a package manager to make it easier for users to install/update OT. We definitely can look into after #37 but I think it is generally a good thing.
There isn't a defacto package manager for embedded device software but the closest x-platform one is PlatformIO. I was waiting until 3.0 was released since now I think it will work well for OT. I like it because it doesn't force any requirements on code structure and we can self-publish libraries, even one-off libs we need in third_party. Another useful feature in 3.0 is the ability to define libraries via downloadURL, so silicon vendors could share their BSPs as dependencies directly from their own hosted sites. There's also a set of premium features that might be useful but this free-to-use service could be a great addition. I also had a good experience getting support from the team when I was working on an open source project in the past.

FYI - I started a thread on the PlatformIO Community.

Conan was also suggested in #1873

I wanted to test the claim that PlatformIO is open source by reviewing the license. I found the subscription license for PlatformIO Plus, but it was not easy for me to tease out what features of the open sourced logic are independent of the subscription service. If there were alternative hosting services for PlatformIO, and open source development of the PlatformIO Core were not dominated entirely by the PlatformIO Plus fee for service enterprise, this would be less of a concern. Maybe someone more familiar with how PlatformIO is organized can respond to my concern.

Closing stale issue. We can re-open if there is renewed interest.


fix(button): host in disabled state

Describe pull-request
Added disabled attribute on host level and pointer-events: none once component is in disabled state so no event fires when the component is in that state.
Additionally, I cleaned up the focus state so it uses mixin and only in one place, other places seemed to be repetitive without any value.
Issue Linking:
Choose one of the following options

Jira: Add ticket number after CDEP-: CDEP-3600
GitHub: https://github.com/scania-digital-design-system/tegel/issues/833

How to test

Read the GitHub issue and how to recreate it.
Go to preview link.
Try to recreate the issue.
Try the same in production Storybook.
Preview link should behave as expected.

Checklist before submission

[x] I have added unit tests for my changes (if applicable)
[x] All existing tests pass
[ ] I have updated the documentation (if applicable)
[x] Not breaking production behavior
[ ] Behavior available in storybook with documented descriptions (if applicable)
[x] npm run build-all without errors

Suggested test steps

[ ] Browser testing (Chrome, Safari, Firefox)
[x] Keyboard operability
[ ] Interactive elements have labels.
[x] Storybook controls
[ ] Design/controls/props is aligned with other components
[ ] Dark/light mode and variants
[ ] Input fields – values should be displayed properly
[x] Events

Additional context
As `pointed-events: none* rule are used, not-allowed cursor style is not possible to be used anymore. So test is updated to reflect it.

@theJohnnyMe I tested this in production and could not find the issue in Storybook.
Although your fix seems to work, it would be good for me to be able to recreate the issue in live environment

@theJohnnyMe I tested this in production and could not find the issue in Storybook. Although your fix seems to work, it would be good for me to be able to recreate the issue in live environment

The TdsClick event fires when clicking on padding attached to the tds-button element, even if the Button is disabled. Made a little screen recording of the issue, hope it helps! :)
https://github.com/user-attachments/assets/6baaa4e7-a5e0-4859-a5f2-867af19fd189

@ckrook & @nathalielindqvist please check if you can drop cache or use inspector in private/incognito mode.
Here is what I see:
https://github.com/user-attachments/assets/949c9546-1a1c-4889-b5c8-2203e50f7ebe

@ckrook & @nathalielindqvist please check if you can drop cache or use inspector in private/incognito mode.
Here is what I see: https://github.com/user-attachments/assets/949c9546-1a1c-4889-b5c8-2203e50f7ebe

Sorry, I was a bit unclear in my comment - the screen recording I posted was of production, the preview link in this PR gives me the same result as your screen recording 👍


Missing register_x509.js file

Step 4 of "Simulate the Device" references a 'register_x509.js' file which does not appear to exist in the Git repository. Is this file missing?

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

ID: 166baed4-426c-a0b2-a57a-623c4b47a8a3
Version Independent ID: cb34ea4b-64ca-9820-d0cf-58a8cbfd2652
Content: Provision a simulated X.509 device to Azure IoT Hub using Node.js
Content Source: articles/iot-dps/quick-create-simulated-device-x509-node.md
Service: iot-dps
GitHub Login: @BryanLa
Microsoft Alias: bryanla

Nevermind...I was looking under /device/samples not /provisioning/device/samples

@keljdoyle We will now close this issue. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


refactor: rebranding groupId into org.eclipse.edc

What this PR changes/adds
Changes the groupId to org.eclipse.edc
Why it does that
consistency with EDC
Linked Issue(s)
Closes #42
Checklist

[ ] added appropriate tests?
[x] performed checkstyle check locally?
[ ] added/updated copyright headers?
[ ] documented public classes/methods?
[x] added/updated relevant documentation?
[ ] added relevant details to the changelog? (skip with label no-changelog)
[x] formatted title correctly? (take a look at the CONTRIBUTING and styleguide for details)

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

Coverage data is based on head (baee3e5) compared to base (cf77ade).
Patch coverage: 21.87% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #54   +/-   ##
=======================================
  Coverage   62.99%   62.99%
=======================================
  Files          42       42
  Lines         635      635
  Branches       22       22
=======================================
  Hits          400      400
  Misses        230      230
  Partials        5        5

Impacted Files
Coverage Δ

...dentityhub/cli/AddVerifiableCredentialCommand.java
100.00% <ø> (ø)

.../org/eclipse/edc/identityhub/cli/CliException.java
100.00% <ø> (ø)

...edc/identityhub/cli/GetSelfDescriptionCommand.java
80.00% <ø> (ø)

...rg/eclipse/edc/identityhub/cli/IdentityHubCli.java
6.66% <ø> (ø)

...ntityhub/cli/ListVerifiableCredentialsCommand.java
75.00% <ø> (ø)

...se/edc/identityhub/cli/SelfDescriptionCommand.java
100.00% <ø> (ø)

.../identityhub/cli/VerifiableCredentialsCommand.java
100.00% <ø> (ø)

.../eclipse/edc/identityhub/IdentityHubExtension.java
0.00% <0.00%> (ø)

...entityhub/processor/CollectionsQueryProcessor.java
0.00% <0.00%> (ø)

...tyhub/processor/FeatureDetectionReadProcessor.java
0.00% <0.00%> (ø)

... and 32 more

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

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


Feature Request: Expose host capabilities to CEL

We want to allow the user to use Kubwarden's host capabilities while writing CEL expressions.
By doing this we can extend the CEL language with Kubwarden's specific features, while keeping the compatibility with ValidatingAdmissionPolicies.
Acceptance Criteria

[x] #14
[x] #31
[x] #16
[x] #15
[x] ~Add e2e tests~ we decided to not write e2e tests as the libraries can be easily tested with a mockery generated mock
[x] Update documentation: ensure the README explains to end users how to use the host capabilities we expose
[x] Kubewarden docs: mention CEL support, link to this repository for more information about the specific language extensions we have done with this EPIC

Links to https://kubernetes.io/docs/reference/access-authn-authz/validating-admission-policy/
Ported examples from https://kubernetes.io/docs/reference/access-authn-authz/validating-admission-policy/
Ingress policy example
Sigstore policy example

[x] Move the mockery-generated mock in policy-sdk-go and release and consume v0.8.1

Closing as completed, docs are in next.


DA WIP Wicket 6 to Wicket 9

@jonespm thanks for finding that wicket1.5 lib around tree. I just imported that code here.
The only file I really can't figure out is
delegatedaccess/tool/src/java/org/sakaiproject/delegatedaccess/tool/pages/EditablePanelListInherited.java

Did you already try to just import this as a dependency or feel it was better just to have it as local code? It does bring in a lot of code issue being local to here.
<!-- https://mvnrepository.com/artifact/org.wicketstuff/wicket15-tree -->
<dependency>
    <groupId>org.wicketstuff</groupId>
    <artifactId>wicket15-tree</artifactId>
    <version>9.0.0</version>
</dependency>

Did you already try to just import this as a dependency

The dependency does not work. The code needs further modifications.


Allow linking to Bibliography Elements with #link(<citation>)

Description
Bibliography Elements cannot be referenced via #link(<citation>), only labels.
My suggestion is that link links to Bibliography Elements similar to ref and cite but with custom text.
Use Case
Link to a Bibliography Elements with custom text.
#link(<citation>)[Some content]

Seems like a common usecase.
Currently, one has to use a csl file that only displays the supplement to active the same result.
#let link_to_bibliography_element(key, text) = {
  cite(key, supplement: text, style: "only-supplement.csl")
}

<citation>
  <layout>
    <text variable="locator"/>
  </layout>
</citation>

It seems to me like what you want is really https://github.com/typst/typst/issues/1139

It would be possible to archive what I want easier, yes. But regardless as a new user I would still expect that it is possible to link to every label including bib elements.

I agree with @Enivex! In my case, I want to create custom symbols that link to bibliography entries. I also think there are lots of other use cases for linking bibliography entries.
@Enivex , what is the exact csl file you are using for your workaround?

@leonmartin I use it in this repo https://github.com/timon-schelling/uni-phi111-essay-2024-02-15/tree/main/src hit me up if you need help getting it to work :)

@timon-schelling Thank you very much, works great!


Qwen RM阶段报错

Qwen 调RM的时候报了这个错，用的是最新的git仓库代码
RuntimeError: Expected to have finished reduction in the prior iteration before starting a new one. This error indicates that your module has parameters that were not used in producing loss. You can enable unused parameter detection by passing the keyword argument **find_unused_parameters=True to torch.nn.parallel.DistributedDataParallel**, and by
making sure all forward function outputs participate in calculating loss.
训练脚本
accelerate launch src/train_bash.py
--stage rm
--template chatml
--model_name_or_path /media/asus/DATA/pc/LLamaModel/Qwen-7b
--lora_target c_attn
--do_train
--dataset comparison_gpt4_zh
--finetuning_type lora
--resume_lora_training False
--checkpoint_dir Q_oaast/sft3
--output_dir Q_oaast/rm
--per_device_train_batch_size 1
--per_device_eval_batch_size 1
--gradient_accumulation_steps 8
--lr_scheduler_type cosine
--logging_steps 10
--save_steps 100
--learning_rate 2e-5
--max_source_length 1024
--max_target_length 256
--logging_steps 10
--eval_steps 100
--num_train_epochs 1
--dev_ratio 0.05
--evaluation_strategy steps
--load_best_model_at_end
--plot_loss
--fp16 \
报错信息
A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions.
Human: 什么是三原色？
Assistant: 红色、黄色和绿色。<|endoftext|><|endoftext|>
Loading cached split indices for dataset at /home/asus/.cache/huggingface/datasets/json/default-11fc3567e4deecd8/0.0.0/8bb11242116d547c741b2e8a1f18598ffdd40a1d4f2a2872c7a28b697434bc96/cache-8d4883ef995a1385.arrow and /home/asus/.cache/huggingface/datasets/json/default-11fc3567e4deecd8/0.0.0/8bb11242116d547c741b2e8a1f18598ffdd40a1d4f2a2872c7a28b697434bc96/cache-56d85a7c85453c7b.arrow
[INFO|trainer.py:1681] 2023-08-07 20:21:35,396 >> ***** Running training *****
[INFO|trainer.py:1682] 2023-08-07 20:21:35,397 >>   Num examples = 34,618
[INFO|trainer.py:1683] 2023-08-07 20:21:35,397 >>   Num Epochs = 1
[INFO|trainer.py:1684] 2023-08-07 20:21:35,397 >>   Instantaneous batch size per device = 1
[INFO|trainer.py:1687] 2023-08-07 20:21:35,397 >>   Total train batch size (w. parallel, distributed & accumulation) = 32
[INFO|trainer.py:1688] 2023-08-07 20:21:35,397 >>   Gradient Accumulation steps = 8
[INFO|trainer.py:1689] 2023-08-07 20:21:35,397 >>   Total optimization steps = 1,081
[INFO|trainer.py:1690] 2023-08-07 20:21:35,400 >>   Number of trainable parameters = 4,198,401
0%|                                                                                | 0/1081 [00:00<?, ?it/s]Traceback (most recent call last):
File "/media/asus/DATA/pc/finetune/LLaMA-Efficient-Tuning-main/src/train_bash.py", line 14, in
main()
File "/media/asus/DATA/pc/finetune/LLaMA-Efficient-Tuning-main/src/train_bash.py", line 5, in main
run_exp()
File "/media/asus/DATA/pc/finetune/LLaMA-Efficient-Tuning-main/src/llmtuner/tuner/tune.py", line 23, in run_exp
run_rm(model_args, data_args, training_args, finetuning_args, callbacks)
File "/media/asus/DATA/pc/finetune/LLaMA-Efficient-Tuning-main/src/llmtuner/tuner/rm/workflow.py", line 47, in run_rm
train_result = trainer.train()
File "/home/asus/anaconda3/envs/chatglm/lib/python3.10/site-packages/transformers-4.32.0.dev0-py3.10.egg/transformers/trainer.py", line 1531, in train
return inner_training_loop(
File "/home/asus/anaconda3/envs/chatglm/lib/python3.10/site-packages/transformers-4.32.0.dev0-py3.10.egg/transformers/trainer.py", line 1804, in _inner_training_loop
tr_loss_step = self.training_step(model, inputs)
Traceback (most recent call last):
File "/home/asus/anaconda3/envs/chatglm/lib/python3.10/site-packages/transformers-4.32.0.dev0-py3.10.egg/transformers/trainer.py", line 2646, in training_step
File "/media/asus/DATA/pc/finetune/LLaMA-Efficient-Tuning-main/src/train_bash.py", line 14, in
main()
File "/media/asus/DATA/pc/finetune/LLaMA-Efficient-Tuning-main/src/train_bash.py", line 5, in main
run_exp()
File "/media/asus/DATA/pc/finetune/LLaMA-Efficient-Tuning-main/src/llmtuner/tuner/tune.py", line 23, in run_exp
run_rm(model_args, data_args, training_args, finetuning_args, callbacks)
File "/media/asus/DATA/pc/finetune/LLaMA-Efficient-Tuning-main/src/llmtuner/tuner/rm/workflow.py", line 47, in run_rm
train_result = trainer.train()
File "/home/asus/anaconda3/envs/chatglm/lib/python3.10/site-packages/transformers-4.32.0.dev0-py3.10.egg/transformers/trainer.py", line 1531, in train
loss = self.compute_loss(model, inputs)
File "/media/asus/DATA/pc/finetune/LLaMA-Efficient-Tuning-main/src/llmtuner/tuner/rm/trainer.py", line 44, in compute_loss
return inner_training_loop(
File "/home/asus/anaconda3/envs/chatglm/lib/python3.10/site-packages/transformers-4.32.0.dev0-py3.10.egg/transformers/trainer.py", line 1804, in _inner_training_loop
_, _, values = model(**inputs, output_hidden_states=True, return_dict=True)
File "/home/asus/anaconda3/envs/chatglm/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1190, in _call_impl
tr_loss_step = self.training_step(model, inputs)
File "/home/asus/anaconda3/envs/chatglm/lib/python3.10/site-packages/transformers-4.32.0.dev0-py3.10.egg/transformers/trainer.py", line 2646, in training_step
loss = self.compute_loss(model, inputs)
File "/media/asus/DATA/pc/finetune/LLaMA-Efficient-Tuning-main/src/llmtuner/tuner/rm/trainer.py", line 44, in compute_loss
_, _, values = model(**inputs, output_hidden_states=True, return_dict=True)
File "/home/asus/anaconda3/envs/chatglm/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1190, in _call_impl
return forward_call(*input, **kwargs)
File "/home/asus/anaconda3/envs/chatglm/lib/python3.10/site-packages/torch/nn/parallel/distributed.py", line 1026, in forward
return forward_call(*input, **kwargs)
File "/home/asus/anaconda3/envs/chatglm/lib/python3.10/site-packages/torch/nn/parallel/distributed.py", line 1026, in forward
if torch.is_grad_enabled() and self.reducer._rebuild_buckets():
RuntimeError: Expected to have finished reduction in the prior iteration before starting a new one. This error indicates that your module has parameters that were not used in producing loss. You can enable unused parameter detection by passing the keyword argument **find_unused_parameters=True to torch.nn.parallel.DistributedDataParallel**, and by
making sure all forward function outputs participate in calculating loss.
If you already have done the above, then the distributed data parallel module wasn't able to locate the output tensors in the return value of your module's forward function. Please include the loss function and the structure of the return value of forward of your module when reporting this issue (e.g. list, dict, iterable).
Parameter indices which did not receive grad for rank 1: 62 63
In addition, you can set the environment variable TORCH_DISTRIBUTED_DEBUG to either INFO or DETAIL to print out information about which particular parameters did not receive gradient on this rank as part of this error
if torch.is_grad_enabled() and self.reducer._rebuild_buckets():
RuntimeError: Expected to have finished reduction in the prior iteration before starting a new one. This error indicates that your module has parameters that were not used in producing loss. You can enable unused parameter detection by passing the keyword argument find_unused_parameters=True to torch.nn.parallel.DistributedDataParallel, and by
making sure all forward function outputs participate in calculating loss.
If you already have done the above, then the distributed data parallel module wasn't able to locate the output tensors in the return value of your module's forward function. Please include the loss function and the structure of the return value of forward of your module when reporting this issue (e.g. list, dict, iterable).
Parameter indices which did not receive grad for rank 3: 62 63
In addition, you can set the environment variable TORCH_DISTRIBUTED_DEBUG to either INFO or DETAIL to print out information about which particular parameters did not receive gradient on this rank as part of this error

Qwen 代码内部问题

https://github.com/hiyouga/LLaMA-Efficient-Tuning/issues/413


Crop Image is not working after update to v0.12.1

No anchor display for crop image

Hi @davinyoeun
Could you please provide more informations ?

version of Laravel
version of Nova
logs from your browser's console

I use

Laravel 10
Nova 4
Chrome browser

Are you able to provide some logs from your browser's console?
Just a screenshot is not really helpful to determine the cause of this potential issue

@bracketsdigital in your logs, there seems to be an axios request failing with code 500, can you check your network tab / application logs and relay any errors you might find there


Enable CPLEX v12.7.1

Nothing has changed in cpxconst.h except of course CPX_VERSION and CPX_VERSION_MODIFICATION and adding the parameters:
CPXPARAM_H = 1
CPXPARAM_Sifting_Simplex = 1158
CPXPUBLICPARAMS_H = 1
CPX_PARAM_SIFTSIM = 1158

Did you account for the manual changes in full_defines_1271.jl? What's the diff between full_defines_1271.jl and full_defines_127.jl?

I did the manual changes needed (replace Cint by Cchar and remove Cint for floats). The diff is as follows
1c1
< # This list was obtained through AWK with Cplex 12.7 (and then pared down).
---
> # This list was obtained through AWK with Cplex 12.7.1 (and then pared down).
5c5
< const CPX_VERSION = convert(Cint,12070000)
---
> const CPX_VERSION = convert(Cint,12070100)
8c8
< const CPX_VERSION_MODIFICATION = convert(Cint,0)
---
> const CPX_VERSION_MODIFICATION = convert(Cint,1)
174,175d173
< #const CPX_BENDERS_ANNOTATION = convert(Cint,"cpxBendersPartition")
< const CPX_BENDERS_MASTERVALUE = convert(Cint,0)
405a404,405
> #const CPX_BENDERS_ANNOTATION = convert(Cint,"cpxBendersPartition")
> const CPX_BENDERS_MASTERVALUE = convert(Cint,0)
830a831
> const CPXPARAM_H = convert(Cint,1)
976a978
> const CPXPARAM_Sifting_Simplex = convert(Cint,1158)
1004a1007
> const CPXPUBLICPARAMS_H = convert(Cint,1)
1067a1071
> const CPX_PARAM_SIFTSIM = convert(Cint,1158)

Looks good, I think the _H constants like CPXPARAM_H and CPXPUBLICPARAMS_H can be excluded since they're just header guards.

There's also https://github.com/JuliaOpt/CPLEX.jl/issues/122 if you're feeling generous, but up to you.


Move the Java package of embulk-guess-csv_all_strings to org.embulk.guess.csv_all_strings

From Java 11, different JAR files must consist of different Java packages to go with Modules.
embulk-guess-csv_all_strings is a different JAR from embulk-guess-csv. Then, it has to consist of a different Java package.

Thanks!


Add ability to use service account instead of service key

Need to do gcloud auth application-default login before deploy

@cppforlife you are right. Fixed it.


Get Style by name and type

https://forum.dynamobim.com/t/camber-feedback-thread/68942/28?u=mzjensen

Hi Zachri,
Im just making some plans for a codeset implementation and want to see if this item will allow for specifying Featurelinestyle, and CodeStyle by string when implemented?

Sounds good, i'm excited to have this capability.
In terms of placement, no strong leaning, but if its just for Codesets, maybe Civil3D>Styles>CodeSetStyle or just within Styles for something more broad.

Not going to have time to implement this.


Airtap\Select not working

Overview
Airtap gesture is not getting fired
Expected Behavior
Airtap gesture should get fired on press of Space or Enter in emulator
Actual Behavior
Airtap gesture is not getting fired on press of Space or Enter in emulator
Steps to reproduce
Create a new project.,
Setup profiles from scratch. Create Action profile and add an action called Select with Digital Axis. Create Grip action with 6 DoF
Create Controller profile and select Hololens.
Assign the Select action to Air tap, Assign None to Spatial pointer, Grip action to Spatial Grip
Create a Cube and add a Cube controller. Add a simple function OnTap to handle tap event.
Add Pointer Click Handler script to the Cube and hook the OnTap function to the select Action.
In the MRTKConfigurationProfile set the InputSystem type to MixedRealityInputSystem
Run in Unity or Emulator. The Air tap gesture never gets triggered.
Unity Editor Version
2018.3.3f1 - 5f1
Mixed Reality Toolkit Release Version
mrtk_development

Is this related to #3442 ?

Any help on this please?

Strange! I haven't tested in the emulator. @davidkline-ms, do you have any insight into this?

It's not working in the Unity Editor Game view either. I thought Point Click Handler is platform independent generic event. That is what I see after looking at the code.

@krishnan-unni - We chatted about #3428 and #3442 at our weekly shiproom. The main issue is getting a repro locally.
Are you on the slack channel? We'd love to start a conversation: https://holodevelopers.slack.com/messages/C2H4HT858

Hi I am in the channel now. We can talk

Strange! I haven't tested in the emulator. @davidkline-ms, do you have any insight into this?

I don't at this time. We should definitely investigate asap.

Possibly related to #3456. We will continue to investigate and advise in both issues.

I'm having the same issue on unity 2018.3.6f1

Which emulator versions are people using?

The one I am using is 10.0.17134.80. Thats the latest release build

Hmm, I'm not able to repro this in either the 10.0.17134.80 emulator or the 10.0.17763.253 emulator. It might be worth trying the 17763 emulator, which can be found at https://docs.microsoft.com/en-us/windows/mixed-reality/hololens-emulator-archive

I am able to repro it using Simulate in Editor inside the Unity Editor, as additionally reported by #3456:

@keveleigh Im gonna try in the latest build of emulator. Will update you ASAP. In the mean time could you please share a screen of your Hololens controller and action profile mapping too? Just want to make sure it is not a config issue

I just tried this with Unity 2018.3.6f1, Hololens emulator 10.0.17763.134. Updated the mrtk_development branch. Still the Air Tap is not working. I have committed it to my git repository here: https://github.com/krishnan-unni/MRTK-101 if you would like to check it.

@krishnan-unni Can you check under Window -> Package Manager and see which version of the Windows Mixed Reality package you have is please? I believe there was an issue with 1.0.7 that should be fixed in 1.0.8.

Also, my profile mappings are:

@keveleigh  Mine is 1.0.8 too. The Solution you downloaded from my git. Is the Tap working when tried in your system? Im running Unity 2018.3.6f1 now. and Upgraded the emulator too. The mapping looks fine. (Tap is a Digital action and a 6DoF action for the other two)

@davidkline-ms @keveleigh Finally, I figured it out. Not sure if this is a bug or a config requirement. In the Input System Profile I had set Controller Visualization profile as None since it is for hololens, I don't have a controller to render.  Although this was why Air Tap was not triggering. Once I placed the Default or a newly created Controller Visualization profile it started working. This one really sent me on a goose chase with days of code debug and trial and error attempts.

So the question is, is this a bug (sounds to me that way) or a configuration requirement. If it is a config requirement it would be better to clarify to the user in the documentation and why. I'm still combing through the code to see what is the connection between this profile and Input Click. In the mean time please let me know if I need to raise a new issue in case this is a bug.

We believe the v2 beta 2 release has addressed this issue when using remoting and holographic simulation.
@krishnan-unni, if you believe you have found an issue please feel free to open a new bug. We are more than happy to help investigate and review.
Thanks!

If you are still seeing this issue, please reactivate and we will investigate further.
Thanks!

Hi @davidkline-ms  I tried with both mrtk_development and the latest Beta 2.0.0 v2 unity package from here: https://github.com/Microsoft/MixedRealityToolkit-Unity/releases/tag/v2.0.0-Beta2
I was able to reproduce it in both. I have the project uploaded here: https://github.com/krishnan-unni/MRTK-101
If you simply set the Visual Controller Profile to None in the Input System Profile you can reproduce it. Once you set that to the Default profile or a new one it will work fine again.

So you want me to open a new bug or reactivate this?

Please open a new bug with the specific repro steps. Thanks!

I have the same setup and same issue, however I attempted testing it inside Unity itself and on a real HoloLens (not emulator). It actually works fine when testing in the Unity editor, the cube gets selected. When it is built on HoloLens however, it does not respond to any tapping gestures. I have a similar setup as OP. I followed the guide for this setup found here. Did I miss something?

Hi Avalin,
I could test it only on Unity editor and emulator. It worked on both. I don't have a real hololens to try it on. Can you try on emulator and see if the same setup works there?

Just tested it on an emulator just now, and it works fine for me too - cube does get selected.
So the problem is seemingly only with an actual HoloLens device.


[helm] configurable tolerations

The daemonset should have configurable tolerations, in addition to being runnable on master nodes.

Thanks for the quick turnaround @redhatrises! When can we expect release 0.9.904 to be available in the public helm repo?

Unfortunately, no. The next release will be the 1.x series because of being in the midst of adding new functionality right now that isn't fully working.


[Documentation] add documentation and sample code for Persisted Queries

See https://github.com/apollographql/apollo-android/pull/1768.
We're missing some documentation to explain how to use persisted queries. It would be nice to add that.

Closed by https://github.com/apollographql/apollo-android/issues/1773


$orderby needs to be all lowercase

SAPs OData service does not accept an $orderBy query string key. It needs to be all lowercase in order to work.
Workaround:
type HttpClient with
    member http.Get<'T>(path, queryContext: ODataQueryContext<'T>) = task {
        let query = queryContext.ToQuery()
        let query = query.Replace("$orderBy", "$orderby")
        let! json = http.GetStringAsync(path + "?" + query)
        return fromJson<ODataResult<'T>> json
    }

Thanks for reporting. It is fixed in 2.1.5.


Hyprland Crashes When Connecting a Second Monitor

Regression?
Yes
System Info and Version
Hyprland, built from branch  at commit 9a09eac79b85c846e3a865a9078a3f8ff65a9259  (props: bump version to 0.42.0).
Date: Wed Aug 7 19:17:10 2024
Tag: v0.42.0, commits: 5069
flags: (if any)
System Information:
System name: Linux
Node name: arch
Release: 6.10.6-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Mon, 19 Aug 2024 17:02:39 +0000
GPU information:
0000:00:02.0 VGA compatible controller [0300]: Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] [8086:9a49] (rev 03) (prog-if 00 [VGA controller])
os-release: NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo
plugins:
======Config-Start======
Config File: /home/sujan/.config/hypr/hyprland.conf: Read Succeeded
source = config/autostart.conf
source = config/monitor.conf
source = config/env.conf
source = config/settings.conf
source = config/nav_keybinds.conf
source = config/windowrule.conf
source = config/custom_keybinds.conf
See https://wiki.hyprland.org/Configuring/Keywords/ for more
Source a file (multi-file configs)
source = ~/.config/hypr/myColors.conf
Config File: /home/sujan/.config/hypr/config/autostart.conf: Read Succeeded
Execute your favorite apps and services at launch
exec-once = wl-clipboard-history -t
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec-once = sleep 5 && blueman-applet
exec-once = nm-applet --indicator
exec-once = udiskie &
exec-once = waybar
exec-once = hypridle
exec-once = systemctl --user restart pipewire
exec-once = copyq --start-server
exec-once = swww-daemon --format xrgb
exec-once = dbus-update-activation-environment --all
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once = waypaper-engine daemon
Notification daemon
exec-once = swaync
Theme
exec-once = gsettings set org.gnome.desktop.interface color-scheme "prefer-dark"
exec-once = gsettings set org.gtk.Settings.FileChooser startup-mode cwd
exec-once = gsettings set org.gtk.gtk4.Settings.FileChooser startup-mode cwd
cursor and icon themes
exec-once = gsettings set org.gnome.desktop.interface gtk-theme "Sweet"
exec-once = gsettings set org.gnome.desktop.wm.preferences theme "Sweet"
exec-once = gsettings set org.gnome.desktop.interface icon-theme "BeautyLine"
Config File: /home/sujan/.config/hypr/config/monitor.conf: Read Succeeded
Monitor
See https://wiki.hyprland.org/Configuring/Monitors/
monitor=,preferred,auto,auto
Output
Configure your Display resolution, offset, scale and Monitors here, use hyprctl monitors to get the info.
#monitor=HDMI-A-1,1920x1080@60,0x0,1
#workspace=HDMI-A-1,1
#monitor=HDMI-A-2,1920x1080@60,1920x0,1
#workspace=HDMI-A-2,2
Primary Monitor
monitor=eDP-1,1920x1080@60,0x0,1
monitor=,preferred,auto,1
secondary monitor
monitor=HDMI-A-1,1920x1080@60,-1920x0,1
monitor=HDMI-A-1,highres,-1920x0,1
monitor=HDMI-A-1,1920x1080@60,1920x0,1
monitor=,preferred,auto,1
monitor=,preferred,auto,1,mirror,eDP-1
monitor=HDMI-A-1,1440x900@60,-1440x0,1
monitor=HDMI-A-1,1440x900@60,1920x0,1
monitor=HDMI-A-1,1366x788@60,1920x0,1
#monitor=eDP-1,transform,0
#monitor=eDP-1,addreserved,10,10,10,10
#workspace=5,HDMI-A-1
High Refresh Rate
#monitor=,highrr,auto,1
High Resolution
#monitor=,highres,auto,1
to disable a monitor
#monitor=name,disable
Mirror
#monitor=DP-3,1920x1080@60,0x0,1,mirror,DP-2
#monitor=,preferred,auto,1,mirror,eDP-1
Config File: /home/sujan/.config/hypr/config/env.conf: Read Succeeded
Environment Variables
Toolkit Backend Variables
env = GDK_BACKEND,wayland,*
env = GDK_SCALE,1
env = QT_QPA_PLATFORM,wayland
env = QT_QPA_PLATFORM,wayland
env = SDL_VIDEODRIVER=wayland
env = CLUTTER_BACKEND,wayland
XDG Specifications
env = XDG_CURRENT_DESKTOP,Hyprland
env = XDG_SESSION_TYPE,wayland
env = XDG_SESSION_DESKTOP,Hyprland
Qt Variables
env = QT_AUTO_SCREEN_SCALE_FACTOR,1
env = QT_QPA_PLATFORM,wayland
env = QT_WAYLAND_DISABLE_WINDOWDECORATION,0
env = QT_QPA_PLATFORMTHEME=qt5ct
env = QT_QPA_PLATFORMTHEME,qt6ct
Theming Related Variables
env = GTK_THEME=Sweet:dark
#env = XCURSOR_THEME,"Capitaine Cursors"
env = XCURSOR_SIZE,24
firefox
env = MOZ_ENABLE_WAYLAND,1
Config File: /home/sujan/.config/hypr/config/settings.conf: Read Succeeded
General
general {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
gaps_in = 3
gaps_out = 5
border_size = 1
col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
col.inactive_border = rgba(595959aa)
layout = dwindle
allow_tearing = true
resize_on_border = true
#layout = master

}
Decoration
decoration {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
rounding = 8
shadow_offset = 2 2
col.shadow = rgba(1a1a1aee)

blur {
  contrast = 1
  xray = true
  ignore_opacity = true
  popups = false
  popups_ignorealpha = 0.1
}

}
Animation
animations {
enabled = yes
# Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more

bezier = myBezier, 0.05, 0.9, 0.1, 1.05

animation = windows, 1, 3, myBezier
animation = windowsOut, 1, 3, default, popin 80%
animation = border, 1, 3, default
animation = borderangle, 1, 3, default
animation = fade, 1, 3, default
animation = workspaces, 1, 3, default

}
For all categories, see https://wiki.hyprland.org/Configuring/Variables/
input {
touchpad {
natural_scroll = true
drag_lock = true
}
special_fallthrough = true
sensitivity = 0.3 # -1.0 - 1.0, 0 means no modification.
}
gestures {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
workspace_swipe = true
workspace_swipe_fingers = 3
workspace_swipe_forever=true
}
Misc
misc {
disable_hyprland_logo = true
disable_splash_rendering = true
mouse_move_enables_dpms = true
key_press_enables_dpms = true
enable_swallow = true
swallow_regex = ^(kitty)$
allow_session_lock_restore = true
initial_workspace_tracking = false
}
Layouts
dwindle {
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
no_gaps_when_only = false
pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
preserve_split = yes # you probably want this
}
master {
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
# new_is_master = true
}
cursor section for Hyprland v0.41.0 or newer
cursor {
enable_hyprcursor = true
}
Config File: /home/sujan/.config/hypr/config/nav_keybinds.conf: Read Succeeded
Move
bind = SUPER SHIFT, H, movewindow, l
bind = SUPER SHIFT, L, movewindow, r
bind = SUPER SHIFT, K, movewindow, u
bind = SUPER SHIFT, J, movewindow, d
Move focus
bind = SUPER, H, movefocus, l
bind = SUPER, L, movefocus, r
bind = SUPER, K, movefocus, u
bind = SUPER, J, movefocus, d
Resize windows
binde = SUPER, left, resizeactive, -20 0
binde = SUPER, right, resizeactive, 20 0
binde = SUPER, up, resizeactive, 0 -20
binde = SUPER, down, resizeactive, 0 20
Modes
$submap_resize = ↔ resize window
bind = SUPER, R, submap, $submap_resize
submap = $submap_resize
binde = , h, resizeactive, -15 0
binde = , l, resizeactive, 15 0
binde = , k, resizeactive, 0 -15
binde = , j, resizeactive, 0 15
bind  = , escape, submap, reset
bind  = , return, submap, reset
submap = reset
Switch workspaces with mainMod + [0-9]
bind = SUPER, 1, workspace, 1
bind = SUPER, 2, workspace, 2
bind = SUPER, 3, workspace, 3
bind = SUPER, 4, workspace, 4
bind = SUPER, 5, workspace, 5
bind = SUPER, 6, workspace, 6
bind = SUPER, 7, workspace, 7
bind = SUPER, 8, workspace, 8
bind = SUPER, 9, workspace, 9
bind = SUPER, 0, workspace, 10
Move active window to a workspace with mainMod + SHIFT + [0-9]
bind = SUPER SHIFT, 1, movetoworkspace, 1
bind = SUPER SHIFT, 2, movetoworkspace, 2
bind = SUPER SHIFT, 3, movetoworkspace, 3
bind = SUPER SHIFT, 4, movetoworkspace, 4
bind = SUPER SHIFT, 5, movetoworkspace, 5
bind = SUPER SHIFT, 6, movetoworkspace, 6
bind = SUPER SHIFT, 7, movetoworkspace, 7
bind = SUPER SHIFT, 8, movetoworkspace, 8
bind = SUPER SHIFT, 9, movetoworkspace, 9
bind = SUPER SHIFT, 0, movetoworkspace, 10
Special workspace
bind = SUPER CTRL, S, togglespecialworkspace, magic
bind = SUPER SHIFT, S, movetoworkspace, special:magic
Scroll through existing workspaces with mainMod + scroll
bind = SUPER, mouse_down, workspace, e+1
bind = SUPER, mouse_up, workspace, e-1
Move/resize windows with mainMod + LMB/RMB and dragging
bindm = SUPER, mouse:272, movewindow
bindm = SUPER, mouse:273, resizewindow
Config File: /home/sujan/.config/hypr/config/windowrule.conf: Read Succeeded
Example windowrule v1
windowrule = float, ^(kitty)$
Example windowrule v2
windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
windowrule = fullscreen, wlogout
windowrule = fullscreen, title:wlogout
windowrule = fullscreen, class:^(nwg-drawer)$
Dialogs
windowrule = float,title:^(Open File)(.)$
windowrule = float,title:^(Select a File)(.)$
windowrule = float,title:^(Choose wallpaper)(.)$
windowrule = float,title:^(Open Folder)(.)$
windowrule = float,title:^(Save As)(.)$
windowrule = float,title:^(Library)(.)$
windowrule = float,title:^(File Upload)(.*)$
windowrulev2 = float,class:^(file_progress)$
windowrulev2 = float,class:^(confirm)$
windowrulev2 = float,class:^(dialog)$
windowrulev2 = float,class:^(download)$
windowrulev2 = float,class:^(error)$
windowrulev2 = float,title:^(Volume Control)$
windowrulev2 = float,title:^(Choose Files)$
windowrulev2 = float,title:^(Save As)$
windowrulev2 = float,title:^(Confirm to replace files)$
windowrulev2 = float,title:^(File Operation Progress)$
windowrulev2 = float,title:^(DevTools)$
windowrulev2 = float,title:^(Open File)$
windowrulev2 = float,title:^(branchdialog)$
windowrulev2 = float,title:^(Media viewer)$
windowrulev2 = float,title:^(Open)$
windowrule = center, title:^(Open File)(.)$
windowrule = center, title:^(Select a File)(.)$
windowrule = center, title:^(Choose wallpaper)(.)$
windowrule = center, title:^(Open Folder)(.)$
windowrule = center, title:^(Save As)(.)$
windowrule = center, title:^(Library)(.)$
windowrule = center, title:^(File Upload)(.*)$
Position
windowrulev2 = float,class:^(org.kde.polkit-kde-authentication-agent-1)$
windowrulev2 = float,class:^(pavucontrol)$
windowrulev2 = float,class:^(qt5ct)$
windowrulev2 = float,class:^(nwg-look)$
windowrulev2 = float,class:^(file-roller)$
windowrulev2 = float,class:^(rofi)$
windowrulev2 = float,class:^(nwg-drawer)$
windowrulev2 = float,class:^(copyq)$
windowrulev2 = float,class:(copyq)
windowrulev2 = float,class:^(notification)$
windowrulev2 = float,class:^(splash)$
windowrulev2 = float,class:^(confirmreset)$
windowrulev2 = float,class:^(pavucontrol)$
windowrulev2 = float,class:^(pavucontrol-qt)$
windowrulev2 = float,class:^(blueman-manager)$
windowrulev2 = float,class:^(nm-applet)$
windowrulev2 = float,class:^(nm-connection-editor)$
windowrulev2 = float,title:^(wlogout)$
windowrulev2 = float,title:^(Waypaper Engine)
windowrulev2 = animation none,class:^(Rofi)$
windowrule = move 75 44%, title:^(Volume Control)$
Workspace
windowrulev2 = workspace 1, class:^(Brave-browser)$
windowrulev2 = workspace 2, class:^(discord)$
windowrulev2 = workspace 3, class:^(org.telegram.desktop)$
windowrulev2 = workspace 4, class:^(Code)$
windowrulev2 = workspace 4, class:^(code-url-handler)$
windowrulev2 = workspace 5, class:^(Spotify)$
Opacity
windowrulev2 = opacity 0.90 0.90,class:^(Brave-browser)$
windowrulev2 = opacity 0.90 0.90,class:^(steamwebhelper)$
windowrulev2 = opacity 0.90 0.90,class:^(thunar)$
windowrulev2 = opacity 0.90 0.90,class:^(file-roller)$
windowrulev2 = opacity 0.90 0.90,class:^(nwg-look)$
windowrulev2 = opacity 0.90 0.90,class:^(qt6ct)$
windowrulev2 = opacity 0.90 0.90,class:^(discord)$ #Discord-Electron
windowrulev2 = opacity 0.90 0.90,class:^(WebCord)$ #WebCord-Electron
#windowrulev2 = opacity 0.90 0.90,class:^(org.telegram.desktop)$
#windowrulev2 = opacity 0.90 0.90,class:^(firefox)$
#windowrulev2 = opacity 0.90 0.90,class:^(microsoft-edge-stable)$
#windowrulev2 = opacity 0.90 0.90,class:^(opera)$
#windowrulev2 = opacity 0.90 0.90,class:^(vivaldi-stable)$
windowrulev2 = opacity 0.90 0.90,class:^(nemo)$
windowrulev2 = opacity 0.90 0.90,class:^(Steam)$
windowrulev2 = opacity 0.90 0.90,class:^(Spotify)$
windowrulev2 = opacity 0.90 0.90,class:^(Code)$
windowrulev2 = opacity 0.90 0.90,class:^(kitty)$
windowrulev2 = opacity 0.90 0.90,class:^(wezterm)$
windowrulev2 = opacity 0.90 0.90,class:^(org.kde.dolphin)$
windowrulev2 = opacity 0.90 0.90,class:^(org.kde.ark)$
windowrulev2 = opacity 0.90 0.90,class:^(nwg-look)$
windowrulev2 = opacity 0.90 0.90,class:^(qt6ct)$
windowrulev2 = opacity 0.90 0.90,class:^(pavucontrol)$
windowrulev2 = opacity 0.90 0.90,class:^(blueman-manager)$
windowrulev2 = opacity 0.90 0.90,class:^(nm-applet)$
windowrulev2 = opacity 0.90 0.90,class:^(nm-connection-editor)$
windowrulev2 = opacity 0.90 0.90,class:^(org.kde.polkit-kde-authentication-agent-1)$
windowrulev2 = opacity 0.90 0.90,class:^(org.gnome.polkit-gnome-authentication-agent-1)$
Size
windowrulev2 = size 800 600,class:^(download)$
windowrulev2 = size 800 600,title:^(Open File)$
windowrulev2 = size 800 600,title:^(Save File)$
windowrulev2 = size 800 600,title:^(Volume Control)$
windowrulev2 = idleinhibit focus,class:^(mpv)$
windowrulev2 = idleinhibit fullscreen,class:^(Brave-browser)$
windowrulev2 = idleinhibit fullscreen,class:^(firefox-developer-edition)$
windowrulev2 = idleinhibit fullscreen,class:^(firefox)$
firefox Picture-in-Picture
windowrulev2 = float,class:^(firefox)$,title:^(Picture-in-Picture)$
windowrulev2 = pin,class:^(firefox)$,title:^(Picture-in-Picture)$
windowrulev2 = float,class:^(firefox-developer-edition)$,title:^(Picture-in-Picture)$
windowrulev2 = pin,class:^(firefox-developer-edition)$,title:^(Picture-in-Picture)$
Browser Picture in Picture
windowrulev2 = float, title:^(Picture-in-Picture)$
windowrulev2 = pin, title:^(Picture-in-Picture)$
windowrulev2 = move 69.5% 4%, title:^(Picture-in-Picture)$
firefox figma micro indicator
windowrulev2 = float,class:^(firefox)$,title:^(Firefox — Sharing Indicator)$
Telegram media viewer
windowrulev2 = float,class:^(org.telegram.desktop)$,title:^(Media viewer)$
windowrulev2 = center,class:^(org.telegram.desktop)$,title:^(Media viewer)$
windowrulev2 = monitor 1,class:^(org.telegram.desktop)$,title:^(Media viewer)$
windowrule v2 to avoid idle for fullscreen apps
windowrulev2 = idleinhibit fullscreen, class:^()$
windowrulev2 = idleinhibit fullscreen, title:^()$
windowrulev2 = idleinhibit fullscreen, fullscreen:1
Layer rules
layerrule = blur, gtk-layer-shell
layerrule = ignorezero, gtk-layer-shell
layerrule = ignorezero, waybar
layerrule = ignorezero, overview
layerrule = blur, overview
layerrule = ignorealpha
layerrule = blur,rofi
layerrule = ignorezero,rofi
layerrule = blur,notifications
layerrule = ignorezero,notifications
layerrule = blur,swaync-notification-window
layerrule = ignorezero,swaync-notification-window
layerrule = blur,swaync-control-center
layerrule = ignorezero,swaync-control-center
layerrule = blur,logout_dialog
Tearing
windowrule=immediate,.*.exe
windowrulev2=immediate,class:(steam_app)
Config File: /home/sujan/.config/hypr/config/custom_keybinds.conf: Read Succeeded
See https://wiki.hyprland.org/Configuring/Keywords/ for more
SUPER = SUPER
Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
System Controls
bind = SUPER CTRL, X, exec, systemctl poweroff -i
bind = SUPER CTRL, R, exec, systemctl reboot
bind = SUPER CTRL, E, exec, pkill wleave || wleave
bind = SUPER CTRL, L, exec, hyprlock
Hypr Controls
bind = SUPER CTRL, Q, exit,
bind = SUPER CTRL, up, exec, hyprctl dispatch splitratio -0.1
bind = SUPER CTRL, down, exec, hyprctl dispatch splitratio 0.1
Rotate Screen
bind = SUPER SHIFT, R, exec, hyprctl keyword monitor eDP-1,preferred,auto,1,transform,1
bind = SUPER SHIFT CTRL, R, exec, hyprctl keyword monitor eDP-1,preferred,auto,1,transform,0
Window Management
bind = SUPER, Q, killactive,
bind = SUPER, X, killactive,
bind = SUPER, tab, changegroupactive
bind = SUPER, Tab, bringactivetotop,
bind = SUPER, ., pseudo, # dwindle
bind = SUPER, /, togglesplit, # dwindle
bind = SUPER, M, fullscreen,
bind = SUPER, Space, togglefloating,
bind = SUPER CTRL, Return, layoutmsg, swapwithmaster
Primary Applications
bind = SUPER, F, exec, figma-linux
bind = SUPER, Return, exec, kitty -e fish
bind = SUPER, Return, exec, [float;tile] wezterm start --always-new-process
bind = SUPER, T, exec, telegram-desktop
bind = SUPER , P, exec, nwg-drawer
bind = SUPER, B, exec, firefox-developer-edition
bind = SUPER, E, exec, nemo
bind = SUPER, C, exec, code
bind = SUPER, G, exec, gimp
bind = SUPER, W, exec, libreoffice --writer
bind = SUPER, D, exec, discord
bind = SUPER, Z, exec, zeditor
bind = SUPER, V, exec, viber
bind = SUPER, S, exec, spotify-launcher
Secondary Applications
bind = SUPER SHIFT, Return, exec, [float;tile] wezterm start --always-new-process
bind = SUPER SHIFT, Return, exec, kitty
bind = SUPER SHIFT, B, exec, brave
bind = SUPER SHIFT, E, exec, microsoft-edge-stable
bind = SUPER SHIFT, V, exec, virtualbox
Utility Applications
bind = SUPER CTRL, C, exec, copyq toggle
bind = SUPER CTRL, W, exec, killall -SIGUSR2 waybar
bind = SUPER SHIFT, W, exec, waypaper-engine run
bind = SUPER CTRL SHIFT, P, exec, hyprpicker -a
bind = SUPER CTRL, D, exec, code $HOME/dotfiles/
Trying out Tor
bind = SUPER CTRL, T, exec, torbrowser-launcher
#bind = SUPER, V, exec, vivaldi-stable --proxy-server="socks5://localhost:9050" --host-resolver-rules="MAP * ~NOTFOUND , EXCLUDE localhost"
#bind = SUPER, O, exec, opera --proxy-server="socks5://localhost:9050" --host-resolver-rules="MAP * ~NOTFOUND , EXCLUDE localhost"
Notification
bind = SUPER, N, exec, swaync-client -t
bind = SUPER CTRL, N, exec, swaync-client -rs
bind = SUPER SHIFT, N, exec, swaync-client -R
Screenshot a window
bind = SUPER SHIFT, PRINT, exec, hyprshot -m window --clipboard-only --freeze
bind = SUPER SHIFT CTRL, PRINT, exec, hyprshot -m window --freeze
Screenshot a region
bind = , PRINT, exec, hyprshot -m region --clipboard-only --freeze
bind = CTRL, PRINT, exec, hyprshot -m region --freeze
Screenshot a monitor
bind = SUPER , PRINT, exec, hyprshot -m output --clipboard-only --freeze
bind = SUPER CTRL, PRINT, exec, hyprshot -m output --freeze
Multimedia
bind =, XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 1%+
bind =SUPER, XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 10%+
bind =, XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 1%-
bind =SUPER, XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 10%-
bind =, XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
bind =,XF86AudioMicMute,      exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
bind =, XF86AudioPlay, exec, playerctl play-pause
bind =, XF86AudioPause, exec, playerctl play-pause
bind =, XF86AudioNext, exec, playerctl next
bind =, XF86AudioPrev, exec, playerctl previous
Backlight control
bind = , xf86monbrightnessup, exec, brightnessctl s 1%+
bind = , xf86monbrightnessdown, exec, brightnessctl s 1%-
bind = SUPER, xf86monbrightnessup, exec, brightnessctl s 100%
bind = SUPER, xf86monbrightnessdown, exec, brightnessctl s 1%
bind = SUPER CTRL, xf86monbrightnessup, exec, brightnessctl s 20%+
bind = SUPER CTRL, xf86monbrightnessdown, exec, brightnessctl s 20%-
======Config-End========
Description
I'm experiencing a crash on my Linux system whenever I connect a second monitor while using Hyprland. The crash report displays the message:
'Calm down, it was a misinput! MISINPUT!'
I'm unsure if this is an issue with my setup or a bug within Hyprland. The crash consistently occurs immediately after connecting the second monitor. i can launch hyprland normally after the crash while the second monitor is still connected.
How to reproduce
Start Hyprland on a system with one monitor connected.
Connect a second monitor via HDMI/DisplayPort/etc.
Observe that Hyprland crashes immediately after the second monitor is connected.
Crash reports, logs, images, videos
hyprlandCrashReport726.txt

can you try installing  hyprland-git and aquamarine-git
first you need to uninstall hyprland
like yay -R hyprland aquamarine

can you try installing hyprland-git and aquamarine-git
first you need to uninstall hyprland like yay -R hyprland aquamarine

Offtopic, but better use yay -S hyprland-git, aquamarine-git hyprlang-git hyprcursor-git  hyprutils-git. Or yay -Rns hyprland , because having hyprland-git with the non-git deps can cause extra problems.

I'd rather not open the 20th issue about this, besides it's likely fixed


Localize "Ethereum address or ENS name"

Makes sense to localize this line?

Localize "Ethereum address or ENS name"

in https://github.com/AlphaWallet/alpha-wallet-ios/blob/master/AlphaWallet/UI/AddressTextField.swift#L113

Bump @James-Sangalli


No volume for attachments

Hi,
there is currently no mount point defined in the Dockerfile for the attachments folder but attachments are enabled. This could lead in lost data when Projeqtor stores this in a non-persisted place.
I did a workaround by binding /mnt/attachments to a dedicated volume via compose and set the patch via the "Global Parameters" in Projeqtor.
Do you think it makes sense to add this path as a volume?
It would also be possible to merge /mnt/documents and /mnt/attachments to something like /mnt/storage with subfolders (e.g. /mnt/storage/documents, /mnt/storage/attachments), but this would require some migration.
Thanks

Did and update to create attachment volume :+1:


Add use case to Developer Guide

Update the Developer Guide with more use cases.
Textual user cases for creating user, deleting user, add a tag, search a user.

Codecov Report

Merging #24 (f73538b) into master (6158a44) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #24   +/-   ##
=========================================
  Coverage     72.15%   72.15%
  Complexity      399      399
=========================================
  Files            70       70
  Lines          1232     1232
  Branches        125      125
=========================================
  Hits            889      889
  Misses          311      311
  Partials         32       32

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Create Collab files for reproduce the two steps

Bin, the current readme is very high level and lack of details.  Please create google Collab files so people can run things step by step for both training and inference experiments.

OKOK, I will create a google Collab for reproducing, thanks!


Sprint week 29

Hello @ricardovb! Thanks for submitting the PR.

In the file src/main/python/config.py, following are the PEP8 issues :

Line 4:1: E302 expected 2 blank lines, found 1
Line 5:27: E261 at least two spaces before inline comment
Line 5:28: E262 inline comment should start with '# '
Line 6:22: E261 at least two spaces before inline comment
Line 6:23: E262 inline comment should start with '# '
Line 10:19: E261 at least two spaces before inline comment
Line 10:20: E262 inline comment should start with '# '
Line 11:33: E261 at least two spaces before inline comment
Line 11:34: E262 inline comment should start with '# '
Line 11:121: E501 line too long (135 > 120 characters)
Line 20:17: E127 continuation line over-indented for visual indent

In the file src/main/python/server.py, following are the PEP8 issues :

Line 13:1: E402 module level import not at top of file
Line 14:1: E402 module level import not at top of file
Line 15:1: E402 module level import not at top of file
Line 16:1: E402 module level import not at top of file
Line 17:1: E402 module level import not at top of file
Line 59:1: E265 block comment should start with '# '
Line 61:1: E265 block comment should start with '# '
Line 62:1: E265 block comment should start with '# '
Line 66:1: E265 block comment should start with '# '
Line 70:1: E302 expected 2 blank lines, found 1
Line 97:121: E501 line too long (121 > 120 characters)
Line 103:13: E128 continuation line under-indented for visual indent
Line 104:13: E126 continuation line over-indented for hanging indent
Line 114:13: E128 continuation line under-indented for visual indent
Line 115:13: E126 continuation line over-indented for hanging indent
Line 122:13: E128 continuation line under-indented for visual indent
Line 123:13: E126 continuation line over-indented for hanging indent
Line 129:13: E128 continuation line under-indented for visual indent
Line 130:13: E126 continuation line over-indented for hanging indent
Line 136:13: E128 continuation line under-indented for visual indent
Line 142:13: E128 continuation line under-indented for visual indent
Line 143:13: E126 continuation line over-indented for hanging indent
Line 151:13: E128 continuation line under-indented for visual indent
Line 152:13: E126 continuation line over-indented for hanging indent
Line 160:13: E128 continuation line under-indented for visual indent
Line 161:13: E126 continuation line over-indented for hanging indent
Line 171:13: E128 continuation line under-indented for visual indent
Line 172:13: E126 continuation line over-indented for hanging indent
Line 179:13: E128 continuation line under-indented for visual indent
Line 180:13: E126 continuation line over-indented for hanging indent
Line 189:13: E128 continuation line under-indented for visual indent
Line 190:13: E126 continuation line over-indented for hanging indent
Line 204:13: E128 continuation line under-indented for visual indent
Line 205:13: E126 continuation line over-indented for hanging indent
Line 213:13: E128 continuation line under-indented for visual indent
Line 214:13: E126 continuation line over-indented for hanging indent
Line 229:13: E128 continuation line under-indented for visual indent
Line 235:13: E128 continuation line under-indented for visual indent
Line 236:13: E126 continuation line over-indented for hanging indent
Line 239:1: W293 blank line contains whitespace
Line 285:5: E722 do not use bare except'
Line 288:1: E305 expected 2 blank lines after class or function definition, found 1

In the file src/main/python/utils/dave_endpoint.py, following are the PEP8 issues :

Line 15:1: E265 block comment should start with '# '
Line 46:1: E265 block comment should start with '# '
Line 64:35: E261 at least two spaces before inline comment
Line 88:1: E303 too many blank lines (3)
Line 93:1: E302 expected 2 blank lines, found 3
Line 177:21: E127 continuation line over-indented for visual indent
Line 204:37: E128 continuation line under-indented for visual indent
Line 257:121: E501 line too long (127 > 120 characters)
Line 284:33: E127 continuation line over-indented for visual indent
Line 313:49: E128 continuation line under-indented for visual indent
Line 321:33: E127 continuation line over-indented for visual indent
Line 349:49: E127 continuation line over-indented for visual indent
Line 360:4: E111 indentation is not a multiple of four
Line 361:4: E111 indentation is not a multiple of four
Line 362:8: E111 indentation is not a multiple of four
Line 364:4: E111 indentation is not a multiple of four
Line 365:4: E111 indentation is not a multiple of four
Line 366:8: E111 indentation is not a multiple of four
Line 367:8: E111 indentation is not a multiple of four
Line 368:12: E111 indentation is not a multiple of four
Line 370:4: E111 indentation is not a multiple of four
Line 371:4: E111 indentation is not a multiple of four
Line 372:8: E111 indentation is not a multiple of four
Line 373:8: E111 indentation is not a multiple of four
Line 374:12: E111 indentation is not a multiple of four
Line 376:4: E111 indentation is not a multiple of four
Line 377:4: E111 indentation is not a multiple of four
Line 378:8: E111 indentation is not a multiple of four
Line 380:4: E111 indentation is not a multiple of four
Line 381:4: E111 indentation is not a multiple of four
Line 382:8: E111 indentation is not a multiple of four
Line 383:8: E111 indentation is not a multiple of four
Line 384:12: E111 indentation is not a multiple of four
Line 386:4: E111 indentation is not a multiple of four
Line 387:4: E111 indentation is not a multiple of four
Line 388:8: E111 indentation is not a multiple of four
Line 389:8: E111 indentation is not a multiple of four
Line 390:12: E111 indentation is not a multiple of four
Line 392:4: E111 indentation is not a multiple of four
Line 393:4: E111 indentation is not a multiple of four
Line 394:4: E111 indentation is not a multiple of four
Line 395:4: E111 indentation is not a multiple of four
Line 396:4: E111 indentation is not a multiple of four
Line 397:4: E111 indentation is not a multiple of four
Line 398:4: E111 indentation is not a multiple of four
Line 399:4: E111 indentation is not a multiple of four
Line 400:4: E111 indentation is not a multiple of four
Line 401:4: E111 indentation is not a multiple of four
Line 402:4: E111 indentation is not a multiple of four
Line 403:4: E111 indentation is not a multiple of four
Line 404:4: E111 indentation is not a multiple of four
Line 405:4: E111 indentation is not a multiple of four
Line 406:4: E111 indentation is not a multiple of four
Line 407:4: E111 indentation is not a multiple of four
Line 409:4: E111 indentation is not a multiple of four
Line 413:4: E111 indentation is not a multiple of four
Line 415:4: E111 indentation is not a multiple of four
Line 418:121: E501 line too long (138 > 120 characters)
Line 446:45: E128 continuation line under-indented for visual indent
Line 454:21: E128 continuation line under-indented for visual indent
Line 455:21: E128 continuation line under-indented for visual indent
Line 487:41: E128 continuation line under-indented for visual indent
Line 488:41: E128 continuation line under-indented for visual indent
Line 496:21: E128 continuation line under-indented for visual indent
Line 497:21: E128 continuation line under-indented for visual indent
Line 529:41: E127 continuation line over-indented for visual indent
Line 530:41: E127 continuation line over-indented for visual indent
Line 550:33: E128 continuation line under-indented for visual indent
Line 580:49: E128 continuation line under-indented for visual indent
Line 588:29: E127 continuation line over-indented for visual indent
Line 589:29: E127 continuation line over-indented for visual indent
Line 660:21: E128 continuation line under-indented for visual indent
Line 661:21: E128 continuation line under-indented for visual indent
Line 662:1: W293 blank line contains whitespace
Line 691:41: E127 continuation line over-indented for visual indent
Line 692:41: E127 continuation line over-indented for visual indent

In the file src/main/python/utils/dave_engine.py, following are the PEP8 issues :

Line 72:121: E501 line too long (132 > 120 characters)
Line 73:24: E111 indentation is not a multiple of four
Line 74:24: E111 indentation is not a multiple of four
Line 80:21: E265 block comment should start with '# '
Line 88:17: E265 block comment should start with '# '
Line 93:121: E501 line too long (123 > 120 characters)
Line 133:56: E226 missing whitespace around arithmetic operator
Line 133:121: E501 line too long (124 > 120 characters)
Line 134:85: E128 continuation line under-indented for visual indent
Line 135:85: E128 continuation line under-indented for visual indent
Line 150:55: E261 at least two spaces before inline comment
Line 152:48: E261 at least two spaces before inline comment
Line 155:5: E722 do not use bare except'
Line 219:5: E722 do not use bare except'
Line 240:21: E127 continuation line over-indented for visual indent
Line 286:59: E703 statement ends with a semicolon
Line 287:41: E262 inline comment should start with '# '
Line 288:37: E262 inline comment should start with '# '
Line 289:45: E262 inline comment should start with '# '
Line 294:66: E703 statement ends with a semicolon
Line 301:44: E226 missing whitespace around arithmetic operator
Line 302:46: E226 missing whitespace around arithmetic operator
Line 302:79: E261 at least two spaces before inline comment
Line 302:121: E501 line too long (164 > 120 characters)
Line 329:5: E722 do not use bare except'
Line 334:50: E261 at least two spaces before inline comment
Line 334:51: E262 inline comment should start with '# '
Line 335:55: E261 at least two spaces before inline comment
Line 335:56: E262 inline comment should start with '# '
Line 336:57: E261 at least two spaces before inline comment
Line 336:58: E262 inline comment should start with '# '
Line 337:61: E261 at least two spaces before inline comment
Line 337:62: E262 inline comment should start with '# '
Line 338:60: E261 at least two spaces before inline comment
Line 338:61: E262 inline comment should start with '# '
Line 339:53: E261 at least two spaces before inline comment
Line 339:54: E262 inline comment should start with '# '
Line 340:56: E261 at least two spaces before inline comment
Line 340:57: E262 inline comment should start with '# '
Line 341:58: E261 at least two spaces before inline comment
Line 341:59: E262 inline comment should start with '# '
Line 342:49: E261 at least two spaces before inline comment
Line 342:50: E262 inline comment should start with '# '
Line 343:53: E261 at least two spaces before inline comment
Line 343:54: E262 inline comment should start with '# '
Line 344:54: E261 at least two spaces before inline comment
Line 344:55: E262 inline comment should start with '# '
Line 345:58: E261 at least two spaces before inline comment
Line 345:59: E262 inline comment should start with '# '
Line 346:58: E261 at least two spaces before inline comment
Line 346:59: E262 inline comment should start with '# '
Line 347:62: E261 at least two spaces before inline comment
Line 347:63: E262 inline comment should start with '# '
Line 348:49: E261 at least two spaces before inline comment
Line 348:50: E262 inline comment should start with '# '
Line 349:53: E261 at least two spaces before inline comment
Line 349:54: E262 inline comment should start with '# '
Line 350:53: E261 at least two spaces before inline comment
Line 350:54: E262 inline comment should start with '# '
Line 351:57: E261 at least two spaces before inline comment
Line 351:58: E262 inline comment should start with '# '
Line 352:61: E261 at least two spaces before inline comment
Line 352:62: E262 inline comment should start with '# '
Line 353:63: E261 at least two spaces before inline comment
Line 353:64: E262 inline comment should start with '# '
Line 354:56: E261 at least two spaces before inline comment
Line 354:57: E262 inline comment should start with '# '
Line 404:5: E722 do not use bare except'
Line 411:1: E265 block comment should start with '# '
Line 447:13: E265 block comment should start with '# '
Line 452:121: E501 line too long (121 > 120 characters)
Line 462:121: E501 line too long (142 > 120 characters)
Line 472:76: E211 whitespace before '('
Line 472:121: E501 line too long (128 > 120 characters)
Line 473:77: E128 continuation line under-indented for visual indent
Line 473:121: E501 line too long (135 > 120 characters)
Line 476:72: E211 whitespace before '('
Line 476:121: E501 line too long (124 > 120 characters)
Line 477:73: E128 continuation line under-indented for visual indent
Line 477:121: E501 line too long (131 > 120 characters)
Line 493:5: E722 do not use bare except'
Line 528:72: E211 whitespace before '('
Line 529:73: E128 continuation line under-indented for visual indent
Line 551:5: E722 do not use bare except'
Line 574:33: E127 continuation line over-indented for visual indent
Line 584:41: E128 continuation line under-indented for visual indent
Line 599:5: E722 do not use bare except'
Line 629:33: E127 continuation line over-indented for visual indent
Line 656:40: E211 whitespace before '('
Line 696:5: E722 do not use bare except'
Line 774:41: E211 whitespace before '('
Line 786:41: E211 whitespace before '('
Line 806:9: E265 block comment should start with '# '
Line 828:51: E225 missing whitespace around operator
Line 830:59: E225 missing whitespace around operator
Line 831:31: E201 whitespace after '['
Line 831:54: E202 whitespace before ']'
Line 834:53: E225 missing whitespace around operator
Line 836:61: E225 missing whitespace around operator
Line 837:32: E201 whitespace after '['
Line 837:57: E202 whitespace before ']'
Line 852:5: E722 do not use bare except'
Line 883:121: E501 line too long (139 > 120 characters)
Line 886:21: E225 missing whitespace around operator
Line 914:121: E501 line too long (130 > 120 characters)
Line 916:51: E231 missing whitespace after ','
Line 919:44: E231 missing whitespace after ','
Line 920:62: E231 missing whitespace after ','
Line 921:70: E231 missing whitespace after ','
Line 928:5: E722 do not use bare except'
Line 960:29: E127 continuation line over-indented for visual indent
Line 961:29: E127 continuation line over-indented for visual indent
Line 964:14: E225 missing whitespace around operator
Line 1000:48: E128 continuation line under-indented for visual indent
Line 1003:21: E265 block comment should start with '# '
Line 1044:59: E226 missing whitespace around arithmetic operator
Line 1058:5: E722 do not use bare except'
Line 1094:21: E128 continuation line under-indented for visual indent
Line 1096:14: E225 missing whitespace around operator
Line 1120:45: E211 whitespace before '('
Line 1138:50: E231 missing whitespace after ','
Line 1145:52: E231 missing whitespace after ','
Line 1157:58: E201 whitespace after '['
Line 1157:71: E225 missing whitespace around operator
Line 1157:84: E231 missing whitespace after ','
Line 1157:104: E231 missing whitespace after ','
Line 1157:107: E225 missing whitespace around operator
Line 1157:119: E202 whitespace before ']'
Line 1160:71: E231 missing whitespace after ','
Line 1160:100: E231 missing whitespace after ','
Line 1172:121: E501 line too long (196 > 120 characters)
Line 1201:121: E501 line too long (171 > 120 characters)
Line 1203:121: E501 line too long (155 > 120 characters)
Line 1205:121: E501 line too long (213 > 120 characters)
Line 1207:121: E501 line too long (134 > 120 characters)
Line 1208:21: E722 do not use bare except'
Line 1209:121: E501 line too long (141 > 120 characters)
Line 1221:5: E722 do not use bare except'
Line 1255:22: E111 indentation is not a multiple of four
Line 1259:27: E211 whitespace before '('
Line 1266:5: E722 do not use bare except'
Line 1290:33: E128 continuation line under-indented for visual indent
Line 1295:41: E128 continuation line under-indented for visual indent
Line 1301:27: E128 continuation line under-indented for visual indent
Line 1304:77: E502 the backslash is redundant between brackets
Line 1328:45: E262 inline comment should start with '# '
Line 1329:51: E226 missing whitespace around arithmetic operator
Line 1347:5: E722 do not use bare except'
Line 1376:29: E127 continuation line over-indented for visual indent
Line 1377:29: E127 continuation line over-indented for visual indent
Line 1384:41: E128 continuation line under-indented for visual indent
Line 1408:17: E265 block comment should start with '# '
Line 1409:17: E265 block comment should start with '# '
Line 1417:62: E127 continuation line over-indented for visual indent
Line 1427:41: E128 continuation line under-indented for visual indent
Line 1432:21: E722 do not use bare except'
Line 1439:77: E502 the backslash is redundant between brackets
Line 1486:5: E722 do not use bare except'
Line 1511:21: E128 continuation line under-indented for visual indent
Line 1534:5: E722 do not use bare except'
Line 1548:5: E265 block comment should start with '# '
Line 1594:26: E211 whitespace before '('
Line 1598:5: E722 do not use bare except'
Line 1604:38: E211 whitespace before '('
Line 1621:26: E211 whitespace before '('
Line 1650:121: E501 line too long (140 > 120 characters)
Line 1654:9: E265 block comment should start with '# '
Line 1656:40: E211 whitespace before '('
Line 1666:5: E265 block comment should start with '# '
Line 1667:121: E501 line too long (122 > 120 characters)
Line 1686:121: E501 line too long (132 > 120 characters)
Line 1689:29: E128 continuation line under-indented for visual indent
Line 1690:29: E128 continuation line under-indented for visual indent
Line 1691:29: E128 continuation line under-indented for visual indent
Line 1698:47: E211 whitespace before '('
Line 1698:121: E501 line too long (123 > 120 characters)
Line 1702:121: E501 line too long (127 > 120 characters)
Line 1732:33: E128 continuation line under-indented for visual indent
Line 1756:36: E211 whitespace before '('
Line 1770:30: E211 whitespace before '('
Line 1772:5: E265 block comment should start with '# '
Line 1782:59: E211 whitespace before '('
Line 1788:1: E302 expected 2 blank lines, found 1
Line 1788:33: E211 whitespace before '('
Line 1790:36: E261 at least two spaces before inline comment
Line 1793:51: E226 missing whitespace around arithmetic operator
Line 1793:85: E226 missing whitespace around arithmetic operator
Line 1794:55: E225 missing whitespace around operator
Line 1795:53: E225 missing whitespace around operator
Line 1804:1: E302 expected 2 blank lines, found 1
Line 1807:1: E302 expected 2 blank lines, found 1
Line 1810:1: E302 expected 2 blank lines, found 1
Line 1814:1: E302 expected 2 blank lines, found 1
Line 1815:12: E226 missing whitespace around arithmetic operator
Line 1818:32: E226 missing whitespace around arithmetic operator
Line 1818:44: E226 missing whitespace around arithmetic operator
Line 1818:50: E226 missing whitespace around arithmetic operator
Line 1819:16: E226 missing whitespace around arithmetic operator
Line 1819:21: E226 missing whitespace around arithmetic operator

In the file src/main/python/utils/dave_reader.py, following are the PEP8 issues :

Line 18:11: E225 missing whitespace around operator
Line 19:10: E225 missing whitespace around operator
Line 21:1: E302 expected 2 blank lines, found 1
Line 21:34: E211 whitespace before '('
Line 26:27: E261 at least two spaces before inline comment
Line 69:56: E128 continuation line under-indented for visual indent
Line 70:56: E128 continuation line under-indented for visual indent
Line 70:121: E501 line too long (128 > 120 characters)
Line 75:65: E128 continuation line under-indented for visual indent
Line 75:121: E501 line too long (128 > 120 characters)
Line 83:73: E231 missing whitespace after ','
Line 103:5: E722 do not use bare except'
Line 171:36: E128 continuation line under-indented for visual indent
Line 172:36: E128 continuation line under-indented for visual indent
Line 203:50: E127 continuation line over-indented for visual indent
Line 208:121: E501 line too long (130 > 120 characters)
Line 225:45: E128 continuation line under-indented for visual indent
Line 227:5: E265 block comment should start with '# '
Line 241:30: E128 continuation line under-indented for visual indent
Line 242:30: E128 continuation line under-indented for visual indent
Line 247:69: E127 continuation line over-indented for visual indent
Line 252:121: E501 line too long (134 > 120 characters)
Line 331:38: E128 continuation line under-indented for visual indent
Line 332:38: E128 continuation line under-indented for visual indent


WebGL's bufferData and bufferSubData should accept ArrayBufferView

TypeScript Version:  2.8.3

Search Terms: BufferSource
Code
function foo(gl: WebGLRenderingContext, data: ArrayBuffer | ArrayBufferView): void {
    gl.bufferSubData(gl.ARRAY_BUFFER, 0, data);
}

Expected behavior:
No errors
Actual behavior:
Argument of type 'ArrayBuffer | ArrayBufferView' is not assignable to parameter of type 'Float32Array | Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uin...'.
  Type 'ArrayBufferView' is not assignable to type 'Float32Array | Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uin...'.
    Type 'ArrayBufferView' is not assignable to type 'ArrayBuffer'.
      Property 'slice' is missing in type 'ArrayBufferView'.

Playground Link: link
Related Issues: -
I believe ArrayBufferView interface should be removed in favour of an alias to union of typed array types and DataView, as it's defined in the Web platform.

The issue is how ArrayBufferView is defined in the library file. the spec specifies ArrayBufferView as a union type, see definition. The function definition is correct, but ArrayBufferView is defined as an interface and not as a union type.
My recommendation is not not use ArrayBufferView in your explicit type annotation, and instead use a union of possible typed arrays.
For the long term, we need to update the definition of ArrayBufferView, though this will be a breaking change.

Could BufferSource be not defined via current ArrayBufferView?

Just looking at old issues; this was fixed in #26102.


Resolves some build warnings in DDRMenu Project

Resolves multiple build warnings on the DDRMenu Project
This is still a work in progress, some of it I want to undo, just submitting the draft to no forget continuing this a bit later this week...

Ok, this should be ready for review now


Add sliding effects to components of Blog page

Is your feature request related to a problem? Please describe.
The blog page looks more as a static webpage unlike the home page.
I would redesign the whole page!
I would like to add some sliding animations such as fade-left, fade-right or pop-up, etc. in order to make the webpage look dynamic and in consistent to the home page.
Describe the solution you'd like
Adding CSS transitions by an external library would do this job. The webpage will be more interactive and UI/UX will be improved as it looks more static now.
Also I will add more blog articles.
Describe alternatives you've considered
No response
Additional context
I would like to work on this task.
Please assign me the issue under GSSoC'23.
Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSoC'23 contributor
[X] I want to work on this issue

@amanjaiman1 @balaji-sivasakthi
Please assign me the issue

Come here https://discord.gg/ajWsFy54

#490


Notched Outline on Text Field messes up the responsiveness when there's a value

MDC React Version #: 0.7.1
##################################################
Browser: Chrome, Firefox and Safari
##################################################
Current Behavior:
When a text field has value, and the screen is resized, the notched outline doesn't seem to calculate correctly leaving it unaligned with the rest of the form fields.
##################################################
Expected Behavior:
text field outline should respond to screen resize just as if it doens't have a value on it.
##################################################
Additional Information:
Here's is a video link to show the current behavior: https://vimeo.com/307864643
Other MDC components involved in the html are:

MDC React Layout Grid
MDC React Button
MDC React Icon
MDC Card

The text field was set to 100% width to fit the card.
##################################################

@shiorap thanks for opening that issue with a video - that's a huge time saver for us. There were several issues with the old notched outline. There is currently a new notched outline, which we will build in MDC React. This refactor should fix your issue as well. I'll leave this issue open to ensure we don't have a regression.

This is no longer an issue since merging #697.


Add a template for adding multiple work experiences/education/hobbies using Jinja

Solved at issues #3 , #5 and #9


Error sort query with array of struct type

What happens?
I built duckdb shell from latest code of duckdb-wasm.
I ran following queries and found got error memory access out of bounds:

CREATE TABLE  test (id integer PRIMARY KEY,struct_arr ROW(val1 integer, val2 varchar)[],);
INSERT INTO test VALUES (1, [(1, 'test'), (2, 'lorem ipsum')]), (2, [(3, 'dolor'), (4, 'sit')])
SELECT * FROM test ORDER BY id DESC;

To Reproduce
Start duckdb shell in browser with command make app_start
Run following query in duckdb wasm shell:

CREATE TABLE  test (id integer PRIMARY KEY,struct_arr ROW(val1 integer, val2 varchar)[],);

INSERT INTO test VALUES (1, [(1, 'test'), (2, 'lorem ipsum')]), (2, [(3, 'dolor'), (4, 'sit')]);

SELECT * FROM test ORDER BY id DESC;

Browser/Environment:
Chrome
Device:
MacOS
DuckDB-Wasm Version:
latest code from branch master
DuckDB-Wasm Deployment:
http://localhost:9002/
Full Name:
Tuyen Nguyen Ngoc
Affiliation:
Developer

Hi @handstuyennn! I am not sure I understand what might be happening, since in theory you should get the same results between master and shell.
Could you try once again from a fresh folder following the instructions here: https://github.com/duckdb/duckdb-wasm#build-from-source?

Yes, I build exactly following the instructions in this file.
After that I ran command make app_start
And here is what I get in my browser.

Thanks for raising this, I do reproduce, I guess one big problem is that this path is not really tested, so this somehow slipped.
I will ping when I have fix, and I will make so that the default configuration should be tested regularly by CI (as to catch regression earlier).

Hey! I tracked this down to stack-overflow, due to a combinations of three factors: there is less stack that usual in WebAssembly (and less memory in general), there was a potentially problematic stack-allocated big-structure in duckdb, and the default is building using no optimizations, that it's not really usual (or at least, helps in putting different problems under the lens).
1 is unavoidable, 2 will be reviewed, but 3 it's both easy and makes sense as a change. Fill file in a PR soon.


Newlines are not sent

I tried making my own virtual device but i could not get it to work, when I used the uPnP sniffer i noticed why... my NOTIFY packages are sent without newlines while others do have newlines...
https://github.com/Yortw/RSSDP/blob/53ce402409cb774e288ac99a028bc81e4537e53f/src/Main/Rssdp.Shared/SsdpDevicePublisherBase.cs#L48
I noticed the locator uses \r\n but here it is just a newline in the literal, an I think GIT replaces them with \n on check-in and maybe when you build on Linux (or some other reason) they are not reinstated and thus the package does not send the notifications correct?

ok, I was using this library for the net framework and the Rssdp.NetStd for .net core... it appears to be there not here...


use on streaming audio?

have you thought about this. I guess I could pass audio snippets in like every 10 seconds during a conversation, curious if you've thought about streaming audio..

interesting thoughts, thanks


ARC-818 add ff to switch from redis to sqs

Added Discovery queue processing logic for SQS
Added a feature flag to choose between Discovery queue and SQS for the queue

my ff will be here go/flag-ticket/FD-28819

[x] TODO - fill up the flag fields

[ ] TODO Add a test for Discovery queue

We never had this tests, so it is a good opportunity to add one

Finally added the test


Ensure local golangci-lint version mirrors CI

What this PR does
This commit sets up a repo-local tooling/bin/golangci-lint that will use the same version as CI instead of using whatever local version of golangci-lint is available on a developer's device.

I'm open to it, personally I use the devcontainer anytime I need to do TypeSpec/ARM API changes because I don't maintain my local npm setup at all

personally I use the devcontainer anytime I need to do TypeSpec/ARM API changes because I don't maintain my local npm setup at all - but never use it otherwise

Same.  Definitely prefer keeping all the Typespec and JavaScript stuff containerized, but I'm not sure the container really needs to be bound to VSCode.


How to resolve error "no repositories are defined"?

We are trying out the steps mentioned in https://smithy.io/2.0/guides/converting-to-openapi.html#converting-to-openapi-with-smithy-build
gradle build failed with below error

Cannot resolve external dependency software.amazon.smithy:smithy-aws-traits:1.29.0 because no repositories are defined.
Cannot resolve external dependency software.amazon.smithy:smithy-cli:1.29.0 because no repositories are defined.

How to resolve error "no repositories are defined"?
Setting the SMITHY_MAVEN_REPOS like the below did not solve the problem
SMITHY_MAVEN_REPOS='https://repo.maven.apache.org/maven2|https://central.sonatype.com/'

gradle build output screen:

The Gradle plug-in uses Gradle resolvers and doesn’t rely on the CLI for dependency resolution, so you’ll need to define repositories in your build.gradle file. Here’s an example: https://github.com/awslabs/smithy-gradle-plugin/tree/23b97381b5ca18b237312c27ce44a13b15e9644c/examples/source-projection

Thank you, Michael!

Thank you! Closing this issue. I was able to generate OpenAPi for Service Foo with below 3 files


When port 3000 is not available, and the db is already running, intermittent issues occur when running

I found this by accident today - if you're running the db, but already running something on port 3000 locally, you'll get random "cannot get" issues when loading certain pages on 3001 (or whatever it defaults to) - not sure if it makes a difference, but only when they were behind auth
Not a breaking issue, but could be a good idea to add a warning to the start script.

So server listens on port 3001 and client on port 3000 -> so if you already have sometihng running on 3000, then client wont run and there will be issues!
You are right, would be good if we have a better handling for this, but we didn't get to it yet. We do have an issue that aims to solve this in a way: https://github.com/wasp-lang/wasp/issues/730 .
Thanks for reporting this, I will be closign this one in favor or the issue I linked, but if you think there is more tot his let me know and we can reopen / add that info!