ViewErrorBag bag empty if ValidationException is caught

Laravel Version: 5.7.8
PHP Version: 7.2.11

Description:
From the docs about validate():

If the validation rules pass, your code will keep executing normally; however, if validation fails, an exception will be thrown and the proper error response will automatically be sent back to the user.

It's not clearly stated if the errors will be sent to the view in case the exception is caught manually. I noticed different behavior between versions:
Steps To Reproduce:
try {
    $this->validate([..invalid_request..])
}
} catch (\Exception $e) {
    return redirect()->back();
}

version 5.2.45
$errors are available in view. ViewErrorBag Bag has errors.
version 5.7.8
Bag is empty.
If i don't catch the exception, it will be automatically redirect back with $errors available in view in both versions.

If you want to handle the validation exception manually, please use the "withErrors" method of RedirectResponse.
return return redirect()->back()->withErrors($exception->errors(), $exception->errorBag);

If we set an error bag of session, it will be shared with any views via ShareErrorsFromSession. Otherwise, an empty error bag is initialized instead.

Hi there,
Looks like this is a question which can be asked on a support channel. Please only use this issue tracker for reporting bugs or problems. If you have a question on how to use functionality provided by this repo you can try one of the following channels:

Laracasts Forums
Laravel.io Forums
Discord
Larachat
IRC
StackOverflow


Add Order and Size

Hi @dominikbraun,
This PR is for issue #21 with a minor fix on a comment. I would love to get any feedback on this. Also, let me know if some changes are needed to the PR so it can be merged. Thank you!


vendor: update backupstore by v1.3.x branch

from<PHONE_NUMBER>2826-5f5c95274f2a to ~20230316055339-4879228b1209~<PHONE_NUMBER>2849-8d5e216c3b33
longhorn/longhorn#5265
Regression test: https://ci.longhorn.io/job/private/job/longhorn-tests-regression/3313/

I just force update backupstore#1.3.x branch to fix a unit test issue. Please update this PR to use the latest commit, https://github.com/longhorn/backupstore/tree/v1.3.x.

Updated to the v1.3.x latest commit now.


Reload config and reconnect clients on server restart

I'm running my dashboard in a docker container.
When a change is done to configuration, a new image is built and deployed.
This mean that the server restarts but doesn't know that some clients were connected, so there's no data polling, and no updates on connected clients.
When using a dashboard on a TV (without easy access to keyboard/mouse), it's a big problem.
Each client has to refresh the page to get futures updates (new widget added if conf changed, and also existing widget updates is a build status changed).
The purpose of this issue is to fix this behaviour?

@tomav, yes it is, but there's another problem with disconnected clients.
This one isn't easy to solve because I made the (questionable) choice of having a javascript based config file, so it's loaded as a simple module (using require) which cache it, I've fixed it for styles generation when you change the theme (see https://github.com/plouc/mozaik/blob/master/gulp/tasks/styles.js#L17), but I'm not very found of this hack. Switching to json could ease it, but it won't be BC.
I've thought of another approach, abstracting the config so you could have for example a json based config, or having it stored in RethinkDB or whatever, but I think it'll require a lot of work.
I'll think more seriously about it, I agree it's a big issue when you use it on TV (which is one of the purpose of this tool :/).

@tomav, there's a WIP which should fix your problem, now you'll have a notification when the ws connection is broken, then the frontend will attempt to reconnect it 10 times each 15 seconds, see https://github.com/plouc/mozaik/pull/77.

Great!

@tomav available in<EMAIL_ADDRESS>

Upgrading! Thank.

@tomav 1.4.1, there's a bug in 1.4.0

Ok.

Works great! 👍


min distance bounds

Currently the min distance between segments like hand-femur, the two toes, etc are a setting. These min distance should change based on body type. These are often not thought about by the user. This can be a big issue, specially with simulations of kids.
We can make a height based scaling of these bounds, and add things in readme, or warning to tell the user to make sure these are further adjusted based on the participant.

could/should this be added to #89?

Defining min distance bounds was changed in #107 , so should be fine now.


WIP [cudamapper]: Print in SAM format

Add outputting overlapped sequences + alignments in SAM/BAM format
closes !335

CC @tijyojwad

Two things to note here, which I'm kind of stuck on:

I was having some linker errors earlier on which I haven't got around to resolving :(. I think it's a cmake issue, but I'm not sure how to get it to work right. Probably also want to dynamically link it instead of statically link like I'm doing now
I found that the latest samtools master branch doesn't actually compile when I tried build using libhts-dev, so we might want to consider submoduling after all. Or maybe using a newer version

I thought we decided to use a system installation of htslib instead of a submodule. What changed?

Just saw your latest comment. I'm a bit confused - I thought we needed samtools' libhts, not samtools itself. Why do we need to compile the samtools?

@ahehn-nv I was having some linker issues which I think was due to my incorrect cmake so I tried to work around it (this is totally fixable, I just haven't figured it out what's wrong yet)). And then see 2) in my above comment about samtools not building properly with libhts-dev; not sure if we actually care about that or not, but I was able to get things working if I used htslib built from source

I thought we needed samtools' libhts, not samtools itself. Why do we need to compile the samtools?

You're totally right, we don't need samtools itself. It was just a side-note, I suppose? I figured that since we wanted to be compatible with samtools, it would be bad if a library we were using was incompatible. Maybe it's not actually a problem. I can change to use libhts-dev after I figure out the linking issues I'm having

rerun-tests

@tijyojwad CI seems to fail because it's missing autoheader and autoconf. sudo apt install autoconf needs to be run first. Could these be added to the CI machines? I can add them to the System Requirements docs if acceptable

rerun-tests

rerun tests


What is responsible for the speed of generating images faster instead of waiting?

Hello, I have a question regarding the speed of generating images in stable diffusion
What is responsible for the speed of generating images faster instead of waiting?
Is it a graphics card?
What about graphics card size
6 GB or 4 GB will suffice, or do I need a larger size?
I want something that helps me get pictures faster
Please help, I need to buy a laptop that can run without problems
My budget is 933$
thanks

the RTX 3070 is twice as fast as the colab standard GPU T4
with the RTX 3070, the speed it about 12it/s
if you want dreambooth, you will need the RTX 3090

Do you have experience
I have a budget of $1,066.67. What can buy a laptop that can generate images quickly
I want the names of a laptop that I can buy with this amount

Do you have experience
I have a budget of $1,066.67. What can buy a laptop that can generate images quickly
I want the names of a laptop that I can buy with this amount


Development caching is confusing

There was a discussion on the Chatter repo about how things would act strangely if caching is not enabled in development. I believe that I have fully cracked the code but I feel the scenario should be revisited.
Long story short: we don't (currently?) support cookie-based sessions. Instead, in the StimulusReflex install rake task we actually set the session storage to be cache_store and then enable caching in development as part of the task.
There are two very real issues with this:
First, some people might have legitimate reasons to not want caching enabled in development. Honestly, I don't understand the logic of developing with caching off, considering that if you're going to have bugs in production, development seems like a pretty good time to catch them. I personally believe that development caching should be on by default for this reason - but I don't get to make this call. If they need to have caching off and use StimulusReflex, they can use ActiveRecord session storage.
Second, the bigger problem is that a lot of problems emerge when people clone repos that use StimulusReflex and they don't know to explicitly turn caching on. It's done for you when you install SR, but you're on your own when you're cloning. A significant and growing percentage of support concerns on Discord are resolved by getting developers to enable caching.
I have several possible solutions to suggest:

We could expand on our current opinionated defaults and instead of just adding config.session_store :cache_store to config/environments/development.rb on line 3 as we do now, we could actually remove lines 19 and 27-31 from development.rb, essentially removing the rails cache:dev locked in the ON position.
We could create tmp/caching-dev.txt if it doesn't already exist as part of the rake task.
We could install a git hook to create tmp/caching-dev.txt if it doesn't exist at checkout.
We could do:

config.cache_store = :memory_store
config.action_controller.perform_caching = false

None of these are perfect, but what's clear to me is that every outcome has compromises attached to it, including the status quo.

I‘d opt for the second along with an info log message.
Also, I remember having noted that we should probably add that config line to production, too. Tripped me up a couple of times

I concur with @julianrubisch that #2 seems like the best way to go as long as we make sure to alert the developer properly and not with a message that flashes by in the logs about what we did and why

If anyone wants to make number 2 into a PR, that'd be pretty rad.

@leastbad I could have a go at that. Any cross OS thing I should look out for?

@RolandStuder amazing! I think Rails.root.join("tmp/caching-dev.txt") should git'r done.

I tried to have a go at this, but I have very little of the bundling / gem install process. If I understand correctly the Rakefile says how to build / install a Gem. SR does this using bundler helpers by require "bundler/gem_tasks"
So I feel like the way to go about this is to replace / extend the required install task. But I don't see any effect of changing anything in the Rakefile.
I am including the gem via the path.
Can somebody give me any pointers, how to go about this?

I'm not 100% sure I understand what you're asking, but I'm also pretty new to gem stuff.
The install task can be found in the project at lib/tasks/stimulus_reflex/install.rake
Not sure where (or if) Rakefile comes into the conversation.

Well the point is, with the install task it already does activate the cache, see
https://github.com/hopsoft/stimulus_reflex/blob/master/lib/tasks/stimulus_reflex/install.rake#L54
I thought the point was to make a line that does basically the same thing (make sure there is a tmp/caching-dev.txt ), but at the moment when you just have a Gemfile and run bundle install.
Well it may be that this is not actually possible.
Or maybe I misunderstood the intention of solution 2 alltogether :-)

Sorry, you're absolutely right. I was initially trying to answer your question without a full context switch. That didn't work out so well, I'm sorry.
I don't know the solution, so anything that follows is just brainstorming with you. I don't know what's considered to be "too opinionated" when it comes to Rails autoload stuffs. What I'm about to say could be too heavy-handed.
First: I think where we should be looking (instead of Rakefile) is lib/stimulus_reflex.rb aka the place where everything gets required.
Second: I think it's too late for this particular execution to turn on caching if it's not already enabled when your environment config file runs. The most we can do is inspect the values and then, depending on how they are set, consider putsing a strongly worded message in the server output logs.
[6] pry(main)> Rails.application.config.session_store
=> ActionDispatch::Session::CacheStore
[7] pry(main)> Rails.application.config.cache_store
=> [:redis_cache_store, {:url=>"redis://localhost:6379/1"}]

Now, if we wanted to be radical, we could:

detect that we're in development mode
detect that caching is not enabled
create tmp/caching-dev.txt
display a formatted message saying "hey! we noticed that you weren't caching, but if you restart your app, you will be!"

I don't think we should do that, currently. But I do like the idea of inspecting the current configuration details and then potentially displaying a message. What do you folks think?

I submitted a PR for this just now which uses an initializer in the Engine to verify caching is enabled and exit out if it isn't. 👍


Pre/post triggers for VIT actions

