Implement Activity Leak to negate validator attacks

Feature Request
Summary
Rather than just go down if lots of validators go offline lets implement a mechanism similar to Casper FFG.
Problem Definition
By implementing something similar to whats described we gain an ability to maintain some degree of liveness in the event of catastrophic failure.
Proposal
All the below is referenced from the eth2book
The idea for the inactivity leak was proposed in the original Casper FFG paper. The problem it addresses is that of how to recover finality (liveness, in some sense) in the event that over one-third of validators goes offline. Finality requires a majority vote from validators representing 2/3 of the total stake.
The mechanism works as follows. When loss of finality is detected the inactivity leak gradually reduces the stakes of validators who are not making attestations until, eventually, the participating validators control 2/3 of the remaining stake. They can then begin to finalise checkpoints once again.
This inactivity penalty mechanism is designed to protect the chain long-term in the face of catastrophic events (sometimes referred to as the ability to survive World War III). The result might be that the beacon chain could permanently split into two independent chains either side of a network partition, and this is assumed to be a reasonable outcome for any problem that can't be fixed in a few weeks. In this sense, the beacon chain formally prioritises availability over consistency. (You can't have both.)
In any case, it provides a powerful incentive for stakers to fix any issues they have and to get back online.

This is an interesting idea, but there is a very important point: in CometBFT we cannot change the validator set within a height of consensus. So, if 1/3 are down/inactive, we don't have progress in any way.
The proposed solution, as it is, should address the scenario where we have close to 1/3 down/inactive and we are barely passing blocks. In any case, who controls stake is the application (e.g., SDK), not CometBFT. Stake changes can occur whenever a block is committed and take 1 height to take effect.


SNOW-1438001: Add support for list values in Series.str.len

Which Jira issue is this PR addressing? Make sure that there is an accompanying issue to your PR.
<!---
In this section, please add a Snowflake Jira issue number.
<p>Note that if a corresponding GitHub issue exists, you should still include
the Snowflake Jira issue number. For example, for GitHub issue
https://github.com/snowflakedb/snowpark-python/issues/1400, you should
add "SNOW-1335071" here.
--->
Fixes SNOW-1438001

Fill out the following pre-review checklist:

[x] I am adding a new automated test(s) to verify correctness of my new code

[ ] If this test skips Local Testing mode, I'm requesting review from @snowflakedb/local-testing

[ ] I am adding new logging messages
[ ] I am adding a new telemetry message
[ ] I am adding new credentials
[ ] I am adding a new dependency
[ ] If this is a new feature/behavior, I'm adding the Local Testing parity changes.
[ ] I acknowledge that I have ensured my changes to be thread-safe. Follow the link for more information: Thread-safe Developer Guidelines

Please describe how your code solves the related issue.
Add support for list values in Series.str.len.

One question, otherwise LGTM: would this work for other arbitrary collections (dict/set/tuples)?

No, those will need additional logic.


Allow $MaxMessageSize to be omitted from configuraton

Update template to not emit $MaxMessageSize if attr is nil/false
Update README.md for attr that nil/false are now valid

Description
Allows specifying nil/false for node['rsyslog']['max_message_size'], so that $MaxMessageSize is not emitted into /etc/rsyslog.conf
Issues Resolved
https://github.com/sous-chefs/rsyslog/issues/196
Check List

[ ] A summary of changes made is included in the CHANGELOG under ## Unreleased
[ ] New functionality includes testing.
[ ] New functionality has been documented in the README if applicable.

Thanks for the PR @gmarler!, could you add an entry in the CHANGELOG then we can get this merged.

Working it...

It would be nice to have it set the var and see that the file would have been created with the value and another without. either chefspec or inspec is fine imo, your choice

Ok, added tests for when node['rsyslog']['max_message_size']:

Is explicitly set to nil
I explicitly set to '4k'

