[SDK-1.8.3] Use of undeclared identifier 'CometChat'

Hello, guys. Thank for this awesome library. I'm trying to integrate this sdk into my react-native application in order to make wrapper for it and use as regular native module.
I use manual integration steps. I added CometChatPro.framework, JitsiMeet.framework and WebRTC.framework into my project. Added them to Embedded Binaries. Set "Enable Bitcode" to No. Set "Always Embed Swift Standard Libraries" to Yes. Added "$(SDKROOT)/usr/include/libxml2" to my "Header Search Paths".
Application is built successfully until i'm trying to init CometChat as mentioned in the docs.
I make "#import <CometChatPro/CometChatPro-Swift.h>" in my AppDelegate.m. And when i try to call
[[CometChat alloc]initWithAppId:@"4152a64155ab75" onSuccess:^(BOOL isSuccess) {
if (isSuccess) {
  NSLog(@"Successfully init CometChatPro");
}

} onError:^(CometChatException * error) {
NSLog(@"Error in init %@",[error errorDescription]);

}];
XCode gives me compilation error: "Use of undeclared identifier 'CometChat'"
I see "@interface CometChat : NSObject" inside "CometChatPro.framework/Headers/CometChatPro-Swift.h" file
But it seems XCode can't see it.
Could you please point me what i'm doing wrong?
ios-chat-sdk version 1.8.3
Also tried removing DerivedData and Clean project
Thank you
Update: The same issue if use cocoapods approach. Issue is reproduced only in Objective-c project. Integration in Swift project works well

this issue even appear SDK 1.9.0

There might be an issue with your cocoa pods version. Please fix it by using below steps:

pod deintegrate
sudo gem install cocoapods-clean
pod clean
Open the project and delete the "Pods" folder that should be red.
pod setup
pod install

thanks,i followed the steps, but no luck,objective-c sample build failed, the error 'Use of undeclared identifier 'CometChat'' also exist
在 2019-08-21 14:48:12，"jeetkapadia"<EMAIL_ADDRESS>写道：
There might be an issue with your cocoa pods version. Please fix it by using below steps:
pod deintegrate
sudo gem install cocoapods-clean
pod clean
Open the project and delete the "Pods" folder that should be red.
pod setup
pod install
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

it seems CometChatPro-Swift.h's class cannot use in objective-c's project

Hello @tiny9085 ,
We have released a new version for the Objective C Sample app which is built using the CometChat UI Kit. Kindly, check out this one.
If  you're facing any issues then report it on https://forum.cometchat.com/
Closing this issue because no longer needed.


Add behat functional test case for push command

Trying to add some more unit tests, I realized openl10n-cli code isn't that simple and wouldn't be totally trivial to unit test. So I thought that some behat test cases (strongly inspired by the https://github.com/Behat/Behat feature suite herself) could quickly protect the project from regression.
I got some issues with Guzzle mocks, so I had to upgrade https://github.com/openl10n/openl10n-sdk on dev-master, may could you release a new version of https://github.com/openl10n/openl10n-sdk ?
Of course if adding functionnal tests wasn't in your plans feel free to close this pull request.

Building noticed me that using Guzzle 6.0 in https://github.com/openl10n/openl10n-sdk will remove php 5.4 support, is it fine for you ?

up

@MattKetmo Are you sure about the php 5.4 support removal ? https://github.com/olaurendeau/openl10n-cli/commit/9789319d73b2ae3e07726b436bc7dfde2ae5db43

Since openl10n/sdk requires guzzle 6 which requires php55+ yes there is no choice but removing the php54 compat. Btw the composer.json should be modified too to explicitly require "php": "^5.5".

Thanks for the work ;)


--allowed-errors option missing

Type of issue
Code doesn't work
Feedback
The example mentioned in the docs does not work. It appears the option --allowed-errors isn't available. I also don't see it when running devproxy --help
https://learn.microsoft.com/en-us/microsoft-cloud/dev/dev-proxy/how-to/simulate-errors-microsoft-graph-apis#configure-errors-to-simulate
Page URL
https://learn.microsoft.com/en-us/microsoft-cloud/dev/dev-proxy/how-to/simulate-errors-microsoft-graph-apis
Content source URL
https://github.com/MicrosoftDocs/microsoft-cloud/blob/main/docs/dev/dev-proxy/how-to/simulate-errors-microsoft-graph-apis.md
Author
@waldekmastykarz
Document Id
cabe424a-1dbb-fd37-3752-4bc706f1016a

Can you share the contents your devproxyrc.json file?

Hi @waldekmastykarz, here it is, but does that matter for a missing option?
{
  "$schema": "https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.17.1/rc.schema.json",
  "plugins": [
    {
      "name": "RetryAfterPlugin",
      "enabled": true,
      "pluginPath": "~appFolder/plugins/dev-proxy-plugins.dll"
    },
    {
      "name": "GenericRandomErrorPlugin",
      "enabled": true,
      "pluginPath": "~appFolder/plugins/dev-proxy-plugins.dll",
      "configSection": "genericRandomErrorPlugin"
    }
  ],
  "urlsToWatch": [
    "https://graph.microsoft.com/*",
    "https://jsonplaceholder.typicode.com/*"
  ],
  "genericRandomErrorPlugin": {
    "errorsFile": "devproxy-errors.json"
  },
  "rate": 50,
  "labelMode": "text",
  "logLevel": "information",
  "newVersionNotification": "stable"
}

You're using the GenericRandomErrorPlugin. --allowed-errors is specific to the GraphRandomErrorPlugin: https://learn.microsoft.com/en-us/microsoft-cloud/dev/dev-proxy/technical-reference/graphrandomerrorplugin

Hi @waldekmastykarz, here it is, but does that matter for a missing option?

A while back, we refactored options, so that plugin-specific options are only exposed, when the corresponding plugin is enabled. Otherwise, you'd get an option that doesn't affect how Dev Proxy work which would be confusing.

💡Ah, I see now! Sorry, I've just completely misread this. It turns out there is no issue at all, except between the chair and the screen over here 😅 Let's close this ASAP!


Add Enhanced Version Control sample to trim version

Added another example how to trim version using enhanced version control.

@reshmee011 - very cool addition, thank you! - this will be live shortly 😁


cfg: jsoncpp crashes

2022-12-05 15:17:56 [WARN ]  failed to find extern: "_Init_thread_epoch"
2022-12-05 15:17:56 [WARN ]  invalid instruction: 0x201e600e: An general error occured while decoding the current instruction. The instruction might be undfined.
2022-12-05 15:17:56 [WARN ]  invalid instruction: 0x20294787: An general error occured while decoding the current instruction. The instruction might be undfined.
2022-12-05 15:17:56 [WARN ]  cfg: 0x201e600c: no subsequent instruction at 0x201e600e
2022-12-05 15:17:56 [WARN ]  cfg: 0x20294784: no subsequent instruction at 0x20294787
2022-12-05 15:17:56 [WARN ]  get_reachable_blocks: address is not a basic block: 0x2001200d
2022-12-05 15:17:56 [WARN ]  get_reachable_blocks: address is not a basic block: 0x2001600d
2022-12-05 15:17:56 [WARN ]  get_reachable_blocks: address is not a basic block: 0x2003400e
2022-12-05 15:17:56 [WARN ]  get_reachable_blocks: address is not a basic block: 0x2004700d
2022-12-05 15:17:56 [WARN ]  get_reachable_blocks: address is not a basic block: 0x20082000
2022-12-05 15:17:56 [WARN ]  get_reachable_blocks: address is not a basic block: 0x200a9000
2022-12-05 15:17:56 [WARN ]  get_reachable_blocks: address is not a basic block: 0x200c5000
2022-12-05 15:17:56 [WARN ]  get_reachable_blocks: address is not a basic block: 0x201a6000
2022-12-05 15:17:56 [WARN ]  get_reachable_blocks: address is not a basic block: 0x201b000d
2022-12-05 15:17:56 [WARN ]  get_reachable_blocks: address is not a basic block: 0x201b400d
2022-12-05 15:17:56 [WARN ]  get_reachable_blocks: address is not a basic block: 0x201b5000

Backtrace omitted. Run with RUST_BACKTRACE=1 to display it.
Run with RUST_BACKTRACE=full to include source snippets.

The application panicked (crashed).
  no entry found for key
in core/src/analysis/cfg/mod.rs, line 551
thread: main

fixed in 7f42ec5214a378db3fb880941f9794603b124611


Enter Raffle transactions are just showing pending on etherscan: Sepolia testnet

I am attaching the github repo link, use npm i --force.
Backend: https://github.com/Akshat-cs/Lottery-dApp-Ethereum
Frontend: https://github.com/Akshat-cs/Fleek-Lottery-frontend-hosted
Sometimes the transaction goes through and everything works correctly but sometimes the transaction gets stuck. Why is it happening? And I am submitting transactions in aggresive manner to keep the gasPrice high but still getting stuck.

Also I am running into one more error with verify when I deploy on sepolia testnet.
TypeError: Customchains are not iterable.

Now after couple of hours all the transactions have gone through. But I need the transactions to go through in a short time span (like a minute or two).

 This is normal for test networks that verification or transactions are taking forever or fails. I recommend you to use forked testnet or local network if you want to keep it consistent, otherwise just wait until Sepolia testnet will get better (usually lowest traffic and best performance is at night CET).


Mob 3206

JIRA
MOB-XXXX
DESCRIPTION
Removed Traveller app from karhoo-android-ui-sdk
Added UI SDK DropIn Sample to karhoo-android-ui-sdk
Moved relevant tests from the Traveller app to the ui-sdk
Removed tests from the ui-sdk that refer to the Traveller app
Types of changes
What types of changes does your code introduce to the project?
Put an x in the boxes that apply

[ ] Bugfix
[ ] New feature
[ ] Tech Debt
[ ] Breaking change
[ ] Documentation Update
[ ] Other: define what type of change it is

CHECKLIST
Put an x in the boxes that apply. You can also fill these out after creating the PR. This is simply a reminder of what we are going to look for before merging code.
Please review the guidelines for contributing to this repository.

[ ] All work relating to the ticket is complete (Code complete/Acceptance Criteria met)
[ ] Lint and unit tests pass locally (if appropriate)
[ ] Added tests that prove the fix is effective or that feature works (if appropriate)
[ ] Documentation (if appropriate)

SCREENSHOTS
[Add screenshots if any for changes you have made to the App/UI]

test draft


XCode 7 + Swift 2 + Playground