I've been thinking about how VIT behaves after creating a new task -- currently it simply reloads the report fresh.
There's some convenience things we could do, but I'm unclear about how useful they might be, and /or how best to implement them. Ideas:

Focus on the added task after the report reloads. This could be just hard wired, or a config value with a sensible default (which is?)
Run a custom action/command after the task is added. Examples could be {ACTION_TASK_EDIT} or !rw myscript.sh {TASK_UUID}. Obviously a config option disabled by default.

Looking for some thoughts on the above and any other suggestions folks might have.

Focus on the added task after the report reloads. This could be just hard wired, or a config value with a sensible default (which is?)

I think this was also requested at #109.

Run a custom action/command after the task is added.

Interesting. This opens up a huge box of possibilities. Perhaps you want to avoid this rabbit hole, but I cannot help but think about it so I log some thoughts here: What are all the possible triggers/signals that hooks could condition on? Adding/modifying/completing/deleting a task are some examples; detecting that pending.data changed (#191) is another. Perhaps this relates to the plugin architecture that you have in mind.

Ah good point about pre-triggers! Probably we should study interfaces of other frameworks. I've never actually used Taskwarrior hooks or Git hooks.
I would add another question that might affect decisions: what are some motivating examples for practical things that this feature can be used for?

I can take a look at that, but probably not for a couple of weeks.

I wasn't able to get to this and am not sure when I will now. @thehunmonkgroup if you are waiting on me to do this, let me know and I will try to get to it when I can.

@scottkosty I'm not rushing this issue at all, so when you have time go ahead and post your findings here.

@thehunmonkgroup sounds good, thanks.

This would be a lovely feature enhancement, most particularly in my case to be able to automatically highlight/select a task after it's created.
Is this proposed pre/post hook triggers dependent on a plugin architecture first being implemented?

@ahillio I don't think it is, as long as it's architected to easily support the addition of the plugin architecture in the future it could be done first.

I just noticed that when a task is added, the cursor goes back to the first task in the report, probably due to the report being reloaded.

Focus on the added task after the report reloads. This could be just hard wired, or a config value with a sensible default (which is?)

To me it would make most sense to always focus on the previously focused task, so that could be the default.
Maybe then setting the config value to focus on the added task would focus on the previously focused task as a fallback if it isn't in view?


Getting artefacts on mouse move over window

VSCode Version: 1.50.1
OS Version: Windows_NT x64 10.0.19042

Steps to Reproduce:
There is many variations how it shows up

minimise window

lose focus by clicking on desktop

on desktop make selection under window

alt-tab window

lose focus by click on desktop

move mouse over window

these all work randomly
sometimes shows and sometimes no but using vscode is imposible

Does this issue occur when all extensions are disabled?: Yes

/duplicate https://github.com/microsoft/vscode/issues/103673
You can disable hw acceleration for a temporary workaround https://code.visualstudio.com/updates/v1_40#_disable-gpu-acceleration


Scrolling in a server with a lot of channels

This will cause all the channels to shift to left eventually (50+ channels?)

This is caused by lazy loading which can't be fixed in the theme. Only workaround is to mute channels you don't need


Send |unlink|hide through Global Room when locking/banning

I've been having trouble testing this because I only have one IP, though... I need to figure out port forwarding at my new place

[00:48] &xfix: But do you want to send 10000 unlink messages when someone gets locked?
[00:49] @Ascriptmaster: sigh
[00:49] @Ascriptmaster: true that

You can test with multiple IPs locally by connecting via anything in the <IP_ADDRESS>/8 subnet, which all routes to loopback. (e.g., <IP_ADDRESS>.psim.us, <IP_ADDRESS>.psim.us, <IP_ADDRESS>.psim.us)

Why are we doing this?

The idea was that if someone spams in multiple rooms and is locked, not all rooms might get notified and thus the client won't erase messages for people not in the room the spammer was locked from.
At any rate, this was implemented incorrectly anyways since sending to global doesn't do what I want.

You could track the last room they spoke in, I guess.

"Last room they spoke in" isn't good enough because most locks happen after they spam multiple rooms...

I almost want to keep track of recent rooms a user has talked in, but that's going to scale very very badly

I don't think this will work out because of the sheer memory requirements needed to track every user's recent rooms.
I'm thinking about alternate solution of a command that can send the unlink message to any room if a user is locked, what should it be called?

What about a command like /unlink user, (room) that works for all users? It's been suggested/requested a few times, even by global staff. It could be sent to the current room if only the user is specified and |unlink|hide| if the user is locked.

We could scan the last N lines of every public room for the user, I guess?

Public... Doesn't look like a totally terrible idea.

I'd support /unlink as well.

Requiring /unlink to only be used on muted/locked/etc users might fix that worry.

Have a /hidetext command.

idk if this is a good help text but it can be refined.

Poke this again as of next server restart.

Server restarted 9 hours ago. I bump now?


Using IPAM-DNS coupling from a custom script

Versions
NetBox Version: 3.6.3
NetBox DNS Version: 65d9cd5
Python Version: 3.8.10
Describe the bug
When I try to use the IPAM-DNS coupling inside a custom script, the DNS name is not updated and no DNS Record is created. It looks like signals (pre_save, ...) are not triggered.
To Reproduce
Steps to reproduce the behavior:

Create à custom script using and saving an IPAddress object
Execute the script

Expected result
The DNS Name of the IPAdress object must be updated.
A DNS record must be created
Actual result

DNS name is not updated
no DNS Record is created

Code Examples
from netaddr import IPNetwork
from ipam.models import IPAddress
from extras.scripts import Script, IPAddressVar, StringVar, ObjectVar
from netbox_dns.models import Zone

class Test(Script):
    class Meta:
        name = "Test"
        commit_default = True

    hostname = StringVar(
        label="Hostname",
        required=True
    )

    zone = ObjectVar(
        label="Zone",
        model=Zone,
        required=True
    )

    ip_address = IPAddressVar(
        label="IP Address",
        required=True
    )

    def run(self, data, commit):

        self.log_info("Test")

        IPAddress(
                address=IPNetwork(data['ip_address']),
                custom_field_data={
                    "ipaddress_dns_record_name": data['hostname'],
                    "ipaddress_dns_zone_id": data['zone'].id,
                }
        ).save()

Hi @guilhemurroz, you're right, this is an issue in the implementation currently in place.
Would you be able to check if the latest PR #102 fixes the issue for you? The problem was the implementation as middleware, which did not catch for updates using the model methods directly (such as scripts do).
I'm planning to release #102 soon, but if you can test it before that would be great.

Hi @peteeckel, I'm afraid the problem is not solved yet and I don't understand why. Your explanations  and code look crystal clear but the signals are still not triggered. It exceeds my poor django capabilities :(

I just ran your script and it executes just fine - so something might be missing in your setup.

Did you restart NetBox after adding the PR patch to your setup?
Did you set the feature_ipam_coupling flag in the configuration?
Did you create the custom fields using manage.py setup_coupling?

If you did all of this it should work - if it still doesn't, we need to dig a bit deeper.

Hi @guilhemurroz, did you get an opportunity to have a look at this? If not or if I don't hear from you, I will push PR #102 soon so the other issues with the existing code base are settled.
Feel free to re-open the issue if it does not help in your case so we can investigate more deeply.

@peteeckel, thant you for your answers. I have checked all the steps you mentionned, but was not able to make it work. I'm probably missing something out... Unfortunately I have not enough time to investigate more deeply now.

@guilhemurroz, for a moment I was surprised to find that I could reproduce your problem. Then I noticed that I was on the main branch, not on fix/ipam-coupling-model.
With the code of the latter branch, your script works like a charm. I'll create a new release now.

Release 0.21.8 has been published.
I verified that your script code works with this release.


[berkeley] Fix size of "Build JS integration tests" CI job

This PR stops that CI job from being blocked by integration test runner availability.
Checklist:

[ ] Dependency versions are unchanged

Notify Velocity team if dependencies must change in CI

[ ] Modified the current draft of release notes with details on what is completed or incomplete within this project
[ ] Document code purpose, how to use it

Mention expected invariants, implicit constraints

[ ] Tests were added for the new behavior

Document test purpose, significance of failures
Test names should reflect their purpose

[ ] All tests pass (CI will check this if you didn't)
[ ] Serialized types are in stable-versioned modules
[ ] Does this close issues? List them

!ci-build-me

!approved-for-mainnet


How to run each bug detector?

Hi,
I would like to just simply try out each bug detector. But the README.md does not seem to have explanations how to run each bug detector after the learning&validation process. That is, I expect that, given a javascript file as an input, then a bug detector, as an output, may report buggy locations in the file.
Can you give me some helps?

There currently is no easy way to run a pre-trained model in an individual file, but I agree that it would be great to have. I'll try to look into it when I find some time, but can't promise when it'll happen. Pull requests are always welcome, of course :-)

@michaelpradel Thanks for your reply.


Filter solidity libraries when prompting contract list

When zos prompts the list of contracts when running, for instance, zos add or zos verify, It should not only filter non-local contracts but solidity libraries as well.
Consider fixing this issue together with https://github.com/zeppelinos/zos/issues/754.

I can take a look at including this with the PR I have open against #754 this morning, it should be fairly straightforward.


With Bootstrap usage doesn't work with Bootstrap 5

Here's a minimal example, adapted from https://github.com/itsjavi/bootstrap-colorpicker#with-bootstrap, which yields the following error:
https://codepen.io/cpsievert/pen/yLgzxqL
Uncaught TypeError: Cannot read property 'tip' of undefined
    at PopupHandler.createPopover (PopupHandler.js:237)
    at PopupHandler.bind (PopupHandler.js:117)
    at Colorpicker.init (Colorpicker.js:200)
    at new Colorpicker (Colorpicker.js:161)
    at HTMLInputElement.<anonymous> (plugin.js:31)
    at Function.each (jquery-3.4.1.js:367)
    at jQuery.fn.init.each (jquery-3.4.1.js:202)
    at jQuery.fn.init._jquery2.default.fn.<computed> [as colorpicker] (plugin.js:24)
    at HTMLDocument.<anonymous> (yLgzxqL:55)
    at mightThrow (jquery-3.4.1.js:3557)

(If you replace<EMAIL_ADDRESS>with<EMAIL_ADDRESS>in that codepen, things work fine)

Hi,
Thanks for your email, and tip with the color picker issue. I wish I had known how to contact you a week ago, as I’ve working on a project for my studies and that picker was my piece of choice. I was really impressed with the code and the features. But I just couldn’t get it working and was against the wall with a hard submission date for my work.
I will keep it and play with it, and really appreciate that you took the item to email me.
Regards,
Daiden Sacha

On 8 Apr 2021, at 12:36 am, Carson Sievert @.***> wrote:
Here's a minimal example, adapted from https://github.com/itsjavi/bootstrap-colorpicker#with-bootstrap https://github.com/itsjavi/bootstrap-colorpicker#with-bootstrap, which yields the following error:
https://codepen.io/cpsievert/pen/yLgzxqL https://codepen.io/cpsievert/pen/yLgzxqL
Uncaught TypeError: Cannot read property 'tip' of undefined
at PopupHandler.createPopover (PopupHandler.js:237)
at PopupHandler.bind (PopupHandler.js:117)
at Colorpicker.init (Colorpicker.js:200)
at new Colorpicker (Colorpicker.js:161)
at HTMLInputElement. (plugin.js:31)
at Function.each (jquery-3.4.1.js:367)
at jQuery.fn.init.each (jquery-3.4.1.js:202)
at jQuery.fn.init._jquery2.default.fn. [as colorpicker] (plugin.js:24)
at HTMLDocument. (yLgzxqL:55)
at mightThrow (jquery-3.4.1.js:3557)
By the way, if you replace @./dist/js/bootstrap.bundle.js with @./dist/js/bootstrap.bundle.js in that codepen, things work fine.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/itsjavi/bootstrap-colorpicker/issues/327, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABJOABVH6NAQL6ZL6PZSDHLTHTM5TANCNFSM42RVFFXA.

I experience an issue with Bootstrap 5 and this control as well. I get an error saying that this.popoverTarget.popover is not a function. When I move back to 4.x, things work fine. Given how different popovers work between Bootstrap 4 and 5, I'm not surprised this is an issue.

Have you tried loading the popover package separately?
In the "with bootstrap" example, it includes the popover package because it's loading the bootstrap bundle<EMAIL_ADDRESS>

For Bootstrap 5, change this line: https://github.com/itsjavi/bootstrap-colorpicker/blob/3cf62bb02e94fc2b9d4cde030d3ddf4a72497254/src/js/PopupHandler.js#L230 to
if (bootstrap) // Bootstrap 5
	this.popoverTip = $(bootstrap.Popover.getInstance(this.popoverTarget[0]).getTipElement());
else // Boostrap 4
	this.popoverTip = $(this.popoverTarget.popover('getTipElement').data('bs.popover').tip);

@itsjavi Could you push a release with above fix?

Above solution is not complete. For me, the error is above the mentioned line:
this.popoverTarget.popover is not a function
    at PopupHandler.createPopover (bootstrap-colorpicker.js:4188)

You need to include either bootstrap 4 or 5 .js first.

For Bootstrap 5.1.3, I was getting the error "Cannot read properties of null (reading 'getTipElement')" so I changed the method getInstance to use getOrCreateInstance. I hope it can help someone.
this.popoverTip = useGetInstance ? (0, _jquery2.default)(bootstrap.Popover.getInstance(this.popoverTarget[0]).getTipElement()) : (0, _jquery2.default)(this.popoverTarget.popover('getTipElement').data('bs.popover').tip);
To
this.popoverTip = useGetInstance ? (0, _jquery2.default)(bootstrap.Popover.getOrCreateInstance(this.popoverTarget[0]).getTipElement()) : (0, _jquery2.default)(this.popoverTarget.popover('getTipElement').data('bs.popover').tip);


[SPARK-42312][SQL] Assign name to _LEGACY_ERROR_TEMP_0042

What changes were proposed in this pull request?
This PR proposes to assign name to _LEGACY_ERROR_TEMP_0042, "INVALID_SET_SYNTAX".
Why are the changes needed?

We should assign proper name to LEGACY_ERROR_TEMP*
Does this PR introduce any user-facing change?

No
How was this patch tested?

./build/sbt "sql/testOnly org.apache.spark.sql.SQLQueryTestSuite*

cc @MaxGekk @srielau

+1, LGTM. Merging to master/3.4.
Thank you, @itholic and @srielau for review.


Retry on Abort

For some reason I get very frequent aborts, but on retry I don’t get it. For reference, the server I used for testing was:
“openssl s_server -accept 3333 -cert cert.pem -certform PEM -key key.pem -keyform PEM -debug”
With this check and repeat, it works
In tandem with Bills update for public init(withCipherSuite cipherSuite: String? = nil, clientAllowsSelfSignedCertificates: Bool = true), this closes https://github.com/IBM-Swift/BlueSSLService/issues/28

[x] I have submitted a CLA form
[ ] If applicable, I have updated the documentation accordingly.
[ ] If applicable, I have added tests to cover my changes.

@niklassaers:  I've got to revert this change.  It causes an infinite loop (see issue #36) if a non-https request is made on the SSL port.


gcc: recompile with fPIC

When I run cd rosenbridge/util && make I get the following error:

mkdir -p bin
gcc check.c -o ./bin/check
/usr/bin/ld: /tmp/ccWOkfZ4.o: relocation R_X86_64_32 against `.text' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: final link failed: nonrepresentable section on output
collect2: error: ld returned 1 exit status
make: *** [Makefile:5: bin/check] Error 1

I tried adding -fPIC to gcc in the makefile but I get the same result.

Sorry, duplicate question. Closing.


Updating links in readme and footer

:tada: This PR is included in version 1.2.3 :tada:
Your semantic-release bot :package::rocket:


Issue deploying function

Repro steps:

Right click functions project, click deploy to functions app
Select functions app to deploy to
Receive prompt to set up project to use vscode
Select C# as language
Receive error

Action: azureFunctions.deploy
Error type: Error
Error Message: Expected to find a single project file in folder "undefined", but found zero or multiple instead.
Version: 0.17.1
OS: win32
Product: Visual Studio Code
Product Version: 1.34.0
Language: en

Call Stack
DotnetInitVSCodeStep.<anonymous> extension.bundle.js:1:731759
o extension.bundle.js:1:730269

@CrazedPeanut can you give more more information about how your project is set up? Maybe a screenshot of your workspace or a link to a github repo if it's open-source?


TwitterAPIExchange.php error at Line [ throw new \Exception($error); ]

I am making PHP application for fetching twitter data using Xampp I am using your TwitterAPIExchange when run the code
it shows this error [Fatal error: in C:\xampp\htdocs\twitter\TwitterAPIExchange.php on line 315]
if (($error = curl_error($feed)) !== ”)
{
curl_close($feed);
throw new \Exception($error);
}
curl_close($feed);
return $json;
Line 315: throw new \Exception($error);
code that I am coding is:
`**<?php
require_once('TwitterAPIExchange.php');
/** Set access tokens here - see: https://dev.twitter.com/apps/ **/
$settings = array(
'oauth_access_token' => "765596413539545088-hPJ1seD2ZKz2eqcPPa0l2YhjvoT2mKv",
'oauth_access_token_secret' => "UpAeaZeFqZ8XIB6yKRn0k8m430H1hFJqNCy5iw2YfC5ow",
'consumer_key' => "J085otKXysALVxg2z7t1MjuQ3",
'consumer_secret' => "CTJNTjHeJAmVMAyOMpdu98xJkHjw253UX5CcOX0RLHnUGg2T8i"
);
$url = "https://api.twitter.com/1.1/statuses/user_timeline.json";
$requestMethod = "GET";
if (isset($_GET['user']))  {$user = $_GET['user'];}  else {$user  = "iagdotme";}
if (isset($_GET['count'])) {$count = $_GET['count'];} else {$count = 20;}
$getfield = "?screen_name=$user&count=$count";
$twitter = new TwitterAPIExchange($settings);
$string = json_decode($twitter->setGetfield($getfield)
->buildOauth($url, $requestMethod)
->performRequest(),$assoc = TRUE);
if($string["errors"][0]["message"] != "") {echo "Sorry, there was a problem.Twitter returned the following error message:".$string[errors][0]["message"]."";exit();}
foreach($string as $items)
{
echo "Time and Date of Tweet: ".$items['created_at']."";
echo "Tweet: ". $items['text']."";
echo "Tweeted by: ". $items['user']['name']."";
echo "Screen name: ". $items['user']['screen_name']."";
echo "Followers: ". $items['user']['followers_count']."";
echo "Friends: ". $items['user']['friends_count']."";
echo "Listed: ". $items['user']['listed_count']."";
}
?>**`
please tell me what the problem is, and how it can be solved

Looks like you might not have cURL enabled for your version PHP. Try checking that and enabling it? Plenty of tuts online :-)
On 23 Aug 2016, at 20:40, ashnashamim17 <notifications<EMAIL_ADDRESS>wrote:
I am making PHP application for fetching twitter data using Xampp I am using your TwitterAPIExchange when run the code
it shows this error [Fatal error: in C:\xampp\htdocs\twitter\TwitterAPIExchange.php on line 315]
if (($error = curl_error($feed)) !== ")
{
curl_close($feed);
throw new \Exception($error);
}
curl_close($feed);
return $json;
Line 315: throw new \Exception($error);
code that I am coding is:
`**<?php
require_once('TwitterAPIExchange.php');
/** Set access tokens here - see: https://dev.twitter.com/apps/ **/
$settings = array(
'oauth_access_token' => "765596413539545088-hPJ1seD2ZKz2eqcPPa0l2YhjvoT2mKv",
'oauth_access_token_secret' => "UpAeaZeFqZ8XIB6yKRn0k8m430H1hFJqNCy5iw2YfC5ow",
'consumer_key' => "J085otKXysALVxg2z7t1MjuQ3",
'consumer_secret' => "CTJNTjHeJAmVMAyOMpdu98xJkHjw253UX5CcOX0RLHnUGg2T8i"
);
$url = "https://api.twitter.com/1.1/statuses/user_timeline.json";
$requestMethod = "GET";
if (isset($_GET['user'])) {$user = $_GET['user'];} else {$user = "iagdotme";}
if (isset($_GET['count'])) {$count = $_GET['count'];} else {$count = 20;}
$getfield = "?screen_name=$user&count=$count";
$twitter = new TwitterAPIExchange($settings);
$string = json_decode($twitter->setGetfield($getfield)
->buildOauth($url, $requestMethod)
->performRequest(),$assoc = TRUE);
if($string["errors"][0]["message"] != "") {echo "
Sorry, there was a problem.
Twitter returned the following error message:
".$string[errors][0]["message"]."
";exit();}
foreach($string as $items)
{
echo "Time and Date of Tweet: ".$items['created_at']."
";
echo "Tweet: ". $items['text']."
";
echo "Tweeted by: ". $items['user']['name']."
";
echo "Screen name: ". $items['user']['screen_name']."
";
echo "Followers: ". $items['user']['followers_count']."
";
echo "Friends: ". $items['user']['friends_count']."
";
echo "Listed: ". $items['user']['listed_count']."

";
}
?>**`
please tell me what the problem is, and how it can be solved

You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/J7mbo/twitter-api-php/issues/208, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ACiMHu94rWID3WUkda682zrOqEXogFpHks5qi0yqgaJpZM4JrTr3.

I have followed all the tutorials:
I also Uncomment extension=php_curl.dll by removing ';' three files inside C:/xampp/php
1.php.ini
2.php.ini-development
3.php.ini-production
please tell how should I solve this problem, I have spent couple of days figuring out the problem.. please help solving this problem @J7mbo

At the very top of your PHP file, put this: var_dump(extension_loaded('curl')); die; and let us know what the response is?
On 23 Aug 2016, at 21:21, ashnashamim17 <notifications<EMAIL_ADDRESS>wrote:
I have followed all the tutorials:
I also Uncomment extension=php_curl.dll by removing ';' three files inside C:/xampp/php
1.php.ini
2.php.ini-development
3.php.ini-production
please tell how should I solve this problem, I have spent couple of days figuring out the problem.. please help solving this problem @J7mbohttps://github.com/J7mbo
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/J7mbo/twitter-api-php/issues/208#issuecomment-241864536, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ACiMHt2AAFVbDzgS7LE6ndySZUL5cRk7ks5qi1ZdgaJpZM4JrTr3.

I gives the bool(ture) response

Please tell me how to solve this problem, I am beginner in PHP development, I have no idea how it can be solved.. waiting for your reply :) @J7mbo

It's 10pm here so I won't be online much longer for today. Did you definitely paste the whole of the error message? It seems like there's some missing. Can you paste the exact error message on its own?

Fatal error: in C:\xampp\htdocs\twitter\TwitterAPIExchange.php on line 315
this is the complete error msg in TwitterAPIExchange.php
if (($error = curl_error($feed)) !== '')
{
curl_close($feed);
        **throw new \Exception($error);** <-- at this line
    }

   curl_close($feed);

    return $json;
}

, and when I commented this line it gives error msg
**Warning: curl_close(): 3 is not a valid cURL handle resource in C:\xampp\htdocs\twitter\TwitterAPIExchange.php on line 318
Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\twitter\twitterapp.php on line 44**
Line 318 :if (($error = curl_error($feed)) !== '')
{
curl_close($feed);
       // throw new \Exception($error);
    }

   **curl_close($feed);** <--- Line 318

    return $json;

and Line 44 is
private $getfield;

Ok If you can't reply today please reply tomorrow if possible and thanks a lot :')

Can you please run the example code from README.md and let me know what the result is, instead of your code?
$url = 'https://api.twitter.com/1.1/followers/ids.json';
$getfield = '?screen_name=J7mbo';
$requestMethod = 'GET';

$twitter = new TwitterAPIExchange($settings);
echo $twitter->setGetfield($getfield)
    ->buildOauth($url, $requestMethod)
    ->performRequest();

 "765596413539545088-hPJ1seD2ZKz2eqcPPa0l2YhjvoT2mKv",
    'oauth_access_token_secret' => "UpAeaZeFqZ8XIB6yKRn0k8m430H1hFJqNCy5iw2YfC5ow",
    'consumer_key' => "J085otKXysALVxg2z7t1MjuQ3",
    'consumer_secret' => "CTJNTjHeJAmVMAyOMpdu98xJkHjw253UX5CcOX0RLHnUGg2T8i"
);

$url = 'https://api.twitter.com/1.1/followers/ids.json';
$getfield = '?screen_name=J7mbo';
$requestMethod = 'GET';
$twitter = new TwitterAPIExchange($settings);
echo $twitter->setGetfield($getfield)
    ->buildOauth($url, $requestMethod)
    ->performRequest();
?>
By running this code it displays the following error msg:
Warning: curl_close(): 3 is not a valid cURL handle resource in C:\xampp\htdocs\twitter\TwitterAPIExchange.php on line 317
Line 317:
curl_close($feed);
In context of:
if (($error = curl_error($feed)) !== '')
{
curl_close($feed);
       // throw new \Exception($error);
    }

   curl_close($feed);  <--- Line 317

    return $json;
}

I couldn't find any solution to this problem over the internet, do you have any other solution, thanks  waiting for your reply @J7mbo

Thanks your solution helps solving this problem

Does it?
Really I'm not being given an error, you need to step through it and var_dump($variableHere); die; just before the exception is thrown to see what it is. That may help us. It's just debugging.

I'm closing this as it's an old issue but if you still need help with anything please feel free to open a new one.

@ashnashamim17 hi could you please tell how you resolved this [bool(true)] message, I'm getting the same message


Get Library to compile with OpenMP on MacOS

I would like to add parallel implementations for the process module. However, I am failing to compile the module with OpenMP on MacOS. So far I did not find a simple way to get this to work on MacOS. Help on this would be great.

At least for the intel systems I got this to work in the CI. Apple Silicon 2/AMD64 builds still fail.

Since openMP requires compiler support (which is not given e.g. on MacOS) a solution based on std::thread is used now


Use bubblewrap (bwrap) instead of unshare for network isolation

Fromager implements network isolation with unshare -rn. The command creates a new network namespace without any interface and connection to the rest of the world. This works fine in most cases. However OpenMPI 4.x's compiler mpicc does not like our approach. It prints warnings to standard streams, which break's CMake's FindMPI.
One simple solution for the problem is bubblewrap. The tool creates namespaces like unshare but with extra bells and whistles. bwrap --unshare-net --dev-bind / / unshares the network and creates a loopback interface in the new namespace. The --dev-bind is necessary to bind parent mounts into the new namespace and allow /dev access.
The tool is tiny (~ 100 kB) and available on all our target platforms.

I''m defintely in favor of bubblewrap will take a look at the PR

bwrap didn't work for us as documented here https://github.com/python-wheel-build/fromager/pull/473#issuecomment-2412940902
we ended up using unshare with ip link see #477


⚠ Bofrost.fr has degraded performance

In ef388cd, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1620 ms

Resolved: Bofrost.fr performance has improved in 0070745 after 13 minutes.


SAMZA-1417: Clear and recreate intermediate and metadata streams for batch processing

For each run of a batch application, we need to clear the internal streams from the previous run and recreate new ones. This patch introduces the following:

isBatch flag to StreamSpec
app.mode (BATCH/STREAM) in the application config
app.runId and use it to generate the internal topics for each run.

run.id generation is not addressed in this pr. There will be another patch to resolve it for both yarn and standalone. For now, this patch only works for yarn.

@jmakes : could you please help take a look? Thanks!


Make spec2vec compatible with gensim4.0.0

A new version of gensim4.0.0 is available, that is not fully compatible with spec2vec.
When running spec2vec (from ms2query) the following error occurs:
"The vocab attribute was removed from KeyedVector in Gensim 4.0.0.
Use KeyedVector's .key_to_index dict, .index_to_key list, and methods .get_vecattr(key, attr) and .set_vecattr(key, attr, new_val) instead."
For more details see https://github.com/RaRe-Technologies/gensim/wiki/Migrating-from-Gensim-3.x-to-4
Changes should be made so spec2vec is compatible with gensim again or an older version of gensim should be used in setup.py.

Setting version in conda yml like this got it working for me

gensim<4.0.0
spec2vec=0.4.0

@benbowen, setting the version of gensim to <4.0.0 is a solution for now indeed.
A new version of Spec2Vec will soon be released to make it compatible with gensim 4.0.0 as well.
Sorry for the inconvenience.

The next release of Spec2Vec (0.5.0) will run on gensim>=4.0.0.
The Spec2Vec code should run as before, but some scripts that use gensim commands or parameters might run into some issues since the gensim API changed a bit. If this indeed happens, please also check the gensim information on how to migrate.


message not working for PRs.

Describe the bug
I think there is some bug in the bot message for PR.
View pr #48

https://github.community/t/github-actions-are-severely-limited-on-prs/18179
GitHub doesn't allow access to a fork based pull request from a workflow yet!
Once they add this support I'll change code accordingly.

i am leaving it opened for others to have a reference.

can you make a branch of it without pr greet

I'm planning for converting it to a GitHub marketplace app. A github app has read and write permission to a Pull Request. For now just remove the pull request are under workflow yaml file. I'm having a busy schedule so don't know when I will start doing so.

I'm looking for contributors for this repo and the next app.

Ok thanks a lot dear.

Use memes instead of jokes on new issues
memes-on-issues

GitHub has added a few things in the action API. I think it is possible now.

Hi @mayankmohak
This action now supports commenting on fork-based pull requets.
check readme and update your workflow accordingly. Inform other project owners too.
Thanks


Zip File

Where from I can download zip file?

Hi There,
We can share with you a second version of the iflows for use. What is your email address?
Thanks,
Mac
Mackenzie Moylan
Product Manager for BTP Preferred Success
SAP Adoption Services Center
SAP Americas Inc. 271 North Shore Drive, Suite 600, Pittsburgh, PA, 15212 United States
T +1<PHONE_NUMBER>, M +1<PHONE_NUMBER>, E<EMAIL_ADDRESS>Upcoming out of the office:
From: ZZZYVU @.>
Date: Tuesday, October 10, 2023 at 7:34 AM
To: SAP-samples/btp-spend-analysis @.>
Cc: Subscribed @.***>
Subject: [SAP-samples/btp-spend-analysis] Zip File (Issue #6)
Where from I can download zip file?
—
Reply to this email directly, view it on GitHubhttps://github.com/SAP-samples/btp-spend-analysis/issues/6, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AYLQGAN62ML6TO3KYTD5ZVTX6UXD3AVCNFSM6AAAAAA52GMVTSVHI2DSMVQWIX3LMV43ASLTON2WKOZRHEZTKMJTHA3TIMY.
You are receiving this because you are subscribed to this thread.Message ID: @.***>


Missing this argument possibily due to demangler applying wrong calling conventions

Describe the bug
Sometimes the decompiled code would missing self argument.
To Reproduce
Steps to reproduce the behavior:

Import the sample file
Run analysis with default options, and wait for done
Goto 0x4653F0. Mangled name is _ZNKSs5c_strEv
See decompiled code

Expected behavior
The expected decompiled code should look like this:
undefined4 std::basic_string<>::c_str(undefined4 *param_1)
{
  return *param_1;
}

However, the result got is:
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* std::basic_string<char, std::char_traits<char>, std::allocator<char> >::c_str() const */

undefined4 std::basic_string<>::c_str(void)
{
  undefined4 *in_a0;

  return *in_a0;
}

Note that the the first argument, which should be this, is missing. The ra register usage is not correct due to wrong calling convention, which is unknown.
Workaround
To work around this, modify analysis options Analyzers -> Demangler GNU -> Apply Function Signatures = NO based on default settings.
Screenshots
Wrong decompile result:

Wrong function signature:

Attachments
Sample file SHA256: edde8b4dc46f3224e59536f7597249ed84139f9590674a37ce118810a5a4b473
Sample file download: (compressed password: infected)
sample_6099.zip
Environment (please complete the following information):

OS: Linux 6.x
Java Version: OpenJDK 21
Ghidra Version: 11.0
Ghidra Origin: Both official & self build

"compressed password: infected" - does not inspire confidence in using your sample file.
GNU demangler is not responsible for applying calling convention and with the __thiscall calling convention the this parameter will be missing since it is not part of the formal signature incorporated into the mangled string.  It is unclear what information would be available to identify this function as a __thicall function.  Was this a regression from a previous version of Ghidra?  Is DWARF debug information present?
The decompiler does appear to have a void input lock which is resulting in the warning.  I will look into this more and see if this may have influenced the calling convention analyzer in anyway.

@ghidra1 The project is newly created by Ghidra 11.0. The file do have DWARF debug information. I considered demangler solely because the decompiled result seems normal after I disabled Apply Function Signatures.
I think it is a regression, since it was triggerd by my snapshot tests. But I'll confirm it tomorrow.
And, the file is provided because I was asked to do so in a previous issue. To reproduce the sample file:

Get a compile environment by running: docker run -it --rm docker.io/dockcross/linux-mips:20240104-6eda627
Write the source code in demo.cpp:

#include <iostream>

int main(void) {
        std::cout << std::string("Hello world") << std::endl;
}

Compile with a special build-id (or leave it alone if you don't care about reproducible build): mips-unknown-linux-gnu-g++ demo.cpp -o demo -static -Wl,--build-id=0xf5cf9bfbb90fec88ab45c4cf674b791e97ee16d7
Compare the hash:

# sha256sum demo
edde8b4dc46f3224e59536f7597249ed84139f9590674a37ce118810a5a4b473  demo
# sha256sum sample_6099
edde8b4dc46f3224e59536f7597249ed84139f9590674a37ce118810a5a4b473  sample_6099

As for the file. Using infected as password is my usual procedure for sample processing. You may should state detailed info you need if you don't want a sample file. Or you can at least get a air-gapped computer which should be easy. Or start a new machine in, like, Azure US Gov Texas region, so you can let them suffer from the potential possibility of being hacked by a random binary on the Internet.

About previous version: The symbol can be correctly decompiled in Ghidra 10.3.2 Public build. Note that the analyzer settings are reset to default in 10.3.2 (not 11). Here is the output:

/* std::basic_string<char, std::char_traits<char>, std::allocator<char> >::c_str() const */

undefined4 __thiscall std::basic_string<>::c_str(basic_string<> *this)

{
  return *(undefined4 *)this;
}


Save AlphaSuit Config OR Lock Index Excludes OR Skip Symlinks in Indexing

I think the recent update to v.0.4.10 purged the list of folders I had set up to not be indexed. I have 2 giant folders symlinked out of the Data folder, but I fully understand that these folders should not be indexed, so I block them. Because the list of folders that were supposed to be blocked from indexing got cleared without me noticing (or thinking to even check), I just spent a few hours trying to figure out what could possibly be causing Out of Memory errors and random crashes of a previously smoothly running FVTT install (V10.290) I'm sure that AlphaSuit trying to index over 3TB of files is 100% the cause of that, but since I didn't know that that list got cleared, I was beating my head against the wall to figure out why that error started occurring.
Would it be possible to add a feature that would allow for AlphaSuit settings to be exported and/or imported? Or have a setting that locks the Do Not Index fields from being removed or cleared? Or (and maybe this isn't possible due to limited accessible system-level info to FVTT) possibly add any symlinks in the Data folder to the Do Not Index listing by default?
Love the module and will certainly check on it again if ever it starts giving me random OOM errors. Maybe one of these features could help future headaches for people? Thanks.

Oh, I just discovered that AlphaSuit saves the Do Not Index info locally - maybe it should be saved to the server instead, so that moving from one system to another doesn't reset our AlphaSuit settings to the defaults.

Hi. Yeah, i thought that the indexing mode should be local (like, here is my main and its or to use resources and bandwidth, but here is my "lake house" -- do not use so much traffic). But  "excluded" settings now are local too, and it's definitely a mistake.
Unfortunately, i suppose foundry API has no enough info to skip symlinks automatically.
Summary: I will move "excluded storages" and "excluded folders" from the client-side to the world storage. Is it a solution for your problem?

Yes. That would be a great way to solve it.
Thanks.

Done in https://github.com/averrin/alpha-suit/releases/tag/0.4.11
Feel free to open a new issue with any ideas or bugs.


purple track not displayed for processed upload

this issue is similar to what Clifford Snow describes in his comments on now-closed issue #197. i uploaded a track, it has been processed, and it is not rendered in purple on the home view in openstreetcam. this is the track:
https://openstreetcam.org/details/1444178/1/track-info
it captures the south end of Grand Street, but there is no purple line on display:
https://openstreetcam.org/map/@42.642822109432565,-73.75858604907991,18z

this actually seems worse than described. certain recent tracks of mine that had been displayed are now no longer appearing on the site.

Maybe the questions is how long does it take for the openstreetmap.org to update when we upload? I expected that as they uploads were process that they would appear on the website.

they had been appearing as soon as the upload completed. but now some that had previously displayed are no longer being displayed. something is busted.

the checkbox for "my tracks only" does not appear to be doing anything anymore as well.

the checkbox for "my tracks only" does not appear to be doing anything anymore as well.

I came here to report this exact thing but stumbled across your issue as well. I think they just updated something with how the purple tracks display and now it takes a few days for new tracks to show up.

i noticed other anomalies in the website, i think there's something broken in processing flow. newly uploaded tracks never pass into the processing stage now, for one.

this is looking somewhat fixed now. maybe even entirely fixed.

ok, purple tracks not displayed seems fixed. the my tracks check box is not yet fixed from what i can see. the headline for this ticket is about purple tracks, and there's a separate ticket for "my tracks" so i'll close this one.

@rwelty1889 this was indeed fixed, what happened is that a few days ago our dev added all historic unmatched points to the matching queue (to correct older tracks that would not show up on the map). This delayed matching incoming data for a few days unfortunately..

'My tracks only' will be back in a few days, probably with extended functionality.

the delay on purple tracks seems to be a thing again.

I'm seeing the same as @rwelty1889

5 days without any purple track updates now.

I've noticed that the delay is in the web interface but the purple tracks show up quickly in the mobile app, can anyone else confirm this behavior?

this seems to a degree to be true. i do have some old tracks that don't show up in either place, but most of my recent uploads do show up on my iphone.

went back to check. the one that was missing from both was an upload oversight, so yes, it appears the phone/tablet app is working where the web app is not.

@rwelty1889 , I could see the track 1444178 on the web main page right now. Could we close this ticket?

Closing the ticket as we think we resolved this from our side, feel free to reopen if you found the problem still exists


Find a way to annotate if the item in the bucket is in its i1 or i2 position

instead of using the a whole byte as a fingerprint we should reduce it to 7 bits and use the 1 remaining bit in a bucket entry to annotate if its in its i1 or i2 position. (0 being i1 and 1 being i2)

Why?  As I understand it, it should never matter if it's in i1 or i2 position.  There are tricks to introduce an i3 and maybe an i4, but not sure they help with anything, maybe just increase cache misses.
It's true the paper says 6 bits, not 8 bits.  I suspect deployments could easily be for much larger data sets than the paper covers, maybe making 7 bits the actual target.  I do not see why knowing i1 vs i2 helps though.


Add ExifCleaner

ExifCleaner is a free and opensource desktop GUI app to remove metadata from images and videos using simple drag and drop operation. It's been out for several months and has numerous daily users on Linux, Mac, and Windows including myself. I've fixed the major reported bugs and it's feature stable. I built this app because I couldn't find any good free and open source alternatives that had such a convenient workflow.

Thanks!


muted streaming

do you think I can just not attach audio to stream without sounds?

um... I think

RTMP is OK
Wowza HLS is Not Good

I will implment sound muted mode.

For HLS, I just set AVPlayer muted property to NO.


Templating Option for Callable

This is a request to add op_args and op_kwargs to template_fields so that you can jinjafy the parameters that are passed into the python callable. This would make it behave more similar to the PythonOperator.
Another option is to inherit PythonOperator (in addition to TriggerDagRun), but that might come with other considerations.

That would be awesome!


chore(release): 2.1.0

:robot: Merge this PR to release a new version
2.1.0 (2024-04-19)
Features

add release-please into project (bcf4d9a)
try to proper naming? (339b54b)

Bug Fixes

typos and config and manifest settings (5cd18d1)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/martinalbert/buttercms-python/releases/tag/v2.1.0 :sunflower:


all imports duplicate to the bottom on each save

Initial checklist

[X] I read the support docs
[X] I read the contributing guide
[X] I agree to follow the code of conduct
[X] I searched issues and couldn’t find anything (or linked relevant results below)

Affected packages and versions
<EMAIL_ADDRESS>Link to runnable example
No response
Steps to reproduce

In vscode upgrade to<EMAIL_ADDRESS>reload the vscode
open mdx file
save it

Expected behavior
lol
Actual behavior
result: another copy of all the imports in the file are duplicated to the bottom of the file
Runtime
Node v20
Package manager
pnpm
OS
Windows
Build and bundle tools
Other (please specify in steps to reproduce)

Thanks for reporting! I'm pretty sure what causes this, so I'll fix it soon. As a workaround you should disable editor.formatOnSave.
But to be sure, can you share an MDX document to reproduce this?

https://github.com/onemen/tabmixplus-docs/blob/main/src/content/docs/index.mdx

I’m seeing different behaviour.

Format Document With… → MDX: Nothing happens.
Format Document With… → TypeScript and JavaScript Language Features: All lines are replaced with an empty line.
Organize Imports → Imports are sorted

(1) is fine. (2) should really never happen. (3) works as expected. Disabling data.format for all mappings in the virtual code does not change this behaviour.
I’m going to need more info on this. What are your VSCode settings used for formatting?

this is my settings
{
"editor.formatOnPaste": true,
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"prettier.documentSelectors": ["**/*.astro"],
"prettier.ignorePath": "./config/.prettierignore",
"prettier.configPath": "./config/prettier.config.js",
"prettier.requireConfig": true,
"[astro]": {
"editor.defaultFormatter": "astro-build.astro-vscode"
},
"[markdown]": {
"editor.rulers": [100],
"editor.wordWrap": "wordWrapColumn",
"editor.wordWrapColumn": 100
},
"[mdx]": {
"files.trimTrailingWhitespace": false,
"editor.rulers": [100],
"editor.wordWrap": "wordWrapColumn",
"editor.wordWrapColumn": 100
},
"[yaml]": {
"editor.defaultFormatter": "redhat.vscode-yaml",
"editor.formatOnPaste": false,
"editor.autoIndent": "advanced"
},
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingEmptyBraces": true,
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": true,
"javascript.format.insertSpaceBeforeAndAfterBinaryOperators": true,
"javascript.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions": true,
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": true,
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingEmptyBraces": true,
"typescript.format.insertSpaceAfterKeywordsInControlFlowStatements": true,
"typescript.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions": true,
"typescript.format.insertSpaceBeforeAndAfterBinaryOperators": true,
"editor.wordWrap": "on"
}

event when i set
"[mdx]": {
    "editor.defaultFormatter": "unifiedjs.vscode-mdx",
    "files.trimTrailingWhitespace": false,
    "editor.rulers": [100],
    "editor.wordWrap": "wordWrapColumn",
    "editor.wordWrapColumn": 100
  },

the issue remains the same. when i revert back to version 1.7.3 there is no problem
this is how the bottom of the file look like after saving it with version 1.8.0
</CardGrid>import { Card, CardGrid, LinkCard } from '@astrojs/starlight/components'
import DonateButton from<EMAIL_ADDRESS>import { downloadLink, releasesLink } from<EMAIL_ADDRESS>
the 3 import lines where copy from the top of the file

This is really helpful information, but I’m still not able to reproduce it with those settings.
I just released version 1.8.1. Can you check if that fixes the issue?

1.8.1 did not solve this issue.
I will try to start new folder with empty config and try to find the set of configuration and extension combination
I am on windows 11

The issue is probably some incompatibility with IntelliCode extension from Microsoft.
The problem solved as soon as I disabled IntelliCode
This issue only started on version 1.8.0, on version 1.7.3 using IntelliCode didn't cause any problem

Even with the IntelliCode extension installed and activated, and the settings you posted I’m not seeing this issue.

I experienced this exact same issue and uninstalling the intellicode extension solved it.

I'm also having this issue and it's also connected to IntelliCode (v1.3.1) and editor.formatOnSave.
Either disabling IntelliCode, mdx-analyzer (v1.8.9) or editor.formatOnSave is a workaround.
Here are my settings, but I removed some obvious things like color settings or Java Path:
{
  "[typescriptreact]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "material-ui-snippets.showNotesOnStartup": false,
  "material-ui-snippets.importPaths": "second level",
  "mui-snippets.importPaths": "second level",
  "mui-snippets.showNotesOnStartup": false,
  "npm.packageManager": "npm",
  "editor.tabCompletion": "on",
  "[jsonc]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[scss]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[javascript]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[typescript]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "jest.disabledWorkspaceFolders": [],
  "jestrunner.codeLens": ["run", "debug", "coverage"],
  "jest.autoRun": "off",
  "jest.showCoverageOnLoad": true,
  "editor.formatOnSave": true,
  "editor.codeActionsOnSave": {
    "source.organizeImports": "explicit"
  },
  "files.eol": "\n",
  "[json]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "editor.detectIndentation": false,
  "[sql]": {
    "editor.formatOnSave": true,
    "editor.defaultFormatter": "mtxr.sqltools"
  },
  "workbench.startupEditor": "none",
  "debug.autoExpandLazyVariables": false,
  "editor.linkedEditing": true,
}

Unfortunately, I'm having this issue with Astro's VS Code extension, v2.13.1. Turning it off solves the issue. I feel like maybe it's not Intellicode's fault, but something related to what extensions do in general? I'm on MDX extension v1.8.9.


Allow Function Apps to change plan

This command would allow you to change a Function App from a consumption to a premium plan.
The command would be something akin to:
Parameters:

SourceApp (the details for a function app already deployed)
DestinationPlan (the details for a plan you want to move it to - this likely needs to be in the same resource group so we don’t get into stamp incompatibility issues - or just make sure we have a warning if it fails because that plan is incompatible)

Steps:

Get the resource ID of the destination plan /Microsoft.Web/serverfarm
Update the Microsoft.Web/sites resource for the function app plan.
a.	Properties.serverFarmId should be set to the resource ID from step 1

Ideally the command should validate that the sourceapp plan is consumption / premium (via the SKU of the plan), and that the destination plan is consumption / premium.  Moving between ASP and consumption / premium may work but you need tom ake sure the WEBSITE_CONTENT_CONNECTIONSTRING / CONTENTSHARE settings are set before you do (by default dedicated won’t have these, you need them for consumption / premium

Looks like I don't have any permissions to add an assignee to this repo :(
Tagging @ankitkumarr @ahmedelnably @jeffhollan who are all in some way responsible for this 😃

Moving between ASP and consumption / premium may work but you need tom ake sure the WEBSITE_CONTENT_CONNECTIONSTRING / CONTENTSHARE settings are set before you do (by default dedicated won’t have these, you need them for consumption / premium

If it's not an important feature/ask to move between ASP and consumption / premium, I would suggest we don't do that. Because in the flow, I would have to update WEBSITE_CONTENT_CONNECTIONSTRING / CONTENTSHARE settings before switching the plan. After updating the settings, if plan switching failed due to other reasons, we may leave the app in a broken state.
That said, if we do need this, I can add a check to see if it failed and remove the added app settings appropriately. Unless necessary, I wouldn't want to do that.

More than ok with use moving the ASP - > consumption / premium out of scope


ImageTable set label_col error

Hi Expert,
I'm try to reproduce the multitask learning code as example here \sashq\root\data\DeepLearn\data\MIML\ipynb\MIML_example_Multitask_BN_Sigmoid.ipynb
I ran the code ImageTable.from_table and wanted to set label_col, but it seemed the label_col didn't change
like the figure below.

My dlpy version is 1.2.0
If there is any suggestion, please let me know.
Thanks a lot! :)
Best regards,
Stacey

Looking at the source code here https://github.com/sassoftware/python-dlpy/blob/master/dlpy/images.py (lines 906 -919) , it looks like it needs specifically a column called "label". i would rename the column to get label_freq.
Or adapt the source code to your variable name:
out = self._retrieve('simple.freq', table=self, inputs=['_label_'])['Frequency']

@staceychan - did the suggestion from @fede-citti solve your problem, or are you still having an issue?

Hi Both,
Thanks for your replying!
I thought the label_col could be assigned, but it seeems it's fixed.
Thanks again! :)


add autodetector for input formats

Previously, zq inferred the type of a file from its extension.
This is problematic especially since people often use the
same extension (e.g, ".log") for different types (e.g., zeek and ndjson).
This commit adds an autodetector that reads the first bit of each
file to figure out what type it is.

Looking at a few bytes isn't robust.  I went down that path and ended up writing partial parsers.  Then I started restructuring the readers so I could reuse code between the reader and the partial parser.  Then I realized, why don't I just allocate a reader and parse the first record.  It's the most straightforward way to get this mechanism in expediently and it will work fine in practice.  We can file an issue to improve this with the partial parser method to be robust to large records.
To make a robust decision you really need to parse the first record.  I think the solution could involve using heuristics as a process of elimination and grow the peeker buffer incrementally to some reasonably larger limit until you get a hit as long as everything hasn't been ruled out.

@mattnibs The latest commit fixes the problem you properly highlighted.  It rejection-based instead of acceptance based and goes through the least reading the input into a recorder and having another layer of reader to read form the beginning of the recorder if the previous attempt failed.  Then when a match is found, the recorder is read from till the recorded buffer is drained then it switches to pass-thru reading.


Move BytesBuilder into dart:typed_data

There's nothing IO-specific about BytesBuilder; all it does is merge typed arrays together efficiently. This is something that's useful on the client as well as the server, so it seems like it would be very useful to move it into dart:typed_data.

This is adequately covered by the buffer classes in the typed_data package.

It's actually a little different from the buffers, so I'm not opposed to making the class more available.

@nex3 @lrhn I think you should really consider this because this class is very useful but not available in the browser :/

Closing as duplicate of https://github.com/dart-lang/sdk/issues/29027 – even though this issue is older, #29027 has more recent info

Fixed in https://github.com/dart-lang/sdk/commit/084f9faf813bda21c9b5394d8afadab185b53bfb

Fix reverted in https://github.com/dart-lang/sdk/commit/51d3fae7d39d188b5c36651fa8cd80a8e25d779b

oops! still want to leave this closed and use #29027 as the main issue!


Unit Test Coverage: remove-unused-assets-controller.ts

Add unit test coverage for remove-unused-assets-controlle

@bryce-turner


Add info about relative paths to 'Test Static HTML Pages' article

We supports relative paths to test static pages (from 0.14.0 version).
fixture `MyFixture`
    .page `../my-project/index.html`;

Add info about this to Test Static HTML Pages article

Will do this


fix: always upload plan regardless of changes for apply to read

Apply reads the plan file and metadata to determine if it should apply, we should always upload the plan file even if no changes.

🔱 Guardian 🔱 PLAN - 🟨 Running for dir: terraform [logs]


Create an app logo

A logo would be nice for the application header and favicon, and for beginning to develop a brand.

I agree! We could even have a merch section that also sells stickers/shirts with consent- or other posi- topics :)


Is there any consideration to increase the document menu fold?

There's no plan to change the dynamic size of the menu in the Docs layout. However, the style can be overrided with your customizations: https://sourcethemes.com/academic/docs/customization/#customize-style-css


BITS VIB events (again)

The BITSVIB people are writing JSONLD expressions of all their things.
Would be worth replacing the existing BITS scraper with one for this feed. http://dev.bits.vib.be/eulife/all_events-vib_conferences.json
Keep the old data and associate any new stuff with the new old content providerr

Don't we already do this? https://github.com/ElixirUK/TeSS_scrapers/blob/master/app/scrapers/bitsvib_events_jsonld_scraper.rb


[Bug] No longer loads in Firefox

Describe the bug
The UI for 3d-open-pose-editor no longer loads in Firefox.
To Reproduce
Steps to reproduce the behavior:

Open the 3D OpenPose tab

Expected behavior
It loads in Firefox
Screenshots

Firefox
Chrome

https://zhuyu1997.github.io/open-pose-editor/
❌
✅

3D OpenPose tab in automatic1111 v1.4.0 extension f2d5aac5
❌
✅

This page also does not load in Firefox:
https://zhuyu1997.github.io/open-pose-editor/
Which helps to rule out a LOT of things, such as my version of automatic1111 (1.4.0), version of the extension (which is the latest as of this writing: f2d5aac5).
Environment (please complete the following information):

OS: Windows
Browser: Firefox
A1111 WebUI Version: 1.4.0
Extension Version: f2d5aac5
ControlNet Version: e9679f8f

Additional context
N/A

I got a gray screen
Then I updated from 1.3 to 1.5.1
Using Librewolf on Windows

I'm able to use this in WebUI on Firefox Developer Edition 117.0b7(aurora).
Just an FYI.


SSH account with root and no password doesn't work

Farmbot OS version: latest

Describe the problem:
SSH is activated (I saw the port open when I scan the network) but I do not succeed to connect with the account information given in the FAQ (root/"no password").
Steps to reproduce:

enable SSH during config
reboot
try to connect via putty : root@farmbotipaddress, no password

Observed Results:

The SSH connection is not allowed.

Expected Results:

SSH connection to be establisehd and access to a root terminal

What exactly are you looking for that requires SSH access?
I tend to discourage SSH, because there is no proper Linux shell, package manager, or anything else really.

Ok i fixed SSH. Will be available again in the next release.

Thanks a lot :) I actually got no precise need for myself but I manage a studend who would like to explore the system from the inside for better understanding. She was just surprised not to connect with the actual instruction.
Thanks a lot for your answers. Looking forward the next release :)

I need to activate the pi camera module and I need to run raspi-config yet can't enable SSH on the latest version

@rootux Are you using the web app? You can just select Raspberry Pi Camera in the camera selection dropdown in the Device widget.
FarmBot OS is not Raspbian, so there is no raspi-config.

@gabrielburnworth I'm using the web app.
Bought a pi2 camera module. Plugged it in.
When I select the Raspberry Pi Camera from the web app it's not working - no picture is shown

@rootux I don't want to get too off-topic for this issue. Can you create a new issue including
the message you get when you click Take Photo?

@gabrielburnworth I did - But it does not show any error but "Farmbot [take-photo] Problem getting image." - Is there a better way to get the logs?
Here is the issue https://github.com/FarmBot/farmbot_os/issues/349


[ENHANCEMENT] Provide tooltips for toolbar buttons

Please confirm these before moving forward

[X] I have searched for my feature proposal and not found a work-in-progress/duplicate/resolved/discarded issue.
[X] This improvements refers to an existing feature. If you want to suggest a new feature, please use this template
[X] This improvements is not a bug. If you want to report a bug, please use this template

Describe the improvement
This is how the toolbar looks now:

Some buttons have text labels, but most don't. It may not be clear to the user what some of these buttons do, and it's not obvious that you can right-click on a line item to get a list of actions with the corresponding icons. It would be helpful if WingetUI would show a tooltip when you hover the mouse over a button.
Describe how this improvement could help users.
It would make it easier for users to discover the purpose of toolbar buttons.

This issue has already been fixed, and the next version will contain those tooltips (duplicate of #1410 )

Oh, cool, thank you! Sorry I missed that.


There was a problem compiling DCNv2 (windows10)

Error: Internal Compiler Error (codegen): "there was an error in verifying the lgenfe output!"
error: command 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe' failed with exit status 2
My configuration：cuda:10.1 cudnn:7.5  pytorch:1.4  torchvision:0.5 python:3.7.7
I want to use YOLACT ++, but I have a problem when I compiled DCN.
Thanks！

I solved the above problem , and generated folder-"build" and "DCNv2.egg-info" , but I encountered a new problem,
when I run the command:"python eval.py --trained_model=weights/yolact_plus_base_54_800000.pth --score_threshold=0.15 --top_k=15 --image=test.jpg",and then the terminal display：“Exception: DCN could not be imported. If you want to use YOLACT++ models, compile DCN. Check the README for instructions.”
when I run the command: "python test.py" , the terminal display："import _ext as _backend . ImportError: DLL load failed: connot find the module"
Thanks!

Error: Internal Compiler Error (codegen): "there was an error in verifying the lgenfe output!"
error: command 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe' failed with exit status 2
My configuration：cuda:10.1 cudnn:7.5 pytorch:1.4 torchvision:0.5 python:3.7.7
I want to use YOLACT ++, but I have a problem when I compiled DCN.
Thanks！

Hi, Could you please tell me how to solve it? I have the save problem.


READY : (collection_tools) : no_std fix

The PR fixes the issue with the library not compiling with feature set default_features + no_std

fix fails, please


Add Bitcoin integration blog post

Resolves #14.
Sorry it took me so long! Even though I spent a long time today it felt a bit rushed so I'm happy to change almost anything haha.

Revisit the evaluation criteria below, a few paragraphs on scale and features could bring us some points 😅

⚡ Bitcoin Integration & Scalability: Have they used bitcoin/lightning? If so, how many features? How well will this product scale for either local or global adoption?

I did have it in mind when writing the blog post!
It's fair to say that we have explained how we are using Bitcoin and Lightning. Not sure if it would be very natural to list the features we are using explicitly, but do let me know if we can organically mention (name drop haha) something else.
I do find it hard to talk about scaling and adoption. I'm not sure what to say about that in this blog post.

I've tried to address most of @holzeis' and @da-kami's comments with this force-push.

bors r+

bors retry


theme 2.0

I'll move some colors into a table later

Sure, will merge when you do 😁

So many colors lol! Just too many good shades to not use! Thanks Max, merging...


[Telemetry] Save user's telemetry settings to the server's storage

Description
Once the user opts-in or opts-out of data collection, Composer should save their selection in the server. To support this, we have to add routes to set and retrieve the users telemetry settings. We should also support a mechanism for multi-tenant scenarios to set and retrieve telemetry settings for each of their users.

Closed by https://github.com/microsoft/BotFramework-Composer/pull/4864


Python 3: Add reload(), testing, and documentation

Fixes #119, #120, #125, #127

add reload() for Python 3 in app/scraper.py to fix #125
add two-pass flake8 testing of Python 2 and Python 3 in .travis.yml to resolve #120
add missing dependencies to README.md to resolve #127 (second part)
run futurize --stage1 to ensure code is Python3 ready (see relative imports)

See Stage 1: "safe" fixes http://python-future.org/automatic_conversion.html#stage-1-safe-fixes
Make the minimal, safe changes required to convert the repo's code to be syntax compatible with both Python 2 and Python 3. There would be more work required (#147) to complete the port to Python 3 but this is a minimal, safe first step.
$ pip install future
$ git checkout -b modernize-python2-code
$ futurize --stage1 -w **/*.py # done in zsh for ** globbing
$ git commit --all -m "Modernize Python 2 code to get ready for Python 3"
$ git push --set-upstream origin modernize-python2-code

#151
#152


Update MAINTAINERS.MD

What type of PR is this?
Add one of the following kinds:

subproject management

What this PR does / why we need it:
Create initial maintainer list
Which issue(s) this PR fixes:
Fixes partially https://github.com/camaraproject/APIBacklog/issues/37
Special notes for reviewers:

@hdamker any idea why the merge is blocked? The messages above are contradictory:
"Kevsy approved these changes on behalf of https://github.com/orgs/camaraproject/teams/simple-edge-discovery_codeowners 1 hour ago]"
"Merging is blocked: Merging can be performed automatically with 1 approving review."

@Kevsy The CODEOWNERS file defines that the group @camaraproject/admins owns the MAINTAINERS.md file. As this happened only after this PR, the group was not added automatically. Have added the colleagues now (I can't approve my own pull request).

But you can start to work with the repository - the CODEOWNERS file is valid.

Merged with admin rights.


Need arrows for node links

d3 has an attribute called "marker-end" to enable arrow heads for node links which shows the direction of the graph. This seems to be not available here.

Can have as a SVG line attribute


Connector GitHub

Implement Single Sign-On (SSO) capabilities using Github Login.

It's already avaliable.


As a CIF administrator, I want to see a cleaner diff section in Amendments/General Revisions, so that I the clearer context of the changes is hidden but easily accessible

Description:
As outcome of #1523, this is a cleaner version of #1569 preferred by users where all contextual/help text of why the user sees a certain change to a field which they didn't make is hidden behind a hover over tooltip.
This design will offer better readability allowing the user to focus on the changes they made while the context of the changes is still easily accessible.
- Design (Cleaner Version)
Acceptance Criteria:
Given I am a CIF Admin
When I check the "Forms updated" section to see the changes in an Amendment or a General Revision
Then I see the field name: Not entered / Not calculated / value (before) -> value (after) with a tooltip icon instead of the contextual help text
Given I am a CIF Admin
When I hover over a tooltip icon next to a changed field
Then I see the hidden contextual help text (implemented in #1569)telling why this change shows without the user manually making it
Development Checklist:

[ ] Checklist item
[ ] Checklist item
[ ] Checklist item
[ ] Meets the DOD

Definition of Ready (Note: If any of these points are not applicable, mark N/A)

[ ] User story is included
[ ] User role and type are identified
[ ] Acceptance criteria are included
[ ] Wireframes are included (if required)
[ ] Design / Solution is accepted by Product Owner
[ ] Dependencies are identified (technical, business, regulatory/policy)
[ ] Story has been estimated (under 13 pts)

·Definition of Done (Note: If any of these points are not applicable, mark N/A)

[ ] Acceptance criteria are tested by the CI pipeline
[ ] UI meets accessibility requirements
[ ] Configuration changes are documented, documentation and designs are updated
[ ] Passes code peer-review
[ ] Passes QA of Acceptance Criteria with verification in Dev and Test
[ ] Ticket is ready to be merged to main branch
[ ] Can be demoed in Sprint Review
[ ] Bugs or future work cards are identified and created
[ ] Reviewed and approved by Product Owner

Notes:

AC was drafted, pending further refinements and Dev Checklist from the developers. Happy to provide clarifications.

Is tooltip implementation also part of this card? shouldn't we have a separate card for that?

see #1270

@pbastia: To be discussed in Backlog Refinement May 2.

#1569 is probably going to split out the contextual help AC, so this ticket could become the entire implementation of contextual help

#1742 was create as a stop gap for #1573 & #1575. @dleard

At this point this is a lot of work for value that hasn't been quite proven given #1742. I suggest iceboxing

Good call, @pbastia - This ticket only makes sense when #1659 is in place. Given #1742 was suggested as a stop gap solution for #1569. This ticket (#1573) can be ice-boxed.


Page Not Found: docs.zowe.org/v1.26.x/getting-started/overview

Description
Broken link on https://www.zowe.org/download#download-v1 to V1 Documentation
Pages to Update
[https://www.zowe.org/download#download-v1]
Additional context
Under heading 'All Zowe V1.x Releases' clicked link to Documentation next to V1.26.

Thank you for reporting the issue! We're working on this and will give an update here soon.

This bug has been resolved.


gradle init > is too old under 4.5.1

gradle init is nice to init a gradle project or import a maven project.
But it generates a build.gradle with old things.

Java is set to 1.5, instead of 1.8
apply plugin is used, instead of plugins {}
the plugin "applications" should be included into a java project
a "jar" task should be included

As a newbie, I would think that the latest gradle version wouldn't give me a build.gradle with deprecated stuff.

Java is set to 1.5, instead of 1.8

That's bad indeed.

apply plugin is used, instead of plugins {}

Good point

the plugin "applications" should be included into a java project

Only if you use --type java-application

a "jar" task should be included

That's part of the java plugin already.
Would you be interested in providing a pull request for the first two issues?

Thank you very much for the fast response and yes, of course, I will try to create one PR. :-)

a "jar" task should be included

That's part of the java plugin already.

Oh, sorry, I meaned a prefilled task, like
jar {
    manifest {
        attributes(
                'Class-Path': configurations.compile.collect { it.getName() }.join(' '),
                'Main-Class': 'hello.world'
        )
    }
}

I don't think we should include this in the template, as executable JARs not very common. And if you really want one, there are plugins out there that build one for you. Also the code above contains a common anti-pattern: It resolves dependencies at configuration time, leading to performance issues and ordering bugs.

Aye aye Sir! :-)

I can warmly recommend the Shadow plugin.

Thank you very much.
It works like a charm, I don't need to configure it and don't need this inefficient part code anymore! :-)


Relationship list events

Result
Creates 4 different event classes

CreateFriendPlayerEvent

DeleteFriendPlayerEvent

CreateIgnoredPlayerEvent

DeleteIgnoredPlayerEvent

and deprecates PrivateChatListChangeEvent
Closes #188, #189, #190, and #191.

Hey @notjuanortiz,
Your changes look good to me!
View build log
TravisBuddy Request Identifier: e58f01a0-5cd7-11ea-aca3-5f65abe3d419


SECP256K1: Implement Verify function for hashes

What context is your feature request related to?
When using SECP256K1 Data, it is important that we need a verify function for verifying our signature data. Otherwise the struct is rendered essentially useless for signing data.
What solution would you like?
Implement a function called verifySignature() that takes in a signature data object (or a secp256k1_ecdsa_signature object), a pubKey data object (or a secp256k1_pubkey object), and a data object and outputs a bool whether or not the signature is valid.
Any additional context?
None.

Hi, @MarcoDotIO thanks for your participation in our project. Just one question, how badly do you want this feature?

Hi, @MarcoDotIO thanks for your participation in our project. Just one question, how badly do you want this feature?

Hello,
Thank you for the response. I can go ahead and show an implementation of such a use case from the following code snippet from one of my recent projects I was involved with:
https://github.com/OpenDive/SuiKit/blob/cfe13e6984fdbad2c54286969d5d630d295ff069/Sources/SuiKit/Utils/SECP256k1/SECP256K1PublicKey.swift#L83
I'd also recommend having a sign() function that is able to return a non-recoverable signature:
https://github.com/OpenDive/SuiKit/blob/cfe13e6984fdbad2c54286969d5d630d295ff069/Sources/SuiKit/Utils/SECP256k1/SECP256K1PrivateKey.swift#L144

Thanks you once again for such detailed feedback, could you elaborate it a bit their use cases on the client side?
It's just, we're now loosely maintaining this lib as it's stable and we're currently lacking of Ethereum foundation grants, so in anyway if the team decides that this feature is necessary it'll be added in our backlog, rather than being taken into work immediately.

Thanks you once again for such detailed feedback, could you elaborate it a bit their use cases on the client side?
It's just, we're now loosely maintaining this lib as it's stable and we're currently lacking of Ethereum foundation grants, so in anyway if the team decides that this feature is necessary it'll be added in our backlog, rather than being taken into work immediately.

Hello,
Thank you for reaching out and for your comprehensive feedback.
To address your query on client-side use cases:

verifySignature():

Security: This is fundamental to ensuring that the data received has not been tampered with, thereby providing users and developers with trust and confidence in the data.
Authentication: A common use case is to verify if a given piece of data was indeed signed by the holder of a particular public key. This plays a pivotal role in systems that rely on cryptographic authentication mechanisms.

sign() with non-recoverable signature:

Privacy: Non-recoverable signatures ensure that the signer's identity (i.e., their private key or any derivative data) cannot be inferred from the signature itself, which is beneficial for systems that prioritize user privacy.
Flexibility: It allows developers to choose between recoverable and non-recoverable signatures based on their application needs, which can be particularly important in diverse ecosystems like Ethereum.

I understand the constraints you're working under given the current state of funding. However, considering the fundamental importance of these functions in cryptographic systems, and the increasing emphasis on security and privacy in today's digital world, I believe they would be a valuable addition to the library.
I'm available to provide further insights or assist in any way necessary to expedite the implementation of these features if the team sees fit.
Best regards,
MarcoDotIO

Sorry for being away for a while, and I really value your efforts to participate with our project.
So, in given circumstances, I believe that the most effective way of your participation would be a PR.
It's not just because this would be the easiest one for us to manage, but because we're actually considering this lib as a true open source project, which is mean that we are expecting that new features would be implemented by the requester themselves or being part of our roadmap, that is as I mentioned before is near to be finished for this given major version branch.
So what I'm trying to say here is not just "provide a PR or get out", it's more like even though I share your concern here, the best we can offer from our side is to review the PR as long as general circumstances would change.


Not displaying breakpoints

The new design doesn't show any of the breakpoints. The following example has at least three but shows only one view.

FYI: viewing on a Chromebook Pixel 2 on stable channel.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/30736250-not-displaying-breakpoints?utm_campaign=plugin&utm_content=tracker%2F3374384&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F3374384&utm_medium=issues&utm_source=github).

Just pushed v2.0.1, should fix this issue


Example for simple import needed.

Could you please post an example of how to import simple GLTF files?
See zip for an example cube.
cube.zip

No longer needed.


Fix broken link in chainerx.md

I can not access this url.
I think this url is a private repository.

Thanks, this is indeed an old URL.

Jenkins, test this please.

Jenkins CI test (for commit fdd55e3c49c134d52b6e03a340a86995501a8870, target branch master) failed with status FAILURE.

CI failures are unrelated. LGTM!


Metadata version mismatch node_modules/angular-2-local-storage/dist/notify-options.interface.d.ts, found version 4, expected 3

When running ng build -prod I am getting this exception using the latest version of the angular-2-local-storage.
If I install the previous version 1.0.1 I don't have any issues?

Same here, with angular4 I have can't run ng build --prod nor ng serve

How to resolve this problem？

Different versions of the Angular compiler generate different versions of the required metadata. I guess you need to match the right versions of the lib with the right versions of @angular/cli?

I don't know what versions of @angular/cli is right to match.Do you know?
------------------ 原始邮件 ------------------
发件人: "Craig<EMAIL_ADDRESS>发送时间: 2018年7月11日(星期三) 下午5:47
收件人<EMAIL_ADDRESS>抄送<EMAIL_ADDRESS><EMAIL_ADDRESS>主题: Re: [phenomnomnominal/angular-2-local-storage] Metadata versionmismatchnode_modules/angular-2-local-storage/dist/notify-options.interface.d.ts, foundversion 4, expected 3 (#57)
Different versions of the Angular compiler generate different versions of the required metadata. I guess you need to match the right versions of the lib with the right versions of @angular/cli?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Latest versions of everything should work together, otherwise, I’m not sure.

You must choose the good version in your package.json is solved it this way

I've tried to use the latest version，, but it has not been solved.
Think you for your advise, i will try again.

The versions of @angular/cli or the versions of angular-2-local-storage?


feature: Add support for SerializableProgram abstraction to Device interface

Issue #, if available:
Description of changes:
The scenario is that an external library like AutoQASM wants to create program objects which can be executed on Braket devices, including local simulators and AWS devices, but also wants the freedom to return (simulated) results in a format that does not necessarily match the Braket schema for gate model task results.
This change adds a minimal abstraction, SerializableProgram, which represents a program that can be serialized to OpenQASM. It adds support for this in the Device class so that these programs can be run on Braket, while also supporting a local simulator which wants to return a GateModelQuantumTaskResult directly rather than being forced to match the schema of GateModelTaskResult.
For example implementations of this abstraction, see:

https://github.com/amazon-braket/autoqasm/blob/7e4441dd6cc42c1ee01b52d86e1ee7a04fa15b40/src/autoqasm/program/program.py#L121-L154
https://github.com/amazon-braket/autoqasm/blob/7e4441dd6cc42c1ee01b52d86e1ee7a04fa15b40/src/autoqasm/program/program.py#L227-L261

Testing done:
Tests added to verify new code and maintain 100% code coverage.
Merge Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your pull request.
General

[x] I have read the CONTRIBUTING doc
[x] I used the commit message format described in CONTRIBUTING
[x] I have updated any necessary documentation, including READMEs and API docs (if appropriate)

Tests

[x] I have added tests that prove my fix is effective or that my feature works (if appropriate)
[x] I have checked that my tests are not configured for a specific region or account (if appropriate)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

It adds support for this in the Device class so that these programs can be run on Braket, while also supporting a local simulator which wants to return a GateModelQuantumTaskResult directly rather than being forced to match the schema of GateModelTaskResult.

If the vision is to support any simulator that can execute OpenQASM, do you think it's worth creating a new result class instead of GateModelQuantumTaskResult? Currently, the MCM simulator writes results in the measurements field of GateModelQuantumTaskResult. Although GateModelQuantumTaskResult does not validate the field type, it does have type hint and doc that does not agree with the value written into the measurements field.

If the vision is to support any simulator that can execute OpenQASM, do you think it's worth creating a new result class instead of GateModelQuantumTaskResult? Currently, the MCM simulator writes results in the measurements field of GateModelQuantumTaskResult. Although GateModelQuantumTaskResult does not validate the field type, it does have type hint and doc that does not agree with the value written into the measurements field.

You're right, using the measurements field for arbitrary output values is not really intended. To support arbitrary OpenQASM programs with output variables, eventually we would need a task result object which is more generic than the current GateModelTaskResult and GateModelQuantumTaskResult, both of which assume that the result of a task is a single bitstring. However, doing this correctly would involve defining a new task result schema (in the schemas repo) which I believe is beyond the scope of this PR.
One possible option for now would be to define some kind of generic QuantumTaskResult object which does not have any particular schema. But this feels like it would be a temporary solution and I'd be hesitant to add that now. Curious to get other thoughts on this.


Hidden units number_ deep-belief-network for regression

Hi, thanks for really good code!
I would like to use the deep-belief-network for regression. But, when I see your code, I can see that the number of hidden layers (hidden_layers_structure), the learning rates (learning_rate_rbm,          learning_rate), epochs'number (n_epochs_rbm, n_iter_backprop), batch size( batch_size) and activation function are settable. However, this is not the case of the number of hidden units.
How is it set please?
Thank you
Best regards

Hi,
thanks for your comments.
Let me be practical: say hidden_layers_structure=[256, 128], what that means is that your network will have 2 hidden layers, the first one with 256 neurons and the second one with 128. That's the way how you can control the number of hidden units.
Best regards

how about the visible unit albert?


mosparo honeypot field is incorrectly located and is visible.

Hi!
More issues from me :)
The Mosparo honeypot field gets inline style: position: absolute !important; left: -1000px !important; top: -1000px !important;
This causes the field be visible if the form is located in bottom right of the site.
For now I have to hide it using CSS:
input[name="given_honeypot_field_name"] {
display:none!important;
}

p.s. Thank you for so much help thus far!

Hi @Sapper-Morton
Thank you very much for your report.
Since this is an issue with mosparo itself and not the WordPress plugin, I've moved the issue to the mosparo repository and renamed it.
I will look into this issue and add a fix. A new version with the fix should be released over the weekend.

p.s. Thank you for so much help thus far!

 Thank you very much for your testing and reporting.
Kind regards,
zepich

Hi @Sapper-Morton
With the released version v1.1.5, the honeypot field now has better styles and should not be visible anymore.
Thank you, @nmcodeeu, for providing the base for the fix.
Kind regards,
zepich


"fs" vs "ft" model differences

Hi, thanks very much for the repo. I am using the downloaded models: https://github.com/microsoft/DialoGPT/blob/master/demo_utils.py, and want to ask what are the differences between "medium_fs.pkl" vs "medium_ft.pkl", or "small_fs.pkl" vs "small_ft.pkl"? Do they impact the performance and accuracy of the model?

Thanks for your interest. "fs" means "from scratch" and "ft" means "fine-tuned". The results from the "ft" model is typically better

Thanks! I'll close the issue now


[DE] Advanced sections

Hey,
here are more lessons from the advanced sections. I haven't had a look at the new sections 'genStage' and 'behaviors'. PHEW, it's hard to keep up that pace! 😄

Thank you @Lechindianer!