Repo hosting servers have inconsistent configuration which breaks some azure vm extensions

Describe the issue
Azure linux AAD extension install broken - but only sometimes, this is due to repo hosting servers have inconsistent configuration. Some return a 403 vs 301 on the same url. This is an nginx config discrepancy  on how it expands url paths
Cut a long story short, azure invokes this script on the vm to install the aad extension
/var/lib/waagent/Microsoft.Azure.ActiveDirectory.AADSSHLoginForLinux-1.0.2203.1/./installer.sh install
Part of this script just a url check (set -x on the script)
+ FILE_EXT=list
+ echo 'deb https://packages.microsoft.com/repos/microsoft-ubuntu-jammy-prod jammy main'
+ check_url_exists https://packages.microsoft.com/repos/microsoft-ubuntu-jammy-prod
++ curl -f -sL -w '%{http_code}\n' -I https://packages.microsoft.com/repos/microsoft-ubuntu-jammy-prod/ -o /dev/nul
+ HTTP_CODE=200
+ '[' 200 == 200 ']'

The critical part is the curl on https://packages.microsoft.com/repos/microsoft-ubuntu-jammy-prod
Some package endpoint ip return a 301 whilst others return a 403. If you get a 403 this mean a failed install. eg

# from a working machine (i am using wget as its output is more concise and shows the ip)

