Support automatically adding customized timestamp after completing tasks

Similar to what is used for scheduling tasks, it would be great if timestamp can also be added automatically when completing tasks managed by this plugin. The format can be something like the following:
Support customizing data and time into ISO format · Issue #8 · uphy/obsidian-reminder
Supporting adding task completing timestamp would also help integrating with Obsidian Tasks, which can filter tasks based on task completion date:
schemar/obsidian-tasks: Task management for the Obsidian knowledge base.

@wenlzhang When you use tasks plugin format, done date will be inserted with v1.0.5.  Please try it.

This looks awesome!
Similar to the discussion as follows, a space between the symbol and completion date would look better for me.
https://github.com/uphy/obsidian-reminder/issues/10#issuecomment-909177459
Also, Tasks uses a space between the symbol and the (completion) date, I am not sure if it would work without a space, if one wants to query completed tasks by using Tasks.
Moreover, is it possible to insert the time info when completing tasks, e.g. 2021-08-31 14:18? In case that some users may not want to attach the time info, it would be great if one can customize the date format for completing tasks. Specifically, one may define the two date and time formats: "Date and time format for identifying reminders" and "Date and time format for completing tasks".

After further testing, I observed the following:

When completing tasks, the original reminder date together with the completion date would be moved/appended to the end of the task.

For instance, - [ ] Task #Reminder 📅 2021-08-31 #Task #Life 📅 2021-09-30 would become - [ ] Task #Reminder (there are two spaces here, originally one) #Task #Life 📅 2021-09-30 📅2021-08-31 ✅2021-08-31
Is it possible to keep the reminder date where it is and only append the completion date at the end?

If the reminder only has date info but no time info, the time info would not be attached to the new reminder when postpone it by say 30 minutes.

For instance, - [ ] Task #Reminder 📅 2021-08-31 #Task #Life 📅 2021-09-30 would become - [ ] Task #Reminder 📅 2021-08-31 #Task #Life 📅 2021-09-30, instead of - [ ] Task #Reminder 📅 2021-08-31 09:30 #Task #Life 📅 2021-09-30.
For this reason, one continues to receive the reminder notification.

The reminder works whether there is a space or not between the symbol and the reminder date.

I also notice that one can already change the reminder from desktop notifications on macOS. Great work! 😃

It will be fixed in the next release!

The issue should be fixed in v1.0.6.

As long as you use tasks plugin format, this cannot be fixed.
Tasks plugin doesn't support date and time format.

Indeed. The current version of Tasks plugin does not support time info. @schemar I assume time info may be supported in the future, considering the following discussion?
Add optional time in addition to date to "due" · Discussion #64 · schemar/obsidian-tasks
Also, the following discussions may be relevant:

Make date format configurable (including links like [[2021-04-05]]) · Discussion #69 · schemar/obsidian-tasks
Add scheduling to tasks · Discussion #67 · schemar/obsidian-tasks

Reminder with time
You can use custom emoji ⏰ for adding time info now.
Done Date with time
Needs Tasks plugin's support.

Thanks for the update!
I realize that "Done Date" is already supported by Reminder, if the Tasks format is used. For "Done Time", I'll wait for Tasks' support on this. 😃


HTTP status is - 504 error in log

Seeing this error in the log occasionally
_Logger: apyhiveapi.helper.logger
Source: /usr/local/lib/python3.8/site-packages/apyhiveapi/api/hive_async_api.py:87
First occurred: 21:32:37 (1 occurrences)
Last logged: 21:32:37
Something has gone wrong calling https://beekeeper.hivehome.com/1.0/nodes/all?products=true&devices=true&actions=true - HTTP status is - 504_
All seems to work ok though

Thanks for raising this I’m aware of the issue and I think I know what’s causing it.

Brilliant. Thanks!

@perjury does this issue still occur for you? its seems to have stopped appearing in my logs, Im wondering if Hive have upgraded their servers to better handle large responses


Add mazepa hooks for SpatialFile setup and post-process.

Note: I've also got changes to internal and specs.  Should we merge the internal PR first, and then include updated pointers to internal and specs in this PR?  Or update the pointers later in their own mini-PR?


Change ecosystem for dependabot

Description
Change ecosystem for dependabot
Type of change

[ ] Refactor
[ ] New feature
[x] Bug fix
[ ] CVE fix
[ ] Optimization
[ ] Documentation Update
[ ] Configuration Update
[ ] Bump-up dependent library

/lgtm
/approve


make:migration allows line break in the file name

Accidentally I put a line break like so
./artisan make:migration add_fields_to_table'
> '

The file was created successfully but when I tried to run migration the error occurred
[Symfony\Component\Debug\Exception\FatalThrowableError]
Fatal error: Class 'AddFiledsToTable
' not found

There was a line break in the file name.
I think line breaks should be removed automatically.

Thanks for the report. I'll fix this now.

@KonstantinKolodnitsky Please confirm that #12933 fixes your issue.

@GrahamCampbell Yes, I confirm. Thanks!

@GrahamCampbell maybe this one too?


IGNITE-9747 Add Bernoulli naive Bayes

@zaleslaw @ybabak @avplatonov @dmitrievanthony could you take a look?

@avplatonov thank you for review. I made changes.
btw, does it make sense to rename PR and the jira task from Bernouli to Discrete?

@avplatonov @ybabak  Thank you for review. I added test and updated the Javadoc.


Reference of #776

So im referncing Issue #776
Latest beta and im getting this again

I'm getting this issue again since today. can you check it? @unknownskl
Of course, I'm using beta6.

v2.0.0-beta7 has been released and should (hopefully permanently) fix the issue. Please let me know if it works as expected

Issue closed due inactivity


Failed to install 0.28.7 due to invalid package.json in atom-space-pen-views

I cannot install the package due to npm error:
Installing<EMAIL_ADDRESS>failed.

npm ERR! Windows_NT 6.2.9200
npm ERR! argv "C:\\Users\\tomalec\\AppData\\Local\\atom\\app-1.0.0\\resources\\app\\apm\\bin\\\\node.exe" "C:\\Users\\tomalec\\AppData\\Local\\atom\\app-1.0.0\\resources\\app\\apm\\node_modules\\npm\\bin\\npm-cli.js" "--globalconfig" "C:\\Users\\tomalec\\.atom\\.apm\\.apmrc" "--userconfig" "C:\\Users\\tomalec\\.atom\\.apmrc" "install" "C:\\Users\\tomalec\\AppData\\Local\\Temp\\d-11562-9304-nxxsmh\\package.tgz" "--target=0.22.0" "--arch=ia32" "--msvs_version=2013"
npm ERR! node v0.10.35
npm ERR! npm  v2.5.1
npm ERR! file C:\Users\tomalec\.atom\.apm\atom-space-pen-views\2.0.5\package\package.json
npm ERR! code EJSONPARSE

npm ERR! Failed to parse json
npm ERR! Unexpected token
npm ERR! File: C:\Users\tomalec\.atom\.apm\atom-space-pen-views\2.0.5\package\package.json
npm ERR! Failed to parse package.json data.
npm ERR! package.json must be actual JSON, not just JavaScript.
npm ERR!
npm ERR! This is not a bug in npm.
npm ERR! Tell the package author to fix their package.json file. JSON.parse

npm ERR! file C:\Users\tomalec.atom.apm\atom-space-pen-views\2.0.5\package\package.json

Notice that the error indicates that the problem is in atom-space-pen-views. See https://github.com/atom/atom-space-pen-views/blob/master/package.json
I would recommend letting them know. First try uninstalling and reinstalling Atom Beautify. This will force the dependencies to install a fresh copy. If that works, then I would recommend talking to the team for https://github.com/atom/apm and letting them know that apm sometimes fails to install all of the dependencies properly.
Let me know how it goes. Thanks!

I cannot re-install atom-beautify as it was not installed, is there any other way to force refresh the dependencies?

atom-space-pen-views issue is at atom/atom-space-pen-views/issues/13

If it's not even installed, then try again to install and as long as it doesn't use some form of cache then you should have a fresh install. The comment at https://github.com/atom/atom-space-pen-views/issues/13#issuecomment-119875180 is definitely on the right track. You should obviously look at the file that is failing to parse as JSON and see what the problem is. There are many users who are not experiencing this problem, so it is likely a network issue or an intermittent bug with apm/npm when the dependencies were installed. Try to install again and look at the files the errors indicate.

Installing once again did't help.
Removing around 5 packages from C:\Users\tomalec\.atom\.apm\ manually with rm -rf /path/to/dependency/ did the job.

Wow. Very weird. I would recommend that you create an issue for apm at https://github.com/atom/apm because they should definitely know about these installation bugs and I have been seening issues like this more and more lately. Glad it is working for you now.


fix cidr subset validation to check range

How to categorize this PR?

/area control-plane
/kind bug
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #4809
Special notes for your reviewer:
The change was only made for ValidateSubset and not for the inverse ValidateNotSubset. The reason being the validation for the not-subset is also used in cases where we care about overlaps.
This PR makes validateSubset more strict by not accepting partial overlap as subsets. We shouldn't make validateNotSubnet more lenient though because the current use of the function is more in-line with preventing any overlap.
Release note:

Fix a bug where the CIDR subset validation did not check if the whole range overlaps.

@ialidzhikov  I checked the current code base of gardener and the ValidateSubset is never used (it is used inside another function, but the code path is never executed). So from g/g the change should not be an issue.
It may have the effect you describe on the extensions validators where the checks are used though. Since the CIDR ranges are typically immutable, how do you plan to:
a) prevent issues with existing clusters
b) prevent new "broken" clusters to appear


Add --disable-audio-cache startup parameter

Disable caching of downloaded audio files at runtime. Comes in handy when running librespot on a small device with SD card or other small storage.

Thanks! I am using this now, and I hope it will make it upstream.

Using this now as well, +1 for upstream :)

Thanks @michaelherger
Could you move the logic to the Cache::save_file function ?

