Free chat room restriction to logged in users only

Hi:)
I wonder whether the above mentioned subject can be restricted to logged in users only?
Free chat brings bad element
Thank you

Hello I ask myself the same question unfortunately there is that flashcoms community chat which does that which is unfortunately paid

Thank you
Any Chat suggestions that can be used instead and be restricted to
logged in users only?
Thank you
On 2020/04/14 01:55 pm, randomtech2 wrote:

Hello I ask myself the same question unfortunately there is that
flashcoms community chat which does that which is unfortunately paid
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/pH7Software/pH7-Social-Dating-CMS/issues/740#issuecomment-613398808,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AATO5KI4GMFJ52HZF77LRUDRMRFMDANCNFSM4MHA2EPA.

@randomtech2 There's a possible user who had a solution. Ask Undefined-Variables or search closed issue.

@randomtech2 You can get a free Amazon Chime

@polynamaude yes if i am not mistaken it is this closed solution https://github.com/pH7Software/pH7-Social-Dating-CMS/issues/612

You can restrict any page to logged in members only by adding
{if $is_user_auth}

<Normal Page Content>

{else}
<?php header("location:../../../login");
 ?>
exit();
{/if}

Also if you set up the chat properly you can have usernames pulled over and used in the chat room. There is a full wiki on HTML5 Chat's website.

I have HTML5 Chat for users set up and working, usernames are also carried accross... I will write a wiki page explaining how to set it up properly in the next few days.


Termination issues since update to 0.5.41

Since updating to version 0.5.41, we see termination failures like
Size:407 (i,b,hw,edge,ip,cmp): 0/0/0/3/0/1, Tot:0/0/0/8005/15/167155
Entering phase 2/2: Dynamic Main
Size:788 (i,b,hw,edge,ip,cmp): 0/0/0/0/0/3, Tot:0/0/0/8005/15/167158
Terminating thread no. #0, left: 3
Terminating thread no. #2, left: 1
[2019-02-18T13:16:27+0000][W][14] main():254 pthread_kill(thread=0, SIGUSR1): Interrupted system call
[2019-02-18T13:16:27+0000][W][14] main():254 pthread_kill(thread=2, SIGUSR1): Interrupted system call
Terminating forcefully

repeatedly in our CI. We don't think that anything changed on the host that runs the fuzzing job but more importantly we are not sure where to start investigating. Any ideas what could have caused this?

Maybe also of note, we have configured this job for a fixed number of iterations and see these failures when that number is presumably reached and the  fuzzer should shut down gracefully.

Maybe updating upstream honggfuzz could be promising as it contains a few commits related to signal handling?

Hi @adam-rhebo,
I have no idea where it came from and how to reproduce.
But it seems that upstream went through significant changes.
I just released a new version with updated upstream, 0.5.42, could you check if it is now resolved?

I just released a new version with updated upstream, 0.5.42, could you check if it is now resolved?

Will do.

Seems to have done the trick:
Size:3942 (i,b,hw,edge,ip,cmp): 0/0/0/0/0/1, Tot:0/0/0/6703/14/141865
Size:979 (i,b,hw,edge,ip,cmp): 0/0/0/0/0/1, Tot:0/0/0/6703/14/141866
Size:463 (i,b,hw,edge,ip,cmp): 0/0/0/0/0/1, Tot:0/0/0/6703/14/141867
Terminating thread no. #1, left: 4
Terminating thread no. #2, left: 3
Terminating thread no. #0, left: 3
[2019-02-19T19:30:44+0000][W][91] pingThreads():201 pthread_kill(thread=0, SIGUSR1): Success
[2019-02-19T19:30:44+0000][W][91] pingThreads():201 pthread_kill(thread=1, SIGUSR1): Success
[2019-02-19T19:30:44+0000][W][91] pingThreads():201 pthread_kill(thread=2, SIGUSR1): Success
[2019-02-19T19:30:44+0000][W][91] pingThreads():201 pthread_kill(thread=0, SIGUSR1): Success
[2019-02-19T19:30:44+0000][W][91] pingThreads():201 pthread_kill(thread=1, SIGUSR1): Success
[2019-02-19T19:30:44+0000][W][91] pingThreads():201 pthread_kill(thread=2, SIGUSR1): Success
Terminating thread no. #3, left: 1
[2019-02-19T19:30:44+0000][W][91] pingThreads():201 pthread_kill(thread=0, SIGUSR1): Success
[2019-02-19T19:30:44+0000][W][91] pingThreads():201 pthread_kill(thread=1, SIGUSR1): Success
[2019-02-19T19:30:44+0000][W][91] pingThreads():201 pthread_kill(thread=2, SIGUSR1): Success
[2019-02-19T19:30:44+0000][W][91] pingThreads():201 pthread_kill(thread=3, SIGUSR1): Success
Summary iterations:10000004 time:1395 speed:7168


The warning bell plays when clicking "revert changes" even with all audio cues disabled

Type: Bug
Just have any changes in a file and click the revert changes button in the source control tab.
The expected result is that when I disable every single audio cue in the app, the app stops yelling at me.
VS Code version: Code 1.84.2 (1a5daa3a0231a0fbba4f14db7ec463cf99d7768e, 2023-11-09T10:51:52.184Z)
OS version: Windows_NT x64 10.0.22621
Modes:

System Info

Item
Value

CPUs
13th Gen Intel(R) Core(TM) i9-13900KS (32 x 3187)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
63.75GB (42.34GB free)

Process Argv
--crash-reporter-id eac1c1ba-38b1-4471-aac1-6ee4300e86e7

Screen Reader
no

VM
0%

Extensions (6)

Extension
Author (truncated)
Version

rust-bundle
1Yi
1.0.0

rust-syntax
dus
0.6.1

rust-analyzer
rus
0.3.1740

crates
ser
0.6.3

even-better-toml
tam
0.19.2

vscode-lldb
vad
1.10.0

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
pythonvs932:30410667
py29gd2263:30880072
vsclangdc:30486549
c4g48928:30535728
dsvsc012:30540252
pynewext54:30695312
azure-dev_surveyone:30548225
3biah626:30602489
f6dab269:30613381
vscrpc:30673769
showlangstatbar:30737416
pythonfmttext:30731395
fixshowwlkth:30771522
showindicator:30805244
pythongtdpath:30769146
i26e3531:30792625
welcomedialog:30887143
pythonnosmt12:30797651
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
dsvsc013:30795093
dsvsc014:30804076
dsvsc015:30845448
pythontestfixt:30871694
pythonregdiag2:30871582
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
pythontbext0:30879054
dsvsc016:30886110
dsvsc017cf:30886113
dsvsc018cf:30886115
aa_t_chat:30882232

@hediet, could you please take a look at this one? Thank you!

I hear no audio cues when I follow these steps. Please try in insider's with all extensions disabled.

I dont know what "please try in insider's" means but here is a video showing the bell playing with all extensions disabled
https://github.com/microsoft/vscode/assets/1173225/5eff066f-6b6e-42f8-92f2-1f091e2aefee

that sound is coming from your operating system, not VS Code.

okay. let me rephrase my bug then: VSCode plays an operating system bell when I click discard changes in the git menu.
It's still exactly the same problem! Seems pretty unreasonable to me to close as wontfix because VSCode is generating an OS bell instead of literally playing a bell itself!

Are you saying you have an issue with the confirmation dialogue that's appearing?

My complaint is what it was from the beginning: VSCode, through very normal operation, generates un-mute-able sounds, in particular this one in the git UI. I don't have any particular interest in the implementation details.


[Proto] Qadence Tree

Closes #399

Closing given the issue created in the new expression system.

archiving this @Roland-djee


How to declare "returns" from function

How can I assign the return from a function called by a job  to a variable?
def launch1(param1):
return 'done'
return_value (??) = schedule.every().day.at("08:35").do(launch1, param1)

Return values are not stored by the schedule library. If you want to store variables use class-fields or global variables.


Login.js Ln 58

how come this line is missing 0 as mentioned in the tutorial
this.props.history.push("/");

@walshe Which line are you talking about in which part of the tutorial? Line 58 in Login.js is this one https://github.com/AnomalyInnovations/serverless-stack-demo-client/blob/master/src/containers/Login.js#L58.

yes line 58 in Login.js .. where has the this.props.history.push("/"); right after the user has been marked as authenticated?

@walshe I'm sorry I don't understand what you are saying. Can you elaborate?

what I am trying to say is this:
this line is missing in Login.js:
this.props.history.push("/")

@walshe No we don't need that line after we secure our pages. It's in this chapter - https://serverless-stack.com/chapters/redirect-on-login.html

ah I see :)
Btw, another question.. doesnt Cognito have some way of easily integrating default (but customizable) signup/login forms that be used in a web app (similar to auth0) so that a developer does not have to go to the trouble ?  and if so would it be nice to add to the tutorial @jayair


Fix all xml

Fix to use inputpath with "*.xml" parameter

Thanks for PR, please use pip install git+https://github.com/adiralashiva8/robotframework-metrics until new release


Restore stuck

Steps to reproduce
1.Clear the data of your application
2.Settings>Backup
3.Select the Restore Backup
4.Select your JSON file
Expected behavior
The entries should be restored successfully .
Actual behavior
Restoring Chapter got stuck at 10th entry every time i tried restoring .
No matter what list item it is  .

LNReader version
1.1.18
Android version
Android 11
Device
Realme C12 , Samsung F23
Other details
https://github.com/LNReader/lnreader/assets/100396248/c1bd2072-e84c-4ef6-bc1a-e8f6ace1724e
I even deleted the empty entries in JSON file like these
{
"novelId": 22,
"novelUrl": "re-evolution-online",
"sourceUrl": "https://latestnovel.net/novel/re-evolution-online/",
"sourceId": 98,
"source": "LatestNovel",
"novelName": "",
"novelCover": "https://github.com/LNReader/lnreader-sources/blob/main/icons/src/coverNotAvailable.jpg?raw=true",
"novelSummary": "",
"author": null,
"artist": null,
"status": null,
"genre": null,
"followed": 1,
"unread": 0,
"categoryIds": [
3
]
},
but no help at all .
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is an issue with a source, I should be opening an issue in the sources repository.
[X] I have updated the app to version 1.1.18.
[X] I will fill out all of the requested information in this form.

Maybe extention issue here .
As many of extention used are dead .


add: pratap360

Description

added pratap360 to Contributer list
added pratap360 ProfileList.json file

