Uncaught Error: ENOENT: no such file or directory [..] app-1.0.2\resources\app.asar

Not sure if duplicate of #7796, #6140?
Uncaught Error: ENOENT: no such file or directory, open 'C:\Users\Jascha\AppData\Local\atom\app-1.0.2\resources\app.asar'
[Enter steps to reproduce below:]

...
...

Atom Version: 1.0.2
System: WORKSTATION
Thrown From: release-notes package, v0.53.0
Stack Trace
Uncaught Error: ENOENT: no such file or directory, open 'C:\Users\Jascha\AppData\Local\atom\app-1.0.2\resources\app.asar'
At fs.js:519

Error: ENOENT: no such file or directory, open 'C:\Users\Jascha\AppData\Local\atom\app-1.0.2\resources\app.asar'
    at Error (native)
    at fs.openSync (fs.js:544:18)
    at Object.fs.readFileSync (ATOM_SHELL_ASAR.js:402:12)
    at Object.loadFile [as .js] (C:\Users\Jascha\AppData\Local\atom\app-1.0.2\resources\app.asar\src\babel.js:138:21)
    at Module.load (module.js:347:32)
    at Function.Module._load (module.js:302:12)
    at Module.require (module.js:357:17)
    at require (module.js:376:17)
    at atom-workspace.<anonymous> (C:\Users\Jascha\AppData\Local\atom\app-1.0.2\resources\app.asar\node_modules\release-notes\lib\main.js:40:20)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (C:\Users\Jascha\AppData\Local\atom\app-1.0.2\resources\app.asar\src\command-registry.js:241:29)

Commands
     -2:06.7.0 settings-view:check-for-package-updates (atom-workspace.workspace.scrollbars-visible-always.theme-atom-material-syntax.theme-atom-material-ui)
     -0:11.2.0 window:update-available (atom-workspace.workspace.scrollbars-visible-always.theme-atom-material-syntax.theme-atom-material-ui)

Config
{
  "core": {
    "themes": [
      "atom-material-ui",
      "atom-material-syntax"
    ],
    "disabledPackages": [
      "linter-jshint",
      "linter-js-standard"
    ],
    "autoHideMenuBar": true
  }
}

Installed Packages
# User
No installed packages

# Dev
No dev packages

Could you reinstall Atom 1.0.5 and report whether this still happens? What OS are you on?

Thank you for your issue!
We haven't gotten a response to our questions in our comment https://github.com/atom/atom/issues/8268#issuecomment-130383738. With only the information that is currently in the issue, we don't have enough information to take action. I'm going to close this but don't hesitate to reach out if you have or find the answers we need, we'll be happy to reopen the issue.


Markdown support for value description in CLI

Is your feature request related to a problem? Please describe.
Markdown is already supported in the description of package configuration values, see #734
Describe the solution you'd like
The glasskube configure command should also consider markdown when printing the package config descriptions.

Hey @christophenne can I work on this issue

Hello @christophenne
I'm interested in working with this task. Could you assign issue to me, please?

Hi @Elshirak - How is it going? Did you have already time looking into it?

Hello @pmig!
Yes, I'm still working on it. Probably, I need to make changes somewhere in ./cmd/glasskube/cmd/configure.go file to make configure function support markdown, how it's done in ./cmd/glasskube/cmd/describe.go.
Am I right? Thank you for your attention.

@christophenne can you help out here?

@Elshirak yes there is a printMarkdown function in describe.go. In the configure command, there is a user input loop over the configuration values, in which the descriptions are printed – this is where markdown support should be integrated. It makes use of the utility functions in internal/manifestvalues/cli/configure.go.

I am fresher for open source projects. sir, anyone can  assign the work

@aashikantkumar this ticket is already assigned.

can you assign any work  ?

@aashikantkumar I'm sorry but we currently don't have community tasks

How can I contribute to this project?

@aashikantkumar please follow https://github.com/glasskube/glasskube/blob/main/CONTRIBUTING.md and keep an eye on good first issues, but currently we don't have any good first issues.

thanks for guide  me

@christophenne can I take this?

@bishalbera thanks for your interest, but I'd rather reserve this for newcomers to the project, as it's labeled as good first issue.

@christophenne ohh sorry. I missed that tag

Hey @christophenne, I would like to work on this issue.

Hey @pmig, I believe I've resolved the issue. Please review the changes in this pullrequest and let me know if you have any feedback.


Adding load test for ALS movie recommender model

Description
Adding Azure DevOps load test configuration for operationalized AKS model.
Related Issues
Checklist:

[x] My code follows the code style of this project, as detailed in our contribution guidelines.
[ ] I have added tests.
[ ] I have updated the documentation accordingly.

+1 on making this clear in a README. It is using a language and technology stack that may be not familiar to most of the audience. It would be great to describe some details about this.

in the past I've used locust, has the advantage of being easy to setup and deply and python based

how easy is locust as a comparison to the C# option?

may be easier to leverage something like what they've done here: https://github.com/Microsoft/AKSDeploymentTutorialAML/blob/master/{{cookiecutter.project_name}}/Keras_Tensorflow/aks/06_SpeedTestWebApp.ipynb

closing this as it relies on deprecated tooling: https://docs.microsoft.com/en-us/visualstudio/test/quickstart-create-a-load-test-project?view=vs-2019
we can leverage something like #758 for ALS too


rocket engines orientation

Finally able to reproduce visual Glitch!

Can you give steps to reproduce reliably so I can see if I can get a fix for it?
is absolute direction a factor?  Chunk loading?

Placed a block next to the structure, placed engine. Broke starting block, built ship.
 (Not sure if needed)
Slabs on top and bottom of tanks for astedics!
In that order.

Would you like to come onto our server to see for yourself?

I can probably make it on on Wednesday

Ok if you build it in a structure the rotate the wrong way. If you build it in the open they orient the correct way.

Appears to be an issue only when the rocket faces N/S


Increase timeout of http.Client for Docker Registry V2 client.

The one minute timeout was too short and caused errors due to reading on a closed connection when downloading blobs.

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "master" git@github.com:jpoler/distribution.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

Ammending updates the existing PR. You DO NOT need to open a new one.

@shykes @dmp42 @samalba @stevvooe

cc @docker/distribution-maintainers

@jpoler What specific errors are you seeing?
We need to be careful setting this timeout for unbounded layer downloads. Ten minutes is probably too long for manifest fetches, but not enough for very large layers over slow links.

Error during read read tcp <IP_ADDRESS>:443: use of closed network connection
That error occurs after exactly 60 seconds, and when I increase the timeout blob download works. I agree that 10 minutes is sort of arbitrary and creates a problem with unbounded manifest fetches. This was mainly to get the conversation started surrounding a proper timeout.
One solution would be to set a long timeout (20 minutes?) for blob download/upload, and in func GetByTag (in registry/client/repository.go) manually set the timeout to something short like a minute, and defer a function that will set the timeout to whatever it was before the function was called.
@stevvooe

@jpoler http.Client is a cheap object to allocate. We can probably create a new for each request with a tooled timeout.
This is going to take some refactoring to achieve the ideal. Would you mind filing an issue describing this problem?
For the time being, we can probably safely merge this if it is commented with TODO.
@dmcgowan PTAL

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "master" git@github.com:jpoler/distribution.git somewhere
$ cd somewhere
$ git rebase -i HEAD~2
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f

Ammending updates the existing PR. You DO NOT need to open a new one.

How can I re-run the tests? Is the best way to trigger it with a force push?
These CI failures appear to be surrounding setup of the tests (apt-get failures).

@jpoler I've restarted the test.

@jpoler during this one minute was there data being transferred? We absolutely cannot set a timeout on how long it takes to download the data, but only on idle time between receiving bytes. If this timeout does not achieve that, it needs to be removed not extended.

@jpoler Looks like we are having some build issues. Apologies for the delay?
@dmcgowan Is that a -1?

@jpoler @dmcgowan Tests are now passing (worked out CI issues). Let me know how we'd like to proceed.

@stevvooe yes this is a -1, but only to this solution. I agree if this is resulting in timeouts on an active connection we do need to make a change. Let me verify I am seeing this issue in our refactor within docker/docker.

Verified trying pull with a large layer
Pull (1 of 1): dmcgowan/big-4gig-1:latest@sha256:2015181812dbe1bbaf2195946d3e964bafc778ea0ea0f668140b0131833800e9
sha256:2015181812dbe1bbaf2195946d3e964bafc778ea0ea0f668140b0131833800e9: Pulling from dmcgowan/big-4gig-1
af10e98f6e0e: Extracting [=>                                                 ] 97.11 MB/4.097 GB
511136ea3c5a: Already exists
f3c84ac3a053: Already exists
a1a958a24818: Already exists
9fec74352904: Already exists
d0955f21bf24: Already exists
pulling with digest reference failed from v2 registry: ApplyLayer exit status 1 stdout:  stderr: unexpected EOF

@dmcgowan I agree that timeouts would be better between receiving data instead of just an absolute time slice.
From a brief look it appears that transport timeouts have to do with handshakes, so they might not help. Any idea of how to achieve the timeout between reads from library functions, or is this a roll-your-own kind of thing?

@jpoler idle timeouts are normally done by using SetDeadline on the net.Conn
See http://golang.org/src/net/net.go#L91
I am also looking into this issue more to see what the best way to accomplish this is.

@jpoler can you update this PR to completely remove the timeout setting. A transport timeout will be the responsibility of the creator of the transport, and we should avoid making timeout decisions at this level.  It may be possible to have contextual timeouts set later on for requests which are of a determined size (essentially any request that is not sending or receiving a stream of bytes).

Seems it's possible to provide custom Dial function for Transport, which returns patched net.Conn.
This Conn can reset Deadline timeout for itself after reading some bytes.

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "master" git@github.com:jpoler/distribution.git somewhere
$ cd somewhere
$ git rebase -i HEAD~2
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f

Ammending updates the existing PR. You DO NOT need to open a new one.

Done.

LGTM

LGTM
@noxiouz That sounds like the right approach and would be pretty easy to have as a wrapper.


Add Tanvi's Profile and Project

Added my profile and project to the showcase
Update: Added new profile and project - Drum Kit

Added my profile and project to the showcase Update: Added new profile and project - Drum Kit

Okay, @TanviCodesEveryday, I will review it. If you have followed all the guidelines, then the merge is accepted."

The hosted URL is not found. If it is not hosted, please mention that.
On Tue, 1 Oct 2024 at 12:38, vercel[bot] @.***> wrote:

The latest updates on your projects. Learn more about Vercel for Git ↗
https://vercel.link/github-learn-more
Name Status Preview Comments Updated (UTC)
dev-profile ✅ Ready (Inspect
https://vercel.com/gyanthakurs-projects/dev-profile/7ZKgkhEH6E12XM3eh9iwFERR1XHt
) Visit Preview
https://vercel.live/open-feedback/dev-profile-git-fork-tanvicodesever-ac421e-gyanthakurs-projects.vercel.app?via=pr-comment-visit-preview-link&passThrough=1 💬
Add feedback
https://vercel.live/open-feedback/dev-profile-git-fork-tanvicodesever-ac421e-gyanthakurs-projects.vercel.app?via=pr-comment-feedback-link Oct
1, 2024 7:07am
—
Reply to this email directly, view it on GitHub
https://github.com/Gyanthakur/Dev_Profiles/pull/104#issuecomment-2384964899,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXNNGDXQVSASRE2W35J6RYDZZJC5TAVCNFSM6AAAAABPE4RTRWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBUHE3DIOBZHE
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Linker API docs not split by theme

