💡[Feature]: Style Transfer with Neural Networks

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
This project implements Neural Style Transfer (NST), a deep learning technique that applies the artistic style of one image to the content of another image. Using Convolutional Neural Networks (CNNs), the model extracts the content from one image and transfers the style of a different image, producing a new image that combines both elements.
Use Case
In the realm of digital content creation, artists and designers often seek innovative ways to enhance their visual projects. The Style Transfer with Neural Networks project can be used to generate unique artistic images by applying the styles of renowned paintings to personal photographs or digital illustrations. For instance, a marketing team working on a social media campaign can take a high-resolution image of their product and apply the vibrant color palette and brushstroke patterns of an iconic artist, like Van Gogh or Monet. This not only creates eye-catching visuals that stand out in a crowded marketplace but also aligns with current design trends that favor artistic and customized content. By automating the style transfer process, the project allows non-technical users to easily produce professional-quality artwork, making it a valuable tool in advertising, branding, and personal creative projects.
Benefits
No response
Add ScreenShots
N/A
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@sanjay-kv  created a pull request. Kindly review it. Thank you!


Add new filters to products

Add filters:

isAvailable
publishedFrom
availableFrom
isVisibleInListing

Fix 10370
Impact

[ ] New migrations
[ ] New/Updated API fields or mutations
[ ] Deprecated API fields or mutations
[ ] Removed API types, fields, or mutations
[ ] Documentation needs to be updated

Pull Request Checklist

[ ] Privileged queries and mutations are guarded by proper permission checks
[ ] Database queries are optimized and the number of queries is constant
[ ] Database migration files are up to date
[ ] The changes are tested
[ ] GraphQL schema and type definitions are up to date
[ ] Changes are mentioned in the changelog

publishedFrom and availableFrom are not working as they should. When I am using those filters then I get products whit different date then I choose.

Maybe I should change or better explain the description on those two filters. I believe that they work fine cause the idea is, to check if the product will be for example available in future. So if the date availableAt is smaller than what we asked for, then that means product is available.


Horizontal scroll & blurry carousel images on mobile devices

I noticed there's a horizontal scroll on mobile devices due to overflowing content.
The culprit appears to be the carousel.

Carousel images are blurry on mobile devices.

I created a PR.


Functions collide with other plugins!

The functions named in the kiosk plugin are loaded into the global namespace. Use function names that are more specific.
https://github.com/gios-asu/wordpress-news-kiosk-plugin/blob/master/kiosk-plugin.php#L27-L119


fix(tailwind): React.forwardRef components not working

We were finding that some components in our UI library were not being correctly rendered.
On investigation it appears that in a couple of places in the Tailwind component, there's a check to see if the child is a functional component. For example: https://github.com/resend/react-email/blob/e72d0896231eed56f21d37c586a7953ffc23a667/packages/tailwind/src/tailwind.tsx#L93
When using React.forwardRef, the child appears as an object with a render function, which was failing this test.
Unsure if there's a better option, but this PR expands the check to also see if the child has a render function and uses that instead of the child itself.

Can you also run pnpm format on the root of the code in the fork's branch?

@nzben Could you check the "Allow edits and access to secrets by mantainers" option? This is so that I can fix the conflicts here.

@gabrielmfern weirdly, I don't see that option :(

I'll try to merge upstream and fix the conflict.

@nzben Weird that it doesn't appear even though GitHub mentions it 🤔
Would be awesome if you could fix the conflicts. This PR should actually fix #1391 as well, so really wanted to get this merged.

@nzben You can also try reopening the PR here, from the same branch and fork, with the option checked so that I can fix the conflicts.

Should be good to go now @gabrielmfern

Thank you so much @nzben. Just merged it, will release in a few. Loved this PR, feel free to open other ones if you find the need to 🥰


Alerts

Need

as a maintainer of the Query Service
I want to be alerted if it is broken
so I am aware of any issues

Approach

[ ] create query-service-alerts slack channel
[ ] alert if health check fails repeatedly
[ ] add additional alerts as needed

Pair with me on this!


Fix alacritty.info color pairs to improve color support in certain ncurses programs

Closes issue #1862, by updating the colors pairs in alacritty.info to use 0x7FFF instead of 0x100000. 0x7FFF is aligned with xterm-256color and solves coloring issues for htop and certain other known ncurses programs.

Updated the change log. I put it as a fix under version 0.2.5 (next release) - let me know if that was correct.


There's no DeleteAllAsync

SQLiteAsyncConnection doesn't have a DeleteAllAsync only a DeleteAsync

I found this: https://github.com/praeclarum/sqlite-net/pull/298
Someone implemented this 3 years ago! But the PR wasn't merged...

Sorry about that. Looking into it along with everything else with: https://github.com/praeclarum/sqlite-net/issues/480


SAK-47101 Sitestats: Use server time for date truncation

There have been test failures where the truncation of the timestamp resulted in a different day than the begin time of the presence. This is because the truncation of an Instant is UTC based and in some tests a Presence record is inserted into the test db with a Date that is based on an Instant that has not been truncated. Truncating the Instants in the tests would have solved this failures as well, but to keep the behavior consistent with the previous code and other stats I changed my code to use the system timezone - not UTC - for the date truncation of the presence times.
https://sakaiproject.atlassian.net/browse/SAK-47101

Build is failing due to missing license headers. Maybe from the scorm tool?

Sounds likely

@stetsche Thanks for providing a timely fix


A maintained replacement for XML is needed

Will the undeaD https://github.com/dlang/undeaD work?  I see std.xml is there.

I already switched to undeaD in 91fbca984ee056cfa9b561238ae362c429c41a9a , but it's not exactly "maintained" :)

Good luck, thanks for doing the high priority label


How can i unminify javascript code in python as on site jsbeautifier.org?

As title, on website http://jsbeautifier.org, it can auto detect input language (html, css, js) then auto return correspone beauty code, and it can unminify javascript code. How can i do the same on my python code?
thank man.

The cli does not have this feature, in python or javascript implementation.


Clarify what "require outbound connectivity to Azure" means

Regarding what network connectivity is required by the self-hosted gateway, the docs says:

Self-hosted gateways require outbound TCP/IP connectivity to Azure on port 443

What does this in fact mean? What services does it require to access? Is it just the ip of the API management instance, or is it "all of azure"?

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

ID: 20dccd8b-f67a-8728-3bb3-f46a0ffdfd40
Version Independent ID: 3e79e57d-a348-b0d3-cd89-86c76ca70104
Content: Self-hosted gateway overview
Content Source: articles/api-management/self-hosted-gateway-overview.md
Service: api-management
GitHub Login: @vlvinogr
Microsoft Alias: apimpm

@nilsga Thank you for your feedback . We will investigate and update the thread.

@nilsga Connection interfaces with the Management pane of the APIM service and the documentation also does state the following for the specific operations:
Self-hosted gateway uses connectivity to Azure for:

Reporting its status by sending heartbeat messages every minute
Regularly checking for (every 10 seconds) and applying configuration updates whenever they are available
Sending request logs and metrics to Azure Monitor, if configured to do so
Sending events to Application Insights, if set to do so

We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


Cannot interrupt blocking network I/O ops on Windows

This issue is for tracking our progress towards: https://gitlab.haskell.org/ghc/ghc/issues/14503#note_200103
On windows when compiled with -threaded flag, GHC deadlocks when killing a thread while a descriptor is opend.  This is important in ouroboros-network:

we keep open TPC connections (thus we have multiple open file descriptors)
we throw async exceptions to do thread management (via async interface)
With this bug we cannot close any thread while the application is running.

This bug was fixed in the non -threaded case only, which is not an option for us: without it GHC blocks all the threads on FFI calls.
@karknu created a simple program to reproduce this issue: https://github.com/karknu/win-thread-deadlock and tested which GHC versions are affected:
Results on 64bit Windows10.

LTS
GHC
Threaded
Status

6.35
7.10.3
No
Broken

6.35
7.10.3
Yes
Broken

9.21
8.0.2
No
Fixed

9.21
8.0.2
Yes
Broken

11.22
8.2.2
No
Fixed

11.22
8.2.2
Yes
Broken

12.14
8.4.3
No
Fixed

12.14
8.4.3
Yes
Broken

12.26
8.4.4
No
Fixed

12.26
8.4.4
Yes
Broken

13.11
8.6.3
No
Fixed

13.11
8.6.3
Yes
Broken

13.19
8.6.4
No
Fixed

13.19
8.6.4
Yes
Broken

13.22
8.6.5
No
Fixed

13.22
8.6.5
Yes
Broken

I think I've identified why: https://gitlab.haskell.org/ghc/ghc/issues/14503#note_200103

Related tickets:

https://gitlab.haskell.org/ghc/ghc/issues/5797
https://gitlab.haskell.org/ghc/ghc/issues/7353

PR #1186 & #1207 merged


Allow for env vars to have spaces in some cases

Closes #17781
This allows for env vars in EXPOSE to be parsed for spaces so that each
"word" is then treated independently instead of as a single word/arg.
Signed-off-by: Doug Davis<EMAIL_ADDRESS>

Nice tests. They seem comprehensive.

LGTM 🐶

LGTM

ping @duglin was this a regression in 1.9 or only reported with 1.9?

@thaJeztah only reported in 1.9 - it wasn't a regression.

@duglin thanks! checking if we didn't miss a PR for 1.9.1


After hvplot > 0.4.0 lands

Update the ranges in datashader_dashboard to match the changes from pyviz/datashader#768

Update datashader_dashboard to use responsive option.


Fixed missing ast.literal_eval module import

There is a import missing in test_data.py causing every item in a CSV file to be handled as string. Types as dictionaries / lists are not detected due to literal_eval errors being ignored (including module not found)

this PR is obsolete in case PR https://github.com/lucianopuccio/golem/pull/95 is merged


Misleading defaults for storage type

Hey there,
if you check the docu at https://docs.nats.io/nats-concepts/jetstream/streams#storagetype, there it says that the fileStorage type should be "file" by default.
When you look into the nack crds https://raw.githubusercontent.com/nats-io/nack/v0.8.0/deploy/crds.yml, you can see at "storage"-property, that the default value is "memory".
This might be confusing and can lead to problems in kubernetes environments.

Ah I already know, why the crds use "memory" as the default storage type.
You might not necessarily use jetstreams and therefore there might be no persistent volume by default.
This issue can be closed.


Disconnected from server. Try to Reload.

An unhandled error has occu
WebSocket connection to 'wss://hub.lostmerchants.com:14124/MerchantHub?access_token=*' failed:
Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100]
      Unhandled exception rendering component: net_webstatus_ConnectFailure