I put it in the player code as I don't want to disable all (potential) file caching. It's really about caching the audio data. There could be other code using the cache. (FWICT there's none right now, is there?)

Yes save_file is only for audio data, so it is fine to move it there

Ok, will update my change.
(argh... at some point I have to have a better strategy to separate my pro from my personal GitHub account...)

Hmm... credentials is using the same cache object all over the place. Not initializing cache for files only, but use it for credentials looks like a much more complicated change, dealing with multiple cache instances etc. Am I totally wrong?

BTW: is cache/default_cache even used anywhere?

My point was to make use_audio_cache a field of Cache rather than Config, and move the if use_audio_cache test into the save_file method.
default_cache is just some leftover from a previous implementation, I forgot to delete it. You can do it if you want

Take 2.

Awesome thanks !


Allow parsing of env variables from top-level env-like files

Is your feature request related to a problem? Please describe.
I noticed that the plugin only reads the variables defined in .env file. However, sometimes we might need to use a different S3 bucket or region for a different environment (with variables stored in .env.local, for example), and it is not possible to make this switch.
In Nx's article on how it reads in environment variables, it follows the list when reading them from top-level (i.e. at the monorepo root) env-related files:

.env.[target-name].[configuration-name]
.[target-name].[configuration-name].env
.env.[configuration-name]
.[configuration-name].env
.env.[target-name]
.[target-name].env
.local.env
.env.local
.env

Describe the solution you'd like
It would be nice if the plugin can read/merge env variables from different env files the same way as Nx does, instead of simply reading from process.env directly, which only loads the variables defined in .env
Describe alternatives you've considered
There is really no other way to load env variables in, so right now we are forced to maintain a root .env file even though we typically have variables defined in .env.local
Additional context
n.a.

Sure, we could implement something like nx does here: https://github.com/nrwl/nx/blob/fa513731d4e6a960f112a5af6b0d725b2e624b36/packages/nx/src/tasks-runner/forked-process-task-runner.ts#L402
Would you like to provide a PR?

dotenvPath option is now supported by the base nx-remotecache-custom configuration. See https://github.com/NiklasPor/nx-remotecache-custom#advanced-configuration.
Feel free to reopen if this doesn't solve your issue.


Handling of the Egdeware chain by Polkawallet.

Hi this is an awesome project!
I have added the handling of the Edgeware project to the wallet. I tried to make the changes into the existing logic minimal. Here is a more detailed set of the changes you may want to be aware of:

Addition of the number of decimal to every BigInt being formatted. This was missing in a couple of places.
Renaming of Menu_Create.png to Menu_create.png. The mismatch with the code was preventing compilation under Linux.
Modification of the homepage for Kusama to handle the theme color change since Edgeware uses the same modules.
The most important and controversial change I can think of is the modification of the type of "votingBond" and "candidacyBond" in CouncilInfoData from int to String. This is because if the number of decimal overflows the int, the API returns a hex String instead of an int, and there is no way to convert it without losing information. Instead, I convert the int to Strings.

That's cool, looking forward to reopening of this PR. @remzrn

Thanks for being supportive!
The reason I closed it being that I realized that it was too early to ask for merging with something that could already been used, and also because I noticed some issue when switching accounts (due to an additional pop instruction) for all network that I thought I had introduced since the released version did not have this issue. Then I noticed that the latest version was following the development branch, and that the bug was fixed there. So I switched everything to the develop version.
Also, I have no experience in app development, so I don't really feel confident in having anything merged now. But I would gladly open a branch here so that all parts are kept in the same place if you feel like it.
At the moment, I think things are will in working state. I am now confident enough to use it with real EDG tokens for transfer though in general it indicates the request as "queued" and I need to get back and manually reconnect to get the balances updated. I am not sure whether the same issue exists on Kusama, since I hold no token so far.
I had issues with fee retrieval (for transactions), also that is never returning in the latest versions so I hardcoded a fee for Edgeware. I believe it could be because Edgeware still uses a very old substrate with a different fee structure.
Now there are two things that I cannot get working: bonding, I can chose controller and stash, the bonding transaction gets "queued" but it never bonds. I still have to investigate that part.  The second one is voting for council members. The "vote" button remains greyed out, even when candidates are selected. I think it is because of the way onsubmit is designed, with some check for whether or not candidates are null. It does not seem to update even when candidates are selected, I think because the widget is built before and the variable does not seem to get dynamically updated. As I said, I have no experience in app development so I am randomly guessing, and trying to walk my way through the async logic as best as I can.


Updates kubernetes deployment config and containers for v1.14 and v1.15

What changes were proposed in this pull request?
The kubernetes deployment config file was updated to work with kubernetes versions 1.14 and 1.15 to allow for deployment to AWS EKS. All API versions declared in the config were switched to stable releases, as the features that were previously used from the betas were since incorporated.
Zookeeper was removed from the deployment file due to unaccounted for problems that arose from its incorporation (solr would not run and would not give a meaningful error). However, all sparkler pods appear to work fine with a single solr instance.
The standalone-sparkler docker image was rebuilt from the current state of the repository and the sparkler-init docker image was slightly modified and rebuilt to deal with permissions issues that prevented the crawldb core to be created in solr.
A minor misspelling was also corrected in Crawler.scala.
Is this related to an already existing issue on sparkler?
Related to #166 and #167.
Will it close an existing issue?
Closes #167, #166.
How was this patch tested?
The deployment was manually tested on minikube running both kubernetes versions 1.14 and 1.15 and on a 3-node AWS EKS cluster.
Please review
https://github.com/USCDataScience/sparkler/blob/master/.github/CONTRIBUTING.md before opening a pull request.

@buggtb Please review this. (I do not know Kubernetes 😐)


The training data for Quality Classifier

I saw the code for loading cc data in create_corpus.py:
https://github.com/togethercomputer/RedPajama-Data/blob/main/data_prep/cc/classifier/create_corpus.py#LL32C1-L34C26
for file in glob.glob("common_crawl/*/*/*.gz"):
    if ("middle" in file or "head" in file) and "dedup" not in file:
        jobs.append(file)

As mentioned in LLaMA paper, the commoncrawl data used here should be treated as negative samples for the classifier. Why not use the inferior data(tail) instead of head and middle?

Hi @Anery ! We only used the head and tail scores to create the cc dataset (tail is too low quality). The classifier is a second step where the goal is to further remove the lowest quality samples from the head and middle buckets and keep only those samples which are similar to wikipedia references.
Let me know if this clarifies your question!

Thanks for your explanation! I'm just wondering if it would be better to use tail samples as training data. In this way, samples with lower scores are more similar to those in tail buckets than Wikipedia references, which is more in line with the definition of 'low quality'

I see -- this would build on the definition low perplexity <=> low quality, and you would include this definition as a bias in your training set (and then also a distribution mismatch during inference). I think in this step the goal is to use a completely different notion of "low quality", namely anything that is not a wikipedia reference.


Pileup needed for AllelicCapseg

AllelicCapseg needs base counts from pileup. This does not exist in gatk4 yet. Assigning to @LeeTL1220 to connect with @droazen to flesh out what needs to be implemented.

@LeeTL1220 can we schedule this for the next milestone (~6 weeks)

@LeeTL1220 @samuelklee Can you clarify if we still needs this given the current work in ACS?

Based on the code above, I implemented a public static method getPileupBaseCounts to get base counts from pileups in the class HetPulldownCalculator in hellbender-protected.  However, if this method will be needed by anything else, it could probably be moved out of this class.

After getting feedback from @vruano on Issue 45 in hellbender-protected and speaking with @droazen and @lbergelson, it seems that LocusWalker should be implemented instead.
For the time being we will move forward with SamLocusIterator, but I'll file a separate issue in hellbender-protected to remind us to switch over to LocusWalker once it is implemented.

Closing, since there are no plans to implement LocusWalker


Feature Request: Create only a single environment for admiral in a separate file

Feature Idea
Right now environments are created in multiple files and are not documented.
Relevant Input
No response
Relevant Output
No response
Reproducible Example/Pseudo Code
No response

I would prefer a meaning full name, e.g., admiral_environment.R instead of aaa.R. We could use the @include tag if a file needs the environment when loading. There shouldn't many such files if at all.

I like admiral_environment.R - much more meaningful.

Looks like we create new environment objects in three places:

admiral_options.R - used to house the default values for subject_keys
derive_merged.R - used for get_not_mapped()
duplicates.R - used for get_dupllicates_dataset()

Should we also unify the three environment objects into one object calling it admiral_environment . Then within it, it can call

admiral_environment$subject_keys
admiral_environment$nmap
admiral_environment$duplicates

as appropriate in the respective scripts?

Makes sense to me.
Should we use the same approach in admiraldev and add admiraldev_environment.R which creates the environment admiraldev_environment instead of .datasets in datasets.R?

Yes and while parsing that out in admiraldev, can also add a line or two in the programming strategy describing if the developer needs to use a separate environment to fulfill some sort of purpose for their function, the respective xxx_environment.R is the appropriate location for it

Yes, good idea.
We should also add to the programming strategy that all objects which are stored in the environment must be documented in admiral_environment.R. Then it is easier to see which objects are already used.

Ah I see you are already on @zdz2101 for the programming strategy!!

Ah I see you are already on @zdz2101 for the programming strategy!!

Perhaps we should push the admiraldev one first to make sure everything is fine and dandy?

Haha yeah this new environment stuff scares me a little...


How should I handle configuration files created by amplify cli that contain account specific information ?

Recently I have been trying out Amplify. I use Ubuntu 18.04.1, node 10.13.0 and the latest version of the Amplify cli (0.1.44  from running 'amplify --version'). I have one github repository with the following structure:
root
 +
 |
 +---+ mobile
 |       +
 |       |
 |       +-----+ expo
 |
 +----+server
         +
         |
         +-----+ rest

There is one .gitignore file that I created in the root. I then created an React Native project in the expo directory and ran amplify init, amplify auth and amplify add api for GraphQL. In this case there were no updates to either the root or the expo .gitignore files.
In the rest directory, which was initially empty, I ran amplify init and amplify add api for REST (Lambda). In the case the root .gitignore file was not updated and there was no .gitignore file created in the rest directory.
I noticed that there are a number of files that contain specific information to my AWS account (such as configuration, specific endpoints and API keys) such as

expo/.amplifyrc
expo/aws-exports.js
expo/amplify/#current-cloud-backend/amplify-meta.json and
expo/amplify/backend/amplify-meta.json

and similar in the directories under rest.
The information in this file seems very specific to my AWS account and especially the aws_appsync_apiKey in aws-exports.js seems to me that is not a good idea to store them in a repository as a simple file.
So I would like to ask:

am I right that these are the only places that have account information or have I missed some other file ?

would you have some suggestion of how to save them in a repository such as github (maybe somehow encrypted) ?

if I do not put them in the repository, could you suggest a development process I could use with Ampllfy cli ?

@gvlachos a multienv version of Amplify CLI is being tested and soon will be merged with master. We do add a .gitignore file in multienv branch to mask account specific information. You could either start using @multienv tag of Amplify CLI or use the linked .gitignore as the starting point

@yuth ok I see the new version of the Amplify CLI now with the updated .gitignore file that excludes the following:
#amplify
amplify/\#current-cloud-backend
amplify/.config/local-*
amplify/backend/amplify-meta.json
amplify/backend/awscloudformation
aws-exports.js
awsconfiguration.json

It would be great if you could also let me know what steps I need to take on a project just pulled from github in order to re-create these files (the third part of my question above).
Note that the project is initialized with auth (amplify add auth) and GraphQL (amplify add api).

@gvlachos You can simply git clone and then ‘amplify init’ on that project.

@kaustavghosh06 I did that (git clone and then ran amplify init) however amplify status shows that there is a difference in my GraphQL api
Current Environment: demo

| Category | Resource name   | Operation | Provider plugin   |
| -------- | --------------- | --------- | ----------------- |
| Api      | expotabsdemov2  | Update    | awscloudformation |
| Auth     | cognitoa1b085a0 | No Change | awscloudformation |

Also:

aws-exports.js in the root of my project was not generated

the file ./amplify/backend/amplify-meta.json in the clone is different from the original,  it contains the following entry in the providers section:

        "categories": {
            "auth": {
                "cognitoa1b085a0": {}
            }
        }

in the cloned project there is no file 'amplify/backend/awscloudformation/nested-cloudformation-stack.yml' while there is in the original

in the cloned project there is no directory './amplify/backend/api/expotabsdemov2/build' while there is in the original with directories of functions, resolvers, stacks and files schema.graphql, parameters.json, cloudformation-template.json

from the above I certainly need 1 but I am not sure when I may need 2, 3, 4, (I am quite new with all this)


Fix overflow during usize encoding

@Disasm I'm fixing some travis issues in #51, you might want to wait and rebase on that.

I will fix this, but I think I will use a different strategy, to avoid pulling in types larger than usize. Thanks though @Disasm, I'll leave this open until I fix it my way.

This was addressed by #52. Thanks @Disasm!


Perpendicular distance between point and line segment

This library can calculate perpendicular distance between point and great circle passing trough two points.
It can calculate distance between two points.
What about a line segment? Perpendicular distance may not exists between point and line segment on great circle -> how to check that?
That can be useful when calculating minimum distance between point and line.
Thanks.

Hello - does anyone knows answer to this question?

Hi, do you have an example?

@mjaschen Is this good enough? https://docs.google.com/presentation/d/1qaP29PFlCZ5YqVSDJlj47QQgx3QbJXlRRn5OEFHICIo/edit?usp=sharing
In general - I am trying to calculate distance between two geo areas - and determining if perpendicular distance exists or not is crucial for that.

Thanks for clarification!
I wonder, if the following would be enough to calculate the minimum distance:

try to calculate the perpendicular distance; if it exists: we've found the minimum distance and are done
if the perpendicular distance cannot be determined, calculate the distance between the point and each of the two points of the line and return the smaller value

I'm doing some research and will drop interesting links here:

http://stackoverflow.com/questions/7803004/distance-from-point-to-line-on-earth#7804061

"Never mind, that won't work, a perpendicular distance can be calculated in any case" -> correct.
"A simple iteration should lead us to the solution relatively fast" -> Idea is solid, however, I don't think that iterative approach is a good approach, and should be left as last resort -> if we can not came up with better solution.
Perpendicular distance is actually a intersection of two great circles, right? How about to find that intersection and check if it is on line segment? (slide 3: https://docs.google.com/presentation/d/1qaP29PFlCZ5YqVSDJlj47QQgx3QbJXlRRn5OEFHICIo/edit#slide=id.g213395627b_0_0)

BTW - you can edit presentation, if you need to play around with dots and triangles....
When we are at triangles, note that when perpendicular distance exits, angle C - A - B is less or equal then 90 degrees, while when it does not exists, angle C - A - B is greater than 90 degrees.  Is that helpful? If we have coordinates of triangle on great circle, can we calculate angle of triangle sides?

Follow up on idea in regards to angles of triangles: https://sites.math.washington.edu/~king/coursedir/m445w04/notes/vector/coord.html
"Angle between two circles: This angle is the dihedral angle between the planes of the circles and thus can be computed as the angle between normal vectors to the planes. Caution: The angle may be the exterior angle and thus the supplement of the disired angle."

@mjaschen Ok, seams that there is a simple solution to this problem: https://en.wikipedia.org/wiki/Spherical_trigonometry#Derivation_of_the_cosine_rule
According to given theory, based on coordinates (lat/long) of given points A,B,C of triangle on sphere, we can calculate angles between tow great circles by using formula given in image: https://wikimedia.org/api/rest_v1/media/math/render/svg/3e90f310761cde9b5eebfcfe615594edf89b8f78 and applying arccos function.
If this theory on slide 3 is correct: https://docs.google.com/presentation/d/1qaP29PFlCZ5YqVSDJlj47QQgx3QbJXlRRn5OEFHICIo/edit#slide=id.g213395627b_0_0 then it will be very easy to determine if perpendicular distance exists between a point and line segment on great circle -> we just have to calculate two angles and do a simple check.
Do you agree with proposed idea?

@mjaschen Sorry, I am harassing you but I don't have sufficient knowledge in geometry and I do not know anyone other who has it to ask :)

@mjaschen Hi, I am sorry to bother you, you obviously dont have time to deal with this. Is there any other maintainer with who I can talk about this?
I am willing to work on this and to submit a PR but I need some help and guidance... thanks.

Hi,
sorry for letting you wait - I'm a little busy these days.
I'm currently working on a proof-of-concept for you proposal. If it works we can merge it immediately :-)
Marcus

Hi, whats up? Is there any update on this?

@TheCelavi, did you find a solution to your issue ?

I stopped working on it, I got theory, @mjaschen said that he is going to code it, and I was not under pressure to finish this functionality for one of my side projects...

@mjaschen Is there any news concerning the implementation of this feature ?

@felixveysseyre Unfortunately not :-(
Much of other stuff (private + business) keeps me from investing some time into this issue at the moment.

@mjaschen one working existing similar function is distanceToLine here

Hi there,
we've finally implemented a solution for this!
Please check the documentation for an example on how to use this.


brew.sh: fix some stderr redirections to /dev/null

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[ ] Have you successfully run brew typecheck with your changes locally?
[ ] Have you successfully run brew tests with your changes locally?

The order matters here (in a way that I can't explain, unfortunately).
Example:
bash-3.2$ read -r FOO <nonexistent 2>/dev/null
bash: nonexistent: No such file or directory

bash-3.2$ read -r FOO 2>/dev/null <nonexistent
# no output

Fixes Homebrew/discussions#5653.

The order matters here (in a way that I can't explain, unfortunately).

Redirections are always performed left to right. The same error is being output in both cases, but in the second case, you've already redirected stderr to /dev/null before the failing stdin redirect is done, so that's where the error message goes.


OneDrive Business access.

Does it possible to view files on OneDrive Business cloud with your onedrive-explorer-android? I have changed
private IClientConfig createConfig() {
    final MSAAuthenticator msaAuthenticator = new MSAAuthenticator() {
        @Override
        public String getClientId() {
            return "000000004C146A60";
        }

        @Override
        public String[] getScopes() {
            return new String[] {"onedrive.readwrite", "onedrive.appfolder", "wl.offline_access"};
        }
    };

    final IClientConfig config = DefaultClientConfig.createWithAuthenticator(msaAuthenticator);
    config.getLogger().setLoggingLevel(LoggerLevel.Debug);
    return config;
}

to
private IClientConfig createConfig() {
    final ADALAuthenticator adalAuthenticator = new ADALAuthenticator() {
        @Override
        public String getClientId() {
            return "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"; //Clien ID from Azure AD account
        }

        @Override
        protected String getRedirectUrl() {
            return "http://BestCrypt"; //Redirect URL from Azure AD account
        }
    };

    final IClientConfig config = DefaultClientConfig.createWithAuthenticator(adalAuthenticator);
    config.getLogger().setLoggingLevel(LoggerLevel.Debug);
    return config;
}

in BaseApplication class and have got this exception when trying to view root of the cloud:
12-04 20:59:06.752    7129-7545/com.microsoft.onedrive.onedriveapiexplorer E/DefaultHttpProvider[sendRequestInternal] - 297﹕ OneDrive Service exception GET https://jetico-my.sharepoint.com/_api/v2.0/me/drive/items/root?expand=children%2Cthumbnails
X-RequestStats : SDK-Version=Android-v1.0
Authorization : bearer null
401 : Unauthorized
X-MS-InvokeApp : 1; RequireReadOnly
SPRequestDuration : 8
SPRequestGuid : ddfa479d-2028-2000-4650-5aa8336a17a1
x-ms-diagnostics : 3000006;reason="Token contains invalid signature.";category="invalid_client"
request-id : ddfa479d-2028-2000-4650-5aa8336a17a1
X-Powered-By : ASP.NET
WWW-Authenticate : Bearer realm="2285ee43-8a18-451a-9003-d2b9149ff447",client_id="00000003-0000-0ff1-ce00-000000000000",trusted_issuers="00000001-0000-0000-c000-000000000000@*,https://sts.windows.net/*/,00000003-0000-0ff1-ce00-000000000000@90140122-8516-11e1-8eff-49304924019b",authorization_uri="https://login.windows.net/common/oauth2/authorize"
X-Android-Response-Source : NETWORK 401
MicrosoftSharePointTeamServices : <IP_ADDRESS>05
X-Android-Sent-Millis :<PHONE_NUMBER>594
P3P : CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI"
Date : Fri, 04 Dec 2015 14:59:08 GMT
X-Content-Type-Options : nosniff
X-FRAME-OPTIONS : SAMEORIGIN
Content-Length : 51
Server : Microsoft-IIS/8.5
SPIisLatency : 2
Strict-Transport-Security : max-age=31536000
X-Android-Received-Millis :<PHONE_NUMBER>721
{
"error_description": "Unsupported security token."
}
com.onedrive.sdk.http.OneDriveServiceException: GET https://jetico-my.sharepoint.com/_api/v2.0/me/drive/items/root?expand=children%2Cthumbnails
X-RequestStats : SDK-Version=Android-v1.0
Authorization : bearer null
401 : Unauthorized
[...]
[Some information was truncated for brevity, enable debug logging for more details]
        at com.onedrive.sdk.http.DefaultHttpProvider.handleErrorResponse(DefaultHttpProvider.java:329)
        at com.onedrive.sdk.http.DefaultHttpProvider.sendRequestInternal(DefaultHttpProvider.java:243)
        at com.onedrive.sdk.http.DefaultHttpProvider.access$000(DefaultHttpProvider.java:48)
        at com.onedrive.sdk.http.DefaultHttpProvider$1.run(DefaultHttpProvider.java:127)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
        at java.lang.Thread.run(Thread.java:818)

I have Azure Active Directory Premium free for one month tuned according to the manual Integrating Azure AD into a Java
Should I take some additional steps in order to do not get
Authorization : bearer null

in the log?

RE: The bearer token, this is by design because I don't want developers to accidentally expose a valid bearer token when posting service errors.  You can uncomment it for development purposes; I typically stick a break point on getAccessToken().

To your question, Yes it does support being switched to the an AdalAuthenticator or to use a MSA and ADAL authenticator together.  Based on the unauthorized error, it sounds like your application might not have the scopes granted for the files api, see this for details on configuring your application in azure https://dev.onedrive.com/app-registration.htm#register-your-app-for-onedrive-for-business

Do you mean
5. Specify the permission levels your app requires from the Office 365 API applications in Azure using scopes.

?
I have thought it is configured in mobile app code (as it is for simple OneDrive). Should I go to Azure AD and grant this scope from there?

Yup

Did you mean this settings:
Read and write all groups
Read all groups
Read and write directory data
Access the directory as the signed-in user
Read directory data
Read all users' full profiles
Read all users' basic profiles
Sign in and read user profile

?
I have set 8 checkboxes without any result.

You'll need to configure specifically Office 365 SharePoint Online to have read/write permissions to files

It works! Thanks a lot. It was very tricky...


Fixups gce

A few seemingly obvious fixups from abandoned PR #47.
I keep them separate as they are unrelated to each other.
About the available function, I guess you know what was the intent as it dates back to your initial commit (ie was returning self._protocol instead of self._available). But seems logical this was a mistake.

Thanks :pray:
Can you fill the changelog for a 0.7.1 version please ?

Done. No changelog entry for the comment update as no change to the user.


Add gcp.instance metadata-filter and tests

Otherwise it looks good to me. Lets see what the upstream reviews suggest.


Update AEM Uber Jar to 6.3.3 (or later)

Required Information

[x] AEM Version, including Service Packs, Cumulative Fix Packs, etc: 6.4+
[x] ACS AEM Commons Version: Any
[x] Reproducible on Latest? yes

Proposal
Right now we are using 6.3.0 uber jar which has rather dated apis, especially the content fragment API which was updated in 6.3.3 to support things like multiple values.  It would be ideal to move up our minimum version to 6.3 sp3 or later so that we can better support features related to content fragments with the updated API.

This is now superseded by #2753


Test failure: Heapster with persistent storage

This might be related to #816
Using a running cluster
should allow adding a worker node: PASSED
should be able to deploy a workload with ingress: PASSED
should have an accessible dashboard: PASSED
should respect network policies: PASSED
should support heapster with persistent storage: FAILED: error verifying deployment heapster-influxdb: error running command on node
should have tiller running: PASSED
nodes should contain expected labels: PASSED

• Failure [2636.277 seconds]
kismatic
/go/src/github.com/apprenda/kismatic/integration/install_test.go:383
  calling install apply
  /go/src/github.com/apprenda/kismatic/integration/install_test.go:382
    when deploying a skunkworks cluster
    /go/src/github.com/apprenda/kismatic/integration/install_test.go:267
      with Calico as the CNI provider
      /go/src/github.com/apprenda/kismatic/integration/install_test.go:266
        when using AWS infrastructure [aws]
        /go/src/github.com/apprenda/kismatic/integration/framework.go:21
          should install successfully [slow] [It]
          /go/src/github.com/apprenda/kismatic/integration/framework.go:20

          Failed: Using a running cluster

          /go/src/github.com/apprenda/kismatic/integration/framework.go:183
------------------------------
tar: Removing leading `/' from member names
Uploading logs to S3. Get them at https://console.aws.amazon.com/s3/buckets/kismatic-integration-tests/logs/933/kismatic-integration-build-#933-2017-09-27T05:44:15+0000.tar.gz
tar: Removing leading `/' from member names
Uploading logs to S3. Get them at https://console.aws.amazon.com/s3/buckets/kismatic-integration-tests/logs/933/kismatic-integration-build-#933-2017-09-27T05:44:15+0000.tar.gz

CI Run: https://circleci.com/gh/apprenda/kismatic/933?utm_campaign=chatroom-integration&utm_medium=referral&utm_source=slack

Closed via #823


Update KubeCon dates for 2024

Since KubeCon + CloudNativeCon NA 2024 has passed, it's time to update the dates & links of this event at the https://kubernetes.io/ main page. This PR does it.
Note: new link to the next (i.e. 2024) NA event went live already but, currently, it features an intro splash only. I guess the full website will follow a bit later. We still

Thanks @shurup
Preview looks good to me: https://deploy-preview-44158--kubernetes-io-main-staging.netlify.app/
/lgtm

/lgtm


[Bug]:

What happened?
https://discord.com/channels/1073293645303795742/1143472076922048522
Versions
0.4.4
0.4.6
Relevant log output
No response

To provide a bit more context:

Version used: 0.4.4
Deployment: AWS API GW -> EC2

Problem: The API GW endpoint contains a trailing path which is breaking the URL when port is not provided (e.g. defaults to 8000). Even if port is provided it results in a broken URL.
examples:

with port 443 - .../<path>:443/api/v1
without port - .../<path>:8000/api/v1

https://github.com/chroma-core/chroma/blob/8a7f0ba36f7d8a560a1b5c7814a3480329c3971c/chromadb/api/fastapi.py#L40-L44
The suggested fix is to evaluate the URL and extract path vars so that they can be properly appended.

@tazarov same question :) <3 - I see we merged #1067 - should we close this or keep it open?

thanks!


fix(operation-name): get graphql operation name from context.

fix(operation-name): get graphql operation name from context.
chore(dependency): upgrade dependencies using go get -u all

previously it was reporting the first operation name in the query even the running query is different.
The bug was something like this:
query A {
   __typename
}
query B {
   __typename
}
query C {
   __typename
}

Even if I run the operation C, it was always reporting A as operation name.
This PR fixes the bug 🚀

@ravilushqa can you have a look at why the CI is failing? 🙏

@ravilushqa can you have a look at why the CI is failing? 🙏

@hsblhsn thanks for the PR, I will try to check the PR in a few days

@hsblhsn you updated deps in root, looks like you need to update deps also in example folder, then ci should be passed.
Also would be great if you will add test for your scenario

Hi @ravilushqa,
Thank you! The CI has been fixed. And I have also added a test for the changes. If everything is fine, please create a release after merging :)
Thanks 🙏


keywords

treat repo name as a stop word

I didn't get why 'ha' is a keyword

https://github.com/google/protobuf/compare/master...FX-HAO:master

'has' in 'has_key', and 'has' -> 'ha' :)

I think we have discussed to keep the original version of the word?

'this' should not be in the keyword list, and 'this' is in the cplusplus_stopwords.txt

by merging 1-gram and 2-gram, the 2nd 'key' would be removed

for 'this' case, you can see it changes PHP files which I don't add stopwords yet.

can we add a general_stopword.txt?

yes, now I don't use 2-gram yet.

I think you can create another issue which makes discussion clearly.

ok I will add"'calculating ifdef for 2_grams" in todo then

I think "treat repo name as stopword" is okay.
Anyway, it's a small problem.

We are identifying representative words for each fork, I think the repo's name is not representative.
If it is a small problem. pls fix it before our first release.

fixed


Add new elements such as images programmatically

As an extension of what was done previously and described here: https://docs.excalidraw.com/docs/@excalidraw/excalidraw/api/excalidraw-element-skeleton
It would be great to be able to programmatically add icons and images (and text around them), and connect these entities.
I would like to use this feature to create AWS architectures diagrams programmatically from (AWS CDK) code.

While it's not possible to do so using the Skeleton API right now, you can still add images using addFiles in combination with updateScene.
Example here: https://codesandbox.io/p/sandbox/excalidraw-files-example-r7ophm?file=%2Fsrc%2FApp.js%3A20%2C43, check the onClick handler inside the <Excalidraw/> child button (ignore that codesandbox errors out).

Thanks, I'll take a look.

Issue is resolved with this tiny code
excalidrawAPI.addFiles([   {     id: "pika",     dataURL: pikaDataURL,     mimeType: "image/jpeg",   }, ]);
from https://codesandbox.io/p/sandbox/excalidraw-files-example-r7ophm?file=%2Fsrc%2FApp.js%3A83%2C29-89%2C32


Bugsnag reporting with incorrect stage, should not report at all in stage development

Describe the bug
Bugsnag is reporting errors with the wrong release stage. I have set APP_ENV and BUGSNAG_RELEASE_STAGE to development, but Bugsnag reports using stage production.
Environment

Bugsnag version: 2.22.2
PHP version: 8.0.8
Composer version: 2.1.8
Laravel version: 8.61.0

.env (shorted)
APP_ENV=development
LOG_CHANNEL=stack
LOG_LEVEL=error
BUGSNAG_API_KEY=*************************
BUGSNAG_RELEASE_STAGE=development
BUGSNAG_NOTIFY_RELEASE_STAGES=test,production
bugsnag.conf
'release_stage' => env('BUGSNAG_RELEASE_STAGE'),
'notify_release_stages' => empty(env('BUGSNAG_NOTIFY_RELEASE_STAGES')) ? null : explode(',', str_replace(' ', '', env('BUGSNAG_NOTIFY_RELEASE_STAGES'))),
I can create errors in .env and bugsnag.conf to force the web application to fail, so the config files seem to be read correctly.
I have run cache:clear and config:clear and I have restarted the web server.
I also tried to check what is going on within bugsnag-laravel, and the settings are read correctly in vendor/bugsnag/bugsnag/src/Configuration.php
I can reproduce this behaviour on another server with different stage (test), PHP, Laravel and OS. It always reports as production.

I found the issue in AppServiceProvider. I had a piece of code in there to initialise \Bugsnag\Client.


raftstore: only compact replicated log

@ngaut @siddontang PTAL
close #424

LGTM

@xiang90 @siddontang PTAL

LGTM

I am not sure if we really need to be this conservative to avoid snapshot loop.
Say we have three nodes in one cluster: A, B, and C. After C dies, A, B cannot compact its log due to this new rules. If C dies for a few seconds then it might be fine. But if C dies for minutes, then A and B might leave millions of log entries in memory or in the WAL files to be cleaned up. It might be OK or might not be OK. If it is OK for you, then probably it is the way to go here.
In my opinion, the purpose of this rule is to avoid snapshot sending loop when a snapshot can take long time to generate and send. I think a better approach is to only disable compaction when the leader finds out a active node (online one) needs a snapshot. If the snapshot is size limited then the generating and sending time is limited. Thus the time to disable compaction is limited since you can set up timeout properly.
I am not sure how you do snapshot right now. @siddontang mentioned another idea is to disable compaction when doing the snapshot. I assume you always need to do snapshot for checkpointing in some form, so that you can start compaction. Rr the node will not be able to restart. So I feel there is still a difference between disabling compaction when doing snapshot and when sending snapshot. But we might mean the same thing.

BTW, I am not saying this solution does not work. It works as long as we are OK to have more number of entries. (probably you plan to gc long dead nodes... so it won't be a problem at all.)
Just provide some thing we might want to think about.

Hi @xiang90
We know that this solution can cause huge logs if the node is down for a long time, but we think it is ok now.
I agree that we should find a better way to handle it later. Btw, what I mean do snapshot is for generate + send + apply, a whole flow, so we mean the same thing.
Maybe we can force compact log if we find the log is too huge and a node is down for a long time, and pd can find the node is dead and try to gc it automatically later.

@xiang90 Thanks for your advice. It's complicate to handle all of the case.
We still need to force compact log when log is huge.
@BusyJay Can we do that in this PR ?

Yes, but to be noted that adding a bound check will not solve issue #424.

LGTM

@xiang90 PTAL

looks good. thanks.


Implement Suggestions

This will be implemented via feature as it will incur an additional dep.
This is for spelling mistakes, for example if we had an application with --file <file> option and we ran
$ myprog --flie words.txt
--flie isn't a valid argument for myprog
    Did you mean --file?

USAGE:
    myprog [FLAGS] [OPTIONS]
For more information try --help

Initial implementation will be longs and subcommnds only, but should be able to add values from .possible_values() later.

Currently being worked by @Byron in #103


Add generic perf trace instrument

As discussed in #382, this PR modifies the perf trace instrument so that it accepts any perf command. It implements the back-end of ARM-software/workload-automation#979 and requires fix #387 to avoid #386. It is arguably simple as it receives the commands to run as strings (prepending the path to perf) and runs them "at the right time".
Based on the  subcommands perf currently has, it looks like these can be placed in 3 categories:

The "measuring" commands (commands): used to trace/measure some system properties (stat, record, mem, sched, kmem, kvm, c2c, ...);
The "reporting" commands (post_commands): used to process a trace file from a "measuring" command (report, script, timechart, annotate, c2c report`, ...);
The "information" and "configuration" commands (pre_commands): used to configure the system or get general information (list, config, buildid-list, help, ...)

Therefore, we take 3 dictionaries of commands that are run in order (pre_, then commands, then post_) in accord with these definitions. I'm still not perfectly sure about "when" in the WA/devlib process these are to be run, though. Please check that.
The reason why we have dictionaries for commands (instead of lists) is that the keys can act as a label which seemed to be a desired feature of the previous implementation. As we have multiple dictionaries, a same label can appear multiple times (i.e. as a key in more than a single dictionary). In that case, it makes sense to "group" these commands in their own "execution lane" e.g. a record and its corresponding report. Maybe, these labels could be used as directory names on the target and then on the host, once having been extracted(?) For example, commands within the same label would "see" the same files (as they would be in the same subfolder) while commands with different labels wouldn't and would therefore be able to re-use the same filenames. A similar approach with respect to the filename would be to prepend/inject/append the label to the filename.
The Command class is implemented to be used by the corresponding WA perf instrument when generating the perf commands passed to the devlib PerfCollector. I thought it would make sense to have that class in devlib instead of WA. See the front-end PR for a description of the constructor parameters.
The get_trace hasn't been implemented yet. If we're going with a function that extracts one outfile at a time, the caller (WA) will have to keep track of which files are generated by which commands (e.g. the stdout, stderr, perf.data, ...) which is hard to do. Another approach might be to extract a pull a complete folder from the target (e.g. /sdcard/devlib-target/perf) in which perf would have run. This decision is also influenced by whether labels are used as subfolders or not.
Parsing of the output(s) is the responsibility of WA and won't be done here.
Please note that the proposed implementation is not an in-place replacement for the previous implementation of PerfCollector. Therefore, the previous implementation has been moved to perf_stat, should be deprecated (not sure what the best way to do that is) and should eventually be removed.
TODO:

[x] Check the location of execution of pre_, commands, post_ in the WA/devlib flow;
[x] Deprecate PerfStatCollector
[x] Decide how labels are used on the device
[x] Document PerfCollector (what is expected?)
[x] Trace extraction (per file? ...)

See the comment on ARM-software/workload-automation#979.


Add troubleshooting document, include initial examples - ledger connection, out-of-sync RevReg

Signed-off-by: Stephen Curran<EMAIL_ADDRESS>

@WadeBarnes @ianco -- please take a look.  In a comment here, feel free to suggest other troubleshooting problems that we should include in this document.
Is the document a good idea?  Is the content sufficient? I couldn't think of where else to document the RevReg fixing stuff.
I believe we need an issue (and a PR) that is intended to prevent the "out of sync" scenario - correct?

Codecov Report

Merging #1818 (2f50f69) into main (1d4f98e) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 2f50f69 differs from pull request most recent head 0fb97b8. Consider uploading reports for the commit 0fb97b8 to get more accurate results

@@           Coverage Diff           @@
##             main    #1818   +/-   ##
=======================================
  Coverage   93.70%   93.70%
=======================================
  Files         534      534
  Lines       33871    33871
=======================================
  Hits        31738    31738
  Misses       2133     2133

@WadeBarnes -- please take another look.


Align and theme mobile burger button

This aligns the burger button's contents, prevents it from overlapping menu items, and matches its color to the set theme.
Before:

After:

closes #629


add iaam linz

Hi @stroebitzer, thanks for sending around this PR! I had a quick glance over the meetup but didn't quite understand how the meetup is promoting software craft(smanship) values and principles, only got from it that it is specific about infrastructure.
Would you mind clarifying?
Cheers,
Raimo

Hi
We basically copied the concept of Un-Conference to do Un-Meetups. Meaning we agree on the Agenda before starting our Meetup and everybody is invited to contribute to the Agenda. We  focus on DevOps-ish topics.
Basically we are doing an Un-Meetup ~ every 3 months with the following "Rules":
Discussion over Monologue
Coding over Presentation
Being focused over growth
Being nice over being not nice
I was joining the Sokrates Linz last week - and https://twitter.com/Singsalad asked us to add events to this site.
Cheers,
Hubert

Sorry for forgetting about this. Sounds good to me, thanks for adding it to the map! :)


Add Moment outputs option for cli and .ps1

Add the option to record in moments format in CLI, then add it to be by default in the .ps1 file

Also add the record option for moments in the GUI


[manual roll] Roll Engine from 1ef10b240e28 to f84e7a019663 (12 revisions)

Autoroller broke due to https://github.com/flutter/engine/pull/21193. This manual roll includes a commit to check for #import instead of #include.
<EMAIL_ADDRESS>2020-09-16<EMAIL_ADDRESS>Fix x-axis direction in Offset.direction doc (flutter/engine#21208)
2020-09-16<EMAIL_ADDRESS>Roll Dart SDK from 7476b58cc9d0 to 9b3b9c26a343 (2 revisions) (flutter/engine#21216)
2020-09-16<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from sXR21ye3r... to G5UItrFeP... (flutter/engine#21212)
2020-09-16<EMAIL_ADDRESS>Roll Skia from 3e72b3ff8ca7 to 2610e8261e9e (4 revisions) (flutter/engine#21210)
2020-09-16<EMAIL_ADDRESS>Roll Dart SDK from c835079edda4 to 7476b58cc9d0 (8 revisions) (flutter/engine#21209)
2020-09-16<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from 8q8xxvY60... to VpUd_W9Oi... (flutter/engine#21206)
2020-09-16<EMAIL_ADDRESS>Verify Flutter clang module, add hook for verifying consumer warnings (flutter/engine#21203)
2020-09-16<EMAIL_ADDRESS>Roll Skia from a195d101f96c to 3e72b3ff8ca7 (7 revisions) (flutter/engine#21205)
2020-09-16<EMAIL_ADDRESS>Add Linux Wayland support (flutter/engine#20629)
2020-09-16<EMAIL_ADDRESS>[darwin] Header #import hygiene (flutter/engine#21193)
2020-09-16<EMAIL_ADDRESS>Fix NPE in PlatformPlugin.getClipboardData() (flutter/engine#21189)
2020-09-15<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from -iBBiPj1C... to sXR21ye3r... (flutter/engine#21197)
Also rolling transitive DEPS:
fuchsia/sdk/core/linux-amd64 from -iBBiPj1CeUA to G5UItrFeP96D
fuchsia/sdk/core/mac-amd64 from 8q8xxvY60Jci to VpUd_W9Oi9zl
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

CLAs overridden because the author of the flagged commits is the autoroller bot.


Unable to install any extensions - Failed to Download Dependencies, reinstalling doesn't work

Extension
https://www.raycast.com/GastroGeek/folder-search
Description

Steps To Reproduce

Install raycast
Try to install extensions

Current Behaviour
No response
Expected Behaviour
No response

Just this extension or all extensions?


inverse links question

I'm having trouble getting inverse links to function.  I keep getting the fields returned as null.  I have everything setup properly, and the data is being returned properly the other way.
type Counter @mongo(name: "counters") {
_id: ID!
count: Float
userId: ID!
user: User @link(field: "userId")
}
type User @mongo(name: "users") {
_id: ID!
counter: Counter @link(to: "user")
}
I imagine that it should just work both ways?  or am i mistaken?  My "Counter" query will return any information from User that i want.  but if i try to return the count in my User query, i get null.
Also, does this automatically map the field specified in the first collection to the _id in the second?

@ericmcgregor it should work out of the box, need more details on this one.

There were some inverse link issues before that got resolved. Best to supply a sample repo to debug.


Create a sorted integer index, enable dask divisions

Currently, lsstseries uses the ensemble._id_col column as the primary index. This makes intuitive sense for fast grouping on objects, joins between object and source, etc. However, one important consideration for scale is the ability to assign dask divisions to the partition structure. Divisions require a sorted integer index, and indicate which slices of index values live in each partition. This will save on time spent searching partitions for a given object id, as divisions provide a means to just access partitions that include the required information.
However, the sorted integer requirement is difficult to impose on the user chosen id column, there is no guarantee that the column is sorted or even an integer. Therefore, to support divisions we should demote self._id_col to be just another column in the source dataframe, and instead create a sorted integer index that maps to self._id_col.
This sorted integer index should be unique-per-object, just like the object_id. It should be generated in any loader function
Blocks #88 , a sorted integer index will allow for potential utilization of the hipscat_id and any hipscat loader function may instead generate the index directly from the association table

I've spent a few days working on a branch that would implement this, and ultimately failed to get any amount of performance boost out of it (and in fact things were several times slower. My sense is there's two main factors to this:

The operations involved with calculating and setting a new index are expensive in dask. My implementation approach was to generate an index off of the object table, join object to source, and reindex both tables on the new index. The reindex is expensive, especially when applied to the source table. It's tricky to get around this, as since this isn't a column that is available on read from parquet, we'll always have to set the index at some point. It seems to also be problematic for memory, as setting this index requires knowledge of the full id column to create the mapping. I ran out of memory when trying to apply this to larger datasets.
The instances where we actually utilize divisions are currently limited. Divisions should be helpful when Dask is looking for certain rows within the source table primarily. However, we only do this when performing a sync table operation, and even then only when we've modified the object table and are looking to join onto the source table. Our analysis functions at present only run on the information in the source table, doing groupbys.

These two suggest that the cons greatly outweigh the pros at this current stage. I will say that there is certainly the possibility that there is some way to implement this that could be useful, down the road or even now. I didn't want to go any further down the rabbit hole without some trust that we'd get some real benefit from this. Given all this, my suggestion is that we hold off on this for now and keep it in the back of our minds.
As for how this relates to #88, I think the answer for now is that having lsstseries ingest the association information from hipscat is unlikely to actually improve the speed of common lsstseries workflows. However, we should eventually generalize lsstseries to use a sorted integer index if it's available. The hipscat id doesn't satisfy that for our purposes as it's unique per source and object, where we need something that is unique per source. But if the hipscat_id for the associated object were available in the source table that would be something we'd be motivated to use over the object ID potentially.

Closing as there's no immediate plan to implement this


fails to load libVAL.so when launched from a different directory --- script for a static build?

add_static_option.diff.gz
The attached diff modifies the CMake config to enable a static build.
To build statically, use:
mkdir build_static
cmake -DCMAKE_STATIC=True ..
make
I have only tested this on my Ubuntu 18.04 WSL, where it makes the binary 25MB instead of 3MB, so only use if necessary.
Cheers,
Erez.


doc: extensions: Add zephyr-glob-files

Add a custom directive to include files with a glob.
Not sure the current implementation is any good, feels like a hack.
But this could solve the issues we have with all release notes and migration guides merge conflicts.

A cleaner way would be to generate a bullet list using a custom Sphinx Directive, with the paragraphs generated from included rst files. But I lack the sphinx knowledge to write such an extension.

Thanks for the PR!
Need to have a closer look but my concern would be that a glob pattern means that the actual order in the final document would be dependent on how files are named, and that's not always ideal (see e.g. how code samples are listed in a sometimes erratic order -- something that I hope to fix soon btw), no?

Need to have a closer look but my concern would be that a glob pattern means that the actual order in the final document would be dependent on how files are named, and that's not always ideal

I think it could still fix the intended issue, which is that a lot of PRs have changes in the release notes, and reviewers have to re-approve because there are conflicts.

@pdgendt btw do you have examples of "typical" merge conflicts you've seen happen? Just wondering if there is anything we can do to improve the structure of the document and that could help minimize/eliminate conflicts.

@pdgendt btw do you have examples of "typical" merge conflicts you've seen happen? Just wondering if there is anything we can do to improve the structure of the document and that could help minimize/eliminate conflicts.

Not right now, as they were all rebased.
Maybe I'm overreacting, but I tend to work in a few subsystems/drivers and have created a habit of adding release notes in the PRs. So it's mostly conflicts between different PRs of myself, but if one is merged, the others have to be rebased and re-approved.

So it's mostly conflicts between different PRs of myself, but if one is merged, the others have to be rebased and re-approved.

I must admit that I personally do not see this as a big issue. I mean, how many concurrent PRs need to add release notes to the same section? I doubt it's many.


Search no jumpy

Makes sure the search results don't jump up and down

Great improvement in the user experience. Works very well :). Only a few minor comments


Merge AppBuilder into App

This is extracted out of eb8f973646476b4a4926ba644a77e2b3a5772159 and includes some additional changes to remove all references to AppBuilder and fix examples that still used App::build() instead of App::new(). In addition I didn't extract the sub app feature as it isn't ready yet.
You can use git diff --diff-filter=M eb8f973646476b4a4926ba644a77e2b3a5772159 to find all differences in this PR. The --diff-filtered=M filters all files added in the original commit but not in this commit away.
Co-Authored-By: Carter Anderson<EMAIL_ADDRESS>

cc https://discord.com/channels/691052431525675048/692572690833473578/868446926876598293

bors r+


feat(file-upload): required support added

Description
This PR adds ngModel support so that required can be used in the usage template to enforce at least one file to be uploaded. Takes care of #727
What's included?

ngModel support
require support
Control Value Accessors in the core file upload component

Test Steps

[ ] Navigate to http://localhost:4200/#/components/file-upload
[ ] check the required star shown on the Choose a file button in case required is added in the  template

General Tests for Every PR

[ ] ng serve --aot still works.
[ ] npm run lint passes.
[ ] npm test passes and code coverage is not lower.
[ ] npm run build still works.

Screenshots or link to CodePen/Plunker/JSfiddle

Pushed a few commits to fix the ngModel support since it wasnt working properly


Dyadic Greens Functions (beyond Free-Space)

Hi there,
is there a way to simulate using other dyadic greens functions (beyond free-space) as e.g. used in:
Glauco Cohen, Ferreira Pantoja, "Green's functions and method of images: an interdisciplinary topic usually cast aside in physics textbooks" - https://arxiv.org/abs/2006.09999
or
Tayli, Doruk; Gustafsson, Mats "Physical Bounds for Antennas Above a Ground Plane" -  https://lucris.lub.lu.se/ws/files/39352201/TEAT_7239.pdf
I am especially interested to use dyadic green function for "Maxwell problems".
Kind regards,
lemoer

Hello,
I was curious about the same, are there any plans to implement the option of using dyadic green's functions different from the free space ones in the future? I would be interested in such a feature to simulate EM properties of particles above a substrate or ground plane.
Kind regards,
Michel


'Null' is not a subtype of type 'Future'

Hi, I'm migrating some app to null safety and I found this package to be easier to use than mockito, but now I'm having this issue:
'Null' is not a subtype of type 'Future'
I have this abstract class:
import 'dart:async';
import 'package:flutter_secure_storage/flutter_secure_storage.dart';
abstract class Prefs {
Future getString(String key);
Future setString(String key, String s);
}
// the implementation
class SecureStoragePrefs implements Prefs {
static final storage = new FlutterSecureStorage();
Future getString(String key) async {
String? value = await storage.read(key: key);
return value ?? "";
}
Future setString(String key, String s) async {
storage.write(key: key, value: s);
}
}
My viewmodel:
class LogoutViewModel {
Prefs prefs;
LogoutViewModel(this.prefs);
Future logout() async {
await prefs.setString("user.prefs", "");
}
}
And the test:
`import 'package:flutter_test/flutter_test.dart';
import 'package:mocktail/mocktail.dart';
class MockPrefs extends Mock implements Prefs {}
void main() {
late LogoutViewModel logoutViewModel;
late Prefs prefs;
setUp(() {
prefs = MockPrefs();
logoutViewModel = new LogoutViewModel(prefs);
});
testWidgets('should clear all user data', (WidgetTester tester) async {
logoutViewModel.logout();
verify(() => prefs.setString("user.prefs", ""));

});
}`
Since prefs.setStrig returns Future, why am I receiving this error?

Hi @srockytfl 👋
Thanks for opening an issue!
This is because you're not stubbing the setString call (so it's returning Null instead of Future<void>):
testWidgets('should clear all user data', (WidgetTester tester) async {
    when(() => prefs.setString(any(), any())).thenAnswer((_) async => {});

    logoutViewModel.logout();

    verify(() => prefs.setString("user.prefs", ""));
});

The above snippet should work, hope that helps 👍


Binaries for Bullseye?

Just officially requesting binaries for Debian Bullseye. Thank you for this consideration.

@r4sas, thanks! Merged.
@AmyMoriyama, added. You can get package (for trunk) here.


maximum duration of a stabilizer run can be exceeded.

we have a stabilizer run, with a max duration of 30 mins.  which take 30 mins * 2
starting with the first initialization
INFO  11:37:57 iCacheListener       Starting Test initialization

a test takes a long time to complete a phase of a test e.g. localWarmup
INFO  12:08:19 MapPred              Running 00d 00h 28m 00s  93.33% complete
INFO  12:08:19 iCacheStr            Waiting for localWarmup completion: 00d 00h 30m 09s
INFO  12:08:21 iCacheMangle         Running 00d 00h 30m 00s 100.00% complete

and
INFO  12:08:32 MaxSizeMap           Starting Test global verify
INFO  12:08:32 iCacheStr            Waiting for localWarmup completion: 00d 00h 30m 22s
INFO  12:08:32 MapStore1            Starting Test global verify

then
INFO  12:08:49 MapPred              Running 00d 00h 28m 30s  95.00% complete
INFO  12:08:49 iCacheStr            Completed Test start
INFO  12:08:49 iCacheStr            Test will run for 00d 00h 30m 00s
INFO  12:08:49 iCacheListener       Completed Test local verify
INFO  12:08:49 iCacheListener       Starting Test global tear down

and later
INFO  12:10:45 MapPred              Waiting for stop completion: 00d 00h 00m 25s
INFO  12:10:49 iCacheStr            Running 00d 00h 02m 00s   6.67% complete
INFO  12:10:51 MapPred              Waiting for stop completion: 00d 00h 00m 31s

Finally ending at  12:38:59
INFO  12:38:49 iCacheStr            Running 00d 00h 30m 00s 100.00% complete
INFO  12:38:49 iCacheStr            Test finished running
INFO  12:38:49 iCacheStr            Starting Test stop
INFO  12:38:51 iCacheStr            Completed Test stop
INFO  12:38:52 iCacheStr            Starting Test global verify
INFO  12:38:53 iCacheStr            Completed Test global verify
INFO  12:38:53 iCacheStr            Starting Test local verify
INFO  12:38:55 iCacheStr            Completed Test local verify
INFO  12:38:55 iCacheStr            Starting Test global tear down
INFO  12:38:57 iCacheStr            Finished Test global tear down
INFO  12:38:57 iCacheStr            Starting Test local tear down
INFO  12:38:59 iCacheStr            Completed Test local tear down

Are you running with --parallel?

yes,  however if you have lots of parallel test,  and "global" duration in
the coordinator it could possible be considered unexpected that the run, in
total takes much longer than the duration.
we could rename duration to durationPerTest,
or put duration in test.properties per test
or have a maxDuration on coordinator

A run can take much longer even if you have just a single test.
It says each (1..n) test will be exercising its main phase for X minutes. One could argue it's not clear from the name of the switch. However to me the current behaviour makes totally sense as I want Stabilizer to run the actual test phase for a specified period of time. Perhaps we could make this more explicit in the documentation? I don't like the idea of adding yet another switch unless we have a very good reason to do so.

I'm going to close this issue since the system behaves as designed.
If you want it to behave differently, could you add a feature request so we can have a look at it?


Pretrained weight availability

Hi there
I'm recently developing MultiMolecule, and we have included many pre-trained foundation models in our hub.
I believe RibonanzaNet can be an excellent addition to our library. But I'm having troubles to locate the pre-trained weights.
Can I ask how can I access the pretrained weights of RibonanzaNet?

Hi Zhiyuan,
You can find the weights on Kaggle at
https://www.kaggle.com/datasets/shujun717/ribonanzanet-weights
Description:
Dataset containing RibonanzaNet pretrained and finetuned weights
RibonanzaNet.pt: pretrained checkpoint trained with chemical mapping data
RibonanzaNet-Deg.pt: finetuned checkpoint trained with RNA degradation data
from OpenVaccine
RibonanzaNet-SS.pt: finetuned checkpoint (v0.9) trained with pdb secondary
structure data
RibonanzaNet-Drop.pt: finetuned checkpoint trained with 2A3 and DMS
Illumina sequencer reads from Ribonanza
Thanks,
Shujun
On Wed, Oct 2, 2024 at 8:49 AM Zhiyuan Chen @.***>
wrote:

Hi there I'm recently developing MultiMolecule, and we have included many
pre-trained foundation models in our hub. I believe RibonanzaNet can be an
excellent addition to our library. But I'm having troubles to locate the
pre-trained weights.
ZjQcmQRYFpfptBannerStart
This Message Is From an External Sender
This message came from outside your organization.
ZjQcmQRYFpfptBannerEnd
Hi there
I'm recently developing MultiMolecule http://multimolecule.danling.org,
and we have included many pre-trained foundation models in our hub.
I believe RibonanzaNet can be an excellent addition to our library. But
I'm having troubles to locate the pre-trained weights.
Can I ask how can I access the pretrained weights of RibonanzaNet?
—
Reply to this email directly, view it on GitHub
https://urldefense.com/v3/__https://github.com/Shujun-He/RibonanzaNet/issues/2__;!!KwNVnqRv!Bq4ackbZ9FHjRidl394537Xj35sNZURWPqSpqPsrcRaIBA4X8D2913YikGco2gIERjwcspZ2r5pmyFi9es43xXQ$,
or unsubscribe
https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AJDU2HM6MDYNKA5D225ANM3ZZP2V3AVCNFSM6AAAAABPHXDSQWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGU3DCNZUHAZTONY__;!!KwNVnqRv!Bq4ackbZ9FHjRidl394537Xj35sNZURWPqSpqPsrcRaIBA4X8D2913YikGco2gIERjwcspZ2r5pmyFi9iPq3RoI$
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Document .SkipReducer functionality

What New Or Updated Would You Like To See?
Enhance Package Reducer documentation with the addition of the use of .SkipReducer files
Why Is It Needed?
This is useful for packages that contain portable apps for example where you don't want the binary removed, depending on your configuration
Additional Context?

Plss


convert resource card to graphql

Reason for change

Convert resource card to graphql

Testing

Check that all states for resource card and resource list work the same in storybook
Checklist

[x] CHANGELOG: The Unreleased section of CHANGELOG was updated
[x] Prop changes: docs were updated
[x] Prop changes: E2E tests were updated, testing from the highest level possible
[ ] Platform testing: If this change should be tested against a platform, has it been?

Not sure what the frontend convention is for commits but you have 23 commits here.

yeah, this one kinda lagged behind for a while (because of other priorities) and then there were conflicts and then there were changes (not using displayName anymore) and then there were more conflict and then more conflict 🤷♂ We do typically squash on merge though, if that changes your opinion


An unhandled rejection has occurred inside Forge: ENAMETOOLONG

Hi all，When I using electron-forge to package my project on macOS(10.12.6). The console output this error as below.
> electron-forge package

✔ Checking your system
⠸ Preparing to Package Application for arch: x64
An unhandled rejection has occurred inside Forge:
ENAMETOOLONG: name too long, unlink '/Users/huhanquan/我的文件/workspace/alps/electron-packager/darwin-x64/alps-darwin-x64/Electron.app/Contents/Resources/app/electron-packager/darwin-x64/alps-darwin-x64/Electron.app/Contents/Resources/app/electron-packager/darwin-x64/alps-darwin-x64/Electron.app/Contents/Resources/app/electron-packager/darwin-x64/alps-darwin-x64/Electron.app/Contents/Resources/app/electron-packager/darwin-x64/alps-darwin-x64/Electron.app/Contents/Resources/app/electron-packager/darwin-x64/alps-darwin-x64/Electron.app/Contents/Resources/app/electron-packager/darwin-x64/alps-darwin-x64/Electron.app/Contents/Resources/app/electron-packager/darwin-x64/alps-darwin-x64/Electron.app/Contents/Resources/app/electron-packager/darwin-x64/alps-darwin-x64/Electron.app/Contents/Resources/app/electron-packager/darwin-x64/alps-darwin-x64/Electron.app/Contents/Resources/app/electron-packager/darwin-x64/alps-darwin-x64/Electron.app/Contents/Resources/app/node_modules/electron-windows-store/ElectronInstaller/ElectronInstaller/ElectronInstaller.csproj'
Error: ENAMETOOLONG: name too long, unlink '/Users/huhanquan/我的文件/workspace/alps/electron-packager/darwin-x64/alps-darwin-x64/Electron.app/Contents/Resources/app/electron-packager/darwin-x64/alps-darwin-x64/Electron.app/Contents/Resources/app/electron-packager/darwin-x64/alps-darwin-x64/Electron.app/Contents/Resources/app/electron-packager/darwin-x64/alps-darwin-x64/Electron.app/Contents/Resources/app/electron-packager/darwin-x64/alps-darwin-x64/Electron.app/Contents/Resources/app/electron-packager/darwin-x64/alps-darwin-x64/Electron.app/Contents/Resources/app/electron-packager/darwin-x64/alps-darwin-x64/Electron.app/Contents/Resources/app/electron-packager/darwin-x64/alps-darwin-x64/Electron.app/Contents/Resources/app/electron-packager/darwin-x64/alps-darwin-x64/Electron.app/Contents/Resources/app/electron-packager/darwin-x64/alps-darwin-x64/Electron.app/Contents/Resources/app/electron-packager/darwin-x64/alps-darwin-x64/Electron.app/Contents/Resources/app/node_modules/electron-windows-store/ElectronInstaller/ElectronInstaller/ElectronInstaller.csproj'

npm ERR! Darwin 16.7.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "package"
npm ERR! node v7.10.1
npm ERR! npm  v4.2.0
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>package: `electron-forge package`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>package script 'electron-forge package'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the alps package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     electron-forge package
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs alps
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls alps
npm ERR! There is likely additional logging output above.

Using electron-forge start works well but electron-forge package prints the error.
Thanks for your time.

Thanks for filing an issue! In order to help you with your problem, we're going to need more information about it. In particular:

What does your config.forge data in package.json look like?

@malept Here is my config.forge.
Default.I haven't changed anything.
"config": {
    "forge": {
      "make_targets": {
        "win32": [
          "squirrel"
        ],
        "darwin": [
          "zip"
        ],
        "linux": [
          "deb",
          "rpm"
        ]
      },
      "electronPackagerConfig": {},
      "electronWinstallerConfig": {
        "name": ""
      },
      "electronInstallerDebian": {},
      "electronInstallerRedhat": {},
      "github_repository": {
        "owner": "",
        "name": ""
      },
      "windowsStoreConfig": {
        "packageName": ""
      }
    }
  }

What folders do you have in your top-level app directory? (Where package.json is)

What's the electron-forge and electron-packager folders?

These two folders are auto-generated when I'm excuting electron-forge package.

It seems like your temporary directory is set to your app directory, for some reason. I suggest either fixing that (I don't know how to do it in macOS and/or your editor of choice) or adding electron-packager and electron-forge to electronPackagerConfig.ignore (see Electron Packager's API docs for details on the format).

Hey how did you fix the issue? I run into the same problem. My electron-forge config looks like smililiar to yours.


UI: Show indication of no data in detector view tabs

Show some sort of visual indication in detector view tabs - "additional data", "notes", "mitigations" to represent if no data was received from API. This will help us correct the problem quickly.

this is added.


Please reintroduce support for CosmosDB

Preflight Checklist

[X] I have installed the latest version of Storage Explorer.
[X] I have checked existing resources, including the troubleshooting guide and the release notes.
[X] I have searched for similar issues.

Problem
I'd like support for CosmosDB back
Desired Solution
Reintroduce it
Alternatives and Workarounds
Only the Azure Portal is available for personal subscriptions
Additional Context
CosmosDB Explorer is not available for non-enterprise subscriptions. The current implementation was just fine, can you please reintroduce it as it is?

Miss the ability to browse cosmosDB colletions. The ability to have more than 1 tab opened against the same collection was a great feature!

Hello @curia-damiano and @MrDRamos,
Thank you so much for feedback on our desktop tooling, we appreciate the time you have taken to share your concerns. We are actively working on an alternative solution using Azure Data Studio, a unified desktop tooling experience exclusively for Azure databases. In the meantime, you can continue to use the following options: version 1.21.3 of Azure Storage Explorer which integrates with Azure Cosmos DB, the Azure Portal, Azure Portal desktop app or the standalone Azure Cosmos DB Explorer.

I have now been using version 1.21.3 of Azure Storage explorer for several years. Azure Cosmos DB Explorer is still lacking features and very buggy. Azure Data Studio still does not support Cosmos DB for Tables beyond a simple free text query and raw JSON response.
It is now 2 years since this thread was last commented. Why not reintroduce Cosmos DB in Azure Storage Explorer so that I can upgrade to the latest version? Waiting more than 3 years for an alternative does not sound reasonable.


Avoid missing SYNC signal due to race between the position + isClosed/isEndOfStream being read.

Good catch.


Any space characters after icons are misrendered

Putting the icon in front of the text results in adjacent space characters appearing as a box with 0020 inside (representing U+0020, the space character). See the green module here:

The text resulting in this is  {usage}%

Yep install otf-font-awesome and uninstall the other package like ttf

Is your problem solved? :)

That fixed it, thank you! I was under the impression that ttf generally has better support in Linux, thanks for the heads up!

For me this did not appear after every icon.
Space error after the backlight icon but not after the wifi or sound icon.


Increment version for storage releases

Increment version for storage releases

Can one of the admins verify this patch?

The branch is outdated and has conflicts. Closing.


Adding a progress bar to Learn segment

As padawan is for beginners , adding a progress bar in the learn section can help new users track their learning. For now the learn section has less content, but as the app grows and new chapters are added, a progress bar can help the users in understanding their progress.

Let us know what you have in mind. There is already a small "progress bar" for each of the sections, so do you have something else in mind? Feel free to share designs/screenshots if you'd like.

I will close this issue for now as it is not very active. Feel free to reopen if you want to work on it!


Following a new player should fire some kind of event

This is a lichess limitation, but maybe it can be fixed.

This requires either intercepting API calls or constantly looking for relation_button elements and adding click events to them. In the end it would only work on the current page, not any other opened, unless using a storage event. It feels too complicated.

Closing this for now.


Implement broader key type support for Keylime's signing mechanisms

Previously, Keylime used GPG for all its signing and verification functionality - most of which was contained within the gpg.py library. This PR rewrites gpg.py with the goal of making it more modular. Specifically:

the library now supports additional OpenSSL key types and signatures - it will automatically detect what kind of key it's using and use the appropriate crypto libraries;
the library has been refactored/renamed to a more generic signing.py to reflect the fact it's no longer GPG-specific

Additionally, the verify_filesignature function has been split in two: now, instead of requiring keys to be read from disk, the main logic is contained in a new function verify_signature that will accept input from memory, and a helper function verify_signature_from_disk that interacts with it to read keys from disk and call the main function. This helper function should be a drop-in replacement for the old function. This new flexibility will allow for the verification code to be used in more places within Keylime where keys might not live on disk.
For now, this rewrite retains support for GPG keys as-is, while adding new support for ECDSA keys and signatures. This can easily be expanded to more OpenSSL key types in the future.
Signed-off-by: Mark Bestavros<EMAIL_ADDRESS>

cc @mpeters @lukehinds for review

As for the linter errors
keylime/cmd/ima_emulator_adapter.py:73:12: E4702: Iterated dict 'position' is being modified inside for loop body, iterate through a copy of it instead. (modified-iterating-dict)
************* Module keylime.tenant
keylime/tenant.py:1146:19: E0601: Using variable 'response' before assignment (used-before-assignment)

I got those fixed in PR #937

FYI: You can run tests locally:
cd .ci
./run_local.sh

Per @THS-on's suggestion, I've written up a basic test suite for the signing library. It tests verification of a GPG signature, an EC signature, and an invalid signature.
Interestingly, it seems like there's already testing in place for signing, though it's not direct - it's via the read_allowlist test: https://github.com/keylime/keylime/blob/master/test/test_ima_verification.py#L268
I don't see a reason we can't have both sets of tests.

sudo python3 -m unittest test.test_signing

This fix gets it to work:
diff --git a/keylime/signing.py b/keylime/signing.py
index a3c10bf..dd1867f 100644
--- a/keylime/signing.py
+++ b/keylime/signing.py
@@ -57,6 +57,7 @@ def verify_signature(key, sig, file):
         # The Python PGP library won't let you read a signature from memory, hence this hack.
         with tempfile.NamedTemporaryFile() as temp_sig:
             temp_sig.write(sig)
+            temp_sig.flush()
             verified = gpg.verify_data(temp_sig.name, file)

     # OpenSSL

Stefan's solution should work, but the more common approach that I have seen is temp_sig.seek(0) instead  of flush.

@stefanberger @THS-on Thanks, both! temp_sig.flush() seems to work, but I can try seek(0) as well.
Any other pieces of feedback at the moment?

@THS-on I caught a GPG string bug in the read_allowlist test, so that's fixed as of now. Don't know if there are others causing the testing-farm failures, though.

@kkaarreell the e2e tests are failing because the GPG is no longer in the error message string, so can you change that?

Done in https://github.com/RedHat-SP-Security/keylime-tests/pull/72
You can rerun packit tests to verify that.

/packit test

@mpeters Looks like the Packit tests pass - is this ready for merge?


GEOMESA-973 Implement Blobstore framework

Implements blobstore handler interface with two examples (WKT/parameter handler and image metadata handler).
Implements basic ingest Scala interface.
Creates REST api.

Signed-off-by: Jim Hughes<EMAIL_ADDRESS>

And I owe headers...

As reminder to myself, @anthonyccri has asked me to add a Readme, etc.

db8b08349c8d33ab9754325e2c81cadbb7074dfa


Issues with the operators of the iterator

Hi, I just found two issues related to the operators + of the iterator.
The first one is, the n + iterator operator is missing, which is required in a random-access iterator. More specifically, this operator override is missing: ordered_iterator operator+(difference_type, const ordered_iterator&). As a consequence, this piece of code couldn't be compiled:
    tsl::ordered_map<int, int> mymap = {{-1, 15}, {-2, 17}};
    tsl::ordered_map<int, int>::iterator it = mymap.begin();

    BOOST_CHECK_EQUAL(it->second, 15);

    it = 1 + it;
    BOOST_CHECK_EQUAL(it->second, 17);

The second issue is that, the iterator + iterator operator shouldn't exist. As no standard iterator overrides this operator. So this code also doesn't work:
    tsl::ordered_map<int, int> mymap = {{-1, 15}, {-2, 17}};
    tsl::ordered_map<int, int>::iterator it = mymap.begin();

    it + it;

Thank you. I effectively mixed up the ordered_iterator operator+(difference_type, const ordered_iterator&) and difference_type operator+(const ordered_iterator& lhs, const ordered_iterator& rhs).

My pleasure


lsusb works but iwconfig doesn't

So this is the problem when I used The TP link 722n v1 usb it worked fine both lsusb and iwconfig showed the adapter but when I tried the new adapter which has a mt701u chipset it does show that the adapter is connected and lsusb shows that the adapter is connected.
But when I use iwconfig it doesn't show any external interface. I am using your module with a custom nethunter kernel. Any solution?

I think you mean mt7601u?
This is supported, and firmware files are included.
If lsusb shows, and iwconfig doesn't, It's usually that the kernel doesn't support this driver.


great thanks

would like to build a web app using the API but don't know how to start.
freelancer from https://www.mjobmarket.com

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

ID: 02dbe9bc-4838-d669-dea1-0ee35ad4b028
Version Independent ID: 797b14ec-cddb-59d5-9032-081406c681f1
Content: Translate speech by using the Speech SDK for C# - Azure Cognitive Services
Content Source: articles/cognitive-services/Speech-Service/how-to-translate-speech-csharp.md
Service: cognitive-services
GitHub Login: @wolfma61
Microsoft Alias: wolfma

don't know what advice is expected. The documentation is here:
https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/
the samples are here ...
https://github.com/Azure-Samples/cognitive-services-speech-sdk
thx
Wolfgang

@wolfma61 Thanks Wolfgang!
@1biz Does above solve your question?

@YutongTie-MSFT @wolfma61 yes I think so, thanks a lot!

@1biz Thank you for confirmation. We will now proceed to close this thread. If there are further questions regarding this matter, please respond here and @YutongTie-MSFT and we will gladly continue the discussion.


Interest in straight.el-related community chat?

It was suggested in https://github.com/raxod502/straight.el/issues/124#issuecomment-336729003 to create a Discord/Gitter/IRC/etc. forum for discussion related to straight.el that does not easily fit into the GitHub Issues format.
Would people be interested in this?

Could be useful. I happen to like IRC, though I'm not opposed to most other formats either.

Personally, I like IRC. But I don't suggest it because it is not cosy for peoples who not familiar with.
I can point to Discord or Gitter.

Gitter is OK with me. So is IRC. Anything that is accessible through riot.im :)

Created at https://gitter.im/raxod502/straight.el and badge added to README in https://github.com/raxod502/straight.el/commit/4df854429a3ed002b40b183bbc0c89406b9fe743.


Reset nested menu after logout

Related issues

closes #3680
Short description and why it's useful

It clears nested menu after user logout. Also I've added await for logout action to be sure that user is logout before redirection.
Which environment this relates to
Check your case. In case of any doubts please read about Release Cycle

[x] Test version (https://test.storefrontcloud.io) - this is a new feature or improvement for Vue Storefront. I've created branch from develop branch and want to merge it back to develop
[ ] RC version (https://next.storefrontcloud.io) - this is a stabilisation fix for Release Candidate of Vue Storefront. I've created branch from release branch and want to merge it back to release
[ ] Stable version (https://demo.storefrontcloud.io) - this is an important fix for current stable version. I've created branch from hotfix or master branch and want to merge it back to hotfix

Upgrade Notes and Changelog

[x] No upgrade steps required (100% backward compatibility and no breaking changes)
[x] I've updated the Changelog on how to port existing VS sites with this new feature

IMPORTANT NOTICE - Remember to update CHANGELOG.md with description of your change
Contribution and currently important rules acceptance

[x] I read and followed contribution rules

@pkarw yeah, this also came to my mind and basically it should be applied in both as we don't want to have same bug in 1.12 later, but I'll talk about this with the rest of team


"Permission denied" error when using apt in a job.

Minimal .gitlab-ci.yml illustrating the issue
stages:
  - Test

default:
  tags:
    - python312

before_script:
  - apt-get update && apt-get -y install git git-lfs pipx
  - python --version ; pipx --version
  - pipx install poetry==1.8.0
  - pipx ensurepath && source $HOME/.bashrc
  - poetry --version

Run tests:
  stage: Test
  script:
    - echo "ABCD"

Expected behavior
The pipeline runs using the provided Docker image.
Host information
Windows Subsystem for Linux (Ubuntu 24.04.1 LTS)
gitlab-ci-local 4.56.0
Containerd binary
Docker version 27.3.1, build ce12230
Additional context

The Docker image is present locally.
Executing the following command in the source code directory:

gitlab-ci-local --color --mount-cache=true --cleanup=true --timestamps=true --cwd . --default-image=python:latest --container-executable=docker

outputs:
  WARN  --default-image does not work with --shell-executor-no-image=true
Using fallback git user.name
Using fallback git user.email
parsing and downloads finished in 135 ms.
json schema validated in 111 ms
[11:11:01   94 ms] Run tests starting shell (Test)
[11:11:01  173 ms] Run tests $ apt-get update && apt-get -y install git git-lfs pipx
[11:11:01  186 ms] Run tests > Reading package lists...
[11:11:01  192 ms] Run tests $ python --version ; pipx --version
[11:11:01  200 ms] Run tests > E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
[11:11:01  210 ms] Run tests > E: Unable to lock directory /var/lib/apt/lists/
[11:11:01  232 ms] Run tests > W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
[11:11:01  251 ms] Run tests > W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)
[11:11:01  315 ms] Run tests > ./.gitlab-ci-local/scripts/RunIAtests_574565: line 6: python: command not found
[11:11:01  319 ms] Run tests finished in 319 ms  FAIL 127

 FAIL  [ 320 ms] Run tests
  > W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
  > W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)
  > ./.gitlab-ci-local/scripts/RunIAtests_574565: line 6: python: command not found
pipeline finished in 8.94 s

Nevermind. It seems that tags is not supported. It works fine with:
       image: python-latest