[es-US] Bilingual model barely recognizes Spanish word "Sí" and recognizes "See" or even "C" instead

Describe the bug
We are using Speech SDK to drive a bot answering calls and guiding callers through a series of questions to connect to somebody. Our bot can handle calls in English and Spanish languages. Questions asked by the bot usually imply simple answers like Yes (Sí) or No (No). Starting somewhere in December 2023 we have noticed that our callers experience issues passing through the bot questions and according to our logs when caller said "Sí", Speech SDK could recognize it as nothing (empty string), "See" or even "C". Also recognition usually takes longer when the word "Sí" to be recognized.
Since we are using "es-US" model to recognize Spanish language we presume that root cause of issues is the introduction of bilingual feature for this locale. For now we switched to "es-MX" locale which works well. But wish to get back to "es-US" model.
To Reproduce
To reproduce the issue I have collected several samples which pretty easily show differences between "es-US" and "es-MX" models. I was using samples/java/jre/console sample 6 (recognitionWithAudioStreamAsync) to run tests. The only modification is to set locale on SpeechRecognizer instantiation.
Here are the samples and relevant recognition logs for es-MX and es-US locales:
sample0.tar.gz
es-mx

RECOGNIZING: Text=español
RECOGNIZED: Text=Español.
RECOGNIZING: Text=sí
RECOGNIZED: Text=Sí.
RECOGNIZING: Text=2
RECOGNIZING: Text=2 cuatro
RECOGNIZING: Text=247
RECOGNIZING: Text=2471
RECOGNIZED: Text=2471.
RECOGNIZING: Text=sí
RECOGNIZED: Text=Sí.
CANCELED: Reason=EndOfStream

es-us

RECOGNIZING: Text=espanol
RECOGNIZED: Text=Espanol.
RECOGNIZED: Text=See.
RECOGNIZING: Text=2
RECOGNIZING: Text=2 cuatro
RECOGNIZING: Text=247
RECOGNIZING: Text=2471
RECOGNIZED: Text=2471.
RECOGNIZED: Text=See.
CANCELED: Reason=EndOfStream

sample1.tar.gz
es-mx

RECOGNIZING: Text=español
RECOGNIZED: Text=Español.
RECOGNIZING: Text=sí
RECOGNIZED: Text=Sí.
RECOGNIZING: Text=2 cuatro
RECOGNIZING: Text=247
RECOGNIZING: Text=2471
RECOGNIZED: Text=2471.
RECOGNIZING: Text=sí
RECOGNIZED: Text=Sí.
CANCELED: Reason=EndOfStream

es-us

RECOGNIZING: Text=espanol
RECOGNIZED: Text=Espanol.
RECOGNIZED: Text=
RECOGNIZING: Text=2 cuatro
RECOGNIZING: Text=247
RECOGNIZING: Text=2471
RECOGNIZED: Text=2471.
RECOGNIZING: Text=see
RECOGNIZED: Text=See.
CANCELED: Reason=EndOfStream

sample2.tar.gz
es-mx

RECOGNIZING: Text=español
RECOGNIZED: Text=Español.
RECOGNIZING: Text=sí
RECOGNIZED: Text=Sí.
RECOGNIZING: Text=2
RECOGNIZING: Text=25
RECOGNIZING: Text=254
RECOGNIZING: Text=2540
RECOGNIZED: Text=2540.
RECOGNIZING: Text=sí
RECOGNIZED: Text=Sí.
CANCELED: Reason=EndOfStream

es-us

RECOGNIZING: Text=espanol
RECOGNIZED: Text=Espanol.
RECOGNIZING: Text=C
RECOGNIZED: Text=C.
RECOGNIZING: Text=2
RECOGNIZING: Text=25
RECOGNIZING: Text=254
RECOGNIZING: Text=2540
RECOGNIZED: Text=2540.
RECOGNIZING: Text=C
RECOGNIZED: Text=C.
RECOGNIZING: Text=play
CANCELED: Reason=EndOfStream

It's worth noting that recognition issues are stably reproduced when audio from the caller passed thru a chain of telephony systems and format conversion (as in examples above). However when attempted to record the voice locally and feed it directly to Speech SDK recognition I wasn't able to reproduce the issue. The sample below is an example of this. Besides correctly recognizing word "Sí" it also recognizes "Español" as Spanish word (with "ñ") as opposed to other cases where the word is recognized as "Espanol" (with "n").
sample3.tar.gz
es-mx

RECOGNIZING: Text=españ
RECOGNIZING: Text=español
RECOGNIZED: Text=Español.
RECOGNIZING: Text=sí
RECOGNIZED: Text=Sí.
RECOGNIZING: Text=2
RECOGNIZING: Text=2 cuatro
RECOGNIZING: Text=2 cuatro si
RECOGNIZING: Text=247
RECOGNIZING: Text=2471
RECOGNIZED: Text=2471.
RECOGNIZING: Text=sí
RECOGNIZED: Text=Sí.
CANCELED: Reason=EndOfStream

es-us

RECOGNIZING: Text=español
RECOGNIZED: Text=Español.
RECOGNIZING: Text=sí
RECOGNIZED: Text=Sí.
RECOGNIZING: Text=2
RECOGNIZING: Text=2 cuatro
RECOGNIZING: Text=247
RECOGNIZING: Text=2471
RECOGNIZED: Text=2471.
RECOGNIZING: Text=sí
RECOGNIZED: Text=Sí.

Version of the Cognitive Services Speech SDK
1.31.0
Platform, Operating System, and Programming Language

OS: Ubuntu 20.04/Ubuntu 22.04
Hardware: x64
Programming language: Java
Region: eastus

If needed I could provide a lot of Session IDs/Result IDs relevant to this issue.

Hi @RomanValov , people working more closely to this feature have been contacted and we should be able to provide you with an update soon on this issue. Thank you for using the SDK and submitting the issue!

Following up discussion with @BrianMouncer at #2214 :

Were you able to try adding phrase list grammars to your app, to change the weights the engine uses for those words in the general purpose bilingual models? I am guessing that is the simplest and quickest way to work around the current issue with "Si" and other very short words.

Tbh I wasn't able to get any results with Phrase List. Language support page doesn't mark es-US as one supporting Phrase Lists. I know that en-US can recognize some Spanish words, so I tried with it. And I've only got "Sí" recognized with en-USy once among ~10 attempts.
Currently we use es-MX as a workaround. There is another objection against Phrase List. As you can see in bug description English version of the word "Espanol" is also takes precedence over Spanish "Español" in our samples. So I'm afraid apparently other Spanish words could be improperly recognized too. Seems the overall point is that due to some quality lose English words take precedence over Spanish ones. Synthetic voice used to record samples 0 and 3 is the same. But sample 0 is recorded on our telephony server whereas sample 3 is recorded directly from the microphone. The voices and quality is hardly distinguishable by a human ear. But their recognition results drastically different.

To update, the model team acknowledged the issue and consider updating the model (no ETA at the moment). They noted that

with the es-MX model update (last Nov), it’s now actually capable handling es-US assistant scenario very well, it will be much better than previous en-US model (before last Dec), all assistant command have been evaluated there. Your approach that switch to es-MX is current best approach.


SAK-32728 RemoteHostFilter should allow access to certain endpoints

I've broken the remote host test you introduced. I'm looking at it. Getting forbiddens on the i18n requests.
Failed tests:
RemoteHostFilterTest.testAllowRequestURI:102 expected:<200> but was:<403>
RemoteHostFilterTest.testExplicitAllowRequest:124 expected:<200> but was:<403>

In test class, you will need to update the Mock's that call serverConfigurationService.getString() in method configureFilter().

Also the method getRegExPatterns might be a little specific maybe makes sense to not include that in SCS?

Failed tests:
RemoteHostFilterTest.testAllowRequestURI:102 expected:<200> but was:<403>
RemoteHostFilterTest.testExplicitAllowRequest:124 expected:<200> but was:<403>

Yeah they worked previously!

@ern Sorry I'm patchy on this. I'm trying to fit it in on vacation. Like you say, the mock SCS needs setting up with the getPatternList method. I'm not sure about whether the regex method should be in SCS. Might it not be a repeated pattern in the future, to have a list of regexes?


How to update using PUT Method

I'm working with the Workflowmax API and I can GET records from Jobs, Costs and PurchasOrders.
I'm having trouble updating records, I'm trying to use PUT but I'm not even getting a response back from the call.
Please see below for a simplified example of what I'm doing.
This is the doc page about the methods: https://www.workflowmax.com/api/v3/job-methods#
$accessToken = $provider->getAccessToken('authorization_code', [
            'code' => $_GET['code']
]);

$xeroTenantIdArray = $provider->getParsedResponse($connectionsResponse);
$options = [
    'scope' => ['workflowmax workflowmax.job  offline_access']
];
$options['headers']['xero-tenant-id'] = $xeroTenantIdArray[0]['tenantId'];
$options['headers']['Accept'] = 'application/json';

$putArray = array( 'Cost' => array( 'UUID' => 'afd13b29-dde0-48d5-98fd-15d5558921dd', 'Note' => "a note about the widget" ) );
$CostPutURL = 'https://api.xero.com/workflowmax/3.0/job.api';
$options['body'] = json_encode($putArray);

$request = $this->provider->getAuthenticatedRequest( 'PUT', $CostPutURL, $accessToken, $options );
$response = $this->provider->getParsedResponse( $request );

It looks like you're making the PUT request to https://api.xero.com/workflowmax/3.0/job.api, but that's only the base URL for their API.
You'll need to use a URL like https://api.xero.com/workflowmax/3.0/job.api/update, I think.


Update eventio to 0.20

@kosack can you build the conda packages, then I change back to conda
This brings mainly speed improvements for reading gzipped files and a little improvement for all files.

Sure, I'll make new packages (perhaps not today, though)

Ok, all packages are there on anaconda cloud, so you should be able to use the conda versions

@kosack the pip installs were still in place


feat: add Tourette syndrom lolifier

close #9

What do you think about using a class to provide bad words, instead of using a static method.
With that it will be possible to translate Tourette in french, german, klingon, etc

You're right.

Done


Log sent emebds in separate channel or on the website

This would be useful to never lose embeds even if they weren't saved explicitly and also to see who sent or edited a message.

https://ptb.discord.com/channels/730045476459642900/1301563845709529158


Docstring-1

This is related to #66.
Another series of legwork...

@HiromuHota I know you have this marked as a WIP, but the changes here already would be nice to merge in. Any reason to wait?

Let you know once I resolve the conflicts.


Add preferred .sln to open

Preferred solution double click open

If repo has one sln open it.
Display message if preferred sln not set.


DxDataGrid 2-way binding to an array element does not work