Hi,
when i try to import the "SwiftyJSON.swift" file into Playground, i get an error (noch such module "SwiftyJSON".
Does somebody has any idea?

You need to have your playground within a workspace shared with swifty.

OK, THX. I try this

Hi,
I'm very new at this and I was wondering if you could provide a small tutorial on how to create a playground to a workspace shared. I'm struggling to add to my project SwiftyJSON and Alamofire. I've tried with pods and with manually install but  I've got for both SwiftyJSON and Alamofire at the import section this type of error: "No such module".
At a point I've managed to import to my project only Alamofire (manually) and it worked but now when i'm trying to add also SwiftyJSON i havethis problem.
Can you help?
10x

I can probably put together a little project together if you want?

That will be grate.
10x

It's that easy..
But remember, you have to build the target first before you can import it in the playground


Example of using async requests

I actually don't know if it requires a custom requests library or if it's something that can be done "natively" with sanic, but being able to do requests queries async would be awesome. Then you don't have to worry about blocking when doing a sloooow requests.post(...).
Also, something I'm personally interested in, is the ability to use elasticsearch in an async matter.

For elasticsearch you can use https://github.com/aio-libs/aioes.
For async http requests, aiohttp support this, until sanic supports it maybe you can use its http client (I'm not aware if there is another library doing this).

Just sent a pull request! #119

Seems like this issue should be closed now.

async request question is answered
es related question is answered
example has been provided and merged

closed with #119


#247. Fixed tutorial_cost formatting.

@tx4x, probably, I just figured parseFloat will derive the first look-like numeric substring. I rethought it and decided that probably showing validation error will be better to be certain.
p.s.: I tried to make the minimum changes as have minor experience with typescript (just to not break existing stuff)

@chupakabra , i see. keep in mind TS isn't doing anything for you at run-time. think of it more of a annotation system to catch problems at build-time.
i think you may have a look also at local specifics when entering prices (ie: using dots for thousands notation), possibly overkill ... https://github.com/adamwdraper/Numeral-js/blob/master/src/numeral.js


Display image as tiled and not resized

By default Vegas resizes/rescales each image to fit the screen. Is there a way to set image as a 'tile' so it will use it to fill the screen as a tile without resizing?

Hello!
No it's not possible.
It could be a future enhancement.
Thanks for your feedback.

Added to v2.2.0


add sun/moon rise/set times

Icons become bright when the object is above the horizon. Also shows
time until next sunset/sunrize and percent of moon illumination.

On old iPad Safari toLocaleString not working
183   const illuminatedFractionString = moonIllumination.fraction.toLocaleString(undefined, {style: 'percent'});
I think better way is:
183   const illuminatedFractionString = moonIllumination.fraction.toFixed(2)*100 + '%';

@hangorazvan thanks, I'll try to get it fixed soon. Additionally, it appears that moonrise/moonset times are not quite correct...

Here another error, on 15 February morning:


Testhost std error messages should pass to vstest.console

Log testhost std error message if exit with error
Add exit call back before process start()
Add tests for same.
Related Issue: #281

Hi @smadala, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Satya Madala). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;


"Prompt for face" for lora

I want to use "Prompt for face" option for lora to generate one custom face, but lora prompt have no effect.

@xuechengjinxiu
Thanks for using this script.
I have tried it on several lora and it seems to work fine.
Maybe the effect is just weak, so the following settings may help.

lora description in the form of <lora:lorafilename:multiplier> and increase the multiplier value (e.g. 1.5)
Increase the value of "Advanced Options - (3) Recreate the Faces - Denoising strength for face images" (e.g. 0.5)

Please try it!


Support bundling into draft 7 and below

If we want to bundle schemas from prior to JSON Schema 2019-09 $defs should be definitions, would it make sense to add such a feature?
I was thinking we could look up the $schema for the root schema (which we bundle stuff into), and if it matches any of the prior versions to 2019-09 it uses definitions instead.
Or would it make more sense to provide such a feature through an option?

I fixed this yesterday.Try pulling down changes and let me know if you find any other issues.


ProgressBarIter and finding stream length via seeking breaks rate estimation

MCVE:
use std::io::{Read, Seek, SeekFrom};
use std::io::Cursor;

use std::thread::sleep;
use std::time::Duration;

use indicatif::{ProgressBar, ProgressStyle};

pub fn seek_len(seekable: &mut dyn Seek) -> u64 {
    let old_pos = seekable.stream_position().unwrap();
    let len = seekable.seek(SeekFrom::End(0)).unwrap();
    if old_pos != len {
        seekable.seek(SeekFrom::Start(old_pos)).unwrap();
    }
    // return
    len
}

fn main() {
    let mut dummy_buf: [u8; 4] = [0x00; 4];
    let reader = Cursor::new([0xff; 4*100]);

    let pb_style = ProgressStyle::default_bar()
            .template("{wide_bar} | {pos}/{len} | {per_sec}")
            .unwrap();

    let pb = ProgressBar::new(100*4);
    pb.set_style(pb_style);
    let mut pb_reader = pb.wrap_read(reader);
    seek_len(&mut pb_reader);
    for _i in 0..100 {
        pb_reader.read(&mut dummy_buf).unwrap();
        sleep(Duration::from_millis(40));
    }
    pb.finish();
}

Expected behavior: rate hovers slightly below 100/s
Actual behavior: rate is stuck at an absurdly high constant while progress bar counts upwards and drops to slightly below 100/s when the progress bar completes
This behavior could occur when a ProgressBarIter is passed to a generic function taking a Read + Seek object.
This is a regression from v0.16.

After some investigation, I've managed to track down the root cause of my issue. While #394 is a discussion of computing ETA, I do not believe it is closely related as that issue does not discuss problems in rate estimation that arise with seeking.
I've linked to the relevant lines of code in the Estimator struct below for reference:
https://github.com/console-rs/indicatif/blob/791068cfb9d4666efcc786c1ef9724a3f12da56c/src/state.rs#L385-L405
A typical approach of finding the length of a Seek object is through a function like the one below (copied from my MCVE):
pub fn seek_len(seekable: &mut dyn Seek) -> u64 {
    let old_pos = seekable.stream_position().unwrap();
    let len = seekable.seek(SeekFrom::End(0)).unwrap();
    if old_pos != len {
        seekable.seek(SeekFrom::Start(old_pos)).unwrap();
    }
    // return
    len
}

This involves 2-3 seek operations:

A seek to find the current position (which may not be necessary depending on how stream_position() is actually implemented)
A seek to the end to find the length
A seek back to the initial position to reset the seek position

Unfortunately this seek pattern has unfortunate interactions with the rate estimator:

The seek to the end creates an extremely large delta, and this large seek-to-the-end step is recorded in the estimator, generating an absurdly large rate. prev now contains (seek_len, time_of_seek_to_end).
The seek backwards creates a delta of 0, as the negative value gets clipped to 0 by the saturating_sub operation.
All future operations lead to a computed delta of 0 and an actual delta <= 0, because the stored position in prev is at the very end of the object whose progress is being tracked.

I can think of two possible solutions:

Do not record a step in the Estimator if the value received is equal to the length of the underlying object. This does not resolve a similar bug that would arise if users did a massive seek forwards and then back that did not line up with the end of the underlying object. This is also not possible for iterators that do not have a predetermined length. Having different behavior depending on whether the underlying object is Seek or not might also require some form of specialization.
Reset the Estimator whenever a backwards seek/step is detected.

I am leaning towards the second solution, but I would like to hear other people's opinions before submitting a PR for this.

Yeah, (2) definitely seems cleaner than (1). Of course it's still kind of a crappy heuristic, but I guess it's unlikely to do much harm.


Sockets.Plugin.Abstractions.SocketException: Access denied error

hello,
I have a Portable xamarin forms project and I am making a simple UDP message send like so
public async Task SentMessage()
        {
            var port = 1887;
            var address = "<IP_ADDRESS>";

            try
            {
                var client = new UdpSocketClient();

                var msg = "some message";
                var msgBytes = Encoding.UTF8.GetBytes(msg);

                await client.SendToAsync(msgBytes, address, port);
            }
            catch (Exception e)
            {
                var error = e;
            }
        }

I tried this only on Android for the moment but I get a Sockets.Plugin.Abstractions.SocketException: Access denied with the latest beta version "2.0.0 pre-2", I downgraded to "1.2.2" and it seems to work fine, even the message is being sent.
I have the permissions set for Internet, this has been tested with a simulator running Android MM
I will test further on the other platforms and reply here the result

Hi @WarBorg, I think this is related a regression in the prerelease that affects Android only.
You can try on 2.0.0 stable (it is unlisted), and I think it should be ok.
Install-Package rda.SocketsForPCL -Version 2.0.0
Let me know if that sorts it :+1:


AttributeError: 'module' object has no attribute 'BestSplitter'

when I run the test script, an error such as "AttributeError: 'module' object has no attribute 'BestSplitter'" occurred, do you know how to fix this? I have tried both python3.6 and python2.7.

I'm seeing this error also, after installation with python2.7 on OS X. This is the behavior.
python2.7 g2p_test.py aeiouado_trained_model/ etc/nlpnet-pos/
Traceback (most recent call last):
  File "g2p_test.py", line 32, in <module>
    g2p = AeiouadoG2P(args.g2p_model_dir, args.nlpnet_model_dir)
  File "/projects/speech/sys/aeiouado_g2p-master/src/g2p_converter.py", line 14, in __init__
    self.clf_delaf = joblib.load('%s/g2p_clf_delaf.pkl' % g2p_dir)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sklearn/externals/joblib/numpy_pickle.py", line 596, in load
    return load_compatibility(fobj)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sklearn/externals/joblib/numpy_pickle_compat.py", line 226, in load_compatibility
    obj = unpickler.load()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/pickle.py", line 864, in load
    dispatch[key](self)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/pickle.py", line 1096, in load_global
    klass = self.find_class(module, name)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/pickle.py", line 1132, in find_class
    klass = getattr(mod, name)
AttributeError: 'module' object has no attribute 'BestSplitter'

Apparently it has to do with modules and unpickling, see discussion at https://stackoverflow.com/questions/3363281/attributeerror-module-object-has-no-attribute-when-using-cpickle.


MINOR: update release.py

Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Most of the changes are picked up from trunk and from @mjsax 's PR. I additionally replaced jdk8_env['JAVA_HOME'] = jdk8_java_home with jdk8_env['PATH'] = "%s/bin:%s" % (jdk8_java_home, jdk8_env['PATH']) because changing JAVA_HOME does not work on my RHEL 7 desktop. I am wondering if the change work make sense in general.

@lindong28 this looks ready to merge?

@ijuma Ah I forgot this patch. Certainly. Let me merge it now.

@ijuma It seems that this PR has already been committed to 1.1 branch in the commit https://github.com/apache/kafka/commit/776ff95ae0f8cdd01aede21b95238738ff1db1b3. This is probably done by me using kafka-merge-pr.py but for some reason this PR is not closed. I am closing it now.


Python 3.12 compatibility

ontospy is not ready for Python 3.12. It uses SafeConfigParser which was removed in 3.12.

Michael R. Crusoe have provided a patch for this, now available here


fixes #3 and #4

Some small suggestions:

Specify in the tf_module_path flag that terraformModule would need setting in the spec manually (or that this is used for test purposes), something to clarify it wouldn't actually be a useable chart as-is.
Some error handling to catch when a url is specified without a version, otherwise you get version = module.split('?')[1].split('=')[1] - IndexError: list index out of range
Does it need to be an actual tag or can a branch reference work? I tried that and got zipfile.BadZipFile: File is not a zip file

Great suggestions! Made updates to reflect them.


Disable sequence ID filter default in app list

Is your feature request related to a problem? Please describe.
We default to hide things that have gotten to zero. We want to show them now.
Describe the solution you'd like
Change the default to be unchecked:

Additional context
Was doing this for streamlit cause it created a ton of junk, but easier not to have it.

This feature was successfully added


AA-380: Updates for EIP-7701

ATTENTION: ERC-RELATED PULL REQUESTS NOW OCCUR IN ETHEREUM/ERCS
--
When opening a pull request to submit a new EIP, please use the suggested template: https://github.com/ethereum/EIPs/blob/master/eip-template.md
We have a GitHub bot that automatically merges some PRs. It will merge yours immediately if certain criteria are met:

The PR edits only existing draft PRs.
The build passes.
Your GitHub username or email address is listed in the 'author' header of all affected PRs, inside .
If matching on email address, the email address is the one publicly listed on your GitHub profile.

Closed in favour of https://github.com/ethereum/EIPs/pull/8941


Bootloop framework.jar

@anestisb, After deodexing framework.jar for android 8.1 with vdexExtrator, my phone got bootloop. Can you tell what is/are the common cause?

Most of the time the issues were unrelated to deodexing but rather because of a missing app or configuration. This is outside the scope of this tool.


Warnings + Higher taxonomy order

Warnings is half way through. It turned out to be wayyyyyyyyyy more work that I expected :(
Closes #34

Thanks :)
We are very close!


Add utility script for rapidly shutting down gazebo

This is a hack I use to be quickly shutdown the sim...
rosrun vrx_gazebo killgazebo.sh

Is there a better way?

Isn't the usual CTRL-C working for you? 90% of the time works for me and when it doesn't I manually run the kill command for the server.

The script is just a convenience.  It shuts down gazebo (client and server) much faster than the ctrl-c interrupt.

Not sure if it's strictly necessary but maybe we need this line in the CMakeLists.txt:
install(PROGRAMS scripts/kill_gazebo.sh
  DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION})

