Use 2sp indents in sample YAML files

This isn't an issue with tangrams/tangram per se, but with the examples.
Most of the tangram examples use 4sp per YAML indent. After working fairly extensively with deeply indented YAML, I believe it is worth considering moving to 2sp per indent.
As it is, a fair amount of the line is used by the indentation.
I'd be willing to do a PR, except this touches multiple repos so I wanted comments first.

Hi Paul! You're absolutely right, for our house styles the spaces add up quickly. Here are my three cents:

Four is certainly easier to read for simpler styles
Lots of copy-and-pasting goes on between our styles, sticking with a single cross-example indent format facilitates this
The example you referenced looks fine on my laptop (with the understanding that YMMV)

I could see converting the house styles, although I don't know that our "import" feature works with differently spaced indents… @bcamper ?

@nvkelso what's your feedback?
I agree that deeply nested rules can be difficult to read (and when creating this syntax I'm not sure I expected the nesting to go this deep! :)
I have also thought of supporting alternative syntax like dot notation (could be backwards compatible). For example:
roads:
   highways:
      links:
         ...

roads:
   ...
roads.highways:
   ...
roads.highways.links:
   ...

This is flatter which helps with deep nesting and can provide better local context as to the layer's parent tree, but it loses some of the spatial indication of hierarchy/inheritance. (An editor like Tangram Play can also provide context of the currently highlighted layer by walking up the tree.)

Probably a good idea? Is it a file size concern or about legibility? (I think ZIP packaging addresses the file size.)

On Aug 11, 2016, at 07:06, Brett Camper<EMAIL_ADDRESS>wrote:
@nvkelso what's your feedback?
I agree that deeply nested rules can be difficult to read (and when creating this syntax I'm not sure I expected the nesting to go this deep! :)
I have also thought of supporting alternative syntax like dot notation (could be backwards compatible). For example:
roads:
highways:
links:
...
roads:
...
roads.highways:
...
roads.highways.links:
...
This is flatter which helps with deep nesting and can provide better local context as to the layer's parent tree, but it loses some of the spatial indication of hierarchy/inheritance. (An editor like Tangram Play can also provide context of the currently highlighted layer by walking up the tree.)
―
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

I can see the dot syntax being super helpful for styling layer overrides (in an import context), but I'm not sure I'd write most the basic house styles that way.

On Aug 11, 2016, at 07:06, Brett Camper<EMAIL_ADDRESS>wrote:
@nvkelso what's your feedback?
I agree that deeply nested rules can be difficult to read (and when creating this syntax I'm not sure I expected the nesting to go this deep! :)
I have also thought of supporting alternative syntax like dot notation (could be backwards compatible). For example:
roads:
highways:
links:
...
roads:
...
roads.highways:
...
roads.highways.links:
...
This is flatter which helps with deep nesting and can provide better local context as to the layer's parent tree, but it loses some of the spatial indication of hierarchy/inheritance. (An editor like Tangram Play can also provide context of the currently highlighted layer by walking up the tree.)
―
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

I like 2 spaces! It's really a matter of personal preference though - YAML can be indented with any number of spaces or tabs, even with different amounts within the same document.
That "dot notation" syntax is very reminiscent of TOML :) However it raises a number of semantic questions and I don't think it could be strictly backwards compatible. The . character is allowed in YAML keys so roads.highways.links could be used as a key in a scene file at present with a very different meaning than the suggested notation.

I have also thought of supporting alternative syntax like dot notation (could be backwards compatible). For example:

You could do this with YAML anchors and alises. Personally I prefer the structure in the indents and only use anchors and alises to reduce duplication.

Probably a good idea? Is it a file size concern or about legibility?

Purely legibility.


[CHEF-3694] Fix service[nginx] cloning resource error

Description
Removes service[nginx] declaration in the recipe package.rb as it is already declared in the default recipe.
Issues Resolved
Fix issue https://github.com/chef-cookbooks/chef_nginx/issues/18
Check List

[ ] All tests pass. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/TESTING.MD
[ ] New functionality includes testing.
[ ] New functionality has been documented in the README if applicable
[x] All commits have been signed for the Developer Certificate of Origin. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/CONTRIBUTING.MD

Looks like this is causing some enables to not happen. Check travis.

@marcmillien I made the same fix in #67 by moving the enable action into source/package recipes

Nice, thanks :).


fix: correct useCrate2NixFromPkgs behaviour

don't use custom Rust toolchain for importing crate2nix tools

Cool, I'll test on monday

Ok, just tested, and same thing happens. First it builds crate2nix (depending on 250 crates) and then it builds helix (depending on 150 more). Let me know if you need more info.

Well, that's sad to hear. The issue must be somewhere else then. I will merge this anyways since this is correct behaviour.


Request to adress acknowledged (by MSFT) known issue that has been present since 1903 or later. This issue causes Monitor link speed to lower on some GPUs.

During Windows Mixed Reality sessions, virtual monitors will appear as generic physical monitors in Settings > System > Display.
This was an issue that was acknowledged by the Microsoft team on this page:
https://docs.microsoft.com/en-us/windows/mixed-reality/enthusiast-guide/set-up-windows-mixed-reality
However, it still hasn't been fixed. I believe this issue causes the 13-14 error for gpu's with limited bandwidth, as AMD drivers will assume actual displays are connected and as a result lowers link speed.
This is my monitor link speed while running normally

This is my monitor link speed during WMR settings.

The only way I can do workarounds for this is by lowering resolution on my monitor while running wmr at 60Hz and then switching the display refresh rate to let windows decide, but due to the nature of the virtual monitors appearing as physical monitors, Windows will often change it during launch of WMR portal, making this an extremely tiring process to have to work around, more details are in my other bug reports, but they may be inaccurate as i'm discovering more details about the issue.

Oh yeah, would like to reiterate that the Virtual Displays aren't just seen as monitors by settings, but also by device manager. This isn't just a bug, it's a misimplementation of the drivers.

If you're wondering why there's a black bar in the screenshot, that's caused by a Virtual Monitor being projected outside the border of my Monitor. If I put my mouse just outside the edge of my screen, I can see it being scaled up to accomodate for the scaling settings applied to the display. Also, I couldn't SS with Snip & Sketch, but it did work with Snipping tool. I reported the Snip & Sketch issue to the uwp page.

Hello @TheJokingTeen , it looks like you've gathered your information really well but I can't help you too much since these are the HoloLens docs and not the mixed reality docs which cover WMR. You might also want to try submitting a bug via Feedback Hub so the issue can get seen by the devs.

hahaha this is stupid

I understand, but it seems no devs read the Feedback Hub

Issue not in correct repo.


[feature request]: Add ability to throttle RAM usage

Feature summary
Add the ability to reduce the number of running tests when one test is likely to take over the entirety of the available RAM.
Essentially cargo nextest run -j 1 except smart.
Motivation
I'm dealing with large Rust projects. It used to be that 32GiB was enough, but these days, a single test run on a 16-core machine can easily gobble all of the resident RAM. In most cases this is preventable by reducing the number of concurrent tests being run, which in case of nextest is still often justified, because that still lets me collect flakyness and other statistics. But it kinda slows a big project to a crawl.
Given that nextest can control how many tests it can spawn, and sometimes kill them too, I was wondering if it were possible to do one (or all) of the following:

Kill the test that exceeds X amount of RAM, push it into a queue, and run it at the end. If there's enough available RAM then.
When all running tests exceed a certain RAM threshold, do not spawn new tests until the used RAM drops below a given threshold.
Allow the user to mark tests as RAM-intensive, so that they could be run last, or with fewer concurrent tests, or at least, to prevent a group of them running at the same time, and causing the entire test run to get killed by systemd-oomd.
Bail before the nextest is killed by oomd, and instead show the user that the tests are too RAM intensive.

Thanks for the request! Definitely agree that this is suboptimal. Backing off under memory (or I/O) pressure is definitely one of the things we've considered to do in nextest, but hasn't been implemented yet. There's a related idea to use a small DSL to turn -j from just a static number into something that can take memory and CPU into account.

Allow the user to mark tests as RAM-intensive, so that they could be run last, or with fewer concurrent tests, or at least, to prevent a group of them running at the same time, and causing the entire test run to get killed by systemd-oomd.

This can be done via heavy tests or test groups.

This can be done via heavy tests or test groups.

So, essentially extend the heavy-test mechanism.
The reason it needs extension is that while it could be used to reduce the number of tests that run concurrently, this does not stop the RAM for other tests from being allocated, if e.g. one person on a team has 16 logical CPUs and marks a test as requiring 16, and another person with the same amount of ram, but 32 logical CPUs runs that test.
Test groups seem much more amenable to what I'm trying to accomplish, and is an appropriate workaround.


abbility to stick with zod instead of using nestjs-zod

This is important so if something new introduced to zod
We dont have to wait nestjs-zod to support it

We have a monorepo setup and reuse the validation objects. Since nestjs-zod is only installed on the API, we have a script that changes the imports after the file has been generated. Would be cool to configure it what to use


Confirm before killing job

r? @jbalogh

oooh can you add a screenshot of what this looks like?

Happy to take suggestions on wording.

Can we make the box tighter so there's not so much empty space?

more like this? or also want the white space around the buttons tightened?

:+1: that's tight


ASP.NET Core: 502.5 error on web app hosted in Azure

I'm receiving 502.5 error on one of our apps hosted in Azure App Service.
It starts and runs sporadically.
We have multiple instances running in Azure for different branches and theres only one of them that has this problem. The instances are exactly the same.
I did remove the app service and created from scratch and it still receives the same error.
From stdout:
Fail: Microsoft.AspNetCore.Server.Kestrel[13]
Connection id "0HLH7KQCG9CU5", Request id "0HLH7KQCG9CU5:00000001": An unhandled exception was thrown by the application.
System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
File name: 'System.Runtime, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' ---> System.IO.FileNotFoundException: Could not load the specified file.
File name: 'System.Runtime'
at System.Runtime.Loader.AssemblyLoadContext.ResolveUsingEvent(AssemblyName...
From eventlog:

1000
1
0
Keywords

1148898187
Application
RD2818781BDBF9

Application 'MACHINE/WEBROOT/APPHOST/DEV-DRINKPLATFORM-V4' with physical root 'D:\home\site\wwwroot' created process with commandline 'dotnet .\DP3.Drinksystem.API.dll' but either crashed or did not reponse or did not listen on the given port '14970', ErrorCode = '0x800705b4'

@halter73 / @shirhatti / @muratg - any idea on this?

This looks like an assembly load error. This is the type of think I typically see when assembly versions get mixed up perhaps because someone manually replaced an assembly after build/publish or because a badly authored NuGet package got referenced.

I did manage to solve it. Quite the strange exception for the problem though.
The api runs a bunch of queries against cosmos db on startup and if it takes more than 120 seconds before all of them are completed, the exception above occurs.
I solved it by setting "startupTimeLimit" to a higher value.


Add food module

Add a new module with following functionalities

foodCategory
grain
milkProduct
fruit
meat
seafood
vegetable
oil
nut
seeds
sugarProducts
non-alcoholic beverages
alcoholic beverages
dishName

Can I done this?

Hello! sure, I assiged you to this issue :)

hello, how is it going? will you work on this issue or should I unassign the issue?

I want to update, but it's not strictly necessary.

If you want to change something in code, go ahead and do another PR :)


