Investigate dev-ify story

Azdev-ify journey
Step 1 - Exploration/initialization

[x] Azdev-ify blog series (@puicchan)
- https://aka.ms/azure-dev/azdevifyblog
- https://aka.ms/azure-dev/azdevifyblog2
[ ] Learn.microsoft.com Training modules for azdev-ify (based on Azdev-ify blog series)
[ ] Explore CodeTour for azdev-ify (@puicchan)
[x] I should not need to provide Azure specific information while still exploring. Related https://github.com/Azure/azure-dev/issues/112
[ ] I want azd to scaffold files like GitHub/AzDo files for me. Related: #135 )

Step 2 - Set up IaC files

[ ] I want to be able to easily reuse Todo sample templates IaC files in Todo. Related: various simplification/reorg of /core; https://github.com/Azure/azure-dev/issues/751

Step 3 - Tie everything together

[x] Document azure.yaml in Dev Hub (https://learn.microsoft.com/en-us/azure/developer/azure-developer-cli/azd-schema)
[ ] Instrumenting my app should be easier; related: https://github.com/Azure/azure-dev/issues/355
[ ] Make tasks.json/launch.json more generic for easy re-use: https://github.com/Azure/azure-dev/issues/1169

Step 4 - Test and debug

[ ] I want to be able to run a command to validate Bicep and azd convention and know what I need to do next to fix my issue(s) (https://github.com/Azure/azure-dev/issues/1044)

Step 5 - azd provision and deploy

@puicchan Is this just moving to the next iteration? Or do you have another item you are using to track your work? Any updates?

Yup. I've moved it.

Re. CodeTours, I have a prototype linked in #362 (for template orientation and an overview of IaC). Check it out.

Going to move this out of Germanium since it's an epic that will not get completed in full during that semester.
We will pull in necessary sub issues though!

Closing this in favor of composability.


feat: allow extra tools on custom homepage card

Thanks a lot for this plugin! I like it a lot and am busy convincing my team we need this one in our backstage.
My feature request is that I added a custom tool to the toolbox and would like to be able to use it on the homepage via your plugin.
Happy to give this a try if you think this is feasible.

It makes a lot of sense, only problem is that there is no way to pass the extra tools through cardExtension in plugin.ts. Have to see if there's some workaround for this.

hmm yeah that seems tricky indeed... dynamically loading components is hard to get right from my experience indeed.
as an FYI; I'm not in need of this feature so much anymore 😅 but that does not mean it cannot benefit others of course.

FYI, I opened up a slightly different issue which might be a stopgap solution to this. It requires forking/ building your own homepage however.
https://github.com/drodil/backstage-plugin-toolbox/issues/86


[SMALLFIX] Master side loc port fix

Since the port logic was fixed in #1117 the corresponding logic in the master should also be updated for locations obtained from the ufs.

+1 LGTM

LGTM

Please add unit test for this if applicable.


Redirect search to v2 endpoints and deprecate v1 endpooint support.

Don't merge this till the new API has been deployed
This PR removes support for the Matchlight V1 endpoints per Issue #3.
Specifically, it updates the conn.search method to user the new v2/ubersearch endpoint instead of the old v1/search endpoint. The V1 endpoint will be deprecated at the same time as this release and all v1 calls will returns a HTTP 301 status code.
The v1/search and v2/ubersearch endpoints won't return the same results because ubersearch ignores date when deduplicating, only returning the oldest match. However, the response format has been preserved and should be transparent to the end user:
[{'score': 800,
  'ts': datetime.datetime(2016, 3, 31, 3, 10, 23),
  'url': u'http://blog.csdn.net/testing_is_believing/article/details/12352209#comments'},

  ...

 {'score': 800,
  'ts': datetime.datetime(2016, 9, 2, 2, 3, 37),
  'url': u'https://mobilesecuritywiki.com/'}]

Running the patched SDK code against the API QA server with the deprecation code produced the same result as querying the QA UI deployment directly (except for some expected deduping by the UI, the JSON response matches). The same was also true against the staging server.

Coverage increased (+0.5%) to 84.342% when pulling 805a4543aa3cfe0487c0c5eb0ffba74fee5c29d0 on remove-v1-endpoints into e9a160b582112fb06774aa6a636770f69fa1d8e6 on master.

Coverage increased (+0.4%) to 84.294% when pulling 0a7b2b921acd172a11282abffb03d6512478be0a on remove-v1-endpoints into e9a160b582112fb06774aa6a636770f69fa1d8e6 on master.

Coverage increased (+0.4%) to 84.294% when pulling 31e27ca799eaab087a0df4ce5b5c31c33ee60513 on remove-v1-endpoints into e9a160b582112fb06774aa6a636770f69fa1d8e6 on master.


First rendering

This pull request implements some features from Issue #36, namely the interactive colouring (font color, background color).
Starting the application llassetgen-rendering, you shoud see something like this (different colours).

Why did I separately write the classes Window and WindowQt, instead of merging them into one?
That's because glbinding is not compatible with gl.h, which might get included by some Qt-classes. Merging Window and WindowQt throws the error "glbinding is not compatible with gl.h" located in glbinding/nogl.h. To fix this, the GL-rendering we separate the gl from the Qt using those 2 classes, which is encouraged by glbinding authors.
HELP WANTED: Please tell me if the shaders and the fontatlas are loaded from the correct path on other OS (file structure might be different).
WIP: fix CI dependencies.

@scheibel
Travis can't build on Mac OS because homebrew installs globjects v1 instead of v2.
apt get on linux installs v2.
Appveyour can't build on windows because there is no NuGet nor Chocolatey for glbinding and globjects.
Independently from that, I'd appreciate reviews for this PR.

@scheibel @cgcostume You can start reviewing. The WIP only applies for the Appveyor dependencies.

Re: help wanted: I figure that also depends on where your IDE places the executable. Clion keeps it in openll-asset-generator/cmake-build-debug, so I have to delete one ../ from every path to make it work.

Thanks, that's good to know! I'll try to find a better way for loading files, but that wil be another PR. Hopefully, I won't need it, since loading from files should be done by our image class.

Changed near plane from 0.1 to 0.0001 as @Blaidd-Drwg requested in an extern conversation.


[WIP] Add generation test

I hacked in a test to check generation. Right now it just tests WaveNetModel.predict_proba(), not yet WaveNetModel.predict_prob_incremental(). I duplicated a bit of code from generate.py to do it; it's a bit ugly.
The only idea I came up with was to check that the power spectrum of the generated waveform matches what we trained it on. So the training signal looks like this:

with peaks at the three frequencies we expect.
A successfully generated waveform looks like this:

So the test just adds up the power in generated waveform's spectrum, and asserts that at least 90% of it is at those three frequencies.
I had to train longer to get good results, and generation takes a while. I'm afraid our CI test is getting prohibitively-long. Takes a couple minutes even on the GPU. Afraid to see how long it takes on the CI server.
Is this reasonable approach? Suggestions?
And just for fun, this is what our training signal sounds like.

This is really clever.
Maybe we can get it to converge faster by increasing the learning rate.

I spent a fair bit of time tweaking learning rates, sizes of the dilation stacks, momentum, optimizer & cetera trying to reduce training time. Which is not to say what you suggest isn't possible. But the CI server tests only took about 16 minutes. I don't see that as prohibitive. It's not as bad as I feared.

I added testing of fast generation. Cleaned up a smidge. I think something that doesn't duplicate some code from generate.py would require some refactoring of code in generate.py that can be called from test_model.py.
I didn't hear any howls of protest, so I'll remove WIP.

Setting the right frequencies for the sinusoids can get rid of the leak to neighboring bins, and we could then tighten that threshold. I believe the frequencies must be set so that the length of the signal is a multiple of the period.

So, f_n = n / SAMPLE_DURATION, and no need to use the sampling rate, just use 1, 2, 3, ... as time. And I'd suggest using cos for all of them, it's more standard (the phase in the FFT is then 0 for all sinusoids). We can also change the relative phase in some of them in a more difficult test case.

We could maybe move the synthesis and FFT-based evaluation to a separate file, so that test_model.py only tests the network. It's growing a bit long. We could also have a test_model_base.py, and then define all the subclasses (biases, different settings, etc) in a separate file.

As mentioned in #141 sometimes the error is small but it's there, so we need to be strict.
I would also test using the power in dB, rather than in linear units. In that case, rather than squaring it just use 20 * np.log10(np.abs...

As mentioned in #141 sometimes the error is small but it's there, so we need to be strict.

I got the impression in 141 that training may have just stopped at 4K iterations, as he said he used defaults. So it wasn't perfect yet. The wave file posted sounded to me like it learned the waveform. I don't agree that 141 identifies any kind of bug that this test should detect. This test was originally designed as a smoke test that we can create a model, train, and learn. You pointed out it we needed to close-the-loop by checking that we generate from the trained model. With this PR, it does that too.
Since the purpose is to check for bugs, not to demonstrate hyper-fidelity in a trained model, I think we do not want to be "strict".
As for your other refinements, can those not come along in a future refactoring, when someone thinks they are the best use of his time? They sound like a large investment of time for possibly-arguable stylistic benefit. I'd rather have slightly less-than-optimal-test than no test at all.

Yes, I agree it's better to have this as soon as possible to increase code coverage in the tests. Let's merge it as-is. Can you fix the conflict with the RMSProp?

Oops I didn't notice the conflicting file; thanks for the pointer.

Oops wait, I just fixed the conflicts. Must be from that last merge.

 That commit was yours, but since it re-writes them maybe it didn't pick it up -- or you don't have it merged on your fork..

Thanks for the pointers. This stuff is too complicated for my simple mind. I'll work it out eventually.

Okay, this looks good :)


Does not work for game She Will Punish Them

UtinyRipper will not extract any assets from the game She Will Punish Them which is built with Unity 2020.1.17. The output area of the application window displays the message "Import [Warning]: No game files found"

uTinyRipper does not support 2020+

Support for Unity versions up to 2020.2.0 has been recently added to my AssetRipper fork.


[gpu][spark-rapids] Fix MIG script

Resolves #1259
This PR updates the MIG script to align the driver installation steps with those in spark-rapids.sh.

Hey @cjac, I can't add you as a reviewer for this PR. Could you please take a look? Thanks!
This PR was tested for NVIDIA/spark-rapids#11675.

I want to create a template system so that we don't have to keep these functions synchronized manually.
A job for another day.

That day is today.  Please take a look at #1282

That day is today. Please take a look at #1282

Thanks for sharing! I'm currently traveling, I'll get to it as soon as I can.


Fixes Grape metrics with a default extension.

Starting with Grape 0.12.0 an API with a single format no longer declares methods with (.:format), but with, for example, (.json). NewRelic instrumentation failed to strip the extension from the transaction name.
Added newer grape versions to the multiverse tests.

Spec failures don't seem to be related to this change.

Hi @dblock, thanks for the contribution! Our next release is around the corner and contains some important fixes we want to get merged before we pull this in, but we will take a look at it ASAP after we get that out the door. It'll also address the Travis issues and allow us to get a clean bill of health on your PR :)

:+1: @tkrajcar LMK when I can rebase for something :green_apple:

@dblock Just pushed <IP_ADDRESS>2 onto master, if you can throw down a rebase we'll get this looked at! Thank you!

Rebased. Travis is being slow today but this will run.

The build failures here don't seem to have anything to do with this code. Some Ruby 1.8.7 still around ...

@dblock, Yeah, Rails <IP_ADDRESS> doesn't support 1.8.7 :( It's a regression that's being fixed with a new release. We'll still be able to pull this in and check it out, don't worry!

@dblock I'm pulling this into our internal repo, though the PR will stay open here until it's released. Thanks for the contribution!

This PR was merged and released in <IP_ADDRESS>4 this morning. Thanks @dblock for the contribution!


WIP - Bug 1765294: Investigate token secret delete flake

is there any sort of relist/reconcile logic in this controller to handle the case where the controller was down when the delete event happened?
seems like it needs to list all the docker secrets + tokens and make sure there is still a 1:1 correlation and delete any that aren't paired(but have a reference indicating they should be paired)

@bparees as far as I can tell there is no "full reconcile" logic. I expect there to be one for the dockercfg secrets, since these shouldn't exist without the token secret.

/test e2e-gcp

/test e2e-aws

/retest


Project Creator Target IDE is locked to Eclipse IDE

When you select Create Project to launch the Project Creator tool, after picking the BSP, the Select Application page shows Eclipse as the Target IDE, and it cannot be changed:

This is expected when launching from Eclipse, but not from VS Code.

This is unfortunately a limitation of our ProjectCreator.  I will get this fixed in ModusToolbox 3.1, but I cannot get the behavior I want from the Project Creator in terms of telling an IDE what was created and automatically closing without setting this to Eclipse.  It will be confusing and I wish our development teams had a little more foresight on these kinds of issues.

With the release of ModusToolbox 3.1, this issue is fixed when ModusToolbox 3.1 is found.  The IDE is locked to Microsoft Visual Studio Code.


Restore missing session token variable for aws credentials

Simple fix to restore the AWS_SESSION_TOKEN functionality for aws credentials.

@kylewuolle This probably won't work with normal credentials - when you have AWS_SESSION_TOKEN empty, since controller will assume that you have AWS_SESSION_TOKEN and it's empty - which is incorrect credentials.
Please recheck


Fix the specificity of form elements

Is a little hard to overwrite form styles, because the default rules have priority.

Perhaps a lot of the styles could be removed. But those kind of changes means a new version of Concise CSS:


add admin link to toolbar when logged in

Resolves #77
I'm not super familiar with Vue and wanted to start with something simple, so here's a quick fix to the toolbar that adds a link pointing to the admin dashboard when you're logged in.
How to test
You should be able to check if you log in as admin and click the toolbar expander.
Screenshots
I checked the readme, but I couldn't find any instructions on how to try logging into admin locally without a working Firebase API key; probably unnecessary, but it might be helpful to be able to mock the API calls. Please take this PR as submission for permission to help develop 🙇🏻
Here's a screenshot of the button setup to only work when you're logged out, though:

If there's a preference for another icon then I can switch it out. I just went with something that looked admin-ey 🤔
(as an aside, it seems the only indication that you failed login is in the console, which is probably good enough but it'd be nice if there was an alert of some kind)
Also, today I learned that the array flattening method in vanilla JS is just called flat().

Ah, yeah it occurred to me after implementing it that maybe logout should
come after the dashboard link... Whichever way, I can adjust it tomorrow
morning!
On Mon, Jun 21, 2021, 23:02 Philip Ermish @.***> wrote:

@Ermish approved this pull request.
LGTM!
@theyokohamalife https://github.com/theyokohamalife do you have a
preference on the order of the login, and dashboard buttons?
I often see the login/out as last in the list and then the dashboard as
the first. 🤔
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ourjapanlife/findadoc-frontend/pull/92#pullrequestreview-688460418,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAO2UESYP5MYYFPLIZNF7FLTT5A57ANCNFSM47BQ5G7A
.

Fixed the order!

Is there anything else that is needed here? @theyokohamalife


Need review for g-drive integration

@smaranjitghose please tell me that how could I generate the URL of the downloaded image so that it will automatically save to drive

@smaranjitghose please tell me that how could I generate the URL of the downloaded image so that it will automatically save to drive

Please spend some time on stackoverflow, reading some blogs before shooting the queries. I just gave a feedback on this a few hours ago

Add this to the navbar

okay

okay

@himanshujaidka  go through this link
https://developers.google.com/drive/api/v3/quickstart/js


Feature/queue arguments

Add option to pass $Arguments as a dictionary to set queue arguments

?

Hey @RamblingCookieMonster , could you please review my other PR https://github.com/RamblingCookieMonster/PSRabbitMq/pull/32 ?
Thanks in advance. Sorry for addressing you here, I don't have any other way 😅


stm32h7x3: RCC definitions and patches

CFGR: rename fields MCOxSEL to MCOx to agree with RM
BDCR: rename field VSWRST to BDRST to agree with RM. Rename RTCSRC to RTCSEL.
CRRCR: rename RC48CAL to HSI48CAL
rename RC48 to HSI48 in CR, CRRCR, CIER, CIFR and CICR
PLL1DIVR: enumerate all even division ratios for DIVP1. The RM says
"Note that odd division factors are not allowed." Perhaps a little
excessive
DxCCIPR: rename *SRC fields to *SEL to agree with RM
APB1LRSTR: rename HDMICECRST to CECRST. APB1L(LP)ENR: rename
HDMICECEN to CECEN.
AHB1(LP)ENR: rename USBxOTG(LP)EN to USBxOTGHS(LP)EN. rename
USBxULPI(LP)EN to USBxOTGHSULPI(LP)EN.
AHB1ENR: move USB2OTGHSULPIEN to bit 18 from 28
AHB2(LP)ENR: rename CAMITF to DCMI
AHB3LPENR: rename FLITF to FLASH
Optional patch to add HSICFGR/CSICFGR for Revision V
devices. Available devices appear to be Revsion Y, so this is
commented out

Written against RM0433 Rev 6 04-Apr-2019

I won't have time to review this fully until sunday/monday but as a very quick comment, patches that "fix" the SVD (i.e. use _add/_modify/_delete to update register/field names etc) should go in the devices/ hierarchy (either in the device-specific YAML file, or broken out into devices/common_patches/ files and included); the peripherals/ files should more or less only contain field variants (enumerated values) or ranges (write constraints).

That comment makes perfect sense. In that case the peripherals/ files will apply cleanly in to future SVDs that describe the same hardware. Most of the "fixes" here are specific to the h7 (for now at least), so should move to devices/stm32h7x3.yaml
I'll squash some commits onto this one to fix.

I had a look at the new SVD package for H7 (v1.4 released 2019-04-30). That has a bunch of your RCC changes implemented, many of the _strip actions, and also a lot of the ethernet stuff that was added from scratch. Maybe we should land that. I'll post a PR (WIP currently).

No objections to merging upstream SVD instead if the regressions against other peripherals can be cleaned up. I didn't see v1.4 and certainly wasn't going to attempt an SVD update in my first PR!

Perfect, I've fixed those points. The _strips should have gone in the merge with #208


A more accurate(?) readme

Don't hide stuff from people.  Users are capable of making informed choices.  Trust is more easily lost than earned.
addresses issues #313 and #682
Description
Removes misleading statements. Set user expectations to be more accurate.
Issues Resolved
Relevant discussions #313 and #682
Check List

[ ] New functionality includes tests
[ ] All tests pass
[ ] RELEASE_NOTES.md has been updated if required (not required for bugfixes, required for API changes)
[ ] All commits have been signed-off for the Developer Certificate of Origin. See https://github.com/chef/chef/blob/master/CONTRIBUTING.md#developer-certification-of-origin-dco

Great to see you've adopted the DCO.
I don't believe a DCO is required for this change.  Rather, it most likely falls under the obvious fix rule.

Sorry for your troubles with Chef-DK, however this Pull Request is not constructive. If you've got questions about Chef you can ask in our community Slack team or mailing list.

Closing this out as we're going to remove the embedded bin path in the upcoming 2.0 release


Fix base image for stripping not found

When trying to build the keywriter package (#195) for testing on my server (since my internet at home for some reason takes ages to pull new images), I encountered the following error:

The error seems to be that the image was specified without an version and the default ("latest") is not used by us and was not found.
@Eeems @matteodelabre This for now just assumed a version, but we should consider using taking the version part of the already specified image or something else to keep that hidden part in the code somehow up to date.
I'll use this version for building keywriter for now, but I guess this should not be the final fix.

Since all images contain the build tools, we could simply use the image specified in each recipe (i.e. "$image" instead of base:v1.2.2), just like in the line for building the package:
https://github.com/toltec-dev/toltec/blob/7569ea6f48c94097237637a2197b5ad6715af1ac/scripts/package-build#L115

Since all images contain the build tools, we could simply use the image specified in each recipe (i.e. "$image" instead of base:v1.2.2), just like in the line for building the package:
https://github.com/toltec-dev/toltec/blob/7569ea6f48c94097237637a2197b5ad6715af1ac/scripts/package-build#L115

By the way, we can replace arm-linux-gnueabihf-strip with ${CROSS_COMPILE}strip to make it easier to change the cross-compiler name in the future. The CROSS_COMPILE var is defined for all toolchain images.

By the way, we can replace arm-linux-gnueabihf-strip with ${CROSS_COMPILE}strip to make it easier to change the cross-compiler name in the future. The CROSS_COMPILE var is defined for all toolchain images.

Thanks, was searching for the button. Best hidden button on GitHub. :laughing:
For reviewing, I guess just building any package that has at least one binary should do.

Thanks, was searching for the button. Best hidden button on GitHub. :laughing:
For reviewing, I guess just building any package that has at least one binary should do.

Btw do we also have declarations of $CC, $STRIP, $LD and such? I think they could be helpful.

@LinusCDE Good idea. They are not defined in the toolchain currently. Could you open an issue on the toolchain repo about that, please?

Btw do we also have declarations of $CC, $STRIP, $LD and such? I think they could be helpful.

@LinusCDE Good idea. They are not defined in the toolchain currently. Could you open an issue on the toolchain repo about that, please?

Done: https://github.com/toltec-dev/toolchain/pull/5

Done: https://github.com/toltec-dev/toolchain/pull/5


feat: Add option for user to take loan to a someone and repay another…

… positions loan

looks good for me


Hero news only: primary tag = placeholder instead of tag

Label: SAP News Center
Link: sap.com/news
Styling like any other tag

Fixed with #541


Can't export

This component is missing the export option...

this.$refs.avatar.$el.outerHTML
Obviously put ref="avatar" on your component


more prep work for #566

Codecov Report

Merging #716 into master will increase coverage by 0.07%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master     #716      +/-   ##
==========================================
+ Coverage   87.91%   87.99%   +0.07%
==========================================
  Files          48       48
  Lines        3765     3765
==========================================
+ Hits         3310     3313       +3
+ Misses        455      452       -3

Impacted Files
Coverage Δ

vent/core/rq_worker/watch.py
43.06% <0%> (-2.05%)
:arrow_down:

vent/helpers/meta.py
72.45% <0%> (+1.2%)
:arrow_up:

vent/api/plugins.py
93.22% <0%> (+0.26%)
:arrow_up:

vent/menus/tools.py
88.62% <0%> (+0.59%)
:arrow_up:

vent/api/plugin_helpers.py
81.87% <0%> (+0.6%)
:arrow_up:

Continue to review full report at Codecov.

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


Can I get a total count of messages given a narrow filter?

I am aware of the found_newest value returned by GET /api/v1/messages, which I use in paginating requests to decide whether there are more messages to fetch. However, there are a lot of messages on the server, and I would like to be able to show myself a progress bar so as to estimate the time to complete my fetch of messages. Is there a (perhaps undocumented?) was to get such a count for a narrow filter?

There isn't a way to do this, in that the server doesn't fetch from the database more messages than it needs to return your query (doing otherwise would make the query much slower).
One thing that you could do to hack this would be to fetch the very oldest message in the organization, and the very newest, and then do a progress bar based on what fraction of the ID space you've covered; it wouldn't be super accurate, but would result in a useful progress bar in most cases.
OOC what's the use case you had in mind where you want such a progress bar?

Thanks @timabbott --  that's a great idea with the ID space. My use case is expressed in this gist -- I wanted to get all public-stream messages so that I could use the data to have fun trying to apply PageRank to Zulip entities (e.g. users @-mentioning others).
My initial code was incorrect because I had misunderstood the meaning and usage of the "anchor" key in the API response; it turned out to be re-downloading messages again and again, which I misinterpreted as there just being a lot (millions!) of messages. I was running it for hours, and I just wanted to know when I might expect it to be done!
Once I figured out my bug, the whole thing took under 15 minutes for me for the Zulip server I was fetching from. I still don't have a progress bar with ETA in the gist I linked to, but your ID-space idea would do the trick.

Cool.  We would like the Zulip python bindings to have a client.get_all_messages(...) method that basically does that loop (taking a narrow as a parameter, which could be the streams:public one that I think your example does).  If you want to polish your gist and submit it as a PR for that purpose, we can try to merge it as the official implementation.

Also worth noting that https://github.com/zulip/zulip-archive has a copy of that loop embedded in it.

Oh wow, I did not think to poke around for something like the zulip-archive repo. I pretty much stuck with poring over https://zulip.com/api/get-messages. It does seem that I re-implemented a slice of populate.py! I just might attempt such a PR...thanks for the invitation!


[Bug]: FQDM and URL environment variables and autogenerate magic are switched up

Description
Coolify used the logic of FQDM for the whole URL like: http://appwrite-vgsco4o.example.com/ and for the URL it is appwrite-vgsco4o.example.com --> This is wrong because the URL is the FQDM and a FQDM has no http or any other protocol. It should be the other way around
Minimal Reproduction (if possible, example repository)

[ ] Switch FQDM to be actually just the domain like so: domain.com
[ ] Switch URL to be the URL with the protocol like so: https://domain.com
-> Currently it is the other way around, which is quite confusing.
A list of things that need to be fixed:
[ ] Auto-generated magic: https://coolify.io/docs/knowledge-base/add-a-service -> Switch URL and FQDN
[ ] Compose files for service need to be adjusted (autogenrate logic)
[ ] Predefined environment variables -> https://coolify.io/docs/knowledge-base/environment-variables#coolify-fqdn -> Here also FQDN needs to be switch with URLs --> URLs gives back all URLs with HTTPs or HTTP with the protocol and the FQDN only the domain with the TLD (eg. .com, .net, .io...)

Exception or Error
No response
Version
v4.0.0-beta.306

See #2443

Duplicated


chore: migrate sobel to glsl 330

this migrates the sobel shader to glsl 330
enable outline and verify that outlines appear correctly in the game.
PR:  https://github.com/Terasology/CoreRendering/pull/45

Outline still seems to work fine:

 OpenGL migrations


[gloo] build failure

Operating system
Linux
Compiler
gcc-12 cuda-12
Steps to reproduce the behavior
`vcpkg install gloo`

Failure logs
Computing installation plan...
The following packages will be built and installed:
gloo:x64-linux@20201203#2
Installing 1/1<EMAIL_ADDRESS>Building<EMAIL_ADDRESS>-- Using cached facebookincubator-gloo-1da21174054eaabbbd189b7f657ea24842d821e2.tar.gz.
-- Extracting source /home/user/Environments/vcpkg/downloads/facebookincubator-gloo-1da21174054eaabbbd189b7f657ea24842d821e2.tar.gz
-- Using source at /home/user/Environments/vcpkg/buildtrees/gloo/src/4842d821e2-089f9c85b8
-- Configuring x64-linux
-- Building x64-linux-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
Command failed: /home/user/Environments/vcpkg/downloads/tools/cmake-3.27.1-linux/cmake-3.27.1-linux-x86_64/bin/cmake --build . --config Debug --target install -- -v -j13
Working Directory: /home/user/Environments/vcpkg/buildtrees/gloo/x64-linux-dbg
See logs for more information:
/home/user/Environments/vcpkg/buildtrees/gloo/install-x64-linux-dbg-out.log
Call Stack (most recent call first):
installed/x64-linux/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74 (vcpkg_execute_build_process)
installed/x64-linux/share/vcpkg-cmake/vcpkg_cmake_install.cmake:16 (vcpkg_cmake_build)
ports/gloo/portfile.cmake:25 (vcpkg_cmake_install)
scripts/ports.cmake:170 (include)
Additional context
install-x64-linux-dbg-out.log
I have tried the solution provided by this link but not work , here is other link might help (but I didn't find the obvious way to solve it) :
<EMAIL_ADDRESS>@https://github.com/facebookincubator/gloo/issues/345
@https://github.com/facebookincubator/gloo/pull/346
@https://github.com/facebookincubator/gloo/commit/10909297fedab0a680799211a299203e53515032

It worked when I installed using gcc-11. When I installed using gcc-12, I got a different error than yours:
[31/37] /usr/bin/c++  -I/mnt/vcpkg/buildtrees/gloo/src/4842d821e2-089f9c85b8.clean -I/mnt/vcpkg/buildtrees/gloo/x64-linux-dbg -fPIC -std=c++11 -fPIC -g -MD -MT gloo/CMakeFiles/gloo.dir/transport/tcp/device.cc.o -MF gloo/CMakeFiles/gloo.dir/transport/tcp/device.cc.o.d -o gloo/CMakeFiles/gloo.dir/transport/tcp/device.cc.o -c /mnt/vcpkg/buildtrees/gloo/src/4842d821e2-089f9c85b8.clean/gloo/transport/tcp/device.cc
FAILED: gloo/CMakeFiles/gloo.dir/transport/tcp/device.cc.o
/usr/bin/c++  -I/mnt/vcpkg/buildtrees/gloo/src/4842d821e2-089f9c85b8.clean -I/mnt/vcpkg/buildtrees/gloo/x64-linux-dbg -fPIC -std=c++11 -fPIC -g -MD -MT gloo/CMakeFiles/gloo.dir/transport/tcp/device.cc.o -MF gloo/CMakeFiles/gloo.dir/transport/tcp/device.cc.o.d -o gloo/CMakeFiles/gloo.dir/transport/tcp/device.cc.o -c /mnt/vcpkg/buildtrees/gloo/src/4842d821e2-089f9c85b8.clean/gloo/transport/tcp/device.cc
/mnt/vcpkg/buildtrees/gloo/src/4842d821e2-089f9c85b8.clean/gloo/transport/tcp/device.cc: In function ‘gloo::transport::tcp::attr gloo::transport::tcp::CreateDeviceAttr(const attr&)’:
/mnt/vcpkg/buildtrees/gloo/src/4842d821e2-089f9c85b8.clean/gloo/transport/tcp/device.cc:151:39: error: aggregate ‘std::array<char, 64> hostname’ has incomplete type and cannot be defined
  151 |       std::array<char, HOST_NAME_MAX> hostname;
      |                                       ^~~~~~~~

Unfortunately, it still doesn't work properly now. This is the new log file I generated when I used vcpkg to compile gloo:
install-x64-linux-dbg-out.log

We cannot repro your issue, but we have found a similar fix upstream. Could you please try to see if it solves your current problem: https://github.com/facebookincubator/gloo/pull/352.

Unfortunately, it still doesn't work properly now. This is the new log file I generated when I used vcpkg to compile gloo: install-x64-linux-dbg-out.log

I cannot reproduce your problem locally. Is the system you are using Ubuntu, Redhat or centos?
You can try using the PR code below to see if it can fix your problem.


Added Content in arrays,numbers,strings in C

🛠 Fixes Issue

👨💻 Changes proposed

✔ Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers

📷 Screenshots

@singhmansi25 @KKhushhalR2405 please review


Add language support for chatting in other languages

People from the community asked for this feature in Discord.

Duplicated unity-renderer#77


Failed to restart test-php-dump: composeCmd failed to run 'COMPOSE_PROJECT_NAME=ddev-test-php-dump docker-compose -f /home/runner/tmp/test-php-dump/.ddev/.ddev-docker-compose-base.yaml -f /home/runner/tmp/test-php-dump/.ddev/docker-compose.php-dumper.yaml config', action='[config]', err='exit status 15', stdout='', stderr='validating /home/runner/tmp/test-php-dump/.ddev/docker-compose.php-dumper.yaml: services.web.extra_hosts array items[0,1] must be unique'
Unable to replicate locally with HEAD because of WSL/Docker Desktop setup

#5 attempts to fi xthis.

Fixed in #5


In the third step of Prepare SUN RGB-D Data, KeyError: 'axis_align_matrix' appears

I followed the data/sunrgbd/README.md file Prepare SUN RGB-D Data, and when I reached the third step "Enter the project root directory, Generate training data by running", I entered the code "python tools/create_data.py sunrgbd" as required --root-path ./data/sunrgbd --out-dir ./data/sunrgbd --extra-tag sunrgbd", it is running normally at the beginning, and the points folder and sunrgbd_infos_train are generated under the data/sunrgbd/ folder. pkl and sunrgbd_infos_val.pkl, but KeyError: 'axis_align_matrix' appears at the end.
Here are some error codes:
val sample_idx: 5047
val sample_idx: 5048
val sample_idx: 5049
val sample_idx: 5050
sunrgbd info val file is saved to ./data/sunrgbd\sunrgbd_infos_val.pkl
./data/sunrgbd\sunrgbd_infos_train.pkl will be modified.
Warning, you may overwrite the original data ./data/sunrgbd\sunrgbd_infos_train.pkl.
Reading from input file: ./data/sunrgbd\sunrgbd_infos_train.pkl.
Start updating:
[ ] 0/5285, elapsed: 0s, ETA:Traceback (most recent call last):
File "tools/create_data.py", line 347, in
sunrgbd_data_prep(
File "tools/create_data.py", line 165, in sunrgbd_data_prep
update_pkl_infos('scannet', out_dir=out_dir, pkl_path=info_train_path)
File "d:\lucien\desktop\projects\mmdetection3d\tools\dataset_converters\update_infos_to_v2.py", line 1139, in update_pkl_infos
update_scannet_infos(pkl_path=pkl_path, out_dir=out_dir)
File "d:\lucien\desktop\projects\mmdetection3d\tools\dataset_converters\update_infos_to_v2.py", line 635, in update_scannet_infos
temp_data_info['axis_align_matrix'] = anns[
KeyError: 'axis_align_matrix'

Suggest you could use the latest code. I could not find this axis_align_matrix in the code related to SUNGRGBD conversion. https://github.com/open-mmlab/mmdetection3d/blob/main/tools/dataset_converters/update_infos_to_v2.py#L678

It will be fixed in #2332


Verify Matt's workflow on UCSD snRNAseq dataset

@jswelling confirmed this was completed. Waiting on confirmation from Harvard that the information displays properly.

Received the software update from Ilan and need to be linked at the end of the pipeline.


Changed × to ×

This makes this great lightbox XHTML compatible (where the entity × is not a valid one).

Thank you, better later than never :smile:

You're welcome.


Boolean(true) and Boolean([true]) should be valid.

Fixes #489
Now Boolean() can take Boolean and Table of Boolean as a valid input.
Changed and added new tests in src/tests/Microsoft.PowerFx.Core.Tests/ExpressionTestCases/Boolean.txt

:heavy_check_mark: No Binary Compatibility issues for Microsoft.PowerFx.Connectors.dll
:heavy_check_mark: No Binary Compatibility issues for Microsoft.PowerFx.Core.dll
:heavy_check_mark: No Binary Compatibility issues for Microsoft.PowerFx.Interpreter.dll
:heavy_check_mark: No Binary Compatibility issues for Microsoft.PowerFx.LanguageServerProtocol.dll
:heavy_check_mark: No Binary Compatibility issues for Microsoft.PowerFx.Transport.Attributes.dll

Error({Kind:ErrorKind.InvalidArgument})

.NET allows this parse. For instance, the following is valid:
var validParse = bool.TryParse("  true", out var result);
validParse is true
result is true
Shouldn't PFx also allows the same parsing?
I know this is not part of your changes but it brought me the question.

Refers to: src/tests/Microsoft.PowerFx.Core.Tests/ExpressionTestCases/Boolean.txt:14 in af0e53b. [](commit_id = af0e53ba008c51643075937eefd2468151f6c15f, deletion_comment = False)

Dont think this has to do with your changes but maybe is worth to ask.
The expression Boolean([1,"True",true]) returns the following:
Table({Value:true},{Value:Error({Kind:ErrorKind.InvalidArgument})},{Value:true})
I'm wondering why "True" in this context is an invalid argument.

Because we are a case sensitive language, only "true" is valid and Not "True".

In reply to:<PHONE_NUMBER>

What about this test case:
>> Boolean(["true", "True", "TRUE", "false", "False", "FALSE"])
Table({Value:true},{Value:true},{Value:true},{Value:false},{Value:false},{Value:false})

There are different cases and none of them is invalid.

In reply to:<PHONE_NUMBER>

I now see what's the issue, Table are always homogenous,
try, [1, "True", true] you'll see it is Table({Value:"True"},{Value:"true"},{Value:"1"}).  Because table will try to coerce everything to number and since string can't be coerced to a number that value is error, it essentially has nothing to do Boolean() in this case.

In reply to:<PHONE_NUMBER>

Error({Kind:ErrorKind.InvalidArgument})

Keep current semantics - they are rationale.
If we do want to change the .txt, we should double check with Greg/Carlos.

In reply to:<PHONE_NUMBER>

Refers to: src/tests/Microsoft.PowerFx.Core.Tests/ExpressionTestCases/Boolean.txt:14 in af0e53b. [](commit_id = af0e53ba008c51643075937eefd2468151f6c15f, deletion_comment = False)

:heavy_check_mark: No Binary Compatibility issues for Microsoft.PowerFx.Connectors.dll
:heavy_check_mark: No Binary Compatibility issues for Microsoft.PowerFx.Core.dll
:heavy_check_mark: No Binary Compatibility issues for Microsoft.PowerFx.Interpreter.dll
:heavy_check_mark: No Binary Compatibility issues for Microsoft.PowerFx.LanguageServerProtocol.dll
:heavy_check_mark: No Binary Compatibility issues for Microsoft.PowerFx.Transport.Attributes.dll

:heavy_check_mark: No Binary Compatibility issues for Microsoft.PowerFx.Connectors.dll
:heavy_check_mark: No Binary Compatibility issues for Microsoft.PowerFx.Core.dll
:heavy_check_mark: No Binary Compatibility issues for Microsoft.PowerFx.Interpreter.dll
:heavy_check_mark: No Binary Compatibility issues for Microsoft.PowerFx.LanguageServerProtocol.dll
:heavy_check_mark: No Binary Compatibility issues for Microsoft.PowerFx.Transport.Attributes.dll

Adding Breaking Internal since we will need to update JS Translator to handle this.
We could do this an IR transform. Practically that would mean:

same test .txt updates
but no changes to library*.cs files - because it's handled in IR.

Closing this in favor of #907


Document use case in order to solve" x509 certificate signed by an unknown authority"

I'm trying to run argo-workflows with sso mode,
When running it with sso mode , the argo-server runs into crashloopback state , the logs of it throws: "x509: certificate signed by unknown authority"
I've found some discussion regarding the same problem here:
https://github.com/argoproj/argo-workflows/issues/4447#issue-735227066
There's a suggetion for workaround to fix it here:
https://github.com/argoproj/argo-workflows/issues/4447#issuecomment-843812532
The workaround basically is to generate ca certs and mount them in the container root ca path,
After some research online , I'm assuming that autocert will be a good way to fix this issue,
So.. as an example for use cases..
and for solving this specific issue..
Can someone please document how to fix this specific issue, using autocert?

The CA certs should be already generated when you installed your SSL certs your OIDC provider. Autocert will not help here because the issue is not with Argo but with the way your provider  is setup.
As an example here is how SSL is enabled on Keycloak: https://www.keycloak.org/docs/latest/server_installation/index.html#_setting_up_ssl

this issue block me for 3 month


how to make testset like lfw.bin, lfw_list.npy, data dir and so on

Hello,
I am studing arcface and I want to test my own dataset.
please how to make test dataset.
thank you for your help.

hello @peteryuX how did you align your test dataset?

Hello @shiney5213 and @HoangTienDuc, nice to hear from you~
Right now, all the testing dataset are collected from https://github.com/ZhaoJ9014/face.evoLVe.PyTorch#Data-Zoo for providing a quick and robust evaluation.
But for your request, I will plan to provide the own testing dataset preparing when I am free.  Before then, you might need to dig into it by yourself. (the original data format: image data scale range are  [-1 ~ 1]. Paired images with equal and not-equal identity label.)

Hello @shiney5213 and @HoangTienDuc, nice to hear from you~ Right now, all the testing dataset are collected from https://github.com/ZhaoJ9014/face.evoLVe.PyTorch#Data-Zoo for providing a quick and robust evaluation. But for your request, I will plan to provide the own testing dataset preparing when I am free. Before then, you might need to dig into it by yourself. (the original data format: image data scale range are [-1 ~ 1]. Paired images with equal and not-equal identity label.)

Hi @peteryuX, now if you have done this, how to make our own custom test data preparing file, can you please share it?
Thanks

@aryachiranjeev For lfw_list explanation refer to https://github.com/leondgarse/Keras_insightface and refer to https://github.com/deepinsight/insightface/issues/791 for creating your own dataset


Allow using sub-fields of Object fields as identifier_field and slug

Is your feature request related to a problem? Please describe.
I have the following field structure:
      - label: English
        name: en
        widget: object
        fields:
          - {label: Title , name: title, widget: string}
          - {label: Body, name: body, widget: markdown}
      - label: Spanish
        name: es
        widget: object
        fields:
          - {label: Title , name: title, widget: string}
          - {label: Body, name: body, widget: markdown}

I'd like to use en.title as the identifier_field (and therefore as the {{slug}}) but doing so breaks publishing (it loads forever and in the JS console I see an error saying that I need a valid title field or a valid field name specified in identifier_field.
Here's the full collection definition I was trying to use:
  - name: "posts"
    identifier_field: "en.title"
    label: "Posts"
    label_singular: "Post"
    folder: "src/pages/posts"
    create: true
    slug: "{{year}}-{{month}}-{{day}}-{{slug}}"
    fields:
      - label: English
        name: en
        widget: object
        fields:
          - {label: Title , name: title, widget: string}
          - {label: Body, name: body, widget: markdown}
      - label: Spanish
        name: es
        widget: object
        fields:
          - {label: Title , name: title, widget: string}
          - {label: Body, name: body, widget: markdown}

Describe the solution you'd like
I'd like to use sub-fields of Object fields as the identifier_field so that slugs can be based on them.
Describe alternatives you've considered
I tried setting slug: "{{en.title}}" and that didn't work either.
As a temporary workaround, I ended up just creating a standalone "Path" field which allows manual setting of the path, so it isn't automatically generated at all.

Agreed, we'd definitely take a PR for this.

Hey @mikecrittenden. Just wanted to note that this issue is also applicable to the summary configuration option.


xx fresh should also remove associated docker volume

sometimes mysql container is getting stuck in "RESTARTING" state due to corrupted docker volume if user flips between different Xest projects.
docker volume rm fixes this

closed by https://github.com/CyprusCodes/xest/commit/f23634d1ab0c940e819556754fa05314e8864892


Landed state not updating in mavlink_messages.cpp

While working on testing using MAVSDK I ran into a problem where the landed state sent via MAVLink telemetry is not up-to-date and made the test fail. Basically on-ground was reported for too long and it didn't switch to takeoff or in-air.
Some debugging showed me that the land_detector was correct and publishing but the result is not picked up in:
https://github.com/PX4/Firmware/blob/7996ee496c5bcc0d4a5e856495a677d8455f2748/src/modules/mavlink/mavlink_messages.cpp#L4431
The update was false, hence not updated.
I assume this is the culprit, right @dagar?
https://github.com/PX4/Firmware/blob/7996ee496c5bcc0d4a5e856495a677d8455f2748/src/modules/uORB/Subscription.cpp#L101
If I change (_last_generation % 100 == 0) to (_last_generation % 1 == 0) it works :smile:.

This might be related to https://github.com/mavlink/MAVSDK/issues/885.

I suppose that's possible with mavlink starting before the land detector. Let's see if that's actually happening here.
The uORB::Subscription optimization was intended to be temporary and replaced with something like a unique identifier per orb topic (index) and a bitset. Basically something that allows for an efficient orb_exists equivalent.

Is this optimization really needed? It seems to bite us quite a bit.

Is this optimization really needed? It seems to bite us quite a bit.

Yes, every module is checking for subscription updates every iteration. We need some mechanism to do this cheaply for topics that don't exist and might never exist. Actual orb_exists calls are pretty expensive.

Try lowering the retry from 100 to 10 and see how it impacts cpu usage (push to a pr-* branch and let the test rack run it).
https://github.com/PX4/Firmware/blob/7996ee496c5bcc0d4a5e856495a677d8455f2748/src/modules/uORB/Subscription.cpp#L101
I'm also thinking about the mavlink startup. For a number of reasons it would probably make sense to start mavlink last, but one major reason to start it earlier would be to get error messages out to the user.
Another idea, update mavlink boot_complete so that it does a pass through List<MavlinkOrbSubscription *> _subscriptions to force subscribe one last time.

It should be publishing continuously at 1 Hz (or immediately on any change).
https://github.com/PX4/Firmware/blob/6369ae858a79cc410c1963c1c0046bfd8a59f2a7/src/modules/land_detector/LandDetector.cpp#L85-L86
Is that not the case at boot with lockstep?

Timestamps should behave similarly in lockstep. I'll check that!

Now I can't reproduce it anymore :see_no_evil:.

Ok it happened again.
I think you're right that it's actually related to lockstep. What's happening is that MAVLink is already running even if Gazebo is not running yet, hence time is still at 0. The land detector will start publishing when sensor input and time starts flowing, however, by that time mavlink_messages.cpp has already tried many times.
Should we wait to run the mavlink loops as long as time is not rolling yet?

Should we wait to run the mavlink loops as long as time is not rolling yet?

Can we have the simulator start block waiting for actual data?
https://github.com/PX4/Firmware/blob/11b157396192ca535bf721145861bdaed8185f34/ROMFS/px4fmu_common/init.d-posix/rcS#L208

Ah, that might be the easiest solution! Thanks, I'll try that.

Ok, I've changed it in https://github.com/PX4/Firmware/pull/13075/commits/f913cc24aec47fab3c55aad35841d41e30a4199d.
Closing.


input inside vue-draggable-resizable component

In version 1.2.4, i was could insert input inside the vue-draggable-resizable component, and still have a focus on the input, and the ability to move it. Since version 1.2.5 I can't do this anymore. I'm quite satisfied with version 1.2.4, but there is console.log in the watcher of position.

Yeah I tried to fix a particular case, but I realize that it was a bad decision, because the component could no longer be activated from input or textarea elements, as you noticed.
https://github.com/mauricius/vue-draggable-resizable/commit/8def7bfe72b0dd7a63a1d44b48b5f4a975aa66c0 should fix it (v. 1.2.7). I think that this is the best tradeoff between text selection and mouse dragging.
Let me know if it works for you.

Works great!


schema.sql: Remove this file (and drop it from 'make migrations')

This reverts 38f34e36 (Recording the schema for reference, 2015-01-18)
and the Makefile schema handling from c6e4e58b (Merging latest changes
into testing branch, 2015-01-18).  Greg had been using
schema.sql for updating migrater.py, but since efb3827 he
doesn't need it anymore.

Go ahead and merge.


Change Patient#secondary_person and Patient#secondary_phone fields

Should secondary person and secondary phone number be placed in a less prominent position on the layout?  As it is, it appears whether age, race/ethnicity, city, state etc. are descriptors for the patient or for the secondary person.

@mebates gonna let you handle this one!

Ahh okay so this got misinterpreted from design to code. The original design's intent had a duplication of the First/Last name and phone of the patient and then a secondary phone for that person.
Original Design:

I suggest two possible solutions:

Match the original design and make the duplicate fields autopopulate
Eliminate the duplicate fields so the first field on 'Patient information' is 'Secondary phone.'

We didn't design a way to designate a secondary person in the app. If that's necessary, we can think of a totally different solution.

Based on the usability tests yesterday, it seems important to be able to designate a secondary person in cases where a mother or grandmother or other person makes the arrangements for a patient.  And that is the person that the CM should be in contact with.  But the CMs didn't like the term "secondary person".  One CM suggested 'Primary Contact (if not the patient)"

I think Primary contact (if not the patient) will work nicely. This will wind up being just a matter of altering the label on the form at minimum, and probably some trivial backend work to reflect the new nature of the field. Changing this to backend/deploy.
Action items for the person that takes it on:

Adjust the Patient model; change secondary_person to other_contact, and secondary_phone to other_phone
Adjust the form fields in app/views/pregnancies/_patient_information.html.erb to reflect the changed field names
Adjust the label for other_contact to read Primary contact (if not the patient)
Fix up any tests that fail because of the field change

(@eheintzelman @mebates let me know if any of that should be adjusted.)

Sounds fine to me. We can adjust in the future if it's not working for CMs.


Editor Suggestion: Add the ability to reference an existing node as a "prefab"

Adding the ability to load in a seperately saved node file in "Prefab" mode.  whereas multiple prefabs from the same file can be loaded - and a change to one will issue the same respective change to the other prefabs.  Nodes that are in "Prefab" mode could be marked somehow in the hierarchy  so that it is obvious to the user that a change to one will effect the others.
This may not really be possible with the current architecture I don't know.  The editor would have to be smart about it.

Could code from (https://discourse.urho3d.io/t/poor-mans-prefab-system/4681/2)  be added to support this feature?

Prefabs are now fully supported in the Editor and the engine.


Getting urlib2 not defined error

Hi I'm new to programming. I'm using python 2.7. I have downloaded the repository, unzipped it and had run the command pip install -r requirements.txt too to install the requirements. But i'm getting name 'urlib2' is not defined error when i run Main.py. Also, when i try to run Exporter.py, i'm getting a syntax error. Please find the error details below:
MacBook-Pro:GetOldTweets-python-master Pranay$ python Main.py
Traceback (most recent call last):
File "Main.py", line 36, in
main()
File "Main.py", line 19, in main
tweet = got.manager.TweetManager.getTweets(tweetCriteria)[0]
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/GetOldTweets-python-master/got3/manager/TweetManager.py", line 21, in getTweets
json = TweetManager.getJsonReponse(tweetCriteria, refreshCursor, cookieJar, proxy)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/GetOldTweets-python-master/got3/manager/TweetManager.py", line 123, in getJsonReponse
opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cookieJar))
NameError: name 'urllib2' is not defined
cBook-Pro:GetOldTweets-python-master Pranay$ python Exporter.py -h
File "Exporter.py", line 14
print f.read()
^
SyntaxError: invalid syntax
Can someone please help on this issue. Thanks.

I am not sure but I think it's a Python version clash error. Ideally as you are using Pyhton 2.7 the TweetManager.py script in python2.7/site-packages/GetOldTweets-python-master/got directory should be called. But in your case it calling the Python 3 supported got3/manager/TweetManager.py. As urllib also has Python version clashing issues, you are getting this error. I will for sure look into a method to resolve this.

I could manage this error by editing the TweetManager.py file in got3 folder. Basically there was some lines with urllib2 functions, I just put the corresponding Python 3.x

@pranaych this is almost evident that you have Python 3.x active as environment. Now to ensure you can check python version. If you have python version >3.3.x, you might have python launcher installed. Python launcher enables you to choose the python version while executing the script. You may try running the script as:
py -2 Main.py


Connect to Database

Connect to Database
User Story
AS A small business owner
I WANT to be able to write and save notes
SO THAT I can organize my thoughts and keep track of tasks I need to complete
Acceptance Criteria
GIVEN a functional Express.js API
WHEN I add my database name, MySQL username, and MySQL password to an environment variable file
THEN I am able to connect to a database using Sequelize

This has been completed


Datepicker and Timepicker dialog are not showing.

Problem description
Datepicker/Timepicker dialog box is not showing up, And there is no error or warning also. I'm following documentation code.
On some search I found this react-tap-event-plugin is required for it to work properly, But the this plugin is not updated for current version of react. Though I'm not sure that this is reason for not working.
Link to minimally-working code that reproduces the issue

Versions

Material-UI: 0.16.7
React: 15.4.1
Browser: chrome

Sorry for raising unnecessary issue, I got it working. I just had to call
var injectTapEventPlugin = require("react-tap-event-plugin");
injectTapEventPlugin();

And probably I'd old version of react-tap-event-plugin, version 2.0.1 works perfectly  fine.


i keep gettting " Unchecked runtime.lastError: Failed to parse or set cookie named "session_id" "

Is there a way to fix this ?

Is there a way to fix this ?

Hi, is this still an issue? Can you retest with Version 3.0?


Want To Add PHP Programs With Its Respected Folder

I want to add the PHP Program to the respected Folder which has different functionalities.

Great! I'll be adding Code Folder to this repository ASAP. After that can you add respective PHP programs to the folder.

I want to add the PHP Program to the respected Folder which has different functionalities.

It's been updated. now, you can create a Pull Request.

Thanks, A lot.


[GOBBLIN-458] Refactor flowConfig resource handler

…andled partially on one machine and then forward to another machine.
Dear Gobblin maintainers,
Please accept this PR. I understand that it will not be reviewed until I have checked off all the steps below!
JIRA

[x] My PR addresses the following Gobblin JIRA issues and references them in the PR title. For example, "[GOBBLIN-XXX] My Gobblin PR"

https://issues.apache.org/jira/browse/GOBBLIN-458

Description

[x] Here are some details about my PR, including screenshots (if applicable):

Tests

[x] My PR adds the following unit tests OR does not need testing for this extremely good reason:

Commits

[x] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

@htran1 @abti Please review

@arjun4084346 Please also review.

@sv2000 I have modified existing code to only keep the resource handler part for your review.


feat: vote reason comment

Support adding a reason on a vote, it should use vote metadata storing the reason on IPFS.

Closing in favor of #386


Refactor backend to use socket.io for all game operations,

RE: I did a little bit of testing and pretty much have a reconfiguration of the backend to solely using socket.io rooms / and an in memory object of rooms. Right now everything "works" where you can make a room, join rooms, and become spymaster and play. Also added endgame checking. The code is simply "functional" and very much a draft, just to demonstrate how I feel the backend should be operating. Pushing as draft PR just to look over.

Technically we won't have any merge conflicts until one of our PRs get merged to master. Probably best to merge yours in first, then I'll resolve the conflicts on my branch to incorporate both changes.

Sounds good, I'll touch it up and merge this PR t-minus 1-2 hours


"make test" fails for fresh clone + composer install

When using PHP 7.3.9 to run:
git clone https://github.com/woohoolabs/yang
cd yang
composer install  //installs PHPUnit 8.3.4
make test

results in the following error:
This version of PHPUnit is supported on PHP 7.2, PHP 7.3, and PHP 7.4.
You are using PHP 7.1.31 (/usr/local/bin/php).

Changing the image in docker-compose.yml to php:7.2-cli or php:7.3-cli resolves this. Not sure whether this is the "best" approach, just wanted to report it 😄

Thank you very much for the report! Unfortunately, running composer locally can hide some surprises. :/
I think it's OK to use PHP 7.3 as default because I don't plan to add new functionality in the near future (and I'll raise the minimum required PHP version to 7.4 for the next minor version of Yang).

I am closing the issue because I've just committed a fix. :)

I think it's OK to use PHP 7.3 as default

Nice, this would also allow us to use object (as introduced in PHP 7.2) as type-hint instead of stdClass 🤓


Unify Template tests & add Loader tests

Some cherry picks of https://github.com/invoice-x/invoice2data/pull/457
Thanks @timorieber

Oops, latest commit depends on #471


Missing multipart/form-data option

How do I define a form-data schema to upload files in an API request?
I couldn't find it in the documentation.

Hello @khusenov you can take a look at Open API's documentation for it - https://swagger.io/docs/specification/v3_0/describing-request-body/describing-request-body/#form-data.
In terms of an API it should be just providing the media type multipart/form-data. This happens as the key of a request.body. So it would be something like:

registry.registerPath({
  method: 'post',
  path: '/some/path',
  description: 'Multipart',
  request: {
    body: {
      content: {
        'multipart/form-data': { // note this!
          schema: z.any() // You can use any form of validation here
        },
      },
    },
  },
  responses: {
    200: {
      content: {
        'application/json': {
          schema: z.object({
            message: z.string(),
          }),
        },
      },
      description: '',
    },
  },
});

@AGalabov Thank you for the reply.
I was thinking the same thing, but library provides only application/json.
Maybe this is because zod doesn't support file types
Anyway, I hardcoded without using zod to solve this.

How do I define a form-data schema to upload files in an API request?
I couldn't find it in the documentation.

`extendZodWithOpenApi(z);
storageRegistry.registerPath({
method: "post",
path: "/storage/product/image",
description: "Upload an image for a product",
tags: ["Storage"],
request: {
body: {
content: {
"multipart/form-data": {
schema: z.object({
image: z.string().describe("The file to upload").openapi({ format: "binary" }),
}),
},
},
},
},
responses: {
200: {
content: {
"application/json": {
schema: z.object({
message: z.string(),
}),
},
},
description: "Successful file upload",
},
},
});`

Doesn't work for me. Doing this I am still getting:
{"message":"Malformed FormData request. JSON Parse error: Invalid number","stack":"Error: Malformed FormData request. JSON Parse error: Invalid number\n    at new HTTPExceptio......}
and this is my definition:
  request: {     body: {       required: true,       content: {         "multipart/form-data": {           schema: z.object({             image: z               .string()               .describe("The file to upload")               .openapi({ format: "binary" }),           }),         },       },       description: "Multipart form data containing the avatar image file",     },   },


[Feature]: Allow :Legendary to accept a selection

Similar Issues

[X] Before filing, I have searched for similar issues.

Description
It just takes a simple {range = true}. And it allows us to utilize commands from the :Legendary panel that run on a selection.

This should absolutely be doable, and not that difficult to implement. Basically:

Add opts.range = true to the :Legendary command in lua/legendary/api/cmds.lua
In the function that implements the command, grab the current range, if one was passed
Pass the range down to the UI via the opts parameter

instead of just l.find(), do l.find({ range = the_range_we_got })
Update the M.select(opts) function in lua/legendary/ui/init.lua to accept an opts.range option
Pass opts.range into the Executor context builder like so: local context = Executor.build_context(nil, opts.range)
Update the M.build_context(buf) function in lua/legendary/api/executor.lua like the following:

---Build a context object containing information about the editor
---state *before* triggering the finder so that it can be
---restored before executing the item.
---@param buf number buffer ID to build context for, used only for testing
---@overload fun():LegendaryEditorContext
---@overload fun(buf:number):LegendaryEditorContext
---@return table
function M.build_context(buf, range)
  buf = buf or vim.api.nvim_get_current_buf()
  return {
    buf = buf,
    buftype = vim.api.nvim_buf_get_option(buf, 'buftype') or '',
    filetype = vim.api.nvim_buf_get_option(buf, 'filetype') or '',
    mode = vim.fn.mode(),
    cursor_pos = vim.api.nvim_win_get_cursor(vim.api.nvim_get_current_win()),
    marks = range or Toolbox.get_marks(),
  }
end

But what's the use case?

But what's the use case?

..... to run commands from legendary on a visual selection?

Not from cmdline. :<‘>’Legendary doesn’t currently work.

Oh yeah, it's for user cmd... overlooked that.


Show alerts in the web UI

Now that alerting has become an integral part of Cloudprober, it will make sense to show current (and possibly previous) alerts in the web UI.
To implement this, we'll have to keep an in-memory, global state of current and previous alerts. We can then display this state at /alerts handle.

I've started working on it.

Done in #530.

Example alerts dashboard:


[node]: task list

[x] toolbar
[x] keyboard
[x] markdown support
[x] compat editor test


LIMIT SKIP & ORDER BY - Paging Issue

OrientDB Version, operating system, or hardware.

2.2.6

Operating System

[ ] Linux
[X] MacOSX
[ ] Windows
[ ] Other Unix
[ ] Other, name?

Expected behavior and actual behavior
select mid, path, sz, created FROM (select * from Media ORDER BY created DESC LIMIT 20 SKIP 1) should skip the first record but it returns all the results.
This query ‘select * from Media ORDER BY created DESC LIMIT 20 SKIP 1’ skips the first record and returns remaining records, which I intend to do.
when I combine it like this ‘select mid, path, created FROM (select * from Media ORDER BY created DESC LIMIT 20 SKIP 1)’ it doesn’t skip the records. I would expect it to get details for only filtered records but returns details for all
The issue is caused by 'ORDER BY' & 'LIMIT-SKIP' interaction.

Hi @ruituraj
Thank you for reporting, I'll check it asap
Thanks
Luigi

Hi @ruituraj
I just pushed a fix on 2.2.x branch. It will be released with 2.2.11
Thanks
Luigi

Awesome, thanks Luigi!

@luigidellaquila is this fix released with 2.2.11?

Hi @ruituraj
Yes, it is
Thanks
Luigi

Thanks!


ScalaJSModule seems incompatible with ScoverageModule and ScoverageTests

I have a ScalaJS module that I tried to add SCoverage thru the contrib plugin:
object frontend extends ScalaJSModule with Common with ScoverageModule {
  def scalaVersion     = versions.scala3
  def scalaJSVersion   = versions.scalajs
  def scoverageVersion = "2.0.7"
  def ivyDeps = super.ivyDeps() ++ Agg(
    ivy"org.scala-js::scalajs-dom::${versions.scalajsdom}",
  )

  def scalaJSUseMainModuleInitializer = true

  object test extends Tests with Common with TestModule.ScalaTest with ScoverageTests {
    // Test dependencies
    def ivyDeps = Agg(
      ivy"org.scalatest::scalatest::${versions.scalatest}",
    )
    def jsEnvConfig = T(JsEnvConfig.JsDom())
  }
}

I get the following error:
/Users/cdepaula/repos/scala-playground/zio-scalajs-stack/build.sc:148: object frontend inherits conflicting members:
  def toolsClasspath: mill.define.Target[mill.api.Loose.Agg[mill.api.PathRef]] (defined in trait ScalaJSModule) and
  def toolsClasspath: mill.T[mill.Agg[mill.api.PathRef]] (defined in trait ScoverageModule)
  (note: this can be resolved by declaring an `override` in object frontend.)
object frontend extends ScalaJSModule with Common with ScoverageModule {
       ^
/Users/cdepaula/repos/scala-playground/zio-scalajs-stack/build.sc:165: incompatible type in overriding
override def moduleDeps: Seq[mill.scalajslib.ScalaJSModule] (defined in trait Tests)
  with override def moduleDeps: Seq[mill.scalalib.JavaModule] (defined in trait ScoverageTests);
 found   : Seq[mill.scalalib.JavaModule]
 required: Seq[mill.scalajslib.ScalaJSModule]
  object test extends Tests with Common with TestModule.ScalaTest with ScoverageTests {
         ^
Compilation Failed

Can you please provide a reproducible example?

I tried with the following build.sc
import $ivy.`com.lihaoyi::mill-contrib-scoverage::`
import mill._
import scalalib._
import scalajslib._
import scalajslib.api._
import contrib.scoverage._

trait Common {
  object versions {
    val scala3 = "3.2.0"
    val scalajs = "1.12.0"
    val scalajsdom = "1.12.0"
    val scalatest = "3.2.15"
  }
}

object frontend extends ScalaJSModule with Common with ScoverageModule {
  def scalaVersion     = versions.scala3
  def scalaJSVersion   = versions.scalajs
  def scoverageVersion = "2.0.7"
  def ivyDeps = super.ivyDeps() ++ Agg(
    ivy"org.scala-js::scalajs-dom::${versions.scalajsdom}",
  )

  def scalaJSUseMainModuleInitializer = true

  object test extends Tests with Common with TestModule.ScalaTest with ScoverageTests {
    // Test dependencies
    def ivyDeps = Agg(
      ivy"org.scalatest::scalatest::${versions.scalatest}",
    )
    def jsEnvConfig = T(JsEnvConfig.JsDom())
  }
}

The first issue is already fixed in Mill 0.11.0-M2. We already identified the colliding toolsClasspath and fixed it partially, but we did not remove it in Mill 0.10.x for binary compatibility reasons. (https://github.com/com-lihaoyi/mill/issues/916)
The other is probably an issue in the trait inheritance hierarchy, which might be solved by #2274 .

Fixed by #2274


perf: replace endsWith with ===

Description
Similar to https://github.com/vitejs/vite/pull/12531, this PR uses === instead of endsWith in some hot extensions.

Additional context

What is the purpose of this pull request?

[ ] Bug fix
[ ] New Feature
[ ] Documentation update
[x] 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 PR Title 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).
[x] Ideally, include relevant tests that fail without this PR but pass with it.

I'm not sure about this. I'd prefer if it indexes one char only, when searching longer words I think endsWith or startsWith is the right tool for it.

Did you measure the perf diff on this one @sun0day? I also think that this is going too far. I think we better keep using endsWidth here.

I only tested the js code performance between str.endsWith and str[len-1] === 'x' && str[len-2]==='y', I haven't tested in a real app since I didn't find a proper one.
The thing is that plain ===  is 60%-70% faster than endsWith in the js perf test. It's really an attractive number. I am not gonna replace all the endsWith in the codebase but replace some hot extensions' judgment.
But also I know that endsWith  is not the bottleneck and it may only improve a little perf even if replace all the endsWith in the real app. I am fine with indexing one char only

Thanks @robpalme 🙏🏼


Summaries disable in config file is not applied

Description
enableSummariesGeneration=false is not applied to Java project from global config file settings.properties
Using plugin with:

#1298

To Reproduce

Install release build into IDEA
Add enableSummariesGeneration=false to the global config file ~\.utbot\settings.properties
Restart IDEA 2022.2.3 (latest) - to apply settings.properties
Create a new Java project (f.i. Maven project with JDK 11)
Check File -> Settings -> Tools -> UnitTestBot
Generate tests for a sample Java class

Expected behavior

Summaries are supposed to be turned off - as in global config.
Tests are supposed to be generated without Java docs, regions and desriptions.

Actual behavior

Summaries are enabled.
Summaries are generated - as it is default for Java project - with - #1283

Visual proofs (screenshots, logs, images)

public final class MainTest {
    ///region Test suites for executable org.example.Main.main

    ///region FUZZER: SUCCESSFUL EXECUTIONS for method main(java.lang.String[])

    /**
     * @utbot.classUnderTest {@link Main}
     * @utbot.methodUnderTest {@link Main#main(String[])}
     */
    @Test
    @DisplayName("main: arg_0 = String[3]")
    public void testMainWithNonEmptyObjectArray() {
        String[] args = {"noimn", "oesjb", "noimn"};

        Main.main(args);
    }
    ///endregion

    ///endregion
}

Originally posted by @alisevych in https://github.com/UnitTestBot/UTBotJava/issues/1291

This is an area of undefined behavior.
As I see, we have no UI Settings fully synchronized with the UTSettings at this moment.
It's an open question, could we have erase the UI setting with the value from the file?
I could say, that at this moment we have no support for these settings to be synchronized with UI. UI could rule these settings and erase all result in this with its own value.

@Vassiliy-Kudryashov
Could you please take this issue? Need to find an appropriate solution how global and project settings should be connected.


Can't Tie a Tour Bubble to a DHTMLXWindow

(1) Go to this demo: http://dhtmlx.com/docs/products/dhtmlxWindows/samples/01_init/01_minimal_init.html
(2) Click the "Create Window" button.  That is how I am creating my windows.  I want the hopscotch bubble to point to the window.
(3) Hit F12 and type this into the console: document.querySelector('.dhxwin_active')
You can see that selector finds the window.  But the hopscotch bubble doesn't show.  I tried onError with an alert but it is not erroring.  Can hopscotch not work with these types of floating/movable windows?
Thanks!

'.dhxwin_active' seems to be a regular DOM element on the page. Hopscotch should be able to work with it just fine. Could you provide more information and maybe some code snippets on how you are creating and starting your hopscotch tour?

It seems to be working fine when I run this in console
To add hopscotch js to the page:
var hpjs = document.createElement('script');
hpjs.src = "http://linkedin.github.io/hopscotch/js/hopscotch-0.1.2.min.js";
document.getElementsByTagName('head')[0].appendChild(hpjs);

To add hopscotch css to the page:
var hpcss = document.createElement('link');
hpcss.rel = "stylesheet";
hpcss.href = "http://linkedin.github.io/hopscotch/css/hopscotch.css";
document.getElementsByTagName('head')[0].appendChild(hpcss);

To start a tour:
hopscotch.startTour({
        id: 'hopscotch-test-tour',
        steps: [{
          target: '.dhxwin_active',
		  placement: 'bottom',
          title: 'New window',
          content: 'It\'s a new window',
        }]});

Here's a screenshot of what I see:

It won't work if you start the hopscotch tour before the window is created. That's what I need it to do. I have prior steps, then the window opens, then I need it to point to the window. When the tour starts the window isn't in the DOM yet.
Thanks,
Gordon Frobenius / linkedin
Sent from my iPhone.

On Apr 1, 2015, at 6:30 PM, Kate Odnous<EMAIL_ADDRESS>wrote:
It seems to be working fine when I run this in console
To add hopscotch js to the page:
var hpjs = document.createElement('script');
hpjs.src = "http://linkedin.github.io/hopscotch/js/hopscotch-0.1.2.min.js";
document.getElementsByTagName('head')[0].appendChild(hpjs);
To add hopscotch css to the page:
var hpcss = document.createElement('link');
hpcss.rel = "stylesheet";
hpcss.href = "http://linkedin.github.io/hopscotch/css/hopscotch.css";
document.getElementsByTagName('head')[0].appendChild(hpcss);
To start a tour:
hopscotch.startTour({
id: 'hopscotch-test-tour',
steps: [{
target: '.dhxwin_active',
placement: 'bottom',
title: 'New window',
content: 'It's a new window',
}]});
Here's a screenshot of what I see:
—
Reply to this email directly or view it on GitHub.

Try passing in target as a selector rather than a DOM element.
hopscotch.startTour({
        id: 'hopscotch-test-tour',
        steps: [{
          target: '.dhxwin_active',
          ...

vs

Duh. Thanks so much!
Thanks,
Gordon Frobenius / linkedin
Sent from my iPhone.

On Apr 1, 2015, at 6:57 PM, Kate Odnous<EMAIL_ADDRESS>wrote:
Try passing in target as a selector rather than a DOM element.
hopscotch.startTour({
id: 'hopscotch-test-tour',
steps: [{
target: '.dhxwin_active',
...
vs
—
Reply to this email directly or view it on GitHub.


More Integration walkthroughs

From feedback:
The integration guide really should be how to include a
local proxy within your process, and how to make your HTTP
requests in a few common languages go through a
process-internal socks proxy - be that a tcp port you've
bound to localhost on your app or some alternative.

@dlshad - We have all the content for this in the /implement/ section; but it's text-heavy and hard to navigate.  Could you look into adding a simple table or diagram to help a developer new to PTs understand the options and then link to the guides for those?


Running 'gulp build', but no output directory is created.

Hi,
I am running 'gulp build' inside the semantic folder, but no output directory is created.
$ gulp build
[15:38:09] Using gulpfile ~/XX/XX/semantic/gulpfile.js
[15:38:09] Starting 'build'...
Building Semantic
[15:38:09] Starting 'build-javascript'...
Building Javascript
[15:38:09] Starting 'build-css'...
Building CSS
[15:38:09] Starting 'build-assets'...
Building assets
[15:38:09] Starting 'package compressed js'...
[15:38:09] Starting 'package uncompressed js'...
[15:38:09] Finished 'build-javascript' after 78 ms
[15:38:09] Starting 'package uncompressed css'...
[15:38:09] Starting 'package compressed css'...
[15:38:09] Finished 'build-assets' after 51 ms
[15:38:09] Finished 'package uncompressed js' after 24 ms
[15:38:09] Finished 'package uncompressed css' after 17 ms
[15:38:09] Finished 'package compressed js' after 34 ms
[15:38:09] Finished 'package compressed css' after 10 ms
[15:38:09] Finished 'build-css' after 72 ms
[15:38:09] Finished 'build' after 99 ms

Build Javascript and Build CSS appear in blue text.
Versions:
Semantic --> 2.2.6
NPM --> 3.10.8
Gulp --> 3.9.1
Node --> v6.9.1

Hi, I've been struggling with this issue for a while, but I've finally come up with a solution.
By digging through the task scripts on /semantic/tasks I've discovered that the gulp tasks expected the semantic.json file to be on the root of the semantic folder and not on root of the project directory - where it was created by default in my case.
I just moved the semantic.json from the project root to the semantic folder and ran 'gulp build' again. Now I have the /dist folder as expected!
I've found some other open threads with this same issue, so I believe it would be worth a look at the Semantic UI installation script.

I'm using elixir for compiling assets; below is my gulpfile.
Run : gulp semantic-build-ui && gulp to get semantic-ui files in /public/css/ and /public/js/ directories
const elixir 	= require('laravel-elixir');
var gulp  	= require('gulp');

var semantic = {
  watch: require('./node_modules/semantic-ui/tasks/watch'),
  build: require('./node_modules/semantic-ui/tasks/build')
};

gulp.task('semantic-move-config', function() {
   gulp.src('./resources/assets/semantic/config/site.variables').pipe(gulp.dest('./node_modules/semantic-ui/src/site/globals'));
   gulp.src('./resources/assets/semantic/config/icon.variables').pipe(gulp.dest('./node_modules/semantic-ui/src/site/elements'));
   gulp.src('./resources/assets/semantic/config/flag.variables').pipe(gulp.dest('./node_modules/semantic-ui/src/site/elements'));
});

gulp.task('semantic-build', ['semantic-move-config'], semantic.build);

gulp.task('semantic-build-ui', ['semantic-build'], function() {
	gulp.src('./node_modules/semantic-ui/dist/semantic.min.css').pipe(gulp.dest('./resources/assets/css'));
	gulp.src('./node_modules/jquery/dist/jquery.min.js').pipe(gulp.dest('./resources/assets/js'));
	gulp.src('./node_modules/semantic-ui/dist/semantic.min.js').pipe(gulp.dest('./resources/assets/js'));
	gulp.src(['./node_modules/semantic-ui/dist/themes/default/assets/fonts/**/*']).pipe(gulp.dest('./resources/assets/fonts'));
	gulp.src(['./node_modules/semantic-ui/dist/themes/default/assets/images/**/*']).pipe(gulp.dest('./resources/assets/images'));
});

/*
 |--------------------------------------------------------------------------
 | Elixir Asset Management
 |--------------------------------------------------------------------------
 |
 | Elixir provides a clean, fluent API for defining some basic Gulp tasks
 | for your Laravel application. By default, we are compiling the Sass
 | file for our application, as well as publishing vendor resources.
 |
 */

elixir(mix => {
    mix
        .stylesIn('resources/assets/css', 'public/assets/css/application.css')
        .scripts(['jquery.min.js', 'semantic.min.js'], 'public/assets/js/application.js')
        .version(['assets/css/application.css', 'assets/js/application.js'])
        .copy('resources/assets/fonts', 'public/assets/fonts')
        .copy('resources/assets/images', 'public/assets/images');
});

Hi @nicktc, can this be closed as resolved?

The solution given by vixandrade works for me as well.

Closing this till @nicktc replies.

@vixandrade nice,i solved the problem through your answer，thanks。

@vixandrade - I also used this. @nicktc it's all a bit confusing as to why semantic.json is put by default outside the semantic folder.


State color of the pods and workloads deployed are not green when Active

What kind of request is this (question/bug/enhancement/feature request): bug
Steps to reproduce (least amount of steps as possible):

Deploy a cluster.
When the cluster has come up Active, deploy workloads.

State color of the pods and workloads deployed are not green when Active

Note:
On 2.3-head, the state color of pods and workloads are Green.

Other details that may be helpful:
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): master-head
Installation option (single install/HA): single

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported): custom
Kubernetes version (use kubectl version):

1.16

Verified on master head - commit id: 48a2c4ffc
ui tag: latest2
color of the pods and workloads deployed are green when Active


Branch 146066214

Merging internal changes

Closing this PR. Will do a new push once build issues are fixed.


dep ensure fails with grouped write of manifest, lock and vendor: cannot delete

What version of dep are you using (dep version)?
v0.3.2
What dep command did you run?
dep ensure -v
I always get this error one out of 2 runs.
(20/22) Wrote<EMAIL_ADDRESS>(21/22) Wrote<EMAIL_ADDRESS>(22/22) Wrote<EMAIL_ADDRESS>grouped write of manifest, lock and vendor: cannot delete /pkg/src/github.com/project/kubernetes/cli/vendor: remove /pkg/src/github.com/project/kubernetes/cli/vendor/golang.org/x/sys/unix: directory not empty

hi! any chance you're running on WSL? #1327

Nope, I am running on Ubuntu

hmm, that's a first.
can you provide more detailed reproduction steps?

I have a clean project without any vendor directory, so I run dep ensure. Everything goes smoothly. Then I run it again and I get the mentioned error and I can see a new directory vendor.orig. If I run it a third time, everything works as when I ran it at the beginning.

"i have a clean project" is not a step i can reproduce.

"i have a clean project" is not a step i can reproduce

Unfortunately I cannot point you to the our private project.
Output of Gopkg.toml
[[constraint]]
  name = "github.com/mesosphere/dcos-commons"
  version = "0.30.3"

[[constraint]]
  branch = "v3-unstable"
  name = "gopkg.in/alecthomas/kingpin.v3-unstable"

[[constraint]]
  name = "github.com/yudai/gojsondiff"
  version = "v1.0.0"

[[constraint]]
  name = "gopkg.in/cheggaaa/pb.v1"
  version = "v1.0.18"

Output of Gopkg.lock

[[projects]]
  branch = "master"
  name = "github.com/alecthomas/units"
  packages = ["."]
  revision = "2efee857e7cfd4f3d0138cc3cbb1b4966962b93a"

[[projects]]
  name = "github.com/davecgh/go-spew"
  packages = ["spew"]
  revision = "346938d642f2ec3594ed81d874461961cd0faa76"
  version = "v1.1.0"

[[projects]]
  name = "github.com/mattn/go-runewidth"
  packages = ["."]
  revision = "9e777a8366cce605130a531d2cd6363d07ad7317"
  version = "v0.0.2"

[[projects]]
  name = "github.com/mesosphere/dcos-commons"
  packages = ["cli","cli/client","cli/commands","cli/config"]
  revision = "7ae5d99f5e48817e1bdd9a68c3c6179e377ad74a"
  version = "0.30.3"

[[projects]]
  name = "github.com/nicksnyder/go-i18n"
  packages = ["i18n","i18n/bundle","i18n/language","i18n/translation"]
  revision = "0dc1626d56435e9d605a29875701721c54bc9bbd"
  version = "v1.10.0"

[[projects]]
  name = "github.com/pelletier/go-toml"
  packages = ["."]
  revision = "16398bac157da96aa88f98a2df640c7f32af1da2"
  version = "v1.0.1"

[[projects]]
  name = "github.com/pmezard/go-difflib"
  packages = ["difflib"]
  revision = "792786c7400a136282c1664665ae0a8db921c6c2"
  version = "v1.0.0"

[[projects]]
  branch = "master"
  name = "github.com/sergi/go-diff"
  packages = ["diffmatchpatch"]
  revision = "1744e2970ca51c86172c8190fadad617561ed6e7"

[[projects]]
  name = "github.com/stretchr/testify"
  packages = ["assert","require","suite"]
  revision = "69483b4bd14f5845b5a1e55bca19e954e827f1d0"
  version = "v1.1.4"

[[projects]]
  name = "github.com/yudai/gojsondiff"
  packages = ["."]
  revision = "7b1b7adf999dab73a6eb02669c3d82dbb27a3dd6"
  version = "1.0.0"

[[projects]]
  branch = "master"
  name = "github.com/yudai/golcs"
  packages = ["."]
  revision = "ecda9a501e8220fae3b4b600c3db4b0ba22cfc68"

[[projects]]
  branch = "v3-unstable"
  name = "gopkg.in/alecthomas/kingpin.v3-unstable"
  packages = ["."]
  revision = "c9d19ded11d4843b42b60700409da7259460cb65"

[[projects]]
  name = "gopkg.in/cheggaaa/pb.v1"
  packages = ["."]
  revision = "657164d0228d6bebe316fdf725c69f131a50fb10"
  version = "v1.0.18"

[[projects]]
  branch = "v2"
  name = "gopkg.in/yaml.v2"
  packages = ["."]
  revision = "287cf08546ab5e7e37d55a84f7ed3fd1db036de5"

[solve-meta]
  analyzer-name = "dep"
  analyzer-version = 1
  inputs-digest = "0273ecdf202ad698ab023fb64f91dd9e472ed2bbd9e61fafdc17cea113b3d869"
  solver-name = "gps-cdcl"
  solver-version = 1

Output of dep hash-inputs:
dep  hash-inputs
-CONSTRAINTS-
github.com/mesosphere/dcos-commons
svc-^0.30.3
github.com/yudai/gojsondiff
svc-^1.0.0
gopkg.in/alecthomas/kingpin.v3-unstable
b-v3-unstable
gopkg.in/cheggaaa/pb.v1
svc-^1.0.18
-IMPORTS/REQS-
github.com/mesosphere/dcos-commons/cli
github.com/mesosphere/dcos-commons/cli/client
github.com/mesosphere/dcos-commons/cli/commands
github.com/mesosphere/dcos-commons/cli/config
github.com/stretchr/testify/assert
github.com/stretchr/testify/suite
github.com/yudai/gojsondiff
gopkg.in/alecthomas/kingpin.v3-unstable
gopkg.in/cheggaaa/pb.v1
-IGNORES-
-OVERRIDES-
-ANALYZER-
dep
1

@sdboyer can you reproduce it ?

I'm running into this issue as well. It seems somewhat non-deterministic, but only happens if I run dep ensure with an existing vendor/ directory. Happens once every 2-3 runs I'd say, with the same error:
cannot delete .../src/PROJECT/vendor: remove .../src/PROJECT/vendor/golang.org/x/sys/unix: directory not empty
System Info:

Ubuntu 16.04 VM, managed by Virtualbox/Vagrant (bento/ubuntu-16.04 box)
MacOS 10.12.6 host
VM environment has DEPNOLOCK=1 set (https://github.com/golang/dep/issues/947)

Gopkg.toml:
required = ["github.com/golang/protobuf/protoc-gen-go", "github.com/go-swagger/go-swagger/cmd/swagger"]

[[constraint]]
  name = "github.com/go-swagger/go-swagger"
  version = "0.12.0"

[[constraint]]
  branch = "master"
  name = "github.com/go-openapi/strfmt"

[[constraint]]
  branch = "master"
  name = "github.com/golang/glog"

[[constraint]]
  branch = "master"
  name = "github.com/golang/protobuf"

[[constraint]]
  name = "github.com/labstack/echo"
  version = "3.2.5"

[[constraint]]
  branch = "master"
  name = "github.com/lib/pq"

[[constraint]]
  name = "github.com/mattn/go-sqlite3"
  version = "1.4.0"

[[constraint]]
  name = "github.com/prometheus/client_golang"
  version = "0.8.0"

[[constraint]]
  branch = "master"
  name = "github.com/prometheus/client_model"

[[constraint]]
  name = "github.com/stretchr/testify"
  version = "1.1.4"

[[constraint]]
  branch = "master"
  name = "golang.org/x/net"

[[constraint]]
  name = "google.golang.org/grpc"
  version = "1.8.0"

dep hash-inputs:
-CONSTRAINTS-
github.com/go-openapi/strfmt
b-master
github.com/go-swagger/go-swagger
svc-^0.12.0
github.com/golang/glog
b-master
github.com/golang/protobuf
b-master
github.com/labstack/echo
svc-^3.2.5
github.com/lib/pq
b-master
github.com/mattn/go-sqlite3
svc-^1.4.0
github.com/prometheus/client_golang
svc-^0.8.0
github.com/prometheus/client_model
b-master
github.com/stretchr/testify
svc-^1.1.4
golang.org/x/net
b-master
google.golang.org/grpc
svc-^1.8.0
-IMPORTS/REQS-
github.com/go-openapi/errors
github.com/go-openapi/strfmt
github.com/go-openapi/swag
github.com/go-openapi/validate
github.com/go-swagger/go-swagger/cmd/swagger
github.com/golang/glog
github.com/golang/protobuf/jsonpb
github.com/golang/protobuf/proto
github.com/golang/protobuf/protoc-gen-go
github.com/golang/protobuf/ptypes
github.com/golang/protobuf/ptypes/any
github.com/golang/protobuf/ptypes/duration
github.com/golang/protobuf/ptypes/timestamp
github.com/golang/protobuf/ptypes/wrappers
github.com/labstack/echo
github.com/lib/pq
github.com/mattn/go-sqlite3
github.com/prometheus/client_golang/prometheus
github.com/prometheus/client_model/go
github.com/stretchr/testify/assert
github.com/stretchr/testify/mock
golang.org/x/net/context
google.golang.org/grpc
google.golang.org/grpc/codes
google.golang.org/grpc/metadata
google.golang.org/grpc/status
-IGNORES-
-OVERRIDES-
-ANALYZER-
dep
1

Let me know if you need any more info. Thanks for looking into this!

I'm able to consistently reproduce this issue.
Env:

Windows 10 Pro (10.0.16299 Build 16299)
Docker 17.12.0-ce-win47 (15139) using Linux containers
Go builder container (golang:1.9.2)

Steps:

Download https://github.com/AccelByte/dep-issue-1407
Type "make build" twice

The 2nd build results in the following error:
docker run --rm -e PROJECT_ROOT=depbug -v C:/ab/depbug:/go/src/depbug -w /go/src/depbug -v /var/run/docker.sock:/var/run/docker.sock  depbug dep ensure -v
Gopkg.lock was already in sync with imports and Gopkg.toml
(1/3) Wrote<EMAIL_ADDRESS>(2/3) Wrote github.com/jmespath/go-jmespath@0b12d6b5
(3/3) Wrote<EMAIL_ADDRESS>grouped write of manifest, lock and vendor: cannot delete /go/src/depbug/vendor: remove /go/src/depbug/vendor/github.com/aws/aws-sdk-go/models/apis: directory not empty
make: *** [build] Error 1

@sdboyer Any chance to get answer on this issue?
I faced this issue under vagrant box. On host machine dep works OK, but on the same project (mounted to vagrant box - Ubuntu) dep causes errors and creates vendor.orig. The only workaround is to remove vendor folder before every dep ensure

The problem was caused by iterection of Go and virtualbox fs.
NFS is a solution
config.vm.synced_folder "~", "~", :nfs => { :mount_options => ["dmode=777","fmode=777"] }

I have the same environment as xjtian (macos host, virtualbox vm, DEPNOLOCK=1) and this breaks my build every time.
What is bizarre to me is that I can literally delete the files before running ensure and it still hits it, so it's almost like there's an intermediate step in the ensure process that causes this.
And sorry, but removing the vendor directory each time or using NFS mounts are not great solutions.

macOs Sierra 10.12.6 dep installed by brew and got same problem
export PATH=$PATH:/usr/local/opt/go/libexec/bin
kimseolhwaui-Mac-mini:engine ksh$ dep ensure
grouped write of manifest, lock and vendor: could not stat file that VerifyVendor claimed existed: stat /Users/ksh/dev/workspace/go/src/engine/vendor/gopkg.in/mgo.v2: no such file or directory

Yeah same error here with Win10 + Vagrant-Virtualbox shared folder mounted inside a Docker container in Ubuntu guest.
Virtualbox shared folders have been notoriously buggy (probably file locks) many years for me no matter using Windows 7 or 10 as a host.

Hey, I stumbled on a very similar problem and for me the culprit was the chown to root made by one of the tools I used.
Besides that I would check if the user has a write permission for vendor directory.

What solved for me was removing /vendor

But is this the permanent solution @mrkmat ?

solved by removing /vendor

Hey, I stumbled on a very similar problem and for me the culprit was the chown root vendor made by one of the tools I used.
Besides that I would check if the user has a write permission for vendor directory.

This is what worked for me. In my case I had to open Git Bash on Window as Administrator


Better File system framework

Since the Go's standard library has in-comprehensive file system APIs (e.g. lack of basic operation such as move).
This framework to replacing the file system operations that abstracts both local file systems (POSIX file system and Windows file system) and cloud file systems.

Closing this due to PoC'ing in the project https://github.com/watermint/tbx


Observing "no healthy upstream" for new deployments until ambassador pods restarted

Description of the problem
I am facing a very strange problem. Our IT wants us to migrate Application testing pipeline to a new cluster. After deploying ambassador with helm (originally it was 1.12.0) I tested the deployments of our applications: all the deployments were successful, however on access to the application I constantly got an error "no healthy upstream" (the same deployment works in the old cluster).
At some point in time I learned about released 1.12.1 and upgraded the ambassador with "helm upgrade" to 1.12.1. After that all the old not working application deployments started to work without any additional changes. But every new deployment had the same issue: the error "no healthy upstream". Eventually ambassador was upgraded to 1.12.2 with the same effect: not working the old deployments started to work without any changes and every new deployment had an error "no healthy upstream".
Investigation of connectivity confirmed that the application is accessible with curl from ambassador pod via connection to the app service, as well as to the app in pod directly. However, external requests to the application always ended up with "no healthy upstream".
Now, if the ambassador pod is killed (replica count was reduced to 1 for simplifying logs analysis) and the deployment/replicaset replaces it with a new pod the issue is resolved - all not working deployments start working (it was tested 3 times).
Details on the current deployment:
$ helm -n ambassador list
NAME            NAMESPACE       REVISION        UPDATED                                 STATUS          CHART                   APP VERSION
ambassador      ambassador      14              2021-03-31 10:20:18.8370383 -0400 EDT   deployed        ambassador-6.6.2        1.12.2

Is it something that I might be missing during the deployment of ambassador?nd concise description of what the bug is.
Expected behavior
All the new application deployments start working without a need to restart ambassador pods
Versions:

Ambassador: 1.12.2 (1.12.0, 1.12.1)
Kubernetes environment: Azure Kubernetes Service (AKS) - privatelink custer (i,e. no access from the public internet and only internal LBs  - Annotation "service.beta.kubernetes.io/azure-load-balancer-internal" is set to "true")
Version: v1.18.14

Additional context
None. I am not sure if it is a bug or not. I would appreciate any workaround for our environment.

After downgrading Ambassador version to 1.11.2 the issue is not reproducible. So, looks like an issue in 1.12.x

We are also seeing a similar (same?) problem with ambassador 1.12.1 deployed into our nonprod environment.
A fresh ambassador pod works like a champ. Any change doesn't seem to be reflected into the envoy configuration.
Example events that don't seem to cause a reconfiguration:

a HPA scale-down (removal of a pod),
a new deployment
a rollout restart
In all cases, rollout restart of ambassador resolves the issue.

Also facing a similar issue. 1.12.0 was my first use of Ambassador and I thought I had misconfigured something. Rolling back to 1.11.2 resolved the issue.

Can you post the Mapping resources for which you are experiencing this behavior?

I believe if you drop the .svc.cluster.local from the service name it should fix the problem. When you are using the kubernetes endpoint routing resolver the service field refers directly to a kubernetes resource, not to a dns name. The .svc.cluster.local suffix is added by the kubernetes dns server so it is a bit weird to use it when you aren't doing a dns lookup.
That said this is a bug because we used to allow that and a) we shouldn't disallow that without a deprecation period, and b) we should also be logging it as an error.

Thanks!. That appears to be exactly my issue. Re-reading the documentation, I see that the DNS name is not recommended - only the claim that it might work. Why did I not notice this previously??? I have tested this change successfully with a few mapping files.

@rhs - thanks for letting us know a workaround. However, the problem here is that we specifically were told by someone from Dataware team to use the suffix .svc.cluster.local for the service when they helped us with the update of our application deployment for Ambassador integration (I was not a part of that discussion and I learned about the recommendation only today when we internally discussed testing of the potential workaround).

We observed very similar behavior, except that "no healthy upstream" error went away once mapping is re-loaded. We tried removing "http://" prefix from the service name as was suggested in Slack for a similar situation and it seemed to do the trick. But it is unclear what is the underlying cause and what is the correct way of specifying mappings to avoid this sort of scenarios.

This is fixed in Ambassador 1.13.0, which is now available.

Confirmed.
Thanks you guys for the prompt fix!

We are noticing this behavior on 1.13.5 still. Please advise.

@wissam-launchtrip can you go into a bit more detail? Are you seeing this exact issue or something similar? Anything that can help us verify the report and reproduce the issue for a possible fix 👍

No actually it's a different issue.
Upstream Services get disconnected for no clear reason! And we get "no healthy upstream" error.
This happens after a few hours from last deployment in the cluster.
If we make a deployment in the cluster, the error disappears.


Add soiltexture

Insert URLs to the project here: https://github.com/julienmoeys/soiltexture

[x] The projects is active, documented, open source licensed, shows usage from external parties and is directly targeting environmental sustainability. Find more details in the Contribution Guide.

All issues labeled as Good First Issue of the project listed on OpenSustain.tech will be visible on ClimateTriage.com. This is a great way to welcome new community members to your project.
All projects listed will be posted on our Mastodon channel

@julienmoeys