You could probably move it to the scripts directory as well.

ROS seems to find the executable in any subdirectly of the package.  For me, this works....
rosrun vrx_gazebo killgazebo.sh


Luka Ngongi

Name
Luka Ngongi
Profile Image

Country
Uganda
Region
WestNile Rhino Camp
Organisation
No response
Languages
Kakuwa, Arabic, English
Skill 1
Hardware & Repair
Qualifications for Skill 1
Am having a workshop.
Am also a software engineer and training others.
certificate
Skill 2
No response
Qualifications for Skill 2

No response
Skill 3
No response
Qualifications for Skill 3
No response
Skill 4
No response
Qualifications for Skill 4
No response
describe yourself
I have did electronic repair and computer course I have certificate software and maintenance
E-Mail
<EMAIL_ADDRESS>Phone
+256789695343
WhatsApp
0789695342
Website
No response
Telegram
No response
GitHub
No response
LinkedIn
No response
Twitter
No response
Facebook
Luka ngongi
Instagram
No response
Mastodon
No response
WikiFab
No response
Other
No response

It's complete

Please check out this


No permission to access server

Please help me to fix t his issue
When i try to upload file its give me error text "You don't have permissions to browse server"

Hi @anushkanz  and @aaiyo,
I can confirm this issue is happens.
kcfinder shows the message "You don't have permissions to browse server" when you try to add an image to a blog post. I have checked my server permissions and apache permissions and can confirm that they are correct because other uploads are working.
Is there some kcfinder setting we need to change?
How can we resolve this?

can you post result of print_r(Yii::$app->getModule('blog')); ?

Sure, it's very long though and some of it unprintable. Not sure what the limits are on Github or even this editor

Just as I suspected, It was too long.
Please advise

can you upload an image when create new gallery? [baseurl]/blog/gallery/create/.
or have you add following lines in your composer.json:
"repositories":[

        {
            "type": "vcs",
            "url": "https://github.com/aaiyo/yii2-kcfinder"
        }
   ]

I'm only using the Post component for now (/blog/post/*), I'm sure I will use the rest when we resolve some of these issues.
Yes, I have the entry in composer.json
Thanks

any solutions?
i have the same problem


Create nft

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import<EMAIL_ADDRESS>import<EMAIL_ADDRESS>import<EMAIL_ADDRESS>import<EMAIL_ADDRESS>import<EMAIL_ADDRESS>contract ZkSyncNFTMarketplace is Ownable, ReentrancyGuard {
using SafeMath for uint256;
address public nftContract;
address public zkSyncContract;
uint256 public listingFee;

mapping(uint256 => uint256) public nftListingPrices;

event NFTListed(uint256 indexed tokenId, uint256 price);
event NFTSold(uint256 indexed tokenId, address buyer, uint256 price);

constructor(address _nftContract, address _zkSyncContract, uint256 _listingFee) {
    nftContract = _nftContract;
    zkSyncContract = _zkSyncContract;
    listingFee = _listingFee;
}

function listNFTForSale(uint256 tokenId, uint256 price) external payable nonReentrant {
    require(msg.sender == IERC721(nftContract).ownerOf(tokenId), "Not the owner of the NFT");
    require(msg.value == listingFee, "Incorrect listing fee amount");

    nftListingPrices[tokenId] = price;
    emit NFTListed(tokenId, price);
}

function buyNFT(uint256 tokenId) external payable nonReentrant {
    require(nftListingPrices[tokenId] > 0, "NFT not listed for sale");
    require(msg.value == nftListingPrices[tokenId], "Incorrect payment amount");

    address seller = IERC721(nftContract).ownerOf(tokenId);
    address buyer = msg.sender;

    // Transfer NFT to the buyer
    IERC721(nftContract).transferFrom(seller, buyer, tokenId);

    // Perform zkSync integration logic here
    // For example, unlock the NFT in zkSync and update zkSync state
    // This part would involve interacting with the zkSync contract

    // Transfer payment to the seller
    (bool success, ) = payable(seller).call{value: msg.value}("");
    require(success, "Payment transfer failed");

    // Clear the listing information
    delete nftListingPrices[tokenId];

    emit NFTSold(tokenId, buyer, msg.value);
}

function setListingFee(uint256 _listingFee) external onlyOwner {
    listingFee = _listingFee;
}

}
What :computer:

First thing updated with this PR
Second thing updated with this PR
Third thing updated with this PR

Why :hand:

Reason why first thing was added to PR
Reason why second thing was added to PR
Reason why third thing was added to PR

Evidence :camera:
Include screenshots, screen recordings, or console output here demonstrating that your changes work as intended

Notes :memo:

Any notes/thoughts that the reviewers should know prior to reviewing the code?

We are not planning to have solidity contracts isnide of our SDK.


Ability to Manually Type RSSI Threshold

Can there be an added feature in the near future to click on the RSSI value and type in a number, rather than only being able to press the buttons?

check https://github.com/voroshkov/Chorus-RF-Laptimer/issues/40
the arduino code supports setting the rssi threshold, somebody just needs to add it to the android app ;]

sorry guys, I won't add.
long button clicks changes by 30.
10 long clicks is enough to cover all range


Extension 'rubymaniac.vscode-direnv' not found.

The extensions search does not give any results either. I use vscodium, do I have to do something special to find this extension?

VSCodium uses https://open-vsx.org/ as its extension registry instead of MSFT's https://marketplace.visualstudio.com/.
There's a way to get VSCodium to use MSFT's registry, but it's a bit involved if you don't edit config files for fun:

install VSCode
find its product.json file
copy its "extensionsGallery" key
find VSCodium's product.json file
replace its "extensionsGallery" key with the one from VSCode

That being said I'm not even sure this extension works anymore.

This one is in OpenVSX and is probably better: https://github.com/cab404/vscode-direnv


modify prod release to use script as entrypoint

set RPM arch for rpm out path explicitly
Issue #, if available:
Description of changes:
Use a script as the entry for the Go release post-submits, so that we can set up the AWS creds ahead of time
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

https://github.com/aws/eks-distro-internal/issues/241

/approve


Breaking changes in 0.6.2

While upgrading from 0.5.1 to 0.6.2 I found some breaking changes.
Code area
Setting line numbers in 0.5.1:
codeArea.setParagraphGraphicFactory(LineNumberFactory.get(codeArea, format, stylesheet));

In 0.6.2 there is no stylesheet parameter any more:
codeArea.setParagraphGraphicFactory(LineNumberFactory.get(codeArea, format));

Instead, use .lineno { ... } CSS in the stylesheet applied to the code area.

Yes, you are right. The default style of line numbers is now set by setting the properties in Java code. Therefore, it has low priority, so it can be easily overridden in the stylesheet of the Scene or any other parent.


cmd/link: bring back R_ARM_V4BX for Annapurna AL-212 …

…and possibly others
When trying to upgrade Go from 1.15.8 to 1.16 on my Netgear ReadyNAS RN204 and
it's Annapurna AL-212 ARM chip I ran into a compile time error:
$ cd src
go-go1.16.2/$ cd src
go-go1.16.2/src$ ./make.bash
Building Go cmd/dist using /usr/lib/go-1.15. (go1.15.8 linux/arm)
Building Go toolchain1 using /usr/lib/go-1.16.

Building Go toolchain2 using go_bootstrap and Go toolchain1.
Building Go toolchain3 using go_bootstrap and Go toolchain2.
Building packages and commands for linux/arm.
net(.text): unexpected relocation type 296 (R_ARM_V4BX)
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x115a84]
Inspection of the changes showed that the code for handling R_ARM_V4BX that
was included in 1.15.x is mossing from 1.16 onwards. Since R_ARM_v4BX is
essentially a no-op accoring to the comment in the 1.15 tree I thought it
safe to just re-use the code for R_ARM_ABS32.
Using that I was able to build a working go 1.16.2, run the test suit and
build some apps for testing.
However, since I just copied the code, I have no idea about possible side
effects or whether there's an easier way to handle this. So I'd be more
than happy if someone with more knowledge could give this a look.

@googlebot I signed it!


Selectors priority with CSS inlining using Jsoup

When several rules are targetting the same node, if a property is duplicated then this property appears twice.
However, the orders for CSS inclusion, rules declaration and properties declaration are very important. But declaration order is not the only priority. See Specificity for more information. The current implementation doesn't take priority into account.
Moverover, if the two following rules are targetting the same element then the result is different by including 1 then 2 than 2 then 1.
.foo {
margin-top: 1px;
}
.bar {
margin: 10px;
}
Including foo then bar will give a 10px top margin.

The aim of the lib and the inlining is to be able to design the email in a browser and use it directly. With this bug, the display may be very different between the browser and the final result. It will be very difficult to know why a margin, border, or anything else is not taken into account.

See https://github.com/litmus/premailer/tree/master/lib/premailer

Some utilities that could be used:

http://cssbox.sourceforge.net/jstyleparser/manual.php#dom
https://github.com/phax/ph-css


Running SilviMetric in Anaconda environment gives "libglog.so.2: cannot open shared object file"

I have installed Miniconda3-py312_24.1.2-0-Linux-x86_64.sh from https://repo.anaconda.com/miniconda/ (the latest version).
OS: OpenSUSE Tumbleweed (20240402)
After installing, I run the following:
eval "$(/home/daniel/miniconda3/bin/conda shell.bash hook)"

mkdir test && cd test
git clone https://github.com/hobuinc/silvimetric

conda env create -f silvimetric/environment.yml -n silvimetric
conda activate silvimetric
pip install silvimetric

silvimetric --database test.tdb initialize \
  --bounds '{"maxx":639003.73,"maxy":853536.21,"maxz":615.26,"minx":635579.2,"miny":848884.83,"minz":406.46}' \
  --crs EPSG:2992