HathiTrust holdings

Something to explore; do we want to display HathiTrust holdings for items that are in the public domain and match an OpenURL?

I'm moving this one to the newly created repository for the whole application.


Create new docker containers with Cuda 11.0.

Description
This PR creates new docker containers for Ubuntu and CentOS with Cuda 11.0. These will be used in CI pipelines in the future.

@mxnet-bot run ci [windows-gpu]

@mxnet-bot run ci [windows-gpu]


[engine-1.21] Reduce node startup time

Proposed Changes

If using the built-in CCM, wait for it to clear the uninitialized taint before starting the scheduler to ensure that pods can be scheduled immediately.
Optimize agent startup time by watching the local node instead of getting/sleeping in a loop.

Types of Changes
bugfix
Verification
See linked issue
Linked Issues

https://github.com/k3s-io/k3s/issues/4360

User-Facing Change

Resolved an issue that would occasionally cause K3s to take more than a minute to schedule initial pods on the first server in a cluster.

Further Comments

Codecov Report

Merging #4362 (2ad5925) into engine-1.21 (998e2bb) will decrease coverage by 0.03%.
The diff coverage is 1.66%.

@@               Coverage Diff               @@
##           engine-1.21    #4362      +/-   ##
===============================================
- Coverage        11.47%   11.43%   -0.04%
===============================================
  Files              139      139
  Lines             9036     9067      +31
===============================================
  Hits              1037     1037
- Misses            7774     7805      +31
  Partials           225      225

Flag
Coverage Δ

inttests
0.67% <1.66%> (-0.01%)
:arrow_down:

unittests
11.09% <1.66%> (-0.04%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/agent/flannel/setup.go
0.00% <0.00%> (ø)

pkg/agent/run.go
0.00% <0.00%> (ø)

pkg/agent/tunnel/tunnel.go
0.00% <0.00%> (ø)

pkg/server/context.go
0.00% <0.00%> (ø)

pkg/daemons/executor/embed.go
1.13% <3.22%> (-0.56%)
:arrow_down:

Continue to review full report at Codecov.

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


Style, organization, and coverage cleanups

Includes:

collapsing ./lib/travis/logs/helpers/*.rb up a level
adding autoload consts for purposes of self-documenting-ish code
modifying require calls accordingly to only explicitly pull in travis/logs
trimming down the number of require calls in specs
removing unused stuff
switching to rubygems source instead of git for coder
breaking out nested classes
moving sidekiq initializer into ./lib/travis/logs/sidekiq/
renaming metrics module helper
moving redis pool code into ./lib/travis/logs
switching to consistent per-method private declarations

todo

[x] this is complete

This is working correctly in staging, fwiw 👌


Fill in Stub Functions for LED Bar

[x] Commit reference
[x] Describe how to use function
[x] Describe design decisions
[x] Describe test

Accomplished after doing project specific tests

Reviewed and done

check #50 for evidence


Binding Color not working

Hi. Tried this:
xe:TouchEffect.Color="{Binding StudentTapColor}"
But the color doesn't seem to be set. Is binding supported?

Sorry. I made a bad binding :-(
Closing this


Enable additional Go linters, fix issues they flag

What would you like to be added:
Enable the commented golangci-lint linters in each repo's .golangci.yml, or rule them out as potentially useful and remove them.
For example, from this repo:
  gocritic:
    enabled-tags:
      - diagnostic
      - opinionated
      # - performance
      - style

linters:
  disable-all: true
  enable:
    - bodyclose
    - deadcode
    - depguard
    # - dupl
    - errcheck
    - exportloopref
    # - funlen
    # - gochecknoglobals
    # - gochecknoinits
    - gocritic
    - gocyclo
    - gofmt
    - goimports
    # - golint
    - gosec
    - gosimple
    - govet
    - ineffassign
    - interfacer
    - lll
    - maligned
    - misspell
    - nakedret
    - staticcheck
    - structcheck
    # - stylecheck
    # - testpackage
    - typecheck
    - unconvert
    - unparam
    - unused
    - varcheck
    - whitespace
    - wsl

https://github.com/submariner-io/submariner/blob/master/.golangci.yml
Why is this needed:
When doing the major set of linting refactoring that added golangcl-lint, I didn't want to continue working on enabling Go linters before taking a first pass at the many other types of linting I wanted to add. I included these commented out linters as a starting point for later, as they seemed to flag real, non-duplicate areas for improvement. Now that we have broad linting coverage, we should loop back and dig deeper into enabling Go linters and fixing the issues they flag.

PR #1123
PR #1121

PR #1125


[feature request] Parsing molecule schema to codec directly

Motivation
As a dApp developer, i often explore some transactions in the ckb explorer to learn how a dApp works, but the script.args/cell.data/transaction.witness in the ckb explorer is serialized and represented as a hex string, most of this data is serialized from molecule. It would be very helpful to have a tool that would allow me to input the schema and these hex strings for decode, so I could understand the transaction
How
We can offer a new API
type CodecRecord = Record<string, AnyCodec>;

declare function parseMolecule<
  Ref extends CodecRecord = CodecRecord,
  Ret extends CodecRecord = CodecRecord
>(
  // molecule schema string
  mol: string,
  // referenceable codec for mol, e.g. codecs.numbers, base.blockchain
  options?: { refs: Ref }
): Ret:

// language=molecule
const mol = `
array RGB (Uint8, 3);

struct Styled {
  background: RGB,
  color: RGB,
}
`;

import { number } from '@ckb-lumos/codec'

const codecs = parseMolecule(mol, { references: ...number /* referenceable codecs */})

After implement, we can offer a toolkit on the Lumos website to helps user to decode molecule binary

the parser is WIP here https://github.com/zhangyouxin/mol-parser-ts

The preview page： https://mol-parser-ts.vercel.app/
Trying to merge this page to lumos website but encountered a problem: #414 , it is under construction.

Thanks to @IronLu233 , using escape-string-regexp lib to replace https://github.com/ckb-js/lumos/blob/09bd023b1cecb62e377b559770a4c3776ec50b36/packages/codec/src/utils.ts#L15 and https://github.com/ckb-js/lumos/blob/09bd023b1cecb62e377b559770a4c3776ec50b36/packages/codec/src/utils.ts#L38 solved my problem.
This problem is caused by Ducurasaus when adding a CJS module that contains tagged templates to the dependencies list.

website integration has started at https://github.com/ckb-js/lumos/issues/415


There are no access keys in the macOS keychain

I do set keychain in my macos account, but keychain can not be found. Are there any operation tutorial?

Also, when I add key in my account with generated key pair, and save it to my macos keychain, but, nothing found in keychain actually.

@hanakannzashi Have you seen "The data for the access key is saved in macOS Keychain" message when you added the key?
Here is a demo of importing an existing account using a seed phrase and storing it in macOS keychain. Then, I send NEAR tokens from that account just to show that I can sign the transaction with the key stored in macOS keychain.

You can see that the public key of the imported key matches the public key that was used to sign the transaction.

@hanakannzashi Have you seen "The data for the access key is saved in macOS Keychain" message when you added the key?
Here is a demo of importing an existing account using a seed phrase and storing it in macOS keychain. Then, I send NEAR tokens from that account just to show that I can sign the transaction with the key stored in macOS keychain.

You can see that the public key of the imported key matches the public key that was used to sign the transaction.

I didn't see 'The data for the access key is saved in macOS Keychain' message.

I found that key is not display on macos keychain UI but truly saved, so how can I view my all keys stored in keychain?

I add new key on my account cool8.testnet, using autogenerate-new-keypair save-to-macos-keychain, I did not see message "The data for the access key is saved in macOS Keychain"

Yeah, the message is different, but the key is actually stored in macOS keychain after all. It is worth aligning the messages, and review all the messages in the CLI in general (I know there are some typos, copy-paste errors, and unclear messages here and there, but I did not have time to sit down and review all of them).

when I sign transaction with macos-keychain again, it still using the key I imported in step 1, new key pair seems lost.

CLI fetches the list of full access keys for a given account from RPC (public keys) and probes the keychain to find the corresponding private key, and once one is found, it is used. In your case, the older key was probed earlier and thus it was used. Try removing the first key from the keychain and you should see that it would use another key.
I cannot think of a use case where users would need to have several full access keys to the same account on their computer and they would care which one is actually used.

How can I view all my keys saved in macos-keychain with near-cli-rs? or other simple way? Keychain Manager App is hard to use.

There is no such functionality yet. Probing macOS keychain is not efficient as it may ask user's approval every time we try to read from the keychain, so this functionality requires study and design phase.

Can keys be shared on different mac devices through cloud?

I believe they are shared, but I don't have a way to test whether it is actually the case myself as I don't have another device with the same icloud. Can you?

I remember some keys doesn't share through iCloud, but I don't know the condition, also I don't have another device to test it. Thank you for your answer!


Slow Performance on Entity Framework

Hi,
I am not sure where to post this issue. I have concern on the slow performance of Entity Framework. I have a web application project related to stock trading and the traffic is very busy and very fast all the time. At first I was trying to use EF 6 as the ORM framework, but after half year usage of the app and more and more user uses it, the app becomes slower and eventually crash. After conduct some investigation, I found out that Database usage is still light and actually EF operation is the bottleneck. I try to optimize the app by converting some complex LINQ/Lambda query to pure SQL query. Some issue are relieved by the optimization, but user still complains that it is still slow. After doing research on other library, I found out that Dapper is suitable for high-traffic web site, then I have no choice but to combine between EF and Dapper for ORM framework.
During my research, I try to simulate simple query and observe the speed of pure SQL query, but it turns out that query using EF is much slower than that using Dapper.

I like the design of Entity Framework and plan to use it for high-traffic web application, but could you please to optimize the speed performance for the release of EF Core?
Thank you.

Your test isn't accurate for multiple reasons.
A. You should ignore the first query as there are many bootstrapping going in then.
B. First query inserts the data into the RAM, so the following one will be much faster.
C. There's the garbage collection issue too that you need to isolate.

To add more to above list, you are creating context after starting timer, first time context creation will create the model from scratch and many other services are initialized which are not related to query.

