[Consensus] break score ties in randomized and deterministic order

Description
Currently score ties are broken with authority index, which can bias leader selection to nodes with lower authority index. Instead, shuffle the scores based on commit index, then stable sort scores.
Also, reputation scores sent to Sui are unsorted and without authority index now. These extra logic and data should be unnecessary.
Use a separate type DecidedLeader to represent leader slots that are either committed or skipped.
Test plan
CI

Release notes
Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required.
For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates.

[ ] Protocol:
[ ] Nodes (Validators and Full nodes):
[ ] Indexer:
[ ] JSON-RPC:
[ ] GraphQL:
[ ] CLI:
[ ] Rust SDK:

Nice cleanups! Thanks Mingwei 💪🏽


WASM: Document WASM support

Resolves #501

Pull Request Test Coverage Report for Build 2426

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.2%) to 80.452%

Totals

Change from base Build 2423:
0.2%

Covered Lines:
4091

Relevant Lines:
5085

💛  - Coveralls


Making find-file-hook local to *.tex while let-bound!

Crud. And I thought I had killed all the messages.
This doesn't reproduce in emacs -Q so it's my fault, apparently.

I think this is gone.


The mechanical world stops updating after 524,288 seconds when using f32 precision

I have created a simulator based on nphysics and I've noticed that after 6 days the mechanical world stops ticking correctly. This seems to be a floating point precision issue regarding the parameters t and dt. Using the default dt = 1.0/60.0 then the simulator stops at exactly 524,288 seconds.
let t = 524288.0f32;
assert_eq!(t + 1.0/60.0, t);

While it would be possible to change the simulator to run on f64 values, nothing apart from the time requires that precision.

It might make sense to convert the time related values to use std::time structs which should handle a much larger time period.
https://doc.rust-lang.org/std/time/struct.Instant.html

Hi! What exactly do you mean by "the mechanical world stops ticking correctly"? What behavior are you observing and what is your setup?
While nphysics does maintain the total elapsed time in the IntegrationParameters::t variable, it is never used for the simulation itself. So even large running times should not affect the simulation itself.

Ok so I am using IntegrationParameters::t to keep the sim in sync with real time.
let start = time::Instant::now();
...
while mechanical_world.integration_parameters.t < start.elapsed().as_secs_f32() {
    let real_elapsed = start.elapsed().as_secs_f32();
    let sim_elapsed = mechanical_world.integration_parameters.t;

    if real_elapsed - sim_elapsed > 0.5 {
        warn!("Jerk to catch up - real: {:?}, sim: {}", real_elapsed, sim_elapsed );
    }

    mechanical_world.tick(...);
}

Oh, I see. In that case we should change t to use std::time::Duration as you suggested instead.

I can make a PR.
It was pointed out on discord that it might be best to avoid std::time as we might want to keep nphysics free of units. std::time::Duration uses a mix of u64 and u32 to go up to billions of years and down to nanoseconds.
pub struct Duration {
    secs: u64,
    nanos: u32, // Always 0 <= nanos < NANOS_PER_SEC
}

Is this good enough or should it just be changed to an f64?

Mmh, now that you mention it, it is right that nphysics is free of units. I also think that using f64 is not viable because the scalar type used by nphysics could very well be greater than 64-bits (because the user could use decimal d128 types once they support more math operations).
So after some thought I think it is best to simply deprecate t and leave it to the user to track the time as he wishes. nphysics itself does not use this t anyway.


adding manual load cpdb yml

Added a manual loading YML for the CDPB historical projects + made a python script for merging different CPDB files together. Added NYCOC Checkbook YML that reads in checkbook data

regarding library/script/dcp_cpdb.py:

you're reading the cpdb geometries data in as pandas dataframes, combining and then writing to a CSV, but the cpdb geometries are shape files not csvs -and we originally used GeoPandas rather than pandas to concatenate them
cpdb_projects.csv doesn't need to be joined onto the cpdb geometries (cpdb geometries contains all the same info plus geometries)


Does it work on OSX?

On OSX (El Capitan), when I add "target": "console_exe" to my build systems, they stop working.  Nothing happens at all.  No terminal window opens.  No error in Sublime.  Nothing.  :(
For example, this works (displays output in Sublime's built-in console):
{
  "shell_cmd": "echo hello"
}

But this doesn't work (nothing happens):
{
  "shell_cmd": "echo hello",
  "target": "console_exe"
}

It got full Linux support as of #3. Here's how. (The xterm call was added here.)
I haven't tested it on OSX, but if xterm isn't an option, we'll have to add an OSX-specific case in here. Are you able to edit that file locally and try another terminal command to see?

I can take a crack at it. Any idea where console_exec.py gets installed?

@apowers313 Awesome! I'm not sure where it goes in OSX off the top of my head (and I think package control may ZIP up the packages making it harder to tinker).
What I would do is uninstall Console Exec using package control, click Preferences, Browse Packages to open the packages directory, and git clone this repo there. One nice thing about Sublime Text is that every change you make to the plugin code will be automatically reloaded.
Hope that helps.

Quick question:

What does this do? console_cmd = console + ['{} ; {}'.format(escaped_cmd, pause)]

And some notes as I'm making progress:

os.name returns "posix" on mac (which is the same as Linux), so use platform instead
The right terminal to use on mac is Terminal.app, but it's not quite clear how to pass a command to Terminal.app and then have it exit

Here's the code so far:
import sublime_plugin
from sys import platform

try:
    from shlex import quote
except ImportError:
    from pipes import quote

class ConsoleExecCommand(sublime_plugin.WindowCommand):
    def run(self, cmd=[], env={}, path='', shell=False, win_console=None,
            unix_console=None, mac_console=None, **kwargs):
        # Show message
        sublime.status_message('Running ' + ' '.join(cmd))
        # sublime.message_dialog('this is a test')
        print('os name: ' + os.name)
        print('platform: ' + platform)

        # Get platform-specific command arguments
        if platform == 'win32' or platform == 'cygwin':
            console = win_console or ['cmd.exe', '/c']
            pause = ['pause']
            console_cmd = console + cmd + ['&'] + pause
        elif platform == 'linux' or platform == 'linux2':
            console = unix_console or ['xterm', '-e']
            escaped_cmd = ' '.join(quote(x) for x in cmd)
            pause = 'bash -c \'read -p "Press [Enter] to continue..."\''
            console_cmd = console + ['{} ; {}'.format(escaped_cmd, pause)]
        elif platform == 'darwin':
            print('running OSX command')
            # console = mac_console or ['bash', '-e']
            console = mac_console or ['open', '-a', 'Terminal.app']
            escaped_cmd = ' '.join(quote(x) for x in cmd)
            pause = 'bash -c \'read -p "Press [Enter] to continue..."\''
            # console_cmd = console + ['{} ; {}'.format(escaped_cmd, pause)]
            console_cmd = console
        else:
            sublime.message_dialog('Console Exec: It appears your platform is not supported, please submit a GitHub issue')
...

Here's a working method for launching terminal and running a command, I just have to figure out how to replace echo hi with the command:
console_cmd = ['osascript', '-e', 'tell application "Terminal"\n    tell application "Terminal" to do script "echo hi && exit"\n    activate\nend tell']

Note that this is what it looks like:

apowers$ echo hi && exit
hi
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
[Process completed]

There's no need to "pause" -- Terminal hangs around automatically after exit.

Was any additional progress ever made on this?

Here's a working method for launching terminal and running a command, I just have to figure out how to replace echo hi with the command:
console_cmd = ['osascript', '-e', 'tell application "Terminal"\n    tell application "Terminal" to do script "echo hi && exit"\n    activate\nend tell']

Note that this is what it looks like:

apowers$ echo hi && exit
hi
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
[Process completed]

There's no need to "pause" -- Terminal hangs around automatically after exit.

Hello if you are still willing to use it, I shared a patch for your study. https://github.com/joeyespo/sublimetext-console-exec/pull/11


Doesn't work for me at all...

I'm trying to get pjax to work. I have this simple site https://github.com/silvenon/waldorfcamp/tree/master/source, I tried doing $('nav a').pjax('#main') (it's not currently there so you can imagine it), but it didn't work, meaning it was still refreshing each time, no AJAX. Is there something I missed...?

The same to me, waiting answer

Do you have suitable server-side code which sends a fragment of a page back? If the server response includes the full markup of a page (ie. all the ) then PJAX will redirect to that page after receiving the response.

I don't think I have any server-side code, I'm running the site on a local server... (I'm a noob at these stuff.)

You'll either need to get something set up server-side (the Readme has a little bit of code to get you started), or else you can cheat around the issue by adding the fragment option describing which element to pull out of the returned html.
$("nav li a").pjax("#content", { fragment: ".shim" });

Whooptidooo, it works! Thanks a bunch! :D


chore: remove CLA and COC

This was discussed with @rfaircloth-splunk and we can remove those files from this repository as we are using a centralized repository for CLA and COC.

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


Bump "integration" package

Following this thread
https://github.com/seek-oss/vanilla-extract/issues/637#issuecomment-1083259372
it seems like bumping integration dep version will fix webpack_require issue

Closing in favour of #645


RMI-00010: Moderator deletes a comment

The moderator sees a comment that violates website policies. He deletes the comment and saves the changes.

Only moderator should see delete button, use case actually deletes the comment (Can also maybe verify that person is moderator)


[Feature]: Vacuum animation for cleaning and docking

Is your feature request related to a problem?
I have created an animation for the the vacuum card, the icon of the vacuum and mob gently moves like it's cleaning, or docking.

Describe the solution you'd like
Can I open a pull request for this?
Describe alternatives you've considered
No response
Additional context
No response

Yes it can be nice 🙂

I'm not allowed to push a new branch?

You have to fork the project, commit on your repository and create a PR 🙂


fix occasional empty task and lesson lists in upcoming tab

when upcoming tab is pressed after a module tab, it does not display any
task and lesson occasionally, and will only populate once user scrolls.
Fix it by declaring a new upcoming panel when tab is called.

Codecov Report

Merging #266 into master will not change coverage.
The diff coverage is 0.00%.

@@            Coverage Diff            @@
##             master     #266   +/-   ##
=========================================
  Coverage     52.51%   52.51%
  Complexity      619      619
=========================================
  Files           132      132
  Lines          2807     2807
  Branches        347      347
=========================================
  Hits           1474     1474
  Misses         1186     1186
  Partials        147      147

Impacted Files
Coverage Δ
Complexity Δ

src/main/java/trackitnus/ui/MainWindow.java
0.00% <0.00%> (ø)
0.00 <0.00> (ø)

...c/main/java/trackitnus/model/lesson/DayOfWeek.java
57.89% <0.00%> (ø)
3.00% <0.00%> (ø%)

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 420bff7...d7a9375. Read the comment docs.


RN types should prevent passing string into non-Text components

Description
In React Native, you can pass string/number/true to Views, Fragments, Short-formed Fragment(<>), and other components that are not Text. This makes it tedious to check every piece of UI logic to make sure a string isn't accidentally passed. Happens very often when you have something like
<View>
  x && <SomeComponent x={x} />
</View>

This creates crash when x happens to be 0 or '' without the developer realizing it.
It seems like the simple solution here is for RN to avoid using ReactNode and creates a new ReactNativeNode type that doesn't include string. One thing to note is that <> doesn't seem to be the same type as Fragment and seems to accept any as children, which is unsafe, so something needs to be done about that as well
React Native Version
0.71.0
Output of npx react-native info
System:
OS: macOS 13.6
CPU: (10) arm64 Apple M1 Max
Memory: 3.07 GB / 64.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 20.9.0
path: ~/.nvm/versions/node/v20.9.0/bin/node
Yarn:
version: 1.22.19
path: ~/WebstormProjects/diana/node_modules/.bin/yarn
npm:
version: 10.1.0
path: ~/.nvm/versions/node/v20.9.0/bin/npm
Watchman: Not Found
Managers:
CocoaPods:
version: 1.12.1
path: /opt/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 23.0
- iOS 17.0
- macOS 14.0
- tvOS 17.0
- watchOS 10.0
Android SDK: Not Found
IDEs:
Android Studio: 2022.1 AI-221.6008.13.2211.9619390
Xcode:
version: 15.0.1/15A507
path: /usr/bin/xcodebuild
Languages:
Java:
version: 11.0.13
path: /usr/bin/javac
Ruby:
version: 2.7.8
path<EMAIL_ADDRESS>npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.72.5
wanted: 0.72.5
react-native-macos: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: true
newArchEnabled: false
Steps to reproduce
<View>
  abc
</View>

☝  No typescript error was thrown
Snack, screenshot, or link to a repository
n/a

In the meantime, the jsx-no-leaked-render eslint rule could be used to detect/correct this scenario


Add ORCA grid download feature to build system.

Hi @raguridan that was a very good start. I improved upon it slightly and merged it into develop with commit  7991bec
Notable difference is that you now need to add two cmake variables:
-DENABLE_RETRIEVE_ORCA_DATA=ON and -DENABLE_INSTALL_ORCA_DATA=ON
We can now close this PR. Thanks again!
I have also updated the README to explain how to use these options.


[Slack Integration] Add feature to notify the results on Slack Channels

https://github.com/yugabyte/cloud-resource-cleanup/pull/10


Task/767 catalog should show published capability and talent

Description
Please provide a summary of the pull request and the issue it fixes. Please add necessary details, context, dependencies, explanation of when review is needed (see next section), etc.
Fixes #(add issue number here and remove parentheses)
Review Time Estimate
Please give your idea of how soon this pull request needs to be reviewed by selecting one of the options below. This can be based on the criticality of the issue at hand and/or other relevant factors.

[ ] Immediately
[ ] Within a week
[ ] When possible

Type of changes
Please select a relevant option:

[ ] Bug fix (non-breaking change which fixes an issue).
[ ] New feature (non-breaking change which adds functionality).
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected).
[ ] Other (any another change that does not fall in one of the above categories.)

Checklist:
Please select all applicable options:

[ ] I have signed the Rokwire Contributor License Agreement (CLA). (Any contributor who is not an employee of the University of Illinois whose official duties include contributing to the Rokwire software, or who is not paid by the Rokwire project, needs to sign the CLA before their contribution can be accepted.)
[ ] I have updated the CHANGELOG.
[ ] I have read the Contributor Guidelines.
[ ] I have performed a self-review of my own code.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] My change requires updating the documentation.
[ ] I have made necessary changes to the documentation.
[ ] I have added tests related to my changes.
[ ] My changes generate no new warnings.
[ ] New and existing unit tests pass locally with my changes.
[ ] Any dependent changes have been merged and published in downstream modules.

When you get a chance, could you please fix the merge conflicts in this PR? Thanks.

When you get a chance, could you please fix the merge conflicts in this PR? Thanks.

that was pretty big work. should be resolved... hope things work well.

When you get a chance, could you please fix the merge conflicts in this PR? Thanks.

that was pretty big work. should be resolved... hope things work well.

Thanks, Yongwook. It's working now.


Emulate devices feature

Hey man, what do you think about a feature to emulate the devices based in the plugin puppeteer/DeviceDescriptors?
https://www.scrapehero.com/how-to-take-screenshots-of-a-web-page-using-puppeteer/
It's going to be amazing.

Or examples with configuration with some common devices and viewport sizes.
Thanks.

Hello @marcelinhov2, that's a good idea -- I wouldn't mind incorporating this feature to Chromda. Please feel free to submit your PR :)