and on that last command, I get a bunch of errors that are various repetitions of libglog.so.2: cannot open shared object file: No such file or directory:
(PDAL Error) Can't load library /home/daniel/miniconda3/envs/silvimetric/lib/libpdal_plugin_filter_trajectory.so: Failed to load "/home/daniel/miniconda3/envs/silvimetric/lib/libpdal_plugin_filter_trajectory.so": libglog.so.2: cannot open shared object file: No such file or directory(PDAL Error) Can't load library /home/daniel/miniconda3/envs/silvimetric/lib/libpdal_plugin_filter_trajectory.so: Failed to load "/home/daniel/miniconda3/envs/silvimetric/lib/libpdal_plugin_filter_trajectory.so": libglog.so.2: cannot open shared object file: No such file or directory(PDAL Error) Can't load library /home/daniel/miniconda3/envs/silvimetric/lib/libpdal_plugin_filter_trajectory.so: Failed to load "/home/daniel/miniconda3/envs/silvimetric/lib/libpdal_plugin_filter_trajectory.so": libglog.so.2: cannot open shared object file: No such file or directory(PDAL Error) Can't load library /home/daniel/miniconda3/envs/silvimetric/lib/libpdal_plugin_filter_trajectory.so: Failed to load "/home/daniel/miniconda3/envs/silvimetric/lib/libpdal_plugin_filter_trajectory.so": libglog.so.2: cannot open shared object file: No such file or directory(PDAL Error) Can't load library /home/daniel/miniconda3/envs/silvimetric/lib/libpdal_plugin_filter_trajectory.so: Failed to load "/home/daniel/miniconda3/envs/silvimetric/lib/libpdal_plugin_filter_trajectory.so": libglog.so.2: cannot open shared object file: No such file or directory(PDAL Error) Can't load library /home/daniel/miniconda3/envs/silvimetric/lib/libpdal_plugin_filter_trajectory.so: Failed to load "/home/daniel/miniconda3/envs/silvimetric/lib/libpdal_plugin_filter_trajectory.so": libglog.so.2: cannot open shared object file: No such file or directory(PDAL Error) Can't load library /home/daniel/miniconda3/envs/silvimetric/lib/libpdal_plugin_filter_trajectory.so: Failed to load "/home/daniel/miniconda3/envs/silvimetric/lib/libpdal_plugin_filter_trajectory.so": libglog.so.2: cannot open shared object file: No such file or directory(PDAL Error) Can't load library /home/daniel/miniconda3/envs/silvimetric/lib/libpdal_plugin_filter_trajectory.so: Failed to load "/home/daniel/miniconda3/envs/silvimetric/lib/libpdal_plugin_filter_trajectory.so": libglog.so.2: cannot open shared object file: No such file or directory(PDAL Error) Can't load library /home/daniel/miniconda3/envs/silvimetric/lib/libpdal_plugin_filter_trajectory.so: Failed to load "/home/daniel/miniconda3/envs/silvimetric/lib/libpdal_plugin_filter_trajectory.so": libglog.so.2: cannot open shared object file: No such file or directory(PDAL Error) Can't load library /home/daniel/miniconda3/envs/silvimetric/lib/libpdal_plugin_filter_trajectory.so: Failed to load "/home/daniel/miniconda3/envs/silvimetric/lib/libpdal_plugin_filter_trajectory.so": libglog.so.2: cannot open shared object file: No such file or directory(PDAL Error) Can't load library /home/daniel/miniconda3/envs/silvimetric/lib/libpdal_plugin_filter_trajectory.so: Failed to load "/home/daniel/miniconda3/envs/silvimetric/lib/libpdal_plugin_filter_trajectory.so": libglog.so.2: cannot open shared object file: No such file or directory(PDAL Error) Can't load library /home/daniel/miniconda3/envs/silvimetric/lib/libpdal_plugin_filter_trajectory.so: Failed to load "/home/daniel/miniconda3/envs/silvimetric/lib/libpdal_plugin_filter_trajectory.so": libglog.so.2: cannot open shared object file: No such file or directory(PDAL Error) Can't load library /home/daniel/miniconda3/envs/silvimetric/lib/libpdal_plugin_filter_trajectory.so: Failed to load "/home/daniel/miniconda3/envs/silvimetric/lib/libpdal_plugin_filter_trajectory.so": libglog.so.2: cannot open shared object file: No such file or directory(PDAL Error) Can't load library /home/daniel/miniconda3/envs/silvimetric/lib/libpdal_plugin_filter_trajectory.so: Failed to load "/home/daniel/miniconda3/envs/silvimetric/lib/libpdal_plugin_filter_trajectory.so": libglog.so.2: cannot open shared object file: No such file or directory(PDAL Error) Can't load library /home/daniel/miniconda3/envs/silvimetric/lib/libpdal_plugin_filter_trajectory.so: Failed to load "/home/daniel/miniconda3/envs/silvimetric/lib/libpdal_plugin_filter_trajectory.so": libglog.so.2: cannot open shared object file: No such file or directory(PDAL Error) Can't load library /home/daniel/miniconda3/envs/silvimetric/lib/libpdal_plugin_filter_trajectory.so: Failed to load "/home/daniel/miniconda3/envs/silvimetric/lib/libpdal_plugin_filter_trajectory.so": libglog.so.2: cannot open shared object file: No such file or directory(PDAL Error) Can't load library /home/daniel/miniconda3/envs/silvimetric/lib/libpdal_plugin_filter_trajectory.so: Failed to load "/home/daniel/miniconda3/envs/silvimetric/lib/libpdal_plugin_filter_trajectory.so": libglog.so.2: cannot open shared object file: No such file or directory(PDAL Error) Can't load library /home/daniel/miniconda3/envs/silvimetric/lib/libpdal_plugin_filter_trajectory.so: Failed to load "/home/daniel/miniconda3/envs/silvimetric/lib/libpdal_plugin_filter_trajectory.so": libglog.so.2: cannot open shared object file: No such file or directory(PDAL Error) Can't load library /home/daniel/miniconda3/envs/silvimetric/lib/libpdal_plugin_filter_trajectory.so: Failed to load "/home/daniel/miniconda3/envs/silvimetric/lib/libpdal_plugin_filter_trajectory.so": libglog.so.2: cannot open shared object file: No such file or directory(PDAL Error) Can't load library /home/daniel/miniconda3/envs/silvimetric/lib/libpdal_plugin_filter_trajectory.so: Failed to load "/home/daniel/miniconda3/envs/silvimetric/lib/libpdal_plugin_filter_trajectory.so": libglog.so.2: cannot open shared object file: No such file or directory(PDAL Error) Can't load library /home/daniel/miniconda3/envs/silvimetric/lib/libpdal_plugin_filter_trajectory.so: Failed to load "/home/daniel/miniconda3/envs/silvimetric/lib/libpdal_plugin_filter_trajectory.so": libglog.so.2: cannot open shared object file: No such file or directory((PDALPDAL  ErrorError) ) Can't load library Can't load library /home/daniel/miniconda3/envs/silvimetric/lib/libpdal_plugin_filter_trajectory.so/home/daniel/miniconda3/envs/silvimetric/lib/libpdal_plugin_filter_trajectory.so: : Failed to load "/home/daniel/miniconda3/envs/silvimetric/lib/libpdal_plugin_filter_trajectory.so": libglog.so.2: cannot open shared object file: No such file or directoryFailed to load "/home/daniel/miniconda3/envs/silvimetric/lib/libpdal_plugin_filter_trajectory.so": libglog.so.2: cannot open shared object file: No such file or directory(PDAL Error) Can't load library /home/daniel/miniconda3/envs/silvimetric/lib/libpdal_plugin_filter_trajectory.so: Failed to load "/home/daniel/miniconda3/envs/silvimetric/lib/libpdal_plugin_filter_trajectory.so": libglog.so.2: cannot open shared object file: No such file or directory(PDAL Error) Can't load library /home/daniel/miniconda3/envs/silvimetric/lib/libpdal_plugin_filter_trajectory.so: Failed to load "/home/daniel/miniconda3/envs/silvimetric/lib/libpdal_plugin_filter_trajectory.so": libglog.so.2: cannot open shared object file: No such file or directory(PDAL Error) Can't load library /home/daniel/miniconda3/envs/silvimetric/lib/libpdal_plugin_filter_trajectory.so: Failed to load "/home/daniel/miniconda3/envs/silvimetric/lib/libpdal_plugin_filter_trajectory.so": libglog.so.2: cannot open shared object file: No such file or directory

libglog.so.2 is a part of glog version 0.7. There may be some missing dependency definitions in the environment.yml. Running conda install glog installs glog-0.6, which provides "libglog.so.1" (an incompatible old version of the library). I only have the default channels, but maybe there is another Anaconda channel that provides version 0.7? If so, can this be specified in environment.yml? Would that make conda enable the needed repo and pull the newer glog version by default when running conda env create -f silvimetric/environment.yml?
Note that the silvimetric initialize command does create a database, but the images produced from it by the silvimetric extract command appear to be corrupted. This probably means that the Python code is running fine, but PDAL is having an issue in the background.

and on that last command, I get a bunch of errors that are various repetitions of libglog.so.2: cannot open shared object file: No such file or directory:

This is a Conda packaging issue and nothing you caused. I'll try to get this sorted, but you might have to endeavor to build it all yourself if you're motivated to get things going right now.

The packaging story has been significantly solidified in the last few minor releases. I'm going to close this for now, but if you still encounter these problems please feel free to reopen with any new information.


Have 'Page not found' trouble with publications.

I set "publications.md" in "/_pages" as this.
And I set "HTRDJournal.md" in "_pulications" as this.
The page of "goatman1.github.io/publications" works well, but when I click the link of the title which is "goatman1.github.io/publications/HTRDJournal", it always warns that "Page not found". There are no grammar error in both file. For a long time I can not figure out why. Can you tell me what did I miss?

Looks like a spelling mistake "_pulications/HTRDJournal.md"
Should be "_publications/HTRDJournal.md", no?

Looks like a spelling mistake "_pulications/HTRDJournal.md"
Should be "_publications/HTRDJournal.md", no?

Damn it... u r so right... thanks very much!!! And how silly I am...


Questions about model validation

RuntimeError: Error(s) in loading state_dict for Linear:
Missing key(s) in state_dict: "weight", "bias".
Unexpected key(s) in state_dict: "model", "optimizer", "total_steps".
When I use my trained epoch.pth for validate.py, it throws an error. How can I resolve this?

Hello,I have the same problem too.Have you solve it?

Hello,I have the same problem too.Have you solve it?
I have the same problem too.Have you solve it?

I have already solved this problem.In the original code the valideate.py needs the pth which only contains two keys:"weight" and "bias",which are the parameters of the final linear layer of the model.However ,after our own training, the pth we saved has three keys:"model", "optimizer", "total_steps",and the "model" contains the paramerters of all the layers in the model.Therfore,you can delete all the other things except the last two parameters of "model" in your pth,which are the needed "weight" and "bias".


Set VOID Element as multiple

patch, as sent on cellar

Could you combine #9 and #43 into one commit, since they need to be changed
together or not.
2015-12-30 14:55 GMT+01:00 Dave Rice<EMAIL_ADDRESS>
patch, as sent on cellar
You can view, comment on, or merge this pull request online at:
https://github.com/Matroska-Org/ebml-specification/pull/43
Commit Summary

Set VOID Element as multiple

File Changes

M specification.markdown
https://github.com/Matroska-Org/ebml-specification/pull/43/files#diff-0
(2)

Patch Links:

https://github.com/Matroska-Org/ebml-specification/pull/43.patch
https://github.com/Matroska-Org/ebml-specification/pull/43.diff

—
Reply to this email directly or view it on GitHub
https://github.com/Matroska-Org/ebml-specification/pull/43.

--
Steve Lhomme
Matroska association Chairman

@robUx4 as noted on CELLAR, the two PRs affect separate repositories. This PR, https://github.com/Matroska-Org/ebml-specification/pull/43, updates the VOID element to multiple in the EBML specification and the other PR, https://github.com/Matroska-Org/foundation-source/pull/9, updates the VOID Element as represented in the Matroska specification.

anything blocking?