System.Net.WebSockets.WebSocketException (0x80004005): net_webstatus_ConnectFailure
 ---> WebSocket error
   at System.Net.WebSockets.BrowserWebSocket.CancelationHelper(Task , CancellationToken , WebSocketState )
   at System.Net.WebSockets.BrowserWebSocket.ConnectAsyncCore(Uri , List`1 , CancellationToken )
   at System.Net.WebSockets.ClientWebSocket.ConnectAsyncCore(Uri , HttpMessageInvoker , CancellationToken )
   at Microsoft.AspNetCore.Http.Connections.Client.Internal.WebSocketsTransport.DefaultWebSocketFactory(WebSocketConnectionContext context, CancellationToken cancellationToken)
   at Microsoft.AspNetCore.Http.Connections.Client.Internal.WebSocketsTransport.StartAsync(Uri url, TransferFormat transferFormat, CancellationToken cancellationToken)
   at Microsoft.AspNetCore.Http.Connections.Client.HttpConnection.StartTransport(Uri connectUrl, HttpTransportType transportType, TransferFormat transferFormat, CancellationToken cancellationToken)
   at Microsoft.AspNetCore.Http.Connections.Client.HttpConnection.SelectAndStartTransport(TransferFormat transferFormat, CancellationToken cancellationToken)
   at Microsoft.AspNetCore.Http.Connections.Client.HttpConnection.StartAsyncCore(TransferFormat transferFormat, CancellationToken cancellationToken)
   at Microsoft.AspNetCore.Http.Connections.Client.HttpConnection.StartAsync(TransferFormat transferFormat, CancellationToken cancellationToken)
   at Microsoft.AspNetCore.Http.Connections.Client.HttpConnectionFactory.ConnectAsync(EndPoint endPoint, CancellationToken cancellationToken)
   at Microsoft.AspNetCore.Http.Connections.Client.HttpConnectionFactory.ConnectAsync(EndPoint endPoint, CancellationToken cancellationToken)
   at Microsoft.AspNetCore.SignalR.Client.HubConnection.StartAsyncCore(CancellationToken cancellationToken)
   at Microsoft.AspNetCore.SignalR.Client.HubConnection.StartAsyncInner(CancellationToken cancellationToken)
   at Microsoft.AspNetCore.SignalR.Client.HubConnection.StartAsync(CancellationToken cancellationToken)
   at WanderLost.Client.Services.MerchantHubClient.Connect()
   at WanderLost.Client.Pages.Merchants.OnInitializedAsync()
   at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync()
   at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task , ComponentState )

Chrome and Firefox.

Me and my guildies are having the same issues.

Seems the server got into a crash loop. Discord bot not quite bulletproof it seems and I need to add some error handling. 😅

Should be recovered now, though I probably need to tweak some other things behind the scenes later on.


Correct support for big integers

The goal of this PR is to make any interaction with big integers in elm-cardano correct

The JSON<-> Elm part is handled directly in the elm-cardano.js file and works as follows.
JSON -> Elm
Big integers need to be parsed with care and converted to something that can be marshalled to Elm via a port. The strategy is to convert into a string any number too big for the safe JS number type. We also do not want to rely on a JS library that needs maintaining and security updates. Instead, we managed to do that conversion using a regular expression:
// converting big integers to strings before sending to an elm port
const preprocessedData = bigIntToStringPreProcess(event.data)
const parsedMessage = JSON.parse(preprocessedData)
app.ports.fromOgmios.send({ responseType: "ogmios-message", connectionId, message: parsedMessage })

// Helper function to pre-process JSON strings.
// This converts unsafe integers that would have a lossy conversion to JS number,
// into a string that can be parsed losslessly as a string.
// Kudos to Simon Lydell for this magic regex.
// The regex matches every instance of either a string, or a number.
// It should support all shapes of numbers like decimals, scientific notation etc.
//
// An alternative to this regex patching would be to parse the JSON string directly in Elm
// with something like https://github.com/zwilias/elm-json-in-elm/tree/master
const stringOrNumber = /("(?:[^\\"]|\\.)*")|-?(?:[1-9]\d*|0)(?:\.\d+)?(?:[eE][+-]?\d+)?/g;
const onlySignedDigits = /^-?\d+$/;
function bigIntToStringPreProcess(jsonString) {
    return jsonString.replace(stringOrNumber, (match, stringLiteral) => {
        if (stringLiteral != undefined) {
            // match is a string
            return stringLiteral;
        } else if (onlySignedDigits.test(match)) {
            // match is an integer
            if (Number.isSafeInteger(Number(match))) {
                // if integer is safe, we leave it as-is
                return match;
            } else {
                // otherwise convert it to a string of digits
                return JSON.stringify(match);
            }
        } else {
            // match is a float or scientific notation, we leave it as-is
            return match;
        }
    });
}

Elm -> JSON
In that direction, it's pretty trivial. Again, we use a regular expression on a json-stringified elm object. Big integers inside that JSON string must be encoded as values with this shape: {bigint: "42000"}. Encoding into that shape will be taken care on the elm encoders.
// Convert elm big integers back to JSON integers
const jsonRequest = JSON.stringify(request, null, "") // must be compact
ws.send(replaceBigIntObject(jsonRequest))

// Helper function to replace all instances of bigint object comming from Elm in the JSON.
// {"bigint":"420000000"} -> 420000000
const bigIntObject = /{"bigint":"(-?\d+)"}/g
function replaceBigIntObject(compactJsonString) {
    return compactJsonString.replace(bigIntObject, (_match, bigint) => bigint);
}

I've now updated all Int Shelley fields that should be positive big integers by Natural.
My logic for choosing which fields to update was the following.

If that's an index, keep Int because we generally can't have more than 2^53 things in cbor data
If that's a size, keep Int as we can't have things too big in cardano transactions
If it's specified small (such as ipv4, ...) keep Int
Otherwise, use Natural.

In particular, this means that values, such as lovelace, and epochs are now Natural.
For now, the first implementation of the Natural encoder/decoder is very basic, going through hex string encoding.
It's not super efficient, but it gets the ball rolling.
I've updated the coin selection algorithm to record accumulated value instead of remaining value, because we can't have negative numbers with Natural.
I've added Fuzz.Extra.natural and Fuzz.Extra.strictPositiveNatural for the property tests.
That's pretty much it. The rest is just mechanical updates to make the compiler happy and pass the tests.
There may be fields that are still to update with Natural, but since I'm working on Shelley for now, and doing this change by looking at shelley's cddl, these changes are not done in this PR. They will wait for when we reach the appropriate era.


Add neuralynx interface

@bendichter Basic addition of Neuralynx interface
Though it doesn't yet wok for the brody-lab-to-nwb project (but issue posted on neo) it should support any other type of .ncs files of the appropriate version (that's one of the ones the GIN tests are passing for).

@CodyCBakerPhD do you know what is causing the CI to fail?

@bendichter Ahhh yes - I'll have to mimic the behavior of other interfaces dependent on neo extractors (they don't have method signatures the way standard extractors do). Fixing now

Well, turns out this will require a modification on spikeextractors - Luiz got the blackrock one to work because he overrode the init just to attach the annotation type checking. Changing this to draft until spikeextractors is modified

You should be able to just override get_source_schema for this class

which I see you have done. Why isn't that working?

Yeah, so what I've overridden here is @luiztauffer adaptation of the get_method_from_signature to add in the extra properties/descriptions but it still relies on the annotations in the __init__ that spikeextractors does not have for Neuralynx, but does have from what Luiz did on blackrock.
Now, I could further override the source_schema here temporarily to simply construct the entire thing manually  until it gets added in spikeextractors - BUT I caution against this since one potential solution for making the neuralynx usage more robust in neo (required for brody-lab) requires different arguments altogether.

Progress being made on the neo performance issues with neo-PR#990. Can finish up this PR once those are through.

Superseded by #235


What needs work on?

Hi. Since Github eliminated private messaging I find it difficult to comunicate with developers. I'm just wondering if there's a feature I can tackle or code I can take off yoru plate.

Nevermind, with your blessing @collinhundley I'd like to take on support for multiple hidden layers /  and deep learning.

Yes, that would be great if you'd like to work on multiple hidden layers  for FFNN. I'd recommend waiting a few hours though - @perlfly has made some big changes to help support deep learning, and I'll hopefully have time to review and merge it soon!

Great @KacheFlowe ! I'd appreciate your comments on my latest PR. It adds a struct that could encapsulate the layer logic. At the moment it support forward calculation. It lacks backward propagation and Softmax-ing. Feel free to ask any clarification where my code is not clear enough.
If @collinhundley agrees with the direction taken by my pr, I propose opening a dedicated FFNN branch where you could contribute directly.

@perlfly Yeah sure. Are you a native Swifter?

@collinhundley Hey Colin. I noticed you merged the branch and in your comments mentioned that you'll need to look at the code later. I can help you look at the code if you'd like. And I can begin work whenever.

I've merged PR #23. This will allow everybody to continue with @perlfly 's method of handling multiple hidden layers and support for deep learning.
Please keep performance in mind when adding any new code.  Although readability is an important characteristic, for this particular library I would like to make performance an even higher priority.  For large neural networks, even microseconds can add up very quickly so it's important that we keep the calculations as efficient as possible.  For this reason, we need excellent documentation to keep the code maintainable.  Don't be afraid of excessive comments - make note of anything that might help another developer understand your logic.
If anybody is looking for something to tackle, I would love to see Softmax activation working.  I began implementing it, but got a little hung up with applying its derivative during backpropagation.  See the FIXME under 'Calculate output errors' in the backpropagate method.  Currently Softmax normalizes the outputs correctly, but it always converges on a wrong answer, which suggests that it's probably a backpropagation issue.  Ultimately it should be used for the 'Handwriting' example (trainer in the OS X app, classifier in the iOS app).

@collinhundley On it.

@collinhundley I'm pulling @perlfly changes to my fork now and will then begin work on Softmax activation. Also I document excessively under normal circumstances so that isn't an issue.

@KacheFlowe Thanks, I should have more time to look the changes tomorrow (U.S. Mountain Time).  And @perlfly I appreciate your work, it looks great.

@collinhundley Would you prefer that I contribute to an FFNN branch directly or submit pull requests from my own repo?

@KacheFlowe Go ahead and submit pull requests from your own repo for now. We can add another branch later if it's more convenient.

@collinhundley  rubs hands together Oh yeaaaah. Here we go

@KacheFlowe Please make sure you do not look at FFNN branch in my fork (on my git account). It was just something like a playground to test different direction. FFNN_Prop (proposal) is what I proposed.
Speaking of Softmax, I was wondering if it is the case to add that logic to the Layer or to the ActFinction.
At the moment the previous Softmax logic is commented inside the Layer struct.
BTW: What is a native swifter? :-) ... Oh yes ... I have 5+ years of Swift experience ;-)

@perlfly haha I'm sorry! I meant to write native iOS Developer. Sorry. I hadn't slept for a whole day. Not that it matters ultimately, I was simply curious :)

Yes @KacheFlowe I developed a few small iOS apps since iOS5, but I'm primarily focused on the language itself (Swift) as a developer skill and Machine Learning. So this project fits perfectly with my interests.

@perlfly Ah! Looks like we have the same interests (with the caveat that I am also an iOS Developer). Are you on Twitter? We should sync up.

@collinhundley So I saw a post a couple of days ago detailing that you created another branch. Will I be added toa collaborater so that I may work on the branch directly (and thus create sub branches?). I won't object to this system if it is what you desire but it seems a bit cumbersome from a contributor's perspective. It'd be easier to add me as a collaborator and then have me create a local branch and submit PRs to the remote to be approved by you or another member of the team. Unless you'd rather test me first, which is completely fair.

@KacheFlowe If you have new changes to add now, go ahead and submit a PR and I'll take a look at it.  It's been a busy few weeks for me but I'm getting back into a normal routine so I'll have more time to dedicate to Swift AI again.  If you have lots of contributions that you'd like to make, I'm not opposed to adding more collaborators if that's easier.


Lottery

/coffeebot X lottery = Collect hands for 60 seconds, then choose X people who get coffee.
/coffeebot X lottery Y seconds = Collect hands for Y seconds, then choose X people who get coffee.

RESOLVED


Opportunities: Add Primary Contact Party ID

'nuff said

Popup menu to select related contacts or button in portal row to set? We have both precedents. Party Merge has the "heart" icon, and Salesperson is a popup menu.

My vote is for a pop-up menu


🪲 Bug Report - China DINE Policies using Deployment Regions that don't exist in AzureChinaCloud

Describe the bug
Several DeployIfNotExist policies in the set of China policies are using deployment locations (properties.policyRule.then.details.deployment.location) that do next exist in AzureChinaCloud.  These are the ones that I have found, but I may have missed some:

Deploy-ASC-SecurityContacts
Deploy-DDoSProtection
Deploy-FirewallPolicy
Deploy-Nsg-FlowLogs-to-LA
Deploy-VNET-HubSpoke

Expected behaviour
Update these policies deployment.location to use any region that exists in AzureChinaCloud

OK, Thanks for explanation Jack.  I thought I had opened an issue for this already and was wondering where it went!


Strongly recommend prioritizing support for claude-3

The smallest model of  claude-3 can have visual and GPT-4 like capabilities at a low cost, making it the most cost-effective model. Moreover, it has also added its built-in function calling feature.

Claude 3 is available in 14.1.


Implement getters/setters

I would like to have getters/setters all across the code.
This would allow to access (and modify) all those things that now have a getWhatever() and setWhatever method, like L.Map.getZoom() and L.Map.setZoom()
e.g. instead of:
map.setZoom(map.getZoom() + 1);

one could do:
map.zoom++;

I guess some of the code would become much more simpler. The main downside is that getters/setters are part of the ECMAscript 5 standard, so IE8 is out. Other downside is that it seems that the only way to copy getters/setters from an L.Class.extend(mixin) definition is to resort to the method described in #3464, which might affect performance.

I'm not a fan of getters/setters, having used them in GL JS. They do all the work that's happening under the hood implicitly, which often makes it much harder to debug. Lacking IE8 support is also a blocker for now.

Closing this issue, as it seems clear that we don't want to do this for the aforementioned debugging reasons.

What would be logical places to use getters and setters? I think accessing a property should always be without side-effects, so the question is where are we currently using methods where get/setters make more sense?

What would be logical places to use getters and setters?

Map's getCenter/getZoom and their setters. Read-only getMaxZoom/getBounds. Marker's getLatLng/getIcon and setters. Popup content getter/setter. The setParameters in L.TileLayer.WMS. setURL for ImageOverlay. There's lots of potential stuff.

I think accessing a property should always be without side-effects

Reading, yes; modifying (setting), no. I'm of the opinion that using setters instead of setWhatever() methods lead to slightly cleaner code.
I don't have a very strong opinion about this, though. Doing getters/setters would be a breaking change, after all.

How good can be getter/setter overwritten from plugins like it is currently possible?
I don't have much experience with this because it was for me always to complicated instad of making a simple get and set method if they are needed. Means I open for new things but I don't need it.

I'll re-open the issue as it seems there is still some discussion to be had :+1:

Adding this to the v2 milestone, and since this would be a breaking change I will mark it as such.


Run and debug nothing happens

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

VS Code Version:Newest
OS Version:

Steps to Reproduce:

after  press  f5 and ctrl+f5，There will be a very fast operation but the return will end soon, the code does not run, there is no running result, there is no response

What language are you coding in?

python，The running interface disappeared instantly, this is the third time I encountered it
I didn't know how good it was before. I tried to switch to a pre-release version of python. It was successful before, but now it doesn't work anymore. Switching the version doesn't work either.
------------------ 原始邮件 ------------------
发件人: "John @.>;
发送时间: 2022年7月13日(星期三) 下午3:44
收件人: @.>;
抄送: @.>; @.>;
主题: Re: [microsoft/vscode] Run and debug nothing happens (Issue #155019)
What language are you coding in?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

/extPython

It looks like this is caused by the Python extension. Please file the issue to the Python extension repository. Make sure to check their issue reporting template and provide them relevant information such as the extension version you're using. See also our issue reporting guidelines for more information.
Happy Coding!


Unable to use PubSub

I was trying to use the PubSub deployment type but I found several issues:

The documentation that explains how to create a topic is under "Other commands" so it is not clear that is a mandatory step.
When trying to manage topics it throws an error (fixed in #198)
After applying that patch and create a topic it is not clear how to submit a new message (kubeless topic publish --topic <topic_name> --data <data>)

The above command first fails with bash: msg.txt: Permission denied. (The running user bitnami is not able to create the file /msg.txt)
After opening a shell in the kafka-0 pod and manually create that file with the correct permissions the command still fails with [2017-07-25 13:42:10,014] WARN Error while fetching metadata with correlation id 1 : {s3=LEADER_NOT_AVAILABLE} (org.apache.kafka.clients.NetworkClient). The current value of KAFKA_ADVERTISED_HOST_NAME is broker.kubeless that is not available in the cluster. The service broker doesn't have a clusterIP:

NAME        CLUSTER-IP   EXTERNAL-IP   PORT(S)             AGE
broker      None         <none>        9092/TCP            2m

After changing the env var KAFKA_ADVERTISED_HOST_NAME with localhost and redeploy kubeless the command to publish the data doesn't fail but the function is still not able to find any broker:

Traceback (most recent call last):
  File "/kubeless.py", line 40, in <module>
    group_id=group, value_deserializer=json_safe_loads)
  File "/usr/local/lib/python2.7/site-packages/kafka/consumer/group.py", line 314, in __init__
    self._client = KafkaClient(metrics=self._metrics, **self.config)
  File "/usr/local/lib/python2.7/site-packages/kafka/client_async.py", line 210, in __init__
    self.config['api_version'] = self.check_version(timeout=check_timeout)
  File "/usr/local/lib/python2.7/site-packages/kafka/client_async.py", line 808, in check_version
    raise Errors.NoBrokersAvailable()
kafka.errors.NoBrokersAvailable: NoBrokersAvailable

Hi @andresmgot,

The documentation that explains how to create a topic is under "Other commands" so it is not clear that is a mandatory step.

Agree. We must update document for that.

The above command first fails with bash: msg.txt: Permission denied. (The running user bitnami is not able to create the file /msg.txt)

Seb sent a PR to fix it. Release 0.0.17 will work.

KAFKA_ADVERTISED_HOST_NAME

I think it was messed up by wrong labels. Could you try again with the release 0.0.17 ?

Hi @ngtuna,

Seb sent a PR to fix it. Release 0.0.17 will work.

Yes, now it works.
Another issue I found is that the Python function fails with TypeError: not enough arguments for format string. I see that the code is already fixed but the image that is in k8sutil.go still has the bug.
After fixing that issue I was able to run the PubSub example.

fixed in 0.0.18


Fix for - Sticky Classes aren't toggling properly if scrolltop not 0 on anchor load #100

I had the same issue but just calculating the offset of the parent wasn't enough in my case. I had to traverse the offsetParent upto the top level of the DOM. So I ended up creating a function to calculate offsetTop:
var getOffsetTop = function getOffsetTop(elem) {
var offsetTop = 0;
do {
if (!isNaN(elem.offsetTop)) {
offsetTop += elem.offsetTop;
}
} while (elem = elem.offsetParent);
return offsetTop;
};
And use the above method in computeScrollOffsets function:
Stickybits.prototype.computeScrollOffsets = function computeScrollOffsets(item) {
var it = item;
var p = it.props;
var parent = it.parent;
var iw = it.isWin;
var scrollElOffset = 0;
//  let stickyStart = parent.getBoundingClientRect().top
var stickyStart = getOffsetTop(parent);
if (!iw && p.positionVal === 'fixed') {
//    scrollElOffset = p.scrollEl.getBoundingClientRect().top
scrollElOffset = getOffsetTop(p.scrollEl);
//    stickyStart = parent.getBoundingClientRect().top - scrollElOffset
stickyStart = stickyStart - scrollElOffset;
}
it.offset = scrollElOffset + p.stickyBitStickyOffset;
it.stickyStart = stickyStart - it.offset;
it.stickyStop = stickyStart + parent.offsetHeight - (it.el.offsetHeight + it.offset);
return it;
};
A new release with these changes would be helpful.
TIA

For what it's worth, this fork fixes the issue for me! I've been running into an issue that sounds like exactly what #100 is describing. FWIW, this is only happening in Chrome, not Safari.
I put together test cases to help illustrate the issue, and how it fixes it:
Stickybits 3.3.1 (issue present): https://s.codepen.io/ethanmuller/debug/zjwMEa
ajithbhat's fork (issue fixed): https://s.codepen.io/ethanmuller/debug/qYjOrM
Please let me know if there's a better place to post this, or if you need any more details from me.
Thanks for your work!

@ajithbhat @ethanmuller darnit, yet again—maybe I missed some awesomeness! I will look at this closer today.
@ethanmuller thanks for asking me to re-look at this!
@ajithbhat sorry if my initial response was my misunderstanding.

No worries, let me know if my solution works & I can pull the latest changes from Master branch & re-initiate my PR.

@ajithbhat update please and THANK YOU! 🙏
Great work!

@ajithbhat Thanks
This worked for me (es6).
getOffsetTop (el) {
    let offsetTop = 0
    do offsetTop = el.offsetTop + offsetTop
    while (el = el.offsetParent)
    return offsetTop
}

Could you please runnpm run lint to ensure that linting is okay?
View more here.

Thanks @yowainwright for the review. I have now made requested changes & pushed up the changes. But, I think we should have a isNan check for el.offsetTop before we do offsetTop = el.offsetTop + offsetTop. This is in case if we have el.offsetTop as undefined.
Let me know your thoughts.

@ajithbhat offsetTop is supported in all browsers Stickybits supports and will always return a number. I don't think the statement is needed.
That said, you've already foreseen something that I didn't once! 😜🙏
Thank you!!!


Upload a link to the GitHub job

Currently, the observability server UI links to the workflow run attempt that the upload corresponds to. This is fine in the case where the workflow only contains a single job, as it did in ably-cocoa. But in the case where there’s more than one job in a workflow (e.g. in the case of a matrix build), there’s no way to tell which job an upload corresponds to. So, include this information in the upload.
https://github.com/ably/test-observability/pull/76 adds the observability server functionality for handling these new parameters in the upload.
Resolves #18.

@owenpearson or @VeskeR — I'll also need one of you to update the required checks in this repo’s settings (I don't have the permissions, I'm guessing maybe you do?)

OK, I need to rethink this approach. Turns out that the order in which the jobs are listed in the action YAML file don't necessarily match that in which they are returned from the API — see e.g. https://github.com/ably/test-observability-action/actions/runs/7476602315/job/20347351917?pr=20.

OK, I need to rethink this approach. Turns out that the order in which the jobs are listed in the action YAML file don't necessarily match that in which they are returned from the API — see e.g. https://github.com/ably/test-observability-action/actions/runs/7476602315/job/20347351917?pr=20.

Wow, that's unexpected. Yeah, the API request for the workflow mentioned has first-job as second element in the array.
I couldn't find any other way to get a unique identifier for a job either.
It seems that the next best thing is to find the correct job in the API response by its name. There is a github.job prop for that, but it does not include matrix information, whereas in API response name prop is shown as [job name] ([matrix.prop1], [matrix.prop2], ...).
Technically, we can concatenate the correct job name with matrix values (unless order of matrix properties is also not guaranteed) and expose it via JOB_NAME (instead of JOB_INDEX) and pass it to the action. It's not that far fetched from index calculation that we currently do with offsets and stuff.
@lawrence-forooghian WDYT?

@VeskeR I've implemented your suggestion of using the job’s name. Would you be able to take another look, please?


new(falco): add --version-json to print version information in json format

Signed-off-by: Luca Guerra<EMAIL_ADDRESS>
What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind feature

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area engine

What this PR does / why we need it:
As per title. It's like a lighter --support option which only prints the --version data.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

new(falco): add --version-json to print version information in json format

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: LucaGuerra
Once this PR has been reviewed and has the lgtm label, please assign mstemm for approval by writing /assign @mstemm in a comment. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/milestone 0.34.0

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: FedeDP, leogr, LucaGuerra
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [FedeDP,leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: ecf19bbeadae16ec372d3a25b26e1ea40a56e780


[CQT 126] Verify dataclasses using post_init

I would prefer a slightly different approach for the type checking.
This also raises the question of Int.__int__ and Float.__float__ should exists. Or... if Int and Float should exist at all.

This is indeed a conversation we need to have, an immediate example of this is here.


Drop support for labels

They're being rendered as https://github.com/refined-github/shorten-repo-url/labels/bug and https://github.com/refined-github/shorten-repo-url/labels/help wanted

What about  links to other repos?

https://github.com/refined-github/refined-github/labels/bug
https://github.com/refined-github/refined-github/labels/oldest bug 🦖
https://github.com/refined-github/refined-github/labels/Please! ♥

Nope they're still here. They need to stay


Unable to import AKS clusters from different subscriptions with same name

Rancher Server Setup

Rancher version: 2.6.2
Installation option (Docker install/Helm Chart): Helm Chart

If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc): AKS

Proxy/Cert Details:

Information about the Cluster

Kubernetes version: 1.20.9
Cluster Type (Local/Downstream): Downstream

If downstream, what type of cluster? (Custom/Imported or specify provider for Hosted/Infrastructure Provider): Hosted - AKS

Describe the bug
Cannot import multiple AKS clusters from different subscriptions that have the same name in Azure, even when giving them different names in Rancher.
To Reproduce
Import an AKS cluster from one subscription. Attempt to import an AKS cluster from a different subscription that has the same name in Azure as the first cluster.
Result
Bad response statusCode [422]. Status [422 Unprocessable Entity]. Body: [baseType=error, code=InvalidBodyContent, message=cluster already exists for AKS cluster [<cluster name>] in region [centralus]]
Expected Result
The second cluster should import successfully.

hello? can someone from Rancher look at this?

ping

HERE I AM, JUST SHOUTING INTO THE WIND.
I've submitted the ticket and a pull request that address the issue. Not sure what else I need to do to get someone to actually look at this.

same issue for EKS clusters, cannot add multiple clusters with the same name in different AWS accounts
Error: Bad response statusCode [422]. Status [422 Unprocessable Entity]. Body: [message=cluster already exists for EKS cluster [...] in region [...], baseType=error, code=InvalidBodyContent] from [https://rancher.us.staging.tools.hyland.dev/v3/clusters]

Hi we are facing the same issue on AKS. Is anyone facing the same limitation?


Blog content deleted after reboot

I did some maintenance to my server, kernal upgrade, reboot and i noticed my Ghost blog content is now gone when i rebooted the node server :fearful:

It sounds like you restarted Ghost in the wrong environment, see http://support.ghost.org/config#about-environment.
If you need further help, please drop by the #help channel in slack, GitHub ishuge software bugs/issues.

Thats it! thanks :smile:


Storage Blob Data permissions inherited to storage account don't affect listed storage accounts

Users who are assigned Storage Blob Data permissions at the resource group level or higher do not see those storage accounts in the list.

Confirmed that role assignments at resource group higher aren't processed correctly due to the lack of a storage account name in the scope path.
Addressing this will require listing all storage accounts in a resource group or subscription (using Resource Graph) and then processing all those storage accounts.


[SPARK-18185] Fix all forms of INSERT / OVERWRITE TABLE for Datasource tables

What changes were proposed in this pull request?
As of current 2.1, INSERT OVERWRITE with dynamic partitions against a Datasource table will overwrite the entire table instead of only the partitions matching the static keys, as in Hive. It also doesn't respect custom partition locations.
This PR adds support for all these operations to Datasource tables managed by the Hive metastore. It is implemented as follows

During planning time, the full set of partitions affected by an INSERT or OVERWRITE command is read from the Hive metastore.
The planner identifies any partitions with custom locations and includes this in the write task metadata.
FileFormatWriter tasks refer to this custom locations map when determining where to write for dynamic partition output.
When the write job finishes, the set of written partitions is compared against the initial set of matched partitions, and the Hive metastore is updated to reflect the newly added / removed partitions.

It was necessary to introduce a method for staging files with absolute output paths to FileCommitProtocol. These files are not handled by the Hadoop output committer but are moved to their final locations when the job commits.
The overwrite behavior of legacy Datasource tables is also changed: no longer will the entire table be overwritten if a partial partition spec is present.
cc @cloud-fan @yhuai
How was this patch tested?
Unit tests, existing tests.

Test build #68360 has started for PR 15814 at commit b5bbb1d.

Can you change the title to indicate that this is a serious bug fix?

Test build #68360 has finished for PR 15814 at commit b5bbb1d.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/68360/
Test FAILed.

Test build #68385 has started for PR 15814 at commit fbd7b42.

Test build #68387 has started for PR 15814 at commit 4296612.

Test build #68388 has started for PR 15814 at commit 91f87de.

Test build #68385 has finished for PR 15814 at commit fbd7b42.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/68385/
Test FAILed.

Merged build finished. Test FAILed.

Test build #68387 has finished for PR 15814 at commit 4296612.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/68387/
Test FAILed.

Test build #68388 has finished for PR 15814 at commit 91f87de.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/68388/
Test FAILed.

Test build #68423 has started for PR 15814 at commit 81bb266.

Test build #68423 has finished for PR 15814 at commit 81bb266.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
public class JavaInteractionExample
  class GBTClassifierWrapperWriter(instance: GBTClassifierWrapper)
 class GBTClassifierWrapperReader extends MLReader[GBTClassifierWrapper]
  class GBTRegressorWrapperWriter(instance: GBTRegressorWrapper)
 class GBTRegressorWrapperReader extends MLReader[GBTRegressorWrapper]

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/68423/
Test FAILed.

Merged build finished. Test FAILed.

I've temporarily merged in the changes from https://github.com/apache/spark/pull/15797 to see if the tests will pass.

Test build #68431 has started for PR 15814 at commit 51c1322.

Test build #68431 has finished for PR 15814 at commit 51c1322.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/68431/
Test PASSed.

Merged build finished. Test PASSed.

Test build #68492 has started for PR 15814 at commit 63f7f2e.

Test build #68492 has finished for PR 15814 at commit 63f7f2e.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/68492/
Test PASSed.

Merged build finished. Test PASSed.

Merging in master/branch-2.1. Thanks.


Fix typo in NLogTraceListener.ProcessLogEventInfo

thanks!
Unfortunately this is a breaking change, hence it should be postponed to NLog 5.

@304NotModified how come that changing bound variable name is a breaking change?

you could call:
  ProcessLogEventInfo( ... relatedActiviyId: myId)

?


[feat] ui build no inherit from maven proxy

Users may set proxy in maven setting.xml. but
frontend-maven-plugin will inherit proxy setting
from it. And pnpm not support both --proxy and
--https-proxy and will fail ui build. This patch
make pnpm run without inherits maven proxy.
ref: https://github.com/eirslett/frontend-maven-plugin#proxy-settings
and https://github.com/eirslett/frontend-maven-plugin/blob/9f39dbad0948237ada4e7b19bf90690f94a61b81/frontend-maven-plugin/src/main/java/com/github/eirslett/maven/plugins/frontend/mojo/PnpmMojo.java#L28

Codecov Report

Merging #10590 (08f8f56) into dev (117f78e) will increase coverage by 0.07%.
The diff coverage is 25.78%.

:exclamation: Current head 08f8f56 differs from pull request most recent head 6c8ed03. Consider uploading reports for the commit 6c8ed03 to get more accurate results

@@             Coverage Diff              @@
##                dev   #10590      +/-   ##
============================================
+ Coverage     40.85%   40.93%   +0.07%
- Complexity     4849     4874      +25
============================================
  Files           887      895       +8
  Lines         36039    36212     +173
  Branches       3999     3987      -12
============================================
+ Hits          14725    14823      +98
- Misses        19858    19924      +66
- Partials       1456     1465       +9

Impacted Files
Coverage Δ

...r/api/constants/ApiFuncIdentificationConstant.java
88.23% <ø> (ø)

...nscheduler/api/security/impl/ldap/LdapService.java
6.38% <0.00%> (-0.76%)
:arrow_down:

...duler/api/service/impl/AccessTokenServiceImpl.java
83.72% <0.00%> (+0.76%)
:arrow_up:

...eduler/api/service/impl/AlertGroupServiceImpl.java
88.54% <ø> (+4.70%)
:arrow_up:

...i/service/impl/AlertPluginInstanceServiceImpl.java
60.19% <ø> (+1.70%)
:arrow_up:

...uler/api/service/impl/DataAnalysisServiceImpl.java
81.25% <ø> (+2.11%)
:arrow_up:

...eduler/api/service/impl/DataSourceServiceImpl.java
29.41% <ø> (+0.30%)
:arrow_up:

...r/api/service/impl/DqExecuteResultServiceImpl.java
71.42% <ø> (+6.91%)
:arrow_up:

...nscheduler/api/service/impl/DqRuleServiceImpl.java
60.00% <ø> (+1.21%)
:arrow_up:

...cheduler/api/service/impl/ExecutorServiceImpl.java
40.31% <0.00%> (+0.20%)
:arrow_up:

... and 82 more

Continue to review full report at Codecov.

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


Extension deactivate() doesn't call

VSCode Version: 1.22.2
OS Version: Windows 10.0.16299 Build 16299

Steps to Reproduce:
When creating an extension the "deactivate" function rarely calls in my case, sometimes it does call and most times it doesn't call, i couldn't find a pattern to it.
// Our event when vscode starts
export function activate(context: vscode.ExtensionContext): void {
	console.log("Activated Extension");
}

// Our event when vscode deactivates
export function deactivate(context: vscode.ExtensionContext): undefined {
	console.log("Deactivated Extension");

	return undefined;
}

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

After setting some break points it turns out that the deactivate function does run, but the console is already being destroyed, is this wanted?

@7Flixs Extension deactivation always executes. But there are some things to consider:

The extensions run in a separate process, called the extension host process.
When closing a window, the renderer process goes down immediately.
The extension host process has at most 5 seconds to shut down, after which it will exit.
The vscode API will be unreliable at deactivation time, especially parts that are serviced by the renderer process (like e.g. openTextDocument, etc.)

The console output of the extension host is forwarded to the renderer process which then uses Chrome's console and also forwards it to the debugger, so it might also be unreliable.
All in all, deactivation is a time to quickly clean up OS resources, like e.g. kill other processes you have started. Sorry for all these limitations around deactivation, but I believe they lead to a good end user experience. i.e. the window closes as soon as x is closed and in at most 5 seconds the OS resources are reclaimed.


Render build artifacts from dbtCLI with custom project directory

Feature description
Problem
Currently, the dbtCLI task only returns build artifacts when using the root project directory. When setting custom --profiles-dir /app --project-dir /app which is important when dbt project is baked into the Docker image or Docker volume, this task fails to identify the manifest.json to render the dbt DAG.
Possible solution
Add a property projectDir to allow either:

switching to that working directory before starting dbt commands
allow specifying explicitly the path where Kestra can find the run artifacts incl. manifest.json to render the DAG for the Gantt view

@anna-geller we will need to add a new property for that, it can be:

projectDir so we change the working directory to it (instead of using --project-dir), it can makes using --profile-dir less easy
artifactDir so we search for artifact in this directory, in this case this will be up to the user to use artifactDir when he use -profile-dir

Both works for me, which one do you prefer?

thanks so much, let me cross-check both options with @Ben8t and get back to you 👍

currently I have to do some hacks like so:
https://github.com/kestra-io/course/blob/duckdb/flows/03_dbt_dev_initial.yml#L21-L24
if both properties projectDir and profilesDir would be available, I could remove that part from my flow

Setting both is not easy, I don't want to hook into the DbtCLI command the user wrote, so my proposition was to change the working directory or search for artifacts in a specific directory.
Setting the profiledDir can only be done by adding an option in the dbt CLI command, that's why I didn't want to offer this solution as a task property.


Update the delete UI wrt Validating and FailedValidation states

Deleting a Validating or FailedValidation package deletes from the "validating" nupkg container instead of "packages" container.
Search box on admin UI should search all states (including Validating and FailingValidation).

This will be validated as part of asynchronous validation E2E testing.


need help for multi module project release

hey i just stumbled over the plugin when @marcphilipp was tweeting about it in february. since i was in a bigger refactoring of the skrape{it} kotlin library at this time and made it a gradle multi-module project, i also have to think about how to release these modules. which lead me to the basically 2 questions and i hope one could help even if only 1 of the questions is directly related to the publish-plugin. ☺
(general) question 1:
now that i have multiple modules that i want to release each as well as an "Aggregator" that just ships all of them. An approach equal to what junit-jupiter is doing for instance.
What would be the best approach in versioning when one of the modules would need a version bump because implementation has changed? either just increase the version number of this specific module and release it as well as the aggregator but leave the other module versions as they are or bump all module versions to avoid possible version incompatibilities and make clear they have been tested to play well together?
(publish-plugin) question 2:
before skrape{it}'s multimodule refactoring the library was monolithic and there was one jar that has been released to sonatype nexus / maven central. to release it we used vanniktech/gradle-maven-publish-plugin which was chosen because of it's simplicity and it worked well so far BUT now it doesn't seem to work with multi-module projects as expected (add least the pom files dependency section i get is looking wrong) and i wanted to migrate to the gradle-nexus publish-plugin anyway. long story short,here i am 😁. i want to release the mentioned modules but was a bit lost while trying the plugin / try to understand the readme since it looked to me that some parts are missing (but don't know really).
could you give any guidance on how to configure my gradle build to fulfill my described behavior? i couldn't find any hints on multi module projects in the docs as well as how the gpg signing, adding pom descriptions etc works.
an extended version of the readme example that clarifies how to add pom description and other pom meta data, signing the jar (gpg key location configuration), and if there are things that should be considered when dealing with multi-module project releases would be great. if one would be open to help me migrating skrape{it} to use gradle-nexus/publish-plugin would be awesome as well 😁

ok just found #78 so at least how to add pom description etc is clear now

What would be the best approach in versioning when one of the modules would need a version bump because implementation has changed? either just increase the version number of this specific module and release it as well as the aggregator but leave the other module versions as they are or bump all module versions to avoid possible version incompatibilities and make clear they have been tested to play well together?

You could just bump the version of the affected module and publish it along with the aggregator. In JUnit we always release all modules even those without changes. If nothing else that makes our lives easier and reduces the potential for confusion but it's really up to you.

ok just found #78 so at least how to add pom description etc is clear now

Does that mean your second question is fully answered? Fair point wrt. documentation. We've just discussed putting together a full example in #79.
I'm closing this issue for now as I think all questions have been answered and there's nothing left to do. Please speak up should you feel differently.


Update migrate-dynamics-gp.md

Updates covering enhancements coming in 21.1 and tweaks based on feedback from customers and partners.

Learn Build status updates of commit 84866c2:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

dev-itpro/administration/migrate-dynamics-gp.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel


RuntimeClass GA

Also fixed the version of PodOverhead feature flag
/sig node
/hold
Hold as waiting on k/k PR to be merged.
KEP: https://github.com/kubernetes/enhancements/issues/585
k/k: https://github.com/kubernetes/kubernetes/pull/95718

/milestone 1.20

/cc @annajung

/assign @tallclair

/lgtm

/assign @reylejano-rxm

/sig node

/assign @tallclair

@irvifa there is already lgtm from @tallclair: https://github.com/kubernetes/website/pull/24698#issuecomment-720655396

PR is on hold to have k/k PR merged first


Add Bazel windows support

We'd need to update the README.md I think but that can be done afterward.

DONE !


[FR] Add HTTP2 support for sendEach() and sendEachForMulticast()

When will HTTP/2 support be available for methods like sendEach() and sendEachForMulticast() in the Firebase Admin Java SDK?
It appears that this support has already been implemented in firebase-admin-node.
https://github.com/firebase/firebase-admin-node/releases/tag/v12.3.0
I was informed that after implementing HTTP/2 in firebase-admin-node, the same would be applied to firebase-admin-java.
https://github.com/firebase/firebase-admin-java/issues/834#issuecomment-2108825607
Thank you.

@lahirumaramba @jonathanedey

#834 show that api deprecation is started but where is the http2 support?

It would have been nice to release a new version before the deprecation.

This will be addressed in https://github.com/firebase/firebase-admin-java/pull/979

HTTP/2 support has now been added with the release of v9.4.0.
See our wiki for more information on this change.


Consider abstracting connection management

In EF7 as well as in EF6 we open the connection on demand and close the connection automatically when it isn't needed. We also allow customers to write code that override this automatic behavior by opening the connection automatically.
Given the wider range of stores we would like to support with EF7, I don't think we can assume that this style of connection management will work in all cases. It seems reasonable that for EF7 we could separate the contract of connection management from the actual implementation, e.g. the context could inform the provider when a connection is being used and when it is being released from use, but it could be up to the provider implementation to decide what to do with that information. Similarly, it would be up to the provider to decide when to create transactions.
I am not 100% sure of the current state of this in the code but looking at several places it seemded to me that we are assuming the connection can be managed in a similar way as in EF6.

Closing as we haven't seen significant demand for this feature. We could revisit this decision based on feedback and we would also consider a well-written community PR for it.


Opinionated (untested) set of changes

Add stronghold registry set up. Remove redundant updates. Remove tests and debug info. Unset DEPOT_PATH and instead pop at runtime, this uses native Julia resolution. Line 25 will need the script to exist in the repo

Is there any way I could still keep my test script store somewhere in the image? That way, whenever I instantiate a new container, I can run my tests simply by running that script.
It doesn’t have to be in /bin. We could put it somewhere out of the way, like in /opt.
Everything else looks good to me! I think tests are failing because some environment variables aren’t available in pull requests from other repos. I’ll make a new branch in this repo and put these changes in.

Closing in favor of PR #14


[Slack] ... is it possible to have this extension configurable to open on browser instead?

Extension
https://www.raycast.com/mommertf/slack
Raycast Version
1.75.1
macOS Version
14.5 (23F79)
Description
Error:
Error: Command failed with exit code 1: osascript -e
    tell application "Slack"
      if not application "Slack" is running then
        activate
        set _maxOpenWaitTimeInSeconds to 5
        set _openCounter to 0
        repeat until application "Slack" is running
          delay 0.5
          set _openCounter to _openCounter   0.5
          if _openCounter > _maxOpenWaitTimeInSeconds then exit repeat
        end repeat

        delay 6

        # Exit 'Set yourself to active?' window
        activate
        tell application "System Events"
          key code 53
        end tell
      end if
      activate

      tell application "System Events" to tell process "Slack" to keystroke "A" using {command down, shift down}

    end tell
87:95: execution error: Can’t get application "Slack". (-1728)

    tell application "Slack"
      if not application "Slack" is running then
        activate
        set _maxOpenWaitTimeInSeconds to 5

I'm hoping to configure the Extension to be able to open the links in slack on the browser instead of needing the desktop application.
It's sending a link slack://channel?team=<team-id>/&id=<channel-id> but i want it to open https://app.slack.com/client/<team-id>/<channel-id> instead
Steps To Reproduce
works when I have slack desktop installed
doesn't work when i uninstall it
Current Behaviour
sends me an error Can’t get application "Slack". (-1728)
Expected Behaviour
open in my default browser

@raycastbot assign me


Teams doesn't start if hostname can't be resolved

When deploying a fresh instance based on the templates, teams doesn't start because it can't resolve the local hostname:
Caused by: java.lang.IllegalStateException: Logback configuration error detected:
ERROR in ch.qos.logback.classic.pattern.SyslogStartConverter@17b5b554 - Could not determine local host name java.net.UnknownHostException: ozconext-java: ozconext-java: Name or service not known

Of course, this is sloppy configuration of the host (in this case an Openstack instance based on the official Centos image), but I can't see why Teams wants to resolve the local hostname in the first place.  It just needs to listen on a port specified in the config, and that's it.

This error is from the logging library: http://logback.qos.ch/xref/ch/qos/logback/classic/pattern/SyslogStartConverter.html#L91. It seems it requires this in order to be able to log to syslog. Doesn't seem there's an easy way to prevent that without patching the library.

Ok, maybe it's best then to add an explicit check in the common role to see if hostname --fqdn works correctly.
If the machine is misconfigured, it will then al teast result in an explicit error message.

This check has been added in the deploy scripts. I believe that's enough for now.


[ISSUE] The content field in workspace.Import structure is marked as optional, leading to inability to import empty files

Description
The content field is marked as optional, so Terraform provider isn't able to create empty files, such as, __init__.py.
Expected behavior
I should be able to create empty files in the workspace

Thanks for raising this. Seems like a bug in the OpenAPI spec for this service. Will follow-up with the respective team.

@alexott is it possible to set ForceSendFields: "Content"? That should ensure that that field is serialized, even if content is an empty string.

Yes, I did it in TF that way, but we'll need to handle it in SDKs as well - I'm not sure why content is marked as optional


Delete buttons for models

This is a follow up to https://github.com/Floppy/van_dam/pull/1073 which was closed in favor of opening two separate feature PRs.
Change summary:

Add delete button to list and item view for collections

@Floppy I've made the confirmation dialog adjustment to this delete PR as well that you mentioned before. Let me know if there's anything else you'd like changed.

This does need a bit of extra logic to only delete in the right circumstances, but I need to think through that a bit. I'll tack it onto the end of this PR though and merge it in soon.

So, I thought I'd done something safer when I added this for ModelFile, in https://github.com/Floppy/van_dam/commit/8039eaa8f8a1c26ea73373b627f59fc009f72aaf, but there's no safety; it just removes the file after destroy. AND, I misread this as thinking the file removal was in the model, not the controller. In summary, I'm a fool and this is fine to go in :)


Fix clippy warnings on latest stable rust

Summary
In Rust 1.79.0 several new clippy rules were added and/or enabled by default. This was causing some new issues to be flagged when building qiskit with the this release of Rust. This commit fixes these issues flagged by clippy.
Details and comments

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

10 of 10 (100.0%)  changed or added relevant lines in 4 files are covered.
11 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.02%) to 89.757%

Files with Coverage Reduction
New Missed Lines
%

crates/qasm2/src/lex.rs
5
92.37%

crates/qasm2/src/parse.rs
6
97.61%

Totals

Change from base Build<PHONE_NUMBER>:
0.02%

Covered Lines:
63808

Relevant Lines:
71090

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

10 of 10 (100.0%)  changed or added relevant lines in 4 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.02%) to 89.764%

Files with Coverage Reduction
New Missed Lines
%

crates/qasm2/src/lex.rs
2
93.38%

Totals

Change from base Build<PHONE_NUMBER>:
0.02%

Covered Lines:
63813

Relevant Lines:
71090

💛  - Coveralls


Upgrade to Handlebars@4

Vulnerabilities

https://snyk.io/vuln/npm:handlebars:20151207
https://snyk.io/vuln/npm:uglify-js:20151024
https://snyk.io/vuln/npm:uglify-js:20150824

Moved to #154.


Nothing shows in status bar

I have the following code in AppDelegate.swift and was wondering if you have any ideas why nothing may be showing up in the status bar. I'm on High Sierra w/ XCode 9. Had to change a couple things in the code, as they wouldn't compile as is (e.g. NSStatusItem.variableLength).
import Cocoa

@NSApplicationMain
class AppDelegate: NSObject, NSApplicationDelegate {

    @IBOutlet weak var statusMenu: NSMenu!

    let statusItem = NSStatusBar.system.statusItem(withLength: NSStatusItem.variableLength)

    @IBAction func quitClicked(_ sender: NSMenuItem) {
        NSApplication.shared.terminate(self)
    }

    func applicationDidFinishLaunching(aNotification: NSNotification) {
        let icon = NSImage(named: NSImage.Name("statusIcon"))
        icon?.isTemplate = true // best for dark mode
        statusItem.image = icon
        statusItem.menu = statusMenu
    }

    func applicationWillTerminate(aNotification: NSNotification) {
        // Insert code here to tear down your application
    }

}

This is definitely a problem with the tutorial. In the initial part of the tutorial, it instructs you to use the symbol:
func applicationDidFinishLaunching(aNotification: NSNotification) {

However, the correct symbol from the NSApplicationDelegate is:
func applicationDidFinishLaunching(_ aNotification: Notification) {

Notice the underscore for the argument label in the 2nd example, which is the difference between the method signature being applicationDidFinishLaunching(aNotification:) and applicationDidFinishLaunching(_:). This is probably an artifact of running the Swift Migration Tool on a previous version of Swift, but nonetheless, the tutorial is incorrect and should be changed

Let me know if this fixes your issue (I haven't had a chance to run through it again myself)

It did!


The MySQL client still needs to be installed to import the. SQL file

System information:

Operating system (distribution) and version: macos big sur 11.1
DBeaver version：版本<IP_ADDRESS>011291229

Connection specification:

Database name and version: 8.0.19

Describe your question:The MySQL client still needs to be installed to import the. SQL file
Why do I still need to install MySQL client to import. SQL files? I don't need to use dbeaver to install MySQL client. Moreover, Navicat can import directly without installing the client.
It is recommended to be the same as the built-in jdbc driver

Please try  the latest release 7.3.1. Native client was added to Mac https://github.com/dbeaver/dbeaver/issues/7976

there is no update on the issue for a long time.
if it is still actual for you - feel free to reopen it with an additional info

there is no update on the issue for a long time.
if it is still actual for you - feel free to reopen it with an additional info


postgresql not working to connect to opentaxii keeps failing

i am running an ubuntu AWS instance and running open taxii in a virtual env on AWS and can't get to get the service to boot up with:
"gunicorn opentaxii.http:app --bind <IP_ADDRESS>:8000"
this has worked before when i had the files and just changed their directories to another volume so data wouldn't be lost.
the config file shows:
---

domain: "localhost:9000"
support_basic_auth: yes
save_raw_inbox_messages: yes

persistence_api:
  class: opentaxii.persistence.sqldb.SQLDatabaseAPI
  parameters:
    db_connection: postgresql://***USERNAME***:***PASSWORD***@***DB INSTANCE ID***.***AWS_ENDPOINT_ADDRESS***:5432/***DB NAME***
    create_tables: yes

auth_api:
  class: opentaxii.auth.sqldb.SQLDatabaseAPI
  parameters:
    db_connection: postgresql://***USERNAME***:***PASSWORD***@***DB INSTANCE ID***.***AWS_ENDPOINT_ADDRESS***:5432/***DB NAME***
    create_tables: yes
    secret: ***this is not to be seen***

logging:
  opentaxii: info
  root: info

xml_parser_supports_huge_tree: yes

hooks:

both of the db_connection: were the exact same.
it try's to boot up the dies and says this:
[2017-11-30 00:21:45 +0000] [10495] [INFO] Starting gunicorn 19.7.1
[2017-11-30 00:21:45 +0000] [10495] [INFO] Listening at: http://<IP_ADDRESS>:8000 (10495)
[2017-11-30 00:21:45 +0000] [10495] [INFO] Using worker: sync
[2017-11-30 00:21:45 +0000] [10500] [INFO] Booting worker with pid: 10500
[2017-11-30 00:21:45 +0000] [10495] [INFO] Shutting down: Master
[2017-11-30 00:21:45 +0000] [10495] [INFO] Reason: Worker failed to boot.

it workered just fine with the data file config but now this is broken since i changed the database.
please help i need this fixed soon and i do not know what to do.

You're booting gunicorn on port 8000 but your config file is on port 9000.

i have booted it like that before and it worked just fine that isn't the issue but i will test that theory anyway

yep i just tried changing the port in the 8000 and no change. also tried changing the "localhost" to "<IP_ADDRESS>" which is what i was having gunicorn attach to

please can i get anymore solutions to this issue. i need this done ASAP

What's your server/VM architecture? Linux disto/Windows version?

 OpenTAXII will use domain:port from config file to build absolute URLs in TAXII responses

[2017-11-30 00:21:45 +0000] [10495] [INFO] Reason: Worker failed to boot.
please provide an opentaxii log

how do i get the log and i have tried that but it hasn't affected me in any previous startups i have always just set gunicorn to the proper port like in the command.
anyway i ran this:
gunicorn opentaxii.http:app --bind <IP_ADDRESS>:8000 --error-logfile logfile.txt
and i got this in logfile.txt:
[2017-12-02 02:34:43 +0000] [22223] [INFO] Starting gunicorn 19.7.1 [2017-12-02 02:34:43 +0000] [22223] [INFO] Listening at: http://<IP_ADDRESS>:8000 (22223) [2017-12-02 02:34:43 +0000] [22223] [INFO] Using worker: sync [2017-12-02 02:34:43 +0000] [22228] [INFO] Booting worker with pid: 22228 [2017-12-02 02:34:43 +0000] [22223] [INFO] Shutting down: Master [2017-12-02 02:34:43 +0000] [22223] [INFO] Reason: Worker failed to boot.
i ran:
gunicorn opentaxii.http:app --bind <IP_ADDRESS>:8000 --error-logfile - > logfile.txt 2>&1
and got the same thing. what am i doing wrong?

@RomanFire1

it hasn't affected me in any previous startups

port number mismatch will not affect your startup but OpenTAXII will return responses with incorrect URLs
It looks like you're capturing only Gunicorn's error logs with those parameters. have you tried using the gunicorn command from supervisord config in the doc? It has --log-level info and --log-file - to configure and redirect OpenTAXII's logs to stdout

(opentaxii) [ec2-user@ip-*-*-*-* conf]$ gunicorn opentaxii.http:app --workers 1 --log-level info --log-file - --timeout 300 --bind <IP_ADDRESS>:8000
[2017-12-04 16:41:58 +0000] [22566] [INFO] Starting gunicorn 19.7.1
[2017-12-04 16:41:58 +0000] [22566] [INFO] Listening at: http://<IP_ADDRESS>:8000 (22566)
[2017-12-04 16:41:58 +0000] [22566] [INFO] Using worker: sync
[2017-12-04 16:41:58 +0000] [22571] [INFO] Booting worker with pid: 22571
[2017-12-04 16:41:58 +0000] [22566] [INFO] Shutting down: Master
[2017-12-04 16:41:58 +0000] [22566] [INFO] Reason: Worker failed to boot.
(opentaxii) [ec2-user@ip-*-*-*-* conf]$

this is what i ran and got back
(opentaxii) [ec2-user@ip-172-31-35-202 conf]$ gunicorn opentaxii.http:app --workers 2 --log-level all --log-file - --timeout 300 --bind <IP_ADDRESS>:8000
[2017-12-04 16:44:17 +0000] [22609] [INFO] Starting gunicorn 19.7.1
[2017-12-04 16:44:17 +0000] [22609] [INFO] Listening at: http://<IP_ADDRESS>:8000 (22609)
[2017-12-04 16:44:17 +0000] [22609] [INFO] Using worker: sync
[2017-12-04 16:44:17 +0000] [22614] [INFO] Booting worker with pid: 22614
[2017-12-04 16:44:17 +0000] [22617] [INFO] Booting worker with pid: 22617
Traceback (most recent call last):
  File "/home/ec2-user/opentaxii/bin/gunicorn", line 11, in <module>
    sys.exit(run())
  File "/home/ec2-user/opentaxii/local/lib/python2.7/site-packages/gunicorn/app/wsgiapp.py", line 74, in run
    WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
  File "/home/ec2-user/opentaxii/local/lib/python2.7/site-packages/gunicorn/app/base.py", line 203, in run
    super(Application, self).run()
  File "/home/ec2-user/opentaxii/local/lib/python2.7/site-packages/gunicorn/app/base.py", line 72, in run
    Arbiter(self).run()
  File "/home/ec2-user/opentaxii/local/lib/python2.7/site-packages/gunicorn/arbiter.py", line 231, in run
    self.halt(reason=inst.reason, exit_status=inst.exit_status)
  File "/home/ec2-user/opentaxii/local/lib/python2.7/site-packages/gunicorn/arbiter.py", line 344, in halt
    self.stop()
  File "/home/ec2-user/opentaxii/local/lib/python2.7/site-packages/gunicorn/arbiter.py", line 393, in stop
    time.sleep(0.1)
  File "/home/ec2-user/opentaxii/local/lib/python2.7/site-packages/gunicorn/arbiter.py", line 244, in handle_chld
    self.reap_workers()
  File "/home/ec2-user/opentaxii/local/lib/python2.7/site-packages/gunicorn/arbiter.py", line 524, in reap_workers
    raise HaltServer(reason, self.WORKER_BOOT_ERROR)
gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3>

i also ran this command thinking it might help. let me know.

@RomanFire1 unfortunately, there is nothing in those stack traces that can help figure out the cause. what does --log-level debug tell you?

@RomanFire1 also, make sure OpenTAXII starts fine in a development mode using same venv/config

okay

(opentaxii) [ec2-user@ip-*-*-*-* conf]$ opentaxii-run-dev
Traceback (most recent call last):
  File "/home/ec2-user/opentaxii/bin/opentaxii-run-dev", line 7, in <module>
    from opentaxii.cli.run import run_in_dev_mode
  File "/home/ec2-user/opentaxii/local/lib/python2.7/site-packages/opentaxii/cli/__init__.py", line 10, in <module>
    server = TAXIIServer(config)
  File "/home/ec2-user/opentaxii/local/lib/python2.7/site-packages/opentaxii/server.py", line 38, in __init__
    server=self, api=initialize_api(config['persistence_api']))
  File "/home/ec2-user/opentaxii/local/lib/python2.7/site-packages/opentaxii/utils.py", line 36, in initialize_api
    instance = cls(**params)
  File "/home/ec2-user/opentaxii/local/lib/python2.7/site-packages/opentaxii/persistence/sqldb/api.py", line 40, in __init__
    'autocommit': False, 'autoflush': True,
  File "/home/ec2-user/opentaxii/local/lib/python2.7/site-packages/opentaxii/sqldb_helper.py", line 29, in __init__
    self.engine = engine.create_engine(db_connection, convert_unicode=True)
  File "/home/ec2-user/opentaxii/local/lib/python2.7/site-packages/sqlalchemy/engine/__init__.py", line 391, in create_engine
    return strategy.create(*args, **kwargs)
  File "/home/ec2-user/opentaxii/local/lib/python2.7/site-packages/sqlalchemy/engine/strategies.py", line 80, in create
    dbapi = dialect_cls.dbapi(**dbapi_args)
  File "/home/ec2-user/opentaxii/local/lib/python2.7/site-packages/sqlalchemy/dialects/postgresql/psycopg2.py", line 553, in dbapi
    import psycopg2
ImportError: No module named psycopg2```

here is the stack trace from running it in dev mode

(opentaxii) [ec2-user@ip-*-*-*-* conf]$ pip install psycopg2
Collecting psycopg2
  Downloading psycopg2-<IP_ADDRESS>-cp27-cp27mu-manylinux1_x86_64.whl (2.7MB)
    100% |████████████████████████████████| 2.7MB 436kB/s
Installing collected packages: psycopg2
Successfully installed psycopg2-<IP_ADDRESS>
(opentaxii) [ec2-user@ip-*-*-*-* conf]$ opentaxii-run-dev
2017-12-04T17:09:29.882587Z [opentaxii.utils] info: api.initialized {timestamp=2017-12-04T17:09:29.882587Z, logger=opentaxii.utils, api=opentaxii.persistence.sqldb.SQLDatabaseAPI, event=api.initialized, level=info}
2017-12-04T17:09:29.927836Z [opentaxii.utils] info: api.initialized {timestamp=2017-12-04T17:09:29.927836Z, logger=opentaxii.utils, api=opentaxii.auth.sqldb.SQLDatabaseAPI, event=api.initialized, level=info}
2017-12-04T17:09:29.928066Z [opentaxii.server] info: opentaxii.server_configured {timestamp=2017-12-04T17:09:29.928066Z, logger=opentaxii.server, event=opentaxii.server_configured, level=info}
Traceback (most recent call last):
  File "/home/ec2-user/opentaxii/bin/opentaxii-run-dev", line 11, in <module>
    sys.exit(run_in_dev_mode())
  File "/home/ec2-user/opentaxii/local/lib/python2.7/site-packages/opentaxii/cli/run.py", line 6, in run_in_dev_mode
    app.run(port=9000)
  File "/home/ec2-user/opentaxii/local/lib64/python2.7/site-packages/flask/app.py", line 841, in run
    run_simple(host, port, self, **options)
  File "/home/ec2-user/opentaxii/local/lib/python2.7/site-packages/werkzeug/serving.py", line 720, in run_simple
    s.bind((hostname, port))
  File "/usr/lib64/python2.7/socket.py", line 228, in meth
    return getattr(self._sock,name)(*args)
socket.error: [Errno 98] Address already in use

i did this after reading that stack trace then got this next

@RomanFire1 so you fixed missing dependency issue. Maybe your gunicorn command will work now

is opentaxii pulling defaults.yml from /lib/python2.7/site-packages/opentaxii or from the directory you run it in when running it in dev. cause i am pretty sure it runs from the first one with gunincorn

@RomanFire1 opentaxii takes your custom configs if you provide a path to it in a env var OPENTAXII_CONFIG. If uses default settings if no custom configs provided

(opentaxii) [ec2-user@ip-*-*-*-* opentaxii]$ gunicorn opentaxii.http:app --workers 1 --log-level info --log-file - --timeout 300 --bind <IP_ADDRESS>:8000
[2017-12-04 17:15:11 +0000] [22685] [INFO] Starting gunicorn 19.7.1
[2017-12-04 17:15:11 +0000] [22685] [INFO] Listening at: http://<IP_ADDRESS>:8000 (22685)
[2017-12-04 17:15:11 +0000] [22685] [INFO] Using worker: sync
[2017-12-04 17:15:11 +0000] [22690] [INFO] Booting worker with pid: 22690
{"timestamp": "2017-12-04T17:15:12.273282Z", "logger": "opentaxii.utils", "api": "opentaxii.persistence.sqldb.SQLDatabaseAPI", "event": "api.initialized", "level": "info"}
{"timestamp": "2017-12-04T17:15:12.295953Z", "logger": "opentaxii.utils", "api": "opentaxii.auth.sqldb.SQLDatabaseAPI", "event": "api.initialized", "level": "info"}
{"timestamp": "2017-12-04T17:15:12.296161Z", "logger": "opentaxii.server", "event": "opentaxii.server_configured", "level": "info"}

does that look proper? i believe it is working.
and that makes sense for the config files.

yep, that looks ok. have fun!
I'm gonna close the ticket now


Add enum property "type"

I have just extracted this gist out of my project to be able to declare "enums" on my nodes.
This code basically allows this:
class Order
    include Neo4j::ActiveNode

    enum :status, values: [:pending_payment, :processed, :cancelled, :shipped]
end

o = Order.first
o.status # => :processed
o.status = :shipped # 'shipped' works as well
o.status = :wut # => raises ArgumentError
o.status_values # => [:pending_payment, :processed, :cancelled, :shipped]

I wonder if that would be of any interest for the Neo4j.rb project?
It might not be the best implementation and tests are not complete yet; I've done this quite quickly.
But I'm ready to spend some time on it with some pointers on how to integrate this in a better way!

What about this?
class Order
  property :status
  validates :status, inclusion: { in: [:pending_payment, :processed, :cancelled, :shipped] }
end

ahah :)
Simple enough!!
Damn, I had totally forgotten about validations... shame on me! :astonished:

No problem ;)

FYI @olance we're talking about implementing enum here:
https://github.com/neo4jrb/neo4j/issues/1082
I know your issue is solved, but thought you might like to know ;)

Nice :)


Remove apiVersion config

i think apiVersion config can be removed from the following templates:

eventCertificationWebfield
homepage
areachairsWebfield
ethicsReviewersWebfield
paperBidWebfield
profileBidWebfield
programChairsWebfield
publicationChairWebfield
reviewersWebfield
seniorAreaChairsWebfield

Sounds good!


Replace NoneType with type(None)

Fixes Py3+Twisted 15 compatibility and all fails from https://travis-ci.org/tavendo/AutobahnPython/builds/82086496.

Current coverage is 60.59%

Merging #525 into master will not affect coverage as of 45fb042

@@            master    #525   diff @@
======================================
  Files           57      57
  Stmts         8972    8972
  Branches      1447    1447
  Methods          0       0
======================================
  Hit           5437    5437
  Partial        476     476
  Missed        3059    3059

Review entire Coverage Diff as of 45fb042

Powered by Codecov. Updated on successful CI builds.


NVIDIA changed their API token for digital river.

Description
when attempting to contact the digital river API's you now get 403 forbidden responses. It seems like the most likely scenario is that Nvidia changed their api key.
This means that not only will the call for inventory status not work but the calls to get a session token and therefor the add to cart will not work. unless we can somehow find the new api key.

