fix(list): filter work item by state close

Note: If there are pending changes to the PR, prefix the PR title with "WIP" and add the label "DO NOT MERGE"
Mandatory

[x] What does this PR do?
Filter work item by state close
[x] What issue/task does this PR references?
https://github.com/openshiftio/openshift.io/issues/3955#issuecomment-404144985
[x] Are the tests Included?
Yes

@vikram-raj Your image is available in the registry. Run docker pull registry.devshift.net/fabric8-ui/fabric8-planner:SNAPSHOT-PR-2724 && docker run -it -p 5000:8080 registry.devshift.net/fabric8-ui/fabric8-planner:SNAPSHOT-PR-2724 and visit http://localhost:5000 to access it.

What we can do is disable Show completed checkbox only when state filter is active. and enable it once the user is clear the state filter. WDYT @rgarg1?

Sounds good @vikram-raj . The checkbox should be disabled again if the user applies another state filter.

The checkbox should be disabled again if the user applies another state filter.

Yes, I will do this.

The checkbox should be disabled again if the user applies another state filter.

@rgarg1 this changes is done. Please review again.
@Raunak1203 fixed the test. please review again.

@vikram-raj Your image is available in the registry. Run docker pull registry.devshift.net/fabric8-ui/fabric8-planner:SNAPSHOT-PR-2724 && docker run -it -p 5000:8080 registry.devshift.net/fabric8-ui/fabric8-planner:SNAPSHOT-PR-2724 and visit http://localhost:5000 to access it.

@vikram-raj Your image is available in the registry. Run docker pull registry.devshift.net/fabric8-ui/fabric8-planner:SNAPSHOT-PR-2724 && docker run -it -p 5000:8080 registry.devshift.net/fabric8-ui/fabric8-planner:SNAPSHOT-PR-2724 and visit http://localhost:5000 to access it.

LGTM @vikram-raj


Use admin token in place of personal access token in pipeline

The pipeline currently uses a personal access token tied to Sascha's user account to use semantic versioning to version the app without needing to issue a new PR.
This should be replaced with an admin token not tied to an individual (organization?)

@calebtonn to work with @sbates on this, when both have time


Readability improvements, added login, fix error

Added image names to Jenkins instead of just scan, scan 2, scan 3
fixed index out of bounds when no html in output
changed to use USER 0 instead of root

LGTM. @oranmoshai would you have time to test?

Hi,
After reviewing the changes  there is 2 issues

On disallowed there is scanout.null output.

on allowed the html output not showing HTML

Hi @JonasBovin can you resolve the issues above?

I'll get right on it...

@JonasBovin Thank you! merged will be out on next release.


iirfilt_crcf_execute: backward filtering crashes when using uint64_t counter

Due to certain reasons, I want to do backward filtering to my signal.
The type signal data is double, and output filterResult is float complex.
The loop counter type is uint64_t.
When using as follows, I receive SIGSEGV on iirfilt_crcf_execute():
uint64_t i;
for (i = n - 1; i >= 0; i--)
{
  iirfilt_crcf_execute (q, data[i], &filterResult[i]); // crash here
}

Strangely, the program exits normally when setting loop counter type to int:
int i;
for (i = n - 1; i >= 0; i--)
{
  iirfilt_crcf_execute (q, data[i], &filterResult[i]); // no any problem
}

You can view my code to reproduce such issue here: https://github.com/Cuda-Chen/ms2filter/blob/7bdc01ee70879f7b41654ce895390549ed28ea3b/src/bandpass_filter.c#L73
PS. If I do forward filtering with uint64_t counter, the program ends with no error
uint64_t i;
for(i = 0; i < n; i++)
{
  iirfilt_crcf_execute (q, data[i], &filterResult[i]); // still no any problem
}

The problem is that uint64_t is always i >= 0. When the counter is already 0 And is decremented it wraps around to UINT64_MAX which is certainly out of bounds for your array.

TLDR: always use a signed value for loop counters if you don’t have a reason not to

I feel like we’re dealing with the XY. You are bringing up three orthogonal points: filter direction, sample type, and loop counter type. Is your question really about the loop counter or something else?

Agree with @JayKickliter; Your program crashing because of the loop counter, but the results won't make sense anyway because you're casting a double * as a float *. You'll need to do the conversion first to float before running.

Hi @JayKickliter @jgaeddert , thanks for your help!


Can I train multi object action detection?

Hello @yjh0410 ,
I have dataset with two action classes, and i need to train it, but my dataset has multi objects in same frame will the YOWO model localize two actions in single frame?
thank you in advance

@Batman-97 Certainly. For instance, the YOWOv2 trained with AVA dataset can detect multiple action instances in the same frame, as demonstrated in some qualitative results in the README file. This suggests that YOWOv2 may also be capable of handling your dataset. However, you will need to preprocess your dataset into a suitable format to train YOWOv2 using this project's code. You can refer to the format of datasets such as UCF101-24 or AVA as a guide for this. Unfortunately, I have not yet studied how to customize the project code for training on new datasets, so I am unable to provide more specific suggestions.

@yjh0410  thank you fopr your response.
my second question was about custom dataset training!!
in ucf-24 dataset there are testlist01.txt and trainlist01.txt, finalAnnots.mat what is this exactly for??
thank you in advance

@yjh0410  how to use pretrained yowo2 Model?? for transfer learning.
thank you

@yjh0410 你好，
我想问你我已经创建了一个自定义数据集并在其上运行训练我是成功的，但是在运行评估时即使数据集太小也需要很多时间，为什么会这样？？你有什么主意吗？？
先感谢您。
eval ...
Metric: Frame mAP
[0 / 4]
calculating Frame mAP ...
D:\Shamanth\YOWO_test\YOWOv2\evaluator\groundtruths_dataset
它永远留在这里

nnots.mat这

UCF数据集在 eval 的时候有问题 groundtruths 里面的文件找不到对应的 在testlist 中找不到对应的所以 ap 永远都是0

@yjh0410 thank you fopr your response. my second question was about custom dataset training!!
in ucf-24 dataset there are testlist01.txt and trainlist01.txt, finalAnnots.mat what is this exactly for??
thank you in advance

so have you figured out how to extract like finalAnnots.mat files?

hi @Batman-97
if I want to do custom training. should I mark each and every human in a frame with some class label? in my case (suppose try to build a running action detection), in every frame, there are 5-10 people. but only 1-2 are running. should I annotate others too?


Form should display which fields are required

The form should include a visual cue of which forms are required, so that the user can easily figure out what is missing before she or he can submit or advance to the next page.

Fixed in #35


WIP: Rewrite dog-leg detection and rollout everywhere

I was feeling pretty good about the results with this, but then found some false positive cases. I'm a bit stumped how to express the issue.
A good before - after:

A bad:

The intended dog-leg structure has the perpendicular road "continuing" on the other side of a main road. In the bad example, the "vertical side roads" are on the same side. Not sure how to formalize this yet. Any initial ideas, or pushback against the dog-leg approach generally?

Reminder to self before finishing dog-leg: https://github.com/a-b-street/osm2streets/blob/670bd72acd6d82ef43f325b8f64b12f6700ba68e/osm2streets/src/transform/mod.rs#L47

One thing that is clean from looking at the images, is that the intersection geometry algorithm doesn't do a great job with spread out intersections. I haven't looked understood the geometry algorithm yet, so I'm looking at this a pretty high level.

The top intersection looks pretty good, but because the internal Roads have been discarded, that middle southern arm doesn't have any obvious reference points from which to calculate its trim distance. In the bottom intersection, even the simplest case of two neighbouring and intersecting roads breaks.
I don't think it's necessary for the algo to be able to handle such spread out intersections in one go, but I think there will be situations that test it in these sorts of ways.
The reason I bring this up, is that I think we can improve the situation by remembering the trim distance for each Road that we find in the first pass, and never making it any smaller in later passes, as the intersections are merged. This is reasonable, because the original intersection areas are a very good estimation of the overlap of the individual Roads, and thus which bits of the Road geometry is probably nonsense.

I'm actually questioning the value of this transformation at all. What is the problem that this is trying to fix?
In the before of your good example, the east-west road is a "major" road that needs to continue through the intersections and each of the north-south roads are "minor" side roads. As we discussed before, I think we should continue with the model where the intersection takes over responsibility for the entire conflicting area (lets say the "intersection-max model") and learns how to draw lane marking for major roads that continue through it. (The alternative model ("intersection-min model") being one where the major roads continue until they meet, and the "side road intersection" only takes responsibility for drawing the outer edge of the road on the one side.)
One of the intersection-max model, is that Road rendering remains dead-simple. The intersections can even make use of it to draw major roads through intersection, which is what I started doing in the Lanes plugin.
The other benefit is that movements through the intersection is handled entirely within the intersection, and the movement along roads is handled exclusively by the road, with no special cases. Perhaps this is the problem you are trying to solve? The turn across traffic out of the narrow side road onto the wide main road will look pretty unnatural if it has to fit entirely within that skinny rectangle. If this is the problem you are trying to solve, then it is a problem even for T-intersections. I think the approach should be to detect this "thin rectangle" problem and extend the trim of the wider road.
In general, two intersections need to merged if they start overlapping, which the above approach will trigger when T-intersections are really close to each other. But I think we want to avoid merging intersections whenever we can. We want to merge all parts of a single logical intersection (the contiguous area where lane marking are gone) because interpreting the individual OSM nodes doesn't make sense without the context of the full intersection.
If you're trying to collapse dog-legs so that directions look like "continue across Main St" instead of "turn right at Main St then immediately left, back on North St" then I think we should solve that with a higher level "junction" concept that groups together Intersections. This will be desired anyway, for stuff like "continue straight at the roundabout, using the second exit", and for intersections with slip lanes.

Hmm, now I'm indeed doubting the point of this. Looking at another example... https://a-b-street.github.io/osm2streets/#20.14/47.63955/-122.31590 (and ignore the fragments of footpath)

All the streets involved are residential; there's not an obvious main or side road. My motivation for trying to merge this is partly rendering, but you're right that once we extend lane markings through intersections properly, the awkwardness of that tiny road segment goes away. An older reason is traffic simulation. Any road too short for a vehicle to fit fully is a source of gridlock, but if we have a logical "junction" grouping covering more of this, we can treat the sequence of movements as an atomic unit and not allow getting stuck somewhere in the middle.
So I guess one question becomes, when do we want to group the intersections together for some purpose? Just to the west, we have another candidate dog-leg, except the short road in between isn't really all that short:

Both examples I posted earlier feel kind of questionable now, not really the same thing.
The other confusion in my mind is still about how to treat a group of intersections together, once we decide on that group. The only concrete tool I know right now is to collapse the short road. But I'm starting to conceptualize how continuing lane markings through and logically treating movement sequences as atomic could work.

We want to merge all parts of a single logical intersection (the contiguous area where lane marking are gone)

This feels like the key difference. https://www.openstreetmap.org/way/533573781 is a clear example of what we want to merge. It's physically in the middle of a clear intersection without lane markings. These dog-leg examples feel less clear. I'll hold off on this experiment and revisit whether it's a good idea at all.

I haven't looked understood the geometry algorithm yet, so I'm looking at this a pretty high level.

