Create Zendesk.gs

Team,
I just submitted CLA and entered the github username that matches this account.
Let me know if there's anything I should add or remove in this pull request.
-- A

Cool! I thought about this. Thank you!

Thanks for the contribution!


Validate LinkedIn social media image

In PR #278 we tried to add images to share on social media. However, upon trying to validate that the sharing worked, it seemed like LinkedIn did not capture the images correctly.
This requires some debugging with LinkedIn's tool.
A potential issue may be that og-images is simply too slow...

I tried putting this research module in the LinkedIn's tool, and here's what I got (link):

Observations:

The whitespaces are showing as "%20". This problem is specific to the text rendered on the image—the metadata fields on LinkedIn's tool are showing fine.
The user avatars are not showing up

Update: The OG image instance may have gone down...http://og-images.herokuapp.com/

Trying to access the image URL:

Thanks @nsunami - it seems like this implementation isn't too reliable and requires some more work. Also related to #280.
I have this slated for the May milestone simply because there's other priority items and this is a bit more work, but I think we may actually be able to integrate it directly into ResearchEquals instead of its own service. I'm asking about this - integrating it into this repository would actually make it easier to manage these issues.


ECS container enforces having port mappings

Describe the bug
Should be able to create ECS container with no port mappings. This error occurs when trying to do so:
Error: Container test hasn't defined any ports. Call addPortMappings().

To Reproduce
Create an ecs cluster with a Ec2TaskDefinition that has a container with no port mappings specified.
Expected behavior
Should be able to have a container with no port mappings.
Version:

OS: Win10
Programming Language: Typescript
CDK Version: 0.28.0

Hi @AlexCheema, could you include the task definition code you are trying to run? What network mode are you using?

Closing due to lack of response. Feel free to re-open if you are still having issues.


Generate doc summaries with references to Python function

As an interim measure to #260 and also when any doc string is missing, this PR proposes to add the python function's signature to the summary of C# proxy method. In IDEs, this has the benefit of immediately being able to examine the C# & Python signatures during auto-completion or by just hovering over and without needing visibility and debugging support of the generated code:

The source lines of the function are capture into PythonFunctionDefinition during parsing and emitted into method summaries during code generation.
Each interface generated for a module's function also has a summary that calls out the Python module name:

The effects of the changes can be examined in the snapshots of the generated code that have been updated in this PR in order to pass the tests.

What happens if:

The function is defined over multiple lines
The function contains a comment that has an escape, albeit unlikely e.g.

def foo(): # /// </summary

What happens if:

The function is defined over multiple lines

