✨ feat: created a  html file for booklets page.

Description
Created a html file for booklets page. #9
Type of change

[x] New feature (non-breaking change which adds functionality)
[ ] This change requires a documentation update

Checklist

[x ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

Good attempt closing this pr as it is already done, please pick another issue


Language client is not ready yet

1.22 insiders, no extensions.
Logged to the console when I open the workbench:
ERR Language client is not ready yet: Error: Language client is not ready yet
at LanguageClient.sendRequest (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/css-language-features/node_modules/vscode-languageclient/lib/client.js:1546:19)
at Object.provideFoldingRanges (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/css-language-features/client/out/cssMain.js:88:27)
at /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:653:882
at /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:95:387
at new n.Class.derive._oncancel (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:75:378)
at Object.t.asWinJsPromise (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:95:350)
at e.provideFoldingRanges (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:653:836)
at /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:663:557
at e._withAdapter (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:654:925)
at e.$provideFoldingRanges (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:663:519)
at e._doInvokeHandler (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:594:395)
at e._invokeHandler (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:594:113)
at e._receiveRequest (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:593:237)
at e._receiveOneMessage (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:593:6)
at /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:592:75
at /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:594:929
at /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:87:30
at e.fire (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:88:263)
at Socket. (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:142:487)
at emitOne (events.js:96:13)
at Socket.emit (events.js:191:7)
at readableAddChunk (_stream_readable.js:178:18)
at Socket.Readable.push (_stream_readable.js:136:10)
at Pipe.onread (net.js:560:20)

Should be fixed in build 0a42355840f1e0f1ebd00565dc2b6d47a3b2e98f

this is happening for me in Version 1.23.0-insider (1.23.0-insider)
cc @fiveisprime

I too get this error in 1.23.0-insiders and one of the plugin red hat's Language Support for Java does not work.

@johnpapa @shankarramr Please file new issues containing the stack trace you get.


Harmonize command names

In the following commands :
  safepush ppush           # run your favorite linter, then push on github
  safepush ppushtest       # run your favorite linters and tests, then push on github
  safepush prontorun       # launch pronto with a return message
  safepush ptest           # launch the test suite, then pronto if it is successful
  safepush pushandpr       # push your code on github, and open a PR if it is the first time
  safepush test            # launch the test suite with a return message

I feel that the name of the commands could be harmonized:

ppush and ptest: we use a shorthand p for pronto, but push and test are full words
ppushtest: shouldn't the test be before the push?
ptest: the documentation says that pronto is after the test, but p is before test
prontorun: we use the word pronto here, but p elsewhere
prontorun: the word run sounds superfluous since we don't use it on other commands
pushandpr: the and sounds superflous since we don't use it on other commands
push: exists but is not documented

New commands
I'd like to suggest a new naming scheme where each word marks an action that you want to do:

test (t) : launch rspec and break on spec failure
lint (l) : launch pronto and break on lint failure
push (p) : git push
open (o) : open a new PR (or the current PR if we can) in GitHub

You would list all actions seperated by spaces, or use a shorthand:
$ safepush test lint push open
$ safepush tlpo

The current commands would be equivalent to:

Before
After
Shorthand

safepush ppush
safepush lint push
safepush lp

safepush ppushtest
safepush lint test push
safepush ltp

safepush prontorun
safepush lint
safepush l

safepush ptest
safepush test lint
safepush tl

safepush pushandpr
safepush push open
safepush po

safepush test
(same)
safepush t

safepush push
(same)
safepush p

One benefit apart from harmonization is that people can choose to lint before they test or decide to push before a test and lint. Since we have 4 basic commands, that means we can have a combination of 64 possible commands, but decided by the user.

\o/


能用作文本分类吗

不能，命名实体识别任务
CCER-2019<EMAIL_ADDRESS>于 2021年1月5日周二 17:06写道：

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/HandsomeCao/Bert-BiLSTM-CRF-pytorch/issues/7, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AENIJXXHC7M5X54UGP4H5Y3SYLJDBANCNFSM4VUUZXNQ
.

不能，命名实体识别任务
CCER-2019<EMAIL_ADDRESS>于 2021年1月5日周二 17:06写道：

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/HandsomeCao/Bert-BiLSTM-CRF-pytorch/issues/7, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AENIJXXHC7M5X54UGP4H5Y3SYLJDBANCNFSM4VUUZXNQ
.


Specify exact project in -targets query

If a .sln file is in the current working directory, -ts will return an error. Instead guide users to specifying a specific project to query about its targets.

@ghogen Is there an established pattern to the "insert your specific project here" in sample command lines that I should use instead?

@ghogen

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@rainersigwald. The formulation you're using is suited for the purpose here, so I think we should accept it and publish. We also can use substitution elements with delimiters. We used to use angle brackets, but those don't always work well since they can get interpreted as HTML or XML tags. So I now prefer to use curly braces, as in {path to project}.


remove this shitty feature

dumbest feature ever
no test, no pain, if it still work it's magic ✨

just don't forget to remove the content from your cdn

I'll ask @GabeeTheFinch for review

After careful consideration and respectful reviewing.
No.

No.


[crashtracker] Enable dynamic updating of metadata at runtime

What does this PR do?
Makes the CrashtrackerMetadata dynamically updatable, rather than fixed at crashtracker startup.
Motivation
Ruby allows the user to update tags on the fly, so we need to support that.
Additional Notes
This will also be useful for a sidecar setup, where we would want to keep the metadata local until its time to upload.
How to test the change?
Run the test_crash test in crashtracker/api, and notice that the extra tag is output in the crash report.
For Reviewers

[ ] If this PR touches code that signs or publishes builds or packages, or handles credentials of any kind, I've requested a review from @DataDog/security-design-and-guidance.
[ ] This PR doesn't touch any of that.

The way that the "endpoint" gets configured in Ruby is also dynamic, and can also change when configuration via code is used. Would it be possible to also allow that to be reconfigured?


where are logs or notifications of camera stream usage?

@mhamidjamil I've noticed that the webcam was accessed briefly, raising concerns about potential unauthorized use. To address this, we should prioritize implementing a notification system that alerts the user whenever any camera is accessed. Additionally, it is essential to move both the ntfy and .env files to the project scope, ensuring they are managed consistently across the entire project. This will enhance security and provide better control over access to these critical files.

fixed in #145


Is there a way to Generate only Models and skip query file

Can i generate only table models skipping query and extra ORM part
Yes its developer friendly and more secure as mentioned in https://github.com/go-gorm/gen/issues/220 but would be great if we get extra option to generate only models

@avvineed
g.GenerateModel("company")
g.GenerateModelAs("people", "Person", gen.FieldIgnore("address")))
g.Execute()

yes, had tried it just create below files.
db
├── query
│   └── gen.go
no Model files

try upgrade to latest version

yes, worked with latest version
thank you


Multiple changes in one PR (sorry)

There is some documentation in Changes_James.txt and more detail in docs/examples .docx.
Summary. I've added extra parameters to node, edge and record to allow more to be defined, and changed the parameters in edge so you can create objects with to, from, label, style and direction properties and pipe them into edge.
To go with record I created a cells function.
To make it easier to set-up and pass attributes I've made commands for creating edge and node attribute sets (with parameter completers).
Finally to go with the work I was doing where I needed the output to go to std-out I made a mod so a an empty string passed as the destination path does that - but not passing anything selects a random file name.  That allows SVG files to be sent to a (Jupyter) Notebook with .NET interactive :)
Sorry to drop multiple changes on you, feel free to use or discard as you see fit.
J

Awesome work, lots of good ideas. It will take me a bit to review these changes but I appreciate the effort you put into it. I may publish it as a 2.0 prerelease version.


Merge 4-4 updates to live

Docs Build status updates of commit 2f1fd51:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

access/Concepts/Miscellaneous/error-in-evaluating-a-partial-expressionerror-3656.md
:white_check_mark:Succeeded
View

api/Excel.AddIns2.Add.md
:white_check_mark:Succeeded
View

api/Excel.Application-graph-object.md
:white_check_mark:Succeeded
View

api/Excel.Application-graph-property.md
:white_check_mark:Succeeded
View

api/Excel.Application.Hwnd.md
:white_check_mark:Succeeded
View

api/Excel.Application.IgnoreRemoteRequests.md
:white_check_mark:Succeeded
View

api/Excel.Application.InchesToPoints.md
:white_check_mark:Succeeded
View

api/Excel.Application.InputBox.md
:white_check_mark:Succeeded
View

api/Excel.Application.Interactive.md
:white_check_mark:Succeeded
View

api/Excel.Application.International.md
:white_check_mark:Succeeded
View

api/Excel.Application.Intersect.md
:white_check_mark:Succeeded
View

api/Excel.Application.IsSandboxed.md
:white_check_mark:Succeeded
View

api/Excel.Application.Iteration.md
:white_check_mark:Succeeded
View

api/Excel.Application.LanguageSettings.md
:white_check_mark:Succeeded
View

api/Excel.Application.LargeOperationCellThousandCount.md
:white_check_mark:Succeeded
View

api/Excel.Application.Left.md
:white_check_mark:Succeeded
View

api/Excel.Application.LibraryPath.md
:white_check_mark:Succeeded
View

api/Excel.Application.MacroOptions.md
:white_check_mark:Succeeded
View

api/Excel.Application.MailLogoff.md
:white_check_mark:Succeeded
View

api/Excel.Application.MailLogon.md
:white_check_mark:Succeeded
View

api/Excel.Application.MailSession.md
:white_check_mark:Succeeded
View

api/Excel.Application.MailSystem.md
:white_check_mark:Succeeded
View

api/Excel.Application.MapPaperSize.md
:white_check_mark:Succeeded
View

api/Excel.Application.MathCoprocessorAvailable.md
:white_check_mark:Succeeded
View

api/Excel.Application.MaxChange.md
:white_check_mark:Succeeded
View

api/Excel.Application.MaxIterations.md
:white_check_mark:Succeeded
View

api/Excel.Application.MeasurementUnit.md
:white_check_mark:Succeeded
View

api/Excel.Application.MouseAvailable.md
:white_check_mark:Succeeded
View

api/Excel.Application.MoveAfterReturn.md
:white_check_mark:Succeeded
View

api/Excel.Application.MoveAfterReturnDirection.md
:white_check_mark:Succeeded
View

api/Excel.Application.MultiThreadedCalculation.md
:white_check_mark:Succeeded
View

api/Excel.Application.Name.md
:white_check_mark:Succeeded
View

api/Excel.Application.Names.md
:white_check_mark:Succeeded
View

api/Excel.Application.NetworkTemplatesPath.md
:white_check_mark:Succeeded
View

api/Excel.Application.NewWorkbook(even).md
:white_check_mark:Succeeded
View

api/Excel.Application.NewWorkbook(property).md
:white_check_mark:Succeeded
View

api/Excel.Application.NextLetter.md
:white_check_mark:Succeeded
View

api/Excel.Application.ODBCErrors.md
:white_check_mark:Succeeded
View

api/Excel.Application.ODBCTimeout.md
:white_check_mark:Succeeded
View

api/Excel.Application.OLEDBErrors.md
:white_check_mark:Succeeded
View

api/Excel.Application.OnKey.md
:white_check_mark:Succeeded
View

api/Excel.Application.OnRepeat.md
:white_check_mark:Succeeded
View