If EF 6 was indeed the bottleneck, don't use EF core, currently it's much worse, but even when things will stable, it won't be much faster.
You are much better using Dapper.
(Representing only myself, I'm not a Microsoft employee)
But I'm not sure that even Dapper or raw ADO.NET will save you, you probably need to add a Redis caching layer (I worked in stock trading in the past)

There isn't really anything actionable in this issue, so we are closing it out. If you have specific code listings that you think are executing poorly on EF Core, then please open an issue with the runnable code listing and the times you are seeing.


[Google Drive] Sizes differ

2017/05/26 12:15:08 DEBUG : rclone: Version "v1.36-136-g5455d34fОІ" starting with parameters ["rclone" "--exclude-from" "/backup/googledrive/targemmain/scripts/exclude.conf" "-vv" "--delete-before" "--drive-full-list=false" "--config" "/backup/googledrive/targemmain/scripts/rclone.conf" "--log-file" "/backup/googledrive/targemmain/log/rclone-2017-05-26-12.txt" "sync" "targemmain:" "/backup/googledrive/targemmain/current/"]
2017/05/26 12:15:09 INFO  : Local file system at /backup/googledrive/targemmain/current: Modify window is 1ms
2017/05/26 12:15:09 INFO  : Waiting for deletions to finish
2017/05/26 12:15:09 DEBUG : Google drive root '': Reading ""
2017/05/26 12:15:09 DEBUG : Google drive root '': Finished reading ""
...
2017/05/26 12:22:20 DEBUG : Targem Root/Welcome targem games/РќРѕРІР°СЏ РїРѕР»РёС‚РёРєР° FileExchange 2017.docx: Size and modification time the same (differ by 0s, within tolerance 1ms)
2017/05/26 12:22:20 DEBUG : Targem Root/Welcome targem games/РќРѕРІР°СЏ РїРѕР»РёС‚РёРєР° FileExchange 2017.docx: Unchanged skipping
2017/05/26 12:22:20 DEBUG : Targem Root/Welcome targem games/РљР°Р»РµРЅРґР°СЂСЊ РґРѕСЃС‚СѓРїРЅРѕСЃС‚Рё РѕС„РёСЃР°, Рё СЂР°Р±РѕС‚РѕСЃРїРѕСЃРѕР±РЅРѕСЃС‚Рё СЃРµСЂРІРёСЃРѕРІ 1-9 РњР°СЏ 2017.xlsx: Sizes differ
2017/05/26 12:22:20 DEBUG : Targem Root/Welcome targem games/ TamTam.docx: Unchanged skipping
2017/05/26 12:22:20 DEBUG : Targem Root/Welcome targem games/РњР°РЅС‚РёСЃ РєР°Рє РѕС‚РјРµС‡Р°С‚СЊ РІ Р·Р°РґР°С‡Р°С… РїРѕС‚СЂР°С‡РµРЅРЅРѕРµ РІСЂРµРјСЏ.docx: Size and modification time the same (differ by 0s, within tolerance 1ms)
2017/05/26 12:22:20 DEBUG : Targem Root/Welcome targem games/РњР°РЅС‚РёСЃ РєР°Рє РѕС‚РјРµС‡Р°С‚СЊ РІ Р·Р°РґР°С‡Р°С… РїРѕС‚СЂР°С‡РµРЅРЅРѕРµ РІСЂРµРјСЏ.docx: Unchanged skipping
2017/05/26 12:22:20 DEBUG : Targem Root/Welcome targem games/Links.xlsx: Sizes differ
...
2017/05/26 12:22:38 DEBUG : Targem Root/Projects/Etherlords Online/Etherlords Online - Private Tasks (10.02.2014).docx: Size and modification time the same (differ by 0s, within tolerance 1ms)
2017/05/26 12:22:38 DEBUG : Targem Root/Projects/Etherlords Online/Etherlords Online - Private Tasks (10.02.2014).docx: Unchanged skipping
2017/05/26 12:22:38 DEBUG : Targem Root/Projects/Etherlords Online/Etherlords Online - Summary (03.02.2014).docx: Size and modification time the same (differ by 0s, within tolerance 1ms)
2017/05/26 12:22:38 DEBUG : Targem Root/Projects/Etherlords Online/Etherlords Online - Summary (03.02.2014).docx: Unchanged skipping

What is the problem you are seeing?
2017/05/26 12:22:20 DEBUG : Targem Root/Welcome targem games/Links.xlsx: Sizes differ

.
Is a normal debug message which indicates the size of something has changed and needs transferring.

6159:2017/05/26 12:26:58 ERROR : Targem Root/PR реклама коммьюнити  эвенты/Star Conflict/(Акция на выходные) Бонусы на лояльность и скидки на контейнеры с редкими ресурсами.docx: corrupted on transfer: sizes differ 799331 vs 0
16137:2017/05/26 12:34:06 ERROR : Targem Root/Projects/SCM/Sharing to Phones/stickers/iphone/File_000.png: corrupted on transfer: sizes differ 303513 vs 304163
34170:2017/05/26 12:49:55 ERROR : Targem Root/Projects/SCM/Sharing to Phones/stickers/iphone/File_000.png: corrupted on transfer: sizes differ 430423 vs 525223
35172:2017/05/26 12:50:10 ERROR : Targem Root/PR реклама коммьюнити  эвенты/Star Conflict/Новости/Скидка дня 50% на детали к кораблю Karud.docx: corrupted on transfer: sizes differ 601837 vs 664002
36398:2017/05/26 12:52:16 ERROR : Attempt 2/3 failed with 2 errors and: corrupted on transfer: sizes differ 601837 vs 664002
43732:2017/05/26 13:03:18 ERROR : Targem Root/PR реклама коммьюнити  эвенты/Star Conflict/(Акция на выходные) Бонусы на лояльность и скидки на контейнеры с редкими ресурсами.docx: corrupted on transfer: sizes differ 667023 vs 799331
53128:2017/05/26 13:06:15 ERROR : Targem Root/Projects/SCM/Sharing to Phones/stickers/iphone/File_000.png: corrupted on transfer: sizes differ 430423 vs 525223

You do know that only from posting logs it's quite difficult to guess what you actually want?
The messages are clear: An upload for a certain file failed, the upload was corrupt. The sizes of the file sent from your end and the size of the file received on the target end differ. So the upload failed.

@henryford "corrupted on transfer: sizes differ 601837 vs 664002"
The fact is that at this point there are no problems with the connection and the file did not change exactly

Use rclone dedupe targemmain: to check for duplicates - this can make this sort of error.

The desired folder has a complex structure, many files are in 2 sub-folders at once, is there another option, without changing the source?

Rclone syncing wasn't designed to cope with duplicate file names and file systems can't cope with duplicate file names so I think the best option is to fix the source.
There aren't any more options which will help.
Rclone dedupe could be cleverer though when there are duplicate directories - it should probably collapse those first.

@ncw Thank you for the prompt response and explanation of the essence of the problem!
Unfortunately, we can not get rid of the duplicates on the whole Google disk, but we absolutely need to make a copy of the disk using Rclone.
Could you, in the next week or two, reward Rclone for a fee - for example, to make the identification of files not by their name, but by the google file id?
Or any other solution to the problem.“36398:2017/05/26 12:52:16 ERROR : Attempt 2/3 failed with 2 errors and: corrupted on transfer: sizes differ 601837 vs 664002
43732:2017/05/26 13:03:18 ERROR : Targem Root/PR реклама коммьюнити эвенты/Star Conflict/(Акция на выходные) Бонусы на лояльность и скидки на контейнеры с редкими ресурсами.docx: corrupted on transfer: sizes differ 667023 vs 799331
53128:2017/05/26 13:06:15 ERROR : Targem Root/Projects/SCM/Sharing to Phones/stickers/iphone/File_000.png: corrupted on transfer: sizes differ 430423 vs 525223”

@ncw  We really like your software, and really need a revision, please tell us on what terms it is possible

This seems to be stale. If there is still an issue, please post on the forums and we can try to help you out.


[c-otio] Add NULL checks as needed

Add NULL checks as needed. c.f. 9fbf870807ebd9bc9ecfe8781c998cfe1e50d64f

https://github.com/OpenTimelineIO/OpenTimelineIO-C-Bindings/issues/5


Support for multiple portals via a file browser & select screen

Allow for the user to select an alternate file to load for the portal & AP config. If the user has multiple HTML files on their flipper this would allow them to change portals without having to use a PC to replace the existing index.html & ap.config.txt.

Portals portion added via PR https://github.com/bigbrodude6119/flipper-zero-evil-portal/pull/41 by
@Nycz-lab  & @NikIsHere. ❤

this would be a great option.

Portals portion added via PR #41

@bigbrodude6119
When do you plan to release 0.0.3 with this feature? dev tree is not building very well

Potential conflicts here:
https://github.com/bigbrodude6119/flipper-zero-evil-portal/pull/49
Is this better functionality?


release v1.4.1

Coverage remained the same at 33.999% when pulling fb48e8215b29a388669f1c9cd0fd8d7c21e3ca74 on suiguoxin:1.4.1 into 15990fce96ca2f88aedf0a447f06cca947973ae8 on microsoft:pai-1.4.y.


Preprocess step is completing but pth files are not generating as expected in XLM folder

Hello,
After running preprocess steps from below command:
python -m codegen_sources.preprocessing.preprocess /path/data/mydata2 --langs java cpp --mode monolingual_functions --bpe_mode=fast --local=True --train_splits=1 --fastbpe_code_path=/path/data/bpe/cpp-java-python/ --fastbpe_vocab_path=/path/data/bpe/cpp-java-python/
XLM-syml folder is getting generated with file name like:
test.cpp_cl.pth
test.cpp_sa.pth
test.java_cl.pth
....
train.cpp_cl.0.pth
train.cpp_sa.0.pth
...
But when using these folder/files in Training step(MLM) is giving error like:
XLM-syml/train.java.pth not found
XLM-syml/valid.java.pth not found
XLM-syml/test.java.pth not found
XLM-syml/train.cpp.pth not found
XLM-syml/valid.cpp.pth not found
XLM-syml/test.cpp.pth not found
Train command:
python train.py --exp_name mlm --dump_path '/path/CodeGen/data/models' --data_path '/path/data/mydata2/XLM-syml' --split_data_accross_gpu local --mlm_steps 'java,cpp' --add_eof_to_stream true --word_mask_keep_rand '0.8,0.1,0.1' --word_pred '0.15' --encoder_only true --n_layers 12  --emb_dim 768  --n_heads 12  --lgs 'java-cpp' --max_vocab 64000 --gelu_activation true --roberta_mode false --amp 2  --fp16 true  --batch_size 8 --bptt 512 --epoch_size 1000 --max_epoch 2000 --split_data_accross_gpu global --optimizer 'adam_inverse_sqrt,warmup_updates=10000,lr=0.0001,weight_decay=0.01' --save_periodic 0 --validation_metrics _valid_mlm_ppl --stopping_criterion '_valid_mlm_ppl,10'
I think files are getting generated with suffix like _cl.pth or _sa.pth which is not being considered in training step? OR I am doing something wrong?
Thanks

Have you successfully run the pre-processing steps？ When I run:
python -m codegen_sources.preprocessing.preprocess /data2/linjiayi/CodeGen-master/data --langs python --mode monolingual_functions --bpe_mode=fast --local=True --train_splits=1
There is  an error: there is no json in {str(self.folder)}.
But I have downloaded the source code from Google BigQuery and put them into self.folder.
Do you know what went wrong?
I suspect I had a problem saving the file name when downloading data from Google BigQuery.
When I export the data to Google storage, I set:

export format: JSON
compression: GZIP
filename: python-*.json

Is there something wrong with my operation?
Files downloaded from Google Storage cannot be opened directly. For example, the file name is python_python-000000000000.json. I just open it and it's garbled. I need to decompress it first. But the file type of the extracted file is no longer JSON.

The contents of the file also don't seem to be in standard JSON format. Is that what you downloaded? Can I preprocess this data directly?

I am having issues as well, while I am not positive on your issue and we have different, I had a lot more luck with roberta bpe then fast bpe. that being said, while everything generated I am also running into issues with training

I am having issues as well, while I am not positive on your issue and we have different, I had a lot more luck with roberta bpe then fast bpe. that being said, while everything generated I am also running into issues with training

Thank you. What is the suffix of the json you download from Google BigQuery? Is it .json.gz? Can you share a sample of your JSON format?

You definitely need/want the GZ compressed file archive format.  I am not trying the google BigQuery portion yet, I am using the test data they provide right now just to insure it works before I try anything else

You definitely need/want the GZ compressed file archive format. I am not trying the google BigQuery portion yet, I am using the test data they provide right now just to insure it works before I try anything else

Thank you very much! I didn't notice the test data in the data\test_dataset folder. I will try it.

No problem, let me know how that goes.  Im just trying to do that to verify everything else works currently.

No problem, let me know how that goes. Im just trying to do that to verify everything else works currently.

I have run successfully run the pre-processing steps on the the google BigQuery data. I only changed the filename python-000000000000.json.gz to python-000.json.gz. But when I run the pre-processing steps on the test data in the data\test_dataset folder, there is an error: AssertionError: failed to apply bpe on /home/linjiayi/CodeGen-master/data/test_dataset/cpp.train.sa.0.tok. I don't know why.
I have another question. Whether CodeGen's preprocessing steps can extract comments? I find there is a parameter --keep_comments in TransCoder. But CodeGen doesn't have.

Yeah cant help you there, I didnt have much luck with BPE, switched to Roberta

Hello,
After running preprocess steps from below command:
python -m codegen_sources.preprocessing.preprocess /path/data/mydata2 --langs java cpp --mode monolingual_functions --bpe_mode=fast --local=True --train_splits=1 --fastbpe_code_path=/path/data/bpe/cpp-java-python/ --fastbpe_vocab_path=/path/data/bpe/cpp-java-python/
XLM-syml folder is getting generated with file name like:
test.cpp_cl.pth
test.cpp_sa.pth
test.java_cl.pth
....
train.cpp_cl.0.pth
train.cpp_sa.0.pth
...
But when using these folder/files in Training step(MLM) is giving error like:
XLM-syml/train.java.pth not found
XLM-syml/valid.java.pth not found
XLM-syml/test.java.pth not found
XLM-syml/train.cpp.pth not found
XLM-syml/valid.cpp.pth not found
XLM-syml/test.cpp.pth not found
Train command:
python train.py --exp_name mlm --dump_path '/path/CodeGen/data/models' --data_path '/path/data/mydata2/XLM-syml' --split_data_accross_gpu local --mlm_steps 'java,cpp' --add_eof_to_stream true --word_mask_keep_rand '0.8,0.1,0.1' --word_pred '0.15' --encoder_only true --n_layers 12 --emb_dim 768 --n_heads 12 --lgs 'java-cpp' --max_vocab 64000 --gelu_activation true --roberta_mode false --amp 2 --fp16 true --batch_size 8 --bptt 512 --epoch_size 1000 --max_epoch 2000 --split_data_accross_gpu global --optimizer 'adam_inverse_sqrt,warmup_updates=10000,lr=0.0001,weight_decay=0.01' --save_periodic 0 --validation_metrics _valid_mlm_ppl --stopping_criterion '_valid_mlm_ppl,10'
I think files are getting generated with suffix like _cl.pth or _sa.pth which is not being considered in training step? OR I am doing something wrong?
Thanks

You are training on java cpp languages - so monolingual data - and you run the pipeline to get monolingual functions. you should run the pipeline with monolingual mode if you want to train something on java-cpp. If you want to train on functions then you languages and step in training command should be on java_sa cpp_sa for instance

Have you successfully run the pre-processing steps？ When I run:
python -m codegen_sources.preprocessing.preprocess /data2/linjiayi/CodeGen-master/data --langs python --mode monolingual_functions --bpe_mode=fast --local=True --train_splits=1
There is an error: there is no json in {str(self.folder)}.
But I have downloaded the source code from Google BigQuery and put them into self.folder.
Do you know what went wrong?
I suspect I had a problem saving the file name when downloading data from Google BigQuery.
When I export the data to Google storage, I set:
1. export format: JSON

2. compression: GZIP

3. filename: python-*.json

Is there something wrong with my operation?
Files downloaded from Google Storage cannot be opened directly. For example, the file name is python_python-000000000000.json. I just open it and it's garbled. I need to decompress it first. But the file type of the extracted file is no longer JSON.

The contents of the file also don't seem to be in standard JSON format. Is that what you downloaded? Can I preprocess this data directly?

Your JSON file looks correct.  Each line in the file is a JSON object representing python source code with key/value pairs "repo_name", "ref", "path" and "contents".  The files should remain gzipped for processing.

Have you successfully run the pre-processing steps？ When I run:
python -m codegen_sources.preprocessing.preprocess /data2/linjiayi/CodeGen-master/data --langs python --mode monolingual_functions --bpe_mode=fast --local=True --train_splits=1
There is an error: there is no json in {str(self.folder)}.
But I have downloaded the source code from Google BigQuery and put them into self.folder.
Do you know what went wrong?
I suspect I had a problem saving the file name when downloading data from Google BigQuery.
When I export the data to Google storage, I set:
1. export format: JSON

2. compression: GZIP

3. filename: python-*.json

Is there something wrong with my operation?
Files downloaded from Google Storage cannot be opened directly. For example, the file name is python_python-000000000000.json. I just open it and it's garbled. I need to decompress it first. But the file type of the extracted file is no longer JSON.

The contents of the file also don't seem to be in standard JSON format. Is that what you downloaded? Can I preprocess this data directly?

Your JSON file looks correct. Each line in the file is a JSON object representing python source code with key/value pairs "repo_name", "ref", "path" and "contents". The files should remain gzipped for processing.

Thanks for your reply. I have successfully run the pre-processing steps to extract functions.


Adding a projects document for terrafx.

[ ] Health

[x] Uses MIT or other compatible license, and third party contributions are documented in a notice file.
[ ] Uses the .NET Foundation CLA bot (or acceptable alternative) to manage contributor copyright.
[x] Uses .NET Foundation code of conduct (or acceptable alternative).
[x] Maintainer(s) respond to and fix issues and encourage community contribution.
[x] CI/nightly builds are active, usable and their status is visible (by a badge). The build server must be patched and otherwise be considered secure.
[ ] Publishes new stable versions regularly (possibly just patch updates), at least once/year, but ideally at least once/quarter.
[x] Most code changes are performed via PRs, and open to community feedback and transparent viewing. The specific review and merge process used is a project choice.
[ ] Versioning and breaking change policy is documented.
[ ] Roadmap is documented, via formal document and/or an issue query.
[x] Build scripts are documented and can be readily used by consumers.

[x] Practices

[x] No additional requirements.

[ ] Benefits

[ ] Access to .NET Foundation CLA bot .
[ ] Access to the .NET Foundation maturity ladder badge server.
[ ] Increased project visibility, by being listed on the .NET Foundation projects page (for the maturity ladder).

It's worth noting that Uses the .NET Foundation CLA bot (or acceptable alternative) to manage contributor copyright. is currently impossible to complete before being accepted.
It would be nice/beneficial if there was a "recommended" CLA bot that could be used for projects not yet accepted or which are still ramping up and aren't at a stage where they can be accepted.
Generally, a CLA helps ensure that contributions made to a repository can't later be revoked/etc and sometimes provide other guarantees. Having a "CLA" bot and recommended/compatible agreement new projects can use helps allow this best practice to be met and ensures code will always be available.

For Publishes new stable versions regularly (possibly just patch updates), at least once/year, but ideally at least once/quarter.. This seems to imply that a project needs to have had at least one stable version so far, is that correct?
Do preview releases count? Is there a different requirement for projects that haven't shipped v1.0?

If projects want to provide example images, is there a place on the repo they should be added to, or would it be better if they were linked from the project repo?

How does this work if you have an "organization" with multiple projects that are really part of a whole?
For example, terrafx/terrafx is the main repository, but the interop bindings are in their own repositories so they can be versioned independently (terrafx/terrafx.interop.windows, terrafx.interop.vulkan, terrafx.interop.xlib, etc).

Also had a couple questions for Level 2.

What is the process for validating 2FA is in place?
For publishing symbols, "portable PDBs" are mentioned. What about embedding the PDBs directly?
What benefits does the .NET Foundation build infra provide over the open source pools? Just more machines available for use?

Also had a couple of questions for Level 3.

Are there any resources the foundation will provide for hosting the documentation?
Are there any recommended tools for generating the documentation (dotnet/docfx maybe)?
Kindof a meta question to the "how does this work if you have an 'organization'". but how does "depends on libraries that are level #2 or higher" apply if, for example, the main project was in, but interop bindings used by the main project were not?
For the ".NET API design guidelines" note, how does that apply to the repo as a whole? For example, there are multiple places where we special case things in the framework (such as for interop bindings) or where an existing project has already shipped with conventions that don't necessarily follow these guidelines.
Could you elaborate on what it means by "seeks and applies guidance from .NET Foundation design and architecture group"?

Closing due to https://dotnetfoundation.org/blog/2019/09/30/rethinking-project-maturity-as-a-community-process


Allow to be embedded

Would you accept a PR that splits the "fetch using puppeteer" logic from the express portion? I'd like to use this in my own work, but I don't need to act as a server. I would also like to configure and re-use the browser instance between calls, even though the server instance may not take advantage of that.

It's better for you to use https://github.com/JimmyLaurent/cloudflare-scraper then.


Migrated survey UX bugs

[ ] submit survey button on the bottom does not update correctly for migrated surveys. The status circles work, but there's no change when pressing submit. The javascript UX likely has to be updated for migrated answers.
[ ] The survey reports for nested categorical questions (like the number of family members diagnosed in the about-my-family survey) do not display correctly.
[ ] Focus sometimes jumps to already-locked questions.

Moved part of this issue to Release 6.0: Issue #431


chore: promote nodeapp-night to version 0.0.8

chore: promote nodeapp-night to version 0.0.8
this commit will trigger a pipeline to generate the actual kubernetes resources to perform the promotion which will create a second commit on this Pull Request before it can merge

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign
You can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/approve

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: serverless-bot-726
To complete the pull request process, please assign
You can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/lgtm

@serverless-bot-726: you cannot LGTM your own PR.

In response to this:

/lgtm

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: serverless-bot-726
To complete the pull request process, please assign
You can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/lgtm

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: serverless-bot-726, smerrill726
To complete the pull request process, please assign
You can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/approve

New changes are detected. LGTM label has been removed.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: serverless-bot-726, smerrill726
To complete the pull request process, please assign
You can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/lgtm

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: serverless-bot-726, smerrill726
To complete the pull request process, please assign
You can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Fix display of version info to no longer include launcher version.

Found this bug while exploring the codebase, which was preventing the About dialog from displaying.

Thanks for making the PR.
I was able to reproduce this and found that I broke this in 5e484144224376f69aa1754ae728495d6ea76e28. I don't think we should put a try catch around this though but rather just change labelVersionData.text to be "{0}\r\n{1}" instead of "{0}\r\n{1}\r\n{2}" so that the error won't happen anymore.

Removed the try/catch. I did leave the update to the form layout so that the click-to-copy functionality captures the version information now (which I believe was the intent).

Ok, will try to test this soon

Squash merged from mobile :)