All of these just show all the linker methods:
https://moj-analytical-services.github.io/splink/linkerest.html
https://moj-analytical-services.github.io/splink/linkerpred.html
https://moj-analytical-services.github.io/splink/linkerexp.html
etc.
rather than the relevant subset of methods that they should do

Already raised: #1663


Putting back "gosu"

if gosu is not downloaded the runscript just fails and the container dies immediately.

Hi @lluishernandez I am happy to add this back. Can you please rebase this against master, and squash to a single commit? Thanks!


Discussion: Should URLs be translated too?

This issue was raised by @Kittycatou and I think it's a valid point, so I'm opening a discussion here.
Essentially, the question is whether or not we should translate URLs. For example:

/en/patrons/join

/fr/patrons/join => Just change the language prefix
/fr/mecenes/rejoindre => Translate the URL itself

The first option is how it works now. The second option would require us to change the way different languages are resolved. Essentially, we need to find a way for the system to know that /en/patrons/join and /fr/mecenes/rejoindre are the same thing. Not impossible, but it would require some work.
You opinions/preferences are welcome :)

I personally think that we should keep it simple and just change the language prefix.
As a user, I'm more interested by the contents than the URL. It's already super cool to have the option to browse the website in different languages.

I haven't seen a ton of precedent for translated path names, but I am admittedly an English speaker ;)

I personally think that we should keep it simple and just change the language prefix.

That certainly would be less work :)
I'll keep this open a while longer in case others want to weigh in. If not, I'll close it and we'll stick to how things are.

I don't think there are that many people that use URLs directly.  I think the extra complexity does not really add much. And it does obscure that different versions of the same article are actually translations of the same thing.
If a language version of an article doesn't exist, how is the URL now named? Does a //patrons/join exist, and points to the English version, or is the /en/ version used until the page has been translated?

If a language version of an article doesn't exist, how is the URL now named?

All pages are available in all languages. For example, if you go to https://beta.freesewing.org/fr/docs/about the content itself is English (because it does not exists in French). However, the menus, the header, the footer, and everything else is still in French. There's just the English content with a message (in French) that a French translation is not available, thus we show the English version.

So you would have /fr/patrons/join until someone decides to translate it, and then it would become /fr/mecenes/rejoindre. At which point the old URL would no longer work unless you would be prepared to have both URLs available. Or you would have to translate all URLs the moment you decide to make 'fr' a language, just to avoid having /fr/patrons/join exist in the first place. This seems to me to add a bunch of complexity that doesn't really add too much convenience to the user.

Ok


[Bug] Step graph and "connectNulls = false" connects where it should not

Version
5.5.1
Link to Minimal Reproduction
https://echarts.apache.org/examples/en/editor.html?c=line-step&version=5.5.1
Steps to Reproduce
Use above example and add null values in the middle of the dataset.
Current Behavior
Lines are painted that are not allowed to be painted. I have marked these in red here:

Expected Behavior
Marked area should not be there.
Environment
- OS:
- Browser:
- Framework:

Any additional comments?
No response

it's all normal, because step option is different for each line. Set all lines to same step and the gaps will look the same.
📌 please close issue if problem solved.

No, unfortunately that doesn't solve the problem. It is the case that both the connection from the value to the left of null must have no connection, as well as the connection from the value to the right from null to null. This means that the graph is not displayed correctly in any of the step options.


Can I drag item in just a specific location??

Can I drag item in just a specific location??
example
i have
1 2 3 4 5
6
1 can only drag in 6 and will not animate while dragging like 2 1 3 4 5  . . .      2 3 4 5 1
just
2 3 4 5 6
1
is this possible ?

Hi. Sorry this library does not support such behavior. I guess implementing such behavior with RecyclerView is difficult :(

there is a library this scenario is possible but its impelemented in  IOS  Swift not in android >.<
https://github.com/ra1028/RAReorderableLayout
this method do the work
optional func collectionView(collectionView: UICollectionView, atIndexPath: NSIndexPath, canMoveToIndexPath: NSIndexPath) -> Bool

Thanks for your info, it helps me a lot :) I found out how to achieve the same behavior. I am going to update the develop branch after I go back to home today.

MEMO:
Look at the line 1394 of the RecyclerViewDragDropManager. If the checkInRange() method returns false, swapping will not be occurred. I will add a little bit modification to make library users can implement more flexible control whether the dragging item can drop to the specified position.
https://github.com/h6ah4i/android-advancedrecyclerview/blob/0.8.7/library/src/main/java/com/h6ah4i/android/widget/advrecyclerview/draggable/RecyclerViewDragDropManager.java#L1394

Thx a lot

Hi @lkevin029, I have just pushed a new branch which includes new onCheckCanDrop() method.
https://github.com/h6ah4i/android-advancedrecyclerview/tree/feature/support_check_can_drop_callback
How to use the new feature

Call RecyclerViewDragDropManager.setCheckCanDropEnabled(true)

dragMgr.setCheckCanDropEnabled(true);

:point_right:  Actual usage in demo app
2. Implement onCheckCanDrop() on your adapter
@Override
public boolean onCheckCanDrop(int draggingPosition, int dropPosition) {
    return (draggingPosition % 2) == (dropPosition % 2);
}

:point_right:  Actual usage in demo app

You can try the latest library through JitPack:
repositories {
    maven { url "https://jitpack.io" }
}

dependencies {
    compile 'com.github.h6ah4i:android-advancedrecyclerview:7acb96ca855022bbe32db03c410166744ce0ecd5'
}

thank you for this  👍


Create a Dictionary to Track Feature Dependencies