host-working$ wget https://packages.microsoft.com/repos/microsoft-ubuntu-jammy-prod
--2023-01-25 13:57:29--  https://packages.microsoft.com/repos/microsoft-ubuntu-jammy-prod
Resolving packages.microsoft.com (packages.microsoft.com)... <IP_ADDRESS>
Connecting to packages.microsoft.com (packages.microsoft.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://packages.microsoft.com/repos/microsoft-ubuntu-jammy-prod/ [following]
--2023-01-25 13:57:29--  https://packages.microsoft.com/repos/microsoft-ubuntu-jammy-prod/
Reusing existing connection to packages.microsoft.com:443.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘microsoft-ubuntu-jammy-prod’

# broken machine

host-broken# wget https://packages.microsoft.com/repos/microsoft-ubuntu-jammy-prod
--2023-01-25 13:57:41--  https://packages.microsoft.com/repos/microsoft-ubuntu-jammy-prod
Resolving packages.microsoft.com (packages.microsoft.com)... <IP_ADDRESS>
Connecting to packages.microsoft.com (packages.microsoft.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2023-01-25 13:57:42 ERROR 404: Not Found.

# target working ip from above working example but from broken machine

host-broken# curl https://<IP_ADDRESS>/repos/microsoft-ubuntu-jammy-prod -Ik -H "host: packages.microsoft.com"
HTTP/1.1 301 Moved Permanently
Server: nginx/1.18.0 (Ubuntu)
Date: Wed, 25 Jan 2023 14:01:42 GMT
Content-Type: text/html
Content-Length: 178
Location: https://packages.microsoft.com/repos/microsoft-ubuntu-jammy-prod/
Connection: keep-alive
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff

host-working# target broken ip from working machine
$ curl https://<IP_ADDRESS>/repos/microsoft-ubuntu-jammy-prod -Ik -H "host: packages.microsoft.com"
HTTP/1.1 404 Not Found
Server: nginx/1.18.0 (Ubuntu)
Date: Wed, 25 Jan 2023 14:00:35 GMT
Content-Type: text/plain; charset=utf-8
Content-Length: 14
Connection: keep-alive
Strict-Transport-Security: max-age=31536000; includeSubDomains
Strict-Transport-Security: max-age=31536000; includeSubDomains

When did the issue occur?
I 1st saw this issue 24/01/23 @ ~ 1400-1500 UTC, it may well have been there longer though
Steps to Reproduce

Actual Result
hit or miss package install
Expected Result
301 or 200 return code every time and successful package install
Screenshots

NA
Additional context

Thanks for reporting this bug. As noted here, we're performing an infrastructure upgrade. One of the side effects of this upgrade, is the new platform doesn't send 301's for folder URL's missing the trailing slash. Unfortunately, the installer script depends on that. We've reverted our change and are working on a fix to support folder URL's without the trailing slash.


Landing page https://www.scala-sbt.org/ is down

Thanks. I think I broke it when I deleted docs/ directory that Docusaurus wants.

Hopefully this will fix - https://github.com/sbt/website/pull/1234

https://www.scala-sbt.org/ seems to be back.

🙇


Complement is not using a Content-Type of application/json for federation request responses

When running the test Outbound federation can query profile data, Synapse attempts to query for profile information, however the handler returns JSON information with a Content-Type of text/plain; charset=utf-8:
2020-11-04 16:53:11,545 - synapse.http.matrixfederationclient - 190 - WARNING - GET-1 - {GET-O-1} [host.docker.internal] Error reading response GET matrix://host.docker.internal/_matrix/federation/v1/query/profile?user_id=%40user%3Ahost.docker.internal&field=displayname: Failed to send request: RuntimeError: Content-Type not application/json: was 'text/plain; charset=utf-8'

The federation api spec states that responses should use a Content-Type of application/json unless otherwise stated.
Adding w.Header().Set("Content-Type", "application/json") to the request handler function fixes this test. I'm not sure whether we want to manually add this everywhere or we can have this be the default for federation responses.

Do this automatically please. gorilla/mux supports middleware so just do it there e.g https://stackoverflow.com/a/51456342


Support serverTimestampBehavior in cloud_firestore

https://firebase.google.com/docs/reference/swift/firebasefirestore/api/reference/Enums/ServerTimestampBehavior?authuser=1&hl=zh-cn

@collinjackson
This issue has been moved to https://github.com/FirebaseExtended/flutterfire/issues/859. Any further collaboration will be done there.


Some functions are not taken into account

Some functions are not taken into account. This are:

All functions with "HV-" in the Name e.g. "HV-Jugendleiter"
"amtierender Vorstand"
"Ehrenmitglied"
"Fahnenträger"
"Geschäftsstelle Mita"
"Abteilungsehrenvorsitzender"
"Platzwart"
"Hallenwart"

Only "Fahnenträger" and "Geschäftsstelle Mita" are scored with 1 point. "HV-" functions get 2 points. All other functions are not scored.


Feat: Develop a Comprehensive and User-Friendly FAQ Section

Describe the feature
The current website lacks a dedicated FAQ (Frequently Asked Questions) section, which is essential for addressing common user queries and improving the overall user experience.
Add ScreenShots

Expected Outcome:
A structured FAQ section organized into categories (e.g., Account, Services, Payment, etc.) for ease of navigation.
Clear, informative answers to common questions, ensuring users can resolve issues independently.
Mobile-friendly design with collapsible or accordion-style questions to keep the layout clean and readable on all devices.
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@dipexplorer, We don't need this feature right now, but thanks for the suggestion.


TypeScript error: A tuple type element list cannot be empty.

Installed jspdf in package.json, "jspdf": "^2.1.0"
When compiling my project with typescript, I get the following error:

[app-scripts] typescript: .../App/node_modules/jspdf/types/index.d.ts, line: 1334
[app-scripts] A tuple type element list cannot be empty.

Can be fixed by adding "any" before the "[]" type at this position

export interface jsPDFAPI {
  events: any[];   // any[] instead of just []
}

Ah, thanks for the report. Could you prepare a pull request?

See https://github.com/MrRio/jsPDF/pull/2884
Closing this issue


As a purchasing manager, I can decrease the inventory quantity of my items

... so that I can keep my stock updated when I consume items.

Closed by #161


fix subtract with overflow in relative_min_window_density() consensus.rs

Panic with message: Subtract with overflow
at core/src/consensus.rs:78:27
When debug vars:
max_slot: 98879
global_slot + 1: 98880

One last request, once you are done please squash everything into a single commit.

Lint check is failing because of the formatting, you just need to run cargo fmt.


Fix sorting key for Total table header

When clicking the --- Total --- header in the Delta-focused stats table, the table doesn't sort by the completion time.

This is because the sorting key provided when creating the Total header has a different sorting key than the Points header does. Changing the key from "total" to "completion" to match the sorting key of the Points header fixes the sorting.

Oh my that's broken indeed! Thanks for the PR, that helps a ton. I do have some personal stuff going on, so not sure when I'll get to releaseing it (the check + merge is easily done soon, but building and releasing the addon in stores is a bit of manual labor at the moment).


NEBULA FIX

hopefully this will fix the issue with the minswap data. Taptools seems great now though.

this token has 8 decimals, need to divide raw amounts by 1e8. you can test output before submitting (follow readme)

thanks i resubmitted!

Hi @ItsNoah21  @TheTapHouse  I will close this PR and move to new one https://github.com/minswap/market-cap/pull/213


added feature: custome scroll and resizing sidebar (videso/files list)

improved ui/ux
Checklist before requesting a review

[x] I have performed a self-review of my code
[x] I assure there is no similar/duplicate pull request regarding same issue

Before

After
https://github.com/code100x/cms/assets/134690552/435b028a-daea-409d-a6a9-cd969586a52b

Unsure if this is needed atm
Thankyou for the PR


Reason for using Conv3d instead of Conv2d

Hello, first of all thank you for the amazing work and your efforts.
In the model definition in spherical_model.py, I see you are using 3D Convolutions instead of 2D, but I could not see that detail in the paper. Also, according to nn.Conv3d documentation, the kernel size order should be (depth, height, width), where you are using a kernel size of (k, k, 1) in all of the definitions.
I can not quite understand this part, is there anything I am missing? Thanks in advance.
Best,
Mert

I dived in a little more, I guess it's because high_res_patch' has shape [bs, 3, 128, 128, 18].


Modification of the option "language" to "locale"

In the newer versions the option language has been renamed to locale, causing problems when rendering the script. I think that the only thing you have to do to solve this issue is change the key 'language' in your widgets.py for 'locale'. At line 103.
Going from this: self.options['language'] = translation.get_language()
to this: self.options['locale'] = translation.get_language()

Any thoughts on how to fix this issue in a way that's source control friendly until your lovely fix is merged in?

The only way that I found is to do what I did that is in my repository, get
that code :)!
El mar 4, 2016 8:14 PM, "ktel1218"<EMAIL_ADDRESS>escribió:

Any thoughts on how to fix this issue in a way that's source control
friendly until your lovely fix is merged in?
—
Reply to this email directly or view it on GitHub
https://github.com/nkunihiko/django-bootstrap3-datetimepicker/issues/48#issuecomment-192421587
.

could you submit a PR for this?

I already did if I'm not wrong, but I dont think that this plugin is still
being mainatined..
El 19 mar. 2016 22:02, "rhetr"<EMAIL_ADDRESS>escribió:

could you submit a PR for this?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/nkunihiko/django-bootstrap3-datetimepicker/issues/48#issuecomment-198785572

Hello? Is this still on? Why do all django-datetimewidget-whatevers decide to add unnecessary or weird unacceptable stuff to js-library-options all over the place? That is some weird trend, sorry...


In the workflow instance click to stop the operation can not really stop（在工作流实例 点击 停止 操作作业无法真正停止）

I am having a problem now. I have several tasks that I have been unable to submit to yarn. After a while I clicked the Stop button in the Workflow Instance. After I clicked, the status always shows Ready to stop. , but it has not stopped. When I view the task in the 'task instance', state always shows prepare to submit. It seems that the task is not stopped or killed. The following is a screenshot of the task:
**Workflow example: **

**Task instance: **

current version:
1.1.0-preview
Desired result:
Prepare to submit status, committed status and running status can be stopped automatically.

我现在遇到一个问题，我有几个任务一直无法提交到 yarn 上去，我过了一会儿在 工作流实例 那里点击 停止 按钮，我点击完后 状态 一直显示 准备停止，但一直都没有停止，我在 任务实例 那里查看任务的时候， 状态 一直显示 准备提交 ，好像是没有将任务真正停止掉或 kill 掉，以下是任务运行截图：
工作流实例：

任务实例：

当前版本：
1.1.0-preview
期望结果：
准备提交状态、已提交状态 以及 正在运行状态 的任务都可以真正停止掉

stop button is not to stop the currently running task, it will stop the next pending task
目前停止按钮是不会停当前正在运行的任务的，停的是下一个待执行任务

那我该如何停止 准备提交状态 的任务和 已提交状态 的任务呢？

I'm sorry I didn't give you the right information.
now, stop button will kill the job， your situation probably because workerserver not work normally，you can see worker server runtime log to find more information

the same problem with me, when i use default worker group that no problem, but use custom worker group that got the follow problem, hope to solve the problem of positioning

that situation is normal for now.
tasks would not be stop when it is not running.
the stop process would be optimized in the next version.

that situation is normal for now.
tasks would not be stop when it is not running.
the stop process would be optimized in the next version.

sorry, this is not same to @wuchunfu  , i do not click stop button in the Workflow Instance ,i just click the run button with my custom worker group, and dispear that problem
对不起，@boandai , 这个错误和@wuchunfu不一样，我这个没有点击停止按钮操作，我这个是执行运行流程操作，指定了我配置的worker group组，错误就是我上面那3张截图；当我使用默认的worker分组时候就没什么问题，所以我这边怀疑是使用自定义worker分组有问题，我这边3个节点，使用的是esz-1.1.0版本

@lenboo ，please confirm the issue of custom worker group？

@wuchunfu  make sure your server support “pstree“ command

This issue has been opened for a long time，if still not sovled, please reopen it, I will close it temporarily


[interop][SwiftToCxx] do not assert when emitting a public var and fu…

…nction with the same C++ name
Explanation: C++ header generator asserts when sorting a Swift var and a Swift global function when they have the same . This fixes that assertion.
Scope: Swift's and C++ interoperability, Clang importer.
Risk: Low.
Testing: Swift unit tests.
Reviewer: @ravikandhadai

@swift-ci please test

@swift-ci please test source compatibility


Review of schema elements

In #21, I've done a quick tidy up of the schema, trimming a few elements and adding a couple. This was to fix a couple of gaps, remove some elements that aren't used (or just once or twice, and incorrectly), and reduce complexity to allow for more concise documentation to be written.
But longer-term we may want to allow more elements for marking up transcription, so that more details can be recorded in notes, incipits, rubrics, etc. I do not think including the whole transcription module would be a good idea, because it contains elements which only make sense in full transcriptions. Also any additions will require development time to display them correctly on the web sites. Here are some candidates:

handNotes
handShift
mod
redo
restore
secl
space
surplus

Also, the following elements are already in our schema, but not yet used. Should any be removed?

am
authority
cit
district
geogFeat (a child of geogName, which has been used, although incorrectly)
lg
licence
msFrag
msItemStruct (there's no reason to use this over msItem in a new description, but someone might come along with legacy data which uses it)
objectType
orig
projectDesc
reg
relatedItem
scriptDesc
scriptNote
surfaceGrp (for grouping surface element, which have been used, although a lot of the time incorrectly retained when someone re-used someone else's template)
sponsor
typeDesc
zone (child of surface)

Please give feedback on the above, or make other suggestions, and I'll look to update the schema in November/December.

There is a new release which includes the addition of fw and geo.
Otherwise, I haven't added any of the elements suggested in my original post, as there has been no interest expressed. So I'll close this issue now.
@bequessel: You also requested an XML Schema version. I added that (and a DTD) back in October, but I cannot remember whether I informed you at that time. Anyway, these are now up-to-date and available here.

very much appreciated. I ran into some error messages while trying to use the schema files (both rng and xsd) in a validation scenario in Oxygen. Am I missing something?
with xsd:

with rng:

Those error messages look like you pointed Oxygen at, or downloaded from, the GitHub pages for the schema files, not the files themselves.
For example, if you go to https://github.com/bodleian/consolidated-tei-schema/blob/master/alternatives/msdesc.xsd it will display the XSD but you need to click on the "Raw" button. That takes you to https://raw.githubusercontent.com/bodleian/consolidated-tei-schema/master/alternatives/msdesc.xsd which is what you need to use when validating. I've added something to make this clearer in the readme file in the alternatives folder.
If you do download, the XSD is split into multiple files, so you need to download them all.

you were, of course, right.   Validation works a treat now. Thanks again.


Issue while searching record using Eloquent

First of all, thanks a lot for the package. I just love it, it has been really handy to use.
Unfortunately I am having an issue with this. I can't seem to relate to $property->title translation for searching through it.
First I tried with the normal method, since laravel-translatable should work with magic method.
$results = Property::where('title', 'like', '%' . $keywords . '%')->get();
but it gives me the following error:
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'title' in 'where clause' (SQL: select * from 'properties' where 'title' like %comm%)
Then I tried the eloquent relationship search method:
$results = Property::whereHas('property_translations', function($q) use($keywords) { $q->where('title', 'like', '%' . $keywords . '%'); })->get();
But then it gives me an error:
BadMethodCallException in Builder.php line 1992: Call to undefined method Illuminate\Database\Query\Builder::property_translations()
So how does one actually try to query and return a record with this package? Any help would be appreciated. Thanks a lot. :+1:

Try with
$results = Property::whereHas('translations', function($q) use ($keywords) {
    $q->where('title', 'like', '%' . $keywords . '%');
})->get();

Thanks a lot @sdebacker , that seemed to do the trick. So if the related table is whatever_translations, it will be related as just 'translations', am I right? Thanks a lot again :)

Yes it is.

good job but small question here please what if I am searching in multi columns
$results = Property::whereHas('translations', function($q) use ($keywords) {
    $q->where('title', 'like', '%' . $keywords . '%');
    $q->where('details', 'like', '%' . $keywords . '%');
})->get();

I try this but didn't work
$q->where( 'name', 'like', '%' . $keywords . '%' ) OR $q->where( 'details', 'like', '%' . $keywords . '%' );


Issue with KeyError: 'source'

Hello To the Forum,
I am new and not very good in IT or programming things.
But I have an issue with the script of the mouse zoom and following.
I have installed python. It is on version 3.6.8
For that I did first: python -m pip install pynput
Worked well no errors.
Then I did: python -m pip install screeninfo
Worked well too. No errors.
I downloaded the zip file from github and extracted it to my C: folder.
I opened OBS went to scripts. I added "mouse zoom and follow".
When I do that I get a message:
[zoom_and_follow_mouse.py] Source update
[zoom_and_follow_mouse.py] Source Name: Bildschirmaufnahme
[zoom_and_follow_mouse.py] Traceback (most recent call last):
[zoom_and_follow_mouse.py] File "C:/Program Files/obs-zoom-and-follow-master\zoom_and_follow_mouse.py", line 797, in script_save
[zoom_and_follow_mouse.py] hotkey_save_array = obs.obs_hotkey_save(zoom_id_tog)
[zoom_and_follow_mouse.py] TypeError: in method 'obs_hotkey_save', argument 1 of type 'obs_hotkey_id'
[zoom_and_follow_mouse.py] Traceback (most recent call last):
[zoom_and_follow_mouse.py] File "C:/Program Files/obs-zoom-and-follow-master\zoom_and_follow_mouse.py", line 770, in script_load
[zoom_and_follow_mouse.py] [source, source_type] = load_settings['source'].split("||")
[zoom_and_follow_mouse.py] KeyError: 'source'
[zoom_and_fo

llow_mouse.py] Updating Source List
[zoom_and_follow_mouse.py] New source: True
[zoom_and_follow_mouse.py] Updating Monitor List
[zoom_and_follow_mouse.py] Monitor override list updated
[zoom_and_follow_mouse.py] Updating Source List
[zoom_and_follow_mouse.py] New source: True
[zoom_and_follow_mouse.py] Updating Monitor List
[zoom_and_follow_mouse.py] Monitor override list updated
To me it looks good so far.
But when I go to the settings and Hotkeys, I cannot find anything related to the script.
But instead I get an error message and now I don't know what to do:
[zoom_and_follow_mouse.py] Traceback (most recent call last):
[zoom_and_follow_mouse.py] File "C:/Program Files/obs-zoom-and-follow-master\zoom_and_follow_mouse.py", line 797, in script_save
[zoom_and_follow_mouse.py] hotkey_save_array = obs.obs_hotkey_save(zoom_id_tog)
[zoom_and_follow_mouse.py] TypeError: in method 'obs_hotkey_save', argument 1 of type 'obs_hotkey_id'
If it helps, I work with OBS 27.2.4 (64-bit, windows)
When I close OBS it crashes and gives the error message enclosed in the png.
When I reopen OBS, I get this message:
[zoom_and_follow_mouse.py] Traceback (most recent call last):
[zoom_and_follow_mouse.py]   File "C:/Program Files/obs-zoom-and-follow-master\zoom_and_follow_mouse.py", line 770, in script_load
[zoom_and_follow_mouse.py]     [source, source_type] = load_settings['source'].split("||")
[zoom_and_follow_mouse.py] KeyError: 'source'
Does anyone knows what I can do to fix this?
Thank you so much for your help.

Hmm... for now I'm updating the script to catch whenever that error comes up instead of failing outright. Can you update to the most recent version ( should say v.2022.09.21 in the script settings ) and let me know if the issue persists?


⚠ Bofrost.lu has degraded performance

In 547d469, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1276 ms

Resolved: Bofrost.lu performance has improved in 530c088.


Implement deferral for transactions using randomness

I realized there is a logic error with loading deferred tx, put this back on draft until I can fix it

Just double check, tx deferral is not ready to be used yet, right? We need to implement epoch flush first? @mystenmark

Just double check, tx deferral is not ready to be used yet, right? We need to implement epoch flush first? @mystenmark

Discussed with Mark while putting this together and IIUC this PR should include all the end of epoch handling we need. It won't send EndOfPublish until deferred TX are empty.


Doesn't work with rewrite-tag-filter

HI,
This plugin doesn't work with https://github.com/fluent/fluent-plugin-rewrite-tag-filter
Could you please look after it?
fluentd-0.12.3
fluent-plugin-reemit-0.1.0
fluent-plugin-rewrite-tag-filter-1.5.1
Thx

I'm sorry it works


ERROR: 🧓 Deployer contract is not inited yet, please send some TON there and then I can deploy project

When I try to deploy smart contract on testnet, I meet this message, how to solve it?

When I try to deploy smart contract on testnet, I meet this message, how to solve it?

Try to run toncli addrs, from it you'll get an address, where you'll need to send some toncoins and a link to Telegram bot, from whom you can get those toncoins (testnet). After sending coins you'll should be able to deploy a contract.

It's resolved, but got new error.

Please, first deploy contract before interact with it. If you have got this error not in project - please remove wallet from ~/.config/toncli and try to deploy simple wallet one more time.


Add wireguard persistentkeepalive

Added optional PERSISTENTKEEPALIVE var for wireguard client profiles.
Only added when defined in setupVars.conf for unattended installation or when added manually to /etc/pivpn/wireguard/setupVars.conf post server setup to be used during client profile generation.

Thanks a lot!
Can you also please put up a MR to this: https://github.com/pivpn/docs/blob/master/docs/wireguard.md with the documentation about it?

Will do, but let's keep this separate for now to get this option upstream.

I does look good to me, however ill wait for @orazioedoardo to have some time to look at this and provide some input.

Please merge :)


Pre-launch fixups

Covers any last little fixes we need to make for things we find in testing.

[ ] Change election data labels from votedem, voterep, voteoth, to Voted Dem., Voted Rep., Voted Oth. (tentative)
[ ] Add a warning to the page if a user tries to leave without accepting/canceling changes

[ ] On map page, change button text from Approve to Accept for pending changes
[ ] On create map page, change button text from Create Project to Create Map
[ ] On create map page, change header text from New Project to New Map

@jfrankl Proposed change for warning text:

You have unsaved changes on your map. Are you sure you want to leave this page?
Accept or reject changes to save your map.

@tgilcrest I think we can drop the "Are you sure you want to leave this page?" line because that is captured in the heading. I'm thinking:
Leave page?
You have unsaved changes. Accept or reject changes to save your map.

👍


How to set a fixed bucket name？

I have my own bucket and do not need to create a bucket. Just need to call the barrel inside the picture to cut like

You can always upload the function by yourself or (I think) update the BUCKET environment variable of the function after creating it with a script.

Hey @fujinzhou – yep – what @jorrit said. You can just use the provided AWS SAM template and specify your own bucket name within the template. Hope that helps.

just use the provided AWS SAM template

The syntax for the templates is somewhat cryptic...
@fujinzhou Naively I thought this would be as easy as just setting some variable called  image_bucket_name to foo-bucket
The lambda function creates a bucket named using a concatenation of the stack_name and the ImageBucket property and then appends a random string. I've still to figure out where the code or flag for appending the random string is, or maybe that is just the default behaviour of whatever creates the bucket
So if you wanted to make it use a bucket called foo-bucket-RAND_STR, the set stack_name=foo and substitute ImageBucket with Bucket everywhere in image-resize.yml

update the BUCKET environment variable of the function after creating it with a script

That wont work unless you also change a bunch of other config done by the deploy script

I figured it out and it wasn't that hard. I had to do a couple things:

Edit the lambda function's permissions ("Execution roles") for it to be able to write to the existing bucket and also the environment variables
Edit the existing s3 bucket's settings to match the one the repo created

Got most of the clues from https://aws.amazon.com/blogs/compute/resize-images-on-the-fly-with-amazon-s3-aws-lambda-and-amazon-api-gateway/


node number, undefined

node number, undefined
I need to render from a list where it can have multiple node, one inside the other.
I can not know the exact node number, because the client can create multiple nodes.
How to make this automatic, regardless of how many knots, my list process and show the automatic tree

I am not sure I get the question, but if you need auto-numbering of nodes add this plugin to your page (and enable it in your config):
https://github.com/vakata/jstree/blob/master/src/misc.js#L182

Ok, how would you put it together using this plugin?
And what should be the structure of my json?


[Feature Proposal] Add NaN and Inf checking to RL models

As described in #358, It would be relatively simple to add invalid value detection to Stable-Baselines.
Adding CheckNaNTensorFlow to the losses, and use tf.add_check_numerics_ops in the policies, allows invalid value detection and prevents check_numerics from wrapping over evey operation in the graph (tf.add_check_numerics_ops does this by default).
Code example
class CheckNaNTensorFlow:
    def __init__(self):
        self.check_nan_ops = []
        self.old_ops = []

    def __enter__(self):
        # wrap list so we have a copy of the current list, as list are mutable
        self.old_ops = list(tf.get_default_graph().get_operations())

    def __exit__(self):
        for op in tf.get_default_graph().get_operations():
            if not op in self.old_ops:
                try:
                    self.check_nan_ops.append(tf.check_numerics(op, ""))
                except TypeError:  # things like reshape or conditional operations are skipped
                    pass

with CheckNaNTensorFlow() as tf_nan:

    ...   # define the TF graph you want to check here

sess.run([val_1, val_2] + tf_nan.check_nan_ops, td_map)  # add to run

Additional context
This will probably add so overhead, my guess only as much as an if instruction. On CPU branch prediction should not bother too much of the performance, it might however hurt GPU performance significanlty, this needs verifing.

PPO2, CPU, forward and back propagation without invalid value checking:

0.036 +- 0.01 ms

with invalid value checking:

0.036 +- 0.01 ms


chore: event fixup

:tada: This PR is included in version 9.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


[Feature] migrate node

Use case
Hello dear author
I have batch of nodes need to get deleted .(my server provider cuts the services.)
How could I reuse all the assigned ips to my new servers? (delete old nodes , then assign the ips to new servers)
Description

delete old nodes , reuse the ips for new nodes

Contribution

[X] I can write the design doc for this feature
[X] I can contribute this feature

How can it be implemented?
No response

I haven’t tried this personally. But backfillips may work for you. Alternatively you could perform an UPDATE statement on the DB.

How could I reuse all the assigned ips to my new servers? (delete old nodes , then assign the ips to new servers)

I'm not sure if I understand your question in full, please consider carefully.
By default, Headscale assigns IP addresses sequentially. If you currently do not have any holes in your IP address assignment, the following should work (did something similar on 0.22.x):

Delete a node from headscale
There is now a hole somewhere in the middle in your range of assigned IP addresses
Register the "same" node with headscale
The previously removed IP addresses should be picked up by the new node


[docs] Add TS demos for SplitButton in components/buttons

[x] I have followed (at least) the PR section of the contributing guide.

For https://github.com/mui-org/material-ui/issues/14897
I changed the Grid component usage in the demo because of an error in typescript (No overload matches this call) when using `align="center". I took a peek from https://github.com/mui-org/material-ui/pull/15744/commits/eee5762506fe27ea604f6d73d0a93f510e866c06#diff-0c763912c8abc6c58d319fd816c7260dL21-R10 as well for these changes.

@rahmatrhd Much appreciated, thanks!


Swap Section Bug

Describe your bug here.
In the Chart Editor,the Swap Section option doesn't work and instead swap the section above the one selected,
Before :

After :

It's very annoying
Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
no

Why are there notes above it anyway

I have no idea


What is intro_image_absolute used for?

As per subject really - I saw the images moving around when I added or removed text on the left of the intro row, then I noticed the hard-coded widths. After digging into the _sass/components/_intro-image.scss, I saw that this was done on purpose.
Setting intro_image_absolute: false worked well for me, but I'd be interested to know the use case for true.

@antgel setting this to true will make the image use css absolute positioning so that it "breaks out" of the grid.
I agree the naming of this property could be better.


sessions are not maintained

if server is restarted, sessions are not maintained/restarted (maintaining chrome sessions allows user to stay logged in even on server restart)

sessions are maintained on database


jobs: fixed crono job when a repository could not be found

Fixes #720
Signed-off-by: Miquel Sabaté Solà<EMAIL_ADDRESS>

It should probably be backported to the v2.0 branch.

LGTM, I agree with the backporting.

Cherry-picked into v2.0.


Profile or analyze performance

My apologies for the question in this format, but I was not able to locate an answer via the docs or FAQ....
I am wondering how I might be able to profile and/or debug what may be causing slow validation on a portion of our schema?  As a bit of background, we are successfully using ajv to do partial validation at various levels within our schema.  For most circumstances this works exceedingly well (and quickly).  However, there are a few cases where this validation can take much much longer than it does in the general case (general case takes very low ms to complete, problem case taking 3 - 4+ seconds to complete).  Schema is pre-compiled and cached, so that is taken out of the equation.  Problem partial schema is quite large (and deeply nested), so it is not easy to narrow down what may be the culprit.  We are using allErrors: true as we need to know all potential erorrs, - again in most cases this is working quite nicely and very quickly.
Any ideas and insights will be greatly appreciated.  Unfortunately, the overall JSON structure (and hence the required schema) is not something we have control over as we must conform to external spec.
TIA!

Firstly I would make sure that it’s is not schema compilation time.
If you have a large schema it may be easier to profile if you could break it across multiple files and compile with inlineRefs: false (to make sure that each schema file is compiled into a separate function), although because schema function name is always the same (“validate”) you would still need to figure out what’s what.
You could try benchmarking schemas separately and also disabling formats - as they use regular expressions they can be slow on some strings.

going to close it, not sure what else can be done


[SourceKit][CursorInfo] Add a field for the source language the symbol was originally defined in

Resolves rdar://75446903

@swift-ci please test

Build failed
Swift Test Linux Platform
Git Sha - e1a4c5f8463551b5af4e01ebfa98c64d43973d36

@swift-ci please smoke test Linux


Remove Alibaba.Yuque version 2.5.5

URL is 404
Microsoft Reviewers: Open in CodeFlow

@wingetbot run


[Explicit Module Builds] Ensure IRGen uses Swift compiler's target triple when '-clang-target' is set.

The Clang importer's Clang instance may be configured with a different (higher) OS version than the compilation target itself in order to be able to load pre-compiled Clang modules that are aligned with the broader SDK, and match the SDK deployment target against which Swift modules are also built. In this case, we must use the Swift compiler's OS version triple in order to generate the binary as-requested.
This change makes ClangImporter's Implementation keep track of a distinct TargetInfo and CodeGenOpts containers that are meant to be used by clients in IRGen. When -clang-target is not set, they are defined to be copies of the ClangImporter's built-in module-loading Clang instance. When -clang-target is set, they are configured with the Swift compilation's target triple and OS version (but otherwise identical) instead. To distinguish IRGen clients from module loading clients, getModuleAvailabilityTarget is added for module loading clients of ClangImporter.
The notion of using a different triple for loading Clang modules arises for the following reason:

Swift is able to load Swift modules built against a different target triple than the source module that is being compiled. Swift relies on availability annotations on the API within the loaded modules to ensure that compilation for the current target only uses appropriately-available API from its dependencies.
Clang, in contrast, requires that compilation only ever load modules (.pcm) that are precisely aligned to the current source compilation. Because the target triple (OS version, specifically) between Swift source compilation and Swift dependency module compilation may differ, this would otherwise result in builtin multiple copies of the same Clang module, against different OS versions, once for each different triple in the build graph. Instead, with Explicitly-Built Modules, Swift sets a -clang-target argument that ensures that all Clang modules participating in the build are built against the SDK deployment target, matching the Swift modules in the SDK, which allows them to expose a maximally-available API surface as required by potentially-depending Swift modules' target OS version.

For example:
Suppose we are building a source module Foo, targeting macosx10.0, using an SDK with a deployment target of macosx12.0. Swift modules in said SDK will be built for macosx12.0 (as hard-coded in their textual interfaces), meaning they may reference symbols expected to be present in dependency Clang modules at that target OS version.
Suppose the source module Foo depends on Swift module Bar, which then depends on Clang module Baz. 'Bar' must be built targeting macosx12.0 (SDK-matching deployment target is hard-coded into its textual interface). Which means that Bar expects Baz to expose symbols that may only be available when targeting at least macosx12.0. e.g. Baz may have symbols guarded with __MAC_OS_X_VERSION_MIN_REQUIRED >= __MAC_12_0. For this reason, we use -clang-target to ensure Baz is built targeting macosx12.0, and can be loaded by both Foo and Bar.
As a result, we cannot direclty use the Clang instance's target triple here and must check if we need to instead use the triple of the Swift compiler instance.
Resolves rdar://109228963

@swift-ci test

This replaces my original attempt here:
https://github.com/apple/swift/pull/65872
Which was incomplete and I was concerned would cause subtle and hard-to-track mistakes.

Notably, this is largely a non-functional change when -clang-target is not set, which is the case for all implicit module builds today.

@swift-ci smoke test


Consider adding parallel version of C++/WinRT event source

This was raised internally as a way to improve performance. Support for cancellation/timeout is also desirable.

and async I assume... wil::AsyncEventSource is commonly used to mitigate poorly behaved event handlers in cases where async delivery is acceptable.

Moved to https://github.com/microsoft/cppwinrt/issues/361


Feature enhance lex:loc with direct Binding / MVVM

see Sample
that  {lex:loc {Binding Foo}} is now perfect working

@sa-he @Karnah  @SeriousM please add your feedback

What is Binding? I don't know it as wpf is not my area I work with since a long time. Could you explain it to me a bit?

Great! Go for it.

@SeriousM

What is Binding? I don't know it as wpf is not my area I work with since a long time. Could you explain it to me a bit?
Binding is the possibility to connect the view with a property in the viewmodel. I was not aware that you are not working with wpf since a long time. I think than it will be very hard for you to fully get the idea of this tricky solution.
When you stop using wpf. should I stop contacting you about this library?

Well, I thought Binding is a new class in wpf and I wasn't aware that a direct usage of Binding was possible.
I stopped using wpf years ago but I'm still very interested in every change this library gets because it's still a part of my history (I'm subscribed to all of them).
Therefore I'm not the best guy to ask for wpf opinions but about this library which IMHO is not mutual exclusive.

@SeriousM

I wasn't aware that a direct usage of Binding was possible.
This is still not really possible but I implemented this trick that I generate Attached DependencyProperties on the fly and bind the Binding that I only can fetch via the constructor to the DPs to fetch the values.

@sa-he please have a look at the "full" sample. I have also extended the converter so that not only strings can be translated. If this is fine for you please close your PR #173

@konne i see! this is a really neat solution!
BTW, I'm very happy that the project found such a great developer like you!

This is a wonderful change! There are many places in our project where we use LocProxy because LocExt doesn't support bindings!

@Karnah thanks for you improvement idea. Is already integrated. My plan is to add the docu changes and make a preRelease this week. I appreciate your feedback of usage in your project
It would be great if you can make a first test with this branch.

@konne, thanks, we'll try to update on next week

@Karnah @sa-he
preRelease nuget is online 3.7.0-alpha.45.nupkg


Improved tooltip and member doc display and other fixes

Fixes #3849
Fixes #3869
Fixes #3882
Fixes #3977
Fixes #4031

Improves startup time in VS Code via async startup mode
Option not to trim/wrap text in tooltips
Remove line breaks in docs letting host to decide on flow/wrap
Somewhat reworked tooltip and completion member display (less duplication, closer to PEP style)
Added doc extraction for modules

Is there enough test coverage for the documentation changes? Aside from spaces removed around operators, there doesn't seem to be much changed.

Yes, I updated tests. Need to add tests for the new functionality (tooltips and docs for modules, see https://github.com/Microsoft/PTVS/issues/4050).


Microsoft Teams support

I was thinking about adding Microsoft Teams support to your application.
Is that something you want to support or do you think it would be better to create a separate application for this use case?

Sounds like a great improvement!


Feature : Use '.oga' extension for opus (audio only) formats

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like that [x])
Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.04.24. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2016.04.24

Before submitting an issue make sure you have:

[x] At least skimmed through README and most notably FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[ ] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[x] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
$ youtube-dl -v <your command line>
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2016.04.24
[debug] Python version 2.7.11 - Windows-2003Server-5.2.3790-SP2
[debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4
[debug] Proxy map: {}
...
<end of log>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Single video: https://www.youtube.com/watch?v=BaW_jenozKc
Single video: https://youtu.be/BaW_jenozKc
Playlist: https://www.youtube.com/playlist?list=PL4lCao7KL_QFVb7Iudeipvc2BCavECqzc

Description of your issue, suggested solution and other information
Explanation of your issue in arbitrary form goes here. Please make sure the description is worded well enough to be understood. Provide as much context and examples as possible.
If work on your issue required an account credentials please provide them or explain how one can obtain them.

Hi,
Can you use the '.oga' extension for opus (audio only) formats (cf. Ogg container) ?
For example : youtube formats : 249/250/251.

Oups :), I have just noticed that the youtube formats : 249/250/251 audio streams are embeded inside the WebM but not the Ogg container.
Closing this issue.
Sorry :)


enabled change password to work with ticket

This replaces my previous PR #183 as this will replicate nhost v1 functionality but also be a lot simpler.
I modified the /auth/user/password to also work with a ticket, not only when logged in (but can be logged in AND have a ticket, this is fine too). This allows for a reset email to be sent with a ticket, customize the way it is handled (e.g. deep linking into a mobile app), then use that ticket to change a users password and then log in the user.
There are minimal edits, just adapting the already existing /auth/user/password route. Having looked at the nhost-js SDK, I also believe it will need only minor edits to the existing nhost.auth.changePassword function to allow for another optional variable ticket, and this makes that SDK function work both logged in and logged out (assuming you have a valid ticket).
Please let me know your thoughts nhost team (@elitan), if you agree with this approach I can raise another PR to modify the nhost-js SDK.

Maybe we should also place this endpoint under /alpha/users/password for a while to make sure it works as intended in production and people can incrementally adopt it.

@elitan thanks for the review! I just pushed another commit addressing your feedback.
Please note, I adapted the getter function getUserByTicket to return null if the ticket string is empty. This was to handle cases when ticket was not supplied to the request, so it is undefined, but still wanting to handle the getUserByTicket through the function (Typescript).
Regarding your point that it doesn't check for expired tickets. The function actually does here https://github.com/nhost/hasura-auth/blob/856640128e06731b51b23875221e3d77df11b446/src/utils/user/getters.ts#L90 which is how it is used, but the graphql statement you linked to does not. I can link the two, but as I am external contributor I didn't want to mess anything up so left it for now :)

The ticket is not sent to the client after the user clicks the link in the email.
https://github.com/nhost/hasura-auth/blob/856640128e06731b51b23875221e3d77df11b446/src/routes/verify/verify.ts#L103-L107
I assume that you would not use this /verify endpoint? Instead, you'll use the email variable ticket (and either the redirectTo or clientUrl email variable) directly in your password reset email to construct the link?

Could you also add tests? 🙏

The ticket is not sent to the client after the user clicks the link in the email.
https://github.com/nhost/hasura-auth/blob/856640128e06731b51b23875221e3d77df11b446/src/routes/verify/verify.ts#L103-L107
I assume that you would not use this /verify endpoint? Instead, you'll use the email variable ticket (and either the redirectTo or clientUrl email variable) directly in your password reset email to construct the link?

Correct, the verify route is not being used at all. This only adds the option to use a ticket with the nhost.auth.changePassword function to change password, instead of having to be logged in. The email reset flow would then be:

The user enters their email and request their password to be reset on the mobile client through nhost.auth.resetPassword({ email })
The reset password email template returns a deep link that directs the user back into the mobile app including the ticket, e.g. yumee://?ticket={{ticket}}&email={{email}}. You expose "ticket" as a dynamic variable in email templates engine, so this will work.
The mobile app takes that deeplink and the ticket, and then through their own custom UX fires a nhost.auth.changePassword({newPassword: "helloworld", ticket: "email-template-ticket"})
The mobile app can then also automatically log in the user, as we also have the email from the deeplink and the new password.

@plmercereau anything that I can do to help you with your review?

Hello @Svarto, I'll have a look at it today.
In the meantime, would you mind:

adjusting the reset password diagram
adding a commit starting with feat:  with the description of the new feature, so the version bump and the changelog will be automatically generated when we'll publish the next release? See https://github.com/nhost/hasura-auth/blob/main/DEVELOPERS.md#commit-changes

Thanks!

@plmercereau Should all be done now. Also updated the change-password diagram as the PR impacts that workflow as well.

@plmercereau Should all be done now. Also updated the change-password diagram as the PR impacts that workflow as well.

Awesome! I will have a look tomorrow. Many thanks!


Unexpected and different behaviors on Windows and Linux

Hi there,
When I run the following script, it runs successfully on Linux but fails on Windows 10:
import filelock

lock = filelock.FileLock('test.txt')
with lock:
    f = open('test.txt', 'w')
    f.write('hello')
    f.close()

The error on Windows is:
PermissionError: [Errno 13] Permission denied

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "lock.py", line 9, in <module>
    f.close()
PermissionError: [Errno 13] Permission denied

However, if I move f.close() outside of the context manager, the script successfully runs on Windows and Linux:
lock = filelock.FileLock('test.txt')
with lock:
    f = open('test.txt', 'w')
    f.write('hello')
f.close()

Why exactly must the f.close() be placed outside the context manager on Windows, but not on Linux? Is it related to msvcrt.locking()?
I'm using filelock 2.0.7, Windows 10 (x64) and Debian Jessie (x64).

have you tried changing it to a "with - open" (and let python do the closing instead)?  Like:
lock = filelock.FileLock('test.txt')
with lock:
    with open('test.txt', 'w') as f
        f.write('hello')

Not sure if that works here, just an idea..?

Also curious... You are creating a lock to overwrite an existing file (versus 'a')?

That's an interesting suggestion, @suresttexas00
Nesting the context managers also produces the permission error on a Windows machine:
import filelock

lock = filelock.FileLock('test.txt')
with lock:
    with open('test.txt', 'w') as f:
        f.write('hello')

PermissionError: [Errno 13] Permission denied

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "lock.py", line 6, in <module>
    f.write('hello')
PermissionError: [Errno 13] Permission denied

However, it works exactly as expected in Debian Jessie, producing the .txt file and raising no error. I can also confirm that this script raises the PermissionError in Windows Server 2012 R2, so it's not necessarily a problem with only Windows 10.
In my original post I was careful to make sure that test.txt was absent before every time I ran the script. Changing the write mode to a does not produce any change in the results.
This thread is actually the result of me reducing a much larger problem down to the two examples I gave in the original post. My guess is that I am making a bad assumption about how filelock should work, but I do find the inconsistency between Windows and Linux a bit surprising.

I forgot to mention anywhere that I'm using Python 3.5.

Hi,
please take a look at https://github.com/benediktschmitt/py-filelock/issues/9#issuecomment-216296452.
You are probably looking for something like https://pypi.python.org/pypi/fasteners or https://pypi.python.org/pypi/lockfile/0.12.2.

Hi @benediktschmitt ,
Thanks for your response. I think I am beginning to see where the flaw in my reasoning is.
The argument to FileLock in the line lock = filelock.FileLock('test.txt') should not be the name of the file that I want to prevent concurrent access to. Rather, it should be the name of the lock file itself, correct?
In other words, I should be doing something like:
lock = filelock.FileLock('test.txt.lock')
with lock:
    with open('test.txt', 'a') as f
        f.write('hello')

This means that it is my responsibility to write the logic that detects whether a lock file is present. Am I understanding things correctly?
Thanks a lot for your feedback.

Hi @benediktschmitt ,
I worked through the test.py file and now have a good understanding of how py-filelock is supposed to work. Therefore, I will close this issue as a "user error."
Thanks again!

I ran into this same problem in a slightly different way. Different was I wasn't opening the lock file twice:
import os

import filelock

lock = filelock.FileLock('test.txt')
with lock:
    os.write(lock._lock_file_fd, str(os.getpid()).encode())

And I also got a Permission Denied error (on unlock)
  File "C:\Users\andy\src\terra_dsm\.windows\venv\terra_dsm-h3BfiDZJ\lib\site-packages\filelock\_api.py", line 200, in release
    self._release()
  File "C:\Users\andy\src\terra_dsm\.windows\venv\terra_dsm-h3BfiDZJ\lib\site-packages\filelock\_windows.py", line 39, in _release
    msvcrt.locking(fd, msvcrt.LK_UNLCK, 1)
PermissionError: [Errno 13] Permission denied

It turns out, locking in Windows is byte based, and not file based like I would have thought.
py-filelock -> python -> ms docs
States that it is locking "bytes in a file" not a file, and that the file pointer is important (especially since py-filelock only locks one byte)
So in my case, the fix is to:
lock = filelock.FileLock('test.txt')
with lock:
    os.write(lock._lock_file_fd, str(os.getpid()).encode())
    os.lseek(lock._lock_file_fd, 0, 0)
    # Do stuff

So now if something really bad like a segfault happens, the lock file is left behind with the PID number in it (even though I lseeked, although I only verified that on Windows) and my cleanup code can verify that the pid is gone (without the need for a second file).


Add cinder integration tests

This will create a volume and attach it, then clean it up.

Looks like a good place to start.
+1


use rebar to generate release. when start app, i got this error: {"init terminating in do_boot",{'cannot load',elf_format,get_files}}

how to resolve it.

From the elf_format error, i would say you are trying to run platform incompatible binaries, are you running the release in the same machine where you compiled it?

yes, i create and run the release in the same machine.
finally i remove hipe from my machine with {app, hipe, [{incl_cond, exclude}]}, then all work well.


Evilginx not capture username and password while request in json ? why ????

+-----+-----------+----------------+-------------------+---------+------------------+-------------------+
| id  | phishlet  |   username     |     password      | tokens  |    remote ip     |       time        |
+-----+-----------+----------------+-------------------+---------+------------------+-------------------+
| 3   | phislet  |                |                   | none    | <IP_ADDRESS>  | 2020-10-20 09:39  |
| 5   | phislet  |                |                   | none    | <IP_ADDRESS>  | 2020-10-20 09:57  |
| 6   | phislet    |                |                   | none    | <IP_ADDRESS>  | 2020-10-20 10:18  |

Use Burp Suite for check request/response, find json fileds and check regex from phishlet on https://regex101.com/


Docs: Code Snippets Reliability

Here are a few examples where the code snippets behave erratically:

[X] Sometimes code snippets are malformatted (indentation)

https://github.com/FuelLabs/docs-hub/pull/226
https://docs.fuel.network/docs/nightly/fuels-ts/providers/

[X] Sometimes code snippets don't have syntax highlight

https://github.com/FuelLabs/docs-hub/issues/227
https://docs.fuel.network/docs/nightly/fuels-ts/getting-started/#cdn-usage-browser-only

[ ] Sometimes code snippets have "import" comments

https://github.com/FuelLabs/docs-hub/issues/233
#1980
https://docs.fuel.network/docs/nightly/fuels-ts/cookbook/custom-transactions/#custom-transactions

// #import { BN, CoinQuantityLike, ScriptTransactionRequest }

[X] Variables are not getting rendered

https://github.com/FuelLabs/docs-hub/issues/229
https://docs.fuel.network/docs/nightly/fuels-ts/getting-started/#cdn-usage-browser-only

[ ] Button "see code in context" doesn't work on the docs portal

https://github.com/FuelLabs/docs-hub/issues/234

[x] Type imports are not being displays as type imports

#2010

We should probably be considering getting rid of #context tags if possible.

All this points to the nightly version of the docs, currently at 0.77.

Summary

Docs-hub pulls over our raw assets (.md and .test.ts), parses, and builds them.
I've identified probable issues and tested their solutions (see below).
Maintaining two documentations systems seems obsolete to me - I believe we should sunset Vitepress.

Investigation

Sometimes code snippets are malformatted (indentation)
https://docs.fuel.network/docs/nightly/fuels-ts/providers/

Occurs during the fix-indent.ts process on the docs hub. Also appears to be a problem with the rust snippets.
https://docs.fuel.network/docs/nightly/fuels-rs/deploying/configurable-constants/
https://docs.fuel.network/docs/nightly/fuels-rs/predicates/send-spend-predicate/
I believe this is due to regex replacement conflicting. For all projects, languages and coding format.

Simplify and separate this regex replacement by project + language, should alleviate this issue and lead to more predictable results.

Sometimes code snippets don't have syntax highlight

https://docs.fuel.network/docs/nightly/fuels-ts/getting-started/#cdn-usage-browser-only

There is no syntax highlighting configured for html or html-vue in the docs hub.

The code snippet language changed from html-vue to html.
Add html to the highlighter langs in the docs-hub.

Sometimes code snippets have "import" comments

https://docs.fuel.network/docs/nightly/fuels-ts/cookbook/custom-transactions/#custom-transactions

// #import { BN, CoinQuantityLike, ScriptTransactionRequest }

Incorrect #import format. Should be: // #import { BN, CoinQuantityLike, ScriptTransactionRequest };

Additional lint checking within fuels-ts.

Variables are not getting rendered

https://docs.fuel.network/docs/nightly/fuels-ts/getting-started/#cdn-usage-browser-only

Variables not being detected. Potential solution:

Changing equality check to includes on the conditions.

  tsBookVersions: (node: any) => {
    return (
      typeof node.value === 'string' &&
      (node.value.includes('{{fuels}}') ||
        node.value.includes('{{fuelCore}}') ||
        node.value.includes('{{forc}}')
      )
    );
  },

Alter the node value directly before any other manipulation.

  visit(newTree, '', (node: any, idx, parent) => {
    if (conditions.tsBookVersions(node)) {
      node.value = node.value
        .replace('{{fuels}}', versions.FUELS)
        .replace('{{fuelCore}}', versions.FUEL_CORE)
        .replace('{{forc}}', versions.FORC);
    }
    ...
  })

Button "see code in context" doesn't work on the docs portal

I believe this is a feature request within the docs-hub?

Side quest: We should probably be considering getting rid of #context tags if possible.

There are 54 instances of#context, 45+ should be pretty simple. Would be good to get people's ideas on the import, as I can't see a way to do it currently.
https://github.com/FuelLabs/fuels-ts/blob/master/apps/demo-typegen/src/demo.test.ts#L79

Great job! Can't we close the issue as completed? 🙂
You did everything and created issues on the docs-hub repo for the remaining items.


Add legal terms to glossary

⚠ IMPORTANT ⚠: This is a public repository. Make sure to not disclose:

[x] personal data beyond what is necessary for interacting with this Pull Request;
[x] business confidential information, such as customer names.

Quality gates:

[x] I'm aware of the Contributor Guide and did my best to follow the guidelines.
[x] I'm aware of the Glossary and did my best to use those terms.

We decided to add some frequently-used legal terms to the Compliant Kubernetes glossary.

LGTM! Just one question, is it correct that both critical and essential entities provide "essential services" to society or was it a typo where critical entities actually provide critical services to society and essential entities provide Essen services?

@simonekman Weird, right? But the term "essential service" is actually defined in CER:

‘essential service’ means a service which is crucial for the maintenance of vital societal functions, economic activities, public health and safety, or the environment;

@llarsson Given that this is a glossary, I felt it should read more like a "dictionary" than an "encyclopedia", so I shortened your text a bit. I also clarified that all entities identified as critical under CER are considered essential under NIS2.
Let me know what you think.


Regression in FirstRecompileTime windows_chrome_dev_mode

https://flutter-flutter-perf2.skia.org/e/?begin=1611963981&end=1612323964&keys=X76d10fc0cc553eb4438258df9a1b8ff6&requestType=0&xbaroffset=22469.

/cc @ferhatb @yjbanov

Reducing to P3 as the regression is not severe enough to warrant a P0. I can't find anything in the code around the time the regress begins that could have caused it. Could it be an infra change? /cc @jonahwilliams

No idea, haven't touched this recently

The number went up since an engine roll: https://github.com/flutter/flutter/pull/75234. The engine commit flutter/engine#24125 might be the cause?

Adding engine tag to look at referenced roll.

I don't believe this actionable any more, since we've lost the context around this change.


Make Ticket / TicketMessage optional

If developers choose to use Model interfaces, they are currently stuck with using having the original tables existing.

To do that I think that you should revert my pull request and make the two entities abstract.
If you agree I can make a new pull request with this edit

I was thinking something like only loading them in DI if they are set in the config.
If they were abstract then no one would be able to keep using them.

To do that, I think I'll have to convert the annotations to xml

Works perfectly except for the small problem that I can't access any parameters or config when building a compiler pass.
https://github.com/hackzilla/TicketBundle/blob/feature/%2363/HackzillaTicketBundle.php

I might be able to do this by extending Doctrine's compiler pass.  I will know more tonight.

You can also think to add a BC break in the v 3 branch
you make the two entities as abstract; If someone wants to use your entities has to simply extend them, like FOS User Bundle does http://symfony.com/doc/current/bundles/FOSUserBundle/index.html#step-3-create-your-user-class

Now available in develop

Hi,
I saw the commit, when I have time I will try :)
I have only a doubt:
with this change, if I want to have my custom Entities I have to implement interfaces and create the mapping for every field.
Let's think if I only need to add a field, The abstract class would give me the possibility to extend them and adding only what I need... instead with this change I have to rewrite everything, I understand it right?
I think this is less comfortable.
but anyway, great job :)

At the moment, a developer could use the existing entities untouched, or reimplement them as they see fit and implementing the interfaces.
If you want to just add a field then there is a work around, by coping the entities and adding to that.
app/console doctrine:mapping:convert --filter "TicketBundle" annotation src/
mkdir -p /src/AppBundle/Entity/
mv /src/Hackzilla/Bundle/TicketBundle/Entity/* /src/AppBundle/Entity/

Don't forget to change the namespace at the top of each entity.
namespace AppBundle\Entity

You will end up with the entities with the annotations in /src/AppBundle/Entity/.
and if you change them to  extends /Hackzilla/Bundle/TicketBundle/Entity/Ticket.
That should get you the same effect as having the entities effectively abstract.

I did toy with the idea of keeping the original entities around so they could be copied, but I didn't want there to be another item to maintain.


There is no such driver by url

Starting the Kukajto Downloader produces this error:
C:\Windows\System32>"C:\Program Files (x86)\Kukajto Downloader\kukajto-downloader.exe"
Traceback (most recent call last):
File "main.py", line 1, in
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in load_unlocked
File "PyInstaller\loader\pyimod03_importers.py", line 495, in exec_module
File "src\kukajto_downloader\web_init.py", line 1, in
File "", line 1027, in _find_and_load
File "", line 1006, in find_and_load_unlocked
File "", line 688, in load_unlocked
File "PyInstaller\loader\pyimod03_importers.py", line 495, in exec_module
File "src\kukajto_downloader\web_main.py", line 27, in
File "src\kukajto_downloader\web_main.py", line 20, in create_driver
File "webdriver_manager\chrome.py", line 39, in install
File "webdriver_manager\core\manager.py", line 30, in _get_driver_path
File "webdriver_manager\core\download_manager.py", line 28, in download_file
File "webdriver_manager\core\http.py", line 33, in get
File "webdriver_manager\core\http.py", line 16, in validate_response
ValueError: There is no such driver by url https://chromedriver.storage.googleapis.com/127.0.6533/chromedriver_win32.zip
[6040] Failed to execute script 'main' due to unhandled exception!

Yes, the current version of the exe is broken due to a change in the Chrome api that webdriver_manager doesn't expect. But you should still be able to use the pip version:

pip install kukajto-downloader
install webdriver manually (see https://pypi.org/project/selenium, section Drivers)
kukajto-downloader


Sram program integrity

WIP see #18635
Tasks:

[x] create crt to setup stack pointer and global pointer
[x] add support for loading ELF files directly
[x] check integrity in crt
[x] modify opentitanlib to compute crt

Left to another PR:

have the loader read back a tiny bit of the program (the sram start) to make sure that the code CRC'ing the everything else is not corrupted.

@cfrantz Could you have a look at the rv_alias rule that I have defined? Some kind of transition is necessary here because opentitan_ram_binary and opentitan_functest are macros and not rules.
I feel like a more correct fix would probably be to update opentian_binary to always use rv_alias to create a (documented)  <name>_elf target. At the moment the code is relying on the undocumented existence of <name>.elf anyway. What do you think?

Overall this mostly looks good, but I think it could be split up into several PRs to make it much easier to review. Specifically, you might split it up as follows:

one PR that updates the SRAM program loading infra in opentitanlib to use the new SRAM CRT mechanism,
one PR that updates opentitanlib to be able to load an ELF file intro SRAM (in addition to the VMEM loading capabilities)
one PR that switches existing tests from loading VMEMs to loading ELFs into SRAM
one PR that adds the CRC integrity check mechanism.

I have split this into #18933 and #18937. Due to Github's lack of PR on PR, I don't plan on touching the second PR and this PR until the first is merged, since any update is essentially a lot of maintenance to update the PR and re-push them.

#18635 mentioned that we need some mechanism against corruptions in CRC code itself (e.g. flipping bgeu to bltu)?

#18635 mentioned that we need some mechanism against corruptions in CRC code itself (e.g. flipping bgeu to bltu)?

As discussed in #18635, the initial implementation will not contain a mechanism against this. I think the best solution is to have the ELF loader write-then-verify the CRC code itself (it is tiny, so this will not impact the loading time). It could be a special section so that the loader knows it should verify that one. Alternatively, we could just harden some important checks by doing them twice (it is then incredibly unlikely that two bitflips at exactly the right place would happen).

There was a strange failure with the CW305 bitstream in CI. I have rebased on master to see if that helps.

I updated the test to add an entry to the testplan, and split the test using two execute_test!.

Maybe we can wait until #18939 goes it since both modify the Jtag trait to add registers.


Can not "Rollback release" & "Cancel release"

Can not use "Rollback release" & "Cancel release".

Environment:
Redmine version                3.0.5.stable
Ruby version                   1.9.3-p551 (2014-11-13) [x86_64-linux]
Rails version                  4.2.3
Environment                    production
Database adapter               Mysql2

Hi, i'm sorry, i didn't see the function in the bottom.
Sorry for disturb.
:)

@hello2jack Hi, no worries! I'm closing the issue.


rust-syntax-propertize assumes text already has the properties it is responsible for placing

The rust-syntax-propertize function is responsible for setting syntax-table text properties on a given region of text. However, it fails to do its job properly, because it uses syntax-ppss, which assumes that syntax-table properties have already been set.
The syntax-ppss function distributed with Emacs calls syntax-propertize-function to place syntax-table properties as needed, so that when rust-match-angle-brackets is enabled, parse-partial-sexp can distinguish between < and > characters surrounding generic parameters and those that are comparison operators or -> or => tokens. When they enclose generic parameters, syntax-ppss treats < and > tokens as opening and closing "parentheses", in the sense used by Emacs syntax table code.
However, in rust-mode buffers, syntax-propertize-function is rust-syntax-propertize, which ends up calling syntax-ppss itself. Unbounded recursion is prevented by syntax-propertize temporarily binding syntax-propertize--done to most-positive-fixnum, but this also means that the propertization doesn't get done.
I don't understand exactly how this happens yet, but I have verified that parse-partial-sexp is being called from rust-syntax-propertize on regions of text whose -> tokens have not been marked with syntax-table text properties.

I forgot to mention the symptom: after using fill-paragraph on a comment, indentation is incorrect: hitting TAB on a top-level comment line results in a ten-space indentation, when it should be zero. This is because syntax-ppss is returning garbage results for this location (a paren nesting depth of -44, for example).

This bug is hard to trigger because it depends on rust-macro-scope first polluting the syntax-ppss-wide cache with incorrect information, which it will only do if the position that syntax-ppss is asked to analyze is at least syntax-ppss-max-span characters past the last position requested. The decision to populate syntax-ppss-wide also depends on whether the new position is more than twice the average length of all the scans performed by syntax-begin-function so far in this Emacs session. (The code in syntax.el seems quite overconfident.)


FALCON-2338 EntityGraphTest.initConfigStore fails intermittently

The error occurs only when the MetadataMappingServiceTest testsuite runs before the testcase mentioned above. This test suite creates a file in target folder 'target/store/PROCESS/sample-process.xml' which isn't deleted post the test.
The change proposed in this pull request deletes the files and the tests in EntityGraphTest suite passed.
@pallavi-rao could you please check this? thanks!

The test failures seen are not related to the changes applied by the patch.

@pallavi-rao any update on this PR and FALCON-2338 ?


Process included modules when parsing ContributesAndroidInjector modules

ReflectiveModuleParser only takes into account the modules directly specified in ContributesAndroidInjector annotation and ignores included modules.
Solution: go through the modules recursively and collect all included modules ignoring the duplicates to avoid duplicate bindings.

Hmm we have this code more than once now. It feels like the responsibility to do this should be centralized somewhere rather than requiring everyone to do it themselves. I'll take a closer look soon.

I've reworked this in #152 to share the logic with the other code which handles modules.


Copy tooltips cutoff, not copying

There are lots of things in the Account and Transaction details screens that pop up a "Copy" tooltip on hover.

The copy-on-click doesn't actually seem to copy anything to clipboard; Firefox 76 and Chrome 81, macOS
The tooltip gets cutoff by some content frames:

@CriesofCarrots I'm unable to repro the broken copy-on-click issue. I'm also on macOS and the same firefox/chrome versions

@CriesofCarrots I just found out that clipboard support isn't enabled on http, https is required. I think that's probably what you were running into

I just found out that clipboard support isn't enabled on http, https is required.
Wow, good detective work @jstarry , thanks for following up! I wonder how I ended up on http; I'll keep an eye on all our links into the explorer.


DO NOT MERGE - Placeholder for rake task test_dev_install

The remote branch test-dev-install was recently deleted accidentally.  This pull request is simply a placeholder to try to ensure that does not happen again.

Codecov Report

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

@@          Coverage Diff          @@
##           master   #804   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          45     45
  Lines        1427   1427
=====================================
  Hits         1427   1427

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 14508b1...60ac3cc. Read the comment docs.


How to force the app to show a double page image with 2 separate pages

Question
A lot of manga series has double page but the problem is that the downloaded file contain 2 separate images (i.e. page 5 and page 6 are 2 separate image files but when shown side by side they create one big scene).
Is there any way I can do to make the app recognize that it is supposed to show 2 images together? by naming them in a certain way perhaps?

There isnt any way to do this currently (individually), you can only choose between 1 page per row or 2 page per row and it will be applied to whole manga (i.e. pages will show up in pair, 1-2, 3-4, 5-6) but if a page with double width is detected it will be shown alone.

There isnt any way to do this currently (individually), you can only choose between 1 page per row or 2 page per row and it will be applied to whole manga (i.e. pages will show up in pair, 1-2, 3-4, 5-6) but if a page with double width is detected it will be shown alone.

I see it's unfortunate. Guess I have to find a way to join to pages into 1

But I cant imagine the use case. If you are comfortable with 2 pages per row, shouldn't you be using it for whole manga?
If you really want to just view few pages like that, you can use the shortcut keys to switch between 1-page/row and 2-pages/row. By default its set to 1,2,3 on keyboard and can be changed in settings. Its quick and keeps the same page on screen.

So I was thinking if I could some how rename the page to something like ( 015,016-1 and 015,016-2 ) and the app will know to display 2 page together while reading in vertical scroll mode.

Wont renaming be equally time consuming as merging pages? You will have to go to pages and rename and open in Yomikiru again.
If you are having to merge/rename then anyways, why not just "temporarily" switch to "2 page per row" mode for that single page?
You can switch between 1page and 2page simply by clicking 1 and 2 on keyboard. This feature is not related to reading mode (i.e. vertical, LRT, RTL).
This is what I use when I am in same condition as you described. It is faster than renaming or doing multiple clicks to merge page in-app (is there was such feature).
Maybe I didn't get what you mean?
Don't hesitate to comment even if the issue if closed, it can be reopened anytime if given proper reason.

So I was thinking if I could some how rename the page to something like ( 015,016-1 and 015,016-2 ) and the app will know to display 2 page together while reading in vertical scroll mode.

Wont renaming be equally time consuming as merging pages? You will have to go to pages and rename and open in Yomikiru again.
If you are having to merge/rename then anyways, why not just "temporarily" switch to "2 page per row" mode for that single page? You can switch between 1page and 2page simply by clicking 1 and 2 on keyboard. This feature is not related to reading mode (i.e. vertical, LRT, RTL). This is what I use when I am in same condition as you described. It is faster than renaming or doing multiple clicks to merge page in-app (is there was such feature).
Maybe I didn't get what you mean?
Don't hesitate to comment even if the issue if closed, it can be reopened anytime if given proper reason.

Renaming is quick and takes no time at all. Usually manga downloaded is in .CBZ format, I can open it with 7zip, rename the image file and that's done, take no effort at all. But if I have to merge the 2 images together, I have to unzip the CBZ file, then find a tool to merge the file, make sure the output setting is correct, then execute the command, then download the file, then put it into the correct folder, then rename the file, then zip everything back, change the .zip extension back to .cbz. Imagine doing that for series with 30~70 volumes.
As for the solution to "temporary" switch reading mode with 1,2,3 keys, it's just a band aid solution. Usually I (and I imagine most users do too) read manga in full screen (zen mode) no cursor, I'm eating chips with my left hand, while my right hand scroll the mouse wheel, while leaning back on the chair. It's a hassle to have to sit back up, reach for the another key to change the reading mode back and forth.
The best thing about your app is that it offer the best User Experience. everything is quick and seamless and convenient, it does what users want the most and that is reading manga in the most comfortable way. The lack of beautiful UI is more than made up by its usability.
This is just my grip. I'm satisfied with the app as it is (believe me I have tried a lot of other apps on PC and your app is best) but I gives me suggestion for consideration hoping the app will continue to get better.


fix(FN-2172): Fix UI with upload error

Introduction :pencil2:
When we had an unknown file upload error we didn't pass in dueReportDates to the nunjucks template so displayed the No Reports Due
Resolution :heavy_check_mark:

Pass due report dates to nunjucks template when we have an unknown file upload error
Added an e2e test assertion for this
Added more testing around file upload errors

Codecov Report
Attention: 316 lines in your changes are missing coverage. Please review.

Comparison is base (fbe7ec4) 22.57% compared to head (ef081d0) 27.52%.
Report is 12 commits behind head on main.

Files
Patch %
Lines

...ervice/put-utilisation-report-status.controller.ts
0.00%
38 Missing and 3 partials :warning:

...rt-service/upload-utilisation-report.controller.js
0.00%
30 Missing and 5 partials :warning:

dtfs-central-api/src/drivers/db-client.ts
37.50%
11 Missing and 4 partials :warning:

...al-api/src/v1/routes/utilisation-reports-routes.js
0.00%
14 Missing :warning:

...port-service/get-utilisation-reports.controller.ts
0.00%
13 Missing :warning:

...eport-service/get-utilisation-report.controller.js
0.00%
11 Missing and 1 partial :warning:

...rs/tfm/amendments/tfm-get-amendments.controller.js
0.00%
10 Missing :warning:

...pi/src/v1/controllers/bank/get-banks.controller.js
0.00%
8 Missing :warning:

dtfs-central-api/src/v1/routes/bank-routes.js
0.00%
8 Missing :warning:

...c/v1/controllers/tfm/users/tfm-users.controller.js
0.00%
7 Missing :warning:

... and 77 more

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2751      +/-   ##
==========================================
+ Coverage   22.57%   27.52%   +4.95%
==========================================
  Files        1136     1291     +155
  Lines       27255    29899    +2644
  Branches     4486     4878     +392
==========================================
+ Hits         6153     8230    +2077
- Misses      18388    18854     +466
- Partials     2714     2815     +101

Flag
Coverage Δ

api-test
0.48% <0.00%> (ø)

ui-test
65.27% <ø> (-0.39%)
:arrow_down:

unit-test
10.37% <53.36%> (+5.73%)
:arrow_up:

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

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


[bug]: Disabling a LoRA in the Linear UI does not disable the LoRA

Is there an existing issue for this problem?

[X] I have searched the existing issues

Operating system
macOS
GPU vendor
Apple Silicon (MPS)
GPU model
M3 base 10 GPU revision
GPU VRAM
24
Version number
v3.6.3rc1
Browser
Safari 17.2.1
Python dependencies
{
"accelerate": "0.26.1",
"compel": "2.0.2",
"cuda": null,
"diffusers": "0.26.2",
"numpy": "1.26.4",
"opencv": "<IP_ADDRESS>",
"onnx": "1.15.0",
"pillow": "10.0.1",
"python": "3.10.13",
"torch": "2.1.2",
"torchvision": "0.16.2",
"transformers": "4.37.2",
"xformers": null
}
What happened
I generated a image using the LCM LoRA , LCM scheduler, steps 6, CFG 1.5 which generated as expected.
I then disabled the LoRA using the toggle switch, changed the scheduler to UniPCand Invoked with Steps 40, CFG 8.
I got an image that had the classic over the top burn filter or very , very over sharpened effect you
get from using too high a CFG with an LCM model or LCM LoRA.
Checked the Setting and the LoRA was disabled, but the image metadata had
LoRA: lcm-lora-sdxl - 0.75

in it.
I had to remove the LoRA using the bin icon to get the image to render correctly.
What you expected to happen
I expected the second image to redner correctly without using the disabled LoRA,
How to reproduce the problem
Generated a image using the LCM LoRA , LCM scheduler, steps 6, CFG 1.5.
Go to the Concepts tab, use the toggle to disable the LoRA
Set the scheduler to UniPC, steps to 40, CFG to 8.
Invoke the image to get the bad image.
Additional context
In case in matters I was using the Proteus v0.2 model.
Discord username
No response

This was fixed in https://github.com/invoke-ai/InvokeAI/pull/5684 and will be in the next release


style(scully): Change logging to increase clarity

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/scullyio/scully/blob/main/CONTRIBUTING.md#commit
[x] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[x] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Other... Please describe:

What is the current behavior?
Displays a message which does not work if "scully": "npx scully" is not part of package.json.
Issue Number: N/A
What is the new behavior?
Now the command works for all cases
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

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


Looking for a group of words

Hi,
In neo vim, if I enter :Rg and put for pattern something like foo bar, I'll get the files containing foo bar.
My issue, but maybe I do the wrong syntax, is when I enter :Rg "foo bar" then I can see at the bottom of neo vim a message Searching... that will never disappear. And I get no result.
Is this an issue, or should I use another syntax?
Thanks.

This has been fixed. :Rg "foo bar" now uses the default directory as expected. Thanks!


Latest @guardian/eslint-config-typescript is broken

Describe the bug
When using the latest<EMAIL_ADDRESS>eslint throws this error when extending

I think the issue is that for some reason the build process is putting files in the wrong folder. This is what the folder structure looks like in v1.0.9

But the .eslintrc.json ends up in a nested folder in v1.0.10

To Reproduce
Steps to reproduce the behavior:

Run npm i --save-dev @guardian/ eslint-config-typescript
Add "extends": "@guardian/ eslint-config-typescript" to your .eslintrc.json file
Run eslint

fixed by #105


Deployment fails with 0.2.0

Deployment fails with:
Error:
Failed to deploy script:
Execution reverted: EvmError: Revert (gas: 148220)

After running:
DEPLOYMENT_CONTEXT=localhost forge script deploy/Deploy.s.sol --rpc-url http://<IP_ADDRESS>:8545 --broadcast --private-key ac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 -v && forge-deploy sync;
Using default anvil private-key.
Generated deployer script:
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.13;

import "forge-deploy/DeployScript.sol";
import "../build/deployer/DeployerFunctions.g.sol";

contract Deployments is DeployScript {
    using DeployerFunctions for Deployer;

    function deploy() external returns (Counter) {
        return deployer.deploy_Counter("Counter");
    }
}

Hi @wighawag
I just used the output params for gen-deployer:
"gen-deployer": "yarn forge-deploy gen-deployer --output ./build --sources ./contracts/src",

ok, make sense can't really see anything wrong with what you posted.
if you could isolate the issue in a separate repo that would great, else maybe send the verbose output to have more info where it fails
if you look at the generated deploy function it is quite simple, maybe try to isolate some code to see what fails

Thanks for that
the issue is that for now, forge-deploy assume the out folder is in ./out
so if you remove out = 'build/out' from foundry.toml it works

Hi @wighawag
Thanks for taking a look, I actually managed to make things work with the build folder in place.
I was curious reading your reply and kept poking around, the solution was adding read rights to the correct folder:
# replace this
{ access = "read", path = "./out"},

# with this
{ access = "read", path = "./build/out"},

It was misconfigured for my setup but the forge error was a little opaque.
Thanks for your help!

Just thought I'd add that the last step to get sync working was to direct the sync at the correct location for aritfacts.
In my case:
forge-deploy sync --artifacts ./build/out


Stop preloading the HLS video before start playing

When I used the HLS video, the complete video was loaded before clicking the play button.
Can you help me by implementing this feature?

I want to limit the preloading video before the user initiates the play
When playing, can we limit the preloaded video duration to 30 seconds or 1 minute upfront instead of loading the complete video as Video.js is doing?

If it is already available please guide me to implement it.

Hey @abdullaanasanu!

I want to limit the preloading video before the user initiates the play

By default, the media will only load at the moment when it's visible on screen. You can configure when media is loaded by specifying a load strategy. You can opt to use the custom load strategy for more control.
Side note, we have an new load option coming in the next release called play which will only load the provider and media on play. You can still achieve this today using the custom strategy mentioned above and calling start load in the onPlay callback.

When playing, can we limit the preloaded video duration to 30 seconds or 1 minute upfront instead of loading the complete video as Video.js is doing?

I'm not sure which framework you're using but you need to configure HLS. Specifically the strangely named maxMaxBufferLength option:
import {
  isHLSProvider,
  type MediaProviderAdapter,
  type MediaProviderChangeEvent,
} from '@vidstack/react';

function onProviderChange(
  provider: MediaProviderAdapter | null,
  nativeEvent: MediaProviderChangeEvent,
) {
  if (isHLSProvider(provider)) {
    provider.config = {
      // Limit loading ahead to 30 seconds, this may affect playback experience.
      maxMaxBufferLength: 30,
    };
  }
}

<MediaPlayer onProviderChange={onProviderChange} />


Add example for prefix matching

I'm new to Go and I'm currently writing a basic API using the way router. I have a use case where I need to use a prefix match to have the router handle a path with many possible sub directories. In your examples, retrieving a param from the context is well shown, but there isn't an example of how to get the matched path when using say {/images...}. How would I go about getting the full path in the handler, for example /images/sub/dir/foo?bar.
I'm thinking that I could access the path from the actual request object?
https://github.com/matryer/way/blob/9632d0c407b008073d19d0c4da1e0fc3e9477508/way.go#L62

Pulling that path from the request object is exactly what I was after. 😄 Noob question.
log.Println(r.URL.Path)


Language translator using Google translate API

In this project the text entered in the message box is translated to the specified language by the user , here API used is Google translate API

Hey @Harikaraja this project is already present in the repo

ok mam , can i enhance if possible
On Wed, Jan 25, 2023 at 7:57 AM Vanshita Mathur @.***>
wrote:

Hey @Harikaraja https://github.com/Harikaraja this project is already
present in the repo
—
Reply to this email directly, view it on GitHub
https://github.com/TusharKesarwani/Front-End-Projects/issues/442#issuecomment-1403011166,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATCQWHWBI6G3K7BEYJYXTPTWUCFQDANCNFSM6AAAAAAUFMLLEU
.
You are receiving this because you were mentioned.Message ID:
@.***>

Yes u can do that. Create an issue for that or change the title of this issue for the feature/changes you want to make in the project

Hi @Harikaraja I suggest you create a fresh issue stating all the enhancements you need to make in the above said project you're looking forward to work on. I'm closing this one for now!


Error every time I start Cairo (i.e. every time I boot)

Describe the bug
A clear and concise description of what the bug is.
I use Windows in Spanish language and I have Cairo in Portuguese because it is the closest language that I can have. But every time I start Cairo I see this annoying notification
"Problema al iniciar C:\Program
No se puede encontrar el módulo espeficado"
It translates to
"Problem upon opening "C:\Program
Cannot find the specified module."
What is going on? I created a folder C:/Program but the the issue persists

Steps to reproduce

Turn on Cairo
Error pops up

Expected behavior
A clear and concise description of what you expected to happen.
Cairo starts smoothly without this error
System information:

Windows version: Windows 7
Cairo version: 0.3.6723.0
64-bit:
In Cairo Settings > Advanced, is Cairo set as shell?: Yes

Additional context
Add any other context about the problem here.
Screenshots
If applicable, add screenshots to help explain your problem.

It is not related to Cairo, problem solved.


chore: some minor DX improvements

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
playground: don't panic when PREFIX_BIN is not set.
risedev: add command hint for user-managed fe/meta

🐳


npm ERR! 404 Not Found

Hi! I just tried your plugin and got this error:
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@enkeldigital%2Ffirebase-authentication - Not found
npm ERR! 404
npm ERR! 404  '@enkeldigital/firebase-authentication@latest' is not in the npm registry.

Hey! Can you describe how you got the error?
Im guessing it is an installation issue? Could you try installing with the following steps?
npm install @enkeldigital/firebase-authentication
npm install create-express-auth-middleware

@Molnfront all good?

Hi, I used your other npm package and that worked without a problem! --Sent from Yandex.Mail for mobile20.03.2022, 16:41, "Jaime" @.***>:
@Molnfront all good?
—Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you were mentioned.Message ID: @.***>

@Molnfront good to hear! Do look out for a new update soon as that package will also be updated soon.
Am trying to consolidate all the packages so that it is easier to use in the future. The primary reason for the update is to support other authentication services other than firebase, such as Auth0 and Okta, while using the same library and same API!


Fix happy path test by adaption to Che Operator changes

What does this PR do?
Fix happy path test by adaption to Che Operator changes
Che Operator stops providing ready to use templates
after upgrading to Operator SDK 1.x
So, we just stop providing templates for chectl which does not make
sense since we use next chectl which should have the latest changes
.
What issues does this PR fix or reference?
Is it tested? How?

PR Checklist

[ ] E2E tests pass (when PR is ready, comment /test v7-devworkspaces-operator-e2e, v7-devworkspace-happy-path to trigger)

[ ] v7-devworkspaces-operator-e2e: DevWorkspace e2e test
[ ] v7-devworkspace-happy-path: DevWorkspace e2e test

/test v7-devworkspaces-operator-e2e, v7-devworkspace-happy-path

/test v7-devworkspaces-operator-e2e

/test v7-devworkspaces-operator-e2e

/test v7-devworkspaces-operator-e2e, v7-devworkspace-happy-path


Add support for anonymous inner maps

Add support for parsing BTF map data that contains anonymous inner maps.

coverage: 95.613% (+0.04%) from 95.569%
when pulling a7d4e9aa39b281e5b43f9291a2c3523e6b69bad2 on fix_anonymous_map_in_map
into f5fab5a0b36869c104fa45a6ffb6c87295a22888 on main.


Updating libraries

Please update the dependencies for compatibility with Flutter 2.0.
Because rate_my_app 0.7.2 depends on shared_preferences >=0.5.7 <2.0.0 and no versions of rate_my_app match >0.7.2 <0.8.0, rate_my_app ^0.7.2 requires shared_preferences >=0.5.7 <2.0.0.
So, because bsoft_docs depends on both shared_preferences ^2.0.3 and rate_my_app ^0.7.2, version solving failed.
pub get failed (1; So, because bsoft_docs depends on both shared_preferences ^2.0.3 and rate_my_app ^0.7.2, version solving failed.)

I will do it this week-end.