Related Issues
[Include any related issues or pull requests that this PR addresses or is related to. Use GitHub's shorthand syntax to link to them, like #1234.]
Changes Proposed
[Describe the changes you've made in detail. Be specific and include any relevant code snippets.]
Checklist

[x] I have read and followed the Contribution Guidelines.
[x] All new and existing tests passed.
[x]  I have updated the documentation to reflect the changes I've made.
[x]  My code follows the code style of this project.
[x]  The title of my pull request is a short description of the requested changes.

Screenshots
Note to reviewers

@pratap360 Thank you so much for your contribution! Your efforts are greatly appreciated and will go a long way in improving our project. Please feel free to share it with others and help us grow even further!


Add general fixes.

Closes #106.
Adds a number of non-documentation-related fixes to the documentation site. See the checklist below for what should be done before merging:

[ ] #71
[x] #106
[x] #112
[ ] #114
[ ] #115

Closes #112.
Technically, as long as the user knows the web address of the JS bundles, nothing is stopping them from using that URL in their script tags in HTML. So, there is already a baby version of CDN just by hosting the files.

Successfully resolves a number of non-documentation-related issues that will make finishing up documentation a bit easier, as well as taking another big step towards initial release.


Document the project and file upload limits in pypi on the FAQ page

This is for #6192  . I had to create a new constants module because import warehouse.legacy leads to circular imports. Instead of resolving that, I went with creating a new file
Test Plan:
make build, make initdb, make serve and read http://localhost/help/#project-size-limit .
This is how it looks like:

Fixes #6192.

Does anyone know why the tests aren't running?

Does anyone know why this is awaiting response? This should be ready for review

Hi @SurenNihalani, are you able to resolve the conflicts here and address the review so we can merge this? Thanks!

Two questions:

When I look on a project's settings page I see something like the following:

Note the use of binary multiple-byte units, i.e. MiB and GiB.  Shouldn't the FAQ entry use the same units?

Isn't the FAQ entry describing generic limits?  I.e. it can't describe any higher limits granted to a specific project because the FAQ doesn't have that context.  If that's the case, then I think it should say something like

... hiting the upload file size limit (100 MiB by default; individual projects may have limit overrides)

@warsaw Agree with you on both!

I don't want to step on @SurenNihalani 's toes, but I'm looking for a good first issue to work on so I'll see if I can resolve those conflicts and make those changes.

I think that's fine @warsaw, it seems like this has been abandoned (if you can pull in @SurenNihalani's previous commits to your PR so they get credit, that would be awesome).

Sounds good @di.   I've branched @SurenNihalani 's original PR and am trying to merge main to resolve conflicts.  If that doesn't hurt my brain too much, I'll push a new branch + new PR on top of the original one.

@di One conflict I'm not sure how to resolve is on warehouse/locale/messages.pot and this documentation page doesn't make it clear how the pot files is generated.  Can you explain the right workflow for that?

@warsaw See https://warehouse.pypa.io/development/submitting-patches.html#translations.

@di #16200 is the replacement PR


How to use ESM models to generate new protein sequences similar to the training set

hi! i'm trying to apply methods similar to SMOTE and i would like to generate similar sequences from my training set with ESM models. how can i do it? thank you
Francesco, University of Padova

ESM models are encoder-only models so they're not explicitly designed for sequence generation. However I've been experimenting with this a little bit and you can coax them into generating somewhat plausible sequences by providing an input "seed" sequence, replacing a fraction of the residues with mask tokens, and then asking the model to replace those masked tokens with amino acid residues.
I have some data on this but in my experiments, if you use ESM-2 650M or 3B you can mask up to 50% of a 280aa sequence and still get sequences which ESMFold will correctly fold into a structure.
I can share some code to help out with this if you'd like

However I've been experimenting with this a little bit and you can coax them into generating somewhat plausible sequences by providing an input "seed" sequence, replacing a fraction of the residues with mask tokens, and then asking the model to replace those masked tokens with amino acid residues.

Indeed, see also https://elifesciences.org/articles/79854#fig7s1 where we did this iteratively using MSA Transformer -- one of the ideas being that with an MSA-based transformer you can be more confident that your generated sequences will still belong to the same protein family.

That is indeed a good point - I've also experimented with fine-tuning ESM-2 650M on a protein family and then using that to generate sequences too which achieves a similar aim

ESM models are encoder-only models so they're not explicitly designed for sequence generation. However I've been experimenting with this a little bit and you can coax them into generating somewhat plausible sequences by providing an input "seed" sequence, replacing a fraction of the residues with mask tokens, and then asking the model to replace those masked tokens with amino acid residues.
I have some data on this but in my experiments, if you use ESM-2 650M or 3B you can mask up to 50% of a 280aa sequence and still get sequences which ESMFold will correctly fold into a structure.
I can share some code to help out with this if you'd like

Thank you very much and thank you very much too, lupo. You would be really kind if you could pass me an example of code

@francescopatane96 our code (based on MSA Transformer) is here: https://github.com/Bitbol-Lab/Iterative_masking.  Umberto

@francescopatane96 our code (based on MSA Transformer) is here: https://github.com/Bitbol-Lab/Iterative_masking. Umberto

Thank you, Umberto. Very interesting work :)


Option to retry tests

When writing Selenium/browser tests, weird things just break unreliably. I suspect most people who write browser tests find this to be true.
I would love to be able to retry failing tests a certain number of times.
I would love to do something like this:
mocha --retries 3

...or maybe this:
it('works', function () {
  this.retries(3);
  // try stuff...
});

I'd be willing to PR this if this sounds like a good idea.

This would be great. Also see #1515
Right now mocha-retry currently doesn't work with the latest Mocha (https://github.com/giggio/mocha-retry/issues/6). And mocha-extra-shot which is "inspired by the ideas of mocha-retry" doesn't work for me either.

If someone gives me approval to do this, I'll spend some time PRing.

Seems useful to me. Mocha could use more functional testing features.
It's not unusual. Exhibit A: our travis.yml.
@mochajs/mocha any other opinions?

@boneskull I'm all for it, especially since the projects mentions in #1515 seem abandoned.

@EvanHahn if you'd be willing to give this a go I'd be happy to review your proposed changes :)

Is anyone working on a PR for this?

@janbaykara Not to my knowledge, but I think we'd like to see this functionality

@janbaykara
I decided to try  and take a crack at this, and best I can tell the retry and tests themselves work however I am having an issue exposing the retries function to allow calling it like so
it('works', function () {
  this.retries(3);
  // try stuff...
});

I would really like to see this happen. Especially since we are using Mocha at a functional/e2e testing level. Please let me know if I could help with this in anyway and expedite the implementation.

@ajaykodali I have the implementation working on the Runnable object itself.
Only issue I am having is figuring out how to do the this.retries(x) inside of the it function to point at the retries function I created in the Runnable object.

A cmdline option as suggested mocha --retries 3 is good too, user can choose different retry times in different run instead of updating in the test cases.

@jegsar do you have this available on a fork so I can take a look?

I like both options though for my use cases the this. option is more useful. once that works I would be happy to add on additional paths.
@ajaykodali https://github.com/mochajs/mocha/compare/master...jegsar:add/1773-retries
It's rather simple what I did, and I am sure I just missed something with the linking to "it" and the other interfaces but I haven't had the time to return to it. if you can give me a pointer on how to do it should be able to finish it up on Monday, Tuesday the latest. If not then I'll continue next weekend most likely.

hi guys, any progress on this? I'm happy to put some work into the outstanding patch that @jegsar has

not yet, still pretty sure i am just missing the link from this.retries in the it block for example to the runnable this.retries

@jegsar mind if I take a look?

I looked it briefly and played with it in trying to hook it up but didn't get to spend much time on it. It does look like something simple that is missing in the wiring of it.

yeah it's something simple i'm missing just not sure what it is. I if you can figure it out, that'd be great. If not i'll take a look at how timeout works.

@jegsar @boneskull feel free to take a look at my PR and the tests associated w/ it. In short I decided to re-queue the test upon failure since that'll run the appropriate hooks (beforeEach, afterEach) instead of just re-running the test itself (might manifest global state especially if it relies on afterEach for clean-up)

@longlho I happened to just work on the exact PR out of coincidence.

yeah, I think you can't just rerun the test because of state.  the hooks must be run.
out of curiosity, how difficult is it to code this into the test itself, w/o modifying mocha?  have a counter and catch errors until the counter == max

@boneskull I mean that'd be ideal, but how can I re-run the hooks within the test?

Any update or feedback on @longlho 's PR?

@EvanHahn "retry" option underlines unreliability of your tests

@stalniy Sometimes it's unavoidable in functional testing.  Occasionally it's too difficult and/or time-consuming to track down the source of intermittent failures.

@stalniy related<EMAIL_ADDRESS>

^.. this exactly. I hear that argument about "unreliability of your tests" all the time. That is definitely true for unit testing where you can mock all external dependencies and ensure your tests are reliable and true. However with e2e/functional testing, attempting to solve for 100% "reliability" in tests often ends up in other issues being masked. Having a "retry" option gives you a chance to at least get estimates on how often the problem test fails or passes and try to go from there. Running a 100 test case suite which takes 2+ hours and having to repeat it due to a single failure is not fun :)

yep.  if you're retrying your unit tests, you're doing it wrong, but that's not the use case here.

@stalniy What @boneskull and @ajaykodali said is basically my case—I'm running flaky integration tests across a series of browsers.

fyi, I'm heads-down on #1969 atm, so PRs/issues will mainly need to be addressed by other collaborators
cc @mochajs/mocha

Ok guys, but all these are excuses. I have been writing  e2e tests using Protractor for 1+ year. We had issues with "sometimes broken" tests until understood that we use ignoreSynchronization incorrectly. Now 7 months later, no phantom failures, everything is predictable and clear.
By the way, I use Page Object pattern which allows to hide complexity of the tests. So, you can abstract your retrying logic using this pattern (e.g. retry to get value of some element multiple times)
I against this feature as it leads to bad/unclear/unpredictable code.
  I'm happy your experience with a single automated testing framework--running against a single headless browser--over the past year has given you the confidence to proclaim everyone else must be writing bad code!
Will give you some context so your words will have more facts and no water.
Virtual windows machine, Jenkins, ant, xslt reporter (creates report from junit xml similar to mocha doc reporter), IE10, FF35, Chrome latest, (5h 20m execution), have few tests ("it" constructions) which execute for 45m each one.
No phantom failures. If guys at Walmart Labs can't write stable tests probably they need some advice from an expert.
These are facts. My goal is not to offend somebody but instead to make software being more reliable, clear and predictable. That's why I'm writing here.
this feature is a hack. That's also a fact. Just wanted to enlighten this.

I'm not interested in debating someone who doesn't understand what "facts" are.  Thank you for your input.

@boneskull That's a pity because it looks like it's more important to win the debate for you than to hear a feedback which doesn't corelate with your perception of the world.
In my opinion you are a chatterbox because you offended me 2 times without even have at least a bit of correct information about what you are writing (the new behavior of professionals?).
You won. Good luck

I'm happy to have this issue closed and locked if that's what's needed here.

Agree that this is not meant for unit tests. My PR is still open btw in case @mochajs/mocha wanna take a look.

@EvanHahn this is a valid feature and is supported by popular frameworks in different languages. Since @longlho already has a PR it would be great to have some feedback from the mocha team.
Lets not get side tracked by trolls.