Let me know if the manner of testing is good for you, and if you want me to add another test for when the directive simply defaults (node['rsyslog']['max_message_size'] isn't set at all).

Released as: 9.2.0


Python

My first step with code-server was writing a simple "Hello, world!" in Python. Everything looks great, but the next step to execute my little code failed with
zsh: command not found: python

My attempt to install Python wasn't very successful:
apt-get update
Reading package lists... Done
E: List directory /var/lib/apt/lists/partial is missing. - Acquire (13: Permission denied)

Am I missing something the workflow, like write code in code-server container and execute it in another Python container approach?
Any help would be appreciated. Thanks!

Hi, there are two ways to install python:

sudo apt update && sudo apt install python
Clone this repo, open Dockerfile, and add python to the packages RUN command

First one is temporary and the second one is permanent. Whatever you choose is up to you; think of my repo as a template for you to modify to fit your needs.
I hope this helps!

Thank you for your quick reply. I just slapped my forehead very hard. sudo works. To my excuse: it was quite hot today in northern Germany and my brain seems to shut down at that temperature... (and I tried sudo in combination with another command that didn't work).

It's ok, we all get those days where our brain is just fried! It's actually pretty hot here in California, it's gonna hit over 100F (highest 40C).
Thanks for using my code-server image!


[cxx-interop] Do not attempt to export read accessors to C++

This triggers a crash. Unfortunately, adding support is not that straightforward so skipping these accessors for now.
rdar://134425834

@swift-ci please smoke test


Add support for Bevy ECS

It would be nice to have the event system use Bevy systems, so it's easy to use it in Bevy games.

Could be a plugin, maybe a system, just something that would allow for integration in Bevy.

I like the idea, but I think it doesn't belong to the message-io project itself. It think it should be another project that wraps this and makes this join.


chore: docusaurus build on Windows with GitHub actions

Motivation
Testing GitHub actions to build Windows for both v1 and v2 to prevent regression
all code is kinda self-made from reading https://help.github.com/en/actions/automating-your-workflow-with-github-actions
Seems to work well
Have you read the Contributing Guidelines on pull requests?
yes
Test Plan
TBD. CI should appear ??

Gonna release 2.0.0-alpha.39 soon for hotfix

@JoelMarcey is it okay to use GitHub actions ? Just making sure

Hmm relay’s one is on linux. We have that config on our circleci. I explicitly use gh actions since it supports windows build.
For normal build (on linux), we rely on netlify
I think its not a good idea yet to move to gh action since its still new and I notice slower build on gh actions than circleci. Im also more familiar with circleci and/or travis
Maybe worth a revisit in future

Its also hard for me to configure the move because we need to set the environment variable (such as crowdin api key). I also have limited access to this repo, example: “Setting”.

Mentioning that, I also dont have access to docusaurus crowdin api key 🤣 so I cant help on the move. The env is all hidden in circleci

Uhh .. github mobile beta didn't squash and merge the PR 😢

@endiliey I think we can get you access to the api key. Would that help you immediately?

@joelmarcey I think we dont need to do anything for now. The thing is, GitHub action requires full access to the repo to setup environment variable (in particular the “setting”). But I think that can be very dangerous. Lets stick with circleci for now


Support AWS KMS keys

I have a need to use an asymmetric key held in AWS KMS for signing. I have already started work on this change and I'm happy to submit a PR for it once complete, but I would love some feedback on how best to publish this (I can't be the only one who would use this change). If you think that it should be a separate fork or something that's totally fine. Just trying to contribute my changes back if possible.

Thanks for opening the issue. I think any functionality that ties directly into the AWS APIs is probably outside the scope of this library; ideally, if you want to share your code, you could publish it as a separate library, or provide a code sample here and I could include it as a submodule with its dependencies (like boto3) installed via a feature flag (pip install signxml[kms]).

Yeah, I love that answer. Unfortunately, the underlying reasons that I was going to have bandwidth to do this work has changed so we are no longer pursuing this change. I'll close this issue for now and perhaps circle back some time if it gains traction again. Sorry for the churn.


Add Edit Server modal for servers added manually (bsc#1080193)

Added the Edit Server modal for servers added manually. The work includes refactoring out the existing code that handles servers added manually to be it's own module and reusing it for the edit modal.
Also fixed the View Details modal so that it's look and feel is consistent with the Add and Edit modals.
The changes in CloudModalSummary and CsvImporter are fixes for lints complaints.

I verified that the behavior that @jeremy-moffitt found was an existing behavior in master. I'll see if I can include the fix in this change.


Simplify pen to mouse events logic

Switch to using the private Qt API for dealing with pen to mouse event translation. This does mean that liboxide will need to be recompiled as Qt versions start to change, but it's much simpler code and less prone to errors.

#320 superceses this.

3.0 will be a while still. I'll merge this for now.


Fix Broken link

Fixed broken link to disks documentation (last bullet of file).

@QuasarSE : Thanks for your contribution to the Azure documentation! The author, @azdocprs, has been notified to review your proposed change.

@cwatson-cat - Would you review the proposed changes?  Thanks

#sign-off Looks good @GitHubber17


Integromat now make.com

I'm new to this and trying to follow the instructions but it looks like integromat is now make.com.
Is it possible to update the readme as before I sign up for the core sub I want to make sure that that's the correct action to be able to download the blueprint?
many thanks

Update:
Actually just realised that in Step 4 "this repository" refers to GitHub hot make.  I've downloaded the *.json files now


Support arrow functions on events

Hi!
I using classes like this:
const Swiper = require('swiper').default;

class Homepage
{
    constructor() {
        this.initSwiper();
    }

    initSwiper() {
        let instance = new Swiper('.swiper-container', {
            init: false
        });

        // here i cant pass current class Homepage to loadBars, because now, current instance available only like `this`
        instance.on('reachEnd', swiper => { // expected param as current instance
            this.loadBars(swiper);
        });

        instance.init();
    }

    loadBars(swiper) {
        let loadedIds = swiper.slides.map(item => item.dataset.id);

        return $.get('/tab', { loadedIds }, ({ bars }) => {
            swiper.appendSlide($('.place-card', bars).get());
        });
    }
}

module.exports = Homepage;

Then just don’t use arrow function here, what is the issue? Closing as not the Swiper issue

@nolimits4web Its feature. Hardcode for using current instance as this against as param http://skrinshoter.ru/s/240919/2GJiFHP8.

Since swiper is a modern library, will be good if it support modern arrow functions.


KS endpoint type lookup for Keystone, Cinder & Glance Charts

What is the purpose of this pull request?: To implement Keystone endpoint lookups by type for the Keystone & Cinder Charts
What issue does this pull request address?: Superceeds https://github.com/att-comdev/openstack-helm/pull/208
Notes for reviewers to consider:
This is part of a series of PR's that will change each chart to use the Endpoint Type lookup method over the Endpoint Name for Keystone Endpoints.
Specific reviewers for pull request:
@alanmeadows @v1k0d3n @wilkers-steve @larryrensing @gardlt

@alanmeadows If you could review at this stage it would be really appreciated.
I am aware that the lookup function names are not ideal - but would like to change them as part of the cleanup of functions that these PR's will make redundant, in order to minimize impact the upon other charts.

@v1k0d3n/@alanmeadows I'm fine with either merging this PR and then hitting the follow up charts in a series of rapid PRs before we move, or accumulating all of this work under this one. Though before progressing on either path I'd like to ensure that the work to date makes the grade :)

since @alanmeadows is out, @wilkers-steve and @larryrensing can you review this as well?
@intlabs as long as we have commitment to keep driving these child PR's (please submit an Issue, as a show of intent), then I'm fine with pulling this in as is...just need the commitment.

@v1k0d3n, I'll see it through. Hopefully to the sweet, not bitter, end. Cheers :)

looks good to me

@larryrensing or @wilkers-steve: i know you're getting a 500 when using the "Commits" tab, but can you review by selecting the "Files Changed" tab as a workaround? There are 17 files committed in this PR (at the moment), and we can still review and get merged. I think @intlabs and I are saying that things look good, but I'd like to get another set of eyes on it formally.
btw: an issue has been submitted with the github team. i'm sure that this is a bug related to their UI changes this past week.

@wilkers-steve strange, but thanks for checking it out. hopefully we don't run into this issue again.
thanks @intlabs! nice cleanup.


BUG: Fixes #9281: fixes to tseries.tests.test_tslib.TestTimestamp

closes #9281
The last test of both test_now and test_today was passing for anyone with a timezone
of UTC-5 or greater (but failed, for example, in US/Pacific).  The test was not
testing what the original author meant it to (which is that the times are very close
together) so I added abs(.) around the Timedeltas and also fixed the errant test.

thanks!

I don't think abs() is necessary here given the order that the times are created so the difference will always be positive.  Nevertheless, thanks for fixing.

@rockg, yeah, I wasn't too sure about the abs, but I was thinking it makes the tests more likely to catch some problematic code that someone writes in the future.  For example, take
self.assertTrue(abs(ts_from_method_tz - ts_from_string_tz) < delta)

If someone ends up rewriting Timestamp.now(tz='US/Eastern') and it erronesously causes ts_from_string_tz to have a value corresponding to the user's local time instead of US/Eastern, then because of abs, the test will fail not only for users with a timezone less than UTC-5, but rather for everyone.


Request: Options for verbose, and number of servers to ping

I often like for programs that show me their recommendation to also give me all the data for me to come to my own conclusion.  It's conceivable you could have 50 servers effectively at the same load, within 1% of each other, but that the 50th place one load-wise had a ping value at half as much as others with a technically lesser load.  So, I'd propose two changes.
I'd probably then use these changes to manually run speed tests on a couple possibilities.
Output in columns would be important here for quick skimming.

-v, --verbose    Prints considered servers, their loads, and ping values if tested
This could always print the servers matching any given filters and their loads, in addition to only showing the one(s) it recommends, probably sorted by load.  Without ping tests, depending on the filters given, if any, this could give an awful lot of output.
In combination with simultaneous or linear ping options, this could also show the ping value for each, limited to the number of servers to ping, probably sorted by ping.
I'd probably sort by worst to best, so no scrolling is needed if there's lots of results to see the best ones.  (Again, I'd think sorted by load without a ping test, and by ping with a ping test.)

Also, if I'm correct that -a, --amount <AMOUNT> lets you adjust the number of servers for a ping test, accepting ALL for <AMOUNT> might be nice.  (Although giving 10000 basically does this.)
Interestingly, -s and -s -a 100 give me the same server, but -s -a 10000 does give me a different one.
Could be worth having this be incompatible with -p, at least if given a value too high.

One goal I tried to achieve with this application is getting a quick result. So, I personally do not like having to wait 10 minutes to get the perfect VPN server, which could indeed be the 50th one with the same load. This is why ping is a optional flag.
However, these options will be a valuable addition to the program. I will see if I can find some spare time to work on this.


[Suggestion]: Ore compatibility

General Info

[X] I would like to propose new content
[ ] I would like to propose changes
[ ] I would like to propose another thing

Suggestion Description
I'd love to see Zinc (from Create) supported as a geode.

I would love to ad Zinc, heck I would love to add more commonly used ores from mods but I would need a good list of ores to add. But I can assure you this is planned!

if possible could you use the tag system itself like many mods ad tin silver uranium lead etc and only show in jei/enable generation if a item with forge:ores/lead etc  is present?

maybe something like tinkers, where it dynamically adds new stuff, but that would probably make it alot harder

love to see mekanism ores added :)

Instead of specific mod compatability, since this is for ore, how about just having every ore built into it already, then use a config file to enable to disable generation of specific ones? That way pack devs would be able to tweak recipes and provide built in compatability.
Ore List:
Osmium
Salt / Halite
Tin / Cassiterite
Somium
Uranium / Uraninite / Yellorium / Autunite
Fluorite
Lead / Galena
Certus Quartz
Silver / Argentite
Thorianite
Monazite
Vanadinite
Sulfur / Sulfide
Niter
Molybdnite
Sylvite
Aluminum / Bauxite
Nickel
Epidote
Hureaulite
Red Beryl
Cobalt
Zinc / Sphalerite
Platinum
Chromium
Nitrogen / Phosphorus
Antimony / Stibnite
Germanium
Bismuth
Cadmium
Mercury
Palladium
Rhodium
Iridium
Rhutenium
Manganese
Tungsten
Vanadium
Niobium
Tantalum
Titanium
Zirconium
Thorium
Magnesium
Calcium
Strontium
Lepidolite / Lithium
Potassium
More mod specific:
Prosperity / Inferium / Soulium - Mystical Agriculture
Kepu - Tinkers' Reforged
Dimensional Shard - RF Tools
Demonite - Blood Magic
Natron / Trona - Vanilla Food Pantry
Veridium / Asurine / Crimsite / Ochrum - Create
I'm sure there are a few more mod specific ones, but the previous list would be used by multiple mods, or are naturally occuring in real life. With the ability to disable generations, it would be fairly easy to disable any that don't have a specific use.

I've noticed that there are Ruby, Sapphire, and Topaz which are enabled with a separate gem mod, however, I am aware of two mods that also add these gems, Silent Gems adds all three and Pixelmon adds Rubies and Sapphires, on that note, perhaps some compat for Pixelmon and Cobblemon evolution stones?

as well as Silent Gear/Gems


kubectl logs behavior to match kubectl exec to assume first container as default

What would you like to be added:
kubectl logs command returns an error when there are multiple containers in a Pod. However, kubectl exec connects to first container by default if container name is not specified.
$ kubectl logs -f pod/nginx

error: a container name must be specified for pod nginx, choose one of: [nginx repeater]

$ kubectl exec nginx -- date

Defaulted container "nginx" out of: nginx, repeater
Sun Oct  3 20:06:00 UTC 2021

Why is this needed:
Having consistent behavior from kubectl commands in a multi container Pods provides ease of use when working with cli. This also eliminates questions such as why one command should assume first container as default while other does not?

/triage accepted
/assign @kidlj


Sample Before Provisioning Rule for SDIM Missing

Describe the bug
When environments are exported, the "Sample Before Provisioning Rule for SDIM" rule is not included
To Reproduce
Steps to reproduce the behavior:

Export Tenant
Review the Rules folder

Expected behavior
Most out-of-the-box cloud rules are excluded, but we need to include this rule because it sometimes needs to be modified.

Hi @justinhaines,
Have you tried by API directly? I'm not doing any specific filtering for rules.
So I expect that is more an "issue" with the SP Config endpoint that with the VSCode plugin.
Also, one test worth testing is Configuration Hub. Have you try to backup this rule and restore it?
You don't have to restore it really. Just created a draft will highlight what should be restored and the rule should be there.

Closing as not a problem with the extension but with SP-Config API.


NTR: skin return process

Editor preferred term: skin return process
Textual definition: A process that is part of a skin pinch test assay, during which the skin returns to its normal "unpinched" state. Assessing the speed with which the skin returns to its normal "unpinched" state is usually a good indication of the degree of hydration of the subject of the skin pinch test.
Definition source: EuPath team
Proposed parent: process
Example of usage: fast skin return, slow skin return
Submitted by: EuPath team

Ask OGMS.


Images not loading inside of a carousel

Hey,
Thanks for developing this awesome module.
I'm running into a small issue where images that are outside of a carousel viewport are not lazy loaded, until the page is scrolled vertically. The carousel (Flickity) is using translate3d for the scrolling so I don't think the scrollTarget will help here.
This is what the component looks like when it's first loaded - The lazy loading is working perfectly.
https://s30.postimg.org/fk7qt0nq9/inital.png
However when you move the carousel to show more items, the new items that were once off the canvas have not been lazy loaded
https://s30.postimg.org/ww83egh7l/carousel_scrolled.png
If you scroll vertically, after moving the carousel to show more items, the images will lazy load.
Is there a way to load all of these images at once, even if they are horizontally off the canvas?
Cheers!

Okay, so I've figured out an interim solution, albeit hacky.
But basically when the carousel has finished sliding, I manually trigger a window scroll event. Not ideal, but works for now.
Let me know if you have any other suggestions...

Hi,
The problem is that you do not scroll when you bring new images into the viewport. You are right that scrollTarget will not help you but scrollObservable may solve your problem.
I guess your code looks something like this:
view

Back

Forward

component

  back() {
    // show prev images
   window.dispatchEvent(...)
  }

  forward() {
    // show next images
   window.dispatchEvent(...)
  }

Instead, you should be able to use scrollObservable:

Back

Forward

component
  carouselSubject = new Subject();

  back() {
    // show prev images
   this.carouselSubject.next();
  }

  forward() {
    // show next images
   this.carouselSubject.next();
  }

You can import Subject from rxjs/Subject: import { Subject } from 'rxjs/Subject';

@tjoskar  I am facing the same issue. I tried your solution and it worked when I scroll horizontally. But, then the vertical scroll lazy loading stopped. Can you please suggest some solution?

@hinalshah91, we continue at #407

@hinalshah91 I'm facing the same problem too, but I resolved using @tjoskar tip.
I'm using ngx-hm-carousel and I handled the event of change index, and put the code below.
Works fine for me!
<ngx-hm-carousel #carousel [(ngModel)]="currentIndex" (ngModelChange)="onChangeIndex()"...

...
scrollEvent = new Event('scroll'); // model of component
...
onChangeIndex() {
    window.dispatchEvent(this.scrollEvent);
}


As a user who budgets, I want to know how many months my savings can sustain me based on recent 3 months expenses, so that I know if my current level of expense is sustainable and adjust accordingly.

Subtask of #2

This isn't a savings app. We will not track our own savings.


Is this a bug?

code in "cc/src/core/persistent_memory_malloc.h",  the code should use division here?

Sure looks like it.

Fixed in master.


analyze CLI busy indicator (/) does not animate in dev builds

$ dart analyze --fatal-infos .
Analyzing ....                         \

The busy indicator (rotating line \) animates in stable builds but does not animate in dev builds (at least on Mac) so at first I even thought that analyzer just hang on me.
Version I tried
Broken:
$ dart --version
Dart SDK version: 2.14.0-57.0.dev (dev) (Wed Apr 28 15:26:37 2021 -0700) on "macos_x64"

Okay:
$ dart --version
Dart SDK version: 2.12.0 (stable) (Thu Feb 25 19:50:53 2021 +0100) on "macos_x64"

Might be related to Dart CLI work.
/cc @devoncarew

I can repro this.

I'll bisect this.

A bisect shows this commit as the issue: d0725fee3d5742b2dcaf3ae34df3254c456582b4 - "Update multiple packages to null safety releases.". Perhaps one of the packages updated contained a regression?

Assuming that package:cli_util might be the issue, the above commit rev'd it from 50cc840b146615899e97b892578848401b2028d5 to fd1b716e8a350a454e01ae56df540293d31ff6c8.

I'm guessing it's this commit which introduced the issue: https://github.com/dart-lang/cli_util/commit/2fbb4eb458d8c95b008b28ee77307b0138ec5421. cc @natebosch @jakemac53 @pq


Fixed move file function

#2473  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @tommylau523 and the rest of your teammates on  Graphite

Merge activity

Oct 3, 12:21 PM EDT: @tommylau523 merged this pull request with Graphite.


Make HTTPS the default collector protocol in gotEmitter (closes #1100)

Description
Make HTTPs protocol the default one for Node.js tracker gotEmitter to align it with other trackers.
closes #1100

Thanks for your pull request. Is this your first contribution to a Snowplow open source project? Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
:memo: Please visit https://docs.snowplowanalytics.com/docs/contributing/contributor-license-agreement/ to learn more and sign.
Once you've signed, please reply here (e.g. I signed it!) and we'll verify. Thanks.


I have some error when i was run main.m file

Index exceeds array bounds.
Error in run (line 55)
pathscript = evalin('caller', strcat('which(''', script, ''')'));
Error in main (line 31)
run('lib/vlfeat-0.9.20/toolbox/vl_setup');

I have the same error, any solution?

I have the same error...

I have the same error...


Addressed encoding issues for Blobs, Data Lake, and SMB Files

Resolves https://github.com/Azure/azure-sdk-for-net/issues/12738

Probably need to also check Data Lake and SMB Files for similar issue.

TODO: add more comments around the UriBuilders and *Clients to make this change less ambiguous.

The main goal of this PR - BlobBaseClient.Name, DataLakeFileClient.Path and .Name, DataLakeDirectoryClient.Path and .Name, ShareFileClient.Path and .Name, and ShareDirectoryClient.Path and .Name should be exactly what the user specified.
If these fields contain special characters, they are encoded in the UriBuilders.  If we are generating these fields based off an Uri, we will unencode them once.

@tg-msft, @amnguye, could you take a look?


Corret rounding problem

The function is rouding some numbers wrong:
Example 1: number_format(35.855,2,",",".")
Result 1: 35,85 the corret result is 35,86
Example 2: number_format(33.6750,2,",",".")
Result 1: 33,67 the corret result is 33,68
my changes fix that, i got the rounding fuction from:
https://stackoverflow.com/questions/11832914/round-to-at-most-2-decimal-places-only-if-necessary

[ ] Have you followed the guidelines in our Contributing document?
[ ] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Description

I can't make it work with the:
//  example 14: number_format(1e-8, 8, '.', '')
//  returns 14: '0.00000001'
Any idea?

Thanks!


trusted domains in actual file

I want to able to store the trusted domains file like the settings.json file in a git to use it on multiple computers

Seems unlikely to happen. See #81841
Did you consider enabling the native Settings Sync? This should sync your trusted domains list across machines.

Seems unlikely to happen. See #81841
Did you consider enabling the native Settings Sync? This should sync your trusted domains list across machines.

I really want to sync it the way I do with all my dotfiles, but I appreciate the hint

I really want to sync it the way I do with all my dotfiles, but I appreciate the hint

@gjsjohnmurray is correct, we prefer to keep it out of the normal filesystem for the reasons in the linked issue.


Long processing of xsds

The processing of FHIR xsds takes a lot of time. When running within Syndesis it occasionally times out even after increasing the timeout to 60s. I did a bit of profiling and XSOMParser can be blamed for that (https://github.com/atlasmap/atlasmap/blob/master/lib/modules/xml/core/src/main/java/io/atlasmap/xml/inspect/SchemaInspector.java#L203)
I see a number of solutions:

Provide a pre-processed xml document in AtlasMap format instead of XSD. This way we won't have to use XSOMParser at runtime to process complex XSDs (in other words provide what is returned from https://github.com/atlasmap/atlasmap/blob/8af7337b3eebca2ac510e40d29eea9a34b949cc0/lib/modules/xml/core/src/main/java/io/atlasmap/xml/inspect/XmlInspectionService.java#L85 instead of XSD).
Cache once processed XSD so that when trying to map the same XSD again it is much faster.
Change to some other XSD processing solution e.g. http://ws.apache.org/xmlschema/ (unsure how much faster it is) or a regular XML SAX parser (increases complexity, but is extremely fast).

I'd vote for 1 since it seems to be quite easy to achieve. My other vote is 3 with the SAX parser as it's the most robust, but rather complex to achieve. @igarashitm, thoughts?

@igarashitm, great! Could you please advise on how to do the pre-computation with Syndesis?

It seems this plugin is invoked somehow for Java DataShape, no idea when/how
https://github.com/syndesisio/syndesis/blob/master/app/connector/support/maven-plugin/src/main/java/io/syndesis/connector/support/maven/GenerateConnectorInspectionsMojo.java
And then if you put inspectionResult ahead, AtlasMap will skip invoking inspection
https://github.com/syndesisio/syndesis/blob/master/app/ui/src/app/integration/edit-page/step-configure/data-mapper/data-mapper-host.component.ts#L396
Maybe better to involve Syndesis backend guy to move forward.

Thanks! I'll try that! Closing this issue then...


Color range mismatch between point cloud and depth map

Related issue: https://github.com/OnionIoT/tau-lidar-camera/issues/9
Python Library versions

Run pip list | grep TauLidar in the command-line and paste the output. Include some details on your system as well

TauLidarCamera            0.0.1
TauLidarCommon            0.0.1
TauLidarServer            0.0.2

Running on Mac
Camera Info

If possible, paste the output of camera.info() from Python (after camera has been successfully opened)

ToF camera opened successfully:
    model:      4.0
    firmware:   3.3
    uid:        69.549
    resolution: 160x60
    port:       /dev/cu.usbmodem00000000001A1
    IP address: <IP_ADDRESS>
    URL:  http://<IP_ADDRESS>:8081

Describe the bug
The color representing depth is different between the point cloud and depth map. They should follow the same coloring for consistency
Steps to Reproduce

Start the TauLidarServer program
Navigate to the point cloud viewer in the web app
Change the setting of the "Color Range" slider
Observe difference in coloring of point cloud and depth map
Repeat two previous steps

What is expected?
Consistent colors to represent depth in both the depth map and point cloud
What is actually happening?

Mismatch in colors was because of BGR pixel ordering in depth map.
Fixed in c1cb24ce73367623dbc3056605eae12c504d8e84

released in v0.0.3


VSCode stuck on "Reloading Package"

This could be an issue with the Swift extension, but I'm seeing some log output from sourcekit-lsp that looks like it's kicking off this job:
[org.swift.sourcekit-lsp:notification-2] info 2024-02-13 10:38:33.104
Sending request to client (id: 1):
window/workDoneProgress/create
{
  "token" : "SourceKitLSP.SourceKitServer.reloadPackage"
}
---
[Trace - 10:38:33 AM] Received request 'window/workDoneProgress/create - (1)'.
Params: {
    "token": "SourceKitLSP.SourceKitServer.reloadPackage"
}
---
[org.swift.sourcekit-lsp:default] info 2024-02-13 10:38:33.107
Sending notification to client
$/progress
{
  "token" : "SourceKitLSP.SourceKitServer.reloadPackage",
  "value" : {
    "kind" : "begin",
    "title" : "Reloading Package"
  }
}
---
[Trace - 10:38:33 AM] Received notification '$/progress'.
Params: {
    "value": {
        "title": "Reloading Package",
        "kind": "begin"
    },
    "token": "SourceKitLSP.SourceKitServer.reloadPackage"
}

This is despite launching with a compilation database workspace (I would expect the reloadPackage job to only run in a SwiftPM workspace). Maybe a sub-project (not at the root) is being picked up as a SwiftPM workspace?
[org.swift.sourcekit-lsp:notification-22] info 2024-02-13 10:59:35.042
SwiftPM log: [info]: using 'Package.resolved' file as lock file
---
[org.swift.sourcekit-lsp:default] default 2024-02-13 10:59:35.797
SwiftPM log: [warning]: C:\workspace\<snip>\<snip>\.build\repositories\swift-argument-parser-54a11a8d is not valid git repository for 'https://github.com/apple/swift-argument-parser.git', will fetch again.
---
[org.swift.sourcekit-lsp:notification-22] debug 2024-02-13 10:59:36.221
SwiftPM log: [debug]: loading manifest for 'swift-sentry' v. unknown from memory cache
---
[org.swift.sourcekit-lsp:notification-22] debug 2024-02-13 10:59:36.227
SwiftPM log: [debug]: loading manifest for 'swift-identified-collections' v. 1.0.0 from memory cache

This doesn't seem to impact LSP functionality, but there's a constantly spinning "Reloading Package" notification in the bottom bar

Tracked in Apple’s issue tracker as rdar://122899093

This is most likely a VSCode issue, although I don't know if it is coming from the swift extension as it never displays a status item with the text Reloading Package

Based on the logs, this looks like SourceKit-LSP issue to me. We appear to be sending a begin for package reloading but no end.

Oh you're right there. Didn't release the progress stuff got displayed in VSCode

Is it worthwhile prefixing all sourcekit-lsp progress items with SourceKit-LSP:  so we know where the UI is coming from?


Update OWNERS and CODEOWNERS files

Description
Since Kamil left the company last month and Chris is on paternity leave, we need to update the CODEOWNERS and OWNERS  files.
Changes proposed in this pull request:

Remove ksputo from CODEOWNERS
Remove voigt from CODEOWNERS
Update OWNERS and OWNER_ALIASES

/retest


Fix route geometries

For Amtrak, try to snap to this dataset: https://osav-usdot.opendata.arcgis.com/datasets/4e32613ba4c9450880118b2fd639e8cb_0?geometry=-129.411%2C34.829%2C-57.824%2C44.916
Identify routes/route stop patterns by operator id that should be snapped to roads.

Amtrak chartered vehicle (o-9-amtrakcharteredvehicle)
Amtrak California (thruway buses)
New York shuttle (o-dq-newyorkshuttle)
NJ Transit (o-dr5-nj~transit)
Peter Pan bus lines (o-dr-peterpanbuslines)

Make sure route vehicle type is bus. You don't want to snap ferry routes to roads.


output order is the reverse of what it should be

Thank you for creating this plugin.  It does a wonderful job except for one serious issue...
If I have:
// dependency/index.js
import './styles.css';
export default { ... };

// dependency/styles.css
.Foo { color: red }

// project/index.js
import './styles.css';
import dependency from 'dependency';
export default { ... };

// project/styles.css
.Foo { color: blue }

then when running rollup in the project directory, <div class=Foo> will be red instead of blue because dependency/styles.css is appended later in the final stylesheet, as if the HTML contained:
<link rel=stylesheet href="project/styles.css">
<link rel=stylesheet href="dependency/styles.css">

However, styles in the project should override styles in the dependency, as if the HTML contained:
<link rel=stylesheet href="dependency/styles.css">
<link rel=stylesheet href="project/styles.css">

Can you please correct the order in which stylesheets are concatenated?  Thank you!

If somebody knows wether Rollup exposes the order of imports, that would be interesting to solve this issue.


Icon doesn't display AtomicCoding powerlevel9k

Hi, how can I show the apple and other icons? i'm following the powerlevel9k AtomicCoding config.

Hi @janskey !
You need to set POWERLEVEL9K_MODE="nerdfont-complete" before the theme gets sourced. In doubt, put it on the top of your ~/.zshrc. Link to wiki.

POWERLEVEL9K_MODE tells the theme what font you have installed, so it is also required in addition to setting the font. Unfortunately, there is no way to detect what font the user is using, so this step is the only way for the theme to know what font set you want to use.

@dritter it worked.

put it on the top of your ~/.zshrc


Large Album Image class

I would like to have a rounded Album image in the bottom right of the screen instead of a square. How is the class called in the .css file? I'm pretty sure I can do it alone but I don't know how the class is called.
For reference, I'm talking about the album image under the friends activity

(The theme is DribbblishDynamic)

@morpheusthewhite You should turn on Discussion and move questions/ideas like these to it. And leave Issues for bug/issue report only.

This should actually be on Spectrum

Spectrum will be down very soon. They're out of business because of Github's Discussion

It will be in August, so it can still be used for some time. I also personally don't like very much the idea of using GitHub discussion. This is why I was thinking of creating a subreddit, where it is easier to create discussions involving the community


[EPIC] Add file type catalog support for Gravitino

Describe the proposal
Gravitino currently only supports relational type catalog, with the increased requirements of managing datasets in object store or file systems, we should add the file type catalog support in Gravitino.stores
Task list

[x] #1284
[x] #1244
[x] #1520
[x] #1526
[x] #1527
[x] #1667
[x] #1489
[ ] #1616
[ ] #1713
[ ] Add server-side REST API support for fileset
[ ] Add Java client support for fileset
[ ] Add E2E integration test for fileset
[ ] Add Python Arrow FileSystem implementation for fileset.

@jerryshao Hi, I'd like to continue to work on these issues:

Add Java client support for fileset
Add E2E integration test for fileset

Are you working on them? Will this affect the release of version 0.4？
The last issue Add Python Arrow FileSystem implementation for fileset. may be beyond my current ability range. So I want to finish the above two issues first.

@coolderli I don't work on this, these two will not be in 0.4.0, it will target to 0.5.0. You can go ahead if you'd like to.


iifNull() example looks wrong

The 3rd example for the iifNull() function states:  iifNull('bojjus', 'bo', 'dumbo') -> 'dumbo'
However the function specification states:  "....It tests for all inputs until it finds the first non-null value".
Should this not return 'bojjus' rather than 'dumbo'?

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

ID: 4fef9ea1-5a72-4212-da99-54d2cdd81d37
Version Independent ID: 48face98-0b6b-8f55-2d6e-201a5bc8e8bb
Content: Expression functions in the mapping data flow - Azure Data Factory
Content Source: articles/data-factory/data-flow-expression-functions.md
Service: data-factory
GitHub Login: @kromerm
Microsoft Alias: makromer

@chambomusic  Thanks for your feedback! We will investigate and update as appropriate.

@kromerm

Hi @chambomusic ,
Thanks for pointing this out! You are correct that the documentation is wrong and misleading. iifNull() can take in 3 parameters and in that case it functions similarly to iif(isNull(value), ifTrue, ifFalse). We are fixing our ux validation and updating the documentation to reflect this.
As we have open tracked items on the product group side, we will go ahead and close this issue.
Thanks,
Daniel
#please-close

@chambomusic Thanks for pointing this. Yes as you said example in below link is incorrect. I will be creating PR for this now. Thank you.
https://docs.microsoft.com/en-us/azure/data-factory/data-flow-expressions-usage#iifnull


Add AutoComputationModel

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (0677f97) to head (5b01178).

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #16   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            8         9    +1
  Lines           70       108   +38
  Branches         3         9    +6
=========================================
+ Hits            70       108   +38

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


use is version instead of deprecated is version_compare

CentOS 6 error:
TASK [linux-system-roles.timesync : Generate timemaster.conf file] *************
task path: /tmp/tmpp_7tbdnd/tasks/main.yml:167
fatal: [/cache/CentOS-6-x86_64-GenericCloud-1901.qcow2c]: FAILED! => {"changed": false, "msg": "AnsibleUndefinedVariable: 'dict object' has no attribute 'chrony'"}

[citest pending]

[citest bad]

[citest pending]

I don't think we need this PR anymore since we only support ansible version 2.7 and later.
I'm going to close this PR unless there are any objections.


Remove unused imports in shakedown code.

I discovered these while I was reading the shakedown code.

@mesosphere-ci retest this please.

@mesosphere-ci retest this please.

@mesosphere-ci retest this please.


Add port for sp-search-query

What
Added a new port
How to review
Is it unique?
Who can review
Anyone but me

This port makes sense as the dev port for this service 👍
Generally we've made the dev port the default value for the BIND_ADDR env var in each app, so might be worth a small update to the dp-search-query service to align

Thanks, I've got a PR for that ready to go :-)


Add me to Microsoft GitHub Org

Add me to bower Microsoft Org, Know about me https://yoginth.ml

How many contributions you have?

Lol? Why do you need to be in the organisation? Perhaps you want to apply for a job at Microsoft? https://github.com/Microsoft/vscode/issues/27092


secret object doesn't have "status" attribute

== Task definition ==

name: "Define OpenShift Git Secret"
k8s_v1_secret:
namespace: "{{ namespace }}"
verify_ssl: False
resource_definition:
type: kubernetes.io/basic-auth
metadata:
annotations:
build.openshift.io/source-secret-match-uri-1: "{{ vstsGitRepo.json.remoteUrl }}/*"
creationTimestamp: null
name: git
data:
username: "{{ vsts_username | b64encode }}"
password: "{{ vsts_password | b64encode }}"
status:
dockerImageRepository: ""
ignore_errors: true
tags:

openshift

== playbook run result ==
TASK [provision-visualstudio-project : Define OpenShift Git Secret] ************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: AttributeError: 'V1Secret' object has no attribute 'status'
fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "module_stderr": "Traceback (most recent call last):\n  File "/tmp/ansible_gxhcA4/ansible_module_k8s_v1_secret.py", line 342, in \n    main()\n  File "/tmp/ansible_gxhcA4/ansible_module_k8s_v1_secret.py", line 336, in main\n    module.execute_module()\n  File "/tmp/ansible_gxhcA4/ansible_modlib.zip/ansible/module_utils/k8s_common.py", line 199, in execute_module\n  File "/tmp/ansible_gxhcA4/ansible_modlib.zip/ansible/module_utils/k8s_common.py", line 251, in _create\n  File "/usr/lib/python2.7/site-packages/openshift/helper/base.py", line 242, in create_object\n    return_obj = self._wait_for_response(name, namespace, 'create')\n  File "/usr/lib/python2.7/site-packages/openshift/helper/base.py", line 493, in _wait_for_response\n    elif obj and obj.status and hasattr(obj.status, 'phase'):\nAttributeError: 'V1Secret' object has no attribute 'status'\n", "module_stdout": "", "msg": "MODULE FAILURE", "rc": 0}
== remarks ==
oc get secret git -o yaml doesn't show any "status" attribute.
I guess you are assuming every object has a "status" attribute.

sorry, wrong repo

Hi Samuel, did you find a solution to this issue?


Radio buttons challenge missing value attributes

In the create-a-set-of-radio-buttons and the following create-a-set-of-checkboxes challenge the buttons are missing the value attribute. If you send a form you wouldn't get what button was chosen but "radio-group=on" instead.
I think this is something to fix because beginners like myself could assume that either the id, label or inner text of the input determine the value that is sent, but I don't have the fluency in JavaScript needed to do that

You can try submitting the form in this html to see what I'm saying.
[radioValue.html.txt](https://github.com/freeCodeCamp/freeCodeCamp/files/2774263/radioValue.html.txt)

Hey, The link in the comment is broken.

In the [create-a-set-of-radio-buttons and the following create-a-set-of-checkboxes](https://www.freecodecamp.org/responsive-web-design/basic-html-and-html5/create-a-set-of-radio-buttons challenge) challenge the buttons are missing the value attribute. If you send a form you wouldn't get what button was chosen but "radio-group=on" instead. I think this is something to fix because beginners like myself could assume that either the id, label or inner text of the input determine the value that is sent, but I don't have the fluency in JavaScript needed to do that
You can try submitting the form in this html to see what I'm saying. radioValue.html.txt

should work now

Hi, has this been fixed or can I have a go at it?
@Bubsy3D @ahmadabdolsaheb

yes it has, the link works now. But you could also easily find it in the freecodecamp curriculum / responsive web design / basic html and html 5

no it hasn't

@Bubsy3D, @co16353sidak  What are your suggestions for the challenge description and example code that users should see?
Let's get the content agreed upon, so @co16353sidak or someone else can help create a PR with what is decided here.

@RandellDawson

How about adding another test that ensures the presence of a value attribute
Or if that seems too extreme, we could just include the value attribute in our challenge’s example.
Or/And add a note describing the importance of the value attribute

The challenge information is supposed to be short and concise and teach something specific.  The intent of this challenge is not have the user create a form which would be used to submit capture the value attribute.  I believe this type of information is better served as additional information in the Guide instead.
@co16353sidak My thought on your 3 suggestions is as follows:

Seems beyond the scope of this challenge.

I think this is fine as long as somewhere in the challenge description there is a short mention of its importance.

This could be a nice add-on

Maybe there is another place in the curriculum where something like this could fit in.  If you find a place where it could be worked into an existing challenge or be added as a new challenge, then we can definitely discuss that as a possiblity.

Hi @RandellDawson,
If adding the value attribute in our challenge example is fine, can I have a go at it?
Would be my first OS project.

Let's see if there are some other collaborators who have an opinion on this.

@RandellDawson
Would it be viable if we create a separate challenge towards adding a value attribute and mentioning its significance, implementing the value attribute in another challenge won't serve as a proper justification towards its use.
Other than that, adding the value attribute to examples would then mean editing all form examples in many challenges. that too doesn't seem too viable.

I don't understand what the problem is. I ran the code here just fine on the webpage. The labels and the radio buttons displayed properly on the view (web page) and embedded within the form tags.
<label for="indoor">
  <input id="indoor" type="radio" name="indoor-outdoor" /> Indoor
</label>
<label for="outdoor">
  <input id="outdoor" type="radio" name="indoor-outdoor" /> Outdoor
</label>

@cartagenae There is as such no problem with the challenge but the use of value attribute is being discussed here

I have the solution but am trying to figure if this is an exercise or a real problem.

This applies to grouped checkboxes as well (i.e. checkboxes with the same name attribute value). In the following challenge for input of type checkbox, 3 grouped checkboxes are made.
I think the best option is to make a new challenge after the radio-buttons and checkbox challenges which introduces the value attribute. I actually had a PR ready for this but was never super happy about it so I didn't push it. I had forgotten all about it. Should I push it to get some feedback on it?
Note: The next challenge after this new challenge will need it's Challenge Seed updated as well to include the new form with the value attributes added.

@lasjorg I say go ahead and submit your PR.

How can I solved that problem, Use the value attribute with Radio Buttons and Checkboxes?

Hello @AlexanderMike2018 ,
If you need any assistance, feel free to reach out on the forum
Happy coding 😃

This issue is old and resolved. As such, I am going ahead and locking it.


Note on debugging in developer readme

Mention main class for debugging kompile/krun

@radumereuta, should this also mention anything in particular to make sure the SDF parser tables have been generated?

@dwightguth knows more about this, but I had to add this to the PATH environment variable:
$PATH;d:\work\k\k-distribution\target\release\k\lib\native\windows;d:\work\k\k-distribution\target\release\k\lib\native\windows64;d:\work\k\k-distribution\target\release\k\lib\native\64
There is also the -kast option for calling the parser only.


NavigationDrawer component example code at https://smeltejs.com/components/navigation-drawers seems to be out of date

The sample code https://smeltejs.com/components/navigation-drawers does not seem compatible with Smelte version 1.0.11. From what I can tell the property names have changed or were removed, such as 'showDesktop'. Is that correct?

Got the same problem

Yes, When trying to implement as it is in example it gives an error
'default' is not exported by node_modules/smelte/src/index.js, imported by src/routes/drawer/Drawer.svelte


bulk insert do not response primary key?

When using gorm batches, it seems that you cannot assign values to the primary key of struct

You should be able to set the value for a primary key, however if the field used as a primary key is set to AUTO_INCREMENT it will be ignored.
If you field is not set to AUTO_INCREMENT, do you have a reproducible example (including schema creation) to provide?
Also, I suggest that you look into switching to gorm.io/gorm. It's the v2 of original jinzhu/gorm which this project targets. V2 supports bulk inserting natively.


feature(engine): trigger now returns the concerto validated JSON for …

…the request
Signed-off-by: Jerome Simeon<EMAIL_ADDRESS>Changes

Ergo execution now returns the Concerto validated request rather than the raw input JSON

Flags

Semantic change as proposed in the Cicero issue: https://github.com/accordproject/cicero/issues/643

Coverage decreased (-0.04%) to 96.065% when pulling 98be44cca5e2d07abed007521d3e4f4e773157c2 on jeromesimeon:js-cicero-643 into a4a014547ce802b7e24424a4108bc67d9f66da96 on accordproject:master.


Updated commande from m365 o365 to m365 - connecting-office-365.md

Updated command from m365 o365 to m365 (seems like a typo from rename to m365)

Good catch! 👏

Merged manually. Thank you! 👏


Support for Ankuoo

I do not currently own these, but would purchase if supported by HA. if anyone has any experience with them and integration into HA, please feel free to comment here. If there is a better place to post these type of discussions, please let me know as well.
Manufacturer site: http://www.ankuoo.com/
The wifi enabled wall switch (http://www.ankuoo.com/products/?sort=11) and electrical socket switches (http://www.ankuoo.com/products/?sort=2) appear to be cheaper than the edimax switches.
Cheers!
Rick

Has anyone found an API description, official or reverse engineered?

I've got one of these and have been doing some network analysis on it.
Here's what I know so far:
There is no API available from the manufacturer.  They use the same chip as the Broadcom SP2 switches and the Android app references the compiled broadcom libraries.  Those libraries are only available for iOS and Android (I have to assume ARM only since I have not been able to find anything resembling an x86 binary).
If a phone is on the same network as one of the devices, they send commands via UDP to the IP address of the device on port 80.  I've got a light switch and a plug-in module.
I've taken apart the commands a bit, but there's still a lot of the packet that I don't understand.
Command Packet
5a a5 aa 55 5a a5 aa 55
24 bytes of 0s
4 bytes that appear to be a timestamp in a format I can't decode (it also doesn't matter what you put here in the command)
2-byte "type" (0x1727 == Neo 0x1627 == Neo Power)
4-bytes unknown (one of my devices: 0x6a003282, though that might change, can't remember)
6-bytes MAC address in reverse
4-bytes unknown (one of my devices 0x010000)
2-byte "command" (on==0xb2be off==b1be query==b0be)
18-bytes unknown (00 00 85 ab 52 2d 4f ec 5d d7 17 30 7d 39 03 96 c9 61)

For On/Off, the reply contains the same values in the same places with the unknown ones changing slightly.  The query command is the bizarre one -- it returns a bunch of data I can't make any sense out of (500+ bytes).
Discovery works by sending a UDP broadcast packet on the subnet with:
0x00000000 0xfffffffe
0x0738040103140100000000 - Not sure
4-byte source IP NOT reversed
2-byte source port reversed
0x00007dc600000000 - No idea
0x06000000000000000000 - No idea

The reply has a lot of good information in it:
0x00000000 0xfffffffe - Same as broadcast packet
0xe0072c06030614020000 - No clue
4-byte - Requesting IP NOT reversed
2-byte - Requesting Port Reversed
0x04d100000007000000000000000000 - No clue
5-byte - I think this is the device profile - it's set to 0s when the device is set "invisible", otherwise it has the same value but it's unique to the device.
2-byte type (0x1727 == Neo 0x1627 == Neo Power)
4-byte - Device IP reversed
6-byte - MAC address reversed
Remaining bytes is the name given to the switch - fixed length field with zeros after the end of the string

That's all I've been able to take apart.  I've written a lua decoder for WireShark that I'll put up in a repo ... probably this weekend - it's ugly but it works.  I'll keep taking apart the protocol as well until I can write a working library (though I'm doing it in C# since the code for most of my automation is in that language)
If anyone has any insight into what some of the unknowns might be, I'd love to hear!

Hi, any more luck in reverse engineering this at all?

I've had to take a break from analysis for a bit due to lack of time, but I put together some notes that go a little further than my brief write-up here: https://github.com/Diagonactic/Ankuoo
Using those notes I was able to write a C# app that discovers devices on the local segment and can turn them off and on.  I have not been able, yet, to read the schedule settings or any properties not included in that doc -- it appears to me that the packet containing this information may actually contain encrypted portions and I'm concerned about that data a little bit since other variants of the device send the network SSID and password to cloud hosts and it's entirely possible that this variant does, as well, but in a packet I can't read.

Closing this issue as feature requests should be posted in the forum.


Build failed on Windows 10

Operating system : Windows 10 21He (x64)
The way you installed OpenCV: package (choco install llvm opencv)
OpenCV version : 4.9.0
rustc version : rustc 1.75.0 (82e1608df 2023-12-21)
Attach the full output of the following command from your project directory:

log.txt

Looks like you have a mix of clang versions. You can see that it’s using version 14 for the build, but it’s including headers from version 18 and that’s what likely leads to libclang crash.

thank you, @twistedfall .
Sorry, I didn't figure out that error log.
I checked on another clean PC, and there was no problem, thank you.
However, from my memory, I didn't install that 'clang' 14.0.6 version.
So I found all libclang.lib and clang.exe files on my Windows machine.
(attached image - there is no 14.0.6 version, and if I check "clang -v" in the Windows CLI to verify the installed status, then I get an error before executing the "choco install llvm" command)
As I understand, the 'clang_getClangVersion' function in the clang-sys crate returns the defined magic (build) number of libclang.lib, right?
I don't understand that behavior.
If I remove llvm using the command below:
"choco uninstall llvm"
and just build and execute a simple Rust program to check the clang version using the clang_sys crate, then I get the following error:
'couldn't find any valid shared libraries matching: ['clang.dll', 'libclang.dll']'
But when I install llvm again with "choco install llvm", I get the following result message:
"clang version 14.0.6"
I don't know why I'm getting that 14.0.6 clang version.
And some additional clang-sys log like below:
[clang-sys dynamic linking library path]
[clang-sys 1.7.0] Directory bin : "C:\Program Files\LLVM\bin"
[clang-sys 1.7.0] filename : "libclang.dll"
[clang-sys 1.7.0] cargo:rustc-link-search=C:\Program Files\LLVM\bin
[clang-sys 1.7.0] cargo:rustc-link-search=C:\Program Files\LLVM\lib
[clang-sys 1.7.0] cargo:rustc-link-lib=dylib=libclang
Am I missing something here~?
I know this issue is not related to the rust-opencv crate, sorry.

I just spent hours debugging this one too: same issue where the clang version listed in the build logs was different than the clang installed via vcpkg (and clang --version). Uninstalling AMD μProf fixed it for me as well.


display labels on templates

Currently, labels on templates are not displayed. They should be displayed.

this should not be blocked on #12962 in my opinion. We need the user to be able to add labels to variables just like any other resource. We can add system labels later.

So digging into this the DocumentCreate accepts labels but the DocumentUpdate only accepts changes to the meta and content properties. It looks like we'll need a separate issue for adding/removing labels via a /documents/templates/{id}/labels

yes ! https://github.com/influxdata/influxdb/issues/13064

@ebb-tide


Add support for custom http.Client

In appengine you cant use the default http.Client. I needed a custom urlfetch.Client (wich maches the http.Client interface).
However there was no way to submit a custom client.
My simple code change allows this. Its backwards compatible.
The log file from Appengine logs:

Post https://fcm.googleapis.com/fcm/send: http.DefaultTransport and http.DefaultClient are not available in App Engine. See https://cloud.google.com/appengine/docs/go/urlfetch/

Coverage increased (+2.8%) to 74.194% when pulling 648050d2dd79f9557651edf892c96cfebf324b5d on tjerkw:master into e0ec689372257e2607f615ee597014e0fb74fb31 on maddevsio:master.

Coverage increased (+2.8%) to 74.194% when pulling 648050d2dd79f9557651edf892c96cfebf324b5d on tjerkw:master into e0ec689372257e2607f615ee597014e0fb74fb31 on maddevsio:master.

Coverage increased (+2.8%) to 74.194% when pulling 648050d2dd79f9557651edf892c96cfebf324b5d on tjerkw:master into e0ec689372257e2607f615ee597014e0fb74fb31 on maddevsio:master.

LGTM. Thanks


Add tvos and watchos deployment targets

And Travis matrix to test builds for each deployment target

Watch Kit Unit tests


fix: do not delete previously defined plain_text/json bindings on publish

Currently, when we publish a worker, we delete an pre-existing bindings if they're not otherwise defined in wrangler.toml, and overwrite existing ones. But folks may be deploying with wrangler, and changing environment variables on the fly (like marketing messages, etc). It's annoying when deploying via wrangler blows away those values.
This patch fixes one of those issues. It will not delete any older bindings that are not in wrangler.toml. It still does overwrite existing vars, but at least this gives a way for developers to have some vars that are not blown away on every publish.

I tested this as well as I could, looks like it behaves as expected!

Thanks @JacobMGEvans !


Looping & Stopping Ringtones

Hi,
Thanks for sharing the codes.
I manage to play looping ringtone in android by adding "ringtoneSound.setLooping(true);"  after line 96 in NativeRingtones.java . However, I couldn't figure a way to stop it with cordova.plugins.NativeRingtones.playRingtone.
I tried Changing ringtoneSound.stop() to ringtoneSound.release() but that didn't work.
Any idea why it is not working? Thanks

Hi. I guess you can try:
ringtoneSound.setLooping(true);   ringtoneSound.prepare();   ringtoneSound.start();
then try to stop it by:
ringtoneSound.stop(); ringtoneSound.reset();
the MediaPlayer cycle should be reset()-->setDataSource(path)-->prepare()-->start()-->stop()--reset()-->...
I guess another reason maybe you should use the same ringtoneSound object in the start and  stop function. Maybe add private MediaPlayer ringtoneSound;.

@anupamgovind1981 I didn't try Ionic 3 yet, but I tried Ionic 2, it can work.

Please suggest changes for iOS.


ior.cyg with lustre explicit support

Modified version of existing ior.cyh with lustre support

Just having a look why it was originally written that way, looks like it was modified to include MVAPICH post.
Hold the merge I guess


resolves infinite loop when received value was zero

this commit solves the problem in projectdiscovery/naabu#123

hi, is there any plan to release a new version to fix this problems?

@LazyMaple the latest release is after this commit - are you still having this issue?


2.0.0 function decodeSkill for cast NP default wait time 0.8 is too short

if index >= -44 and index <= -42 and decodeSkill_NPCasting == 0 then
---Enter card selection screen, ready to cast NP.
click(Location(2300,1200))
decodeSkill_NPCasting = 1
wait(0.8)
end
0.8 can't work on my machine. This number was 1 at 1.9.4, and it worked perfect.
0.8 may not work on some machine I thought.

https://github.com/29988122/Fate-Grand-Order_Lua/commit/95c67f241196f846b6b3ac68dc2998c3f2cf6181
Thank you for pointing this out : D


Add Dockerfile to build da mock server

Creates a docker image to build the grpc/mockserv. Additionally adds a gh action that builds and publishes the docker image to ghcr.io/celestiaorg/optimint-mockserv.

Codecov Report

Merging #370 (8fa66a5) into main (7fbf117) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #370   +/-   ##
=======================================
  Coverage   56.61%   56.61%
=======================================
  Files          44       44
  Lines        7516     7516
=======================================
  Hits         4255     4255
  Misses       2655     2655
  Partials      606      606

Impacted Files
Coverage Δ

da/grpc/mockserv/mockserv.go
82.35% <ø> (ø)

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 7fbf117...8fa66a5. Read the comment docs.

 Please re review.

@jbowen93 anything blocking the merge?


Changed to activate before opening window on macos.

What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Docs
[ ] New Binding issue #___
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change?

[ ] Yes, and the changes were approved in issue #___
[x] No

Checklist

[x] When resolving issues, they are referenced in the PR's title (e.g fix: remove a typo, closes #___, #___)
[x] A change file is added if any packages will require a version bump due to this PR per the instructions in the readme.
[x] I have added a convincing reason for adding this feature, if necessary

Other information
fix https://github.com/tauri-apps/tauri/issues/4310
Fixed a bug that when starting tao with cargo run on macos, it was activated after the window was opened.
before fixed
https://user-images.githubusercontent.com/65934663/175223299-9a5e9107-59e8-4220-8546-962b9bc96289.mov
after fixed
https://user-images.githubusercontent.com/65934663/175223480-0aaee509-2cd1-4170-8f11-1980b840be3b.mov

Hey folks!
What is the status here? Is there a chance to get this into main soon?
Best,
Adrian

@amrbashir @keiya01 @wusyong Apologies for the pings -- are there any updates on the review of this PR?


add autoLink attribute in session detail

Issue

close #181

Overview (Required)

add autoLink attribute in session detail

Links

https://github.com/DroidKaigi/conference-app-2020/blob/b6a92c302839309a53538807214aa7c967f96112/feature/session/src/main/res/layout/fragment_speaker.xml#L114

Screenshot

Before
After

👀

Awesome! 👍
I will merge when the CI completed.

Thank you very much.
By the way, do official coding rules require a newline at the end of the file? Is it unnecessary?

The details are currently undecided, so it is okay.


Show pre-commit bot vs command line conflict

Running tox -e pre-commit does not reformat the code. Let's see what the bot does.

@chrismeyersfsu there was a case when two runs of pre-commit were needed to settle the formatting between several tools. In that case, the pre-commit.ci bot would send the first formatting update but not the following one, not reacting to its own commit (GitHub Apps normally do this to prevent infinite loops where they trigger themselves).
I handled this manually once, which is why you're no longer seeing it.


Codeblock has a case sensitive issue

In your https://johnnyreilly.com/docusaurus-using-fontaine-to-reduce-custom-font-cumulative-layout-shift article there's a case sensitive issue with  this codeblock section.
\\ ...
 plugins: [
              fontaine.fontaineTransform.webpack({
                fallbacks: [
\\ ...

Should be  fontaine.FontaineTransform.webpack
Had me scratching my head when I got a docusaurus build error, but caught this. :)
[ERROR] TypeError: Cannot read properties of undefined (reading 'webpack')
    at Object.configureWebpack (/workspace/didocs/docusaurus.config.js:187:42)
    at applyConfigureWebpack (/workspace/didocs/node_modules/@docusaurus/core/lib/webpack/utils.js:133:43)
    at /workspace/didocs/node_modules/@docusaurus/core/lib/commands/build.js:155:62
    at Array.forEach (<anonymous>)
    at buildLocale (/workspace/didocs/node_modules/@docusaurus/core/lib/commands/build.js:149:13)
    at async tryToBuildLocale (/workspace/didocs/node_modules/@docusaurus/core/lib/commands/build.js:41:20)
    at async mapAsyncSequential (/workspace/didocs/node_modules/@docusaurus/utils/lib/jsUtils.js:34:24)
    at async Command.build (/workspace/didocs/node_modules/@docusaurus/core/lib/commands/build.js:76:21)

P.S. Awesome blog I use your swc-loader, preload fonts, and fontaine tutorials. Gonna give the prefetch priority one a try too.

Oh good catch! Do you fancy submitting a 1 char PR? https://github.com/johnnyreilly/blog.johnnyreilly.com/blob/7f21233691fc9d970c22f48515391201d484a97c/blog-website/blog/2022-12-01-docusaurus-using-fontaine-to-reduce-custom-font-cumulative-layout-shift/index.md?plain=1#L82


Living Room - Kitchen Lights

ikea bulbs? Would need 6 - £72
in-wall dimmer/switch? Are existing LED bulbs dimmable, is the backbox big enough?

Tradfri bulbs fitted and controller installed over switches.


Use firebase auth roles for admin roles, instead of the firestore config collection

See: custom claims, https://medium.com/@hiranya911/firebase-introducing-bulk-user-export-and-custom-claims-e0187344c8ee

https://firebase.google.com/docs/auth/admin/custom-claims

NB the firebase admin API is only available in server-side node.js, not in the client app.


Give ability to skip specific service zone creation (fscloud profile module)

Description
Add some logic to allow consumer to indicate how to skip creation of some rules. Currently the module creates rule for all services in https://github.com/terraform-ibm-modules/terraform-ibm-cbr/pull/267

By submitting this issue, you agree to follow our Code of Conduct

PR merged, closing this.
Included in https://github.com/terraform-ibm-modules/terraform-ibm-cbr/releases/tag/v1.7.0


Automatic updates / update alerts

Not sure how this could work with the client (TestFlight distribution?), but would definitely be welcome for the server app.
EDIT: Thought for the client - maybe not automatic updates, but check for a newer version on launch and display an alert if the user is running an outdated version.

Please, is it possible to have an About... item in the menu with the version number?


Some images fail to publish on MacBook Pro (M1)

After running brave build an error is encountered during the Publishing stage that prevents the image the being built.
The error message shown is:
failed to publish image: signal: broken pipe

This doesn't always happen - some images are built fine. But once it starts happening it seems to happen consistently.
Environment:

MacBook Pro (M1)
macOS Sonoma 14.2.1
Bravetools version: release-2.00
LXD version: 5.0.2

Does this happen when connected to a VPN?

Does this happen when connected to a VPN?

It happens whether I'm connected to a VPN or not - rebooting Multipass and the machine itself also does not make a difference.

I’ve had a similar issue when multipass resources were exhausted. Particularly ram/disk space, when packaging larger images. I’ve given it n-2 ram and 120gb disk. N is host ram.

I’ve had a similar issue when multipass resources were exhausted. Particularly ram/disk space, when packaging larger images. I’ve given it n-2 ram and 120gb disk. N is host ram.

Thanks, this was the issue. multipass info showed that I was out of disk space:
Disk usage:     11.0GiB out of 11.6GiB

This explains why building a new image derived from a previously built image with no changes failed - after allocating more disk space for Multipass there are no further issues.


Respect of Options Flag

My current command is:
sudo /usr/local/Installomator/patchomator.sh --yes --options IGNORE_APP_STORE_APPS=no BLOCKING_PROCESS_ACTION=silent_fail NOTIFY=silent INTERRUPT_DND=no REOPEN=no PROMPT_TIMEOUT=300 --verbose --write \ --ignored "firefox firefox_da firefox_intl firefoxdeveloperedition firefoxesr firefoxesr_intl firefoxesrpkg firefoxpkg_intl googlechromeenterprise googlechrome microsoftedgeconsumerstable microsoftedgeenterprisestable microsoftonedrive-rollingout microsoftonedrive-rollingoutdeferred microsoftonenotereset microsoftoutlook-monthly microsoftoutlookdataremoval microsoftoutlookreset microsoftpowerpointreset zoomclient zoomgov zoomrooms microsoftteamsclassic microsoftteamsnew googledrivebackupandsync googledrivefilestream"
It doesn't matter where I place --options IGNORE_APP_STORE_APPS=no BLOCKING_PROCESS_ACTION=silent_fail NOTIFY=silent INTERRUPT_DND=no REOPEN=no PROMPT_TIMEOUT=300, `--verbose- always shows:
[NOTICE] Verbose Mode enabled. [NOTICE] Option Count 10 [NOTICE] Installomator Options: [NOTICE]  - IGNORE_APP_STORE_APPS="no" [NOTICE]  - LOGGING="INFO" [NOTICE]  - SYSTEMOWNER="0" [NOTICE]  - NOTIFY_DIALOG="1" [NOTICE]  - NOTIFY="success" [NOTICE]  - INTERRUPT_DND="yes" [NOTICE]  - LOGO="appstore" [NOTICE]  - REOPEN="yes" [NOTICE]  - BLOCKING_PROCESS_ACTION="tell_user" [NOTICE]  - PROMPT_TIMEOUT="86400"
How can I verify the --options I have passed are used by Patchomator?

The challenge is I just want labels generated on devices. Applications shouldn't be installed. However, in testing, I'm getting popups for application update notifications. I thought passing Installomator options would fix this issue, but unfortunately it persists.

installomator options need to be passed all together, inside quotes, each one separated by commas.
so
--options "setting1=yes, setting2=no"

Amazing, thank you so much! That work. I really appreciate all of your hard work on Patchomator!


Add .rnc grammar, & build .rng output from that.

If you want to do this, then this PR supersedes #21 and #22 (it incorporates those changes, while making the .rnc grammar the source going forward).

I will do that, even if from the other way round. Producing the rnc from rng. I'll write a new issue about that.

I will do that, even if from the other way round. Producing the rnc from rng. I'll write a new issue about that.

Sounds good~


Provide IDEHelpers

Fixes #8

Lua configuration settings are written to the workspace .vscode/settings.json or *.code-workspace file.
This does not need to happen every time the extension is activated. Maybe this should be a command instead.
Updating the user's global configuration is another option, but I'd prefer not to tamper with the user's global settings.

This might be useful
https://github.com/LuaLS/lua-language-server/wiki/Libraries#bundling-in-a-plugin-extension

The infrastructure is ready, it just needs the reference files. I'll open a separate new issue for that, as this is blocking the merge here.


Updating the bounds of the text view to fit the content size

Codecov Report

Merging #592 into master will decrease coverage by <.01%.
The diff coverage is 25%.

@@            Coverage Diff             @@
##           master     #592      +/-   ##
==========================================
- Coverage   58.16%   58.15%   -0.01%
==========================================
  Files          90       90
  Lines        3839     3855      +16
==========================================
+ Hits         2233     2242       +9
- Misses       1606     1613       +7

Impacted Files
Coverage Δ

...ttoAdditions/Source/Input/ExpandableTextView.swift
64.6% <25%> (-6.54%)
:arrow_down:

...Controller/BaseChatViewController+Presenters.swift
61.29% <0%> (+3.22%)
:arrow_up:

...Chat Items/TextMessages/Views/TextBubbleView.swift
82.22% <0%> (+3.33%)
:arrow_up:

Continue to review full report at Codecov.

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


Building for iOS fails: ld: framework not found Flutter

Xcode's output:
↳
    ld: framework not found Flutter
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    note: Using new build systemnote: Planning buildnote: Constructing build description

Could not build the application for the simulator.
Error launching application on iPhone 11 Pro Max.

my xcode version is 11.1
it's no problem with xcode 10

@juneqiu  Please check https://stackoverflow.com/a/54860339/12268368.

What exact command produced that?  Flutter is not supported in Release mode on the simulator.

What exact command produced that? Flutter is not supported in Release mode on the simulator.

flutter run. it can run in android stadio

What exact command produced that? Flutter is not supported in Release mode on the simulator.

flutter run. it can run in android stadio

flutter run defaults to release mode.  You can target a real device with release, or the simulator with debug.
flutter run --debug

Duplicate of https://github.com/flutter/flutter/issues/11754.
Let's keep this open, I think we should detect the simulator is being targeted in release mode and short-circuit with a better error message.

What exact command produced that? Flutter is not supported in Release mode on the simulator.

flutter run. it can run in android stadio

flutter run defaults to release mode. You can target a real device with release, or the simulator with debug.
flutter run --debug

Duplicate of #11754.
Let's keep this open, I think we should detect the simulator is being targeted in release mode and short-circuit with a better error message.

`qiujundeMacBook-Pro:flutter_shop qiujun$ flutter run --debug
Launching lib/main.dart on iPhone 11 in debug mode...
Running Xcode build...
├─Assembling Flutter resources...                           6.9s
└─Compiling, linking and signing...                         1.0s
Xcode build done.                                            9.7s
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
ld: framework not found Flutter
clang: error: linker command failed with exit code 1 (use -v to see invocation)
note: Using new build systemnote: Planning buildnote: Constructing build description
Could not build the application for the simulator.
Error launching application on iPhone 11.`

What exact command produced that? Flutter is not supported in Release mode on the simulator.

flutter run. it can run in android stadio

flutter run defaults to release mode. You can target a real device with release, or the simulator with debug.
flutter run --debug

Duplicate of #11754.
Let's keep this open, I think we should detect the simulator is being targeted in release mode and short-circuit with a better error message.

failed to build

Do you have any plugins?
Does ios/Runner.xcworkspace successfully build in Xcode?

Do you have any plugins?
Does ios/Runner.xcworkspace successfully build in Xcode?

build in xcode with the problem,but i run flutter doctor can find flutter
ld: framework not found Flutter
clang: error: linker command failed with exit code 1 (use -v to see invocation)

What's the output of flutter doctor -v?
Do you have any plugins?
When you open in Xcode do you see Flutter.framework in your project?

What's the output of flutter doctor -v?
Do you have any plugins?
When you open in Xcode do you see Flutter.framework in your project?

thank you!I have resolve the problem by install flutter again!

@juneqiu Please check https://stackoverflow.com/a/54860339/12268368.

thanks,i have resolve it by install flutter again

You resolved the issue by reinstalling flutter again?  Do you know what version you were on before?
I'm concerned that framework ever disappeared.

Yes,it can run with iOS simulators ,when i reinstalling flutter.  I have forgotten  the old version. The old version was installed about three or four months ago.

I have faced the same issue after re-installing XCode. To fix this I've just upgraded Flutter flutter upgrade and run pod install. Hope it'll help someone

I have faced the same issue after re-installing XCode. To fix this I've just upgraded Flutter flutter upgrade and run pod install. Hope it'll help someone

yes,My flutter version was too low at the time

This fixed the issue for me
--    flutter channel stable
--   flutter upgrade

I just ran into this issue after removing a dependency package 'fluttertoast' from the pubspec file. Tried running flutter pub get and then ran flutter run --debug and received the following output.
Launching lib/main.dart on iPhone 11 Pro in debug mode...
Running pod install...                                              3.3s
Running Xcode build...

 └─Compiling, linking and signing...                         2.5s
Xcode build done.                                           21.7s
Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **

Xcode's output:
↳
    /Users/ra/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/audioplayers-0.15.1/darwin/Classes/AudioplayersPlugin.m:88:37: warning: incompatible pointer types sending 'FlutterEngine *' to parameter of type 'NSObject<FlutterBinaryMessenger> *
    _Nonnull' [-Wincompatible-pointer-types]
                        binaryMessenger:_headlessEngine];
                                        ^~~~~~~~~~~~~~~
    In module 'Flutter' imported from /Users/ra/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/audioplayers-0.15.1/darwin/Classes/AudioplayersPlugin.h:2:
    /Users/ra/Documents/Workspace/Flutter Projects/test/ios/Flutter/Flutter.framework/Headers/FlutterChannels.h:178:74: note: passing argument to parameter 'messenger' here
                          binaryMessenger:(NSObject<FlutterBinaryMessenger>*)messenger;
                                                                             ^
    1 warning generated.
    /Users/ra/Documents/Workspace/Flutter Projects/test/ios/Runner/AppDelegate.swift:13:58: warning: conditional cast from 'AppDelegate' to 'UNUserNotificationCenterDelegate' always succeeds
          UNUserNotificationCenter.current().delegate = self as? UNUserNotificationCenterDelegate
                                                             ^
    ld: framework not found fluttertoast
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    note: Using new build system
    note: Building targets in parallel
    note: Planning build
    note: Constructing build description

Could not build the application for the simulator.
Error launching application on iPhone 11 Pro.


Upgrades for Database - Functional Export, and Import for ChatGPT

If it plays a role, I'm testing with:
Binding: c_transformers, Model: mpt-30b-instruct.ggmlv0.q5_0.bin
I noticed the export functionality isn't working in the latest updates.  I'm new to the project so I don't know when it last worked but it currently only exports an empty dictionary in the form of a text file containing "{}".  Also the need to import data exported from ChatGPT is kinda essential.
So for the moment this is a placeholder to start the process of fixing the export process and more importantly (IMO) upgrading the database import so that we can move our ChatGPT exports into the database.  I'll update this initial post with details throughout the coming days and welcome all input in the process.
Import Details as described here
The import process currently expects:
{ "id" : "discussion_id",
  "title": "discussion_title",
  "messages": "messages_data in list format"
}

The "messages" key expects list entries to contain the following items: sender, content, type, rank, parent, binding, model, personality, created_at, finished_generating_at, discussion_id
Export Details as described here
To be updated

Thanks for your message
This has been fixed in last commit.
I'll think about adding import from chatgpt files. Maybe I'll add it later.

Thanks for your comments.  It would definitely bring a lot of value to the project if users could import their ChatGPT data.  I should have opened this as a discussion, perhaps we can move this issue to discussions.  I'm searching for how

I have built the script. Now i need to add a button to the ui. But this is getting too much work as people are asking for many features, like exllama support. So i need to prioritize

Since you already have the script, maybe this pull request will help with that some?  Thanks

Thanks, I've accepted the PR. I'll integrate the script as soon as I can.


release pipeline takes too long

Here, as you can see, release pipeline takes ~1hr, which is quite long, and frustrating. Our release script in .rultor.yml has some flows:

redundant npm install in install section
redundant command execution in just rultor

Overall, it would be great to achieve < 20min release time. Let's check what we can do

build pipeline now takes 20min-1h. Release time depends on rultor availability and load


Nucleus: install Greengrass software without specifying thing name

Feature Description
Decouple Greengrass software installation and provisioning/connection it to Thing. Local installation should have capability to run local component deployments and provisioning/connection to Thing.
Use Case
I want to develop custom Greengrass component that will be responsible to obtain somehow Thing details (name, group, roles, certificates, etc) and then link local running Greengrass software with this Thing.
Proposed Solution
Allow installation and run of Greengrass software in "local mode" with possibility to use Greengrass CLI for local deployments and connecting to Cloud on-demand.

[ ] :wave: I may be able to implement this feature request
[ ] :warning: This feature might incur a breaking change

Greengrass can run without a thing name, but the you would not be able to deploy to it since it is not connected to the cloud.
You can see our documentation here for doing a custom provisioning: https://docs.aws.amazon.com/greengrass/v2/developerguide/custom-provisioning.html.
Hope this helps

Thank you @MikeDombo.
I can't see how custom provisioning can help. I need exactly deploy without connection to the cloud. My custom component is going to wait for some event to happen and then connect Greengrass software to the cloud based on the data from event.

My custom component is going to wait for some event to happen and then connect Greengrass software to the cloud based on the data from event.

This sounds like custom provisioning to me. Your component would implement the provisioning interface, Greengrass would execute it on startup and then your component would wait for the event. Once it receives the event, it provides the provisioning information to Greengrass and then Greengrass will be able to connect to AWS IoT and receive cloud-based deployments.
You can make local deployments using the Greengrass local CLI component: https://docs.aws.amazon.com/greengrass/v2/developerguide/greengrass-cli-component.html are you aware of this component?

Thank you @MikeDombo.
It looks now that it could be a case.
So this could be closed


The missing file: 'js/bootstrap-datepicker.js'.

the missing file: 'js/bootstrap-datepicker.js'.  how to get it?

@pyboyxrb missing? should be automatically registered with the bundle? https://github.com/2amigos/yii2-date-picker-widget/blob/master/src/DatePickerAsset.php#L28

how to disable the display of the time? The standard method fron bootstrap does not work.
I need to choose a user date only, without time
$form->field($model, 'datetime_birthday')->widget(DateTimePicker::className(), [
'language' => 'ru',
'pickButtonIcon' => 'glyphicon glyphicon-time',
'clientOptions' => [
'autoclose' => true,
'format'=> "dd MM yyyy",
'todayBtn' => true,
]
]);

Use DatePicker widget instead @ilyafreer


Get all registered routers

Is there any way to get all registered routes?

Watch

routerInstance.routes().router.stack might be what you're looking for.


Clarify privileges for SHOW QUERIES

Re: SHOW QUERIES
Issue Description
The page says
However, note that non-root users see only their own currently active queries, whereas the root user sees all users' currently active queries.
Is that still true, or is it all about the admin role since 2.0?
I assume there's notes like this everywhere.
@mberhaul

We have closed this issue because it is more than 3 years
old. If this issue is still relevant, please add a comment and re-open
the issue. Thank you for your contribution to CockroachDB docs!


fix: check gas before perform op

This is a quick attempt to fix the bug identified in block 19794433 tx 0xb487d37c4f13407af55797add295c127f19ea6c823b8ba4e53fe1a3457d902c9 where JUMPS get executed despite of an Out-of-Gas condition.
I am going to add a regression test as part of this PR.
Offending instruction from RPC structlog:
{
 "step": 1198,
 "curr_depth": 2,
 "tx_hash": "0xb487d37c4f13407af55797add295c127f19ea6c823b8ba4e53fe1a3457d902c9",
 "code_hash": "0xb9c1c929064cd21734c102a698e68bf617feefcfa5a9f62407c45401546736bf",
 "ctx": 2,
 "pc": 563,
 "pc_hex": "00000233",
 "gas": 2,
 "gas_cost": 10,
 "op": "JUMPI",
 "entry": "StructLog { pc: 563, op: \"JUMPI\", gas: 2, gas_cost: 10, depth: 2, error: None, stack: Some([599290589, 10000,<PHONE_NUMBER>6404416513646796018318532483072908513802138792889746402715613072618,<PHONE_NUMBER>81497199554169577046225233044076042219, 294,<PHONE_NUMBER>81497199554169577046225233044076042219, 128, 10000, 0, 0, 288, 0, 1, 567]), return_data: None, memory: None, memory_size: None, storage: None, refund_counter: None }"
}

Just to clarify, is this "bug" affecting develop too or is it purely related to the structlogs interaction in the JD branch?

I am arguing for the former as follows:
develop does:
perform_op
check_gas

where this PR does:
check_gas
perform_op

The consequence is, that the jump is performed before the OOG is detected. The endpoint does not perform the jump.
This difference results in the extra JD offset in the simulation.
0000022d: DUP3
0000022e: DUP1
0000022f: ISZERO
00000230: PUSH2 0x237
00000233: JUMPI        <---- OOG
00000234: DUP3
00000235: DUP3
00000236: RETURN
00000237: JUMPDEST     <---- shouldn't be in the reached set.


[Bug] NotFoundError: Failed to execute 'removeChild' on 'Node'

Describe the bug
Error message after a reply timed out.
To Reproduce
Steps to reproduce the behavior:
In a conversation, continue chatting until it doesn't work anymore. This error has only been triggered a couple of times, both times it just appears as the bot is "thinking" for several minutes, then the error shows.
Deployment
Server
Desktop (please complete the following information):

OS: Mac OS latest
Browser: Chrome latest

Additional Logs
at div
at div
at eT (https://chat.example.io/_next/static/chunks/app/page-98631271340bf97d.js:1:35814)
at div
at div
at eM (https://chat.example.io/_next/static/chunks/app/page-98631271340bf97d.js:1:39495)
at div

What's your version of code? Are you using latest code?
Attaching browser log and server log may help.

Latest code from stable branch.
I'll look at logs later when I'm back at a computer.


hacktoberfest-accepted

submmited by saikrish32 sample file

samle file by me

What exactly is that meant to be?
This repository is for creative/abstract solutions to FizzBuzz. What kind of purpose does your committed MarkDown file have?
Closing this and marking as invalid.
Please stay in the scope of this repository.


Add Dockerfile for overlaybd convertor

What this PR does / why we need it:
add Dockerfile to build image for overlaybd convertor
Please check the following list:

[ ]  Does the affected code have corresponding tests, e.g. unit test, E2E test?
[x]  Does this change require a documentation update?
[ ]  Does this introduce breaking changes that would require an announcement or bumping the major version?
[ ]  Do all new files have an appropriate license header?

thanks~


Expose patched function name in aspects framework

The aspects patching framework allows you to specify an array of function names to patch. eg. for aspect.around:
var functionNames = [];
aspect.around(target.prototype, functionNames,
    function(target, args) {},
    function(target. args, rc) {}
);

This means you can patch multiple functions in the same way with the same code, but there's no way of knowing the name of the actual function that is running. This is useful if you want to add it to the raised monitoring event.
Passing the function name through to the function callbacks as an additional (last) parameter provides access to the name of the function without breaking existing code, eg:
var functionNames = [];
aspect.around(target.prototype, functionNames,
    function(target, args, funcName) {},
    function(target. args, rc, funcName) {}
);

@tunniclm Any view on the addition of the patched function name as a new last parameter passed to the supplied before and after callbacks?
Note that this only applies to aspect.before(), aspect.after() and aspect.around(). The aspect.aroundCallback() call doesn't take a function name - you should already have that from a previous call to aspect.before() or aspect.around().

@seabaylea This approach seems reasonable to me, adding as the last argument should prevent breakage of existing usage code.

Closing with PR #49


Refactor of hash getter, etc.

Move hash getter related methods from TestEthStorageContractKZG to EthStorageContract

Tested with es miner.


Process finished with non-zero exit code

when i going for db First approach in .net core with Entity Framework Core    1.0 its giving me this error
"Process finished with non-zero exit code"  while i am executing  Scaffold-DbContext
please help me out
Further technical details
Database Provider: . Microsoft.EntityFrameworkCore.SqlServer
Operating system: WIN10
IDE:  Visual Studio 2017RC

its just framework issue update your framework


Upload status check fails when upload errors.

@sharkinsspatial is this related to https://github.com/hotosm/oam-catalog/issues/123?


Add testcase for real url decoding

As a follow-up of https://github.com/apache/pinot/pull/8378, adding a test case of using real url format in encodiing/decoding
Does this PR prevent a zero down-time upgrade? (Assume upgrade order: Controller, Broker, Server, Minion)

No (Please label as backward-incompat, and complete the section below on Release Notes)

Codecov Report

Merging #8388 (407b1f8) into master (2d5cbf7) will decrease coverage by 3.85%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #8388      +/-   ##
============================================
- Coverage     70.80%   66.94%   -3.86%
+ Complexity     4276     4191      -85
============================================
  Files          1654     1251     -403
  Lines         86452    63020   -23432
  Branches      13037     9837    -3200
============================================
- Hits          61211    42189   -19022
+ Misses        21012    17816    -3196
+ Partials       4229     3015    -1214

Flag
Coverage Δ

integration1
?

integration2
?

unittests1
66.94% <ø> (+<0.01%)
:arrow_up:

unittests2
?

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

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


ReplyAsync should return the message sent

I respectfully disagree, and I posted my reasoning in #333.