Restrict access to endpoints

🙅

To implement in our Mobile Commons mData's and enable us to deploy #586 , Travis enabled a hidden Mobile Commons setting for us that displays a checkbox on the mData settings form to "Use Advanced Request Builder", which allows us to send Custom request headers in a POST request.
He ran an update query on all active mData's with our Heroku URL in it (176 updated), setting our  x-gambit-api-key in the Custom request headers.
If we ever need to change the API key we send, we'll need to have them bulk update our mData Custom Request Headers (or manually edit every active mData 🐌 )


Add additional methods to submit comments or issues

The guidance presents two options on the right sidebar: "Edit this page" and "Report an issue". Both methods present the user with a "Sign in to GitHub" dialog. This may prevent users without a GitHub account from submitting comments.
Consider adding other methods for submitting comments or issues. Perhaps:

Edit this page
Report an issue in GitHub
Report an issue or submit a comment (via email)

The guidance may be used by a broad audience including FWS staff without a GitHub account and non-FWS staff who may, or may not have a GitHub account. Expanding the options for submitting comments will allow input to be received from a broader aaudience.

Replaced the right sidebar options with a single choice to use the new Feedback Form. This should simplify the options for people and not confuse the casual (non-Github) users.
The Github users can still provide feedback via the Provide Feedback sections in the Introduction.

Will consider this fixed for now, but may want to update or remove the options based on users' experience.


Wrong hyperlink in paper

Hi. I want to let you know that in your paper, the link for github repo has a small typo.

https://github.com/liruiw/Gen-Sim -> https://github.com/liruiw/GenSim
Btw, I like your project! :)

Thanks a lot for catching the issue!


Implement the database model according to ERD from Figma

Basic Information
ERD Diagram Link - https://cottony-rover-487.notion.site/ERD-4838acae80e34c2ab001e3446956d178
Figma Link - https://www.figma.com/proto/bhSe5HkMJKKN0Bs1ZqSddi/Penni?node-id=5996-22146&t=s4b05Gg69rb6KRmZ-0&scaling=scale-down&content-scaling=fixed&page-id=5996%3A22124&starting-point-node-id=5996%3A23356

