[10.x] Add ability to measure a single callable and get result

Gives the ability to measure a given callable inline and allow receive the resulting value, e.g.
[$duration, $result] = Benchmark::once(function () {
    sleep(1);

    return 'foo';
});

Useful for providing metrics around different execution paths of your application.

@timacdonald Can you give me a real world use case where you would want to see the result?

Sure thing.
Measuring and logging external service interactions for alerting
public function list()
{
    [$response, $duration] = Benchmark::value(fn () => Http::get('https://external-service.com/list.json'));

    if ($duration > 1000) {
      Log::warning('external-service.com is running slow');
    }

    return $response->json();
}

Adding "Server-Timing" headers
public function index()
{
    [$users, $dataDuration] = Benchmark::value(function () {
        $users = DB::where(...)->get();

        return $users->map(...);
    });

    [$response, $responseDuration] = Benchmark::value(fn () => UserResource::collection($users)->response());

    return $response->header('Server-Timing', "db;dur={$dataDuration}, response;dur={$responseDuration}");
}

Monitoring the duration of different execution paths and external service interactions is a common pattern for application logging, monitoring, and metrics.


Update Elasticsearch to 6.8.20

No significant changes are listed, but we want to make sure we're tested and ready for when 6.8.21 comes out. Also nuke ES 7 which we will never ship.
Signed-off-by: Tim Smith<EMAIL_ADDRESS>

https://buildkite.com/chef/chef-chef-server-main-omnibus-adhoc/builds/3566

closing in favor of https://github.com/chef/chef-server/pull/3000


Multi-lingual support for OOB Confirm prompt

System Information

Node.js
Azure Bot Service
Issue:
I'm using water-fall bot currently which supports English. I'm planning to change to support Multi-lingual using Microsoft Translator API and Text Analytics. For all custom dialog and prompt i can do this. I was stuck how i can do multi-lingual for Confirm prompt. Let's say if the user types something which bot doesn't understand it will ask as below. This OOB capability and want to understand how this can be multi-lingual

"I didn’t understand. Please answer ‘yes’ or ‘no’."
Code Example
builder.Prompts.confirm(session, 'Are you using your email address as your user name? ', ['yes', 'no']);
Here if the user enters something else other than yes or no. we get below message which is OOB. Need help how that can be mult-lingual
"I didn’t understand. Please answer ‘yes’ or ‘no’."

Does OOB in this context mean Out-of-bounds? I don't understand what OOB is.
How many languages are you planning on supporting? Are you just planning on setting it up globally to handle every possible language via translator and text analytics API?

OOB - Out of Box.  Yes we want to setup globally for all languages eventually but not for pilot launch. i'm stuck how to translate some of them which is coming out of box which i specified below. This is comes from Bot framework and not handled by me
"I didn’t understand. Please answer ‘yes’ or ‘no’."

OOB == default messaging text found in BotBuilder.js localization file.
For more information on localizing prompts see:
https://docs.microsoft.com/en-us/bot-framework/nodejs/bot-builder-nodejs-localization#localize-prompts

The default localization system for the Bot Builder SDK is file-based and allows a bot to support multiple languages using JSON files stored on disk. By default, the localization system will search for the bot's prompts in the ./locale/<language_tag>/index.json file where is a valid IETF language tag representing the preferred locale for which to find prompts.

Sorry i didn't find this path in Azure Bot Service..

@PrasadKosaraju You need to configure Continuous Integration for your bot code, and add the localization files yourself.

relates to http://dailydotnettips.com/2017/07/18/setting-up-continuous-integration-for-azure-bot-services/

Tried with index.json for localization of confirm prompts..But still it's i enter yes or no it's not routing properly. Please let me know if i'm missing something. Here is the code
function (session) {
//builder.Prompts.confirm(session, 'Did this re-solve the issue? ', ['yes', 'no']);
//userLocale= session.preferredLocale();
userLocale=session.conversationData.locale;
var confirm_prompt=session.localizer.gettext(userLocale, "confirm_prompt");
var confirm_yes=session.localizer.gettext(userLocale, "confirm_yes");
var confirm_no=session.localizer.gettext(userLocale, "confirm_no");
//console.log("confirm_prompt:::::"+confirm_prompt);
builder.Prompts.confirm(session, confirm_prompt,[confirm_yes,confirm_no]);
},
function (session, results) {
session.send("You entered ::::::'%s'", results.response);
}


preFileLine line index is not incremented for the last line in CSV

Hello,
.preFileLine((fileLineString, lineIdx)=>{
    if (lineIdx === 0){
        return fileLineString.replace(/ /g,'')
    }
    return fileLineString
})
I'm using preFileLine() to remove spaces in CSV column headers.
For example:
column 1, column 2
ab cd, test test
should result in
column1, column2
ab cd, test test
When there are several rows in the CSV file – everything works fine. Still, when there is only one line in the CSV – the spaces are also being replaced in it. As far as I can see, this happens because of lineIdx for the second line stays 0.
What I have noticed is that it happens for any number of rows in CSV because for the last row in a file the lineIdx counter is not being incremented.

Bump!

I'm seeing this for files with no trailing end-of-line character.


audit: throttle awscli@1 instead of awscli

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

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

awscli is throttled in audit.rb to only update every ten versions, due to the near-daily release cycle of the v1 series. Version 2 of awscli was released on 2020-02-10 and version 1 was moved to awscli@1. Right now, awscli@1 isn't being throttled even though it needs to be, so this updates the referenced formula in audit.rb accordingly.
awscli version 2 has had a slower release cadence (15 days for 2.0.1, six days for 2.0.2, seven days for 2.0.3). If the release cadence for v2 continues in the same fashion, I don't imagine we'll need to throttle it. If that's agreeable, we should probably remove the comment in the awscli formula about only updating on every tenth version.
For what it's worth, brew tests gives failures on both master and this PR branch, varying between 4-6 failures per run, so I'm not sure what to think about that.

Thanks @samford, good catch.

For what it's worth, brew test gives failures on both master and this PR branch, varying between 4-6 failures per run, so I'm not sure what to think about that.

You mean brew tests? What fails?

You mean brew tests? What fails?

Whoops, yes, I did mean brew tests.
On the current master branch (after this PR was merged), I have the following errors with brew tests (abbreviated for brevity):
Failed examples:

rspec ./test/dev-cmd/ruby_spec.rb:10 # brew ruby executes ruby code with Homebrew's libraries loaded
rspec ./test/cmd/reinstall_spec.rb:11 # brew reinstall reinstalls a Formula
rspec ./test/cmd/install_spec.rb:19 # brew install can install keg-only Formulae
rspec ./test/cmd/install_spec.rb:10 # brew install installs formulae
rspec ./test/cmd/install_spec.rb:32 # brew install can install HEAD Formulae
rspec ./test/cmd/upgrade_spec.rb:10 # brew upgrade upgrades a Formula and cleans up old versions

The full output can be found in this gist.

Running this a second time, reinstall_spec.rb:11 passed and the following failed instead:
rspec ./test/cmd/migrate_spec.rb:10 # brew migrate migrates a renamed Formula

I have no problems with these commands when running them outside of tests and brew tests was fine on CI here, so it's strange that they fail for me locally. I may look into it further when I get a chance but I wouldn't worry too much about it if it's only affecting me.

@samford What's your brew config output? Unfortunately people have been seeing similar sporadically since we started using Ruby 2.6; not quite sure the underlying cause really.

brew config is as follows:
HOMEBREW_VERSION: 2.2.10-75-gf527f03
ORIGIN: https://github.com/Homebrew/brew
HEAD: f527f03fb5d57ac19ac03b8968536bc3a3346849
Last commit: 3 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: a30239f85eaed019c60bfdfd9b78ce32deaa9126
Core tap last commit: 3 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_DEV_CMD_RUN: 1
HOMEBREW_NO_ANALYTICS_THIS_RUN: 1
CPU: dodeca-core 64-bit kabylake
Homebrew Ruby: 2.6.3 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
Clang: 11.0 build 1100
Git: 2.25.1 => /usr/local/bin/git
Curl: 7.64.1 => /usr/bin/curl
macOS: 10.15.3-x86_64
CLT: <IP_ADDRESS>.1.1576735732
Xcode: 11.3.1

Homebrew Ruby: 2.6.3 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby

Weird, this used to just be a vendored Ruby thing. If you can figure out how to reproduce and fix it: I'm all ears.


Update the Repository Settings

[ ] Update the repository description and tags
[ ] Update the repository social share image
[ ] Tweak any settings for public repositories
[x] Create the first release: v0.0.1
[ ] Branch protection on master with Github action status protection
[ ] Enable access for Mergify

@Nerd35184 I just created a v0.0.1 release

@haoustc  @Nerd35184 if you want to make me an Admin (or Maintainer) of this repo I can make the following changes above. Happy to help.


Bypassing the "premium only" restriction on the device picker

📝 Adding the ability to cast to Premium devices

Unlocking the ability to cast to other devices even when using spotify free

📷 Screenshots

I tried to unlock this limitation, but it's not clear yet how stable it works.
Spotify Connect is very buggy out of the box, god only knows how it will work after these changes, need to test this.
To start testing you need:

Spotify <IP_ADDRESS>9 must be installed
Press Win+R and paste this %appdata%\Spotify\Apps
Make a backup copy of the xpui.spa file
Download xpui.zip(new device picker) or xpui.zip(old device picker) rename it to xpui.spa and move it to the Apps folder
run Spotify

This works for me without any issues, Could this be a client based issue more then a patch based

?

This works for me without any issues, Could this be a client based issue more then a patch based?

they do not restrict all devices, for example, try running Spotify on android

oh yeah it does show that

Added a new test incoming parameter -testconnect for more convenient testing.
Now for testing, you just need to run this line from PowerShell

Alr will test it asap

seems like there is an issue

@Gam3rrXD
You can uninstall Spotify and run spotx installation again

o ight

Does switching the audio stream to the phone work?

works now but I am unable to use spicetify with tha patch

Does switching the audio stream to the phone work?

yea that works

the only issue is spicetify

after i install spicetify

I am unable to use spicetify with tha patch

Okay, I'll look for the cause.
Thanks for the feedback.

alr thanks :)

strange, I have it working together with spicetify
maybe you bet something else ? any additions ? Or is the process of installing spicetify something special?

All I have is the dribblish theme, when I install spiceify and run the patch it does the error where it can't find contentpicker4 in xpui.js

It's just a spicetify theme which is just put into the themes folder and I update using "spicetify apply"

do you have a link to this theme?

https://github.com/spicetify/spicetify-themes/tree/master/Dribbblish

Weird, installed the dribblish theme but the error still doesn't reproduce
and the installation of spicetify is standard through this command?
iwr-useb https://raw.githubusercontent.com/spicetify/spicetify-cli/master/install.ps1 | iex

Yes I used that command

I am using a custom colors.ini file though

can you share your xpui.js file before you try to install spotx ?
That would make it easier to understand what the problem is.

alright

https://file.io/gEJLuELGaJaa

its not letting me upload directly to github

Now it’s clear what’s the matter, you have Spotify version 1.1.90, but you need 1.1.91
I indicated in that post above that 1.1.91 is required, but you apparently missed this moment :)

oh alright let me try again

ok so new issue, i install the version, then it works, I install spiceify then this occurs

https://github.com/amd64fox/SpotX/issues/93#issuecomment-1203085858