How to obtain the data from the 'forward' and 'generate' stages?

I used the same configuration file to test the model, but the results obtained are different from those of a month ago. In the result files from a month ago, data from both the forward and generate stages were included; however, the current generated result files only contain information from the prefill and decode stages. Here is the configuration file:
defaults:

backend: pytorch         # default backend
launcher: process        # default launcher
benchmark: inference     # default benchmark
experiment              # inheriting experiment schema
self                  # for hydra 1.1 compatibility
override hydra/job_logging: colorlog   # colorful logging
override hydra/hydra_logging: colorlog # colorful logging

experiment_name: pytorch_qwen7b
model: Qwen/Qwen-7B
device: cpu
launcher:
device_isolation: true
benchmark:
memory: true
input_shapes:
batch_size: 1
sequence_length: 256
new_tokens: 1000
hub_kwargs:
trust_remote_code: true
hydra:
run:
dir: runs/${experiment_name}
sweep:
dir: sweeps/${experiment_name}
job:
chdir: true
env_set:
OVERRIDE_BENCHMARKS: 1
CUDA_VISIBLE_DEVICES: 0
CUDA_DEVICE_ORDER: PCI_BUS_ID

Hi, please use this branch https://github.com/huggingface/optimum-benchmark/tree/0.0.1 as the repo is currently being heavily refactored to add a Python API along the existing CLI, and unifying these two interfaces.

