Updates the requirements in order to fix pip package

Summary of Changes
For now the pip package of amundsensearchlibrary is missing a lot of required packages and does not start, this will fix the issue.
Tests
What tests did you add or modify and why? If no tests were added or modified, explain why. Remove this line
Documentation
What documentation did you add or modify and why? Add any relevant links then remove this line
CheckList
Make sure you have checked all steps below to ensure a timely review.

[x] PR title addresses the issue accurately and concisely. Example: "Updates the version of Flask to v1.0.2"

In case you are adding a dependency, check if the license complies with the ASF 3rd Party License Policy.

[x] PR includes a summary of changes.
[x] PR adds unit tests, updates existing unit tests, OR documents why no test additions or modifications are needed.
[x] In case of new functionality, my PR adds documentation that describes how to use it.

All the public functions and the classes in the PR contain docstrings that explain what it does

[x] PR passes make test
[x] I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message"

LGTM, thanks @verdan . Could you open a similar pr for https://github.com/lyft/amundsenmetadatalibrary/blob/master/setup.py?


Mesos Framework Authentication

Hello,
Just wondering if current mesos/kibana supports Mesos framework authentication?
Thank you,
Alex

Yes it does. Please see the main page documentation: https://github.com/mesos/kibana

@akamalov I think you replied to the wrong message.
Ah, I'm so sorry. I thought I had added that to the documentation, but I have not. The options come from mesos-starter: https://github.com/ContainerSolutions/mesos-starter/tree/documentation/readme#configuration
So the option you are looking for is: mesos.principal and mesos.secret. I will add this to the documentation now.
Thanks.

Thanks so much @philwinder


Add stream keyword to IO registry

Accepted Proposal: #1024
Users should be able to type:
seqs = skbio.io.read(file, into=DNA, stream=True)

and have the format of file inferred by scikit-bio.
Registration would mirror the keyword:
@format.reader(DNA, stream=True)
def _format_to_dna_stream(fh):
    ...

None would still be supported for backwards compatibility.

This is really important for writing as well as it turns out.
There isn't a way to write iterables of objects in scikit-bio without first turning them into a generator, but even that isn't particularly robust.
Suppose I had an object like this:
iterable = [DNA(...), DNA(...), DNA(...)]

Calling skbio.io.write(iterable, into="somefilepath.fastq", format="fastq") will currently attempt to find a list writer for fastq which doesn't generally make sense as these iterators could contain any particular type and so then the subtype dispatching functionality "leaks" into such a writer registration. (This is currently the case with registering a writer to None [generator], it is entirely up to that function to deal with the contents of the generator).
Ideally the registry would dispatch to an appropriate function first without the format needing to make that decision. Adding stream to the call would make it explicit that the user's intention is to treat the object as an iterable, effectively granting the registry permission to "peek" into the generator to figure out what class it contains. (We assume a monomorphic iterable here, but conceptually it could dispatch for every element, supporting polymorphic iterables).
This is significantly more robust than an alternate approach of trying to find a list writer and if failing, asking if iterable and if so treating as a generator. This approach suffers from the same issue generators have of needing to dispatch functionality themselves.


Update README.md

Fixed Typos

I think this can fit better:
"Reduced.to is a modern web application that shortens the length of link URLs, making it easier to remember, share, and track."

@origranot do you want me to do this changes and commit

@YadlaMani Yea 💯

@YadlaMani Hey,
Are you planing on push the changes?

Yeah

Ok, I will wait for you to resolve the comment I left.


Compilation error:   NEON intrinsics not available with the soft-float ABI

axmol version:NA
devices test on: Mac Pro
developing environments

NDK version: N/A
Xcode version: N/A
Visual Studio:

VS version: N/A
MSVC version: N/A
Windows SDK version: N/A

cmake version: 3.26.2
Steps to Reproduce:

Download files from repository
Follow installation
Create project for ios arm64
Build
Then I will get the error message: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include/arm_neon.h:28:2 "NEON intrinsics not available with the soft-float ABI. Please use -mfloat-abi=softfp or -mfloat-abi=hard"

Would you know how to fix this issue?
I added the '-mfloat-abi=hard' flag in Compiler flags fo: C Flags & C++ Flags
I also tried the '-mfloat-abi=softfp '
Thank you!

The axmol cmake build system haven't add soft-float flag for arm64, for arm64 neon, you don't needs specific any flags.

Hi,
Yes you are correct. I needed to set manually in Xcode the the architecture to “Standard Architecture “arm64””
Thank you,
Stay safe

On Apr 1, 2023, at 9:35 PM, Deal(一线灵) @.***> wrote:
The axmol cmake build system haven't add soft-float flag for arm64, for arm64 neon, you don't needs specific any flags.
—
Reply to this email directly, view it on GitHub https://github.com/axmolengine/axmol/issues/1158#issuecomment-1493193878, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI54DTEAEE6ITKGIEBAILATW7DJWBANCNFSM6AAAAAAWP4BKIM.
You are receiving this because you authored the thread.

It's working. Thank you


Update key-vault-developers-guide.md

Adding link to Node.js package and Azure .NET libs

Hi @BrucePerlerMS, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no contribution license agreement is required at this point. Real humans will now evaluate your PR.

TTYL, AZPRBOT;

A better link for the C#/.NET package is https://github.com/Azure/azure-sdk-for-net/tree/master/src/KeyVault. If you're able to make this substitution, great. Otherwise, I'll catch it the next time through.


Footer section not aligned properly for mobile screens

Description
the sitemap section is shifted towards right, making it not look good for smaller screens
@agamjotsingh18 assign me this issue so I can fix it.
Screenshots

@agamjotsingh18  Is this issueI still open?  I  would love to work on this, please assign to me. Thank you


It has the following issues:

Bad scaling
Weird visuals when loading in for a split second
No / broken animation

It's possible to fix it all but I'd recommend having a look at the heatmap from apexcharts (library used for the piechart)

Using Apexcharts proves to be more difficult than initially thought.
A first attempt can be found here: 8d97c6980e4bc65c9659c59acbdf39c479c106ee

Neither library ended up having all the required features.
I rewrote the heatmap based on this library: https://github.com/uiwjs/react-heat-map

Closed by #40


List all functionalities in ReadMe.md

1.) Student Registration (of new ones)
2.) Face detection
3.) Face Recognition
4.) Managing attendance
-attendance detail of users
-automated attendance marking
-email sent to absentee(s)

It is currently not sending emails to absentees.


Reduce lodash bundle size

Replace lodash with lodash-es
The bundle size of lodash.js has been reduced, before vs after:

vs

vs

However, according to here, the fp is currently not supported by lodash-es, so we cannot use import { flow, keyBy, mapValues } from 'lodash-es/fp';. That's why the size of another chunk of lodash has not been changed.
As playing around the import, I notice that size would change if I transform from
import { flow, keyBy, mapValues } from 'lodash/fp';

to
import  flow from 'lodash/fp/flow';
import  keyBy from 'lodash/fp/keyBy';
import mapValues from 'lodash/fp/mapValues';

The bundle size of that chunk is reduced from 117.36 to 87.23.

But to keep the import format consistent, I has not yet push this changes in this PR.

As playing around the import, I notice that size would change if I transform from

@rrchai I just read about the fact that lodash/fp supports tree shaking in this article. The last section of the article lead be to think that it's OK to keep lodash/fp: the reason I used it in the first place is because I like the lean syntax and because we can create a flow, save it as a const and reuse it somewhere else.
I suggest to keep lodash/fp for now while using the import method you identified.

@rrchai I think that this branch is good as it is (just fix the merge conflicts). It's OK to continue using the lodash/fp.


v2 activities and refactorings

This is an issue to register the activities and refactoring needed for the v2 milestone. Here are some:

[ ] Remove Gdi32.GetDeviceCaps(User32.SafeDCHandle hdc, int nIndex)
[ ] Remove Kernel32.QueryFullProcessImageName(SafeObjectHandle hProcess, QueryFullProcessImageNameFlags dwFlags, StringBuilder lpExeName, ref int lpdwSize);
[ ] Remove Kernel32.GetNamedPipeClientComputerName(SafeObjectHandle Pipe, StringBuilder ClientComputerName, int ClientComputerNameLength)
[ ] Remove Kernel32.GetNamedPipeHandleState(SafeObjectHandle hNamedPipe, out PipeMode lpState, int* lpCurInstances, int* lpMaxCollectionCount, int* lpCollectDataTimeout, StringBuilder lpUserName, int nMaxUserNameSize)

Thanks for starting this. I've wondered how to track this. :)

You are welcome. There are some generic tasks also:

[ ] Change all ref and out parameters to pointers
[ ] Change all StringBuffer parameters to char* pointers
[ ] Change all cbSize items in structs to int type
[ ] Normalize static Create() methods on structs
[ ] Close and act on #272
[ ] Close and act on #270
[ ] Close and act on #271
[ ] Close and act on #203
[ ] Close and act on

Change all ref and out parameters to pointers

This one could use some discussion first, I think. While use of [Friendly] certainly brings back those convenient keywords, if no caller is ever conceivably going to use the pointer version, I'm ok with just using ref or out in the primary definition. For example, if it's a flags enum passed by ref so the method can adjust flags for the caller to see, I can't imagine a pointer would ever be useful in that case. It's just too trivial to think a pointer would be used. But we could certainly review all uses and see if we can get closer to an ideal.
BTW, that probably doesn't need to wait for 2.0. As switching to pointers isn't a breaking change so long as the code generator is applied to recreate the friendly variety.

@arlm Does it mean that I must use pointers in my code to use PInvoke library ?

@NN--- No, the library generates automatically other options for consuming the API without pointers with the use of the [Friendly] attribute during the library codification, which we do on all pointers.

Correct. So for example wherever you see a pointer, you can use IntPtr. And sometimes char* gets a StringBuilder option, etc.
That said, once I had to write a bit of code twice, once with IntPtr and once with pointers, I found the pointer one was much easier to get right.

[ ] Close and act on #439
[ ] Consider moving 'common' header file structures/enums as top-level types in the PInvoke namespace instead of nested types. This will make 'promoting' them to Windows.Core or other 'upstream' projects possible with type forwarders.

[ ] Revise all structs to make sure they are blittable. Blittable types are structs whose fields have no [MarshalAs] attribute and whose type are also blittable.


Unexpected behavior when webhook started @reboot from crontab