i did that twice

spicetify also needs to be completely uninstalled and installed fresh

did that too but will try again

yeah same issue complete uninstall and reinstall

You have something restoring the old xpui.js file, most likely this is done by spicetify, completely remove the spicetify folders from Local and Roaming, also completely remove Spotfiy itself
You can use this patch to uninstall Spotify completely

ok i pinpointed the issue, i installed spicetify and it worked
BUT when i installed dribblish using this command it broke
Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/spicetify/spicetify-themes/master/Dribbblish/install.ps1" | Invoke-Expression

@amd64fox i found the issue 100%, there is really no issue. After the patch says that i open spotify and wahla it works just fine. The main thing is the patch thinks it didnt work even tho it did.

Let's end here, as this is a completely different problem.
or
Create a new issue, although I'm sure you're missing something with a clean install.

alr

I believe this issue can be closed as it is working without bugs.

There were no reviews about the work of this feature except you
Do you really think it's worth running this for everyone?

There were no reviews about the work of this feature except you
Do you really think it's worth running this for everyone?

No one reported a new issue, which means at the moment there is no one that is experiencing and error and either they don't care or they didn't report. If a new issue arises they can just make a new issue on the repo.

ok i will add it tomorrow for everyone
the incoming parameter -testconnect will be removed

Alr thanks 😊

So, is this in the main patch now?

Actually, I just tried the new patch and I believe there's still some work to be done:
I tried to connect to the same device posted in the original issue(I also have a Yamaha RX-A730) and I clicked connect but spotify would just say connecting and the receiver says "need premium"(image attached of issue):

I believe there's more work to be done in order to trick any devices into really thinking that the cast to device feature is unlocked.

In this case, as I understand it, a premium check is used through the server, so it’s impossible to bypass it here, as well as set a very high quality for listening to music, all these are server functions that cannot be deceived.
But not all "connect" devices do this check.

added for everyone, let's see the reaction


Using environmentfiles

The environmentfiles page doesn't have any examples of what is IN an environmentfile
https://coreos.com/os/docs/latest/using-environment-variables-in-systemd-units.html
Probably just need a few examples, I'm assuming it is KEY=VALUE but, without examples I don't know.
The doc is missing
$ cat /run/flannel_docker_opts.env
{whatever that file contains}
Other questions that came out of not knowing the syntax - if I want dynamic values, do I use another script to generate the environment file ?
Can I create a value that will stay the same until the device is next rebooted, some sort of salted hash of /proc/sys/kernel/random/boot_id
?
Can I do this with environment files ?

You can use the %b specifier for that.

Made a quick PR for this. Is this what you were looking for @stuaxo? https://github.com/coreos/docs/pull/999

Awesome, cheers :)
I think the filename needs to be fleet_machines.env
I realise the syntax is kind of obvious, but I couldn't find many examples on the net.


How do I run the factory calibration?

I am measuring Lego bricks at close range (~200mm).  Unfortunately the D415 lenses are not focused properly at that range and are glued in place, so I cannot adjust them.
I have a small plano-convex lens in front of the camera that does a good job focusing the infrared camera image, but it messes up the depth map.
I tried recalibrating with the Calibration Tool, but it doesn't complete calibration with the lens in front, probably because the Cal tool only does extrinsic and not intrinsic parameters.
I want to run the factory calibration with the lens in front to update the intrinsic parameters.  I have searched and cannot find any tutorials on how to run the factory calibration.  Can you please get me started?

Around 20 cm (200 mm) from the camera is the practical limit for minimum distance from an observed object on the 400 Series cameras.  Below that distance, the left and right IR sensors can become confused.
The free public version of the Dynamic Calibrator software calibrates only the extrinsics of the camera, whilst the OEM version of the software (aimed at engineering departments and manufacturing facilities) can calibrate both extrinsics and intrinsics.
Unless you have an NDA agreement with Intel, the only other way I know of to obtain this OEM calibrator software is by purchasing the $1500 USD OEM calibration target system from the RealSense Store.
https://store.intelrealsense.com/buy-intel-realsense-d400-cameras-calibration-target.html
There may be options other than your plano-convex lens as a "cover material" for the camera's lens.  The subject of using a custom cover material to change the properties of incoming light is discussed at length here:
https://forums.intel.com/s/question/0D70P0000065HxqSAE
BTW, you may find useful a making-of article about a project that used a camera to isolate and identify Lego bricks moving beneath a camera along a makeshift conveyor.
https://github.com/IntelRealSense/librealsense/issues/5393

You will not be able to calibrate with a lens in front of each camera. Even if it works it would lose calibration almost immediately. This is why we build these units inside strong metal stiffeners.
So what is right approach for you?
The D435 is meant for much closer range operation. The hyper focal length of the lenses is much shorter, the FOV is larger, and the minimum distance for depth at 848x480 is about 16cm. So it is ideal for your usage I think.
By contrast the D415 has MinZ of about 45cm at 1280x720 so you would need to use disparity shifting. More importantly the image does go out of focus below about 45cm.

Thank you for all your comments.  If I want to do an NDA with Intel, how do I set that up?  Who do I contact?
These things are obviously a roadblock for me, but perhaps the D435 will help.  I looked at the D435 originally, but when I compared it against the D415, it didn't seem as good as the D415.  Does it have lower resolution (I need highest possible resolution) or some other critical parameter?  I'm looking at the specs again now and it seems good, but I picked the D415 for some reason that I can't now remember...

@nbonwit  To qualify for a RealSense NDA with Intel, the customer should typically offer a Return On Investment benefit to Intel.  A financial example of such a benefit would be an intention to purchase a volume of more than 100,000 cameras.  This is why the 1500 USD OEM calibration target board is the easier of the two ways to obtain the OEM calibrator software.
As @agrunnet said above, the next best step will likely be to switch to D435 and see how that improves your results when used without a lens in front of it.

Thanks for all the info.  I'll give the D435 a shot when I have time....need to buy one first.


i3agenda_google_token.pickle not found

Hi, I followed the instruction and encountered the following error after I authorize it in the browser. Could you help me with it? Thank you!
❯ i3-agenda -c ~/client_secret_googleusercontent.com.json
Please visit this URL to authorize this application: https://accounts.google.com/.....

Traceback (most recent call last):
  File "/Users/A.Y/miniconda3/bin/i3-agenda", line 8, in <module>
    sys.exit(main())
  File "/Users/A.Y/miniconda3/lib/python3.8/site-packages/i3_agenda/__init__.py", line 42, in main
    events = load_events(args)
  File "/Users/A.Y/miniconda3/lib/python3.8/site-packages/i3_agenda/__init__.py", line 33, in load_events
    events = get_events(args.credentials, args.ids, args.maxres, args.today)
  File "/Users/A.Y/miniconda3/bin/API.py", line 121, in get_events
    service = connect(credentials)
  File "/Users/A.Y/miniconda3/bin/API.py", line 19, in connect
    creds = get_credentials(credspath)
  File "/Users/A.Y/miniconda3/bin/API.py", line 47, in get_credentials
    with open(TMP_TOKEN, "wb") as token:
FileNotFoundError: [Errno 2] No such file or directory: '/Users/A.Y/.i3agenda/i3agenda_google_token.pickle'

What's the output for ls ~/.i3agenda?

try to mkdir the .i3agenda directory manually
mkdir ~/.i3agenda
Do you get a browser popup when you run i3-agenda -c ~/client_secret_googleusercontent.com.json?

mkdir ~/.i3agenda

This solved my problem.
Thank you!


donut rendering issue in Chrome on macOS ("spiky donuts")

Describe the bug
There is a rendering issue with donuts - see screenshot taken from the demo at https://g6.antv.vision/en/examples/case/graphDemos#donutTransfer.