Nope, sorry, I overlooked this.


Hardhat + Local Node

Follow-up with engineering team to check hardhat + local node + ethers.js + json rpc relay work
Request demo

Includes:

Ethereum dev has used hardhat
How to set-up Hardhat
How to set-up local node and access local relay
Update Hardhat config files
How to create an account
How to create a simple smart contract using Hedera + Hardhat + relay
Contract running
Unit tests running
Both in local instance and testnet (hashIO) instance
Video tutorial

Scheduled meeting with engineering team 1/25

Demo presented and outline provided. Recording available for review.

This tutorial will be based on HardHat and HashIO testnet. Will revisit local node tutorial when ready.

Blocked until portal is updated

Live: https://docs.hedera.com/hedera/tutorials/smart-contracts/deploy-a-smart-contract-using-hardhat


Add "appveyor.yml" to "exclude" in Cargo.toml

This file is not needed in releases.
Signed-off-by: Uli Schlachter<EMAIL_ADDRESS>

Urgh. Can we switch away from Travis? Status reporting seems to be broken again... :-(


fix: reduce docker size

Issues
Uses more caching and splits up some things to make more reusable layers.
Reviewer Suggestions
Dockerfile
Additional Comments
Anything else?

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


[Gluten-882] Selective query execution

Currently, when Gluten is loaded into Spark, it'll be used by default for all queries and DataFrame operations.
This features allows the programmer to selectively toggle Gluten on or off from within the Spark application.
This might be valuable, e.g. for cases when you want to slowly evaluate the impact of Gluten on an existing code base.
The implementation defaults to always enable, so that there is no impact on users who are not using it.

@asvyatet As for your point about future additions to the codebase:
We could create a SelectiveExecution.Maybe Trait that will implement final apply by itself, will call maybe and then real_apply. Gluten strategies will implement real_apply instead of the current apply.
We can have a test file that make sure all of the registered strategies extend this trait, and so we'll have a safeguard.
trait Maybe[T <: QueryPlan[_] {
  val session: SparkSession
  def real_apply(plan: T): T
  final def apply(plan: T): T = maybe real_apply(T)
}

I feel this is indeed cleaner.
@FelixYBW Want to weigh in on this?

I added a commit to use the trait instead of, as I had described earlier in the thread.
If you think this is better, I'll add a test for that.
Also I just realized we could test to make sure all of the transformations use selective execution without the trait, by invoking them with selective execution set to false, and making sure they don't forward the call to the actual function.
Any way, I guess it's a matter of style at this point

We had an option key spark.gluten.sql.enable.native.engine for similar purpose, I guess? Should we remove that one?

@glipner can you reolve conflict? Let's merge it once done.

@glipner Can you add a description to configuration.md? It's better to put an example how to use the feature to offload one SQL there. That will be very useful

I plan to address all of the changes proposed, just busy with other things right now. Expect to be able to give it some time next week.

I plan to address all of the changes proposed, just busy with other things right now. Expect to be able to give it some time next week.

Nevermind, I will edit your PR to address the variable naming issues. Let's get this one merged and you can raise another patch for other improvement if you think is needed

thank you @zhztheplayer and @glipner !


[Feature] how do I change the default language

I’m trying to change the default CN language to EN? Thanks

The language is auto detected by your browser, if your language is not supported yet, it will use CN.

@blkluv
Because I did not provide other languages' built-in templates, you can submit a pr with en(or any other langs) built-in templates inside.


optional tuples breaks codegen

schema https://gist.github.com/pyramation/f6c5cb37a13ed461fd7cbbcf7b13422b
culprit:
              "start_after": {
                "type": [
                  "array",
                  "null"
                ],
                "items": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "string"
                  }
                ],
                "maxItems": 2,
                "minItems": 2
              }

should be fixed with #66

Sadly, the error seems to persist after the version bump: https://github.com/grod220/ts-codegen-example

I left one case out — please try now! thanks @grod220

Sorry, but think I found a follow up issue with the types is generates for this. It generates something like:
import { ArrayOf_SharesResponseItem } from "./AccountNft.types";

export interface AccountNftReadOnlyInterface {
  allDebtShares: () => Promise<ArrayOfSharesResponseItem>;
}

This does not compile because the import has an underscore _ in the name and the type does not.


eCAL HDF5: Split-Size option is broken

Bug
Since the one-file-per-channel option was introduced, eCAL HDF5 fails to split the HDF5 files. This issue exists in the API itself and in the eCAL Recorder.
I assume, the issue exists somewhere around here:
https://github.com/eclipse-ecal/ecal/blob/fd4295852bfc09cb78d1f6c5db1c9f5a020a5242/contrib/ecalhdf5/src/eh5_meas_file_writer_v5.cpp#L330
To Reproduce

Set the split-size in eCAL Rec to something small
Record a big topic with eCAL REc
The files are not splitted any more

Environment

eCAL Master (2022-09-27)
Windows, but probably any other OS as well

After analyzing the issue, the problem seems to be caused by converting the splitsize into bytes twice.
Once here void eCAL::eh5::HDF5MeasDir::SetMaxSizePerFile(size_t size) and here
void eCAL::eh5::HDF5MeasFileWriterV5::SetMaxSizePerFile(size_t size).
One fix for it would be to modify the API to do not convert it twice.
The other solution which is better for consistency is to modify the call for the second method in such a way that is receives the size in MB.

I think both classes inherit from the same abstract interface class, so they must have the same API. So I think your latter idea is the proper way to fix it.
If you are already at it, maybe you could also incorporate the unit in the parameter name, e.g. by renaming it to max_file_size_mib or similar.


Skin fixes

Some simple skins load fine, but more complex models (such as RiggedFigure.glb) are completely busted.

finally solved! we werent storing the joint order when importing skins. https://github.com/unavi-xyz/gltf_kun/commit/410efc7e57f023d1b5b160370312164e79d433ea


[SUPPORT] Hive Sync issues on deletes and non partitioned table

Tips before filing an issue

Have you gone through our FAQs?
YES

Join the mailing list to engage in conversations and get faster support at<EMAIL_ADDRESS>Part of the Slack groups. Did not find resolution there.

If you have triaged this as a bug, then file an issue directly.
I am not sure this is a bug but after the analysis we can check.

Describe the problem you faced
I am working on unit tests for some of the operations we would perform. I see my tests failing for the below 2 scenarios:

Hive Table is not updated when DELETE operation is called on the dataset.
Hive Table is not updated (getting empty table) when no partitions are specified.

Details on Issue 1:
I am trying to sync a hive table on upsert (works fine) and on delete (does not work) in my unit tests. As per the doc Hudi_Writing-Data, we need to use GlobalDeleteKeyGenerator class for delete:

classOf[GlobalDeleteKeyGenerator].getCanonicalName (to be used when OPERATION_OPT_KEY is set to DELETE_OPERATION_OPT_VAL)

However, when I use this class I get the error:

“Cause: java.lang.InstantiationException: org.apache.hudi.keygen.GlobalDeleteKeyGenerator”

These are the hudi properties set on save:
(hoodie.datasource.hive_sync.database,default)
(hoodie.combine.before.insert,true)
(hoodie.insert.shuffle.parallelism,2)
(hoodie.datasource.write.precombine.field,timestamp)
(hoodie.datasource.hive_sync.partition_fields,partition)
(hoodie.datasource.hive_sync.use_jdbc,false)
(hoodie.datasource.hive_sync.partition_extractor_class,org.apache.hudi.keygen.GlobalDeleteKeyGenerator)
(hoodie.delete.shuffle.parallelism,2)
(hoodie.datasource.hive_sync.table,TestHudiTable)
(hoodie.index.type,GLOBAL_BLOOM)
(hoodie.datasource.write.operation,DELETE)
(hoodie.datasource.hive_sync.enable,true)
(hoodie.datasource.write.recordkey.field,id)
(hoodie.table.name,TestHudiTable)
(hoodie.datasource.write.table.type,COPY_ON_WRITE)
(hoodie.datasource.write.hive_style_partitioning,true)
(hoodie.upsert.shuffle.parallelism,2)
(hoodie.cleaner.commits.retained,15)
(hoodie.datasource.write.partitionpath.field,partition)
(hoodie.datasource.hive_sync.database,default)
(hoodie.combine.before.insert,true)
(hoodie.embed.timeline.server,false)
(hoodie.insert.shuffle.parallelism,2)
(hoodie.datasource.write.precombine.field,timestamp)
(hoodie.datasource.hive_sync.partition_fields,partition)
(hoodie.datasource.hive_sync.use_jdbc,false)
(hoodie.datasource.hive_sync.partition_extractor_class,org.apache.hudi.keygen.GlobalDeleteKeyGenerator)
(hoodie.delete.shuffle.parallelism,2)
(hoodie.datasource.hive_sync.table,TestHudiTable)
(hoodie.index.type,GLOBAL_BLOOM)
(hoodie.datasource.write.operation,DELETE)
(hoodie.datasource.hive_sync.enable,true)
(hoodie.datasource.write.recordkey.field,id)
(hoodie.table.name,TestHudiTable)
(hoodie.datasource.write.table.type,COPY_ON_WRITE)
(hoodie.datasource.write.hive_style_partitioning,true)
(hoodie.upsert.shuffle.parallelism,2)
(hoodie.cleaner.commits.retained,15)
(hoodie.datasource.write.partitionpath.field,partition)

if I switch to MultiPartKeysValueExtractor class, the deletes are not propagated to hive table. The hudi read - spark.read.format(“hudi”).load(BasePath) has the right data where the id is deleted but spark.table(“TableName”) is not consistent and still has the id which was supposed to be deleted. For example, id1 is deleted in Hudi but still in Hive table:
spark.read.format("hudi").load(<BasePath>)
+-------------------+--------------------+------------------+----------------------+---------------------------------------------------------------------+---+---------+---------+-----+
|_hoodie_commit_time|_hoodie_commit_seqno|_hoodie_record_key|_hoodie_partition_path|_hoodie_file_nam                                                   |id |timestamp|partition|dat|
+-------------------+--------------------+------------------+----------------------+---------------------------------------------------------------------+---+---------+---------+-----+
|20210528125210     |20210528125210_0_3  |id2               |partition=p1          |9b3aae86-e4ed-4bfa-b6cd-ee41db11ac15-0_0-23-26_20210528125210.parquet|id2|1        |p1       |data2|
|20210528125210     |20210528125210_1_1  |id3               |partition=p2          |a53dba79-90a2-4370-8637-e39301b4c10c-0_1-23-27_20210528125210.parquet|id3|3        |p2       |data3|
+-------------------+--------------------+------------------+----------------------+---------------------------------------------------------------------+---+---------+---------+-----+

spark.table(<TableName>).show(false) //id1 supposed to be deleted, class used is MultiPartKeysValueExtractor, getting error with GlobalDeleteKeyGenerator.
+---+---------+-----+---------+
|id |timestamp|dat|partition|
+---+---------+-----+---------+
|id1|1        |data1|p1       |
|id2|1        |data2|p1       |
|id3|3        |data3|p2       |
+---+---------+-----+---------+

To Reproduce
Steps to reproduce the behavior:
  def getSnapshotData: Dataset[TestData] = {
    Seq(
      TestData(id = "id1", timestamp = 1, partition = "p1", data = "data1"),
      TestData(id = "id2", timestamp = 1, partition = "p1", data = "data2"),
      TestData(id = "id3", timestamp = 3, partition = "p2", data = "data3")
    ).toDS
  }