I have a weird issue when trying to automate webhook startup as part of my CI/CD workflow.
Currently when webhook is started from the root crontab with either of the following options it starts and listens normally, but responds with HTTP 404 (message: Hook not found)
@reboot sudo webhook -hooks /home/ubuntu/hooks.json -hotreload &
@reboot sleep 120 && sudo webhook -hooks /home/ubuntu/hooks.json -hotreload &
When I run the exact same command manually, webhook handles the requests normally, an HTTP 200 code and the message set in the hooks.json file is received.
Seems to me that when webhook is started from crontab @reboot it has no access to the hooks.json file, even though it has access right set correctly. I tried adding a time delay for starting to maybe wait for the full boot process to finish but it does not change the outcome. Changing the hooks.json on the fly has no effect either when started from crontab, but I can see the change when webhook is run manually, so the hotreload works in that case.
Any idea what causes this behavior?

I've never used the crontab @reboot feature, but I'm almost certain this is a problem in your environment and not in webhook.

Are the necessary environmental variables or system services on Ubuntu documented somewhere? Couldn't really find info on this in the resources and it is not super clear by just skimming the code quickly. Tried defining some env vars (like paths and default shell) before calling it from crontab but no change in the result.
For reference I'm running it under ubuntu 18.04 or later currently, the process starts and is listening on the provided port, just returns the 404 message when called if it was started by crontab. Any tips are welcome.

I'm assuming this is a system environment issue and not a webhook issue.  Closing.


Network: DNS resolver fix

Description
This PR fixes a nil pointer inside the DNS resolver.

/merge


Report: ABT/Story Circle Disable Then Re-Enable Inconsistencies

I may have a specific niche case as in one of my "campaigns" I was reconverting story chapters back into a campaign format, and not in order, so some older acts are not fully done and some are.
Situation
Not all of my acts, scenes, and adventures had fully filled out ABT/Story Circle descriptions, but some did. Upon upgrade, those are now disabled by default, which is okay. When re-enabled, those notes that had the ABT/SC descriptions repopulated just fine.
Those that did not, required either a combination of refill with act/scene + restart obsidian, or create new act/scene + restart obsidian, in order to get the RpgManagerData and RPGManager Header code blocks to show up. I have not been able to generate a specific behavior as of yet to report. Sometimes removing the "" besides the YAML keys worked, sometimes it did not.
I'll update as I gather more.
Obsidian Errors For This
It seems to not like it when null was chosen as the fill.

plugin:rpg-manager:9455 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'length')
at Scene.get isCurrentlyRunning [as isCurrentlyRunning] (plugin:rpg-manager:9455:92)
at SceneHeaderSubModel.eval (plugin:rpg-manager:2809:111)
at Generator.next ()
at fulfilled (plugin:rpg-manager:44:24)
plugin:rpg-manager:9455 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'length')
at Scene.get isCurrentlyRunning [as isCurrentlyRunning] (plugin:rpg-manager:9455:92)
at SceneHeaderSubModel.eval (plugin:rpg-manager:2809:111)
at Generator.next ()
at fulfilled (plugin:rpg-manager:44:24)
plugin:rpg-manager:9455 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'length')
at Scene.get isCurrentlyRunning [as isCurrentlyRunning] (plugin:rpg-manager:9455:92)
at SceneHeaderSubModel.eval (plugin:rpg-manager:2809:111)
at Generator.next ()
at fulfilled (plugin:rpg-manager:44:24)
plugin:rpg-manager:9455 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'length')
at Scene.get isCurrentlyRunning [as isCurrentlyRunning] (plugin:rpg-manager:9455:92)
at SceneHeaderSubModel.eval (plugin:rpg-manager:2809:111)
at Generator.next ()
at fulfilled (plugin:rpg-manager:44:24)
plugin:rpg-manager:9455 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'length')
at Scene.get isCurrentlyRunning [as isCurrentlyRunning] (plugin:rpg-manager:9455:92)
at SceneHeaderSubModel.eval (plugin:rpg-manager:2809:111)
at Generator.next ()
at fulfilled (plugin:rpg-manager:44:24)
plugin:rpg-manager:9455 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'length')
at Scene.get isCurrentlyRunning [as isCurrentlyRunning] (plugin:rpg-manager:9455:92)
at SceneHeaderSubModel.eval (plugin:rpg-manager:2809:111)
at Generator.next ()
at fulfilled (plugin:rpg-manager:44:24)

Hi @sigrunixia
I think I understand the problem, and it lies on the fact that some hierarchical elements don't find their parents. I think I can put some better error management there.
Thanks for the report

Available in v3.0.0-1


Improve experience on mobile

Although the act of building and testing an email template happens in the browser, people can still access the React Email preview on mobile.
We should make the experience better by addressing the responsive UI issues:

I would like to work on it.

Awesome, just assigned to you @singhbawan. Let me know if you need help running locally:
https://github.com/resendlabs/react-email/tree/main/packages/react-email/preview

Thanks I will start working on it tonight, will let you know if anything comes up 😃

Thanks I will start working on it tonight, will let you know if anything comes up 😃

@singhbawan I would like to contribute too because I was already working on this on my own, maybe I can help!

Thanks I will start working on it tonight, will let you know if anything comes up 😃

Let me know if I can help, I will be very happy to contribute :D

@Rychillie would you like to share notes so that we can collaborate, I am down for a live share session so that we don't clash and work on the same code. You can dm me on discord to discuss

@TheBassGuy Sure thanks for the offer, Lemme just go through it for sometime and get a understanding of what needs to be done and that I can let you know if any help is required

No one seems work on that issue i believe. So, hey @zenorocha i would like to work on that... Would you like to assign me this task

I would like to work on that... @zenorocha

This has already been resolved in PR #742

Okay my bad.. I am new in this.

This has actually been fixed with #742, then broken again at some point then again fixed as of<EMAIL_ADDRESS>


This is a test status

test status

Resolved: SaaS - Critical Path CSS generation service (CPCSS) is back up in f807711.


Listen on all interfaces

The parameter "-i" is now optional and we listen on all interfaces by default.
The interface is shown in the connections table.
I've changed the read timeout for the datalink channel from 1 ns to 2 ms because I realized (before the changes) that we were using quite some CPU there. In my computer it went from taking consistently over 10% of one CPU to ~2%. I think it should be enough to handle the traffic and to keep the application responsive to the "quit" key. Let me know if you find it appropriate!
Closes #16

Also, forgot to mention, the timeout increase works great for me too and I'm very happy about the CPU performance - so thanks, let's go with this.

Got caught by clippy in the CI, happy that it works :)
On it

Cool - so I think this is good to merge once the tests pass. Definitely good to know the new CI stuff is working. :)
Feel free to merge, I'll publish to the various outlets over the weekend (at some point I'll have to automate this).

Hey @ebroto - I'm in the process of releasing 0.5.0 right now and it mainly includes your work. I'd like to announce it on twitter so it gets a little exposure: do you use twitter? I'd very much like to give you credit. :)

Thanks!! I appreciate the intention but I'm not on twitter. I usually read the subreddit but mainly lurking, so a mention would be more than enough :)


dask_ml.cluster raises ImportError for _k_init

What happened:
Importing dask_ml.cluster raises ImportError for _k_init from sklearn.cluster._kmeans.
What you expected to happen:
no complaints upon importing.
Minimal Complete Verifiable Example:
import dask_ml.cluster
Traceback (most recent call last):
...
~/workplaces/.venv/lib/python3.7/site-packages/dask_ml/cluster/_compat.py in <module>
----> 1 from sklearn.cluster._kmeans import _k_init
      2
      3 __all__ = ["_k_init"]

ImportError: cannot import name '_k_init' from 'sklearn.cluster._kmeans' (~/workplaces/.venv/lib/python3.7/site-packages/sklearn/cluster/_kmeans.py)

Anything else we need to know?:
This happens with Scikit-learn version: 0.24.0
Environment:

Dask version: 2020.12.0
Python version: Python 3.7.6
Operating System: MacOS
Install method (conda, pip, source): pip

I updated to scikit-learn 0.24.1 and still get the same import error

I updated to scikit-learn 0.24.1 and still get the same import error

@bidhya which dask_ml version you are using?

@bidhya which dask_ml version you are using?

@bidhya the fix in PR #769 was merged to master branch but not in a release yet.

@bidhya the fix in PR #769 was merged to master branch but not in a release yet.

Thanks @abduhbm . I will wait for the release then

Thanks @abduhbm . I will wait for the release then

So for release, are we looking for weeks or months?

So for release, are we looking for weeks or months?

Once a maintainer has time. Not sure when that will be.
I believe that CI is failing right now. If you have time, it'd be helpful to get that passing to ensure it's safe to release.

Once a maintainer has time. Not sure when that will be.
I believe that CI is failing right now. If you have time, it'd be helpful to get that passing to ensure it's safe to release.


Add option to add ticks on x-axis in BarChart()

Overview: What does this pull request change?

I looked up at how manim add ticks on y-axis and created an option for people to also add ticks to the x-axis
I added a config parameter "include-x-ticks"
The number of ticks divided is also the number of values

Motivation and Explanation: Why and how do your changes improve the library?

It's only a minor change. I found out that BarChart() doesn't have an option to add ticks on x-axis. I know it's because the x-axis is usually for names or labels and not values, but I think it's nice to add an option to add ticks to seperate bars for better visualization.
Links to added or changed documentation pages

I really don't know how to do this:( https://manimce--2381.org.readthedocs.build/en/2381/ ?
Further Information and Comments

Test

Code:
from manim import *

class Test(Scene):
    def construct(self):
        bar_value = [50]*10
        chart = BarChart(
            bar_value,
            label_y_axis = True,
            n_ticks = 10,
            max_value = 100,
            bar_label_scale_val = 0.5,
            include_x_ticks = True
        )
        self.add(chart)

Result

Reviewer Checklist

[ ] The PR title is descriptive enough for the changelog, and the PR is labeled correctly
[ ] If applicable: newly added non-private functions and classes have a docstring including a short summary and a PARAMETERS section
[ ] If applicable: newly added functions and classes are tested

This PR doesn't seem necessary since as #1916 would introduce this functionality and more by allowing BarChart to inherit from Axes as a whole. Unfortunately that PR has gone stale, but I'll be taking it up and working on it.

Oh oh, that's nice to hear! Looking forward to it:)