Hey,
I have a data model with an array field. The example of simplified model looks like this
[
   {
     label: 'First row',
     array:[
       {value: 0},
       {value: 1},
       {value: 2}]

   },
...
]

I need to bind columns to the values within array so I'm declaring dataField as following:
dataField: 'array[0].value'
It works with the read binding. But when I do changes in this cell and click save, binding does not update the value in the array. Instead, it creates a separate field with name array[0].value
You can see example by this link: https://plnkr.co/edit/KUwhHcZTQg2ADjJ9k5Xf?p=preview
Click edit, change val1 value and click save.

Notice that val1 value has not been changed
Check console log for details.

Is it angular2 specific issue in devextreme or general devextreme issue?

dxDataGrid does not support this. While you can display a collection property's items in this way, you can't edit them. See the dxDataGrid - Edit doesn't work with collection binding ticket.


Gateway monitoring IP not correctly setting gateway as online on boot

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

[x] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
[x] I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue

Describe the bug
I just upgraded two OPNsense instances from 22.7.11 to 23.1.11. Both have a gateway monitoring IP adress configured. On one OPNsense box I noticed that after the upgrade to 23.1.11 the internet connection was not working anymore. I checked the dashboard but the gateway was shown as online. Weird, so I went into the gateway settings and tried disabling gateway monitoring, which immediately worked.

I researched some more and found out that I could check if the routing table includes the monitoring IP after reboots, its indeed included:

But if you look closely the default route is missing. Just to confirm at ALL times the gateway is shown with 0% packet loss and status "Online". I noticed that I can "fix" the WAN connection either by un/re-plugging the WAN cable or by simply editing the gateway configuration and clicking "Save" (without edits). Afterwards the default route is included which is seen below (20 entries vs 19 entries in the previous screenshot):

Another fun thing I noticed is that when OPNsense is booted I can ping <IP_ADDRESS> because it's included in the routing table due to the monitoring IP, but no other IPs.
My other OPNsense box is working absolutely fine with gateway monitoring, I have no idea whats wrong. I've tried to include all necessary log files and also the log files of my 2nd working box. There are no special plugins installed, only iperf3 and acme Maybe some kind of race condition which only happens at startup?
To Reproduce
Steps to reproduce the behavior:

Enable a gateway monitoring IP (either <IP_ADDRESS> or any other)
Reboot
No internet connection

Expected behavior
Steps to reproduce the behavior:

Enable a gateway monitoring IP (either <IP_ADDRESS> or any other)
Reboot
Internet connection :slightly_smiling_face:

Describe alternatives you considered
I can "fix" the WAN connection either by un/re-plugging the WAN cable or by simply editing the gateway configuration and clicking "Save" (without edits).
Screenshots
Gateway configuration

Gateway log

Relevant log files
OPNsense 23.1.11 broken setup with gateway monitoring: system_not_working.log
OPNsense 23.1.11 working setup with gateway monitoring: system_working.log
Environment
OPNsense 23.1.11 (amd64, OpenSSL)
Intel(R) Atom(TM) CPU C2758
Intel(R) I354

Latest update 27.3.5 fixes this bug. Thank you @fichtner

😊


[Diagnostics]: Qualify Type arguments to diagnostics if there are name collisions

If a diagnostic argument list contains two or more types which are distinct but share a name, make sure they are qualified when printed
A contrived example of a case where this helps is if I wrote the following in a file named Foo.swift:
struct Array {}
let foo: Swift.Array = Array()

struct Error {}
let bar: Swift.Error = Error()

Currently, the diagnostics would read:
error: cannot convert value of type 'Array' to specified type 'Array'
let foo: Swift.Array = Array()

error: value of type 'Error' does not conform to specified type 'Error'
let bar: Swift.Error = Error()

With this change, they read:
error: cannot convert value of type 'Foo.Array' to specified type 'Array'
let foo: Swift.Array = Array()

error: value of type 'Foo.Error' does not conform to specified type 'Error'
let bar: Swift.Error = Error()

I'm not sure who to cc on this as the formatting code doesn't look like it's been touched in a while

Made a small change to make sure the following program also adds the module qualification:
struct Error {}
let baz: (Swift.Error) = Error() //expected-error {{value of type 'diagnostics.Error' does not conform to specified type 'Error'}}

Nice to see work to improve the diagnostic here. However, I think the result is backward:
error: cannot convert value of type 'Foo.Array' to specified type 'Array'
In this context, ‘Foo.Array’ is ‘Array’, so it’s not exactly true that the error arises because the two aren’t interconvertible. Rather, it’s the specified type (as you call it here) that isn’t synonymous with ‘Array’ anymore but rather must be referred to as ‘Swift.Array’, yet the diagnostic calls it just plain ‘Array’.
I think the diagnostic would be more correct to qualify both types, or better yet only whichever one requires qualification at the point of use:
error: cannot convert value of type 'Foo.Array' to specified type 'Swift.Array'

// or

error: cannot convert value of type 'Array' to specified type 'Swift.Array'

@xwu That test hits a bit of a special case in that it would normally qualify both types, but the FullyQualifiedTypesIfAmbiguous printing option used by printForDiagnostics() explicitly excludes the Swift module (and lldb/system modules), which unlike Builtin doesn't appear in any existing diagnostics as far as I can tell. It may be worth having different behavior in this specific case anyway, but I think it's worth considering.

@owenv Arguably printing 'Swift.' is the right thing here. Can we add another option?

@xwu @slavapestov Fair enough, I changed this to use the option which unconditionally includes the module name

@swift-ci Please smoke test and merge

@slavapestov Could you ping the bot again? It looks like ci failed to fetch the branch: https://ci.swift.org/job/swift-PR-smoke-merge/3576/console. I’ve had this happen a couple times recently and it seems to work on a second attempt, but I haven’t figured out yet if some part of my git workflow is causing the problem to appear in the first place.

@swift-ci Please smoke test and merge

Looks like this is actually breaking some of the fuzz test cases.

yeah, looks like this is hitting an assert in getDesugaredType when isEqual tries to compute a canonical type. Not entirely sure what's causing it yet, but I finally managed to reproduce locally so I'll try and have a fix up in the next day or two to unblock your other branch @jrose-apple

A couple of notes on the changes I just pushed:

I fixed the validation test failures by checking whether types passed to a diagnostic can be safely canonicalized before attempting to compare them with isEqual. I'm not super happy with this solution, but we have to be extra careful dealing with arbitrary types passed to diagnostics and can't really make any assumptions about them.
The change to the opaque types test's expected message is temporary. It'll be improved as soon as #25624 lands

@swift-ci Please smoke test

@swift-ci Please smoke test

Might just be my inexperience with jenkins, but I can't figure out what happened to the os x smoke test job here?

Looks like it didn't actually get started properly.
@swift-ci Please smoke test macOS

@swift-ci Please smoke test macOS

Looks like there's also an lldb test that's hanging. I'm trying to reproduce locally using the steps here to run the tests: https://github.com/apple/swift-lldb/blob/stable/docs/testsuite/a-detailed-walkthrough.txt . However, I keep getting this error for every test:
Traceback (most recent call last):
  File "dotest.py", line 7, in <module>
    lldbsuite.test.run_suite()
  File "/Users/owenvoorhees/Documents/Development/swift-source/lldb/packages/Python/lldbsuite/test/dotest.py", line 1247, in run_suite
    setupTestResults()
  File "/Users/owenvoorhees/Documents/Development/swift-source/lldb/packages/Python/lldbsuite/test/dotest.py", line 591, in setupTestResults
    formatter_config)
  File "/Users/owenvoorhees/Documents/Development/swift-source/lldb/packages/Python/lldbsuite/test_event/formatter/__init__.py", line 108, in create_results_formatter
    results_file_object, cleanup_func = create_socket(config.port)
  File "/Users/owenvoorhees/Documents/Development/swift-source/lldb/packages/Python/lldbsuite/test_event/formatter/__init__.py", line 84, in create_socket
    "listening socket did not respond with ack byte: response={}".format(read_bytes))
Exception: listening socket did not respond with ack byte: response=b'*'

The test in question is lang/swift/file_private/TestFilePrivate.py, so I'm struggling to see the connection to these changes. It definitely looks like a legitimate failure though.

Once more unto the breach!
@swift-ci Please smoke test macOS

(LLDB was hanging on one of my PRs yesterday too, so I'm betting that it's not related after all. Thank you for trying to track it down, though!)
I'm not sure how dotest.py finds the build directory, which might have something to do with it. Also, LLDB-through-build-script won't build on most people's machines without --lldb-use-system-debugserver.

@slavapestov, any further comments?

No further comments from me. Looks good to merge!


Setitem

https://github.com/wix-private/velo-docs/pull/404
https://wix.monday.com/boards/892806647/pulses/3028938253


Adds Stylelint v16 Support

Linting problems are now printed to stderr
https://github.com/stylelint/stylelint/blob/16.0.0/docs/migration-guide/to-16.md#changed-cli-to-print-problems-to-stderr

LGTM.  I think you don't need to set STREAM_BOTH as that should be the default.


i add new cool front end template for money loaning website with smtp email service forms

Description
i add new cool front end template for money loaning website with smtp email service forms and this is full responsive
Fixes # (issue no.)

Type of change

[x] New feature (non-breaking change which adds functionality)

Explain the Testing instructions
Test Configuration:

Operating system:window
Version:10
Text-editors used:vs code

Checklist:

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

ATTACH SCREEN-SHOTS / DEPLOYMENT LINK

hii @arpit456jain sir i am gssoc contributor please assign me and merge my pr

@astha2412
https://user-images.githubusercontent.com/78430607/156578899-5f725f5b-06bd-40c5-b3ab-f90daf7e0e02.MP4


⚠ Bofrost.at has degraded performance

In 782294b, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 828 ms

Resolved: Bofrost.at performance has improved in d26edde.


Update streams/documentation/docs/libraries/wasm/examples.md

added .copy() every time ann_link or sub_link is consumed
get_link() method doesn't exist anymore, it was replaced by link attribute

Not really, we are just looking for an spare moment to give it a proper review! cc/ @DyrellC @kwek20


Adding support for AT_SEQUENCE_NUMBER and AFTER_SEQUENCE_NUMBER

Adding support on DynamoDB Streams for AT_SEQUENCE_NUMBER
and AFTER_SEQUENCE_NUMBER ShardIteratorType
Change SequenceNumber type to string instead of int to match documentation

Sorry, I didn't create an issue before.
I found that AT_SEQUENCE_NUMBER and AFTER_SEQUENCE_NUMBER weren't implemented in dynamodb streams so tried to add support for it
Also found the SequenceNumber returned are int compared to string on the documentation for boto / REST API

Code looks good! If we can get the tests passing, I'll be happy to merge.