I added a link to the old version with a note in the readme.
If including forward and generate results in text generation benchmark reports is useful to you I can add them but I think prefill and decode make more sense. tell me if you want me to include it.

prefill and decode

Thank you very much because initially, I wasn't quite clear about the relationship between them, which led me to ask this question. However, now I believe that 'prefill' and 'decode' should suffice for my purposes. Once again, thank you greatly.

I added a link to the old version with a note in the readme. If including forward and generate results in text generation benchmark reports is useful to you I can add them but I think prefill and decode make more sense. tell me if you want me to include it.

Thank you very much because initially, I wasn't quite clear about the relationship between them, which led me to ask this question. However, now I believe that 'prefill' and 'decode' should suffice for my purposes. Once again, thank you greatly.


to which id does mtclientid maps

There is setting mtclientid not sure to which id it must be mapped?
does it needs to be objectid of the registered app?
Thanks
Hemant

This will be the applicationId/clientId of the app registration which you would like to use for the login user authentication on the app.

Thank you @santhoshb-msft


Bot stops calling

Hello,
since yesterday the bot stops calling respawn times after the 1st wave.
Can this problem be caused from my internet connection or my provider blocking it somehow?

Hi,
Good question... Did you get logs in the terminal ?

i got this only once

tried a couple of times again after this error message but did not get it agian.
always same behavior after start: 1st wave counts down to respawn and after 1st wave bot stops to call

OK, you have the same problem as this issue => https://github.com/BigChicChicken/NW_TimerBot/issues/3
The problem come from your proxy, but I add some tests to prevent crashes if the application cannot call the api to get the time from the internet.
I invite you to download/clone this changes.

already downloaded this changes before i opend this issue here :/
I run the bot at this moment, same behavior again, 1st wave counts down to respawn and after 1st wave bot stops to call.

Yea, I confirm that the bot stops calling after the 1st wave.
The bot also freeze in discord and does not respond to anything and cannot be disconnected if we click on the stop button.
Regarding the fetcherror, I tried with another time api and it solved it.

hello whats the another time api ? to solve ?

Yea, I confirm that the bot stops calling after the 1st wave. The bot also freeze in discord and does not respond to anything and cannot be disconnected if we click on the stop button.
Regarding the fetcherror, I tried with another time api and it solved it.

so does this mean, the bug to stop calling got introduced with the last update? https://github.com/BigChicChicken/NW_TimerBot/commit/2d9552ef99bbc5f78d768b160328214a27093098

Yea, I confirm that the bot stops calling after the 1st wave. The bot also freeze in discord and does not respond to anything and cannot be disconnected if we click on the stop button.
Regarding the fetcherror, I tried with another time api and it solved it.

so does this mean, the bug to stop calling got introduced with the last update? 2d9552e

yes stopping after first call and when clicking stop button etc not working anymore

Hello, I found the fix :
adding this.configureNetworking(); on the line 1361 of this file located at<EMAIL_ADDRESS>

Fix #2 : https://github.com/discordjs/discord.js/issues/9185#issuecomment-1452514375

I invite you to download/clone new changes.


Also skip gwt compilation for the new tbroyer gwt-maven-plugin

Some context:
@yurloc is migrating some of our projects from using org.codehaus.mojo:gwt-maven-plugin to net.ltgt.gwt.maven:gwt-maven-plugin.
Some build steps within our jenkins automation are skipping (slow and unnecessary) gwt compilation by using -Dgwt.compiler.skip=true. However that property only skips compilation for the former plugin and has no effect on the latter.
To fix this I'm adding -Dgwt.skipCompilation=true (as described in the docs of the plugin) everywhere where the first property is already used. This is expected to speed-up some jobs by couple of minutes.
@mbiarnes @yurloc please check.

Rebased onto latest master to resolve merge conflicts. I think consider this ready to merge.

Rebased onto master again to resolve merge conflicts.


Updated Readme.md

Changed the screenshots and removed contribution guidelines file.

Great Work @ISHITA-ROY016


moving extension to subdirectory

move to subdir
add makefile

Note that this does break the ability to install from source via install-php-extensions - it can't deal with subdirectories. Now that we have PECL, I wouldn't expect much need to install from source?

Note that this does break the ability to install from source via install-php-extensions - it can't deal with subdirectories. Now that we have PECL, I wouldn't expect much need to install from source?

Yes, that should not be a problem, however IMO https://github.com/open-telemetry/opentelemetry-php-contrib/tree/main/src/AutoInstrumentationInstaller will require some update. I will test it

will require some update. I will test it

@pdelewski I will wait for your testing before I merge this. It will also require some updates to the opentelemetry.io docs

will require some update. I will test it

@pdelewski I will wait for your testing before I merge this. It will also require some updates to the opentelemetry.io docs

@brettmc I made few tests, lgtm. I will update autoinstaller later


Fix typo in tutorial

The text refers to a range between 0 and 100, but the example was written as 0..10i32.

Good catch, thanks!


Update perception-simulation.md

fixed nested numbered lists

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/perception-simulation.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


”Băneasa” is listed in the drop-down menu

Description:
"Băneasa" is listed in the drop-down menu alongside its corresponding county and commune, according to the law.
Precondition:
The website is up an running.

Step 1
Type "Băneasa" in the search bar.

Expected results
The location is listed in the drop-down menu as "Comuna Băneasa, GIURGIU".


Next episode button doesn't work for non-sequential episode numbering

Steps to reproduce

Open "Saiki Kusuo no Ψ-nan" on AnimePahe.
Play any episode.
Click the next episode button.

Expected behavior
The next episode should start playing.
Actual behavior
The video gets paused and nothing happens.
Crash logs
App did not crash.
Aniyomi version
<IP_ADDRESS>
Android version
Android 13
Device
Samsung Galaxy M32
Other details
The episodes are not sequentially numbered, but instead go Episode 1 > Episode 6 > Episode 11 ...
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is an issue with an extension, I should be opening an issue in the extensions repository.
[X] I have tried the troubleshooting guide.
[X] I have updated the app to version <IP_ADDRESS>.
[X] I have updated all installed extensions.
[X] I will fill out all of the requested information in this form.

This issue also appears in the player, if you've filter your episode list by unwatched. As soon as a current episode gets marked as watched by the player, the next button breaks, despite unseen content is still available.


add data questions data

using data from https://ardc.edu.au/resource/fair-data-self-assessment-tool/

merged PR #12, closing


feat(apps): verify that a bogus app url returns a 404

Since this has 2 LGTMs this is good to merge now.


navigation bar doesnt go away on api21

@kl3jvi Bro check out this website nextui.org
If u can plz use them....they look damn good in apps


Font used apparently without big Umlauts (Ä, Ö)

Cf.

Was not the font, but the line height to small for the dots


[bug] lancache server found but no response

