File doesn't unlock after directory change

Windows Terminal version
1.17.11461.0
Windows build number
10.0.22621.0
Other Software
No response
Steps to reproduce

Open folder (eg. from icon context menu)
cd into parent directory
try to delete last visited folder

Expected Behavior
File should be removed, or some other error should be displayed
Actual Behavior
Issued command results in error, informing about lack of access to file ("File is locked by another process"). Happens both in PowerShell and CMD.

This should be fixed in 1.18, the #15280 change I believe

Yep, this is a duplicate of #5506. /dup #5506
You can install "Windows Terminal Preview" from the app store to test it out!


Remove mode ReadWriteMany from pvcAccessModes

Remove access mode ReadWriteMany from pvcAccessModes

LGTM. Will make it more cloud agnostic

@tunacicek Do you also want to increase the Chart version for a new Chart release?


request_content_length is used without initializing in state_read_client_request_header

request_content_length is unintialized in HttpSM::state_read_client_request_header.
So we need to get cl from client_request header.

update ! please review!!!

[approve ci]

@zwoop There is a mistake of PR #841. Because the hdr_info.request_content_length is still not initialized and it is always -1 here. The hdr_info.request_content_length is set by HttpTransact::HandleRequest().
Please consider to backport for 6.2.x if #841 is backported.

@oknet I think this has to go on 7.1.0 as well, right ?

[approve ci autest]

@zwoop Yes, it is 7.1.0. I have marked Backport on it and added 8.0.0 and 7.1.0 milestones. Please consider it for 6.2.x.

@zwoop The autest is passed. Is there something wrong ? Can I merge this ? How to get the details from autest failed.

Yes, please merge this. The autest didn't succeed first, so I forced a rebuild. I will cherry-pick this to 7.1.0 as soon as you've merged this.

👍

I merged this. Thanks!


Autocommand not triggered

The autocommand defined here is not triggered if cmp-vimtex is loaded lazily by e.g. lazy.nvim. I think this will be a quite common situation.
A simple, but possibly good solution is to add a check if the current file is already a .tex file, and to then start the parser immediately.
I would also advice to put all code inside the setup function. That is, requireing a script should not have a side effect in itself.

@lervag I may have fixed it on branch test_autocmd.

No, I don't think so. The FileType autocommand will also have triggered before the .setup() function is called in my particular case.

A simple, but possibly good solution is to add a check if the current file is already a .tex file, and to then start the parser immediately.

I misunderstood this remark. What did you mean, exactly?

I can propose a PR, it might be easier to understand if I show what I mean.

I'd appreciate it!

See #2.

Wow, great job!
I have a doubt, though: wouldn't the parser be triggered two times if setup wasn't called by lazy.nivm, i.e. inside the init.lua or automatically? Since, in this case, both the autocmd and
if vim.opt_local.filetype:get() == "tex" then
    _start_parser()
end

would launch parser.

Wow, great job!

Thanks :)

I have a doubt, though: wouldn't the parser be triggered two times if setup wasn't called by lazy.nivm, i.e. inside the init.lua or automatically? Since, in this case, both the autocmd and
if vim.opt_local.filetype:get() == "tex" then
    _start_parser()
end

would launch parser.

No, I don't think so - and this is the problem I'm trying to solve. If you are already inside a .tex file in which the filetype option is set to "tex" when you are running the .setup function, then the FileType trigger was already executed. Thus the autocommand does not have an effect on the current buffer, and so we want to trigger the parser manually.

No, I don't think so - and this is the problem I'm trying to solve. If you are already inside a .tex file in which the filetype option is set to "tex" when you are running the .setup function, then the FileType trigger was already executed. Thus the autocommand does not have an effect on the current buffer, and so we want to trigger the parser manually.

I understood this; what I meant was: suppose that we use a regular plugin manager, which loads plugins on startup. When setup is executed, it sets the autocommand and executes _start_parser. Since we are at startup the FileType event is triggered, which triggers the parser, again, with the autocommand.

Ah, but that's where if vim.opt_local.filetype:get() == "tex" comes in. With a regular plugin manager that loads plugins on startup, the filetype will not be "tex".

Very interesting. I'll test and push as soon as I can.


OAuth support

What's the feasibility for adding the option to use Google/Github/etc. OAuth for user authorization in addition to / instead of the current authorization method?

It would be cool to add OAuth capabilities!
We can either do it as a separate plugin (adds a table with user_id, provider, provider_user_id) or extend the auth plugin further (maybe feature gate it with flags?).
Eventually I want to separate each plugin into its own crate so we can introduce the idea of community plugins that allow all this extension and only keeping certain things as 'core' plugins.

hey @AnthonyMichaelTDM, hope all is well on your end.
Just wanted to bring #330 to your attention in case you get a chance to look at it. I'm going to merge it in alter during the weekend after I'm sure that it doesn't break other project configurations.
As far as the implementation is concerned, there are two things I'm worried about but I've set aside for later:

Not every OIDC provider in the wild provides 'email' or 'email_verified'. For those that don't, we don't create any account; i.e. authentication/authorization fails and no external account is linked to an internal user. We need to modify the flow to allow the user to verify and or set an email individually later on but still use a non-standard OIDC flow. This is a major issue for those who want to use Microsoft as an OIDC provider as they don't return emails.

The table that facilitates oauth2 logins will have a lot of rows that become redundant for unsuccessful logins. Some refactoring and shifting of logic (after considering security implications) can help us prevent these redundant rows. For now though, I'm shipping with this.

Would an enum for each major provider (or type of provider) work?

What do you think is a good approach to addressing those concerns?

My thoughts are that this is a great first step and the two worries I have can easily be dealt with later, when they resurface.

Would an enum for each major provider (or type of provider) work?

Yeah, at the same time, I'd prefer to document links to official sources and have end-users access those sources. We can also also provide templates for third party OIDC providers like keycloak.
Now that the base is complete, we can continue iterating and improving it :)


urn:uuid:

I'd like to add and example for the urn:uuid: protocol but I'm not sure what people would do with these.
Can you point me to discussion or reasons for why urn:uuid: was added?

It would be a different user agent than Physical Web app. We don't have a specific use case but it is one of the URI RFCs so we wanted to see how to support it (and we can since the binary form fits within the ADV packet).
I think URIs that represent product codes like EAN, UPC, etc are more interesting than generic UUIDs. These can be sent to shopping services or search engines and result in reasonable information.


[Draft] Create Models for Course Feature

This major pull request makes progress on adding all of the necessary models for the courses feature to function. This includes including courses, terms (semesters), course sections, and the necessary details models to store relationships.

@KrisJordan made some initial progress on the models here. The main question I had here is how we want to handle models for the join table (user_section). Is this something we want a model for that matches the database, or do we want a custom model here such as a SectionRosterItem or something like that?
I imagine the use case would be that we have an API that gets the roster of a course.
There are a few approaches:

Add a new subclass of SectionDetails that contains information on the members of the course, and this is populated by the service function.
Add model to represent join table data, populated with service functions.

This is where some differentiation between instructor/staff and students may come into the mix. We likely want an easy way to have limited instructor information (first/last/pronouns/email) modeled for front-end purposes. It's a little less clear how much of TA information we want in the front-end for privacy purposes: likely depends on the feature (students in the class can see, but not publicly listed). Finally, student enrollments needs to be very private by default and access control here will be important.
For now, I'd suggest focusing on the design of modeling SectionStaff and assuming it's generally served up as a member of SectionDetails. This would have a field of type of staff (instructor/uta/gta).
I think until we have a feature that needs to involve students self-associating with a class, let's leave that association unrepresentable as a model for the short term. That said, going down the road of SectionDetailsWithRoster, or something, where the students field is actually a list of User, may make more sense than adding a special model for Student.

@KrisJordan do you think it is better to keep the staff field of SectionDetails default to [] and then have the service fill the list? Without this, we would need to re-add a relationship field I think

That seems fine, yeah.

Alright @KrisJordan, ready for initial review! 😄


Feature request : ProgBarLogger updates one every X batches

When instanciating a https://keras.io/callbacks/#progbarlogger, it should be possible to print less often (ratio or length based ?) the progress bar.
from
keras.callbacks.ProgbarLogger(count_mode='steps', stateful_metrics=None)

to
keras.callbacks.ProgbarLogger(count_mode='steps', stateful_metrics=None, every=32)

Would be especially useful when batch of size 1.

Sounds useful. I can work on this.

https://github.com/keras-team/keras/pull/10344


split train and test bug?

Hi Sean,
The default testFraction is set to 0.1.
https://github.com/OryxProject/oryx/blob/master/app/oryx-app-mllib/src/main/java/com/cloudera/oryx/app/batch/mllib/als/ALSUpdate.java#L233
I think that line should be:
final long approxTestTrainBoundary = minTime + (long) (1.0 - getTestFraction() * (maxTime - minTime));?

Ah, yes good catch!

Was just wondering,
Not sure were this comment should be placed
but will there be more focus on visualisation of the machine learning algorithms in the examples.
Many thanks
Andrew

Don't think that is related to this issue?
No oryx has nothing to do with visualization at this point. Very operational only


Utilities > Blitz Recommendations Error

When I go to this Page: /admin/utilities/blitz-recommendations I get this error:

Craft Version: Craft CMS 4.0.1
Plugin Version: 2.0.0

Thanks for reporting, fixed in https://github.com/putyourlightson/craft-blitz-recommendations/commit/3ebe41b7bc2bfbaebdc09a10216b6f546afff4ea and released in version 2.0.1.


refactor: set merchant_id as MERCHANT_ID_NOT_FOUND for traces and metrics if not found

Type of Change

[ ] Bugfix
[ ] New feature
[x] Enhancement
[ ] Refactoring
[ ] Dependency updates
[ ] Documentation
[ ] CI/CD

Description

In case the merchant_id is not found from the request, instead of using an empty string ("") as merchant_id for traces and metrics, use "MERCHANT_ID_NOT_FOUND"
Additional Changes

[ ] This PR modifies the API contract
[ ] This PR modifies the database schema
[ ] This PR modifies application configuration/environment variables

Motivation and Context

Fixes #2153
How did you test it?

Checklist

[ ] I formatted the code cargo +nightly fmt --all
[ ] I addressed lints thrown by cargo clippy
[ ] I reviewed the submitted code
[ ] I added unit tests for my changes where possible
[ ] I added a CHANGELOG entry if applicable

Hi @anishrajan25 , Thanks for the PR. Please address the failing CI check as well.

It looked like a fmt failure. I have updated the PR and taken a pull from the main as well.
Could you please have a final look now @Abhicodes-crypto @Narayanbhat166 ?


[Feature Request]: Extension encrypted_client_hello

Describe the feature / enhancement and how it would improve things
Can you add the encrypted_client_hello extension feature? I'm facing an issue that requires this, but I have no idea how to build that custom feature.
Describe how your proposal will work, with code and/or pseudo-code
The encrypted_client_hello (ECH) extension is a feature that encrypts the ClientHello message in TLS (Transport Layer Security) to enhance privacy by hiding the details of the handshake. Implementing this feature involves modifying the TLS handshake process to include ECH.

@thaiduongme did you try out built in profile of chrom124? This has ECH added.


Add reserve compute resources kubelet flags