Coverage decreased (-0.3%) to 92.892% when pulling 9cce674857b4de774303d2256546e6aa3442e1e2 on danguer:support-iterator-type-at-after-sequence into e4a4e6183560489e98b95e815b439c7a1cf3566c on spulec:master.

I've updated master branch and made changes to support python 2.7 so now the unit test are good

Looks great; thanks!


OS tasks in MultiOgar-Edited proposal

Now MultiOgar-Edited contain some featutes which have to be removed, because OS have means to resolve the problems them related.

Start - Stop and Restart on server fault/crash - SystemV or Systemd or Upstart - what is set for usage on your OS
Restart by time interval - cron
IP filtering ( ban etc. ) - iptables,  ipsets

All this tasks don't require any programming, one just should read manual and make proper settings.
Don't forget about holy cow: not OgarUL!

1 & 2) so just basically an auto-restart system?
3) we already have that, don't we?

1&2) it's more then enough
3) nope. As I see in code, server use internal js programmed mechanics instead of system-wide.
GameServer.js
    if (this.checkIpBan(ws._socket.remoteAddress)) {
        ws.close(1000, "IP banned");
        return;
    }

GameServer.prototype.checkIpBan = function(ipAddress) {
    if (!this.ipBanList || this.ipBanList.length == 0 || ipAddress == "<IP_ADDRESS>") {
        return false;
    }
    if (this.ipBanList.indexOf(ipAddress) >= 0) {
        return true;
    } .......skipped

As I can see - it's direct scan of banlist by js

@Gimmo Alright I understand now.. sounds good!

I will write samples for Debian, just because I preferre to use it.
How to use systemd
Systemd is most modern init system for linux.
If it not set on your system:
from root or sudo
apt-get install systemd
apt-get install systemd-sysv
reboot
then:
make a file game.service
  [Unit]
  Description=Bitcoin daemon serivce
  After=network.target

  [Service]

  Type=simple
  Restart=always
  #RestartSec=30
  WorkingDirectory=/where_your_game_placed

  StandardInput=null
  StandardOutput=null
  StandardError=syslog

  ExecStart= /usr/local/bin/node /where_your_game_placed/src/index
  # OR /where_your_game_placed/run/console-plus OR you can make different files with whatever.service names
  # to run game with or without console

  [Install]
  WantedBy=multi-user.target
  Alias=bitcoin.service

Don't forget to remove (comment) loopbacks in console-plus !!
put game.service to  /etc/systemd/system
to run ->    systemctl start game.service
to check ->  status systemctl status game.service
to restart -> systemctl restart game.service
Now you have the game, which autorestart on errors or server reboot

Great work! @Gimmo

Nice

Wow, impressive.

cron
cron is always presents in your system
There is two ways to use it
easy way
find directories
/etc/cron.daily
/etc/cron.hourly
/etc/cron.monthly
/etc/cron.weekly
make file
gamerestart
#!/bin/sh
systemctl restart game.service
put it to directory of your choise i.e. file should lie in "daily" to be executed every day
cd /this_directory
chmod  gamerestart 755
that's it. File will be executed according the name of directory
hard way
find file /etc/crontab
open it with editor
valuable part of file has format
*     *     *     *     *  /path/to/file/to/be/executed
-     -     -     -     -
|     |     |     |     |
|     |     |     |     +----- Day of week (0-7)
|     |     |     +------- Month (1 - 12)
|     |     +--------- Day of month (1 - 31)
|     +----------- Hour (0 - 23)
+------------- Min (0 - 59)
``
Each of the first five fields contains only numbers, however they can be left as '*' characters to signify any value is acceptible
# Run the 'something' command every hour on the hour
0   *   *   *   * /sbin/something

# Run the `nightly` command at ten minutes past midnight every day
10  0   *   *   * /bin/nightly

# Run the `monday` command every monday at 2 AM
0   2   *   *   1  /usr/local/bin/monday

One last tip: If you want to run something very regularly you can use an alternate syntax: Instead of using only single numbers you can use ranges or sets.
A range of numbers indicates that every item in that range will be matched, if you use the following line you'll run a command at 1AM, 2AM, 3AM, and 4AM:
# Use a range of hours matching 1, 2, 3 and 4AM
*   1-4   *   *   * /bin/some-hourly

A set is similar, consisting of a collection of numbers seperated by commas, each item in the list will be matched. The previous example would look like this using sets:
# Use a set of hours matching 1, 2, 3 and 4AM
*   1,2,3,4   *   *   * /bin/some-hourly

make file as mentioned before for every command you want to execute in schedule
and add appropriate lines to crontab
now you have scheduled tasks for your server

@Gimmo Wow.. I should get Linux haha

@Megabyte918 Mac does pretty much the same thing too, it's the only reason why I got a MacBook instead of a Dell XPS. I love the Unix terminal.

@Megabyte918  I never think someone use Mac as production server.
BTW @MastaCoder is right - all things of MacOS stolen from linux. Difference is imaginary.

@Gimmo Well I wouldn't say much as "stolen". They're both built off of the unix base, so a lot of the commands in the terminal are pretty much the same. However, Mac was the first main OS that would use Unix. As well, Mac is the only popular Unix based system that is in fact Unix Certified. Linux is not Unix Certified yet! (I think)
I would never use Linux as a base system where I program with, there are so many programs and features that are simply missing from Linux. However, for server production, I am heads into Linux.
I still use Windows, Windows is much for power users. However, I really enjoy the Terminal (and animations!) of MacOS. So it's a win for win, I got to say though, I miss a lot of the shortcuts of Windows that just made using the OS much faster. However, for programming, MacOS is much better in my opinion. :smile:

Certified unix - it's just about trademark. MacOs use unix-like core only from version 10, but linux have many years history. Nothing to talk about at all.
I also use win for everyday work. But in this thread we talk about production server IMO.

How to use ipset
install ipset
apt-get install ipset
predefine hash
ipset --create blacklist iphash --hashsize 4096
add few IPs to blacklist
ipset --add blacklist <IP_ADDRESS>
ipset --add blacklist <IP_ADDRESS>
ipset --add blacklist <IP_ADDRESS>
add iptables rule to reject them
iptables -I INPUT -m set --match-set blacklist src -p TCP --destination-port 443 -j DROP
that's it
Main commands
ipset --add blacklist <IP_ADDRESS> // add IP to blacklist
ipset --del blacklist <IP_ADDRESS> // remove IP from blacklist
ipset --flush blacklist // clean blacklist
// javascript hook for commands (async)
'use strict';

const
    spawn = require( 'child_process' ).spawn,

    addBl = spawn( 'ipset', [ '--add blacklist', '<IP_ADDRESS>' ] );

    // async returns

    addBl.stdout.on( 'data', data => {
        console.log( `stdout: ${data}` );
    });

    addBl.stderr.on( 'data', data => {
        console.log( `stderr: ${data}` );
    });

    addBl.on( 'close', code => {
        console.log( `exited with code ${code}` );
    });

To use it on OS reload blacklist should be saved/restored. I'll add complete script later.

@Gimmo You win, I'm out 😆

@MastaCoder  We should not be so serious, I think.  It's all toys....:)

Limit number of HTTP connections for IP
apt-get install connlimit
/sbin/iptables -A INPUT -p tcp --syn --dport $port -m connlimit --connlimit-above N -j REJECT --reject-with tcp-reset
save the changes see iptables-save man page

dose thsi auto restart or when a error  comes then


Add all excursion tokens

Alaska Airlines Pull Request
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Resolves: #151
Summary:
Please summarize the scope of the changes you have submitted, what the intent of the work is and anything that describes the before/after state of the project.

Add all tier 1 and 2 excursion theme tokens
Add primary naming convention to Auro classic background tier 2 tokens

This change was made to support the excursion theme which has background-primary and background-secondary tokens

Type of change:
Please delete options that are not relevant.

[x] New capability
[x] Revision of an existing capability
[ ] Infrastructure change (automation, etc.)
[ ] Other (please elaborate)

Checklist:

[x] My update follows the CONTRIBUTING guidelines of this project
[x] I have performed a self-review of my own update

By submitting this Pull Request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Pull Requests will be evaluated by their quality of update and whether it is consistent with the goals and values of this project. Any submission is to be considered a conversation between the submitter and the maintainers of this project and may require changes to your submission.
Thank you for your submission!
-- Auro Design System Team

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[test] reenable sanitizer tests

reenable select sanitizer tests, they should pass in CI

@swift-ci please test

LGTM

@nkcsgexi Just a heads up that we are re-enabling these tests. @aralisza cannot reproduce failures. If they start failing again please send this to me or @aralisza. If the failure is internal only please only disable there so that this test doesn't get disabled in places where it is passing.

@nkcsgexi Not yet. @aralisza is looking into this.


Add support for running SVI with numpyro

My understanding is that we might want to hold off on this until the auto-guide bits of numpyro are a little more stable. cc @neerajprad


feat: Add a "namespace" parameter to the "plugin_config" of apisixRoute, to share the same apisixPluginConfig between all namespaces of apisixRoutes

Description
We are using apisixRoutes, and now we need to add a common plugin_config to all of the routes. But I found that apisixRoute spec params only support plugin_config_name, and it will only search apisixPluginConfig in the same namespace of the apisixRoute.
This will require to create the same apisixPluginConfigs for all namespaces and maintain these apisixPluginConfigs as namespaces change. If we can add a plugin_config_namespace parameter under the apisixRoute spec, combined with the plugin_config_name, we can solve the above problem with just one apisixPluginConfig.

Good idea. I believe this will help to reduce maintenance costs.

@seethedoor Thanks for reporting. I'll take this up


[QUERY] Recommendations to replace IQueryable functionality?

Query/Question
I'm looking at upgrading from older versions of the SDK, but I see that this version doesn't include IQueryable support. That's fine for simple queries, but I have a number of places in my code where we have something to the effect of:
var query = CreateQuery<MyEntity>();
query = query.Where(e => e.PartitionKey == "whatever");

if (startDate.HasValue)
{
    query = query.Where(e => e.CreatedDate >= startDate.Value);
}

if (endDate.HasValue)
{
    query = query.Where(e => e.CreatedDate <= endDate.Value);
}

var result = await query.ExecuteSegmentedAsync();

If I understand the new library correctly, the only way I could replicate this kind of code is to build the OData strings myself. Is there a better way to handle this? Would you consider including some kind of query builder, even if it's not based on IQueryable?
Environment:

Name and version of the Library package used: Azure.Data.Tables 12.2.0
Hosting platform or OS and .NET runtime version (dotnet --info output for .NET Core projects): Azure Cloud Services, .NET Framework 4.7.2
IDE and version : Visual Studio

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

We support filter queries in the new client. See the sample here.

/unresolve

Sorry I didn't get to this earlier. I don't see from the links you sent how I could write the code I described in my original post. The LINQ queries are fine as long as they don't have to be dynamic, but I'm trying to build different queries based on different input and I don't see how I can do that using LINQ. It's certainly possible that I could build the text string myself, but that seems dangerous. Plus if that were the case I'd like to see some documentation on what escape characters I need to use.
Every table SDK before this one has had some form of a dynamic query builder, and I'm wondering if I'm just missing something of if it was purposefully not added.

I haven't had time to try it, but something like this seems promising, since what you're expecting is an Expression rather than an IQueryable:
https://petemontgomery.wordpress.com/2011/02/10/a-universal-predicatebuilder/
But I wondered if there was something built into the framework that I'm missing to build dynamic predicates.

Here are a couple examples of how to optionally combine some expressions as in your initial example:
If you want to deal just with expressions:
// Create the base expression
Expression<Func<MyEntity, bool>> query = e => e.PartitionKey == Partition;

// Create a variable for the expression body
var queryBody = query.Body;

// Create a variable for the expression parameter (MyEntity)
ParameterExpression parameter = query.Parameters[0];

if (startDate.HasValue)
{
    // Create the startDate filter
    Expression<Func<MyEntity, bool>> withStart = e => e.CreatedDate >= startDate.Value;

    // Combine this filter with the base expression    // Combine this with the current queryBody
    queryBody = Expression.AndAlso(queryBody, withStart.Body);
}

if (endDate.HasValue)
{
    // Create the endDate filter
    Expression<Func<MyEntity, bool>> withEnd = e => e.CreatedDate <= endDate.Value;

    // Combine this with the current queryBody
    queryBody = Expression.AndAlso(queryBody, withEnd.Body);
}

// Create a new lambda with the current queryBody and our parameter
var lambda = Expression.Lambda<Func<MyEntity, bool>>(queryBody, parameter);

// Give the lambda to the Query method
client.Query(lambda);

Or if you want to do a bit of string management and avoid the complexity of expression manipulation:
// Get the oData string filter for your initial expression
string filter = TableClient.CreateQueryFilter<MyEntity>(e => e.PartitionKey == Partition);

if (startDate.HasValue)
{
    // Get the oData string filter for the startDate expression
    string withStart = TableClient.CreateQueryFilter<MyEntity>(e => e.CreatedDate >= startDate.Value);

    // Combine the two strings with an 'and'
    filter = $"({filter}) and ({withStart})";
}

if (endDate.HasValue)
{
    // Get the oData string filter for the endDate expression
    string withEnd = TableClient.CreateQueryFilter<MyEntity>(e => e.CreatedDate <= endDate.Value);

    // Combine the two strings with an 'and'
    filter = $"({filter}) and ({withEnd})";
}

// Give the filter string to the Query method
client.Query(filter);

Thank you, this is exactly the info I needed!


How to proxy requests?

I'm using telegraph to serve a local html folder. However, I need to send a post request to a remote server which I can't add CORS header.
So I need to proxy the post request. I'm trying to do this
class ProxyHandler: HTTPRequestHandler {
    func respond(to request: HTTPRequest, nextHandler: HTTPRequest.Handler) throws -> HTTPResponse? {

        if request.method == .POST {
            request.uri = URI("http://my-domain.com")!
        }

        let response = try nextHandler(request)
        response?.headers.accessControlAllowOrigin = "*"

        return response
    }
}

But my client (WKWebview) got 404 response. Can anyone help?
Thanks

Hi, unfortunately it is a bit more complicated to get data from a remote server.
You basically have two options:
Option 1: Send a redirect header back to the client. The client's app / browser will get the file from the remote server. The demo app includes an example of how to do this:
https://github.com/Building42/Telegraph/blob/main/Examples/Demo/TelegraphDemo.swift#L71
https://github.com/Building42/Telegraph/blob/main/Examples/Demo/TelegraphDemo.swift#L134
Option 2: The server could perform the request using an URLSession and then when the result is ready, send the response back to the client. Telegraph doesn't support that scenario right now, because you would have to keep the request open until the remote request is done.


Use workbox in a custom instant messaging protocol

Use workbox in a custom instant messaging protocol
in Electron ,

const WorkboxPlugin = require('workbox-webpack-plugin');

    new WorkboxPlugin.GenerateSW({
        clientsClaim: true,
        skipWaiting: true,
        importWorkboxFrom: 'local',
        include: [/\.js$/, /\.css$/, /\.html$/, /\.jpg/, /\.jpeg/, /\.svg/, /\.webp/, /\.png/],
      }),

'workbox' has been successfully used. The file appears after packaging, but serverce worker is not installed

We are using our own defined instant messaging protocol. Can we use workbox in Electron?

Can you provide more details around what's not working? How do you know the service worker isn't being installed? I are you registering it from in your main page code? Are you getting an error when registering it?

I usually use workbox-webpack-plugin, which will be registered, but this time  not . The packaged file has workbox, I am very confused, is it my communication protocol

In general, if you're loading index.html using a file:/// URL scheme (inside of Electron), I wouldn't expect anything related to service workers to be functional. A service worker can only be registered if the page performing the registration is accessed via a secure origin.


Obsolete models deleted

Thank you for contributing to the Azure IoT Plug and Play Models repository
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact<EMAIL_ADDRESS>with any additional questions or comments.
The repository pipeline will ensure minimum validation of incoming DTDL models.

PR validation steps are described in the tools Wiki.
The same validation can be run locally via the dmr-client command line tool.

Requested info template for model(s) submission
When submitting models to the repository we ask that you provide as much of the following meta information around your models and related devices as possible. This info will be used to improve Plug and Play.
:star2: Please replace the markdown comment examples with your own values.
Company Info

IoT Plug and Play Device Info

Model Submission Goals

Code Owners & Reserved Names

HI,
I would like to delete these two obsolete models from the repository.  Is this possible?  If so, how is it done?
Regards,
Marcel

Hi @Marcel-Ball
This repository does not allow deletions or edits. Once a PR is accepted, we consider all the published interfaces as immutable. See https://github.com/Azure/iot-plugandplay-models/blob/main/pr-reqs.md#deletions-and-edits
Can you close this PR?

Hi @rido-min,
The two models that I need to delete were published in error and contain information LAB3 would like to keep confidential.  NEXUS is our first product and has not been sold yet so no downstream products have a dependency on these models.  The link you provided says deletion is discouraged, not impossible. Is there any way these two models can be deleted?
Regards,
Marcel

Hi @Marcel-Ball
Even if we accept this PR to delete those models, those will be kept in the Git history.
Once the PR is made, those are public and no longer confidential.
I'd suggest closing this PR
Thanks,
Rido

Hi Rido,
I understand the models will be kept in the Git history.  If deleted the models will not be visible unless somebody goes looking.  I would like the models deleted.
Regards,
Marcel

@Marcel-Ball , are you good with https://github.com/Azure/iot-plugandplay-models/blob/main/dtmi/lab3/nexus-3.json?

@Marcel-Ball , are you good with https://github.com/Azure/iot-plugandplay-models/blob/main/dtmi/lab3/nexus-3.json?

nexus-3.json is good.


Example radio buttons on website should be updated

The example in the documentation on the website here should be corrected, by taking the input tag out of the label tags.
The issue is discussed on stackoverflow and answered here.
In the CONTRIBUTING document it says here that for the documentation one should edit the master branch. However I could not find the page radio_buttons_content.html in the master branch.

That issue on stackoverflow is discussing an old version. Nesting the input inside the label is the right way to do it now.


feat: add affinity and tolerations to kong by gateway-operator

It would be great to have the option to set both affinity and tolerations on the gateway-operator chart somehow.
This would give the opportunity to deploy the kong/kong-gateway container on a certain node and/or to prevent a certain node based on the role of the node.

@tobiasehlert: #1111 should provide this functionality.

hi @pmalek,
thanks for creating a PR on this :)
does the affinity and tolerations apply to the controlplane and dataplane pods as well?