chore: indicate compatibility with new v4 major`

🔗 Linked issue

❓ Type of change

[ ] 📖 Documentation (updates to the documentation, readme or JSDoc annotations)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[x] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
With Nuxt 4 on the horizon, this updates the module compatibility definition to allow it to be installed on Nuxt v4. (Otherwise Nuxt will indicate the module might not be compatible.)
You can follow this and other changes in https://github.com/nuxt/nuxt/issues/27613 - please feel free to provide feedback as well!
📝 Checklist

[ ] I have linked an issue or discussion.
[ ] I have updated the documentation accordingly.

Here you are again, keeping a watchful eye on the whole ecosystem. Thank you very much for the effort! 🤗

not at all ❤


Update numeral normalizer for typeclass branch

The norm_num tactic should now normalize numeral addition and multiplication using the new encodings.

Merged in the typeclass branch


RetryableError often happens when deleting a deployment

When I delete batches of VMs, I often see 1 of them fail with this error:
  Started deleting instances > web_server/63 (0077c4d7-336d-4aa3-8377-a30160d068d0)
  Started deleting instances > web_server/42 (5991b662-351b-4937-8e66-68eb53ff2a72)
  Started deleting instances > web_server/37 (051d2470-879e-4015-b03e-9847cf5cecb1)
  Started deleting instances > web_server/6 (15006c6f-a4ee-47d8-a52f-909f5cb7603e)
   Failed deleting instances > web_server/66 (f1ef615a-80f8-4cd0-a481-4f8fe20491f0): Unknown CPI error 'Bosh::AzureCloud::AzureError' with message 'http_delete - http code: 429
request id: db8192fb-b0a4-4894-9a08-2ae7ea8ebdbb
correlation id: 25f585cc-bdb8-4c2f-8dba-b56a098065a1
routing id: WESTUS:20160721T224932Z:25f585cc-bdb8-4c2f-8dba-b56a098065a1
 message: {
  "error": {
    "code": "RetryableError",
    "message": "A retryable error occured.",
    "details": [
      {
        "code": "RetryableErrorDueToAnotherOperation",
        "message": "Operation AllocateTenantNetworkResourcesOperation (f9827d3e-8995-4afd-ac35-123c1b9e78a4) is updating resource a43d33d7-17fa-441d-9b46-77f68146e4c4. The call can be retried in 14 seconds."
      }
    ]
  }
}' (00:02:59)
     Done deleting instances > web_server/6 (15006c6f-a4ee-47d8-a52f-909f5cb7603e) (00:05:10)
     Done deleting instances > web_server/39 (1d0587a3-88ff-4fa4-834a-bdb52422e3ec) (00:05:10)
     Done deleting instances > web_server/43 (919eaf78-dec0-4e7a-b903-b49c2b858d37) (00:05:10)
     Done deleting instances > web_server/42 (5991b662-351b-4937-8e66-68eb53ff2a72) (00:05:11)
     Done deleting instances > web_server/37 (051d2470-879e-4015-b03e-9847cf5cecb1) (00:05:14)
     Done deleting instances > web_server/87 (91b451e7-9920-430c-b650-dbe17e415a7b) (00:05:14)

@dsboulder Could you send a little more logs about the context of the error to<EMAIL_ADDRESS>We need to know what happened before this error.

Yes, @AbelHu I just emailed you my task debug log, it has all the requests in it

Using azure cpi v13.

After talking with feature team, 429 is the standard throttling response status. Clients can retry the operation. We will fix it in CPI code.

Thank you!


add :meth:has_unread

Checks to see if user has unread messages.

I have no idea how to make that Travis CI build pass or if it's really important in a PR.

@Spedwards thank you for taking the time to make a contribution to PRAW. You were really close with respect to getting the test to work. I think you only needed to run it locally to generate the betamax cassette (saves the request and response) and add that file to your commit. You're really awesome for taking the time to help make PRAW better.
Sadly, I'm a little worried about including a has_unread instance method to the Reddit class given that it is really a helper rather than a mapping to something that reddit directly provides via their API. Even if it were an instance method of the Redditor class, I worry that by adding one such convenience method, that will open the door for all sorts of convenience methods, which would result in some clutter.
I would be much more favorable if this method existed as a helper, however, then documentation would need to be added to explain how to use the function. However, at that point, the addition of documentation would be sufficient to explain how to check for unread message.
I hope you find my explanation for not including your contribution acceptable. There are a fair number of improvements that can be made to PRAW that affect its interaction with reddit. I welcome further changes, and any and all improvements to PRAW's documentation. Thank you again.


Creating a function App With Powershell Version 7.0 runtime fails

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az functionapp create
Errors:
'powershell'
Traceback (most recent call last):
Temp\pip-install-0u_uiwkq\knack\knack\cli.py, ln 206, in invoke
azure\cli\core\commands\__init__.py, ln 608, in execute
azure\cli\core\commands\__init__.py, ln 666, in _run_jobs_serially
azure\cli\core\commands\__init__.py, ln 657, in _run_job
azure\cli\command_modules\appservice\commands.py, ln 55, in _polish_bad_errors
azure\cli\core\commands\__init__.py, ln 636, in _run_job
azure\cli\core\commands\__init__.py, ln 306, in __call__
azure-cli-core\azure\cli\core\__init__.py, ln 493, in default_command_handler
azure\cli\command_modules\appservice\custom.py, ln 2333, in create_function
KeyError: 'powershell'

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
Runtime is powershell, version is 7.0

Put any pre-requisite steps here...
az functionapp create --resource-group {} --name {} --storage-account {} --runtime {} --runtime-version {} --consumption-plan-location {}

Expected Behavior
Environment Summary
Windows-10-10.0.18362-SP0
Python 3.6.6
Shell: powershell.exe

azure-cli 2.0.80 *

Additional Context

functionapp

@gzuber could you please take a look at this?

Hi @LLautt! Are you still experiencing this issue on more recent versions of the cli? It says here you're using 2.0.80, but I don't believe support was added for Powershell 7.0 until ~2.7.0

@yonzhan I believe this issue can be closed. It hasn't been updated in a while and it looks like it was due to an out of date version of the cli.

@yonzhan I believe this issue can be closed. It hasn't been updated in a while and it looks like it was due to an out of date version of the cli.


Running mox unprivileged with CAP_NET_BIND_SERVICE

Basically, by adding
AmbientCapabilities=CAP_NET_BIND_SERVICE

to mox.service one can bind privileged ports on Linux (and FreeBSD with capsh?)
My understanding is that the only thing that really requires running as the privileged user is binding ports <1024.
File access is not (and should not be) of any concern.
This is more of a question than an actual issue, since I'd like to hear your input on a proper way to move this forward.
Here's my attempt to get rid of the angel process - https://github.com/mjl-/mox/compare/main...tzvetkoff:mox:unpriv?expand=1.
It's working totally fine on my server.

Hi @tzvetkoff, that diff indeed seems like a good approach. You're right that starting as root is currently only for being to bind to the privileged ports.
Perhaps in the future mox may want to do more sandboxing. When that happens, it will probably be done with OS-specific mechanisms/APIs. We'll have to see when/if we get there.
A few remarks:

The code has a few checks for Getuid() == 0, to guard printing that we're listening on sockets. One example is at https://github.com/mjl-/mox/blob/v0.0.11/imapserver/server.go#L347. I think you're losing those prints now. Would be good to still print them, but still not in localserve mode.
The name of flag "-skip-forkexec" sounds a bit low-level. A name that explains its purpose at a higher level may be better, e.g "-no-root" or "-unprivileged" (just thinking out loud). With a bit more explanation in the flag or the help text of the command.

Well, this issue was more like a question initially, and most of it can be disregarded when I convert it to a PR (in the next few days, I hope.)
Thing is, I just did a very quick hack just to show we don't need UID-0 to go forward.
Moreover, one can easily syscall.Setuid(uid) on UNIX, so the whole lot of shenanigans currently done to circumvent unprivileged execution are just needless.
I totally agree with you that my diff is substandard, it was just to prove the point that mox can (and, IMHO, should) use OS-based isolation, and just that if needs be - do proper syscall.Setuid after opening the listening sockets.
I will, in a matter of a few days, convert this into a fully-featured pull request, and I'll close this as the conversation will continue there.
Once again, thanks for the great project, and I hope I meet you next year at FOSDEM (I kinda missed it this year.)

Thing is, I just did a very quick hack just to show we don't need UID-0 to go forward.

Mox also needs to stay working on BSDs. They don't all have the same mechanisms for binding to unprivileged ports. Some have sysctl's to disable/change what unprivileged ports are, but they are global (allow any application to bind to such a port). I actually don't like the per-binary capability flags much: In my experience, it's easy to forget setting it when replacing/upgrading binaries (i.e. a source of trouble). If anything, I would expect systems to provide a per-uid mechanism to allow binding to some ports (or just disable the concept entirely).

Moreover, one can easily syscall.Setuid(uid) on UNIX, so the whole lot of shenanigans currently done to circumvent unprivileged execution are just needless.

Well, with Go there are complications: syscall is a low-level package, and its Setuid only changes the uid of the "proc" (thread/process) that's making the call. The Go runtime can schedule a system call on any of the available procs.  AFAIK, you would have to call syscall.Setuid before anything gets a chance to create additional procs in the runtime. But Go package init code can run early, and create procs. For details, see https://github.com/golang/go/issues/1435.
I didn't mean to imply your diff was substandard, was just dumping my thoughts. It's great to see code along in issues.
I sure plan to be at FOSDEM again, we'll meet there!

I'm also interested by the feature. If you need help to test a PR or some code review, do no hesitate to ask.


add swift to storagetype_e2e job

From @vdice on July 11, 2016 17:41
Let's enable running e2e using swift as a storage backend in the https://ci.deis.io/job/storagetype_e2e job.
As of writing, https://github.com/deis/jenkins-jobs/issues/138 is a prerequisite.
Copied from original issue: deis/jenkins-jobs#139

From @vdice on August 17, 2016 23:22
@kmala what are your thoughts on the priority of this task?


.NET 7: System.Security.Cryptography support on WebAssembly - Not ready in preview 6

Wait until this is finished in another preview.
System.Security.Cryptography support on WebAssembly

@guardrex  are you taking this?

It's an implementation detail that we don't cover. It's ok to close this. It's tracked by the Blazor 7.0 tracking issue. If Dan changes his mind about the coverage, he'll signal me on that issue.

Mahalo, I was thinking you might want to mention it in "What's new in V 7".

:+1:
I made a note on my tracking issue to do that.
Dan will review the entry for regular docs later. It will go into the WASM Security Overview if we end up with regular coverage. It's tracked on my issue, so it won't get lost.


Added pre-commit hooks

Summary
Added two git pre-commit hooks.  One is for pytest for the unit tests and the other is for pycodestyle, a PEP8 linter.  Installing is not mandatory, but it's a nice-to-have.
If installed, the git hooks can be bypassed when committing (for instance, in the case that there are too many linter warnings):
git commit --no-verify

I know they work because I'm using them.

This is an easy way to run tests: https://github.com/algorand/mule/pull/65

This is an easy way to run tests: https://github.com/algorand/mule/pull/65

Mostly want to ensure we have documentation around this.
Did we decide we wanted to enforce PEP8? I'm not 100% on this yet; I don't like the tabbing recommendation, but that's just me. Haven't reviewed the rest of it yet.

My feeling is that this is an easy win for those who want to add the hooks.  It's optional, so it won't be enforcing anything.
We've been talking about adding these checks for a while, I wanted to act on it in a way that's unobtrusive.

Mostly want to ensure we have documentation around this.
Did we decide we wanted to enforce PEP8? I'm not 100% on this yet; I don't like the tabbing recommendation, but that's just me. Haven't reviewed the rest of it yet.

My feeling is that this is an easy win for those who want to add the hooks.  It's optional, so it won't be enforcing anything.
We've been talking about adding these checks for a while, I wanted to act on it in a way that's unobtrusive.


[Mozilla Firefox] does not find Firefox browser and does not have search tab command

Extension
https://www.raycast.com/crisboarna/mozilla-firefox
Description
The extension does not find Firefox browser thought it is installed. The error message says
"Error: Mozilla Firefox browser is not installed
This extension depends on Mozilla Firefox browser. You must install it to continue."
It also does not have the search tab command, only New Tab, Search History and Search Bookmarks
Steps To Reproduce
The extension does not find Firefox browser thought it is installed. The error message says
"Error: Mozilla Firefox browser is not installed
This extension depends on Mozilla Firefox browser. You must install it to continue."
It also does not have the search tab command, only New Tab, Search History and Search Bookmarks
Current Behaviour
No response
Expected Behaviour
No response

I have the same issue

@divecat76 @akkaky what is the output for the command below?
/Applications/Firefox.app/Contents/MacOS/firefox --version

$ /Applications/Firefox.app/Contents/MacOS/firefox --version
Mozilla Firefox 125.0.3

$ osascript -e 'exists application "Firefox"'
true

Same issue for me, and same output for commands
$ /Applications/Firefox.app/Contents/MacOS/firefox --version
Mozilla Firefox 125.0.3
$ osascript -e 'exists application "Firefox"'
true

You might be interested to try the Mozeidon extension I developed
This extension relies on a firefox add-on and Go CLI, that output firefox tabs and bookmarks into Raycast.
If you don't mind going through the ( relatively complex ) installation of the extension, I would be glad to have some feedback !

Navigate to about:profiles in a new tab and check the Root Directory. The code is expecting it to end in .default-release, .default-nightly or .default-esr. For whatever reason mine was something like .default-release-581259123 so it errored out.
I was able to fix it on my machine (please take backups before trying this, I haven't tested it extensively):

Click the Show in Finder button for Root Directory
Close Firefox
Rename the profile folder making sure it ends in .default-release
Open Library/Application Support/Firefox/profiles.ini and change the text to end in .default-release

When I next launched Firefox everything came up as expected and now the extension works for me!

I submitted a fix (#13905) to avoid having to rename the profile folder.


Error in Log on loading a Game

I was digging through for a different error for something else, but I noticed that this error generates in the log upon loading into a save. Fresh or not.
I'm frankly not sure if this is or could be causing any issues.

This is my mod code: 018d6501-4d95-b19b-cd9e-cd42298c6e88
Dependency String:
BepInEx-BepInExPack-5.4.2100
Evaisa-HookGenPatcher-0.0.5
Evaisa-LethalLib-0.14.2
sunnobunno-YippeeMod-1.2.3
Evaisa-LethalThings-0.9.4
x753-Mimics-2.3.2
RugbugRedfern-Skinwalkers-4.0.1
PopleZoo-BetterItemScan-3.0.1
NotAtomicBomb-TerminalApi-1.5.1
rafl-BonkHitSfxFixed-1.0.2
EladNLG-EladsHUD-1.2.1
Renegades-WalkieUse-1.5.0
FlipMods-BetterStamina-1.3.2
AllToasters-SpectateEnemies-2.2.1
MegaPiggy-BuyableShotgunShells-1.0.5
MassiveNewCoilers-FixCentipedeLag-2023.12.7
kyxino-LethalUtilities-1.2.21
AlexCodesGames-AdditionalContentFramework-1.0.3
AinaVT-LethalConfig-1.3.4
KodiCraft-TermSpeak-1.1.0
kuba6000-LC_Masked_Fix-0.0.2
HomelessGinger-MaskedEnemyOverhaul-3.1.2
TheFluff-FairAI-1.3.2
LethalAPI-LethalAPI_Terminal-1.0.1
ZG-BetterTerminal-1.1.1
taffyko-BetterSprayPaint-2.0.2
bigmcnugget-VanillaContentExpansion-0.1.8
ShaosilGaming-GeneralImprovements-1.1.6
AgentRev-ShootableMouthDogs-1.0.1
DannyVD-MonitorLabels-1.3.1
TheDeadSnake-Touchscreen-1.0.10
CapyCat-Solos_Ring_Compass-1.0.3
extraes-LethalLoudnessMeter-1.0.2
ViViKo-BetterDecorPlacement-1.2.1
bozzobrain-ShipMaid-3.2.7
MrHydralisk-EnhancedLockpicker-1.1.3
xCeezy-LethalEscape-0.8.5
jockie-LethalExpansionCore-1.3.15
Justice69-ImmersiveScraps-1.1.8
Zaggy1024-PathfindingLagFix-1.2.1
DerplingDevelopments-SavageCompany-1.1.3
loaforc-FacilityMeltdown-2.1.1
ION-ToggleDeafen-1.1.1
Ozone-Runtime_Netcode_Patcher-0.2.5
readthisifbad-SnatchinBracken-1.3.6
NiceHairs-NuclearLib-1.0.4
NiceHairs-Symbiosis-1.0.5
FlipMods-FasterItemDropship-1.2.1
Zaggy1024-OpenBodyCams-1.1.1
saint_kendrick-Lethal_Doors-1.0.4
Zaggy1024-NutcrackerFixes-1.2.2
EliteMasterEric-CleanerLogs-1.0.0
linkoid-DissonanceLagFix-1.0.0
BlueAmulet-LogNeuter-1.0.3
falcodxb-LessLogs-1.0.1
EliteMasterEric-Coroner-1.5.3
malco-Lategame_Upgrades-3.1.1
Anubis-LaserControl-0.1.3
Financier-GhostGirlFearReset-1.0.0
Team_GLV-AdditionalSuits-2.0.0
Hexnet111-SuitSaver-1.1.4
x753-More_Suits-1.4.1
darmuh-suitsTerminal-1.0.6
PotatoePet-AdvancedCompany-1.0.148
stormytuna-SellFromTerminal-1.1.2
DOkge-InventoryFixPlugin-0.0.1
Sophisticasean-KeysLockDoors-1.1.2
Rune580-LethalCompany_InputUtils-0.6.1
GiGaGon-ScrapMerging-1.0.3
MrHydralisk-EnhancedRadarBooster-1.6.2
readthisifbad-KillableEnemies-0.1.1

Seems like a conflict with another mod as I can't repro. I don't really have time to look into every single mod conflict - if you can narrow it down to a specific mod I can look into it further

I'm guessing this may have been due to an older version of a mod. Retesting this with all my mods updated (2/8/2024) the issue no longer occurs. I'm gonna mark this one as closed and not an issue with your mod as the culprit. Thanks again.


commit 1

comfort : 2
completeness : 1
"Couldn't get back the 1st requirement. I understand the concepts just having a hard time inplementing them in this assignment."

I think the issue I outlined in my code comments is what was holding you back. Please let me know if you would like to talk further about anything covered in this assignment. You'll be using a lot of this in Project 1.

:+1:


Regression Defect - Student attendance Report

Select the option from choose year dropdown and Download Academic Year Data link text is displayed in blue color - should be displayed in black color or else same as the color given to click on trend link text
Click on trends link text is not aligned properly

[ ] Select the option from choose year dropdown and Download Academic Year Data link text is displayed in blue color - should be displayed in black color or else same as the color given to click on trend link text - not fixed

[ ] Click on trends link text is not aligned properly - Resolved

@chetandg123 Download Academic Year data link text color is changed. Please take a re-test.

Re-Tested the defect - Resolved


[AIRFLOW-1138] Add missing licenses to files in scripts directory

Codecov Report

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

@@            Coverage Diff             @@
##           master    #2253      +/-   ##
==========================================
- Coverage   68.87%   68.84%   -0.03%
==========================================
  Files         142      142
  Lines       10927    10927
==========================================
- Hits         7526     7523       -3
- Misses       3401     3404       +3

Impacted Files
Coverage Δ

airflow/jobs.py
74.13% <0%> (-0.41%)
:arrow_down:

airflow/models.py
87.27% <0%> (+0.05%)
:arrow_up:

Continue to review full report at Codecov.

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

LGTM +1 @criccomini

LGTM


Improved Timm models (#109)

as i describe in commits, this does the following (beyond what @bjuncek contributed in #109)

extract_frames(hf): loading pretr weights now
extract_frames(hf): implemented show pred for timm models
utils: test for model_name (should be specified)
hf.yaml: rm model_name default; style fix

rfc (this week):

do we want to rename models/hf/extract_frames.py to models/hf/extract_hf.py or models/hf/extract_timm.py (inc config file name etc).
perhaps we could retire clip and rn in favour of it
I decided to output the features before the classifier (e.g. B, D) and not the spatial features. it should be consistent with other models but I can see a usecase where a user might want to keep spatial(-temporal) features

todo:

[x] docs
[x] conda env update
[x] install guide update
[x] tests to cover a bunch of models
[x] does it work with hf ('hf-hub:nateraw/resnet50-oxford-iiit-pet')? some of them, but not all. outside of the scope for this repo
[ ] google colab
[x] rename the extract_frames.py file

The branch name does not make sense but I'll let it pass


[Enhancement] Decoupling connector and worker for events process

Search before asking

[X] I had searched in the issues and found no similar issues.

Enhancement Request
The connector pulls the message and the worker sends the message is currently a synchronous operation, which needs to realize asynchronous decoupling and exception handling in the sending process.
Describe the solution you'd like
The connector pulls the message and the worker sends the message is currently a synchronous operation, which needs to realize asynchronous decoupling and exception handling in the sending process.
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

@xwm1992please assign to me

@willimpo you discuss your implementation under this issue or in wechat, thanks.

@xwm1992 sure

@willimpo hi, how is this issue going？

@xwm1992 hi，I am still coding with odd moments after work. I plan to submit a PR this week

@xwm1992 I found that connector and worker already decoupled in SourceWorker.java. Sorry for the late.

@xwm1992 I found that connector and worker already decoupled in SourceWorker.java. Sorry for the late.

yes, the openfunction connector use this decoupling, so I submit the code, but if you have other plans, can also submit your pr

I assume this issue has been completed based on conversation.


Add additional things to the Ti50 AP FW RO verification PR

This PR includes the following things for PR #159.

Changing the Ti50 inclusion in write-protect.md to a warning since this feels like something the reader should watch out for.
Adding Chromebox and Tablet recovery sections in ti50-ap-ro.md.
Referencing it in unbricking/index.md

CC @WeirdTreeThing


Relience Jio number is not validating using PhoneNumberUtils plugin

Hi,
I am using libphonenumber-7.7.5, but the issue still exists. My number is<PHONE_NUMBER>.
PhoneNumberUtil phoneUtil = PhoneNumberUtil.getInstance();
PhoneNumber numberProto = phoneUtil.parse(phone, phoneUtil.getRegionCodeForCountryCode(Integer.parseInt(phoneCallingCode)));
phoneUtil.isValidNumber(numberProto) returns false.
Please help me to resolve this issue.

@arnoonkv,
As mentioned in #1420, this is actually working as intended;<PHONE_NUMBER> is already marked by
our library as MOBILE. Please see demo.
Please upgrade to the latest release (8.8.8), this is not a live issue. To check the latest behavior for yourself, see the demo (instructions in our contribution guidelines).

Thank you so much for the reply.
The demo application is using phoneUtil.parseAndKeepRawInput() method. But I think this method is not available in libphonenumber-7.7.5 jar. So in which version of plugin parseAndKeepRawInput()  is available?

@aroonkv,
Thank you for using libphonenumber!
PhoneNumberUtil.parseAndKeepRawInput() API is part of the libphonenumber jar. It is same as PhoneNumberUtil.parse() API except that it saves the raw input in the proto. However these parsing APIs have nothing to do with validation of the phone numbers in this case.
Please upgrade to the latest release, this is not a live issue. To check the latest behavior for yourself, see the demo results. See instructions in our contribution guidelines. Please consider joining the discussion group if you'd like to discuss this further.

Thank you so much. It is working fine after upgrading to version 8.8.8.


other-language:

A filter I've been using to avoid french hyphenation in code blocks once transformed into a TeX document.
source
```yaml
title: Mon titre
lang: fr