Something I want to tackle soon is this. The code is absolutely a haunted forest, though at least I wrote down how it works with lots of pictures. It's not that complicated from a high-level perspective, but weird edge cases and hacks accumulated over time. Many are likely irrelevant with new advances elsewhere, or should be revisited.

Any road too short for a vehicle to fit fully is a source of gridlock, but if we have a logical "junction" grouping covering more of this, we can treat the sequence of movements as an atomic unit and not allow getting stuck somewhere in the middle.

I think this is vital. Our Intersections already have a lot of responsibility, and requiring any atomic routing manoeuvre to remain within a single intersection would be too onerous. An intersection would need to have a whole sub-network to model everything! I think we can avoid that by keeping intersections as small as possible (but we should merge logical intersections like your "clear example of what we want to merge" because we need the context of the whole intersection to understand it, just like road uses do) and introducing a Junction type which points to the parts of the network that make up the the logical junction.
Once we model major/minor movements (major movements having their lane markings continue) the routing should be able to allow cars to enter intersections and potentially block them if they are on a major movement.
I don't know quite how extensive a Junction should be, it depends how we need to use it. Anything that road users navigate in a single manoeuvre should be grouped. Having a single Junction where any two roads meet, grouping all of the slip lanes etc. seems useful (though for a different reason than your traffic sim routing). The perth_stretched_lights is an example that would benefit from grouping because all of those traffic lights are part of the same block (so searching for traffic light "islands" might be a heuristic).
In your first residential example, it's almost a moot point because there are no lane markings anywhere! So we should come to a very similar result if try to render it as two intersections vs one.  The equivalent of this is that there is no major/minor distinction, so we should see that tiny road segment as nonsense and collapse it. If east-west was a major road, and the others gave way, then the tiny road segment would connect two major movements and would thus have a sensible meaning, so it would not need not be merged.

I got rid of dog-leg detection entirely, now that we properly handle roads trimmed into oblivion. We can revisit later, but I think the points you made here are correct


[beta] Basic JavaScript: Divide one Decimal by Another with JavaScript Test 3 Failing

Challenge Name
Basic JavaScript: Divide one Decimal by Another with JavaScript
Issue Description
Test 3 (The quotient variable should only be assigned once) is not passing valid code.
Browser Information

Browser Name, Version: Chrome 56.0.2924.87 (Official Build) (32-bit)
Operating System: Windows 7 Professional, Service Pack 1
Mobile, Desktop, or Tablet: Desktop

Your Code

var quotient = 4.4 / 2.0; // Fix this line

Screenshot

This bug appears to come up when an incorrect answer is submitted first, then it won't accept the correct answer afterwards.  I ran into the same issue with another challenge Basic JavaScript: Escaping Literal Quotes in Strings.  In both cases, I reloaded the page, which also reloaded the correct code that had failed the test.  After reloading the page, I submitted the code again with no changes, and the test passed.

@elrolfe thanks for the issue. I'm unfortunately unable to reproduce your issue. I've tested it on Chrome and Firefox.
cc/ @freeCodeCamp/moderators anybody else can reproduce?

I can't reproduce either. @elrolfe Can you share the exact wrong answer you used? Can you also try running the same thing in a different browser?

If I recall correctly, the first thing I did on the page was to click "Run Tests" to make sure not all of the tests passed without doing anything.  After that, I put in the correct answer and got the error.  I tried reproducing the error in Incognito mode, but it worked fine.  I also tried IE 11.0.9600.18537, but the page wouldn't load correctly after multiple refreshes and restarts of IE.  A screenshot of what happened is below.

I encountered this bug as well, I was finally able to work around it by reloading the browser.  Doing a reset on my code did not work.  Very strange.

@elrolfe @TheAaronCovington Thanks for testing this out!
IE/Edge not working is a known issue, we're working on it!
@elrolfe If you try this again in
This challenge was updated recently in https://github.com/freeCodeCamp/freeCodeCamp/commit/927308bc7f126cd725ea8cb47bc022b93e635f2d, so it is possible that there were cache issues.
What confuses me is that 1) these changes are no longer visible in the file on GitHub while I can't find them being removed anywhere, and 2) the message was updated, and the new test was added, so it seems unlikely the JS didn't update. / cc @erictleung

@systimotic here is the line of code for this trouble test. Probably has to do with the weird inclusion of the tail code we've kinda touched on here.

had to force the tab just now for this challenge to work, @erictleung good to know a solution is underway 👍

Hey,
I also got this error on chrome Version 56.0.2924.87 (64-bit) just now,
After refreshing the page and submitting correct answer first time it worked

Same issue here on chrome 56.0.2924.87. Confirmed that refreshing the page and submitting the correct answer on the first try allows the test to be completed successfully.
If the correct answer is submitted after an incorrect answer, the test will fail on: The quotient variable should only be assigned once.

Just had this happen to me. I had pasted in the correct answer and ran the test then got this error (the 3rd check failing). I reloaded the page and then re-ran the test and it worked.

I had the same issue on Safari.
After a hard refresh of the page, it worked.

It's clear that a lot of people are having this issue. I can't quite figure out what's going on with it.
@erictleung The PR you linked, https://github.com/freeCodeCamp/freeCodeCamp/pull/11987, should've fixed the issues with the inclusion of the tail. The fact that it works after a hard refresh means that it worked, at least to some extent.
@freeCodeCamp/moderators Can anybody help triage? I'm quite lost as to what could be causing this.

Ok, so I just tested this again, and I can confirm something very weird is going on.
@BerkeleyTrue mentioning you here, because I think this is an issue in the challenge framework stuff
Steps to reproduce in Firefox
The issue here seems different, but it may be related

Go to the previous challenge
Complete the challenge and move to the next challenge
Run the challenge

All tests fail, and the console output looks like this:
// running tests
"product is not defined"
"product is not defined"
"product is not defined"
// tests completed

Steps to reproduce in Chrome
Should probably be the same in Safari.

Go to the previous challenge
Complete the challenge and move to the next challenge
Run the challenge with failing code (the last test should be the only one that passes)
Run the challenge with correct code

Only the last test will fail.
Common
For both of these, it's essential that you did the previous challenge before it. If you start on the dividing challenge, it works fine. This is what makes me suspect that something in our code is not cleared out properly.
#12762 may be related, but I'm not certain.

@systimotic Nice triage!

This is what makes me suspect that something in our code is not cleared out properly.

I agree.

Happened to me too. I did what @XXiphias recommended in order to submit.

This is still occurring, will only pass if its correct on the first go, otherwise presents issue above

I have the same issue. Did not work to "only pass if its correct on the first go" nor resetting code. For me worked if I refreshed the page and my code was reloaded with message "I found same saved work. Loading now."

This is resolved. Please open a new issue if you are still facing the issue.
Happy coding!


Could not deserialize subscription response when using Partner Center SDK v3.2.0

Steps to reproduce
When using C# Partner Center SDK v3.2.0:
I'm following this article in C#:
https://learn.microsoft.com/en-us/partner-center/develop/get-all-of-a-customer-s-subscriptions
Call:
var customerSubscription = await partnerOperations.Customers.ById("3E61CDC8-5FE5-457E-843D-DD253FA872B4").Subscriptions.GetAsync();
Expected behavior
Should return subscription for the user.
Actual behavior
Getting Error:
Could not deserialize response
Inner Exception:  {"Requested value 'Disabled' was not found."}
Diagnostic logs
When calling POSTMAN:
GET https://api.partnercenter.microsoft.com/v1/customers/3E61CDC8-5FE5-457E-843D-DD253FA872B4/subscriptions
I'm getting all user subscription result.
The error happen only for this specific user when I try using C# Partner Center SDK v3.2.0
Environment
.Net Core 3.1

There wasn't a match in my C# Enum  for 'Disabled' properties


fix: run mqtt callbacks in a separate thread

Issue #, if available:
Description of changes:
Run mqtt callbacks in a separate thread to avoid a deadlock situation that happens when the Shadow manager component enters into RUNNING state before the MQTT client connection is successfully created acc to GG.
Mqtt connect future will be completed with the client only after the first on connect callbacks are triggered. Shadow manager onConnect callback needs the client to be fully formed (connect future to be completed with the mqtt client) for it to use subscribe with it.  Hence, the subscriptions triggered from the callback timeout waiting for the client.
Why is this change necessary:
More info:
When the MQTT client is created for the first time, onConnect (one-time) callbacks are run before the connectFuture is completed with the client.  Only when these callbacks are completed, the connectFuture is completed.
But, in the case where Shadow manager component enters into RUNNING state before the MQTT client connection is successfully created for the first time, onConnectionResumed callback is triggered when the mqtt client is created for the first time.  This callback uses subscribes to topics using mqtt client. However, in order to subscribe using the mqtt client, the connectFuture should be fully completed resulting in a deadlock situation.
The fix is to run the callback in a separate thread, so the connectFuture is completed without being blocked.
How was this change tested:
Any additional information or context required to review the change:
Checklist:

[ ] Updated the README if applicable
[ ] Updated or added new unit tests
[ ] Updated or added new integration tests
[ ] If your code makes a remote network call, it was tested with a proxy

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Can we accomplish this without adding more threads?  In startSyncingShadows, we can check if connected in a non-blocking way mqttClient.getMqttOnline().get().  and for stopSyncingShadows,  maybe we can find a way to not waitForSyncEnd(); in this case


Consider moving all dependencies to devDependencies

As far as I can tell, none of the generated datasets or regexes actually rely on any of the production dependencies listed in package.json. Could they be moved to devDependencies to prevent them from being installed in production?
I ask because EmojiOne in particular is really huge (149MB!). In environments like Heroku where there are limits on how large an app and its dependencies can be, this is unfortunate.
I'd be happy to send a PR for this, but I wanted to make sure I'm not missing something first.

They're dependencies because you can use packageData, extractSet, and all the other helpers locally to generate your own datasets. Perhaps I should remove this functionality and just force people to use the pre-generated dumps.

I'm also looking into adding more data to unicode-emoji-data, in an effort to remove EmojiOne.

Went ahead and moved them all to dev deps.


All tests pass when running ctest, but not when running unit_tests directly

Maybe ctest doesn't init cuda or mpi correctly? Maybe it doesn't init test_main correctly?
add_test(NAME MyAwesomeTest COMMAND my_test) apparently can run the whole thing, but not individual tests.

Ok turns out if you break the GPU context enough, such as accessing a lot of random memory, all tests passchen running ctest for some reason.


Filtering on a thread

Sometimes my implementation of "IItem" has not all the info loaded as soon as i add it, some (like images) are being loaded only when displayed. Now, if i want to filter based on a field that might require some time to be loaded i currently need to do the search on my own and then set the adapter again with the items i filtered. It would be nice to allow filtering on a thread so then out of the UI a list of matching items is prepared and then back in UI thread the adapter is actually filtered.
Is this too complex / out of library scope?

@frmz this seems to be out of scope of this library. That's a rare usecase of having it already sorting  on lazy fields. You may be able to achieve it with the built in filter already, but I am not sure.
Otherwise you have to implement this on your own. Perhaps you like to do a PR at some point if you figure it out ;)


Retail

Training data for intents related to retail domain.
This category is for intents that can be used to train bots for retail domain, such as "where is my order"
List of intents in this category:

Thanks for raising this issue, @akelad will get back to you about it soon✨
Please also check out the docs and the forum in case your issue was raised there too 🤗

Hi @simplymanas
Looks good, thank you for submitting the PR :)


ICES_Stocks: review of nephrops and sandeel descriptions

Now that we have reference to the FUs and sandeel areas maybe we should remove extra reference to the FAO areas in which these are in, as it is confussing and probably unnecessary. Raised by Aureliano when reviewing their database.

@odontaster to consult with Advice on this issue to see how to move forward.

This was consulted with Advice and they replied:
"The ICES/FAO codes are useful as they identify the general area and for outsiders, FUXX or 7r really doesn't make sense without the general geographical area."


NullReferenceException is generated with the in-editor player and an XR SDK profile

Describe the bug
When using the in-editor player and an XR SDK profile to run the example scenes, a NullReferenceException is generated once as well as a constantly generating error for the XR SDK Windows Mixed Reality Device Manager. The Device Manager error will generate as long as the in-editor player is running an example scene.
To reproduce
Steps to reproduce the behavior:

Create a new project and import the MRTK and the XR SDK
Open any example scene
Change the profile to "DefaultXRSDKConfigurationProfile"
Press the Play button
See errors

Screenshots

Your setup (please complete the following information)

Unity Version 2020.3.1f1
MRTK Version 2.6.1

Target platform (please complete the following information)

Standalone
UWP
Android

Additional context
This issue also occurs on OpenXR with the DefaultOpenXRConfigurationProfile, after adding the OpenXR package with the Feature Tool but only before the user enables the OpenXR plugin for any Platform in the XR Plugin Manager.

@elbuhofantasma Can you check this against the dev branch please? This sounds like https://github.com/microsoft/MixedRealityToolkit-Unity/issues/9469, which was fixed by https://github.com/microsoft/MixedRealityToolkit-Unity/pull/9521

Closing as duplicate and fixed


Add julia wrapper for t8_cmesh_new_hypercube_pad_ext

Ah. Didn't know this part was automatically generated.

Yes, src/Libt8.jl is generated in dev. I think t8_cmesh_new_hypercube_pad_ext is not yet included in the latest release v2.0.0 of t8code (released on April 19 2024), which t8code_jll.jl (and thus T8code.jl) is built on. The function was added after the last release on June 5. Thus, I think the correct way to deal with it, is to release a new version of t8code, rebuild t8code_jll.jl by adjusting the build script, run the generator.jl again, and push the changes to T8code.jl. Then t8_cmesh_new_hypercube_pad_ext should be there automatically. So the first step is a new release of t8code. What's the plan there, @jmark?

Okay thanks :raised_hands: Then, I will close this PR again
I just discussed this with @jmark. Unfortunately, those releases still take some time.


Cannot GET /

I see Cannot GET / when trying to run any of these examples.

Try https://localhost:8080/bundle.js instead


AttributeError: '_MigrateConfig' object has no attribute 'configure_args'

Created brand new environment
git checkout 9a
pip install -r requirements.txt
python manage.py db upgrade
Got
AttributeError: '_MigrateConfig' object has no attribute 'configure_args'
I saw that it might be because of Flask-Migrate
but I checked that the one in requirements and what i have in my virtual environment do match

This is a weird error. The configure_args attribute in Flask-Migrate was introduced in release 1.4.0. The requirements file in this repo points to 1.1.0, which predates the work that introduced this attribute. My guess is that you have a mixed new and old releases.
Maybe you generated your migration repository with a newer release of Flask-Migrate, and then downgraded it? That would make the repository incompatible with the older Flask-Migrate, the migration repository needs to be generated with the same version you use for the application or an older release, but not a newer release.

It is weird indeed. What I did to get around it - I removed specified versions in requirements file and let pip download the latest (with fingers crossed that it won't have incompatibility issues between different packages)
Just tried to recreate the issue with same results
I created different env with
conda create -n flasky python=2.7
source activate flasky
pip install -r requirements/dev.txt
(flasky) $ conda list
packages in environment at /ofrconda/envs/flasky:

alembic                   0.6.2
bleach                    1.4
blinker                   1.3
colorama                  0.2.7
Flask                     0.10.1
Flask-Bootstrap           <IP_ADDRESS>
Flask-HTTPAuth            2.7.0
Flask-Login               0.3.1
Flask-Mail                0.9.0
Flask-Migrate             1.1.0
Flask-Moment              0.2.1
Flask-PageDown            0.1.4
Flask-Script              0.6.6
Flask-SQLAlchemy          1.0
Flask-WTF                 0.9.4
ForgeryPy                 0.1
html5lib                  1.0b3
openssl                   1.0.2h                        1
pip                       8.1.2                    py27_0
python                    2.7.12                        1
readline                  6.2                           2
setuptools                23.0.0                   py27_0
sqlite                    3.13.0                        0
tk                        8.5.18                        0
wheel                     0.29.0                   py27_0
zlib                      1.2.8                         3
httpie                    0.7.2
itsdangerous              0.23
Jinja2                    2.7.1
Mako                      0.9.1
Markdown                  2.3.1
MarkupSafe                0.18
Pygments                  1.6
requests                  2.1.0
six                       1.4.1
SQLAlchemy                0.9.9
Werkzeug                  0.10.4
WTForms                   1.0.5

Do you have the full stack trace of the original error?

(flasky) $ python manage.py db upgrade
Traceback (most recent call last):
File "manage.py", line 29, in
manager.run()
File "/conda/envs/flasky/lib/python2.7/site-packages/flask_script/init.py", line 405, in run
result = self.handle(sys.argv[0], sys.argv[1:])
File "/conda/envs/flasky/lib/python2.7/site-packages/flask_script/init.py", line 384, in handle
return handle(app, *positional_args, **kwargs)
File "/conda/envs/flasky/lib/python2.7/site-packages/flask_script/commands.py", line 145, in handle
return self.run(*args, **kwargs)
File "/conda/envs/flasky/lib/python2.7/site-packages/flask_migrate/init.py", line 98, in upgrade
command.upgrade(config, revision, sql = sql, tag = tag)
File "/conda/envs/flasky/lib/python2.7/site-packages/alembic/command.py", line 124, in upgrade
script.run_env()
File "/conda/envs/flasky/lib/python2.7/site-packages/alembic/script.py", line 199, in run_env
util.load_python_file(self.dir, 'env.py')
File "/conda/envs/flasky/lib/python2.7/site-packages/alembic/util.py", line 199, in load_python_file
module = load_module(module_id, path)
File "/conda/envs/flasky/lib/python2.7/site-packages/alembic/compat.py", line 55, in load_module
mod = imp.load_source(module_id, path, fp)
File "migrations/env.py", line 87, in
run_migrations_online()
File "migrations/env.py", line 76, in run_migrations_online
**current_app.extensions['migrate'].configure_args)
AttributeError: '_MigrateConfig' object has no attribute 'configure_args'

Great. So take a look at your migrations/env.py file. That is clearly a env.py generated by a newer version of Flask-Migrate. If you compare it against the version of that file in this repository (link) you will see that it is different, so you generated that file on your own instead of taking the version that is compatible with the dependencies in this repository.

Indeed they are different... and now I know what happened. And it all makes sense now. Duh... Thank you for pointing me to the env.py file which made it snap in my head.
I got the source code and I was running it against my default environment where I had Flask-Migrate 2.0,0 installed. I was running examples just fine and then when the book (which is awesome btw) required more packages to be installed that i did not have, i decided to create new environment not to mess up my current one.
but... since i was running upgrade/etc scripts, they changed env.py script - hence when I created new env with Flask-Migrate 1.1.0 and still ran within the same directory of the source code, it broke.
All makes sense now. After hard git reset everything is working just fine. Thanks again for troubleshooting it!


Bug: Category Display Issue for Cloud Folders in Sidebar

Description
I've noticed an issue where, upon right-clicking on a cloud folder from the sidebar, it displays the category "File System" even when there's nothing shown.
Steps To Reproduce

Right-click on the Cloud drive
Click on properties

Requirements
Maintain a consistent user interface where categories are displayed only when relevant.
Files Version
<IP_ADDRESS>
Windows Version
10.0.22631.3007
Log File
No need.

Thanks for the report, I've added this to the project board.

it displays the category "File System" even when there's nothing shown.

Can you send a screenshot?

@Josh65-2201 do you know what they are referring to?

When opening the Propeties of the cloud folder via the sidebar item it shows the File system part when normally it won't.

What it should show

If we are going to display it this way, we should also stop displaying the drive size as pointed out in #10001 and just display the properties as a folder.

I don't have a preference

I believe it is more logical for the cloud disk properties page to be the same as the folder page, which means that all issues related to it will be circumvented, such as incorrect disk size or file system problems.

Is it possible to know the actual size of the cloud drive? If it is, maybe we can just fix the size issue and keep it in the drive style.


support multiple data centers

akka has a new feature named multiple data centers, node is grouped by dc, and leader is selected in each group,  can this split brain resolver fit to this feature?

@bobofzhang no, this split brain resolver does not support multiple data centers.


Shopping logic for Collection & Explorer

