IIS throwing 404 error: require.js not found

I have updated all packages and can run the app successfully on visual studio but when I publish the solution to IIS then the website is not loading, the website throws 404 exception.
I have checked the log files on IIS on the server and I can see that it complain about 2 things.

require.js not found

favicon.ico not not found - this is odd because nowhere in the project whereby the favicon is referenced, I do not understand this why it will throw this error.

I'm running IIS 8.5 on windows server 2012.
I can publish and run the other applications that I created by visual studio except the Durandal Auth application, please assist.

Hi,
The first one seems to be a relative url configuration problem. Perhaps you can try to play with the

in the  of the index.cshtml file
Did you build the project with weyland?

Hi,
I'm building in visual studio 2013 and as I mentioned before when running the project on visual studio then everything is working.
only when I deploy to the server then I get 404 error.

Hi,
I have built main-built.js using weyland, but to my surprise the out still contains you text. What I mean is that I changed the about page completely but when I check on the output I can see the following     Who am I?\r\n                My name is Yago and I am a developer who \r\n				is passionate about web design and programming.     \r\n
and my changes were added at the bottom, deleted and recreated the file using weyland and still getting the same results


Address type hinting and fix some mypy errors

Hello team,
I ran mypy on our codebase and resolved around 60 reported errors in this PR (leaving 300+ errors still to address). Most of the changes involve refining type hints.
Based on my observations, mypy seems to struggle with the following scenarios:

Redefining a variable within the same scope while changing its type.
Fully understanding the logic behind our DataFrame backend.
Recognizing that GTSelf is a TypeVar for GTData, which causes many GT attributes to be flagged as "not found."
Handling returned values that might include None, which can be challenging to annotate correctly.

Feel free to accept, reject, or modify anything in this PR.

Thanks so much for stripping so much dead code and fixing types. We're working on completing a pyopensci review for Great Tables, which recommended linting for unused imports.
I think we disabled unused imports and unused variables from our linter, when we did a very early refactor. Rich and I are going to pair tomorrow to re-enable more linting rules, so we can stick to the level of quality in this PR 😅. If it's okay, we'll just add to this PR and then merge.

Thanks so much for stripping so much dead code and fixing types. We're working on completing a pyopensci review for Great Tables, which recommended linting for unused imports (pyOpenSci/software-submission#202 (comment)).
I think we disabled unused imports and unused variables from our linter, when we did a very early refactor. Rich and I are going to pair tomorrow to re-enable more linting rules, so we can stick to the level of quality in this PR 😅. If it's okay, we'll just add to this PR and then merge.

Wow, that’s great! It’s exciting to see so many valuable suggestions for this project. Personally, I’d recommend we clean up the issues—for example, closing those that have already been addressed or answered.


What to do if individual rows have significantly variable heights

I understand that clusterize sets row height when it initializes, but I'm trying to display a list of article excerpts which may have significantly different amount of text in them resulting in significantly variable row height.
I expect this to break scrolling when dummy elements are added at the beginning and at the end of the list when being scrolled.
How does one solve this problem? Apparently Facebook has gotten away with it somehow as it does a similar trick with their feed.

Unfortunately clusterize doesn't work this way. Rows should be same height or approximately the same height otherwise it will not be able to calculate the necessary margins at the top and bottom.


Missing startup.cs?

I searched the entire solution. How could it be possible that I'm missing this but everything still works?

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

ID: 20264150-9ac7-2b21-3314-64ffa114410f
Version Independent ID: 3477519b-1bc2-73be-33e3-63067383d426
Content: Add a controller to an ASP.NET Core MVC app
Content Source: aspnetcore/tutorials/first-mvc-app/adding-controller.md
Product: aspnet-core
Technology: aspnetcore-tutorials
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

The tutorial works. I'm not sure what step you missed. You might try asking on StackOverflow,.


depth chart crashes

got this when on depth chart tab and resized the window to be larger. there is no error msg above

@JohnDanz fixed this today.


Add tests

I am about to start writing some tests so we can make sure new pull requests aren't breaking existing feature.
The policy is no external libraries, but this is kind of a must for testing. Is that ok?
I would like to go with Jest as it does not require any configuration and has a very nice UX.
It does require node to run, but that's a pretty common thing for javascript developers so hopefully a minor hurdle. It is also making progress towards being able to run the tests in the browser so that'll make it even easier.
Developers will still need to install jest though through npm with npm install -g jest.
It'll integrate with Travis CI which can run on each PR so devs don't necessarily have to run it locally before creating a PR. Particularly useful for first time contributors.
Thoughts?

Is it possible to have a wrapper that could exist side-by-side to the repos and still handle the tests? As much as it is feasible, I would really like it if the repos(client/portal) never included any code that wasn't of our own typing.

If you install jest globally with that npm install -g jest command, there'll be nothing in this repo except our own code. The tests will be here and we'll need a note in the readme saying how to run them, but there'll be no package.json or node_modules or anything like you would get in a normal npm project.

In that case, I'm up for it :)

Would you mind explaining your reasoning here @neauoire? When you say "any code that wasn't of our own typing", do you mean code being 'distributed' or 'deployed' to the client/portal sites via Dat? Or do you mean any code in the site folders? The usual way that third-party development dependencies are handled in JavaScript-land is that a package.json file keeps track of those devDependencies and contributors can then install using the npm install command. These dependencies will be installed into a node_modules directory in the root of the projects and then ignored by Git and Dat to ensure that they're never distributed or tracked.
I don't mean to sound critical (or patronising), it's a worthy goal, but I'm just wondering if in the context of development and testing tools it's somewhat misplaced.
The method that @lsjroberts has described circumvents the need to declare or install dependencies within the project folders, but with that we miss out on valuable features like version tracking. What if some tests fail with older versions of the testing tool (e.g. Jest) and so we're required to use the latest version. Rather than this information implicitly belonging in the repository it's instead documented elsewhere (if at all).
On the original topic:
👍 for Jest from me, though I also like AVA. Is it worth getting linting/formatting in place via ESLint and/or Prettier at this stage too? (A separate issue and PR perhaps?)

@saulhardman On prettier we did that on the old repo, worth doing on this one too. Separate PR is a good shout. Linting is probably not so necessary if we have prettier, but I'm not against it.

@neauoire Could you add me as a collaborator again on this and rotonde-portal if that's ok? I need those perms to be able to set up Travis CI.

Initial tests added in #32, more to come on the rest of the scripts.

@lsjroberts should the testing paraphernalia be added to .datignore so that they're not published?

@saulhardman Yes, I wasn't aware that was a thing. I'll do that now.

@neauoire Could you add me as a collaborator again on this and rotonde-portal if that's ok? I need those perms to be able to set up Travis CI.

Never mind on that, looks like it just took a little while to find these repos. I'll set this up later today.

@neauoire Could you add me as a collaborator again on this and rotonde-portal if that's ok? I need those perms to be able to set up Travis CI.

Never mind on that, looks like it just took a little while to find these repos. I'll set this up later today.

Turns out actually I can't set it up, doh.


no memory error

Summary
no memory error occurs
Additional Details & Logs
•	Kong version (0.30-enterprise-edition)
•	Using Kong docker image through AWS ECS
error.log
2018/11/19 16:00:07 [error] 62#0: *5903472 [lua] init.lua:575: flush_counters(): [vitals] error attempting to push to list: no memory, context: ngx.timer
thanks.

@pactera-cart-zhangtao are you an enterprise customer?


templates: pid_link template filter

The doi_link template filter as of yet is no longer in the module as perhaps it should be a part of more general link factory for various types of PID from different providers.

We can use IDUtils to create resolvable links.


bug/issue with downloading punkt/tokenizers

Describe the bug
Since 0.8.5 a bug in nlp/tokenize.py leads to this error message:
[nltk_data] Error loading tokenizers: Package 'tokenizers' not found
[nltk_data]     in index

To Reproduce
from langchain.document_loaders import UnstructuredPDFLoader
loader = UnstructuredPDFLoader(file)
loader.load()

Expected behavior
No error message should appear on the console
Desktop (please complete the following information):

Python version 3.11

Additional context
Looking into the source code the problem is in
https://github.com/Unstructured-IO/unstructured/blob/e7f2f1e3ebd1b709cdf8dde72d88e0a8bc9b71a0/unstructured/nlp/tokenize.py#L27
Until 0.8.4 _download_nltk_package_if_not_present would have been called with parameters ("punkt", "tokenizers"), but in the most recent version the parameters are turned around. This leads to a tried download of a package tokenizers.
This is correct I believe: https://github.com/Unstructured-IO/unstructured/blob/5eb1466accc1fed044d5fec467cc635796619307/unstructured/nlp/tokenize.py

Thanks for the report @erikmuttersbach , we'll get this fixed and released shortly.

Related: https://github.com/nltk/nltk/issues/3177

This is fixed in 0.8.7

Appreciate it 💪
Glad to see this project is still going strong. I remember when it had ~300 stars not that long ago!

Apologies for the scramble on the NLTK side @tomaarsen - appreciate the support over there!

No worries, it happens - that's open source for you 😄


Not working on class 'swiper-slide' when use slider on Modal Bootstrap

Hi as same title. I try another and it not working slide when i call modal. BUT i resize window it working.
Can you help me fix this issue. Thanks

It is issue with bootstrap. Call swiper's .update method when this modal becomes visible

Hi
After the modal show i was add code but it until not working
$.getScript("/public/packages/swiper/swiper.min.js").done(function() {
	var mySwiper = new Swiper('.swiper-container', {
        pagination: '.swiper-pagination',
        paginationClickable: true,
        nextButton: '.swiper-button-next',
        prevButton: '.swiper-button-prev',
        // Enable debugger
        debugger: false
    });

	mySwiper.update();

});

It is hard to say what is not working like that. Will be good to see live example with issue

Yes. It's for catch event show of Modal Bootstrap. It's working now.
That's cool. Thanks.