It's worse than that unfortunately, they've completely changed how it works and it now requires a reCAPTCHA to get past the "checkout" button. I think they've successfully killed off bots.

It's worse than that unfortunately, they've completely changed how it works and it now requires a reCAPTCHA to get past the "checkout" button. I think they've successfully killed off bots.

They have killed off auto purchasing.  And I wouldn't even say "killed off" because I'm sure it could be circumvented given enough effort.  Either way, nvidia is working again from our side.  Just no auto add to cart.  Going to mark this stale and potentially close tomorrow if it doesn't seem like autocart will be a plan going forward.

do you think if the bot could check this instead https://store.nvidia.com/store?Action=AddItemToRequisition&SiteID=nvidia&Locale=en_US&productID=5438481700&quantity=1  ? this will try to add it to the cart if it fails you will get an error message

nvidia and nvidia-api have been implemented.  Essentially working the way it used to work (no auto add to cart)


[sorting] added algorithim for bogo sort

I added the implementation of a computer science sorting algorithm called BogoSort
In computer science, bogosort is a particularly ineffective sorting algorithm based on the generate and test paradigm. The algorithm successively generates permutations of its input until it finds one that is sorted. It is not useful for sorting, but may be used for educational purposes, to contrast it with other more realistic algorithms.

Thank you for contributing to Algorithms/javascript, your pr got merged! ✨