Hello,
using docker, latest tag :
If i set my docker in the same host, no error.
If i use macvlan and set monolithic at <IP_ADDRESS> and lancache-dns at <IP_ADDRESS>, I get this result :
Lancache server found but no response.
`docker run -it --rm --net=host    --volume ~/.config/steam-prefill:/Config   tpill90/steam-lancache-prefill:latest   prefill
[4:43:20 PM] Starting login!
[4:43:21 PM] Connected to Steam!
[4:43:22 PM] Logged into Steam
[4:43:22 PM] Steam session initialization complete!
[4:43:25 PM] Starting Hacknet
[4:43:31 PM] Downloading 233.48 MiB
Error!  lancache.steamcontent.com is resolving to a private IP address (<IP_ADDRESS>),
however no Lancache can be found at that address.  The Lancache server may possibly not be running. Please check your
configuration, and try again.
LancachePrefill.Common.Exceptions.LancacheNotFoundException: No Lancache server detected at <IP_ADDRESS>
at async Task LancachePrefill.Common.LancacheIpResolver.IsLancacheServerRunningAsync(string cdnUrl)
at async Task LancachePrefill.Common.LancacheIpResolver.ResolveLancacheIpAsync(IAnsiConsole ansiConsole,
string cdnUrl)
at async Task SteamPrefill.Handlers.DownloadHandler.InitializeAsync()
at async Task SteamPrefill.Handlers.DownloadHandler.DownloadQueuedChunksAsync(List queuedRequests
, DownloadArguments downloadArgs)
at async Task SteamPrefill.SteamManager.DownloadSingleAppAsync(uint appId)
at async Task SteamPrefill.SteamManager.DownloadMultipleAppsAsync(bool downloadAllOwnedGames, bool prefillRecentGames,
int? prefillPopularGames, List manualIds)
[4:43:32 PM] Disconnected from Steam!`
As sound as that i set my docker using default network and ports, it works
Any ideas ?
Empireages

When you switch over to using monolithic on <IP_ADDRESS>, Steam is able to see it and successfully download?

Yes, if i set them at the same ip address, it works with no errors and steam is OK with that. tested with a steam game

I'm closing this out for now, since I haven't heard back from you.  Feel free to re-open this issue and we can resume looking into this.


KDoc Not Working in 4.0

Using KDoc on the examples included with the download doesn't seem to be working.
In k/tutorial/1_k/1_lambda/lesson_1 I tried:
> kompile lambda.k
> kdoc --format html --debug -v
Parse command line options                                   =    12

No html files are generated. I get similar results if I omit the --format option. Also, running:
> kdoc lambda.k

Has the same effect.
I am on macOS Sierra, but trying it on Windows 10 produces the same result.
Am I doing something wrong with kdoc?

Hi @jsinglet!  Unfortunately, this is a known issue:kdoc has not been implemented in K 4.0. There really should be a warning explaining the situation when someone calls kdoc so sorry for that.
I don't know if fixing kdoc is on anyone's todo list. I was in fact considering looking into this myself though I don't know how long it would take to get a complete fix working. Anyhow, thanks for opening up this issue; I will bring this up in our meeting tomorrow and ask if anyone is at least planning to work on this and if not I will consider taking some time to work on it.
@msaxena2 and @cos may be able to provide you with more information regarding the issue.

Hi @ayberkt! Is it possible to use a older version of kdoc with a newer version of kompile? I suspect not, but I figure I'd ask in case.

@jsinglet, it's been on our todo list for a while but we didn't get to it.
In some cases it's possible to compile the same program with K 3.6, and kdoc is available for it.


Use "newest" as default sort for zipkin-ui

Currently the zipkin-ui uses "Longest first " as default sort method.While I usually found that "newest" is used more frequently.
So , let's vote:
Which one do you prefer as an zipkin fan?
[A]Newest first
[B]Longest first
@adriancole

[A]

[A]

[A]

[A] according to the time series

a week and no screams for the other order and no alternatives mentioned. Switching and if someone yells, we'll know A wasn't unanimous

heh seems I smoked out a [B] from @basvanbeek

Typically the amount of spans happening in production make it so that newest first has little value. Inspecting slow paths is more likely. In dev newest first is preferable

I certainly agree that newest first is nice when you have very little data..

How about a compromise?  Use LocalStorage, or some such mechanism, to persist it.  So once I change it, it stays the way I want it for my use case.  Which is [A] ;)

Lol, I actually have been wanting to add LocalStorage/a cookie to the front-end to persist that setting for awhile.  I probably wouldn't do a config property for it personally.  But if I get any free time back I'll certainly take a stab.  God knows that won't be until after the Zipkin2 UI goes out though :(

[A] for me, though I agree that it depends
After starting the new environment I just want to see my test calls coming in and how long they take.
Once it is running, I would like [B] to catch the longest one. Maybe indeed an extra 'keep this setting' is nice.

@Logic-32 hopefully I can take some heavy lifting off. if you want to just attack this one, would be appreciated (the stickiness)
Wondering if we shouldn't change the default in the mean time.. it is an optimization question until sticky.. do we make it more difficult for existing users or new ones. Currently it is more difficult for new users and that not only annoys them but likely adds support pressure one way or another.

Let's do Newest with a cookie in Lens. In the "notable" section of to be written docs about lens vs classic, we should mention that newest has disadvantages mentioned here.

Current behavior in Lens is that it resets to "Duration descending" i.e. "Newest first" each time you click on the Query button. This is a bit annoying. @tacigar seems like low hanging fruit for a 10x UI champ like you ;-)


temp_dir::tests::test_directory_randomness does not complete

On the main branch:
guilload@mandrill ~/W/r/quickwit (main)> cargo test --manifest-path quickwit/Cargo.toml -p quickwit-common --lib -- --nocapture test_directory_randomness
test temp_dir::tests::test_directory_randomness has been running for over 60 seconds

Which OS is this?

macOS m2.

I bet is running on a non case-sensitive APFS. I should have thought of that 🤦 Fix is coming in a sec.

Good catch :)


Only support PHP 7

Now that PHP 7.1 is out, i consider dropping PHP 5.6 support.
This will allow us to take advantage of 7.x features like typehinting etc.
Also PHP 5.6 becomes end of life end of the year.

I think it's a good idea. There are now two 7.x releases, and 7.0 has been out for over a year.  The performance improvements are also very significant.


[SPARK-17894] [CORE] Ensure uniqueness of TaskSetManager name.

What changes were proposed in this pull request?
TaskSetManager should have unique name to avoid adding duplicate ones to parent Pool via SchedulableBuilder. This problem has been surfaced with following discussion: [PR: Avoid adding duplicate schedulables]
Proposal :
There is 1x1 relationship between stageAttemptId and TaskSetManager so taskSet.Id covering both stageId and stageAttemptId looks to be used for uniqueness of TaskSetManager name instead of just stageId.
Current TaskSetManager Name :
var name = "TaskSet_" + taskSet.stageId.toString
Sample: TaskSet_0
Proposed TaskSetManager Name :
val name = "TaskSet_" + taskSet.Id  // taskSet.Id = (stageId + "." + stageAttemptId)
Sample : TaskSet_0.0
How was this patch tested?
Added new Unit Test.

Can one of the admins verify this patch?

cc @kayousterhout @markhamstra

Thanks @kayousterhout for the comments. They are addressed.

Jenkins, test this please

Thanks @kayousterhout for review again. Jenkins did not start to build and run the tests.

Jenkins, this is OK to test

I think Jenkins can not be triggered ;) Is there any other way to trigger?

Jenkins test this please

Thanks @kayousterhout for support but I think problem still continues. Is there any contact to get support?

Jenkins, retest this please

Test build #67349 has started for PR 15463 at commit cd6d240.

Whoa!  Jenkins disrespects @kayousterhout -- bad Jenkins!  Or did you actually fix something @shivaram ?

Hah - I wish I had that much insight into Jenkins. I just think it was just flaky esp. given the github DNS issues.

Test build #67349 has finished for PR 15463 at commit cd6d240.

This patch fails from timeout after a configured wait of `250m`.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/67349/
Test FAILed.

Thanks all for the support. Jenkins looks failed due to timeout.
Jenkins, retest this please

Jenkins, retest this please

Test build #67399 has started for PR 15463 at commit cd6d240.

Test build #67399 has finished for PR 15463 at commit cd6d240.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/67399/
Test PASSed.

Thanks all. Patch looks passed on Jenkins so it is ready to merge if there is no extra comments ;)

LGTM; merged to master


how to redirect correctly in route  (koa, koa-router with socket.io and polymer)