val hudiOptions = Map("hoodie.datasource.hive_sync.database" -> "default", "hoodie.combine.before.insert" -> "true", "hoodie.embed.timeline.server" -> "false", "hoodie.insert.shuffle.parallelism" -> "2", "hoodie.datasource.write.precombine.field" -> "timestamp", "hoodie.datasource.hive_sync.partition_fields" -> "partition", "hoodie.datasource.hive_sync.use_jdbc" -> "false", "hoodie.datasource.hive_sync.partition_extractor_class" -> "org.apache.hudi.hive.MultiPartKeysValueExtractor", "hoodie.datasource.hive_sync.table" -> "TestHudiTable", "hoodie.index.type" -> "GLOBAL_BLOOM", "hoodie.datasource.write.operation" -> "UPSERT", "hoodie.datasource.hive_sync.enable" -> "true", "hoodie.datasource.write.recordkey.field" -> "id", "hoodie.table.name" -> "TestHudiTable", "hoodie.datasource.write.table.type" -> "COPY_ON_WRITE", "hoodie.datasource.write.hive_style_partitioning" -> "true", "hoodie.upsert.shuffle.parallelism" -> "2", "hoodie.cleaner.commits.retained" -> "15", "hoodie.datasource.write.partitionpath.field" -> "partition")

snapshot.write.mode("overwrite").options(hudiOptions).format("hudi").save(<BasePath>)

val deleteDF = snapshot.filter("id = 'id1'")

val deleteHudiOptions = Map("hoodie.datasource.hive_sync.database" -> "default", "hoodie.combine.before.insert" -> "true", "hoodie.insert.shuffle.parallelism" -> "2", "hoodie.datasource.write.precombine.field" -> "timestamp", "hoodie.datasource.hive_sync.partition_fields" -> "partition", "hoodie.datasource.hive_sync.use_jdbc" -> "false", "hoodie.datasource.hive_sync.partition_extractor_class" -> "org.apache.hudi.keygen.GlobalDeleteKeyGenerator", "hoodie.delete.shuffle.parallelism" -> "2", "hoodie.datasource.hive_sync.table" -> "TestHudiTable", "hoodie.index.type" -> "GLOBAL_BLOOM", "hoodie.datasource.write.operation" -> "DELETE", "hoodie.datasource.hive_sync.enable" -> "true", "hoodie.datasource.write.recordkey.field" -> "id", "hoodie.table.name" -> "TestHudiTable", "hoodie.datasource.write.table.type" -> "COPY_ON_WRITE", "hoodie.datasource.write.hive_style_partitioning" -> "true", "hoodie.upsert.shuffle.parallelism" -> "2", "hoodie.cleaner.commits.retained" -> "15", "hoodie.datasource.write.partitionpath.field" -> "partition", "hoodie.datasource.hive_sync.database" -> "default", "hoodie.combine.before.insert" -> "true", "hoodie.embed.timeline.server" -> "false", "hoodie.insert.shuffle.parallelism" -> "2", "hoodie.datasource.write.precombine.field" -> "timestamp", "hoodie.datasource.hive_sync.partition_fields" -> "partition", "hoodie.datasource.hive_sync.use_jdbc" -> "false", "hoodie.datasource.hive_sync.partition_extractor_class" -> "org.apache.hudi.keygen.GlobalDeleteKeyGenerator", "hoodie.delete.shuffle.parallelism" -> "2", "hoodie.datasource.hive_sync.table" -> "TestHudiTable", "hoodie.index.type" -> "GLOBAL_BLOOM", "hoodie.datasource.write.operation" -> "DELETE", "hoodie.datasource.hive_sync.enable" -> "true", "hoodie.datasource.write.recordkey.field" -> "id", "hoodie.table.name" -> "TestHudiTable", "hoodie.datasource.write.table.type" -> "COPY_ON_WRITE", "hoodie.datasource.write.hive_style_partitioning" -> "true", "hoodie.upsert.shuffle.parallelism" -> "2", "hoodie.cleaner.commits.retained" -> "15", "hoodie.datasource.write.partitionpath.field" -> "partition")

deleteDF.write.mode("append").options(deleteHudiOptions).format("hudi").save(<BasePath>)

Expected behavior
Expecting to delete records and sync the information in hive.
Environment Description
Hudi version : 0.8
Spark version : 2.4
Hive version : 2.5
Hadoop version : 2.5
Storage (HDFS/S3/GCS..) : Local testing. Production datasets in S3.
Running on Docker? (yes/no) : no
Stacktrace
 - should hard delete records from hudi table with hive sync *** FAILED *** (24 seconds, 49 milliseconds)
Cause: java.lang.NoSuchMethodException: org.apache.hudi.keygen.GlobalDeleteKeyGenerator.<init>()
[scalatest]   at java.lang.Class.getConstructor0(Class.java:3110)
[scalatest]   at java.lang.Class.newInstance(Class.java:412)
[scalatest]   at org.apache.hudi.hive.HoodieHiveClient.<init>(HoodieHiveClient.java:98)
[scalatest]   at org.apache.hudi.hive.HiveSyncTool.<init>(HiveSyncTool.java:69)
[scalatest]   at org.apache.hudi.HoodieSparkSqlWriter$.org$apache$hudi$HoodieSparkSqlWriter$$syncHive(HoodieSparkSqlWriter.scala:391)
[scalatest]   at org.apache.hudi.HoodieSparkSqlWriter$$anonfun$metaSync$2.apply(HoodieSparkSqlWriter.scala:440)
[scalatest]   at org.apache.hudi.HoodieSparkSqlWriter$$anonfun$metaSync$2.apply(HoodieSparkSqlWriter.scala:436)
[scalatest]   at scala.collection.mutable.HashSet.foreach(HashSet.scala:78)
[scalatest]   at org.apache.hudi.HoodieSparkSqlWriter$.metaSync(HoodieSparkSqlWriter.scala:436)
[scalatest]   at org.apache.hudi.HoodieSparkSqlWriter$.commitAndPerformPostOperations(HoodieSparkSqlWriter.scala:497)
[scalatest]   at org.apache.hudi.HoodieSparkSqlWriter$.write(HoodieSparkSqlWriter.scala:222)
[scalatest]   at org.apache.hudi.DefaultSource.createRelation(DefaultSource.scala:145)
[scalatest]   at org.apache.spark.sql.execution.datasources.SaveIntoDataSourceCommand.run(SaveIntoDataSourceCommand.scala:45)
[scalatest]   at org.apache.spark.sql.execution.command.ExecutedCommandExec.sideEffectResult$lzycompute(commands.scala:70)
[scalatest]   at org.apache.spark.sql.execution.command.ExecutedCommandExec.sideEffectResult(commands.scala:68)
[scalatest]   at org.apache.spark.sql.execution.command.ExecutedCommandExec.doExecute(commands.scala:86)
[scalatest]   at org.apache.spark.sql.execution.SparkPlan$$anonfun$execute$1.apply(SparkPlan.scala:131)
[scalatest]   at org.apache.spark.sql.execution.SparkPlan$$anonfun$execute$1.apply(SparkPlan.scala:127)
[scalatest]   at org.apache.spark.sql.execution.SparkPlan$$anonfun$executeQuery$1.apply(SparkPlan.scala:155)
[scalatest]   at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:151)
[scalatest]   at org.apache.spark.sql.execution.SparkPlan.executeQuery(SparkPlan.scala:152)
[scalatest]   at org.apache.spark.sql.execution.SparkPlan.execute(SparkPlan.scala:127)
[scalatest]   at org.apache.spark.sql.execution.QueryExecution.toRdd$lzycompute(QueryExecution.scala:83)
[scalatest]   at org.apache.spark.sql.execution.QueryExecution.toRdd(QueryExecution.scala:81)
[scalatest]   at org.apache.spark.sql.DataFrameWriter$$anonfun$runCommand$1.apply(DataFrameWriter.scala:676)
[scalatest]   at org.apache.spark.sql.DataFrameWriter$$anonfun$runCommand$1.apply(DataFrameWriter.scala:676)
[scalatest]   at org.apache.spark.sql.execution.SQLExecution$$anonfun$withNewExecutionId$1.apply(SQLExecution.scala:80)
[scalatest]   at org.apache.spark.sql.execution.SQLExecution$.withSQLConfPropagated(SQLExecution.scala:127)
[scalatest]   at org.apache.spark.sql.execution.SQLExecution$.withNewExecutionId(SQLExecution.scala:75)
[scalatest]   at org.apache.spark.sql.DataFrameWriter.runCommand(DataFrameWriter.scala:676)
[scalatest]   at org.apache.spark.sql.DataFrameWriter.saveToV1Source(DataFrameWriter.scala:285)
[scalatest]   at org.apache.spark.sql.DataFrameWriter.save(DataFrameWriter.scala:271)
[scalatest]   at org.apache.spark.sql.DataFrameWriter.save(DataFrameWriter.scala:229)
[scalatest]   at com.amazon.sm.hudi.framework.common.TestUtils.writeHudiData(TestUtils.scala:148)

Details on Issue 2:
I am trying to sync a hive table on upsert in my unit tests. Test was for a Non partitioned table. As per the doc Hudi_Non_partitioned, we need to set the below properties for Non-partitioned tables:
hoodie.datasource.write.keygenerator.class=org.apache.hudi.keygen.NonpartitionedKeyGenerator
hoodie.datasource.hive_sync.partition_extractor_class=org.apache.hudi.hive.NonPartitionedExtractor

However, even after setting the above properties, hive table shows empty records. I found a related issue in GitHub_Issue but it is related to complex record key for non-partitioned table. Support for Complex key in Non partitioned table is also required for us and I will track the above SIM for the support.
These are the hudi properties set on save:
(hoodie.datasource.hive_sync.database,default)
(hoodie.combine.before.insert,true)
(hoodie.embed.timeline.server,false)
(hoodie.insert.shuffle.parallelism,2)
(hoodie.datasource.write.precombine.field,timestamp)
(hoodie.datasource.hive_sync.use_jdbc,false)
(hoodie.datasource.hive_sync.partition_extractor_class,org.apache.hudi.hive.NonPartitionedExtractor)
(hoodie.datasource.hive_sync.table,TestHudiTable)
(hoodie.index.type,GLOBAL_BLOOM)
(hoodie.datasource.write.operation,UPSERT)
(hoodie.datasource.hive_sync.enable,true)
(hoodie.datasource.write.recordkey.field,id)
(hoodie.table.name,TestHudiTable)
(hoodie.datasource.write.table.type,COPY_ON_WRITE)
(hoodie.datasource.write.hive_style_partitioning,true)
(hoodie.datasource.write.keygenerator.class,org.apache.hudi.keygen.NonpartitionedKeyGenerator)
(hoodie.upsert.shuffle.parallelism,2)
(hoodie.cleaner.commits.retained,15)

Results:
spark.read.format("hudi").load(<BasePath>)
+-------------------+--------------------+------------------+----------------------+---------------------------------------------------------------------+---+---------+---------+-----+
|_hoodie_commit_time|_hoodie_commit_seqno|_hoodie_record_key|_hoodie_partition_path|_hoodie_file_name                                                    |id |timestamp|partition|data |
+-------------------+--------------------+------------------+----------------------+---------------------------------------------------------------------+---+---------+---------+-----+
|20210528130615     |20210528130615_0_1  |id1               |                      |d739bf7d-9152-4565-ab01-9bf3e96d9997-0_0-29-31_20210528130615.parquet|id1|1        |p1       |data1|
|20210528130615     |20210528130615_0_2  |id3               |                      |d739bf7d-9152-4565-ab01-9bf3e96d9997-0_0-29-31_20210528130615.parquet|id3|3        |p2       |data3|
|20210528130615     |20210528130615_0_3  |id2               |                      |d739bf7d-9152-4565-ab01-9bf3e96d9997-0_0-29-31_20210528130615.parquet|id2|1        |p1       |data2|
+-------------------+--------------------+------------------+----------------------+---------------------------------------------------------------------+---+---------+---------+-----+