Authorization-code flow doesn't work

I am getting following BadSqlGrammarException with following explanation when I try to execute authorization-code flow.
It is strange that it says column userid is does not exist for a query performed as [update oauth_approvals set expiresAt=?, status=?, lastModifiedAt=? where userId=? and clientId=? and scope=?]
I do not understand what is the root cause of this exception since I do not see the value 'userid' anywhere in my code, database schema or query.
I am using Postgresql as the database, if that matters and the deployment is tested on docker containers.
I have tested this on 2.2.0.RELEASE and 2.2.1.RELEASE versions
I am using spring-boot as well. Tested on 1.5.2, 1.5.9 and 1.5.11.
In all cases I am getting the following error.
managementportal-app_1         | 2018-07-03 12:06:24.282 ERROR 10 --- [  XNIO-2 task-2] o.r.m.w.rest.errors.ExceptionTranslator  : Failed to process message
managementportal-app_1         |
managementportal-app_1         | org.springframework.jdbc.BadSqlGrammarException: PreparedStatementCallback; bad SQL grammar [update oauth_approvals set expiresAt=?, status=?, lastModifiedAt=? where userId=? and clientId=? and scope=?]; nested exception is org.postgresql.util.PSQLException: ERROR: column "userid" does not exist
managementportal-app_1         |   Hint: Perhaps you meant to reference the column "oauth_approvals.userId".
managementportal-app_1         |   Position: 77
managementportal-app_1         | 	at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:99)
managementportal-app_1         | 	at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
managementportal-app_1         | 	at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
managementportal-app_1         | 	at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
managementportal-app_1         | 	at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:649)
managementportal-app_1         | 	at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:870)
managementportal-app_1         | 	at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:931)
managementportal-app_1         | 	at org.springframework.security.oauth2.provider.approval.JdbcApprovalStore.updateApproval(JdbcApprovalStore.java:190)
managementportal-app_1         | 	at org.springframework.security.oauth2.provider.approval.JdbcApprovalStore.addApprovals(JdbcApprovalStore.java:119)
managementportal-app_1         | 	at org.springframework.security.oauth2.provider.approval.ApprovalStoreUserApprovalHandler.updateAfterApproval(ApprovalStoreUserApprovalHandler.java:223)
managementportal-app_1         | 	at org.springframework.security.oauth2.provider.endpoint.AuthorizationEndpoint.approveOrDeny(AuthorizationEndpoint.java:213)
managementportal-app_1         | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
managementportal-app_1         | 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
managementportal-app_1         | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

It would be great if anyone could give any directions about this, since we are really blocked by this. Please
Looking forward to have some follow-up responses. Any possible lead is welcomed.

I have figured out the issues I had and solved it. The issue was specific to PostgreSQL, since postgresql requires to explicitly escape queries that have case-sensitive values.
In https://github.com/spring-projects/spring-security-oauth/blob/master/spring-security-oauth2/src/main/java/org/springframework/security/oauth2/provider/approval/JdbcApprovalStore.java#L53 , there are hard-coded queries, which required to be changed.
E.g.
private static final String FIELDS = "expiresAt,status,lastModifiedAt,userId,clientId,scope";