According to our Communication Feature Database (https://glitter-runner-dfb.notion.site/e0fd0ceb6c6c47d9b8e3bec95d8af78f?v=3050cfbe883e4d9ea1954bc67bf12a46), we currently generate 122 unique features across all of our different functions --- that's a lot!
However, these features were the contributions of many RA's over time, and while most of the features are modular, different features may have different dependencies. For example, some of the features depend on the "lexical" (i.e., wordcount-related) features being generated first; they then look for the outputs of specific columns.
Example: Proportion of 1st person pronouns
Code: https://github.com/Watts-Lab/team-process-map/blob/main/feature_engine/features/other_lexical_features.py
def get_proportion_first_pronouns(df):
  return(df.apply(lambda row: row["first_person_raw"] / row["num_words"] if row["num_words"] > 0 else 0, axis=1))

We should create a dictionary (possibly within the top-level feature_engine/ folder) that tracks the following:

The names of all our features;
The names of the file(s) containing the features;
The names of the columns(s) generated by the features;
Whether the feature is at the chat- or conversation-level;
Relevant semantic groupings for the feature (e.g., "emotion features");
Key dependencies of the features (NOTE: this is where there will need to be some design decisions; how do we want to handle storing dependencies? Will this be just a string description, or a more structured way of expressing this information? There are also different forms of dependency --- in some cases, certain features depend on things like having vector data (see discursive diversity, forward flow, mimicry); others have package dependencies (e.g., ConvoKit Politeness is dependent on Spacy); still others depend on other features (such as the lexical example). We may therefore have to create different columns to log different types of dependencies.);
A link to the wiki page of the feature.

Most of this information is already in the Communication Feature Database, but we need some way to have a structured log of all the features in the repository, and then referencing it when we give users the option to choose features (https://github.com/Watts-Lab/team-process-map/issues/202; https://github.com/Watts-Lab/team-process-map/issues/203).

Hi @zhouhelena, amazing job on your first pass on this task! I just took a look at the branch (https://github.com/Watts-Lab/team-process-map/tree/helena/package_task3), and I've made some changes. This comment will describe some of the edits, as well as next steps for this task.
Consolidate Feature Information into a Single Dictionary
The main change I made to the branch was to consolidate the hard-coded dictionaries in feature_builder.py (screenshot below) with feature_dictionary.json.

The code I wrote lives here (generate_feature_dict.py): https://github.com/Watts-Lab/team-process-map/blob/c9a4ca16a2b4d11251b4f3d67b27d2eed8cf1bef/feature_engine/generate_feature_dict.py
The idea is to create a "one-stop-shop" where all of the information we could care about regarding a given feature lives in a single location. This way, we don't have to remember to update both the main JSON and the dictionaries inside feature_builder.py; when someone adds a new feature, they just add it to a single location, and it will propagate throughout.
Here is how the dictionary later gets read in (in feature_builder.py):
# Read in the feature dictionary
        with open('features.pkl', 'rb') as file:
            feature_dictionary = pickle.load(file)

        # set which chat / conversation feature methods we want to calculate
        self.feature_methods_chat = {key: feature_dictionary[key]["function"] for key in self.features_to_calculate if  feature_dictionary[key]["level"] == "Chat"}
        self.feature_methods_conv = {key: feature_dictionary[key]["function"] for key in self.features_to_calculate if  feature_dictionary[key]["level"] == "Conversation"}

Next Steps
With this change, I think we could likely do the following:

[ ] Delete feature_dictionary.json and features.json, as they are now consolidated;
[ ] Modify generate_feature_dict.py to combine feature_methods_chat and feature_methods_conv, as we can separately build these in feature_builder.py;
[ ] Ensure that the names in the feature dictionary match the names in methods dictionary --- in my initial pass, the names in the dictionary didn’t always perfectly match, and I made a few manual edits. In addition, the methods generating the aggregates ("Conversation Level Aggregates", "User Level Aggregates") are missing entries in the dictionary, and they need to be added back.

Expand the Default Set and Update How the Feature List is Created.
In my edits, I made the default set longer ---  I’d rather err on the side of defaulting to generating a feature (assuming it's not too time costly or requires a certain data format such that it would throw an error), because defaults are really powerful. If we don't put something in the default, chances are that only a very small number of users will actually make a change to the parameters and find the feature. Thus, the smaller our defaults, the less useful our package will be! I think we should take another pass on the default list with this philosophy in mind; i.e., we should have a proactive reason not to default, as opposed to having a proactive reason to include a feature.
I also had to make a few changes with the way that the feature list is ordered --- it turns out that there are certain dependencies that require some features to be calculated before others (this is explained in a comment inline). For example, "Word Count" needs to be called before "Information Exchange," as the latter uses the former to compute the feature. But more generally, the way that the methods are designed seem to hide some interdependencies that need to be cleaned up in next steps.
Next Steps

[ ] Look at some of these dependencies, and figure out error catching --- what happens if the user doesn't want to calculate the word count feature, but they DO want to calculate information exchange? How will we catch the error? Will we just silently calculate it anyway?
[ ] Some of the functions are "double whammy"s, in that the method in ChatLeveFeaturesCalculator is the same for multiple features --- for example, Conversational Repair, Word Type-Token Ratio, Proportion of First Person Pronouns, and Questions all use the same method, so we would end up doing redundant work if we call that method 4 times. More importantly, it's confusing that the same method generates 4 completely different features, so I think we should split it up.
[ ] Add a list for features people DON'T want; right now, there is a list of features that people do want (the additional_feature parameter), but I think that we also want the reverse: give people the option to not generate things that exist in the defaults.
[ ] (Just food for thought) I think there is a natural separation between the lexical features / things that don’t require generating vectors, and features that require generating vectors (as those are slower); I wonder if there's a version of the defaults where you JUST get the lexical features, versus a default where you get all the features we think are potentially useful --- perhaps a flag where you can turn off all features that require BERT / Sentence vectors?
[ ] (Minor change) Consider renaming the additional_features parameter something more positive, like custom_features? I feel like additional makes the features seem unimportant for whatever reason.

General next step: Connecting the Feature Dictionary to the Testing Suite
Currently, we are using the output CSV's to calculate how many features we have to test:
test_chat_df =  pd.read_csv("../output/chat/test_chat_level_chat.csv")
test_conv_df =  pd.read_csv("../output/conv/test_conv_level_conv.csv")
num_features_chat = test_chat_df.columns.size - 7
num_tested_chat = test_chat_df['expected_column'].nunique()
num_features_conv = test_conv_df.columns.size - 7
num_tested_conv = test_conv_df['expected_column'].nunique()

I think that Helena and @agshruti12 can work together to use the "master dictionary" to do this more intelligently --- if we trust that the dictionary to have the right number of features, we can just go through the dictionary (and the columns stored) to track how much test coverage we have!

Hi @xehu! I went through the feature dictionary, and I have some questions:

Is it correct to say we only have chat level and conversation level features? In the feature database, 'message quantity' is labeled as conversation and speaker level. We do have 'calculate_user_level_features.py' but they are in neither the database nor the dictionary. Besides, the NER feature is missing too. Right now, I'm confused about what are all the features and where they belong.
Many features are sharing the same function. For example, in chat level features, both "TextBlob Polarity" and "TextBlob Subjectivity" are included in calculate_textblob_sentiment(). This is troublesome for managing dependencies. In my opinion, we should either update our Wiki/database, or split Python functions that are shared, so that each feature only has one corresponding function.
In terms of managing the dependencies/prerequisites, I propose we add a field in the feature dictionary: 'dependencies': [dep_1, dep_2, ...]. In feature builder, we first go through user's requirements to get a list of features they want: feature_list = default_features + custom_features - exclude_features. Then we go through them and add back missing features that are prerequisites:

add = []
for feature in feature_list:
     prereq = feature_dict[feature]["dependencies"]
     for req in prereq:
          if req not in feature_list:
               add.append(req)
feature_list += add

The only problem is that will the dependencies also have their own dependencies. If that's possible I guess a while loop is necessary. Another solution is to include as many default features as possible. In this way, we won't need to add the most basic features manually.


Remove stub Automation API topic

This PR removes a stub topic for some upcoming documentation, which was accidentally included in #4707.

Nah, we can delete this. I've got a WIP branch for the Automation API doc work here: https://github.com/pulumi/docs/tree/automation_api_user_guide.
This change must have slipped when i was pulling other changes in via git stash apply


Update Project.toml

Release the updated SciMLBase compat

@JuliaRegistrator register

Comments on pull requests will not trigger Registrator, as it is disabled. Please try commenting on a commit or issue.


appveyor pytest fail on decorrelation (windows)

log (3).txt

it now breaks "math"

should now be solved


Placement of toplevel clear/reset buttons

It is really easy to click the clear/reset buttons in the toplevel by accident while trying to click into the text box to type some code. Maybe those buttons could be moved to the top-right corner or something... they aren't really buttons you would be clicking extremely often.

@yurug I think this issue can be closed

I think it would be nice to have the Eval Phrase button on the right of the text box instead of in the top right with everything else. That would make it more clear what it actually does. It's not very intuitive to have it so far away from the text field.

Closed by #261


[Feature Request]: Add copy buttons to all code snippets on the documentation site

Contact Details
No response
Describe the new feature versus the current behaviour
Look at https://www.eddymens.com/blog/adding-a-copy-button-to-highlightjs-code-snippets as a possible solution
Is there any risk this change will not be backwards compatible with current integrations?
No response
Any other information
No response

Added in v1.2.0


slow train

Hi,
many thanks for your contribution.
I'm training on AWS's instance and the time remaining according to your code is:

Epoch:0.33% Of 1/2, Batch loss:0.0181
Time remaining : 417Hrs 33Secs

what am I doing wrong that it's so slow?

where is the audio features extraction code (I didn't find it in dan.py) ?

Facing the same issue
Can anybody suggest me what to do to increase speed?
I also check the usage of GPU as well, this code is using 67MB only (I have GPU, K80 with 12GB)

Hello,
Same issue, any suggestion please?
@amirim , @shabazbelim did you find a solution?

same issue. any fix yet?

Anyone find a fix?


Native Posix target can not use features with newlib dependencies

Describe the bug
In case you are building for native posix target the newlib C library can not be selected but some features have a hard dependency towards newlib even when provided by OS libc implementation.
To Reproduce
One example more issues can be found in code base:

west build -b native_posix samples/hello_world -- -DCONFIG_CPLUSPLUS=y -DCONFIG_EXCEPTIONS=y

warning: EXCEPTIONS (defined at subsys/cpp/Kconfig:55) was assigned the value 'y' but got the value
'n'. You can check symbol information (including dependencies) in the 'menuconfig' interface (see
the Application Development Primer section of the manual), or in the Kconfig reference at
http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_EXCEPTIONS.html (which is updated
regularly from the master branch). See the 'Setting configuration values' section of the Board
Porting Guide as well.

Expected behavior
You should be able to select all features that only depends on newlib for the native posix target.
Impact
Some features can not be enabled on native posix target
Environment (please complete the following information):

OS: Linux
Toolchain: gcc 7.4
Commit SHA: 4ea3c9560ac3823ea4a5f1a79e4661a499941b02

Proposed Solution
Add hidden Kconfig symbol HAS_FULL_LIBC, which is set both for native posix and newlib, and use this symbol in depends on.
ALternative Solution
Add ARCH_POSIX symbol to all depends on where newlib is used

@carlescufi @aescolar in case the proposed solution looks acceptable I could also take this one up

Maybe @galak and @aescolar can comment on the suitability of the proposed solution

@vanwinkeljan The issue is, as you state, not in native_posix, but on setting depends on NEWLIB_LIBC as that assumes there is only 2 C libraries which can be used with Zephyr. This problem will exist for anybody who tries to use a 3rd C library, not just when targeting native_posix.
So, the alternative solution, of adding a depends on ARCH_POSIX || NEWLIB_LIBC on those features would not be a good solution, as that just hides the real problem in the tree.
I would think it may make more sense to do add a new MINIMAL_LIBC kconfig option, which default y if !NEWLIB_LIBC, and have the depends on NEWLIB_LIBC be instead depends on !MINIMAL_LIBC. Also have the lib/libc/CMakeLists.txt include minimal libc only if MINIMAL_LIBC instead of if not NEWLIB_LIBC

related https://github.com/zephyrproject-rtos/zephyr/pull/18224

Pushed a PR (#18315) that adds a choice for c library selection and updated dependencies to !MINIMAL_LIBC


repo.py: Decode key bytes for SHA key as well

key bytes were decoded as utf-8 for the JSON keys. Do the same for SHA
key bytes.
Signed-off-by: Jussi Kukkonen<EMAIL_ADDRESS>
Please verify and check that the pull request fulfills the following
requirements:

[ ] The code follows the Code Style Guidelines
[ ] Tests have been added for the bug fix or new feature -- repo.py isn't tested: I don't think I'm adding tests just for this

Thanks for the patch, @jku! Please see #881 for context about cli tools.


New issue introduced after today's commits (10/25)

@dereklieu Not sure if you can assist, but saw that you made a few commits and merged some PRs today, so thought I'd share with you and the team.
We use prose to post content to a non-Jekyll site.    As of this afternoon, when we navigate to our prose.io site, it no longer reads our config file.   We see no files when logged in, and unable to creat new files either.
I'm seeing the following errors in the console:
Uncaught TypeError: n.indexOf is not a function
    at i (prose.js:1)
    at prose.js:2
    at Array.forEach (<anonymous>)
    at Function.S.each.S.forEach (prose.js:37)
    at prose.js:2
    at t (prose.js:37)
    at Object.defer (prose.js:37)
    at prose.js:2
    at Function.S.each.S.forEach (prose.js:37)
    at n.parseConfig (prose.js:2)

Here's our _prose.yml:
prose:
  rooturl: 'src/content'
  siteurl: 'http://athletesinaction.org'
  relativeLinks: 'http://athletesinaction.org'
  media: 'media'
  ignore:
    - index.md
    - _config.yml
    - /_layouts
    - /_includes
  metadata:
    src/content:
      - name: "title"
        field:
          label: "Title"
          element: "text"
          help: "70 Character Max for Google and Social Media"
      - name: "summary"
        field:
            label: "Summary"
            element: "text"
      - name: "slug"
        field:
          label: "URL of Page"
          element: "text"
          help: "should be the title, with dashed insterted instead of spaces"
      - name: "date"
        field:
          label: "date"
          help: "YYYY-MM-DD"
          element: "text"
      - name: "type"
        field:
          label: "Post Type"
          element: "select"
          options:
            - name: "Under Review"
              value: "underreview"
            - name: "Playbook"
              value: "devotion"
            - name: "Quickhit"
              value: "quickhit"
            - name: "Workout"
              value: "workout"
            - name: "InnerView"
              value: "innerview"
      - name: "author"
        field:
          label: "Author"
          element: "text"
          help: "i.e.  First Last"
      - name: "keywords"
        field:
          label: "Keywords"
          element: "text"
          help: "tags,seperarted,by, commas"
      - name: "color"
        field:
          label: "Primary Color"
          element: "text"
          help: "don't add a #'"
      - name: "image"
        field:
          label: "Image File Name"
          element: "text"
          help: "do not include path"
      - name: "published"
        field:
          label: "Published"
          element: "checkbox"
          help: "Leaving unchecked will hide the file from the index and archive pages."
          value: true
    src/content/quickhits:
      - name: "title"
        field:
          label: "Title"
          element: "text"
          help: "70 Character Max for Google and Social Media"
      - name: "summary"
        field:
            label: "Summary"
            element: "text"
      - name: "slug"
        field:
          label: "URL of Page"
          element: "text"
          help: "should be the title, with dashed insterted instead of spaces"
      - name: "date"
        field:
          label: "date"
          help: "YYYY-MM-DD"
          element: "text"
      - name: "type"
        field:
          element: "hidden"
          value: "quickhit"
      - name: "author"
        field:
          label: "Author"
          element: "text"
          help: "i.e.  First Last"
      - name: "keywords"
        field:
          label: "Keywords"
          element: "text"
          help: "tags,seperarted,by, commas"
      - name: "image"
        field:
          label: "Image File Name"
          element: "text"
          help: "Do not include path to the image.  Square and Rectangle version of the image should have the same filename."
      - name: "published"
        field:
          label: "Published"
          element: "checkbox"
          help: "Leaving unchecked will hide the file from the index and archive pages."
          value: true

Indeed a regression from today's changes, I'm pushing a fix now. Thanks for raising this @AJGarrett

Thanks. I appreciate you taking a look.
On Oct 25, 2017, 10:53 PM -0400, Derek Lieu<EMAIL_ADDRESS>wrote:

Indeed a regression from today's changes, I'm pushing a fix now. Thanks for raising this @AJGarrett
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@AJGarrett can you confirm that this issue is fixed?

@dereklieu yes, we're good.  Thanks again for the assistance.


fix(schema): generate 'any' instead of '{}'

Status
READY
Description
Instead of generating an empty type like...
export type Health200 = {};

it generates it as an ANY
export type Health200 = any;

@CPatchane @anymaniax Can you review this it looks to me like the first if and the last else were doing the exact same thing so I simplified the logic "I think".

Ahh nevermind I see the logic now that it broke a unit test the else's were not in the same if.

Fixed https://github.com/anymaniax/orval/issues/308

OK updated and remove the alias part.


Pass tokens to tasks with girder_client_token instead of normal argument

Follow up from https://github.com/VIAME/VIAME-Web/pull/89#discussion_r421048707.
Several tasks in viame_tasks/tasks.py still do this.

this was done somewhere along the line


fix: alarm during doze or after app update

A good practice with permission is to:

Only asked for them, when they are needed
First inform user about the reason (e.g., via dialog) and only ask permission after they close the dialog

I tested this branch, it never asks for permission on my device.


Spaces in icon names e.g. space separated class names.

I'm in love with the way the people at Semantic UI do things (http://semantic-ui.com/elements/icon.html) but your CSS generator wants to insert dashes in icon names.
If I have spaces in the glyph source svg such as "add user.svg" the generated CSS doesn't work.
My goal is:

What the tool does:

I think you can use custom templates for that.

Do you have a proof of concept? Because when I tried to use spaces it forced dashes in the class names.

You need to copy the template to your project and change this part:
.<%= classPrefix %><%= glyphs[glyphIdx] %>:before {

to something like this:
.<%= classPrefix %><%= glyphs[glyphIdx].replace(/-/g, ' ') %>:before {

But in that case if you had dashes in your file names they will be replaced with spaces too.

Ok, gotcha. I'm assuming in this example you'd be replacing the dashes with periods because this is modifying the CSS.
.<%= classPrefix %><%= glyphs[glyphIdx].replace(/-/g, '.') %>:before {

Yep, my mistake ;-)


Deleted package detected

I'm a Cyber Security researcher and developer of PackjGuard [1] to address open-source software supply chain attacks.
Issue
During my research, I detected a deleted package in this repository.
Details
Specifically, the package seqqueue mentioned in file README at line 7 does not exist on the public PyPI registry. A bad actor can hijack this package to propagate malicious code.
Impact
Not only your apps/services using https://github.com/highvight/seqqueue repo code are vulnerable to this attack, but the users of your open-source Github repo could also fall victim.
You could read more about such attacks here<EMAIL_ADDRESS>Remediation
Please highlight this in file README and register a placeholder package for seqqueue on public PyPI soon to remediate.
To automatically fix such issues in future, please install PackjGuard Github app [1].
Thanks!

PackjGuard is a Github app that monitors your repos 24x7, detects vulnerable/malicious/risky open-source dependencies, and creates pull requests for auto remediation: https://github.com/marketplace/packjguard

Sorry for false positive


replace 'Contents' with 'On this page'

Fixes #290.

Hmmm I think that rather than changing this (which would also change it for everybody else), I’d recommend making this configurable. We could add a config value to the theme options that would override the default title for the the within page toc. Then you could override as you wish. Want to give that a shot?

I would point out that we literally already changed this in the opposite direction: https://github.com/executablebooks/sphinx-book-theme/issues/145

I wasn't aware of #145. Obviously I disagree with the outcome of that discussion :)

OK - I opened up #297 to track making this configurable, so going to close this PR. Thanks @svenkreiss for bringing it up!


[SNOW-116] Migrate out streamlit_template/

The Streamlit app template is being converted to a template repository for the reasons stated here based on the direction we're going with the kind of applications we're developing in the future.
Changelog

[x] The streamlit_template/ module is removed

Ooo good idea, yes.


[feature request] improve FSDP config usability

I have just tried out using FSDP and run into:
  fsdp_sharding_strategy: 1

how can a user know the meaning of this setting?
And the rest of the options aren't documented either.
After grepping I found
src/accelerate/utils/constants.py:FSDP_SHARDING_STRATEGY = ["FULL_SHARD", "SHARD_GRAD_OP", "NO_SHARD", "HYBRID_SHARD", "HYBRID_SHARD_ZERO2"]

I'm guessing then that 1 maps to SHARD_GRAD_OP? as in index 1 of the above list? I think not, since I tried setting it to 0 and got:
ValueError: 0 is not a valid ShardingStrategy

Can these strings be used as the values instead of numbers so that the user can see what they are configuring? The rest of the FSDP Accelerate options are implemented this way (meaningful strings), so I'm not sure why fsdp_sharding_strategy isn't.
and could these options be added to the docs?
Thank you!

ok, so debugging this some more - this is enum so the values are starting from 1 and not 0 and they are:
1:ShardingStrategy.FULL_SHARD
2:ShardingStrategy.SHARD_GRAD_OP
3:ShardingStrategy.NO_SHARD
4:ShardingStrategy.HYBRID_SHARD
5:ShardingStrategy._HYBRID_SHARD_ZERO2

Allowing a user to say:
  fsdp_sharding_strategy: FULL_SHARD

would probably be the most consistent and self-documenting approach if I may suggest.

Agreed with you there @stas00, I was going to look into enabling both options for the user :)

Yes, this is something I wanted to correct but didn't do it for backwards compatibility. Will work on it

Hello, the above PR should resolve this issue by being backwards compatible while making the string values the default now.

Thanks a lot, this is much better now, Sourab.

Can you also add more details about the several options used in FSDP config? I am a beginner and struggling to find resources to use FSDP for my custom pytorch module.
Currently, I am referring to this page. It focuses on transformer models only.
Please point out any relevant documentation that I might be missing.

Thank you for resolving my request, Sourab. I'm closing this Issue.
@AfrinDange, usually adding things to an existing Issue leads to it getting ignored. So I highly recommend to open a new issue.


Implement backend: compile

From https://github.com/Samsung/ONE-vscode/issues/455#issuecomment-1094693048
Feature to implement:

NPU backend should be able to compile
Use toolchain in local machine

This work can be done after compilation API (https://github.com/Samsung/ONE-vscode/pull/479) is merged.
Let me move this to the next sprint.

This work is donw. Note: 'compile' is now done by calling onecc, not by calling backend API.


Use jQuery UI datepicker

For example in create event, or in posting a poll, or... other places.

Don't forget to tie it into an input type=date.

Most browsers have decent enough date pickers with type=date and html5 .... https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/date  Yeah this is an old topic, just trying to clean things up


fix: ensure correct topological order when touching group job outputs

fixes #3165
QC

[ ] The PR contains a test case for the changes or the changes are already covered by an existing test case.
[ ] The documentation (docs/) is updated to reflect the changes or this is not necessary (e.g. if the change does neither modify the language nor the behavior or functionalities of Snakemake).

Summary by CodeRabbit

Bug Fixes

Improved management of asynchronous tasks in job processing, enhancing performance and reliability.
Updated output verification process for jobs to ensure protected outputs are correctly checked.

Refactor

Reorganized task creation logic to streamline job processing.

Thanks Johannes. I'll test it out in the next week or two.


Clean up .part files in build cache

Previously '.part' files were left behind after local cache failures, because we expected they would be useful in debugging these cases. That never happened, so we are now removing them even if there's an error, and also during garbage collection.

Feedback build: https://builds.gradle.org/viewQueued.html?itemId=9760394

Feedback build: https://builds.gradle.org/viewQueued.html?itemId=9761088

Thanks @lptr


Spanner: gRPC Retry and Timeout Settings should be used from configuration

https://github.com/googleapis/google-cloud-java/blob/master/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/SpannerStubSettings.java#L445
provides retry settings for methods. These should be relied on as they are kept in sync between the different client libraries.
Currently these constants are being used and should likely instead reference the configs https://github.com/googleapis/google-cloud-java/blob/master/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/SpannerImpl.java#L62

The Java client library for Spanner has been changed to use the gapic client and rely on Gax for almost all retries, so these constants are not used very much anymore. There are two exceptions:

Retrying aborted transactions: This is currently using the SpannerRetryHelper.
Retrying broken streams for result sets: This is currently using the constant referenced in this issue here: https://github.com/googleapis/google-cloud-java/blob/03f4bec198366b84516d991d99df85715293d7c5/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/AbstractResultSet.java#L918

The retry settings from gapic are defined for the different gRPC methods. The two exceptions above are not directly related to one method, but could be caused by different methods, so there is no direct choice for which retry setting from the config that should be used. My suggestion would be:

Retrying transactions: Use the 'default' settings https://github.com/googleapis/google-cloud-java/blob/03f4bec198366b84516d991d99df85715293d7c5/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/SpannerStubSettings.java#L394
Retrying broken streams: Use the 'streaming' settings https://github.com/googleapis/google-cloud-java/blob/03f4bec198366b84516d991d99df85715293d7c5/google-cloud-clients/google-cloud-spanner/src/main/java/com/google/cloud/spanner/v1/stub/SpannerStubSettings.java#L405

@kolea2 and @crwilcox Do you both agree with that?


"random" failure (HTTP 500 response)

I've been "randomly" been getting HTTP response code 500 from QS.  Happens about 1 out of 10 times creating a secret.  I've not noted it when using interactively, but have noted when using the API via curl.
I am gussing that the issue is some hash generation for the secret ID is failing, based upon the logs from running QS in a container.  Normally I get this:
<IP_ADDRESS> - - [01/Dec/2021:18:36:05 UTC] "POST /secret HTTP/1.1" 200 35
- -> /secret

When I get the error, I see this:
2021-12-01 18:36:07 - Sequel::DatabaseError - SQLite3::SQLException: unrecognized token: "'�q1x�FBt�Oˮ":
	/var/lib/gems/2.7.0/gems/sqlite3-1.4.2/lib/sqlite3/database.rb:147:in `initialize'
	/var/lib/gems/2.7.0/gems/sqlite3-1.4.2/lib/sqlite3/database.rb:147:in `new'
	/var/lib/gems/2.7.0/gems/sqlite3-1.4.2/lib/sqlite3/database.rb:147:in `prepare'
	/var/lib/gems/2.7.0/gems/sqlite3-1.4.2/lib/sqlite3/database.rb:193:in `execute'
	/var/lib/gems/2.7.0/gems/sequel-5.50.0/lib/sequel/adapters/sqlite.rb:202:in `block (2 levels) in _execute'
	/var/lib/gems/2.7.0/gems/sequel-5.50.0/lib/sequel/database/logging.rb:38:in `log_connection_yield'
	/var/lib/gems/2.7.0/gems/sequel-5.50.0/lib/sequel/adapters/sqlite.rb:202:in `block in _execute'
	/var/lib/gems/2.7.0/gems/sequel-5.50.0/lib/sequel/connection_pool/threaded.rb:92:in `hold'
	/var/lib/gems/2.7.0/gems/sequel-5.50.0/lib/sequel/database/connecting.rb:269:in `synchronize'
	/var/lib/gems/2.7.0/gems/sequel-5.50.0/lib/sequel/adapters/sqlite.rb:193:in `_execute'
	/var/lib/gems/2.7.0/gems/sequel-5.50.0/lib/sequel/adapters/sqlite.rb:159:in `execute_insert'
	/var/lib/gems/2.7.0/gems/sequel-5.50.0/lib/sequel/dataset/actions.rb:1109:in `execute_insert'
	/var/lib/gems/2.7.0/gems/sequel-5.50.0/lib/sequel/dataset/actions.rb:401:in `insert'
	/var/lib/gems/2.7.0/gems/quick-secrets-0.0.1/lib/quick-secrets/secret/manager.rb:82:in `store'
	/var/lib/gems/2.7.0/gems/quick-secrets-0.0.1/lib/quick-secrets/web/app.rb:195:in `block (2 levels) in <class:App>'
	/var/lib/gems/2.7.0/gems/quick-secrets-0.0.1/lib/quick-secrets/web/app.rb:32:in `auth_web'
	/var/lib/gems/2.7.0/gems/quick-secrets-0.0.1/lib/quick-secrets/web/app.rb:189:in `block in <class:App>'
	/var/lib/gems/2.7.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1675:in `call'
	/var/lib/gems/2.7.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1675:in `block in compile!'
	/var/lib/gems/2.7.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1013:in `block (3 levels) in route!'
	/var/lib/gems/2.7.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1032:in `route_eval'
	/var/lib/gems/2.7.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1013:in `block (2 levels) in route!'
	/var/lib/gems/2.7.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1061:in `block in process_route'
	/var/lib/gems/2.7.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1059:in `catch'
	/var/lib/gems/2.7.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1059:in `process_route'
	/var/lib/gems/2.7.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1011:in `block in route!'
	/var/lib/gems/2.7.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1008:in `each'
	/var/lib/gems/2.7.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1008:in `route!'
	/var/lib/gems/2.7.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1129:in `block in dispatch!'
	/var/lib/gems/2.7.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1101:in `block in invoke'
	/var/lib/gems/2.7.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1101:in `catch'
	/var/lib/gems/2.7.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1101:in `invoke'
	/var/lib/gems/2.7.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1124:in `dispatch!'
	/var/lib/gems/2.7.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:939:in `block in call!'
	/var/lib/gems/2.7.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1101:in `block in invoke'
	/var/lib/gems/2.7.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1101:in `catch'
	/var/lib/gems/2.7.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1101:in `invoke'
	/var/lib/gems/2.7.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:939:in `call!'
	/var/lib/gems/2.7.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:929:in `call'
	/var/lib/gems/2.7.0/gems/rack-protection-2.1.0/lib/rack/protection/xss_header.rb:18:in `call'
	/var/lib/gems/2.7.0/gems/rack-protection-2.1.0/lib/rack/protection/base.rb:50:in `call'
	/var/lib/gems/2.7.0/gems/rack-protection-2.1.0/lib/rack/protection/base.rb:50:in `call'
	/var/lib/gems/2.7.0/gems/rack-protection-2.1.0/lib/rack/protection/path_traversal.rb:16:in `call'
	/var/lib/gems/2.7.0/gems/rack-protection-2.1.0/lib/rack/protection/json_csrf.rb:26:in `call'
	/var/lib/gems/2.7.0/gems/rack-protection-2.1.0/lib/rack/protection/base.rb:50:in `call'
	/var/lib/gems/2.7.0/gems/rack-protection-2.1.0/lib/rack/protection/base.rb:50:in `call'
	/var/lib/gems/2.7.0/gems/rack-protection-2.1.0/lib/rack/protection/frame_options.rb:31:in `call'
	/var/lib/gems/2.7.0/gems/rack-2.2.3/lib/rack/session/abstract/id.rb:266:in `context'
	/var/lib/gems/2.7.0/gems/rack-2.2.3/lib/rack/session/abstract/id.rb:260:in `call'
	/var/lib/gems/2.7.0/gems/rack-2.2.3/lib/rack/null_logger.rb:11:in `call'
	/var/lib/gems/2.7.0/gems/rack-2.2.3/lib/rack/head.rb:12:in `call'
	/var/lib/gems/2.7.0/gems/sinatra-2.1.0/lib/sinatra/show_exceptions.rb:22:in `call'
	/var/lib/gems/2.7.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:216:in `call'
	/var/lib/gems/2.7.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1991:in `call'
	/var/lib/gems/2.7.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1542:in `block in call'
	/var/lib/gems/2.7.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1769:in `synchronize'
	/var/lib/gems/2.7.0/gems/sinatra-2.1.0/lib/sinatra/base.rb:1542:in `call'
	/var/lib/gems/2.7.0/gems/rack-2.2.3/lib/rack/handler/webrick.rb:95:in `service'
	/usr/lib/ruby/2.7.0/webrick/httpserver.rb:140:in `service'
	/usr/lib/ruby/2.7.0/webrick/httpserver.rb:96:in `run'
	/usr/lib/ruby/2.7.0/webrick/server.rb:307:in `block in start_thread'
<IP_ADDRESS> - - [01/Dec/2021:18:36:07 UTC] "POST /secret HTTP/1.1" 500 5269
- -> /secret

Note the odd (UNICODE???) in the token?

Yikes. This has to do with storing the data in the database I would imagine. I had a similar issue while developing this, and thought i had fixed it

Yeah here it is:
https://github.com/Scronkfinkle/quick-secrets/blob/9736ed9f8c9bcc411677f066094fc298fd3bbd69/lib/quick-secrets/secret/manager.rb#L82
One of those fields is not being parsed correctly


Store: fix regex matching with set that matches empty

[x] I added CHANGELOG entry for this change.
[ ] Change is not relevant to the end user.

Changes
Added more matching acceptance tests copied from querier_test.go from prometheus/tsdb; fixed a bug in bucket store where we wouldnt treat sets that match empty right.
Verification
Added matching tests.

Nice find @MichaHoffmann, can you add a changelog?

Nice find @MichaHoffmann, can you add a changelog?

Thanks! Added a changelog just now!

I think this fixes https://github.com/thanos-io/thanos/issues/4646?

I think this fixes #4646?

Oh! yes i think so!


Can't disable a boolean argument with a default value of True

 Issue by crmckenzie
Tuesday Jan 14, 2014 at 18:47 GMT
Originally opened as https://github.com/gsscoder/commandline/issues/115

-c false should turn off the switch for -c.

 Comment by nemec
Tuesday Jan 14, 2014 at 19:38 GMT

public bool MyValue { get { return _myValue; } set { _myValue = !value; } }

Just kidding.
That's actually a really good idea and it lets the boolean value be scripted: MyApplication.exe -c "$myBool"

 Comment by igitur
Monday Sep 08, 2014 at 10:04 GMT

I created a pull request for this. PR #133

 Comment by Kimi-Arthur
Tuesday Jun 16, 2015 at 06:14 GMT

Here is a solution I think is good.
For long option, provide a 'no' option to negate it.
Like "--dryrun" can be negated with "--nodryrun".

 Comment by Mizipzor
Sunday Jun 21, 2015 at 08:30 GMT

@igitur, as you can see in the issue history your PR is listerd here since you referenced this issue number in it, GitHub does this automatically. :)

 Comment by n074v41l4bl34u
Thursday Feb 16, 2017 at 20:36 GMT

To me it seems more like a bug then an enhancement. Either way it is a small thing and already fixed in other branches so implementing it might be an easy win for the project.

It doesn't seem to be fixed in 2.2.1. Any idea when the fix will be released ?

Fixed using  nullable  bool


Fix Padding Safe Area View on Android

Oveview
Padding on Android at the top has camera overlapping the images/text in some instances. Most notably on the home screen.

Now that I'm looking at the padding for safe area view on android it looks similar to ios
So this shouldn't be a big deal.
Can look at this more later in #447  when doing ui changes. But don't need a whole ticket forthis


docker: official Docker image should include imagemagick

We currently have a Docker image for Perkeep and a Docker image for imagemagick.
The official Perkeep Docker image should include the imagemagick binary too.

https://perkeep-review.googlesource.com/c/perkeep/+/17786


⚠ Bofrost.at has degraded performance

In 24d9d79, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2310 ms

Resolved: Bofrost.at performance has improved in 78a5b59 after 26 minutes.


Unable to renew Let's Encrypt certificates

Checklist

Have you pulled and found the error with jc21/nginx-proxy-manager:latest docker image? Yes
Are you sure you're not using someone else's docker image? Yes
If having problems with Lets Encrypt, have you made absolutely sure your site is accessible from outside of your network? Yes

Describe the bug

I am unable to renew a Let's Encrypt certificate, this is not the first time. Last time the issue happened I completely reinstalled the container with a new config. Creating this certificates worked well, but now I can't renew it, and I'm decided to help getting this issue resolved.
What version of Nginx Proxy Manager is reported on the login page? 2.3.1

To Reproduce

Open and log in to Nginx Proxy Manager
SSL Certificates > office.mydomain.com > Renew
The first time after a container restart, it tries for a while and then says 'timeout'
Trying a second time will instantly show 'Internal error'

Expected behavior
Certificate gets renewed
Console output
(First line is the first try to renew, second and third lines are the second try)
8/25/2020] [8:47:20 PM] [SSL ] › ℹ info Renewing Let'sEncrypt certificates for Cert #1: office.mydomain.com [8/25/2020] [8:47:58 PM] [SSL ] › ℹ info Renewing Let'sEncrypt certificates for Cert #1: office.mydomain.com [8/25/2020] [8:47:59 PM] [Express ] › ⚠ warning Command failed: /usr/bin/certbot renew --non-interactive --config "/etc/letsencrypt.ini" --cert-name "npm-1" --preferred-challenges "dns,http" --disable-hook-validation
After a while, the first renewal process fails too and this is printed to the console
Attempting to renew cert (npm-1) from /etc/letsencrypt/renewal/npm-1.conf produced an unexpected error: Failed authorization procedure. office.mydomain.com (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from https://mydomain.com [IPv6]: "\r\n<title>404 Not Found</title>\r\n\r\n
404 Not Found
\r\n
nginx\r\n". Skipping. All renewal attempts failed. The following certs could not be renewed: /etc/letsencrypt/live/npm-1/fullchain.pem (failure) 1 renew failure(s), 0 parse failure(s)
Operating System

Unraid OS 6.8.3

Additional context

When the process fails (second console paste), it says Invalid response from https://mydomain.com, shouldn't that be https://office.mydomain.com instead ? Also the [IPv6] address shown is the one of mydomain.com and not office.mydomain.com, it looks like the process is trying to renew a different domain.

EDIT: I managed to renew all my other certificates, some of them even CNAMEs back to the same office.mydomain.com subdomain, proving that the DNS and ports are correctly opened and configured. Just that one subdomain doesn't want to get renewed (and it is due for renewal because I received an notification email from certbot)

SOLUTION
Apparently, it is impossible to renew a certificate for a domain that doesn't have a proxy host currently active.
I added a proxy host for that domain, pointing to a random server in my network, and it worked.
Certbot was probably confused because Nginx Proxy Manager is configured in Settings > Default Site, to redirect any request that doesn't have a proxy host to mydomain.com.
Probably a technically correct behaviour, but unexpected to me nonetheless.
I hope this auto-resolution can possibly help others in the same situation.


[Console-IoT] Add meaningful ID to project detail modules

Type of change

Refactoring

Description
 Add meaningful ID to project detail module components
Checklist

[ ] Update/write design documentation in ./documentation/design
[ ] Write tests and make sure they pass
[ ] Update documentation
[ ] Check RBAC rights for Kubernetes / OpenShift roles
[ ] Try your changes from Pod inside your Kubernetes and OpenShift cluster, not just locally
[ ] Reference relevant issue(s) and close them after merging
[ ] Update CHANGELOG.md

Can one of the admins verify this patch?


[flutter_tools] Supports multi-platform module config

Use case
The module config declaration is not extensibility friendly and departs from the concept of multi-platform separation.
flutter:
  module:
    androidX: true
    androidPackage: {{androidIdentifier}}
    iosBundleIdentifier: {{iosIdentifier}}

Proposal
It is necessary to re-configure the modules in pubspec in the same way as for plugin
flutter:
  module:
    platforms:
      android:
        androidX: true
        package: {{androidIdentifier}}
      ios:
        bundleIdentifier: {{iosIdentifier}}

@mit-73 can you elaborate more on why this change is needed?

This edit will improve the overall style of the code. I aim to create a structure similar to that of plugins. Currently, it appears as though the two platforms have been combined without any organization or structure.

I agree that the proposed style is an improvement. However, there is also a cost to migrating the schema of config file that users are maintaining. What I'm trying to decide if the benefits outweigh the costs.

@christopherfujino this is needed to extend the possible configurable values, e.g. I want to solve problem #78862 in this way.

Technically, it's not required, right? We could do something ugly like:
flutter:
  module:
    androidX: true
    minimumIosSdkVersion: 1.2.3

Right? Again, I'm not saying we should do this, but trying to understand and document the constraints.
Overall, I think this proposal makes a lot of sense. However, there is a cost to changing this schema. Also, if 6 months from now we realize that we actually want a DIFFERENT schema, we will have to pay the cost of changing it yet again.
So I think we need to carefully consider what we want this configuration to look like. I'm going to close your PR for now, not because it isn't helpful, but because I am not sure in my own mind how this should be implemented, and I think it's best to discuss first here on this issue, and possibly with a design doc.

I realize that I was rushed and you are correct. This edit needs to be described in the design document first.
Unfortunately it is catastrophically important for me to fix issue #78862 in the nearest time and I will have to make it in an "ugly" style, I hope you don't mind?

Unfortunately it is catastrophically important for me to fix issue #78862 in the nearest time and I will have to make it in an "ugly" style, I hope you don't mind?

Can you elaborate more? You mean you have to merge an ugly fix upstream to flutter/flutter now? Or you need to have a workaround for your own use case?
And would https://github.com/flutter/flutter/issues/49378 avoid this catastrophe?

I want to add something like that:
flutter:
  module:
    androidCompileSdkVersion: 34
    androidMinSdkVersion: 21
    androidTargetSdkVersion: 34
    iosDeploymentTarget: 14.0
    iosPlatformVersion: 14.0

It seems this could be used very easily in these places (android, ios) to override the values at the module.
On the other hand we can use the mechanism from #49378, but as I think it is not very convenient, because too many parameters will have to be passed through env (and they still need to be remembered), in the current example there are already 5 of them.

@christopherfujino can we get a status? It's still an important feature for us.

I think for us to move forward with a proposal like this we'll need a design document generated and shared with Flutter trusted contributors for discussion. As @christopherfujino mentioned, there is some inherent risks and costs to changing schema formats like this so it's not a change we'd want to make without serious discussions of pros and cons of the new format and a well defined migration path for users using the existing schema format.
Unfortunately we don't have the cycles to prioritize this work ourselves, but I'd be happy to work with you through the process if you're willing to go through it.


cudnnRNN operation is missing in libnd4j

cudnnRNN operation is missing in libnd4j and nd4j.

If at all possible, I'd like to handle this at the Java / import level, and not introduce a cudnnRNN op or anything at the libnd4j level.
IMO that's a terrible design that TF uses, as it makes the model hardware specific.
Here's the op definition:
https://gist.github.com/AlexDBlack/6c27804fa9f1c37270847ff452346085
Note that it's basically a unidirectional or bidirectional simple RNN (relu/tanh), LSTM or GRU implementation, with optional dropout.
It seems to takes an input the input activations, initial (previous) time step activations and initial time step cell state, and returns output activations, last time step activations and cell state.
That should fix our new LSTM op nicely, though we might need simple wrapper/compatibility ops for GRU and simple RNNs.
Anyway, let's get some test cases up and we'll see what we can do.


phpPackages.sqlsrv & phpPackages.pdo_sqlsrv: init at 5.6.0

Motivation for this change
Wasn't yet packaged.
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"
[x] 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.

@GrahamcOfBorg build php71Packages.sqlsrv php72Packages.sqlsrv php73Packages.sqlsrv php71Packages.pdo_sqlsrv php72Packages.pdo_sqlsrv php73Packages.pdo_sqlsrv

@etu What do you think? Merge it in real quick before we freeze? :smile:

@aanderse Sneaky there! :-)

@aanderse But we seem to have missed the window :(

@etu that's alright. This change is pretty low impact so I'll try for a 19.03 backport sometime after 19.03 is released.
Thanks again!


【PPMix No.3】support qwen2-vl-2b lora finetune

support qwen2-vl lora finetue
1.update file 'paddlemix/examples/qwen2_vl/qwen2vl_finetune.py' to support lora finetune
2.add new file 'paddlemix/examples/qwen2_vl/shell/basline_2b_lora_bs32_1e8.sh'
3.update file 'paddlemix/examples/qwen2_vl/README.md'

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

readme里面放下这个截图。截图放paddlemix/demo_images


hello-world program return "Hello, World!"

I think the hello-world program should... well.. return "Hello, World!". This is kinda standard. I understand that, in this context, the program is promoted as a sanity check that everything is fine. Even something like "Hello, World! All done" is fine to me :)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2038

Relevant Lines:
2954

💛  - Coveralls

Thanks for bring this up @1ucian0! Once your upstream PR merges I will open a separate PR here to fix all occurrences.

I changed the rest of the instances in 888f8f910013672fa53ad19e4916cfff11f06813


1572 | Matrix Diagonal Sum | C++

Matrix Diagonal Sum -
What will change -
Adding code for calculating sum of all the elements on the primary diagonal and all the elements on the secondary diagonal that are not part of the primary diagonal.
Type of Issue -
Please add/delete options that are not relevant.

[x] Adding New Code
[ ] Improving Code
[ ] Improving Documentation
[ ] Bug Fix

Programming Language
Please add/delete options that are not relevant.

[ ] Python
[x] C++
[ ] Java
[ ] SQL

Self Check

Ask for issue assignment and wait to get assigned to it before making Pull Request.
Add your file in the proper folder
Clean Code and Documentation for better readability
Add Title and Description of the program in the file

:star2: Star it :fork_and_knife:Fork it :handshake: Contribute to it!
Discord server ✉ - https://discord.gg/CXksGdn
Happy Coding,

could you assign it to me, I have solution for this

Duplicate Issue #1256


android 4.4  nativeOnDraw failed;

Hi,
I have a problem on devices with Android 4.4 (kitkat)
This is the error:  nativeOnDraw failed; clearing to background color
Practically the markdownview overwrites and also hides the toolbar.
I also tried it with: markdown.setLayerType(View.LAYER_TYPE_SOFTWARE, null);
but it does not solve the problem.
Tips?
Thank you

Can you please paste the full stack trace and if possible past the code you are trying to execute

Hello,
I solved this problem by simply using the LinearLayout instead of RelativeLayout as a parent of markdownview.

hmmm thats strange that should not have been the case. Anyways closing the issue


Docs for scatter chart are not correct

The docs for the scatter chart do not seem to be correct:

The example does not render a scatter chart. The line is connected.
The docs reference a showLines config. This does not seem to do anything.
To get the scatter chart to render, I used:

datasets: [{
    label: 'Scatter Dataset',
    showLine: false,
    data: [{
        x: -10,
        ...

I can update the docs, but didn't understand why there is a showLines config and what it is supposed to do.

@georgeu2000 that looks like the docs are not clear. When specified per dataset, the option is showLine. When specified for the entire chart it is showLines. I will happily merge a PR making updates here. An example of showLines working for the entire chart is https://jsfiddle.net/uLvq3qon/1/
The showLine config turns off the line connecting the points. A scatter chart is built from a line chart, because the action of updating all the points is identical and we wanted to reuse code. We use the option to turn off the line. It should be set to false by default in the default scatter chart config (here https://github.com/chartjs/Chart.js/blob/master/src/charts/Chart.Scatter.js#L5)

OK, I'll see about updating the docs.
There's a scatter type?
The docs use type line for scatter charts. Is there any reason to not use the scatter type?

the docs should be using type: 'scatter'

Fixed in #3751


x/build: multiple darwin builders are missing

As per: https://farmer.golang.org/status/macs
Multiple darwin builders are missing.
# "macs" status: MacStadium Mac VMs
# Notes: https://github.com/golang/build/tree/master/env/darwin/macstadium
Warn: macstadium_host02a missing, not seen for 37m10s
Warn: macstadium_host04b missing, not seen for 38m26s
Warn: macstadium_host10a missing, not seen for 43m25s
Error: 3 machines missing, 15% of capacity

@andybons @dmitshur @toothrot

macstadium_host02a and macstadium_host04b cleared up on it's own. macstadium_host10a required a hard reboot of the host.


Create plugin-vectorcast-coverage.yml

Please add permissions for the vectorcast-coverage plugin

Repo: https://github.com/jenkinsci/vectorcast-coverage-plugin/blob/master/pom.xml


empty string attribute renders undefined

media = "" --> media = "undefined"

This seem to be working with the following:
var cheerio = require("cheerio"),
    $ = cheerio.load('
hey
');

console.log($.html())

Returns:

hey

Yup, seems to have went away :-)


Obsidian freezes when duplicating an Excalidraw file

Hi, thank you for your amazing work and continued support. I seem to have a severe problem that is sometimes stubborn and sometimes not a problem at all.
I often duplicate an exercise drawing, so I can rename it, clear the canvas and continue. However, Obsidian seems to have to work really hard sometimes, freezing entirely. The only way to fix it is to stop Obsidian using the task manager and restart it. I didn't think much of it, because some days it was not a problem at all. But now it's back and keeps freezing with every duplicate. Sadly, that's quite often now, and therefore quite annoying.
Please let me know how I can provide information for you so it is easier to investigate. I'm also really curious whether other people have the same problem.

Sorry, I should've posted this on the Excalidraw Obsidian plugin Github page.


[top/dv] Testplan updates

Enhance testplan descriptions due to reset domain change
Move P3 tests to V3.

Signed-off-by: Timothy Chen<EMAIL_ADDRESS>

Added testplan description based on the reset domain change that is incoming.
Once this PR is merged, appropriate issues need to be created or re-opened.

yeah i plan to file once this is approved.


Support attaching a signed timestamp after artifact signing

For users that want to leverage a TSA that uses a different API than the sigstore TSA, we should support attaching a signed timestamp after artifact signing.
For container signing, UX would look something like:

User signs container with Cosign
User fetches signature from OCI annotation
User crafts a timestamp query, for example using openssl (where --data should be the signature)
User requests a timestamp from their trusted TSA, for example FreeTSA
User attaches the signed timestamp to OCI

Verification with a signed timestamp should then work without any modification, but this should be confirmed.
For blob signing, during verification, simply pass the signed timestamp you fetched from a trusted TSA after signing with --rfc3161-timestamp. The one caveat is it must be crafted as a [struct]https://github.com/sigstore/cosign/blob/a84600e3f403c16e3cfc4bcf90a483bd34392a69/pkg/cosign/bundle/tsa.go#L18-L24). I propose we be more lax in accepting a raw or base64 encoded TSR in addition to the struct (I don't think we should add a command to convert a TSR into this struct)

RFC 3161 TSA's have a required API - shouldn't cosign be using that? That way it'd be compatible with all RFC 3161 TSA's.
I think there were some specifics of the sigstore's TSA API, but maybe cosign should implement a TSA client from the base API in the spec?

Yea, you're right, there isn't a specification for standardizing the API path, but there is for what the TSA should accept (a timestamp query). I agree, we can add a TSA client that fetches a TSR based on a TSQ and a provided path (FreeTSA uses https://freetsa.org/tsr, I think Digicert is just http://timestamp.digicert.com). Right now the client is for sigstore's TSA API only, a wrapper around the openapi definition.


Incorrect Dxf Subclass Marker

In the DxfSubclassMarker class https://github.com/DomCR/ACadSharp/blob/master/ACadSharp/DxfSubclassMarker.cs, then PolylineVertex constant has a whitespace at the end. This prevents it from ever matching the string in the file.

Hi @gktval,
Thanks a lot for spotting this issue, I've created a branch to handle it.


standalone instrumentation with h2 database

hello,
i try to use the standalone instrumentation with h2 database.
at run the App i get the folling Error:
[main] INFO org.javalite.activejdbc.Configuration - Reading properties from: /database.properties. Will try classpath, then file system.
Exception in thread "main" org.javalite.activejdbc.InitException: failed to determine Model class name, are you sure models have been instrumented?
at org.javalite.activejdbc.Model.modelClass(Model.java:2939)
at org.javalite.activejdbc.Model.count(Model.java:2774)
at App.main(App.java:14)
i read on
http://javalite.io/instrumentation#what-is-instrumentation
than i add "-DoutputDirectory=build org.javalite.instrumentation.Main" to VM arguments
after that i get the folling error:
Fehler: Hauptklasse org.javalite.instrumentation.Main konnte nicht gefunden oder geladen werden (not found)
what i do wrong?

@proewer please, read entire page http://javalite.io/instrumentation -  it is a post-compile process, before you start your program.
In addition, read: http://javalite.io/database_connection_management to understand how to properly open database connections.


[DOCS]: Dose Llamacpp have usage example?

Documentation Link
No response
Describe the problem
No response
Describe the improvement
No response
Anything else?
No response

reference: https://github.com/zilliztech/GPTCache/tree/main/examples/integrate/llama_cpp

what the difference between
`` ` if settings.cache:
cache = llama_cpp.LlamaCache(capacity_bytes=settings.cache_size)
llama.set_cache(cache)
and GPTCache

in gptcache/adapter/llama_cpp.py , currently, only llama_cpp Q&A scenarios are supported? I see the parameter prompt only support strings?
def __call__(
            self,
            prompt: str,
            **kwargs
    ):

cache.init(
    pre_embedding_func=all_content,
    embedding_func=huggingface.to_embeddings,
    data_manager=data_manager,
    similarity_evaluation=SearchDistanceEvaluation(),
    post_process_messages_func=temperature_softmax,
)

for multi round conversations, is it just to splits the messages from multiple rounds of conversations and store them as monologues?
对话信息怎么记录呢？比如：
[
{
"role": "user",
"content": "2+3等于几"
},
{
"role": "user",
"content": "结果+4等于几"
}
]


406 occurs when datadog fetches from metrics endpoint

Description:
Following occurs when datadog is configured to fetch from the Ballerina metrics endpoint.
2024-06-12 23:20:14 +0530 | CORE | ERROR | (pkg/collector/worker/check_logger.go:71 in Error) | check:openmetrics | Error running check: [{"message": "There was an error scraping endpoint http://localhost:9797/metrics: 406 Client Error: Not Acceptable for url: http://localhost:9797/metrics", "traceback": "Traceback (most recent call last):\n  File \"/opt/datadog-agent/embedded/lib/python3.11/site-packages/datadog_checks/base/checks/base.py\", line 1224, in run\n    self.check(instance)\n  File \"/opt/datadog-agent/embedded/lib/python3.11/site-packages/datadog_checks/base/checks/openmetrics/v2/base.py\", line 78, in check\n    raise_from(type(e)(\"There was an error scraping endpoint {}: {}\".format(endpoint, e)), None)\n  File \"<string>\", line 3, in raise_from\nrequests.exceptions.HTTPError: There was an error scraping endpoint http://localhost:9797/metrics: 406 Client Error: Not Acceptable for url: http://localhost:9797/metrics\n"}]

Fixed https://github.com/ballerina-platform/module-ballerinax-prometheus/pull/158


Meta

This is a meta issue. We can use this item's thread to discuss how to use github to track our todos, general questions and conversation, etc.

#77 has undergone a lycanthropic transformation, and, as we'd have it in the intro of a comic book, the world as we know it may never be the same again...

I've created a separate branch in the github project called 'develop'. I'll use this branch for tracking work-in-progress versions of the theme. You can browse it if you like at https://github.com/real-pants/Real-Pants/tree/develop
When the development is done, hopefully in just a few more days, the 'develop' branch can be merged into the 'master' branch, the theme can be published for all to see, and we'll happily arrive at version 1.2!

I'm pretty sure that I've finished building v1.2. I'll try to pick some off-hours this weekend or early next week to launch it on the site. There may be some rough spots related to widgets, their settings and placements, as I mentioned, but I'll try to minimize those. I'll check off the remaining issues related to that version as I've confirmed their fixes.
Let's do some cleanup of the issues while we're at it? Is there anything that can be closed? Anything that needs clarification or prioritization?
As the initial development of the site begins to slow, we should talk about a release schedule for subsequent builds. Maybe quarterly? I'm fixin' to take the summer off from web development, as much as possible.

I'm sorry about the widget confusion -- that was me removing a Twitter feed
and then not adding anything else (in the Inner Loop). Looking forward to
1.2 -- what are the big things, if any, that are being updated?
I'm cleaning up issues now.
On Thu, Apr 23, 2015 at 10:59 PM, Dylan Kinnett<EMAIL_ADDRESS>wrote:

I'm pretty sure that I've finished building v1.2. I'll try to pick some
off-hours this weekend or early next week to launch it on the site. There
may be some rough spots related to widgets, their settings and placements,
as I mentioned, but I'll try to minimize those. I'll check off the
remaining issues related to that version as I've confirmed their fixes.
Let's do some cleanup of the issues while we're at it? Is there anything
that can be closed? Anything that needs clarification or prioritization?
As the initial development of the site begins to slow, we should talk
about a release schedule for subsequent builds. Maybe quarterly? I'm fixin'
to take the summer off from web development, as much as possible.
—
Reply to this email directly or view it on GitHub
https://github.com/real-pants/Real-Pants/issues/1#issuecomment-95782734.


make_from_tuple()

ISO paper for this feature: P0209R2
First implemented in: VS 2017 15.0
Existing doc
Should mention /std:c++17

moved to quest


Text manipulation in depth

I am using jimp for manipulating text over images ,
I have already figured out some properties in image.print() method but I need more properties like stroke , tracking , leading , rotation , color of text , etc , Can I do all that in Jimp , I need all parameter details of image.print() method .
I have following transformations on text
`{
"font": "Verdana",
"text": "VIDVOCAL",
"fontSize": 60,
"fillColor": [
0.92156994342804,
0.92156994342804,
0.92156994342804
],
"applyStroke": false,
"applyFill": true,
"justification": 7413,
"tracking": 0,
"allCaps": false,
"fauxBold": false,
"fauxItalic": false,
"superscript": false,
"subscript": false,
"leading": 72,
"horizontalScale": 1,
"fontStyle": "Regular",
"fontFamily": "Verdana",
"position": [
281.521339158144,
70.1298754789103,
0
],
"scale": [
100,
100,
100
],
"rotation": 0,
"opacity": 10,
"anchorPointValue": [
0,
0,
0
],
"compHeight": 1080,
"width":<PHONE_NUMBER>5,
"height": 45.439453125
}`
Please help me , I am stuck in this

for color and rotation you could put them in their own jimp then blit it over the original image. as for the more complex options those aren't likely to come


Include nested config meta + new default

Nested engines config were not being included as meta tags + instead
of throwing an error when the meta tags are not included we default to
an empty pojo.
cc: @rwjblue

Thanks @thoov ; )

@rwjblue / @villander: tests have been added, this should be good to go.

Hey @thoov, any chance to finish this PR to move on?

Hi there! We're seeing this issue as well where we have a nested engine that the top level application doesn't know about. Would this be mergable?

@thoov could you please rebase this branch with master?


Better erreor messages for properties mis-handled as shorthand property declarations

Fixes #30037

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

I have added a new test which may not be required as that case and a lot of other variations are present in other test cases. Let me know if I should remove the new test case.

Thank you!!


When returning 205 it works with IISExpress, but takes 2 minutes with commandName": "Project"

When returning a 205 from an Api with return StatusCode(205); the Api hangs when using it from the cli, but works fine when using IISExpress. It works for the CLI when you change it to StatusCode(205, null).
To reproduce is very simple.

Create a new Api in VS 2017
Change the ValuesController to
[HttpGet]
public ActionResult<IEnumerable> Get()
{
//return new string[] { "value1", "value2" };
return StatusCode(205);
}
Launch it via IISExpress and call the end point, it will respond normally, as expected.
Launch it via the CLI, either by launching WebApplication1 in VS, or dotnet run. It will take up to 2 minutes to respond.
Change return StatusCode(205); to return StatusCode(205, null); and repeat step 4, it will now work as normal

@halter73

This is caused because Kestrel won't automatically set a Content-Length: 0 response header for 205 responses. This is apparently acceptable/expected for 204/304 responses and HEAD requests, but not for 205 responses.
Semi-related: #4382

@fuzzy-afterlife return StatusCode(205, null); works around this issue because it explicitly sends an empty response body. Alternatively you could work around this by including HttpContext.Response.ContentLength = 0; in your action method.

@halter73 Thank you very much for the information, it explains it perfectly. I guess for now we will just stick with the return StatusCode(205, null);


added clipboard example

#1579,
Added example using hooks to clipboard API.

Hi @rachelnabors and @Simek, I hope you are all doing well.
what would be the next steps based on #1608.

@brunokiafuka Hi and thank you for your contribution. Currently we need to wait for maintainers decision, please check out my comment for the more details: https://github.com/facebook/react-native-website/issues/1579#issuecomment-583735028

@rachelnabors the clipboard API get method only works on android and ios, on web, it can set the item to the clipboard but returns an empty string yet if you try to paste the copied content elsewhere it will work.

Clipboard gives you an interface for setting and getting content from Clipboard on both Android and iOS.
👆🏾 API intro line.


 Does not support RINEX files that have more than GPS and GLONASS. Also problematic if the the listing of satellites in obsblock header is over 2 lines.  Will be fixed in a later release.

It now works properly.


Update more planet packs

Merging as these are needed by #5560, and UL will show up when that PR is merged. Just waiting on a few more info.


set height of event card too 500px as per #491

Suggested css fix for #491. Works on mobile and desktop too.

I'm going to close this since I want the cards to be as tall as the tallest card in that css grid row.


fhir-bucket: Drive Reindex Operation thread should exit after error

Describe the bug
The tool to drive reindex operations may become 'hung' and not exit when client threads don't handle an exception when attempting to access FHIR server.  This creates a situation where the application will not exit. This presents a difficult situation for long running reindex jobs because there is no indication there was an error accessing the FHIR server.
Environment
release-4.6.1 running in kubernetes cluster
To Reproduce
Steps to reproduce the behavior:

Install release 4.6.1
Start kubectl port forward to allow access to FHIR server in Kubernetes cluster.
Start reindex job to update schema indexes.
Wait for kubectl port forward to fail.
The reindex job will print exception information but will not exit.

Expected behavior
DriveReindexOperation should exit if a connection exception occurs to notify the caller of the connection problem so it can be fixed and the reindex process can be restarted.
Proposed Solution
I'll submit a PR for this proposal:
Catch DataAccessException in callReindexOperation and invoke signalStop to allow monitorLoop thread to exit. If one thread receives DataAccessException I expect all will and all pool threads will exit.
Additional context
Add any other context about the problem here.

Solution proposed in PR #2225 .

Tested with 4.7.0-SNAPSHOT jar built from main this morning.  Log below shows new behavior when network connectivity is cut during reindex processing.
➜  FHIR git:(main) ✗ echo $JAR
fhir-bucket/target/fhir-bucket-4.7.0-SNAPSHOT-cli.jar
➜  FHIR git:(main) ✗ java -jar "${JAR}" --tenant-name $MY_TENANT  --max-concurrent-fhir-requests 100 --no-scan --reindex-tstamp 2021-03-30T00:00:00Z --reindex-resource-count 100 --reindex-concurrent-requests 3 --fhir-properties $FHIR_SERVER_PROPERTIES
Apr 12, 2021 1:10:47 PM com.ibm.fhir.bucket.reindex.DriveReindexOperation init
INFO: Starting monitor thread
Apr 12, 2021 1:10:47 PM com.ibm.fhir.bucket.reindex.DriveReindexOperation monitorLoop
INFO: monitor probe - checking reindex operation
Apr 12, 2021 1:10:59 PM com.ibm.fhir.bucket.reindex.DriveReindexOperation callOnce
INFO: called $reindex: 200 OK [took 12.318 s]
Apr 12, 2021 1:10:59 PM com.ibm.fhir.bucket.reindex.DriveReindexOperation monitorLoop
INFO: Test probe successful - filling worker pool
Apr 12, 2021 1:11:14 PM com.ibm.fhir.bucket.reindex.DriveReindexOperation callOnce
INFO: called $reindex: 200 OK [took 13.555 s]
Apr 12, 2021 1:11:14 PM com.ibm.fhir.bucket.reindex.DriveReindexOperation callOnce
INFO: called $reindex: 200 OK [took 14.732 s]
Apr 12, 2021 1:11:17 PM com.ibm.fhir.bucket.reindex.DriveReindexOperation callOnce
INFO: called $reindex: 200 OK [took 15.279 s]
Apr 12, 2021 1:11:22 PM com.ibm.fhir.bucket.reindex.DriveReindexOperation callOnce
INFO: called $reindex: 200 OK [took 8.309 s]

ACTION: manually stop kubectl port forward process

Apr 12, 2021 1:11:23 PM org.apache.http.impl.execchain.RetryExec execute
INFO: I/O exception (org.apache.http.NoHttpResponseException) caught when processing request to {s}->https://localhost:9442: The target server failed to respond
Apr 12, 2021 1:11:23 PM org.apache.http.impl.execchain.RetryExec execute
INFO: I/O exception (org.apache.http.NoHttpResponseException) caught when processing request to {s}->https://localhost:9442: The target server failed to respond
Apr 12, 2021 1:11:23 PM org.apache.http.impl.execchain.RetryExec execute
INFO: I/O exception (org.apache.http.NoHttpResponseException) caught when processing request to {s}->https://localhost:9442: The target server failed to respond
Apr 12, 2021 1:11:23 PM org.apache.http.impl.execchain.RetryExec execute
INFO: Retrying request to {s}->https://localhost:9442
Apr 12, 2021 1:11:23 PM org.apache.http.impl.execchain.RetryExec execute
INFO: Retrying request to {s}->https://localhost:9442
Apr 12, 2021 1:11:23 PM org.apache.http.impl.execchain.RetryExec execute
INFO: Retrying request to {s}->https://localhost:9442
Apr 12, 2021 1:11:24 PM com.ibm.fhir.bucket.client.FHIRBucketClient post
SEVERE: Error while executing the POST request. org.apache.http.conn.HttpHostConnectException: Connect to localhost:9442 [localhost/<IP_ADDRESS>, localhost/0:0:0:0:0:0:0:1] failed: Connection refused (Connection refused)
Apr 12, 2021 1:11:24 PM com.ibm.fhir.bucket.client.FHIRBucketClient post
SEVERE: Error while executing the POST request. org.apache.http.conn.HttpHostConnectException: Connect to localhost:9442 [localhost/<IP_ADDRESS>, localhost/0:0:0:0:0:0:0:1] failed: Connection refused (Connection refused)
Apr 12, 2021 1:11:24 PM com.ibm.fhir.bucket.client.FHIRBucketClient post
WARNING: POST URL: https://localhost:9442/fhir-server/api/v4/$reindex
Request Body: {"resourceType":"Parameters","parameter":[{"name":"tstamp","valueString":"2021-03-30T00:00:00Z"},{"name":"resourceCount","valueInteger":100}]}
Apr 12, 2021 1:11:24 PM com.ibm.fhir.bucket.client.FHIRBucketClient post
SEVERE: Error while executing the POST request. org.apache.http.conn.HttpHostConnectException: Connect to localhost:9442 [localhost/<IP_ADDRESS>, localhost/0:0:0:0:0:0:0:1] failed: Connection refused (Connection refused)
Apr 12, 2021 1:11:24 PM com.ibm.fhir.bucket.client.FHIRBucketClient post
WARNING: POST URL: https://localhost:9442/fhir-server/api/v4/$reindex
Request Body: {"resourceType":"Parameters","parameter":[{"name":"tstamp","valueString":"2021-03-30T00:00:00Z"},{"name":"resourceCount","valueInteger":100}]}
Apr 12, 2021 1:11:24 PM com.ibm.fhir.bucket.reindex.DriveReindexOperation callReindexOperation
SEVERE: DataAccessException caught when contacting FHIR server. FHIR client thread will exit.com.ibm.fhir.database.utils.api.DataAccessException: FHIR server connection failed
Apr 12, 2021 1:11:24 PM com.ibm.fhir.bucket.client.FHIRBucketClient post
WARNING: POST URL: https://localhost:9442/fhir-server/api/v4/$reindex
Request Body: {"resourceType":"Parameters","parameter":[{"name":"tstamp","valueString":"2021-03-30T00:00:00Z"},{"name":"resourceCount","valueInteger":100}]}
Apr 12, 2021 1:11:24 PM com.ibm.fhir.bucket.reindex.DriveReindexOperation callReindexOperation
SEVERE: DataAccessException caught when contacting FHIR server. FHIR client thread will exit.com.ibm.fhir.database.utils.api.DataAccessException: FHIR server connection failed
Apr 12, 2021 1:11:24 PM com.ibm.fhir.bucket.reindex.DriveReindexOperation callReindexOperation
SEVERE: DataAccessException caught when contacting FHIR server. FHIR client thread will exit.com.ibm.fhir.database.utils.api.DataAccessException: FHIR server connection failed
Apr 12, 2021 1:11:27 PM com.ibm.fhir.bucket.reindex.DriveReindexOperation monitorLoop
INFO: monitor probe - checking reindex operation

NOTE: monitorLoop now recognizes thread pool is empty and running=False. It will now attempt a trial request, fail, and exit.

Apr 12, 2021 1:11:28 PM com.ibm.fhir.bucket.client.FHIRBucketClient post
SEVERE: Error while executing the POST request. org.apache.http.conn.HttpHostConnectException: Connect to localhost:9442 [localhost/<IP_ADDRESS>, localhost/0:0:0:0:0:0:0:1] failed: Connection refused (Connection refused)
Apr 12, 2021 1:11:28 PM com.ibm.fhir.bucket.client.FHIRBucketClient post
WARNING: POST URL: https://localhost:9442/fhir-server/api/v4/$reindex
Request Body: {"resourceType":"Parameters","parameter":[{"name":"tstamp","valueString":"2021-03-30T00:00:00Z"},{"name":"resourceCount","valueInteger":100}]}
Exception in thread "Thread-1" com.ibm.fhir.database.utils.api.DataAccessException: FHIR server connection failed
        at com.ibm.fhir.bucket.client.FHIRBucketClient.post(FHIRBucketClient.java:314)
        at com.ibm.fhir.bucket.reindex.DriveReindexOperation.callOnce(DriveReindexOperation.java:235)
        at com.ibm.fhir.bucket.reindex.DriveReindexOperation.monitorLoop(DriveReindexOperation.java:122)
        at com.ibm.fhir.bucket.reindex.DriveReindexOperation.lambda$init$0(DriveReindexOperation.java:106)
        at java.base/java.lang.Thread.run(Thread.java:834)

NOTE:  I don't know why there is a one minute delay before the program exits.  But it does eventually exit.

Apr 12, 2021 1:12:24 PM com.ibm.fhir.bucket.app.Main shutdown
INFO: Stopping all services


Auto Refresh

It would be really great if it would automatically refresh, with a configurable interval.
Right now when executed it gets closed, I'd love to see it as a "monitoring" tool that keeps running.

That would be a nice option to have.  I don't have any experience with keeping node refreshed, any suggestions? PR's are welcome.

Closing, you can submit a PR if you want.


Performance and scalability analysis

TODO:

Performance tests of different EC2 instance types. Mainly focus on c5, c4, and r4 families.
Tests should be automated by awscli/boto3 scripts and can be easily reproduced by others.
Compare with Odyssey and Pleiades.

Should be done jointly with #5.

Done, as the paper is submitted


Bugfix/poisson glm

Summary
Fixes the include_summand bug in poisson_log_glm.
Tests
Added a test that fails on develop but passes on this PR.
Side Effects
/
Checklist

[x] Math issue: Fixes #1498

[x] Copyright holder: Rok Češnovar, the fix was suggested by Ben Bales

[x] the basic tests are passing

[x] the code is written in idiomatic C++ and changes are documented in the doxygen

[x] the new changes are tested

In opencl/prim/poisson_log_glm_lpmf.hpp there's a call to the old signature within a try block that's making the opencl tests fail. Besides that, this looks fine to me, but let's ping @bbbales2 in case he wants to have a look directly. :)