api/Excel.Application.OnTime.md
:white_check_mark:Succeeded
View

api/Excel.Application.OnUndo.md
:white_check_mark:Succeeded
View

api/Excel.Application.OnWindow.md
:white_check_mark:Succeeded
View

api/Excel.Application.OperatingSystem.md
:white_check_mark:Succeeded
View

api/Excel.Application.OrganizationName.md
:white_check_mark:Succeeded
View

api/Excel.Application.Parent.md
:white_check_mark:Succeeded
View

api/Excel.Application.Path.md
:white_check_mark:Succeeded
View

api/Excel.Application.PathSeparator.md
:white_check_mark:Succeeded
View

This comment lists only the first 50 files in the pull request.
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.


Add gif-search extension

Description
This extension allows users to search for animated GIFs via giphy.com or tenor.com. It requires the user to get a (free) API token for each service they intend on using. Once that's set, they can view the top 10 trending gifs, or search for specific ones.
I really, REALLY wanted to have an embedded full-size GIF preview to be a part of this extension. However, Raycast's <Detail> component's markdown renderer only displays the first frame.
I tried implementing a custom GIF decoder and renderer in react, with limited amounts of success. It somewhat works, but also has some gnarly bugs. I've decided to hide it behind a setting (disabled by default) in order to be able to submit this extension to the store.
With the preview disabled, all this extension will allow you to do is get a list of gifs, and either open it in your browser, or copy it to your clipboard. Still useful, but not as awesome as if the inline gif renderer worked.
Screencast

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed in the media folder

Hmm, the build is complaining about not finding my username, but as far as I can see it's set correctly: https://www.raycast.com/josephschmitt

@josephschmitt Btw, the CI complains about prettier errors . You can fix them by running npm run fix-lint.

Some other things I noticed:

The MIT license file can be removed since the entire repo is already MIT licensed
Could you remove the media source files? Files that are shown in the README should go into the top-level media folder, without any psd or ai source files. (While files that you need at runtime go into the assets folder and get bundled into the extension.)

@fe9lix I've removed the license, fixed the lint (my local VS Code seems to constantly fight your linter for some reason), and updated the media folder.
So the custom renderer actually works pretty well now. I feel like it could be useful still, and just off by default (and maybe marked "Experimental" instead of "Unstable"). wdyt?

Hey @josephschmitt, I've given it another try and when turning on the experimental feature, I'm running into a couple of issues:

The initial loading causes heavy flickering, which looks buggy
It consumes a ton of memory
Sometimes ESC doesn't work to pop back

Overall, I wouldn't want to expose this particular feature to end users since it feels buggy and unstable. The search looks good to me, so we could still release it without the gif playback workaround, and you could publish an update later once we support native playback. Btw, if you still want to use the experimental feature personally, nothing stops you from running the extension locally.
When I tested the extension, I also ran into warnings with duplicate keys in the list (each list item should have a stable identity with the key property) – could you address this?

@fe9lix wait nevermind, think I figured it out. I was setting the key on the wrapping GifResult component as well as the List.Item inside it. Fixed now.

Thanks for the updates!

@josephschmitt One more nit: The command subtitle property shouldn't really be used for longer descriptions, also see the store guidelines on this. I'd suggest to either remove it in your case or add something short and title-cased such as "GIF Search"

@fe9lix you mean this?

How short should it be?


API Network Lifecycle Blueprints

Would likek to turn Joyce's great work into standardized blueprints for sharing:

https://blog.postman.com/how-to-set-up-public-workspaces/
https://blog.postman.com/increasing-adoption-of-an-api-with-a-public-workspace/

Introducing The Good Documentation Checklist - https://blog.postman.com/postman-good-documentation-checklist/
How to Set Up Your First Public Workspace in 5 Easy Steps - https://blog.postman.com/how-to-set-up-public-workspaces/
Increasing Adoption of an API with a Public Workspace - https://blog.postman.com/increasing-adoption-of-an-api-with-a-public-workspace/
The Most Important API Metric Is Time to First Call - https://blog.postman.com/the-most-important-api-metric-is-time-to-first-call/
Link Your Docs to a Public Workspace for a Better Developer Experience - https://blog.postman.com/link-docs-to-public-workspace-for-better-developer-experience/


Translation: Chinese(Taiwan)

Repository: https://github.com/felixshai/open-source-guide
Preview: https://felixshai.github.io/open-source-guide/
Locale: zh-TW
On your fork:

[X] Update title, description, and locale in _config.yml, and push the branch to the gh-pages branch of your fork. This should build the website and it should be visible at the preview url above.
[X] Copy _data/locale/en-US.yml to a new file with the name of your locale and translate the strings
[X] Create a new directory in _articles/ for your locale and translate each guide:

[x] best-practices.md
[ ] building-community.md
[ ] code-of-conduct.md
[ ] finding-users.md
[ ] getting-paid.md
[ ] how-to-contribute.md
[ ] leadership-and-governance.md
[ ] legal.md
[ ] metrics.md
[ ] starting-a-project.md

[x] Update CNAME to include your locale (e.g. de.opensource.guide)

Once a translation is completed:

[ ] Open a Pull Request on the upstream repository to add your fork to translations in _config.yml

@felixshai Apologies this issue has been neglected for so long. I've merged the first translation to this repository (Spanish) and updated the documentation on the latest translations approach (https://github.com/github/opensource.guide/blob/gh-pages/docs/translations.md). Please submit a pull request when you have translated all articles and checked ./script/test passes and I'll get it merged in ASAP. Thanks!


Fixing a race condition

There's a race condition that happens when the client does not finish compiling before the server watcher starts. The problem is that if the server requires files to exist that are part of the client compilation process, then there will be an error.

[x] I've updated the mock implementation to be aware of the done.tap() hook on the Webpack compiler object. All tests are now passing.
[x] I've tested this on my own codebase and it fixes the problem.
[x] I've run the build command and confirmed it completes successfully.
[x] I've made the callback optional as this functionality will only be necessary for a universal application

Let me know if you have any questions, but I think this should be good to merge as-is. It's a pretty simple change. 😄

Nevermind, this just causes another issue. Please disregard.


Update status line asynchronously

Hi!
First of all, thanks for the amazing plugin!
Is it possible to update the line asynchronously?
For example, can we have a async lua routine waiting for some event and, when that happens, update the line automatically? Right now it seems that the line is only update when with a keyboard input. Am I wrong?

I managed to do this!
For example, if you define the following element:
gls.right[7] = {
  Clock = {
    provider = function()
            return ' ' .. '  ' .. os.date('%H:%M:%S') .. ' '
          end,
    highlight = {colors.fg, colors.section_bg},
    event = {'ClockUpdate'}
  }
}

And then execute this code:
clock_async = vim.loop.new_async(function()
  local timer = vim.loop.new_timer()
  timer:start(1000, 1000, vim.schedule_wrap(function ()
    vim.api.nvim_command('doautocmd User ClockUpdate')
  end))
end)
clock_async:send()

The clock will update every second asynchronously.


add license for pkg/ddc/jindo/port_parser_test.go

Ⅰ. Describe what this PR does
add license for pkg/ddc/jindo/port_parser_test.go
Ⅱ. Does this pull request fix one issue?

Ⅲ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

/assign cheyang

/assign TrafalgarZZZ

/assign zwwhdls

/assign yangyuliufeng


[Bug Report] el-select does not extend to el-col size

Element UI version
2.4.1
OS/Browsers version
windows chrome 67.0.3396.87
Vue version
2.5.16
Reproduction Link
https://jsfiddle.net/mmx38qxw/2445/
Steps to reproduce
create a el-row with 2 el-cols with :span="12" each and put an el-select element on each col.
What is Expected?
I expect the el-select to be as wide as the span column value (see the el-input in the same jsfiddle example link)
What is actually happening?
the el-select is shorter than the el-col span which looks weird when combined in a form with other inputs. The el-input size is different than the el-select and they both should have same size.

This is because the default display of <el-select> is inline-block: https://jsfiddle.net/mmx38qxw/2828/


fix(chat): remove gradient and change message content size (Issues #1044, #949)

Description:
Remove gradient and change message content size
Issues:

https://github.com/epam/ai-dial-chat/issues/1044
https://github.com/epam/ai-dial-chat/issues/949

Checklist:

[x] the pull request name complies with Conventional Commits
[x] the pull request name starts with fix(<scope>):, feat(<scope>):, feature(<scope>):, chore(<scope>):, hotfix(<scope>): or e2e(<scope>):. If contains breaking changes then the pull request name must start with fix(<scope>)!:, feat(<scope>)!:, feature(<scope>)!:, chore(<scope>)!:, hotfix(<scope>)!: or e2e(<scope>)!: where <scope> is name of affected project: chat, chat-e2e, overlay, shared, sandbox-overlay, etc.
[x] the pull request name ends with (Issue #<TICKET_ID>) (comma-separated list of issues)
[x] I confirm that do not share any confidential information like API keys or any other secrets and private URLs

/deploy-review

/deploy-review

/deploy-review

/deploy-review

/deploy-review

/deploy-review

/deploy-review


Unexpected warning when using tf.data.Dataset.cache(filename)

Please make sure that this is a bug. As per our
GitHub Policy,
we only address code/doc bugs, performance issues, feature requests and
build/installation issues on GitHub. tag:bug_template
System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Debian 10
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): 2.5.0 and 2.7.0.dev20210725
Python version: 3.9.5
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory:

You can collect some of this information using our environment capture
script
You can also obtain the TensorFlow version with:

TF 1.0: python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
TF 2.0: python -c "import tensorflow as tf; print(tf.version.GIT_VERSION, tf.version.VERSION)"
v1.12.1-60944-g65153d2677e 2.7.0-dev20210725

Describe the current behavior
When tf.data.Dataset is cached into a file there is a warning
W tensorflow/core/kernels/data/cache_dataset_ops.cc:233] The calling iterator did not fully read the dataset being cached. In order to avoid unexpected truncation of the dataset, the partially cached contents of the dataset  will be discarded. This can happen if you have an input pipeline similar to `dataset.cache().take(k).repeat()`. You should use `dataset.take(k).cache().repeat()` instead.

Eventhough dataset is fully read.
Describe the expected behavior
There should be no warning when dataset is fully read.
Contributing

Do you want to contribute a PR? (yes/no): no
Briefly describe your candidate solution(if contributing):

Standalone code to reproduce the issue
Provide a reproducible test case that is the bare minimum necessary to generate
the problem. If possible, please share a link to Colab/Jupyter/any notebook.
import os
import tensorflow as tf

os.system('rm -f /tmp/foo*')

def gen():
    for i in range(5):
        yield i

dataset = tf.data.Dataset.from_generator(gen, output_signature=tf.TensorSpec(shape=(), dtype=tf.int32))
dataset = dataset.cache('/tmp/foo')
# dataset = dataset.take(3).cache('/tmp/foo').repeat(2)

for x in dataset:
    print(x)