Oops, forgot to close this :)

Any chance of getting this behavior to cover failures in a beforeEach as well? We try to share as much code between our tests as we can, which often means the flaky behaviors are in a beforeEach.

Never mind. Just saw https://github.com/mochajs/mocha/pull/1989#issuecomment-169346296


AQL how to endless,infinite loop like :for true

how to write an endless, infinite loop in AQL,like :
for true
    do something....

for 1 == 1
    do something....

imped by an


List all components being migrated to Carbon (Menu and combo button, status icon)

List all components needing to move to Core Figma kit in Box/AIrtable with associated date to unblock #5051

List created and tracked in airtable here -> https://airtable.com/appY30x3q9FcdIcL1/shr3i0dwaWXcRwIn9/tbl81O5yRLA4gGh1T


AutoPilot

Any appetite for adding the config values for autopilot?
https://www.consul.io/docs/guides/autopilot.html
If there is I can sort it and PR.

Yeah cool; that'd be pretty nice to have @ChrisMcKee 👍


Missing Logstash

In the template for custom deployment, I have selected "Logstash" for the Output binding, but don't seen anything for the connection settings. Only Arksight, Splunk and Event Hub.

I removed the Logstash output binding a while back because of lack of demand + the need to test the configuration. If you want to add it back and test the operation, look at line 94 of util.cs. To see the required settings, look at line 15 of obLogstash.cs.


I see some i18n pieces in the code. Is toggling between languages built in somewhere or does that need to be added?

Basically it's not needed - I had a similar pull request but be rejected, see https://github.com/spring-projects/spring-petclinic/pull/80
The explanation is: Our point is just to have a "fairly" simple sample application for beginners to learn and I don't think we should add I18N to the master branch.
BTW, I have a forked project which includes full i18n support as well as Chinese translation, you'd find it at https://github.com/liouxiao/spring-petclinic

@liouxiao and @michaelisvy give you the answer. We don't plan to add switching language feature.


Dilato: LOC: FR/JP: There is no space between the string Errors and the colon

Steps:

Launch Brackets
New a file by click File - New
Click "Debug" - Shows Errors in Status Bar"
Click "Debug" - "Enable Node Debugger"
Click "Debug" - "Restart Node"
Relaunch Brackets
New a file

Result: There is no space between the string Errors and the colon
Expect: There should has a space between the string Errors and the colon

This issue also reproduce on previous version of Brackets

Fixed this via PR - https://github.com/adobe/brackets/pull/13660/files

Why do you want a space before the colon? IMO it is correct what we have now, at least for english

In French this is the language habit. There should be a non-break space between the string and the colon.
In Japanese, according to the adobe style guide, it should use the single byte colon and add a space between the string and colon on application.
For core side, the whole string "Errors:" should be externalized, then linguistic team would translate it correctly.

In French...
In Japanese...

Ah, makes sense. Thank you.

Verify this issue on build 1.11.0-17517-918 for all platform. Fixed.
Please see the screenshots


Create a Responsive Navbar Section. #23

Created a responsive and reusable navigation bar

@Abhigaba good job!
Thank you for your contribution to our project! 🎉 Feel free to contribute further and help solve any open issues. We'd love to see your continued involvement!
Happy Coding !


Typo - Capitalized one letter

@nromyn : Thanks for your contribution to the Azure documentation! The author, @jeevansd, has been notified to review your proposed change.

#sign-off


Revert "bandwhich: 0.22.2 -> 0.22.2-unstable-2024-08-13"

This reverts commit f0c5d2f5f1e4f9561ec286e6fe5aafc8828c99ba.
Turns out that this package has been already fixed in https://github.com/NixOS/nixpkgs/pull/334824
Description of changes

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

Oops.


feat: support the deeplink to connect data plane api to vscode extension for api center

Hi team, this is a good user experience for connect to data plane API. Currently, the vscode extension for API Center already support data view now! and we can connect to api data plane by deeplink.
so I create such PR to let user connect to their data plane api smoothly. you may see the experience from following gif.

we will ship this feature as prerelease in next week.

@Bruce-Moe can you help review this PR? thanks!

@Bruce-Moe thank you so much!


Start of My Sidebar Implementation

Description
JIRA: SEAB-3964
The purpose of this ticket is to start implementing the "my sidebar" which is the first little sidebar on the left of this zeplin page.

Changes:
Updates to header style:

Box shadow
The #container-header style already applies a box shadow on the header component, yet we have another style, .container-fluid, applying the same shadow to the header component -> which affects the my tools/workflows/services pages. So I removed the duplicate box shadow from the .container-fluid style.
Top padding:
Also removed the extra 5px of top padding in container-fluid, not sure why it was added but it makes the header 5px taller than Zeplin specifies and again it only affects my tools/workflows/services which looks inconsistent when navigating
Background colour:
I also removed background colour from .container-fluid because its just white on Zeplin like all the other headers
On that note the entire .container-fluid style is redundant since position and z-index is also set by #container-header so I just removed the rest of the style, headers should be more consistent
Header placement and sidebar icons:
These both follow what is shown on Zeplin.

Modifications from Zeplin:

Additional Changes:
Additional styles to accounts page to match Zeplin

Added :host

Isolate padding style defined in starredentires.component.scss since it is using ::ng-deep without :host and it was affecting places that don't need it like the my tools page
See right photo, was adding extra 26px of top padding to mat-tab-body-content

Action Buttons Alignment:
Actions buttons were not aligning back properly after resizing as seen on production and develop, should be fixed now
Before - on production:
https://user-images.githubusercontent.com/97123241/157284748-20926227-f5bb-46c6-accf-bfc41b7e4d51.mp4
After:
https://user-images.githubusercontent.com/97123241/157284794-47f6965d-2430-47f4-b351-7a8a1794cb10.mp4
My Workflows/Tools resizing Issue:

With the addition of the sidebar on the left, for pages like My Tools and Workflows I needed to make layout changes which resulted in some resizing issues, in particular when it got to mobile view there was an issue where the existing pop-out sidebar would get infinitely long after the window resizing.  When played with for too long it would make chrome crash

https://user-images.githubusercontent.com/97123241/157294305-358612d3-1308-44b7-ad85-f218b366c9e8.mp4

Little back story: we are using the mat-sidenav component which consists of the drawer content and the main content

With the previous code, when resized small enough it would resize both the drawer and main content to col-xs-12 (xs window full width) which did not work well with the addition on the new sidenav because it could no longer take up full width and so I believe that is what caused it to resize to infinite width
I tried to make the arrangement work with bootstrap but the interaction with the components in the desired layout was not ideal and using predefined column sizes didn't fit well with the design
I decided to essentially remove most of the main bootstrap layout code and replace it with angular fxLayout and fxFlex, I left .container-fluid since there are still inner components that rely on it
Another issue I ran into with getting the drawer to cover the main content, angular has "modes" for this component and it is set to "side" instead of "over",  meaning that the drawer remains next to the main content at all times, which does not allow for it to cover when resized. But when the mode is set to "over" it can only ever be on top the content and never beside
I don't want to go too much into the details since this is already so long but here's the layout solution I came up with, it works well, only issue is when resized to the view where the drawer covers full width there is a lot of empty white space which is due to the main content being hidden
Current Solution:

https://user-images.githubusercontent.com/97123241/157309683-905c44b9-75dc-453c-808b-6504b237ab18.mp4

I spoke with Denis and he said the solution works well for now, since this is going into develop and the drawer itself needs to be redesigned we can look into other solutions or removing mat-side-nav
An alternative solution I tried was using an event listener to check the width of the screen when resizing, when the window is less than a certain width update the mode from side to over to allow for overlap -> only problem was the mode was updated appropriately but the component itself would remain the same mode it started with. If you have any ideas let me know, else, when the sidenav is redesigned we can look into alternatives

Last side note:
Kathy helped me update package.json and run-webservice-script.sh to use the latest circleci build since the previous one here was expired, pushing changes to keep it updated
Please make sure that you've checked the following before submitting your pull request. Thanks!

[x] Check that your code compiles by running npm run build
[x] If this is the first time you're submitting a PR or even if you just need a refresher, consider reviewing our style guide
[x] Do not bypass Angular sanitization (bypassSecurityTrustHtml, etc.), or justify why you need to do so
[x] If displaying markdown, use the markdown-wrapper component, which does extra sanitization
[x] Do not use cookies, although this may change in the future
[x] Run npm audit and ensure you are not introducing new vulnerabilities
[x] Do due diligence on new 3rd party libraries, checking for CVEs
[x] Don't allow user-uploaded images to be served from the Dockstore domain

This pull request introduces 3 alerts when merging cc37800 into 2662a26 - view on LGTM.com
new alerts:

3 for Unused variable, import, function or class

Uh both imports are default when you create a new component and I couldn't leave ngOnInit() empty or it would fail the lint_license_unit_test_coverage test for having an empty lifecycle.

quick tip for reviewers, the videos didn't work in Firefox for me but they work in Chrome

At first glance, running locally, this looks great! Some random thoughts/questions before even looking at the code:

Formatting for one of my tools for me seems off:

I find it odd that Dashboard takes you to the home page, dropping the sidebar. Is that the intent?
I don't know about the sliding effect of starred -- it looks a little noisy to me.
Why does starred default to starred organizations? Or maybe it's just defaulting to the most recently starred, which for me happens to be an organization?
I think a starred workflow should be rendered using markdown, the same way it's rendered on the public page:

* I think a starred workflow should be rendered using markdown, the same way it's rendered on the public page:
  ![Screen Shot 2022-03-09 at 10 18 29 AM](https://user-images.githubusercontent.com/1049340/157505922-1a879736-22e1-4010-8684-a2536745fabc.png)

Looking at the screenshots in #1481, it looks like this is an existing issue.

At first glance, running locally, this looks great! Some random thoughts/questions before even looking at the code:

Formatting for one of my tools for me seems off:

I find it odd that Dashboard takes you to the home page, dropping the sidebar. Is that the intent?
I don't know about the sliding effect of starred -- it looks a little noisy to me.
Why does starred default to starred organizations? Or maybe it's just defaulting to the most recently starred, which for me happens to be an organization?
I think a starred workflow should be rendered using markdown, the same way it's rendered on the public page:

Actions buttons: Not sure what to do here, let me know what you think. The main title div is set to 80% of the container width (in red) and the buttons on the right just get the remaining 20%. When we have our tool/workflow published there are now 4 buttons all in the same div that can't align in the same row since there is not enough space and so it row wraps.

We could remove the row wrapping from the buttons but my only conern would be that the row is quiet long and it will limit the amount of room the title will have, especially if you resize to a small window

This is not the final design on Zeplin though, these buttons will actually be above the title so they will have more room to staty in a row, so if we leave it as so it should be updated in the future

Dashboard Link: temporary, but I agree it does feel like a weird redirect
3&4. Starred Organizations: I didn't create the starred page I just did some layout reformatting when I added the navbar which is why it says I edited it. Not sure why it defaults to organizations first but someone must have chosen that
Workflow card: Sorry again I didn't work on this page but we can probably create a ticket to update how the card is being displayed?

I ran this locally, and overall, it looks great!  A few comments follow...

Regarding the "Dashboard" tab, I feel like the "logged-in" homepage and the dashboard might actually be synonymous: they both seem to have the same intent and contain similar information (but laid out differently, we need to overhaul the logged-in page in a later PR to match the dashboard mockups).  If that's true, maybe we keep the sidebar up when someone clicks "Dashboard" and display the "logged-in" homepage?  Thoughts, everyone?

Little bug: when I select some of the "tabs" in the sidebar, in the selected tab, the label text below the icon moves down one pixel, then moves back up into the original position when another tab is selected.  Nothing else moves, and the tabs don't change in height.  The afflicted tabs are "Workflows", "Tools", and "Services", it doesn't happen to the others (unsure about "Dashboard" since it disappears when I click it).  I see the bug using Mac Chrome, and I can make a video if you can't reproduce.

I wonder if the sidebar should have some sort of mouseover effect, kinda like the top menubar does, to help people notice that it's interactive and make it feel even more slick.

Regarding the "Dashboard" tab, I feel like the "logged-in" homepage and the dashboard might actually be synonymous: they both seem to have the same intent and contain similar information (but laid out differently, we need to overhaul the logged-in page in a later PR to match the dashboard mockups). If that's true, maybe we keep the sidebar up when someone clicks "Dashboard" and display the "logged-in" homepage? Thoughts, everyone?

the one is definitely the replacement for the other, makes sense to me

Updates:

Fixed the little 1px movement when clicked - really great find, thanks Steve
Added the sidebar to the "home" (dashboard) page

There was a small space on the right side of the page for "my X" pages which causes a horizontal scroll when resizing, i finally found what was causing it, the header component uses bootstrap class "row" and adds "negative" margin. Replaced it with fxLayout="row" to get rid of the space

Tried it out, looks super-duper!


Fixes code visualization in objectron.md

Fixes visualisation bug where the style of code "First run" is different from the code after "and then run"

Thanks for reporting this. Fixed in our internal code base upstream, and will be pushed to GitHub in the next release.

Merged in https://github.com/google/mediapipe/commit/6abec128edd6d037e1a988605a59957c22f1e967.

Merged in https://github.com/google/mediapipe/commit/6abec128edd6d037e1a988605a59957c22f1e967.


Invalid prompt on log in

The prompt is for email while the form is accepting usernames logins only
To Reproduce
Steps to reproduce the behavior:

Go to login
See error

Expected behavior
correct prompt shall be given
Screenshots

ANDRIOD:

Hey @notReallyRehan ,
I didnot correctly understood what the exact problem is? Are you asking to change the text to "sign in with your username" or sign in with only email

hi @just-breathing
upon front end testing I saw that the text displayed was "Sign in with your email" but instead the user names were accepted in the text box
the query I face is that I don't know whether at the backend its email or username in the field


(docker 1.12) Add support to docker swarm created by docker engine

With the ability of docker 1.12 to create a swarm cluster by itself and many more features provided, could rancher support directly use swarm cluster created by docker engine itself? doc

Would it make sense to eventually deprecate cattle in favor of native docker swarm clustering?

Will Rancher support docker 1.12 with built-in orchestration and DAB in the new release of Rancher? If so, how soon we can expect the next release?

If we can model what docker did with swarm cluster and simplify the moving parts needed for a docker cluster (mainly remove the always on mysql instance for cattle and just point to a docker server url) then it will be great

Rancher will support the new Docker 1.12 swarm mode just the same as we have supported Swarm, Kubernetes, and Mesos environments.  One could make the argument that Cattle should be deprecated in favor of Swarm or Kubernetes.  Only time and users will tell if that is the right direction.  As it stands right now we are making no major changes in the platform except that we will support Docker 1.12 and swarm mode.  Expect to see some features in this area though soon.

@biolounge DAB is highly experimental right now for us to really do anything with it.  But we will for sure support it as it matures.  As it stands right now it's basically a JSON format of docker-compose YAML but with less fields.  From that perspective it would be trivial to support.  We just need the format to bake a bit.  We have always embraced all things Docker (and containers) and this will be no different.

RE: Swarm (etc) vs. Cattle.  I think it's safe to say that those of us using Cattle didn't choose it accidentally, there were reasons for that decision. I don't really see how Cattle could be deprecated in favor of Swarm, or anything else, it should just be one of the many orchestration options available. We really liked the fact that the orchestration component was built by the same people building Rancher and Rancher OS, this leaves little room for the introduction of massive breaking changes which you could face if you are dependent on a 3rd party orchestration component.

@pulberg Good explanation, also I have found Cattle to be an acceptable orchestration option for nodes that I do not intend to be part of an HA or other type of production environment (e.g., throwaway CI runners) and more "direct" management of these nodes by Rancher/Cattle is entirely appropriate, without the overhead that comes with some of the other providers.

See https://github.com/LLParse/swarmkit-catalog and observe the readme. Only Docker 1.12.1 is supported

@sangeethah There are 2 scenarios we need to test:

Register hosts to an environment and specify CATTLE_AGENT_IP as the Internal IP
Register hosts to an environment as usual, provide answer to the Host Interface Name question. It must be the interface corresponding to the External IP

Swarm is using the raft protocol behind the scenes for manager communication, so test cases will be very similar.  Wait for containers to reschedule, on another manager host creating/modifying a services should still work. Add a new host to the environment and it should become a manager (UI labels will auto-populate, you can also run docker node ls from within a container on manager host)
Add 4 hosts, specify 3 managers, create service, kill 1 manager host, create/modify services, wait for worker host to be promoted to manager, create/modify services.
Add 5 hosts, specify 5 managers, create service, kill 2 manager hosts, create/modify services, add 2 new hosts and they should become managers, create/modify services.

@LLParse  Two questions

is this fix in this image rancher/server:v1.2.0-pre4-rc2
Is the swarm mode going to be a catalog or a separate environment like Kubernets, cattle etc

We are moving the container orchestration from a setting in the environment to a choice in our infrastructure catalog and swarm will be available as part of that.
This is still being tested and we do not recommend using any rc builds.

@deniseschannon  thanks for the info

We want to start implementing Rancher from zero today, but want to start using Docker Engine's Swarm mode as soon as it is officially supported... which cluster management engine should we choose today to make the switch as easy as possible in the future?

Tested with 1.2.0-pre4-rc15. Swarm is supported with only one mode where we register hosts to an environment and specify CATTLE_AGENT_IP as the Internal IP. Creation of swarm cluster was successful and so was creation of services.

Sorry, but with this ticket being closed, does this mean swarm mode (docker 1.12+) support landed? Or are you saying it won't be supported?

@soumyalj same question. Is this ready now? If not, what is the target release?

When an issue is resolved+closed It's available in the release indicated by the milestone.
The swarm option in 1.2 is the new Docker 1.12 swarmkit.  You need to register hosts with private (RFC 1918) IP addresses instead of public because 1.12 does not support public. 1.13+ do.

@dexterbt1 @ryanwalls  is supported in this version


[BUTTON IDEA]: Social button

1. Name of button: Hover Fancy
2. Description: as the mouse is hovered on any button, it will show the name of the social media.
3. Button Type (Animated, Special, etc...):special
4. Will you work on it?: Yes.

Hi @shak1505 I'm honestly not sure what you exactly mean by that, but you can work on it and I'll see it when you submit a pull request.

I want to contribute on the  issue

I would like to work on this!

someone is assigned to this issue @Summer-source

Closing this issue as it is stale and the idea is not important


Hash issue

When my app has disabled the $locationProvider.html5Mode(true); the URLs tracking are only for my base URL (localhost), only when the html5Mode is enabled, it works fine. I'm doing something wrong?

There are known issues about disabling $locationProvider.html5Mode(true) on Angulartics.
See: https://github.com/angulartics/angulartics/issues?utf8=✓&q=is%3Aissue+html5mode
Anyway, I'm going to resolve this issue. I'll update details. Thanks!

I'm not calling $locationProvider.html5mode(true) anywhere in my code but the page views are tracking my base URL only. Looking at the net panel in Firebug shows that a hash is included in every page view event. Do I need to do something to keep the hash from being sent to Facebook so that the page view event is treated as a separate page? This works perfectly with Google Analytics.

Hi @yaronguez ! Are you using angulatics-google-analytics package to track your visitors?

Hi @mooyoul ! Yes I'm using angulartics-google-analytics package to track my visitors and every page view shows up as domain.com/state not domain.com/#/state in GA.

@yaronguez Could you check angulartics-google-analytics version which you are using?

Version 0.1.1.  Just to clarify, the Google Analytics tracking is working as expected.

@yaronguez Yup, I understand what you mean.
I just want to know how angulartics-google-analytics which you are using handles hash url. don't worry :)
I'll release next version on today~tomorrow which is fixed this issue. :bow:

Thanks so much! Keep up the good work :-)

Hmm. I'm in trouble with Facebook Pixel tracking script.
Facebook Pixel tracking script was changed on Apr 05. and something changed.
When sending 'PageView' pixel to facebook, Pixel tracking script reads PageView url from location.href. (See below screenshot)

That's hard-coded, isolated scope. and cannot access from window.fbq object.
so, i'm considering tracking script modification to control PageView url. and ship it in package.
it may resolve issue. but that modified script is not official. it may cause unexpected behavior. (e.g. out-of-date tracking script version.) I'm worrying about that.
What do you think about solution? @yaronguez  @juankmarin

I just switched to $locationProvider.html5Mode(true); so that my URLs no longer have the # hash. This solves my problem and makes for a nicer user experience anyway. I'd avoid modifying the official FB tracking script. I'm not sure how else to get around that :-/

Facebook Pixel script now supports hash locations.
They reads pageview url from location.href which included hash :)
so I'm closing this issue. thanks!


Update upgrade-distribution-lists.md

Cosmetic- Removed ' from the powershell cmdlet

Issue#https://github.com/MicrosoftDocs/microsoft-365-docs/issues/4269

@JohanFreelancer9 Please copy review

@scotvidican Please help us in merging this PR. Thanks

@scotvidican Gentle reminder. Please merge PR. Thanks


Add theme

This adds a demo along with a corresponding .scss file that serves as a theme to ship along with the extension.
I haven't been able to figure how to merge this theme (#44) with grid.scss, but for now you can test it by setting theme: nytimes.scss in the _extension.yml.

Nice! I'm able to enable it by setting theme to [grid.scss, nytimes.scss].
That said, I do think we should consider making a full Quarto theme a separate component — or perhaps we ship a template that includes the additional styles? If we can keep the core styles down to the ones that mechanically make Closeread work, that means users can still use existing Quarto themes to customise it. What do you think, @andrewpbray?