was replaced with
private static final String FIELDS = "\"expiresAt\",status,\"lastModifiedAt\",\"userId\",\"clientId\",scope";

It would be great if these are handled in a more generic method.


Slowdown

When I use Chrome, the game lags in vanilla and then the MMO one also, but on Edge it runs on 50-60 fps. This is what it said:

Not only this, but it can go down to 27 fps, which is suprising that it slows down. I played SRB2 web on 20 fps, and was like normal SRB2. But lord, this lags so much. Vey rarely does Edge also slow down at 16 players. Using a Intel i5 laptop, made by HP.
May just  be my computer.

This is strange, but I'd like to know more.  can you confirm if you play on vanilla on edge and chrome. that fps is better on edge?

FPS is better than Chrome on Vanilla.

Vanilla runs smoother for 50-60 fps and also MMO, experience lag rarely

Tried Vanilla on Chrome, it's fine but on MMO it just lags a lot. Hmmm... Intresting.

bandicam 2020-11-25 09-00-15-212.zip
Please look at the following footage.

Oops, left my webcam on. Sorry!

This issue does not happen anymore. Sorry!

This issue does not happen anymore. Sorry!


File watcher not working on network file system

Currently the file watcher cannot work properly on network file systems, or file systems that doesn't support the underlying change notification mechanism that node's fs.watch relies on. This could lead to the language service crashing (#6726).
The alternative solution is to consider third party file watcher libraries. As suggested by Daniel (https://github.com/Microsoft/TypeScript/issues/7376#issuecomment-193072296), Watchman or similar product can be used for the purpose. It may worth some research.

For the record, there's a few things we should note about Watchman as a solution. From their Installation page:

Watchman relies on the operating system facilities for file notification,
which means that you will likely have very poor results using it on any
kind of remote or distributed filesystem.

Which sounds to me like you'll have sub-optimal results, but at least it won't crash. :smile:
Additionally, their Windows support is in alpha stages (see https://github.com/facebook/watchman/issues/19).

Actually the "operating system facilities for file notification" is the very thing that is lacking here, so that may be an issue too.
I wonder what VSCode uses for their own file watching, which may have considered this case already.

So I was trying to use a simple try/ catch to detect if fs.watch is available for the file, and if so use fs.watch, if not use time-stamp comparison. However, turns out sometimes node would simply crash (instead of throwing exceptions) why try to call fs.watch on a UNC path. Therefore this solution wouldn't work, and the support for network file system would be a non-trivial work item.

You probably want to track this open item for watchman: https://github.com/facebook/watchman/issues/201 if you're interested in better support for network shares.

@wez thanks for the heads up!

@zhengbli should this be closed now after #8196?

Yes I think so.


Refresh rate

hi, can I set the refresh rate? I feel very slow at the moment

@xuliefeng
Hi,
Thank you for the issue report.
goneovim does not specify the refresh rate explicitly, it refreshes only as needed.
This means that the actual rate will depend on the machine power.
Could you please provide the following additional information to clarify your issue?

Your OS and its version
Your goneovim settings (if you  have configuredsettings.toml )

My system is osx 10.15.7.
is my settings
[Editor]
BorderlessWindow=true
Transparent=0.9
StartMaximizedWindow=true
FontFamily="Hack Nerd Font"
FontSize=14
DisableImeInNormal=true
IndentGuide=false
ExtMessages=false
DesktopNotifications=false
[MiniMap]
Disable=true
[Cursor]
SmoothMove=false
Sorry, the description may be wrong. What I mean by slow refers to the sluggishness when moving, compared with the terminal (iterm2)

@xuliefeng
Hmmm, what is the specific action that you feel is slow? For example, is it scrolling speed?
Also, changing the following may help a little.
[Editor]
BorderlessWindow=false
Transparent=1.0

@akiyosi
your are right . After the modification, it is very smooth.
thanks


can't format php code

when use format-all-buffer for any php file, it shows
[error] Couldn't resolve parser "php".

in *format-all-errors*

I already install the plugin

Are your PHP files in a Node project (with its own package.json)? In that case, it might work to try npm install prettier @prettier/plugin-php with no --global option.

in a different computer, create a simple php file, still have this problem

Just ran into the same issue, also on a one-off project w/ no package.json, but it's nothing to do w/ this package. It's related to a breaking change in prettier v3. More info here: https://github.com/prettier/plugin-php/issues/2215
I have worked around it by putting a .prettierrc.json in $HOME and explicitly adding plugins that way:
{
    "plugins": [
<EMAIL_ADDRESS>    ]
}

With this, prettier on the CLI and via emacs starts working again. (prettier searchs for configs up from the file being formatted, and – in my case – all of my code is in $HOME/src. If you put your code elsewhere, you should adjust accordingly.)
(BTW Apparently global installs still can't handle short plugin names like @prettier/plugin-php, so the full path is required.)

Thanks, glad to have this sorted out. This is excellent information. We should add this link to the readme if more people stumble upon the same problem.

little update - this is upstream issue:
https://github.com/prettier/prettier/issues/15141
https://github.com/auvred/prettier-pnp


CIS instrument types to add

PINE:
ice nucleating particle counter (definition below)
Bilfinger Nuclear and Energy Transition GmbH
PINE-05
HINC-Auto:
ice nucleating particle counter (definition below)
ETH Zurich, https://ror.org/05a28rw58
HINC-Auto model 1
definition ice nucleating particle counter:
Instrument designed for measuring the number concentration of particles in an aerosol sample that may act as ice nuclei for liquid cloud droplets by exposing the particles to an atmosphere with a defined water vapour supersaturation and temperature similar to those occuring in clouds.
INSEKT:
droplet freezing array
Karlsruhe Institute of Technology, https://ror.org/04t3en479
PVM:
cloud light scattering photometer
Gerber Scientific, Inc.
Not yet discussed with new unit CCPar:
cloud light scattering spectrometer
Palas GmbH
ion chromatograph offline:
ion chromatograph (Ion chromatograph that is deployed in a lab and receives samples, which were collected in the field and transported to a lab.)
cloud water collector:
cloud water collector (Device for collecting liquid droplets by inertial impaction)
total organic carbon analyzer:
total organic carbon analyzer (Device for the determination of the organic carbon concentration in a sample. This instrument converts the organic carbon in a sample to carbon dioxide (CO2) by either catalytic combustion or wet chemical oxidation. The CO2 formed is then either measured directly by an infrared detector or converted to methane (CH4) and measured by a flame ionization detector.)
The model names for the narrower concepts still need to be defined in some cases.

We would like to discuss this in our next CIS-DC meeting with you on 28 August 2024, but I think the changes are somehow minor and we can go through quickly. As soon as the names are found, we will provide definitions.

Included in current version.


Expression boded accessor with Exception fails to compile

Expression boded accessor with Exception fails to compile.
With 'regular' expression works fine.
https://deck.net/24053c11c842adb3a0e298c0150941ed
public class Program
{
    public static void Main()
    {
        var msg = "Hello, World!";

        Console.WriteLine(msg);
    }

    public string ok => "ok";
    public string wrong => throw new System.NotImplementedException();
}

Expected Result
Hello, World!

Actual Result
<nothing>

Hi @kosmab – Interesting find!
Thanks for reporting this issue. We will investigate and try to fix right away.

Hi,
It is C# 7 feature (see Throw expressions section in https://blogs.msdn.microsoft.com/dotnet/2017/03/09/new-features-in-c-7-0/)
Bridge doesn't support C# 7 yet

The main C#7 thread is being tracked in Issue #2455.
We'll leave this issue open until the feature has been added to Bridge.

throw expressions are now support and will be included in the upcoming Bridge 17.0 release.
The original sample for this issue is working correctly in dev.deck.
https://dev.deck.net/24053c11c842adb3a0e298c0150941ed


Prepare research for the search bar user journey

We think that

The search and filtering process currently doesnt work for our users, if we change the UX of the search functionality then it will improve the success of users identifying works pages that they are looking for
Therefore we hypothesise that
By altering the arrangement and proximity of the components of the search bar and filters it will improve the time it takes for researchers of all backgrounds to find works pages that are relevant to them.
As measured by
Agreement for the measure and process behind the research needs to be confirmed by the team
Accessibility testers need to be identified to help observe any issues when using our site
We are right if

If users from all levels of experience and tecnological proficiency can use our search functionality to find items of interest

Creation of user empathy maps, areas of opportunity and user journeys here https://miro.com/app/board/o9J_khZNYIw=/

11 November
Images search

People are missing the Images tab
Image search filter by colour: some found the choice a bit overwhelming
Image search filter by colour: some wanted to find a specific hex value/type in a specific value
No 'no results' messaging
Nothing to tell you there are relevant results in catalogue tab

Future tbd:

[ ] Map out user journey for image search/results (UR)
[ ] Add contributor to image modal

@alicerichmond Should this issue also be closed now?


Incorrect Base Path Resolution for CropperJSInterop.min.js in Blazor Server App Deployed as IIS Application

I'm having a problem with the base path not working correctly and app is requesting the cropperJSInterop.min.js from the wrong URL
I see there was a similar bug reported before, which was supposedly fixed, but I don't think this worked for Blazor Server being deployed as an application on IIS.
I'm using version 1.2.0
Blazor Sever
.NET 7
Deployed to IIS as a application that lives down a level path off the root
e.g.
https://www.mydomain.com/myapplication/
The myapplication path is being stripped and then I get an error message:
Error: Microsoft.JSInterop.JSException: Failed to fetch dynamically imported module: https://www.mydomain.com/_content/Cropper.Blazor/cropperJsInterop.min.js
Looking over the code, I'm not sure it's using the navigation manager properly. The file in question is CropperJSInterop.cs
public async Task LoadModuleAsync(CancellationToken cancellationToken = default)
        {
            Uri baseUri = new Uri(_navigationManager.BaseUri);
            string pathAndQuery = baseUri.PathAndQuery;
            string hostName = baseUri.ToString().Replace(pathAndQuery, string.Empty);
            string globalPathToCropperModule = Path.Combine(hostName, PathToCropperModule);

            Module = await _jsRuntime.InvokeAsync<IJSObjectReference>(
                "import", cancellationToken, globalPathToCropperModule);
        }

It seems this could be simplified, and fix my problem using the navigation manager's ToAbsoluteUri method, here is my solution:
    public async Task LoadModuleAsync(CancellationToken cancellationToken = default)
    {
        string globalPathToCropperModule = _navigationManager.ToAbsoluteUri(PathToCropperModule).AbsoluteUri;

        Module = await _jsRuntime.InvokeAsync<IJSObjectReference>(
            "import", cancellationToken, globalPathToCropperModule);
    }

I've run two tests on my production server
One that uses this code:
Uri baseUri = new Uri(_navigationManager.BaseUri);
string pathAndQuery = baseUri.PathAndQuery;
string hostName = baseUri.ToString().Replace(pathAndQuery, string.Empty);
string globalPathToCropperModule = Path.Combine(hostName, PathToCropperModule);

This results in globalPathToCropperModule = "https://www.mydomain.com_content/Cropper.Blazor/cropperJsInterop.min.js"
And one that uses this code:
 string globalPathToCropperModule = _navigationManager.ToAbsoluteUri(PathToCropperModule).AbsoluteUri;

This results in globalPathToCropperModule = "https://www.mydomain.com/myapplication/_content/Cropper.Blazor/cropperJsInterop.min.js"
If this wouldn't work for other people I'm not sure why, maybe it has something to do with the way it's deployed not via IIS to an alternate path.
Having this property as a configuration options could also be a solution.  However I think the method of using the navigation manager .ToAbsoluteUri method might still be preferred as it's the intended solution to find the correct Uri.  Maybe an additional configuration override if you want to have the files statically stored somewhere or have some alternate setup.

PR: https://github.com/CropperBlazor/Cropper.Blazor/pull/153

Hi @zimmer62 . I added options into cropperjsInterop module, now you can import that module using settings like that, currently we have 2  mode:

Override path to cropper module:

Override full global path, example:

Please, wait a little while the changes are in the dev and master thread

You can use the new version of the package right now!

Hi @zimmer62 . Is the error currently valid in the latest cropper version 1.2.2 and can I close the issue?


method to scrape all the important website links related to an organization

Proposed Method: .get_organization_links()
Description
returns a dictionary of links of popular social media handles,website and gmail of the organization.
To what class it belongs?:Organization
Example Usage
t=github.Organzation(organization_name="Clueless-Community")
print(t.get_organization_links())

Output-:

{
'twitter' : 'https://twitter.com/by_clueless',
'gmail'<EMAIL_ADDRESS>'website':'http://clueless.tech/'
'instagram':' ',
'facebook':' ',
}

Sounds great @madmaverickminion, go ahead.

Can I import regex module for pattern matching?
@nikhil25803


No data populating

Seems like such a simple install.  The module renders properly, just none of my data!    Idk why I cant seem to get this one going.
[30.09.2023 12:59.33.961] [ERROR] (node:3804) UnhandledPromiseRejectionWarning: TypeError: Cannot read properties of undefined (reading 'startTimeLocal')
at getLastActivityDate (/home/mo/MagicMirror/modules/MMM-GConnect/node_helper.js:6:43)
at Class.socketNotificationReceived (/home/mo/MagicMirror/modules/MMM-GConnect/node_helper.js:28:34)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
(Use electron --trace-warnings ... to show where the warning was created)
[30.09.2023 12:59.33.962] [ERROR] (node:3804) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
[30.09.2023 12:59.33.979] [WARN]  Unhandled rejection StatusCodeError: 403 - "{"clientMessage":"Reference Error ID in error logs for further information","errorId":"3e7b86b5-3a30-4418-a9ed-5fb696180472","error":"WebApplicationException"}"
at new StatusCodeError (/home/mo/MagicMirror/modules/MMM-GConnect/node_modules/request-promise-core/lib/errors.js:32:15)
at Request.plumbing.callback (/home/mo/MagicMirror/modules/MMM-GConnect/node_modules/request-promise-core/lib/plumbing.js:104:33)
at Request.RP$callback [as _callback] (/home/mo/MagicMirror/modules/MMM-GConnect/node_modules/request-promise-core/lib/plumbing.js:46:31)
at self.callback (/home/mo/MagicMirror/modules/MMM-GConnect/node_modules/request/request.js:185:22)
at onRequestComplete (/home/mo/MagicMirror/modules/MMM-GConnect/node_modules/cloudscraper/index.js:629:3)
at onRequestResponse (/home/mo/MagicMirror/modules/MMM-GConnect/node_modules/cloudscraper/index.js:207:5)
at Request. (/home/mo/MagicMirror/modules/MMM-GConnect/node_modules/cloudscraper/index.js:149:7)
at Object.onceWrapper (node:events:628:26)
at Request.emit (node:events:513:28)
at Request. (/home/mo/MagicMirror/modules/MMM-GConnect/node_modules/request/request.js:1154:10)
at Request.emit (node:events:513:28)
at IncomingMessage. (/home/mo/MagicMirror/modules/MMM-GConnect/node_modules/request/request.js:1076:12)
at Object.onceWrapper (node:events:627:28)
at IncomingMessage.emit (node:events:525:35)
at endReadableNT (node:internal/streams/readable:1359:12)
at processTicksAndRejections (node:internal/process/task_queues:82:21)

Hi, thanks for your feedback.
Garmin recently changed their login routine, thus MMM-GConnect no longer works. The underlying library that I use is garmin-connect. They have the issue open here: https://github.com/Pythe1337N/garmin-connect/issues/55
Currently, they are working on a fix. I will update MMM-GConnect once the fix is finished.
-Thomas

Sounds excellent, thanks! I am fairly new to all this, but keen to learn.
Appreciate all that you do!
On Sun, Oct 1, 2023 at 5:26 AM Thomas Derflinger @.***>
wrote:

Hi, thanks for your feedback.
Garmin recently changed their login routine, thus MMM-GConnect no longer
works. The underlying library that I use is garmin-connect. They have the
issue open here: Pythe1337N/garmin-connect#55
https://github.com/Pythe1337N/garmin-connect/issues/55
Currently, they are working on a fix. I will update MMM-GConnect once the
fix is finished.
-Thomas
—
Reply to this email directly, view it on GitHub
https://github.com/tderflinger/MMM-GConnect/issues/4#issuecomment-1742020264,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BCY66IZH566QVVVU2JYDGRDX5EZODANCNFSM6AAAAAA5NGTRGA
.
You are receiving this because you authored the thread.Message ID:
@.***>

@moshin34, I updated the new library and it should now work. Please update to the latest code version. Also, you have to add your login creditials to the garmin.config.json file. This is now a requirement by the library.


Inquirer package is very old

Looks like Vorpal is using 0.11.0 version of Inquirer, which is now at 5.1.0. Please consider updating.

agree, I need that editor config, moreover, they provide a way to cancel prompt

I upgrade inquirer in the 2.0 branch, which wasn't too difficult. If someone wants to backport and submit a PR, that would be helpful. https://github.com/dthree/vorpal/commit/a3ea141233ca4cc81e8a19a061b763315663b8ed

https://nodesecurity.io/advisories/577
the referenced version of inquirer (that is 5 years old btw) is using version 3 of lodash. which has been nodesecurity'ed.
AKA everyone who tries to use vorpal is seeing this now:
┌──────────────────────────────────────────────────────────────────────────────┐
│                                Manual Review                                 │
│            Some vulnerabilities require your attention to resolve            │
│                                                                              │
│         Visit https://go.npm.me/audit-guide for additional guidance          │
└──────────────────────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ low           │ Prototype Pollution                                          │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ lodash                                                       │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ 811eaa981b4fe6a41bbae5238cd0c6d47b8ff6bd93f819a9fb0251719c7… │
│               │ [dev]                                                        │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ 811eaa981b4fe6a41bbae5238cd0c6d47b8ff6bd93f819a9fb0251719c7… │
│               │ > inquirer > lodash                                          │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://nodesecurity.io/advisories/577                       │
└───────────────┴──────────────────────────────────────────────────────────────┘

[!] 1 vulnerability found - Packages audited: 284 (284 dev, 0 optional)
    Severity: 1 low

Not very nice message if I would say so myself.

This is affecting other projects such as moleculer.

@leaanthony This project is dead already, I wouldn't recommend anyone to build something new upon it.

What do you mean? Last commit was 11 Jun.

Yeah it could use an update. The examples also no longer work. Is anyone doing this yet or it this still open?


@ashfurrow => Dependencies

Reviewing now.

Looks good Orta – I've provided feedback on the tone, let me know if you want follow-up.

I've gone through and taken a stab at fixing some of the wording!


Option to skip s3 bucket existance check/creation

Request details
Currently whenever the s3 storage provider is initiated it performs a HeadBucket request to determine if the bucket exists and attempts to create it when it does not. This means that extra permissions are required besides get/list/put object for normal operation.
This also cause an incompatibility with CloudFlare's R2 because it's permissions aren't granular enough and Object Read & Write is not able to perform the HeadBucket request (this seems to be a R2 bug as HeadBucket should only require the s3:ListBucket permission) meaning Admin Read and Write must be used for normal operation, this permission is dangerous as it allows full access to perform read/write/create/delete to all the R2 buckets in the account.
If possible, please include an option to skip the bucket check attempt on the storage initialization.

I've covered it with a system property called reposilite.s3.skip-bucket-creation. If you launch your process with -Dreposilite.s3.skip-bucket-creation=true flag, S3 provider won't try to make a head request & create a bucket at all. It's a bit niche, so I didn't put it in the main cfg, although in case of more people affected by this behavior, we can for sure reconsider that.


Update to 0.2.4.

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

This PR updates NVTX to version 0.2.4. (Note that version 0.2.5 does not have a source distribution on PyPI.)
It also rebuilds against the latest nvtx-c, which is 3.1.0 as of this writing.

@conda-forge-admin, please rerender


Front end

Please review the front end. The root folder should not have extra dependencies.


[present] Rewrite TB to avoid non-freely licensed code

The stuff that was in crypto_dpi_present had been taken from
http://www.lightweightcrypto.org/implementations.php which may well be
intended for this sort of use, but isn't actually available under an
open source licence.
Fortunately, PRESENT is easy enough to implement, so this PR knocks
together some code to do so.
The testbench is also altered slightly, partly to allow us to write a
simpler C++ implementation, and partly to avoid some slightly odd
parameter names.

Oh! I didn't realise we integrated the DPI model into the OTP testbench too. I'll fix this up next week.


[Internal] Integrate Databricks SDK with Model Serving Auth Provider

Changes
This PR introduces a new model serving auth method to Databricks SDK.

If the correct environment variables are set to identify a model serving environment
Check to see if there is an oauth file written by the serving environment
If this file exists use the token here for authentication

Tests
Added Unit tests

[x] make test run locally
[x] make fmt applied
[x] relevant integration tests applied

Mostly looking good, but we shouldn't throw exceptions from the credential strategy, otherwise DefaultCredentials will stop trying later auth mechanisms. This will be problematic if new strategies are added later. Otherwise, a few nits.
Were you able to test this out with a manual test?

Manual Test Endpoint Here: https://e2-dogfood.staging.cloud.databricks.com/ml/endpoints/agents_main-default-test_agent_09_16?o=6051921418418893

@mgyucht We discussed in the call about making this a oauth-credential-provider. However that requires a refresht_token we do not have. We can set that to None but what happens then when the expiry is hit.
In terms of direct ingress, I do not think we are going to be hitting Model Serving Direct Ingress Endpoints right now. The only thing that we could do is talk to a Foundational Model Serving Endpoint through the workspace client. Currently we already do that in our Mlflow code by sending a request directly.
WIth this change we will now start to use databricks sdk workspace client to make this call. We will use the code here. As it already worked before, I am assuming that it will work again as this directly calls the api client. Do we still need to integrate oauth-credential-provider now.

jenkins merge


dockerize Athenz

add Athenz docker images
provide sample deployment of Athenz in DEV env.

https://github.com/WindzCUHK/athenz/blob/dockerize.v2.2.PR/docker/README.md

There are some pending problems that need to discuss.
https://github.com/WindzCUHK/athenz/blob/dockerize.v2.2.PR/docker/README.md#TO-DO
https://github.com/yahoo/athenz/pull/712/files#diff-475cb621dc375eabf25241c524a409f3
This change is related to issue https://github.com/yahoo/athenz/issues/695.

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.

Changes to README.md file required:

The username and password to the athenz-ui should be written in the README file, had to find it in the 1.2.config-zms-domain-admin.dev.sh file
Give a little more information on the ports number being used by the servers and databases.
Since the output generated while building is a lot, you may want to include a line indicating that user may want to pipe the output to a file to refer to it later to find any errors.

ERRORS:
I executed the steps as mentioned in the README. After executing the steps on logging into athenz-ui with the admin username and password, no domains are visible.
I checked the ZMS server logs and it doesn't get a request from the UI server and hence it doesn't show the domains. There maybe something wrong with how the UI server is being configured

@chandrasekhar1996
We have update the following.

README.md

add UI session, with certificate and login info.
add server ports session

script output

fix setup and deploy script output
on build, tee to a file by default

UI

https://github.com/yahoo/athenz/pull/717: update UI code to have different ZMS host name on ajax request and internal request
update UI deploy script to use the new env. variable

P.S. we will squash the commit log later to keep it clean and tidy.

@WindzCUHK
Upon running the command make run-docker-dev, there is an error when
2.1.register-ZTS-service.sh is executed:
https://gist.github.com/chandrasekhar1996/5e77dd35227043a92749d5b1bdab4335
Due to this error only two docker containers are created ( athenz-zms-server and athenz-zms-db ). Please refer to the audit log here to debug the cause of error - NullPointerException.

Also, these are few of the warnings generated when athenz is built. Kindly look into it
npm WARN deprecated<EMAIL_ADDRESS>CircularJSON is in maintenance only, flatted is its successor.
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.
npm WARN The package select2 is included as both a dev and production dependency.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.
npm WARN The package select2 is included as both a dev and production dependency.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

@chandrasekhar1996

about ZMS server is not functioning, I think it is due to the recent commit made on the master branch. I am not sure about the error yet. Is the functional testing for ZMS working at your side?
We are plan to update the UI version in different PR. We will also update its dependencies by that time.

@chandrasekhar1996

FYI. Rebased this branch to latest commit https://github.com/yahoo/athenz/pull/718. The ZMS can run without problems.
Just in case that you are not aware of the issue https://github.com/yahoo/athenz/issues/695.
https://github.com/yahoo/athenz/pull/712/files?file-filters[]=.sql#diff-475cb621dc375eabf25241c524a409f3
Changes on current ZTS schema is needed to run on standard MySQL docker image. Is there any idea on how to fix this issue at your side?

@WindzCUHK

The issue #695 has been resolved, so can you rebase your branch to the latest commit so that I can test out the functionality from my side.
In your commit, there are a lot of certificates and private keys. Please remove those from the commit and ensure that these are generated in the code and are not hardcoded.

@chandrasekhar1996
Thank you for reviewing.

rebase done, can I know how you test the functionality? I think user may also be interested about that. We have some simple test in here. However, it is currently only for internal testing.

We also have the same concern. We include them as a reference for the user, so that it is easier for the user to understand Athenz's configuration and file structure. However, some unskillful user may just use the reference config directly. Do you have any ideas on how we should update the documents? We currently having the link to the reference file for explanation.
https://github.com/WindzCUHK/athenz/blob/dockerize.v2.2.PR/docker/docs/configuration.dev.md

@chandrasekhar1996
Is there still any concerns about this PR?
I think we can update the doc and add acceptance test in other PRs.

@WindzCUHK
This time all the docker containers are created and everything is up and running but on trying to login using the admin credentials then I am getting the following error:

Unable to fetch auth service user token

OPTIONS https://localhost:4443/zms/v1/user/self/token?services=athenz.ui-server net::ERR_CERT_AUTHORITY_INVALID

Please look into this and once everything is up and running then the doc can be updated.

@chandrasekhar1996
https://github.com/WindzCUHK/athenz/blob/dockerize.v2.2.PR/docker/README.md#deploy-athenz
As state in the Note for UI part,
you need to ignore the browsers warning message explicitly for both ZMS and UI certificate.
From the deploy commands, I think you already set export HOSTNAME=localhost.
Then, by running echo https://${HOSTNAME}:${ZMS_PORT:-4443}/zms/v1/status you get a ZMS URL.
Finally, accessing the URL inside the browser and explicitly ignoring the warning message are needed.
The document may not be well written. Do you have any suggestions for improvement?

@WindzCUHK @chandrasekhar1996  thanks guys for testing this out.


Gradient clipping across multiple GPUs

Hello,
Can someone please point me to an example where gradient clipping can be performed on multiple GPUs.
Thanks
Zeeshan

The example which I found was using gluonnlp.utils.clip_grad_global_norm as follows:
trainer.allreduce_grads()
nlp.utils.clip_grad_global_norm(params, 1)
trainer.update(accumulate if accumulate else 1)
step_num += 1
if accumulate and accumulate > 1:
    # set grad to zero for gradient accumulation
    all_model_params.zero_grad()


Feature request: Use Guardium-12345 notation for non-CVE test definitions

Request

Do not use full test description as the third-party test id.  Instead, use a short notation like:  Guardium-12345 where 12345 is the TEST_ID from Guardium.

Rationale

The third-party test id is limited to 255 characters (in VR)
The third-party test name field is limited to 512 characters
Customer prefers to quickly see Guardium test definitions with a short ID

Fix is in Update Set v1.2.17


RFC 0511 - Missing transition in 0453 from Receive request-credential to Send offer-credential

RFC 0511 currently says:

This allows the Holder to initiate the issue-credential protocol with a request-message providing they also possess the requisite challenge and domain values. If they do not possess these values then the Issuer MAY respond with an offer-credential message.

The state machine in RFC 0453 does not have a transition from Receive request-credential to Send offer-credential.

@swcurran we should update RFC0453 with a state matrix....
There's a note that says the choreography diagram represents just the "happy path".
Is there a reason why a transition for the Issuer from request-received -> offer-sent would be disallowed?

The expectation is that any negotiation around issuance would occur with the "proposal" and "offer" messages, and once that was completed, the flow would go to "request" and "issue".  It was deliberate that there not be a "request" to "offer" path, so this is not an oversight.  I think that there should be a discussion to see if that should be changed.
Given that and the extra interactions in the DIF model (which admittedly I still don't fully understand), would it make sense to make more use of the proposal (and offer) message for the interactions that cover the "proof" part of DIF issuing?


Add connector sms77io

Please check the following conditions for your PR.

[x] apiDefinition.swagger.json is validated using paconn validate command.
[x] apiProperties.json has a valid brand color. Invalid brand colors are #007ee5 and #ffffff.

@matthiez Could you please fill out this form so we can connect and learn about the connector? Thanks in advance!

@matthiez Could you please fill out this form so we can connect and learn about the connector? Thanks in advance!

Done!


All tests are None in TestSuite in Python 3

Populated testsuite instance has a _cleanup flag set to True in python 3 and it's omitted in python 2
As result in python 3 final test suite looks like this:
<xunitparser.TestSuite tests=[None, None, None]>
Workaround is define custom testsuite class in parser:
import xunitparser

class TestSuite(xunitparser.TestSuite):
    _cleanup = False

class MyParser(xunitparser.Parser):
    TS_CLASS = TestSuite

parser = MyParser()
ts, tr = parser.parse(open('nosetests.xml'))

Is there any chance this can be prioritized? With py2 going away this becomes critical.

Is there any chance this can be prioritized? With py2 going away this becomes critical.

This repository is abandoned.

This repository is abandoned.


AO-12148: Add link to the knowledge base website

Codecov Report

Merging #97 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #97   +/-   ##
=======================================
  Coverage   82.42%   82.42%
=======================================
  Files          34       34
  Lines        3789     3789
=======================================
  Hits         3123     3123
  Misses        566      566
  Partials      100      100

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 67e5020...025228d. Read the comment docs.


Issue #3 Solved : Theme Update

Toggle button to switch between light and dark mode.

@Aakansha99  how should I resolve this conflict

Nice work @goelradhika.


Repeater addAction isn't loading the repeater relationship for select component search

Package
filament/filament
Package Version
v3.0.101
Laravel Version
v10.33.
Livewire Version
v3.2.1
PHP Version
PHP 8.2.12
Problem description
Whenever the add action return an action form, the trait BelongsToModel is doing that:
    public function getModelInstance(): ?Model
    {
        $model = $this->evaluate($this->model);

        if ($model === null) {
            return $this->getContainer()->getModelInstance();
        }

        if ($model instanceof Model) {
            return $model;
        }

        return app($model);
    }

and the container won't be the Repeater, but whichever container is containing the Repeater, so in case of nested relationships, like:
 Repeater::make('companyOrderProducts')->schema(
        [
            Forms\Components\Select::make('product_id')
                ->relationship(name: 'product', titleAttribute: 'name')
                ->live()
                ->searchable()
                }),
             //...

it's gonna work fine whenever you are editing in the repeater field, but it's gonna break, throwing a TypeError

Filament\Support\Services\RelationshipJoiner::prepareQueryForNoConstraints(): Argument #1 ($relationship) must be of type Illuminate\Database\Eloquent\Relations\Relation, null given

(at least in my case: if you have any overlapping relationship name, it could lead to unexpected behaviours, I guess).
Expected behavior
I would expect the select to load its Repeater "parent" relationship, I guess.
Steps to reproduce

load a relationship in the repeater form field
load a relationship in a select into the repeater schema
return a form in the addAction repeater method

It should be already set in my reproduction repository, just run php artisan db:seed,
issue at  App\Filament\Resources\OrderResource line 42
Reproduction repository
https://github.com/Carnicero90/filament-bug-reporting.git
Relevant log output
Filament\Support\Services\RelationshipJoiner::prepareQueryForNoConstraints(): Argument #1 ($relationship) must be of type Illuminate\Database\Eloquent\Relations\Relation, null given, called in /var/www/laravel/vendor/filament/forms/src/Components/Select.php on line 712

This is because the add action belongs to the repeater, which belongs to the parent record. You are expecting it to belong to child containers (items) within the repeater. If you want to change the model for a form, you can use $form->model(ModelClass::class)


Cannot we hide the data in ( Transfer custom data in Drag-and-Drop) feature. Once it is dropped in the droppable container.

I'm submitting a ...
[ ] bug report
[/ ] feature request
[ ] question about the decisions made in the repository

I want data from the first container should be disappeared once dropped to the second container.
and can we use onDropSuccess($event) for Simple sortable With Drop into recycle bin
also

(Simple sortable With Drop into something, without delete it) --
https://github.com/akserg/ng2-dnd feature No.12
can we enable that funcationality once drag from one container the item should not be visiable in that.

I agree on this. Is there a way to do this currently? Or do we need to build this in?


BUG - multiple formula references breaks refactor

Are you a current Fivetran customer?
Yes
Describe the bug
When a formula references more than one earlier formula, the refactor macro creates more than one formula in the output array which breaks the pivot macro.
Here's an example. This is the data in the fivetran_formula table:

field
sql

field1
null

field2
null

field3
CASE field1 = 'abc' OR field2 = 'abc' WHEN true THEN 'value1' ELSE 'value2' END

This creates the following structure for the key_val variable returned to the pivot macro:
[
  ['field1','null_value'],
  ['field2','null_value'],
  ['field3', "case field1 = 'abc' or (null) = 'abc' WHEN true THEN 'value1' ELSE 'value2' END", "CASE (null) = 'abc' OR field2 = 'abc' WHEN true THEN 'value1' ELSE 'value2' END"]
]

Notice field3 has two values where field1 and field2 got replaced separately.
Expected behavior
There should be a single formula with all earlier formulas refactored out.
[
  ['field1','null_value'],
  ['field2','null_value'],
  ['field3', "case (null) = 'abc' or (null) = 'abc' WHEN true THEN 'value1' ELSE 'value2' END"]
]

Package Version

  - package: fivetran/salesforce_formula_utils
    version: [">=0.1.0", "<0.2.0"]

Warehouse

[ ] BigQuery
[ ] Redshift
[x] Snowflake
[ ] Postgres
[ ] Databricks
[ ] Other (provide details below)

Please indicate the level of urgency
Low - came up while I was working on follow-up to #6 .
Are you interested in contributing to this package?

[ ] Yes, I can do this and open a PR for your review.
[ ] Possibly, but I'm not quite sure how to do this. I'd be happy to do a live coding session with someone to get this fixed.
[x] No, I'd prefer if someone else fixed this.  I don't have the time and/or don't know what the root cause of the problem is.

Thanks for opening this issue @djbelknapdbs. This package is currently undergoing a lot of feature enhancements and I will take this one into consideration as you would want the result of the macro to be able to identifier more than one formula if that is the case.
I will keep you updated here when we release v0.2.0 of this package which will contain the bug fix for this issue.
Thanks again for all your contributions to this package 😄

Thanks for calling this out @djbelknapdbs! I have just cut v0.2.0 release of this package and should be live within the hour. This bug has been addressed.
Please let me know if you notice any other issues when exploring this package.


Showing descriptive message if Mrsk could not SSH

At the moment, Mrsk throws Lock Not Found error even though it could not connect to the server with SSH. That can throw user off the track.
Resolves #172

Solved via https://github.com/mrsked/mrsk/pull/202 👍


Install through Nuget

From @jnapier on Friday, December 1, 2017 10:09:49 AM
I cannot find this package through Nuget. The only available version I see is 0.2.0 from Nov 15, 2016.  I am looking at the Microsoft.AspNetCore.Proxy package. Is this project under a different name? Can spmeone help me on locating the most recent version? Thank you.
Copied from original issue: aspnet/Proxy#80

From @anorborg on Saturday, December 2, 2017 7:59:33 AM
I'm also curious about this. It seems 0.3.0 has a decent amount of changes (including some used in the samples, i.e. IServiceCollection extensions). I see a reference to rtm in the myget for aspnetcore-dev thats a few months old. Maybe just not published to nuget? https://dotnet.myget.org/feed/aspnetcore-dev/package/nuget/Microsoft.AspNetCore.Proxy

From @stijnvanbossuyt on Thursday, December 7, 2017 4:59:33 AM
Error CS1061: 'HttpContext' does not contain a definition for 'ProxyRequest' and no extension method 'ProxyRequest' accepting a first argument of type 'HttpContext' could be found (are you missing a using directive or an assembly reference?). When using 0.3.0-rtm-26423

I confirm nuget still contains only the old 0.2.0 version.
Several bugs are fixed in the 0.3.0 . Is it planned to update the version present on nuget?

No, the Proxy package is not currently being developed or shipped.


move some parts of LogMessage from header to cpp file

Scope & Purpose
Small cleanup for some logging code

moved some parts of LogMessage from header to cpp file, so less recompilation will be required if that code is changed later on
verify that _offset does not point outside the log message after shrinking. this is very unlikely, because offset is something between 20 or 30 characters only, and the minimum log message length for shrinking is 256 characters. so it is a theoretical issue right now, but the fix will be useful should the limits/bounds be changed later.

Inspired by a fix that was necessary for 3.7, but didn't affect devel: https://github.com/arangodb/arangodb/pull/13580
Intentionally no CHANGELOG entry written, as it is an internal code cleanup PR only, without effects for end users.

[x] :hankey: Bugfix (requires CHANGELOG entry)
[ ] :pizza: New feature (requires CHANGELOG entry, feature documentation and release notes)
[ ] :fire: Performance improvement
[x] :hammer: Refactoring/simplification
[ ] :book: CHANGELOG entry made

Backports:

[x] No backports required

Testing & Verification

[x] This change is already covered by existing tests, such as server_parameters.

Link to Jenkins PR run:
http://<IP_ADDRESS>:8080/view/PR/job/arangodb-matrix-pr/14051/

http://<IP_ADDRESS>:8080/view/PR/job/arangodb-matrix-pr/14065/


Stoped working yesterday

I loved your work on the new version, i was using and testing for educational reasons, but until last night, when we press generate button, the terminal window only shows as 320 value, repeated the number of times that we set the amount of accounts to generate. Any ideias about what happend ?
Thanks and keep the excelent work !!!

Can you provide me a screenshot?

strange, i tested now outside rdp or virtual machine and worked again...
i'm going to investigate further and give you a reply.
Thanks
Em qua., 14 de out. de 2020 às 13:18, Henry Richard J <
<EMAIL_ADDRESS>escreveu:

Can you provide me a screenshot?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/henry-richard7/Spotify-Account-Generator/issues/5#issuecomment-708509746,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQOYMOPV3RPLP734NRCHSX3SKXFMNANCNFSM4SQ2HZCQ
.

Well i think it happens because it makes too many requests for verifying the account so i should add proxy when verifying the accounts

I was using a VPN to use the script maybe was that
Em qua, 14 de out de 2020 13:22, Henry Richard J<EMAIL_ADDRESS>escreveu:

Well i think it happens because it makes too many requests for verifying
the account so i should add proxy when verifying the accounts
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/henry-richard7/Spotify-Account-Generator/issues/5#issuecomment-708512102,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQOYMOOPQXMTCSB5TMVPWHLSKXF23ANCNFSM4SQ2HZCQ
.

Yea maybe... if you run into any problem please update me.

I made some adjustments in the code to it click on the received email on a
personal domain to validate the Spotify email, do you have interest in the
code? If so I can send to you
Em qua, 14 de out de 2020 13:25, Henry Richard J<EMAIL_ADDRESS>escreveu:

Yea maybe... if you run into any problem please update me.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/henry-richard7/Spotify-Account-Generator/issues/5#issuecomment-708513972,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQOYMOINB6OGURMKSBMYDULSKXGHFANCNFSM4SQ2HZCQ
.

okay send me it will help me a lot .

Sorry i was to send the modified file to you and forget. I'll send asap

ok i will wait

Sorry to have taken so long to reply...
Em dom., 18 de out. de 2020 às 23:51, Henry Richard J <
<EMAIL_ADDRESS>escreveu:

ok i will wait
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/henry-richard7/Spotify-Account-Generator/issues/5#issuecomment-711480869,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQOYMOJVR5KGUSESXPO6SILSLOSSDANCNFSM4SQ2HZCQ
.

i find out whats the problem sometimes with the code, it's an error
generated by requests when the response
site has a invalid ssl certificate. I worked out doing the following :
import requestsfrom urllib3.exceptions import InsecureRequestWarning
Suppress only the single warning from urllib3 needed.
requests.packages.urllib3.disable_warnings(category=InsecureRequestWarning)
Set verify=False on
requests.post.requests.post(url='https://example.com',
data={'bar':'baz'}, verify=False)
Hope it helps, now i can use the script on VPS....
Em seg., 19 de out. de 2020 às 00:24, joao luiz aranha de faria <
<EMAIL_ADDRESS>escreveu:

Sorry to have taken so long to reply...
Em dom., 18 de out. de 2020 às 23:51, Henry Richard J <
<EMAIL_ADDRESS>escreveu:

ok i will wait
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/henry-richard7/Spotify-Account-Generator/issues/5#issuecomment-711480869,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQOYMOJVR5KGUSESXPO6SILSLOSSDANCNFSM4SQ2HZCQ
.

Okay thanks a lot I will update by code!


Create new mapping for Spark

Currentlyit uses key value pairs for metric definition:
application_1478982949320_0006_driver_jvm_PS-Scavenge_count	  	  12
It should use memory type aggrecation:
spark_type: application_1478982949320_0006_driver_jvm_PS-Scavenge_count
value: 12

Also need to create advance aggregation query after mapping has been fixed. Merged issue #162.


Is there a plan to support the Yar RPC framework?

Yar is a RPC framework which aims to provide a simple and easy way to do communication between PHP applications It has the ability to concurrently call multiple remote services.
php website: http://php.net/manual/zh/yar.examples.php
I am eager to have the perfect support for the framework, do you have the exact timetable?

No, there's no plan to support it by core team members. If anyone would implement it and maintain it we don't mind promoting it.


can i disable AddressResolverGroupFactory

Due to security issues, I want him to use the default dns instead of netty to read /etc/hosts。
:)

You need to implement your own in this case.


Fix diamond refraction

Likely related to ior changes in #260

This actually looks like a longer standing issue with MIS vs non MIS rendering. Possibly related to here