It will get carried over into the comment as-is, e.g.:
public interface ITestClass : IReloadableModuleImport
{
    ///
    /// Invokes the Python function <c>test_int_float</c>:
    /// <![CDATA[
    /// def test_int_float(
    ///         a: int,     # first arg
    ///         b: float    # second arg
    ///     ) -> float:     # return type
    /// ]]>
    ///
    double TestIntFloat(long a, double b);

Are you seeing an issue I'm not?

The function contains a comment that has an escape, albeit unlikely e.g.

def foo(): # /// </summary

Technically this will be fine because the Python code is wrapped in a CDATA section so ///  won't get parsed as XML, but yeah, if someone is bent on breaking things, they can close the section with # /// ]]></summary. This will cause a CS1570 warning (if documentation file generation is requested), but not an error unless all warnings are being treated as errors. Then again, you'll also get lots [CS1591](of https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-messages/cs1591) warnings about missing XML comments on public members that'll need addressing (which is a separate topic to tackle) before you can get round to CS1570 ones.
Would you rather have the comments removed entirely? Another option would be to format back the Python signature from the parsed PythonFunctionDefinition rather than the original source code lines, which would get rid of trivia such as comments and line wraps and also provide consistent formatting.


Add section in README on how to contribute doc pages

The section should detail how to contribute new documentation pages, with link(s) to resources on how to write in ReStructured Text format.

We could also add some notes about common styles/formatting we are using, e.g. how we want to credit original authors.

Also mention something about language and tone, e.g. avoid opinions without supporting facts, avoid using first-person, etc.


1066 index folders

Fix bugs - when dataset/files updates/downloads, need to reindex. (Now the filters by download actually works, previously it was not)
Add folder to index; use the dataset status for public search
Frontend

sort in descend order by created date
add folder to search results

@longshuicy Could you take a look at the pytest failure?


Prevent localhost from ever being in the package to be submitted to the store

Build should also handle this, the should a diffrent target to make publishable package. And an error should thrown if there is any localhost in the files

This can be handled by creating a custom rollup plugin that checks for the string localhost in the manifest.json


chore: make sure all #align's are on a single line

We'll need to do this step anyway when it is time to remove them all.
(See #8214 where I'm benchmarking the removal.)

bors merge


Call to undefined method Maatwebsite\Excel\Facades\Excel::isDeferred()

I just get this error, when I try to run:
php artisan clear-compiled

[Symfony\Component\Debug\Exception\FatalErrorException]
Call to undefined method Maatwebsite\Excel\Facades\Excel::isDeferred()
I did composer update, and install

Sorry, it was my mistake... I've solved it

What was the mistake i have run into a similar issue!

Hello, Hopewise  How to this error??

Please Help..

I am sorry, I've closed this issue 11 months ago, I can't  remember how it was solved..

You might have put the Maatwebsite\Excel\Facades\Excel facade string  in the providers array in app.php ?

Thank You so much, This issue is solve .
Put This Class inside providers - Maatwebsite\Excel\ExcelServiceProvider::
class
On Tue, Jun 28, 2016 at 10:16 PM, Patrick Brouwers<EMAIL_ADDRESS>
wrote:

You might have put the Maatwebsite\Excel\Facades\Excel facade string in
the providers array in app.php ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Maatwebsite/Laravel-Excel/issues/498#issuecomment-229109080,
or mute the thread
https://github.com/notifications/unsubscribe/ATPptcMel81g1IDrJFGakmKGZrI16bI5ks5qQU_XgaJpZM4FeLcn
.

You might have put the Maatwebsite\Excel\Facades\Excel facade string in the providers array in app.php ?

I have already put in config/app.php

You might have put the Maatwebsite\Excel\Facades\Excel facade string in the providers array in app.php ?

I have already put in config/app.php but error not resolve


Printouts are inconsistent

Printing with number of codes per user being something other than 20 breaks formatting and causes code lists to be split by page breaks.
Furthermore, printing using Google Chromes printing interface causes the same thing to happen even with 20 codes per user.

Also, more whitespace between each code-column would be nice...

Eloquent as usual Mr. Edholm.

Must be why I'm known as Mr Eloquent in certain circles :+1:

Check if https://github.com/cthit/VoteIT/tree/bugfix/print-formatting maybe solves this problem


proposal: time: add "1136214245" as layout string for unix timestamp

Proposal Details
2006-01-02T15:04:05Z07:00 as a UNIX timestamp (seconds since January 1, 1970) is<PHONE_NUMBER>.  (In milliseconds, it's<PHONE_NUMBER>000; in microseconds, it's<PHONE_NUMBER>000000; in nanoseconds, it's<PHONE_NUMBER>000000000.)
I propose being able to use these values as layouts with time.Parse.  For instance, the result of time.Parse("1136214245", "1707688329") would be Sun, 11 Feb 2024 21:40:11 GMT.  These values are unambiguous with the current std string and I believe could be added in a fully reverse-compatible manner.
My motivation is that I have some library code which converts from fmt.Stringer (such as a field from JSON input data) to time.Time by guessing several common layouts.  It currently special-cases situations where strconv.ParseFloat succeeds, and then tries to guess the appropriate unit.  This could be simplified if the standard library supported these layouts.

That strings seems pretty hard to remember.  And it's already possible to call time.Unix and friends, as you mention.  The case here doesn't seem compelling.

TBH, after over 10 years of writing Go, I never remember 2006-01-02T15:04:05Z07:00 either, and usually have to refer to the time.Parse docs or use a constant like time.RFC3339.  If this proposal passes, I would hope we'd add a similar constant as well.

This is a very odd request, asking a string parser to accept a purely numeric value. If you have the number, you don't need to parse it again.
Also, you should be using ParseUint not ParseFloat.

The source data gets coalesced into a string because all of the possible source types expose fmt.Stringer.  Yes, it is inefficient to have to convert it back to a numeric value, but there is no "Numberer" equivalent to fmt.Stringer in the standard library which supports taking an arbitrary type and returning a number.
ParseFloat was chosen because I see no reason to disallow fractional seconds.  I'm fine if this proposal is accepted and we decide either a) those` should not be allowed, or b) there should be a separate layout "1136214245.0" if they should be allowed.

Based on the discussion above, this proposal seems like a likely decline.
— rsc for the proposal review group

It would be very useful to have some way to get a UNIX time stamp out of time.Format.  Consider for example if an application lets the user supply a custom format string to produce time in the desired format.  If the user wants to script the application, it may be desirable to use UNIX time.  But current time.Format does not support this use case.

I'll also note, that having a format-specifier doesn't just allow to parse a string consisting entirely of a number as a time - it also allows to use that format-specifier in a substring. For example, a git commit internally stores author/commiter information as e.g.
author Axel Wagner<EMAIL_ADDRESS>1693893277 +0200

This proposal would allow a parser of this format to split off the name/email part and then call time.Parse("1136214245 -0700", "1693893277 +0200") to parse the time in the appropriate time zone. I actually ran into this many years ago, when trying to implement a puro-go git library.
I'm still not sure it's worth including, though. Also, I'll note that I disagree that this can be implemented in a fully backwards compatible manner:
t, err := time.Parse("1136214245", "1136214245")

Currently this returns an error "month out of range", while under this proposal, it would presumably return the reference time. In particular, it seems the layout-parser currently interprets the first "1" as the numeric month format specifier.

No change in consensus, so declined.
— rsc for the proposal review group


Class Point also used in other libraries

Hi
This is a great library and I really like it. Only thing I want to mention and suggest as an improvement is, that the class Point in the Point.h file is already used in other libraries, e.g. "M5core.h" -> "PointAndZone.h". This makes it very difficult to use in combination with the M5core2, which is a pitty.
Would be nice if this can be improved in a next version :)
Thanks anyway for this library. Great job!

There's no need to go and rename classes, instead include them inside a namespace, e.g.
namespace foo {
    #include "M5Score.h"
}

and then use it like this:
foo::yourClass;

Thank you for the hint, @Dewaeq.
@walserchr, in my defense, this library's Point seems to be older than the one from the M5Core repo.
The term Point has been chosen to comply with the API of other InfluxDB clients.
There is no viable solution for renaming or namespacing the class name to not break compilability with existing code.
As this occurs very rarely (you are the first one reporting it), the workaround by Dewaeq is the best solution.


Bonds in allyl cation are not conjugated

Reported by Paolo Tosco
In [2]: m = Chem.MolFromSmiles('C=C-[CH2+]')

In [3]: for b in m.GetBonds():
    print(b.GetIsConjugated())
   ...:
False
False

In [4]: for a in m.GetAtoms():
    print(a.GetHybridization())
   ...:
SP2
SP2
SP2

I noticed that also aromatic carbocations such as cyclopropenyl and tropylium are not perceived as aromatic, nor can be kekulized. I have submitted a pull request https://github.com/rdkit/rdkit/pull/540 which should fix all of these.

Fixed by #540


#33 - remove PPModelType

Current coverage is 97.49% (diff: 100%)

Merging #38 into master will increase coverage by 0.67%

@@             master        #38   diff @@
==========================================
  Files            24         24
  Lines           724        719     -5
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits            701        701
+ Misses           23         18     -5
  Partials          0          0

Powered by Codecov. Last update 81a4fd1...90dfa3b


Revert "Use dumb dbm driver for all platforms"

Reverts datarobot/batch-scoring#134

Coverage decreased (-0.03%) to 83.084% when pulling 77972a9546fc0f30e17ca7a15b0975c4a507c331 on revert-134-yehor/API-4967_use_dumb.dbm into a51241130910fffd33ea038d11a1a61aeed3cffc on master.


builder: generate licence file.

I'm not convinced this is a builder job; packager if anything. But I think redundant now we have the googlefonts-project-template. Please reopen if you had other ideas.


ssh terminal copy and past for command not working

How do you copy and paste? copy need select text then right click.


column().search() documentation

Search for data the selected column.

should be (missing in)
Search for data in the selected column.

http://datatables.net/reference/api/column().search()

Thanks for pointing this out - fixed here. I'll be redeploying the site with the fix in the coming week.


distro/rhel84/qcow2: add net-tools

cloud-init not longer depends on net-tools, so we need to add in the dependency explicitly.
We aimed for the qcow2 to be equivalent to the RHEL8.4 qcow2 produced by imagefactory. However, we missed this unintended change from RHEL8.3.
This pull request includes:

[x] adequate testing for the new functionality or fixed issue
[x] adequate documentation informing people about the change

thanks for the manifests ondrej!


Issue with package "bower-asset/screenfull"

Hi there!
I have issue with package bower-asset/screenfull - no dist folder in package.
bower.json details:
{
  "name": "screenfull",
  "description": "Simple wrapper for cross-browser usage of the JavaScript Fullscreen API, which lets you bring the page or any element into fullscreen.",
  "license": "MIT",
  "main": "dist/screenfull.js",
  "authors": [
    {
      "name": "Sindre Sorhus",
      "email"<EMAIL_ADDRESS>      "url": "http://sindresorhus.com"
    }
  ],
  "keywords": [
    "fullscreen"
  ],
  "ignore": [
    "**/*",
    "!dist/screenfull.js"
  ]
}

Seems issue with **/*. Can you fix behavior of the plugin for such ignore?

You can temporarily disable or change the cleaning rule, read Disable or replace the deleting of the ignore files for Bower.
If you create an PR, it will be quickly merged.

Thanks!

Fixed by #219.


nothing happen when Combine Duplicate Cards

nothing happen when >> Run anki, click Tools->Combine Duplicate Cards!!
Why?

Would give me more details? For example, details of the two cards you want to combine. Currently it will only combine cards have the same "Definition" field.


99% lfw verfication accuracy, but only 2.7% on other dataset

Hi, David, Thanks for your excellent work.
Based on your code, I tried to implement another model, which ahieved 99% verfication accuracy on LFW dataset. But when I tried to extract featurs for other dataset, the performance was just 2.7% (center loss model can achieve 60%, vggface model can achieve 54%). The performance was so low that I thought I must miss somethig. Do you have any ideas about this?

You should be able to get ~50% verification performance on LFW by pure chance. If you get 2.7% accuracy then it sounds like you have confused the flag indicating same and different pairs or something like that.

2.7% is on another dataset. Let me state the problem as following:
During training, my model can achieve 98.9% accuracy on LFW. But when I tried to valiated my saved model on LFW by validate_on_lfw.py, the accuracy is just 66.7%.

I think you should carefully check your own code, especially the pre-processing. Have you used the same pre-processing skills(face detection, pixel value normalized to [0, 1]). Without code, it is impossible to find your errors extactly.

2.7% means if you treat the wrong answer as right, you got 97.3% accuracy!?


Transport security: implement transport TLS encryption

Implement transport TLS encryption for both HTTP and gRPC.

After trying for many times to implement HTTP TLS encryption integrated with go-kit, I find it’s very hard to accomplish with localhost server name, though normal implementation is just fine but it’s hard to test locally and credentials in testdate can’t be used.

err="Post https://localhost:8080/validate: x509: certificate signed by unknown authority"

Test still failed.

Should set tls handshake bypass unknown authority.


Updating pkg to latest for 0.11 release.

Proposed Changes

Prepping for 0.11 release. Update knative.dev/pkg to latest from branch release-0.11.

Release Note
NONE

/cc @mattmoor

/lgtm


flight details Problem

details = fr_api.get_flight_details(flight_id="B738")
flight.set_flight_details(details)
print("Flying to", flight.destination_airport_name)
for this api call i get an unresolved reference 'flight' how do the flight detail calls work?

The flight_id is not the aircraft name but an ID created by FlightRadar24 do identify each flight. Example:
random_flight = fr_api.get_flights()[0]
print("The ID for this flight is:", random_flight.id)  # The ID for this flight is: 2af43d19
details = fr_api.get_flight_details(flight_id= random_flight.id)
random_flight.set_flight_details(details)

Is there a way to find the flight_id for a certain flight?
I scanned an area for flights and got a list and now I want to get details of the flights in this list

Such as the sample above, each flight object has the attribute id.

Thank you very much for helping very much appreciated :)

random_flight = fr_api.get_flights()[0]
    print("The ID for this flight is:", random_flight.id)
    details = fr_api.get_flight_details(random_flight.id)
    random_flight.set_flight_details(details)
    print("Flying to", random_flight.destination_airport_name)

I tried getting the flights destination but get an attribute error
AttributeError: 'NoneType' object has no attribute 'get'
but if i try to get the Altitude
print(random_flight.get_altitude())
I get the actual height


cp-sat solver slowly finishes when asked to stop in callback listener

What version of OR-Tools and what language are you using?
Version: v9.5
Language: C++/Java
Which solver are you using (e.g. CP-SAT, Routing Solver, GLOP, BOP, Gurobi)
CP-SAT
What operating system (Linux, Windows, ...) and version?
Debian 11, Windows 11
What did you do?
Run attached proto file, stop after first solution by calling stopSearch in callback (java) or setting stop variable to true in observer (c++).
What did you expect to see
A solver stops short time after fist solution was found.
What did you see instead?
A solver stops more than one minute after first solution was found in case of linux and c++, in windows and java it was nearly 2 minutes on same computer. During that time one core was fully used by a process. Since first solution is found under 10 seconds, waiting minutes to stop solver is not acceptable.
long_time_to_stop.zip

please do not use sentence like 'not acceptable' :-)

I mean it as not pleasing used by the way in Webster dictionary for definition of unacceptable. But now I see that it can be understand as more offending. Sorry

No harm done. I decided not to let these miscommunications unreported. Even if sometimes, it is a cultural/language mismatch.


How do I query Microsoft SQL Server correctly?

I ran the code below
var variableName models.SomeModel
db.LogMode(true)
db.Debug().First(&variableName , [entered id that exists])
and all I got was  {0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0} and I know this entry isn't empty. Did I do something wrong? I tried using a slice instead of my gorm object but it still had the same result and the SQL query spat out by debug works correctly when executed inside MSSQL so I'm not sure what's going on. Anyone have any ideas?

Does it support Microsoft Sql Server?

Can you create an executable script: https://github.com/jinzhu/gorm/blob/master/CONTRIBUTING.md#executable-script-template please.
GORM does work for MSSQL, it must be something you're doing your end. Happy to help if you provide a few more details! Displaying the full connection, migration and logs would be helpful

All GORM tests passed for mssql, if you still have the same issue, please create a new issue.
Thank you.


Darker and warmer variants

Hello.
This colorscheme is great but darker and warmer variants would add value for different people and configurations. https://github.com/sainnhe/gruvbox-material and https://github.com/ramojus/mellifluous.nvim are good examples of how implementing different variants in the same colorscheme.
I have created a darker and warmer variant in https://github.com/Martin1887/melangeDarkerWarm-nvim (without implementing different schemes), though it slightly breaks the philosophy of cold colors for data of melange (maybe cooler colors for data).
Thanks.

I'm not opposed to the idea of adding more variants, but it might take a while before I get around to it.
I originally designed Melange without accessibility in mind. It was only recently that I started to pay attention to that, so I might update the palette in the future to have "objectively" better color contrast. If I do add a "hard" variant (darker background, saturated foreground colors) that'd be priority №1.
In the future, I'd also like to create a 256-color variant and a protan/deutan variant, but Melange is not very high on my list of priorities right now.
I'll work on this when I have more time.

Nice, my fork has a darker background and better color contrast (only dark variant has been modified), check it when you want.


Option to automatically respond to ping requests

Would be neat if wscat could be configured to automatically send a pong reply when receiving a ping.

This is done automatically by ws and is part of the WebSocket spec.

I'm using wscat to conencto a primus websockets server and it's not sending a pong automatically. I get disconnected all the time.


http: Allow -1 as parent

ack https://github.com/adtac/commento/pull/102/commits/1db1fa0ea468e6cc11abe1fa56fbf7e1a363aaa7


Add guidance to infertrade package readme on how to use the InferTrade API

Explanation
We have just added documentation for our API at api.infertrade.com. This allows users of the infertrade package to make calls to our API if they want to calculate statistics or optimise their trading rules, just as they already can on InferTrade.com.
We would like to add brief documentation explaining how to integrate Python code with usage of the API.
To do list

[x] Create a script that take a trading strategy, calculate performance and then uses the API to determine the Sharpe Ratio.
[x] Add guidance to the readme on how to i) get an API key from<EMAIL_ADDRESS>ii) use the API for calculations.

Thanks @asifnawaz24 and @bi-kash


Extension fails to load in GNOME 3.32

The usual! 😄, GNOME isn't exactly friendly with extensions backwards compat, eh 😕.
Here are the errors I see in journalctl:
gnome-shell[19665]: JS ERROR: TypeError: label is undefined
                    onAppMenuHover/tooltipDelayCallbackID<@/home/ronj/.local/share/gnome-shell/extensions/pixel-saver@deadalnix.me/app_menu.js:116:8
gnome-shell[19665]: [pixel-saver]: 'appmenu' is not a valid button.
gnome-shell[19665]: JS WARNING<EMAIL_ADDRESS>216]: assignment to undeclared variable success
gnome-shell[19665]: JS WARNING<EMAIL_ADDRESS>216]: assignment to undeclared variable pid
gnome-shell[19665]: Some code called array.toString() on a Uint8Array instance. Previously this would have interpreted the bytes of the array as a string, but that is nonstandard. In the future this will return the bytes as comma-separated digits. For the time being, the old behavior has been preserved, but please fix your code anyway to explicitly call ByteArray.toString(array).
                    (Note that array.toString() may have been called implicitly.)
                    0 getOriginalState() ["/home/ronj/.local/share/gnome-shell/extensions/pixel-saver@deadalnix.me/decoration.js":154]
                    1 setHideTitlebar() ["/home/ronj/.local/share/gnome-shell/extensions/pixel-saver@deadalnix.me/decoration.js":203]
                    2 onWindowAdded/<() ["/home/ronj/.local/share/gnome-shell/extensions/pixel-saver@deadalnix.me/decoration.js":297]

I'm using the latest version available on extensions.gnome.org.

From a no-title-bar (similar extension) request:

In GNOME 3.32 _GTK_HIDE_TITLEBAR_WHEN_MAXIMIZED is gone: https://gitlab.gnome.org/GNOME/mutter/merge_requests/221
They say that extensions should use _MOTIF_WM_HINTS instead.

I have fixed this issue in my extension (unite) and this is the final solution:
https://github.com/hardpixel/unite-shell/blob/master/unite%40hardpixel.eu/modules/windowDecoration.js#L86
More info on possible problems using _MOTIF_WM_HINTS:
https://gitlab.gnome.org/GNOME/mutter/merge_requests/221#note_461106

For me it fails with the following error:
TypeError: global.screen is undefined

@feimosi https://github.com/pixel-saver/pixel-saver/issues/178#issuecomment-423320666

In addition to already-mentioned extension "Unite" but may do too invasive (as it tries to replicate Ubuntu's Unity feel), I just found https://github.com/velitasali/GTKTitleBar / https://extensions.gnome.org/extension/1732/gtk-title-bar/ , which seems to do the job.

Note that the global.screen error first appears in 3.30, is the subject of #195 but is not released yet (#177).

For me it fails with the following error:
TypeError: global.screen is undefined

Install the application not from extensions website (see #177) but from this repository.

In addition to already-mentioned extension "Unite" (which works but may be too invasive, as it tries to replicate Ubuntu's Unity feel), I just found extension GTK Title Bar - Remove Title Bar for non-GTK Software / https://extensions.gnome.org/extension/1732/gtk-title-bar/ , which is weirdly named but seems to do the job very well under 3.32 .

GNOME 3.32 has been merged in #199.


Update tests and model validators for phalcon v3 support

Update tests and model validators for phalcon v3 support

@tegaphilip This is a major upgrade. it breaks BC. So this will be released as 2.0.0. Existing projects will only get minor updates and bug fixes depending on the version constraint specified in composer.json. I'm sure projects within @CottaCush have version constraints set to ensure this.


train VeRi dataset

Hi @heshuting555 ！ thanks for your great work!
When I try to train the VeRi-776 dataset, I met a error.
python train.py --config_file='configs/baseline_veri_r50_a.yml' MODEL.DEVICE_ID "('3')" OUTPUT_DIR "('log/')"
the following is the result
Traceback (most recent call last):
  File "train.py", line 62, in <module>
    model = make_model(cfg, num_class=num_classes)
  File "/data/DMT/model/make_model.py", line 126, in make_model
    model = Backbone(num_class, cfg)
  File "/data/DMT/model/make_model.py", line 67, in __init__
    self.base.load_param(model_path)
  File "/data/DMT/model/backbones/resnet_ibn_a.py", line 164, in load_param
    self.state_dict()[i.replace('module.','')].copy_(param_dict[i])
KeyError: 'base.conv1.weight'

I used your  weights  resnet50_ibn_a_80.pth
Could you please help me? Thank you very much!

Hi,
I guess you set cfg.MODEL.PRETRAIN_CHOICE==“self”. You can set cfg.MODEL.PRETRAIN_CHOICE == 'finetune'. And I specified a fixed num_class on line 57 of train.py, because it is convenient to reproduce the competition result. You can change it to model = make_model (cfg, num_class = num_classes) . And anything will go well.
Thank you for your attention！

Thank you！
I have solved this problem according to your guidance！Thank you very much！

Hi, shuting! @heshuting555 I want to know have you use re-ranking to get  the three results of veri776?

Hi,
No, We did not use any post-processing methods. More specific details can be found in the log of our experiment.
Thank you for your attention！


System test check auth with multiple group names

Use multiple group names while testing auth groups.
The test target environment which configured to use ACL groups and older groups names from RBAC environments.
The system test will try to add the user to use of the following groups for each test. One of the groups should be successful for us to test the client request

"Supers", "SuperUsers"
"Writers", "Developers"
"Readers", "Viewer"

Thanks @arielshaqed updated


Key generation quoting issues

Quote passphrases & UIDs with shlex & use passphrase-fd instead of passphrase

Also just in general QUOTE ALL USER INPUT
TRUST NO ONE


Warning logging doesn't log

In the file api/apiserver.py, in the logit method, it checks if the type is "warning", but "warn" is passed in.

Merged your change, nice catch :)


bug (replicator): Reintroduce the (fid, signer) uniqueness constraint

What is the bug?
There are duplicate rows in postgres for a signer with the same fid and signer public key
How can it be reproduced? (optional)
Run replicator to full sync and restart a few times using another hub
Additional context (optional)
Constraint was added and then dropped temporarily to unblock migration. https://github.com/farcasterxyz/hub-monorepo/pull/1298. The migration requires an operation on the signers table that combines multiple rows into a single row that represents the current state of the signer before the constraint can be applied to the table again.

cc @sanjayprabhu

This constraint is re-introduced in the new replicator app in #1462.


Align Forward message with RFC 0094: msg must be JSON dict, not a string

As defined in the RFC nested msg in Forward must be nested JSON object returned by pack message
https://github.com/hyperledger/aries-rfcs/tree/master/concepts/0094-cross-domain-messaging#corerouting10forward

Codecov Report

Merging #240 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #240      +/-   ##
==========================================
+ Coverage   73.51%   73.51%   +<.01%
==========================================
  Files         219      219
  Lines       10267    10268       +1
==========================================
+ Hits         7548     7549       +1
  Misses       2719     2719

@kdenhartog FYI

As I understand it, this PR matches the RFC. @andrewwhitehead @tmarkovski - hwo can we resolve this.  Do we need to coordinate new releases of Streetcred Mobile app and ACA-Py to get this changed?
Thanks

Yes, we need to coordinate the release to avoid breaking changes. I'm a little unclear though, libindy returns the pack result as string, but the forward wants it as object. In strongly typed languages this adds a step of converting the string to a JSON first. What is the reason for the type change in the forward message? Especially since we talked about reworking the routing standard?

@jovfer @tmarkovski @andrewwhitehead - could one of you take the lead on this for discussion on the next Aries Working Group call so we can get this clarified and an approach defined?
@TelegramSam - could you add this to the agenda?


Replace Int/Float Filter with NumericFilter

String and ID scalars share a filter type, but Float and Int do not:
type A {
  id: ID
  s:  String
  i:  Int
  f:  Float
}

input AWhereInput {
  id: StringFilter
  s:  StringFilter
  i:  IntFilter
  f:  FloatFilter
}

We should be polymorphic where doing so is unlikely to want/need breaking in the future
It seems unlikely that Int Float filters will need to diverge
Since Int is a subtype of Float, we could make a NumericFilter of float-type input fields
For TS (ECMA) there is no distinction between Float and Int anyways (just number type) so in a typed resolver signature nothing would change, actually. That is, TS already sees IntFilter and FloatFilter as having the exact same types.

Reasons not to do this:

clients talk to GQL services agnostic about the implementation.
NumericFilter, at the GQL level, takes advantage of an JS implementation detail (number type)
This is a leak, in the sense that, in a Haskell or Rust GQL schema, we probably would need the distinction between Int and Float filters.

I think the leak aspect is a strong enough reason to not do this. CC @Weakky any thoughts welcome.

This is a leak, in the sense that, in a Haskell or Rust GQL schema, we probably would need the distinction between Int and Float filters.

Are there systems where a distinction between ID and String would be made? If so the same argument can be made for them. That is, we should have an IDFilter apart from StringFilter.


Add mouse camera jump fix.

Offsets and bytes taken from https://github.com/brndd/vanilla-tweaks/issues/17
For reference, I used: Vanilla.txt, Turtle WoW Camera Patch.exe, and Vanilla Camera Patch.exe.
Tested on Turtle WoW.
I can make further changes if needed.

Thanks for this!
I saw this fix when the issue was made, but haven't had the time to test it out yet -- and I'm not sure if I could easily do that anyway, because I don't think I've noticed the cursor jumping problem very often on Wine. In any case, I'll give your patch a try soon.
Have you played with this, and if so, have you noticed any side effects?

Without the patch, every 3 right clicks would send my mouse to the center of the screen (with Hardware Cursor enabled). So the fix is definitely working and I haven't encountered any side effects yet.
I also just set up VanillaFixes + nampower and it feels good so far.


initial clean up

This PR simply cleans up the starter code. Primarily it removes minor PEP8 issues.

Adds Pipfile.lock to .gitignore (this is required because Pipfile.lock contains platform specific code)
Fixes PEP8 issues
Adds Family Promise title to the API docs

Sounds good to me.

Looks good to me


python3Packages.aioh2: mark as broken

Motivation for this change
It is unmaintained and requires an old version of h2.
Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

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

@alyssais This means doh-proxy is broken too, but they seem to have dropped the dependency on aioh2 in master.

Duplicate of #109409

Duplicate of #109409


Fixed a bug causing loss of nanosecond precision when time is not given

Hi,
The Normalize function was converting nanoseconds (int64) into seconds (int64) and then casting to float64, losing all the floating points. The proposed changes fixes it.
Please merge :)

@fluffy Could you please merge this?

You can't change the license on this.

I didn't mean to have that in the pull request. Seems like every commit on master ends up here.
I thought the repo is inactive and started to maintain it on my own, hence the license change and notice file. I will cleanup the branch in case you want to merge.

It now included only the fix. I have also updated the tests which were failing prior to this.

I'm closing the PR. If needed, feel free to merge manually.


Authentication failure

I am using Windows 10 and trying to get your vagrant configuration working but I keep getting the message "Warning: Authentication failure. Retrying...".
I do have ssh keys already set up on the root folder i.e user/username/.ssh/id_rsa which is used by my homestead environment for laravel projects. I am not sure how to configure your Vagrant settings to work around this issue.

Hi, sorry for the delay. Yes the issue persists. Here are the steps I've gone through taking into account the following specs:

Windows 10 Pro 64
Vagrant 2.2.3
VirtualBox 5.6.2

Steps:

git clone https://github.com/P3trur0/vagrant-electron
cd vagrant-electron
vagrant start

When vagrant attempts to set up SSH, I get the following:
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Connection reset. Retrying...
    default: Warning: Connection aborted. Retrying...
    default: Warning: Remote connection disconnect. Retrying...
    default: Warning: Authentication failure. Retrying...
    default: Warning: Authentication failure. Retrying...
    default: Warning: Authentication failure. Retrying...

And it keeps throwing this error non stop. Sorry if this is not an issue related to the box. But I found it even odd to see that another user did use this box on Windows and had no issue. I am assuming maybe, he didn't have homestead set up at global level. This causes my .vagrant.d folder to already have an insecure_private_key file which is eventually a replicate of the id_rsa I have in .ssh under my root user folder on Windows.
From what I read, I assume I should do something in the provision for it to know to use the same SSH? would that be the cause of being unable to access the machine?

Hi @jyrula I'll take a look in next days :smile_cat: Thank you for the detailed description!

Hi, thanks for the above. I encountered the suggested solution but it didn't work. But that one additional step from the answer you linked "Don't forget to add your public key to ~/.ssh/authorized_keys on the Vagrant VM" did resolve the issue. I am now able to vagrant up without further errors. Though I feel this is wrong in the sense that: a user already using another vagrant machine and being on Windows trying this box out would eventually have to:

vagrant up once and encounter the error
exit the process and vagrant ssh
copy the public keys in and exit
vagrant halt, amend the VagrantFile and then vagrant up
I am guessing there might be a way to automate this copying of the public key from host to guest but I'll have to do some research.

Right now I have another issue where I am unable to run npm install on the guest machine without encountering errors "ETXTBSY: text file is busy". I assume this is again another Windows issue... I am severely getting tired of how everything gets painful on Windows. I'll be focusing on getting npm to run first on this, then I'll get back here if I find a suggestion for automating the public key copying.

Hi @jyrula thank you for your detailed scenario description. Indeed, running this VM on Windows sounds quite annoying. However, please keep me updated about your progress with it. I mean, given your description we could either improve the documentation or find some automatic mechanism to get rid of all these issues. :muscle:

Hi @P3trur0, thanks again for your help on this. I encountered a situation where I messed up the box while attempting to resolve the issue with NPM, so I decided to destroy the machine but, then realized I would have to go through the steps above manually again...
So I gave up on the npm issue and now trying to figure out how homestead achieves this process automatically. Today I was in a situation where I tried two instance of homestead at a time, and had no issue when it came to the SSH part (I mean it does seem to sort it out on its own despite that the logs felt like it was doing something with the host insecure_private_key).
So far, what I am reading seems to be in Ruby? (.rb file)
        # Configure The Public Key For SSH Access
        if settings.include? 'authorize'
            if File.exists? File.expand_path(settings["authorize"])
                config.vm.provision "shell" do |s|
                    s.inline = "echo $1 | grep -xq \"$1\" /home/vagrant/.ssh/authorized_keys || echo \"\n$1\" | tee -a /home/vagrant/.ssh/authorized_keys"
                    s.args = [File.read(File.expand_path(settings["authorize"]))]
                end
            end
        end

        # Copy The SSH Private Keys To The Box
        if settings.include? 'keys'
            if settings["keys"].to_s.length == 0
                puts "Check your Homestead.yaml file, you have no private key(s) specified."
                exit
            end
            settings["keys"].each do |key|
                if File.exists? File.expand_path(key)
                    config.vm.provision "shell" do |s|
                        s.privileged = false
                        s.inline = "echo \"$1\" > /home/vagrant/.ssh/$2 && chmod 600 /home/vagrant/.ssh/$2"
                        s.args = [File.read(File.expand_path(key)), key.split('/').last]
                    end
                else
                    puts "Check your Homestead.yaml file, the path to your private key does not exist."
                    exit
                end
            end
        end

I am trying to make sense of this and apply it on the VagrantFile of your box. This will take me a bit as my experience with Vagrant is limited as the homestead file seems to take care of all of the overheads vagrant involves.

So my current VagrantFile looks like this
# -*- mode: ruby -*-
# vi: set ft=ruby :

HOSTNAME_MACHINE = "electron.box"

# Setup root script
$baseScript = <<SCRIPT
		echo "I am provisioning a #{HOSTNAME_MACHINE} machine"
		cd /home/vagrant
		add-apt-repository ppa:git-core/ppa
		apt-get update
		apt-get install -y vim git curl
		echo "Installing required graphical libraries for Electron"
		apt-get install -y libgtk2.0-0
		apt-get install -y libxss1
	    apt-get install -y GConf2
		apt-get install -y libnss3
		# apt-get install -y libcanberra-gtk*
SCRIPT

# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.

Vagrant.configure(2) do |config|
	hostname = HOSTNAME_MACHINE
	locale = "en_GB.UTF.8"

    # Allow SSH Agent Forward from The Box
    config.ssh.forward_agent = true

	config.vm.provision "shell" do |s|
        s.inline = "echo $1 | grep -xq \"$1\" /home/vagrant/.ssh/authorized_keys || echo \"\n$1\" | tee -a /home/vagrant/.ssh/authorized_keys"
        s.args = [File.read(File.expand_path("~/.ssh/id_rsa.pub"))]
    end

    # Copy The SSH Private Keys To The Box
    config.vm.provision "shell" do |s|
        s.privileged = false
        s.inline = "echo \"$1\" > /home/vagrant/.ssh/$2 && chmod 600 /home/vagrant/.ssh/$2"
        s.args = [File.read(File.expand_path("~/.ssh/id_rsa")), "~/.ssh/id_rsa".split('/').last]
    end

	# Box
	config.vm.box = "ubuntu/trusty64"
	# Shared folders
	config.vm.synced_folder ".", "/vagrant", owner: "vagrant", group: "vagrant"

	# Removes "stdin: is not a tty" annoyance as per
	# https://github.com/SocialGeeks/vagrant-openstack/commit/d3ea0695e64ea2e905a67c1b7e12d794a1a29b97
	config.ssh.shell = "bash -c 'BASH_ENV=/etc/profile exec bash'"

	#setup X-Forwarding
	config.ssh.forward_x11 = true

	# Provision basic tools
	config.vm.provision :shell, :inline => $baseScript
	config.vm.provision :shell, :path => "scripts/setup.sh", privileged: false

	config.vm.provider "virtualbox" do |vb|
		vb.customize	[
			"modifyvm", :id,
			'--cableconnected1', 'on',
			"--memory", 1024,
			]

		# Allow the creation of symlinks for nvm
		# http://blog.liip.ch/archive/2012/07/25/vagrant-and-node-js-quick-tip.html
		vb.customize ["setextradata", :id, "VBoxInternal2/SharedFoldersEnableSymlinksCreate/vagrant","1"]
	end
end

But that doesn't solve the issue. I still keep getting the Authentication failure and it doesn't seem to have copied the public key. Though, vagrant ssh-config seems to reference the right/insecure_private_key

@jyrula yep, that's Ruby.

Sorry, I've moved away from using the above solution due to evolution in technology since. Closing the issue as assuming it's no more relevant.


Any chance you can help change the BioAuthenticator.swift so it can be used by existing Objective C project?

It seems that Objective C is having trouble importing the public methods (if I add the @objc attribute to it).  The success function block and failure function block is not compatible with Objective C.
thanks,
BioMetricAuthenticator.swift:52:203: Function types cannot be represented in Objective-C unless their parameters and returns can be
    /// Check for biometric authentication
    public class func authenticateWithBioMetrics(reason: String, fallbackTitle: String? = "", cancelTitle: String? = "", success successBlock:@escaping AuthenticationSuccess, failure failureBlock:@escaping AuthenticationFailure)

@billylo1, as of now you can create a new swift class inherited from NSObject and use the pod from that file.
ex.
@objc class Authenticator: NSObject {

    // MARK: - Singleton
    static let shared = Authenticator()

    func peformAuthentication() {

        BioMetricAuthenticator.authenticateWithBioMetrics(reason: "", success: {

            // authentication successful

        }, failure: { [weak self] (error) in

            // failed
        })
    }
}

and calling from objective c file: [[Authenticator shared] peformAuthentication];


💡 [REQUEST] - Make Modular CSS for internship.js

Create a separate CSS file named Internship.css
Redesign the CSS and add some good properties.
Please keep the class name meaningful
Remove that CSS from global CSS or any place all CSS should be in one file corresponding to that component / Page

Concept: Modular CSS
For Help refer : https://github.com/anmode/grabtern-frontend/commit/28db8d25a0bdac3670a984348e273f96197c37c7

I would like to work on this issue under GSSoC'23

Can I also work on the same issue?

@Asthasingh-2002 interested?


Add: Nord, City Lights, Darcula; Better Solarized Light

Nord:

City Lights:

Darcula:

Solarized Light:

These look great, but I was bothered by how much doom-themes-common has been changed, which had a drastic effect on the other themes.
I've cherrypicked bits and pieces into the common rules (you'll find a summary in ff0965b).
Please try out the themes and let me know if anything looks amiss.

@hlissner Ah I guess I did note correctly limit the changes to only those theme files when merging from my local worktree 😂I did intended to only commit the change on theme files only (if you check the "files changed", there should only by those files got involved.) Maybe I should use a file-based diff rather than directly merge from my worktree. (Or maybe I can limit the merge to some specific files, and compress commit history into a single commit? Any idea?) Sorry for my unfamiliarity with Magit (git) 😅
Anyway, I would also like to thank you for provide such an excellent theme base (which is really easy to customize) and the awesome Doom-config! My emacs is really like day vs night than one year before!


camera plugin rotates photos 90 degrees on all iOS devices

Steps to Reproduce

Run code here: https://github.com/efortuna/final_countdown (apologize in advance that this demo isn't smaller) on a physical iOS device. iOS Simulator won't take pictures. It will take a picture every 10 seconds.
All the camera code is in photo_clock.dart.
Notice how the images are rotated 90 degrees.
Note that there was a potentially related bug in the image picker: https://github.com/flutter/flutter/issues/9894, that was fixed a bit ago. I tried making this fix myself in the camera plugin, by specifying connection.videoOrientation = (AVCaptureVideoOrientation)deviceOrientation; in CameraPlugin.m but this did not seem to have any effect on the pictures I got back. I've done quite a bit of searching on this issue... some SO posts that are maybe helpful are here: https://stackoverflow.com/a/16074603 and here: https://stackoverflow.com/questions/43298062/save-a-rotated-picture-swift3.

[✓] Flutter (Channel master, v0.11.8-pre.9, on Mac OS X 10.13.6 17G3025, locale en-US)
    • Flutter version 0.11.8-pre.9 at /Users/efortuna/flutter
    • Framework revision 921117f4d3 (20 hours ago), 2018-11-19 15:23:40 -0800
    • Engine revision 2f1b388f5a
    • Dart version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)

[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
    • Android SDK at /Users/efortuna/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling
      support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.1, Build version 10B61
    • ios-deploy 1.9.4
    • CocoaPods version 1.5.3

[✓] Android Studio (version 3.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin installed
    • Dart plugin version 173.4700
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)

[✓] VS Code (version 1.29.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 2.20.0

[✓] Connected device (1 available)
    • Android SDK built for x86 • emulator-5554 • android-x86 • Android 8.1.0 (API 27)
      (emulator)

• No issues found!

This sounds like lack of EXIF data. :)

Indeed. Above I linked to a bug in the ImagePicker plugin with that exact issue (#9894).

#19458, #16587,  #18391 look similar/related

I am having the same issue
When I take a picture with a Google Pixel 2 XL, images are rotated on iOS devices.
But if I take the picture with a Nexus 6P, everything works fine.

I've written notes about how to add exif on iOS/Android to: https://github.com/flutter/flutter/issues/10533#issuecomment-441719073 . I suspect all of these exif bugs are the same root cause and easy to fix.

I verified that the file written to disk actually has all the expected EXIF data. However, Flutter does not seem to honor the EXIF orientation flag: If I load any JPEG with that flag Flutter does not show the image properly. This is a regression of https://github.com/flutter/flutter/issues/10895#issuecomment-441858386. I am bisecting to figure out on which commit this broke.

@efortuna Can you confirm something for me:
Can you please go into your flutter checkout directory and do a
git checkout c319b890b33f2c15af043f2ab857e7c2944beefa
to go to the last good commit before the regression. After that, re-build and run your app. Are images now rotated correctly as expected on iOS?

Awesome. I am going to close this bug as a dup of https://github.com/flutter/flutter/issues/10895 then, which has more context about the actual issue. Please follow that one for progress.


Missing library libssl.so.1.1

Starting with this command
root@minecraft:~/minecraft# docker run -dit --name='minecraft2' -p 19132:19132/udp -e EULA=TRUE -e VERSION=1.16 --restart=unless-stopped itzg/minecraft-bedrock-server
./bedrock_server-<IP_ADDRESS>: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
2024-03-21T02:00:19.163Z        WARN    mc-server-runner        Minecraft server failed. Inspect logs above for errors that indicate cause. DO NOT report this line as an error.   {"exitCode": 127}
2024-03-21T02:00:19.163Z        INFO    mc-server-runner        Done

I am unable to recreate this issue. I'm hoping somebody else will have some advice for you.

Just some information that may be helpful: I get the same error when I run the container under the x86_64 architecture. However, when I run the container under the arm64 architecture, it works fine.

Just some information that may be helpful: I get the same error when I run the container under the x86_64 architecture. However, when I run the container under the arm64 architecture, it works fine.

Yes. I am running it on x86_64


[Bug]: RUNFILES dir resolution sometimes wrong in "transitive" case

What happened?
Hi,
I have a case of (3) in:
# Set a RUNFILES environment variable to the root of the runfiles tree
# since RUNFILES_DIR is not set by Bazel in all contexts.
# For example, `RUNFILES=/path/to/my_js_binary.sh.runfiles`.
#
# Call this program X. X was generated by a genrule and may be invoked
# in many ways:
#   1a) directly by a user, with $0 in the output tree
#   1b) via 'bazel run' (similar to case 1a)
#   2) directly by a user, with $0 in X's runfiles
#   3) by another program Y which has a data dependency on X, with $0 in Y's
#      runfiles
#   4a) via 'bazel test'
#   4b) case 3 in the context of a test
#   5a) by a genrule cmd, with $0 in the output tree
#   6a) case 3 in the context of a genrule

that sporadically fails. sh_binary X has a dep on js_binary Y. RUNFILES should resolve to X.sh.runfiles, and most of the time it does, but sporadically it resolves to Y.runfiles, which manifests as a downstream failure to resolve node in the following block of the sh wrapper, because Y.runfiles doesn't exist:
export JS_BINARY__NODE_BINARY="$JS_BINARY__RUNFILES/web/../tw_node_18_darwin_arm64/node"
    if [ ! -f "$JS_BINARY__NODE_BINARY" ]; then
        logf_fatal "node binary '%s' not found in runfiles" "$JS_BINARY__NODE_BINARY"
        exit 1
    fi

Y.runfiles is printed in the failing case; X.runfiles in the working cases.
Note the binary is being invoked via bazel run.
Version
Development (host) and target OS/architectures:
Output of bazel --version:
6.3.1
Version of the Aspect rules, or other relevant rules from your
WORKSPACE or MODULE.bazel file:
    http_archive(
        name = "build_bazel_rules_nodejs",
        sha256 = "709cc0dcb51cf9028dd57c268066e5bc8f03a119ded410a13b5c3925d6e43c48",
        urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/5.8.4/rules_nodejs-5.8.4.tar.gz"],
    )

    http_archive(
        name = "rules_nodejs",
        sha256 = "8fc8e300cb67b89ceebd5b8ba6896ff273c84f6099fc88d23f24e7102319d8fd",
        urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/5.8.4/rules_nodejs-core-5.8.4.tar.gz"],
    )

    http_archive(
        name = "aspect_rules_js",
        sha256 = "7b2a4d1d264e105eae49a27e2e78065b23e2e45724df2251eacdd317e95bfdfd",
        strip_prefix = "rules_js-1.31.0",
        url = "https://github.com/aspect-build/rules_js/releases/download/v1.31.0/rules_js-v1.31.0.tar.gz",
    )

Language(s) and/or frameworks involved:
How to reproduce
No response
Any other information?
No response

This came up in the context of a question on Bazel Slack: https://bazelbuild.slack.com/archives/CEZUUKQ6P/p1715513010992479?thread_ts=1715434089.351019&cid=CEZUUKQ6P.
"sporadically" is strange and interesting. Did you have --nobuild_runfiles_links set when you saw this @matthewjh?


server/sandbox_list.go: No error on filtered list find by ID

We should not error when we try to find a pod ID in a filtered
list of sandboxes; instead we should return an empty struct
and log it.
This fixes another cri-test failure.
Signed-off-by: baude<EMAIL_ADDRESS>

/test all

This looks like the fedora AMI has not been updated while the RHEL one has?  @mrunalp fedora is still failing with the bad runc.

/retest

/retest

@stevekuznetsov @cevich @mrunalp This looks like the tests are hung up?

We're having some downtime with Jenkins right now, please hold tight.

LGTM and Tests passing, merging.


Dataset json

This PR is for adding Dataset-JSON file format as permisible data format.
XPT remains the default data format but users can use -df or --data-format option with value "json" in validate command call(i.e. core.py validate -s sdtmig -v 3-4 -d Examples/sdtm -dv 2.0 -df json)
Moreover, test command now accepts either Dataset-JSON or JSON dataset format that match the one provided by the rule editor.
This PR also fixes a minor bug when the test command is called from a Windows environment.

Forgot to mention jsonschema module needs to be installed as well.

Forgot to mention jsonschema module needs to be installed as well.

It should be added to the requirements.txt file so the tests pass

I guess I still have some more work to do to pass the tests. Didn't know about those. Will get to it next week.

Closing for now to revisit unit testing


Support for Beautiful Lyrics

Currently it does not blend with the background colors. It goes on a single color instead of being dynamic.
 How it looks
 How it's supposed to look

I will add it soon, no worries 🤗.

Appreciate it!

Added!

Oop forgot to ping the commit
https://github.com/Tetrax-10/Nord-Spotify/commit/c0beb333686dd74960b9fe42285c849f3d64700d


Not downloading m4a, 320kbps

Kindly fix this asap in fact tidal downloader gui dead. Thank you

This issue is a duplicate of issue #92
Workaround:

Disable option "Convert mp4 to m4a"
Convert the downloaded mp4 files to m4a files without quality loss, by executing the following command from the command prompt (put this command in a batch file MP4toM4A.bat, and use a recent version of ffmpeg .exe):
for %%a in (*.mp4) do ( ffmpeg -i "%%a" -vn -c:a copy "%%~na.m4a" )

With this command the meta data (title, artist, album) in the input file is preserved, and the aac encoded audio data is copied from the mp4 file to the m4a file without any re-encoding. The -vn option removes the embedded artwork. If you you want to preserve the artwork remove the -vn option.

Where is mp4tom4a.bat and how to add this command line into mp4tom4a.bat,
thank you in advance
On Fri, 1 Oct 2021, 01:05 CornelisJ, @.***> wrote:

This issue is a duplicate of issue #92
https://github.com/yaronzz/Tidal-Media-Downloader-PRO/issues/92
Workaround:

Disable option "Convert mp4 to m4a"
Convert the downloaded mp4 files to m4a files without quality loss,
by executing the following command from the command prompt (put this
command in a batch file MP4toM4A.bat, and use a recent version of ffmpeg
.exe):
for %%a in (*.mp4) do ( ffmpeg -i "%%a" -vn -c:a copy "%%~na.m4a" )

With this command the meta data (title, artist, album) in the input file
is preserved, and the aac encoded audio data is copied from the mp4 file to
the m4a file without any re-encoding. The -vn option removes the embedded
artwork. If you you want to preserve the artwork remove the -vn option.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/yaronzz/Tidal-Media-Downloader-PRO/issues/104#issuecomment-931737031,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHF6L5EE7OGSZOIDPNPL2IDUETNIXANCNFSM43HMGBMA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Short answer: You need to create file mp4tom4a.bat yourself, using a text editor (for example notepad).
Long answer with details: You need to create file mp4tom4a.bat yourself, using a text editor. Also you need to make sure that both mp4tom4a.bat and ffmpeg.exe are located in a folder that is included in Windows PATH. I have noticed that tidal-gui (with option "Convert mp4 to m4a" enabled) has downloaded file ffmpeg.exe and placed it in folder C:\MediaToolkit. So what you could do is place the file mp4tom4a.bat in the same folder C:\MediaToolkit, and add this folder to the Windows environment variable PATH. If you don't know how to do this please google "Edit windows path variable".
Now after you have downloaded the 320kbps mp4 tracks from TIDAL using tidal-gui, navigate to the folder with the mp4 tracks and open a command prompt in this folder. This can be the standard windows command prompt or windows powershell (use google if you don;t know how to do this). Then in the command prompt type "mp4tom4a", and all mp4 files should be converted to m4a files.

Awesome, thanks!
On Fri, 1 Oct 2021, 13:48 CornelisJ, @.***> wrote:

Short answer: You need to create file mp4tom4a.bat yourself, using a text
editor (for example notepad).
Long answer with details: You need to create file mp4tom4a.bat yourself,
using a text editor. Also you need to make sure that both mp4tom4a.bat and
ffmpeg.exe are located in a folder that is included in Windows PATH. I have
noticed that tidal-gui (with option "Convert mp4 to m4a" enabled) has
downloaded file ffmpeg.exe and placed it in folder C:\MediaToolkit. So what
you could do is place the file mp4tom4a.bat in the same folder
C:\MediaToolkit, and add this folder to the Windows environment variable
PATH. If you don't know how to do this please google "Edit windows path
variable".
Now after you have downloaded the 320kbps mp4 tracks from TIDAL using
tidal-gui, navigate to the folder with the mp4 tracks and open a command
prompt in this folder. This can be the standard windows command prompt or
windows powershell (use google if you don;t know how to do this). Then in
the command prompt type "mp4tom4a", and all mp4 files should be converted
to m4a files.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/yaronzz/Tidal-Media-Downloader-PRO/issues/104#issuecomment-932122872,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHF6L5EHOXWE6BREWPVF6X3UEWGYPANCNFSM43HMGBMA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


How can I deploy Google Cloud Run?

Did anyone succeed in deploying to cloud run?

Hi. I have the problem, too, deploying in google cloud. It's deploying sort of fine but when I go to an endpoind which uses the sqlmodel, it crash. "sqlmodule not found". (Is in requirements.txt)

@a-coello I resolved this issue, to deploy to cloud run.
But I couldn't confirm "sqlmodule not found"


[REVIEW] Dask groupby-statistics support

Closes #87
Basic Dask-based support for the existing GroupBy/GroupByMoments operators.  Note that this PR is only adding Dask-based support, a follow-up PR can/should clean out most of the single-GPU-specific code after we establish that the necessary support exists for the general (multiGPU) case.

@jperez999 - Doesn't seem that CI is running on my PRs anymore.  Let me know if there is something I need to do/change

General question for @benfred or @jperez999 - When defining  a Workflow, the user is expected to specify cat_names, cont_names, and label_name.  The output/preprocessed dataset should only include the columns within these lists, correct?  That is, are there ever "other" columns that we want to simply copy from the input to output dataset?
Assuming the answer to my above question is "correct", the current GroupBy implementation seems to be working with the Dask backend (even when mixed with Categorify) - The requirement is that GroupBy is added as a categorical "FE" operation (which seems to make sense).  With that said, there is certainly room for improvement - For example, there is no reason to have a separate Encoder and GroupByMoments Op (for the dask backend, at least).

Note that I would like to improve the performance of Categorify/GroupBy by merging the Encoder logic into (a special case of) GroupByMoments - However, It is probably best to move that effort to a separate PR.

rerun tests

Sorry about the delay here - The last commit should have this PR "up to date" (and ready for review)

rerun tests

Just confirmed that dask-nvtabular-criteo-benchmark.py seems to perform well on a full DGX-1

rerun tests

rerun tests

rerun tests

rerun tests


citeproc-java requires Java 8 or higher

Hi Michel,
First, I would like to appreciate your hard word for creating this great library.
I would like to include your library into my Android project. However, I am using Java 1.7. I have been reading and trying several solutions to upgrade my project to Java 1.8. Some of them recommend using Jack. However, I am also using Realm as a database for my app. As it is explained here and here Realm is not working with Jack.
Is there any possibility to compile citeproc-java with Java 1.7? Any other idea or workaround on how to solve this? I am novel with Java, only a few months, and I am not very agile yet.
Thanks

Hi @ojarabo,
You're right. The latest version of citeproc-java requires Java 8. AFAIK you cannot run Java 8 on Android, but I've never tried it myself. If you want something for Java 7 use the previous version 0.6 of citeproc-java. It should give you equally good results. The javadoc is also still available on the citeproc-java homepage.
I hope this helps. Let me know if you need anything else or if this issue can be closed.
Cheers,
Michel

Hi @michel-kraemer,
sorry for my late reply. I didn't get any notification of your answer.
Anyway, I have tried the previous version 0.6. However, when I am instantiating the CSL processor I got the following error:

FATAL EXCEPTION: main
Process: com.example.ojarabo.citationtestjava7, PID: 4366
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.ojarabo.citationtestjava7/com.example.ojarabo.citationtestjava7.MainActivity}: java.lang.RuntimeException: You're using a JRE 6 or lower and Mozilla Rhino was not found in the classpath. The bundled Rhino in JRE 6 does not support E4X (ECMAScript for XML) which is needed for citeproc-java. Either include Rhino in your classpath or upgrade to a newer JRE.
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2646)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2707)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1460)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6077)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
Caused by: java.lang.RuntimeException: You're using a JRE 6 or lower and Mozilla Rhino was not found in the classpath. The bundled Rhino in JRE 6 does not support E4X (ECMAScript for XML) which is needed for citeproc-java. Either include Rhino in your classpath or upgrade to a newer JRE.
at de.undercouch.citeproc.script.ScriptRunnerFactory.createJreRunner(ScriptRunnerFactory.java:72)
at de.undercouch.citeproc.script.ScriptRunnerFactory.createRunner(ScriptRunnerFactory.java:108)
at de.undercouch.citeproc.CSL.(CSL.java:152)
at de.undercouch.citeproc.CSL.(CSL.java:130)
at de.undercouch.citeproc.CSL.(CSL.java:94)
at de.undercouch.citeproc.CSL.(CSL.java:63)
at com.example.ojarabo.citationtestjava7.MainActivity.onCreate(MainActivity.java:19)
at android.app.Activity.performCreate(Activity.java:6662)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1118)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2599)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2707)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1460)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6077)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
Application terminated.

I have been researching for a while, but I have not found any solution on how to include Rhino in my classpath.
Sorry if this is a very basic question, but I am not very proficient in Java.
Thanks in advance.

It depends on how you're building your app. If you're using a build tool such as Maven or Gradle then look for the instructions here:
http://search.maven.org/#artifactdetails|org.mozilla|rhino|<IP_ADDRESS>|jar
Otherwise download the jar file from the page above and include it in your classpath directly. Let me know if this helps.

Hi again,
Indeed, that helped to solve the problem. Thank you.
I am using Gradle, so I included compile 'org.mozilla:rhino:<IP_ADDRESS>'. However, there was a new error.
Here you have the trace:

FATAL EXCEPTION: main
Process: com.example.ojarabo.citationtestjava7, PID: 19792
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.ojarabo.citationtestjava7/com.example.ojarabo.citationtestjava7.MainActivity}: java.lang.UnsupportedOperationException: can't load this type of class file
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2646)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2707)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1460)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6077)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
Caused by: java.lang.UnsupportedOperationException: can't load this type of class file
at java.lang.ClassLoader.defineClass(ClassLoader.java:594)
at org.mozilla.javascript.DefiningClassLoader.defineClass(DefiningClassLoader.java:27)
at de.undercouch.citeproc.script.RhinoScriptRunner.loadScript(RhinoScriptRunner.java:89)
at de.undercouch.citeproc.CSL.(CSL.java:162)
at de.undercouch.citeproc.CSL.(CSL.java:130)
at de.undercouch.citeproc.CSL.(CSL.java:94)
at de.undercouch.citeproc.CSL.(CSL.java:63)
at com.example.ojarabo.citationtestjava7.MainActivity.onCreate(MainActivity.java:22)
at android.app.Activity.performCreate(Activity.java:6662)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1118)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2599)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2707)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1460)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6077)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)

I entered in the debug mode to go throw your code and see where is the problem. There exception is generated in this line runner.loadScript(getClass().getResource("xmle4x.js"));.
Then, I have checked if there was a problem obtaining the URL from getClass().getResource("xmle4x.js"). The value returned is jar:file:/data/app/com.example.ojarabo.citationtestjava7-1/base.apk!/de/undercouch/citeproc/xmle4x.js.
I am not really sure whether the URL is incorrect or not. What is clear is that the loadScript is generating the exception.
I have also checked whether this was a common exception using Rhino and Android. I have found several threads talking about a similar problem. You can find it here. However, I don't know how to apply the provided solutions.
Do you have any idea on how to solve this, or any work around?
Sorry for the inconveniences and thanks

Interesting. Thanks for the link to the StackOverflow thread. It seems in order to solve the issue you have to modify citeproc-java 0.6 yourself. You have to checkout the 0.6 tag and apply pull request https://github.com/michel-kraemer/citeproc-java/pull/21. This will allow you to set the optimization level as described in the StackOverflow thread.
I'm afraid there is no better solution I can offer you. The major reason for moving to Java 8 was the integrated JavaScript engine Nashorn. Rhino is not maintained anymore and Nashorn is kind of the state-of-the-art solution for JavaScript on the JVM (although there are others of course, but Nashorn is relatively easy to use). Having said that, I'm afraid, I cannot offer support for the old version 0.6 of citeproc-java anymore but I hope you can apply the pull request and compile the library yourself to solve the issue.

Hi @michel-kraemer,
No problem, I completely understand your reasons and I do thanks you again for your help and support.
I am afraid I will leave it for now and I will wait for a while to see if Google solve the problems with Java 8. Unfortunately, I am an entrepreneur and do not have enough time and resources to dedicate to it at this moment. However, if I find some time I will try to do it so other Android developers can use it.
I much appreciate your help and all the effort you put to help me to solve the problem and the work you put to create a great library.
Thanks ;)

No worries. You can get back to me any time. Shall we close the issue then? At least for the time being?

Yeah sure.
Thanks


Read initial value during boot

Hi.
I'm using a 2 state physical switch and an ESP32.
The switch is constant ON, or constant OFF (act as a light switch), and connected as ACTIVE_LOW.
At boot, switch can be "ON" (LOW).
In that case, right after boot sequence, light is switched ON, meaning that setPressedHandler handler called.
Firstly, I'm looking for a way that ON-BOOT-STATE of the switch will be saved as start state.
Secondly, from what I see, inside begin function that state is supposed to be stored, but still, it is not solved:
 state = _getState();
  prev_state = state ;

Thirdly, adding button2_instance.loop() right after button2_instance.begin(Pin), actually solved is, but still it looks awkward.
Help any assistance to understand how to store ON-BOOT-STATE, for such cases.
Guy

Hey @guydvir2,
well, as you said  – you are using the class for a light switch and not for a button :-)
Upon instantiation, the class detects the state of the switch as pressed.
Thus the pressed handler is called and a click or a long click will be called when the switch status changes.
This sounds like the correct behaviour for the class.
It detects the button a being pressed and reports the release.
You are now asking to optionally neglect the pressed state upon start, correct?

Hey @guydvir2, well, as you said – you are using the class for a light switch and not for a button :-)
Upon instantiation, the class detects the state of the switch as pressed. Thus the pressed handler is called and a click or a long click will be called when the switch status changes. This sounds like the correct behaviour for the class. It detects the button a being pressed and reports the release.
You are now asking to optionally neglect the pressed state upon start, correct?

Yes :)

How exactly are you going to use this library to handle switches?  Are you only going to look at the tapped and released events?  It seems like an awfully big waste to only use those events.  You may want to look at the ez-switch-library instead.

Sorry, I decided that I will not add switch functionality to this lib.


[CAFV-181] Testfest - Add omitempty for extraOvdcNetworks to avoid null when empty

Description
Please provide a brief description of the changes proposed in this Pull Request

Add omitempty to extraOvdcNetworks field to ensure null doesn't get used when field is empty

Checklist

[x] tested locally
[ ] updated any relevant dependencies
[ ] updated any relevant documentation or examples

API Changes
Are there API changes?

[ ] Yes
[x] No

If yes, please fill in the below

Updated conversions?

[ ] Yes
[ ] No
[ ] N/A

Updated CRDs?

[ ] Yes
[ ] No
[ ] N/A

Updated infrastructure-components.yaml?

[ ] Yes
[ ] No
[ ] N/A

Updated ./examples/capi-quickstart.yaml?

[ ] Yes
[ ] No
[ ] N/A

Updated necessary files under ./infrastructure-vcd/v1.0.0/?

[ ] Yes
[ ] No
[ ] N/A

Issue
If applicable, please reference the relevant issue
Fixes #

This change is

This PR doesn't contain necessary fixes in deep copy files and go build is broken now.
Could you please merge this as soon as possible https://github.com/vmware/cluster-api-provider-cloud-director/pull/406?


Weird symbols on the client side

Information

Server version:
3242-Spigot-6c1c1b2-d3cc412 (MC: 1.17.1)
Full output of /mv version -p:
https://j.mp/3kEcbTy
Server log:
https://gist.github.com/RealHenning/72479a11ba9e319d15334f0d6f69473a

Help request
Problem

When I join my newly setup server I see som weird symbols and letters in the lower right corner of the screen. The letters are upside down and I believe that there's a hex digit among them.
What I have tried

I tried removing plugins from my server one by one. When I reached Multiverse-Core the symbols disappeared.
Screenshots

Test with only mv installed, and ensure you are not using a modded client.

Thanks for the tip. I thought I had tried every possible constelation, but I just retried and figured out that the problem is somehow related to InTheWilds special resource pack combined with changing worlds with MV.


[Feat] Add @ngtools/webpack AoT option for outputting to fs instead of virtual file system.

This is a feature request, i have a webpack app, i need to config the webpack config file manually, so the feature i suggest is to allow the @ngtools/webpack AoT to output the app module factory to file system, maybe only the app module or every file (open to discussion).
Reason to propose feature
I keep getting error Module not found for the app module factory, and i don't know if it isn't being created, if i have it configured in a different folder or what, being able to flag the plugin to force it to output to file system, so we can see it in project file tree would help clarify this kind of issues.
Repro steps.
Check this repo branch: https://github.com/Luchillo/angular2-webpack-starter/tree/aot
Clone, checkout branch aot, npm install, npm run build:aot and the error should pop out.
The log given by the failure.
ERROR in ./src/main.aot.ts
Module not found: Error: Can't resolve './app.module.ngfactory' in '/Users/aplicaciones2/Documents/angular2-webpack-starter/src'
 @ ./src/main.aot.ts 10:29-62

@Luchillo: I've never gotten this error without another error above which was the real source of the problem. Could you try to
I'm not entirely sold on not having a virtual filesystem, since you can always run ngc yourself to get that. The webpack plugin simply run the same code as ngc but using an in memory host. So you can get the result of it yourself.

It's just to make sure i'm setting the paths correctly, i'm not saying it shouldn't use virtual filesystem, i'm saying it should have the option to output to disk to debug potential path misconfiguration.

@hansl Btw did you test with the repo branch i linked?, that's exactly the project i'm trying to put AoT support to work.

I'm still trying to figure this out, here's how the error is shown to me:

The other error you mention might be that one about AppModule not being an NgModule?

Mostly superseded by https://github.com/angular/angular-cli/issues/6203.


Disables http1 pipelining by default

Most http clients including modern http browser does not enable
http1 pipelining by default because many http servers are still
do not works well with it. For this reason, disabling http1 pipelining
by default.
Related to #897

You can see similer topic from https://developer.mozilla.org/en-US/docs/Web/HTTP/Connection_management_in_HTTP_1.x#HTTP_Pipelining

LGTM except hyangtack comment

Thanks, @imasahiro !


Add governance documents to the repo

Signed-off-by: Stephen Curran<EMAIL_ADDRESS>

Altered the Security doc from the default I have seen, and made tweaks to the others.  I couldn't find instances of these in the TOC "guidelines" section -- should they be there?  The wiki Security document seems out of date, but I evolved this one from there.


Enable visual tests

Connects to https://github.com/vaadin/components-team-tasks/issues/314

This change is

@samiheikki working on this branch to fix ci linter errors

Review status: 0 of 61 files reviewed at latest revision, all discussions resolved, some commit checks broke.

Comments from Reviewable

Fixed build in master, and linter in one visual test. CI green now :smile:  !

Reviewed 59 of 60 files at r1, 1 of 1 files at r2.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

Reviewed 59 of 60 files at r1, 1 of 1 files at r2.
Review status: all files reviewed at latest revision, all discussions resolved, all commit checks successful.

Comments from Reviewable


Consolidate the release notes for RC1 and GA

opensearch-security pull request intake form
Please provide as much details as possible to get feedback/acceptance on your PR quickly

Category: (Enhancement, New feature, Bug fix, Test fix, Refactoring, Maintenance, Documentation)
Maintenance

Github Issue # or road-map entry, if available:

Description of changes:

Why these changes are required?

What is the old behavior before changes and new behavior after changes? (Please add any example/logs/screen-shot if available)

Testing done: (Please provide details of testing done: Unit testing, integration testing and manual testing)

TO-DOs, if any: (Please describe pending items and provide Github issues# for each of them)

Is it backport from main branch? (If yes, please add backport PR # and commits #)

By making a contribution to this project, I certify that:
(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file; or
(b) The contribution is based upon previous work that, to the best
of my knowledge, is covered under an appropriate open source
license and I have the right under that license to submit that
work with modifications, whether created in whole or in part
by me, under the same open source license (unless I am
permitted to submit under a different license), as indicated
in the file; or
(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
it.
(d) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #1305 (470a22a) into main (2e21d59) will decrease coverage by 0.05%.
The diff coverage is n/a.

:exclamation: Current head 470a22a differs from pull request most recent head a84dffd. Consider uploading reports for the commit a84dffd to get more accurate results

@@             Coverage Diff              @@
##               main    #1305      +/-   ##
============================================
- Coverage     64.74%   64.68%   -0.06%
  Complexity     3194     3194
============================================
  Files           247      247
  Lines         17230    17230
  Branches       3045     3045
============================================
- Hits          11155    11145      -10
- Misses         4526     4536      +10
  Partials       1549     1549

Impacted Files
Coverage Δ

...org/opensearch/security/rest/TenantInfoAction.java
77.94% <0.00%> (-10.30%)
:arrow_down:

...security/configuration/DlsFlsFilterLeafReader.java
59.76% <0.00%> (-0.71%)
:arrow_down:

Continue to review full report at Codecov.

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


Small updates in  yii\web\JsExpression

Fix class phpDoc
Strict type: convert expression to string in __toString().

Q
A

Is bugfix?
❌

New feature?
❌

Breaks BC?
❌

Tests pass?
✔

Fixed issues

Thanks.


[WFCORE-1934] Make number of max thread size for ServerService Thread…

… Pool configurable
Jira: https://issues.redhat.com/browse/WFCORE-1934

Core - Full Integration Build 10691 outcome was UNKNOWN using a merge of 22171b002978aa21015f72406be7976bb5ef1889
Summary: Canceled (Tests passed: 1595, ignored: 32; exit code 143 (Step: Build & test full (Maven)) (new)) Build time: 00:16:13

Core - Full Integration Build 10618 outcome was UNKNOWN using a merge of 22171b002978aa21015f72406be7976bb5ef1889
Summary: Canceled (Tests passed: 12, ignored: 1; exit code 143 (Step: Build & test full (Maven)) (new)) Build time: 00:16:14

Core - Full Integration Build 10692 outcome was UNKNOWN using a merge of 7168d3a51997b18adc8243611abbc6e44e308c12
Summary: Canceled (Tests passed: 983, ignored: 9; exit code 143 (Step: Build & test full (Maven)) (new)) Build time: 00:08:17

Core - Full Integration Build 10619 outcome was UNKNOWN using a merge of 7168d3a51997b18adc8243611abbc6e44e308c12
Summary: Canceled (Exit code 143 (Step: Build & test full (Maven)) (new)) Build time: 00:08:19

Core - Full Integration Build 10620 outcome was UNKNOWN using a merge of 4022ec40d34a41dc624aa69619f6381e4a6493d0
Summary: Canceled Build time: 00:03:20

Core - Full Integration Build 10693 outcome was UNKNOWN using a merge of 4022ec40d34a41dc624aa69619f6381e4a6493d0
Summary: Canceled (Exit code 143 (Step: Build & test full (Maven)) (new)) Build time: 00:03:27

@jmesnil In case there is any chance can review this one

@yersan thanks!


Firebase config missing from ecosystem documentation

When following the documentation to deploy the ecosystem (https://wwwallet.github.io/wallet-docs/docs/development-environment-setup/getting-started) the environment seems to build successfully.
When starting the wallet however an error is thrown
"Installations: Missing App configuration value: "projectId" (installations/missing-app-config-values).
FirebaseError: Installations: Missing App configuration value: "projectId" (installations/missing-app-config-values)."
It seesm like ./wallet-ecosystem/wallet-frontend/.env.template needs to be modified as described in https://github.com/surfnet-niels/wallet-frontend#installation, however this is not described in the ecosystem setup guide

By the way: what features of firebased are used in the ecosystem?


Ensure newperiod with 0 pay works

Test confirms it works without the need for code changes

LGTM. Thanks for checking. 👍


🚀[FEA]: Weighted areas for boundary samples on Tesselated geometry.

Is this a new feature, an improvement, or a change to existing functionality?
Improvement
How would you describe the priority of this feature request
Medium
Please provide a clear description of problem you would like to solve.
Currently, when boundary sampling tesselated geometry created from an .stl, all the sample points are assigned the same area value. This causes issues with Monte Carlo integration over these surfaces because the sample points are given the same weight regardless of the density of samples in the area around them. Even with quasirandom sampling this can be an issue. I implemented weighting the areas with a metric that describes how dense the sampling is around that point so that points in densely sampled areas have smaller area values.
After looking at the code for _sample() in modulus-sym/modulus/sym/geometry/tesselation.py I believe the way that the probabilites are set up for the points_per_triangle, with the law of large numbers you end up getting a number of points per triangle directly proportional to the area of the triangle. Which causes the area value for each sample to be the same across different triangles. At a smaller scale, the density within the triangle is not constant and that can cause issues when the physical values have a large gradient across the triangle (ie. Stagnation pressure at the front of a body in flow). So while the PINN may predict these values very well, the Monte Carlo integral will struggle to get a good approximation.
Describe any alternatives you have considered
I rescale the area values using NearestNeighbors search from sklearn.neighbors. Generally with PINN's we're sampling a lot of points with low dimensionality (dims <= 3), so the KDTree search is fairly efficient. The sample points are also generated as dicts of numpy arrays so doing this in the sampling method could be straightforward.
I get the distance to the k-1 nearest neighbors, because the sample point is always returned as the first nearest neighbor and take the mean distance. Then I use this distance as the diameter of a circular area around each sample point. This is a better representation of the region of influence of this sample than using the same area value for every point. However this area won't properly add up to the total area, so instead I divide this area by the mean area across all sample points and use it as a weight for the sampled area value.
geometry = Tessellation.from_stl(filename)
sample = geometry.sample_boundary(n_points)
points = np.array([sample['x'][:].flatten(),sample['y'][:].flatten(),sample['z'][:].flatten()]).T

nbrs = NearestNeighbors(n_neighbors=k, algorithm='kd_tree').fit(points)
distances, indices = nbrs.kneighbors(points)

mean_dist = np.mean(distances[:,1:], axis=1)

area_weights = np.pi*np.power(mean_dist,2)/4
area_weights = (area_weights/np.mean(area_weights)).reshape((points.shape[0],1))

sample['area'] = sample['area']*area_weights

Additional context
I encountered this issue when I was integrating the pressure on an aerodynamic surface and some areas have a higher density of samples, so the resulting drag and lift values have larger error than the learned pressure predictions.
This fix could be implemented in the _sample() function in modulus-sym/modulus/sym/geometry/tessellation.py or in the sample_boundary() function in modulus-sym/modulus/sym/geometry/geometry.py. I haven't used the other geometry classes to know if this is a general issue or specific to tesselated geometry. However I did have the same issue after scaling a tesselated geometry because scaling returns a generic Geometry object which changes the  _sample() function.

In #92 , I encountered the same problem when integrating pressure for drag and lift.


resume error

Error happened when run below code.
bash Experiment-pretrain_choice-all_tricks-tri_center.sh
This is my Experiment-pretrain_choice-all_tricks-tri_center.sh.
python3 tools/train.py --config_file='configs/softmax_triplet_with_center.yml' MODEL.DEVICE_ID "('0')" DATASETS.NAMES "('xxxx')" DATASETS.ROOT_DIR "('/home/ss/person-reid/data')" MODEL.PRETRAIN_CHOICE "('self')" MODEL.PRETRAIN_PATH "('/home/ss/person-reid/reid-strong-baseline/output/resnet50_ibn_a_model_400.pth')" OUTPUT_DIR "('/home/ss/person-reid/reid-strong-baseline/output/Experiment-all-tricks-tri_center-384x192-bs8x4-warmup10-erase0_5-labelsmooth_on-laststride1-bnneck_on-triplet_centerloss0_0005)"
Error log as below.
2019-11-27 16:02:16,026 reid_baseline.train INFO: Start training /usr/local/lib/python3.7/site-packages/torch/optim/lr_scheduler.py:100: UserWarning: Detected call of lr_scheduler.step()beforeoptimizer.step(). In PyTorch 1.1.0 and later, you should call them in the opposite order: optimizer.step()beforelr_scheduler.step().  Failure to do this will result in PyTorch skipping the first value of the learning rate schedule.See more details at https://pytorch.org/docs/stable/optim.html#how-to-adjust-learning-rate   "https://pytorch.org/docs/stable/optim.html#how-to-adjust-learning-rate", UserWarning) Traceback (most recent call last):   File "tools/train.py", line 158, in <module>     main()   File "tools/train.py", line 154, in main     train(cfg)   File "tools/train.py", line 113, in train     start_epoch     # add for using self trained model   File "/home/ss/person-reid/reid-strong-baseline/engine/trainer.py", line 291, in do_train_with_center     trainer.run(train_loader, max_epochs=epochs)   File "/usr/local/lib/python3.7/site-packages/ignite/engine/engine.py", line 446, in run     self._handle_exception(e)   File "/usr/local/lib/python3.7/site-packages/ignite/engine/engine.py", line 410, in _handle_exception     raise e   File "/usr/local/lib/python3.7/site-packages/ignite/engine/engine.py", line 433, in run     hours, mins, secs = self._run_once_on_dataset()   File "/usr/local/lib/python3.7/site-packages/ignite/engine/engine.py", line 399, in _run_once_on_dataset     self._handle_exception(e)   File "/usr/local/lib/python3.7/site-packages/ignite/engine/engine.py", line 410, in _handle_exception     raise e   File "/usr/local/lib/python3.7/site-packages/ignite/engine/engine.py", line 391, in _run_once_on_dataset     self.state.output = self._process_function(self, batch)   File "/home/ss/person-reid/reid-strong-baseline/engine/trainer.py", line 89, in _update     optimizer.step()   File "/usr/local/lib/python3.7/site-packages/torch/optim/lr_scheduler.py", line 51, in wrapper     return wrapped(*args, **kwargs)   File "/usr/local/lib/python3.7/site-packages/torch/optim/adam.py", line 95, in step     exp_avg.mul_(beta1).add_(1 - beta1, grad) RuntimeError: expected device cpu but got device cuda:0
How to solve it? Thanks for you in advance.

Try to use pytorch1.0. There are some differences between pytorch1.1 and pytorch1.0.
Or you can read this carefully:
Detected call of lr_scheduler.step()beforeoptimizer.step(). In PyTorch 1.1.0 and later, you should call them in the opposite order: optimizer.step() before lr_scheduler.step().

I reinstall pytorch1.0.0 and retrain with imagenet pretrained model after 5 epochs.
Error happened as below.
2019-11-27 17:54:20,835 reid_baseline.train INFO: Start training Traceback (most recent call last):   File "tools/train.py", line 158, in <module>     main()   File "tools/train.py", line 154, in main     train(cfg)   File "tools/train.py", line 113, in train     start_epoch     # add for using self trained model   File "/home/ss/person-reid/reid-strong-baseline/engine/trainer.py", line 303, in do_train_with_center     trainer.run(train_loader, max_epochs=epochs)   File "/usr/local/lib/python3.5/dist-packages/ignite/engine/engine.py", line 446, in run     self._handle_exception(e)   File "/usr/local/lib/python3.5/dist-packages/ignite/engine/engine.py", line 410, in _handle_exception     raise e   File "/usr/local/lib/python3.5/dist-packages/ignite/engine/engine.py", line 433, in run     hours, mins, secs = self._run_once_on_dataset()   File "/usr/local/lib/python3.5/dist-packages/ignite/engine/engine.py", line 399, in _run_once_on_dataset     self._handle_exception(e)   File "/usr/local/lib/python3.5/dist-packages/ignite/engine/engine.py", line 410, in _handle_exception     raise e   File "/usr/local/lib/python3.5/dist-packages/ignite/engine/engine.py", line 391, in _run_once_on_dataset     self.state.output = self._process_function(self, batch)   File "/home/ss/person-reid/reid-strong-baseline/engine/trainer.py", line 93, in _update     optimizer.step()   File "/usr/local/lib/python3.5/dist-packages/torch/optim/adam.py", line 93, in step     exp_avg.mul_(beta1).add_(1 - beta1, grad) RuntimeError: expected type torch.FloatTensor but got torch.cuda.FloatTensor

' RuntimeError: expected type torch.FloatTensor but got torch.cuda.FloatTensor'
You compute a CPU tensor in a GPU device. Please debug them by yourself first. Your bugs are simple problems of pytorch.

@michuanhaohao The error is mainly caused by this code, which is optimizer.step() in trainer.py.
I checked all related code and didn't find code exception. It was nomal with 'imagenet' mode in training ,but error happened with 'self' mode.I also compared the data format of optimizer,which is the same, in the two modes. How to solve it? Thanks for you in advance.

@michuanhaohao I have solved this problem. we must convert the resumed state data of optimizer to gpu.You could add these code into trainer.py.
if device:
    if torch.cuda.device_count() > 1:
        model = nn.DataParallel(model)
    model.to(device)
    #add below code
    for state in optimizer.state.values():
        for k,v in state.items():
            if isinstance(v,torch.Tensor):
                state[k] = v.cuda()

For more detail,please look this [link].


Include Username When Private Key From Secret

I think we want to make sure this uses the username if set in addition to the privateKey it pulls from the secret. I believe, right now this only uses the privateKey if you give it a secret.
https://github.com/blendededge/sftp-component-oih/blob/e13fa8155977f2a539bfa24907d5904d6729473d/lib/Sftp.js#L39C16-L39C16
Compare this to the following line later in this else-if where it uses privateKey and username.
https://github.com/blendededge/sftp-component-oih/blob/e13fa8155977f2a539bfa24907d5904d6729473d/lib/Sftp.js#L47

Fixed in #53


Connection Error

Getting this after setup new connection
Error: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client
To start sql server using latest MySQL Workbench 8

Sorry, duplicate of this issue #39