Forward Destination & Grafana NaN Fix

Introduc two fixes.

For the error when processing forward_destination related to float / int type issues
For the Grafana Dashboard that shows NaN values on the tables

Looks good - thank you!


Make sure withLocalize forwards its ref

@tgolen please review
cc @HorusGoul @marcaaron @Julesssss
Details
Make withLocalize forward its ref. Remove a hack from https://github.com/Expensify/Expensify.cash/pull/2320 that was getting around the fact that this wasn't happening.
Fixed Issues
Fixes https://github.com/Expensify/Expensify.cash/issues/2786
Fixes https://github.com/Expensify/Expensify.cash/issues/2785
Tests/QA Steps

Open the app
Open up the emoji picker
Make sure you see no errors in the JS console.

Tested On

[x] Web
[ ] Mobile Web
[ ] Desktop
[ ] iOS
[ ] Android

Screenshots
Web

Mobile Web

Desktop

iOS

Android

🚀 Deployed to staging in version: 1.0.42-1🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production in version: 1.0.44-0🚀

platform
result

🤖 android 🤖
failure ❌

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Code Actions Not Triggerd For Diagnostics With Range Where start == end

Issue Type: Bug
From the documentation:
https://code.visualstudio.com/api/language-extensions/language-server-extension-guide#diagnostics-tips-and-tricks
If the start and end positions are the same, VS Code will underline with a squiggle the word at that position.
So the entire word is marked with squiggly line - but looks like the editor doesn't send the code action with the same logic (for the entire word) but only when the cursor is on the position set in the diagnostic (which is with length of a single character since start and end are similar).
This is not the expected behavior from the editor since the user expects the code action and quickFix to be avialble when the cursor is on any of the charachters in the undefined variable that is marked with squiggly lines.
VS Code version: Code - Insiders 1.52.0-insider (ee46c1f89ebb213e0827886f1688c0fbb55be49f, 2020-11-13T06:04:37.031Z)
OS version: Darwin x64 19.6.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz (16 x 2400)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
6, 4, 4