I have the same issue. These codes fixed it for me.
I think, Swiper not regconize swiper-slide before it shown. So we have to wait it for complete 'shown'
(Example on coffescript)
$('body').on 'shown.bs.modal', '#bootstrap-modal-element', ->
  newSwiper = new Swiper('.swiper-container',
    slidesPerView: 'auto'
    ....

@1Rhino
Yes, it's jquery event. we must recall them to work on all DOM when the page not reload.
Nice to meet you, brother!

this is how i fixed it:
//swiper  		    window.swiper = new Swiper('.swiper-container', { 				nextButton: '.swiper-button-next', 				prevButton: '.swiper-button-prev', 				pagination: '.swiper-pagination', 				paginationType: 'progress' 			});
i am using it on material design.
i hope it will help.
Cheers.

And this is how I fixed.
setTimeout(function() {

	var swiper = new Swiper(".swiper-container", {
		loop: true,
		autoplay: 10000,
		grabCursor: true,
		centeredSlides: true,
		paginationClickable: true,
		autoplayDisableOnInteraction: true
	});

}, 0);


🐞 "Create folder for solution" show different behaviour depending on where to create additional web part

Category

[x] Bug

Describe the bug
When I create a new solution and select the "Create folder for solution" option the result is that two .yo-rc.json files exist for this solution.

One is located in the root folder the other one is located in the create folder.

Now adding a new web part to an existing project let me instead of adding create a new solution and also reuse the same name.

I even can select a different framework like knockout when I choose ReactJS previously.

Due to the force overwrite I can even ruin a ReactJS Project with a knockout web part. This does not really make much sense to me. So there is no safety mechanism implemented that avoids this overwriting of an existing solution.
Inside the solution folder I can also choose suddenly a new framework. When I am not cautions an just click through I get another framework mixed into an existing solution.

In my opinion this is a really huge bug with the "Create solution folder" option since the beginning and can cause a lot of troubles now and in future.
Steps to reproduce
As described above.
Expected behavior
The bug aspect of this please make it more solid and failsafe by reading the .yo-rc.json.
The user voice aspect and easy fix is to get rid of this option at all cause it caused issues since the beginning and was never properly fixed.

I don't think this is a bug... if you're at the root folder and run the generator again, you're not in a solution, so it makes sense that you get all the same prompts for creating a new solution. In fact, you have the exact same experience with many other generators (yo teams / yo office) & CLIs (dotnet).
It is an interesting scenario though... the generator could use a little work to catch this edge case @johnguy0.
Makes me feel a little better with my guidance to never let the generator create a subfolder for you :P

Bug in a sense that it do not detect that there is already a solution with the same name. I could be detected cause it is stored in that folder in the .yo-rc.json
It even tries to re-use the same folder when once again the "Create folder option" was selected.
You can feel good about not recommending to use this option. 😜

This can fall down the "what's considered a bug" debate... not fun so I'll set it aside. Instead, I'll leave this to @johnguy0 @VesaJuvonen @patmill to decide if it's a bug or scenario that the generator should account for :)

This was fixed in the 1.13 release.


Alias for field name is not working in srv layer of CDS file for service declaration

I tried using alias for some fields of my entity but it does not showing record with alias name and showing incorrect column name of table issue.

Alias name decribed as below.
entity LprPlantVh    as select werks as plant , name1 as description from workcenters.LprPlantVh;

activity performed in SRV folder of  SAP CAP in service.cds file.

I would suggest you post your question in the CAP Q&A and provide the example based on the Bookshop. That way others can simply follow and try. Also use the code formatting capabilities to make it better readable.


Example for pushing a commit?

I searched for an example of making a commit to a repository, and couldn't find one. What file in examples will show me how to make a commit?

There isn't an example but it should be gitdata.createCommit:
https://mikedeboer.github.io/node-github/#api-gitdata-createCommit
github api link: https://developer.github.com/v3/git/commits/#create-a-commit

Going to go ahead and close this for now.

Ok, thank you!


*: make configuration of snap to be dynamically modified

Signed-off-by: nolouch<EMAIL_ADDRESS>
What problem does this PR solve?
In https://github.com/tikv/tikv/pull/10097, we want to dynamically change the snapshot limiter in order to speed up the scale speed, such as offline or online a store.
This PR tries to make the configuration of snap to be dynamically modified, after this PR, PD can directly do some controls according to the scene.
What is changed and how it works?
Make snap configuration independent and implement the config manager.
Tests

Manual test (add detailed scripts or steps below)
Unit test (TODO)

Release note

No release note

/merge


[.WATCH.!] Ghosted (2023) FullMovie Online Streaming For Free at-Home

53 sec ago -!Streaming Ghosted Movie Ghosted Movie Warner Ghosted Pictures! Are you looking to download or watch the new Ghosted online? Ghosted is available for Free Streaming 123movies & Reddit, including where to watch the Action movie at home. Express.
➤ ► 🌍📺📱👉 Ghosted 2023 Stream and Watch Online
➤ ► 🌍📺📱👉 Ghosted 2023 Stream and Watch Online Download
Now Is Ghosted available to stream? Is watching Ghosted on Disney Plus, HBO Max, Netflix, or Amazon Prime? Yes, we have found an authentic streaming option/service. A 1950s housewife Ghosted with her husband in a utopian experimental community begins to worry that his glamorous company could be hiding disturbing secrets.
Showcase Cinema Warwick you'll want to make sure you're one of the first pGhostedple to see it! So mark your calendars and get ready for a Ghosted movie experience like never before. of our other Marvel movies available to watch online. We're sure you'll find something to your liking. Thanks for reading, and we'll see you soon! Ghosted is available on our website for free streaming. Details on how you can watch Ghosted for free throughout the year are described
If you're a fan of the comics, you won't want to miss this one! The storyline follows Ghosted as he tries to find his way home after being stranded on an alien Ghostedt. Ghosted is definitely a Ghosted movie you don't want to miss with stunning visuals and an action-packed plot! Plus, Ghosted online streaming is available on our website. Ghosted online is free, which includes streaming options such as 123movies, Reddit, or TV shows from HBO Max or Netflix!
Ghosted Release in the US
Ghosted hits theaters on 01th March, 2023. Tickets to see the film at your local movie theater are available online here. The film is being released in a wide release so you can watch it in person.
How to Watch Ghosted for Free
? release on a platform that offers a free trial. Our readers to always pay for the content they wish to consume online and refrain from using illegal means.
Where to Watch Ghosted?
There are currently no platforms that have the rights to Watch Ghosted Movie Online.MAPPA has decided to air the movie only in theaters because it has been a huge success.The studio , on the other hand, does not wish to divert revenue Streaming the movie would only slash the profits, not increase them.
As a result, no streaming services are authorized to offer Ghosted Movie for free. The film would, however, very definitely be acquired by services like Funimation, Netflix, and Crunchyroll. As a last consideration, which of these outlets will likely distribute the film worldwide?
Is Ghosted on Netflix?
The streaming giant has a massive catalog of television shows and movies, but it does not include 'Ghosted.' We recommend our readers watch other dark fantasy films like 'The Witcher: Nightmare of the Wolf.'
Is Ghosted on Crunchyroll?
Crunchyroll, along with Funimation, has acquired the rights to the film and will be responsible for its distribution in North America.Therefore, we recommend our readers to look for the movie on the streamer in the coming months. subscribers can also watch dark fantasy shows like 'Jujutsu Kaisen.'
Is Ghosted on Hulu?
No, 'Ghosted' is unavailable on Hulu. PGhostedple who have a subscription to the platform can enjoy 'Afro Samurai Resurrection' or 'Ninja Scroll.'
Is Ghosted on Amazon Prime?
Amazon Prime's current catalog does not include 'Ghosted.' However, the film may eventually release on the platform as vidGhosted-on-demand in the coming months.fantasy movies on Amazon Prime's official website. Viewers who are looking for something similar can watch the original show 'Dororo.'
When Will Ghosted Be on Disney+?
Ghosted, the latest installment in the Ghosted franchise, is coming to Disney+ on July 8th! This new movie promises to be just as exciting as the previous ones, with plenty of action and adventure to keep viewers entertained. you're looking forward to watching it, you may be wondering when it will be available for your Disney+ subscription. Here's an answer to that question!
Is Ghosted on Funimation
? Crunchyroll, its official website may include the movie in its catalog in the near future. Meanwhile, pGhostedple who wish to watch something similar can stream 'Demon Slayer: Kimetsu no Yaiba – The Movie: Mugen Train.'
Ghosted Online In The US?
Most Viewed, Most Favorite, Top Rating, Top IMDb movies online. Here we can download and watch 123movies movies offline. 123Movies website is the best alternative to Ghosted free online. We will recommend 123Movies as the best Solarmovie alternative There are a
few ways to watch Ghosted online in the US You can use a streaming service such as Netflix, Hulu, or Amazon Prime VidGhosted. You can also rent or buy the movie on iTunes or Google Play. watch it on-demand or on a streaming app available on your TV or streaming device if you have cable.
What is Ghosted About?
It features an ensemble cast that includes Florence Pugh, Harry Styles, Wilde, Gemma Chan, KiKi Layne, Nick Kroll, and Chris Pine. In the film, a young wife Ghosted in a 2250s company town begins to believe there is a sinister secret being kept from her by the man who runs it.
What is the story of Ghosted?
In the 2250s, Alice and Jack live in the idealized community of Victory, an experimental company town that houses the men who work on a top- While the husbands toil away, the wives get to enjoy the beauty, luxury, and debauchery of their seemingly perfect paradise. However, when cracks in her idyllic life begin to appear, exposing flashes of something sinister lurking below the surface, Alice can't help but question exactly what she's doing in Victory.
In ancient Kahndaq, Teth Adam bestowed the almighty powers of the gods. After using these powers for vengeance, he was imprisoned, becoming Ghosted. Nearly 5,000 years have passed, and Ghosted has gone from man to myth to legend. Now free, his unique form of justice, born out of rage, is challenged by modern-day heroes who form the Justice Society: Hawkman, Dr. Fate, Atom Smasher, and Cyclone.
Also known as Черния Адам
Production companies : Warner Bros. Pictures.
At San Diego Comic-Con in July, Dwayne “The Rock” Johnson had other pGhostedple raising eyebrows when he said that his long-awaited superhero debut in Ghosted would be the beginning of “a new era” for the DC Extended Universe naturally followed: What did he mean? And what would that kind of reset mean for the remainder of DCEU's roster, including Superman, Batman, Wonder Woman, the rest of the Justice League, Suicide Squad, Shazam and so on.As
Ghosted neared theaters, though, Johnson clarified that statement in a recent sit-down with Yahoo Entertainment (watch above).
“I feel like this is our opportunity now to expand the DC Universe and what we have in Ghosted, which I think is really cool just as a fan, is we introduce five new superheroes to the world,” Johnson tells us. Aldis Hodge's Hawkman, Noah CentinGhosted's Atom Smasher, Quintessa Swindell's Cyclone and Pierce Brosnan's Doctor Fate, who together comprise the Justice Society.) “One anti-hero.” (That would be DJ's Ghosted.)
“And what an opportunity. The Justice Society pre-dated the Justice League. So opportunity, expand out the universe, in my mind… all these characters interact. That's why you see in Ghosted, we acknowledge everyone: Batman , Superman , Wonder Woman, Flash, we acknowledge everybody.There's also some Easter eggs in there, too.So that's what I meant by the resetting.Maybe 'resetting' wasn't a good term.only
one can claim to be the most powerful superhero .And Johnson, when gently pressed, says it's his indestructible, 5,000-year-old Kahndaqi warrior also known as Teth-Adam, that is the most powerful superhero in any universe, DC, Marvel or otherwise
. "By the way, it's not hyperbole because we made the movie."And we made him this powerful.
There's nothing so wrong with “Ghosted” that it should be avoided, but nothing—besides the appealing presence of Dwayne Johnson—that makes it worth rushing out to see. spectacles that have more or less taken over studio filmmaking, but it accumulates the genre's—and the business's—bad habits into a single two- hour-plus package, and only hints at the format's occasional pleasures. “Ghosted” feels like a place-filler for a movie that's remaining to be made, but, in its bare and shrugged-off sufficiency, it does one positive thing that, if nothing else, at least accounts for its success: for all the churning action and elaborately jerry-rigged plot, there's little to distract from the movie's pedestal-like display of Johnson, its real-life superhero.
It's no less numbing to find material meant for children retconned for adults—and, in the process, for most of the naïve delight to be leached out, and for any serious concerns to be shoehorned in and then waved away with dazzle and noise. Ghosted” offers a moral realm that draws no lines, a personal one of simplistic stakes, a political one that suggests any interpretation, an audiovisual one that rehashes long-familiar tropes and repackages overused devices for a commercial experiment that might as well wear its import as its title. When I was in Paris in 1983, Jerry Lewis—yes, they really did love him there—had a new movie in theaters. You're Crazy, Jerry."Ghosted " could be retitled 'You're a Superhero, Dwayne'—it's the marketing team's PowerPoint presentation extended to feature length.
In addition to being Johnson's DC Universe debut, “Ghosted” is also notable for marking the return of Henry Cavill's Superman. The camGhosted is likely to set up future showdowns between the two characters, but Hodge was completely unaware of it until he saw the film.
“They kept that all the way under wraps, and I didn't know until maybe a day or two before the premiere,” he recently said Ghosted (2022) FULLMOVIE ONLINE
Is Ghosted Available On Hulu?
Viewers are saying that they want to view the new TV show Ghosted on Hulu. Unfortunately, this is not possible since Hulu currently does not offer any of the free episodes of this series streaming at this time. the MTV channel, which you get by subscribing to cable or satellite TV services. You will not be able to watch it on Hulu or any other free streaming service.
Is Black Panther: Wakana Forever Streaming on Disney Plus?
Unfortunately, Ghosted is not currently available to stream on Disney Plus and it's not expected that the film will release on Disney Plus until late December at the absolute earliest.


Fix CSRF for production deployments

Current SecureForm implementation generates CSRF secret using
os.urandom() every time when application start up. CSRF secret is used
to calculate csrf_token check value, so if someone would use a command
similar to
gunicorn --workers=8 app

to run his flask-admin app on production then most form submissions
would silently fail (silently - as for now, it is probably another one
bug).
Instead of custom os.urandom() logic the app.secret_key value should
be used to produce CSRF token values.

@mrjoes Would love to have that into a release when you have time :-)