Postgres ssl doesn't seem to be enforcing ssl

CrateDB version
4.6.3
CrateDB setup information
Num nodes: 15
Heap (master=8g, data=30g, ingest=12g, query=30g)
Crate.yml (relevant part)
psql.enabled: false
psql.port: 5432

transport.tcp.compress: true

ssl.transport.mode: on
ssl.keystore_filepath: /path/to/file.p12
ssl.keystore_password: password123
ssl.keystore_key_password: password123
ssl.truststore_filepath: /path/to/file.p12
ssl.truststore_password: password456
ssl.http.enabled: true
ssl.psql.enabled: true

Steps to Reproduce
We're using HAProxy to connect to the multiple query/ingest nodes and for whatever reason, haproxy won't talk to crate's psql unless we remove the ssl portion. HTTP works as expected.
Our simple haproxy config for this purpose:
listen http-crate-psql
  bind: *:5432
  mode tcp
  option psql-check user crate
  timeout server 15m
  balance leastconn
  server one my-crate-one.my-fqdn:5432 check ssl crt /path/to/mycert.pem ca-file /path/to/mycert.crt ssl-min-ver TLSv1.2 verify required
  server two my-crate-two.my-fqdn:5432 check ssl crt /path/to/mycert.pem ca-file /path/to/mycert.crt ssl-min-ver TLSv1.2 verify required