I know I've backlogged somewhere yet can't find (link #1041)
We will design buy button on Items on Explorer where on hover can user see shopping cart and it can

instant buy
add to cart 🛒

https://github.com/kodadot/nft-gallery/issues/3846
https://github.com/kodadot/nft-gallery/issues/1041

We will have instant buy guessing after remaking the buying experience; we must first remake all of the modals.

we must first remake all of the modals.

which modals?

@yangwao buying ones, I am guessing it will have some similarities

Do we have updates on this?

@yangwao I have the layout done; now I have to pimp the UI a bit. As I mentioned earlier, I would like to push this issue with #5458


.

.

Ok
On Thu, 11 Nov 2021, 10:25 pm Anthony van Tonder, @.***>
wrote:

Can you pleas at a list command that will allow user to know how many
giveaways they have made thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Zaid-maker/dis-giveaway-bot/issues/62, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMXTCNDGRRBLNKA2Z4EB543ULP37ZANCNFSM5H2626PQ
.

Can you pleas at a list command that will allow user to know how many giveaways they have made thanks


Zoom-in/out/home/fullscreen buttons' image loading is failing sporadically, when running on Flask server (or any slow server)

I observed that running openseadragon on python Flask server has an issue, when the initial load of the navigating button happens.
The GET requests toward the server are sent parallel apparently, and sometimes the server is not able to respond them.
Which results in displaying the alternate text, instead of the proper image button.
I added a workaround, to delay the fetch of the image buttons as follows:
        makeTransparentImage: function(e) {
            var t = u.makeNeutralElement("img");

            // add this extra while loop for 20msec syncrhonous delay:
            let datetime1 = new Date().getTime();
            let datetime2 = datetime1 + 20;
            while (datetime1 < datetime2) {
                datetime1 = new Date().getTime();
            }
            // delay finished, continue with image fetch:

            t.src = e;
            return t
        },

This workaround helped, and the server was able to answer properly the requests arriving in a more paced way.
To handle the issue, I propose some new viewer option (similar to the existing "imageLoaderLimit"), which can configure the delay between the button image loading requests, in case of slow servers.

Does your server also have trouble serving the image tiles in time? Or is that fine because they are loaded one at a time?
This is the first I've heard of this issue, so I don't know how widely-used such a feature would be. If you want to pursue adding it, though, I can help point you in the right direction. If nothing else, this issue report can be helpful to others who encounter the same problem; thank you for reporting it!

To solve the issue caused by the slow python Flask web server, I introduced a NGINX proxy in front of the python Flask server.
This NGINX proxy is configured to serve the static content (tiles, openseadragon artifact, eg. button images, script etc.), and everything else which is dynamic content is proxied to the python Flask server.

This hybrid setup works fine.
Going back to the original topic:
Despite that the problem is solved by a workaround, but:
for such situations, where this traffic offloading from the low performance server is not an option, the configurable concurrency and/or time pacing would be still a useful feature in openseadragon.

Great... Sounds like a good setup. Thank you for sharing the info on it.
And yes, we'll leave this issue open in case someone wants to tackle adding the feature.


error detected

environment

vim: 8.1.20
vim-airline: Just downloaded and install
OS: Fedora 28
Have you reproduced with a minimal vimrc: No
What is your airline configuration:
execute pathogen#infect()
syntax on
filetype plugin indent on
let g:airline_powerline_fonts = 1
if you are using terminal:
terminal: xterm
$TERM variable: ???
color configuration (:set t_Co?):
if you are using Neovim:
does it happen in Vim: ???

actual behavior
typing then is crashes
expected behavior
not to crash?
Error message:
Error detected while processing function 36_wordcount_update[15]..airline#e xtensions#wordcount#formatters#default#format[9]..45_get_decimal_group: line    1: E121: Undefined variable: v:lang

OK, I have is down to the wordcount extension. when enabled to causes the error. when not it does not crash. I don't know if it makes any difference but my word count is in excess of 256K words.

I loaded the wordcount extension and now it is working again. Basically, I turned off all extensions and loaded only the ones I would use and default. So now it is working again and I do not get the errors any longer. So I would say it is fixed. Thanks, Mike for helping me out! ;-P

what does :echo v:lang give for you? Can you please show the complete output of :version?

Current language: "LC_CTYPE=en_US.UTF-8;LC_NUMERIC=C;LC_TIME=en_US.UTF-8;LC_COLLATE=en_US.UTF-8;LC_MONETARY=en_US.UTF-8;LC_MESSAGES=en_US.UTF-8;LC_PAPER=en_US
.UTF-8;LC_NAME=en_US.UTF-8;LC_ADDRESS=en_US.UTF-8;LC_TELEPHONE=en_US.UTF-8;LC_MEASUREMENT=en_US.UTF-8;LC_IDENTIFICATION=en_US.UTF-8"
VIM - Vi IMproved 8.1 (2018 May 17, compiled May 28 2018 11:12:40)
Included patches: 1-26
Modified by<EMAIL_ADDRESS>Compiled by<EMAIL_ADDRESS>Huge version without GUI.  Features included (+) or not (-):
+acl               +comments          +file_in_path      +linebreak         +mouse_urxvt       +quickfix          +terminal          +windows
+arabic            +conceal           +find_in_path      +lispindent        +mouse_xterm       +reltime           +terminfo          +writebackup
+autocmd           +cryptv            +float             +listcmds          +multi_byte        +rightleft         +termresponse      -X11
-autoservername    +cscope            +folding           +localmap          +multi_lang        +ruby/dyn          +textobjects       -xfontset
-balloon_eval      +cursorbind        -footer            +lua/dyn           -mzscheme          +scrollbind        +timers            -xim
+balloon_eval_term +cursorshape       +fork()            +menu              +netbeans_intg     +signs             +title             -xpm
-browse            +dialog_con        +gettext           +mksession         +num64             +smartindent       -toolbar           -xsmp
++builtin_terms    +diff              -hangul_input      +modify_fname      +packages          +startuptime       +user_commands     -xterm_clipboard
+byte_offset       +digraphs          +iconv             +mouse             +path_extra        +statusline        +vertsplit         -xterm_save
+channel           -dnd               +insert_expand     -mouseshape        +perl/dyn          -sun_workshop      +virtualedit
+cindent           -ebcdic            +job               +mouse_dec         +persistent_undo   +syntax            +visual
-clientserver      +emacs_tags        +jumplist          +mouse_gpm         +postscript        +tag_binary        +visualextra
-clipboard         +eval              +keymap            -mouse_jsbterm     +printer           +tag_old_static    +viminfo
+cmdline_compl     +ex_extra          +lambda            +mouse_netterm     +profile           -tag_any_white     +vreplace
+cmdline_hist      +extra_search      +langmap           +mouse_sgr         +python/dyn        -tcl               +wildignore
+cmdline_info      +farsi             +libcall           -mouse_sysmouse    +python3/dyn       +termguicolors     +wildmenu
system vimrc file: "/etc/vimrc"
user vimrc file: "$HOME/.vimrc"
2nd user vimrc file: "~/.vim/vimrc"
user exrc file: "$HOME/.exrc"
defaults file: "$VIMRUNTIME/defaults.vim"
fall-back for $VIM: "/etc"
f-b for $VIMRUNTIME: "/usr/share/vim/vim81"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H     -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong
-grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-
tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/python3.6m -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc   -L. -Wl,-z,relro  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,--enable-new-dta
gs -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld  -Wl,-z,relro  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/
lib -Wl,--as-needed -o vim        -lm  -lselinux   -lncurses -lacl -lattr -lgpm -ldl   -Wl,--enable-new-dtags -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redh
at/redhat-hardened-ld -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fstack-protector-strong -L/usr/local/lib  -L/usr/lib64/perl5/CORE
-lperl -lpthread -lresolv -ldl -lm -lcrypt -lutil -lc

Sorry, those are the exact outputs you asked for. Are you having the same issue?

No, the output should be something like C or EN or DE and even then, it does not show the error message:  E121: Undefined variable: v:lang so something is weird with your system.

I see. But it is working again. But it is tied to the wordcount extension. When I disabled it, VIm worked fine. Then I enabled it again and it still works fine. Thoughts?

I am still suspecting some kind of a localization problem here. Are you setting :lang  somewhere?  What happens if you use LC_ALL=C vim? Just a guess, what does :echo get(v:, 'lang', '--') return?

 WordProcessor()
" movement changes
map j gj
map k gk
" formatting text
setlocal formatoptions=1
setlocal noexpandtab
setlocal wrap
setlocal linebreak
" spelling and thesaurus
setlocal spell spelllang=en_us
set thesaurus+=~/mthesaur.txt
" complete+=s makes autocompletion search the thesaurus
set complete+=s
endfu
com! WP call WordProcessor()
au BufEnter *.txt :WP
if &term =~ "xterm\|rxvt"
" use an orange cursor in insert mode
let &t_SI = "<Esc>]12;orange\x7"
" use a red cursor otherwise
let &t_EI = "<Esc>]12;red\x7"
silent !echo -ne "\033]12;red\007"
" reset cursor when vim exits
autocmd VimLeave * silent !echo -ne "\033]112\007"
endif
`

can you please try with the suggestions I gave?

en_US.UTF-8

What are you troubleshooting? It is working.

what about the error on your first message? That should not error out.

also, please answer what this returns: :echo get(v:, 'lang', '--')

en_US.UTF-8


[WIP] Add Topic Configuration

[x] Parse YAML to NewTopic Kafka object
[ ] ~Make topic factory discoverable(?)~
[ ] Pass variables between AdminClientFactory and Topic factory to create topics
[ ] Integration Test to create topics

@cricket007 any update on this?

Sorry, was on vacation. Addressed the review feedback. Not sure how to get the YAMLConfigurationFactory to test a list of topics, but I can do without that.
Regarding the actual creation of topics, I can't seem to get DropwizardKafkaIT to run with mvn integration-test

Regarding the stacktrace you showed, that's actually a different error than I have, but searching that suggests that since the spring-kafka Kafka dependency version is lower than the other that is actually included. To resolve that, I've moved kafka declaration into dependencyManagement to enforce the newer version, and now I seem to be able to get past that.
mvn -Prelease integration-test now runs as expected, though, not sure how to startup() the Managed AdminClient object from the tests such that the topics actually get created.

@cricket007 hey, let me know if you’re going to circle back to this today or tomorrow. If not I’ll cut a release for some other stuff, and release this when you have time to circle back.

Should the AdminClientFactory have the Jackson polymorphic deserialization type stuff set up?

Seems to be out of scope of this feature, no? Besides, not sure what what would look like.
In any case, I addressed all the other comments and wrote the simplest thing I could find for "check if topics exist" - https://stackoverflow.com/a/53442463/2308683

@cricket007 You could argue it’s out of scope for this PR, but it’s absolutely something that we need to support. Either you or I can add that in a separate PR.


Add Del Mar College

@pcorchado I am sorry, the domain webdmc.delmar.edu is removed from our trusted domains list because it was abused in the past. If you are the student of this school, please enroll to GitHub Student Developer Program. Then apply for JetBrains educational subscription with your GitHub account (GitHub tab at https://www.jetbrains.com/shop/eform/students).


Version requirements fail if a later version is installed

If for example I'm requesting version of a package 1.0.3 and 1.0.4 is installed, an install action will be repeatedly executed (i.e. on every chef-client run), and any notifications will be done every single time.
Could version requirements be interpreted as "that version or higher"?

I feel like performing a remove then install with the earlier version is appropriate here. Lets us deal with regression conditions. Thoughts?

@palfrey Ensure for versions I don't believe is a version range, only exact versions. One could workaround this by creating a metapackage with a dependency on 1.0.3 (which translates to that version or higher) and ensure that the metapackage is installed. It's a bit of a weird workaround though.

This cookbook no longer ships the package resource since that was included within Chef 12.7 which we released Feb 2016. If you're not yet on Chef 12.7 or later you'll want to upgrade, but you shouldn't see this issue anymore, especially since the 2.0 release of the cookbook removed the package resource entirely.


nuget.config interfere with VSS_NUGET_EXTERNAL_FEED_ENDPOINTS

running on linux (docker) .
using microsoft/dotnet:2.1.403-sdk
and https://github.com/Microsoft/artifacts-credprovider/releases/download/...
VSS_NUGET_EXTERNAL_FEED_ENDPOINTS is set up correctly to authenticated to a tfs 2017 nuget feed.
If I add a nuget.config in the restore directory, something gets broken and I get a 401 ...
If I remove the nuget.config it does work back again .
Note that it does not work even if I put corect credentials (pat token) in the nuget.config
("ems" is an on premise tfs 2017 nuget feed)

Is nuget.config supported somehow in this scenario ? If it is not, it should be ignored altogether.
p.s. : the nuget.config is fine since I was using it nuget.exe for restore (but had to pull mono in the build) container).

closing this due to inactivity. Please feel free to re-open if you have more updates.


Block Position Resets

forge-1.12.2-<IP_ADDRESS>07-universal
Spongeforge-1.12.2-2768-7.1.5-RC3515
griefprevention-1.12.2-<IP_ADDRESS>3
LuckPerms-Sponge-4.3.79
When a player doesn't have permission, and breaks modded blocks from Thermal, Immersive mods, the blockstate/position is reset. (Ducting, Breakers, Servos, so much more...)

Unable to reproduce on latest SF/GP. Update to SF 3614+ and GP 681+


Use of commons-httpclient should be converted to o.a.httpcomponents:httpclient

commons-httpclient is 12 years old, org.apapche.httpcomponents:httpclient has the successor project

Need to determine what's pulling this in.


Way to run locally

Hi,
Is there a way to run the code locally? I am setting up a rather complicated set of instructions, and my page runs out of memory when I try to generate the BP string.
Text of my FSM can be found at https://pastebin.com/KQ6GrEMn
Any help is appreciated!

Thanks, I'll give that a try. I'm working on a project to have this state machine control a recursive bluprinter to automatically expand a rail network. If you are interested in making additional changes to this I'd be happy to log some of the smaller things I'm seeing as issues if that would help.
Either way, I've made a good amount of headway on the project by breaking the big state machine into a bunch of smaller ones that communicate with each other. One big one though would certainly be preferable when it comes to management.
Thanks for making this!

I get the following error when trying that I'm afraid
If you need the log let me know, I'd just prefer not to post it somewhere public since it has my name in it

@TokMor I took the time to upgrade all the dependencies (went from Webpack 2 to Webpack 5). If you pull the latest code and run npm install again, it should be possible to run the development server (npm run dev). Please let me know if it works.

It goes for a while, but I eventually get an error on the npm install step:

@TokMor I was just able to deploy the app to Heroku. IIRC, this deploy contains the fix that made the parser faster. Please try the live site and let me know.
If you're still interested in running locally, make sure you have a recent version of Node and NPM (within the last year should be fine), delete the repo, pull, and install again. My guess is that your local project is confused because of the old dependency management being broken.

Thanks! the live version works way faster now and can handle far more complicated state machines which is great.
Still having issues getting the right version of npm and/or node to install, but with the better live version I should be just fine.
Thanks again for the help.
As I mentioned before there are a few small things that seem to be coming out wrong in the BPs, and while I've figured out workarounds for them I can let you know what they are if you're interested in doing more development on this project.

@TokMor If you open a new issue with the code and expected behavior, I'd be happy to take a look. Cheers!


rultor merge fails

rultor merge fails with:
Caused by: java.lang.ClassNotFoundException: net.sourceforge.cobertura.coveragedata.TouchCollector
Full log available here.
The issue appeared when merging PR #398.

@yegor256 please do something about this issue

@bdragan if master branch is not broken, it's not a bug. It's a problem in your particular pull request, you have to solve it yourself.

@bdragan this link may help you: http://www.yegor256.com/2015/02/16/it-is-not-a-school.html

@yegor256 Thank you for the feedback. However, in my environment the same issue also appears on master with: mvn clean site -Psite.
I will appreciate any advice on how to proceed.

@bdragan in that case, submit a new ticket, with a proper description of the problem. Explain what is broken in master and how can I reproduce it. See this: http://www.yegor256.com/2014/11/24/principles-of-bug-tracking.html

@yegor256 Issue #403 created.


Not an ussue but Ive got internal server error, pls help

Hello!
Ive installed plugin-cloudview by composer as instruction said. But have internal server error when try to view xls-attacment there is log. It's host on Ubuntu+Apache2
[23-Oct-2023 19:58:04 UTC] PHP Warning:  fopen(/var/www/html/roundcube/plugins/cloudview/temp/8/a313fd14cd97e1afe5729f1>
[23-Oct-2023 19:58:04 UTC] PHP Fatal error:  Uncaught TypeError: fclose(): Argument #1 ($stream) must be of type resour>
Stack trace:
#0 /var/www/html/roundcube/plugins/cloudview/cloudview.php(345): fclose()
#1 /var/www/html/roundcube/plugins/cloudview/cloudview.php(213): cloudview->saveAttachmentToLocal()
#2 /var/www/html/roundcube/program/lib/Roundcube/rcube_plugin_api.php(577): cloudview->viewAction()
#3 /var/www/html/roundcube/program/include/rcmail.php(255): rcube_plugin_api->exec_action()
#4 /var/www/html/roundcube/index.php(278): rcmail->action_handler()
#5 {main}
thrown in /var/www/html/roundcube/plugins/cloudview/cloudview.php on line 345

Ive also add to apache2.conf those lines
#cloudview
<Directory /var/www/html/roundcube/plugins/cloudview/temp>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted

#cloudview

and remove "temp" from .htaccess from roundcube home dit

Internal Server error still persists

[23-Oct-2023 19:58:04 UTC] PHP Fatal error: Uncaught TypeError: fclose(): Argument https://github.com/jfcherng-roundcube/plugin-cloudview/pull/1 ($stream) must be of type resour>

This error msg seems to be edited?

Thanks for fast answer, error was in folder permissions.

Completed

Thanks for fast answer, error was in folder permissions.

Interesting. I thought it will emit error earlier when doing fopen()...

maybe you know is there plugin for roundcube for preview .mp4 attachments?

Any modern web browsers should play it. It's just not code to support it here.

It's work! Cool, thank you very much! You need to add it to release :)

0.6.18 has been released.


Install nrfutil with its dependencies isolated

I think this takes care of https://github.com/NordicPlayground/nrf-docker/issues/20.
I tested with the following:
docker build -t nrfconnect-sdk --build-arg sdk_nrf_revision=v2.1-branch .

docker run --rm -it nrfconnect-sdk bash

root@1ea371030882:/workdir/project# pip freeze | grep protobuf
protobuf==4.21.7

root@1ea371030882:/workdir/project# nrfutil --help
Usage: nrfutil [OPTIONS] COMMAND [ARGS]...

Options:
  -v, --verbose            Increase verbosity of output. Can be specified more
                           than once (up to -v -v -v -v).
  -o, --output <filename>  Log output to file
  --help                   Show this message and exit.

Commands:
  dfu       Perform a Device Firmware Update over serial, BLE, Thread, Zigbee
            or ANT transport given a DFU package (zip file).
  keys      Generate and display private and public keys.
  pkg       Display or generate a DFU package (zip file).
  settings  Generate and display Bootloader DFU settings.
  version   Display nrfutil version.
  zigbee    Zigbee-related commands and utilities.

root@1ea371030882:/workdir/project# PIPX_HOME=/opt/pipx PIPX_BIN_DIR=/usr/local/bin pipx list
venvs are in /opt/pipx/venvs
apps are exposed on your $PATH at /usr/local/bin
   package nrfutil 6.1.7, installed using Python 3.8.10
    - nrfutil

root@1ea371030882:/workdir/project# ls /opt/pipx/venvs/nrfutil/lib/python3.8/site-packages/ | grep proto
protobuf-3.20.3-py3.8-nspkg.pth
protobuf-3.20.3.dist-info

So the correct (higher version) of protobuf is installed for Zephyr and nrfutil works fine with it's own 3.20.3 version.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks! Good idea to isolate the dependencies for nrfuil!


New package: GymnasiumWrapper v0.1.0

Registering package: GymnasiumWrapper
Repository: https://github.com/p-w-rs/GymnasiumWrapper.jl
Created by: @p-w-rs
Version: v0.1.0
Commit: 0063ae7c24493c20a9f20d39ac3fe5552f206e35
Git reference: HEAD
Description: A simple wrapper for the python Gymnasium library for use in reinforcement learning

[noblock] Please make sure to add some tests. This will allow you to figure out why the package is not loadable.
I would also note that the instructions in your README to include the main module file is not how Julia packages are used.


Fix arguments.spaceAround not adding spaces when an arrow function is the only argument

Fixes #581
The if !force_use_new_lines && nodes.len() == 1 && is_arrow_function_with_expr_body(nodes[0]) path wasn't considering the space_around option. I'm not sure if this is the most correct way to fix this problem, but it at least works on my codebase and passes the tests.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Increase coverage

#909  👈 (View in Graphite)
main

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


Fix markdown rendering because of firebase ASCII single line fields

Description

The homepage markdown, defined by the administrator, works halfway through -  we need to make code rendering and line breaks easier by reading the straight from a markdown (single string) format.

Package: course

Expected Behavior

I want to be able to define code, line breaks, etc. more easier.
Actual Behavior

Line breaks, code formatting, etc. doesn't work since line breaks aren't read correctly, because firebase saves the general/main.markdown as a single string.

Should be fixed with #46

Will be fixed with #75


Make the template for schematype and structfield  more readable.

Starts to implement #673

this is great, the only reason I didn't do it before is because I wanted to remain compatible with the previous version of go as well. But now the last 2 versions of go accept the formatting, so I'm all for it.
However you will have to run go generate ./generator for your changes to make into the binary

Ah, that's what I was missing, thanks!


Fixed flakiness of the test BABEL-3592 by analysing appropriate tables

Description
This commit aims to fix flakiness of the test BABEL-3592 by analysing appropriate tables
Signed-off-by: Dipesh Dhameliya<EMAIL_ADDRESS>Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is under the terms of the Apache 2.0 and PostgreSQL licenses, and grant any person obtaining a copy of the contribution permission to relicense all or a portion of my contribution to the PostgreSQL License solely to contribute all or a portion of my contribution to the PostgreSQL open source project.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>4
Details

0 of 0   changed or added relevant lines in 0 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.003%) to 74.658%

Files with Coverage Reduction
New Missed Lines
%

contrib/babelfishpg_tds/src/backend/tds/tdscomm.c
2
76.03%

Totals

Change from base Build<PHONE_NUMBER>0:
-0.003%

Covered Lines:
45419

Relevant Lines:
60836

💛  - Coveralls


feat: enhance binary array encoding, make it the default

This adds support for the following things to the binary encoding:

Nulls
Large offsets
Different types (e.g. String vs Binary)

In addition, I have changed the row limit on pages from u32 to u64.  Partly, this is because string arrays larger that 2GB are not unheard of and it may be nice in some cases to store them in one page.  Also pages are infrequent enough that an extra 4 bytes is trivial (actually, protobuf already stores u32 and u64 the same).  Another reason is that, with some encodings (e.g. constant / compressed bitmap / etc.) it's possible to have 2^64 rows without occupying a large amount of space.
Note: this is technically a .proto change but in protobuf u32 -> u64 is backwards compatible so it is not a huge issue.

Codecov Report
Attention: Patch coverage is 95.70312% with 22 lines in your changes missing coverage. Please review.

Project coverage is 80.00%. Comparing base (0bf765b) to head (380177f).
Report is 2 commits behind head on main.

Files
Patch %
Lines

...st/lance-encoding/src/encodings/physical/binary.rs
95.73%
6 Missing and 7 partials :warning:

rust/lance-encoding/src/encodings/logical/list.rs
80.00%
2 Missing and 2 partials :warning:

rust/lance-encoding/src/encoder.rs
71.42%
0 Missing and 2 partials :warning:

rust/lance-encoding/src/decoder.rs
91.66%
1 Missing :warning:

...ust/lance-encoding/src/encodings/logical/struct.rs
96.15%
0 Missing and 1 partial :warning:

rust/lance-encoding/src/encodings/physical.rs
96.42%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2521      +/-   ##
==========================================
+ Coverage   79.55%   80.00%   +0.44%
==========================================
  Files         208      207       -1
  Lines       59348    59287      -61
  Branches    59348    59287      -61
==========================================
+ Hits        47216    47431     +215
+ Misses       9371     9102     -269
+ Partials     2761     2754       -7

Flag
Coverage Δ

unittests
80.00% <95.70%> (+0.44%)
:arrow_up:

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

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

I think we can merge this after #2508 is merged in

I think we can merge this after #2508 is merged in

I think we can merge this as soon as #2508 is merged in


cannot build hyprland with latest wlroots

wlroots commit 0611c10909b17276bd633a4ee9a322995e9a3580, hyprland fails to compile.
[119/376] Generating subprojects/wlroots/render/vulkan/shaders/common.vert_spv with a custom command
ninja: job failed: c++ -Isrc/Hyprland.p -Isrc -I../src -Isubprojects/wlroots/include -I../subprojects/wlroots/include -Iprotocols -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -O3 -g -Wno-unused-parameter -Wno-unused-value -Wno-missing-field-initializers -Wno-narrowing '-DGIT_BRANCH=""' '-DGIT_COMMIT_HASH=""' '-DGIT_COMMIT_MESSAGE=""' '-DGIT_DIRTY="dirty"' -DHYPRLAND_DEBUG -std=c++23 -O3 -pipe -w -march=native -pthread -DWLR_USE_UNSTABLE -MD -MQ src/Hyprland.p/helpers_SubsurfaceTree.cpp.o -MF src/Hyprland.p/helpers_SubsurfaceTree.cpp.o.d -o src/Hyprland.p/helpers_SubsurfaceTree.cpp.o -c ../src/helpers/SubsurfaceTree.cpp
../src/helpers/SubsurfaceTree.cpp: In function 'void addSurfaceGlobalOffset(SSurfaceTreeNode*, int*, int*)':
../src/helpers/SubsurfaceTree.cpp:6:28: error: 'struct wlr_surface' has no member named 'sx'
    6 |     *lx += node->pSurface->sx;
      |                            ^~
../src/helpers/SubsurfaceTree.cpp:7:28: error: 'struct wlr_surface' has no member named 'sy'
    7 |     *ly += node->pSurface->sy;
      |                            ^~
ninja: job failed: c++ -Isrc/Hyprland.p -Isrc -I../src -Isubprojects/wlroots/include -I../subprojects/wlroots/include -Iprotocols -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -O3 -g -Wno-unused-parameter -Wno-unused-value -Wno-missing-field-initializers -Wno-narrowing '-DGIT_BRANCH=""' '-DGIT_COMMIT_HASH=""' '-DGIT_COMMIT_MESSAGE=""' '-DGIT_DIRTY="dirty"' -DHYPRLAND_DEBUG -std=c++23 -O3 -pipe -w -march=native -pthread -DWLR_USE_UNSTABLE -MD -MQ src/Hyprland.p/Compositor.cpp.o -MF src/Hyprland.p/Compositor.cpp.o.d -o src/Hyprland.p/Compositor.cpp.o -c ../src/Compositor.cpp
../src/Compositor.cpp: In constructor 'CCompositor::CCompositor()':
../src/Compositor.cpp:56:43: error: too few arguments to function 'wlr_backend* wlr_backend_autocreate(wl_display*, wlr_session**)'
   56 |     m_sWLRBackend = wlr_backend_autocreate(m_sWLDisplay);
      |                     ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
In file included from ../src/includes.hpp:37,
                 from ../src/defines.hpp:1,
                 from ../src/Compositor.hpp:7,
                 from ../src/Compositor.cpp:1:
../subprojects/wlroots/include/wlr/backend.h:41:21: note: declared here
   41 | struct wlr_backend *wlr_backend_autocreate(struct wl_display *display,
      |                     ^~~~~~~~~~~~~~~~~~~~~~
../src/Compositor.cpp:135:49: error: too few arguments to function 'wlr_layer_shell_v1* wlr_layer_shell_v1_create(wl_display*, uint32_t)'
  135 |     m_sWLRLayerShell = wlr_layer_shell_v1_create(m_sWLDisplay);
      |                        ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
In file included from ../src/includes.hpp:54:
../subprojects/wlroots/include/wlr/types/wlr_layer_shell_v1.h:125:28: note: declared here
  125 | struct wlr_layer_shell_v1 *wlr_layer_shell_v1_create(struct wl_display *display,
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~
../src/Compositor.cpp:176:21: error: 'wlr_backend_get_session' was not declared in this scope; did you mean 'wlr_backend_get_drm_fd'?
  176 |     m_sWLRSession = wlr_backend_get_session(m_sWLRBackend);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~
      |                     wlr_backend_get_drm_fd
ninja: subcommands failed

hyprland & wlroots ver mismatch. make sure to always git submodule update --init after each pull or pull with --recurse-submodules

i cannot do this without using direct git cloning, which is related to #1133

the source and binaries provided in the tarball should work.
Otherwise, git cloning is your only option (unless your distro packages hyprland)

wlroots| Found CMake: /usr/bin/cmake (3.25.0)
yes

the source and binaries provided in the tarball should work.

#1133 like i said, as i am trying to

(unless your distro packages hyprland)

myself.

I meant building with cmake. You're using meson in the above screenshot.
sudo make install

I meant building with cmake. You're using meson in the above screenshot.

well that wont work because of #1133 and not using the meson subprojects feature.
Package wlroots was not found in the pkg-config search path.
Perhaps you should add the directory containing `wlroots.pc'
to the PKG_CONFIG_PATH environment variable
Package 'wlroots', required by 'virtual:world', not found
Package wlroots was not found in the pkg-config search path.
Perhaps you should add the directory containing `wlroots.pc'
to the PKG_CONFIG_PATH environment variable
Package 'wlroots', required by 'virtual:world', not found
/usr/bin/wayland-scanner server-header \
        //usr/share/wayland-protocols/stable/xdg-shell/xdg-shell.xml xdg-shell-protocol.h
Package wlroots was not found in the pkg-config search path.
Perhaps you should add the directory containing `wlroots.pc'
to the PKG_CONFIG_PATH environment variable
Package 'wlroots', required by 'virtual:world', not found

after installing wlroots 0.16.0:
[216/412] Compiling C object libwlroots.so.12032.p/util_box.c.o
ninja: job failed: cc -Ilibwlroots.so.12032.p -I. -I.. -Iinclude -I../include -Iprotocol -I../protocol -Irender/gles2/shaders -Irender/vulkan/shaders -Ibackend/drm -I/usr/include/libdrm -I/usr/include/pixman-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -DWLR_LITTLE_ENDIAN=1 -DWLR_BIG_ENDIAN=0 -Wundef -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Wpointer-arith -Winit-self -Wstrict-prototypes -Wimplicit-fallthrough=2 -Wendif-labels -Wstrict-aliasing=2 -Woverflow -Wmissing-prototypes -Walloca -Wno-missing-braces -Wno-missing-field-initializers -Wno-unused-parameter -fmacro-prefix-map=../= -DHAS_GBM_BO_GET_FD_FOR_PLANE=1 -DLIBINPUT_HAS_HOLD_GESTURES=1 -DLIBINPUT_HAS_SCROLL_VALUE120=1 '-DICONDIR="/usr/local/share/icons"' -DHAS_XCB_XFIXES_SET_CLIENT_DISCONNECT_MODE=1 -DHAS_XCB_ERRORS=0 -DHAS_EGL=1 -O3 -pipe -w -march=native -DXWAYLAND -DWLR_USE_UNSTABLE -std=c99 -fPIC -MD -MQ libwlroots.so.12032.p/xwayland_selection_outgoing.c.o -MF libwlroots.so.12032.p/xwayland_selection_outgoing.c.o.d -o libwlroots.so.12032.p/xwayland_selection_outgoing.c.o -c ../xwayland/selection/outgoing.c
In file included from ../include/wlr/types/wlr_data_device.h:13,
                 from ../xwayland/selection/outgoing.c:7:
../include/wlr/types/wlr_seat.h:242:25: error: field 'last_event' has incomplete type
  242 |         struct timespec last_event;
      |                         ^~~~~~~~~~
ninja: job failed: cc -Ilibwlroots.so.12032.p -I. -I.. -Iinclude -I../include -Iprotocol -I../protocol -Irender/gles2/shaders -Irender/vulkan/shaders -Ibackend/drm -I/usr/include/libdrm -I/usr/include/pixman-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -DWLR_LITTLE_ENDIAN=1 -DWLR_BIG_ENDIAN=0 -Wundef -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Wpointer-arith -Winit-self -Wstrict-prototypes -Wimplicit-fallthrough=2 -Wendif-labels -Wstrict-aliasing=2 -Woverflow -Wmissing-prototypes -Walloca -Wno-missing-braces -Wno-missing-field-initializers -Wno-unused-parameter -fmacro-prefix-map=../= -DHAS_GBM_BO_GET_FD_FOR_PLANE=1 -DLIBINPUT_HAS_HOLD_GESTURES=1 -DLIBINPUT_HAS_SCROLL_VALUE120=1 '-DICONDIR="/usr/local/share/icons"' -DHAS_XCB_XFIXES_SET_CLIENT_DISCONNECT_MODE=1 -DHAS_XCB_ERRORS=0 -DHAS_EGL=1 -O3 -pipe -w -march=native -DXWAYLAND -DWLR_USE_UNSTABLE -std=c99 -fPIC -MD -MQ libwlroots.so.12032.p/xwayland_selection_dnd.c.o -MF libwlroots.so.12032.p/xwayland_selection_dnd.c.o.d -o libwlroots.so.12032.p/xwayland_selection_dnd.c.o -c ../xwayland/selection/dnd.c
In file included from ../include/wlr/types/wlr_data_device.h:13,
                 from ../xwayland/selection/dnd.c:6:
../include/wlr/types/wlr_seat.h:242:25: error: field 'last_event' has incomplete type
  242 |         struct timespec last_event;
      |                         ^~~~~~~~~~
ninja: subcommands failed
make: *** [Makefile:134: install] Error 1

that is really odd, your doing something not right. Hyprland should never try to use system wlroots. The dep in CMakeLists is the subproject, not a system dep

so... can you fix #1133 so this can be solved? or do i have to fork wlroots as a package for this?

how is that related to 1133? Yes I could rename it and fix the tarbomb with the next release, but what would that change in this sense? It seems like you're trying to force build Hyprland against a tagged wlroots, which will never work. See #302
You do not need to package wlroots separately. You can keep it as a part of Hyprland and install the separate .so in /usr/lib. (or wherever your distro puts shared objects) The so has a different name than any packaged wlroots, so it will not create a conflict.
Although I understand the situation with the tarballs, I fail to see a problem.
You are not supposed to use the GitHub generated sources. There is an attached source- tarball for a reason. It will also contain the correct wlroots dep.
It is a tarbomb. Yes, oops. The problem with changing that now is we are breaking already existing packages if we change that. (e.g. AUR) Although the AUR can be updated easily by me, I have no clue what else may break. Can't you mkdir and decopmress to that folder? I might consider making a separate sources-v2- that is not a tarbomb as a transition.
The name of the binaries' tarball is the same as the github sources. Yes, but it doesn't matter. The links are different, and you're not supposed to use the GH sources anyways.

There is an attached source- tarball for a reason. It will also contain the correct wlroots dep.

Which is why i want to use them. but i cannot because of the tarball scheme.
I cannot use the provided 'source' tarball as they are broken, and i shouldn't use the GH sources, so i guess my only choice is a direct git clone untill this is solved.

I will sort it out with the next release.

i still can't compile hyprland, latest wlroots and latest hyprland with git sources.
[236/411] Compiling C object libwlroots.so.12032.p/types_wlr_switch.c.o
[237/411] Compiling C object libwlroots.so.12032.p/types_wlr_subcompositor.c.o
ninja: job failed: cc -Ilibwlroots.so.12032.p -I. -I.. -Iinclude -I../include -Iprotocol -I../protocol -Irender/gles2/shaders -Irender/vulkan/shaders -Ibackend/drm -I/usr/include/libdrm -I/usr/include/pixman-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -DWLR_LITTLE_ENDIAN=1 -DWLR_BIG_ENDIAN=0 -Wundef -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Wpointer-arith -Winit-self -Wstrict-prototypes -Wimplicit-fallthrough=2 -Wendif-labels -Wstrict-aliasing=2 -Woverflow -Wmissing-prototypes -Walloca -Wno-missing-braces -Wno-missing-field-initializers -Wno-unused-parameter -fmacro-prefix-map=../= -DHAS_GBM_BO_GET_FD_FOR_PLANE=1 -DLIBINPUT_HAS_HOLD_GESTURES=1 -DLIBINPUT_HAS_SCROLL_VALUE120=1 '-DICONDIR="/usr/local/share/icons"' -DHAS_XCB_XFIXES_SET_CLIENT_DISCONNECT_MODE=1 -DHAS_XCB_ERRORS=0 -DHAS_EGL=1 -O3 -pipe -w -march=native -DXWAYLAND -DWLR_USE_UNSTABLE -std=c99 -fPIC -MD -MQ libwlroots.so.12032.p/types_wlr_xdg_decoration_v1.c.o -MF libwlroots.so.12032.p/types_wlr_xdg_decoration_v1.c.o.d -o libwlroots.so.12032.p/types_wlr_xdg_decoration_v1.c.o -c ../types/wlr_xdg_decoration_v1.c
In file included from ../include/wlr/types/wlr_xdg_shell.h:14,
                 from ../include/wlr/types/wlr_xdg_decoration_v1.h:5,
                 from ../types/wlr_xdg_decoration_v1.c:4:
../include/wlr/types/wlr_seat.h:242:25: error: field 'last_event' has incomplete type
  242 |         struct timespec last_event;
      |                         ^~~~~~~~~~
ninja: job failed: cc -Ilibwlroots.so.12032.p -I. -I.. -Iinclude -I../include -Iprotocol -I../protocol -Irender/gles2/shaders -Irender/vulkan/shaders -Ibackend/drm -I/usr/include/libdrm -I/usr/include/pixman-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -DWLR_LITTLE_ENDIAN=1 -DWLR_BIG_ENDIAN=0 -Wundef -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Wpointer-arith -Winit-self -Wstrict-prototypes -Wimplicit-fallthrough=2 -Wendif-labels -Wstrict-aliasing=2 -Woverflow -Wmissing-prototypes -Walloca -Wno-missing-braces -Wno-missing-field-initializers -Wno-unused-parameter -fmacro-prefix-map=../= -DHAS_GBM_BO_GET_FD_FOR_PLANE=1 -DLIBINPUT_HAS_HOLD_GESTURES=1 -DLIBINPUT_HAS_SCROLL_VALUE120=1 '-DICONDIR="/usr/local/share/icons"' -DHAS_XCB_XFIXES_SET_CLIENT_DISCONNECT_MODE=1 -DHAS_XCB_ERRORS=0 -DHAS_EGL=1 -O3 -pipe -w -march=native -DXWAYLAND -DWLR_USE_UNSTABLE -std=c99 -fPIC -MD -MQ libwlroots.so.12032.p/types_wlr_virtual_pointer_v1.c.o -MF libwlroots.so.12032.p/types_wlr_virtual_pointer_v1.c.o.d -o libwlroots.so.12032.p/types_wlr_virtual_pointer_v1.c.o -c ../types/wlr_virtual_pointer_v1.c
In file included from ../types/wlr_virtual_pointer_v1.c:4:
../include/wlr/types/wlr_seat.h:242:25: error: field 'last_event' has incomplete type
  242 |         struct timespec last_event;
      |                         ^~~~~~~~~~
ninja: job failed: cc -Ilibwlroots.so.12032.p -I. -I.. -Iinclude -I../include -Iprotocol -I../protocol -Irender/gles2/shaders -Irender/vulkan/shaders -Ibackend/drm -I/usr/include/libdrm -I/usr/include/pixman-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -DWLR_LITTLE_ENDIAN=1 -DWLR_BIG_ENDIAN=0 -Wundef -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Wpointer-arith -Winit-self -Wstrict-prototypes -Wimplicit-fallthrough=2 -Wendif-labels -Wstrict-aliasing=2 -Woverflow -Wmissing-prototypes -Walloca -Wno-missing-braces -Wno-missing-field-initializers -Wno-unused-parameter -fmacro-prefix-map=../= -DHAS_GBM_BO_GET_FD_FOR_PLANE=1 -DLIBINPUT_HAS_HOLD_GESTURES=1 -DLIBINPUT_HAS_SCROLL_VALUE120=1 '-DICONDIR="/usr/local/share/icons"' -DHAS_XCB_XFIXES_SET_CLIENT_DISCONNECT_MODE=1 -DHAS_XCB_ERRORS=0 -DHAS_EGL=1 -O3 -pipe -w -march=native -DXWAYLAND -DWLR_USE_UNSTABLE -std=c99 -fPIC -MD -MQ libwlroots.so.12032.p/xwayland_selection_outgoing.c.o -MF libwlroots.so.12032.p/xwayland_selection_outgoing.c.o.d -o libwlroots.so.12032.p/xwayland_selection_outgoing.c.o -c ../xwayland/selection/outgoing.c
In file included from ../include/wlr/types/wlr_data_device.h:13,
                 from ../xwayland/selection/outgoing.c:7:
../include/wlr/types/wlr_seat.h:242:25: error: field 'last_event' has incomplete type
  242 |         struct timespec last_event;
      |                         ^~~~~~~~~~
ninja: job failed: cc -Ilibwlroots.so.12032.p -I. -I.. -Iinclude -I../include -Iprotocol -I../protocol -Irender/gles2/shaders -Irender/vulkan/shaders -Ibackend/drm -I/usr/include/libdrm -I/usr/include/pixman-1 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -DWLR_LITTLE_ENDIAN=1 -DWLR_BIG_ENDIAN=0 -Wundef -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Wpointer-arith -Winit-self -Wstrict-prototypes -Wimplicit-fallthrough=2 -Wendif-labels -Wstrict-aliasing=2 -Woverflow -Wmissing-prototypes -Walloca -Wno-missing-braces -Wno-missing-field-initializers -Wno-unused-parameter -fmacro-prefix-map=../= -DHAS_GBM_BO_GET_FD_FOR_PLANE=1 -DLIBINPUT_HAS_HOLD_GESTURES=1 -DLIBINPUT_HAS_SCROLL_VALUE120=1 '-DICONDIR="/usr/local/share/icons"' -DHAS_XCB_XFIXES_SET_CLIENT_DISCONNECT_MODE=1 -DHAS_XCB_ERRORS=0 -DHAS_EGL=1 -O3 -pipe -w -march=native -DXWAYLAND -DWLR_USE_UNSTABLE -std=c99 -fPIC -MD -MQ libwlroots.so.12032.p/xwayland_selection_dnd.c.o -MF libwlroots.so.12032.p/xwayland_selection_dnd.c.o.d -o libwlroots.so.12032.p/xwayland_selection_dnd.c.o -c ../xwayland/selection/dnd.c
In file included from ../include/wlr/types/wlr_data_device.h:13,
                 from ../xwayland/selection/dnd.c:6:
../include/wlr/types/wlr_seat.h:242:25: error: field 'last_event' has incomplete type
  242 |         struct timespec last_event;
      |                         ^~~~~~~~~~
ninja: subcommands failed
make: *** [Makefile:137: install] Error 1

Yes, i face this an a previous issue with latest wlroots,
ninja: job failed: ccache c++ -Isrc/Hyprland.p -Isrc -I../src -Isubprojects/wlroots/include -I../subprojects/wlroots/include -Iprotocols -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -O3 -g -Wno-unused-parameter -Wno-unused-value -Wno-missing-field-initializers -Wno-narrowing '-DGIT_BRANCH=""' '-DGIT_COMMIT_HASH=""' '-DGIT_COMMIT_MESSAGE=""' '-DGIT_DIRTY="dirty"' -DHYPRLAND_DEBUG -std=c++23 -O3 -pipe -w -march=native -pthread -DWLR_USE_UNSTABLE -MD -MQ src/Hyprland.p/helpers_SubsurfaceTree.cpp.o -MF src/Hyprland.p/helpers_SubsurfaceTree.cpp.o.d -o src/Hyprland.p/helpers_SubsurfaceTree.cpp.o -c ../src/helpers/SubsurfaceTree.cpp
../src/helpers/SubsurfaceTree.cpp: In function 'void addSurfaceGlobalOffset(SSurfaceTreeNode*, int*, int*)':
../src/helpers/SubsurfaceTree.cpp:6:28: error: 'struct wlr_surface' has no member named 's '
    6 |     *lx += node->pSurface->sx;
      |                            ^~
../src/helpers/SubsurfaceTree.cpp:7:28: error: 'struct wlr_surface' has no member named 's '
    7 |     *ly += node->pSurface->sy;
      |                            ^~
ninja: subcommand failed

some hyprland code should be changed for the latest wlroots?

Hyprland does NOT use the latest wlroots. It uses a pinned commit that is updated by me manually every week or two.

Hyprland does NOT use the latest wlroots

.gitmodules says otherwise.
What is the specified commit?

this wlroots commit: https://gitlab.freedesktop.org/wlroots/wlroots/-/tree/4ff46e6cf9463e594605928feeb7c55cf323b5e7
,...hyprland still fails with the same error.

... that's the HEAD's lock. Did you even read what I said? You are compiling a release. You need to go back to the release's tree.

You can view the tree at any point and see the commit's abbrev-ref if you go into submodules/

Okay... maybe i understood wrong

i still don't know exactly how to retrieve the commit.

jfc

ok well, yeah i was not using 0.18.0beta, but hyprland would still fail to compile on latest HEAD (ff4ea1a13a297b55d88bffa25a3f3dec17234c40) and latest subproject wlroots (4ff46e6cf9463e594605928feeb7c55cf323b5e7) commit.
so i guess there was an misunderstanding.

IT STILL FAILS.

i wanted to go on the discord for easy communication, however the discord server requires a phone number, and I'd rather not give that away to a company like Discord, when many FOSS discord servers don't have this in place.

so, using the native Makefile method, which calls meson and then Cmake, makes hyprland fail. but using native meson makes it have a linking error.

i got it to work with installation of xcb-util-renderutil.
it was weird that it wouldn't work, but as of right now i am not using cmake, only native meson.


issue with unknown character in latex equations

Some of the latex equations in lecture 19 are messed up since the last commit with unknown characters

I'm not seeing that! Can you point me to something more specific?

hi Brian
when I view the lectures on git hub lecture 16 section 2 onwards has the
symbol messed up for latitude...
https://github.com/brian-rose/ClimateModeling_courseware/blob/master/Lectures/Lecture16 -- Diffusive energy balance model.ipynb
Both on chrome on mac and on firefox on a linux box....
my students really liked playing with the EBM in lecture 19 by the way.
best wishes, adrian
On 22/03/2019 21:23, Brian Rose wrote:

I'm not seeing that! Can you point me to something more specific?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/brian-rose/ClimateModeling_courseware/issues/6#issuecomment-475768875,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFoJp0OJzz1KSgKE1HVWbZXwUUM5Awtwks5vZTvDgaJpZM4b_VTy.

I see.
The GitHub viewer for *.ipynb files is not really full-featured. For viewing only (as opposed to interactive use), you'll have better results using https://nbviewer.jupyter.org.
Lecture 16 on nbviewer seems to have all the latex symbols properly rendered:
https://nbviewer.jupyter.org/github/brian-rose/ClimateModeling_courseware/blob/master/Lectures/Lecture16 -- Diffusive energy balance model.ipynb

@adriantompkins I'm closing this issue under the assumption that my comment above was helpful. Please re-open if you're still having problems with latex rendering.


Gr/fix allocs

This PR is meant as a quick fix for issue #135. It is a non-breaking fix as I've run the tests locally and all have passed. As of writing this I have not yet looked at vectorized gets or using the colon and these might still be issues.
New benchmarks from initial example: https://github.com/AlgebraicJulia/ACSets.jl/issues/135#issue-2306532997
[ Info: Using add_vector
  0.000010 seconds (1 allocation: 144 bytes)

[ Info: Using add_loop
  0.000006 seconds

So using the vectorized setting now seems to be much improved. There is the issue that there are still some allocations but this is much improved.
Benchmarks run mirroring this later example: https://github.com/AlgebraicJulia/ACSets.jl/issues/135#issuecomment-2123049737
using ACSets

SchTest = BasicSchema([:V,:E], [(:v0,:E,:V)])

@acset_type Test(SchTest, index=[:v0])

s = Test()

N = 100
add_parts!(s, :V, N)
idx = add_parts!(s, :E, N)

entry = ones(Int64, N);

function add_broadcast(s, idx, entry, symbol)
  broadcast(idx, entry) do i, id
    set_subpart!(s, i, symbol, id)
  end
end

function add_vector(s, idx, symbol, entry)
  s[idx, symbol] = entry
end

function add_subpart_reg(s, idx, symbol, entry)
  set_subpart!(s, idx, symbol, entry)
end

function add_subpart_val(s, idx, symbol, entry)
  set_subpart!(s, idx, Val{symbol}, entry)
end

begin
  add_broadcast(s, idx, entry, :v0)
  add_vector(s, idx, :v0, entry)
  add_subpart_reg(s, idx, :v0, entry)
  add_subpart_val(s, idx, :v0, entry)
end;

@info "Using add_broadcast"
@time add_broadcast(s, idx, entry, :v0);

@info "Using add_vector"
@time add_vector(s, idx, :v0, entry);

@info "Using add_subpart_reg"
@time add_subpart_reg(s, idx, :v0, entry);

@info "Using add_subpart_val"
@time add_subpart_val(s, idx, :v0, entry);

[ Info: Using add_broadcast
  0.000055 seconds (108 allocations: 7.547 KiB)

[ Info: Using add_vector
  0.000021 seconds (4 allocations: 1.031 KiB)

[ Info: Using add_subpart_reg
  0.000121 seconds (4 allocations: 1.031 KiB)

[ Info: Using add_subpart_val
  0.000022 seconds (4 allocations: 1.031 KiB)

These show that using either set_subparts! or the regular setting operator carry the benefits while the old version of broadcast is used to show the original allocations.

Quick benchmarks I took comparing dual mesh creating from CombinatorialSpaces.jl.
Old:

New:

Note that while subdivide_duals! is unchanged, the initial dual mesh construction is significantly improved.

Thanks George! I was going to request that you add a test but I see you've just done that.
When you're finished, mark the PR as ready for review and I'll merge it.


Rails 5 API: undefined method `helper_method'

Complete message:
Rails 5 API: undefined method `helper_method' for ActionController::API:Class (NoMethodError)
It seems to be related to the fact that helper_method is not available in Rails 5 API type of project.

Fixed by #79.


Update s3, sdk-core, sqs to 2.20.144

About this PR
📦 Updates

software.amazon.awssdk:s3
software.amazon.awssdk:sdk-core
software.amazon.awssdk:sqs

from 2.20.129 to 2.20.144
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "software.amazon.awssdk" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "software.amazon.awssdk" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #667.


add: TailwindFlex & Astro Cactus

Name
Link

TailwindFlex
(https://tailwindflex.com)

Astro Theme Cactus
_https://github.com/chrismwilliams/astro-theme-cactus_

Resource description here

[+ ] My item is in the right category
[ +] My item is logically grouped below similar items
[ +] My item's name and description respects the conventions of the list
[ +] My item is awesome
[ +] My item is in line with the Tailwind brand usage guidelines
[ +] I have read and followed the contribution guidelines

Thanks!


feat: Stabilize helmfile-diff output

This finishes the work started at #1619 by introducing the following changes:

You can now set HELMFILE_TEMPDIR and CHARTIFY_TEMPDIR as the directory to persist temporary values files rendered by helmfile and temporary charts generated by chartify. Note that chartify is used internally when you use kustomize integration or raw K8s manifests as a chart.

Helmfile uses the hash sum of the release config and the values file content in the file name of the temporary values file.
In combination with HELMFILE_TEMPDIR and CHARTIFY_TEMPDIR, this enables helmfile to use the stable file names for temporary values files, which contribute to stabilize log messages like Comparing release=appset, chart=PATH/TO/TEMPORARY/CHART, where the PATH/TO/TEMPORARY/CHART had been randomized due to formerly random helmfile tempdir and temporary values file names, and random chartify tempdir.

You can try this feature with a script like:
tempdir=$(mktemp -d -t helmfile)

HELMFILE_TEMPDIR=${tempdir} CHARTIFY_TEMPDIR=${tempdir} helmfile diff

rm -rf ${tempdir}

@mumoshu what's the default temp dir location if HELMFILE_TEMPDIR is not provided?

@mumoshu what's the default temp dir location if HELMFILE_TEMPDIR is not provided?

@dudicoco Depends on what os.TempDir() returns, like somewhere under /var/tmp for macOS, which is the same as before.

@mumoshu I've used HELMFILE_TEMPDIR and I don't see any temp files generated in the temp dir or in /var/tmp when running helmfile diff.
Any ideas?


c++ aeron-client compilation fails with g++ 5.2.0

To fix the issue you should set c++ standard explicitly by adding the line:
set (CMAKE_CXX_STANDARD 14)
at the top of   aeron-client/src/main/cpp/CMakeLists.txt

Thanks for this. What was the error being reported?

c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
#error This file requires compiler and library support for the \
In file included from aeron-client/src/main/cpp/concurrent/AtomicBuffer.h:24:0,
...
virtual const char *what() const AERON_NOEXCEPT


Feature to transform value of the fields before generating slug

We are using editor value to generate slug which contains HTML tags. It would be great to allow to receive transform function which we can use to remove the HTML tags.

Thanks for PR
Published on npm with v3.2.1 :tada:


Failure writing files to target subdirectories from Windows OS

Flashing a Pycharm project with multiple subdirectories. Flashing fails writing subdirs content due to OSError: [Errno 2] ENOENT :
 ...
 raise PyboardError('exception', ret, ret_err)
 ampy.pyboard.PyboardError: ('exception', b'', b'Traceback (most recent call last):\r\n  File "<stdin>", line 1, in <module>\r\nOSError: [Errno 2] ENOENT\r\n')

setup:

plugging v1.0.10 & v1.0.11
Windows 10 64
Pycharm 2018.3
ESP8266

microupload.py, receives path strings.
When the string path has subdirs, a back-slash ('\') separator is seen in Windows. The path is not created in the target if this is the case..
Replacing the separator to use posix paths solves the issue,
Proposed solution in PR #86.
Note: only tested with the mentioned setup

Merged #86 by @luisvgo.


Yoda

POC,

@SpacePossum
do you actually want to PR it to symfony ?

well, TBH no, it will possible create a discussion and won't be merged because of merging issues upstream. So I targeted my fork here a POC, saving the SF maintainers the noise ;)

what about sending a PR for asking do they want to have that rule enabled in general, not for asking for a merge ?

what about sending a PR for asking do they want to have that rule enabled in general, not for asking for a merge ?

will do, lets get the fixer in a shape we're happy with and than I run it again on SF and open a PR there :)

OK, I thought that the shape is already achieved

it is, I don't for see any major changes on it

@keradus PR send to SF :)


modoboa-admin.py does not create necessary folders in ../media

Hi there,
first post on github ever - so please be lenient with me :)
The script does not create the modoboa_webmail and webmail folders in /media which seem to be needed for sending mails with attachments and viewing embedded pictures in received emails.
I haven't stumbled across the manual setup of these folders in the documentation - and since the script handles the whole directory creation these should be handled as well.
I'am using 1.3.4 btw...
cheers

This issue was moved to modoboa/modoboa-webmail#34


Chart.js Integration - Dropdown

When a chart is hidden in for example /budgets/details/123 and afterward the card is expanded again, the chart does not render again. A solution could be to integrate a render call into the hide and show button.

This issue has been fixed in the newest Pull-Request and can be closed.


Suggestion: resque-scheduler support?

This might be out of left field and way out of scope.
Could this gem support running an instance of resque-scheduler alongside various workers?
Asking because resque-scheduler takes up nearly as much memory as a standard worker but never does "real" work.  So a fork for it as part of the pool might significantly reduce its memory footprint.
Maybe?

It's a good idea! I personally use don't use resque-scheduler. I just use cron jobs (using busybox cron!) that do no more than e.g. "script/resque_enqueue CronJobs::Hourly", etc. But there are benefits to scheduler, so a PR would probably be accepted (eventually... I'm bad at punctuality).

I might get around to this before the end of the year, but... I might not.  PRs are welcome.  :)


A question about  farnesyl diphosphate synthase (FPS)

Is it correct that
dimethylallyltranstransferase activity
AND
geranyltranstransferase activity (has exact synonym farnesyl-diphosphate synthase activity)
constitutes farnesyl diphosphate synthase (FPS)
and if so, both should have
has related synonym farnesyl-diphosphate synthase activity instead?

@amandamackie @kaxelsen  do you know?

we also have
GO:0033850  Z-farnesyl diphosphate synthase activity (8 EXP, 7942 total)
but I don't know what the "Z" means here and this term is not related to geranyltranstransferase activity

Z" in Z-farnesyl diphosphate refers to the geometric configuration of the double bonds in the farnesyl diphosphate molecule.
is this cis?
E-farnesyl diphosphate (trans-farnesyl diphosphate)