For the database, can the tasks table be modified from the ERD to add a column for category as this is missing and is assumed in the figma design (https://github.com/codersforcauses/penni/issues/35). Additionally, is deadline the expiry date of the task or the time duration of the task itself? Thanks.

For the database, can the tasks table be modified from the ERD to add a column for category as this is missing and is assumed in the figma design (#35). Additionally, is deadline the expiry date of the task or the time duration of the task itself? Thanks.

Yes, I have added a category Column, and updated it on ERD


chore(version) Bump for 0.21.5

Signed-off-by: Jerome Simeon<EMAIL_ADDRESS>

Coverage remained the same at 95.376% when pulling 44b4874f9f17c8c7781887d865997c939784b15b on jeromesimeon:js-chore-0.21.5 into dd9e82b94c349cf7ee02e817ce8dbc88b62dbe5f on accordproject:master.


Add confirmation dialogue box to 'Delete All Data Import Records' button on the DI object

On the Data Import object, there is a button for Delete All Data Import Records. When a user clicks this, it immediately deletes with no confirmation. Users can easily click the button and accidentally delete many records. A confirmation step would prevent accidental deletion.

**lurch: add

Tracking W-020516


Password integrety problem

I searched for hours, learning about the SHA512 implemenation of dovecot and js...
To find that passwords with some special characters are not handeled correcly in your implementaion.
But thanks for Mailman anyway!

I am sorry to hear that, but for the password hashing I am using the Node.js implementation of SHA512-CRYPT: https://github.com/mvo5/sha512crypt-node


Allow releasing gil in nogil functions

Fixes #4137
Also adds a check whether we have the GIL before doing so. This
is important because Py_UNBLOCK_THREADS is documented as unsafe
if we don't hold the GIL. This bit of it is possibly a candidate to be
backported (since the pattern was allowed in Cython 0.29 but
can cause a segfault).

Triggering a new build.


Rearranging, removing and clearing channels

http://ericharlow.blogspot.com/2010/10/experience-android-drag-and-drop-list.html
https://github.com/commonsguy/cwac-touchlist


Dishwasher "action" buttons

Feature request
I have to say, I'm really happy with this Home Assistant integration. The only thing I would like to see is the “Pause” action for the dishwasher. I have implemented it myself (see below), but would be happy if it were also in the official release. I have also noticed that the “action buttons” are not updated correctly. If I pause the dishwasher via the Miele app, actions 1 and 2 (Start and Stop) should be activated according to the API. Unfortunately, the buttons are not active in HomeKit. However, as soon as I open the door and an event is triggered, they are updated. Since an event is also communicated when switching to pause, the action buttons should actually be updated when the event arrives.
And another general question: How often are the sensors queried by Miele? Every 60 seconds?
description=MieleButtonDescription(
            key="pause",
            translation_key="pause",
            press_data={PROCESS_ACTION: ACT_PAUSE},
        )

And some other additions in const.py and translation.
What version of the integration are you using?
2024.8.1
Anything in the logs that might be useful for us?
No response
Additional information
No response

Please fetch a diagnostic download from the device's page in HA, before and after creating the PAUSE event. You can drag the files into a reply in this issue.
The Miele API is pushing status changes when they happen (usually within a second) and the result will be reflected in HA immediately. As a fallback the integration will make a poll for status every minute.

I have added the Pause button to applicable devices according to the API documentation. However, the function is not 100% stable. At one point when I pushed Pause the pause state was accepted by the machine but it was not correctly reflected in the API nor in the app. I had to resume (i.e. stop/start) on the washing machine to continue. When I am trying again, everything works as expected.
The integration just acts on data reported in the API so the problem is at Miele API servers.
There are a few other minor issues that I will look into before releasing a new version.

Thank you for adding the pause button.
I have now analyzed the sync of the “action buttons” again while controlling the dishwasher with the app. When I start the dishwasher, the Pause and Stop buttons become clickable as desired.
Dishwasher Running:

dishwasher_running.json
If I then press Pause in the app, the event is immediately registered in Home Assistant and displayed in the log book.
However, the buttons do not change. I then tested this via the manual Swagger UI API from Miele and there the action buttons 1 and 2 (Start and Stop) are reported correctly. However, according to the diagnostics file, Home Assistant still has “processAction” 2 and 3.
After pressing "pause" in the Miele-app:
dishwasher_pause.json

This seems to be where the error is that after the event “Dishwasher status changes to pause” (which is displayed in the log) the processAction is not updated correctly. Even if I wait 10 minutes in the pause state, the buttons are not updated. Would it also make sense to make the API call GET /devices/actions every 60 seconds?
After 10 Minutes:pause_10m.json
I then noticed that when I open the door of the dishwasher manually the buttons are updated correctly.
After opening door manually:

door open.json
Opening the door is also displayed as an event in the logbook.
Are the processActions only requested when an event occurs? Is there not a risk that the states will never be adjusted if a event is missed? Is there perhaps a problem that Home Assistant requests processAction too quickly after an event and the API has not yet updated it after pressing pause in the Miele-App? This would then explain that if I trigger another event afterwards, the buttons are then correctly updated. I have tested the whole thing several times and always had the same phenomenon. The funny thing is that when I press Stop in the APP, everything is updated correctly in Home-Assitstant.

Many thanks for your detailed analysis. There is an obvious descrepancy where data from Swagger shows one set of processActions and the integration has caught something else.
It is unclear to me why this can happen.
If you are interested in helping with further debugging you can try to capture the data stream from the API and perhaps see what is happening.
Pick up your active bearer token from Swagger. It will be valid for at least one hour if I remember correctly.
From a Linux prompt you can enter:
 curl -X 'GET'   'https://api.mcs3.miele.com/v1/devices/all/events'   -H 'accept: text/event-stream'   -H 'Authorization: Bearer YOUR_TOKEN'

You should then see all pushed data from the API as it arrives.

I have looked into the raw data that the API returns when using the Pause action. I can see that the event stream we are subscribing to is not reflecting correct processAction data after a Pause action. Sometimes it works, though. Resubscribing the stream will return correct values immediately.
I have reported the behaviour to Miele developers but my experiance is that it can take some time to get a response.
Your suggested workaround to poll the actions endpoint every minute could be a way to mitigate the problem, but it can have side effects on rate limiting since this endpoint needs a separate poll on each device in the account.
Let us wait for the response from Miele developers before we introduce code changes in this area.

I have looked into the raw data that the API returns when using the Pause action. I can see that the event stream we are subscribing to is not reflecting correct processAction data after a Pause action. Sometimes it works, though. Resubscribing the stream will return correct values immediately.
I have reported the behaviour to Miele developers but my experiance is that it can take some time to get a response. Your suggested workaround to poll the actions endpoint every minute could be a way to mitigate the problem, but it can have side effects on rate limiting since this endpoint needs a separate poll on each device in the account. Let us wait for the response from Miele developers before we introduce code changes in this area.

Thank you for your feedback. I have now also tested it with the API event-stream and had the same behavior as you.
As soon as you press pause via the Miele app, an event appears but the progressActions are incorrect. With a GET devices/{deviceID}/actions request, however, they are correct. So the Miele API is actually wrong for a pause event. Many thanks for reporting this to Miele. Do you have the feeling it would be speeded up if I also write Miele?
A temporary solution would be to manually request the API call “actions” after an event with the status “Pause”. This way you avoid the rate limit of the API.

Do you have the feeling it would be speeded up if I also write Miele?
No I dont think it is needed. I got a confirmation from my contact that they have put my report in the hands of right people.

I have got response from Miele. They cannot reproduce the issue with one of their dishwashers. They need the matNumber of the IDENT object to dig in their logs. You can send it to me at<EMAIL_ADDRESS>and I will forward it to the right person.


Improve npm override support

See https://github.com/npm/cli/pull/7025#issuecomment-2407453772
Because @socketsecurity/cli wraps npm we have the opportunity to patch its overrides behavior.
@AlonNavon thoughtfully put their learnings so far in https://github.com/npm/cli/pull/7025.

@AlonNavon I've backed channeled a bit with npm. Let's see in the next week or so. There may be more engagement on your PR to push it through.

Any clue what the holdup is?

A npm maintainer replied ✨ https://github.com/npm/cli/pull/7025#issuecomment-2407888505 :heart:
I'll help review over there and implement a quick and dirty solution here.

Fixed via https://github.com/SocketDev/socket-cli-js/commit/644ed42c0b78d6abe8fdce4a0deb03f03b58eb95 and https://github.com/SocketDev/socket-cli-js/commit/28e5b3d2fe740030ccb447484223d10c325c0aeb


package scatterplot3d should be in suggests

as its used in examples
https://github.com/openjournals/joss-reviews/issues/1036

-excellent point, I've just cleanup the dependencies in https://github.com/terrytangyuan/dml/commit/391c10e8c2535438bf2ab409848e602e471e06a0.


"Store not found" will be displayed

"Store not found" or "Cannot get store id or token from authorization header" will be displayed.
"https://blob.vercel-storage.com" as the endpoint, do you have any details about this?

It would be helpful if you could provide the error in a format that is replicateable so that I can check the issue.
However, blob URLs are in the format "<store_id>.public.blob.vercel-storage.com", "blob.vercel-storage.com" is just the Base URL.

We apologize for the inconvenience. I mistakenly thought it was a project token.
https://vercel.com/***********s-projects/~/stores/blob/store_************/browser
Get it here.
Thank you for your reply. We will close it.


Update member roles

Hey @acossio, could you take a pass at updating the team members roles? low priority, and also noted that this may be a Christian/Heidi thing to define.

I think that the team members and roles look good for now. As you say, when we have our discussion with Heidi and Christian, they may have input as well. Should we put what program each person is in?

Cool cool. For me, I don't think any need to get program-specific? Although recognized that I listed that out for Christian/Heidi.
I'll leave this open as a reminder to ask them about this next week.

Check my changes and see what you think.


Bigquery skip lookup

Add a skip_lookup option for Dataset and Table object creation to avoid unneeded get RPCs.
Support a "reference" mode in Dataset and Table objects, and state transitions to full-representation objects.
To avoid ambiguous state in "reference" mode tables, remove the View class, moving its methods (except View#data) to Table.

[closes #1785]

A couple of outstanding questions on this PR:

Should Table#table?, Table#view? and Table#external? all return nil when a Table is in "reference" mode? I'm a little concerned since this result could easily be confused with false.
Is it worth the effort to document the possibility of the nil result  in "reference" mode for each of the getters in Dataset and Table?

Should Table#table?, Table#view? and Table#external? all return nil when a Table is in "reference" mode? I'm a little concerned since this result could easily be confused with false.

Unfortunately there is not enough information to be able to return true in this instance. Therefore a falsely response seems appropriate.

Is it worth the effort to document the possibility of the nil result in "reference" mode for each of the getters in Dataset and Table?

I think so. Possibly listen as a return value. But I don’t know if it needs separate code examples. What do you think?

@blowmage Updated with additional docs for nil return values, and with skip_lookup example for Table#insert.


Support UIViewController contentScrollView

I added an optional argument to the .image snapshot strategy that try to retrieve the UIViewController.contentScrollView (when it's available).
This should improve the sizing of the target UIViewController in the case a UIScrollView is used.
This proposal should provide a better way of working around the issue https://github.com/pointfreeco/swift-snapshot-testing/issues/264.

Is there any update to this issue?

Is there any update to this issue?

+1


Attribution on .net port

Hi Steve.
I am the author of alphaTab, a web (and .net) based music notation software with playback capabilities. I lately replaced the core of my synthesizer with a .net port of TinySoundFont  a single-header C port of your SFZero.
As my work is almost completed, I wanted to inform you about the fact that I use now parts of SFZero within my library and ship it under an own name. I tried to do the attribution to your project as reasonable as possible by:

Including an attribution in the source files that were ported from TinySoundFont
Including an attribution in the final JavaScript file shipped to people.
Including an attribution in the project readme.

From a OSS license perspective my porting should cover all needs but nevertheless I wanted to check with you, if you are also actually fine with the porting and the level of attribution.
In case of doubts feel free to inform me how we can get it to your preferences.
Repo Link: https://github.com/coderline/alphatab
PR with changes: https://github.com/CoderLine/alphaTab/pull/261

That sounds pretty thorough!  Thanks for your diligence.


[#2798] Support adjustable encumbrance arrows

Allows for the encumbrance arrows on the encumbrance card to adjust based on thresholds:

Closes #2798.


About the image size

When I trained with the previous version, the code worked fine when the dataset size was 256, but I got an error when my dataset size was 512.How should I solve it? Thank you!
Traceback (most recent call last):
File "scripts/segmentation_train.py", line 119, in
main()
File "scripts/segmentation_train.py", line 88, in main
lr_anneal_steps=args.lr_anneal_steps,
File "./guided_diffusion/train_util.py", line 186, in run_loop
self.run_step(batch, cond)
File "./guided_diffusion/train_util.py", line 207, in run_step
sample = self.forward_backward(batch, cond)
File "./guided_diffusion/train_util.py", line 239, in forward_backward
losses1 = compute_losses()
File "./guided_diffusion/gaussian_diffusion.py", line 1145, in training_losses_segmentation
model_output, cal = model(x_t, self._scale_timesteps(t), **model_kwargs)
File "/data0/KongJY/anaconda3/envs/Kong/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1102, in _call_impl
return forward_call(*input, **kwargs)
File "/data0/KongJY/anaconda3/envs/Kong/lib/python3.7/site-packages/torch/nn/parallel/distributed.py", line 886, in forward
output = self.module(*inputs[0], **kwargs[0])
File "/data0/KongJY/anaconda3/envs/Kong/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1102, in _call_impl
return forward_call(*input, **kwargs)
File "./guided_diffusion/unet.py", line 775, in forward
uemb, cal = self.highway_forward(c, [hs[3],hs[6],hs[9],hs[12]])
File "./guided_diffusion/unet.py", line 744, in highway_forward
return self.hwm(x,hs)
File "/data0/KongJY/anaconda3/envs/Kong/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1102, in _call_impl
return forward_call(*input, **kwargs)
File "./guided_diffusion/unet.py", line 2473, in forward
h = self.ffparserd
File "/data0/KongJY/anaconda3/envs/Kong/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1102, in _call_impl
return forward_call(*input, **kwargs)
File "./guided_diffusion/unet.py", line 479, in forward
x = x * weight
RuntimeError: The size of tensor a (129) must match the size of tensor b (65) at non-singleton dimension 3

same question


A way to accept extra submissions to a closed round

Staff from time to time needs to allow a submission to a closed round. An applicant had maybe really good reasons for being late and staff want to allow then to apply.

We currently use filters as a work around. For example, we reassign the 'Lead' because we can not reassign the 'round date' field. We use the filter to only include the 'Lead' we want.

As there is no longer a hard closing date is this ticket still needed? @fourthletter @frjo? if not can it be closed?


Remove weird wording around final para of optimistic_lock docs

I think this may have been intended as "keep in mind", but it makes just as much sense without the "Finally, keep in mind" words too.

:heart: :green_heart: :blue_heart: :yellow_heart: :purple_heart:


Question: There is a way to hide the indicators?

Hello i like the way to implement this library but i can find the way to hide indicators.
Can you help me?
Regards.

Set all the color to transparent.
app:fillColor="#00000000"
app:pageColor="#00000000"
app:strokeColor="#00000000"

Fixed. Added indicatorVisibility attribute. @juanpaternina

Cannot access 'indicatorVisibility': it is private in 'CarouselView'


⚠ GitLab Server has degraded performance

In 5fe142a, GitLab Server (https://gitlab01.its-telekom.eu) experienced degraded performance:

HTTP code: 200
Response time: 14146 ms

Resolved: GitLab Server performance has improved in 9b473b0.


Where is the C API?

Where is the API for people who want to program with this directly?

Hi @Leadwerks, we don't currently have a package for only the C API, however depending on which pieces you're interested in I may be able to get you started with something. Are you interested in the acoustics system, or the audio rendering system, or both?

Hi @Leadwerks, we don't currently have a package for only the C API, however depending on which pieces you're interested in I may be able to get you started with something. Are you interested in the acoustics system, or the audio rendering system, or both?

I'm interested in both.

Hi @Leadwerks, we don't currently have a package for only the C API, however depending on which pieces you're interested in I may be able to get you started with something. Are you interested in the acoustics system, or the audio rendering system, or both?

I'm interested in both.

It would be great to have a deeper conversation about your needs and to explore the room for collaboration.  Would it be possible for you to send an email to<EMAIL_ADDRESS>so that we can schedule a meeting to talk more in depth?  Thanks!

It would be great to have a deeper conversation about your needs and to explore the room for collaboration.  Would it be possible for you to send an email to<EMAIL_ADDRESS>so that we can schedule a meeting to talk more in depth?  Thanks!

Email sent, thanks.

Email sent, thanks.


How can I make my own loss defination

I have my own training sets,but the background are too large.
Also,I know the background is black(pixel=0).
When I am calculating the dice,I want to 'remove' the background(Don't calculate it into dice).
I try this:for i in y_true_f.eval():
But it didn't work~

In current implementation "black" pixels are not calculated into the Dice score, only "white" ones.

@jocicmarko Oh!You are so great~
I saw the new code,but I find Dice code not changed.Where did you add code to judge the pixel? Is it caculated by Keras backend?
Thank you so much!I learn keras all by your code.Haha~

@Kaido0

Where did you add code to judge the pixel?

If you take a look at the Dice loss function, you will notice that part of the code
intersection = K.sum(y_true_f * y_pred_f) does multiplication of true pixels with predicted pixels. Since 1s are for mask 0s are for background, so some of the predicted values are multiplied by 0s in true masks, thus "ignoring" the background! Hope this makes it clearer.

@jocicmarko Thanks~I got it.
I made a mistake,I want to divide the image into four categories(Include background).So I need to  make "0" pixels are not calculated into the Dice score, only '1','0.25','0.75' .I want to use'softmax' and conv10 = Convolution2D(4, 1, 1, activation='softmax')(conv9),but I think it is not clearly,Would you give me some suggestion,thank you very much

@jocicmarko Thanks for your code, it helped me quite a lot to get my unet architecture.
@Kaido0 I run into the same issue with the dice computation and this is what I tried:
def dice_coef(y_true, y_pred):
y_true_f = K.flatten(y_true[...,1:])
y_pred_f = K.flatten(y_pred[...,1:])
intersection = K.sum(y_true_f * y_pred_f)
return (2. * intersection + smooth) / (K.sum(y_true_f) + K.sum(y_pred_f) + smooth)
The network runs, but I got weird dice now. Basically I have 4 classes being (background, and 3 more within the image), so my y_true should look like (nb_samples, img_size, 4). I am doing a quick test to see whether this DICE is correct, basically using only one image volume for training and then I predict using the exact same volume so the DICE for every class should be the same. Well, it is not even close.
Anyway, hope this helps you. If you figure that out, I would appreciate a feedback on that.


NIFI-2692: Fix for TestListenSMTP tests fail

Removing problematic timeout for SMTP Listen
Converting anonymous method to lambda
Adding debug and error logging

Thank you for submitting a contribution to Apache NiFi.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[x] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message? NIFI-2692

[x] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[x] Has your PR been rebased against the latest commit within the target branch (typically master)?

[x] Is your initial contribution a single, squashed commit?

For code changes:

[x] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[x] Have you written or updated unit tests to verify your changes?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.

+1, merged to master, thanks @cherrera2001


Added package rubygem-test-unit-ruby-core to SPECS-EXTENDED

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[x] The toolchain has been rebuilt successfully (or no changes were made to it)
[x] The toolchain/worker package manifests are up-to-date
[x] Any updated packages successfully build (or no packages were changed)
[x] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
[x] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[x] All package sources are available
[x] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
[x] LICENSE-MAP files are up-to-date (./LICENSES-AND-NOTICES/SPECS/data/licenses.json, ./LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md, ./LICENSES-AND-NOTICES/SPECS/LICENSE-EXCEPTIONS.PHOTON)
[x] All source files have up-to-date hashes in the *.signatures.json files
[x] sudo make go-tidy-all and sudo make go-test-coverage pass
[x] Documentation has been updated to match any changes to the build system
[ ] Ready to merge

Summary

What does the PR accomplish, why was it needed?
This PR is to add package rubygem-test-unit-ruby-core to SPECS-EXTENDED
Change Log

SPECS-EXTENDED/rubygem-test-unit-ruby-core/rubygem-test-unit-ruby-core.signatures.json
SPECS-EXTENDED/rubygem-test-unit-ruby-core/rubygem-test-unit-ruby-core.spec
SPECS-EXTENDED/rubygem-test-unit-ruby-core/test-unit-ruby-core-create-missing-files.sh
cgmanifest.json

Does this affect the toolchain?

NO
Associated issues

#xxxx

Links to CVEs

https://nvd.nist.gov/vuln/detail/CVE-YYYY-XXXX

Test Methodology

Local Build

This PR is raised to successfully merge #11360


add remove query filter

Description

Add query filter, that allows removing some query parameters
Motivation and Context

Support  removing some redundant query parameters:

too verbose names
too few meaning
debug params

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have added tests to cover my changes.

Thanks for the contribution. I just released it as 1.11.0 :tada:


Translated English to Japanese Comments

I made a previous PR but had deleted my fork so I am resubmitting with the changes requested.
This PR is for issue #12880
I got help with translating the comments into Japanese.

@walfgithub @VibhaMalhotra Can you please help in reviewing this PR?

Please see comments from the Lionbridge JP linguist:
[1st question]
Please see the updated translation in  https://github.com/adobe/brackets/pull/13327/commits/987189cbd1b1b25b366790ed7977103e7aa8db45  is the same as  "Brackets とは何ですか？" that I suggested (you might not want the question mark), so "と" is just fine ("の" sounds strange as Japanese)
[2nd question]
in https://github.com/adobe/brackets/pull/13327/commits/987189cbd1b1b25b366790ed7977103e7aa8db45.
Please change the following:

<3 とJAVASCRIPT で作成 -> <3 と JAVASCRIPT で作成 (space is missing)

HTML、CSS とJavaScript との関係 -> HTML、CSS と JavaScript との関係 (space is missing)

ライブ プレビュー  -> ライブプレビュー (please delete a space)

@Blackweda the above mentioned changes would be added by our ALF team, after this is merged.
Thanks @Blackweda for your contribution.

No problem


cortana breifing emails

Long pause... tilts head down and shakes...

We appreciate your feedback, however, we ask that you abide by the Code of Conduct. Inappropriate language will not be tolerated.


Quick fix for who's coming

Thanks, but I think the assopy/utils.py patch should be removed from the PR.


can not download the model

I have made a lot of changes, and I found that I can not download this model

@RWIU Sorry, I can not know what error happens just with the provided information. When errors happen, It is suggested to check the log in the terminal and share it here.

Closing due to inactivity.


Reddit Scraper

Describe the project you want to add with tech stack

To scrape the posts in Reddit
Expected behavior

Scrape all the details of the posts in JSON.

@MohitGupta121 @TusharKesarwani please assign me the issue


Encountered an error when trying to import the exported conversation file

Encountered an error when trying to import the exported conversation file

Originally posted by @baichisong in https://github.com/mckaywrigley/chatbot-ui/issues/642

I am closing this issue because as far as I can tell, this isn't related to freeCodeCamp


Build fail since FAI upgraded to 6.2

Impossible to build an image for VM. It seems to be linked with the upgrade of FAI and a package that failed at the installation. I manage to build with the the version 5376150.
The following held packages will be changed:
  linuxlogo nullmailer unattended-upgrades
0 upgraded, 211 newly installed, 0 to remove and 0 not upgraded.
E: Held packages were changed and -y was used without --allow-change-held-packages.
ERROR: 25600 25600
ERROR: chroot /tmp/fai-diskimage.M5xY42 apt-get -y -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confnew --fix-missing install --no-install-recommends  bash-completion debconf-utils file zstd less linuxlogo rsync openssh-client openssh-server time procinfo nullmailer sudo locales console-setup kbd pciutils usbutils unattended-upgrades grub-efi dosfstools amd64-microcode apparmor-utils at audispd-plugins auditd bridge-utils ca-certificates chrony cpuset curl docker-compose docker.io dstat efibootmgr gnupg grub-efi-amd64-signed intel-microcode iptables-persistent irqbalance jq lbzip2 linux-image-rt-amd64/bookworm-backports linuxptp lm-sensors lsb-release lvm2 net-tools openssh-server ovmf parted python3-apt python3-cffi-backend python3-setuptools shim-signed sudo sysfsutils syslog-ng sysstat systemd-resolved vim wget nullmailer- linuxlogo- unattended-upgrades- memtest86+- dbus return code 100
install_packages: executing chroot /tmp/fai-diskimage.M5xY42 apt-get clean
install_packages: executing chroot /tmp/fai-diskimage.M5xY42 apt-get -y -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confnew --purge remove isc-dhcp-client isc-dhcp-common
Reading package lists...
Building dependency tree...
The following packages will be REMOVED:
  isc-dhcp-client* isc-dhcp-common*
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
After this operation, 3050 kB disk space will be freed.
(Reading database ... 8745 files and directories currently installed.)
Removing isc-dhcp-client (4.4.3-P1-2) ...
Removing isc-dhcp-common (4.4.3-P1-2) ...
(Reading database ... 8721 files and directories currently installed.)
Purging configuration files for isc-dhcp-client (4.4.3-P1-2) ...
install_packages: executing chroot /tmp/fai-diskimage.M5xY42 dpkg --configure --pending
install_packages: executing chroot /tmp/fai-diskimage.M5xY42 dpkg -C
install_packages: executing chroot /tmp/fai-diskimage.M5xY42 apt-get clean
1 errors during executing of install_packages
E: Held packages were changed and -y was used without --allow-change-held-packages.
Exit code task_instsoft: 472
Calling task_configure
Executing shell: DEBIAN/10-rootpw
DEBIAN/10-rootpw     OK.
Executing shell: DEBIAN/20-capabilities
DEBIAN/20-capabilities OK.
Executing shell: DEBIAN/30-interface
DEBIAN/30-interface  OK.
Executing shell: DEBIAN/40-misc
DEBIAN/40-misc       OK.
Executing shell: FAIBASE/10-misc
FAIBASE/10-misc      OK.
Executing shell: FAIBASE/15-root-ssh-key
FAIBASE/15-root-ssh-key OK.
Executing shell: FAIBASE/20-removable_media
FAIBASE/20-removable_media OK.
Executing shell: SEAPATH_COMMON/10-rootpw
SEAPATH_COMMON/10-rootpw FAILED with exit code 2.
Executing shell: SEAPATH_COMMON/20-grub_default
SEAPATH_COMMON/20-grub_default FAILED with exit code 127.
Executing shell: SEAPATH_COMMON/30-change_editor
SEAPATH_COMMON/30-change_editor OK.
Executing shell: SEAPATH_COMMON/40-networking
SEAPATH_COMMON/40-networking OK.
Executing shell: SEAPATH_COMMON/50-aptrepos
SEAPATH_COMMON/50-aptrepos OK.
Executing shell: SEAPATH_COMMON/60-misc
SEAPATH_COMMON/60-misc OK.
Executing shell: GRUB_EFI/10-setup
GRUB_EFI/10-setup    FAILED with exit code 127.
Executing shell: LAST/50-misc
LAST/50-misc         FAILED with exit code 1.
Exit code task_configure: 420

I can't reproduce.
Before going deeper, can you please confirm:

that you are using a building host with UEFI ?
that you rebuild the fai docker image recently ?
Thanks.

Yes i'm using a building host with UEFI since I have the folder /sys/firmware/efi on it. Concerning the image, I've use the command docker rmi fai -f before the build. Erwann also tried on his PC and got the same issue.

Can you send the full log please?

can you please try with branch "issue93"?

@insatomcat , Having encountered the same issue, branch "issue93" solved it for me.

solved by #94


Update home.html

Limit podcast episode titles to just one line. This looks most beautiful with patch-5.

@jamescridland could you include a picture illustrating the change?

Have done here: https://github.com/Podcastindex-org/helipad/pull/15#issuecomment-1010674404

Are both of these PRs required for the feature? or is one optional? If they are both one feature perhaps one PR is better.

I agree that one PR is better. I lack the skill on Github's web interface, which is all I used for this, to make changes to two files under one PR. Sorry.

No need to apologize. Makes sense if you are using the Web UI, I been working in Gitlab for the last year and have rotted my mind.


Captured cursor mode not working on Xwayland

The function glfwSetInputMode(window, GLFW_CURSOR, GLFW_CURSOR_CAPTURED); in the tests/cursor program doesn't work on Xwayland.
Compiled with GCC 12.2.0 using latest glfw on master branch.
OS Info:
OS: Kubuntu 22.10 x86_64
Kernel: 5.19.0-35-generic
Shell: fish 3.6.1
Resolution: 2560x1440
DE: Plasma 5.27.3
WM: kwin
Terminal: tilix
CPU: AMD Ryzen 7 5800X (16) @ 3.800GHz
GPU: NVIDIA GeForce RTX 2080 Rev. A
Memory: 7531MiB / 31816MiB

Ignore the glitching in the video, those are coming from the typical NVIDIA Wayland capture issues.
https://user-images.githubusercontent.com/16561717/228824979-b6180c22-9567-4e87-b797-40b0bda39165.mp4

I can reproduce this but I'm not sure there is anything GLFW can do about it.

I'm closing this as it is likely a KWin issue and not a GLFW one.
Everything works correctly when testing the captured cursor mode using rootful XWayland, so I see no problem with GLFWs X11 code.
Tested with my own application (which uses a customized version of GLFW) with the following commands:
Xwayland -noreset :12
DISPLAY=:12 TRAP_WM=x11 ./Tests

Re-tested on
OS: Kubuntu 23.10 x86_64
Kernel: 6.5.7-060507-generic
Shell: fish 3.6.1
Resolution: 5120x1440
DE: Plasma 5.27.9
WM: kwin
Terminal: tilix
CPU: AMD Ryzen 7 5800X (16) @ 3.800GHz
GPU: AMD ATI Radeon RX 7900 XT/7900 XTX
Memory: 8077MiB / 31987MiB


No Links

[Enter feedback here]
This page does list the enumerations for sections, but there is no way to dive into a section to determine the enumerations for that section.

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

ID: a79abd5a-ca53-8b15-c39b-98b3b87ad06f
Version Independent ID: 578344d9-bd5f-ebb1-dc6b-6c7bb578ba48
Content: VisSectionIndices Enumeration (Visio)
Content Source: api/Visio.vissectionindices.md
Product: visio
GitHub Login: @o365devx
Microsoft Alias: o365devx

@JohnVisioMVP Thanks for the feedback. I think these pages are as far as we drill down to the enumerations. They display their value and a description. If you can find an example of what you were looking for and send it to me, I'll take a look and determine if this documentation exists elsewhere.


Restart deprovision pods if credentials secret changes.

Previously the uninstall pod would never restart if it launched with
since deleted or bad creds, and the user updated the credentials secret.
This change switches to mounting the creds as a secret instead of
passing through env vars. The hiveutil wrapper code sets them as env
vars and establishes a file watch on the directory where the secret is
mounted. On any change or watch error we exit to restart the pod.
It seems to usually take about 1 minute for the secret changes to
surface in the pod.

Are we going to do the same thing for the other platforms, as well?

Updated to respect the env vars if they are set, allowing us to keep using aws-tag-deprovision on the command line.
Also now using the library-go file watcher.
As for other clouds, it looks like it would be pretty easy to add for several including Azure and GCP. I am hesitant to get into the others which are harder to test though. In any case will discuss and consider for follow up PRs.

Alternatively, I will propose again that we can use the RunWithContext function instead of the Run function on the uninstaller. We are going to be doing this at some point anyway. Since that will allow the uninstall to run for a set period of time and restart with a backoff, there is no need to restart the pod.

My concern there is the length of the window. I think QE or anyone doing this is going to expect a fairly quick turnaround when they fix those creds, whereas if we're terminating and stopping uninstall it feels like we need to give that a fairly long window. Best case we're seeing about 1 minute for this to take effect, and the alternative I would have to imagine would be at least 10 minutes and even that is pushing it. The response time here would be ten times better.

/hold
Pursuing the sidecar file monitor approach instead.

I am calling it quits with the sidecar approach, details in #1108. The IPC has been far too complicated and burned too much time on it.
Fixed the import requested above. I will file a jira for additional clouds, which all go through one deprovision command so hopefully we can add some common code there to let them each monitor their own files.

/hold cancel

Updated, thanks!


No matches found

Hello! When I try to install the retroarch with this command:
sudo apt-get install retroarch retroarch-* libretro-* -y
appears a message: zsh: no matches found: retroarch-* but when i uninstall the zsh doesn't appears any errors.

Zsh considers the "" as a wildcard. Try to do your command again but using single or double quotes:
sudo apt install 'retroarch retroarch- libretro-* -y'

When I want to add some files with * using git, such as "git add *.java *.xml", it doesn't work either, and gives the same message: no matches found.
But I really don't want to add "'" in every git command.

That´s especially true since you want the shell to expand those wildcards....
But are you sure that the files you want to add are there to be matched? Or are they in some subdir you´re forgetting to provide?
*.xml matches other files then subdir/*.xml!

Especially since you want the shell to expand your patterns...
But are you sure that those files reside in your current directory?
The patterns *.xml, dir1/*.xml, dir2/*.xml, */*.xml, **/*.xml and ***/*.xml might all look for some xml files but (depnding on which files reside in which location) will either fail to match anything, have different or (partielly) the same matches...

Can this be fixed?

This is zsh's intended behavior. If you want to disable all globbing you can use unsetopt glob, or if you want to disable it for a specific command you can alias it with noglob (i.e. `alias git='noglob git').

Zsh uważa gwiazdkę za symbol wieloznaczny. Spróbuj ponownie wykonać polecenie, używając pojedynczych lub podwójnych cudzysłowów:
sudo apt install 'retroarch retroarch-* libretro-* -y'

thanks


Fix TaskConflictException when a task is retried with 0 interval

When a thread "A" runs WorkflowExecutor.retryTask with a small
retryInterval, another thread "B" may enqueue the task immediately
before "A" deletes the task from the queue using dispatcher.taskFinished
call. If this happens, "B" will get TaskConflictException at
dispatcher.dispatch. "B" couldn't update state of the task so that next
enqueueReadyTasks call retries dispatch.dispatch.
However, on the other hand, if dispatcher.dispatch throws exception but
but actually the task was enqueued to the queue, dispatcher.dispatch
also throws TaskConflictException. In this case, the exception should be
ignored so that enqueuing won't be retried forever.
This change fixes this problem by appending updatedAt to the unique
identifier of a queued task. This avoids TaskConflictException even when
a task is retried with a short interval. It still can detect duplicated
insertion.
If retrying logic has a problem, TdIT.testRunQuery should fail due to infinite loop with Skipped enqueuing error message in the log.
Fixes #211.
TIMESTAMPADD is changed to DATEADD because of this behavior: https://github.com/h2database/h2database/pull/338

Any progress on this?

@danielnorberg ok, now I added retry_count to tasks table.
retry_count means retrying of the task_id. If task_id changes, retry_count is reset to 0. This happens when "_retry" option is set at a grouping (parent) task because group-retry recreates tasks.

👍


More feedback on and issues with the Python docs

First paragraph after the table in https://seguid-python.seguid.org/#seguid-checksums-for-linear-circular-single-and-double-stranded-sequences says:
"Four functions for calculations of SEGUID v2 checksums for biological sequences with linear or circular topologies and a single of two complementary strands are provided."
That sounds off to me; is it simply that the "of" should be an "or"?

BUG: The links under 'Navigation' on https://seguid-python.seguid.org/ all points to pydna.  I guess it's because:
https://github.com/seguid/seguid-python/blob/4a9292c05da93a70e1248c0f69257f29c48e4a21/docs/conf.py#L43-L49

I agree that it was not a good way to start.
New:
"Four SEGUID v2 checksum functions for biological sequences with linear or circular topology and a single or two complementary strands."
old:
"Four functions for calculations of SEGUID v2 checksums for biological sequences with linear or circular topologies and a single of two complementary strands are provided."


explain step after re-provisioning

https://zulip.readthedocs.io/en/latest/dev-env-first-time-contributors.html#maintaining-the-dev-environment should make it clear that the next step after you re-provision your Vagrant guest is to simply try ssh-ing in (if you provisioned from outside the guest), and then running the development environment with /srv/zulip/tools/run-dev.py.

Adding documentation of this would be a great contribution for a new contributor.  The docs live in the docs/ repository of the project.

PL #2301
Please check it out.
Thanks.

PL #2301
2 Test Suites are getting failed.
Please help me out.
Thanks.

@AmoliShah if you click on the failures you can find out why the tests are failing; in this case it's because tools/lint-all has detected lint errors in your changes.

@timabbott That was solved but now its showing as follows:
FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/zulip-venv-cache/d13238b805fbfa5854f6e3de2acc5dbffd0c1cd5/zulip-py3-venv/lib/python3.4/site-packages/zulip-0.2.5-py3.4.egg'

A command run by tools/provision.py failed; see output above.

Command was: pip install --no-deps --requirement /home/travis/build/zulip/zulip/requirements/py3_dev.txt

Please help me out.
Thanks.

That issue is unrelated to your change -- seems to have suddenly started happening on all builds in the last day.

@timabbott So shall I leave it as it is for now?


Cilium Daemon CrashLoopBackoff - panic: runtime error: invalid memory address or nil pointer dereference - related to dupplicated cilium endpoint

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
Clilum is installed on Cluster as A CNI with Egressgateway feature enable and l7proxy also
Everything was running smoothly until we noticed that all cilium pods were in crashLoopBackOff.
a rollout restart changed nothing,
For the diag, the message level=info msg="regenerating all endpoints" reason="one or more identities created or deleted" we proceeded by elimination, deleting all ciliumNetworkPolicy and the CiliumEgressGatewayPolicy.
but the problem persisted.
Then we deleted all CiliumEndpoints(cep) and rollout restart, and the Cilium pods worked again.
So the cause was the: cep
But the root cause was related to the restoration of a namespace with velero: the restored backup contained CiliumEndpoint resources. So restoring them totally broke Cilium and therefore the cluster: nothing worked.
In other words, Cilium was unable to manage the  dupplicated ciliumEndpoints.
Considering that Cilium as a CNI is a main present component, I didn't expect it to break completely for this reason and jeopardize the whole cluster.
I would have preferred Cilium to warn and ignore the duplicated ciliumEndpoints but continue to work.  It's too essential to break for so little.
Cilium Version
1.15.5
Kernel Version
5.15.0-107-generic #117-Ubuntu
Kubernetes Version
v1.28.4
Regression
No response
Sysdump
No response
Relevant log output
time="2024-06-19T13:21:58Z" level=info msg="Policy imported via API, recalculating..." policyAddRequest=3bd087fa-bfe0-479b-b883-8bef5dd2a427 policyRevision=13 subsys=daemon
time="2024-06-19T13:21:58Z" level=info msg="NetworkPolicy successfully added" k8sApiVersion= k8sNetworkPolicyName=deny-all-except-dns subsys=k8s-watcher
time="2024-06-19T13:21:59Z" level=info msg="Removing stale endpoint interfaces" subsys=daemon
time="2024-06-19T13:21:59Z" level=info msg="Skipping kvstore configuration" subsys=daemon
time="2024-06-19T13:21:59Z" level=info msg="Restored router address from node_config" file=/var/run/cilium/state/globals/node_config.h ipv4=<IP_ADDRESS> ipv6="<nil>" subsys=node
time="2024-06-19T13:21:59Z" level=info msg="Initializing node addressing" subsys=daemon
time="2024-06-19T13:21:59Z" level=info msg="Initializing cluster-pool IPAM" subsys=ipam v4Prefix=<IP_ADDRESS>/24 v6Prefix="<nil>"
time="2024-06-19T13:21:59Z" level=info msg="Restoring endpoints..." subsys=daemon
time="2024-06-19T13:21:59Z" level=info msg="Endpoints restored" failed=0 restored=4 subsys=daemon
time="2024-06-19T13:21:59Z" level=info msg="Addressing information:" subsys=daemon
time="2024-06-19T13:21:59Z" level=info msg="  Cluster-Name: kubelablan" subsys=daemon
time="2024-06-19T13:21:59Z" level=info msg="  Cluster-ID: 0" subsys=daemon
time="2024-06-19T13:21:59Z" level=info msg="  Local node-name: myServer.com" subsys=daemon
time="2024-06-19T13:21:59Z" level=info msg="  Node-IPv6: <nil>" subsys=daemon
time="2024-06-19T13:21:59Z" level=info msg="  External-Node IPv4: <IP_ADDRESS>" subsys=daemon
time="2024-06-19T13:21:59Z" level=info msg="  Internal-Node IPv4: <IP_ADDRESS>" subsys=daemon
time="2024-06-19T13:21:59Z" level=info msg="  IPv4 allocation prefix: <IP_ADDRESS>/24" subsys=daemon
time="2024-06-19T13:21:59Z" level=info msg="  Loopback IPv4: <IP_ADDRESS>" subsys=daemon
time="2024-06-19T13:21:59Z" level=info msg="  Local IPv4 addresses:" subsys=daemon
time="2024-06-19T13:21:59Z" level=info msg="  - <IP_ADDRESS>" subsys=daemon
time="2024-06-19T13:21:59Z" level=info msg="  - <IP_ADDRESS>" subsys=daemon
time="2024-06-19T13:21:59Z" level=info msg="Waiting until local node addressing before starting watchers depending on it" subsys=k8s-watcher
time="2024-06-19T13:21:59Z" level=info msg="Node updated" clusterName=kubelablan nodeName=mynodex.com subsys=nodemanager
time="2024-06-19T13:21:59Z" level=info msg="Creating or updating CiliumNode resource" node=myServer.com subsys=nodediscovery
time="2024-06-19T13:21:59Z" level=info msg="Adding local node to cluster" node=myServer.com subsys=nodediscovery
time="2024-06-19T13:21:59Z" level=info msg="Waiting until all pre-existing resources have been received" subsys=k8s-watcher
time="2024-06-19T13:21:59Z" level=info msg="Policy Add Request" ciliumNetworkPolicy="[&{EndpointSelector:{\"matchLabels\":{\"any:run\":\"test\",\"k8s:io.kubernetes.pod.namespace\":\"test\"}} NodeSelector:{} Ingress:[] IngressDeny:[] Egress:[{EgressCommonRule:{ToEndpoints:[] ToRequires:[] ToCIDR:[<IP_ADDRESS>/32] ToCIDRSet:[] ToEntities:[] ToServices:[] ToGroups:[] aggregatedSelectors:[{LabelSelector:0xc000fc8a60 requirements:0xc0012cccd8 cachedLabelSelectorString:&LabelSelector{MatchLabels:map[string]string{cidr.<IP_ADDRESS>/32: ,},MatchExpressions:[]LabelSelectorRequirement{},}}]} ToPorts:[] ToFQDNs:[] ICMPs:[] Authentication:<nil>} {EgressCommonRule:{ToEndpoints:[] ToRequires:[] ToCIDR: ToCIDRSet:[] ToEntities:[] ToServices:[] ToGroups:[] aggregatedSelectors:[{LabelSelector:0xc0008de7e0 requirements:0xc0005f28d0 cachedLabelSelectorString:&LabelSelector{MatchLabels:map[string]string{reserved.none: ,},MatchExpressions:[]LabelSelectorRequirement{},}}]} ToPorts:[] ToFQDNs:[{MatchName:kubedashboard.appli MatchPattern:}] ICMPs:[] Authentication:<nil>} {EgressCommonRule:{ToEndpoints:[] ToRequires:[] ToCIDR: ToCIDRSet:[] ToEntities:[] ToServices:[] ToGroups:[] aggregatedSelectors:[{LabelSelector:0xc0008de7e0 requirements:0xc0005f28d0 cachedLabelSelectorString:&LabelSelector{MatchLabels:map[string]string{reserved.none: ,},MatchExpressions:[]LabelSelectorRequirement{},}}]} ToPorts:[{Ports:[{Port:443 Protocol:TCP}] TerminatingTLS:<nil> OriginatingTLS:<nil> ServerNames:[] Listener:<nil> Rules:<nil>}] ToFQDNs:[{MatchName:www.google.fr MatchPattern:} {MatchName:www.adie.org MatchPattern:}] ICMPs:[] Authentication:<nil>}] EgressDeny:[] Labels:[k8s:io.cilium.k8s.policy.derived-from=CiliumNetworkPolicy k8s:io.cilium.k8s.policy.name=test-cnp k8s:io.cilium.k8s.policy.namespace=test k8s:io.cilium.k8s.policy.uid=7857e56f-8851-4c24-bb9e-a83ffd17a599] Description:}]" policyAddRequest=be13e500-08a2-4d54-8e2e-fb8d00e87908 subsys=daemon
time="2024-06-19T13:21:59Z" level=info msg="Policy imported via API, recalculating..." policyAddRequest=be13e500-08a2-4d54-8e2e-fb8d00e87908 policyRevision=14 subsys=daemon
time="2024-06-19T13:21:59Z" level=info msg="Imported CiliumNetworkPolicy" ciliumNetworkPolicyName=test-cnp k8sApiVersion=cilium.io/v2 k8sNamespace=test subsys=k8s-watcher
time="2024-06-19T13:21:59Z" level=info msg="Node updated" clusterName=kubelablan nodeName=myServerx.com subsys=nodemanager
time="2024-06-19T13:21:59Z" level=info msg="Node updated" clusterName=kubelablan nodeName=myServery.com subsys=nodemanager
time="2024-06-19T13:21:59Z" level=info msg="Node updated" clusterName=kubelablan nodeName=myServerz.com subsys=nodemanager
time="2024-06-19T13:21:59Z" level=info msg="Node updated" clusterName=kubelablan nodeName=myServerw.com subsys=nodemanager
time="2024-06-19T13:21:59Z" level=info msg="Node updated" clusterName=kubelablan nodeName=myServerv.com subsys=nodemanager
time="2024-06-19T13:21:59Z" level=info msg="Policy Add Request" ciliumNetworkPolicy="[&{EndpointSelector:{\"matchLabels\":{\"k8s:io.kubernetes.pod.namespace\":\"test\"}} NodeSelector:{} Ingress:[] IngressDeny:[] Egress:[{EgressCommonRule:{ToEndpoints:[{\"matchLabels\":{\"k8s:io.kubernetes.pod.namespace\":\"kube-system\",\"k8s:k8s-app\":\"kube-dns\"}}] ToRequires:[] ToCIDR: ToCIDRSet:[] ToEntities:[] ToServices:[] ToGroups:[] aggregatedSelectors:[]} ToPorts:[{Ports:[{Port:53 Protocol:ANY}] TerminatingTLS:<nil> OriginatingTLS:<nil> ServerNames:[] Listener:<nil> Rules:0xc0002541c0}] ToFQDNs:[] ICMPs:[] Authentication:<nil>}] EgressDeny:[] Labels:[k8s:io.cilium.k8s.policy.derived-from=CiliumNetworkPolicy k8s:io.cilium.k8s.policy.name=test-cnp-dns k8s:io.cilium.k8s.policy.namespace=test k8s:io.cilium.k8s.policy.uid=3f445b8e-427e-418f-99d9-2755e738b2fb] Description:}]" policyAddRequest=55004d75-9480-4b3b-aa59-75aa0df5e775 subsys=daemon
time="2024-06-19T13:21:59Z" level=info msg="Policy imported via API, recalculating..." policyAddRequest=55004d75-9480-4b3b-aa59-75aa0df5e775 policyRevision=15 subsys=daemon
time="2024-06-19T13:21:59Z" level=info msg="Imported CiliumNetworkPolicy" ciliumNetworkPolicyName=test-cnp-dns k8sApiVersion=cilium.io/v2 k8sNamespace=test subsys=k8s-watcher
time="2024-06-19T13:21:59Z" level=info msg="Initializing identity allocator" subsys=identity-cache
time="2024-06-19T13:21:59Z" level=info msg="Allocating identities between range" cluster-id=0 max=65535 min=256 subsys=identity-cache
time="2024-06-19T13:21:59Z" level=info msg="Setting sysctl" subsys=sysctl sysParamName=net.ipv4.conf.cilium_host.forwarding sysParamValue=1
time="2024-06-19T13:21:59Z" level=info msg="Setting sysctl" subsys=sysctl sysParamName=net.ipv4.conf.cilium_host.rp_filter sysParamValue=0
time="2024-06-19T13:21:59Z" level=info msg="Setting sysctl" subsys=sysctl sysParamName=net.ipv4.conf.cilium_host.accept_local sysParamValue=1
time="2024-06-19T13:21:59Z" level=info msg="Setting sysctl" subsys=sysctl sysParamName=net.ipv4.conf.cilium_host.send_redirects sysParamValue=0
time="2024-06-19T13:21:59Z" level=info msg="Setting sysctl" subsys=sysctl sysParamName=net.ipv4.conf.cilium_net.forwarding sysParamValue=1
time="2024-06-19T13:21:59Z" level=info msg="Setting sysctl" subsys=sysctl sysParamName=net.ipv4.conf.cilium_net.rp_filter sysParamValue=0
time="2024-06-19T13:21:59Z" level=info msg="Setting sysctl" subsys=sysctl sysParamName=net.ipv4.conf.cilium_net.accept_local sysParamValue=1
time="2024-06-19T13:21:59Z" level=info msg="Setting sysctl" subsys=sysctl sysParamName=net.ipv4.conf.cilium_net.send_redirects sysParamValue=0
time="2024-06-19T13:21:59Z" level=info msg="Setting sysctl" subsys=sysctl sysParamName=net.ipv4.conf.cilium_vxlan.forwarding sysParamValue=1
time="2024-06-19T13:21:59Z" level=info msg="Setting sysctl" subsys=sysctl sysParamName=net.ipv4.conf.cilium_vxlan.rp_filter sysParamValue=0
time="2024-06-19T13:21:59Z" level=info msg="Setting sysctl" subsys=sysctl sysParamName=net.ipv4.conf.cilium_vxlan.accept_local sysParamValue=1
time="2024-06-19T13:21:59Z" level=info msg="Setting sysctl" subsys=sysctl sysParamName=net.ipv4.conf.cilium_vxlan.send_redirects sysParamValue=0
time="2024-06-19T13:21:59Z" level=info msg="Setting sysctl" subsys=sysctl sysParamName=net.core.bpf_jit_enable sysParamValue=1
time="2024-06-19T13:21:59Z" level=info msg="Setting sysctl" subsys=sysctl sysParamName=net.ipv4.conf.all.rp_filter sysParamValue=0
time="2024-06-19T13:21:59Z" level=info msg="Setting sysctl" subsys=sysctl sysParamName=net.ipv4.fib_multipath_use_neigh sysParamValue=1
time="2024-06-19T13:21:59Z" level=info msg="Setting sysctl" subsys=sysctl sysParamName=kernel.unprivileged_bpf_disabled sysParamValue=1
time="2024-06-19T13:21:59Z" level=info msg="Setting sysctl" subsys=sysctl sysParamName=kernel.timer_migration sysParamValue=0
time="2024-06-19T13:21:59Z" level=info msg="regenerating all endpoints" reason="one or more identities created or deleted" subsys=endpoint-manager
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x25c3346]

goroutine 260 [running]:
github.com/cilium/cilium/pkg/egressgateway.(*Manager).addEndpoint(0xc001626d80, 0xc001e3ee00)
        /go/src/github.com/cilium/cilium/pkg/egressgateway/manager.go:460 +0x286
github.com/cilium/cilium/pkg/egressgateway.(*Manager).handleEndpointEvent(0xc001a57ea8?, {{0x3944795, 0x6}, {{0xc001e960c0, 0x1e}, {0xc000b7a460, 0xc}}, 0xc001e3ee00, 0xc0010fe080})
        /go/src/github.com/cilium/cilium/pkg/egressgateway/manager.go:507 +0x5b
github.com/cilium/cilium/pkg/egressgateway.(*Manager).processEvents(0xc001626d80, {0x3f59438, 0xc00078c280})
        /go/src/github.com/cilium/cilium/pkg/egressgateway/manager.go:376 +0x425
created by github.com/cilium/cilium/pkg/egressgateway.newEgressGatewayManager.func

Anything else?
No response
Cilium Users Document

[X] Are you a user of Cilium? Please add yourself to the Users doc

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Thanks for the report @cdtzabra ! Looking at the panic, this PR should solve the (scheduled for backport).

Thanks !
Le ven. 28 juin 2024, 02:26, Nick Young @.***> a écrit :

Closed #33268 https://github.com/cilium/cilium/issues/33268 as
completed via #33311 https://github.com/cilium/cilium/pull/33311.
—
Reply to this email directly, view it on GitHub
https://github.com/cilium/cilium/issues/33268#event-13324749938, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AFJJEHQ4F653ZKYTQU6XW7DZJSUS3AVCNFSM6AAAAABJTOMG4SVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJTGMZDINZUHE4TGOA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Thanks for the report @cdtzabra ! Looking at the panic, this PR should solve it (also scheduled for backport).

Thanks !


Custom markdown support in editing mode.

In my use case, I would love to implement two behaviours:

When the user types a #hashtag it gets highlighted in the editor (a word without a space after hash so that it differentiates from header)
When the user starts typing a hashtag a typeahead suggestion appears.

Is it possible to implement this behavior in the v.1.9.0 of SimpleMDE?

Not out of the box, no. But if you created a CodeMirror plugin, then forked this repository and modified SimpleMDE to load that plugin, I bet you could achieve this functionality.

Ok, thanks for showing me the direction.
Greets!


Run npm install in cd

@pkong-ds Just curious, how did we deploy before if the CD didn't work

@YayunHuang I think npm ci will run npm install if it found node_modules/ have missing packages according to package.json


Add Basic Enemies

Enemies will have a basic physics implementation, moving left or right and changing their movement direction when they hit a wall, no AI whatsoever.

[ ] Gravity
[ ] Walking
[ ] Bouncing

@NathanLovato can we add support for VisibilityEnabler on them, so they only start moving when they are inside the screen?

Should we add support for enemies to increase the player's score as well, scoring will already be implemented in #6 so I think it will be nice to have it on enemies as well.


Collected notes/issues #3

Page Curl. Page curl needs general update. Scrolling is weird. Would be helpful to add code to search the page for template[for="page-curl"] on load and add it to the bottom of the page curl if it's there.
Gs-memo. Firefox does not interpret the rows attribute correctly. Setting the gs-memo height to initial seems to help.
Templating engine. Would be helpful to build intelligent error checking. Right now, if there's a syntax error, the error message isn't useful.
Templating engine. Allow templating to have conditionals around attributes. Right now, this is disrupted by the code that adds the "value" attribute (value="{{! row.COLUMNNAME }}") if there's a "column" attribute. It does this by parsing the DOM and using selectors/setattribute to get the work done. By parsing the DOM, the browser destroys the templating around attributes. So, we need to update to a text-only way of generating the "value" attributes. Here's an example of an template that would break: <gs-button {{? row.id === 5 }} data-conditionally-applied-attribute="test" {{?}}>test</gs-button>
Gs-table. After update, we're losing cursor positioning. Make sure to refocus correct control and to reset cursor position.
Gs-date. Right now, gs-date is very slow. If we have a bunch of them in one form-custom control, it slows down display significantly. To test, try having a form, or form-custom load with 5 date columns and about 200-300 records.

Page Curl:
I have implemented id="page-curl". "id" rather than "for" is more consistent with how templates are handled in the gs-dialog.
I have also fixed the scrollbar appearing. It will resize for however many buttons you add.
GS-MEMO:
This has been a bug in firefox for 23 Years. https://bugzilla.mozilla.org/show_bug.cgi?id=33654.
I was able to work around it by setting height: inherit; on the textarea. This seems to work fine on edge and firefox.
GS-DATE:
I was unable to find what about the element makes it so slow. I spent an hour poking through optimizing and commenting out sections but couldn't improve speed at all. I'm guessing that having around 2000 elements on the screen is not very fast. Maybe try the gs-table.

GS-TABLE: This has already been fixed. If there is a specific situation where it doesn't refocus please report it with details.
Templating engine:
I leave the errors to Michael as he will be making a new version of the templating code.
As far as templating attributes: This has to do with the fact that any element (including the commented ones inside gs-data) eventually (if not immediately) will get parsed by the browser. This adds in a bunch of ="" to anything the browser thinks is a lonesome attribute, which breaks the template parsing. So even testing on elements without value or column attributes, it won't work.
GS-DATE:
Some more testing revealed that the internal elements were slowing it down drastically. I began to add the normal "defer-insert " code, and tested a few different levels of it. With 2000 gs-dates load times were:
Input and Button: Twenty Seconds
Input: Two Seconds
Text node: Two Seconds
Since changing between a text node and input complicates the element significantly, and the load times for 2000 were the same, I decided to make defer-insert only remove the button. It will add the button on hover or focus, and remove it when unfocused and unhovered.


WinMD: replace heap refs with database in iteration

Provide a reference to the database to the iterator.  This is needed
since the iterator requires the ability to inspect not only the current
table but other tables in the database in order to compute runs which
have have a foreign key constraint that needs to inspect the maximal
count for the foreign table.

Codecov Report

Merging #117 (1be2827) into main (365caf4) will increase coverage by 0.01%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main     #117      +/-   ##
==========================================
+ Coverage   12.80%   12.82%   +0.01%
==========================================
  Files          54       54
  Lines        1132     1131       -1
==========================================
  Hits          145      145
+ Misses        987      986       -1

Impacted Files
Coverage Δ

Sources/WinMD/Database.swift
0.00% <0.00%> (ø)

Sources/WinMD/Iteration.swift
0.00% <0.00%> (ø)

Sources/WinMD/Table.swift
0.00% <0.00%> (ø)

Sources/WinMD/Tables/TypeDef.swift
0.00% <0.00%> (ø)

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 365caf4...1be2827. Read the comment docs.


Session 4 exercises

Added a first version of the exercises to be presented on March 2nd. Plus added a few stuff in the .gitignore to avoid pushing hidden and temporary files (they are usually not to be shared between people).

I guess we can accept the pull request tomorrow  so that the exercises become available on Tuesday (one week before the next class)

Closing this one as I'm opening another more complete one.


Same UPN in multiple domains

Example:
Six different domains connected to a single Azure AD connect server placed in a DMZ (Azure VM).
Is it a supported scenario to add the same UPN suffix under Domains and Trust for each of these domains? So contoso.com could be used locally in each of these AD domains.
I know it works technically. But is it supported is my question? Having trouble finding good answers to this question online.
Thanks in advance!

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

ID: 0562f646-ef99-e341-e2fc-fcc3eed44d15
Version Independent ID: 1fc5ebad-f1b3-babe-f492-c6c888c7781a
Content: Azure AD Connect: Supported topologies
Content Source: articles/active-directory/hybrid/plan-connect-topologies.md
Service: active-directory
Sub-service: hybrid
GitHub Login: @billmath
Microsoft Alias: billmath

@mashed6 please link the document that you are following so that I can better assist.

@mashed6 please link the document that you are following so that I can better assist.

Hi, i have not found this in any documentation yet, which is why im asking the question. I guess the closest documentation i can find would be:
https://docs.microsoft.com/en-us/azure/active-directory/hybrid/plan-connect-topologies
/

I've reached out to the product team to ask. I would think your SSO solution might get confused by this but I'm not certain. I suspect like you said that it works technically but might not be supported.

Thanks, i Will wait for a response!
Mvh
Kim Nordqvist
Sent from mobile

From: Marilee Turscak - MSFT<EMAIL_ADDRESS>Sent: Tuesday, November 19, 2019 11:32:56 PM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: mashed6<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Same UPN in multiple domains (#42922)
I've reached out to the product team to ask. I would think your SSO solution might get confused by this but I'm not certain. I suspect like you said that it works technically but might not be supported.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/42922?email_source=notifications&email_token=ANZAJYQAH2BOJVFONVVU5I3QURSRRA5CNFSM4JN36LCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEQAQFA#issuecomment-555747348, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANZAJYTUA6SOJXXS5ELWWUDQURSRRANCNFSM4JN36LCA.

Reply from the PG: I have never faced this scenario, but taking into account this scenario I think that having different UPN suffixes is mandatory:

A DNS domain can be registered in only a single Azure AD tenant. The UPNs of the users in the on-premises Active Directory instance must also use separate namespaces. For example, in the preceding picture, three separate UPN suffixes are registered in the on-premises Active Directory instance: contoso.com, fabrikam.com, and wingtiptoys.com. The users in each on-premises Active Directory domain use a different namespace.

However, the scenario in which this is mentioned is not exactly the one you have.

Hope this helps! It seems that it is not officially supported. If you have further questions feel free to tag me in the comments and I will gladly continue the discussion.


FR: Support for reload/refresh page event

Hello.
Possible to have similar automation event as "close_popup" for reload/refresh page?
Like browser mod: refresh
Will be handy to update multiple dashboard with kiosk app on IOS.

What is kiosk app on iOS? I know in fullykiosk you can refresh page from ha

@matt8707
Hello
I'm using Kiosk - Fullscreen Browser https://apps.apple.com/us/app/kiosk-fullscreen-browser/id1544947623
Unfortunately Fully Kiosk Browser is only available on Android.
I supposed the Kiosk app and various browsers on iOS do not have the feature as Fully Kiosk Browser due to Apple's restriction.


Validate sitewhite list and blacklist.

Shouldn't be able to set the site whitelist and blacklist for the same site.

From the discussions I had so far, it seems people would prefer to get an intersection of them instead of completely different lists. So we either:
a) add validation not to have duplicate site in both lists
b) (whitelist - blacklist) https://github.com/dmwm/WMCore/blob/master/src/python/WMCore/WorkQueue/WMBSHelper.py#L307 , and don't inject valid=False into wmbs anymore

I was wondering why people set the same site for both black and white list. If it is just a human mistake we can validate when the site list is set.

It was not a mistake, but that's how Jean-Roch understood these site lists would work (intersection).
For me it also makes no sense saying that "I want a beer" and at the same time "I do not want a beer" :-)


question: What's the status of dropping the binary package?

Hi, our company uses the binary library heavily to encode and decode our custom made binary protocol over UDP.
I came across the issue where @rsc proposed to drop the binary package altogether.
As you already guessed, this will be a real problem for us. As we're planning to write more custom binary protocols for our internal use. And if the binary package is dropped, we got a real headache already.
So, may I know what's the final decision? And if you're gonna drop it, what should people like us do?
Thanks.

I came across the issue where @rsc proposed to drop the binary package altogether.

No such thing.
You're probably thinking of #28152 (cmd/go: drop support for binary-only packages), which is a completely different thing (it's about binary-only Go packages, without source code). The encoding/binary package that you're using is not going anywhere. And it couldn't: Go has a strict backward compatibility promise:

It is intended that programs written to the Go 1 specification will continue to compile and run correctly, unchanged, over the lifetime of that specification.

Your programs using encoding/binary are safe, and they'll keep working in the future.


VS Code messes with Linux places paths. VS Code is opened instead of system path.

The "Places" extension is a really popular extension that adds a menu for quickly navigating places in the system. It is activated by default on most Linux Gnome distributions.
After installing VS Code, anything opened using the "Places" extension opens VS Code instead of the default folder / path.

VSCode Version: 1.19.1-1 (official binary version)
OS Version: Antergos Linux 17.12

Steps to Reproduce:

Install VS Code
Make sure you have the "Places" extension activated
Using the places menu in the top bar, open any location (Home, Documents, etc...)

Actual result:
VS Code opens.
Expected result:
System path/folder/place is opened.

Just wanted to follow up on this issue because I get the same behavior.
It also happens when using xdg-open to open a directory (e.g. xdg-open ~).
I also set nautilus as the default for inode/directory
➜ xdg-mime default nautilus.desktop inode/directory

➜ xdg-mime query default inode/directory
nautilus.desktop

but it still doesn't work.
Then I looked for the distribution-provided defaults for inode/directory
➜ cat /usr/share/applications/mimeinfo.cache | grep inode/directory
inode/directory=visual-studio-code.desktop;org.gnome.Nautilus.desktop;

and it seems the order here does matter, changing it to
inode/directory=org.gnome.Nautilus.desktop;visual-studio-code.desktop;

fixes the issue.
Sadly I'm not an expert in this field so I can't tell you if you can influence this or if this needs to be done after every update (I hope not because vs code is still registered).
It might be even a issue with gio (used here) and opening directories.
Because it works for text/plain as expected
➜ xdg-mime query default text/plain
gedit.desktop

➜ cat /usr/share/applications/mimeinfo.cache | grep text/plain
text/plain=visual-studio-code.desktop;org.gnome.gedit.desktop;

➜ xdg-open ~/some.txt

Copying over my response from https://github.com/Microsoft/vscode/issues/44344

This is happening due to this line in the .desktop file:
https://github.com/Microsoft/vscode/blob/master/resources/linux/code.desktop
Which tells the system (and nautilus) that VS Code knows how to open folders.
If anyone knows how to do this in such a way that it is marked as low priority I'd love to hear it, I'm not sure how to "fix" this without removing VS Code's integration for opening folders right now.

Copying over my response from https://github.com/Microsoft/vscode/issues/44344

This is happening due to this line in the .desktop file:
https://github.com/Microsoft/vscode/blob/master/resources/linux/code.desktop
Which tells the system (and nautilus) that VS Code knows how to open folders.
If anyone knows how to do this in such a way that it is marked as low priority I'd love to hear it, I'm not sure how to "fix" this without removing VS Code's integration for opening folders right now.

I'm answering here instead of #44344.
@Tyriar I don't think it is really an issue with VS Code.
You are registering VS Code to for both text/plain and inode/directory
https://github.com/Microsoft/vscode/blob/fd08d32b40c8a9ff56777265bce3c385008c3cb1/resources/linux/code.desktop#L11
And as I mentioned before text/plain works as expected even though it is registered the same way.
I think this is a bug with inode/directory not using the default application but the first one registered for it.
I'm not sure where this should be reported instead, but I don't think you can do something about it (except for not registering inode/directory).

Just verified this by installing another file manager (vifm).
Same problem, opening a directory with xdg-open or places uses the first entry for inode/directory instead of the default:
➜ xdg-mime query default inode/directory
nautilus.desktop

~
➜ cat /usr/share/applications/mimeinfo.cache | grep inode/directory
inode/directory=vifm.desktop;visual-studio-code.desktop;org.gnome.Nautilus.desktop;

~
➜ xdg-open ~/Documents

Thanks for looking into it @DerTieran, I'll close this off as you suggest since it looks like something in the OS is misbehaving

I know the issue is closed but the problem still affects me and I want to add some info here in case someone else stumbles upon this issue.
Note: I'm also using Gnome-shell (3.26.2) on Antergos, like the OP, and I don't recall having the problem on Ubuntu, so the problem is likely to affect Antergos and maybe Arch Linux.
The standard for default applications is to look for the first entry in one of several mimeapps.list files; if the first entry isn't available (uninstalled, etc.), the next is tried. Order does matter. On my machine, I have a ~/.config/mimeapps.list file, but it does not contain any entries for inode/directory, and there are no other mimeapps.list files that are checked. There are, however, mimeapps.cache files, which are generated automatically from the .desktop files, meaning the default depends on the order they are automatically added (maybe by the timestamp of the .desktop file?). See the Arch wiki article about Default_applications#Desktop_entries for an explanation about the mimeapps.cache files.
Changing the mimeapps.cache file is only a temporary solution, since it gets regenerated. Instead, add an entry into the .config/mimeapps.list file (as described in this Antergos forum post), creating the file if necessary:
[Default Applications]
inode/directory = org.gnome.Nautilus.desktop

(or just the second line if there is already a [Default Applications] section; and change the .desktop file if you prefer a different default)
I think this is indeed a problem with the distribution and not VSCode

Should be fixed in Antergos (see https://github.com/Antergos/antergos-packages/issues/299)
Update your packages and test (but see here if you have trouble: https://forum.antergos.com/topic/9464/antergos-gnome-defaults-list)

Thanks @goodmami!


client.ack is not a function

Hi there,
I'm getting the following error when running the example code for node-stomp https://github.com/gdaws/node-stomp/blob/master/README.md
TypeError: client.ack is not a function
    at /home/david/tmp/node_stomp/app.js:50:14
    at IncomingFrame.<anonymous> (/home/david/tmp/node_stomp/node_modules/stompit/lib/IncomingFrameStream.js:488:5)
    at emitNone (events.js:72:20)
    at IncomingFrame.emit (events.js:166:7)
    at endReadableNT (_stream_readable.js:913:12)
    at nextTickCallbackWith2Args (node.js:442:9)
    at process._tickCallback (node.js:356:17)

nodejs version 4.4.3
stompit version 0.22.0
Looking at the API it seems the ack() is something which should be called on the message rather than the client, and changing from client.ack(message) to message.ack(); resolved the issue. Might be a case of documentation/code desync.

Yeah it's a case of documentation/code desync. The documentation in README.md in the master branch isn't compatible with the API in version 0.22.0.
The client.ack function is introduced in version 0.23.0


Last Week in Pony - August 25, 2019

Audio from the August 13, 2019 Pony development sync call is available.

RFCs: https://github.com/ponylang/rfcs/pulls

Audio from the August 20, 2019 Pony development sync call is available.

Audio from the August 13, 2019 Pony development sync call is available.

Version 0.0.3 of crypto has been released.
See the release notes for more details.

Version 0.0.4 of crypto has been released.
See the release notes for more details.

Version 0.0.5 of crypto has been released.
See the release notes for more details.

If you're going to Strange Loop there's a #pony-lang channel in the conference Slack. Come on it and say hello.
I've also proposed a Pony Unsession, so if you're interested in something like that please vote by adding your name.


Sentry integration

Raven is currently phasing out in favor of Sentry SDK, which also
supports newest versions of Python and Django. Our project will be
updated to Django 3 later, so we want to use packages that support
that.

Remove Raven
Add Sentry SDK
Configure Sentry SDK in settings
Add debug path for sentry

Refs: LIIK-54

Codecov Report

Merging #31 into master will decrease coverage by 0.04%.
The diff coverage is 50%.

@@            Coverage Diff             @@
##           master      #31      +/-   ##
==========================================
- Coverage   96.18%   96.14%   -0.05%
==========================================
  Files          43       43
  Lines        2465     2465
  Branches       60       62       +2
==========================================
- Hits         2371     2370       -1
+ Misses         86       85       -1
- Partials        8       10       +2

Impacted Files
Coverage Δ

city-infrastructure-platform/urls.py
86.66% <0%> (-2.99%)
:arrow_down:

city-infrastructure-platform/settings.py
83.92% <60%> (-0.29%)
:arrow_down:

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 f326e12...620e507. Read the comment docs.


[Symfony] adding CVE-2015-4050

:+1:

Thank you @xabbuh.

The beta symfony 2.7 releases are also affected by this too arn't they?

Symfony 2.7 hasn't been released yet and the fix will be included in the first stable release.
http://symfony.com/blog/cve-2015-4050-esi-unauthorized-access

There are still "tagged releases" of 2.7 though?

yeah good point. should be added.

Thanks for the heads up @GrahamCampbell (see #72 for the update).


Handling a case when file with a matching name is imported

Describe the bug
At the moment attempt importing a file into a directory that contains file with a same name will eventually throw an exception when imported file is copied to the destination & crash the program (as reported by @rafaelramalho19)
https://github.com/ipfs-shipyard/ipfs-webui/pull/1655/files
Expected behavior
We should figure out a way to handle name collisions, rather than swallowing an error or logging it into a console.

We could check for name collisions prior we even start import.
We could deal with name collisions as they occur, similar to how OSs do e.g. suffix with a number.

Screenshots

Additional thought: rather than increment numbers, perhaps use something like the last 4(?) characters of the file's hash.

Related file overwrite issues (cc @rafaelramalho19):

https://github.com/ipfs-shipyard/ipfs-webui/issues/1612
https://github.com/ipfs-shipyard/ipfs-webui/issues/1667

Closing in favor of https://github.com/ipfs/ipfs-webui/issues/1612 which includes mentioned mockups and further discussion.


chore(renovate): Setup renovate to create PRs against staging

This still needs to go into main to make it work, but later on we should make all PRs to staging

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


Company Communicator - Message is stuck on installing app

I have installed the latest version of the Company Communicator author application to a specific Team. I have uploaded the user app to the Teams catalogue and made it available through app permission policy to a single user. I want to test sending to all users but only have a single user that is allowed to install the app. ProactivelyInstallUserApp is set to true.
I have successfully sent to the user by sending to a specific AD group and the adaptive card was received, however, if I send to all users, the users has not received the message and in sent messages, the message shows a status of installing apps with no recipients and no errors.

@medicineshow There was issue with this scenario and have been fixed with this #509. Closing this for now.

can you please point me to upgrade instructions?


Documentation on how to embed a video or image that is hosted on IPFS.

I cannot seem to find how to embed content that is hosted on IPFS. It would be helpfull to know how to embed a video on a page. Simply using an ipfs link like "ipfs://hash" does not seem to work.

@PurgingPanda  short answer is you use URL pointing at a public gateway: https://<your-domain>/ipfs/QmbWqxBEKC3P8tqsKc98xmWNzrzDtRLMiMPL8wBuTGsMnR.
This way everyone will be able to load the content over HTTP, even people without IPFS client.  By using HTTP gateway you can add content to IPFS but load it using well-known HTTP semantics.  You can run go-ipfs on your own server, or  point at one of public gateways.
If you want to truly decentralize the distribution of your videos, you can either:

ask users of your website to install IPFS Companion browser extension (it will then automatically detect /ipfs/<cid> resources and redirect them to user's local node),
or set up service-worker-gateway to hijack requests for /ipfs/<cid> paths on your website and load it via js-ipfs (you can see Service Worker Gateway demo at http://js.ipfs.io/)

ps. I am closing this issue as this repository is not the best place for Q&A. To ask questions, discuss new ideas, or get support for problems check https://discuss.ipfs.io You can also hop on IRC (#ipfs on Freenode) for a quick chat.


Some problems of using fp16 to reduce memory consumption

Hi,
I used my own QSAR model, but it was out of memory
I want to use apex for fp16 mixed precision calculation
There is a statement when using apex：  model, optimizer = amp.initialize(model, optimizer, opt_level="O1")
I'm a little confused about using those two parameters instead of model and optimizer
Look forward to your reply
sincerely

Hi, Im not really sure where is the place in the code where this takes place. Could you please direct us to the line, related to the problem?
I should point out that the provided code runs only with scikit-learn models with certain types of fingerprint calculations. Which fingerprint type and parameters is your model using?
The code for the supported FP types is here .


FunctionExampleGroup#catalogue inconsistency

FunctionExampleGroup#catalogue somehow differs from how other example groups implement this property. I've written up my current state of research at https://github.com/DavidS/rspec-puppet/commit/5a85f279b13028ed7d24715b1f92e4438eba23b7

I believe #475 resolves the problems noted in your linked commit, so I'm going to close this for now, but please re-open if I've missed part of it.


ovh-angular-timeline

Migrate ovh-angular-timeline component
The goals of the migrations is:

Drop the Bower support
Apply ESLint Airbnb rules
Provide clean and concise README file.

We might consider using the share rollup configuration (cf: component-rollup-config)
Requirements
👀 Does the component is still used?

yes! on ovh-manager-telecom ony.

💅 Does the component must be renamed?

yes! must be renamed to ng-ovh-timeline

🚨 Does the component has a dependency to another pending migration?

no.

⚓ Related pull request
Please list here the related pull request.

Listing of usage from following directives:

timeline
timeline-event
timeline-badge
timeline-panel
timeline-heading
timeline-footer

On ovh-ux/ovh-manager-telecom:
client/app/telecom/pack/xdsl/orderFollowUp/pack-xdsl-orderFollowUp-main.view.html:

Since the import of the current controls panels as started, the migration of this component isn't a top requirement so that's why I close this ticket in order to turn off the associated project.
Thanks!


Error while trying to create new-container using generic image

Hey Guys,
I'm receiving an error while trying to create image 1904-cu1-w1 wile using generic 1903 image.
If i try the same with rtm version container onprem:1904-rtm-w1, all works fine.
New-NavContainer -accept_eula `
                 -containerName "testeett" `
                 -imageName "mcr.microsoft.com/businesscentral/onprem:1904-cu1-w1"  `
                 -includeCSIDE `
                 -doNotExportObjectsToText `
                 -shortcuts Desktop `
                 -useGenericImage "mcr.microsoft.com/dynamicsnav:generic-1903"

Here are the log & error messages:
NavContainerHelper is version <IP_ADDRESS>
Host is Microsoft  - 1903
Docker Client Version is 18.09.2
Docker Server Version is 18.09.2
Using image mcr.microsoft.com/businesscentral/onprem:1904-cu1-w1-ltsc2019
Removing container testeett
Removing C:\ProgramData\NavContainerHelper\Extensions\testeett
Creating Container testeett
Version: 14.1.32615.0-W1
Platform: 14.0.32600.0
Generic Tag: <IP_ADDRESS>
Container OS Version: 10.0.17763.503 (ltsc2019)
Host OS Version: 10.0.18362.207 (1903)
Using generic image mcr.microsoft.com/dynamicsnav:generic-1903
Generic Container OS Version: 10.0.18362.175 (1903)
Generic Tag of better generic: <IP_ADDRESS>
WARNING: The container operating system matches the host operating system, but the revision is different.
If you encounter issues, you might want to specify -isolation hyperv
Using locale en-US
Using process isolation
Overriding default functionality to dump eventlog in container log every 2nd second. (use -dumpEventLog to av//oid this)
Files in C:\ProgramData\NavContainerHelper\Extensions\testeett\my:
- AdditionalSetup.ps1
- MainLoop.ps1
Creating container testeett from image mcr.microsoft.com/dynamicsnav:generic-1903
fb4a56a75f4f647962a83af7fb9b6d0f7637812af739550a55ea32afdab44a98
Waiting for container testeett to be ready
Installing Business Central
Installing Url Rewrite
Installing OpenXML
Installing DotNetCore
Cannot validate argument on parameter 'FilePath'. The argument is null or empty. Provide an argument that is not null or empty, and then try the command again.
at <ScriptBlock>, C:\Run\navinstall.ps1: line 43
at <ScriptBlock>, C:\Run\start.ps1: line 114
at <ScriptBlock>, <No file>: line 1Error
Installing Business Central
Installing Url Rewrite
Installing OpenXML
Installing DotNetCore
Cannot validate argument on parameter 'FilePath'. The argument is null or empty. Provide an argument that is not null or empty, and then try the command again.
at <ScriptBlock>, C:\Run\navinstall.ps1: line 43
at <ScriptBlock>, C:\Run\start.ps1: line 114
at <ScriptBlock>, <No file>: line 1
Initialization of container testeett failed
At C:\Program Files\WindowsPowerShell\Modules\navcontainerhelper\<IP_ADDRESS>\ContainerHandling\Wait-NavContainerReady.ps1:45 char:17
+ ...             throw "Initialization of container $containerName failed" ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (Initialization ...testeett failed:String) [], RuntimeException
    + FullyQualifiedErrorId : Initialization of container testeett failed

Try to delete this folder: "C:\ProgramData\NavContainerHelper\14.1.32615.0-W1-Files" (and the other *-Files folders and try again.
BTW - instead of using a specific generic image, you can specify -usebestcontaineros - then it will determine which generic container to use.

Hey @freddydk,
Thanks for the suggestion. Deleting those files solved the problem. Container is created correctly now.


error when php migrate refresh

when I run php artisan migrate:refresh
I got error like this
 [ErrorException]
  Argument 2 passed to Illuminate\Database\Schema\Blueprint::build() must be
  an instance of Illuminate\Database\Schema\Grammars\Grammar, null given, cal
  led in /Users/adityabudiutomo/Documents/project/web/getboards/vendor/larave
  l/framework/src/Illuminate/Database/Schema/Builder.php on line 239 and defi
  ned

Here's a patch I used to temporarily fix this
--- vendor/jenssegers/mongodb/src/Jenssegers/Mongodb/Schema/Builder.php.orig	2017-02-03 19:08:43.684919355 +0100
+++ vendor/jenssegers/mongodb/src/Jenssegers/Mongodb/Schema/Builder.php	2017-02-03 19:08:14.395483413 +0100
@@ -128,6 +128,19 @@
         return $blueprint->drop();
     }

+	/**
+	 * Drop a collection from the schema, if present.
+	 *
+	 * @param  string  $collection
+	 * @return void
+	 */
+	public function dropIfExists($collection)
+	{
+		if ($this->hasCollection($collection)) {
+			$this->drop($collection);
+		}
+	}
+
     /**
      * Create a new Blueprint.
      *

How were you able to connect to the database in the first place. I can't do php artisan migrate. COuld you please help?

@migaliza This doesn't belong here, but - here's some ideas:

make sure you have use Jenssegers\Mongodb\Schema\Blueprint; in the migration file
check that you selected mongodb as the DB to use in the config file

"can't do php artisan migrate" is really vague, next time please post the actual error you got.

Thank you @MightyPork. Here is the exact error I am getting:
[Symfony\Component\Debug\Exception\FatalThrowableError]
Parse error: syntax error, unexpected '('

@MightyPork  your answer is useful

I've got a similar issue, can't do php artisan migrate and I get the follow error:
[MongoDB\Exception\InvalidArgumentException]
$collectionName is invalid:
I'm just doing a simple schema create at the moment, any ideas?

I think it is better to replace dropIfExists with drop in your migrations or implement the dropIfExists logic using drop and hasCollection method like @MightyPork in your migrations.

a year and half later, I'm still using my "temporary" patch. @jenssegers is this closed because it's fixed, or...?

make sure you are using Jenssegers\Mongodb\Schema\Blueprint
and replace Schema::dropIfExists with Schema::drop()

@MightyPork I have the same problem.I replace Schema::dropIfExists() with Schema::drop() , and it works.


Use from_logits parameter to ensure crossentropy loss functions are compatible with activations of output layer.

This attempts to fix #4744. Feels pretty hacky, though.

My other pull request just raises an error and I think it's a better solution.


Do we need enable Dnsmaq's tftp?

Hi friends, I found that the dnsmasq has been enabled tftp. do we really need it?
interface=bond1
except-interface=lo
bind-dynamic
enable-tftp
tftp-root=/shared/tftpboot
log-queries

Yes. TFTP is needed to bootstrap iPXE because very few hardware models have iPXE built into them (if any at all, to be honest).


fix(observable): inner property should be non-enumerable

Fix https://github.com/aurelia/binding/issues/505.

Why is the inner property on the prototype instead of the instance?

@Gheoan nice! This looks good to me.
@jods4, thoughts?

@Gheoan because target is the prototype of the class for non-static members, that is expect.
I have not run the code, but I think it doesn't work.
Please add a test that checks if the backing field is still non-enumerable after its value has been changed by client code.

has that been tried with babel?

@Gheoan can you add the test @jods4 requested, assuming it passes we can merge.
Thank you both for all of your work on this!

Added more tests. @jods4 let me know if this looks good.

@Gheoan I am not sure the Object.propertyIsEnumerable() test is good enough. It does always return false for properties inherited from prototypes.
When I was prototyping what you've done, I was worried because of this code:
function X() {}
Object.defineProperty(X.prototype, 'y', { configurable: true, enumerable: false, writable: true });
var x = new X();
x.y = 42;
Object.propertyIsEnumerable(x, 'y'); // -> false
for (k in x) console.log(x); // -> 'y'
JSON.stringify(x);  // -> { "y": 42 }

@jods4 In the example from your comment:

on line 2 a non-enumerable property is created on the prototype of Function object X (capital).
on line 4 a property is created on the object x. Properties created this way are enumerable by default (see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Enumerability_and_ownership_of_properties).
line 5 is not quite right. The rigth way would be x.propertyIsEnumerable('y') which is true because of line 2.

I will check to be sure that SetterObserver does create the accesors on the right object to prevent what happens on line 2 of your example.

Changed tests to reflect my comment above.

@Gheoan but isn't it exactly what happens in the decorator code?
Reflect.defineProperty(target, innerPropertyName, {
configurable: true,
enumerable: false,
writable: true
});

Here target is the prototype of the class, right?
descriptor.set = function(newValue) {
  let oldValue = this[innerPropertyName];
  this[innerPropertyName] = newValue;
  if (this[callbackName]) {
    this[callbackName](newValue, oldValue, key);
  }
};

And here, the first time the value is set, this[innerPropertyName] will create an enumerable property directly on the instance?

Right, I changed the setter to use target instead of this and added a test.

@Gheoan target cannot be used can it? Wouldn't that make all instances of the class have the same value because target is the prototype?

Did some changes. The private property is added first to the prototype, then to the instance. It is nonenumerable in both cases.

@Gheoan Clever! JS is so tricky sometimes... so you set the property value normally so it works on both direct access and getter/setters, and then set only the enumerable flag to false to hide it. I guess that works in all cases, good idea.

@Gheoan thanks for all the hard work 👍


Highlighting messages when action required

User Stories
As a User I want have a visual indicator for events that require action in order to answer them and don't overlook them in my notification view.
Dependencies
Depends on:

#30

UI Mockup

Context
This includes events like lend requests, upcoming returns, waitlist updates, etc.
Acceptance Criteria

[ ] Notification should be highlighed if it requires action
[ ] Notification should not be highlighted any more when action has been taken (we do not need to implement the actions, this will be done in the stories for the specific events)

Sort with message type (requires action or does not require action) and not date. Secondary date

There will be a separate story for the design since this is not yet discussed with the customer

Reviewer: @kohlros


Support generate mgmt sdk from tsp

pending on https://github.com/Azure/typespec-azure/pull/3478

@msyyc can you get this green for tomorrow? tcgc has been released

Almost green. Only some lint error left (e.g. line-too-long) but not big issue. I can update it in other PR