If I remove the SSL portions to postgres in the haproxy config, it connects/works as-expected and that's with the ssl.psql.enabled: true
Expected Result
I expect haproxy to connect to crate's psql port with ssl and allow me to start sending queries
Actual Result
The healthchecks fail (and yes, I've tried removing them) and haproxy fails to connect to crate's postgres port

Hello,
thanks for your report.
What's your HBA config? Could you please try adding
1:
        protocol: pg
        ssl: on

to your HBA config?
Please keep ssl related configs (path/password and ssl.psql.enabled: true) in config.yml while doing step from above.
Feel free to use another key if "1" is already busy.

We're not using HBA. Our simple flow below outlines how we plan on communicating with crate.
Our java apps (using jdbc driver) -> HAProxy -> Crate
Currently, our java apps/haproxy live in kubernetes and we don't plan on having crate run inside of k8s. If HAProxy doesn't cooperate with crate, then we'll most likely run the crate query/ingest nodes (non-data/ non-master) inside k8s

Could you please share the logs from non-working setup?
As per docs, HBA is needed to enforce SSL on PG protocol.
Having HBA enabled with one entry - protocol:pg, ssl:on without specifying user and address would require SSL for any PG wire connection coming from arbitrary host and from arbitrary user.

I see now, thanks for providing insight.
After adding the section below, I get the error Password authentication failed for user=my-user.my.fqdn.com from connection=/x.x.x.x...The user my-user.my.fqdn.com is the DN of the cert. We're trying to get that to authenticate w/out a password. I've added the user to the cluster
CREATE USER "my-user.my.fqdn.com";
GRANT ALL PRIVILEGES TO "my-user.my.fqdn.com";

auth:
  host_based:
    enabled: true
    config:
      0:
        protocol: transport
        ssl: on
        method: cert
      1:
        protocol: pg
        ssl: on
      2:
        protocol: http
        ssl: on

Thanks for the details. Is it full HBA config, no other entries?
I forgot to say,  method: cert is also needed for entires 1 and 2 - and common name of the certificate has to match username.
After seeing "Password authentication failed" I thought you might have a password entry in HBA but probably it's incorrect logging message - created a PR to address that. By default, if method is not specified, trust methods gets picked up - I think trust method should have been shown in the logs.
"Password authentication failed ... for user... from connection... message is shown in Http request handler - it looks like crate getting connection on http. Also another thing that caught my attention is "for user my-user.my.fqdn.com" whereas HAProxy does psql-check as user `crate.
Could you elaborate a bit more on you HAproxy config, what's the more detailed expected flow?

Once I saw the log that specified the user coming from the cert, I modified the HAProxy conf option psql-check user for user my-user.my.fqdn.com and that didn't fix the issue.
Haproxy config:
listen http-crate-psql
  bind: *:5432
  mode tcp
  option psql-check user my-user.my.fqdn.com
  timeout server 15m
  balance leastconn
  server one my-crate-one.my-fqdn:5432 check ssl crt /path/to/mycert.pem ca-file /path/to/mycert.crt ssl-min-ver TLSv1.2 verify required
  server two my-crate-two.my-fqdn:5432 check ssl crt /path/to/mycert.pem ca-file /path/to/mycert.crt ssl-min-ver TLSv1.2 verify required

Crate logs (which oddly enough, doesn't error for postgres)...HTTP works, but postgres doesn't
[i.c.a.HttpAuthUpstreamHandler] [my-crate-one]Password authentication failed for user=my-user.my.fqdn.com from connection=/x.x.x.x

psql.enabled: false

Could you enable it while keeping other configs?

I modified the HAProxy conf for user my-user.my.fqdn.comThe
user my-user.my.fqdn.com is the DN of the cert

Could you try another cert where username is the CN of the cert?

1:
protocol: pg
ssl: on
2:
protocol: http
ssl: on

Could you also add
method: cert
to those entries?

I was able to verify psql works with the cert, so it seems to be an haproxy issue where it doesn't understand how to interact with postgres as the logs specify the protocol being used is 1.1 when psql uses 3.0
We're working on switching to pgpool which I'm sure will work just fine...Appreciate all your help!


WIP: Autocli

This draft PR is used for implementing AutoCLI for Osmosis
Tracking issue: https://github.com/osmosis-labs/osmosis/issues/3499

Hi, @RusAkh could you put a description on here?
thanks :)

Per discussion: Lets table this until SDK is ready!
In the meantime, we have something based on reflection.
Thanks for the large amount of work into trying to get autocli to work right now :pray:


Update Settings “general”

Automatically generated by Netlify CMS

👷 Deploy Preview for stupendous-crostata-4b6493 processing.

Name
Link

🔨 Latest commit
0d38d2d1d61aa4507c94a05a8ac4f5e6db6b7efb

🔍 Latest deploy log
https://app.netlify.com/sites/stupendous-crostata-4b6493/deploys/631c9a9709121000082d937f


Reducing memory usage of _dmxData

Hello,
Thank you very much for writing this library. I have been using DMXSerial very successfully for a couple of years with my home lighting controller:
https://github.com/njh/ihlc
We turn our home lighting on and off daily using your library!
I have been looking at extending it to be controlled via IPv6, using a library I wrote called EtherSia. Together the two libraries use up quite a lot of the Uno's RAM - and I get warnings in the IDE.
I am currently only using around 20 channels.
Have you thought of any way of changing the memory usage for the DMX data?
#define DMXSERIAL_MAX 512 // max. number of supported DMX data channels

uint8_t  _dmxData[DMXSERIAL_MAX+1];

Adding malloc() increases the programme memory size - and not sure dynamic memory management desirable. But I am not sure of a neat way of the sketch indicating how much static memory they would like to be allocated?
Thanks!
nick.

Hello,
this is the maximum array of course.
You can cut it reduce it to starting-address + channels-needed in the library.
I never used dynamic memory allocation.
Best Regards, Matthias
From: Nicholas Humfrey<EMAIL_ADDRESS>Sent: Montag, 28. August 2017 17:01
To: mathertel/DMXSerial<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: [mathertel/DMXSerial] Reducing memory usage of _dmxData (#11)
Hello,
Thank you very much for writing this library. I have been using DMXSerial very successfully for a couple of years with my home lighting controller:
https://github.com/njh/ihlc
We turn our home lighting on and off daily using your library!
I have been looking at extending it to be controlled via IPv6, using a library I wrote called EtherSiahttps://github.com/njh/EtherSia. Together the two libraries use up quite a lot of the Uno's RAM - and I get warnings in the IDE.
I am currently only using around 20 channels.
Have you thought of any way of changing the memory usage for the DMX data?
#define DMXSERIAL_MAX 512 // max. number of supported DMX data channels
uint8_t  _dmxData[DMXSERIAL_MAX+1];
Adding malloc() increases the programme memory size - and not sure dynamic memory management desirable. But I am not sure of a neat way of the sketch indicating how much static memory they would like to be allocated?
Thanks!
nick.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/mathertel/DMXSerial/issues/11, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABCZl_TEpawQEpgv404scgh5y_3lmtRLks5sctYpgaJpZM4PEo5V.

I was wondering if you could think of a way of achieving this, without custom modifications to the library - i.e. by passing in a parameter from the Sketch somehow.
As it is quite a generic question, maybe I will ask on the Arduino Stackoverflow.

You may want to check on using a 1284P chip. It has more memory for code and variables.
James Traylor
TraylorHead Logo-24mm-03
TraylorHead
Douglasville, Ga
(770) 313-5574
From: Nicholas Humfrey<EMAIL_ADDRESS>Sent: Friday, September 1, 2017 4:47 AM
To: mathertel/DMXSerial
Cc: Subscribed
Subject: Re: [mathertel/DMXSerial] Reducing memory usage of _dmxData (#11)
I was wondering if you could think of a way of achieving this, without custom modifications to the library - i.e. by passing in a parameter from the Sketch somehow.
As it is quite a generic question, maybe I will ask on the Arduino Stackoverflow.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/mathertel/DMXSerial/issues/11#issuecomment-326526208 , or mute the thread https://github.com/notifications/unsubscribe-auth/AJZNYFKq6m0BaBfbcxrKp9sSWA_RTF40ks5sd8SUgaJpZM4PEo5V .  https://github.com/notifications/beacon/AJZNYBU29A0qL1CbxXhhlX0y3-sfZN_Nks5sd8SUgaJpZM4PEo5V.gif

This email has been checked for viruses by AVG.
http://www.avg.com


add show ut widget

This is the sample widget will be used in the UT doc: https://github.com/ArcGIS/afd-experience-builder-doc/pull/328

@gavinr @shawnmgoulet
This PR is ready, can you help review?

@gavinr @shawnmgoulet This PR is ready for review. The error when run UT has been fixed but the fix will be get merged tomorrow and will be available in next build.

@gavinr @shawnmgoulet This PR is ready for review. The error when run UT has been fixed but the fix will be get merged tomorrow and will be available in next build.

thanks @qlqllu. You may have this on your mind, but just want to point out we suggested changing the name of the widget to show-unit-tests rather than abbreviating. Will hold until tomorrow (build 646) to test.

@shawnmgoulet The widget is renamed.

@qlqllu https://github.com/Esri/arcgis-experience-builder-sdk-resources/commit/d514301a323bca26a5a265d33f7dab37122c39dd should address my changes. I ran locally and it returned below, which I believe is expected without adding any widgets to an experience.
$ npm run test

><EMAIL_ADDRESS>test C:\Projects\SoftwareDevelopment\ExperienceBuilderDeveloperEnablement\1-5\649\arcgis-experience-builder\client
> jest --runInBand

ts-jest[config] (WARN) The option `tsConfig` is deprecated and will be removed in ts-jest 27, use `tsconfig` instead
 PASS  your-extensions/widgets/show-unit-tests/tests/widget.test.tsx (5.856 s) PASS  your-extensions/widgets/simple/tests/simple-widget.test.tsx

Test Suites: 2 passed, 2 total
Tests:       6 passed, 6 total
Snapshots:   0 total
Time:        8.235 s


gf gen service supports the generation of service files in the specified naming format

Codecov Report

Merging #1951 (27e0502) into master (d7faae0) will increase coverage by 0.00%.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1951   +/-   ##
=======================================
  Coverage   75.56%   75.57%
=======================================
  Files         512      512
  Lines       46398    46398
=======================================
+ Hits        35060    35064    +4
+ Misses       9334     9328    -6
- Partials     2004     2006    +2

Flag
Coverage Δ

go-1.15-386
75.49% <ø> (-0.02%)
:arrow_down:

go-1.15-amd64
75.49% <ø> (+0.03%)
:arrow_up:

go-1.16-386
75.51% <ø> (+0.07%)
:arrow_up:

go-1.16-amd64
75.48% <ø> (+<0.01%)
:arrow_up:

go-1.17-386
75.53% <ø> (+0.03%)
:arrow_up:

go-1.17-amd64
75.51% <ø> (-0.02%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

os/gfsnotify/gfsnotify_filefunc.go
74.02% <0.00%> (-3.90%)
:arrow_down:

os/gcron/gcron_schedule.go
67.52% <0.00%> (+0.42%)
:arrow_up:

os/gfsnotify/gfsnotify_watcher_loop.go
83.19% <0.00%> (+2.52%)
:arrow_up:

contrib/registry/polaris/polaris_watcher.go
73.21% <0.00%> (+5.35%)
:arrow_up:

Continue to review full report at Codecov.

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


State of project?

The project looks great but also slightly outdated. What's the state of the project? If it's abandoned, do you know any alternative?

I've started a reboot in golang, so check back in a few weeks.
Similar tools I know of are cfn-lint and cfn_nag, but they don't do quite what I want, so I still want to re-do this project.

Great news! Will this repo be replaced or what's your plan?

Same repo.
Ideally I'd keep publishing via NPM too, but not sure how much effort that is (but I know of other projects doing it).

Hey @jaulz, since opening this AWS has shared https://github.com/awslabs/cfn-python-lint. I'll be putting this project on the back-burner while I try out the AWS tool.

Thanks for the hint :-)

Hey @jaulz, since opening this AWS has shared https://github.com/awslabs/cfn-python-lint. I'll be putting this project on the back-burner while I try out the AWS tool.

@rowanu since this project has been superseded by cfn-python-lint, you might want to add a note in the README indicating this :)


is CI checking out the right code?

Describe the bug
For a PR I'm working on, I hadn't yet merged in the latest main branch, which would include this incorporation of the MonoVertex Controller and Unit test, yet it seems I'm running that test in the CI.
This is a screen capture in which I do git pull just to verify the state of the repo, followed by a git log:
git.log
Can this issue help?
Expected behavior
I didn't expect the MonoVertex Controller unit test to run, as I hadn't merged in main branch.

Message from the maintainers:
Impacted by this bug? Give it a 👍. We often sort issues this way to know what to prioritize.

Okay, I think maybe this is the expected behavior?:
If I'm understanding correctly, it is supposed to run on the merge of the PR with main?


fix(query): Group By queries with offset that crosses a DST boundary can fail

Customer reported that a GROUP BY query with an offset that caused an interval
to cross a daylight savings change inserted an extra output row off by one hour.
This fix ensured that the start time for the interval of a GROUP BY operator is
correctly set before calculating the time zone offset for that date and time.

[X] Well-formatted commit messages
[X] Rebased/mergeable
[X] Tests pass

Fixes https://github.com/influxdata/influxdb/issues/20238

Added a regression test, TestGroupByIterator_DST() in query/iterator_test.go.  @jsternberg, take a look at your convenience.


WeakMethod cannot handle decorated methods.

Software Versions

Python: 3.7.5
OS: Windows
Kivy: 2.0.0rc3
Kivy installation method: pip

Describe the bug
If a decorated method is provided as a callback, WeakMethod wrongly infers the name of the attribute, and crashes with an AttributeError when it can't find the method.
Expected behavior
Decorated methods should work as callbacks with Kivy.
To Reproduce
Run the following example code. It creates a button, and binds a regular method to on_press and a decorated method to on_release.
Press and hold the button (which takes up the full window). It correctly calls the regular method.
Release the button, and it crashes with an exception
   File "[...]\lib\site-packages\kivy\weakmethod.py", line 45, in __call__
      return getattr(self.proxy, self.method_name)
  AttributeError: 'MyState' object has no attribute '_hidden_function'

Code and Logs and screenshots
    from kivy.app import App
    from kivy.uix.button import Button

    def trace_decorator(f):
        """
        A simple decorator - it prints when a decorated function is entered
        and exited. The details of *what* it does are unimportant.

        The fact it returns a hidden function is relevant.
        """
        def _hidden_function(*args, **kwargs):
            print("Entering")
            result = f(*args, **kwargs)
            print("Exiting")
            return result

        return _hidden_function

    class MyState:

        def press_callback(self, instance):
            print('The button <%s> is being pressed' % instance.text)

        @trace_decorator
        def release_callback(self, instance):
            print('The button <%s> was released' % instance.text)

    my_state = MyState()

    class MyApp(App):
        def build(self):
            btn = Button(text='Hello world')
            btn.bind(
                    on_press=my_state.press_callback,
                    on_release=my_state.release_callback)
            return btn

    if __name__ == "__main__":
        MyApp().run()

Additional context
Note that if the callbacks are plain functions, decorated functions or plain methods, it works fine. Only decorated methods fail.
It appears that WeakMethod finds the name of the internal function and then looks for it in the surrounding class, but it isn't present there.

Well, that's not really a bug with weak method as that's how it's supposed to work because there's no other way to make it work really, except to not create a proxy if getattr fails. But checking hasattr would needlessly slow all weak method down. The real solution is for you to decorate _hidden_function with wraps from functools. I suppose we could say that in the error message!?

I want to ever-so-politely, but still firmly, push back on the argument that, because one can't find a performant way to implement the interface, failing to implement the interface is therefore not a bug.
It isn't the client's fault that some internal implementation issue they haven't been told about prevents the code from working.
A solution might be to change the interface to say callbacks functions must have [whatever the property is] and that decorated methods can be made conformant by [whatever the process is with functools]. That should be clearly specified in the documentation and the docstring. Referring to the limitation again in the error message is an excellent idea.
As far as performance goes, I haven't completely wrapped my head around how WeakMethod does its job, but the __init__ already has an exception handler for AttributeError (effectively an implicit check for getattr) and I take it __init__ is only called once per binding, rather than once per callback. It looks like another __getattr__ wouldn't be too bad, but that's a question best left for profiling rather than me guessing.

I guess I don't disagree that this is a bug as it's currently documented.
Unfortunately, the spec for WeakMethod was not clearly specified. Because e.g. if it's a function as opposed to a method, it creates a direct reference, rather than a proxy, which you wouldn't guess from the docs. The purpose of this is to prevent holding on to objects when it's bound to something with bind/fbind and that's only considered a problem for methods not functions (although that's not really the case because e.g. a closure function should be proxied as that may also keep some object alive. Similarly for a partial function). So yeah, ideally we would be able to handle decorated methods automatically.
I have re-written this class at least twice, but never actually proposed the changes because fixing inconsistencies would break backward compat so I gave up. And this would especially be a huge problem because it may lead to objects all of a sudden dying because a function may now be proxied and the function could die if it's e.g. a inner function with no additional refs.
That's to say that this is a sensitive piece of code because it's used with every bind/fbind and with every clock event. So any changes may lead to issues in user code. Still, if we can make it work for decorated methods, I don't expect it to break anything given that it currently would raise an error like yours.
Instead the problem is performance because any slowdown would be paid for every bind/clock event. The AttributeError in __init__ should only be raised for a function, so it won't help with this problem as we're not already doing any getattr. To proxy a decorated method without using wraps, we would need to create multiple refs. In fact python already has a WeakMethod that works on such methods. I have in fact re-written our code to use it in the past (I think in response to running into a bug like yours), but it was much slower than our current implementation so I abandoned it.
So, given the performance issue required to make it work for your example, I think it's better if we catch the AttributeError in __call__ and re-raise a new exception indicating that if it's a decorated method, wraps may need to be used. Given how rare it seems to be for people to run into this issue, I think that's the best solution and will help people write better code.

In addition to catching the exception, I would propose the following documentation change.
This replaces the text after the DemoApp in _event.pyx. I would put this into a PR, but my RestructuredText mark-up skills aren't strong enough to make an edit without testing, and the Kivy's sphinx-building process doesn't seem to support Windows.

    If a callback has already been bound to a given event or property,
    it won't be added again.

    When binding a method to an event or property, a
    :class:`kivy.weakmethod.WeakMethod` of the callback is saved. That is,
    rather than storing a regular reference, it stores both a weak
    reference to the instance (see Python's :class:`weakref`), and the
    name of the method.

    This has two consequences.

    The first is that the binding will not prevent garbage collection of
    the object. The client must maintain a reference to the instance for
    the desired lifetime. The callback reference is silently removed if it
    becomes invalid.

    The second is that method's :field:`__name__` must be registered as
    as attribute on the instance. This may not be true for decorated
    methods. Consider the use of Python's :class:`functools.wraps` in the
    decorator definition to associate the correct name with wrapped
    functions.

You can edit the rst directly on github and then preview the generated docs in the build artifacts of the PR as well as in the rtd CI that runs as a test for each PR.


Error when try to use Grid Tools action

I follow custom headers tool in  Grid Tools from documentation Normal Action but this always return error whenever i make to submit form from the Action class

class ChangeStatusPage extends Action
{
    public $name = 'Ubah Status Massal';

    protected $selector = '.change-status-page';

    public function handle(Request $request)
    {
         return $this->response()->success('Import complete!')->refresh(); // even if I just return this when the actino class have form method will always return an error
    }

    public function form()
    {
        $this->select('status', __('Status'))
            ->options(['Belum-dikembalikan' => 'Belum dikembalikan', 'Sudah-dikembalikan' => 'Sudah dikembalikan', 'Hilang/rusak' => 'Hilang/rusak'])
            ->default('Belum-dikembalikan');
    }

    public function html()
    {
        return <<<HTML
          Ubah Status Massal
HTML;
    }
}

Here is the example of error:

here is error from log
local.ERROR: OpenAdmin\Admin\Form::model(): Return value must be of type Illuminate\Database\Eloquent\Model, OpenAdmin\Admin\Actions\Interactor\Form returned {"userId":1,"exception":"[object] (TypeError(code: 0): OpenAdmin\\Admin\\Form::model(): Return value must be of type Illuminate\\Database\\Eloquent\\Model, OpenAdmin\\Admin\\Actions\\Interactor\\Form returned at F:\\freelance\\retur-revised\\vendor\\open-admin-org\\open-admin\\src\\Form.php:188)

The same thing happens to me, I have this error too, have you found a solution?
Could someone help us please?

Most likely, the Form method is not implemented in your Controller.
  protected function form()
  {
      $form = new Form(new Page());
      // minimum
      $form->text('status', __('Status'));
      // ...

      return $form;
  }

@uluumbch Did you get any solutions

@Tech-Loyal did you find any solutions


eager_load the workflow relations used in the serializer

Make sure the controller actually eager loads the relations for the serializer. Added feature flag and experimental setup to get metrics on any performance costs of using the eager loading strategy.
Review checklist

[ ] First, the most important one: is this PR small enough that you can actually review it? Feel free to just reject a branch if the changes are hard to review due to the length of the diff.
[ ] If there are any migrations, will they the previous version of the app work correctly after they've been run (e.g. the don't remove columns still known about by ActiveRecord).
[ ] If anything changed with regards to the public API, are those changes also documented in the apiary.apib file?
[ ] Are all the changes covered by tests? Think about any possible edge cases that might be left untested.

LGTM apart from that indentation issue


Add address field

add address field for job and interview
add relevant test cases

Closed due to unnecessary implementation of address field in job


[bump] server: 0.1038.3000 => 0.1038.4000 (minor)

Bumped server from 0.1038.3000 to 0.1038.4000.
Command used: flub release -g server

Discarding this PR due to to additional changes required.


Github Bot Feature

Github Bot Will COmment on Every new PR Open and PR merged

@Sukriti-sood go ahead!


[Bug][Api] Can't view variables

Describe the bug
When I want to view the variables defined in process instance, it will throw an exception.
To Reproduce
Steps to reproduce the behavior, for example:

Create a process definition
Add localparams
Execute the process definition
View params in process instance

Screenshots

Which version of Dolphin Scheduler:
-[dev]
Additional context
This issue caused by deserialize the taskParams in TaskDefinitionLog.
https://github.com/apache/dolphinscheduler/blob/68301db6b914ff4002bfbc531c6810864d8e47c2/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessInstanceServiceImpl.java#L664-L666
For example, there exist list in the json attribute, so it cannot be deserialized as string.
{
    "resourceList":[

    ],
    "localParams":[
        {
            "prop":"BATCH_TIME",
            "direct":"IN",
            "type":"VARCHAR",
            "value":"20210517131849"
        }
    ],
    "rawScript":"echo "${BATCH_TIME}"",
    "conditionResult":"{"successNode":[""],"failedNode":[""]}",
    "dependence":"{}"
}

And there are multiple places use different way to deserialize the taskParams.
https://github.com/apache/dolphinscheduler/blob/68301db6b914ff4002bfbc531c6810864d8e47c2/dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/process/ProcessService.java#L1611
I think it is better to use the same way to do this transform, otherwise, once we make changes, we need to change many places.
And the taskParams is transported by front-end and stored in database as a JSON string. We use Map to represent this field in backend, I think it is better to define a specific class to express the taskParams, this maybe helpful for deserialize and code maintain.

This issue had been fixed.


Feat: customise diagnostic rendering

Hi 👋 thanks for the great project!
I'm hoping to be able to customise the rendering of a single diagnostic based on the count. I can't see a way of doing it currently so sometime like this would be super useful to me.
What do you think?

This is an example of what I'm hoping to do
local function diagnostic_renderer(icon, count)
    if count > 0 then
        return string.format(" %s%s ", icon, count)
    else
        return ''
    end
end

This way I can keep the diagnostic rendered (with separators). Seems like I could do this with fmt but I'd have to parse the count out of the final string which doesn't feel great 😄

You can already achive this easily by spliting diagnostics sections as separate components like slanted-gap example.

edit: Actually I'm not sure if I understand what you want to do :D

Haha yeah! It's not easy to explain! 😄
I basically want the sections to always show but only render the icon and count if count > 0, otherwise be an empty block.
Desired

Master

Config
{
    'diagnostics',
    source = {'nvim_diagnostic'},
    sections = {'error'},
    diagnostics_color = {
        error = {bg = colors.nord14_gui, fg = colors.nord3_gui}
    },
    symbols = {error = lsp_symbols.error},
    separator = {left = "", right = ""},
    render = function(icon, count)
        if count > 0 then
            return string.format(" %s%s ", icon, count)
        else
            return ''
        end
    end,
    always_visible = true,
    cond = conditions.has_lsp
}

This is a bit of a work around I have
{
    ...,
    fmt = function(status)
        -- parse status which looks like
        -- %#lualine_diagnostics_info_0_1_2_no_mode# 0
        local hightlight, icon, num =
            string.match(status, '([%%#%w_]+)(.+) (%d+)')

        if num and tonumber(num, 10) > 0 then
            -- stitch everything back together with some padding
            -- only want the padding if we're not empty
            return string.format('%s %s %s ', hightlight, icon, num)
        end

        -- Count is 0 so return highlight so we still get the colored slants
        return hightlight
    end,
}

Oh so you want the slant colors to be based on hidden diagnostics section . That's cool . Also looks like you've figured out fmt :D . I think we can drop this pr as render seems really specific to this usecase . I don't think many will find use for this option . Also fmt is can achive the same effect . What do you say ?

Yeah, I think we can close it down - thanks for you help!
For anyone interested this is my workaround
local diagnostic_section = function(cfg)
    local default_cfg = {
        -- custom diagnostic component to allow empty content
        diagnostic_empty,
        source = {'nvim_diagnostic'},
        separator = {left = "", right = ""},
        -- no padding so the slanty isn't too wide when no diagnostics
        padding = 0,
        fmt = function(status)
            if tonumber(status, 10) > 0 then
                -- stitch everything back together with some padding
                -- only want the padding if we're not empty
                return string.format(' %s%s ', cfg.symbol, status)
            end

            -- Count is 0 so don't return content
            return ''
        end,
        -- supress the symbols, default still shows 'E: 1' etc.
        symbols = {error = '', warn = '', hint = '', info = ''},
        -- don't want any color output adding to the diagnostics
        colored = false,
        -- always show the slanty, it'll be empty if there are none for that type
        always_visible = true,
        -- only show when we have an lsp attached - this may need updating if I
        -- use other sources for diagnostics
        cond = conditions.has_lsp
    }
    return vim.tbl_extend("force", default_cfg, cfg)
end

local sections = {
    lualine_a = {
        diagnostic_section {
            sections = {'error'},
            color = {
                bg = lsp_colors("error"),
                fg = color({dark = "nord3_gui", light = "fg"})
            },
            -- custom var to be used by fmt function
            symbol = lsp_symbols.error
        }
    }
}

One thing that might be useful @shadmansaleh is the ability to still render a component even if the content is empty - perhaps a boolean option allow_empty? I've got a few copies of components that do this
local diagnostic_empty = require('lualine.components.diagnostics'):extend()
function diagnostic_empty:draw(default_highlight, is_focused)
    -- Copied from lualine.component and modified to allow empty status to render
    self.status = ''
    self.applied_separator = ''

    if self.options.cond ~= nil and self.options.cond() ~= true then
        return self.status
    end
    local status = self:update_status(is_focused)
    if self.options.fmt then status = self.options.fmt(status or '') end
    -- if type(status) == 'string' and #status > 0 then
    self.status = status
    self:apply_icon()
    self:apply_padding()
    self:apply_highlights(default_highlight)
    self:apply_section_separators()
    self:apply_separator()
    -- end
    return self.status
end

What do you think? Happy to put a PR together

I'm afraid allow_empty also falls in niche use case, Sorry ;|
The thing is it's not possible make a statusline that goes according to everyone's will . So the idea is we add stuff that are useful to many in this repo and just provide the flexibility so if an user wants to they can customize their statusline to their liking . That's why niche use cases aren't meant to be supported out of the box . Hopefully you can understand.

I'm afraid allow_empty also falls in niche use case, Sorry ;|
The thing is it's not possible make a statusline that goes according to everyone's will . So the idea is we add stuff that are useful to many in this repo and just provide the flexibility so if an user wants to they can customize their statusline to their liking . That's why niche use cases aren't meant to be supported out of the box . Hopefully you can understand.

Absolutely, appreciate it's a judgement call and you'll have a better idea than me of how others are using this project!
Does feel a little like it might have utility when used with separators like the slanted block but I'm happy with my workaround.
Thanks again for your help and guidance!


Mac OS X, ARM, doesn't work — requests time out

Describe the bug
I started spoof-dpi, checked proxy setup but nothing worked
Entered debug mode — proxy is set correctly, requests are catched, but they fail by time out
Youtube videos (and youtube-dl) not working with or without utility
Expected behavior
Youtube videos are working again
Actual behavior
Not working
How To Reproduce?
Idk
Client information
OS: Mac OS Sonoma
Version: 14.5
Additional context
DEBU[2024-08-10T19:19:56+03:00] [HTTPS] New connection to the server www.youtube.com <IP_ADDRESS>:61607
DEBU[2024-08-10T19:19:56+03:00] [HTTPS] Sent 200 Connection Estabalished to <IP_ADDRESS>:61606
DEBU[2024-08-10T19:19:56+03:00] [HTTPS] Client sent hello 517bytes
DEBU[2024-08-10T19:19:56+03:00] [HTTPS] Writing chunked client hello to www.youtube.com
DEBU[2024-08-10T19:19:56+03:00] [HTTPS] Chunking client hello.
DEBU[2024-08-10T19:19:56+03:00] [HTTPS] Error reading from <IP_ADDRESS>:443 timed out
DEBU[2024-08-10T19:19:56+03:00] [HTTPS] Error reading from <IP_ADDRESS>:61594 timed out
DEBU[2024-08-10T19:19:56+03:00] [HTTPS] Closing client Connection.. <IP_ADDRESS>:61594
DEBU[2024-08-10T19:19:56+03:00] [HTTPS] Error reading from <IP_ADDRESS>:443 timed out
DEBU[2024-08-10T19:19:56+03:00] [HTTPS] Closing server Connection.. clientstream.launchdarkly.com <IP_ADDRESS>:61595
DEBU[2024-08-10T19:19:57+03:00] [HTTPS] Error reading from <IP_ADDRESS>:61585 timed out
DEBU[2024-08-10T19:19:57+03:00] [HTTPS] Closing client Connection.. <IP_ADDRESS>:61585
DEBU[2024-08-10T19:19:57+03:00] [HTTPS] Error reading from <IP_ADDRESS>:443 timed out
DEBU[2024-08-10T19:19:57+03:00] [HTTPS] Closing server Connection.. gateway.icloud.com <IP_ADDRESS>:61586
DEBU[2024-08-10T19:19:57+03:00] [HTTPS] Finished <IP_ADDRESS>:61600
DEBU[2024-08-10T19:19:57+03:00] [HTTPS] Closing client Connection.. <IP_ADDRESS>:61600
DEBU[2024-08-10T19:19:57+03:00] [HTTPS] Error reading from <IP_ADDRESS>:443 timed out
DEBU[2024-08-10T19:19:57+03:00] [HTTPS] Closing server Connection.. graph.oculus.com <IP_ADDRESS>:61601
DEBU[2024-08-10T19:19:58+03:00] [HTTPS] Error reading from <IP_ADDRESS>:61606 timed out
DEBU[2024-08-10T19:19:58+03:00] [HTTPS] Closing client Connection.. <IP_ADDRESS>:61606
DEBU[2024-08-10T19:19:58+03:00] [HTTPS] Closing server Connection.. www.youtube.com <IP_ADDRESS>:61607
DEBU[2024-08-10T19:19:58+03:00] [PROXY] Request from <IP_ADDRESS>:61620

youtube-dl error
ERROR: Unable to download API page: <urlopen error [SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1000)> (caused by URLError(SSLEOFError(8, '[SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1000)')))

Did you try "-window-size=2" or "-window-size=0"?

So I have MacBook on Apple Silicon(OS: Sonoma 14.6.1) and Spoof-DPI working well
I use this script to install:
macOS Apple Silicon
curl -fsSL https://raw.githubusercontent.com/xvzc/SpoofDPI/main/install.sh | bash -s darwin-arm64
Maybe you should reinstall it?
You can also try using these parameters:
spoof-dpi --enable-doh --window-size 0
Or your internet provider takes deeper approach to blocking :)

still actual?

yes, actual, confirm the problem

@rgxfox  could you try this forked branch? https://github.com/LiquidTheDangerous/SpoofDPI/tree/client-hello-fix/main

Works fine on m1 pro, Sonoma

m1 pro, Sonoma 14.3. Solution in docker container - timeout. With windows works fine, but only with windows-size=0.

@rgxfox could you try this forked branch? https://github.com/LiquidTheDangerous/SpoofDPI/tree/client-hello-fix/main
upd: try build from source this repo main branch

It also doesn't work:

@SailorMax Can you try running the latest release from the host machine, not through a container?

Can you try running the latest release from the host machine, not through a container?

These computers are not mine. The owners are ordinary users. I'll try when they're in front of me...


add a bunch of materials and merge with metals

Note the file rename, make sure this is acceptable before merging.

./name-generator -n 20 -t 'colours,dogs,materials'
⋮
magnolia-boxer-wool
green-hamiltonstovare-brass

:rofl:

Thanks @Xianic I like this new list :)


some issues

Hi, I was playing around with this lib, here is what my code looks like: https://github.com/natefaubion/purescript-argparse-basic/compare/main...safareli:playground?expand=1
But when i run the code I'm getting this output:
git
    Unexpected argument:

    This is my git CLI example.

    --help,-h       Show this help message.
    --version,-v    show version

    commit          commit changes
    stash           stash changes
_____
git
    Unexpected argument:
        commit -b=body -m=asd --amend

    This is my git CLI example.

    --help,-h       Show this help message.
    --version,-v    show version

    commit          commit changes
    stash           stash changes
_____
git
    Unexpected argument:
        stash --help

    This is my git CLI example.

    --help,-h       Show this help message.
    --version,-v    show version

    commit          commit changes
    stash           stash changes
_____
git
    Unexpected argument:
        stash push -m=bla

    This is my git CLI example.

    --help,-h       Show this help message.
    --version,-v    show version

    commit          commit changes
    stash           stash changes

and it seams to be wrong, see:
https://github.com/natefaubion/purescript-argparse-basic/compare/main...safareli:playground?expand=1#diff-79394319b4f162a6bbcf25d46de2eb64867c4fd2c3b5ec63fcda393198f771c1R56-R62
I might be missing something or using the lib in wrong way, not sure.
(feel free to use that branch to debug the issue or use the example if you find it useful)

parseArgs expects the input to be tokenized on spaces already, as if you were getting arguments from something like Process.argv. It does not do this tokenization on it's own.

Haha, what was I thinking, thanks!
One thing I noticed is that Applicative instance  for ArgParser might be useful I have added one on my branch and it seams to work.
Closing this issue.

One thing I noticed is that Applicative instance for ArgParser might be useful

I also think this would be useful, unless I'm missing some way of constructing an ArgParser Command for some Command that takes no arguments. I've been doing
SomeCommand <$ ArgParse.fromRecord {}

That’s true. There are several ways to implement a unit parser, so omitting an Applicative instance doesn’t accomplish anything.
It’s hard for me to comment on your example without larger context, but in general I don’t see a use case for pure. I have yet to write an arg parser where it was needed, but maybe that’s just me.

It’s hard for me to comment on your example without larger context

Making a version of til, my early progress here. Maybe I just want
ArgParse.flag [ "build" ] --...

instead of
ArgParse.command [ "build" ] --...

although it seems more like a "command" than "flag" 🤷

Sorry, you might need to give me a high level idea of what you are trying to accomplish.

The thing I'm trying to make is just a very simple CLI where some commands take arguments
$ til edit Some new blog post -f media.jpg

(opens $EDITOR to edit "Some new blog post") and some don't
$ til sync

(just wraps git fetch & rebase). I don't write CLIs typically, so I had thought of a "flag" as specifically something following a -- or -, so initially skipped over the flag constructor. In any case, this is what I went with and accomplishes what I was trying to, without need for fromRecord {} 🙂
data Command
  = Build
  | Sync
  | Edit
      (Maybe { title :: String, mediaFilePaths :: Array String })

parser :: ArgParser Command
parser = ArgParse.choose "command"
  [ ArgParse.flag [ "build" ]
      "Build all documents to HTML files for distribution"
      $> Build
      <* ArgParse.flagHelp
  , ArgParse.flag [ "sync" ]
      "Ensure the local environment has all known changes"
      $> Sync
      <* ArgParse.flagHelp
  , ArgParse.command [ "edit" ]
      "Edit and publish a new document"
      do
        Edit
          <$> ArgParse.optional
            ( ArgParse.fromRecord
                { title
                , mediaFilePaths
                }
            )
          <* ArgParse.flagHelp
  ]
  where
  title = do
    let parts = ArgParse.unfolded (ArgParse.anyNotFlag "TITLE" "Title")
    String.joinWith " " <$> parts
  mediaFilePaths =
    ArgParse.argument [ "--files", "-f" ] "Paths to media files"
      # ArgParse.separated "FILE" (Pattern ",")


Add prim factory?

This feature is necessary for prims using Nat

How to use Nat? I think you usually define Nat after all prims so you inevitably have no access to Nat.

What prims would depend on Nat? Could you give an example?

What prims would depend on Nat? Could you give an example?

String traversal, charAt

I guess this cannot be easily done and needs further discussion


Add support for 'collapsible' item property (#26)

After submitting PR #27 I thought that it may actually be a much nicer solution to implement this as an item property rather than a directive attribute. This way only parts of the tree can be made uncollapsible if desired, and it doesn't clutter the directive with more attributes.

I have updated this PR to be compatible with the current head.
@fer Any thoughts?

Yes, absolutely right. This makes sense to just block some parts of the tree. Will update the Readme and the example too :)
Thank you and 1K apologies for the delay in answering.


chore: automated PR to update VHDVersion for 202307.04.0 VHD

This is an automated PR to bump VHDVersion for the VHD release with image version 202307.04.0

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall First build on imageBump/202307.04.0 at 61.489%

Totals

Change from base Build<PHONE_NUMBER>:
61.5%

Covered Lines:
2561

Relevant Lines:
4165

💛  - Coveralls


Add SPF records to DNS zone

Description:
We need to define Sender Policy Framework for our domains.
Futher info:

https://support.google.com/mail/answer/81126
https://www.liquidweb.com/kb/what-is-an-spf-record/

For all our domains (dev.volontulo.pl, rc.volontulo.pl and volontulo.pl) set (3 separate TXT records): v=spf1 a mx ~all

@magul SPF have been added, though there seems that this is not proper approach. I am reffering to these checks: https://mxtoolbox.com/domain/volontulo.pl/

Removed.

@w1stler right now it looks, that You removed two SPF records, not only the one we need to remove:
dig volontulo.pl txt

; <<>> DiG 9.11.3-1ubuntu1-Ubuntu <<>> volontulo.pl txt
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 49434
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 65494
;; QUESTION SECTION:
;volontulo.pl.			IN	TXT

;; ANSWER SECTION:
volontulo.pl.		3600	IN	TXT	"v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC9n6V6R/ObTkUaiU2TnVzO9rj4IseNjeUFiYlZS1gPq1J2WjXT+HyuHd2OyHTqe8FNXaP9bEg25GxBtFaLOzTg4llpdqcseB9+6slaXMzOuhc3S2L+x9PEnzKDYSwtnB0b/iFJ6wx7hId/tI3I/aq2p1iM9J9u/T3aSQOk80SuUwIDAQAB"
volontulo.pl.		3600	IN	TXT	"google-site-verification=WD14vcGEK_uaPOiIC1Sr_0hN8YGP8NyVwk1upkQybqg"

;; Query time: 39 msec
;; SERVER: <IP_ADDRESS>#53(<IP_ADDRESS>)
;; WHEN: Mon May 28 11:58:53 CEST 2018
;; MSG SIZE  rcvd: 369

There need to be one defined:
volontulo.pl.		3583	IN	TXT	"v=spf1 a mx ~all"

oh! I see, You removed SPF records from domain, leave DKIM (which should be moved to mail._domainkey subdomain) and instead of moving DKIM You created SPF record there.
Please clean this mess.

(and it apply to all domains, that there issues are about: volontulo.pl, rc.volontulo.pl and dev.volontulo.pl)


Loosen the dependency versions in Cargo.toml

I don't think they were ever intended to be specific to the patch version but were accidentally made so in https://github.com/rust-lang/cargo/commit/a1faa7cb14b4549ca395c1d62c9cd2b3f56c13dd.
This upgrades docopt.rs to a version that supports typo suggestions for flags:
$ cargo build --jobz 64
Unknown flag: '--jobz'. Did you mean '--jobs'?

Closes #1546.

r? @huonw
(rust_highfive has picked a reviewer for you, use r? to override)

I was under the impression that a 0.x.y dependency is satisfied by any 0.x.z with z >= y.

@bors: r+ eff8491660ce95fca362552d6eb7945712e2a348
I agree with @huonw that the tweaks to Cargo.toml aren't strictly necessary, but it's fine to have them anyway!

:hourglass: Testing commit eff8491 with merge 6ed7ec9...

:broken_heart: Test failed - cargo-win-64

@bors: retry
On Mon, Apr 27, 2015 at 12:01 AM, bors<EMAIL_ADDRESS>wrote:

[image: :broken_heart:] Test failed - cargo-win-64
http://buildbot.rust-lang.org/builders/cargo-win-64/builds/621
—
Reply to this email directly or view it on GitHub
https://github.com/rust-lang/cargo/pull/1551#issuecomment-96524778.

:hourglass: Testing commit eff8491 with merge f0df3d4...

:broken_heart: Test failed - cargo-win-64

Unfortunately it looks like we can't upgrade Rust just yet due to a recently introduced bug in process spawning: https://github.com/rust-lang/rust/pull/24873/files

@alexcrichton I see, thanks for investigating!

:umbrella: The latest upstream changes (presumably #1564) made this pull request unmergeable. Please resolve the merge conflicts.

Ok I picked up a bunch of updates as part of #1564 (needed to update curl which needed to update openssl), but I wasn't able to update everything. As https://github.com/rust-lang/rust/pull/24873 just landed as well tonight's nightly should be the next available which can build Cargo!

This is probably ready for a rebase now


Copy bundled agent.jar file if download of the latest version failed

Closes https://github.com/getappmap/appmap-intellij-plugin/issues/643
This PR adds a fallback to the agent JAR download.
If the download from the remote locations failed, then the bundled agent jar is copied to the agent.jar location in the user's home directory.
Because the bundled jar file name doesn't contain the version, we copy the bundled file to $HOME/.appmap/lib/java/appmap.jar and not to something like $HOME/.appmap/lib/java/appmap-1.2.3.jar.
The bundled jar is only copied to the local location if it does not yet exist, i.e. a previously downloaded version is not replaced with the bundled jar if downloading the latest jar failed.

This is ready for review. Job appmap-analysis fails for unknown reasons and even a restart doesn't fix it.
/home/runner/work/_actions/getappmap/install-action/v1/webpack:/install-appmap-action/node_modules/@appland/action-utils/build/locateToolsRelease.js:28
        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
^
AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:

  (0, assert_1.default)(asset)

    at /home/runner/work/_actions/getappmap/install-action/v1/webpack:/install-appmap-action/node_modules/@appland/action-utils/build/locateToolsRelease.js:83:1
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/work/_actions/getappmap/install-action/v1/webpack:/install-appmap-action/node_modules/@appland/action-utils/build/locateToolsRelease.js:28:1)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

I noticed that the AppMap analysis job doesn't turn green after it turned red.
For example, in this PR the first test execution failed, AppMap analysis turned red and now stays red. I'm not sure what's causing it...

For some reason, there is no Linux build for this release https://github.com/getappmap/appmap-js/releases
Using @appland/appmap release @appland/appmap-v3.147.1 for linux-x64

/home/runner/work/_actions/getappmap/install-action/v1/webpack:/install-appmap-action/node_modules/@appland/action-utils/build/locateToolsRelease.js:28
        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
^
AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:

  (0, assert_1.default)(asset)

    at /home/runner/work/_actions/getappmap/install-action/v1/webpack:/install-appmap-action/node_modules/@appland/action-utils/build/locateToolsRelease.js:83:1
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/work/_actions/getappmap/install-action/v1/webpack:/install-appmap-action/node_modules/@appland/action-utils/build/locateToolsRelease.js:28:1)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

Which is obviously unrelated to this fix, but still strange and important.

Ok, so we can just go ahead and merge this, yes?

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

v0.68.0
GitHub release

Your semantic-release bot :package::rocket:


Move website for testcentric-gui into this one

See TestCentric/testcentric-gui#632 for details

Closed by commit https://github.com/TestCentric/website/commit/39ae9ab4430b9926346d3ec88f2934a36616d486


Improved token search

Before:

We implemented the system|value search features for Identifier objects in the identifier property
Identifier objects outside of identifier were not correctly indexed (i.e., ServiceRequest.requisition)
Non-Identifier objects could not use the system|value syntax (i.e., CodeableConcept, Coding, etc)

After:

Full system|value search for Identifier, CodeableConcept, and Coding in any search parameter

Considerations:

After deploying, this will require a full reindex of basically all resource types

None of the security primitives are affected by this (User, Project, Login, etc)
But it will affect search behavior for many patient critical resource types (ServiceRequest, Observation, etc)

This makes heavy use of getSearchParamDetails, which is a slightly expensive call.

(getSearchParamDetails takes a SearchParameter and cross-walks with the resource StructureDefinition to find the underlying ElementDefinition so you know what the actual data might look like.  For example, so you can determine if a token SearchParameter comes from a string or a CodeableConcept.
It might make sense to refactor to reduce the number of times we call it, or to cache the answer.

As part of the correctness push, we are removing search indexing of CodeableConcept.text and Coding.display.

These are technically breaks in backwards compatibility.  I know of at least one case of a production customer relying on that behavior.
The fix is to only rely on Coding.code and CodeableConcept.coding.code for any search behavior.

We could also refactor the ContactPoint search features into this same logic, which would cut about 300 lines of code.

ContactPoint represents both email and phone
For email, the search semantics are pretty much identical, so this would be fine
For phone, the FHIR spec gives some leniency to implementers to normalize phone number punctuation, so we may want to maintain a separate code path
The logic could potentially be implemented upstream though, before ever getting to this layer in the code

We should implement batch INSERT in our SQL layer

Any given update operation could now result in multiple INSERT queries, one for each value of a SearchParameter backed by a Identifier, CodeableConcept, or Coding
We could reduce that to one INSERT per resource
That's also probably an argument for combining the ContactPoint code path

In a future commit, we can remove the Identifier table and a whole bunch of search param columns

Asana: https://app.asana.com/0/1201910659736061/1202823196699583/f

Coverage decreased (-0.3%) to 94.076% when pulling ac27ac1b339eb948025d5263493212a73940bd12 on cody-token-search-completeness into 4aea792691f68c9d5bab8df1ef1a5287dd9b6a2d on main.

We could also refactor the ContactPoint search features into this same logic, which would cut about 300 lines of code.

I'd be in favor of this in general, but the point about phone numbers is well taken. Maybe we leave ConactPoint for a future PR?


RequestDetails: Comment functionality

Added the basic Comment functionality to the RequestDetails Section

Submitting
Deleting
Editing

closes https://github.com/inveniosoftware/invenio-requests/issues/114 https://github.com/inveniosoftware/invenio-requests/issues/110

LGTM! Needs a rebase

All discussion will be collected in this issue: https://github.com/inveniosoftware/invenio-requests/issues/139


api healthchecks not available

Hi, it seems the api health checks healthz, livez , readyz and ever the older health are not available
https://kubernetes.io/docs/reference/using-api/health-checks/
I'm trying to setup my LB in a more smart way to check the health of an api server and not just the port.
however without the api health endpoints this is not possible
I'm a bit confused regarding the not authorized as those endpoints should not need authorization.
or it's just a void message and the error 401 just means they don't exist in k3s.
root@k8s-master02:~# curl -k https://localhost:6443/livez?verbose
{
"kind": "Status",
"apiVersion": "v1",
"metadata": {
},
"status": "Failure",
"message": "Unauthorized",
"reason": "Unauthorized",
"code": 401
}root@k8s-master02:~# curl -k https://localhost:6443/health
{
"kind": "Status",
"apiVersion": "v1",
"metadata": {
},
"status": "Failure",
"message": "Unauthorized",
"reason": "Unauthorized",
"code": 401
}root@k8s-master02:~# curl -k https://localhost:6443/healthz
{
"kind": "Status",
"apiVersion": "v1",
"metadata": {
},
"status": "Failure",
"message": "Unauthorized",
"reason": "Unauthorized",
"code": 401
}

These endpoints exist, they are just not accessible without authentication. The insecure port and anonymous auth are both disabled by default on modern versions of Kubernetes, so you'd need to find some way to authenticate your health checks (using a client cert, etc)
https://github.com/kubernetes/kubernetes/issues/43784#issuecomment-304524127


Tokenization should be optional

Having the token in the attachment_url should be enabled by default, but can be disabled to be backwards compatible with 0.5.x. I'm currently stuck on 0.5.x and see no easy way of migrating to the newer release. The problem is painful if you have a highly distributed application environment that requires caching these asset urls.
https://github.com/refile/refile/issues/388#issuecomment-182603558

+1 same here. I have stored ~4 (depends on the image dimensions) URLs with different sizes of an image in the database and now I have no idea how I should upgrade this. Storing urls in database may not be the best thing but it's a API only application and the client expects an array of images for each attachment. Similar to what Spotifys api returns for a image

@jnicklas Should I submit a pull request to resolve this issue?

@jnicklas Any update on this would be awesome! :)

+1 to this too. I've just updated from 0.5x to 0.6.x and had some head scratching moments while my React front end failed to load any images. We had created a way for the front end to generate the Refile image sizes on the fly and now this doesn't work.

@mrede We did the same thing. Our application is essentially multiple rails apps that are coupled together with a gem we have. This gem provides helpers to generate links to common image dimensions across apps. We also have to cache these urls in some of the apps which makes upgrading very difficult.
It does seem that I could copy over the logic from the tokenization method and get it to work, but I would like to avoid this if possible.

Skickat från min iPhone

15 juli 2016 kl. 20:34 skrev Jordan Humphreys<EMAIL_ADDRESS>@mrede We did the same thing. Our application is essentially multiple rails apps that are coupled together with a gem we have. This gem provides helpers to generate links to common image dimensions across apps. We also have to cache these urls in some of the apps which makes upgrading very difficult.
It does seem that I could copy over the logic from the tokenization method and get it to work, but I would like to avoid this if possible.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Hey! Feel free to open a pull request fixing this and I will be glad to merge.
Since our efforts are limited, I'm closing this one.
Thanks for your time.


allow setSigma to be generic over the graph typ

Closes #58

Thanks for the PR will check that.
BTW, I'm waiting the release of sigma v3 to make a refacto of this library.
The v3 comes with more generic types (check https://github.com/jacomyal/sigma.js/issues/1359), and I need to handle that also in this lib.

Thanks for the PR will check that.
BTW, I'm waiting the release of sigma v3 to make a refacto of this library. The v3 comes with more generic types (check jacomyal/sigma.js#1359), and I need to handle that also in this lib.

You want me to try merge that one in and see how it works?

It's merged

You want me to try merge that one in and see how it works?

Thanks a lot, but I will do it. With the next version of sigma, I will do a major release, so  I will take advantage of it to make some cleanups and breaking changes.


add to list of electron apps

https://github.com/electron/apps

https://github.com/electron/apps/pull/1677


🎯 Hit Sound

Add hit sounds when the player injures a target with a firearm.
Hit sounds can be toggled on/off per player.

[ ] Add a hit marker


Adding a quality with modifiers twice to an item will result in 11 stacks instead of 2

Sometimes when adding item qualities (via drag and drop) qualities increase by appending a 1 to the number (1,11,111) instead of adding 1 (1,2,3).
For item qualities which added the correct amount, the bugged behaviour could be produced by adding a modifier (tested with add Roll Mods - Add Boost - 1).

Should be released in 1.802.


Sprite orientation sometimes create sprite that doesn't exist, making the whole game crash

Example : sprite PLAYE1E8

Not able to reproduce the bug anymore ?


Endpoint crashed on 1 GB file upload

Environment info

NooBaa Version: master-20210531
Platform: OCP 4.6.16

Actual behavior

Endpoint pod crashed on doing upload operations on s3 bucket

Expected behavior

Endpoint should not get crashed

Steps to reproduce

Started upload operation of multiple files with sizes 977M using s3 cp command

Found only 1 file got upload to bucket-1 and .noobaa_nsfs* size increased during this upload.
[root@hpo-node1 akshat]# s3u1 ls s3://bucket-1|grep small_chunk
urllib3/connectionpool.py:1013: InsecureRequestWarning: Unverified HTTPS request is being made to host 's3-noobaa.apps.ocp-akshat-1.cp.fyre.ibm.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
2021-06-01 23:23:01<PHONE_NUMBER> small_chunk_1

[root@hpo-node1 akshat]# du -sh small_chunk_*
977M    small_chunk_1
977M    small_chunk_10
977M    small_chunk_1_read
977M    small_chunk_1._read
977M    small_chunk_2
977M    small_chunk_3
977M    small_chunk_4
977M    small_chunk_5
977M    small_chunk_6
977M    small_chunk_7
977M    small_chunk_8
977M    small_chunk_9

Uploading this endpoint log and noobaa diagnose
More information - Screenshots / Logs / Other output

Jun-2 6:45:03.736 [Endpoint/9]    [L0] core.sdk.object_sdk:: _load_bucket_namespace {
  _id: '60b672a8369502002280a0c3',
  name: SENSITIVE-f53e749d8f84e52b,
  active_triggers: [ [length]: 0 ],
  system_owner: SENSITIVE-9cf0fd89409efef8,
  bucket_owner: SENSITIVE-3d288e97f8a66631,
  bucket_info: { name: SENSITIVE-f53e749d8f84e52b, owner_account: { email: SENSITIVE-3d288e97f8a66631, id: '60b6713b369502002280a0bf' }, namespace: { write_resource: { resource: 'nsfs-nsr-1', path: '/bucket-1' }, read_resources: [ { resource: 'nsfs-nsr-1', path: '/bucket-1' }, [length]: 1 ], should_create_underlying_storage: true }, tag: '', num_objects: { value: 0, last_update:<PHONE_NUMBER>747 }, writable: false, storage: { values: { used: 0, used_other: 0, total: 0, free: 0 }, last_update:<PHONE_NUMBER>102 }, data: { size: 0, size_reduced: 0, free: 0, available_for_upload: 0, last_update:<PHONE_NUMBER>102 }, usage_by_pool: { pools: [ [length]: 0 ], last_update:<PHONE_NUMBER>747 }, stats_by_type: [ [length]: 0 ], mode: 'OPTIMAL', bucket_type: 'NAMESPACE', versioning: 'DISABLED', triggers: [ [length]: 0 ] },
  namespace: {
    write_resource: { resource: { fs_root_path: '/nsfs/parent', fs_backend: 'GPFS', id: '60b67114369502002280a0be', name: 'nsfs-nsr-1' }, path: '/bucket-1' },
    read_resources: [ { resource: { fs_root_path: '/nsfs/parent', fs_backend: 'GPFS', id: '60b67114369502002280a0be', name: 'nsfs-nsr-1' }, path: '/bucket-1' }, [length]: 1 ],
    should_create_underlying_storage: true
  }
}
Jun-2 6:45:03.737 [Endpoint/9]   [LOG] CONSOLE:: NamespaceFS: abort_object_upload /nsfs/parent/bucket-1/.noobaa-nsfs_60b672a8369502002280a0c3/multipart-uploads/38055c2a-c9f1-4b97-be41-1574e9a1046c
Jun-2 6:45:10.907 [Endpoint/9] [ERROR] core.endpoint.s3.s3_rest:: S3 ERROR <?xml version="1.0" encoding="UTF-8"?><Error>NoSuchKey<Message>The specified key does not exist.</Message><Resource>/bucket-1/small_chunk_10</Resource><RequestId>kpf3uueu-65vjp-qni</RequestId></Error> HEAD /bucket-1/small_chunk_10 {"accept-encoding":"identity","user-agent":"aws-cli/2.1.29 Python/3.8.8 Linux/4.18.0-240.22.1.el8_3.x86_64 exe/x86_64.rhel.8 prompt/off command/s3.cp","x-amz-date":"20210602T064510Z","x-amz-content-sha256":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","authorization":"AWS4-HMAC-SHA256 Credential=p8S5WxzMgdcZfoKEpJdf/20210602/us-east-1/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=e51b7ce1acc22259803e2829258153666171d440a521215b2dc4abe5b33e87be","host":"s3-noobaa.apps.ocp-akshat-1.cp.fyre.ibm.com","x-forwarded-host":"s3-noobaa.apps.ocp-akshat-1.cp.fyre.ibm.com","x-forwarded-port":"443","x-forwarded-proto":"https","forwarded":"for=<IP_ADDRESS>;host=s3-noobaa.apps.ocp-akshat-1.cp.fyre.ibm.com;proto=https","x-forwarded-for":"<IP_ADDRESS>"} Error: No such file or directory
Jun-2 6:49:48.578 [Endpoint/9]    [L0] core.endpoint.endpoint:: Sending endpoint report: { group_name: 'b1ee45f6-4c95-4e6b-80de-15ccf0782dec', hostname: 'noobaa-endpoint-6ddfcbc794-gjbcz' }
Jun-2 6:53:21.186 [Endpoint/9]  [WARN] core.util.mongo_client:: got close mongodb://noobaa-db-0.noobaa-db/nbcore
Jun-2 6:58:21.187 [Endpoint/9] [ERROR] core.util.mongo_client:: Connection closed for more  300000 , quitting

######################################################################
Wed Jun  2 06:58:21 UTC 2021 NooBaa: Process exited RIP (RC=1)
######################################################################

sh-4.4# e[root@ocp-akshat-1-inf ~]# podn
NAME                                               READY   STATUS        RESTARTS   AGE
noobaa-core-0                                      1/1     Running       0          13h
noobaa-db-0                                        1/1     Running       1          13h
noobaa-default-backing-store-noobaa-pod-fe588510   0/1     Terminating   0          14s
noobaa-endpoint-6ddfcbc794-gjbcz                   0/1     Error         0          13h
noobaa-operator-7c9c876b8c-zp475                   1/1     Running       0          13h

[root@ocp-akshat-1-inf ~]# podn
NAME                                               READY   STATUS        RESTARTS   AGE
noobaa-core-0                                      1/1     Running       0          14h
noobaa-db-0                                        1/1     Running       1          14h
noobaa-default-backing-store-noobaa-pod-fe588510   0/1     Terminating   0          3s
noobaa-endpoint-6ddfcbc794-gjbcz                   1/1     Running       1          13h
noobaa-operator-7c9c876b8c-zp475                   1/1     Running       0          14h

noobaa_diagnostics_1622619273.tar.gz

endpoint_2june.zip

Seems like duplicate of https://github.com/noobaa/noobaa-core/issues/6565

@akmithal ?


Missing 'maui' as an option

You are missing 'maui' as an option.
'dotnet new maui' does work. Please update this page.
[Enter feedback here]

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

ID: 0b952f8a-18e1-4843-0741-6ca877fb303a
Version Independent ID: d80dfb96-bc86-a960-abec-255dd907d04d
Content: dotnet new <TEMPLATE> - .NET CLI
Content Source: docs/core/tools/dotnet-new.md
Product: dotnet-fundamentals
Technology: dotnet-cli
GitHub Login: @tdykstra
Microsoft Alias: tdykstra

Associated WorkItem - 163718

The table only lists templates "that come pre-installed with the .NET SDK." maui is not in that group.

@tdykstra can this one be closed?

Yes, the question was answered.


New version: gopass.gopass version 1.15.13

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

For moderators
This account is automated by Github Actions and the source code was created by CoolPlayLin. If you have any questions about any pull request, don't hesitate to ping Exorcism0666.

[!warning]
With the new version of Komac, numerous Pull Requests may contain bugs or unwanted elements. If such issues arise, please tag russellbanks so that these bugs can be addressed in future updates.

[!important]
Please carefully review these Pull Request before merging. If it is a Pull Request for removing incorrect content and the URLs are issue, free upon manual checking, please close this Pull Request directly. (It is best to inform Exorcism0666 of the closure.)

良い一日をお過ごしください！

Automatic Validation ended with:

Executable C:\Users\validator\AppData\Local\gopass\gopass.exe returned exit code: 6

(Automated response - build 876.)

@wingetbot waivers Add Validation-Executable-Error


fix  <<command()>>  and  <<command("parameters")>> crashing bondage.js

This pull prevents commands with js-esque syntax  from crashing bondage.js
It addresses bug reported here:
https://github.com/jhayley/bondage.js/issues/35
It also adds additional parser tests to make sure the syntax is not crashing it.
The parameters in () dont get passed yet - as it would require some refactoring of nodes.js which was requested by @jhayley to be done in a separate pull.

Hey thanks! This is looking really good. One thing that I think is worth considering is allowing weirder syntax such as <<blah(blah blah blah)>>. the idea is that anything in between << >> should be returned as strings so I don't think it should be limited to just the classical understanding of "arguments". I'm not entirely sure how that might be gone about though hmmm.

@jhayley I wonder if we can just do
 ['BeginCommand Text EndCommand', '$$ = new yy.CommandNode($2);'], /// << anything goes even(this and this)>>
:p

Making it completely flexible might interfere with some of the other features though, such as conditional statements

Hopefully we could treat the conditionals as keywords and allow anything else to be passed as strings to the handler.
This behaviour is handled in lexer/states.js, specifically the command and commandOrExpression nodes. It treats Identifiers differently than text (an identifier is basically what amounts to a valid variable name). Now that I think about it, I'm not sure why this behaviour is there? I dont think yarn functions are valid in the case of them being called like <<function()>> so this may be where this should be fixed.
An interesting side effect that demonstrates this is while <<foo()>> shows the error we're trying to fix <<foo bar()>> does not and works as expected.
Dropping that special identifier behaviour might be the answer

Very interesting. @jhayley I will try to approach the problem from that angle then :)

@jhayley
There are still a lot of things to consider when identifying a command. It needs to not be a number of things:
https://github.com/jhayley/bondage.js/blob/master/tests/yarn_files/conditions.json
<>
<>
<>
<>
I wonder if I am missing something
That functionality if very important to me, so I don't want to break it, nor return any conditional statements as commands. Right now the two are kind of mixed up in the same syntax pattern
Do you think it would be safer if we only return a command if a key word is used?
For example <<command anything() after command>>
could return anything() after command
It would fit more with the currently established syntax, but would require a lot more typing in yarn.
Perhaps we can use a shorter key word like "call"? <>

The lexer should already account for those keywords. It first checks to see if the first word is a defined operator, otherwise it continues on to treat it like regular text.
I'd rather not add special syntax since that would diverge too much from how yarnspinner operates. But the lexer behaviour should prevent this from becoming an issue

@jhayley I am sorry - I am having trouble understanding how exactly the lexer works. Can you help with this change please

Hi! What are you having trouble with? Feel free to email me at<EMAIL_ADDRESS>since I imagine that'd be easier than github comments!


Use /metadata/identity/oauth2/token endpoint to check the VM in the specific tenant?

We are developing a window service that will be deployed in Azure VMs. However, we want to restrict the the windows service to be used in VMs created in specific AAD tenants. We are planning to use /metadata/identity/oauth2/token endpoint to validate the tenant.
The windows service gets a token using the token endpoint from a VM and validates the token claims (iss, idp etc.). By validating the token (including signature), I am ensuring that the token is issued by the specific tenant. Also, If the tid value in the predefined list, the windows process continue to run otherwise it will exit. Can we use the token endpoint for this? or any security concerns even after we validate the token?
Token endpoint: http://<IP_ADDRESS>/metadata/identity/oauth2/token

@skyovi - Thank you for your question.
Can you please share with us the URL of the document that you are having issues with?
Please note that we scope issues on this repo to feedback related to the docs. If you have a product question, please post it on Microsoft QnA or Stack Overflow. Thank you for your understanding.

@skyovi - Thank you for your question.
Can you please share with us the URL of the document that you are having issues with?
Please note that we scope issues on this repo to feedback related to the docs. If you have a product question, please post it on Microsoft QnA or Stack Overflow. Thank you for your understanding.

My question is on token validation: https://docs.microsoft.com/en-us/azure/virtual-machines/windows/instance-metadata-service?tabs=windows
This is product related questions. anyway I posted on Sack overflow.

Thanks for confirming that this is not a doc related issue and its a product question.
At this moment, Since there is no doc update required, We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


New topologies should appear first on heron-ui page

Can you explain more about this issue? For instance, background, current status, goal and the justification.

Any concrete examples?

currently topologies are sorted by names when you open heron-ui. When user submits his topology, it would be better if he sees his topology at the very top of the ui list.

Having the sort be based on submit time is helpful for someone who just submitted a job, but not for others. If we want this, we should consider letting the user change the sort order (submit time asc/desc, alpha, etc).

@billonahill

but not for others

I will assume "others" mean people who open heron-ui but did not submit a new job. In this case, nothing has changed: he still has to use search bar or scroll up and down to find his job. I think in most cases, people open heron-ui because they just submitted a job.
Can you give me an example of sorting topology by submission time by default being not helpful to a particular group of users? What particular benefits do we have from sorting topology by names?

sort by each field is good enough and we have powerful search as well.

ok then


chore(fix-clippy-warnings): fix clippy warnings

Type of Change

[ ] Bugfix
[ ] New feature
[ ] Enhancement
[x] Refactoring
[ ] Dependency updates
[ ] Documentation
[ ] CI/CD

Description
add -Wclippy::large_futures flag and fix clippy warnings
Additional Changes

[ ] This PR modifies the API contract
[ ] This PR modifies the database schema
[ ] This PR modifies application configuration/environment variables

Motivation and Context
add -Wclippy::large_futures flag and fix clippy warnings
How did you test it?
ran the app locally
Checklist

[x] I formatted the code cargo +nightly fmt --all
[x] I addressed lints thrown by cargo clippy
[x] I reviewed the submitted code
[ ] I added unit tests for my changes where possible
[ ] I added a CHANGELOG entry if applicable

Closing this PR, I'd enabled the lint in #4822.


Loading and running the ImgCapture sample for MAX78002

Hi, I am running into an issue with the ImgCapture project where instead of the expected output when I do python console.py COM7, I am getting:
Started ImgCapture console and opened COM7
MCU: 0.0131403,0.0102001,1.07019e-05,0.00111579
MCU: 0.0141743,0.010266,9.27363e-06,0.00107829
MCU: 0.012517,0.0102926,1.19011e-06,0.00108934
MCU: 0.0147582,0.0102625,0,0.00118807
MCU: 0.0140047,0.0102792,8.22735e-06,0.00111354

This just continues on, and I"m not sure what is this output, and what to do next.
I have connected the OV7692 video to the 78002 board, and the PICO debugger to the SWD port (JH8, not JH5 which is RSIC-V port) and a micro-USB cable to CN1. Currently, Led0 is blinking, not Led1.

Connected to the wrong port.


Convert DER formatted JWS to raw format and back

OpenSSL returns a DER formatted signature when using EC algorithms (see https://github.com/mpdavis/python-jose/issues/47). This prevents other tools such as jwt.io from validating the JWT as the signature is expected to be raw formatted. Similarly, a token created outside of this crate cannot be validated as OpenSSL requires a DER formatted signature. This fix converts the DER formatted signature into raw format before base64 encoding it, and converts an incoming raw formatted signature to DER format so OpenSSL can validate it.

What sort of time line  do you have on this library switch? Thanks.
From: Alex Maslakov<EMAIL_ADDRESS>Sent: 05 May 2018 08:25
To: GildedHonour/frank_jwt<EMAIL_ADDRESS>Cc: Benjamin Wareham<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [GildedHonour/frank_jwt] Convert DER formatted JWS to raw format and back (#24)
I plan to move from OpenSsl to other library, hence no need in this PR.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/GildedHonour/frank_jwt/pull/24#issuecomment-386786279, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AWXxWP5y_H-89dJG-5BxOxm-yzOPQTNKks5tvVO3gaJpZM4TqUXI.


Remix don't padding the address parameter without "" if you call a function from Remix.

if I call with somefunction(0xca35b7d915458ef540ade6068dfe2f44e8fa733c), it won't padding the address to 32 bytes:

if I call with somefunction("0xca35b7d915458ef540ade6068dfe2f44e8fa733c"), it will work correctly:

Please see an example caused by this error:
https://ethereum.stackexchange.com/questions/42731/mappings-and-dynamic-arrays-in-solidity/42775#42775

that should be fixed by now ( remix.ethereum.org ) please retry and reopen if necessary


Trace Ability

With the recent update, Gardevoir's Trace ability is no longer working. I've tried on multiple pokemon, as have others. The ability is still listed in summary, but fails to function on battle.

Fixed in 6.2.3


lib: Merge GraphCommand and Command

Now we have only Command
Command(goto=) combines the previous functionality of Command(send=) and GraphCommand(goto=)

No I can merge before that, and fix in a later pr


refactor: remove blank on pin screen

Motivation
Currently we are displaying a blank screen while the faceid is being asked and only displaying the PIN when it's successful or cancelled, the expected behavior is to display the face id indicator on top of the pin screen
Acceptance Criteria

Remove the logic that hides the PIN while the faceid is being requested

Security Checklist

[X] Make sure you do not include new dependencies in the project unless strictly necessary and do not include dev-dependencies as production ones. More dependencies increase the possibility of one of them being hijacked and affecting us.

Upon investigating this issue on Android, it was found that the screen being rendered at the time the biometry is requested is not the PinScreen, as it happens with iOS.
On Android the screen being displayed is the Decide from the RootStack navigator
https://github.com/HathorNetwork/hathor-wallet-mobile/blob/a4834fca2b5a40b10b515d37a9ae340c8339cc13/src/App.js#L708-L709
This happens before the AppStack is even rendered and PinScreen can be displayed. The getBiometry() call is then executed at componentDidMount time for the AppStack
https://github.com/HathorNetwork/hathor-wallet-mobile/blob/a4834fca2b5a40b10b515d37a9ae340c8339cc13/src/App.js#L480-L481
From there on, the order of the rendering appears to be different. What follows are videos displaying the exhibition on Android 11, Pixel 4 emulated phone on the current dev version ( v0.26.0-rc7 ) and the current Google App version ( v0.25.0 ).
v0.26.0-rc7 - The Decide screen was painted blue ( #55F ) for didactic visualization:
https://github.com/HathorNetwork/hathor-wallet-mobile/assets/1299409/f7ef8496-9d97-4aaa-b4b1-f717710ee83d
v0.25.0 - Original colors, current user experience
https://github.com/HathorNetwork/hathor-wallet-mobile/assets/1299409/0214e45f-9a36-4d51-a792-1a5609429382