Memory (System)
32.00GB (0.95GB free)

Process Argv
--crash-reporter-id a4784646-392d-4490-8f35-c6c1c8090824

Screen Reader
no

VM
0%

Extensions (4)

Extension
Author (truncated)
Version

vscode-eslint
dba
2.1.16

prettier-vscode
esb
5.8.0

python
ms-
2021.2.633441544

jupyter
ms-
2021.2.576440691

So the entire word is marked with squiggly line - but looks like the editor doesn't send the code action with the same logic (for the entire word)

That's a UI concept, to make such diagnostic visible. Arguably, empty diagnostics are bogus to begin with because they don't mark anything. Still, the UI shows them, e.g the adjustment happens in the view model, but we do not adjust the actual model.  I also don't believe that we should temper with extension provided diagnostics is such ways.

Assigning to @mjbvz if the triggering of code action should work of the view model... Tho, in any case the actual model remains untouched it would that we trigger code actions at a position at which no diagnostics exists. This sounds all fishy to me and instead the diagnostics should be fixed

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


Allow choosing EOL and appending final newline

Addresses #951
Adds the following options to js2svg and CLI:

eol — can be set to lf or crlf. If unspecified, js2svg uses the platform EOL.
finalNewline — defaults to false. If true, js2svg ensures any SVG output has a final newline.