adds kubelet flags required to set values necessary to configure resources available for system daemons. Relevant reading:
Reserve Compute Resources for System Daemons
Configure Out Of Resource Handling

ci check this


Preprocessing incorrectly using mask?

Excuse me if I am making a mistake, but I am currently trying to reproduce some of your experiments. Looking at "image_preprocessing.py", I noticed that the process_scan() function seems to be using the CT slice with the largest tissue volume rather than using the GTV mask with the largest tumor volume. Specifically:
   scan = nib.load(scan_path)
   mask = nib.load(mask_path)
   # Check the Dicom information
    # print(img.header)
    scan_data = scan.get_fdata()
    pixels_by_slice = []
    # Select the slice to use (largest tumor area)
    for i in range(mask.shape[2]):
        scan_data_filter = np.where(
            scan_data[:, :, i] < min_interval, 0, scan_data[:, :, i]
        )
        pixels_by_slice.append(
            np.count_nonzero(np.where(scan_data_filter > max_interval, 0, scan_data_filter))
        )
    ct_slice_idx = np.argmax(pixels_by_slice)
Here, the scan_data variable contains the CT scan and this code block specifically seems to be using values within the -50 and 300 pixel intensity range to define the slice with the maximum tumor burden. Shouldn't this be performed on the mask variable which should be binary and not require filtering between -50 and 300? This same code is replicated in window_cropping.py.

Hi Joseph, thanks for the feedback, indeed we wanted to select the slice with largest GTV area but also take into account the chosen HU window. In this script, it is assumed that the input CT scan has already been pre-processed with FSL (reoriented and mask applied) and thus only contains information within the GTV mask boundaries. We then apply the HU window when selecting the slice to pick the one with more information in this range. I've updated the documentation and the pre-processing script to better explain these choices.


Fill in README.md

aferritto created the following on Apr 13:
Main repo README

[ ] Identify gaps in coverage of README
[ ] fill in gaps

Original issue: https://github.ibm.com/ai-foundation/PrimeQA/issues/109

ReadMe v1 is merged in main.


Scene Classification EuroSAT RGB or Multispectral?

Hi,
Just wondering if the fine-tuning on the EuroSAT dataset is using the RGB variant or the "all" variant of EuroSAT which contained the 13 spectral channels.
If RGB, is it easily compatible to fine-tune further/inference on multispectral data and see how it performs? Thanks!

@ayush-AkulaTech we use RGB,
It can be finetuned on multispectral, after the dataloader and number of input channels changed

@DotWang Thank you for your reply, I have another issue for the scene classification models:
It looks like the output predictions saved in the --show-dir directory are in BGR format. I’m puzzled by the to_rgb=True option in the data preprocessing section of the config. Changing it to False or True doesn’t seem to affect the final output format, but I noticed that setting it to False significantly drops the model's accuracy.
Could you clarify what format is actually used for saving the predictions? Does it use OpenCV or PIL? Additionally, since the dataset is stored in RGB format, why is there a to_rgb flag in the config? If LoadImageFromDisk uses OpenCV, wouldn’t it interpret the images as BGR without flipping the channels? I’d appreciate any clarification on these points!

@DotWang the process you mentioned is control by the mmcv, but I'm curious about why the scene classification can produce a result map?

@DotWang it results in an output which is the image (in BGR) with the prediction and ground truth label, not necessarily a "result map" if that's what you mean. Also as a side note, just wondering if you've tried exporting the model in ONNX format? Thanks!

@ayush-AkulaTech So you are doing semantic segmentation instead of scene classification, right? We have not tried exporting the model in ONNX format. In my idea, the visualization of segmentation is controled by the SegLocalVisualizer function in mmsegmentation.


less fix

I have added an error format because the output of lessc was not correctly
recognized in my system (maybe lessc errors changed in the last update)

Hey, im keen to pull this but remove the .DS_store file first.
Looks like they changed it in 1.2 - i just upgraded from 1.1.6 (where it was working as expected)

Sorry about that. I took the liberty to add the .DS_store file to .gitignore.
Thanks for the great plugin by the way.

Hey, i have pulled this and added another commit on top fe5b8989afa1859751acc34d9c0c6f8ccef44f6a (see the commit message).
Cheers :)


Problems stay in problems pane if I delete the file they are from

Create a file in an workspace.
Introduce some problems and save the file.
See the problems in the Problems pane.
From the filesystem, delete the new file.
The problems won't go away without reloading the window.
version 1.29.0-insiders
commit 2b06dd1ca
Windows
Found while testing #62063

@alexr00 Is it a typescript file?

@sandy081 same behavior for me with markdown file

Assigning to @mjbvz as I suppose markdown diagnostics are not cleared in this case.

@sandy081, this is happening to me with all file types I've tried so far (js and ts). There's one more step that I missed. Before you delete the file, you need to close it.

@sandy081 Our built-in markdown support does not provide any diagnostics so this is likely coming from an extension

@sbatten Can you check which extension is providing these errors?

@sandy081 I was using my own test extension locally

Ok, it explains. VS Code does not remove the markers automatically when file is closed or deleted. It is responsibility of the owner of the markers to clean up. So closing this as designed.

@sandy081, what about the ts and js errors? I had not installed any marketplace extension to provide those problems.

Regarding TS and JS, Errors should be cleared when files are deleted. But not when files are closed. Please correct me @mjbvz if I am wrong.


BadSignature in Starlette: Stray Cookies Problem