Even if take.cache.repeat is used just like the warning suggests, it doesn't help
Other info / logs Include any logs or source code that would be helpful to
diagnose the problem. If including tracebacks, please include the full
traceback. Large logs and files should be attached.
Output of the script above:
tf.Tensor(0, shape=(), dtype=int32)
tf.Tensor(1, shape=(), dtype=int32)
tf.Tensor(2, shape=(), dtype=int32)
tf.Tensor(3, shape=(), dtype=int32)
tf.Tensor(4, shape=(), dtype=int32)
2021-07-26 13:35:10.940312: W tensorflow/core/kernels/data/cache_dataset_ops.cc:233] The calling iterator did not fully read the dataset being cached. In order to avoid unexpected truncation of the dataset, the partially cached contents of the dataset  will be discarded. This can happen if you have an input pipeline similar to `dataset.cache().take(k).repeat()`. You should use `dataset.take(k).cache().repeat()` instead.

Running this script under strace shows that a shard file is removed just before it's existence is checked:
[pid   910] stat("/tmp/foo_0.index", {st_mode=S_IFREG|0644, st_size=201, ...}) = 0
[pid   910] openat(AT_FDCWD, "/tmp/foo_0.index", O_RDONLY) = 4
[pid   910] pread64(4, "y\10\206\1\16\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 48, 153) = 48
[pid   910] pread64(4, "\0\1\2!\0t\0\0\0\0\1\0\0\0\0t\214P\20", 19, 134) = 19
[pid   910] pread64(4, "\0\0\6\10\1\32\2\10\1\0\t\v      0_0\10\3\22\0(\0045\246{\21:"..., 121, 0) = 121
[pid   910] close(4)                    = 0
[pid   910] rename("/tmp/foo_0.data-00000-of-00001", "/tmp/foo.data-00000-of-00001") = 0
[pid   910] openat(AT_FDCWD, "/tmp/foo.index", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 4
[pid   910] fstat(4, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
[pid   910] write(4, "\0\0\6\10\1\32\2\10\1\0\t\v      0_0\10\3\22\0(\0045\246{\21:"..., 201) = 201
[pid   910] close(4)                    = 0
[pid   910] unlink("/tmp/foo_0.index")  = 0
[pid   910] unlink("/tmp/foo_0.lockfile") = 0
[pid   910] access("/tmp/foo.index", F_OK) = 0
[pid   910] access("/tmp/foo_0.index", F_OK) = -1 ENOENT (No such file or directory)
[pid   910] stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=127, ...}) = 0
[pid   910] write(2, "2021-07-26 13:17:56.497443: W te"..., 4242021-07-26 13:17:56.497443: W tensorflow/core/kernels/data/cache_dataset_ops.cc:233] The calling iterator did not fully read the dataset being cached. In order to avoid unexpected truncation of the dataset, the partially cached contents of the dataset  will be discarded. This can happen if you have an input pipeline similar to `dataset.cache().take(k).repeat()`. You should use `dataset.take(k).cache().repeat()` instead.
) = 424

@0x0badc0de ,
Can you please take a look at this comment and link with similar error.It helps.Thanks!

@tilakrayal could you elaborate how this helps? I'm not following. Setting CUDA_LAUNCH_BLOCKING=1 changes nothing in this case. And SO answer on one hand mentions RAM cache (but the warning comes from FS cache). On another hands it mentions no warnings in Google Colab. But they still exist - https://stackoverflow.com/a/53353891
So the snippet has to be modified:
!pip install wurlitzer

import os
import tensorflow as tf
from wurlitzer import pipes

os.system('rm -f /tmp/foo*')

def gen():
    for i in range(5):
        yield i

dataset = tf.data.Dataset.from_generator(gen, output_signature=tf.TensorSpec(shape=(), dtype=tf.int32))
dataset = dataset.cache('/tmp/foo')
# dataset = dataset.take(3).cache('/tmp/foo').repeat(2)

with pipes() as (out, err):
    for x in dataset:
        print(x)

print(out.read())
print(err.read())

@Saduf2019 ,
I was able to reproduce the issue in tf v2.5 and nightly, in v2.4 i was able to execute the code without any warning.Please find the gist of it here.

the same behaviour is also seen in tf 2.6

Can confirm that I still experience this behaviour in all versions of TensorFlow I have tried after 2.4 (including 2.5, 2.8, and most recently 2.11). Have there been any updates on this at all? Or is there an easy fix or way to disable this warning?

Hi,
Thank you for opening this issue. Since this issue has been open for a long time, the code/debug information for this issue may not be relevant with the current state of the code base.
The Tensorflow team is constantly improving the framework by fixing bugs and adding new features. We suggest you try the latest TensorFlow version with the latest compatible hardware configuration which could potentially resolve the issue. If you are still facing the issue, please create a new GitHub issue with your latest findings, with all the debugging information which could help us investigate.
Please follow the release notes to stay up to date with the latest developments which are happening in the Tensorflow space.


send paper to Lang, Goodman, Bovy...

...and get feedback.  If there were "milestones" this would be associated with one called "submit to arXiv by Thursday".

Noted and assigned to milestone.

time to close this baby -- no need to wait for full first draft to share with these friendlies.

Distributed. We'll see what they say.


Card.io is not campatible with note 5

Hi guys,
I don't know why but CardIOActivity.canReadCardWithCamera() method is always returning false on many devices such as HTC one, Note 5, Nexus 5 etc...!
Please help me out from this issue, I don't understand whats its happening...!

@braebot , I am not using any .so files. Okay, I am checking the thread #51 .

Hi,
I convert a aar file to jar file,(extracrt zip file)
and and library to intellij
but CardIOActivity.canReadCardWithCamera() return false always!!!!


#FlightUnavailableError occur when executing simple query, I don't know how to solve this problem, help me to execute query.

For executing simple query for retrieving info from database, it won't connect to respected channel, their is problem making proper channel for this client connection,
I need support to execute query for sql & influxdb.

Hey @Shafvan4136 - there hasn't been any activity on this issue for over a year, and we have drastically changed the flight interface since you opened this issue. You should be able to connect using FlightSQL to the same port that serves HTTP requests when you start the server with influxdb3 serve. Feel free to re-open or comment if you are still having issues.


Datapath tests

Codecov Report

Merging #234 into master will decrease coverage by 0.17%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #234      +/-   ##
==========================================
- Coverage   52.41%   52.23%   -0.18%
==========================================
  Files          33       33
  Lines        3917     3917
==========================================
- Hits         2053     2046       -7
- Misses       1665     1675      +10
+ Partials      199      196       -3

Impacted Files
Coverage Δ

monitor/linuxmonitor/linuxMonitor.go
61.76% <0%> (-6.87%)
: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 7435714...89ea0c4. Read the comment docs.

Since there was a big refactoring in the trace branch, I merged these tests in the trace branch already. We can close this PR when we merge the trace branch.

Tests were merged in with PR https://github.com/aporeto-inc/trireme/pull/236


High memory consumtion

Hi,
I'm experiencing a very high memory utilization when using Visual Studio 2015 with node.js projects. I assume it has to do with the number of npm packages (~40). It starts off alright, but slowly builds up to consume between 1.5 - 2.1 GB of RAM.

BTW. Then whole project folder with npm modules included is around 860 MB. My fairly large web project consumes < 200 MB.

This might also be useful...

Some more input:
Closing the solution will not have any affect, nor does it have any affect if I remove the node_modules folder before opening VS.
HTH

I have this exact same problem. My fix has been to covert the project to a C# class library for now.

I've created a troubleshooting page to document some possible work arounds for high memory usage: https://github.com/Microsoft/nodejstools/wiki/Troubleshooting#high-memory-usage-workarounds
If you on the  NTVS 1.2 Alpha, try switching to use ES6 Preview Intellisense as a first step (Tools -> Options -> Text Editor -> Node.js -> IntelliSense). Our homegrown static analysis engine is usually to blame for high memory usage, and ES6 Preview Intellisense uses a more modern and efficient language service developed by the Typescript team. We will still try to fix leaks and crashes in our static analysis engine of course, but will probably not invest in fixing some of the fundamental memory consumption problems it has.

If you are seeing unacceptably high memory usage, please try installing NTVS 1.2 Alpha and switching to ES6 Preview Intellisense. NTVS 1.2 Alpha 2 fixes a number of memory leaks and reduces memory usage across the board. There's still room for improvement, so please report any performance problems you encounter with Alpha 2.
Thanks.


[test] scarb check

Note: In the future I'd like to move RootDatabase creation and diagnostics checking outside Compiler implementation responsibility, but as for now this looks good.

[wip]

benchmark on keep-starknet-strange/alexandria (10 runs):
$ hyperfine --show-output --warmup 3  '../../scarb/target/release/scarb check -q' '../../scarb/target/release/scarb build -q'

Benchmark 1: ../../scarb/target/release/scarb check -q
  Time (mean ± σ):      8.427 s ±  0.161 s    [User: 7.930 s, System: 0.378 s]
  Range (min … max):    8.176 s …  8.625 s    10 runs

Benchmark 2: ../../scarb/target/release/scarb build -q
  Time (mean ± σ):      8.707 s ±  0.184 s    [User: 8.181 s, System: 0.402 s]
  Range (min … max):    8.495 s …  9.043 s    10 runs

Summary
  ../../scarb/target/release/scarb check -q ran
    1.03 ± 0.03 times faster than ../../scarb/target/release/scarb build -q

with --test flag:
$ hyperfine --show-output --warmup 3  '../../scarb/target/release/scarb check -q --test' '../../scarb/target/release/scarb build -q --test'

Benchmark 1: ../../scarb/target/release/scarb check -q --test
  Time (mean ± σ):     22.622 s ±  0.357 s    [User: 21.250 s, System: 1.021 s]
  Range (min … max):   22.019 s … 23.273 s    10 runs

Benchmark 2: ../../scarb/target/release/scarb build -q --test
  Time (mean ± σ):     25.854 s ±  1.548 s    [User: 23.762 s, System: 1.220 s]
  Range (min … max):   24.623 s … 29.331 s    10 runs

Summary
  ../../scarb/target/release/scarb check -q --test ran
    1.14 ± 0.07 times faster than ../../scarb/target/release/scarb build -q --test

with lib.sierra-text target:
$ hyperfine --show-output --warmup 3  '../../scarb/target/release/scarb check -q' '../../scarb/target/release/scarb build -q'

Benchmark 1: ../../scarb/target/release/scarb check -q
  Time (mean ± σ):      8.097 s ±  0.107 s    [User: 7.605 s, System: 0.351 s]
  Range (min … max):    7.990 s …  8.294 s    10 runs

Benchmark 2: ../../scarb/target/release/scarb build -q
  Time (mean ± σ):      8.524 s ±  0.141 s    [User: 8.004 s, System: 0.380 s]
  Range (min … max):    8.306 s …  8.761 s    10 runs

Summary
  ../../scarb/target/release/scarb check -q ran
    1.05 ± 0.02 times faster than ../../scarb/target/release/scarb build -q


Make startup scripts more flexible

At the moment there's just one startup script; that won't work for different distributions which might need different commands. We could probably map the distro name to the script E.g.
distro == "ubuntu" == /etc/mist/startup-scripts/ubuntu
distro == "rhel" == /etc/mist/start-scripts/rhel
Symlinks would solve duplication/naming ambiguity (E.g. ubuntu -> debian, redhat -> rhel etc.)

Fixed in the vanders/production branch.


Upgrade the download manager with installed list and update indicator

Update the download manager with the ability to check if a newer version of an installed tool is available, and enable the user to launch the install action:

[ ] list installed software
[ ] enable update button on installed software, to download the new tool
[ ] add install button on downloaded software to use the auto install option

Moving this to Post INTO-CPS


gracefully exit out of slice / AF_slice/ ESS while loop

This exits out of the while loop when reach maxContractions or L and R converge to each other.
Also adds a basic test in for the slice_sampler case.
@danielturek please take a look, and @perrydv if you like.

Whoops, meant to note this fixes #715

The convergence seems to generally happen in less than 100, so probably doesn't matter much - I'm fine with making it bigger, say 1000, but I think the R-L part of the check will be triggered first.
For the R-L part of the check, both AF_slice and ESS are contracting to 0, so dividing by the magnitude of R and L (which are called Rbound,Lbound and theta_min,theta_max in those samplers) means we are dividing by numbers going to zero. Given the eps in the denominator, if we use the relative check, it would essentially amount to having (R-L)/eps < eps if we wanted it as a relative check. I suppose that is logically consistent, but it does mean that we don't break out until R-L is less than 1e-30, which seems excessive.


[BUG] Followup of https://github.com/code-ready/crc/issues/2220

General information

OS: Linux / macOS / Windows - CentOS Linux release 7.9.2009
Hypervisor: KVM / Hyper-V / hyperkit - KVM
Did you run crc setup before starting it (Yes/No)? Yes
Running CRC on: Laptop / Baremetal-Server / VM - Physical Machine (Intel® Core™ i5-4440S CPU @ 2.80GHz × 4, OS 64, memory 32GB)

CRC version
# Put `crc version` output here
CodeReady Containers version: 1.28.0+08de64bd
OpenShift version: 4.7.13 (embedded in executable)

CRC status
# Put `crc status --log-level debug` output here
DEBU CodeReady Containers version: 1.28.0+08de64bd
DEBU OpenShift version: 4.7.13 (embedded in executable)
DEBU Running 'crc status'
DEBU Checking file: /home/XXXX/.crc/machines/crc/.crc-exist
DEBU Checking file: /home/XXXX/.crc/machines/crc/.crc-exist
DEBU Found binary path at /home/XXXX/.crc/bin/crc-driver-libvirt
DEBU Launching plugin server for driver libvirt
DEBU Plugin server listening at address <IP_ADDRESS>:46203
DEBU () Calling .GetVersion
DEBU Using API Version 1
DEBU () Calling .SetConfigRaw
DEBU () Calling .GetMachineName
DEBU (crc) Calling .GetState
DEBU (crc) DBG | time="2021-07-01T19:16:16+05:30" level=debug msg="Getting current state..."
DEBU (crc) DBG | time="2021-07-01T19:16:16+05:30" level=debug msg="Fetching VM..."
DEBU (crc) Calling .GetBundleName
DEBU (crc) Calling .GetIP
DEBU (crc) DBG | time="2021-07-01T19:16:16+05:30" level=debug msg="GetIP called for crc"
DEBU (crc) DBG | time="2021-07-01T19:16:16+05:30" level=debug msg="Getting current state..."
DEBU (crc) DBG | time="2021-07-01T19:16:16+05:30" level=debug msg="IP address: <IP_ADDRESS>"
DEBU Running SSH command: df -B1 --output=size,used,target /sysroot | tail -1
DEBU Using ssh private keys: [/home/XXXX/.crc/machines/crc/id_ecdsa /home/XXXX/.crc/cache/crc_libvirt_4.7.13/id_ecdsa_crc]
DEBU SSH command results: err: <nil>, output:<PHONE_NUMBER>6<PHONE_NUMBER>2 /sysroot
DEBU Making call to close driver server
DEBU (crc) Calling .Close
DEBU Successfully made call to close driver server
DEBU Making call to close connection to plugin binary
CRC VM:          Running
OpenShift:       Running (v4.7.13)
Disk Usage:      12.35GB of 32.74GB (Inside the CRC VM)
Cache Usage:     13.58GB
Cache Directory: /home/XXXX/.crc/cache

CRC config
# Put `crc config view` output here
- consent-telemetry                     : no
- memory                                : 10240
- pull-secret-file                      : /mnt/YYYY/dtools/pull-secret.txt

Host Operating System
# Put the output of `cat /etc/os-release` in case of Linux
# put the output of `sw_vers` in case of Mac
# Put the output of `systeminfo` in case of Windows
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

Steps to reproduce

crc start -n <IP_ADDRESS>
crc start -n <IP_ADDRESS> --log-level debug

Expected
To complete
Actual
level=info msg="Waiting for kube-apiserver availability... [takes around 2min]"
Error waiting for apiserver: Temporary error: ssh command error:
command : timeout 5s oc get nodes --context admin --cluster crc --kubeconfig /opt/kubeconfig
err     : Process exited with status 1\n (x9)
Temporary error: ssh command error:
command : timeout 5s oc get nodes --context admin --cluster crc --kubeconfig /opt/kubeconfig
err     : Process exited with status 124\n (x36)

Logs
Before gather the logs try following if that fix your issue
$ crc delete -f
$ crc cleanup
$ crc setup
$ crc start --log-level debug

Find attached both "log-level debug" output and sudo journalctl -u kubelet
crc_start_log_level_debug.log
journalctl.log

How long did you wait?

level=debug msg="error: Temporary error: ssh command error:\ncommand : timeout 5s oc get nodes --context admin --cluster crc --kubeconfig /opt/kubeconfig\nerr     : Process exited with status 124\\n - sleeping 1s"
level=debug msg="RetryAfter timeout after 47 tries"
level=debug msg="Making call to close driver server"
level=debug msg="(crc) Calling .Close"
level=debug msg="(crc) DBG | time=\"2021-07-01T18:32:02+05:30\" level=debug msg=\"Closing plugin on server side\""
level=debug msg="Successfully made call to close driver server"
level=debug msg="Making call to close connection to plugin binary"
level=debug msg="Making call to close driver server"
level=debug msg="(crc) Calling .Close"
level=debug msg="(crc) DBG | time=\"2021-07-01T18:32:02+05:30\" level=debug msg=\"Closing plugin on server side\""
level=debug msg="Successfully made call to close driver server"
level=debug msg="Making call to close connection to plugin binary"
level=error msg="sending request - Post \"https://api.segment.io/v1/batch\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)"
level=error msg="2 messages dropped because they failed to be sent and the client was closed"
Error waiting for apiserver: Temporary error: ssh command error:
command : timeout 5s oc get nodes --context admin --cluster crc --kubeconfig /opt/kubeconfig
err     : Process exited with status 1\n (x10)
Temporary error: ssh command error:
command : timeout 5s oc get nodes --context admin --cluster crc --kubeconfig /opt/kubeconfig
err     : Process exited with status 124\n (x37)

Not sure about your question. I did not interrupt the command, it just exited with error.

@VivekBuzruk  From #2220 journalctl logs look like kubelet was crashing for the user but eventually it works and reporter not able to reproduce it. Journal logs which you shared doesn't see any crash reports from kubelet side so may be something else.

I said partially working as->
-- "crc start" terminate sometimes after "Waiting for kube-apiserver availability... [takes around 2min]" Not sure whether i need to follow above "stop-delete-setup-start" cycle every time (loosing my earlier work) I switch of my machine and restart next day.

Well such termination takes place, when I execute "oc get nodes --context admin --cluster crc --kubeconfig /opt/kubeconfig", the command takes some times but returns correct result. BUT,
Builds for most sample apps fail with an error - "error":"server_error","error_description":"The authorization server encountered an unexpected condition that prevented it from fulfilling the request.","state":"7bbf7767"

In brief, still waiting for good resolution of these issues. "crc start" finishes successfully after multiple trials (sometimes just 2). I am yet to find exact reason of failure but I suspect "timeout" for few commands as one reason and **"race conditions"**as another.

There has been several reports of such issues with rhel7.9/centos7.9 and OpenShift 4.7, but unclear what would be causing them :-/ Are you also experiencing this with more recent releases based on OpenShift 4.8?

Yes, there are still issues.
After multiple attempts of "crc start ... / crc delete ..." (debug / non-debug) cycles at last I could successfully install crc-linux-1.32.1-amd64.
Once it flagged off saying installation is successful, but operator hub was empty.
My findings are,
1] In some cases, crc does not even create /opt/kubeconfig file and even then it proceeds for next stage.
2] In certain cases, it appears to be issue related to timeout (ssh command and even oc commands).
In brief, there are either race conditions or in-appropriate privilege settings or timeouts based sequencing which are probably the cause.
Btw. There is another problem once it starts, in some cases it just logs out or raises authentication error (may be due to insufficient resources ....)

Hi ,
Was anyone able to get  a solution to this, been trying this since morning with no luck.
[adithya@localhost ~]$ crc start INFO Checking if running as non-root               INFO Checking if running inside WSL2               INFO Checking if crc-admin-helper executable is cached  INFO Checking for obsolete admin-helper executable  INFO Checking if running on a supported CPU architecture  INFO Checking minimum RAM requirements             INFO Checking if crc executable symlink exists     INFO Checking if Virtualization is enabled         INFO Checking if KVM is enabled                    INFO Checking if libvirt is installed              INFO Checking if user is part of libvirt group     INFO Checking if active user/process is currently part of the libvirt group  INFO Checking if libvirt daemon is running         INFO Checking if a supported libvirt version is installed  INFO Checking if crc-driver-libvirt is installed   INFO Checking if systemd-networkd is running       INFO Checking if NetworkManager is installed       INFO Checking if NetworkManager service is running  INFO Checking if /etc/NetworkManager/conf.d/crc-nm-dnsmasq.conf exists  INFO Checking if /etc/NetworkManager/dnsmasq.d/crc.conf exists  INFO Checking if libvirt 'crc' network is available  INFO Checking if libvirt 'crc' network is active   INFO Loading bundle: crc_libvirt_4.9.8...          INFO Creating CodeReady Containers VM for OpenShift 4.9.8...  INFO Generating new SSH Key pair...                INFO Generating new password for the kubeadmin user  INFO Starting CodeReady Containers VM for OpenShift 4.9.8...  INFO CodeReady Containers instance is running with IP <IP_ADDRESS>  INFO CodeReady Containers VM is running            INFO Updating authorized keys...                   INFO Check internal and public DNS query...        INFO Check DNS query from host...                  INFO Verifying validity of the kubelet certificates...  INFO Starting OpenShift kubelet service            INFO Waiting for kube-apiserver availability... [takes around 2min]  Failed to update cluster pull secret: Temporary error: ssh command error: command : timeout 5s oc get secret --context admin --cluster crc --kubeconfig /opt/kubeconfig err     : Process exited with status 124  (x13)


Stabilize parallel front end

Metadata

Owner(s)
@SparrowLii

Team(s)
compiler

Goal document
2024h2/parallel-front-end

Summary
We will move rustc's support for parallel front end closer to stability by resolving [ICE] and [deadlock] issues, completing the [test] suit for multithreaded scenario and integrating parallel front end into bootstrap. This fits into our larger goal of improving rustc build times by 20% by leveraging multiple cores and enhance its robustness.
Tasks and status

[ ] Implementation (@SparrowLii)
[ ] Author tests (@SparrowLii)
[x] Discussion and moral support (compiler )

This issue is intended for status updates only.
For general questions or comments, please contact the owner(s) directly.