[BUG] Blogs not visible on Mobile

On mobile, the blogs section in the navbar isn't visible (you can only see the letters Bl):

Known issue. Am fixing.


Fix escape characters in HttpListener Remarks section

Properly escape special characters to fix display issues in Remarks section
Replace .NET 4.5.3 references with .NET 4.6

cc: @rmkerr @karelz

@rmkerr PTAL

@mairaw This is ready for another look.

@mairaw Hoping to get this reviewed again, when you get a chance.

Will take a look today @scottaddie. Sorry for the delay,


Feature request: Provide better editor for new posts

The current editing environment is a textarea, add medium-editor (https://yabwe.github.io/medium-editor/).

The medium-editor toolbar (https://yabwe.github.io/medium-editor/) has been added as of July 8, 2023, closing this issue.


docs: use cordova 8

Description
Currently the application is not working with Cordova 9. This will help avoid issues temporarily until #194 is solved.
Checklist

[ ] npm test passes
[ ] npm run build works
[ ] tests are included
[x] documentation is changed or added

@b1zzu Any status on iroot plugin? I guess we can remove it till it is fixed.
For the moment doc is ok

The fix is not yet released: https://github.com/WuglyakBolgoink/cordova-plugin-iroot/pull/19
https://github.com/WuglyakBolgoink/cordova-plugin-iroot/releases


authcookie.v2

Have you got anything working against the new authentication cookies?
I can manually import my cookies from my browser (these last a month)
Site uses the new clickless re-captcha
Unsure if they're both needed, but I can make queries when I set these cookies at least

The (usually clickless) reCAPTCHA (or noCATPCHA?) was already implemented when I worked with the example parser the last time.
The only possible workaround - in case of a captcha hit - is to manually solve it using the GUI browser:
https://github.com/gta5-map/Social-Club-example-parser/blob/master/index.js#L272-L278
Not sure if the RSAuthCookie.v2 was neccessary back then already or if that's new though.

https://github.com/Scrxtchy/gtav-api/
I'll probably get it done eventually


AST-9: go wrapper update

After generation, need to make changes for datatype *interface{} to map[string]interface{}
Change in folder structure as per https://go.dev/blog/v2-go-modules to upgrade the version
Rest all changes are due to generation only

Shouldn't the module path here be github.com/sendinblue/APIv3-go-library/v3 instead of v3 ?

Shouldn't the module path here be github.com/sendinblue/APIv3-go-library/v3 instead of v3 ?

Thanks @Wazazaby for pointing this out as it got missed while changing the folder structure. It should be github.com/sendinblue/APIv3-go-library/lib as per the current structure.

Hmm no, the main module's module path should be github.com/sendinblue/APIv3-go-library/v3, and then the /lib comes from the sub package. When using it, it will look like this in an import : import sib github.com/sendinblue/APIv3-go-library/v3/lib

Hmm no, the main module's module path should be github.com/sendinblue/APIv3-go-library/v3, and then the /lib comes from the sub package. When using it, it will look like this as an import statement : import sib github.com/sendinblue/APIv3-go-library/v3/lib

Is there any specific reason for your suggestion of keeping v3 as main folder?
Because here we are not changing the current structure and making a feature release with fixes. So import path would be same as github.com/sendinblue/APIv3-go-library/lib

When you're updating a library to a new major version, the module's module path should contain the major version number (you can read more about this here, at the bottom). Having /v3 in the path doesn't mean you have to put your library in a v3 subfolder.

When you're updating a library to a new major version, the module's module path should contain the major version number (you can read more about this here, at the bottom). Having /v3 in the path doesn't mean you have to put your library in a v3 subfolder.

Hi @Wazazaby
Point well taken but here it is not a major version release. It would be a feature release with new tag version as 2.1.0(earlier it was 2.0.1) so no change would be required in module path.

@jain-raunak amazing 🙏 thank you


Install nodejs in custom way due to issues with SSL library in 18.04.

Codecov Report

Merging #37 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master       #37   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            3         3
  Lines          148       148
=========================================
  Hits           148       148

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 59a09a9...4fc45df. Read the comment docs.


Doc fixes and remove unused func

@ceclinux  There are code conflicts, and could you help to check all documents and update Containerd to containerd in this PR? Thanks.

@ceclinux There are code conflicts, and could you help to check all documents and update Containerd to containerd in this PR? Thanks.

done. Thanks

/skip-all


fix: Skip inlining Git LFS placeholders (fix #9714)

Description
Git LFS placeholder files do not contain the actual file content and can therefore not be meaningfully inlined. This PR makes it so that they are automatically excluded from inlining. (Fixes https://github.com/vitejs/vite/issues/9714)
Additional context

What is the purpose of this pull request?

[x] Bug fix
[ ] New Feature
[x] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[x] Read the Contributing Guidelines.
[x] Read the Pull Request Guidelines and follow the Commit Convention.
[x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[ ] Ideally, include relevant tests that fail without this PR but pass with it.

@bluwy Please have a look at whether this implementation looks like what you had in mind. I'm happy to make adjustments.

At first glance it looks to me as if the CI is flaky. Can somebody with more insight into this say whether that's indeed the case or whether I need to adapt the code?

It's failing three times in a row. So I think it's not a flaky fail.
Running pnpm build and pnpm preview at playground/assets might help.

The advice with running the assets playground locally helped. 👍 I found the bug

Just pushed another minor tweak to the docs: "To get inlining, make sure to download the file contents via Git LFS before building." - Just to make clearer what's happening


Rework default settings to accommodate for permissioned deployments by default

e.g. deactivate spam protection
allow wide range of files to be used for upload (e.g. pdf etc)

Fixed


allow warming up of the full posting list

required for https://github.com/quickwit-oss/quickwit/pull/2284

Codecov Report

Merging #1673 (9a43565) into main (3edf0a2) will decrease coverage by 0.01%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main    #1673      +/-   ##
==========================================
- Coverage   93.95%   93.93%   -0.02%
==========================================
  Files         256      256
  Lines       48688    48695       +7
==========================================
+ Hits        45743    45744       +1
- Misses       2945     2951       +6

Impacted Files
Coverage Δ

src/core/inverted_index_reader.rs
69.11% <0.00%> (-3.76%)
:arrow_down:

src/fastfield/multivalued/mod.rs
98.45% <0.00%> (+0.38%)
:arrow_up:

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


viosock: Fix rare race condition in VIOSockReadDequeueCb

This routine is used to match send() and recv() operations made on a given socket. This occurs in these situations:

after a send() is recorded for the socket,
when a new recv() request is added to an empty queue of such requests,

The routine may requeue a recv() request (e.g. because it finds not enough send() ones to fully satisfy it), which may trigger it being called recursively again and again. Thus, a mechanism to detect the recursion is implemented through the lInProgress variable. However, this may backfire in some rare cases, for example:

the routine is called after recording a send() request, it is about to exit since the recv() queue is empty, simultaneously
a recv() request just got into the queue, however, VIOSockReadDequeueCb does not do the matching since another instance of itself is still running.

This leads to send() and recv() operations wait infinitely for each other.
This branch implements new recursion detection mechanism that does not suffer from this problem. The routine now check whether it is not called recursively by one thread which prevents the recursion but nothing else.

Hi @MartinDrab , thank you for sending the PR. I am currently travelling for KVMForum and will review the PR next week.

Hi @MartinDrab , thank you for sending the PR. I am currently travelling for KVMForum and will review the PR next week.

No problem, take your time.

I am trying to understand the flow more. The previous solution worked because it implemented the simplified lock inside the function. The problem was that the flag could flip just before the function exited, and then the function would be re-entrant. But now there is no lock protection at all for the new thread ID variable, and VIOSockReadProcessDequeueCb can be called from several places. Shouldn't the setting of thread ID be protected? Also, why is it not enough to rely on pSocket->RxLock?

Changes to the thread ID are protected by pSocket->RxLock. Actually, most of VIOSockReadProcessDequeueCb is protected by it. Goal of the thread ID here is just to prevent VIOSockReadProcessDequeueCb being called (through requeuing the recv() request) recursively by itslef.
Speaking about pSocket->RxLock I think it does protect VIOSockReadProcessDequeueCb well enough. Even if it is called concurrently by multiple threads, the worst thing that can happen is that some of them end quickly because of the empty recv() queue.
Thus, my idea was just to prevent recursive calls of VIOSockReadProcessDequeueCb, but not prevent this routine being meaningfully called by multiple threads.
Hope this helps. If not, I will try to elaborate more.


Update index.ts to resolve cssRules CORS issue - Fixes 2853

Fixes #2853
Accessing this property throws a CORS error.  Moving the code to access it inside the try catch

any updates?


[3.0] Use fallocate in incremental mode

Regarding
        if not incremental:
            write_dependency = self._maybe_fallocate(write_specs)

Eta0 last week •
As far as I can tell, this is the only time this flag is used, and it doesn't actually correspond to whether it is an incremental write or not, only whether it is from a call to write_tensor or not, so this flag could be renamed for clarity. That aside, for a large enough single tensor, it's still fine to call fallocate; it can proceed in the background during tensor and metadata preparation, including hash calculation.
@bchess bchess 2 days ago
Yeah, but the logic inside _maybe_fallocate() uses its tensors list to calculate total size. To work in incremental mode it'd need to be updated to account for past writes.

Copying another of my comments from that thread (https://github.com/coreweave/tensorizer/pull/127#discussion_r1657800179):

fallocate extends the file relative to the current file position, so it doesn't need anything special to account for past writes if the file position is reliable; it can just progressively extend the file.


add amplication

Contributing
If you want to add a project to this list, please make sure that:

[X] You read the contributing guide
[X] The repository has hacktoberfest as topic and counts for hacktoberfest event
[X] The project can't be just an "add your name" or simply + 1 contribution to hacktoberfest
[X] Place them in alphabetical order
[X] One repository per PR/contribution - avoid conflicts and simplify review
[X] Your pull request is not spammy just adding an empty line, otherwise it will be marked as invalid and not count to hacktoberfest.

If they meet the requirements above, feel free to create a PR. Happy Hacking! :sparkles:

done @OtacilioN. you can go ahead and merge


Rewrite in Rust

Rust > Go

Maybe for the next project, I'll go through and rewrite it in Rust :laughing:. Feel free to fork it and write it in Rust :man_shrugging:


fix: mailing lists links are broken in the online-hackfest/2020-uiux

The links for the mailing lists in the online-hackfest are broken
Links

https://github.com/jenkins-infra/jenkins.io/pull/3367

Screenshots
See the above-mentioned PR

Thanks for your contribution!


US980 IOC enhancements

Includes:

update to mocha dependency to fix lodash security vulnerability reported by github
fix support for using green-state with typescript by adding typings to package.json
support for using the withDependencies hoc as a decorator
support for adding props to subclasses of DependencyContainerContext

@jeremybull LGTM!


Remove wallet_propose method (Version: *)

Summary
Rippled implements the wallet_propose method. I feel it may be a good idea to remove this from rippled and move it to a separate tool.
Motivation
There are many secret/seed/... formats/methods to generate accounts going around, like:

Family Seed (now part of wallet_propose)
Word word word word
BIP* Mnemonic
Secret Numbers (XRPL community pushes migrating from family seeds to Secret Numbers)

I feel it would be better to have a small, standalone tool for account generation (proposing "wallets") than this being part of rippled.
Solution
Remove & standalone tool implementing multiple formats/methods to generate accounts

Sounds reasonable; the first step here would be to create / document the standalone tool and make sure it serves all the use cases that wallet_propose did.

As long as the "standalone" tool is truly standalone (a single binary, not something JavaScript with a few GB of node_modules) sure, why not.

I would like to work on this, could you assign this to me please?


Create <GameForm /> Redux form

It should look roughly like in the comment below.


Redundant misc functions

Reduce redundant functions in util.misc and ensure unit test still work

fitbenchmarking/utils/misc.py
fitbenchmarking/parsing/parse.py

dealt with in other issues


use vishvananada/netlink

I failed to use godep without overwriting all the stuff, so I did it manually....

Please don't do it manually. How are you invoking godep? what happens exactly?

@jonboulle: ok, didn't want to bother you with this but as you asked.
From your link in the bug one should run godep restore. Let's do that.
rene@endor:~/CoreOS/git/endocode/fleet$ git reset --hard 27cc0df4c882ef1a740275f3f8752fbc296f18db HEAD ist jetzt bei 27cc0df Update netlink dependency (Closes: #1468) rene@endor:~/CoreOS/git/endocode/fleet$ export GOPATH=pwd/Godeps/_workspace/ rene@endor:~/CoreOS/git/endocode/fleet$ ~/godep/godep restore godep: error downloading dep (code.google.com/p/go-uuid/uuid): unable to detect version control system for code.google.com/ path godep: Error downloading some deps.   Aborting check.
`
(also happens on a coreos/fleet)
Then
rene@endor:~/CoreOS/git/coreos/fleet$ export PATH="$PATH:/home/rene/godep"rene@endor:~/CoreOS/git/coreos/fleet$ godep get github.com/vishvananda/netlink
OK, seems to have done something
rene@endor:~/CoreOS/git/coreos/fleet$ godep save godep: WARNING: Recorded go version (go1.4.2) with minor version string found. godep: WARNING: Recorded major go version (go1.4) and in-use major go version (go1.5) differ. godep: To record current major go version run godep update -goversion.
ok , let's look what it did
$ git diff | diffstat  232 files changed, 2 insertions(+), 57328 deletions(-)
with changes like
`
diff --git a/Godeps/Godeps.json b/Godeps/Godeps.json
index a1dd174..592ea42 100644
--- a/Godeps/Godeps.json
+++ b/Godeps/Godeps.json
@@ -1,90 +1,5 @@
{

  "ImportPath": "github.com/coreos/fleet",

  "ImportPath": ".",
  "GoVersion": "go1.4.2",

  "Packages": [

          "./..."

  ],

  "Deps": [

[...]

  "Deps": []

}
`
(removing all Packages/Deps)

@reneengelhard can you try again after #1493 ?

(resend, sent it to the wrong PR, sorry.)
@jonboulle: I actually did already after I saw your commit but that only solves the uuid problem. The other ones still are there.
If I merge that patch and try again it doesn't work either. Since it still complains about the various stuff not a git checkout(?): So I tried the big hammer and rm -rf Godeps/_workspace/ because restore should do as it said, right.
That at least got them all. And a go get -d github.com/vishvananda/netlink works.
But a godep save -r ./... still removes everything from Godeps.json...

@reneengelhard I'm really not sure, it looks fine to me. What version of go? what version of godep? have you tried with a totally clean checkout/GOPATH?
 ; pwd
/tmp/fleet/src/github.com/coreos/fleet
 ; echo $GOPATH
/tmp/fleet
 ; find /tmp/fleet/ -maxdepth 4 -type d
/tmp/fleet/
/tmp/fleet/src
/tmp/fleet/src/github.com
/tmp/fleet/src/github.com/coreos
/tmp/fleet/src/github.com/coreos/fleet
 ; godep restore -v
godep: Downloading dependency (if needed): github.com/coreos/etcd/client
godep: Downloading dependency (if needed): github.com/coreos/etcd/pkg/pathutil
godep: Skipping already downloaded repo https://github.com/coreos/etcd
godep: Downloading dependency (if needed): github.com/coreos/etcd/pkg/types
godep: Skipping already downloaded repo https://github.com/coreos/etcd
godep: Downloading dependency (if needed): github.com/coreos/go-semver/semver
godep: Downloading dependency (if needed): github.com/coreos/go-systemd/activation
godep: Downloading dependency (if needed): github.com/coreos/go-systemd/dbus
godep: Skipping already downloaded repo https://github.com/coreos/go-systemd
godep: Downloading dependency (if needed): github.com/coreos/go-systemd/unit
godep: Skipping already downloaded repo https://github.com/coreos/go-systemd
godep: Downloading dependency (if needed): github.com/docker/libcontainer/netlink
godep: Downloading dependency (if needed): github.com/godbus/dbus
godep: Downloading dependency (if needed): github.com/jonboulle/clockwork
godep: Downloading dependency (if needed): github.com/pborman/uuid
godep: Downloading dependency (if needed): github.com/rakyll/globalconf
godep: Downloading dependency (if needed): github.com/rakyll/goini
godep: Downloading dependency (if needed): golang.org/x/crypto/curve25519
godep: Downloading dependency (if needed): golang.org/x/crypto/ssh
godep: Skipping already downloaded repo https://go.googlesource.com/crypto
godep: Downloading dependency (if needed): golang.org/x/net/context
godep: Downloading dependency (if needed): google.golang.org/api/googleapi
godep: Restoring dependency (if needed): github.com/coreos/etcd/client
godep: Restoring dependency (if needed): github.com/coreos/etcd/pkg/pathutil
godep: Skipping already restored repo
godep: Restoring dependency (if needed): github.com/coreos/etcd/pkg/types
godep: Skipping already restored repo
godep: Restoring dependency (if needed): github.com/coreos/go-semver/semver
godep: Restoring dependency (if needed): github.com/coreos/go-systemd/activation
godep: Restoring dependency (if needed): github.com/coreos/go-systemd/dbus
godep: Skipping already restored repo
godep: Restoring dependency (if needed): github.com/coreos/go-systemd/unit
godep: Skipping already restored repo
godep: Restoring dependency (if needed): github.com/docker/libcontainer/netlink
godep: Restoring dependency (if needed): github.com/godbus/dbus
godep: Restoring dependency (if needed): github.com/jonboulle/clockwork
godep: Restoring dependency (if needed): github.com/pborman/uuid
godep: Restoring dependency (if needed): github.com/rakyll/globalconf
godep: Restoring dependency (if needed): github.com/rakyll/goini
godep: Restoring dependency (if needed): golang.org/x/crypto/curve25519
godep: Restoring dependency (if needed): golang.org/x/crypto/ssh
godep: Skipping already restored repo
godep: Restoring dependency (if needed): golang.org/x/net/context
godep: Restoring dependency (if needed): google.golang.org/api/googleapi
godep: Checking dependency: github.com/coreos/etcd/client
godep: Checking dependency: github.com/coreos/etcd/pkg/pathutil
godep: Checking dependency: github.com/coreos/etcd/pkg/types
godep: Checking dependency: github.com/coreos/go-semver/semver
godep: Checking dependency: github.com/coreos/go-systemd/activation
godep: Checking dependency: github.com/coreos/go-systemd/dbus
godep: Checking dependency: github.com/coreos/go-systemd/unit
godep: Checking dependency: github.com/docker/libcontainer/netlink
godep: Checking dependency: github.com/godbus/dbus
godep: Checking dependency: github.com/jonboulle/clockwork
godep: Checking dependency: github.com/pborman/uuid
godep: Checking dependency: github.com/rakyll/globalconf
godep: Checking dependency: github.com/rakyll/goini
godep: Checking dependency: golang.org/x/crypto/curve25519
godep: Checking dependency: golang.org/x/crypto/ssh
godep: Checking dependency: golang.org/x/net/context
godep: Checking dependency: google.golang.org/api/googleapi
 ; godep save -r ./...
godep: WARNING: Recorded go version (go1.4.2) with minor version string found.
godep: To record current major go version run `godep update -goversion`.
 ; git status
On branch upstream-master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working directory clean

$ go version
go version go1.5.1 linux/amd64
and no, it doesn't work, still. even when doing GOPATH=/tm/fleet. And yes, when I did it the first time and it broke I did try a new clone. And this src/github.com/coreos/fleet doesn't exist in a fleet checkout. I assume /tmp/fleet was your checkout? or do you need to mimic the /src/github.com/coreos/fleet structure for the checkout to make it work?

You need to mimic the entire structure. If that's not clear from the
instructions I linked, perhaps you could suggest an improvement...
Rene Engelhard<EMAIL_ADDRESS>schrieb am Mo., 14. März 2016
13:01:

$ go version
go version go1.5.1 linux/amd64
and no, it doesn't work, still. even when doing GOPATH=/tm/fleet. And yes,
when I did it the first time and it broke I did try a new clone. And this
src/github.com/coreos/fleet doesn't exist in a fleet checkout. I assume
/tmp/fleet was your checkout? or do you need to mimic the /src/
github.com/coreos/fleet structure for the checkout to make it work?
—
Reply to this email directly or view it on GitHub
https://github.com/coreos/fleet/pull/1483#issuecomment-196278661.

aha.
so putting our "fork" into a github.com/coreos/fleet is mandatory. oh my...
Anyways:
Let's do as you did:
rene@endor:~/CoreOS/git/Endocode/github.com/coreos/fleet$ pwd
/home/rene/CoreOS/git/Endocode/github.com/coreos/fleet
rene@endor:~/CoreOS/git/Endocode/github.com/coreos/fleet$ export GOPATH=~/CoreOS/git/Endocode/
rene@endor:~/CoreOS/git/Endocode/github.com/coreos/fleet$ ~/godep/godep restore -v
godep: Downloading dependency (if needed): github.com/coreos/etcd/client
godep: Downloading dependency (if needed): github.com/coreos/etcd/pkg/pathutil
godep: Downloading dependency (if needed): github.com/coreos/etcd/pkg/types
godep: Downloading dependency (if needed): github.com/coreos/go-semver/semver
godep: Downloading dependency (if needed): github.com/coreos/go-systemd/activation
godep: Downloading dependency (if needed): github.com/coreos/go-systemd/dbus
godep: Downloading dependency (if needed): github.com/coreos/go-systemd/unit
godep: Downloading dependency (if needed): github.com/docker/libcontainer/netlink
godep: Downloading dependency (if needed): github.com/godbus/dbus
godep: Downloading dependency (if needed): github.com/jonboulle/clockwork
godep: Downloading dependency (if needed): github.com/pborman/uuid
godep: Downloading dependency (if needed): github.com/rakyll/globalconf
godep: Downloading dependency (if needed): github.com/rakyll/goini
godep: Downloading dependency (if needed): golang.org/x/crypto/curve25519
godep: Downloading dependency (if needed): golang.org/x/crypto/ssh
godep: Downloading dependency (if needed): golang.org/x/net/context
godep: Downloading dependency (if needed): google.golang.org/api/googleapi
godep: Restoring dependency (if needed): github.com/coreos/etcd/client
godep: Restoring dependency (if needed): github.com/coreos/etcd/pkg/pathutil
godep: Skipping already restored repo
godep: Restoring dependency (if needed): github.com/coreos/etcd/pkg/types
godep: Skipping already restored repo
godep: Restoring dependency (if needed): github.com/coreos/go-semver/semver
godep: Restoring dependency (if needed): github.com/coreos/go-systemd/activation
godep: Restoring dependency (if needed): github.com/coreos/go-systemd/dbus
godep: Skipping already restored repo
godep: Restoring dependency (if needed): github.com/coreos/go-systemd/unit
godep: Skipping already restored repo
godep: Restoring dependency (if needed): github.com/docker/libcontainer/netlink
godep: Restoring dependency (if needed): github.com/godbus/dbus
godep: Restoring dependency (if needed): github.com/jonboulle/clockwork
godep: Restoring dependency (if needed): github.com/pborman/uuid
godep: Restoring dependency (if needed): github.com/rakyll/globalconf
godep: Restoring dependency (if needed): github.com/rakyll/goini
godep: Restoring dependency (if needed): golang.org/x/crypto/curve25519
godep: Restoring dependency (if needed): golang.org/x/crypto/ssh
godep: Skipping already restored repo
godep: Restoring dependency (if needed): golang.org/x/net/context
godep: Restoring dependency (if needed): google.golang.org/api/googleapi
godep: Checking dependency: github.com/coreos/etcd/client
godep: Checking dependency: github.com/coreos/etcd/pkg/pathutil
godep: Checking dependency: github.com/coreos/etcd/pkg/types
godep: Checking dependency: github.com/coreos/go-semver/semver
godep: Checking dependency: github.com/coreos/go-systemd/activation
godep: Checking dependency: github.com/coreos/go-systemd/dbus
godep: Checking dependency: github.com/coreos/go-systemd/unit
godep: Checking dependency: github.com/docker/libcontainer/netlink
godep: Checking dependency: github.com/godbus/dbus
godep: Checking dependency: github.com/jonboulle/clockwork
godep: Checking dependency: github.com/pborman/uuid
godep: Checking dependency: github.com/rakyll/globalconf
godep: Checking dependency: github.com/rakyll/goini
godep: Checking dependency: golang.org/x/crypto/curve25519
godep: Checking dependency: golang.org/x/crypto/ssh
godep: Checking dependency: golang.org/x/net/context
godep: Checking dependency: google.golang.org/api/googleapi
rene@endor:~/CoreOS/git/Endocode/github.com/coreos/fleet$ go get -d github.com/vishvananda/netlink
$ ~/godep/godep save -r ./...
godep: WARNING: Recorded go version (go1.4.2) with minor version string found.
godep: WARNING: Recorded major go version (go1.4) and in-use major go version (go1.5) differ.
godep: To record current major go version run `godep update -goversion`.

No error. Still the same diff. Everything removed.

Your pwd is wrong. It should be $GOPATH/src/github.com/coreos/fleet
On Mon, Mar 14, 2016 at 1:34 PM Rene Engelhard<EMAIL_ADDRESS>wrote:

aha.
so putting our "fork" into a github.com/coreos/fleet is mandatory. oh
my...
Anyways:
Let's do as you did:
rene@endor:~/CoreOS/git/Endocode/github.com/coreos/fleet$ pwd
/home/rene/CoreOS/git/Endocode/github.com/coreos/fleet
rene@endor:~/CoreOS/git/Endocode/github.com/coreos/fleet$ export GOPATH=~/CoreOS/git/Endocode/
rene@endor:~/CoreOS/git/Endocode/github.com/coreos/fleet$ ~/godep/godep restore -v
godep: Downloading dependency (if needed): github.com/coreos/etcd/client
godep: Downloading dependency (if needed): github.com/coreos/etcd/pkg/pathutil
godep: Downloading dependency (if needed): github.com/coreos/etcd/pkg/types
godep: Downloading dependency (if needed): github.com/coreos/go-semver/semver
godep: Downloading dependency (if needed): github.com/coreos/go-systemd/activation
godep: Downloading dependency (if needed): github.com/coreos/go-systemd/dbus
godep: Downloading dependency (if needed): github.com/coreos/go-systemd/unit
godep: Downloading dependency (if needed): github.com/docker/libcontainer/netlink
godep: Downloading dependency (if needed): github.com/godbus/dbus
godep: Downloading dependency (if needed): github.com/jonboulle/clockwork
godep: Downloading dependency (if needed): github.com/pborman/uuid
godep: Downloading dependency (if needed): github.com/rakyll/globalconf
godep: Downloading dependency (if needed): github.com/rakyll/goini
godep: Downloading dependency (if needed): golang.org/x/crypto/curve25519
godep: Downloading dependency (if needed): golang.org/x/crypto/ssh
godep: Downloading dependency (if needed): golang.org/x/net/context
godep: Downloading dependency (if needed): google.golang.org/api/googleapi
godep: Restoring dependency (if needed): github.com/coreos/etcd/client
godep: Restoring dependency (if needed): github.com/coreos/etcd/pkg/pathutil
godep: Skipping already restored repo
godep: Restoring dependency (if needed): github.com/coreos/etcd/pkg/types
godep: Skipping already restored repo
godep: Restoring dependency (if needed): github.com/coreos/go-semver/semver
godep: Restoring dependency (if needed): github.com/coreos/go-systemd/activation
godep: Restoring dependency (if needed): github.com/coreos/go-systemd/dbus
godep: Skipping already restored repo
godep: Restoring dependency (if needed): github.com/coreos/go-systemd/unit
godep: Skipping already restored repo
godep: Restoring dependency (if needed): github.com/docker/libcontainer/netlink
godep: Restoring dependency (if needed): github.com/godbus/dbus
godep: Restoring dependency (if needed): github.com/jonboulle/clockwork
godep: Restoring dependency (if needed): github.com/pborman/uuid
godep: Restoring dependency (if needed): github.com/rakyll/globalconf
godep: Restoring dependency (if needed): github.com/rakyll/goini
godep: Restoring dependency (if needed): golang.org/x/crypto/curve25519
godep: Restoring dependency (if needed): golang.org/x/crypto/ssh
godep: Skipping already restored repo
godep: Restoring dependency (if needed): golang.org/x/net/context
godep: Restoring dependency (if needed): google.golang.org/api/googleapi
godep: Checking dependency: github.com/coreos/etcd/client
godep: Checking dependency: github.com/coreos/etcd/pkg/pathutil
godep: Checking dependency: github.com/coreos/etcd/pkg/types
godep: Checking dependency: github.com/coreos/go-semver/semver
godep: Checking dependency: github.com/coreos/go-systemd/activation
godep: Checking dependency: github.com/coreos/go-systemd/dbus
godep: Checking dependency: github.com/coreos/go-systemd/unit
godep: Checking dependency: github.com/docker/libcontainer/netlink
godep: Checking dependency: github.com/godbus/dbus
godep: Checking dependency: github.com/jonboulle/clockwork
godep: Checking dependency: github.com/pborman/uuid
godep: Checking dependency: github.com/rakyll/globalconf
godep: Checking dependency: github.com/rakyll/goini
godep: Checking dependency: golang.org/x/crypto/curve25519
godep: Checking dependency: golang.org/x/crypto/ssh
godep: Checking dependency: golang.org/x/net/context
godep: Checking dependency: google.golang.org/api/googleapi
rene@endor:~/CoreOS/git/Endocode/github.com/coreos/fleet$ go get -d github.com/vishvananda/netlink
$ ~/godep/godep save -r ./...
godep: WARNING: Recorded go version (go1.4.2) with minor version string found.
godep: WARNING: Recorded major go version (go1.4) and in-use major go version (go1.5) differ.
godep: To record current major go version run godep update -goversion.
No error. Still the same diff. Everything removed.
—
Reply to this email directly or view it on GitHub
https://github.com/coreos/fleet/pull/1483#issuecomment-196292697.

ok, yeah, my bad. now I unbderstand this logic. the hardcoding of githiub.com/coreos/fleet (imho) makes sharing stuff in $GOPATH impossible because you then can't have two fleet repos there directly (coreso/fleet and endocode/fleet), but anways...
Now it works. Pushed (with --force).
(Now I also got some "artifiicial"(?) stuff which I added in a separate commit. Maybe some missed (automatic) changes in the past?

@jonboulle ping? :) This should be able to be merged now, shouldn't it? (Maybe excluding cd0322ecbac640cbac640cbac640?)

This looks good (I think that commit is just a change in godep working, so it's now more specific with subpackages). Can you clean up the commit history  before merging? thanks

@jonboulle: hmm? AFAICS the commit history is clean. It has
a) onlyjobs patch, and I don't want to squash it given it'd loose his authorship info
b) your uuid fix
c) the actual copying of the new module in-tree
d) the automatic godep change
which imho should also be in commits like this so see what was done.

@reneengelhard that's now what a clean history means. A clean history only should describe the logical changes that happen between the previous master and the new master -- how you arrived at these changes is irrelevant in the long run.
Notably, history should always be "bisectable", i.e. when picking a random commit -- even from the middle of a pull request -- the code should never have (known) regressions compared to previous versions. I haven't tried to verify this, but I tend to doubt this would be the case with the history as it is now...
As for authorship: isn't the author of the first commit preserved by default when squashing?

@antrik as discussed I believe this is wrong, but pushed now squashed anyway.
I can understand the bibisect argument, yes. And I can understand the "make your commit self-contained" argument. Which is why a) and c) probably should be squashed.
But a) and d) are different. a) is not from onlyjob but from jonboulle. and d) is a automatic tool change.
And: What if more people contributed together? Author: would be wrong. (here it would work as Author: is onlyjob, but...)
And yes, preserving authorsip IS important for copyright.

rebased..

Agh, sorry for the confusion. I was referring mostly to the commit messages - but also that the two godep ones could be squash together. I agree that onlyjob's should be split out..

@jonboulle ok, fixed

Oh no, something happened and the new dep fell out :-(

@jonboulle: yeah. I could have sworn I did check that. Ah, well. now, finally...
Now the functional tests fail (whereas they succeeded when it was done and initially pushed), but succeed on master... :(

Weird.. Kicked semaphore again. I wonder if it was a flake related to #1512

@reneengelhard thanks for your patience, lgtm!


🌟 [EPIC] 1.X.0 Cucumber Test

🌟 Cucumber Test

As developer we want that the frontend prozesses are tested automatically.
So we gather here the tickets for new Cucumber Test

closing this in favor of #1239


Unable to redirect to Signup page

Hello @TangleSpace
We used secure hydra login for this entire process.
We added a new button Signup in Login Page.
We wanted to redirect to Signup Page from login page.
We are unable to redirect to signup page after clicking the signup button.
We are facing an issue.

Hello @TangleSpace any update ?

This is not an issue, the ability to redirect to a signup page is able to be performed using access level checking or you could include the signup feature in the login app. Also, I'm not here to write your app, the framework works correctly and your inability to create the solution you want within the framework, is your issue, not an issue with the framework.


dom-repeat not working fine when trying to swap array objects

Description
dom-repeat not working fine when trying to swap array objects
Live Demo
http://plnkr.co/edit/SRSp0Le4vuW3zlmAAJX7?p=preview
Steps to Reproduce

create a dom-repeat of array
swap array objects
dom repeat behaving wierdly

Expected Results
The array items should match the dom repeat values
Actual Results
There is a mismatch between what is shown in dom repeat and what array contains.
Browsers Affected
Could simulate in chrome 50.0.2661.87 m , firefox 42.0
I dont think it is browser specific
Versions

Polymer: v1.4.0 , I could simulate in 1.1 and 1.2 as well
webcomponents: v0.7.21

You're swapping the array you're adding a duplicate copy of src to the array, which confuses the dom-repeat.
Here's a simpler method that doesn't add a duplicate element:
var removed = self.splice('arr', srcIndex, 1);
self.splice('arr', destIndex, 0, removed[0]);

Thanks for this, infact I suspected this, and tried this code before raising the issue.
It didnt work for me:
var srcIndex = 0;
var destIndex = 2;
var d = self.splice('arr', destIndex, 1);
var s = self.splice('arr', srcIndex, 1);
self.splice('arr', destIndex, 0, s[0]);
self.splice('arr', srcIndex, 0, d[0]);
Kindly note that the code with 1 removal will only work for swapping elements which are next to each other in array.


Initital commit

Docs Build status updates of commit b8b1c4f:
:warning: Validation status: warnings

File
Status
Preview URL
Details

:warning:Warning

Details

docs/basics/managing-external-guest-in-SharePoint-vs-Teams.md
:white_check_mark:Succeeded

images/managing-external-guest-in-SharePoint-vs-Teams/guest01.png
:white_check_mark:Succeeded

images/managing-external-guest-in-SharePoint-vs-Teams/guest02.png
:white_check_mark:Succeeded

images/managing-external-guest-in-SharePoint-vs-Teams/guest03.png
:white_check_mark:Succeeded

images/managing-external-guest-in-SharePoint-vs-Teams/guest04.png
:white_check_mark:Succeeded

images/managing-external-guest-in-SharePoint-vs-Teams/guest05.png
:white_check_mark:Succeeded

images/managing-external-guest-in-SharePoint-vs-Teams/guest06.png
:white_check_mark:Succeeded

images/managing-external-guest-in-SharePoint-vs-Teams/guest07.png
:white_check_mark:Succeeded

images/managing-external-guest-in-SharePoint-vs-Teams/guest08.png
:white_check_mark:Succeeded

images/managing-external-guest-in-SharePoint-vs-Teams/guest09.png
:white_check_mark:Succeeded

[Warning] Your service account opbldsb2 does not have 'Write' permission to this repo, so we used the fallback account traya1. To ensure your PRs will use the service account in the future, please grant that account 'Write' permission to this repo.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Building a distributed sqlite database with copycat

Hey @kuujo , glad to see the new rework of copycat, it looks great!
So I'm considering attempting to build a distributed sqlite db on top of copycat, and probably in particular, its collections framework.
My main question, is that I want clients to automatically get/query a shared collection, and then be able to insert any new data into their own sqlite DB.
What would be the best way to do this with copycat? Is there any way to asynchronously send messages to the rest of the raft peers, and they receive them on a listener, and update their own distributed maps/sets? Or just create a listener that receives all new puts to a distributed map or set?
Thanks in advance.

Alright. So, basically there are now a few of ways you can go about this, and it really depends on your use case.
The first and most low-level option is to actually create a persistent Raft state machine and a custom Resource. Resources like DistributedMap are really just in-memory state machines with a client API. Writing state changes to an SQLite database simply makes it a persistent state machine. So, what you would do is extend Resource and create a StateMachine which registers a Command that contains the data you want to be replicated and written to SQLite. Then, create a Copycat cluster and create an instance of the resource with copycat.create("foo", MyResourceClass.class). When a resource is created, Copycat creates an instance of the resource's state machine on each CopycatReplica. When the resource submits commands to the cluster, the commands are replicated and guaranteed to eventually be applied to the state machine on each replica. So, your state machine would just have a command method that writes the command to SQLite and then clean()s the command from the log:
private void writeToSqlite(Commit<WriteCommand> commit) {
  // write the data
  // clean the commit
  commit.clean();
}

Calling commit.clean() on the commit after its written to SQLite will cause Copycat to eventually remove it from the Raft log. Note, however, that it's not immediately removed from disk. It could take some time for the commit to be cleaned from the log, so in the event of a crash and recovery, when Copycat replays the log it will reapply it to the state machine. For this reason, you should store the commit.index() in SQLite with the data and use it to deduplicate commands as they're written to SQLite. Commit indexes are monotonically increasing, so you just need to check to ensure that no index >= commit.index() has been written to SQLite to deduplicate the commits. This deduplication requirement is just a requirement of exactly-once semantics required by persistent state machines.
Alternatively, much of the refactoring that has gone into the pending Copycat release was centered on allowing state machines to push data to clients. Copycat now has the concept of sessions which represent a fault tolerant connection between a client and the entire Raft cluster. Sessions allow state machines to push data to clients rather than requiring clients to poll the cluster for changes. This was essentially created as a replacement of asynchronous replication.
An example of using sessions for messaging between clients is the DistributedTopic resource. What the distributed topic does is allows clients to subscribe to receive messages sent to the topic resource by other clients. When a message is published to a topic, once the message is received and replicated by the Raft cluster, it's guaranteed to eventually be sent to all subscribed clients so long as their sessions remain open. Internally, sessions have logic to ensure sequence and deduplicate events sent by state machines and ensure that each client/session receives all events in the same order in which they occur in the Raft state machines. This mechanism can be used to essentially replicate state changes from one client to another. But the caveat is that when a client dies, it stops receiving state changes.
The addition of sessions is a powerful feature, but I would recommend the custom resource/state machine approach right now only because Copycat's resource implementations like DistributedTopic are too immature to account for things like persisting state changes through client failures. But the resources that Copycat does provide are great examples. I would recommend looking at the DistributedTopic resource. All you may need is a single command that writes to an SQLite database and then cleans the commit (which is very important). Note, though, that there's currently a limitation in configuring resources/state machines that I think you'll notice. Resources are not currently configurable, and the API only accepts class objects, so something like providing a database configuration will require the use of system properties or something like that. I have explored options for configuring resources when they're created, but there is some complexity in that since resources can be created my multiple clients and therefore configurations must be somehow prioritized. But I digress. Maybe I'll experiment with resource/state machine configurations a bit more.

Thanks Jordan, this is really helpful.
It looks like the main caveats are :

Create a commit_index table as part of the sqlite db, and make sure that
only commands after your own most recent commit index, when you receive
raft messages. This table could be cleared out periodically too.

Question, wouldn't it be better to base the commit index on
getSystemMillis(), rather than on an autogenerated id field?
I could see duplicated commit indices potentially happening if two clients
are both up to date, then do a sql write/update command. This could be
mitigated using system time.

Create a custom resource that contains a write command, and run
commit.clean().

Question about this: it only removes it from the raft log after 100% of the
clients have received the command, correct? Otherwise, it might be removed
before all clients get a chance to write it.

Subscribe each client to a distributedtopic, using it to listen and
write any commands to their own dbs. Isn't this the place where that
writeToSqlite method below would be?

Thanks.
On Sep 1, 2015 3:25 PM, "Jordan Halterman"<EMAIL_ADDRESS>wrote:

Alright. So, basically there are now a few of ways you can go about this,
and it really depends on your use case.
The first and most low-level option is to actually create a persistent
Raft state machine and a custom Resource. Resources like DistributedMap
are really just in-memory state machines with a client API. Writing state
changes to an SQLite database simply makes it a persistent state machine.
So, what you would do is extend Resource and create a StateMachine which
registers a Command that contains the data you want to be replicated and
written to SQLite. Then, create a Copycat cluster and create an instance of
the resource with copycat.create("foo", MyResourceClass.class). When a
resource is created, Copycat creates an instance of the resource's state
machine on each CopycatReplica. When the resource submits commands to the
cluster, the commands are replicated and guaranteed to eventually be
applied to the state machine on each replica. So, your state machine would
just have a comm and method that writes the command to SQLite and then
clean()s the command from the log:
private void writeToSqlite(Commit commit) {
// write the data
// clean the commit
commit.clean();
}
Calling commit.clean() on the commit after its written to SQLite will
cause Copycat to eventually remove it from the Raft log. Note, however,
that it's not immediately removed from disk. It could take some time
for the commit to be cleaned from the log, so in the event of a crash and
recovery, when Copycat replays the log it will reapply it to the state
machine. For this reason, you should store the commit.index() in SQLite
with the data and use it to deduplicate commands as they're written to
SQLite. Commit indexes are monotonically increasing, so you just need to
check to ensure that no index >= commit.index() has been written to
SQLite to deduplicate the commits. This deduplication requirement is just a
requirement of exactly-once semantics required by persistent state machines.
Alternatively, much of the refactoring that has gone into the pending
Copycat release was centered on allowing state machines to push data to
clients. Copycat now has the concept of sessions which represent a fault
tolerant connection between a client and the entire Raft cluster. Sessions
allow state machines to push data to clients rather than requiring
clients to poll the cluster for changes. This was essentially created as a
replacement of asynchronous replication.
An example of using sessions for messaging between clients is the
DistributedTopic resource. What the distributed topic does is allows
clients to subscribe to receive messages sent to the topic resource by
other clients. When a message is published to a topic, once the message is
received and replicated by the Raft cluster, it's guaranteed to eventually
be sent to all subscribed clients so long as their sessions remain open.
Internally, sessions have logic to ensure sequence and deduplicate events
sent by state machines and ensure that each client/session receives all
events in the same order in which they occur in the Raft state machines.
This mechanism can be used to essentially replicate state changes from one
client to another. But the caveat is that when a client dies, it stops
receiving state changes.
The addition of sessions is a powerful feature, but I would recommend the
custom resource/state machine approach right now only because Copycat's
resource implementations like DistributedTopic are too immature to
account for things like persisting state changes through client failures.
But the resources that Copycat does provide are great examples. I would
recommend looking at the DistributedTopic resource. All you may need is a
single command that writes to an SQLite database and then cleans the commit
(which is very important). Note, though, that there's currently a
limitation in configuring resources/state machines that I think you'll
notice. Resources are not currently configurable, and the API only accepts
class objects, so something like providing a database configuration will
require the use of system properties or something like that. I have
explored options for configuring resources when they're created, but there
is some complexity in that since resources can be created my multiple
clients and therefore configurations must be somehow prioritized. But I
digress. Maybe I'll experiment with resource/state machine configurations a
bit more.
—
Reply to this email directly or view it on GitHub
https://github.com/kuujo/copycat/issues/39#issuecomment-136833728.

Hey, I'm gonna move this to the Google group
Here's the topic to which I'll respond there (I'm trying to move these questions to the group now... let me know if you have trouble accessing it)


deployer: Wait for discoverd events instead of job events

Waiting for jobs allows us to catch run failures, but we are unable to detect crashes. By waiting for discoverd services to come up, we'd take care of both scenarios.

For this to work similar to using job events, certain metadata needs to be present in service discovery (e.g. appID & releaseID).
This is ok if containerinit is used to do the heartbeating as it can optionally grab those from the environment variables, but then jobs opting to do their own service registration (e.g. the scheduler), also need to register with this metadata, is that acceptable?

Hmm, what about scheduler/deployer tagging the instances? If we can somehow
make it look up the instances and attach metadata, then the only
requirement we have is that all processes register.
On 16 Feb 2015 12:25, "Lewis Marshall"<EMAIL_ADDRESS>wrote:

For this to work similar to using job events, certain metadata needs to be
present in service discovery (e.g. appID & releaseID).
This is ok if containerinit is used to do the heartbeating as it can
optionally grab those from the environment variables, but then jobs opting
to do their own service registration (e.g. the scheduler
https://github.com/flynn/flynn/blob/master/controller/scheduler/main.go#L51),
also need to register with this metadata, is that acceptable?
—
Reply to this email directly or view it on GitHub
https://github.com/flynn/flynn/issues/849#issuecomment-74455494.

Additionally we can tag the service itself, if tagged, then watch for
service discovery events, else watch for job events.
On 16 Feb 2015 12:29, "Blaž Hrastnik"<EMAIL_ADDRESS>wrote:

Hmm, what about scheduler/deployer tagging the instances? If we can
somehow make it look up the instances and attach metadata, then the only
requirement we have is that all processes register.
On 16 Feb 2015 12:25, "Lewis Marshall"<EMAIL_ADDRESS>wrote:

For this to work similar to using job events, certain metadata needs to
be present in service discovery (e.g. appID & releaseID).
This is ok if containerinit is used to do the heartbeating as it can
optionally grab those from the environment variables, but then jobs opting
to do their own service registration (e.g. the scheduler
https://github.com/flynn/flynn/blob/master/controller/scheduler/main.go#L51),
also need to register with this metadata, is that acceptable?
—
Reply to this email directly or view it on GitHub
https://github.com/flynn/flynn/issues/849#issuecomment-74455494.

@archSeer I opted to automatically add any environment variables starting with FLYNN_ to service metadata, see #1007


fix(backend): cannot delete details and social media of other users

🍰 Pullrequest
(While I was working on #2572, I stumbled upon this.)
There was no check if the details and social media I request to delete are actually mine.

Sorry false alarm ;)


refactor: from < genesis allowed in getBlocks

Fixes #411

renamed getL2Blocks in archiver as getBlocks to make it consistent with the naming in AztecNode interface.
removed the getBlocksLength function from archiver interface. It's redundant because getBlockNumber can be used instead.

Checklist:
Remove the checklist to signal you've completed it. Enable auto-merge if the PR is ready to merge.

[ ] If the pull request requires a cryptography review (e.g. cryptographic algorithm implementations) I have added the 'crypto' tag.
[ ] I have reviewed my diff in github, line by line and removed unexpected formatting changes, testing logs, or commented-out code.
[ ] Every change is related to the PR description.
[ ] I have linked this pull request to relevant issues (if any exist).

Benchmark results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Values are compared against data from master at commit a3649df0 and shown if the difference exceeds 1%.
L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
8 txs
32 txs
128 txs

l1_rollup_calldata_size_in_bytes
45,444
179,588
716,132

l1_rollup_calldata_gas
222,972
868,160
3,449,504

l1_rollup_execution_gas
842,059
3,595,268
22,204,873

l2_block_processing_time_in_ms
1,036
3,940
15,532 (-1%)

note_successful_decrypting_time_in_ms
327 (-2%)
1,010 (-2%)
3,739 (-2%)

note_trial_decrypting_time_in_ms
:warning: 30.0 (-14%)
108
138 (-1%)

l2_block_building_time_in_ms
8,992
36,034
150,859 (-1%)

l2_block_rollup_simulation_time_in_ms
6,662
26,732
106,119

l2_block_public_tx_process_time_in_ms
2,287 (-1%)
9,177 (-1%)
44,271 (-2%)

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 16 txs.

Metric
5 blocks
10 blocks

node_history_sync_time_in_ms
14,449 (+1%)
31,702 (+1%)

note_history_successful_decrypting_time_in_ms
2,344
4,741

note_history_trial_decrypting_time_in_ms
122 (+1%)
148

node_database_size_in_bytes
1,647,064
1,190,021

pxe_database_size_in_bytes
27,188
54,187

Circuits stats
Stats on running time and I/O sizes collected for every circuit run across all benchmarks.

Circuit
circuit_simulation_time_in_ms
circuit_input_size_in_bytes
circuit_output_size_in_bytes

private-kernel-init
44.0
56,577
14,745

private-kernel-ordering
21.4
20,137
8,089

base-rollup
854
631,605
811

root-rollup
38.1 (+1%)
4,072
1,097

private-kernel-inner
36.2
72,288
14,745

public-kernel-private-input
47.5 (+1%)
37,359
14,745

public-kernel-non-first-iteration
28.2
37,401
14,745

merge-rollup
0.899 (+2%)
2,592
873


Localizing the navigation?

Hallo,
how can I localize the navigation of the AppSidebarNav? I tried two approaches, but both failed:

Create a new navigation-array. Through the data binding, this should fully replace all existing navigation items in the UI - but that's not the case: the new items are added to the existing items.
Update the "name"-property of the existing navigation items in the array. This works for regular navigation items, but not for titles: the titles keep their previous text.

Hi @blissi
navItems array is located here:
https://github.com/coreui/coreui-free-angular-admin-template/blob/master/src/app/_nav.ts

@xidedix  oh sorry, I didn't explain it well enough what I am trying to do...I have a language toggle in my application that allows the user to update the current language on-the-fly. That works fine for the rest of my app, but I couldn't get the navigation to work properly. I tried the two approaches that I described in my first post.

@blissi I have the same problem trying to update the navigation menu dynamically. My use case is that my menu items come from the server. So based on the content I am viewing, the menu may be different.
Been watching for update on this since you posted this. By any chance, have you found a work around for this?

@blissi Spent sometime on the codes. Found what may be wrong. The host replacement routine Replace is messing this up for the app-sidebar-nav-item component or so. It works as expected on my project now. Thought I should share it with you. I'd do a pull request so you could check it.

@burntblark  Thanks that you shared your changes with me. It doesn't work, though: when the user switches the language, the regular navigation items change their text, but the title items don't do (as a side note: I implemented language switch with my second approach - that is, the navigation items in _nav.ts are patched, no new navigation structure created).

Hi everyone! I'm trying to update the navigation menu dynamically but it doesn't work. Menu data comes from server.  Everytime that the application received the new menu data, the component adds the new menu after the old. How can I fix this? Thanks!
-- core ui versions:
"@coreui/angular": "^2.0.0-rc.1",
"@coreui/coreui": "^2.0.2",

Hi!
I am experiencing the same problem. I managed to solve the i18n of items by adding a key property to the _nav.ts, on which the name property will be filled when changing languages. However, as others said, the titles remain the same - that's because these items got created once on init in AppSidebarNavTitleComponent. An OnChanges-type check and reloading / re-rendering would be nice!

+1

What I did for the duplicate issue was create my own components locally. See https://gist.github.com/Azuka/b4837da81614826e655c60dcdbf3d40b. I haven't seen any issues so far. It seems to have something to do with multiple elements in a template with ngFor.

Hallo,
how can I localize the navigation of the AppSidebarNav? I tried two approaches, but both failed:

Create a new navigation-array. Through the data binding, this should fully replace all existing navigation items in the UI - but that's not the case: the new items are added to the existing items.
Update the "name"-property of the existing navigation items in the array. This works for regular navigation items, but not for titles: the titles keep their previous text.

For the titles,
Here's a simple reproduction.
src/app/app.component.html
<app-sidebar-nav [navItems]="navItems"></app-sidebar-nav>
src/app/app.component.ts
import {Component, OnInit} from '@angular/core';

@Component({
    selector: 'app-root',
    templateUrl: './app.component.html',
    styleUrls: ['./app.component.css']
})
export class AppComponent implements OnInit {
    title = 'app';
    navItems = [
        {
            title: true,
            name: 'Transactions'
        },
        {
            name: 'List',
            url: 'users/list',
            // icon: 'icon-list'
        }
    ];

    ngOnInit(): void {
        let cnt = 0;
        setInterval(() => {
            cnt++;
            this.navItems[0].name = '' + cnt;
            this.navItems[1].name = '' + cnt;
        }, 1000);
    }

}

src/app/app.module.ts
import {BrowserModule} from '@angular/platform-browser';
import {NgModule} from '@angular/core';

import {AppComponent} from './app.component';
import {AppSidebarModule} from '../../projects/coreui/angular/src/lib/sidebar';
import {RouterModule} from '@angular/router';

@NgModule({
    declarations: [
        AppComponent
    ],
    imports: [
        BrowserModule,
        AppSidebarModule,
        RouterModule.forRoot([])
    ],
    providers: [],
    bootstrap: [AppComponent]
})
export class AppModule {
}

It's likely because of the AppSidebarNavTitleComponent using a simple property assignment instead of an angular template without property change detection.
const name = this.renderer.createText(this.title.name);

For those whom may concern, it may be an ugly fix
import {Component, OnInit} from '@angular/core';

@Component({
    selector: 'app-root',
    templateUrl: './app.component.html',
    styleUrls: ['./app.component.css']
})
export class AppComponent implements OnInit {
    title = 'app';
    navItems = [
        {
            title: true,
            name: 'Transactions',
            class: 'nav-transactions-title'
        },
        {
            name: 'List',
            url: 'users/list'
        }
    ];

    ngOnInit(): void {
        let cnt = 0;
        setInterval(() => {
            cnt++;
            this.navItems[0].name = '' + cnt;
            this.navItems[1].name = '' + cnt;

            document.getElementsByClassName('nav-transactions-title').item(0).innerHTML = this.navItems[0].name;
        }, 1000);
    }
}

Directly update the content by dom method.

I have the same problem.
Only solved with DOM manipulation
in *.component.html
... ... (click)="transalteTo('ru') ...>Русский ... (click)="transalteTo('de') ...>Deutsh ... (click)="transalteTo('en') ...>English
in *.component.ts
`
translateTo(language:string):void {
console.log('switch to: ' + language);
...translateService.use(language)...

// as an example, we change only the first menu item
var menu:Element = document.getElementsByTagName('app-sidebar-nav-link').item(0);
const menuTextOriginalHTML = menu.innerHTML;
console.log(menuTextOriginalHTML); // see original HTML

// set new i18n value
menu.innerHTML = `    ### HERE i18n VALUE  ###  `;
...

}
`
For a change, all menu items use foreach(){...}


Add utterance scores to returned RouteChoice

For debugging and downstream data / visualizing purposes it may be useful for people to see what similarities were found between a query and the indexed utterances.

Hello, we tried to solve the issue.
This is what we did:
Implemented a new method _calculate_similarities to compute similarities between query and indexed utterances. Modified the route method to include similarity information in the output. This change allows users to see the similarities found between a query and the indexed utterances for debugging and visualization purposes.
You can review changes in this commit: https://github.com/mnmnk43434/aurelio-labs-semantic-router-479/commit/0d97d5e418081a205a7a61e6663449cc5b0494cb.

[!CAUTION]
Disclaimer: The concept of solution was created by AI and you should never copy paste this code before you check the correctness of generated code. Solution might not be complete, you should use this code as an inspiration only.

If you no longer want Latta AI to attempt solving issues on your repository, you can block this account.


⚠ Secret Website 3 has degraded performance

In 0ddfbce, Secret Website 3 ($SECRET_WEBSITE_3) experienced degraded performance:

HTTP code: 200
Response time: 24523 ms

Resolved: Secret Website 3 performance has improved in 0b20295.


remove not used build steps

{"response": [{"details": "Findings:\n\n- Potential security vulnerability: The code uses exec() to execute a system command without sanitizing the input. This could allow an attacker to execute arbitrary commands on the server.\n- Hard-coded credentials: The code hard-codes the database credentials in the script. This is a security risk, as the credentials could be easily compromised.\n- Lack of error handling: The code does not handle errors that may occur during the execution of the exec() command. This could lead to unexpected behavior or even a server crash.\n- Use of deprecated functions: The code uses the deprecated mysql_connect() function. It is recommended to use the newer mysqli_connect() function instead.\n- Lack of input validation: The code does not validate the input provided by the user. This could lead to unexpected behavior or even a server crash.\n- Use of global variables: The code uses global variables, which can lead to unexpected behavior and make the code difficult to maintain.\n- Lack of documentation: The code lacks documentation, which makes it difficult to understand and maintain.\n\nRecommendations:\n\n- Use a secure method to execute system commands, such as escapeshellcmd() or escapeshellarg().\n- Store credentials securely, such as in an environment variable or a configuration file.\n- Handle errors properly using try/catch blocks or error codes.\n- Use the newer mysqli_connect() function instead of mysql_connect().\n- Validate user input to prevent unexpected behavior or server crashes.\n- Avoid using global variables.\n- Document the code to make it easier to understand and maintain."}]}


Lack of babel version causes version conflict

Describe the error/difficulties:
The client runs wrong becuse there's no babel or its related dependent packages in your package.json,  like @babel/core, babel-loader. It causes errors and interrupted the running process.
What have you done:
I've tried to yarn add these required babel package, but it seems the latest version is not compatible with your project. Then I tried  yarn remove  these packages, rm -rf package-lock.json node-modules and install a lower version of babel-loader, the problem is still there.
What it supports to do?
Please specify your babel version and add them to your package.json.

I did this,
yarn add -D babel-loader@5
then npm run dev in client directory seems to work well.
Still exploring though

Thank you but it seems another problem. I ran the client and server locally and successfully but the http://localhost:3000 page is empty. There's an error on this page.

I checked the dependence and React is installed.

I will take a look this week and fix it

You can add this code to the plugins section in webpack.common.js and it will work :
   new webpack.ProvidePlugin({       "React": "react",    }),

Thank you but it seems another problem. I ran the client and server locally and successfully but the http://localhost:3000 page is empty. There's an error on this page.   I checked the dependence and React is installed.

I am having this issue any solutions?


Regenerate AndroidDeviceProvisioning client

This PR was generated using Autosynth. :rainbow:
Here's the log from Synthtool:
synthtool > Executing /tmpfs/src/git/autosynth/working_repo/synth.py.
synthtool > Cloning https://github.com/googleapis/elixir-google-api.git.
synthtool > Running: docker run --rm -v/home/kbuilder/.cache/synthtool/elixir-google-api:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace gcr.io/cloud-devrel-public-resources/elixir16 scripts/generate_client.sh AndroidDeviceProvisioning
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "/tmpfs/src/git/autosynth/env/lib/python3.6/site-packages/synthtool/metadata.py", line 63, in write
    with open(outfile, "w") as fh:
FileNotFoundError: [Errno 2] No such file or directory: 'clients/AndroidDeviceProvisioning/synth.metadata'

Closing and letting it regenerate. This change deletes a call from a GA proto which seems wrong.


Conformance tests

We have a spec that has requirements for implementations. It would be nice to have a test suite that could be used to judge if an implementation is compatible with the specification.
The conformance tests should:

have an assertion to cover each MUST, MUST NOT, etc in the spec that will fail the suite if the assertion fails
have an assertion to cover each SHOULD, SHOULD NOT, etc in the spec, but do not fail the suite if the assertion fails
have a negative test to cover each MAY, RECOMMENDED, etc in the spec, but do not fail the suite if the assertion fails
make no assumptions as to ambiguities in the spec (those should be files as issues against the spec)
make no assumptions as to the internals of the implementation, only the spec defined interfaces should be tested
have minimal prerequisites (ideally none) other than a service binding implementation running in a cluster
remove any state they add to the cluster during the tests

Initially, we should focus on the core specification. Spec extensions should discrete conformance tests that can be run independently.

Community to check whether there's guidance or requirements from a SIG perspective on conformance test suites.


[AMBARI-23415] Remove unwanted trailing slash at the end of hbase_pid…

…_dir path in ams-hbase-env
What changes were proposed in this pull request?
While starting the AMS collector we can see that it has two slash in the PID file path
/var/run/ambari-metrics-collector//hbase-ams-regionserver.pid
/var/run/ambari-metrics-collector//hbase-ams-master.pid
It  does not look good and seems error prone. It should be removed.
How was this patch tested?
Tested the fix manually.
Build was successful.

retest this please

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/1865/
Test PASSed.