My system info:
Google Chrome | 104.0.5112.79 (Official Build) (arm64)  3cf3e8c8a07d104b9e1260c910efb8f383285dc5-refs/branch-heads/5112@{#1307}
OS | macOS Monterey Version 12.5 (Build 21G72)
Chip | Apple M1 Pro

Your Example Website or App
https://g6.antv.vision/en/examples/case/graphDemos#donutTransfer
Steps to Reproduce the Bug or Issue

Go to https://g6.antv.vision/en/examples/case/graphDemos#donutTransfer on Google chrome on macOS
See the misshapen donuts

Expected behavior
I expected donuts to appear as usual.
Screenshots or Videos
No response
Platform
Google Chrome | 104.0.5112.79 (Official Build) (arm64)
Revision | 3cf3e8c8a07d104b9e1260c910efb8f383285dc5-refs/branch-heads/5112@{#1307}
OS | macOS Version 12.5 (Build 21G72)
Additional context
No response

This seems to be an issue with hardware-accelerated canvas rendering in chromium. I have raised an issue here https://bugs.chromium.org/p/chromium/issues/detail?id=1351304


Rename remaining file in Admin to admin

We have files spread across both Admin and admin. On an osx machine, those are the same directory, which has probably masked some underlying errors. This normalizes the case to the one that has more.
I did not test this, it's possible we should make this all title case instead.

If you can easily test, I'd say merge. I don't have a good test bed for fleet.

I gave it a manual test by building Fleet and loading up the page and it seems fine to me.


Initial value bool error with  INIT_CHARACHTERISTIC_VAL(bool,ch,false);

Hi,
When I try to implement initial value from the library API description, I get and bool and ch not declared error?
Optinally you can set a default (initial) value to be informed Apple about initial state
homekit_characteristic_t * ch= homekit_service_characteristic_by_type(hapservice, HOMEKIT_CHARACTERISTIC_ON);
INIT_CHARACHTERISTIC_VAL(bool,ch,false);   //  will inform apple that lights is OFF
I get this error:
EspHapSwitch8266_Double_Web:146:27: error: expected primary-expression before 'bool'
INIT_CHARACHTERISTIC_VAL(bool,ch,false);   //  will inform apple that lights is OFF
^
EspHapSwitch8266_Double_Web:146:32: error: 'ch' was not declared in this scope
INIT_CHARACHTERISTIC_VAL(bool,ch,false);   //  will inform apple that lights is OFF
^
EspHapSwitch8266_Double_Web:146:40: error: 'INIT_CHARACHTERISTIC_VAL' was not declared in this scope
INIT_CHARACHTERISTIC_VAL(bool,ch,false);   //  will inform apple that lights is OFF
Best regards,
Christian

1.Use latest version or version tagged v1.0.7
2. Check what is ch in your code. It should be valid pointer to (homekit_characteristic_t *)
Any other question, please attach full sketch

Hi, About
I now also see and unprotected wifi ESP-E4061A, when finished pairing a setting up a new device, that give access to <IP_ADDRESS> ?? and evrybody can lok into that?
This is not related to this library and standard behaviour of WiFi manager, It's properly documented
Definetelly thgs can happen when ESP not able to connect to your Wifi network and i't started in configuration mode.
So, problem could be

Device can't properly connect to your Wifi network , weak signal , what ever
You have upload a new scetch with option clear ESP. Means all data lost

Hi,
Can you provide any further help on how to use the below, I can't make it work?
homekit_characteristic_t * ch= homekit_service_characteristic_by_type(hapservice, HOMEKIT_CHARACTERISTIC_ON);
INIT_CHARACHTERISTIC_VAL(bool,ch,false); // will inform apple that lights is OFF
Best regards,
Christian

Yes, but could you explain what is not working, compilation, behaviour...
As well please attach a log

I get this error, if you try to compile the code about (right now the lines are masked out //)
I get this error:
EspHapSwitch8266_Double_Web:146:27: error: expected primary-expression before 'bool'
INIT_CHARACHTERISTIC_VAL(bool,ch,false); // will inform apple that lights is OFF
^
EspHapSwitch8266_Double_Web:146:32: error: 'ch' was not declared in this scope
INIT_CHARACHTERISTIC_VAL(bool,ch,false); // will inform apple that lights is OFF
^
EspHapSwitch8266_Double_Web:146:40: error: 'INIT_CHARACHTERISTIC_VAL' was not declared in this scope
INIT_CHARACHTERISTIC_VAL(bool,ch,false); // will inform apple that lights is OFF
What I want, is the outputs to be OFF when power is initial turned on

Ok,

Send me a full sketch
Which version you are using, please check . INIT_CHARACHTERISTIC_VAL implemented not so far

From: chrwh<EMAIL_ADDRESS>Sent: Wednesday, February 17, 2021 12:45 PM
To: Yurik72/ESPHap<EMAIL_ADDRESS>Cc: Yurik72<EMAIL_ADDRESS>State change<EMAIL_ADDRESS>Subject: Re: [Yurik72/ESPHap] Initial value bool error with INIT_CHARACHTERISTIC_VAL(bool,ch,false); (#48)
I get this error, if you try to compile the code about (right now the lines are masked out //)
I get this error:
EspHapSwitch8266_Double_Web:146:27: error: expected primary-expression before 'bool'
INIT_CHARACHTERISTIC_VAL(bool,ch,false); // will inform apple that lights is OFF
^
EspHapSwitch8266_Double_Web:146:32: error: 'ch' was not declared in this scope
INIT_CHARACHTERISTIC_VAL(bool,ch,false); // will inform apple that lights is OFF
^
EspHapSwitch8266_Double_Web:146:40: error: 'INIT_CHARACHTERISTIC_VAL' was not declared in this scope
INIT_CHARACHTERISTIC_VAL(bool,ch,false); // will inform apple that lights is OFF
What I want, is the outputs to be OFF when power is initial turned on
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub https://github.com/Yurik72/ESPHap/issues/48#issuecomment-780468769 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AKDREXNZHOGZC32TXFNYMXDS7OMZTANCNFSM4XH735BQ .  https://github.com/notifications/beacon/AKDREXJI6DMSRFIV4FB57R3S7OMZTA5CNFSM4XH735B2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOF2CQEII.gif

Hi,
I use V.1.0.7 (if I look in the library.properties file it says 1.0.3) but I downloaded from here https://github.com/Yurik72/ESPHap/releases/tag/v1.0.7
Atteched the full sketch, look around line 157, they are masked out // at the moment
Thanks and best regards,
Christian
Fra: Yurik72<EMAIL_ADDRESS>Sendt: 17. februar 2021 12:17
Til: Yurik72/ESPHap<EMAIL_ADDRESS>Cc: chrwh<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Emne: Re: [Yurik72/ESPHap] Initial value bool error with INIT_CHARACHTERISTIC_VAL(bool,ch,false); (#48)
Ok,

Send me a full sketch
Which version you are using, please check . INIT_CHARACHTERISTIC_VAL implemented not so far

From: chrwh<EMAIL_ADDRESS><EMAIL_ADDRESS>>
Sent: Wednesday, February 17, 2021 12:45 PM
To: Yurik72/ESPHap<EMAIL_ADDRESS><EMAIL_ADDRESS>>
Cc: Yurik72<EMAIL_ADDRESS><EMAIL_ADDRESS>>; State change<EMAIL_ADDRESS><EMAIL_ADDRESS>>
Subject: Re: [Yurik72/ESPHap] Initial value bool error with INIT_CHARACHTERISTIC_VAL(bool,ch,false); (#48)
I get this error, if you try to compile the code about (right now the lines are masked out //)
I get this error:
EspHapSwitch8266_Double_Web:146:27: error: expected primary-expression before 'bool'
INIT_CHARACHTERISTIC_VAL(bool,ch,false); // will inform apple that lights is OFF
^
EspHapSwitch8266_Double_Web:146:32: error: 'ch' was not declared in this scope
INIT_CHARACHTERISTIC_VAL(bool,ch,false); // will inform apple that lights is OFF
^
EspHapSwitch8266_Double_Web:146:40: error: 'INIT_CHARACHTERISTIC_VAL' was not declared in this scope
INIT_CHARACHTERISTIC_VAL(bool,ch,false); // will inform apple that lights is OFF
What I want, is the outputs to be OFF when power is initial turned on
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub https://github.com/Yurik72/ESPHap/issues/48#issuecomment-780468769 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AKDREXNZHOGZC32TXFNYMXDS7OMZTANCNFSM4XH735BQ . https://github.com/notifications/beacon/AKDREXJI6DMSRFIV4FB57R3S7OMZTA5CNFSM4XH735B2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOF2CQEII.gif
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/Yurik72/ESPHap/issues/48#issuecomment-780486795 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ABUAINVSEFOQYTZ75UAHB4LS7OQSLANCNFSM4XH735BQ .  https://github.com/notifications/beacon/ABUAINWH4BMLDHQDZA2DG4TS7OQSLA5CNFSM4XH735B2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOF2CURCY.gif

I do not see any attachments,
Check your Library folder ESPHap If file homeintegration.h contains
#define INIT_CHARACHTERISTIC_VAL
From: chrwh<EMAIL_ADDRESS>Sent: Wednesday, February 17, 2021 1:53 PM
To: Yurik72/ESPHap<EMAIL_ADDRESS>Cc: Yurik72<EMAIL_ADDRESS>State change<EMAIL_ADDRESS>Subject: Re: [Yurik72/ESPHap] Initial value bool error with INIT_CHARACHTERISTIC_VAL(bool,ch,false); (#48)
Hi,
I use V.1.0.7 (if I look in the library.properties file it says 1.0.3) but I downloaded from here https://github.com/Yurik72/ESPHap/releases/tag/v1.0.7
Atteched the full sketch, look around line 157, they are masked out // at the moment
Thanks and best regards,
Christian
Fra: Yurik72<EMAIL_ADDRESS><EMAIL_ADDRESS>>
Sendt: 17. februar 2021 12:17
Til: Yurik72/ESPHap<EMAIL_ADDRESS><EMAIL_ADDRESS>>
Cc: chrwh<EMAIL_ADDRESS><EMAIL_ADDRESS>>; Author<EMAIL_ADDRESS><EMAIL_ADDRESS>>
Emne: Re: [Yurik72/ESPHap] Initial value bool error with INIT_CHARACHTERISTIC_VAL(bool,ch,false); (#48)
Ok,

Send me a full sketch
Which version you are using, please check . INIT_CHARACHTERISTIC_VAL implemented not so far

From: chrwh<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>>
Sent: Wednesday, February 17, 2021 12:45 PM
To: Yurik72/ESPHap<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>>
Cc: Yurik72<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>>; State change<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>>
Subject: Re: [Yurik72/ESPHap] Initial value bool error with INIT_CHARACHTERISTIC_VAL(bool,ch,false); (#48)
I get this error, if you try to compile the code about (right now the lines are masked out //)
I get this error:
EspHapSwitch8266_Double_Web:146:27: error: expected primary-expression before 'bool'
INIT_CHARACHTERISTIC_VAL(bool,ch,false); // will inform apple that lights is OFF
^
EspHapSwitch8266_Double_Web:146:32: error: 'ch' was not declared in this scope
INIT_CHARACHTERISTIC_VAL(bool,ch,false); // will inform apple that lights is OFF
^
EspHapSwitch8266_Double_Web:146:40: error: 'INIT_CHARACHTERISTIC_VAL' was not declared in this scope
INIT_CHARACHTERISTIC_VAL(bool,ch,false); // will inform apple that lights is OFF
What I want, is the outputs to be OFF when power is initial turned on
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub https://github.com/Yurik72/ESPHap/issues/48#issuecomment-780468769 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AKDREXNZHOGZC32TXFNYMXDS7OMZTANCNFSM4XH735BQ . https://github.com/notifications/beacon/AKDREXJI6DMSRFIV4FB57R3S7OMZTA5CNFSM4XH735B2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOF2CQEII.gif
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/Yurik72/ESPHap/issues/48#issuecomment-780486795 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ABUAINVSEFOQYTZ75UAHB4LS7OQSLANCNFSM4XH735BQ . https://github.com/notifications/beacon/ABUAINWH4BMLDHQDZA2DG4TS7OQSLA5CNFSM4XH735B2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOF2CURCY.gif
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub https://github.com/Yurik72/ESPHap/issues/48#issuecomment-780504972 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AKDREXKTWROFXQ7TPELGHMLS7OUY5ANCNFSM4XH735BQ .  https://github.com/notifications/beacon/AKDREXILGSAA5BGZ2PUJWZ3S7OUY5A5CNFSM4XH735B2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOF2CY7DA.gif

Argh I forgot to attach it. You can see the code above in the thread on GitHub.
Best regards
Christian

Den 17. feb. 2021 kl. 14.48 skrev Yurik72<EMAIL_ADDRESS>
I do not see any attachments,
Check your Library folder ESPHap If file homeintegration.h contains
#define INIT_CHARACHTERISTIC_VAL
From: chrwh<EMAIL_ADDRESS>Sent: Wednesday, February 17, 2021 1:53 PM
To: Yurik72/ESPHap<EMAIL_ADDRESS>Cc: Yurik72<EMAIL_ADDRESS>State change<EMAIL_ADDRESS>Subject: Re: [Yurik72/ESPHap] Initial value bool error with INIT_CHARACHTERISTIC_VAL(bool,ch,false); (#48)
Hi,
I use V.1.0.7 (if I look in the library.properties file it says 1.0.3) but I downloaded from here https://github.com/Yurik72/ESPHap/releases/tag/v1.0.7
Atteched the full sketch, look around line 157, they are masked out // at the moment
Thanks and best regards,
Christian
Fra: Yurik72<EMAIL_ADDRESS><EMAIL_ADDRESS>>
Sendt: 17. februar 2021 12:17
Til: Yurik72/ESPHap<EMAIL_ADDRESS><EMAIL_ADDRESS>>
Cc: chrwh<EMAIL_ADDRESS><EMAIL_ADDRESS>>; Author<EMAIL_ADDRESS><EMAIL_ADDRESS>>
Emne: Re: [Yurik72/ESPHap] Initial value bool error with INIT_CHARACHTERISTIC_VAL(bool,ch,false); (#48)
Ok,

Send me a full sketch
Which version you are using, please check . INIT_CHARACHTERISTIC_VAL implemented not so far

From: chrwh<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>>
Sent: Wednesday, February 17, 2021 12:45 PM
To: Yurik72/ESPHap<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>>
Cc: Yurik72<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>>; State change<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>>
Subject: Re: [Yurik72/ESPHap] Initial value bool error with INIT_CHARACHTERISTIC_VAL(bool,ch,false); (#48)
I get this error, if you try to compile the code about (right now the lines are masked out //)
I get this error:
EspHapSwitch8266_Double_Web:146:27: error: expected primary-expression before 'bool'
INIT_CHARACHTERISTIC_VAL(bool,ch,false); // will inform apple that lights is OFF
^
EspHapSwitch8266_Double_Web:146:32: error: 'ch' was not declared in this scope
INIT_CHARACHTERISTIC_VAL(bool,ch,false); // will inform apple that lights is OFF
^
EspHapSwitch8266_Double_Web:146:40: error: 'INIT_CHARACHTERISTIC_VAL' was not declared in this scope
INIT_CHARACHTERISTIC_VAL(bool,ch,false); // will inform apple that lights is OFF
What I want, is the outputs to be OFF when power is initial turned on
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub https://github.com/Yurik72/ESPHap/issues/48#issuecomment-780468769 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AKDREXNZHOGZC32TXFNYMXDS7OMZTANCNFSM4XH735BQ . https://github.com/notifications/beacon/AKDREXJI6DMSRFIV4FB57R3S7OMZTA5CNFSM4XH735B2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOF2CQEII.gif
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/Yurik72/ESPHap/issues/48#issuecomment-780486795 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ABUAINVSEFOQYTZ75UAHB4LS7OQSLANCNFSM4XH735BQ . https://github.com/notifications/beacon/ABUAINWH4BMLDHQDZA2DG4TS7OQSLA5CNFSM4XH735B2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOF2CURCY.gif
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub https://github.com/Yurik72/ESPHap/issues/48#issuecomment-780504972 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AKDREXKTWROFXQ7TPELGHMLS7OUY5ANCNFSM4XH735BQ . https://github.com/notifications/beacon/AKDREXILGSAA5BGZ2PUJWZ3S7OUY5A5CNFSM4XH735B2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOF2CY7DA.gif
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Just checked, the "#define INIT_CHARACHTERISTIC_VAL" is not in the homeintegration.h file, So the link you refere to here as being V.1.0.7 is not it's V.1.0.3 https://github.com/Yurik72/ESPHap/releases/tag/v1.0.7, I now donwloaded from the from page, and it can now compile, but with  many warining. When trying to access the webserver it crashes
EspHapSwitch8266_Double_Web.zip
and reboots. This is run in a ESP8266-01 1mb.
File is now attached

Updtate: Completely wiped the ESP-01, and it seems to work now. Still getting a lot of compile warnings in regards to Wolfssl?

Ok , good news, warning appears in wolfssl you are right, but you do not see any impact
Sent from my iPhone

On 20 Feb 2021, at 13:04, chrwh<EMAIL_ADDRESS>wrote:

Updtate: Completely wiped the ESP-01, and it seems to work now. Still getting a lot of compile warnings in regards to Wolfssl?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or unsubscribe.

So far no impact with the Wolfssl errors


cert-manager produces invalid c# code

What happened?
Running it like this:
crd2pulumi --dotnetName certManagerCrds --dotnet https://raw.githubusercontent.com/cert-manager/cert-manager/refs/heads/master/deploy/crds/crd-clusterissuers.yaml

seems to be missing a rule for handling hyphens in type names, the resulting ClusterIssuer.cs is invalid code because of hyphens in class names.
Example
Produces classes like:
        [Output("spec")]
        public Output<Pulumi.Kubernetes.Types.Outputs.Cert-manager.V1.ClusterIssuerSpec> Spec { get; private set; } = null!;

...which are invalid
Output of pulumi about
CLI
Version      3.136.1
Go Version   go1.23.2
Go Compiler  gc

Host
OS       ubuntu
Version  24.04
Arch     x86_64

This project is written in dotnet: executable='/usr/bin/dotnet' version='8.0.110'

Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

Closing as duplicates of #17 and #43.


update waveform width when container change width

Hi, hi have a responsive theme on my website.
I'd like to update the waveform width with js.
How can i do that?
Thank you.
Really nice js plugin!
Luca

Nice! this works very well.. just adding to this from a related thread:
Hi, you may want to add a debounce (underscorejs) to that resize as:
$(window).resize(_.debounce(function(){
wavesurfer.drawer.containerWidth = wavesurfer.drawer.container.clientWidth;
wavesurfer.drawBuffer();
}, 500));


Update the released library version from 4.2.0 to 4.2.1

Updated the released library version from 4.2.0 to 4.2.1.

Windows test FAILed.

Linux test PASSed.

Windows test PASSed.

Linux test PASSed.


16

What this PR does / why we need it:
Pre-submission checklist:

[x] Did you explain what problem does this PR solve?
[x] What new features have been added?
[x] Have you added corresponding test cases?
[x] Have you modified the corresponding document?
[x] Is this PR backward compatible?

灌灌灌灌


Fix logo in README when dark mode is on

Tiny PR to fix the logo when dark mode is on. A dark mode compatible logo has been added in https://huggingface.co/datasets/huggingface/documentation-images/blob/main/huggingface_hub-dark.svg
before:

now:

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Thanks for spotting :) Worth updating it in translated READMEs (https://github.com/huggingface/huggingface_hub/tree/main/i18n)

done in 25d506a!

nice! cc @gary149


fix compiling warning in simplify_expr.h

I got compiling warnings by clang++ on my machine:
In file included from /home/syfeng/tvm-upstream/src/relay/transforms/simplify_expr.cc:25:
/home/syfeng/tvm-upstream/src/relay/transforms/simplify_expr.h:77:21: warning: loop variable 'rewrite' of type 'const std::shared_ptr<tvm::relay::DFPatternRewrite>' creates a copy from type 'const std::shared_ptr<tvm::relay::DFPatternRewrite>' [-Wrange-loop-construct]
    for (const auto rewrite : rewrites_) {
                    ^
/home/syfeng/tvm-upstream/src/relay/transforms/simplify_expr.h:77:10: note: use reference type 'const std::shared_ptr<tvm::relay::DFPatternRewrite> &' to prevent copying
    for (const auto rewrite : rewrites_) {
         ^~~~~~~~~~~~~~~~~~~~
                    &

And my compiler info :
$ clang++ -v
clang version 10.0.0-4ubuntu1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/9
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/9
Selected GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/9
Candidate multilib: .;@m64
Selected multilib: .;@m64
Found CUDA installation: /usr/local/cuda-11.2, version 7.0

cc @tqchen @junrushao1994 @jroesch

Thanks @Hzfengsy


Style Dat Status Icons

Each Dat is displayed as a row which starts with an icon that indicates the state of the dat.
To Do:

[ ] list and name all possible states
[ ] mock up
[ ] create assets

related to dataset 'health' at all (https://github.com/datproject/dat.land-roadmap/issues/46)?
What do you mean by 'state' of the dat?

I think downloaded, downloading, empty, etc?

@karissa Yup, what @juliangruber said – this refers to the icon (currently a hexagon with an arrow) at the beginning of a dat line item. I'll come up with a suggestion in a mockup and will then need your feedback on whether I represented the states correctly :)

Eventually we need SVGs here, not only text. Mockup:

@yoshuawuyts Question about: https://github.com/datproject/dat-desktop/blob/master/pages/main.js#L59
Instead of ↓, how can I get something like this?
          <svg class="network-svg">
            <use xlink:href="#daticon-network" />
          </svg>


Add support for the embedded source code

These changes get the source code from OpSource and OpSourceContinued

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


W1D3

All tutorials for the day except T4.

@all-contributors please add @veronicabossio for content

@all-contributors please add @veronicabossio for code


add vision v1p1beta1

I'm not sure if this should go in a branch? The build won't work yet because protos aren't published.

superseded by https://github.com/GoogleCloudPlatform/google-cloud-java/pull/2676


Tab didn't fire onChooseEvent

+1

This would be a welcome change. When is the next version planned to be released?

Yes Please

Very similar to #365 and might be handled together. 🙂


Fix: broken image links on readme

Q
A

Fixed Issues?
Fixes #2232

Patch: Bug Fix?
Yes

Major: Breaking Change?
No

Minor: New Feature?
No

Tests Added + Pass?
Yes

Any Dependency Changes?
No

@Andarist have replaced local links with URLs so they'd work everywhere. You can check out how it looks in my fork.

Thanks!


Kafka streams unit tests results in thousands of messages in error logs

When running mvn clean compile package on the kafka-streams-examples repo (5.1.0-post branch), there are literally thousands of these messages in the unit tests:
[2019-01-13 20:26:36,317] INFO [OrdersService-98a2ca6c-ef5d-452b-9ec0-a160bd3e38d2-StreamThread-12] [Consumer clientId=OrdersService-98a2ca6c-ef5d-452b-9ec0-a160bd3e38d2-StreamThread-12-restore-consumer, groupId=] Unsubscribed all topics or patterns and assigned partitions (org.apache.kafka.clients.consumer.KafkaConsumer)

I’m suspecting a test is poorly written and requires help digging into it

Hi @ybyzek Can you please confirm if this is still an issue?
I executed mvn clean package and found 132 occurrences of following text in logs
Unsubscribed all topics or patterns and assigned partitions
I thought I should check with you once.

@priyaaggarwal24 I don't observe the same flood (thousands) of messages in 5.5.0-post

Thanks for your response @ybyzek . Do you think we are good to close this issue then?


JS error in new site on Edge Chromium on Windows 10 (83.0.478.61)

Story list doesn't appear.  Works fine in Google Chrome (91.0.4472.124 ) on the same computer. old.newsblur.com works too.
common.js?1625257681:2177 Uncaught TypeError: d.replaceAll is not a function
    at e.content_preview (common.js?1625257681:2177)
    at e.show_content_preview (common.js?1625257681:2594)
    at e.render (common.js?1625257681:2588)
    at common.js?1625257681:2624
    at Array.map (<anonymous>)
    at Function.t.map.t.collect (common.js?1625257681:1484)
    at e.q.<computed> [as map] (common.js?1625257681:1549)
    at e.render (common.js?1625257681:2623)
    at v (common.js?1625257681:1531)
    at e.trigger (common.js?1625257681:1530)

What does the JS error look like on staging.newsblur.com (where I have DEBUG_ASSETS turned on)?

    at child.content_preview (stories.js:54)
    at child.show_content_preview (story_title_view.js:217)
    at child.render (story_title_view.js:38)
    at story_titles_view.js:45
    at Array.map (<anonymous>)
    at Function._.map._.collect (underscore-1.4.3.js:97)
    at child.Collection.<computed> [as map] (backbone-1.0.0.js:953)
    at child.render (story_titles_view.js:38)
    at triggerEvents (backbone-1.0.0.js:205)
    at child.trigger (backbone-1.0.0.js:146)```

Fixed in 889caf82a and cb1f16881.

Working now. Thanks!


WorkItems Daily Blocked Count missing data

WorkItems Daily Blocked Count is being restricted to 10K rows in the Org Template version.  I fixed it using the following query:
let
Source = OData.Feed(#"Http/Https" & "://" & #"Analytics URL/Azure DevOps Server" & "/" & Organization & "/_odata/v3.0-preview/WorkItemSnapshot?%20$apply=filter(%20StateCategory%20eq%20%27InProgress%27%20and%20WorkItemType%20ne%20%27Issue%27%20and%20WorkItemType%20ne%20%27Task%27%20and%20WorkItemType%20ne%20%27Test%20Case%27%20and%20WorkItemType%20ne%20%27Test%20Plan%27%20and%20WorkItemType%20ne%20%27Shared%20Parameter%27%20and%20WorkItemType%20ne%20%27Shared%20Steps%27%20and%20WorkItemType%20ne%20%27Test%20Suite%27%20and%20WorkItemType%20ne%20%27Impediment%27%20and%20WorkItemType%20ne%20%27Epic%27%20and%20WorkItemType%20ne%20%27Feature%27%20and%20DateValue%20ge%202021-08-01Z%20)
/groupby(%20(Blocked,DateValue,DateSK,AreaSK,IterationSK,TagNames),%20aggregate($count%20as%20Count)%20)", null, [Implementation="2.0"]),
#"Filtered Rows" = Table.SelectRows(Source, each true),
#"Changed Type" = Table.TransformColumnTypes(#"Filtered Rows",{{"DateValue", type date}})
in
#"Changed Type"
Please let me know if you see any issues with this query change.

Awesome thanks Joe - will make this change tomorrow and republish 🤩

Now fixed :)


Company - More variations of better company names

Implemented an actual list of company names are using that for name generation. v5.2.0


zstd compiled failed

/home/guo/.conan2/p/b/zstd73802e9128a93/b/src/lib/decompress/huf_decompress_amd64.S:502:11: error: expected declaration specifiers or ‘...’ before ‘%’ token
502 |     movq (%ip##n), %bits##n;
|           ^
/home/guo/.conan2/p/b/zstd73802e9128a93/b/src/lib/decompress/huf_decompress_amd64.S:86:5: note: in expansion of macro ‘RELOAD_BITS’
86 |     X(3)
|     ^
/home/guo/.conan2/p/b/zstd73802e9128a93/b/src/lib/decompress/huf_decompress_amd64.S:525:5: note: in expansion of macro ‘FOR_EACH_STREAM’
525 |     FOR_EACH_STREAM(RELOAD_BITS)
|     ^~~~~~~~~~~~~~~
/home/guo/.conan2/p/b/zstd73802e9128a93/b/src/lib/decompress/huf_decompress_amd64.S:503:5: error: unknown type name ‘orq’
503 |     orq $1, %bits##n;
|     ^~~
/home/guo/.conan2/p/b/zstd73802e9128a93/b/src/lib/decompress/huf_decompress_amd64.S:86:5: note: in expansion of macro ‘RELOAD_BITS’
86 |     X(3)
|     ^
/home/guo/.conan2/p/b/zstd73802e9128a93/b/src/lib/decompress/huf_decompress_amd64.S:525:5: note: in expansion of macro ‘FOR_EACH_STREAM’
525 |     FOR_EACH_STREAM(RELOAD_BITS)
|     ^~~~~~~~~~~~~~~
/home/guo/.conan2/p/b/zstd73802e9128a93/b/src/lib/decompress/huf_decompress_amd64.S:503:13: error: expected identifier or ‘(’ before ‘%’ token
503 |     orq $1, %bits##n;
|             ^
/home/guo/.conan2/p/b/zstd73802e9128a93/b/src/lib/decompress/huf_decompress_amd64.S:86:5: note: in expansion of macro ‘RELOAD_BITS’
86 |     X(3)
|     ^
/home/guo/.conan2/p/b/zstd73802e9128a93/b/src/lib/decompress/huf_decompress_amd64.S:525:5: note: in expansion of macro ‘FOR_EACH_STREAM’
525 |     FOR_EACH_STREAM(RELOAD_BITS)
|     ^~~~~~~~~~~~~~~
/home/guo/.conan2/p/b/zstd73802e9128a93/b/src/lib/decompress/huf_decompress_amd64.S:504:11: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘%’ token
504 |     shlxq %rax, %bits##n, %bits##n
|           ^
/home/guo/.conan2/p/b/zstd73802e9128a93/b/src/lib/decompress/huf_decompress_amd64.S:86:5: note: in expansion of macro ‘RELOAD_BITS’
86 |     X(3)
|     ^
/home/guo/.conan2/p/b/zstd73802e9128a93/b/src/lib/decompress/huf_decompress_amd64.S:525:5: note: in expansion of macro ‘FOR_EACH_STREAM’
525 |     FOR_EACH_STREAM(RELOAD_BITS)
|     ^~~~~~~~~~~~~~~
lib/CMakeFiles/libzstd_static.dir/build.make:367: recipe for target 'lib/CMakeFiles/libzstd_static.dir/home/guo/.conan2/p/b/zstd73802e9128a93/b/src/lib/decompress/huf_decompress_amd64.S.o' failed
make[2]: *** [lib/CMakeFiles/libzstd_static.dir/home/guo/.conan2/p/b/zstd73802e9128a93/b/src/lib/decompress/huf_decompress_amd64.S.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:168: recipe for target 'lib/CMakeFiles/libzstd_static.dir/all' failed
make[1]: *** [lib/CMakeFiles/libzstd_static.dir/all] Error 2
Makefile:148: recipe for target 'all' failed
make: *** [all] Error 2
zstd/1.5.5: ERROR:
Package '8969826c941f6515ea907b027537a12871ec4d58' build failed
zstd/1.5.5: WARN: Build folder /home/guo/.conan2/p/b/zstd73802e9128a93/b/build/Release

Recipe 'zstd/1.5.5' cannot build its binary
It is possible that this recipe is not Conan 2.0 ready
If the recipe comes from ConanCenter check: https://conan.io/cci-v2.html
If it is your recipe, check if it is updated to 2.0

ERROR: zstd/1.5.5: Error in build() method, line 72
cmake.build()
ConanException: Error 2 while executing

Please provide you build environment and conan profile.


Package for Debian/Ubuntu?

There are packages in Fedora repos, but DEB packages do not exist.
The alternative option is to document how to build and install everything from the source.
I am not an experienced user, I just need to build another tool (Turbodbc) and am blocked by missing simdutf library.

Sorry, wrong repo ;-)


Test Issue created at Sun, 26 Dec 2021 02:26:46 GMT

Test issue body  Sun, 26 Dec 2021 02:26:46 GMT

Comment on issue at Sun, 26 Dec 2021 02:26:48 GMT


Add Vets

Hello @michaelisvy !
This is the issue related to your PR #4 . Please, from now on, any code changes must be linked to an issue. An issue must be opened witht title and description before doing any PR.
Thanks in advance!

thanks @firasrg , and thanks for your detailed review and guidelines!
I'll go through all your comments.

hi @firasrg,
do you think you can merge my commits? Unless you have other feedback?
As there were a lot of items, I've created a separate issue for all the route-related items.


"Swap color variables" documentation

It is unclear from the Readme how to actually swap variables applied to the UI kit from the default purple theme when a new theme has been generated. I would expect the ability to update the UI Kit with the theme that was generated, but it doesn't seem possible when using the UI kit.

Thanks for the question! Swapping themes with libraries (UI Kits) has to be done manually as we aren't able to access the library variables or styles. Be careful when theming the UI Kits, as they can override local changes when updated.


fix: fix composite_demo cpu run and tool

[x]  fix composite_demo  cpu run, cpu use float to infer
[x]  fix composite_demo  tool demo, remove unused length_penalty

Thank you for your recent pull request and the effort you've put into enhancing our project. We're always grateful for contributions that aim to improve the functionality and efficiency of our tools. However, after a thorough review, we have decided not to proceed with merging your PR now for the following reasons:

Overlap with Existing Solutions: The bug addressed in the PR length_penalty=length_penalty has already been fixed in one of our recent updates. We always strive to keep our codebase up-to-date and free of redundancies.

Compatibility and scalability: Current implementations in PR focus primarily on CPUs and a specific set of hardware configurations. Our project is designed to support a wide range of inference devices, including a variety of CPUs and GPUs from different manufacturers such as AMD and Intel (adaptations will be made later). We believe that the changes proposed using simple if-else statements may not be able to fully adapt to this diversity, and may even cause some bugs (Intel's GPU is sometimes recognized as a CPU, resulting in no acceleration). Therefore, we believe that the documentation should be improved and let It is a better choice for users to repair according to the documentation.


view: 🥜 ViewServer support for an in-memory gRPC endpoint

refs:

#4471
#3913

mock consensus tests that use a view server must bind an rpc endpoint to a local port. this is unfortunate because it requires acquisition of a global resource, and can over time cause test suites to be flaky / brittle.
this could be abated by adding support for an in-memory gRPC endpoint to the ViewServer and its underlying Worker.
see https://github.com/penumbra-zone/penumbra/tree/kate/view-server-tests-redux.box-grpc-endpoint-experiment as a starting sketch.
see https://github.com/penumbra-zone/penumbra/pull/4471#discussion_r1619085352 for relevant discussion from #4471.

i observed the test from #4471 flake in CI, after opening #4585. re-running the job worked, fixing this issue will prevent that flake from occurring going forward.


[BUG] Crash when monitor turned off

Checklist before submitting an issue

[X] I have searched through the existing closed and open issues for eww and made sure this is not a duplicate
[X] I have specifically verified that this bug is not a common user error
[X] I am providing as much relevant information as I am able to in this bug report (Minimal config to reproduce the issue for example, if applicable)

Description of the bug
Turning off the monitor causes eww to crash.
Reproducing the issue
If eww is running and the monitor is turned off, when turned back on eww will have crashed.
From the logs:
 2024-08-16T08:13:31.265Z INFO  eww::app        > Closing gtk window bar

(eww:86616): GLib-GObject-CRITICAL **: 09:13:31.265: ../gobject/gsignal.c:2685: instance '0x564390eb3d80' has no handler with id '92'
 2024-08-16T08:13:31.265Z ERROR eww::error_handling_ctx > Failed to send success response from application thread

Caused by:
    channel closed

This seems unrelated to config, I’ve removed my config and replaced it with the barebones config below and still have the issue.
Running eww 0.6.0 on openSUSE.
Config:
(defwidget bar [] (music))
(defwindow bar
  :monitor 0
  :windowtype "dock"
  :exclusive true
  :geometry (geometry :x "0%"
                      :y "0%"
                      :width "90%"
                      :height "10px"
                      :anchor "top center")
  :reserve (struts :side "top" :distance "100px")
  (bar))

(defwidget music []
  (box :class "music"
       :orientation "h"
       :space-evenly false
       :halign "center"
    {"hello"}))

Expected behaviour
No response
Additional context
No response

can confirm. whenever I turn off my monitor the eww window crashes

is this happening on wayland or on X11? Is it actually related to the monitor, or is it the entire computer going to sleep?
If wayland, we might need to do some explicit work to catch this sort of thing, Idk exactly how compositors deal with monitors vanishing and popping up

oh sry, should have added that. Yeah, its wayland.
it crashes with
(eww:10221): GLib-GObject-CRITICAL **: 15:44:02.137: ../glib-2.78.6/gobject/gsignal.c:2777: instance '0x562307bb3e30' has no handler with id '180'
 2024-10-11T13:44:02.137Z ERROR eww::error_handling_ctx > Failed to send success response from application thread

Caused by:
    channel closed
 2024-10-11T13:44:02.137Z INFO  eww::app                > Closing gtk window win1

(eww:10221): GLib-GObject-CRITICAL **: 15:44:02.137: ../glib-2.78.6/gobject/gsignal.c:2777: instance '0x562307cff0a0' has no handler with id '313'
 2024-10-11T13:44:02.137Z ERROR eww::error_handling_ctx > Failed to send success response from application thread

Caused by:
    channel closed

ah, its when it manually turn of my monitor

I'll try to investigate within the next few days 👍🏻 Thanks for the report!

Any updates to this?

I ran into this as well on wayland/hyprland. 2 monitor setup with DP-3 and HDMI-A-1 attached.
What I tried is to start eww with  eww open bar --screen=$(hyprctl activewindow -j | jq '.monitor') in hyprland.conf.
while eww is running, do a
(defpoll screen
  :interval "3s"
  :initial "a"
  "scripts/monitor.sh"
)

monitor.sh is
#!/bin/bash

count=$(hyprctl monitors -j | jq '.[].name' -r | wc -l)

main=DP-3
side=HDMI-A-1

if [[ "$((count))" -eq "2" ]]; then
  echo $main
else
  echo $side
fi

but it seems like once the defwindow is initialized it can't be changed.
ERROR eww::error_handling_ctx > Variable screen not scope
in addtion, when disabling one monitor eww crashes which prevents screen from updating anyways.
2024-11-26T08:30:29.664Z INFO  eww::app                > Closing gtk window topbar

(eww:558806): GLib-GObject-CRITICAL **: 09:30:29.664: ../gobject/gsignal.c:2684: instance '0x5632f7bb2d30' has no handler with id '2703'
 2024-11-26T08:30:29.664Z ERROR eww::error_handling_ctx > Failed to send success response from application thread

wrapping up:
this appears not to be a root cause in eww, but it may be handled by eww if the error is catched with a reload or something?
I lack the skills to do a PR, though. :grimacing:

Found a good hint here: https://github.com/nwg-piotr/nwg-panel/issues/344#issuecomment-2484997858 and adapted it to a script that fits my setup
udev-check.sh
#!/bin/bash

main=DP-3 # name of main display
side=HDMI-A-1 # name of secondary

# listen to udev events
udevadm monitor --udev --subsystem-match=drm | while read -r line; do
  if echo "$line" | grep -q "change"; then
    echo "monitors changed"
    count=$(hyprctl monitors -j | jq '.[].name' -r | wc -l)
    echo "$count devices available"
    if [[ "$((count))" -eq "2" ]]; then
      echo $main
      eww open mainbar --screen=$main
    else
      echo $side
      eww open mainbar --screen=$side
    fi
  fi
done

hyprland.conf
exec-once = eww open mainbar --screen=DP-3
exec-once = udev-check.sh

so every time the udev event is fired, the script checks the number of monitors that are available.
if 2 monitors are available, start the bar on the main display, if not start it on the secondary.
I assume that every wayland statusbar has this problem and this is a workaround for me until this has been sorted out.

My guess would be that eww is trying trough gtk to draw on a window or display which is not available anymore which causes the gtk function to throw an error which eww does not catch. the question would be if the monitor is restored is it still the same window / canvas or whatever which eww would try to draw on. Since I have no clue about gtk internally works this is just a guess.
So the question would be what would eww need to do to not crash if the display it tries to draw on is gone and reappears sometime later


Nginx serves old files

My setup makes use of mariadb, php and nginx services only.
When working on static files (CSS, JS) I don't see the updates when accessing the files through the webserver. If I read the files from the container file system I can see the changes, but if I GET the same files from HTTP (browser or wget from within nginx container itself) served files are still old ones.
The static files I'm working on are assets of a custom D8 module, so inside the path /modules/custom/my-module/[css|js]/myfile.[css|js] . I can't confirm the problem happens for themes too, but as nobody had this issue before I'm presuming it doesn't.
I'm assuming this is something related to nginx cache.
Any clue?

What is your nginx image tag?

I tried with both wodby/drupal-nginx:1.10-1.1.0 (currently in used) and wodby/drupal-nginx:8-1.10-2.0.0.
I've also tried to use the NGINX_STATIC_CONTENT_EXPIRES variable on both, but apparently is not supported as I didn't see any change.

@gambry try to use wodby/drupal-nginx:7-1.10-2.0.0 with env var NGINX_STATIC_CONTENT_OPEN_FILE_CACHE: off.
d4d 2.0 nginx vhost config template https://github.com/wodby/drupal-nginx/blob/master/8/1.10/drupal.conf.tpl#L47.

try to use wodby/drupal-nginx:7-1.10-2.0.0
Why 7? Did you mean wodby/drupal-nginx:8-1.10-2.0.0 ?

@gambry sorry, yes wodby/drupal-nginx:8-1.10-2.0.0

I've been monitoring the issue for few days and with the new image version + NGINX_STATIC_CONTENT_OPEN_FILE_CACHE: off the issue seems resolved.


Add modelling of physical resources

Humans need oxygen, water, power and living accommodation (barracks maybe okay for singles, but need separate for families)
Generation 1 accommodation will likely be highly communal based (shared cooking, bathing and lounge spaces) and will be modular to allow repurposing
Additional modelling will be needed to ensure the correct balance of skills between settlers in order to construct and maintain these vital assets
We need to ensure there is enough oxygen, water and power working (with spare capacity) before the next mission launches.
Need multiples for safety - look at ISS for benchmarks
Equipment breaks - model that as a reduction in resource generation for some period of time
Need both generation and storage
We need to be able to handle callbacks in “negative” time, I.e. time before first landing.
i.e. if the first humans land on day 1, we need to have scheduled supply missions to arrive before then (probably at least twice travel time before to allow go/no go decisions on initial settlement mission).
but this extra time allows for reduction in initial “reservoir” since daily generation will be running for years before being drawn down by consumption
modelling it correctly from start means we won’t have to special case failures before and after settlers arrive.
current thoughts on modeling: a Common base class to handle initial reservoir, daily generation, daily consumption, maintenance windows, unscheduled outage. Daily values may depend on number of humans present (not the same as settlers- https://github.com/BadonHill/mars-censere/issues/8) or other resources (I.e. power consumption is dependent on construction equipment present)
Stage 1 resources modeled
power
fuel for return mission
Oxygen
Carbon dioxide
Water
Calories
stage 2:
medical supplies
Non-human life forms. As the community develops, people will want pets. Some are obviously a no go (horses), but mice/rats for science labs, and cats, dogs, fish, iguanas seem viable with minimal resource consumption.
stage 3:
Individual Equipment
I.e. kitchen/food prep (cookers, fridge freezer)
computers
construction
science/lab/medical
overtime we can subclass calories to handle individual crops/foods and subclass water to separately handle clean and gray/black
Base class also needs to include the concept on irregular one-off consumption.
for example major equipment failure destroys reservoir, or return to earth mission requires, fuel, water, oxygen

While the framework has been completed, keep this open to make creating follow-on issues easier...


Netfree.Anywhere_2 version 2.0.0

[ ] Have you signed the Contributor License Agreement?
[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.4 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

@stephengillie Thank you for your quick review of this PR. In regards to the screenshot that you shared, once the "Install" button is pressed, the full process goes back to being completely automatic - nothing else needs to be done at all since the installer is also bundled.
Is there any way just to bypass this popup, or even to simulate pressing the "install" button?

Is there any way just to bypass this popup, or even to simulate pressing the "install" button?

If the publisher of Anywhere has a command line switch to not install the drivers then it would, but there isn't a way to simulate pressing the button. Currently all packages in winget must be able to install without user interaction until support for filtering by install type is implemented. I don't believe this is blocked by dependencies since drivers aren't able to be managed by winget at the moment, instead I would call this an "Interactive Only Installer"

Unfortunately, this issue is common with packet capture and network tapping programs, as many rely on a special network driver to enable their functionality.

Hello all! After reviewing this issue, I don't think that it is accurate to call it a "user interaction" issue, or a dependency issue. It is actually just an issue of certificates, and getting them to be trusted by the system: If you look closely at the pop-up, you can see that it says "Windows Security" on it. The popup is not actually from the installer - it is from Windows. This means that there should be a way to fix it.
It seems that the solution is just to add the cert to the trusted store before the installation step is run. I will include some more information because I think that it will be useful for others.
I found that it can be done from the command line: certutil -addstore "TrustedPublisher" cert_name.cer. I tested out this method and it seems to work. Attached below is the cert inside of Windows Cert Manager certmgr.msc after the software was installed. It is possible to get this same result from the command line. I tried it myself, and it seems to work.

Running:
certutil -addstore "TrustedPublisher" open_vpn_cert.cer
Produces this output:
TrustedPublisher "Trusted Publishers"
Certificate "OpenVPN Technologies, Inc." added to store.
CertUtil: -addstore command completed successfully.

And does indeed add it to the certificate store.

I am still wholly unfamiliar with WinGet's distribution, etc, etc. My question for the community moderators (ie @Trenly), is on the implementation. Two questions: How do I bundle this certificate, and how do I make it run an operation with that file on the command line before anything else is done? (Also, how do I mark that it has to be installed with "system" scope (ie admin)?
Thanks!

Hello all! After reviewing this issue, I don't think that it is accurate to call it a "user interaction" issue, or a dependency issue. It is actually just an issue of certificates, and getting them to be trusted by the system: If you look closely at the pop-up, you can see that it says "Windows Security" on it. The popup is not actually from the installer - it is from Windows. This means that there should be a way to fix it.
It seems that the solution is just to add the cert to the trusted store before the installation step is run. I will include some more information because I think that it will be useful for others.
I found that it can be done from the command line: certutil -addstore "TrustedPublisher" cert_name.cer. I tested out this method and it seems to work. Attached below is the cert inside of Windows Cert Manager certmgr.msc after the software was installed. It is possible to get this same result from the command line. I tried it myself, and it seems to work.

Running: _certutil -addstore "TrustedPublisher" open_vpn_cert.cer_ Produces this output:
TrustedPublisher "Trusted Publishers"
Certificate "OpenVPN Technologies, Inc." added to store.
CertUtil: -addstore command completed successfully.

And does indeed add it to the certificate store.
I am still wholly unfamiliar with WinGet's distribution, etc, etc. My question for the community moderators (ie @Trenly), is on the implementation. Two questions: How do I bundle this certificate, and how do I make it run an operation with that file on the command line before anything else is done? (Also, how do I mark that it has to be installed with "system" scope (ie admin)?
Thanks!

Hi @rocketinventor,
Wow, that's some good research. Thank you for putting together this solution.
This certificate would bypass the security check on all software from "OpenVPN Technologies, Inc." in the future, even after this package were removed. Using this to allow the driver to install might create unexpected security issues that some users at publicly owned corporations might not be able to justify to their auditors, and also might be used in nefarious ways against individual users. Such as someone spoofing the publisher name through a vulnerability that might not yet exist.
A preferrable path would be to specify the driver as a dependency, so its permissions can be handled independently and automatically.

This package, TAP-Windows Provider V9 Network adapters (thus) doesn't appear to be available through the WInGet package manager yet.
Is this package available from OpenVPN for separate download?
If another adapter is preinstalled, will this package use that instead? We might already have another suitable adapter in the public manifests.

Regarding the actual goal, the WinGet package manager doesn't currently have the functionality to add or remove certificates directly, nor to perform scripted operations or run PowerShell scripts (including PowerShell installers). An installer would need to be built around performing the certificate install - I'm not aware of installers for installing certificates, and only speculating that some might offer the functionality. That installer could then be submitted into the WinGet public manifests and be available for public use once approved. This might work better as a feature request.
Let me know what you think. I'd be happy to help to move this forward in any direction.


systemd service not working

I created a systemd service:
Description=Service to run SQLPad Daemon
Documentation=
[Service]
User=sqlpad
Group=sqlpad
Type=forking
WorkingDirectory=/opt/sqlpad
ExecStart=/usr/local/bin/sqlpad --port 3000 --dir /opt/sqlpad/db
[Install]
WantedBy=multi-user.target

When I start it with systemctl start sqlpad, it doesn't return to the prompt, but I cann access the tool at http://hostname:3000
However, after some minutes, the systemctl start sqlpad returns to the prompt with a timeout error and sqlpad stop working.
Are there generic issues with nodejs applications running as a systemd service?

Hi @nicolamarangoni
I'm assuming you installed sqlpad via npm?
Unfortunately I don't know too much about systemd setups. I did use upstart years ago though, and remember when I did I had some permissions issues to work out when I had installed SQLPad via npm.
I'm not sure how to go about debugging this, but if you wanted to try running sqlpad from the git repo that might provide more insight as to what is going on.
To build and run sqlpad from the repo you can do
git clone sqlpad into desired directory
cd sqlpad-directory
npm install
npm run build
node server/server.js --dir ./path/to/db/file --port 3010 --debug

Wish I could be of more help! Let me know what you find out or if I can help answer any questions

Hi @rickbergfalk I didn't notice that I left "forking" through copy/pasting from another service.
"simple" is the right option!

My systemd works fine, check:
https://computingforgeeks.com/sqlpad-web-based-sql-editor-for-mysql-postgresql-sql-server/


parse song versions

to allow embedding songs' previous versions
example of a song with several versions: https://piapro.jp/ex_content/history_list/DxrY/1

solves https://github.com/VocaDB/piapro-dotnet/issues/4

nvm, I thought it was not implemented ^^;


[Docs] Possible outdated documentation

We have identified 1 possible instance of outdated documentation:

[x] megalist_dataflow was renamed to megalista_dataflow but the change has not been reflected in the current version of the Update instructions wiki page

About
This is part of a research project that aims to automatically detect outdated documentation in GitHub repositories. We are evaluating the validity of our approach by identifying instances of outdated documentation in real-world projects.
We hope that this research will be a step towards keeping documentation up-to-date. If this has been helpful, consider updating the documentation to keep it in sync with the source code. If this has not been helpful, consider updating this issue with an explanation, so that we can improve our approach. Thanks!

Friendly ping :)

Thanks, there really was an error.


Prepare better docs and overview of current state of the project:

Write a good description of what the repo does, in the one README file.
So far we have multiple of these:
https://github.com/dragan2234/worldcoin-scroll-bridge/blob/main/README.md
https://github.com/dragan2234/worldcoin-scroll-bridge/blob/main/TASK_README.md
https://github.com/dragan2234/worldcoin-scroll-bridge/blob/main/docs/src/README.md
https://github.com/dragan2234/worldcoin-scroll-bridge/blob/main/propagateRoot-relayer-services/readme.md
A lot of docs here:
https://github.com/dragan2234/worldcoin-scroll-bridge/tree/main/service-to-sync-the-World-ID-merkle-tree-main
We need to make this more readable and better organized for further improvements and understanding of the project

Hi @dragan2234 ,Can I be assigned this once od hack starts please? This would be my first time contributing to this ecosystem.

@dragan2234 can I be assigned to work on this?

@dragan2234 I'd love to work on this

Hi @dragan2234 can I jump on this ?

hello @dragan2234 i would love to be assigned this issue if i'm giving the opportuinity to as it'll be my first issue :)

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
I am a Software Engineer and Technical writer, I have written some documentations as well as technical article. I believe with my experience of markdown and knowledge of technical writing, I should be able to work on this issue and get it done.
How I plan on tackling this issue
I have gone through the readme markdown files. Hence, I will go through each of them, organise them according to the flow, that is from the one of higher priority to the one of lesser priority, from there I will be able to come up with a full description of the whole repository in a single README.md file.

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
As an experienced Full Stack Blockchain Developer, I'm excited to contribute my expertise to Edition 7 of the OnlyDust hackathons. With a strong background in Next.js, TypeScript, JavaScript, React, Node.js, Solidity, and Cairo, I've honed my technical skills across the blockchain development landscape.
My journey with OnlyDust began at Edition 2, and I've since made 28 contributions across 11 projects. This extensive experience on the platform has allowed me to develop a keen understanding of delivering high-quality solutions under tight deadlines. I bring a unique blend of technical prowess and user-centric design to every project, whether I'm crafting immersive 3D experiences or developing innovative smart contracts.
My track record demonstrates my ability to adapt quickly and contribute effectively to diverse challenges. I'm confident in my capacity to tackle new problems and drive innovation in the blockchain space. As we embark on Edition 7, I'm eager to leverage my hackathon experience and technical skills to push the boundaries of what's possible in blockchain development.
With a passion for creating cutting-edge solutions, I'm excited to collaborate with the OnlyDust community and contribute to the advancement of the blockchain ecosystem.
How I plan on tackling this issue
To solve this issue, i would:
Consolidate Information
Review all existing README files and documentation.
Extract key information from each source, including project overview, setup instructions, and component descriptions.
Create a Main README Structure
Develop a clear structure for the main README.md file, including sections such as:
Project Overview
Features
Architecture
Installation and Setup
Usage Instructions
Component Breakdown
Contributing Guidelines
License Information
Write Comprehensive Content
Craft a concise but informative project overview.
Detail the key features of the worldcoin-scroll-bridge.
Explain the high-level architecture of the system.
Provide clear installation and setup instructions.
Include usage examples and common operations.
Break down and explain each major component of the project.
Organize Sub-Documentation
Create a 'docs' folder in the root of the repository.
Move detailed documentation for specific components into separate markdown files within the 'docs' folder.
Update the main README to link to these more detailed docs where appropriate.
Standardize Format and Style
Ensure consistent formatting throughout the README.
Use clear headings, bullet points, and code blocks for readability.
Include relevant diagrams or screenshots to illustrate complex concepts.
Add Quick Start Guide
Create a concise quick start section for developers who want to get up and running quickly.
Review and Refine
Conduct a thorough review of the new README.
Ensure all critical information from the original sources is included.
Refine language for clarity and conciseness.
Update Repository Structure
Remove or archive outdated README files.
Ensure all links in the new README are functional.
Seek Feedback
Share the new README with team members for review.
Incorporate feedback and make necessary adjustments.

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
Hey, I am ikem Peter. a fullstack software developer with 3+ years of working experience, I would love to help out with this issue...

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
I'm a blockchain developer and a technical writer. I have experience writing docs, blogs and twitter threads eduacting about different blockchain concepts.
How I plan on tackling this issue
I'ld first go through the repo and the docs throroughly so I', farmiliar with it. Then I'ld write the first draft, refine it untill it clear and matches the style of other worldcoin docs

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
Hi, I am a Solidity developer, I prefer Foundry framework for testing smart contracts, I have decent experience in Writing Deploy Scripts for contracts and also Write Unit tests for testing contracts. I have also done Stateless fuzz testing. I always try to maintain the code quality so that it is easier for developers to understand the code. I believe my background can be leveraged to contribute to Worldcoin-scroll-bridge.
How I plan on tackling this issue
I propose streamlining the documentation by consolidating key information into a single, comprehensive README.md in the root directory. This will serve as the central hub, providing an engaging project overview, clear structure breakdown, and quick-start guide. We'll reorganize detailed docs into a well-structured /docs folder, implementing a consistent Markdown format across all files. To enhance navigability, we'll create a documentation index and standardize component-specific READMEs. This approach will significantly improve readability, make the project more approachable for newcomers, and facilitate easier maintenance as the project evolves. The result will be a more professional, user-friendly repository that effectively showcases the Worldcoin Scroll Bridge project.

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
Hi, please I'd love to be given the opportunity to contribute to this rep, I am a blockchain developer html, css, react, JavaScript, typescript, solidity and Cairo.
How I plan on tackling this issue
Hi @dragan2234 ,Can I be assigned this once od hack starts please? This would be my first time contributing to this ecosystem.
I am a blockchain developer and I'm also good at documentations. Below are some of the documentations I've done that were merged:
dojoengine/book#308 (comment)
keep-starknet-strange/joyboy#143 (comment),
horuslabsio/Starknet-Scaffold#94 (comment).
Some of my documentations outside GitHub:
https://t.co/ZgK0ccPZpw,
https://t.co/GnBqVQPECz.
I’m ready to update the README file and make it more readable and better organized for further improvements and understanding of the project. Please assign me.

i want to work on this issue

hello @dragan2234 can i work on this issue if the issue is open


Consider switching to munit instead of scalatest

I use this repo pretty frequently to bootstrap minimal sbt projects, and I often recommend people struggling with setting up an sbt project to do the same. Today while using this again I had a thought about using Scalatest. In light of the announcement of Scala Toolkit and the decision to use munit as the testing framework, I wonder if it makes sense to align this template with that.
I'm happy to pr this change.

Yes, I'd merge a PR that did that.

I see this repo doesn't even have tests, so I'm not 100% sure what I was thinking when I created this. I was maybe thinking about the Scala 3 one, but that one does have munit, so just ignore this.


using ng2-datepicker 1.8.1 with SystemJS

Please help, I can't solve this. I upgraded to ng2-datepicker 1.8.1, and I can't figure out where to tell SystemJS to get the code. There's no index.js, there's no ng2-datepicker.umd.js... all of my guesses as to what the main file might be seem to be incorrect. My current systemjs.config.js is included below. Thank you.
    var locations = {
        // our app is within the app folder
        app: '/app',
        'angular2-select': 'angular2-select',
        'hammerjs': 'hammerjs/hammer.js',
        'moment': 'moment/moment.js',
        'ng2-slimscroll': 'ng2-slimscroll/ng2-slimscroll.js',
        'ng2-datepicker': 'ng2-datepicker/lib-dist/ng2-datepicker.module.js'
    };
    var angular = [
        'core', 'common', 'compiler', 'platform-browser', 'platform-browser-dynamic', 'http', 'router', 'forms', 'material'
    ];
    angular.forEach(function(m) {
        var aname = "@angular/" + m;
        locations[aname] = aname + "/bundles/" + m + ".umd.js";
    });
    System.config({
        baseURL: '/node_modules',
        map: locations,
        packages: {
            app: { main: 'main.js', defaultExtension: 'js' },
            rxjs: { defaultExtension: 'js' },
            'angular2-select': { main: 'index.js', defaultExtension: 'js' }
        }
    });
})(this);

Don't bother, I'm using mydatepicker instead now.


How do you completely disable analytics?

I'm having a lot of crashes even as I step through the code and try to remove the analytics part. Can you suggest the most minimal efforts to completely disable analytics?
Thanks

Try changing IS_ENABLED to false in AnalyticsApplication.java:15

Thank you. I just realized it works if I added app_tracker.xml to res with a random value  <string name="ga_trackingId">UX-XXXXXXXX-Y</string>


Error when opening Actor sheets

Running Foundry 0.8.8, I get the following error in the console when I open actor sheets;
TypeError: Cannot read property 'length' of undefined
    at JournalLink.includeLinks (journallink.js:123)
    at JournalLink.includeActorLinks (journallink.js:109)
    at Function._call (eval at <anonymous> (listeners.js:56), <anonymous>:4:14)
    at Function.call (foundry.js:179)
    at HarnMasterCharacterSheet._render (foundry.js:2097)
    at async HarnMasterCharacterSheet._render (foundry.js:2729)

It doesn't seem to have any adverse effects.

I'm running the Harnmaster 3 game system if that matters.


bulls and cow invalid url link

invalid link: https://leetcode.com/problems/bulls-and-cow/
new link: https://leetcode.com/problems/bulls-and-cows/

Thanks for your friendly reminder! I'll fix it soon!


Turkish translation intial commit

@acgrdumlu: Thank you for taking this up
Is it okay if I merge this once translation is complete?

That's okay but I want to add initial file to show you that I will translate.
Then I will open a pull request after I completely finished the translation.

@acgrdumlu: Cool. You can just add commits to the same branch and it'll get added to this pull request. I'll wait for your confirmation that it is done before merging

Hey! I just completed the translation. Could you check this again.

@acgrdumlu, Awesome work. I wanna suggest a minor styling change

Can you fix the position of clone image such that it is aligned to right? That'd make the text in right side much better.

Sorry about that. I've fixed the position. Could you check the file again.

@acgrdumlu: Looks good to merge now. I’d urge you to continue contributing to other open source projects.
We also have a slack team to help/mentor people trying to contribute to open source projects.
You can join the team by going to https://firstcontributions.herokuapp.com


Fail to compile JSPs that use custom taglibs

Hi,
My web application have several custom taglib and the plugin fails to compile JSP files that use those taglib.
The error log looks like:
The absolute uri: {my custom taglib name shows here} cannot be resolved in either web.xml or the jar files deployed with this application

And web.xml file taglib configuration looks like:
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         version="2.5"
         xmlns="http://java.sun.com/xml/ns/javaee"
		 xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
	<jsp-config>

		<taglib>

			<taglib-uri>{some uri}</taglib-uri>

<taglib-location>{tld file location e.g /WEB-INF/tld/...}</taglib-location>

		</taglib>
                <!-- few more <taglib></taglib> comes here -->
	</jsp-config>
</web-app>

It uses tomcat6, and I uses tomcat6 compiler plugin as well.
I'm looking forward to your answer!
Thanks for the awesome plugin :)

This normally means that you've forgotten to copy the TLD file (or the JAR containing it) to the WEB-INF/lib folder. It's not enough for it to be in the class path.

@GregDThomas Thanks for the comment.
So you mean the directory structure should look like this? :
WEB-INF/
   lib/
      tld/

Cause current structure is:
WEB-INF/
   tld/

and I played with this plugin so many times but couldn't solve the problem in the end. :(
I returned to the original org.codehaus.mojo plugin and finally everything works fine.

If your tld file is mytaglib.tld, then I'd expect it to be
WEB-INF/mytaglib.tld

If your tld file is contained in a mytaglibs.jar, I'd expect that JAR file to be
WEB-INF/lib/mytaglibs.jar

I believe on newer versions of Tomcat (8?), TLDs can be placed just about anywhere other than WEB-INF/tags.  One of the uPortal developers recently moved tlds around with a comment 'JSP spec 7.3.1 states TLDs must not be placed inside /WEB-INF/tags'.  I haven't looked into this, but I do know we have tld files in WEB-INF and some other folders and it does work fine.

@GregDThomas But the tricky point is, when I try org.codehaus.mojo plugin tomcat6 compiler, everything's good when TLDss are not in WEB-INF:
src/main/resources/tld/

So I guess this is not the problem of where tld files are.
@jameswennmacher yup, I also believe TLD files shouldn't have to be in WEB-INF.

Yes, Tomcat 8 enforces the spec that TLDs cannot be in WEB-INF/tags/
(except the "implicit.tld")...
JSP.7.3.1 Identifying Tag Library Descriptors
Tag library descriptor files have names that use the extension .tld,
and the
extension indicates a tag library descriptor file. When deployed
inside a JAR file,
the tag library descriptor files must be in the META-INF directory,
or a subdirectory
of it. When deployed directly into a web application, the tag
library descriptor
files must always be in the WEB-INF directory, or some subdirectory
of it. TLD
files should not be placed in /WEB-INF/classes or /WEB-INF/lib, and
must not be
placed inside /WEB-INF/tags or a subdirectory of it, unless named
implicit.tld and
intended to configure an implicit tag library with its JSP version
and tlib-version.

Tomcat 7 ignores misplaced TLD files while Tomcat 8 throws errors. I do
not recall an issue with Tomcat 6 though.
I would suggest placing TLD files in /WEB-INF/tlds/ .
Best,
Benito
On 04/26/2016 03:34 PM, James Wennmacher wrote:

I believe on newer versions of Tomcat (8?), TLDs can be placed just
about anywhere other than WEB-INF/tags. One of the uPortal developers
recently moved tlds around with a comment 'JSP spec 7.3.1 states TLDs
must not be placed inside /WEB-INF/tags'. I haven't looked into this,
but I do know we have tld files in WEB-INF and some other folders and
it does work fine.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/Jasig/jspc-maven-plugin/issues/30#issuecomment-214908010

To clarify my previous comment, we have tlds in WEB-INF and WEB-INF/* (but not WEB-INF/tags).

@bjagg @jameswennmacher Thanks alot! :)


SqlDatabaseRecoveryModel should accept wildcard * ?

Details of the scenario you tried and the problem that is occurring
I'm installing Sharepoint 2016 with DSC, and have to put the databases into SQL Always On.
For this, I have to use SqlDatabaseRecoveryModel to change the recovery mode to Full prior to use SQLAgDatabase.
The trick is that Sharepoint is creating databases with GUID in their names. So I can't know the database name before install Sharepoint, and I need it to use SqlDatabaseRecoveryModel.
Verbose logs showing the problem
Suggested solution to the issue
I suggest to be able to use Wildcard in the name property, as it is for SqlAgDatabase with the DatabaseName property.
With this, we should be able to do Always On on Sharepoint databases with only the first part of the database name knowed.
The DSC configuration that is used to reproduce the issue (as detailed as possible)
# insert configuration here
SqlDatabaseRecoveryModel "ChangeRecoveryToFull_OperationsManagerDW" {
                        Name                 = 'SharepointAdminContent' #should be able to have * !!
                        RecoveryModel        = 'Full'
                        ServerName           = ( $AllNodes | Where-Object { $_.Role -eq 'PrimaryReplica' } ).NodeName
                        InstanceName         = ( $AllNodes | Where-Object { $_.Role -eq 'PrimaryReplica' } ).InstanceName
                        PsDscRunAsCredential = $SqlInstallCredential
                        DependsOn            = '[WaitForAll]InstallSP_Serveur1'
                    }

SQL Server edition and version the target node is running

SQL 2016
SQL Server PowerShell modules present on the target node

<IP_ADDRESS>
The operating system the target node is running
OsName : Microsoft Windows Server 2016 Standard Evaluation
OsOperatingSystemSKU : 79
OsArchitecture : 64-bit
WindowsBuildLabEx : 14393.2791.amd64fre.rs1_release.190205-1511
OsLanguage : en-US
OsMuiLanguages : {en-US}
Version and build of PowerShell the target node is running
PSVersion 5.1.14393.2791
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.14393.2791
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion <IP_ADDRESS>
Version of the DSC module that was used ('dev' if using current dev branch)
<IP_ADDRESS>

This was being worked on in PR https://github.com/PowerShell/SqlServerDsc/pull/1052, but it is now abandoned. So someone might pick that up, please read How to continue working on a pull request (PR) when an author (contributor) is unable to complete it.


Unable to create file when opened with mode='w'

When trying to create a file by truncating any existing file using
f = h5pickle.File('test.h5','w')

gives
Unable to create file (unable to truncate a file which is already open)

even if the file does not exists. Is this because, as you say in the README file, "Note that not all features of h5py are supported yet. Pull requests are very welcome."?

Yes, exactly. Every process tries to open the file now, with the 'w' flag, which fails for every process but the first. For writing from multiple process to HDF5 files the MPI IO api is necessary, which we do not provide anything for (yet).

But this happens even in a single process case. I open a Python console, import h5pickle and try to open a file in 'w' mode and it fails. No multiprocessing involved. Am I missing something? I need your solution because I need to broadcast a large class with mpi4py that imports h5py, but only one process is opening the file.

Ah, it is an issue in the implementation where the file is opened twice, which does not matter for read-only. I will push a fix.
Note that I would recommend against pickling and sending files with mode 'w' since this is almost guaranteed to not work. I think you want something like http://docs.h5py.org/en/latest/swmr.html

This problem is fixed in 0.3 now on PyPI (and a git tag in this repository).
How it would work with SWMR I have not thought about much more, please let me know if you get that working :)


Crash when running tensorflow.python.ops.gen_array_ops.quantize_v2

Click to expand!
Issue Type
Bug
Source
binary
Tensorflow Version
v2.4.0
Custom Code
Yes
OS Platform and Distribution
Linux Ubuntu 20.4
Mobile device
No response
Python version
3.8
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
release 11.0, V11.0.194 Build cuda_11.0_bu.TC445_37.28540450_0
GPU model and memory
No response
Current Behaviour?
If tensorflow.python.ops.gen_array_ops.quantize_v2 is given negative axis parameter, it is results in a crash.

Standalone code to reproduce the issue
import tensorflow as tf
import os
from tensorflow.python.ops import gen_array_ops
try:
  arg_0_tensor = tf.random.uniform([2, 3, 4, 5], dtype=tf.float32)
  arg_0 = tf.identity(arg_0_tensor)
  arg_1 = -1.0
  arg_2 = 0.8
  T = tf.qint8
  mode = "SCALED"
  round_mode = "HALF_TO_EVEN"
  narrow_range = False
  axis = -1
gen_array_ops.quantize_v2(arg_0,arg_1,arg_2,T=T,mode=mode,round_mode=round_mode,narrow_range=narrow_range,axis=axis,)
except Exception as e:
  print("Error:"+str(e))

Relevant log output
Aborted (core dumped)

@cse19922021,
I was able to execute the code without crashing in the latest version of the tensorflow. Kindly find the gist of it here and also v2.4 is pretty old, There is a high possibility that this was fixed with later TF versions. Thank you!

@cse19922021, I was able to execute the code without crashing in the latest version of the tensorflow. Kindly find the gist of it here and also v2.4 is pretty old, There is a high possibility that this was fixed with later TF versions. Thank you!

Thanks for the reply. The gist is working smoothly, however, I still get the crash on 2.4. Since, it is old, reporting vulnerabilities for this version does not make any sense, I guess. Should I report more vulnerabilities for 2.4? I am getting these crashes using my custom fuzzer.

No. Please only report vulnerabilities for the latest version of TF. Old versions cannot be patched, and in this case, it looks like someone already patched these, so your report on old versions can only result in duplicated work.
Also check your report for duplicates against previous versions at https://github.com/tensorflow/tensorflow/blob/master/tensorflow/security/README.md

No. Please only report vulnerabilities for the latest version of TF. Old versions cannot be patched, and in this case, it looks like someone already patched these, so your report on old versions can only result in duplicated work.
Also check your report for duplicates against previous versions at https://github.com/tensorflow/tensorflow/blob/master/tensorflow/security/README.md

Sure. Thanks.

Hi , the question might be silly but where is the file gen_array_ops.py since in the file we are doing import gen_array_ops and we are importing it from tensorflow.python.ops import gen_array_ops, but i cannot find the file gen_array_ops.py instead i can see the array_ops.py file are they both same? Am i missing something.

The file is automatically generated during TF build time.

@mihaimaruseac, Thanks for letting me know.