Key developments: *
Use ui test to locate and solve the ICE problem of parallelfront end
Discussed strategies for customizing and enhancing the compiler testing suit to address hard-to-reproduce bugs
Blockers:
Many deadlock issues are difficult to reproduce and resolve
Help wanted:
Help test the deadlock code in the issue list and try to reproduce the issue

Key developments: *
Add the cases in the issue list to the UI test to reproduce the bug or verify the non-reproducibility
Blockers:
null
Help wanted:
Help test the deadlock code in the issue list and try to reproduce the issue

Key developments: *
Still in the process of determining the cause of the deadlock through local testing and compiler code analysis.
Blockers:
null
Help wanted:
Help test the deadlock code in the issue list and try to reproduce the issue

@SparrowLii opened a “proposed 2025H1 project goal](https://rust-lang.github.io/rust-project-goals/2025h1/parallel-front-end.html) to continue this work. The plans for the next 6 months are

Solve reproducible deadlock issues via tests.
Enable parallel frontends in bootstrap.
Continue to improve parallel compilation performance, with the average speed increase from 20% to 25% under 8 cores and 8 threads.
Communicate with Cargo team on the solution and plan to support parallel front end.

Key developments: *
We discussed solutions to avoid potential deadlocks in mechanism, and so far disabling work-stealing in rayon's subloops is an effective solution. We will try to incorporate related modification PR: https://github.com/rust-lang/rustc-rayon/pull/12
Blockers:
null
Help wanted:
Help test the deadlock code in the issue list and try to reproduce the issue


Update contract_bytecode.md

The old path was outdated due to repository restructuring. Updated to reflect the current correct path in the Alexandria repository where the storage list implementation can be found.

Hi @ClementWalter
Fixed the broken link to Alexandria's storage list implementation. The path was updated to reflect the current repository structure where the file has been moved to the packages directory.
Looking forward to your feedback!


Fix time units

Fix the units for times in the dummy generation.

Is weird that coveralls is complaining. This is not decreasing any test coverage 🤷


use a process manager so a clean shutdown is possible

I've made the sabnzb binary called directly.
So using the --restart=always should do the trick


KeyError: 'ID'

Can I use this tool on local bam files for my project? I haven't submitted my data to SRA yet!
python counter.py --inp test/Test1.bam --out Test1_counts --gtf test/ref-transcripts.gtf
Error:
Using this file annotation test/ref-transcripts.gtf
samtools sort -n -O sam test/Test1.bam -o /dev/stdout | awk '$7=="="' | htseq-count -s no -i gene - test/ref-transcripts.gtf > Test1_counts.tsv
Traceback (most recent call last):
File "counter.py", line 150, in
out_fn = normalize(out_fn, gtf)
File "counter.py", line 68, in normalize
size = _get_size(gtf)
File "counter.py", line 32, in _get_size
transcript_id = feature.attr['ID']
KeyError: 'ID'
I know its mentioned "GTF needs to have ID and gene in the attributes field.", but what do you mean by that? I tried replacing the code:
    if feature.type == "exon":
        transcript_id = feature.attr['gene_id']
        gene[transcript_id] = feature.attr['gene_name']

The program runs, but only gives empty output files!!

@lpantano, any ideas here?

Hi,
it should work with BAM files, I think the problem is the parsing the GTF.
It is your BAM files with the same chromosome naming than the GTF? because all files empties are weird. At least you need to get the *tsv file with something.
After that we can debug on why the transcript is not working.
Can you check that?
We are mainly running this code:
samtools sort -n -O sam {fn_in} -o /dev/stdout | awk '$7=="="' | htseq-count -s no -i gene - {gtf} > {out}
that should give something with values.
Cheers

But  I used the test files that I downloaded from this repo only..and I checked both the bam and gtf file have chr annotation!

yeah, it would be something like this:
samtools sort -n -O sam Test1.bam -o /dev/stdout | awk '$7=="="' | htseq-count -s no -i gene - ref-transcripts.gtf > sample.tsv
I would try to replicate tomorrow the issue, sorry about this.

ok, I see the issue.
@eweitz can you remember me what is the input file we need for the idiogram? it has to be entrez symbol ID and the expression?

@lpantano, the step in our pipeline after counter.py is formatter.py, which takes an input file like SRR562645_counts_norm.tsv produced by counter.py.  I believe that TSV file contains gene symbol (e.g. BRCA1) and expression.
The formatter.py script then outputs a JSON file containing custom-formatted annotations, which is the input for Ideogram.js.


External scripts

I noticed that at the beginning of the head section of the Joomla test project some external script tags and also an inline script from Google TagManager are missing. This is also not a side effect of #30, as this was already the case in the version of 06.12.2024.
Web:
<head>
<script async="" src="https://connect.facebook.net/en_US/fbevents.js"></script>
<script async="" src="//www.google-analytics.com/analytics.js"></script>
<script async="" src="//www.googletagmanager.com/gtm.js?id=GTM-XXXXXXX"></script>
<script>window.dataLayer = window.dataLayer || [];</script>
<!-- Google Tag Manager JS V.1.0.2 from Tools for Joomla -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-XXXXXXX');</script>
<!-- End Google Tag Manager JS -->

Local:
<head>
<script>window.dataLayer = window.dataLayer || [];</script>
<!-- Google Tag Manager JS V.1.0.2 from Tools for Joomla -->

<!-- End Google Tag Manager JS -->

--allowed-domain-for-external-files='*.example.com' was used.
--disable-javascript has not been used.
If the tool should also work for the creation of static websites and not only for local offline versions, it would make sense to create a possibility to leave the code for the integration of external files selectively in the code, but also not to download it.
Perhaps with parameters like these:
--do-not-touch-domain-for-external-files='connect.facebook.net'?
--do-not-touch-regex-for-external-files='/^\/en_US\/.*$/i'
We should ensure that the relevant parameters are standardised. There is perhaps already something inconsistent.
--allowed-domain-...  : permitted subdomain.domain.tld

What is the order of conflicts here?
--ignore-regex-...    : path/filename/query/fragment do not crawl
--include-regex-...   : path/filename/query/fragment crawl

--regex-filtering-... : the same as --include-regex-..., but a different name?

It might have been better to use something like this in general: allow/disallow or allow/deny instead of include/ignore and then use ignore if URLs in the source code are to be ignored. But with subsequent parameter renaming it's one of those things.
What do you think?

Hi @GitHub-Mike,
there is an update in the main branch that you can set --offline-export-remove-unwanted-code=1/0 to remove code that is unwanted for the offline version - typically embedding analytics, social networks, cookie consent, etc. You want to set it to 0. Default is 1.

OK, thank you. I did another run last night with the new parameter and the scripts were not removed. I think we can close the issue.


can't add SV-signed state root (block 3701328)

Using Version: 0.101.3-pre-162-gabb58fb7 I just completed syncing from scratch and now I'm getting SV-signed state root errors.
2023-07-02T11:16:39.349+0200	INFO	node reached synchronized state, starting services
2023-07-02T11:16:39.349+0200	INFO	starting state validation service
2023-07-02T11:16:39.349+0200	INFO	RPC server already started
2023-07-02T11:16:39.350+0200	WARN	peer disconnected	{"addr": "<IP_ADDRESS>:10333", "error": "handling CMDExtensible message: invalid height", "peerCount": 20}
2023-07-02T11:16:39.367+0200	WARN	peer disconnected	{"addr": "<IP_ADDRESS>:10333", "error": "handling CMDExtensible message: invalid height", "peerCount": 19}
2023-07-02T11:16:39.434+0200	INFO	persisted to disk	{"blocks": 1129, "keys": 42299, "headerHeight": 3701261, "blockHeight": 3701261, "took": "114.670452ms"}
2023-07-02T11:16:39.562+0200	ERROR	can't add SV-signed state root	{"error": "stateroot mismatch at block 3701328: 48331b802ce8dd44dffed5945e0939c3597b00a027e8b0a87e617f746f9df7b0 vs ef705ddc2d64e6aef8fcf127413e47ea7661b1526213763241c6a90e66fb4298"}
2023-07-02T11:16:40.331+0200	INFO	persisted to disk	{"blocks": 67, "keys": 2481, "headerHeight": 3701328, "blockHeight": 3701328, "took": "11.096895ms"}
2023-07-02T11:16:52.375+0200	INFO	persisted to disk	{"blocks": 1, "keys": 22, "headerHeight": 3701329, "blockHeight": 3701329, "took": "45.701993ms"}
2023-07-02T11:16:55.286+0200	ERROR	can't add SV-signed state root	{"error": "stateroot mismatch at block 3701329: d260349c43e08944ea332827f7c1b8087e2985dbf7c51b0b094296a3fd47312a vs 4852e1559a1991760d1c06c10b6d4f95feac897d238e651eb99fc4f6e10e0d0a"}
2023-07-02T11:17:09.339+0200	INFO	persisted to disk	{"blocks": 1, "keys": 22, "headerHeight": 3701330, "blockHeight": 3701330, "took": "1.320164ms"}
2023-07-02T11:17:21.182+0200	WARN	peer disconnected	{"addr": "<IP_ADDRESS>:10333", "error": "handling CMDExtensible message: invalid height", "peerCount": 18}
2023-07-02T11:17:25.357+0200	INFO	persisted to disk	{"blocks": 1, "keys": 71, "headerHeight": 3701331, "blockHeight": 3701331, "took": "11.258364ms"}
2023-07-02T11:17:28.029+0200	ERROR	can't add SV-signed state root	{"error": "stateroot mismatch at block 3701330: 3c1ad43b711518b1bbb83b3a028d95db53175e25e45ee3a423698f1efec1ea45 vs 00ce0f42143fcd6cc91f82d3ede4e5ae6a0683f3ba6116921206a39447c3d936"}
2023-07-02T11:17:28.605+0200	ERROR	can't add SV-signed state root	{"error": "stateroot mismatch at block 3701331: 9fe8e01717f4598852bd0669c55beefcbb9d62d78f85a7825cb63a07344c3264 vs 866068255aac53d383c4dee4565b031f88c31350851ad4ce34ba4dd86a12fd85"}
2023-07-02T11:17:29.279+0200	ERROR	can't add SV-signed state root	{"error": "stateroot mismatch at block 3701331: 9fe8e01717f4598852bd0669c55beefcbb9d62d78f85a7825cb63a07344c3264 vs 866068255aac53d383c4dee4565b031f88c31350851ad4ce34ba4dd86a12fd85"}
2023-07-02T11:17:39.358+0200	INFO	persisted to disk	{"blocks": 0, "keys": 2, "headerHeight": 3701332, "blockHeight": 3701331, "took": "7.394012ms"}
2023-07-02T11:17:40.359+0200	INFO	persisted to disk	{"blocks": 1, "keys": 22, "headerHeight": 3701332, "blockHeight": 3701332, "took": "7.672893ms"}
2023-07-02T11:17:55.367+0200	INFO	persisted to disk	{"blocks": 1, "keys": 23, "headerHeight": 3701333, "blockHeight": 3701333, "took": "9.102268ms"}
2023-07-02T11:17:59.566+0200	ERROR	can't add SV-signed state root	{"error": "stateroot mismatch at block 3701333: b05161662e446718e673c7e050a9cc45f3212056a60929aef1bba6c4f52aa7f0 vs 44879fd8a7706ef55f002281924020fc22f13b1149cc2186fda9ff1087c33bb3"}
2023-07-02T11:18:01.198+0200	ERROR	can't add SV-signed state root	{"error": "stateroot mismatch at block 3701333: b05161662e446718e673c7e050a9cc45f3212056a60929aef1bba6c4f52aa7f0 vs 44879fd8a7706ef55f002281924020fc22f13b1149cc2186fda9ff1087c33bb3"}
2023-07-02T11:18:11.373+0200	INFO	persisted to disk	{"blocks": 1, "keys": 105, "headerHeight": 3701334, "blockHeight": 3701334, "took": "7.605294ms"}
2023-07-02T11:18:28.386+0200	INFO	persisted to disk	{"blocks": 1, "keys": 24, "headerHeight": 3701335, "blockHeight": 3701335, "took": "12.479498ms"}
2023-07-02T11:18:29.334+0200	ERROR	can't add SV-signed state root	{"error": "stateroot mismatch at block 3701334: 20c843d91aad5f8d9829fe75932fe23f7d54c0492b34af4b1639cdbc091a3018 vs f156cfb938ac124236b1b6c5d6c5362d25b68d0494e87d0f926da29221f9b3f4"}
2023-07-02T11:18:32.517+0200	ERROR	can't add SV-signed state root	{"error": "stateroot mismatch at block 3701335:<PHONE_NUMBER>d5ef2a2fd7230fbcf550533355d6debf330d293119c3191e0a7e2e vs 787e11056c4ad1cedc5abcaa839c5267c59d6727d76f50676d22a06a6c0e9aed"}
2023-07-02T11:18:32.942+0200	ERROR	can't add SV-signed state root	{"error": "stateroot mismatch at block 3701335:<PHONE_NUMBER>d5ef2a2fd7230fbcf550533355d6debf330d293119c3191e0a7e2e vs 787e11056c4ad1cedc5abcaa839c5267c59d6727d76f50676d22a06a6c0e9aed"}
2023-07-02T11:18:45.393+0200	INFO	persisted to disk	{"blocks": 1, "keys": 23, "headerHeight": 3701336, "blockHeight": 3701336, "took": "9.058996ms"}
2023-07-02T11:18:48.248+0200	ERROR	can't add SV-signed state root	{"error": "stateroot mismatch at block 3701336: 193710d0bf08b55231d796b8d0a85f6842aadf767022664739965f734f4c3251 vs 3d717f8ccc0b2e124320f23edd14d47d8e6564e062ef1b8b8de6a8e0df0a074a"}
2023-07-02T11:19:02.400+0200	INFO	persisted to disk	{"blocks": 1, "keys": 23, "headerHeight": 3701337, "blockHeight": 3701337, "took": "6.716592ms"}
2023-07-02T11:19:05.617+0200	ERROR	can't add SV-signed state root	{"error": "stateroot mismatch at block 3701337: 79f0bdf2de4afa84478a39686e3617032f244f4d860bfadd5a78723672405a3d vs 7fcc3b118108b5dfa9bad65288b61c88f7a1b73371f523cc843d2f75e93ffdc7"}
2023-07-02T11:19:05.622+0200	ERROR	can't add SV-signed state root	{"error": "stateroot mismatch at block 3701337: 79f0bdf2de4afa84478a39686e3617032f244f4d860bfadd5a78723672405a3d vs 7fcc3b118108b5dfa9bad65288b61c88f7a1b73371f523cc843d2f75e93ffdc7"}
2023-07-02T11:19:17.410+0200	INFO	persisted to disk	{"blocks": 1, "keys": 23, "headerHeight": 3701338, "blockHeight": 3701338, "took": "10.020035ms"}
2023-07-02T11:19:20.129+0200	ERROR	can't add SV-signed state root	{"error": "stateroot mismatch at block 3701338: fdd3df3bdf779b2faf27ea7810b6a6222393d73e5b7bb6e94f7838d85b3b832c vs f3d5a3977544098724c6e42b0398ffc2c3be7d06f1d31b84e045e4bba45ffb29"}
2023-07-02T11:19:32.412+0200	INFO	persisted to disk	{"blocks": 1, "keys": 24, "headerHeight": 3701339, "blockHeight": 3701339, "took": "3.135244ms"}
2023-07-02T11:19:37.918+0200	ERROR	can't add SV-signed state root	{"error": "stateroot mismatch at block 3701339: 7b22012bc4d44112cbb055813e1cb06c5eb881df6e8c06e53ae6ee9eb66e37a1 vs f71fdf78e90fa54ac2ddb183874a706f4abc4d455b621b2d78f20d1be38541dc"}
2023-07-02T11:19:48.420+0200	INFO	persisted to disk	{"blocks": 1, "keys": 24, "headerHeight": 3701340, "blockHeight": 3701340, "took": "3.414393ms"}
2023-07-02T11:20:03.427+0200	INFO	persisted to disk	{"blocks": 1, "keys": 24, "headerHeight": 3701341, "blockHeight": 3701341, "took": "2.233069ms"}
2023-07-02T11:20:07.879+0200	ERROR	can't add SV-signed state root	{"error": "stateroot mismatch at block 3701341: 99dc59ffaf0ec4dff697134013e70808aa02bdf7916431cec228091dfb1ddf49 vs 2a8fc5cb98782e961d2106cde49c82d089abef377c49e34ff00dc9c1a13cbd4d"}
2023-07-02T11:20:18.437+0200	INFO	persisted to disk	{"blocks": 1, "keys": 71, "headerHeight": 3701342, "blockHeight": 3701342, "took": "2.647078ms"}
2023-07-02T11:20:22.772+0200	ERROR	can't add SV-signed state root	{"error": "stateroot mismatch at block 3701342: 52fb8ce2d246d6b22c30d914fc6f42d908646d3d24cec2e03f8e834ebf6407b9 vs 7c8c8d63e5081e027cb07557a81af331e1bf6b8d68a92d9bb13e6a9344f024f7"}
2023-07-02T11:20:23.093+0200	ERROR	can't add SV-signed state root	{"error": "stateroot mismatch at block 3701342: 52fb8ce2d246d6b22c30d914fc6f42d908646d3d24cec2e03f8e834ebf6407b9 vs 7c8c8d63e5081e027cb07557a81af331e1bf6b8d68a92d9bb13e6a9344f024f7"}
2023-07-02T11:20:33.445+0200	INFO	persisted to disk	{"blocks": 1, "keys": 22, "headerHeight": 3701343, "blockHeight": 3701343, "took": "2.320499ms"}
2023-07-02T11:20:36.540+0200	ERROR	can't add SV-signed state root	{"error": "stateroot mismatch at block 3701343: 3d14e2bec6e0427081617d692555e3e011139cdc59ab348a9782cc5b63619d45 vs 36378a1546b51b8a3fd99bfff3d5a05acc8f3747352d85d63ac21c6c96e5a8e3"}
2023-07-02T11:20:49.454+0200	INFO	persisted to disk	{"blocks": 1, "keys": 23, "headerHeight": 3701344, "blockHeight": 3701344, "took": "2.5656ms"}
2023-07-02T11:20:51.712+0200	ERROR	can't add SV-signed state root	{"error": "stateroot mismatch at block 3701344: 2191a075fb20aa3049cb7ce217c8260da2a8ae9496c40a9e22b76f124852bc78 vs 715a7dbc46c927bae7c7389567778d9f0d99643120f5adb2e6ba65363fc20f1b"}
2023-07-02T11:21:04.463+0200	INFO	persisted to disk	{"blocks": 1, "keys": 24, "headerHeight": 3701345, "blockHeight": 3701345, "took": "2.292981ms"}
2023-07-02T11:21:20.476+0200	INFO	persisted to disk	{"blocks": 1, "keys": 23, "headerHeight": 3701346, "blockHeight": 3701346, "took": "6.452174ms"}
2023-07-02T11:21:23.754+0200	ERROR	can't add SV-signed state root	{"error": "stateroot mismatch at block 3701345: dd243ca39b8cf72948a899a5820871208bcc3ba2353cb57e1f4dd001f135d1ab vs a826eb7391ea42986cfd3464c2925e3757293e53f9c60560b507f827fbf84817"}
2023-07-02T11:21:35.479+0200	INFO	persisted to disk	{"blocks": 1, "keys": 22, "headerHeight": 3701347, "blockHeight": 3701347, "took": "2.047183ms"}
2023-07-02T11:21:38.927+0200	ERROR	can't add SV-signed state root	{"error": "stateroot mismatch at block 3701347: 3d862e0f2f12c098e4a0c655fe88ebbcb790a81754ab869b33fe93b768f01955 vs 8535522a16a62483c631888a332da09c5679c8ccdd5300efbc76b57e89e86bd0"}
2023-07-02T11:21:52.487+0200	INFO	persisted to disk	{"blocks": 1, "keys": 23, "headerHeight": 3701348, "blockHeight": 3701348, "took": "2.341671ms"}
2023-07-02T11:21:55.477+0200	ERROR	can't add SV-signed state root	{"error": "stateroot mismatch at block 3701348: bbe57ffd67ca396c0d837ab84483f884317fd904ac584278fb4b76ed7245d102 vs de47b1131997382ecd8d7a4d19ba03a222251f000140f252980e5760e4bca3e3"}
2023-07-02T11:21:55.668+0200	ERROR	can't add SV-signed state root	{"error": "stateroot mismatch at block 3701348: bbe57ffd67ca396c0d837ab84483f884317fd904ac584278fb4b76ed7245d102 vs de47b1131997382ecd8d7a4d19ba03a222251f000140f252980e5760e4bca3e3"}

That's expected because 3.6 will have different state and master has 3.6 changes.

shit :/
Is there a commit in master I can use for 3.5 that DOES have the --config-file or is the solution to take the v0.101.2 tag and cherry pick the PR?

ah didn't realise that. I'll use the v0.101.2 tag and cherry pick the --config-file commit


Alternative to ForceDynamic

Alternative - add ability to mark Functions and PrimitiveTests as dynamic, then in preprocessing use this to mark table as dynamic. Currently we assume all Functions and PrimitiveTests are static and deterministic.
Originally posted by @SamuelHill in https://github.com/ianhorswill/TED/issues/25#issuecomment-1555884987

Yes.  I think this is what we want to do.


Problems on addWords

Hello.
I'm trying to test your lib but I'm having some issues with addWords feature.
when I use like this (like the example on your readme file), your library crashes
profanity.addWords(['bola', 'joana']);
Error:
ERROR TypeError: word.replace is not a function
    at /home/runner/Profanaty-test/node_modules/profanity-js/dist/src/index.js:114:49
    at Array.filter (<anonymous>)
    at Profanity.isProfane (/home/runner/Profanaty-test/node_modules/profanity-js/dist/src/index.js:112:30)
    at /home/runner/Profanaty-test/index.js:33:28
    at Array.forEach (<anonymous>)
    at /home/runner/Profanaty-test/index.js:22:11
    at Script.runInContext (vm.js:130:18)
    at Object.<anonymous> (/run_dir/interp.js:209:20)
    at Module._compile (internal/modules/cjs/loader.js:999:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)

but when I try like this, works well
profanity.addWords('bola', 'joana')
I created an repl.it to show you the error
https://repl.it/talk/share/Profanity-lib/129244

Hi,
The .addWords() accept only a list os strings. In the example on readme have a little mistake, I will fix this, see bellow how function works:
profanity.addWords('you', 'beautiful', 'baby')

//or
const badWords = ['you', 'beautiful', 'baby']
profanity.addWords(...badWords)

For more details see test folder

Hello.
I'm trying to test your lib but I'm having some issues with addWords feature.
when I use like this (like the example on your readme file), your library crashes
profanity.addWords(['bola', 'joana']);
Error:
ERROR TypeError: word.replace is not a function
    at /home/runner/Profanaty-test/node_modules/profanity-js/dist/src/index.js:114:49
    at Array.filter (<anonymous>)
    at Profanity.isProfane (/home/runner/Profanaty-test/node_modules/profanity-js/dist/src/index.js:112:30)
    at /home/runner/Profanaty-test/index.js:33:28
    at Array.forEach (<anonymous>)
    at /home/runner/Profanaty-test/index.js:22:11
    at Script.runInContext (vm.js:130:18)
    at Object.<anonymous> (/run_dir/interp.js:209:20)
    at Module._compile (internal/modules/cjs/loader.js:999:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)

but when I try like this, works well
profanity.addWords('bola', 'joana')
I created an repl.it to show you the error
https://repl.it/talk/share/Profanity-lib/129244

Hi,
The .addWords() accept only a list os strings. In the example on readme have a little mistake, I will fix this, see bellow how function works:
profanity.addWords('you', 'beautiful', 'baby')

//or
const badWords = ['you', 'beautiful', 'baby']
profanity.addWords(...badWords)

For more details see test folder

Hi.
 Sorry, dude. Just started to work serious with javascript and node.
If you accept a sugestion, I'm doing a "pre-treatment" of my string to avoid some cases that your library don't get.
This removes anything that is not a letter, number or accented letter and deals with leet code as we use it in Brazil. Idk if it is the more effective or the good way to do this, but it worked.
let cleanedWord = word.replace(/[^a-z0-9À-ž\s]/gi, '')
      .replace(/1/g, 'l')
      .replace(/3/g, 'e')
      .replace(/4/g, 'a')
      .replace(/5/g, 's')
      .replace(/7/g, 't')
      .replace(/0/g, 'o');

Hi.
 Sorry, dude. Just started to work serious with javascript and node.
Se você aceitar uma sugestão, eu estou fazendo um "pré-tratamento" da minha corda para evitar alguns casos que sua biblioteca não recebe.
Isso remove qualquer coisa que não seja uma letra, número ou letra acentuada e lida com código leet como usamos no Brasil. Idk se é a maneira mais eficaz ou a boa maneira de fazer isso, mas funcionou.
let cleanedWord = word.replace(/[^a-z0-9À-ž\s]/gi, '')
      .replace(/1/g, 'l')
      .replace(/3/g, 'e')
      .replace(/4/g, 'a')
      .replace(/5/g, 's')
      .replace(/7/g, 't')
      .replace(/0/g, 'o');

You are right, when I was implementing it I was not able to do this reverse treatment, since I needed to sanitize the result.
If you want to contribute to a project and make it better, feel free to fork and contribute.

Hi.
 Sorry, dude. Just started to work serious with javascript and node.
If you accept a sugestion, I'm doing a "pre-treatment" of my string to avoid some cases that your library don't get.
This removes anything that is not a letter, number or accented letter and deals with leet code as we use it in Brazil. Idk if it is the more effective or the good way to do this, but it worked.
let cleanedWord = word.replace(/[^a-z0-9À-ž\s]/gi, '')
      .replace(/1/g, 'l')
      .replace(/3/g, 'e')
      .replace(/4/g, 'a')
      .replace(/5/g, 's')
      .replace(/7/g, 't')
      .replace(/0/g, 'o');

You are right, when I was implementing it I was not able to do this reverse treatment, since I needed to sanitize the result.
If you want to contribute to a project and make it better, feel free to fork and contribute.


build wheels for python3.7

for reference, this uses a similar setup and worked:
https://github.com/adobe-type-tools/psautohint/pull/56


Native Interactive - Combine Export and Save to support saving to ipynb

We considered this for webview, but never got around to it. After we added support for export, we realized that the "save to ipynb" functionality could be addressed as a selection under "export".
I don't think we ever discussed this enough to decide it wasn't the correct thing to do, so I think we should consider now. :)