When I tried your test app in a browser, using a small form POSTing from an HTML page, I got:
ERROR:    Exception in ASGI application
Traceback (most recent call last):
  File "/home/devs/.local/lib/python3.8/site-packages/uvicorn/protocols/http/httptools_impl.py", line 398, in run_asgi
    result = await app(self.scope, self.receive, self.send)
  File "/home/devs/.local/lib/python3.8/site-packages/uvicorn/middleware/proxy_headers.py", line 45, in __call__
    return await self.app(scope, receive, send)
  File "/home/devs/.local/lib/python3.8/site-packages/fastapi/applications.py", line 199, in __call__
    await super().__call__(scope, receive, send)
  File "/home/devs/.local/lib/python3.8/site-packages/starlette/applications.py", line 111, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/home/devs/.local/lib/python3.8/site-packages/starlette/middleware/errors.py", line 181, in __call__
    raise exc from None
  File "/home/devs/.local/lib/python3.8/site-packages/starlette/middleware/errors.py", line 159, in __call__
    await self.app(scope, receive, _send)
  File "/home/devs/.local/lib/python3.8/site-packages/starlette/exceptions.py", line 82, in __call__
    raise exc from None
  File "/home/devs/.local/lib/python3.8/site-packages/starlette/exceptions.py", line 71, in __call__
    await self.app(scope, receive, sender)
  File "/home/devs/.local/lib/python3.8/site-packages/starlette/routing.py", line 566, in __call__
    await route.handle(scope, receive, send)
  File "/home/devs/.local/lib/python3.8/site-packages/starlette/routing.py", line 227, in handle
    await self.app(scope, receive, send)
  File "/home/devs/.local/lib/python3.8/site-packages/starlette/routing.py", line 41, in app
    response = await func(request)
  File "/home/devs/.local/lib/python3.8/site-packages/fastapi/routing.py", line 191, in app
    solved_result = await solve_dependencies(
  File "/home/devs/.local/lib/python3.8/site-packages/fastapi/dependencies/utils.py", line 548, in solve_dependencies
    solved = await call(**sub_values)
  File "./fastapi_sessions/session_cookie.py", line 60, in __call__
    session_id = self.signer.loads(
  File "/home/devs/.local/lib/python3.8/site-packages/itsdangerous/timed.py", line 142, in loads
    raise last_exception
  File "/home/devs/.local/lib/python3.8/site-packages/itsdangerous/timed.py", line 130, in loads
    base64d, timestamp = signer.unsign(s, max_age, return_timestamp=True)
  File "/home/devs/.local/lib/python3.8/site-packages/itsdangerous/timed.py", line 66, in unsign
    raise sig_error
  File "/home/devs/.local/lib/python3.8/site-packages/itsdangerous/timed.py", line 52, in unsign
    result = Signer.unsign(self, value)
  File "/home/devs/.local/lib/python3.8/site-packages/itsdangerous/signer.py", line 165, in unsign
    raise BadSignature("No %r found in value" % self.sep)
itsdangerous.exc.BadSignature: No b'.' found in value

But when I tried it with a REST tool, POSTing bare:
POST http://localhost:8080/get_session?username=me HTTP/1.1

I got:
HTTP/1.1 200 OK
date: Wed, 16 Jun 2021 19:10:53 GMT
server: uvicorn
content-length: 61
content-type: application/json
set-cookie: session=IlhqMWJHVDh3TGN3dmpoc1BRTU1iTWJkcUdCeXdBWWtrdDVGNFZUZk9LVXBOcUVJeVNMd0xXak9iUkVaeXBQcWp0TFF5MndBaW5GUFI4UzJsU1l6RE9RPT0i.YMpMvg.pd7FEmWVm5qoLLoN4u_B4Fj-ciU; HttpOnly; Max-Age=1209600; Path=/; SameSite=lax,sessioncsrf=IjZlQk8ySTFGNm9scEdGYUpUc0padUg0VE5kK0JSSm9FNjc5d1BheHN0d3FxSW92c1I5MktwZTB4YTFoZUFVRXNDSFMwQmRSSTZLMGZ4Vi9UWStCYU1RPT0i.YMpMvg.e4XSw91UPMK2wPSROGn1ALZ9pv4; Path=/; SameSite=lax
connection: close

{
  "message": "You now have a session",
  "user": {
    "username": "me"
  }
}

I checked what was causing this, and apparently, when I add a stray cookie, it crashes as it does above:
POST http://localhost:8088/get_session?username=me HTTP/1.1
Cookie: session=868f48a7-1a58-4a85-8bf1-b94153b69a25

It would appear that a stray cookie, e.g. from another app under development, isn't handled right yet.

I managed to trigger the same error in a standalone Starlette application, with the built-in SessionMiddleware enabled.
The reason is the same: the session cookie already exists, but it's invalid.
It happens in: https://github.com/encode/starlette/blob/15761fb48e4c56be09167cb8f9b761114593b651/starlette/middleware/sessions.py#L41-L45
BadSignature is not named in the except clause, causing the server to HTTP 500.

Hi, sorry for the slow response. Been extremely busy personally the last month. Check out this issue for a general response and goals for a rewrite.


Import & simulate model with 3d parametric geometry

Could look into supporting import & simulation of 3d parametric geometry.

read only geometry
output from DUNE as paraview files
would need converter from SBML parametric geometry to gmsh / DUNE grid
would need 3d support from DUNE

I was just thinking about that this week but I need to work it out because there are few places where I am assuming 2D. If you try it right now, it will probably fail horribly.


Incorrect VM Size / Compatibility

The document states that VMs with 2 or more VCPU, in the F/Fs series are supported.  This is not the case, as attempting to update an F2s_v2 vm to accelerated networking fails, stating it is not in the correct size.  Probably should update this to include the supported sizes found in the error message.

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

ID: f89338c0-968d-c22f-5b0d-ed3870ebc2fa
Version Independent ID: 6daae1cc-f758-1d37-9de3-80a2832c08ef
Content: Create an Azure virtual machine with Accelerated Networking
Content Source: articles/virtual-network/create-vm-accelerated-networking-cli.md
Service: virtual-network
GitHub Login: @gsilva5
Microsoft Alias: gsilva

@johnwildes, Thanks for your question. We are checking on this and will respond to you soon.

@johnwildes , Thanks for your feedback. I am assigning this issue to author to update the document accordingly. @gsilva5 , could you please update the document with all "Allowed Sizes"?

@gsilva5, @SubhashVasarapu-MSFT Any progress?

Thank you for you dedication to our documentation.
Unfortunately, we have been unable to review this issue in a timely manner. We sincerely apologize for the delayed response. We are closing this issue. If you feel that the problem persists, please respond to this issue with additional information.
Please continue to provide feedback about the documentation. We appreciate your contributions to our community.
#please-close


Investigate API logging

There are times the Sensu API does not log API response data, for example, when the HTTP client prematurely closes the connection etc.

Wrong repository.


Remember undo/redo history across resources

I would like Monokle to remember my edits in resources so I can go back to a resource and undo/redo them "later". (Fine to loose them if I switch projects)

duplicate of #2763


CRC checking in wasm is 150x slower

When compiling to wasm-unknown-unknown, CRC checking slows decompression down by 150x.  Here's some profiling:
With CRC32, 8 seconds:

Without CRC32, 45ms:

The allocations that CRC32 are making take seconds to finish, all within crc32fast::baseline::update_fast_16.  Within one call I count tens of allocations and copies.
I need to learn more about wasm to figure out how I can help, but wanted to put it out in the open to see if anyone had any ideas :)
Added a feature flag to cargo to test skipping CRC.  I don't feel like this is ideal, but if you want to test here's the commit: https://github.com/mvdnes/zip-rs/commit/f9f29cf7c1edebfa6489f9258b767bd4ad2a415e

Hmm... skipping CRC doesn't sound like something we want to do. First thing, can you update the crcfast dependency to the latest version, just to make sure it's not an issue that has since been fixed?

Yeah I definitely agree!  Only wanted to make sure that it was CRC checking and not the underlying flate performing allocations.  I'll take a look at upgrading now.  Thanks!

@rylev confirmed that upgrading to crc32fast 1.2.0 does not fix the problem.  I'll report an issue over there.

Turns out it's debug mode...!


The order of script tags for plugins should not be affecting initialization

Quoting #825:

I modified your zoom example as a codepen, to match my wavesurfer config, and at first I could not figure out why it seemed to be working on the codepen but not my site. I then realized that if I removed the regions altogether, or added them to the wavesurfer BEFORE I initialize the timeline then it works like your example. In my code, I added the regions AFTER I initialized the timeline. I am not sure if this is significant or something to note in the docs/change in the code but this seems to have fixed the problem.

Here we see how my code was set up, regions added after the timeline, and the bug I've been describing is present.
http://codepen.io/jeremylach/pen/zoWdyo?editors=1011

Solution: either make the order of scripts idempotent or add a note in the docs.

Will be fixed in next version through Plugin api.

Should be fixed in v2.0 as noted by @mspae, closing.

I have 2.0.6 and I am seeing this issue. The last comment says if should be fixed in 2.0. Did anyone actually verified this fix?


net/frr: make restart action available in Cron settings

I was trying to configure Cron to restart FRR periodically. Oddly enough, I could choose between a bunch of services to restart but not FRR.
After some troubleshooting, I figured only actions with a description were showing up in the list when setting up a Cron job.
This fixes the issue by adding a description to FRR's restart action.

Merged, thanks!


Verify that "Cenade" is listed in the drop-down menu when searched

Description:
"Cenade" should appear in the drop-down menu with correct spelling and locality information.
Preconditions:
The website is up and running.

Step 1
Type "Cenade" in the search bar.

Expected results:
The drop-down is listing "Cenade" as the first location in the drop-down menu.

Step 2
Observe the drop-down menu.

Expected results:
"Cenade" is displayed and selectable from the drop-down menu.


Not able to import readply

I git cloned this repo and tried to run the test script mesh_readply.py. But it is not running. I need help regarding this.
Type "help", "copyright", "credits" or "license" for more information.
>>> import readply
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'readply'
>>> exit()

Hi @piyush-bagad, did you only clone the repo or also build the Python module? The latter step is needed, but I just realized this wasn't described in the readme. I just commited a piece of text to the readme to describe the process.

By the way, the module currently does not work with Blender 2.80. Are you using that, or still using 2.7x?

@paulmelis Hi, Thanks for the response.
No I am using it with 2.79. Also, I am not able to build the python module. I used python setup.py build_ext --inplace and this throws up the following error:
readply.cpp:245:30: warning: ISO C++11 does not allow conversion from string literal to 'char *'
      [-Wwritable-strings]
    static char *kwlist[] = {"plyfile", "blender_face_indices", "blender_vertex_colors_per_face...
                             ^
readply.cpp:245:41: warning: ISO C++11 does not allow conversion from string literal to 'char *'
      [-Wwritable-strings]
    static char *kwlist[] = {"plyfile", "blender_face_indices", "blender_vertex_colors_per_face...
                                        ^
readply.cpp:245:65: warning: ISO C++11 does not allow conversion from string literal to 'char *'
      [-Wwritable-strings]
    static char *kwlist[] = {"plyfile", "blender_face_indices", "blender_vertex_colors_per_face...
                                                                ^
3 warnings generated.
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -I/usr/local/opt/gettext/include -I./rply -I/usr/local/lib/python3.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c rply/rply.c -o build/temp.macosx-10.14-x86_64-3.7/rply/rply.o -std=c++11
error: invalid argument '-std=c++11' not allowed with 'C'
error: command 'clang' failed with exit status 1

Does this module work with usual python or only with blender's python?

Ah, you're on macOS, with clang as compiler. It seems clang is tripping over the -std=c++11 argument when compiling the C file (while it is needed for readply.cpp). I just updated setup.py in 14e987f3512633fd3286882bcad8efe9623633b6, can you try to see if that fixes it?
The module works with regular Python as well.

@paulmelis
I cloned the newly committed repo. The build went through with a few warnings but the original error of module not found still persists.
Here is the exact output:
running build_ext
building 'readply' extension
creating build
creating build/temp.macosx-10.14-x86_64-3.7
creating build/temp.macosx-10.14-x86_64-3.7/rply
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -I/usr/local/opt/gettext/include -I./rply -I/usr/local/lib/python3.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c readply.cpp -o build/temp.macosx-10.14-x86_64-3.7/readply.o
readply.cpp:245:30: warning: conversion from string literal to 'char *' is deprecated
      [-Wc++11-compat-deprecated-writable-strings]
    static char *kwlist[] = {"plyfile", "blender_face_indices", "blender_vertex_colors_per_face...
                             ^
readply.cpp:245:41: warning: conversion from string literal to 'char *' is deprecated
      [-Wc++11-compat-deprecated-writable-strings]
    static char *kwlist[] = {"plyfile", "blender_face_indices", "blender_vertex_colors_per_face...
                                        ^
readply.cpp:245:65: warning: conversion from string literal to 'char *' is deprecated
      [-Wc++11-compat-deprecated-writable-strings]
    static char *kwlist[] = {"plyfile", "blender_face_indices", "blender_vertex_colors_per_face...
                                                                ^
3 warnings generated.
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -I/usr/local/opt/gettext/include -I./rply -I/usr/local/lib/python3.7/site-packages/numpy/core/include -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c rply/rply.c -o build/temp.macosx-10.14-x86_64-3.7/rply/rply.o
rply/rply.c:379:18: warning: variable 'ply' is uninitialized when used here [-Wuninitialized]
        error_cb(ply, "Incompatible type system");
                 ^~~
rply/rply.c:375:14: note: initialize the variable 'ply' to silence this warning
    p_ply ply;
             ^
              = NULL
rply/rply.c:481:18: warning: variable 'ply' is uninitialized when used here [-Wuninitialized]
        error_cb(ply, "Incompatible type system");
                 ^~~
rply/rply.c:478:14: note: initialize the variable 'ply' to silence this warning
    p_ply ply;
             ^
              = NULL
2 warnings generated.
creating build/lib.macosx-10.14-x86_64-3.7
clang++ -bundle -undefined dynamic_lookup -L/usr/local/opt/gettext/lib -I/usr/local/opt/gettext/include build/temp.macosx-10.14-x86_64-3.7/readply.o build/temp.macosx-10.14-x86_64-3.7/rply/rply.o -L/usr/local/lib -L/usr/local/opt/openssl/lib -L/usr/local/opt/sqlite/lib -o build/lib.macosx-10.14-x86_64-3.7/readply.cpython-37m-darwin.so
copying build/lib.macosx-10.14-x86_64-3.7/readply.cpython-37m-darwin.so ->

Well, it looks like the build succeeded. So do you have a file readply.cpython-37m-darwin.so in the top-level directory? If so, what happens if you run python -c 'import readply' in that same directory?

Yeah actually in the file mesh_readply.py, the error of Module not found occurs. But in the usual python console, it is working perfectly!
Thanks a ton!
Also, can I simply replace the import_mesh.ply() function call by this new (faster) method in Blender? Will I have to do anything additional?

Yeah actually on running the file mesh_readply.py, the error of Module not found occurs. But in the usual python console, it is working perfectly!
Thanks a ton!
Also, can I simply replace the import_mesh.ply() function call by this new (faster) method in Blender? Will I have to do anything additional?

Unfortunately, it is not a direct replacement of the bpy.ops.import_mesh.ply() function in blender. For now, the easiest way to get a PLY file into Blender with this module is to use
$ blender -P mesh_readply.py -- file.ply

Note that you can load an existing blender file first, followed by importing the PLY file using
$ blender myfile.blend -P mesh_readply.py -- file.ply

There has been some development on improving import speed of PLY (plus OBJ and STL) in this year's Google Summer of Code projects, but it seems the import improvements are currently not in a shape to get included in Blender 2.8x. See this devtalk thread for more information on the current state. Maybe that work will be restarted at some point, but until then, this module is an (imperfect) alternative.

I would like to draw your attention to this: So when I am using readply(path) inside a python3.7 console, it is working. But when I am doing that with blender -P mesh_readply.py -- my_ply_file.py, it still gives the ModuleNotFound error. Here is the full output
Read prefs: /Users/--/Library/Application Support/Blender/2.79/config/userpref.blend
found bundled python: /Applications/Blender/blender.app/Contents/Resources/2.79/python
Added anaconda library to path
Traceback (most recent call last):
  File "/Users/--/Desktop/projects/anthro/code/other_repos/blender-ply-import/mesh_readply.py", line 13, in <module>
    from readply import readply
ImportError: No module named 'readply'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/--/Desktop/projects/anthro/code/other_repos/blender-ply-import/mesh_readply.py", line 17, in <module>
    from readply import readply
ImportError: No module named 'readply'

Blender quit

That is really strange. The first ImportError should be caught by the exception handler, although it might get reported because the second attempt at importing readply (with updated sys.path) fails in the handler.
Could you insert a line print(sys.path) so that the importing section reads as below and the retry blender -P mesh_readply.py -- my_ply_file.ply again?
sys.path.insert(0, '.')
try:
    from readply import readply
except ImportError:
    scriptdir = os.path.split(os.path.abspath(__file__))[0]
    sys.path.insert(0, scriptdir)
    print(sys.path)   # Add this line
    from readply import readply

Secondly, the Python version used by your Blender installation might not be the same as the one you used to build the module. Can you provide the output of these two commands?
$ blender -b --python-expr 'import sys; print(sys.version)'
$ python -c 'import sys; print(sys.version)'

Yeah I build the module using py3.7 while Blender uses 3.5.
Read prefs: /Users/piyushbagad/Library/Application Support/Blender/2.79/config/userpref.blend
found bundled python: /Applications/Blender/blender.app/Contents/Resources/2.79/python
Added anaconda library to path
3.5.3 (default, May 29 2017, 11:05:36)
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.57)]

Blender quit

3.7.3 (default, Mar 27 2019, 09:23:15)
[Clang 10.0.1 (clang-1<IP_ADDRESS>)]

I'll try to git clone again and build with Blender python.

I just pushed 0c53eb9500b34cad8b7a5dd5db6be15d8c048b71 which should help. Try compiling the module under Blender directly, using
$ blender -b -P setup.py

Yup I tried this. But the old error pops up again :(.
warning: include path for stdlibc++ headers not found; pass '-stdlib=libc++' on the command line to use
      the libc++ standard library instead [-Wstdlibcxx-not-found]
readply.cpp:16:10: fatal error: 'Python.h' file not found
#include <Python.h>
         ^~~~~~~~~~
1 warning and 1 error generated.
error: command 'clang' failed with exit status 1

Well, this is a different error than earlier. Now the Python include files cannot be found. Does the file /Applications/Blender/blender.app/Contents/Resources/2.79/python/include/python3.5m/Python.h exist?

I should really try this out on a macOS system myself, but don't have one handy here, sorry

Hey,
I was able to run it on Mac without an issue. But on some other Ubuntu system, it again has this error
(base) piyushb@****:~/projects/anthro/code/blender-ply-import$ /home/users/piyushb/installations/blender-2.80-linux-glibc217-x86_64/2.80/python/bin/python3.7m setup.py build_ext --inplace
running build_ext
building 'readply' extension
creating build
creating build/temp.linux-x86_64-3.7
creating build/temp.linux-x86_64-3.7/rply
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -I/home/sources/build_linux/deps/Release/sqlite/include -I/home/sources/build_linux/deps/Release/bzip2/include -I/home/sources/build_linux/deps/Release/lzma/include -I/home/sources/build_linux/deps/Release/zlib/include -fPIC -fPIC -I./rply -I/home/users/piyushb/installations/blender-2.80-linux-glibc217-x86_64/2.80/python/lib/python3.7/site-packages/numpy/core/include -I/home/users/piyushb/installations/blender-2.80-linux-glibc217-x86_64/2.80/python/include/python3.7m -c readply.cpp -o build/temp.linux-x86_64-3.7/readply.o
In file included from /usr/include/c++/5/cstdint:35:0,
                 from readply.cpp:28:
/usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
 #error This file requires compiler and library support \
  ^
readply.cpp: In function ‘PyObject* readply(PyObject*, PyObject*, PyObject*)’:
readply.cpp:232:71: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
     static char *kwlist[] = {"plyfile", "vertex_values_per_loop", NULL};
                                                                       ^
readply.cpp:232:71: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
error: command 'gcc' failed with exit status 1

On running the following command independently, with flag -std=c++11, It does not show the error.
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -I/home/sources/build_linux/deps/Release/sqlite/include -I/home/sources/build_linux/deps/Release/bzip2/include -I/home/sources/build_linux/deps/Release/lzma/include -I/home/sources/build_linux/deps/Release/zlib/include -fPIC -fPIC -I./rply -I/home/users/piyushb/installations/blender-2.80-linux-glibc217-x86_64/2.80/python/lib/python3.7/site-packages/numpy/core/include -I/home/users/piyushb/installations/blender-2.80-linux-glibc217-x86_64/2.80/python/include/python3.7m -c readply.cpp -o build/temp.linux-x86_64-3.7/readply.o

But I am not able to find the source code where this command is being called

Hi
Fixed it using this commit https://github.com/paulmelis/blender-ply-import/commit/14e987f3512633fd3286882bcad8efe9623633b6

Yeah, I know, the setup.py way of building the module is very limited. And clang isn't helping as it should just ignore the -std=c++11 argument for a C file. So by removing that option in that commit helps for one case, but not for the other, nor in the general sense.
But it's building for you now? And have you found the module file? I see you're using the --inplace option, but that leaves the module file witin the build dir. If possible use blender -b -P setup.py, that will make sure the module gets copied to the current directory.

I've reverted the removal of -std=c++11 in ce91cc2364a0137a080f27ca7cf4d7630b221860, so now your clang build on macOS is broken again

With 4276e74d3e2e06e9081388d3bc40ea6fd06f84e1 I've turned the main source code into C instead C++. That should fix the compile issue you were seeing on macOS.

Hey, I'm trying to import readply module but it shows these error:
:readply.c(16): fatal error C1083:Can't open the include file: “Python.h”: No such file or directory,error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2

Hey, I'm trying to import readply module but it shows these error: :readply.c(16): fatal error C1083:Can't open the include file: “Python.h”: No such file or directory,error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2

I use windows, the blender version is 3.6

@Coder-ZZY not sure what goes wrong in your case. Can you paste all the output from the build command? I usually don't develop on Windows, so it might be something specific for that platform that goes wrong.


Fix command box output bug for module

Codecov Report

Merging #302 (4400b04) into master (f4c81b1) will decrease coverage by 0.06%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master     #302      +/-   ##
============================================
- Coverage     54.50%   54.44%   -0.07%
  Complexity      792      792
============================================
  Files           141      141
  Lines          3493     3497       +4
  Branches        506      506
============================================
  Hits           1904     1904
- Misses         1442     1446       +4
  Partials        147      147

Impacted Files
Coverage Δ

src/main/java/seedu/address/ui/MainWindow.java
0.00% <0.00%> (ø)

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


Quote path in icon_string

I unpacked wsl-terminal 0.5 in C:\Program Files (x86)\WSL Terminal and got this error when I started open-wsl.exe:

/usr/bin/mintty: could not load icon file 'C:\Program': The system cannot find the file specified.

So, I guess it's only natural to quote path to icon.

Thanks.

What a second, it should be also done for run-wsl-file.ahk and vim.ahk

If you could pull branch patch-1 and merge one more commit, I'll be grateful.

Thank you :blush:

It's my mistake, done.


fix: Specify the attribute name in the custom validator.

Hi,
ISSUE: https://github.com/devise-security/devise-security/issues/441

We have encountered a password validation issue while upgrading the gem version from v0.16 to 0.18.
We are currently retrieving all possible validators for the password column and triggering only these specific validators, focusing solely on validating the password format, instead of executing all validations for the User model.

User.validators_on(:password).each do |validator|
   validator.validate_each(resource, :password, resource.password)
end

However, due to the code change on version 0.17 click, we are no longer able to get all validations of password attributes. Two validators are missing: ActiveModel::Validations::LengthValidator, DeviseSecurity::PasswordComplexityValidator.

### v0.16
- irb(main):001:0> User.validators_on(:password).map(&:class)
=> [ActiveRecord::Validations::PresenceValidator, ActiveModel::Validations::ConfirmationValidator, ActiveModel::Validations::LengthValidator, DeviseSecurity::PasswordComplexityValidator, ActiveModel::Validations::PasswordStrengthValidator]

### v0.17, v0.18
irb(main):001:0> User.validators_on(:password).map(&:class)
=> [ActiveRecord::Validations::PresenceValidator, ActiveModel::Validations::ConfirmationValidator, ActiveModel::Validations::PasswordStrengthValidator]

I have realized that these validators are no longer exclusively linked to the password column. They have now become generic validators. We must validate the entire User object to obtain the results of these validators

IMPACT

Usually, the user model has numerous validations across various columns. However, in specific cases, it may not be necessary to validate all user attributes when changing the password alone. This can result in increased time and lower performance

Could you please review this to see if there's a possibility to make a change in this scenario?
Thank you!

Looks like your changes blew up the test suite. Can you look into this?

Looks like your changes blew up the test suite. Can you look into this?

thank you, I'm working on it.

Due to the code change, I found a problem in test case password complexity can be overridden at the class level
At point 1, when secure_validatable is specified, the User class registers a validation with the default password validator. Subsequently, the password_complexity_validator value at point 2 does not have an effect unless point 2 is declared before point 1.
Could you give some suggestions?
cc: @dillonwelch

Looking at the core code in activemodel, it looks like the difference is that validate actually sets a callback instead of registering a validator like validates_with does.
I am not sure yet what the right option / fix here is yet. I will continue to think on this. Hopefully this gives you a new avenue to explore to fix it. I do still agree that you should be able to pull in these validators when you do User.validators_on(:password).map(&:class).

The tests that were broken on main should be fixed now, hopefully that helps with troubleshooting.


Boss Mechanic - Stat Steal

Boss Mechanic - Stat Steal
Stat steal
Basically Undying's Decay, but three seperate abilities, each steals a type of Stat from players in an AOE (for, say, 45 seconds on a 10 second cooldown). Ability is telegraphed to allow dodging.

Return Intelligence (intelligence will be returned when players deal enough spell-damage against the boss)
Return Strength (strength will be returned when players take enough damage)
Return Agility (agility will be returned when players deal enough attack-damage to the boss)

Teach the players the pattern
The Boss has 3 abilities with visual indicators designed to show players his "weaknesses".

Magic Shield - Similar to linkens. This sphere is BLUE, once broken the boss takes significantly more magic damage. In most cases, the damgae will be enough to proc the "intelligence return".
Slam Weapon - Difficult to dodge. His weapon glows RED, the slam deals significant damage. In most cases, the damage is enough to proc the "strength return".
Frontal Shield - Boss is holding a shield in front of him. If attacked from behind, the shield will glow GREEN. Boss takes significantly more physical damage from behind, enough to proc the "agility return".

There isn't enough here for an actual fight. Closed for now. Feel free to repost when you have a bit more.


Fixed a broken link in README.md

I removed a space inside a link ([title](http://...))

I signed it!

Thank you!


Opening IFS shortcut works but throws error message "cannot stat '.*'"

Save us time! Click 'Report an Issue' from the Help and Support panel inside of VS Code after you have connected to a system.
Describe the bug
As of recently, opening any IFS shortcut to my home directory produces an error message, though it seems to work okay.

/QOpenSys/pkgs/bin/stat: cannot stat '.*': A file or directory in the path name does not exist.

To Reproduce
Steps to reproduce the behavior:

Open any IFS shortcut
See error

Expected behavior
No error message
Screenshots

Environment (please complete the following information):

Extension version v2.4.0
IBM i OS version 7.5

Please share the contents of your Code for IBM i output channel after the error appears.

Nothing:

@jwoehr Looks like you're on the Tasks output channel there, but our logs go to the Code for IBM i output channel. You can change it in the dropdown in top-right of the panel.

D'oh ...
/home/JWOEHR: cd '/home/JWOEHR/work' && /QOpenSys/pkgs/bin/stat --dereference --printf="%A	%h	%U	%G	%s	%Y	%n
" * .*
{
    "code": 1,
    "signal": null,
    "stdout": "drwxr-sr-x\t3\tjwoehr\tUNKNOWN\t8192\t1697815603\tBamberger\ndrwxr-sr-x\t3\tjwoehr\tUNKNOWN\t8192\t1677696482\tCamel\ndrwxr-sr-x\t2\tjwoehr\tUNKNOWN\t8192\t1680131200\tDDS\ndrwxr-sr-x\t3\tjwoehr\tUNKNOWN\t8192\t1691019318\tGoAccess\ndrwxr-sr-x\t8\tjwoehr\tUNKNOWN\t12288\t1678723844\tGoogle\ndrwxr-sr-x\t5\tjwoehr\tUNKNOWN\t28672\t1664503431\tIBMiUnit\ndrwxr-sr-x\t3\tjwoehr\tUNKNOWN\t8192\t1685739203\tILEastic\ndrwxr-sr-x\t3\tjwoehr\tUNKNOWN\t8192\t1652389101\tNode\ndrwxr-sr-x\t3\tjwoehr\tUNKNOWN\t8192\t1674431974\tOATTravel\ndrwxr-sr-x\t5\tjwoehr\tUNKNOWN\t8192\t1668989351\tOAuth\ndrwxr-sr-x\t3\tjwoehr\tUNKNOWN\t8192\t1664449246\tOSSILE\ndrwxr-sr-x\t3\tjwoehr\tUNKNOWN\t8192\t1696612354\tOpenPyxl\ndrwxr-sr-x\t6\tjwoehr\tUNKNOWN\t8192\t1695737625\tPACCAR\ndrwxr-sr-x\t2\tjwoehr\tUNKNOWN\t8192\t1683862877\tPHP\ndrwxr-sr-x\t10\tjwoehr\tUNKNOWN\t24576\t1687707613\tPython\ndrwxr-sr-x\t3\tjwoehr\tUNKNOWN\t8192\t1685934512\tReactPHP\ndrwxr-sr-x\t2\tjwoehr\tUNKNOWN\t8192\t1687463038\tUDTF\ndrwxr-sr-x\t5\tjwoehr\tUNKNOWN\t12288\t1688097757\tVarietyWholesale\ndrwxr-sr-x\t2\tjwoehr\tUNKNOWN\t12288\t1671557099\tapache-camel\ndrwxr-sr-x\t31\tjwoehr\tUNKNOWN\t24576\t1684361130\tbob-recursive-example\ndrwxr-sr-x\t3\tjwoehr\tUNKNOWN\t8192\t1685063015\tc\ndrwxr-sr-x\t2\tjwoehr\tUNKNOWN\t8192\t1668107045\tcl\ndrwxr-sr-x\t2\tjwoehr\tUNKNOWN\t8192\t1676337132\tcobol\ndrwxr-sr-x\t4\tjwoehr\tUNKNOWN\t8192\t1687201997\tgforth\ndrwxr-sr-x\t9\tjwoehr\tUNKNOWN\t28672\t1695150413\tiledocs-page-builder\ndrwxr-sr-x\t5\tjwoehr\tUNKNOWN\t8192\t1664676639\tmigrate\ndrwxr-sr-x\t11\tjwoehr\tUNKNOWN\t24576\t1695150352\tnoxDB\ndrwxr-sr-x\t3\tjwoehr\tUNKNOWN\t8192\t1672182352\trcs\ndrwxr-sr-x\t2\tjwoehr\tUNKNOWN\t8192\t1668719897\trest\ndrwxr-sr-x\t7\tjwoehr\tUNKNOWN\t8192\t1696134069\trpg\ndrwxr-sr-x\t14\tjwoehr\tUNKNOWN\t24576\t1679407420\tublu\ndrwxr-sr-x\t3\tjwoehr\tUNKNOWN\t8192\t1685737798\tuserstuff\ndrwxr-sr-x\t8\tjwoehr\tUNKNOWN\t24576\t1664554542\twkhtmltopdf",
    "stderr": "/QOpenSys/pkgs/bin/stat: cannot stat '.*': A file or directory in the path name does not exist."
}

@jwoehr Just to confirm, the list still appears but you're also getting this error message?

@jwoehr Just to confirm, the list still appears but you're also getting this error message?

That is correct. I'm working thru that to see if all the files appear.

Hmm, looks like this only happens on one 7.5 server. Investigating ...

I have this error message too - haven't investigated it but the server is on 7.5 and bash 5.2.

The same error occurs on 7.3 - and it's when there's no hidden files (filename preceded with dot) in the directory.
I wonder why this is happening now... something must have changed in the stat command...

I guess https://github.com/codefori/vscode-ibmi/pull/1659 fixed that!

@sebjulliand Exactly! 😄


Omit modulepreload links where appropriate

Fixes #1089.
Before submitting the PR, please make sure you do the following

[x] It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
[x] This message body should clearly illustrate what problems it solves.
[x] Ideally, include a test that fails without this PR but passes with it.

Tests

[x] Run the tests with pnpm test and lint the project with pnpm lint

Changesets

[x] If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpx changeset and following the prompts

Not sure what to do about that other issue. I don't know if we want to get into the business of user-agent sniffing


LouvainCore deltaQ function

in line 240 of LouvainCore.scala:   deltaQ = k_i_in - ( k_i * sigma_tot / M)
M is the total weight of the graph. My understanding is that M = 2m   (m: number of edges )
so, deltaQ may should be calculated  as  k_i_in - ( k_i * sigma_tot / (M/2))  instead? @eric-kimbrel

@tfoajojo
As the origin paper mentioned after giving the definition of △Q, "m is the sum of the weights of all the links in the network", so the same as the implementation of this repo.
Correct me if I misunderstand something.


Flush cached permissions when roles/permissions are attached/detached from users

@evan10s can you add relevant snippets here please

Hm that's more complicated than i expected. Need to check how the nova package modifies roles, i vaguely recall it being a direct DB write.

https://laravel-news.com/laravel-model-caching

https://matthewdaly.co.uk/blog/2018/01/12/creating-a-caching-user-provider-for-laravel/


Windows installraylib.vsh raudio build failed: include file 'mmreg.h' not found

v version: V 0.3.1 728b198
raylib.v version: v0.3.0 commit 7f752f1e230910652221a61633236edfe7e42956
Hi, following the installation steps I encountered the following error:
PS C:\Users\Jweaver\Documents\git\vtest> cd C:\Users\Jweaver\.vmodules\irishgreencitrus\raylibv
PS C:\Users\Jweaver\.vmodules\irishgreencitrus\raylibv> v run installraylib.vsh
Cloning Raylib v4.2.0 to C:\Users\Jweaver\AppData\Local\Temp/raylib_01GBWYQB2ZDQDS635YN4P6C1A3 ...
This may take a few minutes depending on the speed of your internet connection.
Cloning completed.
Compiling Raylib with V's tcc...
Building raudio...
In file included from raudio.c:136:
In file included from c:/users/jweaver/documents/git/v/thirdparty/tcc/include/winapi/windows.h:17:
c:/users/jweaver/documents/git/v/thirdparty/tcc/include/_mingw.h:137: warning: NOSERVICE redefined
In file included from raudio.c:136:
In file included from c:/users/jweaver/documents/git/v/thirdparty/tcc/include/winapi/windows.h:17:
c:/users/jweaver/documents/git/v/thirdparty/tcc/include/_mingw.h:138: warning: NOMCX redefined
In file included from raudio.c:154:
raudio.c:154: error: include file 'mmreg.h' not found

V panic: Building raudio failed.
Command:
"C:\Users\Jweaver\Documents\git\v\thirdparty\tcc\tcc.exe" -Wall -D_DEFAULT_SOURCE -DPLATFORM_DESKTOP -DGRAPHICS_API_OPENGL_33 -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing  -std=c99 -fPIC -O1 -Werror=implicit-function-declaration -I. -Iexternal/glfw/include -Iexternal/glfw/deps/mingw -I"C:\Users\Jweaver\Documents\git\v\thirdparty\tcc\tcc.exe" -c raudio.c
v hash: 728b198
C:/Users/Jweaver/AppData/Local/Temp/v_0/installraylib.8936925449095169056.tmp.c:8399: at _v_panic: Backtrace
C:/Users/Jweaver/AppData/Local/Temp/v_0/installraylib.8936925449095169056.tmp.c:20756: by main__main
C:/Users/Jweaver/AppData/Local/Temp/v_0/installraylib.8936925449095169056.tmp.c:21223: by wmain
004b77f0 : by ???
004b7953 : by ???
7ffea5437034 : by ??

This may take a few minutes depending on the speed of your internet connection.
> command: git clone --branch 4.2.0 --depth 1 --single-branch https://github.com/raysan5/raylib.git "C:\Users\Jweaver\AppData\Local\Temp/raylib_01GBZ8KA5VA2TRH2JDKPE8TVXD"
> result: Cloning into 'C:\Users\Jweaver\AppData\Local\Temp/raylib_01GBZ8KA5VA2TRH2JDKPE8TVXD'...
Note: switching to 'bf2ad9df5fdcaa385b2a7f66fd85632eeebbadaa'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

Updating files: 100% (865/865), done.

Cloning completed.
Compiling Raylib with V's tcc...
Building raudio...
> command: "C:\Users\Jweaver\Documents\git\v\thirdparty\tcc\tcc.exe" -Wall -D_DEFAULT_SOURCE -DPLATFORM_DESKTOP -DGRAPHICS_API_OPENGL_33 -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing  -std=c99 -fPIC -O1 -Werror=implicit-function-declaration -I. -Iexternal/glfw/include -Iexternal/glfw/deps/mingw -I"C:\Users\Jweaver\Documents\git\v\thirdparty\tcc\tcc.exe" -c raudio.c
> result: In file included from raudio.c:136:
In file included from c:/users/jweaver/documents/git/v/thirdparty/tcc/include/winapi/windows.h:17:
c:/users/jweaver/documents/git/v/thirdparty/tcc/include/_mingw.h:137: warning: NOSERVICE redefined
In file included from raudio.c:136:
In file included from c:/users/jweaver/documents/git/v/thirdparty/tcc/include/winapi/windows.h:17:
c:/users/jweaver/documents/git/v/thirdparty/tcc/include/_mingw.h:138: warning: NOMCX redefined
In file included from raudio.c:154:
raudio.c:154: error: include file 'mmreg.h' not found

In file included from raudio.c:136:
In file included from c:/users/jweaver/documents/git/v/thirdparty/tcc/include/winapi/windows.h:17:
c:/users/jweaver/documents/git/v/thirdparty/tcc/include/_mingw.h:137: warning: NOSERVICE redefined
In file included from raudio.c:136:
In file included from c:/users/jweaver/documents/git/v/thirdparty/tcc/include/winapi/windows.h:17:
c:/users/jweaver/documents/git/v/thirdparty/tcc/include/_mingw.h:138: warning: NOMCX redefined
In file included from raudio.c:154:
raudio.c:154: error: include file 'mmreg.h' not found

V panic: Building raudio failed.
Command:
"C:\Users\Jweaver\Documents\git\v\thirdparty\tcc\tcc.exe" -Wall -D_DEFAULT_SOURCE -DPLATFORM_DESKTOP -DGRAPHICS_API_OPENGL_33 -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing  -std=c99 -fPIC -O1 -Werror=implicit-function-declaration -I. -Iexternal/glfw/include -Iexternal/glfw/deps/mingw -I"C:\Users\Jweaver\Documents\git\v\thirdparty\tcc\tcc.exe" -c raudio.c
v hash: 728b198
C:/Users/Jweaver/AppData/Local/Temp/v_0/installraylib.10925987983991690099.tmp.c:8399: at _v_panic: Backtrace
C:/Users/Jweaver/AppData/Local/Temp/v_0/installraylib.10925987983991690099.tmp.c:20756: by main__main
C:/Users/Jweaver/AppData/Local/Temp/v_0/installraylib.10925987983991690099.tmp.c:21223: by wmain
004b77f0 : by ???
004b7953 : by ???
7ffea5437034 : by ???

There seems to be an error in the -I flags, it points to the exe (which is incorrect). I'll check the script to see if this is how it is programmed

Have a check, this should be fixed now.
If not feel free to reopen

Seems like line 41 in installraylib.vsh is incorrect, I believe it should be ccinclude = '${@VEXEROOT}/thirdparty/tcc/include'
Even with this change, I still get the same result:
PS C:\Users\Jweaver\.vmodules\irishgreencitrus\raylibv> v run installraylib.vsh
Cloning Raylib v4.2.0 to C:\Users\Jweaver\AppData\Local\Temp/raylib_01GCCQNR8BPWA5P5BCAMPVWB1Z ...
This may take a few minutes depending on the speed of your internet connection.
Cloning completed.
Compiling Raylib with V's tcc...
Building raudio...
In file included from raudio.c:136:
In file included from c:/users/jweaver/documents/git/v/thirdparty/tcc/include/winapi/windows.h:17:
C:/Users/Jweaver/Documents/git/v/thirdparty/tcc/include/_mingw.h:137: warning: NOSERVICE redefined
In file included from raudio.c:136:
In file included from c:/users/jweaver/documents/git/v/thirdparty/tcc/include/winapi/windows.h:17:
C:/Users/Jweaver/Documents/git/v/thirdparty/tcc/include/_mingw.h:138: warning: NOMCX redefined
In file included from raudio.c:154:
raudio.c:154: error: include file 'mmreg.h' not found

V panic: Building raudio failed.
Command:
"C:\Users\Jweaver\Documents\git\v\thirdparty\tcc\tcc.exe" -Wall -D_DEFAULT_SOURCE -DPLATFORM_DESKTOP -DGRAPHICS_API_OPENGL_33 -Wno-missing-braces -Werror=pointer-arith -fno-strict-aliasing  -std=c99 -fPIC -O1 -Werror=implicit-function-declaration -I. -Iexternal/glfw/include -Iexternal/glfw/deps/mingw -I"C:\Users\Jweaver\Documents\git\v\thirdparty\tcc\include" -c raudio.c
v hash: 1c63ce4
C:/Users/Jweaver/AppData/Local/Temp/v_0/installraylib.14338076356001959561.tmp.c:8398: at _v_panic: Backtrace
C:/Users/Jweaver/AppData/Local/Temp/v_0/installraylib.14338076356001959561.tmp.c:20736: by main__main
C:/Users/Jweaver/AppData/Local/Temp/v_0/installraylib.14338076356001959561.tmp.c:21203: by wmain
004b7708 : by ???
004b786b : by ???
7ff8887d7034 : by ???

That being said, I don't believe mmreg.h and a few other header files are located in "thirdparty/tcc/include". I manually added them from C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0 but got stuck when I came across strings.h which is used in miniaudio.h. I'm not sure where this header is or even if it exists for windows or tcc. The miniaudio docs say there is no need to link anything in windows https://github.com/mackron/miniaudio#building.
However, after looking at miniaudio.h:
#if !defined(_MSC_VER) && !defined(__DMC__)
    #include <strings.h>    /* For strcasecmp(). */
    #include <wchar.h>      /* For wcslen(), wcsrtombs() */
#endif

Seems like we need to define a strcasecmp function for miniaudio and modify this define for tcc on windows in raylib/src/external/miniaudio.h. I'm not really sure the best way to go about it.
Im also not familiar with tcc, maybe a tcc option could fix this somehow.

I'm going to start more windows testing, let me know if you have any more information.
TCC doesn't seem to have mmreg.h, as far as I can see.

maybe add a full winapi for tсс in v install?
http://download.savannah.gnu.org/releases/tinycc/winapi-full-for-0.9.27.zip

Hi, I tried adding the winapi full, and it did get a lot farther. This is the new output:
Compiling Raylib with V's tcc...
Building raudio...
Building rcore...
In file included from rcore.c:142:
In file included from external/msf_gif.h:249:
external/msf_gif.h:249: error: include file 'emmintrin.h' not found

V panic: Building rcore failed.

pay attention https://github.com/raysan5/raylib/issues/435#issuecomment-380416170

I just downloaded the missing header from the internet, that's a workaround.

I just downloaded the missing header from the internet, that's a workaround.

Can you post the link here? If this works I could just bundle the header with this library and I think this issue would be solved.

For me, the following files were missing:

I just copied strings.h, mmreg.h and mmsystem.h from winlibs copy of mingw64 (https://winlibs.com/)
And the rest of the files... I just googled them and got them from the internet :)
xmmintrin.h (https://sites.uclouvain.be/SystInfo/usr/include/xmmintrin.h.html)
emmintrin.h (https://raw.githubusercontent.com/gcc-mirror/gcc/master/gcc/config/i386/emmintrin.h)
mmintrin.h (https://raw.githubusercontent.com/gcc-mirror/gcc/master/gcc/config/arm/mmintrin.h)
Hope that answers your question!

I'll look at this fix ASAP, thanks @MightyPancake!

I've added these files into my local version, but we're still missing libraries apparently (notably user32)
If anyone's reading this and still can't get it working, I recommend to use gcc solely for now, as it seems to have all the support necessary.
Any help in setting that up is welcome in discussions for those reading in the future if this issue is still not closed.

I've added these files into my local version, but we're still missing libraries apparently (notably user32) If anyone's reading this and still can't get it working, I recommend to use gcc solely for now, as it seems to have all the support necessary. Any help in setting that up is welcome in discussions for those reading in the future if this issue is still not closed.

I've uploaded my copy of user32.def here: https://easyupload.io/37chpi
You can check if adding that helps. I believe this file was provided with V's tcc though, so that's weird... Let me know if it works!


chore(api): fix outdated integration tests

Fix outdated integration tests
Description of changes:
Check points:

[ ] Added new tests to cover change, if needed
[ ] All unit tests pass
[x] All integration tests pass
[x] Documentation update for the change if required
[x] PR title conforms to conventional commit style

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

Codecov Report

Merging #1252 (0281300) into main (f9ea674) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1252      +/-   ##
==========================================
- Coverage   59.96%   59.95%   -0.02%
==========================================
  Files         653      653
  Lines       19330    19330
==========================================
- Hits        11592    11590       -2
- Misses       7738     7740       +2

Flag
Coverage Δ

API_plugin_unit_test
63.40% <ø> (ø)

AWSPluginsCore
76.74% <ø> (ø)

Amplify
48.57% <ø> (-0.05%)
:arrow_down:

Analytics_plugin_unit_test
73.41% <ø> (ø)

Auth_plugin_unit_test
82.31% <ø> (ø)

DataStore_plugin_unit_test
73.98% <ø> (ø)

Predictions_plugin_unit_test
33.51% <ø> (ø)

Storage_plugin_unit_test
57.72% <ø> (ø)

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

Impacted Files
Coverage Δ

Amplify/Amplify.swift
86.95% <ø> (ø)

...Configuration/AmplifyAWSServiceConfiguration.swift
82.60% <ø> (ø)

...n/Operation/AWSGraphQLOperation+APIOperation.swift
43.63% <0.00%> (-3.64%)
:arrow_down:

...s/AWSHubPlugin/Internal/HubChannelDispatcher.swift
94.11% <0.00%> (-2.95%)
:arrow_down:

.../DataStore/Model/Internal/Schema/ModelSchema.swift
85.71% <0.00%> (-2.86%)
:arrow_down:

...APICategoryPlugin/Operation/AWSRESTOperation.swift
62.33% <0.00%> (+2.59%)
:arrow_up:

Continue to review full report at Codecov.

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


Revert "[🔧 ESLint] fixes for yaml with yml/plain-scalar rule"

Reverts kamilkisiela/graphql-hive#738
It breaks docker compose files:
services.s3_provision_buckets.restart must be a string

@B2o5T

@kamilkisiela do you know which change breaks? so I'll submit an issue


Atom suddenly switched to dark mode and shows welcome guide.

I'm on Windows 10 using Atom 1.31.2 x64. I had Atom set to the light theme ever since I installed it, years ago.
Suddenly I started up Atom today and it is set to the "One Dark" UI and syntax themes. In addition the welcome guide is shown, with "Show Welcome Guide when opening Atom" checked.

It still opened my last opened directory.
All my projects are still there using the project manager.
My plugins still seem to be installed.

Why did Atom suddenly revert my theme and show me the welcome guide? This sounds scary, like some configuration corruption or something. I'll have to go through and see if any other settings have changed.
Oh, no—I had "Auto Indent On Paste" disabled, and now it's enabled again. It looks like Atom reset my settings.
Anyone know what happened? How can I get back a copy of my original settings? (I may have backed up my development environment yesterday. Where would they be stored, so I can try to copy them back?)

Arg, it toggled off invisibles and reset the size of the font. Why, why?

Sorry for the trouble here, it sounds like you've hit the same issue described in https://github.com/atom/atom/issues/14909.  The team pushed some changes to address the problem but some folks are still hitting the issue it looks like.

(I may have backed up my development environment yesterday. Where would they be stored, so I can try to copy them back?)

Your settings are in your config.cson file:
https://flight-manual.atom.io/using-atom/sections/basic-customization/#global-configuration-settings
If you have that file backed up, you should be able to copy it to your home directory to restore your settings.
I just asked in https://github.com/atom/atom/issues/14909 if someone could open a new issue so the team can track this problem - can you edit the issue body to fill out the issue template as much as possible so we can use this issue to track it?

can you edit the issue body to fill out the issue template as much as possible so we can use this issue to track it

Sorry, after all the problems over the years—random changes, random freezes that make me have to reset the windows preferences, an end-of-line bug that corrupted files, broken scrolling, a silly thing where Atom forces the lines to wrap even though I turn wrapping off… I could go on. But dumping almost the entire configuration is a pretty serious thing. It was the proverbial straw that broke the camel's back. Everyone had been telling me to try VisualStudio Code. This bug was too much; I tried VS Code and I'm not looking back.

Oh, and I've written a complete software development course in which we recommended Atom. We start another term next week, and I'll be rewriting the lessons to recommend VS Code instead.

Sorry to hear that - I know you were a long-time user of Atom and I've seen some of those issues you've mentioned, I can see how frustrating they were (I was hit by a settings loss too).  If you happen to come back to Atom in the future we'll be here but in any case, thanks so much for your contributions in issues and on the message board.


Error while searching, and some things i noticed.

I found this library recently and I'm certainly going to use it a lot as I started making a music app.
However, I would like a way to limit the number of results to be implemented in "await client.SearchYoutubeVideoAsync", or to create an offset so that as the user scrolls, it is possible to obtain a more fluid listing.
The limitation also serves to avoid causing blockages that take a long time.
Also the search is not working i tried to search for "beautiful girls" and it pop up the following error.

Hey @kelputoo! I'll look into this as soon as possible, but I'm currently in school and can't work on this project right now.
When I originally started this project I tried to figure out a way to limit listings and also get more listings past listing 20. I couldn't figure out a way to do this back then, so I didn't implement it. I'll go have a look into this problem again, and will update my progress.

Hi, it's okay. Take your time.
You're doing this with Web Scraping?

@kelputoo yup, because back then when I started this project this seemed to be the only way to scrape video data without using an API key

Yes, probably that's the only way.

I'll give you an advice, if you want to invest time on this, try to make a better version of: "https://github.com/Tyrrrz/YoutubeExplode"
For example, with the limit search i said etc.
They don't have any limit, but u can apply by urself and it runs fast, for example, i did this way:
` private async Task SearchYouTubeVideosAsync(string query)
{
// Clear the current items
VideosCollectionView.ItemsSource = null;
 // Initialize YoutubeClient
 var youtube = new YoutubeClient();

 // Create an observable collection to hold the video results
 ObservableCollection<YouTubeVideo> Videos = new ObservableCollection<YouTubeVideo>();

 // Define the maximum number of results you want
 int maxResults = 25;
 int resultCount = 0;

 // Use await foreach to iterate over the search results
 await foreach (var video in youtube.Search.GetVideosAsync(query))
 {
     if (resultCount >= maxResults)
         break;

     var youtubeVideo = new YouTubeVideo
     {
         Title = video.Title,
         VideoUrl = $"https://www.youtube.com/watch?v={video.Id}",
         ThumbnailUrl = video.Thumbnails.FirstOrDefault()?.Url, // Safely accessing the first thumbnail
         Author = video.Author.ChannelTitle,
         Duration = video.Duration ?? TimeSpan.Zero // Handle nullable TimeSpan
     };

     Videos.Add(youtubeVideo);
     resultCount++;
 }

 // Set the items source for the CollectionView
 VideosCollectionView.ItemsSource = Videos;

}`

@kelputoo thanks for the repo! ill have a look at it :)

@kelputoo Could you send more data about the crash you encountered? I am unable to replicate your error

Hey @kelputoo,
Firstly thanks for bringing the error to our attention 🙏
Could explain your current environment a little more and provide a full log of the error so we can try understand what exactly has gone wrong.

What version of YTSearch.NET are you using?
Did you download/install the package from this repo or from NuGet?
Have you made any modifications to the library?
I can see your using .net8, are you on a preview version or the latest 8.0.8?
Have you attempted to replicate the error on any other .net versions?

The message box shown in the image perfectly cuts off as its about to log what portion of YTSearch.NET is causing the error. If you could provide another screenshot with the rest of the log or possibly log the error to console (to copy/paste).
I replicated your code in .net6 using YTSearch.Net v1.0.4 from NuGet and no errors were thrown. Would you be able to attempt the same in .net6 on your machine and provide a log (if it fails).
try
{
    var client = new YouTubeSearchClient();
    var results = await client.SearchYoutubeVideoAsync("beautiful girls");
    foreach (var result in results.Results)
    {
        Console.WriteLine($" {result.Title}\t{result.Author}\t{result.Length:mm\\:ss}");
    }
}
catch (Exception ex)
{
    Console.WriteLine(ex);
}

Cheers

Hi, im currently not using the library.
However i will try to help the max. i can.
I was using the lastest .NET 8 Release Version
All the MAUI Nuget Packages were updated to the lastest RELEASE VERSION.
I've downloaded the package from Nuget and i was using the lastest version avaliable too.
Have you attempted to replicate the error on any other .net versions? No.
Have you made any modifications to the library? No.

Hi, im currently not using the library.
However i will try to help the max. i can. I was using the lastest .NET 8 Release Version All the MAUI Nuget Packages were updated to the lastest RELEASE VERSION. I've downloaded the package from Nuget and i was using the lastest version avaliable too. Have you attempted to replicate the error on any other .net versions? No. Have you made any modifications to the library? No.

Yeah right, ok.
That's super weird.
I'll try replicate on my end using .net8 and see what happens 👌.
Did you pivot to using YoutubeExplode?


Office League - Page reloaded on back button in Safari

It seems that history.back() in Safari just triggers a page reload. I have not been able to find a way to avoid it.
I'm not sure if this is just an Angular issue or general Safari weridness.


[SQL] Support show sharding table from xxx

What would you like to be added:
Why is this needed:
show sharding table from employee;

Task 1: SQL parser support this sql statement, reference: https://github.com/arana-db/parser/pull/9
Task 2: Support sql statement at arana project, reference: https://github.com/arana-db/arana/pull/284

I got it

name
allow_full_scan
sequence-type
db_rules  json
tbl_rules  json
attributes  json


Roll Flutter Engine from 29196519c124 to 467cfd7ef770 (15 revisions)

https://github.com/flutter/engine/compare/29196519c124...467cfd7ef770
2022-12-16<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from VEOIaacOA75U7PYyz... to KtItDj-MERuua77aS... (flutter/engine#38339)
2022-12-15<EMAIL_ADDRESS>Add missing include to FlutterThreadSynchronizer (flutter/engine#38337)
2022-12-15<EMAIL_ADDRESS>Roll Skia from f549128104ba to 5e69caecd166 (11 revisions) (flutter/engine#38333)
2022-12-15<EMAIL_ADDRESS>Revert "Roll Dart SDK from 358d0d1aa3e7 to 1dd5b1bf1099 (7 revisions) (#38320)" (flutter/engine#38331)
2022-12-15<EMAIL_ADDRESS>Update buildroot to b2ab6e1908b3eb2. (flutter/engine#38329)
2022-12-15<EMAIL_ADDRESS>Bump github/codeql-action from 2.1.35 to 2.1.36 (flutter/engine#38210)
2022-12-15<EMAIL_ADDRESS>Started using FlutterEngineGroups by default on Android  (flutter/engine#37822)
2022-12-15<EMAIL_ADDRESS>make sure CanvasRecorder updates clip bounds methods (flutter/engine#38325)
2022-12-15<EMAIL_ADDRESS>Remove doc reference to the compute method (flutter/engine#38246)
2022-12-15<EMAIL_ADDRESS>[fuchsia] Manually roll Fuchsia Linux SDK. (flutter/engine#38324)
2022-12-15<EMAIL_ADDRESS>Update web_sdk -> package test dependency to get updated package matcher (flutter/engine#38323)
2022-12-15<EMAIL_ADDRESS>Migrate iOS text input plugin to use ARC (flutter/engine#38179)
2022-12-15<EMAIL_ADDRESS>Roll Dart SDK from 358d0d1aa3e7 to 1dd5b1bf1099 (7 revisions) (flutter/engine#38320)
2022-12-15<EMAIL_ADDRESS>Roll Skia from 9f728d78f10d to f549128104ba (1 revision) (flutter/engine#38319)
2022-12-15<EMAIL_ADDRESS>[linux] Allow overriding asset, ICU data path (flutter/engine#38296)
Also rolling transitive DEPS:
fuchsia/sdk/core/linux-amd64 from e2lfUFBW5ddt to zwfwHRSLdmV6
fuchsia/sdk/core/mac-amd64 from VEOIaacOA75U to KtItDj-MERuu
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Minor layout pedantry

A few little style changes to even out spacing on checkbox labels and above the result set.

Can you fixup the last commit into the first one? I can show you how to do this if you don't know.

I had a feeling my clunky commits might need a tidy up. I'll fix it up...


remove temporary file from GitHub control

emphemeral file https://github.com/STAT325-S24/HolyokeUrbanRenewal/blob/main/data-raw/~%24riverview_renewal_data_2024_02_27.xlsx was inadvertently added.

Done via https://github.com/STAT325-S24/HolyokeUrbanRenewal/commit/c338e28eb8f494d2f0d067f87bb5006204479698


Local running instruction

This is a great setup and I'd like to use for a new project.
I ran using "sudo npm start" and ran into this at the browser:
No Authorization header found
Can you add instructions to run this locally?

Sorry, but this setup isn't ready now. I'll finish it in next few days(2-3 days). "No Authorization header found" -  result of using "koa-jwt" for all requests application. I have second repo with frontend part for this project, that will be merged. Thanks for issue.

7bc35d1 fix some your issues, more info you can find in Readme. Contributions are welcome.

I'm playing with this. It has Marco templating engine and angular in the frontend, Koa/rethink in the backend. Check it out for real-time apps. What are your thoughts?
https://github.com/knowthen/Episode-10-Building-realtime-web-applications

IMHO - it's a good, comparably old, small example - angular 1.x isn't a trend now, koa version is old. This app just shows a possibilities of Koa, Socket.io, Rethinkdb. Also, there is good example of connection to Rethinkdb.

Are we targeting the web too? How is our new example relevant in Bootstrap
4.0 scenario?
On Mon, May 30, 2016 at 12:33 AM, Vladimir Metnev<EMAIL_ADDRESS>wrote:

IMHO - it's a good, comparably old, small example - angular 1.x isn't a
trend now, koa version is old. This app just shows a possibilities of Koa,
Socket.io, Rethinkdb. Also, there is good example of connection to
Rethinkdb
https://github.com/knowthen/Episode-10-Building-realtime-web-applications/blob/master/dash.js.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Metnew/koa-graphql-rethinkdb-starter/issues/1#issuecomment-222376944,
or mute the thread
https://github.com/notifications/unsubscribe/AADrkx21HLcAKcc7qJV5YxATwby7jlv8ks5qGeL-gaJpZM4IoYEN
.

React and Bootstrap 4: https://github.com/reactstrap/reactstrap

Sorry, I didn't get that - "Are we targeting the web too?".
Hm, Reactstrap is interesting project, thanks for link. Changing Material.ui to Reactstrap won't change the project stability, cause it's just frontend packs of react elements, if you asked about that. Reactstrap or something similar will be added to Yeoman generator.

The interesting thing about Marco is that it updates (diff patches the DOM without the virtual part) and I guess that's faster than doing the react/virtual-dom for web-apps at least.

Marco is server-side rendering engine, am I right? Isn't client-side?

It does both.

Marko is a really fast and lightweight HTML-based templating engine that compiles templates to readable Node.js-compatible JavaScript modules, and it works on the server and in the browser.

Oh, cool, thnx.


allow for cross-origin iframe access or add support for reverse comment order

hello utter devs
i want to implement reverse order of the comments in reverse on my
site, but i cannot access the comments iframe bc of CORS :
Uncaught (in promise) DOMException: Permission denied to access property "document" on cross-origin object

i would make a pr, but no clue how the codebase works so lol
heres my code :
"use strict";

function sleep(ms) {
    return new Promise((resolve) => setTimeout(resolve, ms));
}

async function main() {
    let comments = null;

    while (!comments) {
        comments = document.getElementsByClassName("utterances-frame")[0];
        await sleep(1000);
    }

    comments = comments.contentDocument || comments.contentWindow.document;

    console.log(comments);
}

// document.addEventListener("DOMContentLoaded", main);
main();

( also would be nice if yall added support for like utterences_on_load() or smt function so i wouldnt need that while loop lmao )

related : https://github.com/utterance/utterances/issues/182


Broken App Config

I am trying to test my PebbleJS's ap config using cloud pebble. I followed the guide on the blog (http://developer.getpebble.com/blog/2015/01/22/cloudpebble-pebble-emulator/) to support the return_to query parameter. However, since cloud pebble appends #%7B%7D to my config URL (before the query string), the code snippet to get the return_to parameter is broken (you need to use location.hash.substring(8)).
Even with the above change (which allows my config to return properly to cloud pebble), it causes Settings.config() to believe that an error occured. I am unable to view any error message. I am also unable to access any of the saved form fields. This config works fine on the Pebble itself.

It's hard to tell without knowing what the URL is, but this looks like a duplicate of #124.

My URL is: https://somehostnamegoeshere.dev/config
There is no anchor in the URL. The URL cloud pebble attempts to open is: https://somehostnamegoeshere.dev/config#{}?return_to=https%3A//cloudpebble.net/ide/emulator/config%3F#{}


[TF:TRT] Add additional conv2d test case

Would you please provide a description of the PR?

@christopherbate Can you please check @bixia1's comments and keep us posted ? Thanks!

@christopherbate  Any update on this PR? Please. Thank you!

@christopherbate This PR is in draft, any update on this? Please. Thank you!


python311Packages.lexilang: init at 1.0.1, python311Packages.libretranslate: 1.5.2 -> 1.5.5

Description of changes
Fix build (https://hydra.nixos.org/build/246735645)

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 282824 run on x86_64-linux 1

6 packages built:

libretranslate (python311Packages.libretranslate)
libretranslate.dist (python311Packages.libretranslate.dist)
python311Packages.lexilang
python311Packages.lexilang.dist
python312Packages.lexilang
python312Packages.lexilang.dist

Translation works, but language detection is broken, logs:
Running on http://<IP_ADDRESS>:5000
WARNING:waitress.queue:Task queue depth is 1
WARNING:waitress.queue:Task queue depth is 2
WARNING:waitress.queue:Task queue depth is 2
WARNING:waitress.queue:Task queue depth is 1
Compiling database...
[Errno 2] No such file or directory: '/nix/store/wwknzccd07xfxjv03c59xfv5x8z45sqi-python3.11-lexilang-1.0.1/lib/python3.11/site-packages/dictionaries/afrikaans.txt'

Package added in upstream, Update this PR?

Translation works, but language detection is broken, logs:

Seems to work for me. But no expert on libretranslate here.
$ ./result/bin/libretranslate --host <IP_ADDRESS>
Updating language models
Found 86 models
Downloading Albanian → English (1.9) ...
Downloading Arabic → English (1.0) ...
[....]

Result of nixpkgs-review pr 282824 run on x86_64-linux 1

6 packages built:

libretranslate (python311Packages.libretranslate)
libretranslate.dist (python311Packages.libretranslate.dist)
python311Packages.lexilang
python311Packages.lexilang.dist
python312Packages.lexilang
python312Packages.lexilang.dist

Seems to work for me. But no expert on libretranslate here.

Request:
% curl 'http://<IP_ADDRESS>:5000/detect' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  -d 'q=guten%20morgen'

[{"confidence":0.0,"language":"en"}]

Logs:
Running on http://<IP_ADDRESS>:5000
Compiling database...
[Errno 2] No such file or directory: '/nix/store/r1k8wqws2bcdw5s8bkh46b6f6x3fyamq-python3.11-lexilang-1.0.1/lib/python3.11/site-packages/dictionaries/afrikaans.txt'

Draft patch:
diff --git a/pkgs/development/python-modules/lexilang/default.nix b/pkgs/development/python-modules/lexilang/default.nix
index 5bd64ae8b760..953b2d733d1f 100644
--- a/pkgs/development/python-modules/lexilang/default.nix
+++ b/pkgs/development/python-modules/lexilang/default.nix
@@ -34,6 +38,11 @@ buildPythonPackage rec {
     "lexilang"
   ];

+  postCheckPhase = ''
+    cp -r $src/dictionaries/ $out/lib/python3.11/site-packages/
+    ls -lah $TMP/source/lexilang/data/
+  '';
+
   meta = with lib; {
     description = "Dictionary-based language detector for short texts";
     homepage = "https://github.com/LibreTranslate/LexiLang";

Error:
Compiling database...
Serializing...
[Errno 2] No such file or directory: '/nix/store/2nn9gdlh5ia57kihqdjprhvr4f11zql8-python3.11-lexilang-1.0.1/lib/python3.11/site-packages/lexilang/data/words.pickle'
2024-02-21 09:25:42 WARNING: Language en package default expects mwt, which has been added
WARNING:stanza:Language en package default expects mwt, which has been added

Also need to add words.pickle file.

Any ideas on how to fix it?
WARNING: Language en package default expects mwt, which has been added

is there progress?

Done in #281850 and #295068.


Can specify the node path

Resolve: #227
This can be a solution for those users who use the 3-party shell, like zshell on Mac, causing Node.js not found.

Tested without problem on my side (Behavior: when changed the path config and focus out, the settings page will refresh).


(#83) - coverage to 100%

Along with my other PRs, this gets us up to 100% for all categories
of code coverage.

27a8c074920760c748c673f70afbfefa40de9094


[release-1.4] Use relative references in the README

This is an automated cherry-pick of #392

@istio-testing: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

gencheck_operator_release-1.4
f85884cc265e126bde9c808e1b7dcf274a55754b
link
/test gencheck_operator_release-1.4

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

This should have not allowed @ostromart to merge :confused: something may be wrong with the branch protection


unify feature gate in aa、sync-controller and cluster-controller

Signed-off-by: wuyingjun<EMAIL_ADDRESS>What type of PR is this?
/kind cleanup

What this PR does / why we need it:
unify default feature gate in aa、sync-controller and cluster-controller
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

NONE

/retest

The reason for separating clustersynchro manager's feature gate from clusterpedia apiserver's is that apiserver's doesn't make any sense for clustersynchro manager, so a separate feature gate is used for clustersynchro manager in order to get a better view of the useful feature-gate

The reason for separating clustersynchro manager's feature gate from clusterpedia apiserver's is that apiserver's feature gates doesn't make any sense for clustersynchro manager, so a separate feature gate is used for clustersynchro manager in order to get a better view of the useful feature-gate

I am lack of knowledge here.  What I am confused about is two points：
1· cluster controller use the same feature-gates as sync controller
2. AA and sync-controller start in two containers . Does that make have an effect when we do not separate the feature_gates
Can you help me?

cluster controller use the same feature-gates as sync controller

They just use the same utils/feature package, which is actually empty if we don't import the specific features package.
utils/feature can be used as a public feature gate for clusterpedia, and that components will register its own features if it needs to use them.

AA and sync-controller start in two containers . Does that has an effect when we do not separate the feature_gates

Indeed, if the command is integrated, both feature gates will be used.
There are two ways to do this, which are

Register all features in DefaultMutableFeatureGate, but for the other two components, there is no way to see the really useful feature gate with --help

Add a SetMutableFeatureGate function in utils/features to override MutableFeatureGate in utils/features, and add an AddFeatureGates function in pkg/synchromanager/features, like logs.AddFeatureGates

/close


[Website] Showcase Cards CSS Gradient Fixes

Describe your idea
There are 2 options we discussed for this task:

[ ] Add gradient to card based on icon color

or

[ ] Change card gradient color to purple

Sample Images of changes needed:

Additional context notes:
An idea was talked about to hard code this in the JSON - that we could choose the color of each icon using a color picker and then decide what the color of the background of the card should be. Every bg color will match the color of the icon we put in the JSON. So it will not be part of the CSS file, will be a style attribute using "style" prop to do it dynamically.

This can be split into 2 phases:

use a static gradient;
advanced implementation: use pre-compilated gradient from the images;


[spark] Implement distributed orphan file clean for spark

Purpose

This pr supports distributed orphan file clean for spark using Dataset interface.

Tests
add test

API and Format

no
Documentation

@ulysses-you reopen this pr plz,  we can review it continue.

+1，nice.

Please add close https://github.com/apache/paimon/issues/4184 in comment too.


Build RAG pipeline

Create a pipeline that embedds the text from WRI documents into a vector database that can be used for RAG.
This should be as reusable as possible, to add more documents over time as they are created.

This is implemented in its first version.


/docs/tasks/access-application-cluster/create-external-load-balancer/ doesn't mention ingress

Problem: https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/ this page should mention Ingress concept as a way to create an external LB to an application.
Page to Update:
https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/

There are some offhanded mentions of Ingress in samples, but they're likely to be more confusing than not. Agreed: more/better docs needed.


Enable linting on yaml syntax files as part of CI

Description of the problem or steps to reproduce
With a cursory glance at the new yaml syntax files I was able to spot a number of syntax inconsistencies and potential errors. I would suggest using a yaml linter as part of the CI process to validate the contents as part of the build. This would be important to accepting new PR changes that modify these files. and ensuring that they get parsed correctly at runtime.

This issue is still relevant, so I think it should be reopened :slightly_smiling_face:
pre-commit could be used to achieve this, among with other things like checking for trailing whitespace and incorrect line endings.

i’m cleaning up my open issues; i tried to carry this to the finish but the PR was never accepted and if someone else wants to do the work; that’s cool but as i don’t use this project anymore so i’m issues i had and were working on for the project.


[SPARK-49621][SQL][TESTS] Remove the flaky EXEC IMMEDIATE STACK OVERFLOW test case

What changes were proposed in this pull request?
This PR aims to remove the flaky EXEC IMMEDIATE STACK OVERFLOW test case.
Why are the changes needed?
To stabilize the CIs. QueryParsingErrorsSuite still has a test coverage for the original PR.
Does this PR introduce any user-facing change?
No, this is a test-only change.
How was this patch tested?
Manual review because this is a test case removal.
Was this patch authored or co-authored using generative AI tooling?
No.

cc @milastdbx , @cloud-fan , @LuciferYang from #45896

Could you review this once more, @cloud-fan ? The test case is removed.

Thank you, @cloud-fan , @yaooqinn , @LuciferYang

For the record, the test passed in CI. In addition, linters passed.
[info] ExecuteImmediateEndToEndSuite:
[info] - SPARK-47033: EXECUTE IMMEDIATE USING does not recognize session variable names (52 milliseconds)
03:12:11.109 WARN org.apache.spark.sql.execution.ExecuteImmediateEndToEndSuite:

===== POSSIBLE THREAD LEAK IN SUITE o.a.s.sql.execution.ExecuteImmediateEndToEndSuite, threads: rpc-boss-844-1 (daemon=true), shuffle-boss-847-1 (daemon=true) =====

Merged to master for Apache Spark 4.0.0-preview2.