spark.table(<TableName>).show(false)
+---+---------+---------+----+
|id |timestamp|partition|data|
+---+---------+---------+----+
+---+---------+---------+----+

To Reproduce
Steps to reproduce the behavior:
  def getSnapshotData: Dataset[TestData] = {
    Seq(
      TestData(id = "id1", timestamp = 1, partition = "p1", data = "data1"),
      TestData(id = "id2", timestamp = 1, partition = "p1", data = "data2"),
      TestData(id = "id3", timestamp = 3, partition = "p2", data = "data3")
    ).toDS
  }

val hudiOptions = Map("hoodie.datasource.hive_sync.database" -> "default", "hoodie.combine.before.insert" -> "true", "hoodie.embed.timeline.server" -> "false", "hoodie.insert.shuffle.parallelism" -> "2", "hoodie.datasource.write.precombine.field" -> "timestamp", "hoodie.datasource.hive_sync.use_jdbc" -> "false", "hoodie.datasource.hive_sync.partition_extractor_class" -> "org.apache.hudi.hive.NonPartitionedExtractor", "hoodie.datasource.hive_sync.table" -> "TestHudiTable", "hoodie.index.type" -> "GLOBAL_BLOOM", "hoodie.datasource.write.operation" -> "UPSERT", "hoodie.datasource.hive_sync.enable" -> "true", "hoodie.datasource.write.recordkey.field" -> "id", "hoodie.table.name" -> "TestHudiTable", "hoodie.datasource.write.table.type" -> "COPY_ON_WRITE", "hoodie.datasource.write.hive_style_partitioning" -> "true", "hoodie.datasource.write.keygenerator.class" -> "org.apache.hudi.keygen.NonpartitionedKeyGenerator", "hoodie.upsert.shuffle.parallelism" -> "2", "hoodie.cleaner.commits.retained" -> "15")

snapshot.write.mode("overwrite").options(hudiOptions).format("hudi").save(<BasePath>)

Expected behavior
Expecting to see the records in Hive table for non partitioned dataset.
Environment Description
Hudi version : 0.8
Spark version : 2.4
Hive version : 2.5
Hadoop version : 2.5
Storage (HDFS/S3/GCS..) : Local testing. Production datasets in S3.
Running on Docker? (yes/no) : no

@pranotishanbhag Thanks for providing reproducible steps.
@nsivabalan Do you have any quick insights into #issue1 described above before I dive into both ?

An update here:
For the first issue, I changed the class to MultiPartKeysValueExtractor and tested it on the EMR cluster. It works as expected. Both hive and hudi reads and showing the right data. I however see the same exception with GlobalDeleteKeyGenerator.
Please take a look and update the hudi doc with the right KeyGenerator for hard delete usecase.

I was able to get around the 2nd issue by creating the hive db with location information:
spark.sql("""CREATE DATABASE test_hudi_db LOCATION "s3://bucket/pranoti/hudi/datasets/test1/test_hudi_db"""")
I was able to save the non-partitioned table in this DB after this. May be some changes are needed in the code. My metastore is Glue.

@pranotishanbhag We will add the right documentation for the GlobalDeleteKeyGenerator. Can you please expand on what code changes are needed for the second issue ?

The second problem still exists.
Setting
hoodie.datasource.write.keygenerator.class=org.apache.hudi.keygen.NonpartitionedKeyGenerator
hoodie.datasource.hive_sync.partition_extractor_class=org.apache.hudi.hive.NonPartitionedExtractor

for non partitioned data doesn't show data after syncing to Glue. Querying data shows empty results while the parquet file has all the columns. The schema in Glue shows "Partition(0)" against the column it was synced but probably doesn't show data because all partitions are empty. If I edit the Glue table schema and remove Partition field, it starts showing up the data correctly.
The workaround for me was to use a org.apache.hudi.keygen.SimpleKeyGenerator with a constant column. (I was using Debezium, so I had db_shard_source_partition column to partition with)

@pranotishanbhag
why do you have to use "GlobalDeleteKeyGenerator" to delete records?
For me, I use the same key for INSERT/UPDATE/DELETE for a table.


New Device (Matter Switch) Cync Paddle Dimmer

Check all that apply
Type of Change

[X] WWST Certification Request

If this is your first time contributing code:

[ ] I have reviewed the README.md file
[ ] I have reviewed the CODE_OF_CONDUCT.md file
[ ] I have signed the CLA

[ ] I plan on entering a WWST Certification Request or have entered a request through the WWST Certification console at developer.smartthings.com

[ ] Bug fix
[ ] New feature
[ ] Refactor

Checklist

[X ] I have performed a self-review of my code
[ ] I have commented my code in hard-to-understand areas
[ ] I have verified my changes by testing with a device or have communicated a plan for testing
[ ] I am adding new behavior, such as adding a sub-driver, and have added and run new unit tests to cover the new behavior

Description of Change
New fingerprint addition for a new Matter Device, the Cync Paddle Dimmer.
I was unable to verify this devices Matter Device Type in the DCL.
Summary of Completed Tests

Hi, I think this PR will be good to go once the formatting issue I mentioned is fixed!


Remove mergify

GitHub has added a few features, such as "merge on green", reducing the appeal of Mergify.
Signed-off-by: Juraci Paixão Kröhling<EMAIL_ADDRESS>

Can gh also  dismiss state reviews?

Yes, here:

I went ahead and enabled it preemptively. If you think we shouldn't, disable it back.
cc @jaegertracing/jaeger-maintainers


Inform user that holding alt opens a new pane

Summary of the Pull Request
Adds a tooltip to the new tab button to let the user know that holding alt will open a new pane instead

PR Checklist

[x] Closes #7851
[x] I work here

Validation Steps Performed

Paging @cinnamon-msft for advice on the text in the tooltip

should we converge the wording with the URL one? it's simple, and puts the keyboard shortcut first. alt+click to split the current window

should we converge the wording with the URL one? it's simple, and puts the keyboard shortcut first. alt+click to split the current window

I dig this, just with proper casing, so Alt+Click to split the current window

unfortunately we chose to do all lowercase for TC:
src\cascadia\TerminalControl\Resources\en-US\Resources.resw
179:    <value>ctrl+click to follow link</value>

unfortunately we chose to do all lowercase for TC:
src\cascadia\TerminalControl\Resources\en-US\Resources.resw
179:    <value>ctrl+click to follow link</value>

Want me to make a quick PR to fix these up? They should technically have the uppercase first letter.

sure. might cause a relocalization unfortunately!

We should also add tooltips to the profiles inside the dropdown with the same message.


not work min-age for data-table

in what there can be an error in a configuration?
do not go to the table in the archive
[common]
listen = ":9090"
max-cpu = 8
# Daemon returns empty response if query matches any of regular expressions
# target-blacklist = ["^not_found.*"]

[clickhouse]
# You can add user/password (http://user:password@localhost:8123) and any clickhouse options (GET-parameters) to url
# It is recommended to create read-only user
url = "http://localhost:8123"
data-table = "graphite.points_cluster"
tree-table = "graphite.tree_cluster"
# Optional table with daily series list.
# Useful for installations with big count of short-lived series
date-tree-table = "graphite.series_daily_cluster"
#date-tree-table = ""
# Supported several schemas of date-tree-table:
# 1 (default): table only with Path, Date, Level fields. Described here: https://habrahabr.ru/company/avito/blog/343928/
# 2: table with Path, Date, Level, Deleted, Version fields. Table type "series" in the carbon-clickhouse
date-tree-table-version = 2
rollup-conf = "/etc/graphite-clickhouse/rollup.xml"
# `tagged` table from carbon-clickhouse. Required for seriesByTag
tagged-table = ""
# Add extra prefix (directory in graphite) for all metrics
extra-prefix = ""
data-timeout = "30s"
tree-timeout = "30s"

[carbonlink]
server = ""
threads-per-request = 10
connect-timeout = "50ms"
query-timeout = "50ms"
total-timeout = "500ms"

[[data-table]]
table = "graphite.points_cluster"
max-age = "240h"
reverse = true
rollup-conf = "/etc/graphite-clickhouse/rollup.xml"

[[data-table]]
table = "graphite.points_archive_cluster"
min-age = "240h"
reverse = true
rollup-conf = "/etc/graphite-clickhouse/rollup_archive.xml"

[[logging]]
logger = ""
file = "/var/log/graphite-clickhouse/graphite-clickhouse.log"
level = "info"
encoding = "mixed"
encoding-time = "iso8601"
encoding-duration = "seconds"

You don't need to specify min-age in this configuration

min-age checks expression until < now-{min-age}. Typical queries like from=-30days&until=now don't correspond to this condition .
Try configuration
[[data-table]]
table = "graphite.points_cluster"
max-age = "240h"
reverse = true
rollup-conf = "/etc/graphite-clickhouse/rollup.xml"

[[data-table]]
table = "graphite.points_archive_cluster"
reverse = true
rollup-conf = "/etc/graphite-clickhouse/rollup_archive.xml"

Requests for fresh data will be sent to points_cluster table and all other will be sent to points_archive_cluster

Working! Thank you!


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-1.x" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 2866

Questions ?
Please refer to the Backport tool documentation


:penguin: Disable make cache timer on fedora

What this PR does / why we need it:
                 all | --> RUN systemctl disable dnf-makecache.timer
                 all | Removed "/etc/systemd/system/timers.target.wants/dnf-makecache.timer".

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #2664

I cancelled the jobs as they made no sense once the image is built.


Docs may list incorrect event for worker start

The docs at http://socketcluster.io/#!/docs/api-socketcluster list the event for a worker starting as "worker" but it seems to be "workerStart". Or maybe I'm reading it wrong :)

@amekkawi Yep, that was out of date. I fixed it now. Thanks.


Not having a formatter set stops other before-save-hooks from being run

Observed behavior
When saving a buffer that doesn't have an associated formatter (e.g. conf-mode) with the +onsave module option enabled,+format-buffer will throw an error blocking other before-save-hooks such as ws-butler-before-save from behind run.
Expected behavior
The other hooks should still be run.
Steps to reproduce

Open a .conf file.
(setq before-save-hook '(+format-buffer t ws-butler-before-save)) (in case these weren't set already).
Append trailing whitespace to some line.
Save the buffer.

System information

Click to expand

OS: gnu/linux (x86_64-pc-linux-gnu)
Emacs: 26.1 (jul 05, 2018)
Doom: 2.0.9 (develop daccdc3e53e6a095e56f149e4cfe2545030123b9)
Graphic display: t (daemon: t)
System features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 MODULES THREADS LIBSYSTEMD LCMS2
Details:elc count: 28
uname -a:  Linux desktop 4.18.7-arch1-1-ARCH #1 SMP PREEMPT Sun Sep 9 11:27:58 UTC 2018 x86_64 GNU/Linux
modules:   (:feature eval (evil +everywhere) file-templates (lookup +devdocs +docsets) snippets spellcheck (syntax-checker +childframe) workspaces :completion (helm +fuzzy) :ui doom-modeline doom-quit evil-goggles hl-todo nav-flash treemacs (popup +all +defaults) vc-gutter vi-tilde-fringe window-select :editor multiple-cursors rotate-text :emacs ediff electric eshell hideshow imenu term vc :tools ein docker gist make magit pdf prodigy rgb upload :lang data emacs-lisp ess (haskell +intero) javascript latex (markdown +pandoc) (org +attach +babel +capture +export +present) php python rest rust (sh +fish) web :app :config)
packages:  (atomic-chrome company-lsp (company-racer :ignore t :disable t) ein evil-lion ggtags kotlin-mode (lsp-css :recipe (lsp-css :fetcher github :repo emacs-lsp/lsp-css)) lsp-intellij lsp-mode lsp-rust lsp-ui page-break-lines phpcbf pkgbuild-mode (racer :ignore t :disable t))
exec-path: (~/.cargo/bin ~/.local/bin /usr/local/sbin /usr/local/bin /usr/bin /usr/lib/emacs/26.1/x86_64-pc-linux-gnu)

+format-buffer is not the correct function to use. It's a public function that errors if anything goes wrong (e.g. no formatter is specified).
The correct methods to enable formatting when saving are:

Add +format|enable-on-save to the mode's hook. e.g.
(add-hook 'python-mode-hook #'+format|enable-on-save)

Or add +format|buffer to before-save-hook, either globally or locally, e.g.
(add-hook 'before-save-hook #'+format|buffer)
;; or buffer locally:
(add-hook 'before-save-hook #'+format|buffer nil t)

Use the +onsave module flag for the :editor format module. This is the equivalent of adding +format|buffer to the global before-save-hook, except +format-on-save-enabled-modes serves as its white/blacklist.

I made a typo! +format-buffer should indeed have been +format|buffer. The problem is that +format|buffer doesn't handle thrown errors like I think it should. For example, running (+format|buffer) in my i3 config file will still throw a user error:
user-error: Don’t know how to format ’conf-space-mode’ code

This shouldn't be a problem, but when this happens during (run-hooks 'before-save-hook) in Emacs' built in file.el.gz it will block any remaining functions (like the default ws-butler-before-save) from being run.