Hi, I'm trying to redirect in a route but get the '"Can't set headers after they are sent" error, what is the correct approach to redirect in Koa on server side, want to keep all routing on the server
thanks
router.get('/',` async (ctx, next) => {
   ctx.body = await fs.createReadStream(__dirname+'/index.html');
    io.of('/index').on('connection', function (socket) {

     //more socket.on stuff...

      //client sent which menu item we clicked
      socket.on('ironPage', async (reqObj) => {
        switch (reqObj) {
          case 'item5':
          ...
         case 'item6':
            await ctx.response.redirect('/role');
          };
        });
    });
 });

...

router.get('/role.....

You'll need to return a promise that resolves when the response has finished. With that code, koa has no way of knowing when it can go ahead and send the response. It'll be a bit more complicated since you're using events, you could either create your own promise or try to use event-promise.

cheers

i guess this means the issue has been solved. feel free to reopen if otherwise

Thanks, actually it means I'm trying to figure it out myself before I ask again, will come back if no result

@PlasmaPower could you give a link to event-promise repository? Is it this repo?

Sorry, I meant event-to-promise. NPM which has a GitHub link.

thank you!

thanks, will try that, event-to-promise also has a ES6 pattern example for the babelized


"Error: No such command 'runserver_plus'" when started in debugger

Hi,
Using runserver_plus in a shell works well. But when I launch it in debugger (with a codium/vscode debug task) I get the following error:
(venv) user@localhost:~/src/app$  cd /home/user/src/app ; /usr/bin/env /home/user/src/app/venv/bin/python /home/user/.vscode-oss/extensions/ms-python.python-2022.18.2-universal/pythonFiles/lib/python/debugpy/adapter/../../debugpy/launcher 35789 -- /home/user/src/app/ListMachine/manage.py runserver_plus
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
 * Running on http://<IP_ADDRESS>:8000
Press CTRL+C to quit
 * Restarting with watchdog (inotify)
Usage: __main__.py [OPTIONS] COMMAND [ARGS]...
Try '__main__.py --help' for help.

Error: No such command 'runserver_plus'.

(Django version 4.1.2, django-extensions 3.2.1)
Other commands works in debugger with the same launch task (ex. shell_plus works well if I just replace runserver_plus command). So I guess the virtualenv is not involved.
The launch task is:
        {
            "name": "Django server",
            "type": "python",
            "request": "launch",
            "program": "${workspaceFolder}/ListMachine/manage.py",
            "args": [
                "runserver_plus",
            ],
            "django": true,
            "justMyCode": true,
            "console": "integratedTerminal",
        }

virtualenv path is configured at codium level.
Any idea? I can investigate if someone gives some advises.

Ok, answering myself... In case it helps, the command work only if the working directory is the root of manage command. So the configuration needs to include a cwd option:
        {
            "name": "Django server",
            "type": "python",
            "request": "launch",
            "cwd": "${workspaceFolder}/app/",
            "program": "manage.py",
            "args": [
                "runserver_plus",
            ],
            "django": true,
            "justMyCode": true,
            "console": "integratedTerminal",
        },


Add unit test framework and CI job to execute it

It is unclear to me what this means. However, i think we have CI in place and we are adding unit tests for included changes. So suggest we close this ticket

agreed.  closing.


Update availability guard on tests

Some tests are currently broken because of unavailable APIs
Motivation:
We want tests to build.
Modifications:
Update availability guard
Result:
Tests build on all platforms

@swift-server-bot test this please


How to migrate Data from v2.3.7 to v3.2.4

Description
First, i have a etcd-cluster with v2.3.7, data-dir is /data/etcd, run on host-1/host-2/host-3
Then,  i have a new etcd-cluster with 3.2.4, data-dir is /data/etcd, run on host-4/host-5/host-6
What's i want
And i want to migrate the Data from the old-cluster(v2.3.7) to the new-cluster(v3.2.4).
I had saw some documents, but i didn't find what I wanted. If there has some documents can help me?
End
If I don't have a clear description, please advise. Thank you for seeing this ISSUE.

Have you checked https://github.com/coreos/etcd/blob/master/Documentation/upgrades/upgrading-etcd.md?

@gyuho Yeah, i checked it.
According to this URL, it looks like i can only upgrade from v2.3 to v3.0, and then from v3.0 to v3.1, and from v3.1 to v3.2. I need step by step upgrade,  is that so?

@penglongli Yes, right.


Hey Dan have you looked at this?

https://github.com/cambecc/earth
https://earth.nullschool.net/
https://mapbox.github.io/webgl-wind/demo/
https://github.com/mapbox/webgl-wind
https://github.com/windycom/API?tab=readme-ov-file

This is great stuff! None of this is out of the box, but I can certainly leverage much of this when implementing wind visualization. Tagging this for #163, and also dependent on pulling wind data (#162).

This is great stuff! None of this is out of the box, but I can certainly leverage much of this when implementing wind visualization. Tagging this for #163, and also dependent on pulling wind data (#162).

I got an XOVER going on with two memory bitmaps and blitting the combined results based on alpha levels. I'm trying to compare particle paths to detect crossovers and mark those points with a certain brightness intensity of a default color such as white in a gradient scale from the lowest shear angle to the most likely shear angle. Maybe between 45° and 90°


germanous, chasmogamous (logical-conflict)

This pull request was generated by the 'mq' tool

/trunk merge


Uncssrc report

Coverage remained the same at 100.0% when pulling 43639264e1be1389d0768f12eadb283b7c6d01bb on uncssrc-report into a1b7b7abc8e0269885f04e4f7628e400b3f07e40 on master.

Coverage remained the same at 100.0% when pulling 43639264e1be1389d0768f12eadb283b7c6d01bb on uncssrc-report into a1b7b7abc8e0269885f04e4f7628e400b3f07e40 on master.


Unable to install node-sass globally on Linux

NPM version.
5.6.0
Node version.
v9.4.0
Node process.
{ http_parser: '2.7.0',
node: '9.4.0',
v8: '6.2.414.46-node.17',
uv: '1.18.0',
zlib: '1.2.11',
ares: '1.13.0',
modules: '59',
nghttp2: '1.29.0',
openssl: '1.0.2n',
icu: '60.1',
unicode: '10.0',
cldr: '32.0',
tz: '2017c' }
Node platform.
linux
Node architecture.
x64
Repro steps.
npm install -g node-sass (as root)
The log given by the failure.
The following repeats itself forever:

/usr/bin/node-sass -> /usr/lib/node_modules/node-sass/bin/node-sass
><EMAIL_ADDRESS>install /usr/lib/node_modules/node-sass
> node scripts/install.js
Unable to save binary /usr/lib/node_modules/node-sass/vendor/linux-x64-59 : { Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/node-sass/vendor'
at Object.fs.mkdirSync (fs.js:905:18)
at sync (/usr/lib/node_modules/node-sass/node_modules/mkdirp/index.js:71:13)
at Function.sync (/usr/lib/node_modules/node-sass/node_modules/mkdirp/index.js:77:24)
at checkAndDownloadBinary (/usr/lib/node_modules/node-sass/scripts/install.js:111:11)
at Object. (/usr/lib/node_modules/node-sass/scripts/install.js:154:1)
at Module._compile (module.js:660:30)
at Object.Module._extensions..js (module.js:671:10)
at Module.load (module.js:573:32)
at tryModuleLoad (module.js:513:12)
at Function.Module._load (module.js:505:3)
errno: -13,
code: 'EACCES',
syscall: 'mkdir',
path: '/usr/lib/node_modules/node-sass/vendor' }
><EMAIL_ADDRESS>postinstall /usr/lib/node_modules/node-sass
> node scripts/build.js
Building: /usr/bin/node /usr/lib/node_modules/node-sass/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
gyp info it worked if it ends with ok
gyp verb cli [ '/usr/bin/node',
gyp verb cli   '/usr/lib/node_modules/node-sass/node_modules/node-gyp/bin/node-gyp.js',
gyp verb cli   'rebuild',
gyp verb cli   '--verbose',
gyp verb cli   '--libsass_ext=',
gyp verb cli   '--libsass_cflags=',
gyp verb cli   '--libsass_ldflags=',
gyp verb cli   '--libsass_library=' ]
gyp info using<EMAIL_ADDRESS>gyp info using<EMAIL_ADDRESS>| linux | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb which succeeded python2 /bin/python2
gyp verb check python version /bin/python2 -c "import platform; print(platform.python_version());" returned: "2.7.14\n"
gyp verb get node dir no --target version specified, falling back to host node version: 9.4.0
gyp verb command install [ '9.4.0' ]
gyp verb install input version string "9.4.0"
gyp verb install installing version: 9.4.0
gyp verb install --ensure was passed, so won't reinstall if already installed
gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/9.4.0"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/lib/node_modules/node-sass/.node-gyp"
gyp verb tmpdir == cwd automatically will remove dev files after to save disk space
gyp verb command install [ '9.4.0' ]
gyp verb install input version string "9.4.0"
gyp verb install installing version: 9.4.0
gyp verb install --ensure was passed, so won't reinstall if already installed
gyp verb install version not already installed, continuing with install 9.4.0
gyp verb ensuring nodedir is created /usr/lib/node_modules/node-sass/.node-gyp/9.4.0
gyp WARN EACCES user "root" does not have permission to access the dev dir "/usr/lib/node_modules/node-sass/.node-gyp/9.4.0"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/lib/node_modules/node-sass/.node-gyp"
gyp verb tmpdir == cwd automatically will remove dev files after to save disk space
gyp verb command install [ '9.4.0' ]
gyp verb install input version string "9.4.0"
gyp verb install installing version: 9.4.0
gyp verb install --ensure was passed, so won't reinstall if already installed
gyp verb install version not already installed, continuing with install 9.4.0
gyp verb ensuring nodedir is created /usr/lib/node_modules/node-sass/.node-gyp/9.4.0
AND INFINITE LOOP ...

Desired functionality.
Install to be working
Mention any other details that might be useful.
Same behavior in Ubuntu 16.04 LTS and Fedora 27

I think this is a real node-sass problem, as I have no such problem with any other npm package, and I'm having the same problem.


Eager/Spda Attention have lower results compared to Flash Attention in simcse stage

Hi @vaibhavad,
I tried to reproduce the simcse stage of the framework. While using flash attention, the results are as good as reported. However, when trying to train on eager or spda attention, the outcome has a significant drop. What might be the potential reason?
In your code, you describe an error as "'LLM2Vec models were trained with flash attention enabled. For optimal performance, please install the flash_attn package with pip install flash-attn --no-build-isolation." Does that mean if I train the mntp stage using eager/spda attention as well, the performance would be on par with the flash attention?
Thank you!

Hi @ThonyPan,
Unfortunately we have not run experiments comparing different attention implementations, so I cannot say anything about performance differences. We chose flash attention as it is the fastest, and latency is crucial for both training and inference.

Hi @ThonyPan
Did you successfully reproduce the results of MNTP+SimCSE? I have successfully reproduced Sheared-LLaMA-1.3B SimCSE, but the results of MNTP+SimCSE are consistently lower than those reported in the paper. Could you share your training details?


Various changes and improvements

i'll do a few smaller commits to make this more manageable for you!
and also to practice my use of GitHub Desktop
if I could have done this in a better way, please let me know

Yes, parameterising w makes sense!


dask_searchcv not found

I am getting dask_searchcv not found. Installed this from conda-forge. Also created new env but get the same error.
Thank You!
$ conda install -c conda-forge dask dask-core dask-searchcv

$ conda list | grep dask
DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.
dask                      0.15.3                     py_0    conda-forge
dask-core                 0.15.3                     py_0    conda-forge
dask-searchcv             0.1.0                      py_0    conda-forge
 $ python
Python 2.7.13 | packaged by conda-forge | (default, May  2 2017, 12:48:11)
[GCC 4.8.2 20140120 (Red Hat 4.8.2-15)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import dask_searchcv
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named dask_searchcv

This is not a bug in dask but rather in how you're installing it. Are you sure you're in your environment? I am unable to reproduce.
(dask) jcrist dask $ conda install -c conda-forge dask-searchcv
Fetching package metadata .............
Solving package specifications: .

Package plan for installation in environment /Users/jcrist/anaconda/envs/dask:

The following NEW packages will be INSTALLED:

    dask:          0.15.0-py35_0 conda-forge
    dask-searchcv: 0.1.0-py_0    conda-forge
    distributed:   1.16.1-py35_0 conda-forge

The following packages will be UPDATED:

    toolz:         0.8.0-py35_0  conda-forge --> 0.8.2-py_2 conda-forge

toolz-0.8.2-py 100% |############################################################################################################################################################| Time: 0:00:00 460.05 kB/s
dask-0.15.0-py 100% |############################################################################################################################################################| Time: 0:00:00   1.06 MB/s
distributed-1. 100% |############################################################################################################################################################| Time: 0:00:00   1.02 MB/s
(dask) jcrist dask $ python -c "import dask_searchcv;print(dask_searchcv.__version__)"
0.1.0

In particular, make sure that the python on your path is the same as your conda.
which conda
which python.

I think that is the problem, we will fix and post and update so google can
find the answer in the future.
On Fri, Sep 29, 2017 at 6:45 AM, Tom Augspurger<EMAIL_ADDRESS>wrote:

In particular, make sure that the python on your path is the same as your
conda.
which conda
which python.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask/issues/2728#issuecomment-333094605, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AD0RIkfry214R34opNqMJsf3M-wz0--Lks5snMpagaJpZM4PoHaE
.

Closing this for now as it's unrelated to dask. If you find the solution to your problem please post it here so it's google-able.


Audible ping?

(See #13)
This isn't as easy as I'd thought, because CliWrap/script doesn't seem to pass the bell (ctrl-B?) through. And we don't currently really have a machine-readable notion of whether a particular ping succeeded. Do we parse the output and then ping ourselves? (Hrm.)

[x] UI
[x] Preferences
[x] Command line generation
[ ] Actually beeping

CliWrap/script doesn't seem to pass the bell (ctrl-B?) through

Turns out it does.


fix(crystal): correctly highlight !~ after def

It is simple edge case fix.
For example, this code:
def !~
end

is currently highlighted as:
def !~(other)
end

But correct highlight is:
def !~(other)
end

Thank you.

Oh Crystal doesn't have an param highlighting or anything, interesting.
@MakeNowJust Thanks for the contribution, looks good.


dark mode and UI fix

closes #497
📑 Description
Adds dark mode in Docs and UI tweaks
✅ Checks

[ ] I have updated the documentation as required
[x] I have performed a self-review of my code

Additional context

@petar-cvit PTAL!

@petar-cvit A gentle reminder to review.


[Bug]: Only has the permission to change the database, and the login database button is grayed out

ODC version
ODC 4.2.4
OB version

What happened?

Only has the permission to change the database, and the login database button is grayed out
What did you expect to happen?
Only has the permission to change the database, and the login database button is not grayed out.
How can we reproduce it (as minimally and precisely as possible)?
Only have change permissions for databases.
Anything else we need to know?
No response
Cloud
No response

Fixed In Commit 139342f8bae6009995f303971e8d83bb141a6d6a
------
咏和
Tue Mar 12 14:07:26 2024 +0800


window run dev always crash

System Info
System:
OS: Windows 10 10.0.19045
CPU: (4) x64 Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz
Memory: 545.47 MB / 15.89 GB
Binaries:
Node: 14.21.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.11 - ~\AppData\Roaming\npm\yarn.CMD
npm: 6.14.17 - C:\Program Files\nodejs\npm.CMD
Browsers:
Chrome: bookmarks.html
initial_preferences
Edge: Spartan (44.19041.1266.0), Chromium (115.0.1901.183)
Internet Explorer: 11.0.19041.1566
Details
13 verbose stack Error<EMAIL_ADDRESS>dev: rspack serve
13 verbose stack Exit status<PHONE_NUMBER>
13 verbose stack     at EventEmitter. (C:\Users\zhangpan\AppData\Roaming\nvm\v14.21.0\node_modules\npm\node_modules\npm-lifecycle\index.js:332:16)
13 verbose stack     at EventEmitter.emit (events.js:400:28)
13 verbose stack     at ChildProcess. (C:\Users\zhangpan\AppData\Roaming\nvm\v14.21.0\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
13 verbose stack     at ChildProcess.emit (events.js:400:28)
13 verbose stack     at maybeClose (internal/child_process.js:1088:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:296:5)
14 verbose pkgid<EMAIL_ADDRESS>15 verbose cwd D:\zhangpan\gcb-web-app
16 verbose Windows_NT 10.0.19045
17 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "run" "dev"
18 verbose node v14.21.0
19 verbose npm  v6.14.17
20 error code ELIFECYCLE
21 error errno<PHONE_NUMBER>
22 error<EMAIL_ADDRESS>dev: rspack serve
22 error Exit status<PHONE_NUMBER>
23 error Failed at the<EMAIL_ADDRESS>dev script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [<PHONE_NUMBER>, true ]
Reproduce link
No response
Reproduce Steps
1、rspack serve

This issue will be closed because there is no reproduce link.
Feel free to comment and reopen it if you have any further questions. For background, see Why reproductions are required.


Pass all inputs to ./lib and ./hosts and add hosts module arg

should help with #163. Fixes #169
But either way this could be generally useful. I have one use case of setting up a minecraft bungeecord proxy with servers on different hosts.

This looks fairly benign, perhaps a usage example in the docs would be pertinent

Agreed a usage example would be nice. I'm not sure where to put one. This change could be useful for profiles, modules, and hosts. But I guess hosts would still be the best place to include it.

Actually, I was wanting to add a section to the docs, something like Common Usecases or something to that effect. Perhaps it would be best there.

Yeah that would be perfect

If we do add multiPkgs in the other PR, we could document both as special arguments available to hosts.

switched to use _module.args based on comment in nixpkgs/lib/modules.nix. hosts arg should never be used in an imports line - evaluated modules can't be imported again,.

I increased the scope of this PR to cover #169. Now lib functions can access self and any input. And inputs is passed as a special arg, since that could be used in an imports statement, while self is passed as a module arg.

LGTM
I think it might be still too early for a smdocumented usage example. As I understand it, this idea came up towards a possible way reacting to another hosts configuration. That is mostly it's identity (hostname, ip, systemd machine id, — maybe static link local ipv6?)
r

Yeah exactly, although with self and inputs I think this PR has more value. It is now an alternative method of passing inputs to your hosts instead of extern. So for mobile-nixos you can't use the extern modules section, because you can't add the pinephone module to all hosts. So using the inputs specialArg would be better. You can also use self.packages for cross compiling.
I don't know much about wireguard, but I would imagine that you might need to know information about other hosts to create the config for each host.

I carved out the self part in #189 so that we can reason about inputs and hosts independently and also to unblock #168

I think either way we're blocked due to the ci issues. And I think this PR is pretty much ready to merge.

So this PR now only covers passing inputs to lib and hosts. And it adds the hosts module arg as a convenience.

Do we actually want to pass inputs to ./hosts? see https://github.com/divnix/devos/issues/190#issuecomment-800610201

My reasoning is theres no harm in doing so. And it helps with flakes containing nixosModules that you only want in one host.

And it helps with flakes containing nixosModules that you only want in one host.

Is this an issue despite lazy evaluation? (sorry my ignorance)

And extern doesn't cover all use cases with inputs

Did you have any specific use case in mind?

My reasoning is theres no harm in doing so.

Well, it dilutes the interface. I don't think that's good on such a general basis which affects ./profiles and ./modules downstream. Or at least we should have a clear picture of what our interfaces are here.

I removed that part. I realize its a pretty niche use case and also I can just do it manually in extern with an inherit inputs;.

Thank you @Pacman99 for all this inspiration and thought fodder.
Interaction / discussion has it all! :heart:

Thank you @Pacman99 for all this inspiration and thought fodder.
Interaction / discussion has it all! heart

Indeed it does! Thank you too!

Also this is back to its original state, just adds hosts module arg. So I think its ready to merge.

bors delegate+

bors r+


Incremental resolver adds multiple copies of interface

Input
In the course of #1655 it came up that the incremental resolver will add redundant copies of interfaces (but not parent classes) leading to replicated errors. (This error does not appear on sorbet.run.)
# typed: true
module Iface
  extend T::Sig
  extend T::Helpers
  interface!
  sig { abstract.void }
  def foo; end
end

class A
  include Iface
  extend T::Sig
  sig { implementation.params(x: Integer).void }
  def foo(x); end
end

Observed output
./s1.rb:246: Implementation of abstract method Iface#foo must accept no more than 0 required argument(s) https://srb.help/5035
     246 |  def foo(x); end
            ^^^^^^^^^^
    ./s1.rb:239: Base method defined here
     239 |  def foo; end
            ^^^^^^^

./s1.rb:246: Implementation of abstract method Iface#foo must accept no more than 0 required argument(s) https://srb.help/5035
     246 |  def foo(x); end
            ^^^^^^^^^^
    ./s1.rb:239: Base method defined here
     239 |  def foo; end
            ^^^^^^^
Errors: 2

Expected behavior
Only one copy of the error.

This doesn't repro neither on sorbet.run nor in our test suite.


feat: add DB initialization module

This provides an interface defining the methods that we expect to be used for OV handling operations.
Added an implementation for sqlite and postgress. I have been unable to make the implementation more generic (aka just one definition of each of the functions of the lib) with a trait with two generic types instead of one, because the Connection trait (which holds SqliteConnection and PgConnection) cannot be made into an object. But I'm happy to learn how to refactor it if someone has ideas.
Added db creation files and tests, the PR is marked as draft since I still need to wire the tests to our upstream CI, making just the sqlite dependencies required, we don't want to install a postgresql server.
Update: This also adds the capability to select the DB storage method in the relevant server configuration files, the store interface implementation, and two new functions in the fdo-owner-cli in order to export OVs from the manufacturing server and import OVs into the owner-onboarding server.

Moving this PR back to draft since we need separate sql initialization files.

Tests blocked due until  https://github.com/puiterwijk/rust-openssl-kdf/pull/16 goes in

Force pushed to get the openssl-kdf update in.

Onboarding with DB sqlite implementation done, I need to take care of a couple of things: warnings on CI, add more tests, rewrite some commit messages (maybe merge some of the last commits). Then add the postgreslq part.

I'm moving some commits around and merging some others to make the PR more readable.

Added fix(data-formats): error when trying to parse an empty slice and moved it up before the fdo-owner-tool additions since the empty slice check is related to the new OV import cli method.

@nullr0ute I have a packaging question: we will need to add all the new migrations_* folders to the different RPMs (those folders hold, for each database and server type, the sql files that initialize the database), where would be place those folders?

Rebased on main, added docs.

Fixed some typos

@7flying Test for postgres added. Could you please give it a review? Thanks.

@7flying Test for postgres added and passed. Could you please give it a review? Thanks.

LGTM, we are testing what we need, thanks :+1:

Rebased on main, changed .sql files' install dir to %{_localstatedir}/lib/fdo/migrations

Rebased on main, changed .sql files' install dir to %{_localstatedir}/lib/fdo/migrations

reverted that to %{_docdir}/fdo

this force-push reverts some of David's changes since he unknowingly deleted my new commit with his force-push, he will add his new changes later

Force pushed to update the docs commit, all ready.

The force-push addresses @djach7 comments

There are some things that look a bit strange to me like putting Manufacturer, Owner and Rendevouz traits and implementations in what should be a place for common things only. I would move all that code to the corresponding server dirs and leave the common code, if any, in the db directory.

Due to the way in which we control how the storage methods are selected in the configuration files, the common code needs to be placed in the store module, not in the db module, so that's why the common code is already there.
The rest of the code, which are the sqlite and postgres implementations, is in a different module so that we can control via the module features which things we can turn on or off.


Bang methods in the README example

It seems to me that bang methods in a state machine model suggests that the change in state will be saved. I think it's better not to use ! in the example code. What do you think?

This can be closed now :-)