My only concern here would be randomizing users. Are they going to be able to find the button in its new location?


[Feature Request] Enable regional support

Enable azure ad region separation in MSAL Go. Internal epic

Closing - duplicate of #240


configure the evaluation of modules in a modular way

Motivation for this change
After realizing that all solutions I could come up with to replace the lib module argument in my NixOS configuration had some shortcoming or another (#51797), I realized that was I really just wanted to be able to do, was to supply arguments to nixos/lib/eval-config.nix based on my configuration (i.e. as part of my configuration). This would allow me to supply my configuration with a custom lib in a pure manner, i.e. no ad hoc extension mechanism through an impure environment variable, and would work with all existing code. Of course this purity cannot be enforced, you could always still call getEnv or similar, but this solution should not reduce purity to my knowledge. If it does, please do tell. This solution also addresses the non-modular arguments to evalModules, because except for the modules attribute to determine the configureModules attribute, everything else can be set through this configureModules attribute. And all the convenience attributes have been kept, but rewritten to their modular equivalent, so they could now be considered syntax sugar when using configureModules, but will still be allowed non-modular when supplied directly to nixos/lib/eval-config.nix for backwards compatibility. I thought it best to only allow the one module to have a configureModules attribute, which ought to be the entry point (e.g. /etc/nixos/configuration.nix), but unless it is safe to assume the first item in the list of modules is this entry point, I have no way to enforce this.
I have tested it with some complex configurations, but the code is not yet ready for a potential merge it its current state, so keep this in mind when giving feedback, but I thought it best to already make a PR so I could already get feedback, so that I know sooner rather than later whether it is a good idea to begin with and what I could do to refine it. Here is an example of it in use:
{
  configureModules = {
    lib = import ../../shared/lib;
  };

  imports = [
    ./main.nix
  ];
}

Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Although I still like the idea behind this PR, I am no longer in favor of the current implementation, because it makes the configuration less composable, e.g. you can no longer pass your configuration to a function that does something like this:
configuration: import <nixpkgs/nixos> { configuration = [ configuration ./other.nix ]; }


Need Bluetooth permission: Neither user 10091 nor current process has android.permission.BLUETOOTH

How do i get bluetooth permission using this library?

@Jinentonik just follow the steps here https://reactnative.dev/docs/permissionsandroid

@codyteng hmmm, i can't find bluetooth permission.

The first 2 paragraphs discussed the permission behavior in Android, in case you missed this line.
The so-called "normal" permissions are granted by default when the application is installed as long as they appear in AndroidManifest.xml.
Here's the list of permissions available for Android:
https://developer.android.com/reference/android/Manifest.permission
For this repo, you will need the following permission:-
<uses-permission android:name="android.permission.BLUETOOTH"/>
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />

@codyteng Thank you for taking the effort to explain to me. Honestly i am new to react native. I do not understand what i need to do with the 2 paragraph.
@leesiongchan Thank you for adding the permission part to Readme.
Besides, i am having issue with EscPos.scanDevices();
It does nothing when i use this function. I am now having trouble to find the bluetooth printer.


Change the width on the individual chain in the chain transfer

Discussed in https://github.com/orgs/Open-Industry-Project/discussions/80

Originally posted by tiagocunico October 16, 2024
On the current release, I'm not able to simulate a real system with the options on the chain transfer configuration.
With this configuration:

I got this behavior: (the box tilts when been transfer)

To make it tilt less, I changed the code to be able to build this chain transfer:

And got this behavior:

It works better, but the problem with this solution is that it is heavily unoptimized, and sometimes the box still tilts when transferring. I think we could solve this problem by been able to increasing the width of the individual chain, so the box doesn't have the space to fall between chains.

This feels like a physics issue. Like, I wonder if it would work better if the box was heavier or moving slower. Looks like we currently have all boxes set to 10 kg (22 lbs).
Anyway, if the goal of this issue is to allow tighter chain spacing like above, then that's an easy fix. We would just lower the minimum Distance clamp. And if we add a range property hint, we can continue to have a slider with a "soft minimum", like the distance we have now, that the user can override by typing in a smaller value.

I think it would work better if the box was heavier, I'm used to working with 30kg box and I have never seen the box do this kinda of tilt on this type of transfer, maybe the difference is the center of mass. I didn't though I could change the mass of the box.
I think the problem with just lowering the minimum distance clamp, is that for longer boxes it will be very heavy on the performance of the pc, I had to use 2 transfers with 29 chains with 0,01 distance to work, and the simulation was very laggy.

I didn't though I could change the mass of the box.

You can, but since you mention it. It's probably worth exposing this to the part, so it can be modified on a per instance basis. Might include it as a property in BoxSpawner as well (and include randomizing it?)

I had to use 2 transfers with 29 chains with 0,01 distance to work, and the simulation was very laggy.
@cooperra , possibly a scaling every frame issue like the rest?

Probably. It also doesn't help that chains are still RigidBody in master
and 1cm is close enough that they'd overlap. I doubt the physics engine
would like that very much, but it might be fine since they're frozen.
On Wednesday, October 16, 2024, Robert Yevdokimov @.***>
wrote:

I didn't though I could change the mass of the box.
You can, but since you mention it. It's probably worth exposing this to
the part, so it can be modified on a per instance basis. Might include it
as a property in BoxSpawner as well (and include randomizing it?)
I had to use 2 transfers with 29 chains with 0,01 distance to work, and
the simulation was very laggy.
@cooperra https://github.com/cooperra , possibly a scaling every frame
issue like the rest?
—
Reply to this email directly, view it on GitHub
https://github.com/Open-Industry-Project/Open-Industry-Project/issues/81#issuecomment-2417999552,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFA44PC4VCGODZP6O2AXVDZ33LEZAVCNFSM6AAAAABQBXPJ6CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJXHE4TSNJVGI
.
You are receiving this because you were mentioned.Message ID:
@.***
com>


Migration to UpsertEntityAsync from TableOperation.InsertOrReplace does not support ETag

The following code in the Microsoft.Azure.Cosmos.Table will obey the provided ETag value, and throw an exception if you attempt to update the entity.
public async Task<bool> InsertOrReplaceAsync(T entity, CancellationToken cancellationToken = default)
{
    var insertOperation = TableOperation.InsertOrReplace(entity);
    var result = await _table.ExecuteAsync(insertOperation, TableRequestOptions, OperationContext(entity.ETag), cancellationToken);
    return ValidateResult(result);
}

Using the new Azure.Data.Tables package the ETag on the provided entity is not obeyed, and there is no overload to specify it, which there is for the UpdateAsync method.
public async Task<bool> InsertOrReplaceAsync(T entity, CancellationToken cancellationToken = default)
{
    var result = await _table.UpsertEntityAsync(entity, TableUpdateMode.Replace, cancellationToken);
    return ValidateResult(result);
}

Some code has been removed for brevity of the example.
Is this a conscious design decision not to support the ETag for upsert operations? Or am I missing something?

Thank you for your feedback.  Tagging and routing to the team member best able to assist.

Is this a conscious design decision not to support the ETag for upsert operations? Or am I missing something?

Yes, this is a conscious design. Is there a specific scenario you have where this is a blocker?

It's just really useful for playing fast and loose with optimistic concurrency. Sometimes we might have processors that are racing each other, and post processors, it's nice to just throw data at the table and not have to worry if something else has beaten you to it.
Appreciate we could just use a 409 for the insert and then use the ETag for updates. Still. ETag for both was a nice feature.

Hi @christothes! I'm having the exact same issue as @jasond-s and this the first blocker I've run into when migrating from Microsoft.Azure.Cosmos.Table. The way I see it it's a glaring feature omission and renders UpsertEntity useless for most of my use-cases where I previously used InsertOrReplace.
I'd be happy to send a PR with an introduced optional ETag parameter in UpsertEntity.

Closing unless we see some additional feedback in support of this feature.


[G2M] List and Tabs Component

Can we change the background color of the selected list to theme.palette.shade.secondary[50]?
Also, the body text has a different typeface.

Can we change the background color of the selected list to theme.palette.shade.secondary[50]?
Also, the body text has a different typeface.

updated

Also, this branch has a conflict in CHANGELOG.md


[GSSOC' 23] Improving the Overall UI of the website

Issue Description
Current Behavior
The website's UI is currently plain and lacks visual appeal. It doesn't have any icons or transitions, and the overall feel of the website is lacking.
Desired Behavior
I would like to enhance the website's UI by adding icons, implementing smooth transitions, and improving the overall feel of the website to create a more engaging and visually appealing user experience.
UI Enhancements

[ ] Add icons to the navigation menu and buttons for better visual representation and intuitive user interaction.
[ ] Implement smooth transitions between different sections and elements on the website to enhance the overall user experience.
[ ] Refine the color scheme, typography, spacing, and visual hierarchy to create a more cohesive and aesthetically pleasing design.
[ ] Adding the dark mode in all pages.

its not currently needed for website


sharing with instagram ?

is there any functionality like sharing on Instagram?

@Dhamu143  Instagram does not offer Share or Like buttons. Thanks!


"could not find schema"

If I run a command such as,
kubeconform -schema-location default -schema-location ~/code/third-party/kubeconform/scripts/crds/ .charts

I get a lot of output, such as:
.charts/dev/certs/templates/acme-crt.yaml - Certificate acme-crt failed validation: could not find schema for Certificate

Now, the crds directory specified contains a bunch of schema files ("crds" is perhaps a bad name for the dir; they contain schemas, not CRDs):
» ~/tmp/venv/bin/python3 ../openapi2jsonschema.py ~/[snip]/.charts/[snip]/cert-manager/templates/crd-certificates.yaml
JSON schema written to certificate_v1alpha2.json
JSON schema written to certificate_v1alpha3.json
JSON schema written to certificate_v1beta1.json
JSON schema written to certificate_v1.json
± kubeconform:master:/scripts/crds
» ls
certificate_v1.json  certificate_v1alpha2.json  certificate_v1alpha3.json  certificate_v1beta1.json

So … why is the schema still not found?

you're missing the file name from the schema location path so kubconform doesn't know which file to grab.
this is how the path should look in your case:
-schema-location default -schema-location ~/code/third-party/kubeconform/scripts/crds/{{.ResourceKind}}_{{.ResourceAPIVersion}}.json

Hi @roy-work , I suspect @eyarz might have found the right solution? :crossed_fingers:  Closing this issue :bow:


Fix ansible-lint octal permission failures

ansible-lint 2.3.5 introduced an updated check on octal permissions
requiring a leading 0.
(cherry picked from commit 2545ba4b48c13f68f5a37e7cc3d0f8149273d612)
Signed-off-by: Matthew Thode<EMAIL_ADDRESS>

:+1:

+1, straightforward backport. Going to let gating run, though.

fail fail fail fail fail

recheck

recheck

recheck

recheck
21:18:45 TASK: [Gather mysql facts] ****************************************************
21:18:45 failed: [jrpcaioiad-2ca_galera_container-854581e4] => {"failed": true, "parsed": false}
21:18:45 OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014
21:18:45 debug1: Reading configuration data /etc/ssh/ssh_config
21:18:45 debug1: /etc/ssh/ssh_config line 19: Applying options for *
21:18:45 debug1: auto-mux: Trying existing master
21:18:45 debug1: mux_client_request_session: master session id: 2
21:18:45 Traceback (most recent call last):
21:18:45   File "<stdin>", line 1682, in <module>
21:18:45   File "<stdin>", line 1679, in main
21:18:45   File "<stdin>", line 1660, in gather_facts
21:18:45   File "/usr/lib/python2.7/subprocess.py", line 566, in check_output
21:18:45     process = Popen(stdout=PIPE, *popenargs, **kwargs)
21:18:45   File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
21:18:45     errread, errwrite)
21:18:45   File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
21:18:45     raise child_exception
21:18:45 OSError: [Errno 2] No such file or directory

21:19:57 TASK: [galera_client | Install pip packages] **********************************
21:19:57 failed: [jrpcaioiad-2ca_galera_container-941f69ac] => (item=MySQL-python) => {"attempts": 5, "cmd": "/usr/local/bin/pip install MySQL-python", "failed": true, "item": "MySQL-python"}
21:19:57 msg: Task failed as maximum retries was encountered
21:19:57 failed: [jrpcaioiad-2ca_galera_container-941f69ac] => (item=python-memcached) => {"attempts": 5, "cmd": "/usr/local/bin/pip install python-memcached", "failed": true, "item": "python-memcached"}
21:19:57 msg: Task failed as maximum retries was encountered
21:19:57 failed: [jrpcaioiad-2ca_galera_container-941f69ac] => (item=pycrypto) => {"attempts": 5, "cmd": "/usr/local/bin/pip install pycrypto", "failed": true, "item": "pycrypto"}
21:19:57 msg: Task failed as maximum retries was encountered
21:19:57
21:19:57 FATAL: all hosts have already failed -- aborting

is kilo passing?

recheck - kilo should pass now that the repo size has been reduced.


Pin dependencies that do not use semver to specific commits

As decided on the last call https://docs.google.com/document/d/1ZuBAwTJvQN7xkWVvEFXj5WU9_JmS5TPiNbxCJSvPqX0/edit#heading=h.xdsshpxv2gpd

At least gogo/protobuf should be parked, otherwise tests will break. At least on my machine, version: 30cf7ac33676b5786e78c746683f0d4cd64fa75b works, but with glide update one gets: version: 100ba4e885062801d56799d78530b73b178a78f3 and that one breaks with error message invalid character 'A' looking for beginning of value from integration_test.go (storage-integration-test target)
Although that could be a sign of something else as well. Just reporting it here in case someone else runs to that issue (I had real fun finding it).

As we have switched to dep in  #1240. I can see only one dependency which says branch = master which is github.com/crossdock/crossdock-go. I think this issue can be closed.

@bhavin192 thanks for checking.


cannot start at login on Manjaro

Your os
Linux(Manjaro kde)
The version of electron-ssr
v0.2.7
What's the problem
I configured it to start at login  in electron-ssr setting, but when  i start Manjaro,  electron default app just pop out, and say:
To run a local app, execute the following on the command line:
/usr/lib/electron4/electron path-to-app

This might be a pacman package problem, the archlinux-cn package it with electron-4 which should be electron-2.
This should be fixed after v0.3.0 released

Yes, I tried to install v0.2.7 release manually，It turns out it's works fine. Thank you very much！


6.1.6 release

Merge from dev to master

Codecov Report

Merging #239 into master will increase coverage by 0.61%.
The diff coverage is 65.76%.

@@             Coverage Diff              @@
##             master     #239      +/-   ##
============================================
+ Coverage     32.82%   33.44%   +0.61%
- Complexity     1429     1482      +53
============================================
  Files            97       97
  Lines         23359    23390      +31
  Branches       3881     3840      -41
============================================
+ Hits           7667     7822     +155
+ Misses        14151    14002     -149
- Partials       1541     1566      +25

Flag
Coverage Δ
Complexity Δ

#JDBC41
33.31% <65.76%> (+0.59%)
1475 <36> (+52)
:arrow_up:

#JDBC42
33.36% <65.76%> (+0.6%)
1480 <36> (+54)
:arrow_up:

Impacted Files
Coverage Δ
Complexity Δ

...om/microsoft/sqlserver/jdbc/SQLServerResource.java
100% <ø> (ø)
4 <0> (ø)
:arrow_down:

.../com/microsoft/sqlserver/jdbc/SQLServerJdbc42.java
25% <ø> (-25%)
0 <0> (ø)

.../com/microsoft/sqlserver/jdbc/SQLServerJdbc41.java
33.33% <ø> (-26.67%)
0 <0> (ø)

...soft/sqlserver/jdbc/SQLServerDatabaseMetaData.java
12.72% <ø> (-0.07%)
20 <0> (ø)

...t/sqlserver/jdbc/SQLServerConnectionPoolProxy.java
13.82% <ø> (+1.2%)
12 <0> (ø)
:arrow_down:

...a/com/microsoft/sqlserver/jdbc/SQLJdbcVersion.java
0% <ø> (ø)
0 <0> (ø)
:arrow_down:

...m/microsoft/sqlserver/jdbc/SQLServerResultSet.java
23.96% <ø> (+0.03%)
169 <0> (-2)
:arrow_down:

...oft/sqlserver/jdbc/SQLServerResultSetMetaData.java
37.32% <ø> (+0.51%)
20 <0> (ø)
:arrow_down:

...soft/sqlserver/jdbc/SQLServerPooledConnection.java
51.06% <ø> (+1.06%)
12 <0> (ø)
:arrow_down:

...oft/sqlserver/jdbc/SQLServerCallableStatement.java
13.81% <ø> (+0.39%)
39 <0> (ø)
:arrow_down:

... and 33 more

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 bc5f967...df06f67. Read the comment docs.


Missing Properties from PerformanceResourceTiming

Missing/Incorrect APIs
The following properties are missing from the Flow type definition for PerformanceResourceTiming:

decodedBodySize
encodedBodySize
nextHopProtocol
transferSize
workerStart

https://github.com/facebook/flow/blob/v0.111.3/lib/bom.js#L411

Relevant documentation
https://www.w3.org/TR/resource-timing-2/#sec-performanceresourcetiming
https://developer.mozilla.org/en-US/docs/Web/API/PerformanceResourceTiming/transferSize

Fixed with https://github.com/facebook/flow/pull/8591


Implement undo button

Another nice-to-have enhancement is that sometimes I'll accidentally select the wrong thing (e.g. changing my mind and losing the wrong card after a long rest), and while it's usually possible to manually correct this, it's sometimes nice to just be able to roll back the change with the click of a button. The Gloomhaven Helper app has this feature and it really comes in handy there.

Indeed that would be a great addition but... pretty hard to implement to be honest 😨
We'll think about how to do that ;-) Thanks for opening an issue !


Add module import support

Right now when you import the library it bundles all of the icons, which is 2.39MB. It would be great if you could just import the individual icons like import HomeFill from 'react-native-remix-icon/home-fill';

For now, you can import it like
import { ArrowLeftSLine } from 'react-native-remix-icon/src/icons';
and use it like
<ArrowLeftSLine width={22} height={22} fill="red" />