Tests added to cover both options.

Hi, could you clarify what's the point of finalNewline option?

Hi, could you clarify what's the point of finalNewline option?

In a number of workspaces, files are required to have a final newline. For example, git diff, GitHub's website, and other tools will either warn of missing newlines or behave improperly when encountering files that are missing a final newline.

Thank you for working on this @adalinesimonian!

Thank you for working on this @adalinesimonian!

Наконец-то! It's been a pleasure. 🎉


flutter latest version error

Launching lib/main.dart on MI 5 in debug mode...
Running Gradle task 'assembleDebug'...
Compiler message:
../../.pub-cache/hosted/pub.flutter-io.cn/extended_image-0.7.2/lib/src/gesture/extended_image_slide_page_route.dart:333:9: Error: No named parameter with the name 'animation'.
animation: animation,
^^^^^^^^^
../../apps/flutter/packages/flutter/lib/src/cupertino/route.dart:435:3: Context: Found this candidate, but the arguments don't match.
CupertinoFullscreenDialogTransition({
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Compiler message:
../../.pub-cache/hosted/pub.flutter-io.cn/extended_image-0.7.2/lib/src/gesture/extended_image_slide_page_route.dart:333:9: Error: No named parameter with the name 'animation'.
animation: animation,
^^^^^^^^^
../../apps/flutter/packages/flutter/lib/src/cupertino/route.dart:435:3: Context: Found this candidate, but the arguments don't match.
CupertinoFullscreenDialogTransition({
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Target kernel_snapshot failed: Exception: Errors during snapshot creation: null
build failed.
FAILURE: Build failed with an exception.

Where:
Script '/Users/say/apps/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 882

What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.

Process 'command '/Users/say/apps/flutter/bin/flutter'' finished with non-zero exit value 1

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 2m 6s
Exception: Gradle task assembleDebug failed with exit code 1
say@SaylideMacBook-Pro ~ % flutter upgrade
Waiting for another flutter command to release the startup lock...
Flutter is already up to date on channel stable
Flutter 1.17.0 • channel stable • https://github.com/flutter/flutter.git
Framework • revision e6b34c2b5c (4 days ago) • 2020-05-02 11:39:18 -0700
Engine • revision 540786dd51
Tools • Dart 2.8.1
say@SaylideMacBook-Pro ~ % flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.17.0, on Mac OS X 10.15.4 19E287, locale en-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 11.4.1)
[✓] Android Studio (version 3.6)
[✓] Connected device (1 available)
• No issues found!

第三方可需更新，关闭

I am getting the same error. Any solution?

@yahya31415 upgrade  extended_image: ^0.7.3-dev


[proposal] detect or guide set-up for snapcraft android studio installation

Use case
While I think snapcraft installation for linux user is a great idea
the synergy between android studio and flutter could be improved (examples: 1, 2)
specifically setting android studio directory might not be intuitive
flutter config --android-studio-dir=/snap/android-studio/current/android-studio
Proposal
either automatically detect android studio in the default path of a snap installation
or provide useful warning to the user prompting the correct steps to follow

To add support for a new android studio location, a new search location could be added in https://github.com/flutter/flutter/blob/master/packages/flutter_tools/lib/src/android/android_studio.dart#L257


fix: bump jinja2 to get rid of vulnerability

Merging without approval to get rid of vulnerability and to fix the previous PR merge  build


Hang on "Workflow processing has been postponed due to max parallelism limit"

Pre-requisites

[X] I have double-checked my configuration
[X] I can confirm the issues exists when I tested with :latest
[ ] I'd like to contribute the fix myself (see contributing guide)

What happened/what you expected to happen?
onExit pod hangs for 20 hours with Workflow processing has been postponed due to max parallelism limit, despite being 2 workflows active with few pods, and having 1000 as namespaceParallelism in the workflow-controller configmap
Version
v3.4.11
Paste a small workflow that reproduces the issue. We must be able to run the workflow; don't enter a workflows that uses private images.
-

Logs from the workflow controller
over 20 hours of
"Workflow processing has been postponed due to max parallelism limit"

Logs from in your workflow's wait container
`kubectl logs -n argo -c wait -l workflows.argoproj.io/workflow=${workflow},workflow.argoproj.io/phase!=Succeeded`

gives `No resources found in argo namespace`.

`kubectl logs -n argo -c wait -l workflows.argoproj.io/workflow=${workflow} --context pro`

gives `No resources found in argo namespace`.

`kubectl get wf -o name -n argo --context pro | rg ${workflow}`

gives

`kbrasil-4-1694509200            Running     20h`

workflow-controller log:
logs-from-workflow-controller-in-workflow-controller-54949c4496-2nrnn.log

Hi @Guillermogsjc ,
Were you able to make any progress on this issue, or is it still reoccurring?

Did not manage to find anymore.
Closing

Facing similar issue in v3.5.4.
/reopen

maybe caused by https://github.com/argoproj/argo-workflows/issues/11984


add Red Pitaya platform

@sbourdeauducq thanks, the schematics does not show much.

If you're interested, we got zynq-rs to run on it; including SDRAM, Ethernet, and SD card.

If you're interested, we got zynq-rs to run on it; including SDRAM, Ethernet, and SD card.

Nice, thanks for the link!


Return shared_ptr for marching cubes mesh data.

Will fail until #70 or #71 is merged

Codecov Report

Merging #72 (59776a1) into master (0ae35cc) will increase coverage by 0.17%.
The diff coverage is 100.00%.

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