You are correct. I've made a few changes in 6a44cf0 that should resolve your issue. Let me know if that isn't the case and I'll reopen this.


Docker Build Documentation

Hi,
I am currently trying to build the docker image but I am getting the following errors:
$ sudo docker cp install/bin/ ${OPENUPF_IMAGE_NAME}:/opt/upf/bin
lstat /home/ec2-user/openupf/install/bin: no such file or directory
$ sudo docker cp install/lib/ ${OPENUPF_IMAGE_NAME}:/opt/upf/lib
lstat /home/ec2-user/openupf/install/lib: no such file or directory

$ ls
build  CMakeLists.txt  config  core  doc  images  install  libs  LICENSE  README.md
.
.
$ ls install/
script

There is no bin or lib in the install folder.

Image build works now, I missed the build step..

I have compiled the code on RHEL-8.8. However, when I am trying to run using start_upf.sh script, It is pulling the docker image for air5005/upu instead of taking the compiled code and creating redhat image from it. Please let me know how can I run UPF on Redhat-8


Datastore Reactive Crud Repo boilerplate registrar and factory classes

these are mostly boilerplate registration and factory classes for the reactive repo.
They are mirror images of the standard repo boilerplate.
includes unit tests.

The description sounds like for a PR. :smile:

Closing, since we decided not to pursue reactive datastore.


Stabilize entity encoder spec

should fix https://github.com/http4s/http4s/issues/4582

Why did this fail under IO?  I haven't yet understood the underlying problem.

checking the logs the contravariant.invariant composition failed after 1.167s but the code has .unsafeRunTimed(1.second) so this just ran into timeouts. no more async code, no more timeouts


Updated scoring example

Updated scoring query example with a term that has an observable effect
Closes https://github.com/quickwit-oss/quickwit/issues/2790

@evanxg852000 can you update cli_doc_ext.toml too?

Oops! That should even be the first file to update.


Cannot call LoginFragment with a null calling package. This can occur if the launchMode of the caller is singleInstance.

Hello!
I am trying to use your lib and when creating the Intent to open it, it should validate the Session or send the user to the Login Fragment so he can authorize the app.
The problem is it only works for the first time. When I refresh my fragment and tries to open the photo picker again, I get the following error:
"Cannot call LoginFragment with a null calling package. This can occur if the launchMode of the caller is singleInstance."
And I just use these lines to start the intent:
Intent intent = new Intent(this, FacebookPhotoPickerActivity.class);
startActivityForResult(intent, 1232);
Tried searching on StackOverflow for the error but couldn't get it working. Do you know how to solve it?

do you find any solution ?

@guimellon Have you got the solution?


Introduce xmsenum

Which issue this PR addresses:
Fixes https://msazure.visualstudio.com/AzureRedHatOpenShift/_workitems/edit/7409284/
What this PR does / why we need it:
Introduce x-ms-enum in the swagger generation.
Doc: https://github.com/Azure/autorest/tree/master/docs/extensions#x-ms-enum
x-ms-enum makes changing the api simpler in the future.
Follow up on existing PR: https://github.com/Azure/ARO-RP/pull/580
Test plan for issue:
Generate the API and clients and check whether the field is present.
Is there any documentation that needs to be updated for this PR?
https://github.com/Azure/autorest/tree/master/docs/extensions#x-ms-enum

@petrkotas  this needs to merge after https://github.com/Azure/ARO-RP/pull/915 gets in, so you can already base it ontop of it.
The main issue here is that this should be change old API. This should be applied to new API only.
We might want to stop generating old api at all if this is hard enough and keep it just for existence.

/apz run ci

/azp run ci

/azp refresh


enhance messages for command

Overview
Current commands provided by dl are cheap. Thus, this PR enhances them for users.

Codecov Report

Merging #21 (c8d9c3e) into main (b7d1fad) will decrease coverage by 0.14%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #21      +/-   ##
==========================================
- Coverage   77.07%   76.92%   -0.15%
==========================================
  Files           3        3
  Lines         157      156       -1
==========================================
- Hits          121      120       -1
  Misses         20       20
  Partials       16       16

Impacted Files
Coverage Δ

cli.go
77.21% <100.00%> (-0.29%)
:arrow_down:

Continue to review full report at Codecov.

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

This decrease has no effect on current test cases. Thus, ignore it.


ci: add bug report template

Resolve: #34

This change is

Codecov Report

Merging #35 (b00e831) into main (42b6106) will decrease coverage by 0.13%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #35      +/-   ##
==========================================
- Coverage   63.30%   63.17%   -0.14%
==========================================
  Files         124      124
  Lines       16740    16740
==========================================
- Hits        10597    10575      -22
- Misses       5615     5628      +13
- Partials      528      537       +9

Impacted Files
Coverage Δ

internal/storagenode/logstream/sequencer.go
89.65% <0.00%> (-2.88%)
:arrow_down:

internal/metarepos/storage.go
80.28% <0.00%> (-1.34%)
:arrow_down:

internal/storagenode/logstream/committer.go
81.85% <0.00%> (-1.07%)
:arrow_down:

internal/metarepos/raft.go
79.22% <0.00%> (-0.42%)
:arrow_down:

internal/metarepos/report_collector.go
77.94% <0.00%> (-0.14%)
:arrow_down:

internal/storagenode/logstream/executor.go
76.58% <0.00%> (+0.63%)
:arrow_up:

internal/storagenode/replication_server.go
80.00% <0.00%> (+4.00%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Add bool allowInaction for removing team invites

Suppress errors when removing an invite from a team when the invite doesn't exist.
cc @zapu you're in here a lot so I want to make sure you're aware of this behavior

thanks!

lol


Livereload inject causing buffering in start of stream

Hello! first big thanks for devd and modd!
I was working on a go web server that streams content back to the client when i noticed that browser got no data at all until a certain amount have been sent. First thought was to use http.Flusher but that did not works, then looked at TCP buffering and tcpdump but nothing. Then i tried without proxying thru devd and eveything worked.
After some digging in the devd source I figure out that it's caused most likely is the CopyInject code that buffers to be able to check for the marker.
Would it be possible to make the CopyInject smarter (only inject by content-type? be smarter when matching marker, send non-matching prefix etc?) or maybe make it possible enable/disable injection only for certain paths etc? something else?

Hi again. I tried to do a fix using a "ReplaceWriter" that did replacement on the fly and writes any non-matching prefix. It seemed to work fine until i realized the Content-Length header needs to be updated, which can't happen until the we know if the marker was found or not.
Maybe the easiest solution is to only do inject if Content-Type is HTML?


Error on downloading from github

getting this error in s3, hosted github
Uncaught Error: Head request failed to retrive file size on: github-cloud.s3.amazonaws.com. Could be because 1) Url is invalid, 2) request requires cookies

I getting same  problem too.
pls help. it's important


Fix race conditions using genome in Celery workers

When REFERENCE_MISMATCH_ABORT=True, using the Celery prefork
worker pool with concurrency at least 2, importing many VCF files
at the same time would yield errors like the following:
TaskError: ('invalid_observations', 'Sequence "G" does not match reference genome on "chrX" at position 74546623')

The reason for this was that file descriptors are inherited after
fork, and thus shared between worker processes. This caused race
conditions with seek and read operations on the genome FASTA file
because it was opened before forking.
The fix is to duplicate the open file object of the FASTA file
after forking.

For future reference, I investigated if this is also a problem with our Gunicorn workers. By default Gunicorn forks the worker processes before loading the application, so we don't have this problem.
There is however the preload_app (--preload) option, which loads the application before forking, and than I indeed see the same problem. It can be fixed by adding a post_fork hook to the Gunicorn config file:
def post_fork(server, worker):
    from varda import genome
    f = genome.faidx.file
    genome.faidx.file = open(f.name, f.mode)

With the eventlet worker pool (worker_class = 'worker_class' or -k eventlet) and without preload, I don't see the problem.


IS this project dead?

@pantsel Is this project dead? No commits for months.

Was thinking the same.

seems so

I thought major corporations are using this.

Guess there is a real gap when it is about 3rd-party (open source) Kong UI solutions (other than Kong Manager itself which is part of the Enterprise license)
The only other “more current” (but also not active) project I found was this one: https://github.com/pocketdigi/kong-admin-ui
Did someone else found something interesting or a new project with active collaborators? I'm almost thinking about building something by myself.

This repo seems to merging some PRs from pantsel issues.
https://github.com/leobeckp/konga

This repo seems to be merging some PRs opened here. https://github.com/leobeckp/konga

Do you know if it supports v3 of Kong? Issues cannot be raised against this repo?

Guess there is a real gap when it is about 3rd-party (open source) Kong UI solutions (other than Kong Manager itself which is part of the Enterprise license)
The only other “more current” (but also not active) project I found was this one: https://github.com/pocketdigi/kong-admin-ui
Did someone else found something interesting or a new project with active collaborators? I'm almost thinking about building something by myself.

I have made an alternative for myself UI https://github.com/ligreman/king

Guess there is a real gap when it is about 3rd-party (open source) Kong UI solutions (other than Kong Manager itself which is part of the Enterprise license)
The only other “more current” (but also not active) project I found was this one: https://github.com/pocketdigi/kong-admin-ui
Did someone else found something interesting or a new project with active collaborators? I'm almost thinking about building something by myself.

I have made an alternative UI for myself: https://github.com/ligreman/king

Amazing! Thanks for sharing!