Ah, right, I just learned something that should have been obvious. If you put .scss files in the extension dir, it can be added to docs that use the extension by either adding it to _extension.yml or by hard-coding the path to the file, i.e. _extensions/closeread/nytimes.scss. When I move the scss file into the same dir as the demo, I can get it to appear correctly by using theme: [nytimes.scss].
I'm kinda surprised theme: nytimes.scss doesn't work in that scenario. We're able to put theme: grid in our _extension.yml and it has no problem merging that with the default quarto style sheets even though its not in a yaml array.
My thought was that grid.scss would be the core style sheet that enables closeread functionality but can mesh with whatever bootswatch theme the user wants to use. I was seeing if we could distribute a few themes that were particular to the aesthetics of closeread, primarily modifying padding, fonts, and background colors.
In terms of how to implement that, how about...

We stash themes in _extension/closeread/themes/
The user would use format.closeread.theme: nytimes
The Lua filter (assuming it has access to that field) adds it via quarto.doc.add_html_dependency.

So in the docs, the guidance would be: if you're adding one of the handful of thems that ship with the extension (or could live in a separate closeread-themes extension?) the syntax is theme: mytheme but if you write your own .scss file, include it with theme: [mytheme].
What do you think?

Hmm, when I try to render the nytimes excerpt in the docs gallery, I get this:

This isn't too surprising I guess. In _quarto.yml we have format.html.theme: [cosmo] but since that doc is format: closeread-html it doesn't apply that theme to that page.
Here are a few unsuccessful troubleshooting attempts...
1. Modify project metadata
If you change _quarto.yml to
format:
  html:
    theme: [cosmo]
  closeread-html:
    theme: [cosmo]

It looks like that overrides both grid.scss and nytimes.scss.

2. Modify doc metadata
If instead you change the yaml in the doc to:
format:
  closeread-html:
    theme: [cosmo, nytimes.scss]

It works just fine:

Do you have any ideas why 1 didn't work? I expected it to under the understanding that precedence for metadata went doc > extension > project and that these should be joins, not overwrites.

I don't think I've seen a project file with multiple formats before! I don't have an intuition about how that works... does it support both, or does one override the other?

What if we have:

grid.scss in the extension folder and specified in the extension YAML with brackets (theme: [grid.scss]), so it's always merged in
separate theme files included in a cr-themes folder in the extension root, so they're copied in when you quarto use template and can be added to the doc with theme: [cosmo, cr-themes/nytimes.scss]

Does that work?

What if we have:

grid.scss in the extension folder and specified in the extension YAML with brackets (theme: [grid.scss]), so it's always merged in. 👍
separate theme files included in a cr-themes folder in the extension root, so they're copied in when you quarto use template and can be added to the doc with theme: [cosmo, cr-themes/nytimes.scss] 🤔

I'd worry that if we drop them at the root of the project with quarto use then it'd be really easy for a user to muck things up by moving those files (since we'd be hard-coding the path into the Lua filter). It feels like stuff that lives in _extensions.yml is much less likely to be messed with by the user.
That consideration has me slightly favoring a separate cr-themes extension that users would add that'd store the files under _extensions.yml. What do you think?

And about the multiple formats, I've never understood that 🙃
format: html both sets the output format for the doc, but also is a necessary key for specifying any format options. That's becomes a problem when you're trying to set the metadata for multiple formats with one file type. I think the architecture they had in mind was that you'd separate docs into dirs by their format, and into each dir put a _metadata.yml file. That'd actually work in our case since all of the demos will be format: closeread-html but I'm not sure about the tradework with clarify of the source for anyone who peeps into the repo to look at the document source. It's a pretty innocuous addition - just for the website nav - so I might go ahead and drop in a _metadata.yml file...

In bd376a4 I've moved the shell commands that copy the extension into a pre-render script so that it's one less thing to worry about.
I feel like there's room here for pkgdown-like website template here...

This guy seems to be working as intended, so I'm going to go ahead and merge. 🚀


Cannot connect to MIDI device with two identical MIDI USB VID PID

I've two identical MIDI devices with the same MIDI USB VID and PID. One of the two devices is set into update mode and registers with a different set of MIDI input/output port names. Functions mido.get_input_names() and mido.get_output_names() returns an incorrect list of MIDI port names when both MIDI devices are connected to the computer.
Python test script:
import mido

print(mido.get_input_names())
print(mido.get_output_names())

Output:
1. Connect first device A and run test script (Correct output):
    ['MyDevice 0']
    ['Microsoft GS Wavetable Synth 0', 'MyDevice 1']

2. Connect second device in update mode and run test script again (Correct output):
    ['MyDevice-update 0']
    ['Microsoft GS Wavetable Synth 0', 'MyDevice-update 1']

Connect first device, then second device in update mode and run script again (Incorrect output):
    ['MyDevice 0', 'MyDevice 1', 'MyDevice 1']
    ['MyDevice 1', 'Microsoft GS Wavetable Synth 0', 'MyDevice 1', 'MyDevice 2']

I can open MIDI ports on MyDevice 1, but not on MyDevice-update x. Is there a workaround or do I something wrong?
Info:

Windows 10
Mido: v1.2.10
python-rtmidi: 1.4.9
Python: v3.9.10

This issue It looks like related to python-rtmidi and not mido:
Python test script:
import rtmidi
from rtmidi import midiutil

midiout = rtmidi.MidiOut()
midiin = rtmidi.MidiIn()

available_ports_in = midiin.get_ports()
available_ports_out = midiout.get_ports()

print(available_ports_in)
print(available_ports_out)

Output:
['MyDevice 0', 'MyDevice 1']
['Microsoft GS Wavetable Synth 0', 'MyDevice 1', MyDevice 2']

Closing issue as the problem is located in the MIDI backend and not mido.

Thanks.
Could you please link the upstream issue if you have reported it so we can eventually track progress and direct other impacted users.

Sorry, I'm dumb and didn't see you already kinda did it.
Please disregard my previous comment.
For reference, the `python-rtmidi° related issue is https://github.com/SpotlightKid/python-rtmidi/issues/111

Pretty far fetched comment: maybe it's even in rtmidi itself or OS dependent. Microsoft Windows has a tendency to scramble thing up with identical devices.
I unfortunately don't have access to two identical USB-MIDI devices as I would have liked to track down that bug.
Do you have access to another OS you may test your code with?

Do you have access to another OS you may test your code with?

Yes, my plan is to test with Ubuntu as well. I see the same behavior with REAPER, so maybe it is a problem in Windows.

Yeah, if Reaper behaves the same it's very probable it's in Windows' MME implementation.
I wonder if this is also present in the future UWP (aka RNtMidi) API.
You may be able to test it with BandLab's Cakewalk by setting it to UWP in the "Preferences > MIDI > Record and playback" menu.
The latest version of Steinberg Cubase also have it.

It is not reproducible on Ubuntu 21.04:
Setup virtualenv:
$ sudo apt install python3-virtualenv libasound2-dev libjack-dev
$ virtualenv venv
$ source venv/bin/activate
$ pip install python-rtmidi
$ pip install cython
$ chmod +x rtmidi_test.py
$ ./rtmidi_test.py

Python test code rtmidi_test.py:
#!/usr/bin/env python

import rtmidi
import time

midiout = rtmidi.MidiOut()
midiin = rtmidi.MidiIn()

while True:
    print(midiin.get_ports())
    print(midiout.get_ports())
    print()
    time.sleep(1)

Output (correct):
Input ports:
  ['Midi Through:Midi Through Port-0 14:0', 'MyDevice:MyDevice MIDI 1 20:0', 'MyDevice-update:MyDevice-update MIDI 1 24:0']
Output ports:
  ['Midi Through:Midi Through Port-0 14:0', 'MyDevice:MyDevice MIDI 1 20:0', 'MyDevice-update:MyDevice-update MIDI 1 24:0']

No matter in which order the USB MIDI devices are connected/disconnected.

I wonder if this is also present in the future UWP (aka RNtMidi) API.

Do you have some test code?

You may be able to test it with BandLab's Cakewalk by setting it to UWP in the "Preferences > MIDI > Record and playback" menu.
The latest version of Steinberg Cubase also have it.

I cannot test these DAW's as I'm a REAPER user.

Do you have some test code?

Unfortunately not.
I'm aware of an opened issue at rtmid: https://github.com/thestk/rtmidi/issues/145
and of a fork called [Libremidi][https://github.com/jcelerier/libremidi] that supports it amongst some other nice features but I'm not aware of any Python bindings for it yet.
I keep an eye on it though as I think it would be the perfect backend for a future mido version.
BandLab Cakewalk is free (modulo some personal informations) if you want to investigate further but I think it's clear the bug lies at the OS level and there's not much we can do about it right now.

I've built this Windows C# MIDI example from source and works as expected:
https://docs.microsoft.com/en-us/samples/microsoft/windows-universal-samples/midi/

If you're able to build a similar resource for the WinMM API, we'd hopefully rest our case ;)

Just stumbled across that: https://gist.github.com/yoggy/1485181
Maybe enough.

BandLab Cakewalk is free (modulo some personal informations) if you want to investigate further but I think it's clear the bug lies at the OS level and there's not much we can do about it right now.

Also wrong MIDI port names.

Just stumbled across that: https://gist.github.com/yoggy/1485181 Maybe enough.

Thanks for your hint. Same problem with updated source. So the problem is located in the Windows API. I think research stops here.

Yup. Case closed.
Thanks again Microsoft and good luck getting that fixed.
I wouldn't even know where to begin to report this properly to them.…
Thanks for the ride! The more you know…
Hope you'll find a workaround for your use case.


[gardening] Use American English.

@swift-ci please smoke test

@swift-ci please test

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - 2c98c7c04eacb2463a517305eb57eb26284536df
Test requested by - @practicalswift

Build failed
Jenkins build - Swift Test OS X Platform
Git Commit - 2c98c7c04eacb2463a517305eb57eb26284536df
Test requested by - @practicalswift

@troughton Whoops! Thanks for reviewing. Could you review the remaining changes? Looks good? :-)

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test and merge

@swift-ci please test and merge

@swift-ci please test

Build failed
Jenkins build - Swift Test OS X Platform
Git Commit - 2c98c7c04eacb2463a517305eb57eb26284536df
Test requested by - @practicalswift

@swift-ci Please smoke test Linux platform

@swift-ci Please test Linux platform


Add native x86_64 test to CI

This works by virtue of x86_64 GH runners having gcc pre-installed. nix should be updated to include it explicitly for x86_64. This can be a follow-up PR, cc @potsrevennil.


Fix: Update outdated OpenAI Model

remove 0613 from model name in openAI model from the package as it will be deprecated

we should fix this soon


Fix discarding complete content of the file

fixes #362

TreeView Test fails, because now the submodule is correctly set on the testrepository. A dirty submodule is currently located in the unstaged and staged treeview. And therefore the staged->rowCount() is 2 and not 1 as in the test. Waiting for #368 and then fixing the test


The Nuclear Update and Discord(?)

Hey man, I'm kinda new and I see its been over four months, I would just like to know if the Nuclear update be released soon and if there is a discord server or somewhere/something that I could use to keep up to date?
All in all, this datapack looks cool, I'd just like to see the nuclear side.
Thanks man
puggington40

Discord: https://discord.gg/6uJ4eJH
Nuclear rework will come out eventually.


Charts Syncer v2: What’s Coming?

Hello everyone,
We are currently working on a new major version of charts-syncer. This update will bring significant improvements to the tool, aimed at enhancing your experience with it.
Why the change?
While the original charts-syncer relied on relok8s, the new charts-syncer v2 will be based on dt. This will allow us to bring you some features that were missing from the original tool.
What will be better?

Sync signatures and metadata: With charts-syncer v2 you’ll be able to sync not only images but also their signatures and metadata. Tanzu Application Catalog provides metadata in OCI format (SBOM, VEX files, test results…) and you will be able to sync it using v2.
Choose platforms: You will be able to pick which platforms you want to sync, no need to sync all the container images platforms if you only need linux/arm64 images!
Airgap compatibility: This new version will allow you to easily download all your charts, images and metadata to your local filesystem and later restore them into a target registry of your choice.

What will change?

Limited targets: charts-syncer v2 will only support syncing to OCI registries and local filesystems. While tgz repositories like Helm and ChartMuseum will still be valid sources, targets will be restricted to OCI and local.

Thanks for your support!

🎉  Charts-syncer v2 is now available: https://github.com/bitnami/charts-syncer/releases/tag/v2.0.0


Adding experimental nav pattern

Closes https://github.com/carbon-design-system/carbon/issues/3001

@aagonzales, @jeanservaas, @janchild @connor-leech your feedback pls

Hey tyler! just a couple things"

I'd make "terms" an H2 in order to be consistent with our hierarchy across the site.

Also, I'll defer to @janchild and @connor-leech on this, but it seems like we could shorten "Importance to a user's task" to "Importance to task" or something.

Links in those descriptions are 16px but the text is 14px

This is super nit picky, but it caught my eye -- wondering what happened to the color on those browser action circles (instead of red, yellow and green they look a little sea sick); and then in the slash design example they're a slightly different color than the data table browser... we should streamline that.

I know you hate the anchor links, but when "Terms" becomes an H2, we're gonna have to add it to the anchor links to be consistent with the behavior for the site.


pkg/trace/test: ensure that each run installs a fresh agent

This change ensures that each integration test run installs a fresh
agent in a temporary directory as opposed to using or installing
whatever is found in the environments $GOPATH/bin/trace-agent

Thanks for the review! This slows down things a bit (since every new started runner on each test results in an install), but it's a lot more accurate and unexpected behaviour such as running the tests against an already installed binary in $GOBIN as opposed to a build based on your code in the local working directory will no longer be possible and that's a big improvement. I left a TODO for myself to improve this later in another PR.


Usage of NMS

Hi, thanks for your work! I have a question about greedy-NMS usage: do you completely replace NMS with your duplicate removal network or add it complementary to greedy-NMS? From Table 1 it seems that greedy-NMS is still a part of pipeline...

No, we don't use greedy-NMS when we use learn nms module. Please refer to the code for details, specifically relation_rcnn/core/tester.py, that's where greedy nms is executed when we don't use learn nms.

@chengdazhi thank you!


Allow custom User Agent strings (close #23)

Adds a set_useragent() function to Subject to set a custom useragent by configuring the ua property in events.

Thanks for your pull request. Is this your first contribution to a Snowplow open source project? Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
:memo: Please visit https://docs.snowplowanalytics.com/docs/contributing/contributor-license-agreement/ to learn more and sign.
Once you've signed, please reply here (e.g. I signed it!) and we'll verify. Thanks.


ValueError in multiclass likelihood

Hi,  when I run line 5 of the multiclass notebook:
m.kern.white.variance.fixed = True
m.Z.fixed = True
_ = m.optimize()

I get the following error (stacktrace):
python
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-5-e4eebd086840> in <module>()
      1 m.kern.white.variance.fixed = True
      2 m.Z.fixed = True
----> 3 _ = m.optimize()

/Users/danmarthaler/GPflow/GPflow/model.pyc in optimize(self, method, tol, callback, maxiter, **kw)
    207
    208         if type(method) is str:
--> 209             return self._optimize_np(method, tol, callback, maxiter, **kw)
    210         else:
    211             return self._optimize_tf(method, callback, maxiter, **kw)

/Users/danmarthaler/GPflow/GPflow/model.pyc in _optimize_np(self, method, tol, callback, maxiter, **kw)
    265         """
    266         if self._needs_recompile:
--> 267             self._compile()
    268
    269         options = dict(disp=True, maxiter=maxiter)

/Users/danmarthaler/GPflow/GPflow/model.pyc in _compile(self, optimizer)
    127         with self.tf_mode():
    128             f = self.build_likelihood() + self.build_prior()
--> 129             g, = tf.gradients(f, self._free_vars)
    130
    131         self._minusF = tf.neg(f, name='objective')

/usr/local/lib/python2.7/site-packages/tensorflow/python/ops/gradients.pyc in gradients(ys, xs, grad_ys, name, colocate_gradients_with_ops, gate_gradients, aggregation_method)
    476                 # If grad_fn was found, do not use SymbolicGradient even for
    477                 # functions.
--> 478                 in_grads = _AsList(grad_fn(op, *out_grads))
    479               else:
    480                 # For function call ops, we add a 'SymbolicGradient'

/usr/local/lib/python2.7/site-packages/tensorflow/python/ops/math_grad.pyc in _ProdGrad(op, grad)
    128   reduced = math_ops.cast(op.inputs[1], dtypes.int32)
    129   idx = math_ops.range(0, array_ops.rank(op.inputs[0]))
--> 130   other, _ = array_ops.listdiff(idx, reduced)
    131   perm = array_ops.concat(0, [reduced, other])
    132   reduced_num = math_ops.reduce_prod(array_ops.gather(input_shape, reduced))

/usr/local/lib/python2.7/site-packages/tensorflow/python/ops/gen_array_ops.pyc in list_diff(x, y, name)
   1199     idx: A `Tensor` of type `int32`. 1-D. Positions of `x` values preserved in `out`.
   1200   """
-> 1201   result = _op_def_lib.apply_op("ListDiff", x=x, y=y, name=name)
   1202   return _ListDiffOutput._make(result)
   1203

/usr/local/lib/python2.7/site-packages/tensorflow/python/framework/op_def_library.pyc in apply_op(self, op_type_name, name, **keywords)
    701           op = g.create_op(op_type_name, inputs, output_types, name=scope,
    702                            input_types=input_types, attrs=attr_protos,
--> 703                            op_def=op_def)
    704           outputs = op.outputs
    705           return _Restructure(ops.convert_n_to_tensor(outputs),

/usr/local/lib/python2.7/site-packages/tensorflow/python/framework/ops.pyc in create_op(self, op_type, inputs, dtypes, input_types, name, attrs, op_def, compute_shapes, compute_device)
   2310                     original_op=self._default_original_op, op_def=op_def)
   2311     if compute_shapes:
-> 2312       set_shapes_for_outputs(ret)
   2313     self._add_op(ret)
   2314     self._record_op_seen_by_control_dependencies(ret)

/usr/local/lib/python2.7/site-packages/tensorflow/python/framework/ops.pyc in set_shapes_for_outputs(op)
   1702       raise RuntimeError("No shape function registered for standard op: %s"
   1703                          % op.type)
-> 1704   shapes = shape_func(op)
   1705   if shapes is None:
   1706     raise RuntimeError(

/usr/local/lib/python2.7/site-packages/tensorflow/python/ops/array_ops.pyc in _ListDiffShape(op)
   1979   """Shape function for the ListDiff op."""
   1980   op.inputs[0].get_shape().assert_has_rank(1)
-> 1981   op.inputs[1].get_shape().assert_has_rank(1)
   1982   # TODO(mrry): Indicate that the length falls within an interval?
   1983   return [tensor_shape.vector(None)] * 2

/usr/local/lib/python2.7/site-packages/tensorflow/python/framework/tensor_shape.pyc in assert_has_rank(self, rank)
    619     """
    620     if self.ndims not in (None, rank):
--> 621       raise ValueError("Shape %s must have rank %d" % (self, rank))
    622
    623   def with_rank(self, rank):

ValueError: Shape () must have rank 1

Can anyone replicate this?

Nope, works for me.
Which versions of GPflow and tensorflow are you using?

GPflow 0.2.1
TensorFlow 0.10.0rc0
I git pulled from latest sphinx branch and ran it again with the same error.
On Sat, Aug 13, 2016 at 8:32 AM, James Hensman<EMAIL_ADDRESS>wrote:

Nope, works for me.
Which versions of GPflow and tensorflow are you using?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/GPflow/GPflow/issues/161#issuecomment-239626477, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACQPhW7CpM6ZawvoIrSamRc6Q597E-3Eks5qfeN6gaJpZM4JiqSf
.

I'll try building tensorflow from source and see...
Dan

On Aug 13, 2016, at 08:32, James Hensman<EMAIL_ADDRESS>wrote:
Nope, works for me.
Which versions of GPflow and tensorflow are you using?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

I suspect a tensorflow upgrade issue. I'm running 0.9.0, I'll try with the 10.0rc. Could you try with 0.9.0 just to make sure it's not a machine-specific issue?

Confirming this as a bug, here's the minimal code to reproduce
import GPflow
import tensorflow as tf
mu, var = tf.placeholder(tf.float64), tf.placeholder(tf.float64)
Y = tf.placeholder(tf.int32)
lik = GPflow.likelihoods.MultiClass(3)
ve = lik.variational_expectations(mu, var, Y)
tf.gradients(tf.reduce_sum(ve), mu)

This is coming from reduce_prod op which has changed recently in TensorFlow. It is either a TensorFlow bug or has revealed something strange about our tensor shapes that it was previously willing to tolerate. My guess is that it is a bug with TensorFlow.

In particular the gradient of reduce_prod was the code that changed.

@jameshensman I will finish triaging this one.

Okay @alexggmatthews good plan.

It is a TensorFlow bug. I found a work around in #164 and I've entered this TensorFlow issue
https://github.com/tensorflow/tensorflow/issues/3815


Is this safe? question changed

In general, don't ask the developers of a program if their program is a virus. Why would they ever say yes?
As developers, we wouldn't make an open source program malware. If you trust all the creators of the mods on SkyClient, well, they allowed us to include their mods.

you could replace the current answer with this if you wanted

no, just no

it's been over a year, can we just close this pr already out of inactivity

i dont see a reason not to merge it, its in line with the FAQ on the discord server


slices: Redundant comparison in BinarySearchFunc

Go version
go version go1.23.4 windows/amd64
Output of go env in your module/workspace:
set GO111MODULE=
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\telic\AppData\Local\go-build
set GOENV=C:\Users\telic\AppData\Roaming\go\env
set GOEXE=.exe
set GOEXPERIMENT=aliastypeparams
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GOMODCACHE=C:\Users\telic\go\pkg\mod
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=C:\Users\telic\go
set GOPRIVATE=
set GOPROXY=https://proxy.golang.org,direct
set GOROOT=C:\Program Files\Go
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLCHAIN=auto
set GOTOOLDIR=C:\Program Files\Go\pkg\tool\windows_amd64
set GOVCS=
set GOVERSION=go1.23.4
set GODEBUG=gotypesalias=1
set GOTELEMETRY=local
set GOTELEMETRYDIR=C:\Users\telic\AppData\Roaming\go\telemetry
set GCCGO=gccgo
set GOAMD64=v1
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=C:\Code\Go\playground\go.mod
set GOWORK=C:\Code\Go\go.work
set CGO_CFLAGS=-O2 -g
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-O2 -g
set CGO_FFLAGS=-O2 -g
set CGO_LDFLAGS=-O2 -g
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=C:\Users\telic\AppData\Local\Temp\go-build1876904163=/tmp/go-build -gno-record-gcc-switches

What did you do?
Ran this code.
What did you see happen?
Three comparisons being made.
What did you expect to see?
Two comparisons.
BinarySearchFunc always does a final comparison for its boolean return value, even though the slice element in question and the target might already have been compared. Since the comparison function could potentially be costly, this should be avoided.

Related Code Changes

slices: refactor BinarySearch to avoid unnecessary type conversions

(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)

It's true, the final comparison to test whether the target element is actually present in the sequence is redundant about 50% of the time. It could be avoided by retaining the result of the last comparison performed within the loop: if it was zero, the final comparison isn't needed. This would cost just a register, and an extra conditional branch at the end.
	n := len(x)
	// Define cmp(x[-1], target) < 0 and cmp(x[n], target) >= 0 .
	// Invariant: cmp(x[i - 1], target) < 0, cmp(x[j], target) >= 0.
	i, j := 0, n
	for i < j {
		h := int(uint(i+j) >> 1) // avoid overflow when computing h
		// i ≤ h < j
		if cmp(x[h], target) < 0 {
			i = h + 1 // preserves cmp(x[i - 1], target) < 0
		} else {
// Idea 1: retain cmp result here
// Idea 2: check cmp==0 and return early here
			j = h // preserves cmp(x[j], target) >= 0
		}
	}
	// i == j, cmp(x[i-1], target) < 0, and cmp(x[j], target) (= cmp(x[i], target)) >= 0  =>  answer is i.
	return i, i < n && cmp(x[i], target) == 0

Equivalently, you could handle the three cases (+ve, -ve, 0) of the comparison within the loop distinctly, returning when zero, though this would add an extra conditional branch to 50% of loop iterations.
However: this algorithm is deceptively hard to get right. Famously it was first published in 1946, but it wasn't till 1962 that the first correct version was published. That's why BinarySearch is among the most heavily commented functions in the entire Go project. Casual tweaks to this function should be carefully weighed in light of that fact.

what about:
	n := len(x)
	// Define cmp(x[-1], target) < 0 and cmp(x[n], target) >= 0 .
	// Invariant: cmp(x[i - 1], target) < 0, cmp(x[j], target) >= 0.
	i, j, found := 0, n, false
	for i < j {
		h := int(uint(i+j) >> 1) // avoid overflow when computing h
		// i ≤ h < j
// Idea 1: retain cmp result here
		if c := cmp(x[h], target); c < 0 {
			i = h + 1 // preserves cmp(x[i - 1], target) < 0
		} else {
// Idea 2: check cmp==0 and return early here
			j = h // preserves cmp(x[j], target) >= 0
                        found = found || c == 0
		}
	}
	// i == j, cmp(x[i-1], target) < 0, and cmp(x[j], target) (= cmp(x[i], target)) >= 0  =>  answer is i.
	return i, i < n && found

CC @eliben

I agree with @adonovan that this code is notoriously tricky and is best left alone, doubly so when the issue is about a single O(1) comparison per call, triply so when the "fixes" require O(log(n)) more work.

For what it's worth, I compiled both versions of the code to compare, and the extra gunk to avoid that call to compare was a little more than I expected (">" marks branch targets, "+" marks extra code in the loop):
  JMP 9(PC)
> MOVD 104(RSP), R4
  MOVD 112(RSP), R5
  MOVD 88(RSP), R1
  MOVD 80(RSP), R7
  MOVD R7, R1
  MOVD R2, R6
  MOVD R0, R2
  MOVD 88(RSP), R0
> CMP R3, R2
  BLE 29(PC)
  ADD R2, R3, R7
  LSR $1, R7, R8
  CMP R7>>1, R0
  BLS 32(PC)
+ MOVD R3, 40(RSP)
  MOVD R2, 32(RSP)
  MOVD R8, 48(RSP)
+ MOVB R6, 31(RSP)
  MOVD (R5), R2
  MOVD (R1)(R8<<3), R0
  MOVD R4, R1
  MOVD R5, R26
  CALL (R2)
  TBZ $63, R0, 6(PC)
  MOVD 48(RSP), R4
  ADD $1, R4, R3
  MOVD 32(RSP), R0
+ MOVBU 31(RSP), R2
  JMP -28(PC)
+ MOVBU 31(RSP), R1
+ TBZ $0, R1, 3(PC)
+ ORR $1, ZR, R2
+ JMP 3(PC)
+ CMP $0, R0
+ CSET EQ, R2
> MOVD 48(RSP), R0
  MOVD 40(RSP), R3
  JMP -37(PC)

Makes me wonder whether we should get serious about callee-save, at least for not-pointers.
If you notice the janky loop rotation, yeah, I looked at that earlier this year and benchmarked doing it "right" and it was apparently slower in general, no I do not know why.

Agree with @adonovan and @robpike . Any change here, if at all, should be driven by benchmark results showing improvements on real workload.


Fix shader text editor include file reloading

Fixes https://github.com/godotengine/godot/issues/81209. The other issues mentioned are already tracked elsewhere.

Looks like this part of text shader editor file reloading code was never updated to support ShaderInclude resources. This PR adds support for reloading them, so now reloading works for both Shader and ShaderInclude resources.

Thanks!


Latency test and analysis scripts

See the README, and the jupyter notebook (view the file instead of the diff to see the full jupyter notebook rendered by Github).
Here's an example of what the UI looks like once you start run_latency_experiment.sh on the raspberry pi:

Interesting comparison between 20.04 and 22.04. 5.15 kernel really made a big difference!

Wow, this is nice!


[cwc-v2] overflow-menu accessibility issue

Description
With the @carbon/web-components@1:

And no Lighthouse errors.

With the @carbon/web-components@2:

Component(s) impacted
overflow-menu
Browser
No response
Carbon for IBM.com version
v2 beta
Severity
Severity 3 = The problem is visible or noticeable to users but does not impede the usability or functionality. Affects minor functionality, has a workaround.
Application/website

Package
@carbon/web-components
CodeSandbox example

Steps to reproduce the issue (if applicable)
No response
Release date (if applicable)
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I checked the current issues for duplicate issues

Closed by https://github.com/carbon-design-system/carbon-for-ibm-dotcom/pull/10652


Default Python will be switched to 3.8 on Ubuntu 20.04 on October, 6

Hello everyone!
Currently, Python 2.7 is set by default on Ubuntu 20.04. Python 2 was sunsetted on Jan 1 2020 and this version is not supported anymore.
Clean Ubuntu 20.04 LTS has Python 3 as default so we would like to follow the same approach.
If you still need to use Python 2.x on Ubuntu 20.04, you will be able to switch Python to 2.7 using actions/setup-python and UsePython tasks.
We are planning to deploy the new image with Python 3 as default on October, 6.
Regards,
Maxim

@maxim-lobanov Does this also follow for Ubuntu embedded in Windows 10 or does Microsoft follow a separate path for that?

@rahulsaini , This change will only affect image that you can choose by setting ubuntu-20.04 image label in YAML file.

Ubuntu embedded in Windows 10

What Ubuntu version do you mean? Ubuntu that can be downloaded from store for WSL?

yes, for WSL.

@rahulsaini , We don't own those images so this change won't affect them.
This change will affect only ubuntu-20.04 image label.

When will the Ubuntu 20.04 image with Python 3.8 be available?
Thanks in advance.

Hi there, when will the new image with Python 3.8 go live?

@bladeoner , 3.8 is already in image for a long time: https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu2004-README.md#python

How can I point to that image?
I'm using the following in my YML file:
jobs:
build:
name: ubuntu-20.04
runs-on: ubuntu-20.04
Or do I need to define container: ?
The container command is already pointed to something else.

@bladeoner No containers are needed. You should follow official documentation and examples: https://docs.github.com/en/free-pro-team@latest/actions/guides/building-and-testing-python#using-a-specific-python-version

@maxim-lobanov Thank you for your quick response and information I will dive into that.

The new Ubuntu 20.04 has been deployed with default Python3 and Python is alias -> Python3.
jobs:
  build:
    runs-on: ubuntu-20.04

    steps:
    - name: default python
      run: |
         python --version
         python3 --version


Support for a serialized field (preserve data types)

Add new hstore field type, SerializedDictionaryField.  This field accepts optional serializer and deserializer arguments (defaulting to json.dumps and json.loads, respectively).  The field returns a dict object (not HStoreDict), and runs all data through the serializer before insertions into the DB (along within runing all data through the deserializer when retrieving from the DB).  This allows data placed into the field to maintain their type (provided that the data is compatible with the serializer and that the serializer only outputs str data).  Additionally, by defining their own serializer functions, a user can easily put in custom logic to handle non-standard datatypes (for instance, if one was interested in serializing a custom class to a specific format).
The implementation is pretty straightforward:
# models.py
class SerializedExample(models.Model):
    name = models.CharField(max_length=32)
    data = hstore.SerializedDictionaryField()
    objects = hstore.HStoreManager()

>>> obj = SerializedExample.objects.create(
...   name="A Serializable Field!",
...   data={
...     'str': 'A string',
...     'int': 1234,
...     'float': 3.141,
...     'bool': True,
...     'list': [0, 'one', [2.0, 2.1]],
...     'dict': {
...       'a': 1,
...       'b': 'two',
...       'c': ['three']
...     }
...   }
... )

>>> obj.data
{'int': 1234, 'float': 3.141, 'list': [0, 'one', [2.0, 2.1]], 'bool': True, 'str': 'A string', 'dict': {'a': 1, 'c': ['three'], 'b': 'two'}

This feature made other features not possible for the SerializedDictionaryField, such as subsetting against a list of values:
# Expression will be interpreted as subsetting by key/value mapping, not subsetting against a list of values.
Something.objects.filter(data__contains={'a': ['1', '2']})

Other non-supported features: maintaining type on Decimal or long.
I do believe that this optional functionality could be rolled into the standard HStoreField, but for the sake of clarity it was kept in it's own field.  Also for the sake of clarity, unsupported features were left in the TestSerializedDictionaryField class as commented-out text (this should be removed before the pull request is approved).
This pull request is in response to this thread on the django-hstore group.

I feel guilty not having been able to find the time to properly look into this but I will.

@nemesisdesign No worries, we all get busy sometimes. Let me know if you have any questions.

Coverage decreased (-0.33%) when pulling 906d94651a0549748fe6200306045a5c6c602dbb on alukach:serialized-field into 7ccfe86696f43b6b8d42b70126ba553302c9a1dc on djangonauts:master.

Coverage decreased (-0.33%) when pulling f76314b71a53dbe484ff5cb186d134cf604bf13f on alukach:serialized-field into 7ccfe86696f43b6b8d42b70126ba553302c9a1dc on djangonauts:master.

@nemesisdesign This has been in waiting for about 4 months now.  Any thoughts to contribute?  I'd obviously like to get this merged.

hi @alukach and sorry for this delay.
I would like to merge this feature because I think it's useful.
Let me ask you 2 questions:

are you using in production this feature anywhere?
are you aware that once released there will be bug reports or questions regarding this feature?

I tested locally this branch and I found out something weird that looks like an issue.
Try adding these lines in tests.django_hstore_tests.tests at line 668:
databag.full_clean()
databag.save()
databag = SerializedDataBag.objects.get(name='number')
self.assertEqual(databag.data['num'], 1)

And you should get 1 failure.
The failure does not happen if you remove full_clean().
There are also 3 other small things that would need to be done, I'm sure you thought about it yourself but probably gave up because you got no feedback from us:

remove commented code
a little bit of explaination in the documentation
once finished, it would be better to have one or a few commits with good descriptions, you could use rebase interactive and do some reordering

Federico

Alright, let me take a look at that bug you addressed and address the TODOs.
Regarding your questions:

are you using in production this feature anywhere?

No, I am not currently.

are you aware that once released there will be bug reports or questions regarding this feature?

Surely there will be bug reports or questions coming down the pipe. I'll do my best to address them.

@alukach ACK

@nemesisdesign Okay, I believe that this should take care of your thoughts.
The code has been rebased.
The admin widget was not properly implemented, causing the bug on databag.full_clean() that you mentioned.  That has been resolved and added to tests.
Take a look at the docs, let me know what you think. I didn't actually build them, just edited the file.

Coverage decreased (-0.5%) to 91.84% when pulling 2117f4477f293de6145c81be7cc41dc0c3dafa64 on alukach:serialized-field into cb6830a9475ca124c19552d7625456b2ef76373a on djangonauts:master.

Coverage decreased (-0.5%) to 91.84% when pulling 2117f4477f293de6145c81be7cc41dc0c3dafa64 on alukach:serialized-field into cb6830a9475ca124c19552d7625456b2ef76373a on djangonauts:master.

Coverage decreased (-0.5%) to 91.84% when pulling 2117f4477f293de6145c81be7cc41dc0c3dafa64 on alukach:serialized-field into cb6830a9475ca124c19552d7625456b2ef76373a on djangonauts:master.

Coverage decreased (-0.5%) to 91.84% when pulling 2028f6c3dbc6c09bd839d206cc415bf9de5262e8 on alukach:serialized-field into cb6830a9475ca124c19552d7625456b2ef76373a on djangonauts:master.

Coverage decreased (-0.5%) to 91.84% when pulling 2028f6c3dbc6c09bd839d206cc415bf9de5262e8 on alukach:serialized-field into cb6830a9475ca124c19552d7625456b2ef76373a on djangonauts:master.

Coverage decreased (-0.5%) to 91.84% when pulling 2028f6c3dbc6c09bd839d206cc415bf9de5262e8 on alukach:serialized-field into cb6830a9475ca124c19552d7625456b2ef76373a on djangonauts:master.

Coverage decreased (-0.5%) to 91.84% when pulling 1ea7aa4fdb48e99e27c7959e6e47bc7784545b90 on alukach:serialized-field into cb6830a9475ca124c19552d7625456b2ef76373a on djangonauts:master.

Coverage decreased (-0.5%) to 91.84% when pulling 1ea7aa4fdb48e99e27c7959e6e47bc7784545b90 on alukach:serialized-field into cb6830a9475ca124c19552d7625456b2ef76373a on djangonauts:master.

Coverage decreased (-0.5%) to 91.84% when pulling 1ea7aa4fdb48e99e27c7959e6e47bc7784545b90 on alukach:serialized-field into cb6830a9475ca124c19552d7625456b2ef76373a on djangonauts:master.

Coverage decreased (-0.5%) to 91.84% when pulling 1ea7aa4fdb48e99e27c7959e6e47bc7784545b90 on alukach:serialized-field into cb6830a9475ca124c19552d7625456b2ef76373a on djangonauts:master.

thx @alukach
will review and merge asap


[List] Fix typo

[ ] PR has tests / docs demo, and is linted.
[x] Commit and PR titles begin with [ComponentName], and are in imperative form: "[Component] Fix leaky abstraction".
[x] Description explains the issue / use-case resolved, and auto-closes the related issue(s) (http://tr.im/vFqem).

NestedList.js was misspelled NetstedIist.js (uppercase 'i' for uppercase 'l').
Closes #4003.

I don't know how we didn't catch this 😅
@mbrookes Should we bother renaming MakeSelectable -> makeSelectable? If we hadn't already released beta I would've pushed for it but I forgot.

I don't know how we didn't catch this

In my editor font, upper 'i' looks like lower 'l', so easily missed. (That's my excuse at least! :smile: )

Should we bother renaming MakeSelectable -> makeSelectable

When is a component not a component? When it' s a higher order component?
I wasn't totally set on MakeSelectable as a name, but it was all I could come up with that the time, but I didn't think the capitalisation was a problem. Open to your thoughts on it though.

Looks like I have forgotten to add this component to the codemod.

@oliviertassinari - it's an internal component, so you shouldn't need to. (Unless you mean List?!)

@mbrookes Well, I'm referring to the MakeSelectable.js.

Should we bother renaming MakeSelectable -> makeSelectable

makeSelectable :+1:.
I do think that HOC should start with a lower case. They transform a component into a new one. Hence, I would just consider them as regular function.
E.g. Recompose is following this pattern.

I do think that HOC should start with a lower case.

Ok, I'll fix that up in another PR. No-one has objected to makeSelectable as a name, so can I assume that's okay (if a bit mundane sounding :smile:)?


CB-15877: solrctl does not work on the gateway machines of the DDE template

When creating a data hub using the DDE template, machines in the gateway
instance group did not get the solr-gateway role. As a consequence of this, the
solrctl command did not work from these machines.

Can one of the admins verify this patch?

@zivanfi Just a sanity check:

Is it sufficient to fix this in the 7.2.14 blueprint?
Is there possibly any dependence on using some particular patch version of 7.2.14 CDH parcel? (I suppose not, but better be safe. :smile: )

1. Is it sufficient to fix this in the 7.2.14 blueprint?

Yes, we target this fix for 7.2.14 and later.

2. Is there possibly any dependence on using some particular patch version of 7.2.14 CDH parcel? (I suppose not, but better be safe. smile )

There is no such dependency.

@zivanfi Okay, got it. Then could you please make the similar changes to the 7.2.15 blueprint as well? Also, please rebase onto top of master. There have been some Gradle dependency fixes that will hopefully make this PR green. :smile:

Thanks for spotting the missing 7.2.15 blueprint. When I made the change, it was not there in my local git repo yet. :)

The checks still seem to be stuck. In any case, please do not merge this change yet, we decided to add the solr gateway role to the other instance groups as well and will update the change with the new blueprint but I need to test it first.

I uploaded the update I mentioned, so this PR is ready for merging from my point of view. However, the automated checks still seem to be stuck. :(

Hmm, it is indeed stuck. We are gonna have a look tomorrow why it does not progress.

Retest this please

Retest this please

Retest this please

The "Checks" tab on Github shows "Workflow runs completed with no jobs". Maybe the blueprints are not considered to be code and thus changes in them trigger no jobs?

retest this please

retest this please


List files on Volume Server API

Is there a possibility to list the content or "directory" of a volume server?
I'm facing the problem, that an application logged a file ID but the request returns a 404 error.
It's possible that the upload was interrupted or something else strange happened but to be sure, I would need some more info than I get from  volumeserver:8080/status?pretty=y
Is there anything I can open / parse the metadata / idx files?
Any help appreciated

"weed export -h"

Thanks for the quick response!
If I don't use the fileNameFormat parameter I'll get the following:
/tmp # weed export -dir=/data -volumeId=12 -o=/tmp/name.tar -newer='2006-01-02T15:04:05'
/tmp # tar xvf name.tar
tar: invalid tar header checksum

But if I use it, everything works. Thanks
/tmp # weed export -dir=/data -volumeId=12 -o=/tmp/name.tar -newer='2006-01-02T15:04:05' -fileNameFormat='{{.Id}}-{{.Name}}'


Add Java Image Builder Support.

https://github.com/GoogleContainerTools/jib

@dev-gaur I would like to work on this issue.


Cannot read property 'namespacing' of undefined

When I using ember-component-css in an addon, I'm getting below error
Cannot read property 'namespacing' of undefined
TypeError: Cannot read property 'namespacing' of undefined
Addon config
Ember: 2.9.0
Ember-component-css: 0.2.0-beta.6

use in addons is being addressed in #171 Which hopefully will be merge today! I can let you know as soon as it is. @geoffreyd raised an issue that he ran into which I couldn't repro, but if you wanted to try the branch that is to be merged, and see if there are any issues, that would be great!

@abrahamspaa Just released a 0.2.1 version. Please check it out as it has addon support


support generate full content RSS feeds and support config output xml name

Is your feature request related to a problem? Please describe.
I come from other site generator, which I configured to generate full content RSS feeds.
after migrated to pliny, I see it only generate summary based RSS feeds.
and the output xml name is fixed to feed.xml, which I used to use atom.xml in prev.
so it is good to have this filename configureable
Describe the solution you'd like
have config option to allow choose between full content RSS feeds and summary only RSS feeds
Describe alternatives you've considered
N/A
Additional context
N/A

As you might have noticed, I now inline the logic of the RSS feed to the blog template. Hopefully this makes it easy to customize it to your liking. I have also parameterized the rss feed name. If there are further changes that you would like to make, feel free to open a PR, thanks!