without

with

Extracted from this project: https://github.com/HE-Arc/rapport-technique

It's surprising to me that polyglossia does these transformations inside verbatim contexts.
(I assume it's polyglossia that is doing it?)
Is it because pandoc's highlighted code blocks use a custom environment that polyglossia doesn't recognize?  If you just have a code block without syntax marked, does it do the same thing?
Just wondering whether this should be handled with a modification to pandoc rather than a filter.

It seems to do the same thing.
    ---
    title: Mon titre
    lang: fr
    ---

```
---
title: Mon titre
lang: fr
---
```

```yaml
---
title: Mon titre
lang: fr
---
```

Interestingly, this only happens with --pdf-engine=xelatex.

From polyglossia manual:

In some very specific contexts (such as music score creation), TEX hyphenation is something to avoid as it may cause troubles. polyglossia provides two functions: \disablehyphenation and \enablehyphenation. Note that when you se- lect a new language, hyphenation will be in the same state (enabled or disabled) as before. When you reenable it, it will take the last selected language.

I don't know if it's worth adding all the additional complexity to the default template that this would require to redefine the verbatim environments.  But for this filter, it would probably be cleaner to add \disablehyphenation before each code block and \enablehyphenation after it, instead of using otherlanguage.  (And then it would make sense to call the filter something like disable-hyphenation-in-code.)

that would have been so neat and easy, but I didn't manage to get it working.

\documentclass[]{article}

\usepackage{polyglossia}
\setmainlanguage[]{french}
\setotherlanguage[]{english}

\begin{document}

lang: fr

\disablehyphenation
lang: fr-nohyphen
\enablehyphenation

\begin{otherlanguage}{english}
lang: en
\end{otherlanguage}

\end{document}

I guess that makes sense:  it's not really a matter of hyphenation, after all.
I looked through the polyglossia manual, and it doesn't say anything about colons.  So, maybe your approach is the only one that will work!

But I do think the name of this filter is confusing.  Wouldn't a better name somehow mention code or verbatim blocks, so people will know what this pertains to?

PS. Instead of adding a Para before and after containing raw latex, you might try putting each code block inside a Div with attribute lang="en".  This works just as well and it's cleaner and simpler.

I need a little help with the lua side though... sorry.
When putting the <div lang="en"> in the markdown, it produces this.
Div ("",[],[("lang","en")]) [ ... ]

Although, in the following Lua pandoc.Div(el, pandoc.Attr("lang", {"en"})) produces.
Div ("lang",["en"],[]) [ ... ]

Thanks!

Huzzah!

I'll reopen a new PR soon. Thanks a lot!

This does appear to be a bug specific to Polyglossia and XeTeX. It works fine with Babel:
\documentclass{article}

\usepackage{color}
\usepackage{fancyvrb}
\newcommand{\VerbBar}{|}
\newcommand{\VERB}{\Verb[commandchars=\\\{\}]}
\DefineVerbatimEnvironment{Highlighting}{Verbatim}{commandchars=\\\{\}}
% Add ',fontsize=\small' for more characters per line
\newenvironment{Shaded}{}{}
\newcommand{\AttributeTok}[1]{\textcolor[rgb]{0.49,0.56,0.16}{#1}}
\newcommand{\FunctionTok}[1]{\textcolor[rgb]{0.02,0.16,0.49}{#1}}
\newcommand{\OtherTok}[1]{\textcolor[rgb]{0.00,0.44,0.13}{#1}}

\usepackage[shorthands=off,main=french]{babel}

\begin{document}

\begin{Shaded}
\begin{Highlighting}[]
\OtherTok{---}
\FunctionTok{title:}\AttributeTok{ Mon titre}
\FunctionTok{lang:}\AttributeTok{ fr}
\OtherTok{---}
\end{Highlighting}
\end{Shaded}

\end{document}

There's a workaround for Polyglossia posted in https://github.com/reutenauer/polyglossia/issues/27.

Good find. We could simply add this to the default
pandoc template where polyglossia is loaded:
\makeatletter
\appto\verbatim@font{\nofrench@punctuation}
\makeatother

It's a bit verbose to have all of this in the
template, since it's irrelevant unless lang is fr.
I suppose we could have the writer check the
lang in metadata, and set a special variable if
lang = fr; these lines could be included if the
variable is set.
If this seems a good idea, perhaps an issue should
be opened for pandoc.  (Though if we decide to make
polyglossia optional, not default, for xelatex,
then it may be a nonissue.)
Andrew Dunning<EMAIL_ADDRESS>writes:

There's a workaround for Polyglossia posted in https://github.com/reutenauer/polyglossia/issues/27.
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/pandoc/lua-filters/pull/36#issuecomment-450963746

@greut - given the workaround, is this filter even necessary any more?

@jgm I cannot get the work around to work. Although, it became clear that polyglossia+xelatex are the bad guys here, I'll keep this filter and consider it a hack rather than something worth spreading. Thanks everyone for you help!

@greut Are you receiving an error, or is it simply not displaying properly? This works for me under either XeTeX or LuaTeX:
\documentclass{article}

% Polyglossia with workaround
\usepackage{polyglossia}
\setdefaultlanguage{french}
\setotherlanguage{english}

\makeatletter
\appto\verbatim@font{\nofrench@punctuation}
\makeatother
%

% or use Babel
% \usepackage[english, main=french]{babel}

\begin{document}

\verb|00:11:43:D4:86:A0|

\selectlanguage{english}
\verb|00:11:43:D4:86:A0|

\selectlanguage{french}
\begin{verbatim}
00:11:43:D4:86:A0
\end{verbatim}

\end{document}

Note that you might have to delete your .aux file between runs when switching between Babel and Polyglossia. If you're still having trouble, perhaps try checking that you're running the latest version of TeX Live by running tlmgr update --self --all --reinstall-forcibly-removed.

pandoc produces \texttt{} and uses fancyvrb which are unaffected by the fix. No worries.


feat(custom-rule): + no-return-before rule, allows barring return sta…

…tements before certain tokens
uses

decaffeinate cleanup to remove excess return statements

:tada: This PR is included in version 3.7.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[Event Request] Codeunit 5780 "Whse. Cross-Dock Management" – New Event  “OnAfterFilterCrossDockOpp”

Could we please have a new publisher “OnAfterFilterCrossDockOpp” in Function “FilterCrossDockOpp”, Codeunit 5780 "Whse. Cross-Dock Management”?
    local procedure FilterCrossDockOpp(var WhseCrossDockOpp: Record "Whse. Cross-Dock Opportunity")
    begin
        with WhseCrossDockOpp do begin
            SetRange("Source Template Name", TemplateName);
            SetRange("Source Name/No.", NameNo);
            SetRange("Location Code", LocationCode);
        end;
*** start new code ***
        OnAfterFilterCrossDockOpp(WhseCrossDockOpp);
*** stop new code ***
    end;
…
*** start new code ***
    [IntegrationEvent(false, false)]
    local procedure OnAfterFilterCrossDockOpp(var WhseCrossDockOpp: Record "Whse. Cross-Dock Opportunity")
    begin
    end;
*** stop new code **

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


readme: fix example code format

Codecov Report
Patch coverage: 80.69% and project coverage change: -0.22% :warning:

Comparison is base (e6378f2) 82.51% compared to head (333b587) 82.30%.
Report is 7 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #100      +/-   ##
==========================================
- Coverage   82.51%   82.30%   -0.22%
==========================================
  Files           5        6       +1
  Lines         652      842     +190
==========================================
+ Hits          538      693     +155
- Misses         84      111      +27
- Partials       30       38       +8

Files Changed
Coverage Δ

memparse.go
74.82% <74.82%> (ø)

checkpointctl.go
93.48% <94.82%> (+0.38%)
:arrow_up:

tree.go
87.96% <100.00%> (+1.85%)
:arrow_up:

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Evaluation Details

Thanks for sharing the code.  I test GracoNet with your provided model and only obtain acc 0.740±0.005，FID 36.19 and LPIPS 0.205 on "evaluni" dataset. But I obtain acc 0.840±0.005 on "eval" dataset.  Are these metrics obtained on different test data? But the paper describes "generates 10 composite images by randomly sampling 10 random vectors". Is it more reasonable to test all metrics in "evaluni" dataset?

@lingtianxia123 In our paper, we use "eval" dataset for testing generation plausibility (acc and FID) and "evaluni" dataset for testing generation diversity (LPIPS).


feat(spec-runner): seperate driver spec runner

This removes a number of folders that are now located in the driver spec runner repo and the image in the docker compose is now pulled from Dockerhub instead of locally.
Closes PlaceOS/drivers#147

Closes #5


add continuables.jl for loading paths

Loading the paths was a bottle neck so far, this should make file lookup much faster. Additionally, that fixes a bug during loading and makes the code much more readable

ready to merge !


[jvm-packages]  label and prediction not match

xgboost version used: v0.6
when do prediction , I need to get the (userid,prediction) pair,and you don't provide this ,so I do it by myself

 import scala.collection.JavaConverters._
import ml.dmlc.xgboost4j.java.Rabit
import ml.dmlc.xgboost4j.scala.DMatrix
import ml.dmlc.xgboost4j.scala.spark.{XGBoost, XGBoostModel}
import org.apache.spark.TaskContext
import org.apache.spark.mllib.evaluation.BinaryClassificationMetrics
import org.apache.spark.mllib.linalg.SparseVector
import org.apache.spark.mllib.regression.LabeledPoint
import org.apache.spark.rdd.RDD

//userid is the label

  def predict(xgboostModel: XGBoostModel, testSet: RDD[LabeledPoint]): RDD[(Long, Float)] = {
    testSet.cache()
   logger.info("input label" + testSet.map(_.label.toLong).collect().mkString(","))

    import ml.dmlc.xgboost4j.scala.spark.DataUtils._
    val _booster = xgboostModel.booster
    val broadcastBooster = SparkApp.sc.broadcast(_booster)
    val res = testSet.repartition(partition_num).mapPartitions { testSamples =>
      if (testSamples.hasNext) {
        val rabitEnv = Array("DMLC_TASK_ID" -> TaskContext.getPartitionId().toString).toMap
        Rabit.init(rabitEnv.asJava)
        val dMatrix = new DMatrix(testSamples, null)
        val labels = dMatrix.getLabel  //get label
        val scores = broadcastBooster.value.predict(dMatrix)  //get score
        var label_score = new ArrayBuffer[(Long, Float)]
        for (i <- 0 until labels.length) {
          label_score += ((labels(i).toLong, scores(i)(0)))
        }
        Rabit.shutdown()
        Iterator(label_score.toArray)
      } else {
        Iterator()
      }
    }.flatMap(r => r)
    res.cache()
    logger.info("output label = " + res.map(_._1).collect().mkString(","))
    res
  }

the input label is
866190025413180,863274037713929,861578031108080,868800020840207,868564029652563,868746023706384,862842032737845,861868032295089,861643039639401,861643036795123
the output label is
866190012448768,863274065199104,861578022879232,868800010387456,868564055621632,868746054860800,862842018332672,861868000280576,861643051368448,861643051368448
I have know why. Because the Double type has accuracy problem. But how can I  get the right label?
Thanks for your help

I have know why. Because the Double type has accuracy problem. But how can I do the get the right label

You're asking why they don't have the same ordering anymore? You've done a repartition on the RDD, so that completely jumbles the ordering.
I think this issue should be closed. cc @superbobry

@xueyuan1990 the reordering is indeed caused by repartition as @sethah noticed. However, even if there was no reordering you'd probably have issues with precision because labels are assumed to be floats in XGBoost.


api-management-custom-widgets-scaffolder displayNameToName fnc with prefix

Packages impacted by this PR
api-management-custom-widgets-scaffolder
Issues associated with this PR
https://dev.azure.com/msazure/One/_workitems/edit/25953312
Describe the problem that is addressed by this PR
conflicting names of custom and build-in widgets
Checklists

[x] Added impacted package name to the issue description
[ ] Does this PR needs any fixes in the SDK Generator?** (If so, create an Issue in the Autorest/typescript repository and link it here)
[x] Added a changelog (if necessary)

TBD: release date
@xirzec we've in the team release freeze because of holidays, does something like that apply to releasing of new packages? What is the soonest possible rls date?

API change check
APIView has identified API level changes in this PR and created following API reviews.
@azure/api-management-custom-widgets-scaffolder


Web UX: Use mouse scroll to enter/exit wonder

Currently there is no way to use the trackpad or scrollwheel to navigate into or out of a wonder. A user is forced use a click, hold and drag gesture instead.
This doesn't feel intuitive in either direction.
On the macOS version of Wonderous, the trackpad simulates touch interactions and is usable for swiping left/right or progressively up into a wonder (see below).
https://github.com/gskinnerTeam/flutter-wonderous-app/assets/7093485/83ac1aca-7e01-4782-b8b7-715591c0c2be

@jaredbell I tried to add this but can't get it to feel nice.

When scrolling UP in the editorial view, it transitions to quickly back to home, which doesn't feel good.
When scrolling DOWN from home carousel, it can scroll the editorial view as it comes into view, which also doesn't feel nice.

Will leave open for now in case I can find something that works.


lxd zpool and all container disappear

The template below is mostly useful for bug reports and support questions.
Feel free to remove anything which doesn't apply to you and add more information where it makes sense.
Required information

Distribution: Ubuntu 16.04
driver: lxc
driver_version: 2.0.8
kernel: Linux
kernel_architecture: x86_64
kernel_version: 4.4.0-93-generic
server: lxd
server_pid: 2097
server_version: "2.17"
storage: zfs
storage_version: <IP_ADDRESS>-0ubuntu16

Issue description
After reboot all containers STOPED and doesnt start
root@lxd0:/# lxc start aut
error: no such file or directory
in /var/log/lxd/lxd.log
lvl=eror msg="Failed to mount ZFS dataset "lxd/containers/aut" onto "/var/lib/lxd/storage-pools/lxd/containers/aut"." t=2017-09-03T17:46:06+0200
root@lxd0:/# zpool list
no pools available
root@lxd0:~# zfs list
no datasets available
dir /var/lib/lxd/disks was empty
When i try to create container
root@lxd0:~# lxc launch ubuntu: test1
Creating test1
error: Failed container creation:
https://cloud-images.ubuntu.com/releases: Failed to run: zfs create -o mountpoint=none -p lxd/images/58f90cbf68927c3fc43e6ee1386446a04f3d8068c1a75a291339cb2be01dec08: cannot create 'lxd/images/58f90cbf68927c3fc43e6ee1386446a04f3d8068c1a75a291339cb2be01dec08': no such pool 'lxd'
I try to use lxd.db.back as lxd.db and its not work too

Can you paste:

"find /var/lib/lxd/"
"sqlite3 /var/lib/lxd/lxd.db 'SELECT * FROM storage_pools;'"
"sqlite3 /var/lib/lxd/lxd.db 'SELECT * FROM storage_pools_config;'"
/etc/zfs/zpool.cache (it's a binary file)

Also, the entire /var/log/lxd/lxd.log (and any rotated file /var/log/lxd/lxd.log.*) would be useful too.

https://gist.github.com/iyakimavetc/1f38a55abf9ca784c2ec3e564127d89e - find
1|lxd|zfs| -  storage_pools
6|1|source|lxd
7|1|zfs.pool_name|lxd
zpool.cache - https://yadi.sk/d/8GAOuWmy3MZqgS

Do you have a file at /var/lib/lxd/zfs.img?

No

https://yadi.sk/i/vt4wJKXp3MZrMe - lxd.log
https://yadi.sk/d/YgLyK98D3MZrMb - lxd.log.1

Based on those logs it looks like you upgraded to 2.17 successfully and your containers were functional, then you shutdown or rebooted the system and ZFS couldn't come back up because its backend file wasn't around anymore.

Sadly those two log files don't give enough historical data to see more of what happened...
Can you paste:

sudo sqlite3 /var/lib/lxd/lxd.db "SELECT * FROM patches;"
sudo sqlite3 /var/lib/lxd/lxd.db "SELECT * FROM schema;"

That should help fill a bit more of the timeline.

1|invalid_profile_names|1494763860
2|leftover_profile_config|1494763860
3|network_permissions|1496761342
4|storage_api|1496761343
5|storage_api_v1|1496761343
6|storage_api_dir_cleanup|1496761343
7|storage_api_lvm_keys|1496761343
8|storage_api_keys|1496761343
9|storage_api_update_storage_configs|1496761343
10|storage_api_lxd_on_btrfs|1496761343
11|storage_api_lvm_detect_lv_size|1496761343
12|storage_api_insert_zfs_driver|1504455436
13|storage_zfs_noauto|1504455436
14|storage_zfs_volume_size|1504455436
15|network_dnsmasq_hosts|1504455436
2)
1|32|1494763860
2|33|1496761342
3|34|1496761342
4|35|1496761342
5|36|1504455436

Maybe I incorrectly put it. After the reboot, the containers did not turn on state stopped/ sorry for google translate

@stgraber, given from what he pasted:
1|lxd|zfs| - storage_pools
6|1|source|lxd
7|1|zfs.pool_name|lxd

His storage pools is not a loop-based pool so there'd be no disk file around. :)

@brauner the zpool.cache file shows that it was backed by /var/lib/lxd/zfs.img

That doesn't make a lot of sense though given that the upgrade succeeded and the containers were functional. If the upgrade wouldn't have detected a zfs.img file it would still be in /var/lib/lxd. If the upgrade would have detected it it would have been either moved to /var/lib/lxd/disks or, if the rename or copy of the file failed, the upgrade would have failed and the file would still be in its old place. So something can't be right here.
If this was indeed a pool backed by /var/lib/lxd/zfs.img the likeliest explanation for this behavior is that the file was deleted before the upgrade, i.e. before the patchStorageApi() function was run. That would explain the wrong db entry for the storage pool. The error would go unnoticed until the reboot because of how files work in Linux.

Yeah, the DB state is consistent with the fact that /var/lib/lxd/zfs.img had been gone before the upgrade to 2.8+

Based on DB timestamps:

Initial install of LXD (between 2.2 and 2.7) on May 14th 2017
Upgraded LXD (to something between 2.11 to 2.14) on June 6th
Upgraded to LXD 2.17 on September 3rd

That last upgrade ran:

12|storage_api_insert_zfs_driver|1504455436
13|storage_zfs_noauto|1504455436
14|storage_zfs_volume_size|1504455436
15|network_dnsmasq_hosts|1504455436

None of which interact with the storage loop disks. The code that does was run on the 6th of June.
How long was that system online before it got rebooted today?

Uptime ~100d

Hmm, then it's going to be pretty much impossible to figure out what happened...
What we know based on all you provided is that your system was already broken on June 6th, it just wasn't apparent because you didn't reboot your system then.
Because of how files work on a unix system, you can have a ZFS pool be online, backed by a backing file which has been removed from disk. Everything will keep working perfectly fine. Until you reboot and the file is gone forever...
The /var/lib/lxd/zfs.img file which was used to back your LXD daemon went away at some point between the 14th of May and the 6th of June.

Can I say goodbye to my data?

https://github.com/lxc/lxd/issues/3386 mya be file went away in this time

That particular DB fix wouldn't have caused LXD to remove the .img file.
It could be that it's whatever led to the broken database back then which did though... Since the problem would only appear after a system reboot, it's very hard to tell.
You may want to do this for good measure:
sudo find / -name zfs.img
sudo find / -name lxd.img

Just to see if maybe those files got moved somewhere else on the system. That's a long shot though as there's certainly nothing in LXD which would cause those to get relocated.
If that doesn't find anything, then depending on how much you used your system since that last reboot, there may be hope for one of the undeleting tools to work. But that depends on what filesystem's backing /var/lib/lxd. For ext4, the "extundelete" tool has been useful to me in the past.

Unfortunately undeleting file gets harder and harder as time passes since the space may already have been reclaimed for something else. It tends to work okay if you realize the problem immediately and re-mount the underlying storage read-only within seconds but in your case we're already talking days, so you'd need to be very very lucky for ext4 not to have written anything over the previously used space.

https://discuss.linuxcontainers.org/t/zfs-mount-point-disappeared-but-lxc-working/1475


Migrate to GitHub Actions

This PR migrates free to use GitHub Actions instead of Travis for CI, as tracked for all core libraries in https://github.com/purescript/purescript/issues/3962. It also updates the installation instructions to refer to Spago instead of Bower.

The warning is ignored because of the MonadZero constraint in the instance context. I’ve opened https://github.com/purescript/purescript-control/pull/68 to circumvent this, so we should censor user defined warnings in this pull request or CI will fail once the other one is merged.


[4.2] IRGen: We need to make note of any parent decl in nested type d…

…ecls
Such that we emit the parent's type metadata
rdar://39648725
Cherry-pick from #16135

@swift-ci Please test and merge

Please see my comments on https://github.com/apple/swift/pull/16135. Once the 'test and merge' goes through you will need to submit a second patch to the 4.2 branch.

@swift-ci Please test and merge

Build failed
Swift Test Linux Platform
Git Sha - cfe5da79f402110c9ad2176069f1786cec718b43

Build failed
Swift Test OS X Platform
Git Sha - cfe5da79f402110c9ad2176069f1786cec718b43


Sementation on LineMOD dataset

I am trying to train segmentation network on linemod dataset. I have got follwoing error..
I have changed the path (in train.py and data_controller.py) necessary to import linemod rgb and mask files, as well as final class indices as 14 instead of 22 wherever needed in loss.py script and segnet.py.
Here is the error:
5000 1000
/usr/local/lib/python3.5/dist-packages/torch/nn/_reduction.py:49: UserWarning: size_average and reduce args will be deprecated, please use reduction='mean' instead.
warnings.warn(warning.format(ret))
2019-08-08 14:20:55,080 : Train time 00h 00m 00s, Training started
Traceback (most recent call last):
File "train.py", line 74, in
semantic_loss = criterion(semantic, target)
File "/usr/local/lib/python3.5/dist-packages/torch/nn/modules/module.py", line 489, in call
result = self.forward(*input, **kwargs)
File "/home/ros/Object_Pose_Estimation/DenseFusion/vanilla_segmentation/loss.py", line 35, in forward
return loss_calculation(semantic, target)
File "/home/ros/Object_Pose_Estimation/DenseFusion/vanilla_segmentation/loss.py", line 24, in loss_calculation
semantic_loss = CEloss(semantic, target)
File "/usr/local/lib/python3.5/dist-packages/torch/nn/modules/module.py", line 489, in call
result = self.forward(*input, **kwargs)
File "/usr/local/lib/python3.5/dist-packages/torch/nn/modules/loss.py", line 904, in forward
ignore_index=self.ignore_index, reduction=self.reduction)
File "/usr/local/lib/python3.5/dist-packages/torch/nn/functional.py", line 1970, in cross_entropy
return nll_loss(log_softmax(input, 1), target, weight, None, ignore_index, None, reduction)
File "/usr/local/lib/python3.5/dist-packages/torch/nn/functional.py", line 1788, in nll_loss
.format(input.size(0), target.size(0)))
ValueError: Expected input batch_size (921600) to match target batch_size (2764800).

@sanjaysswami  same issue here, i made my own dataset which consists of only 4 classes, I got the similar problem except the last line :

ValueError: Expected input batch_size (921600) to match target batch_size (3686400).

@hygxy if you find any solution please let me know. Thank you in advance

@sanjaysswami  Adding convert("L") to label might help, i.e: change this line to the following:

label = np.array(Image.open('{0}/{1}-label.png'.format(self.root, self.path[index])).convert("L"))

But after that i got another problem:
/opt/conda/conda-bld/pytorch_1550796191843/work/aten/src/THCUNN/ClassNLLCriterion.cu:105: void cunn_ClassNLLCriterion_updateOutput_kernel(Dtype *, Dtype *, Dtype *, long *, Dtype *, int, int, int, int, long) [with Dtype = float, Acctype = float]: block: [0,0,0], thread: [31,0,0] Assertion t >= 0 && t < n_classes failed.
RuntimeError: CUDA error: device-side assert triggered

@hygxy tried as you did. Got same error. Trying to resolve it now.

@hygxy After that step you need to normalize the label with range of 0-1 pixels. For me now its working

@sanjaysswami  Could you please also show me the normalization code?

Using this formula: (x - x.min()) / (x.max() - x.min()) # values from 0 to 1

@TrinhTUHH, thanks for your advice, it's working on my own dataset now.
@sanjaysswami  I am wondering why the author didn't do the normalization step and the code works too

when you convert label image to grayscale, the maximum value is 255 (for ycb it is 21), so my guess is that through the convolution layers, the value reach too big that cuda cannot handle.

@TrinhTUHH , if that's the reason, why do we need to normalize all pixels to (0,1) instead of to (0,13) in for example @sanjaysswami 's case?

Hi, sorry, I think my suggestion is wrong because I didn't understand the label image the right way.. After reading this issue, I think the normalization should not be the case here. So in a mask (or label) image, the pixels in background will be marked as one value (in ycb they are 0), the pixels belong to one class are marked the same as the order or rank of the object (for example: 8 is the gelatin box, 21 is foam_brick, 14 is mug, etc.). In Linemod, all mask images except the images in the folder 02, have pixels of 2 values 0 and 255, (0 is black for background and 255 as white for object), meaning only one object is segmented in one frame. But the mask images in folder 02, all objects are segmented and labeled. However there are 22 labeled values which exceed number of objects in Linemod (more details in this issue).
Anyway, I can only check about it tomorrow.

@TrinhTUHH , we have two problems here:

whenever the mask/label is not a real grayscale image(those in linemod, they look like grayscale, but actually are not, you can check that by "file xxxx.png", it shows "PNG image data, 640 x 480, 8-bit/color RGB, non-interlaced". In this case we will get "Expected input batch_size (921600) to match target batch_size (2764800)" error,  that's why we need convert("L"), but this causes another error as described in the following.

whenever the pixel values of converted grayscale mask/label exceed the number of classes, we will get "device-side assert triggered" error, that's why we need normalization.

That's basically my understanding, I just can't figure that why the creator of this issue did a (0,1) normalization instead of a (0, number of classes) normalization, the latter works also. @sanjaysswami Any explanations?

@hygxy I and @TrinhTUHH  works together. Today we will check and get back to you.

@hygxy Normalization should not be used here. You can simply replace the pixels which have value of 255 by the object_id in all label varibales in data_controller.py. After that train the network.

@ But after convert("L") I have no pixel values 255 any more. Could you please also given me an example?

For me the white region of label image still has pixels of 255 after convert('L'). If yours does not have, then just replace the maximum values by object id and keep the pixels in background 0.

I see, so actually we are normalizing the pixel values to (0, number of classes) as I mentioned before?

Hi, I try to train the SegNet with my own synthetic dataset in the structure of the preporcessed LINEMOD dataset.  I want the Segnet to be trained so it gets me the output of only the object I am currently searching in the picture for (Like the mask images in the preprocessed LINEMOD dataset). But if I understand it right The SegNet would output the mask for every known object in the picture, right?


Support rescind offer in swarm.

Signed-off-by: Yongqiao Wang<EMAIL_ADDRESS>

Can someone help to have a look why engine-master check failed, I have retested mesos/api/logs.bats in the local, and it was passed.

@jimenez , @vieux , @aluzzardi  , @abronan cloud you help to review this patch? Thanks!

Thanks @gradywang ! LGTM

@vieux , Is this PR ready to commit? If you have comments for it, let me know. Thanks!

LGTM.


Unable to access the public bucket

Unable to create lambda layers with this.
aws s3 cp s3://aws-data-wrangler-public-artifacts/releases/2.12.1/awswrangler-layer-2.12.1-py3.8.zip . fatal error: An error occurred (403) when calling the HeadObject operation: Forbidden

Slight naming issue on our end, should now be fixed. Thanks for raising!


UnicodeDecodeError: ordinal not in range

Sometimes when I try to use flaggie it crashes with "UnicodeDecodeError" for no apparent reason. Here's an example:
sudo flaggie simplescreenrecorder +~amd64
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.6/flaggie", line 25, in <module>
    sys.exit(main(sys.argv))
  File "/usr/lib64/python3.6/site-packages/flaggie/cli.py", line 195, in main
    porttree, cache)
  File "/usr/lib64/python3.6/site-packages/flaggie/makeconf.py", line 549, in __init__
    flagcache)
  File "/usr/lib64/python3.6/site-packages/flaggie/makeconf.py", line 265, in add_expand
    values = [f for f in flagcache.glob if f.startswith(key)]
  File "/usr/lib64/python3.6/site-packages/flaggie/cache.py", line 81, in glob
    prefix = '%s_' % k.lower()))
  File "/usr/lib64/python3.6/site-packages/flaggie/cache.py", line 19, in grab_use_desc
    for l in f:
  File "/usr/lib64/python3.6/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 607: ordinal not in range(128)

I have the same issue, is there any known workaround?

I had to monkey patch it by editing cache.py to use codecs.open with utf8.

change "import os" to "import codecs"
in def grab_use_desc, change "f = open(path, 'r')" to "f = codecs.open(path, 'r', 'utf8')"

Works on my machine.

I fixed it by correctly setting my locale. It was not set at all so locale reported all settings as "POSIX". I set it to a UTF-8 locale and then it worked.


reference of code block in psi4numpy/coupled_cluster/RHF/helper_cceom

Hi!
Recently I'm reading your code in repo psi4/psi4numpy and know how to implement eom-ccsd method in python.
In the process of reading the code, I'm confused about the code block where you make the sub-matrix of similarly transformed Hamiltonian.

As well for that build sigma2.
I have searched many materials (like origin paper of Stanton, many body method in chemistry and physics by Bartlett), but I still don't know how to derive these equations.  I have read repo pyqchem written by jjgoing, where he constructs HSS, HSD, HDS and HDD them diagonalize it. This seems different from your method.
Could you tell me where to find the reference of these equations? I really appreciate your help.

For large molecular systems, building the complete Hamiltonian (or similarity-transformed Hamiltonian) and then diagonalizing it is not practical.  The code in helper_cceom.py is based on the Davidson approach to computing a limited number of lowest eigenvalues of a large matrix.
These equations may be derived either using second-quantization methods or using diagrams (as described in the Bartlett-Shavitt book or here), but you can find the spin-orbital equations here.

@DavidGoing I have two repo's that might help. cogus is an approach to evaluating coupled-cluster diagrams (including EOM) from a second-quantization viewpoint ie via Baker-Campbell-Hausdorff and Wick's theorems. The repo includes jupyter notebooks that attempt to explain the approach. A similar second-quantization (but more professional than my repo is pdaggerq). The second repo I have is cc-ade which is a diagrammatic approach. The repo is mainly directed at CCSDTQ but has an extension to EOM methods. Again there are jupyter notebooks which try to explain what I'm doing. Finally there is a concise version of  the pyqchem EOM-CCSD (which I did some work on) using einsum and intermediates which may be of interest here - in the eom_ccsd class.
As the EOM Hamiltonian is of dimension $(4*o*v)^2+(4*o*v)$ where o and v are occupied and virtual spatial orbitals you can see that for even $H_2O$ is STO-3G basis we have $(4.5.2)^2 + (4.5.2) = 1600 + 40$. So very quickly the pyqchem approach becomes a problem, hence the Davidson method where (Kronecker deltas are removed by multiplying by an arbitrary vector and) just the lowest n eigensolutions are determined. Hope something here helps.

@pwborthwick Hello, Thank you for your information!
I have read your code in https://github.com/pwborthwick/harpy/blob/48fc93344738a0746e01cf6fb3148a4d6a7c7a04/source/cc/fcc.py
and code about eom-ccsd in
https://github.com/pwborthwick/harpy/blob/48fc93344738a0746e01cf6fb3148a4d6a7c7a04/source/eom.py
and notice that in eom.py you still select the output of eomMatrix to get agreement with Gaussian result:

While in the file fcc.py, it seems that this problem has been fixed. And there is no selection like eom.py.
This problem also appreared in JJgoing's pyqchem repo.
I'm wondering do you know the reason behind the problem and could you tell me how do you fix that ?
Thank you for your help.

It's not a problem, Josh was just restricting the spectrum between those values for testing. Clearly with big Hamiltonians you get a large number of eigenvalues so for demonstration purposes you need to select a subset. It seemed like a sensible range so I have used it too.

@pwborthwick Hi, I understand that we need to set a high energy cutoff and focus on low energy excitation states, thus there is an upper bound. However, what makes me confused is why these is a lower bound. When I remove the lower bound, some negative value appears. This negative eigenvalue should not appear in eom-ccsd.


Moved: Vivaldi.Vivaldi version 4.3.2439.39

This pull request is automatically generated by 🥟 Dumplings
Microsoft Reviewers: Open in CodeFlow

/AzurePipelines run

@wingetbot run

/AzurePipelines run


New version: HulubuluSoftware.AdvancedRenamer version 3.94.3

Pull request has been created with komac v2.1.0 :rocket:
Microsoft Reviewers: Open in CodeFlow

Hi @OfficialEsco,

This PR's version number 3.94.3 has 3 parameters (sets of numbers between dots - major, minor, etc), which is greater than the current manifest's version 3.91, which has 2 parameters.

Does this PR's version number exactly match the version reported in the Apps & features Settings page? (Feel free to attach a screenshot.)
(Automated response - build 870)

@wingetbot run

Automatic Validation ended with:

Installation failed with exit code -1978335123
2024-03-21 11:42:03.429 [FAIL] D:\a_work\1\s\external\pkg\src\AppInstallerCommonCore\DODownloader.cpp(267)\WindowsPackageManager.dll!00007FFAF12AA384: (caller: 00007FFAF12AAD01) Exception(1) tid(ce4) 80D02002
2024-03-21 11:42:08.628 [FAIL] D:\a_work\1\s\external\pkg\src\AppInstallerCommonCore\Downloader.cpp(144)\WindowsPackageManager.dll!00007FFAF12A440C: (caller: 00007FFAF12A5C49) Exception(2) tid(ce4) 8A15006D

(Automated response - build 871.)

MinimumOSVersion did not change between PR creation and version fix.

The host seems to have a very strict download policy - possibly too strict to get through Validation:


New version: Microsoft.OneDrive version 24.171.0825.0002

Created by 🥟 Dumplings in workflow run #8328.

Log
Updated: 24.166.0818.0003 → 24.171.0825.0002
Submitting WinGet manifests
Creating manifests
Uploading manifests and making commits
Creating a pull request

Microsoft Reviewers: Open in CodeFlow

Despite one giving an error, all 4 combinations of architecture and scope installed normally.


Arabic numbers not recognized

I'm trying to detect arabic digits like the following segmented image, but I get no digits at all...
Any solution ?

@AndreAhmed would you please tell me how you can solve this issue?
Regards.


merge from konsum-frontend-svelte,template-svelte-app

package.json

chore(deps): add ^8.3.6 remove ^8.3.5 (devDependencies.postcss)
chore(deps): add ^3.40.0 remove ^3.38.3 (devDependencies.svelte)

:tada: This PR is included in version 1.29.14 :tada:
The release is available on:

v1.29.14
npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Support drivers prebuilt for PhotonOS

Motivation
We do not support prebuilt drivers for photonOS.
Feature
Support prebuilt drivers for photonOS.
Alternatives
None
Additional context
With https://github.com/falcosecurity/kernel-crawler/pull/181 and by adding the new supported distro to our dbg + test-infra jobs we will be able to provide prebuilt artifacts and support them directly in Falco 0.36.
But we would miss support for -rt and -secure flavors; that would also need a falco-driver-loader patch and updates to kernel-crawler.

/assign

/milestone 0.37.0

/close
The support is now in place.

@FedeDP: Closing this issue.

In response to this:

/close
The support is now in place.

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


[Feature request]: Add Arabic translation

Version

[X] I'm using version 1.7.0

Existing requests

[X] I've checked Existing requests

What operating system are you using?
Linux
Operating System Version
Ubuntu 20.04.3 LTS
Problem description
No Arabic translation is provided!
Possible solution

Add Arabic translation ar.json file to hold all the Arabic labels.
Add flag-jo.svg to show icon of language.

Alternative solutions
Nothing alternate.
Additional information
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

:+1:  I see that you started working on translations in weblate :) thanks a lot!
I have some code as work in progress, but once I am finished with it, I will create everything needed for new language and merge the weblate translations

Thank you @hovancik


Is this repo dead? Any successor?

It seems / has been stated, github has abandoned boxen in general - so things become pretty quiet nowdays.
How to think about our-boxen here and the general project, are there any successors?

Hi @eugenemayer 👋🏼
The Boxen project has been discontinued at GitHub however there are still a bunch of companies using and supporting this project so it's definitely not dead. Something to keep in mind is that this project consists of 313 other repositories which need maintenance and some of them require more love and attention than this repository.
I've been heading up a bunch of larger intiatives outlined via boxen/boxen (feel free to chime in if you have any thoughts!) to clean up maintenance and really focus on integrations and what issues Boxen is best placed to solve. I.e. deprecating a bunch of modules that Homebrew now manages better upstream instead of us vendoring.
Please let me know if you have any more questions!

Thats a great answer @jacobbednarz, thank you a lot.
The problem with the maintenance is, that is forks without an upstream merge, since people learned, thinks are not going to be merged anyway.
the problem is the governance model - its build so that some Leutnants can oversee a pull into the main repos / modules, which suits well and can be stated as good quality.
But even in the days when github was active, they rather were very unresponsive due to the work load.
Things become even worse nowdays and people learned that contributions are just not worth the effort, its firing into the ether. Thats how most modules look like, a lot of LTS forks, without any attempt to merge back. Most of the forks do add real value and are successors of their base repo in mostly any way.
So i suggest to overthing the Leutnant model and rather pull in much more contributors with access to merge - things will improve first, then it gets unstable due to the higher speed and then new rules can be applied to this bigger-mass governance - a much more open process.
The other way is, very few, core people, will drive the project, in very slow speed, dropping out one by one, never getting anybody near them to support them, so their will be no replacement, its just "as long as they are there" - and then its over.
I personaly looked at kitchenplan, ansible and chef in general to replace boxen and happened to understand, that the build in OSX support of boxen is far superior to any of those, and thats basically what matters. so i think boxen as unique USPs which can be seen as worth "saving the old blew whale".
Thanks for actually doing so much work across the modules, i have seen your name popping up quit often.

the problem is the governance model - its build so that some Leutnants can oversee a pull into the main repos / modules, which suits well and can be stated as good quality.

I only partially agree with this since community contributed modules have always been maintained by people outside of the core maintainers and they have been fully in control of who can merge or approve changes. The way a new module used to come about was that it would be forked into the Boxen organisation and then a new GitHub team was created with the name "<module_name> maintainers" (see boxen/our-boxen#803 for an example of this process). The only repositories that have been slightly more strict have been some of the core ones due to lack of automated testing and knowledge of how it all hangs together. This is something that has been eased since adding CI to boxen/our-boxen and tests can be added against existing and new functionality.
I am happy to chat to anyone that is looking to step into a maintainer role to get some more eyes on these changes and remove any single points of failure for this project. In the past I have reached out to a couple of potential candidates however they weren't able to allocate much time to it due to other commitments or they no longer used Boxen internally so they were out of touch with it's setup.

Things become even worse nowdays and people learned that contributions are just not worth the effort, its firing into the ether. Thats how most modules look like, a lot of LTS forks, without any attempt to merge back. Most of the forks do add real value and are successors of their base repo in mostly any way.

I would love to pick the brains of anyone who has experienced this so that we can find out the reasoning behind not attempting to merge back as I suspect there are other reasons than just "not worth it". For example, we forked a couple of modules internally to use that we never committed back but that was because our production environment and attempting to merge that back in would have caused everyone else using the module lots of issues.


ProGuard in kotlin notwork

-keep class com.hwangjr.rxbus.thread.EventThread { *; }
is close

your issue has solved?  maybe it's time to close this issue?


Fixes

Copy/paste detection report

Duplications detection: Found 0 exact clones with 0(0%) duplicated lines in 57 (3 formats) files.

Format
Files analyzed
Total lines
Total tokens
Clones found
Duplicated lines
Duplicated tokens

javascript
15
128
1519
0
0 (0%)
0 (0%)

tsx
26
917
8425
0
0 (0%)
0 (0%)

typescript
16
387
3125
0
0 (0%)
0 (0%)

Total:
57
1432
13069
0
0 (0%)
0 (0%)

Deployment details

✅ Your stack: remix-trance-stack-fixes-ephemeral has been successfully deployed.
You can access your deployment at the following URL: https://yecxavpcw4.execute-api.us-east-1.amazonaws.com

:tada: This PR is included in version 3.1.4 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket: