Use cases and components?

Make sure to get a good set of use cases and components before getting too far into the project.
I would consider including a little background before jumping into your use cases, the organizing your use cases hierarchically, with descriptions of both inputs and outputs, as described in the Software Design lecture.
And I would also consider putting your use cases in a MarkDown file, as this will help with readability.

Just submitted it, wanted to clean up the formatting


add anp/banp unit test

Pull Request

[ ] Make sure you have followed Kube-OVN Code Style.

What type of this PR

Tests

Which issue(s) this PR fixes
Fixes #(issue-number)

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

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 22.049%

Totals

Change from base Build<PHONE_NUMBER>7:
0.1%

Covered Lines:
10251

Relevant Lines:
46491

💛  - Coveralls


Alternate the color between packaging components to avoid any potential confusion

What

Alternate the color between packaging components to avoid any potential confusion
Reported by a user who inputed data on the bottle card instead of the cap card, by mistake

Can I work on this issue ?

Hi @teolemon

Any suggestions? Thanks.

Can I send pr for this issue ?!

@Sudhanva-Nadiger Of course you can! That does not mean it will be approved immediately.
Be careful that there were recent code changes on those files.

Yeah ! That's why i wanted to confirm whether the changes made were ok !


make filter date range in MUI datatable

can anyone tell me how to make filter date range in MUI datatable? Please?

Check out the customize-filter example: https://github.com/gregnb/mui-datatables/blob/master/examples/customize-filter/index.js
Code Sandbox link here: https://codesandbox.io/s/github/patorjk/mui-datatables/tree/examplegrid_updates
That example shows how to do a filter with a number range - min and max. Doing the same for a date should be pretty straight forward, though myself or someone else can help out if you have any questions.

Thank you very much, the example worked perfect. For the date range, it was just change type = "date"


Keep state in bot per channel

Is it currently possible to keep or pass a state between bot's responses within the same plugin (or maybe even between plugins) on a given channel? So they won't be stateless like current example plugins?

I don't understand what are you mean


Doesn't use the discord.py rewrite branch

Good thing I am working on a rewrite as we speak!
👻 spooky 👻

The rewrite is over in https://github.com/treefroog/tapir-bot/tree/Rewrite

#13 Fixes


Scrollbar visibility is reset when using filters in Library view

In the playlist view, right click > Appearance > Show scrollbar. Open Library view and use the dropdown filter to select any option. Return to playlist view by deselecting the Library button at the top, and the playlist scrollbar visibility has been reset and is now hidden.

Thanks for the bug report, the issue has been fixed!

I'm not sure if the issue is fully fixed - I noticed that if I move the mouse over the playlist panel and then off of the foobar2000 window that it will randomly disappear and reappear.
Tried to capture it in a gif: https://i.gyazo.com/0e421bcd1e7341930a73e5abdaa560d7.gif


Start datetime display doesn't match NUNIT start-time

Describe the bug
Looking at the NUNIT log, the tests ran from:
start-time="2019-10-07 02:51:57Z"
end-time="2019-10-07 07:10:49Z"
duration="15532.193087"
But the report is displaying:
Start datetime: 2019-10-06 22:51:58
Finish datetime: 2019-10-07 03:10:49
Duration: 04:18:51.00
Start datetime has the wrong day and time!

Expected behavior
Was expecting to see something along the lines of:
Start datetime: 2019-10-07 02:51:57
Finish datetime: 2019-10-07 07:10:49
The NuGet packages I'm using are the latest:

Report is generated in Eastern Time Zone.... but I think the 4 hour difference is probably related to UTC time as you pointed out.  I'll 'Close' issue.

Release in v0.9.10


WIP: Add integration tests for product page

I started working on Vue-strorefront and these are my first tests. This is work in progress and feel free to hit me with ideas or test scenarios. That will help me to provide better coverage for vuestorefront functonalities.

That's cool, good job. Merging it in .. in 3...2...1. Done :)


Add some patterns to match Eagle's gerb274x.cam (+ docs)

This made the output from the gerb274x.cam job that came with my copy of EAGLE work. Tested with these Arduino Uno gerbers I plotted. Probably could be improved by supporting 4 layers. Also updated the docs a little.

Thanks very much!


ART_Drugs_Dataset

Description
This contains the effectiveness of ART drugs for the treatment of HIV

Source : WHO

Checklist:

[x] -  I have followed the contributing guidelines of this project as mentioned in CONTRIBUTING.md
[x] -  I have cross-checked that the dataset I'm uploading is not present in the project
[x] -  I have cross-checked that the dataset is present in the correct folder

Hey @sanam2405
Congrats 🎉, your PR got merged. To be eligible for the swags from ClueLess. Follow these steps.

Star this repository. ⭐

SignIn / SignUp in [[ClueLess Website](https://www.clueless.tech/)](https://www.clueless.tech/) .

Go to the profile section from the top right-hand corner.

Comment your profile URL under this comment tagging the person who merged your PR.

That’s it. Follow the leaderboard!
And don’t forget to share your achievement with your friends.


tab URL parameter in Wallet page

Description
Resolve: https://github.com/near/near-wallet/issues/1877

if open https://near-wallet-pr-1895.onrender.com/?tab=nft, the Collectibles tab will be open
if tab is not set, or set to other values, the Balance tab will be open
when click on the tab Collectibles, URL will be changed to https://near-wallet-pr-1895.onrender.com/?tab=nft
when click on the tab Balance, URL will be changed to https://near-wallet-pr-1895.onrender.com

Discussion

Is it OK to use the tab parameter? should we use other params like token?
Is it OK to use the nft value for tab? should we use collectibles?

Thanks for adding this @think-in-universe - it's a nice detail worth supporting IMO.
I think it'd be good to align the language like you suggested and call it whatever is shown on the UI. So in this case, only use balances and collectibles, for both state and URL param.
We could also re-name the state to const [view, setView] = useState(getView());
Also nit but it'd be nice to declare const location = props.history.location; and move the getTokenView (getView) function to right above the switchTokenView (switchView) function just to make it feel a bit more organized.

@think-in-universe Thanks for taking the initiative to work on this concept :) I think it'll be a nice addition!
I think that conceptually, this is part of our Routing stack, not an internal behaviour of the Wallet component.  I think we should avoid adding internal state management to the Wallet component, and instead handle this navigation at our Router level; this is how we handle everything that is driven via URL paths/parameters/queries that control major portions of the UI, and it keeps tight coupling with the location out of our presentational components (which is a good thing for testability and for keeping our display components simple).
We could change from using the component argument to configure the Route to using the render API instead.
https://reactrouter.com/web/api/Route/render-func
Since the render() function receives the Route properties (including location -- ref: https://reactrouter.com/web/api/Route/route-props), we can render the child component with different props, based on anything in the location object (such as parameters, paths, or query strings).
Then, by leveraging the router for this logic, changing the active tab will become a completely standard route/navigation call instead of us mucking around with local state in the Wallet component -- and since how the Wallet component functions would be props driven rather then internally inferred by inspecting router properties itself and then setting and checking locally managed state, we can later add tests to it that won't rely on the location being mocked when we render the component.

@Patrick1904 @MaximusHaximus thanks for the suggstions :)
updated, and please have a look.

@MaximusHaximus @Patrick1904
please review whether my merge conflicts resolution is correct or not in https://github.com/near/near-wallet/pull/1895/commits/ee845ed3daa025fc4f4ccb374c9fc6ed0ce0fdaf

@MaximusHaximus thanks Daryl. nice fix, and great team work.
 That's really amazing and helpful. Thanks a lot everyone.


WIP: Flutter replay

:scroll: Description
Adds session replay support for Flutter (Android, iOS)

:bulb: Motivation and Context
closes #1193

:green_heart: How did you test it?
:pencil: Checklist

[ ] I reviewed submitted code
[ ] I added tests to verify changes
[ ] No new PII added or SDK only sends newly added PII if sendDefaultPii is enabled
[ ] I updated the docs if needed
[ ] All tests passing
[ ] No breaking changes

:crystal_ball: Next steps

I've used jni & jnigen here to integrate with native sentry-java replay support for Android. However, in order to make callbacks work, we need at least jni/jnigen v0.6.0 which would increase our minimum supported SDK version to Flutter 3.1. Therefore, I'm closing this and will create a new PR that uses method channels for Java.


Tool: Multi-select

Would be useful to have multi-select / bulk actions, especially for some basic functions like enable/disable on the table and field label. You might have a big schema and only want to enable a small part of it for Speeder - currently that’s a lot of clicking to disable many objects.

For batch processing, we now have the edit target.


New watch queries executed only after the previous watch queries are done executing

Steps to Reproduce
I have 2 tables: notes and subnotes each with 20000 records. A note has one subnote record and to create a relationship between the two tables there is a uuid column in Note table and parentNoteId in SubNote table.
After clicking a button to watch all the Notes from the database (which is very quick) and saving the List in a local variable notes, I click a button Watch subNotes which executes the watch on the subnote query for each note record.
If I quickly click a button to watch all the notes again (or any other watch query) it is not as quick as before and it seems to be waiting till all the subnote watch streams have started and then only the note watch stream emits an event. I tested this by having a print statement in the listen of the note's watch and is printed to the console after a couple of seconds.
Is it possible to execute watch queries immediately ?
Thanks.
link to full sample app code
Code sample
  void watchAllNotes() {
    notes.clear();
    subNotes.clear();
    final s = isarInstance.notes.where().build().watch(
          fireImmediately: true,
        );

    s.listen((event) {
      print('event :: ${event.length}');
      notes = event;
      setState(() {});
    });
  }

  void watchSubNotesForEachNote() {
    subNotes.clear();
    final isarSubNotesInstance = isarInstance.subNotes;

    notes.forEach((element) {
      isarSubNoteSubscriptions.add(
        isarSubNotesInstance
            .filter()
            .parentNoteIdEqualTo(element.uuid, caseSensitive: false)
            .build()
            .watch(fireImmediately: true)
            .listen((event) {
          subNotes.addAll(event);
        }),
      );
    });
  }

Details

Platform: iPad mini (6th generation) simulator on MacOS.
Flutter version: 3.3.10
Isar version: 3.0.5

[x] I searched for similar issues already
[x] I filled the details section with the exact device model and version
[x] I am able to provide a reproducible example

This is expected behavior


Artisan command does not detect model names/namespace

Laravel Version: 6.2
PHP Version: 7.2
Laravel-admin: 1.7

Description:
Does not detect the model, says
Model does not exists !
even after mentioning namespace
Steps To Reproduce:
I'm using nwidart/laravel-modules to create different modules on my app.
let's say models are located at Modules/Blog/Entities/Post,
php artisan admin:make Post --model=Modules\PoolTest\Entities\Post
says Model does not exist
php artisan admin:make PoolType --namespace=Modules\PoolTest\Entities --model=Post
Goes the same as well

@Bluefitdev
Please use
php artisan admin:make Post --model=Modules\PoolTest\Entities\Post

@DjKammu It doesn't work,
I tried to do it with php artisan admin:make User --model=Modules\MyModule\Entities\User
Says model does not exist


New helper function added for error handling

Signed-off-by: Stefan Bogdanovic<EMAIL_ADDRESS>

This should not be added to the library, yes it convenient to use especially in func main(), but it's bad practice.


Add version 1.10.0 to submission checker

Fix #285

Thank you @pgmpablo157321 for the change. But I guess the power WG wanted to remove support for 1.9.x. @s-idgunji am I correct?
This line also needs an update.

@s-idgunji Can you review and merge this PR?

I’ll do it now.
From: Pablo Gonzalez @.>
Sent: Thursday, February 9, 2023 3:58 PM
To: mlcommons/power-dev @.>
Cc: Sachin Idgunji @.>; Mention @.>
Subject: Re: [mlcommons/power-dev] Add version 1.10.0 to submission checker (PR #286)
@s-idgunjihttps://github.com/s-idgunji Can you review and merge this PR?
—
Reply to this email directly, view it on GitHubhttps://github.com/mlcommons/power-dev/pull/286#issuecomment-1424993183, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANARCVN44DXRMCGZXKYSCFDWWWABVANCNFSM6AAAAAAUVRWPJA.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>


issues for large build context when invoking buildImage api

the buildImage uses fs.readFileSync on the source tar.

this blocks the event-loop.

worse yet, if the tar file is large, a buffer is allocated the size of the tar file. for a 1GB build context, for example, you exceed the max buffer size node allows.
you'll have to recompile v8 to get this to work.
pull request for working with stream instead opened.

Streams already supported. https://github.com/apocas/dockerode/issues/128
More details in https://github.com/apocas/docker-modem/pull/49


chore: update project list in README

Add stargit to example projects

Thanks!

:tada: This PR is included in version 2.1.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[Testing] Adding data-testid attribute to the Hue page HTML elements

What changes were proposed in this pull request?
What are data-testid attributes?
data-testid attributes are custom attributes that can be added to HTML elements to identify them for testing purposes. They are not part of the HTML specification, but they are commonly used in testing frameworks and tools to locate and interact with elements on web pages.
Advantages of using data-testid attributes:

Improved test reliability
Easier to locate elements
Separation of concerns
Clearer documentation

In a nutshell:
Using data-testid attributes in the development process can provide several advantages. By using consistent and meaningful naming conventions, developers can create more reliable and maintainable code.
PFA:
The files were the changes are made:

and the JIRA link for the same is:
https://jira.cloudera.com/browse/DWX-17472
For more details, refer:
https://medium.com/@automationTest/why-your-development-team-should-use-data-testid-attributes-a83f1ca27ebb
Please review Hue Contributing Guide before opening a pull request.

The first in the list: AceEditor (Ace.js) is a 3rd party application. Skipped adding ID there.

@JohanAhlen , @bjornalm
I have updated and checked all the data-testIds from my end. Kindly you both also review it once.
Also, I have doubt in query number 13. Kindly have a look at it too.

For the final testing,I have query number 2,4,7,11,13 according to
where in I don't know the exact button/link on the UI we are referring to so that I can check if its added if we click on the inspect element. Just adding here as a TODO for the final check.
For the 12th, 13th query, I don't see the Databases in my hue editor, want someone to pull the changes in their system and check the data-testid is visible.

For the final testing,I have query number 2,4,13 according to https://jira.cloudera.com/browse/DWX-17472
where in I don't know the exact button/link on the UI we are referring to so that I can check if its added if we click on the inspect element. Just adding here as a TODO for the final check.
For the 12th, 13th query, I don't see the Databases in my hue editor, want someone to pull the changes in their system and check the data-testid is visible. Not sure for 13th.


Notification-country-code

as it is a simple typo. i will merge code right now. but still need code review later

:+1:


Develop Moderator's Guide

[ ] Become familiar with the study instruments (if applicable)

Moderator's Guide in process.
Draft to be finalized for review upon completion of wireframes in progress.

In progress, needed wireframes to finalize. Moved to 2.2


python311Packages.ha-mqtt-discoverable: 0.11.0 -> 0.12.0

Diff: https://github.com/unixorn/ha-mqtt-discoverable/compare/refs/tags/v0.11.0...v0.12.0
Changelog: https://github.com/unixorn/ha-mqtt-discoverable/releases/tag/v0.12.0
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/)
23.11 Release Notes (or backporting 23.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.

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

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

6 packages built:

ha-mqtt-discoverable-cli
ha-mqtt-discoverable-cli.dist
python310Packages.ha-mqtt-discoverable
python310Packages.ha-mqtt-discoverable.dist
python311Packages.ha-mqtt-discoverable
python311Packages.ha-mqtt-discoverable.dist


Published column in product list doesn't show correctly if product is_published

Published column in product list doesn't show correctly if product is_published
Product list in collection view display published correctly
Screenshots

What I expected
To see the same status for AliceBlue 2 in both listings.

Product type exposes two fields:

isPublished
isAvailable
It seems that the main product listing uses isAvailable for a column which should use isPublished.


Server Error (500)

From the "Training Setup" Page, I clicked on "kyu" (in the top right corner), but received the following error on the next page.
Server Error (500)
/codewars/app/views/users/stats/_progress.html.slim:20: syntax error, unexpected modifier_rescue, expecting ')' ...miter(user.honor_ranking rescue '?')}"))).to_s)); ... ^ /codewars/app/views/users/stats/_progress.html.slim:20: syntax error, unexpected ')', expecting tSTRING_DEND ...(user.honor_ranking rescue '?')}"))).to_s)); ... ^ /codewars/app/views/users/stats/_progress.html.slim:21: unknown regexp option - b /codewars/app/views/users/stats/_progress.html.slim:24: syntax error, unexpected keyword_end, expecting tSTRING_DEND ...er.safe_concat(("")); end; @output_buffer.safe_concat(... ... ^ /codewars/app/views/users/stats/_progress.html.slim:60: syntax error, unexpected keyword_ensure, expecting tSTRING_DEND /codewars/app/views/users/stats/_progress.html.slim:62: syntax error, unexpected keyword_end, expecting tSTRING_DEND
*** When trying to re-create the error, I was properly directed to my profile page, so the issue is possibly resolved***

these are just random problems cw has currently very (too much) often with the servers. Just reload the page (several times if needed)

Duplicate of #1535.

Closing as duplicate of #1535


Composer 2.0 compatibility

First off, thank you for creating a great package that helped us catch some issues before they made it to production.
Composer 2 has been released, and when using that version on a project that has dependency-guard installed, all composer commands fail with the following message:
  Problem 1
    - mediact/dependency-guard[1.0.0, ..., 1.1.1] require composer-plugin-api ^1.1 -> found composer-plugin-api[2.0.0] but it does not match the constraint.
    - Root composer.json requires mediact/dependency-guard ^1.0 -> satisfiable by mediact/dependency-guard[1.0.0, ..., 1.1.1].

You are using Composer 2, which some of your plugins seem to be incompatible with. Make sure you update your plugins or report a plugin-issue to ask them to support Composer 2.

This initial incompatibility seemed easy enough to fix, but updating only this package isn't enough:
  Problem 1
    - Root composer.json requires composer-plugin-api ^1.1, ^2.0, found composer-plugin-api[2.0.0] but it does not match the constraint.
  Problem 2
    - mediact/testing-suite[1.0.0, ..., 1.0.5] require mediact/coding-standard-phpstorm ^1.0 -> satisfiable by mediact/coding-standard-phpstorm[1.0.0, ..., 1.7.0].
    - mediact/testing-suite[1.1.0, ..., 1.25.1, 2.0.0, ..., 2.3.0] require composer-plugin-api ^1.1 -> found composer-plugin-api[2.0.0] but it does not match the constraint.
    - mediact/coding-standard-phpstorm[1.0.0, ..., 1.7.0] require composer-plugin-api ^1.0 -> found composer-plugin-api[2.0.0] but it does not match the constraint.
    - Root composer.json requires mediact/testing-suite @stable -> satisfiable by mediact/testing-suite[1.0.0, ..., 1.25.1, 2.0.0, ..., 2.3.0].

Thank you for your clear description of your issue in regards to Composer 2. However this repository is currently not maintained. We are looking into applying maglnet/composer-require-checker ourselves, maybe that could work out for you.

Cheers @ksangers. Can you set the package as abandoned on Packagist?


Article about Solutions Deployment

Q
A

content fix?
no

New article?
yes

Related issues?
--

What's in this Pull Request?
Article about Solutions Deployemnt

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/solution-guidance/Solutions-deployment.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Uncaught Error: useSession must be wrapped in a

I tried installing the boilerplate but got the following error, no modifications has been made yet --
Uncaught Error: useSession must be wrapped in a
at useSession (ctx.tsx:20:3)
at AppLayout (_layout.tsx:6:29)
at renderWithHooks (react-dom.development.js:16307:7)
at mountIndeterminateComponent (react-dom.development.js:20076:5)
at beginWork (react-dom.development.js:21590:10)
at HTMLUnknownElement.callCallback (react-dom.development.js:4166:9)
at Object.invokeGuardedCallbackDev (react-dom.development.js:4216:16)
at invokeGuardedCallback (react-dom.development.js:4279:1)
at beginWork$1 (react-dom.development.js:27453:29)
at performUnitOfWork (react-dom.development.js:26559:10)
at workLoopSync (react-dom.development.js:26468:1)
at renderRootSync (react-dom.development.js:26436:7)
at performConcurrentWorkOnRoot (react-dom.development.js:25741:37)
at workLoop (scheduler.development.js:269:18)
at flushWork (scheduler.development.js:241:13)
at MessagePort.performWorkUntilDeadline (scheduler.development.js:535:11)

useSession @ ctx.tsx:20
AppLayout @ _layout.tsx:6
renderWithHooks @ react-dom.development.js:16307
mountIndeterminateComponent @ react-dom.development.js:20076
beginWork @ react-dom.development.js:21590
callCallback @ react-dom.development.js:4166
invokeGuardedCallbackDev @ react-dom.development.js:4216
invokeGuardedCallback @ react-dom.development.js:4279
beginWork$1 @ react-dom.development.js:27453
performUnitOfWork @ react-dom.development.js:26559
workLoopSync @ react-dom.development.js:26468
renderRootSync @ react-dom.development.js:26436
performConcurrentWorkOnRoot @ react-dom.development.js:25741
workLoop @ scheduler.development.js:269
flushWork @ scheduler.development.js:241
performWorkUntilDeadline @ scheduler.development.js:535
Please can you advise.

Can you include your environment? I'm unable to reproduce this error


Contact us form modified.

Fixes issue: #188
I have made the contact us form more attractive and user-friendly.

YES


Toasts can close prematurely due to ID collision

Steps to reproduce:

Open the demo
Press the 's' key to create a success toast
Wait 3 seconds
Click on the toast to dismiss it
Press the 's' key again to create a new success toast
The newly created toast will close after 2 seconds instead of 5. This happens because the newly created toast has the same Id as the dismissed toast, and the dismissed toast's Process.sleep was never killed.

Possible solutions:

When a toast is added, use Process.spawn to keep track of the Process.sleep process ID. If the user manually dismisses a toast, kill the sleep process with Process.kill.
Use a random number generator to assign a unique ID to each toast. It won't prevent all collisions but the chance of collision will be extremely small.

Good catch! thanks, I'll work on it.

I opened a PR that implements the second solution. Let me know what you think!

I agree - killing the process does feel like the approach since it eliminates the chance of collision. I'll see if I can get it to work and open a separate PR.

Ok, thanks again for your help!
Nevertheless I just merged your first PR as it is more robust than my previous version.


Provide performance metric comparisons with Flink

A metrics suite that can provide latency and throughput across several types of DAGS and uses similar parameters.

submitted to yahoo streaming benchmarks. See https://github.com/yahoo/streaming-benchmarks/pull/10


Document UTF-8 Conversion in Spec + Simplify marshall/unmarshall Implementations.

After looking at this I thought we were doing something special, but it turns out some characters weren't encoded right. Single character string: '𐍈' is an example
We should switch to utf8.js since it makes the code easier to debug. If we wanted to save memory allocations, we could make it re-use a fixed buffer and return the buffer, length pair. And then we can rewrite the code for subsequent for adjusting the size in.
The Java version can be simplified with new String(bytes, utf8CharSet); and s.getBytes(utf8CharSet); As of Java 8, they decided to move away from UTF-16 as a default encoding, and previously were into UTF16. So we should just use the native implementation as much as possible than invent ours.
@pascaldekloe would like to hear your thoughts. :)

I think text conversion depends on the implementation, i.e., the rules are not related to the data format. The compiler manual (see README) states the following.
	Text validation is not part of the marshalling and unmarshalling
	process. C and Go just pass any malformed UTF-8 characters. Java
	and JavaScript replace unmappable content with the '?' character
	(ASCII 63).

So java.lang.String is no longer backed by a char(acter) array. With the new implementation it is even harder to access the data in an efficient way. 😖 Happy to hear about better alternatives for String#charAt(int). String#getBytes allocates memory. The unmarshaller uses String(byte[],int,int,java.nio.charset.Charset) now, and that works fine.
No external libraries for generated code is key!
Feel free to open an issue for a specific improvement idea.

Had a quick look at the new streams with String#chars. It is way slower 😱than String#charAt(int).

Thank you for clarifying. So here are some specific suggestions:

Java's size fit should probably use *4 or *5 as a general rule. Assuming 𐍈🐱🐉🤷♂🥗🚂 emojis are the norm than the exception.
We should probably add ser/deser tests with UTF characters across all 4 character ranges in these tests.

The size fit is the maximum ratio from UTF-16 char(acters) to UTF-8 bytes. That is, encoding of a char costs 1, 2 or 3 bytes; never more.

The golden cases have a string with all cases covered.

Ah, yes, based on characters, not code points. That should be okay for now.

What do you mean with "for now"? 😬 This must hold forever, even with malformed UTF-16 sequences.

--- a/ecma/test.js
+++ b/ecma/test.js
@@ -50,6 +50,7 @@ function newGoldenCases() {
                '87ffffffffffffffff2e5da4e77f': {t: new Date(-223), t_ns: 888999},
                '0801417f': {s: 'A'},
                '080261007f': {s: 'a\x00'},
+               '0804f0908d887f': {s: '𐍈'},
                '0809c280e0a080f09080807f': {s: '\u0080\u0800\u{10000}'},
                '08800120202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020207f': {s: '                                                                                '},
                '0901ff7f': {a: new Uint8Array([0xFF])},

… passes just fine.

For now, it meant, until, Unicode ups the range dramatically.

Unicode doesn't up the range dramatically. It would would also be against their own stability policy.


Social login completed

BUGS:
Social login completed

Hello @jitendra-webkul
Since this PR is merged, all pipeline checks are failing because of this migration:
packages/Webkul/SocialLogin/src/Database/Migrations/2020_06_25_162340_change_email_password_columns_in_customers_table.php
Please, either revert that merge or fix the migration. Thank you.

Hello again @jitendra-webkul
it might probably be a good idea to configure the repository as such, that merges are not possible as long as the pipeline checks fail.
What do you think?

Hi @AnnikaWolff,
Fixed in #3385

Hello again @jitendra-webkul
it might probably be a good idea to configure the repository as such, that merges are not possible as long as the pipeline checks fail.
What do you think?

Yes you are right, PR should not be merge if pipeline failed.


fix albumentations mask postprocessing

Motivation
Fix https://github.com/open-mmlab/mmdetection/issues/11422
Modification
Use augmented image shape instead of first mask shape.
Comment
Reopend pull request to fix commit author

Why has this not been merged? Completely fixes my problem


Daemonst SR-IOV network-config-daemon is not deleted

Steps to reproduce:

deploy SR-IOV Network Operator using helm chart
uninstall SR-IOV Network Operator

and I found Daemonst SR-IOV network-config-daemon is not deleted, all resources of SR-IOV should be clean up.
➜  spiderpool git:(spidercoorinator/kubeadm_config) ✗ kubectl get po -n kube-system
NAME                                         READY   STATUS    RESTARTS       AGE
coredns-5d78c9869d-r24pv                     1/1     Running   3              22d
coredns-5d78c9869d-r66rn                     1/1     Running   3 (20d ago)    22d
etcd-kind-control-plane                      1/1     Running   6              22d
kindnet-czntv                                1/1     Running   13 (20d ago)   22d
kindnet-jp8lt                                1/1     Running   10 (20d ago)   22d
kindnet-tdr6w                                1/1     Running   14 (20d ago)   22d
kube-apiserver-kind-control-plane            1/1     Running   11 (20d ago)   22d
kube-controller-manager-kind-control-plane   1/1     Running   0              5h58m
kube-proxy-96q5x                             1/1     Running   0              22d
kube-proxy-hgxfj                             1/1     Running   0              22d
kube-proxy-ndwhw                             1/1     Running   0              22d
kube-scheduler-kind-control-plane            1/1     Running   15 (20h ago)   22d
sriov-network-config-daemon-k4m7d            3/3     Running   0              2d2h
sriov-network-config-daemon-lhdqf            3/3     Running   0              2d2h

I think some of the rework here https://github.com/k8snetworkplumbingwg/sriov-network-operator/pull/556 will take care of this

Can you reproduce this issue with latest master? I suspect this PR could have solved it

https://github.com/k8snetworkplumbingwg/sriov-network-operator/pull/617

SriovOperatorConfig, which is the config-daemon owner reference, is now part of the helm deployment, so it should be removed by the uninstall procedure.

@zeeke sure, I will reproduce this issue with latest master in my free time. and if it can be solved, can we have a new release? I see it's been a long time since the last release.

Sure, an new release is already on the table:

https://github.com/k8snetworkplumbingwg/sriov-network-operator/issues/450

Let me know about your test results

the test results are good!
root@10-20-1-20:/home/cyclinder/sriov-network-operator/deployment/sriov-network-operator# kubectl get po -n kube-system
NAME                                                           READY   STATUS    RESTARTS      AGE
coredns-7ddf9b46c6-tm6d6                                       1/1     Running   6 (20d ago)   30d
coredns-7ddf9b46c6-xsqqq                                       1/1     Running   6 (20d ago)   30d
etcd-k8s-dra-driver-cluster-control-plane                      1/1     Running   6 (20d ago)   30d
kindnet-7fc8v                                                  1/1     Running   6 (20d ago)   30d
kindnet-fbm5p                                                  1/1     Running   6 (20d ago)   30d
kube-apiserver-k8s-dra-driver-cluster-control-plane            1/1     Running   6 (20d ago)   30d
kube-controller-manager-k8s-dra-driver-cluster-control-plane   1/1     Running   6 (20d ago)   30d
kube-proxy-qd8z8                                               1/1     Running   6 (20d ago)   30d
kube-proxy-wtw9k                                               1/1     Running   6 (20d ago)   30d
kube-scheduler-k8s-dra-driver-cluster-control-plane            1/1     Running   6 (20d ago)   30d
sriov-network-config-daemon-7x59j                              1/1     Running   0             46m
sriov-network-config-daemon-bzwvs                              1/1     Running   0             46m
sriov-operator-sriov-network-operator-65cbfd4876-2bwrw         1/1     Running   0             3h28m
root@10-20-1-20:/home/cyclinder/sriov-network-operator/deployment/sriov-network-operator# kubectl ^C
root@10-20-1-20:/home/cyclinder/sriov-network-operator/deployment/sriov-network-operator# helm uninstall sriov-operator -n kube-system
release "sriov-operator" uninstalled
root@10-20-1-20:/home/cyclinder/sriov-network-operator/deployment/sriov-network-operator# kubectl get po -n kube-system
NAME                                                           READY   STATUS    RESTARTS      AGE
coredns-7ddf9b46c6-tm6d6                                       1/1     Running   6 (20d ago)   30d
coredns-7ddf9b46c6-xsqqq                                       1/1     Running   6 (20d ago)   30d
etcd-k8s-dra-driver-cluster-control-plane                      1/1     Running   6 (20d ago)   30d
kindnet-7fc8v                                                  1/1     Running   6 (20d ago)   30d
kindnet-fbm5p                                                  1/1     Running   6 (20d ago)   30d
kube-apiserver-k8s-dra-driver-cluster-control-plane            1/1     Running   6 (20d ago)   30d
kube-controller-manager-k8s-dra-driver-cluster-control-plane   1/1     Running   6 (20d ago)   30d
kube-proxy-qd8z8                                               1/1     Running   6 (20d ago)   30d
kube-proxy-wtw9k                                               1/1     Running   6 (20d ago)   30d
kube-scheduler-k8s-dra-driver-cluster-control-plane            1/1     Running   6 (20d ago)   30d

Great! I'll close this as soon as we release this fix

a new operator was released with this feature closing


WIP: Sparse support for tree function

Updated tree output link here.
https://www.diffchecker.com/1Ue0pz6a/

@onckr @bhatele
This should be ready for review now.
Only changes from last time should be that I've made the tau reader output sparse data (as per Onur's directions), and I've also added a test test_sparse_tree in the tau tests.
(I don't have the tau tools installed, though, so I wasn't able to verify if the output is correct - I've only checked the output against the dataframe. Onur, if you have time, can you pull my branch and check if the output from tree matches with pprof
Copy pastable command to load the data should be
import hatchet as ht
sparse_tau = ht.GraphFrame.from_tau("hatchet/tests/data/lulesh-tau-64-fdef-profiledir-5")
sparse_tau.tree()

)

all comments are addressed now I think.


Feat/cache package

Setup cache-only example
Setup cache package

Remind to do a git pull, there is lots of code that i have already changed. So it's bringing up 149 files changes hahahahahhaha.
Do a git pull origin main to get the changes from the main. Besides that i'll comment out the changes on the codebase.

Noted! I think we should try keep the main branch up to date to avoid merge conflicts. On this feature I'm gonna modify only the libs, packages and the cache-example dir, nothing that would bring merge conflicts on what you're doing


Unable to see video call recipients on Cisco Webex

Describe the bug
During a videoconference, I am unable to see other people's webcams.
To Reproduce
Steps to reproduce the behavior:

Have a conference on Webex
Make the recipients show their webcam

Expected behavior

Video streams should show

Screenshots
I can't show those because of privacy
Environment (please complete the following information):

OS/Platform and version: KDE neon 5.18.4
ungoogled-chromium version: 80.0.3987.149-1.bionic1 amd64

Additional context
I have an AMD GPU and Mesa 20.1-dev drivers from oibaf's PPA

WebRTC is disabled?

how do I check it ?

I don't think WebRTC is the issue because I don't think you can disable it.
What does DevTools show while you are making the video call?

DevTools doesn't show anything but a series of errors due to denied accesses to fonts (content security policy errors)
and a lot of private stuff

I tried to make a call with the Vivaldi browser as a comparison and I looked at the console output: they're the same, same CSP errors and same output. It's just that ungoogled chromium somehow doesn't show webcams... idk

I'm guesing chrome://settings/content/camera is configured correctly? Could you try a webcam tester or a service like Jitsi Meet?

Well, the problem is not with my webcam but it's with other's video feed; that one doesn't load.
Sure I can try Jitsi asap

Does this work in Chromium or a derivative?

This works in stock Chromium!

This now works on Ungoogled Chromium 81 from the newer openSUSE repos (for Ubuntu)


Fix compatibility with pytest 3.x

==================================== ERRORS ====================================
_________________ ERROR collecting tests/test_ztranslation.py __________________
Using pytest.skip outside of a test is not allowed. If you are trying to decorate a test function, use the @pytest.mark.skip or @pytest.mark.skipif decorators instead.
!!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!!
=========================== 1 error in 0.17 seconds ============================

The test failure is irrelevant.

Closing-and-reopening to retrigger travis


boost-json build failure

Operating system
Windows
Compiler
Visual Studio 2022
Steps to reproduce the behavior
vcpkg install boost-json

Failure logs
C:\dev\vcpkg>vcpkg install boost-json
Computing installation plan...
The following packages will be built and installed:
<EMAIL_ADDRESS>-- C:\Users\Acer\AppData\Local\vcpkg\registries\git-trees\e1823e435f5b0a89baadc0aedbd7b80cd3c8b4ef
Detecting compiler hash for triplet x64-windows...
Restored 0 package(s) from C:\Users\Acer\AppData\Local\vcpkg\archives in 519 us. Use --debug to see more details.
Installing 1/1<EMAIL_ADDRESS>Building<EMAIL_ADDRESS>-- Installing port from location: C:\Users\Acer\AppData\Local\vcpkg\registries\git-trees\e1823e435f5b0a89baadc0aedbd7b80cd3c8b4ef
-- Downloading https://github.com/boostorg/json/archive/boost-1.81.0.tar.gz -> boostorg-json-boost-1.81.0.tar.gz...
-- Extracting source C:/dev/vcpkg/downloads/boostorg-json-boost-1.81.0.tar.gz
-- Using source at C:/dev/vcpkg/buildtrees/boost-json/src/ost-1.81.0-9cf4711843.clean
-- Including C:/Users/Acer/AppData/Local/vcpkg/registries/git-trees/e1823e435f5b0a89baadc0aedbd7b80cd3c8b4ef/b2-options.cmake
-- Found external ninja('1.11.0').
-- Getting CMake variables for x64-windows
-- Configuring x64-windows
-- Building x64-windows-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
Command failed: C:/dev/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cmake.exe --build . --config Debug --target install -- -v -j9
Working Directory: C:/dev/vcpkg/buildtrees/boost-json/x64-windows-dbg
See logs for more information:
C:\dev\vcpkg\buildtrees\boost-json\install-x64-windows-dbg-out.log
Call Stack (most recent call first):
installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74 (vcpkg_execute_build_process)
installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake:16 (vcpkg_cmake_build)
installed/x64-windows/share/boost-build/boost-modular-build.cmake:140 (vcpkg_cmake_install)
C:/Users/Acer/AppData/Local/vcpkg/registries/git-trees/e1823e435f5b0a89baadc0aedbd7b80cd3c8b4ef/portfile.cmake:17 (boost_modular_build)
scripts/ports.cmake:175 (include)
error: building boost-json:x64-windows failed with: BUILD_FAILED
Elapsed time to handle boost-json:x64-windows: 8.5 s
Please ensure you're using the latest port files with git pull and vcpkg update.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+boost-json
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?title=[boost-json]+Build+error+on+x64-windows&body=Copy+issue+body+from+C%3A%2Fdev%2Fvcpkg%2Finstalled%2Fvcpkg%2Fissue_body.md
Additional context
No response

probably same error as #38958

Please try to run with latest vcpkg.
If the issue persists, please see #30604 for how to report a build failure.


The new terminal creator shortcut to wsl doesn't work

Issue Type: Bug
When I try to create a new terminal from dropbox in terminal called "New Ubuntu-20.04 (Padrão)", it fails:
"The terminal process "C:\WINDOWS\System32\wsl.exe '-d', 'Ubuntu-20.04 (Padrão)'" failed to launch (exit code:<PHONE_NUMBER>)."
But I saw a flashed message saying: "Não há distribuição com o nome fornecido."
VS Code version: Code 1.55.2 (3c4e3df9e89829dce27b7b5c24508306b151f30d, 2021-04-13T09:35:57.887Z)
OS version: Windows_NT x64 10.0.19042

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz (8 x 1992)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onprotected_video_decode: enabledrasterization: enabledskia_renderer: enabled_onvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
31.90GB (17.03GB free)

Process Argv
--crash-reporter-id 40b25d93-0e2d-4c9f-8930-a858091ab5eb

Screen Reader
no

VM
0%

Extensions (21)

Extension
Author (truncated)
Version

vscode-sqlite
ale
0.12.0

mongodb-vscode
mon
0.5.0

vscode-docker
ms-
1.12.1

python
ms-
2021.4.765268190

vscode-pylance
ms-
2021.4.2

jupyter
ms-
2021.5.745244803

remote-containers
ms-
0.166.1

remote-ssh
ms-
0.65.4

remote-ssh-edit
ms-
0.65.4

remote-wsl
ms-
0.54.6

vscode-remote-extensionpack
ms-
0.20.0

cmake-tools
ms-
1.7.1

cpptools
ms-
1.3.1

hexeditor
ms-
1.5.0

powershell
ms-
2021.2.2

debugger-for-chrome
msj
4.12.12

vetur
oct
0.33.1

vue-vscode-snippets
sdr
2.2.0

cmake
twx
0.0.17

lorem-ipsum
Tyr
1.2.0

python-auto-venv
whi
1.2.0

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
pythonvspyt602:30294772
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstry914:30276682
pythonvsnew554cf:30291488
pythontb:30283811
vspre833cf:30267465
pythonptprofiler:30281270
vshan820:30294714
pythondataviewer:30285071
vscus158:30286553

I believe this is already fixed, can you see if you can reproduce in the Insiders build?

Hi!
Awesome! It worked in the Insiders build and fantastic! The new look is pretty nice!
Thanks Daniel,
Best regards,
Humberto
Em quarta-feira, 28 de abril de 2021 10:49:27 BRT, Daniel Imms<EMAIL_ADDRESS>escreveu:

Closed #122498.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


white line in CNCF projects at some zooms

https://landscape.cncf.io/format=landscape&zoom=120

That was fixed in other pull request


remove jekyll-gist from _config.yml

Proposed changes
I removed the jekyll-gist gem from  from _config.yml.
It's not being used anymore, and in my opinion we shouldn't use it in the future either. All content should come from that repository.
Signed-off-by: Adrien Duermael<EMAIL_ADDRESS>

@aduermael Agreed; it was interesting to experiment with but ultimately local development/building is broken if we depend on Gist.


[Bug]: Top-level await not supported by remix/compiler

Which Remix packages are impacted?

[ ] remix (Remix core)
[ ] create-remix
[ ] @remix-run/architect
[ ] @remix-run/cloudflare-workers
[X] @remix-run/dev
[ ] @remix-run/express
[ ] @remix-run/netlify
[ ] @remix-run/node
[ ] @remix-run/react
[ ] @remix-run/serve
[ ] @remix-run/server-runtime
[ ] @remix-run/vercel

What version of Remix are you using?
v1.1.1
What version of Node are you using? Minimum supported version is 14.
v16.13.1
Steps to Reproduce
Changed the tsconfig.json to allow top-level await
"module": "es2022", "lib": ["DOM", "DOM.Iterable", "ES2019"], "target": "es2021",
and changed serverModuleFormat: "esm" in remix.config.js
the whole point is to have a top-level await in the db.server.ts file so when mongodb wants to connect it can do in a synchronous manner. also, it is interesting it is giving warnings for dotenv and MongoDB missing from the package.json as they are present and working properly although without the top-level await.
Expected Behavior
To work :D
Actual Behavior
[1] The path "dotenv" is imported in app\db.server.ts but dotenv is not listed in your package.json dependencies. Did you forget to install it?
[1] The path "mongodb" is imported in app\db.server.ts but mongodb is not listed in your package.json dependencies. Did you forget to install it?
[1]
[1]  > app/db.server.ts:24:6: error: Top-level await is not available in the configured target environment ("es2021")
[1]     24 │       await global._mongoClient.connect();
[1]        ╵       ~~~~~
[1]    tsconfig.json:6:14: note: The target environment was set to "es2021" here
[1]      6 │     "target": "es2021",

I was getting this error when running through the blog tutorial blog tutorial, seeding the db .
prisma/seed.ts:93:3 - error TS1378: Top-level 'await' expressions are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', or 'nodenext', and the 'target' option is set to 'es2017' or higher.

I added your changes to the tsconfig.json and it's worked for me. Thanks.
Would be good to get this updated.

Closed in favor of #4348


chore(refactor): pkg/* prefactoring

Description

This is a prefactoring to avoid future cycles between env and logging: pkg/env dependencies to not import anything that logs.
User-facing documentation

[x] CHANGELOG is updated OR update is not needed
[ ] documentation PR is created and is linked above OR is not needed

Testing and quality

[x] the change is production ready: the change is GA or otherwise the functionality is gated by a feature flag
[x] CI results are inspected

Automated testing

[ ] added unit tests
[ ] added e2e tests
[ ] added regression tests
[ ] added compatibility tests
[ ] modified existing tests

How I validated my change

CI.

Current dependencies on/for this PR:

master

PR #13397 👈

PR #13371

/retest


Multiline comments for Python during tokenization

This pull request updates your branch pythonmultiline (first 101 commits) and add a few tests for Python multiline comments (two last commits).
When merged, the two last commits should automatically be added to your pull request at github/linguist#1723.

@pchaigno sorry I missed this. It looks like it needs a rebase, but I'll be happy to merge it.

@techhat No worries. I think you can merge it here and we'll see in github/linguist#1723 if it needs a rebase.


Vim - command in/around pair selector (' " < ` etc) doesn't work if cursor is on first of pair

Check for existing issues

[X] Completed

Describe the bug / provide steps to reproduce it
For example, if you have the following text: const foo = "bar"
If your cursor is on the first " (after the = and before the b), and you run any command of the following type; ci" (change inside "), va" (select around "), di" (delete inside ") etc. the command will not work.
If your cursor is on any of the following characters, including the last " the command works as expected.
To clarify this is not just broken on text wrapped in " but in any wrapping symbol eg " ' < ( { [ etc.
forgive me if this is a duplicate I searched for anything I thought relevant in the issues and could not see anything relating to this.
Also worth noting I have only tried this in a .tsx Typescript React file, not any other language, so maybe an issue with treesitter/some language server issue?
Environment
Zed: v0.108.2 (stable)
OS: macOS 14.0.0
Memory: 16 GiB
Architecture: aarch64
If applicable, add mockups / screenshots to help explain present your vision of the feature
https://github.com/zed-industries/community/assets/30220663/66f38480-b6e4-4b10-8a06-d90f1cc3ca0f
If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.
If you only need the most recent lines, you can run the zed: open log command palette action to see the last 1000.
No response

Thanks for reporting!
I had coincidentally fixed this on Monday, and it should go out in the next preview release (due today).
I am not yet using tree-sitter for this, but I'd like to change that to get multi-line string support (which vim does not have) and skipping over escaped quotes ("oh \"wow\"!") which vim has already. (I'm less sure if tree-sitter would be an advantage for parens and braces)


few CircleSlider ?

hello
I am used  few to slider
 @IBOutlet weak var FoodQSlider      : UIView!
    @IBOutlet weak var Cleanness        : UIView!
    @IBOutlet weak var StaffPerformance : UIView!
    @IBOutlet weak var Facilities       : UIView!
    @IBOutlet weak var InternetService  : UIView!
    @IBOutlet weak var AccToBazzar      : UIView!
    @IBOutlet weak var AccToEntertain   : UIView!

and The initialization all have
let delay = 0.1 * Double(NSEC_PER_SEC)
let time  = dispatch_time(DISPATCH_TIME_NOW, Int64(delay))
dispatch_after(time, dispatch_get_main_queue(), {
self.circleSlider.value = Float(self.reviwesRoundTwo[0])
})
but only last slide shows the correct

complete source
 private func buildCircleSliderFoodQSlider() {
        self.circleSlider = CircleSlider(frame: self.FoodQSlider.bounds, options: self.sliderOptions)

        let delay = 0.1 * Double(NSEC_PER_SEC)
        let time  = dispatch_time(DISPATCH_TIME_NOW, Int64(delay))
        dispatch_after(time, dispatch_get_main_queue(), {
            self.circleSlider.value = Float(self.reviwesRoundTwo[0])
        })
        self.FoodQSlider.addSubview(self.circleSlider!)
        self.valueLabel = UILabel(frame: CGRect(x: 0, y: 0, width: 100, height: 100))
        self.valueLabel.textAlignment = .Center
        self.valueLabel.center = CGPoint(x: CGRectGetWidth(self.circleSlider.bounds) * 0.5, y: CGRectGetHeight(self.circleSlider.bounds) * 0.5)
        self.valueLabel.text = String(reviwesRoundTwo[0])
        self.circleSlider.addSubview(self.valueLabel)
    }

Hi @J-phantom
Sorry,Setting of the initial value by the dispatch_after is a temporary way.
Current situation, The setting of the initial value does not correspond.

Is there any way?


Steps to adding new domains

Let's say I register example.com and I want to add example.org to the same app. What are the step required to doing that?

Good question. I can add this to the script functionality.
For now, you have to remove the <appname>.ssl.conf file and re-run the script again.

That would be sweet!
I literally had a client discussing "new subdomains" with me yesterday... this feature would help a lot.

I tried to remove the <appname>.ssl.conf and re run the ssl script and added the other domains like example.com and example.org It works but the gives me an SSL error on the second page when trying to surf to it.
Failed to prove the identity of the server is example.org its security certificate is from example.com

I deleted my <appname>.ssl.conf and rerun the script and added my other top domain urls example.com, example.net, example.info. But when trying to surf to the the domains I added I get an SSL error.
This server could not prove that it is example.net; its security certificate is from example.com.

I'm also having this issue. My initial install (a few weeks ago) worked properly, but trying to create any additional certs end up causing an SSL error issue that can't be resolved until I delete the ssl.conf file I just created. This happens for all domains and subdomains >= 1.

It could be a security risk running two different sites on the same app If you seriously need another domain just copy paste the PHP code into the new app and make them use the same database. I am suggesting that @lesaff close this issue, I write some wiki stuff soon.

@miwilc Which "PHP code" and "database" are you referring to? This Github repo is for a simple shell script.
Please elaborate on the perceived security risk... I don't see one.

@lindseydiloreto I was mentioning that you can create a new app on serverpilot for your new domain/subdomain and copy all the files of the old app via SFTP/SSH to the new one, this should include the config files to use the MySQL database form old app.

Just wondering if this Gist would provide some help in getting this issue solved? I no server guru, so could be way off, but it seems to enable easy sub-domain additions.


⚠ Bofrost.lu has degraded performance

In 33b2921, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 987 ms

Resolved: Bofrost.lu performance has improved in a9d1415 after 6 minutes.


Right arrow key when writing a comment on a gallery item sends you to the next item

Describe the bug, optionally with screenshots
The right arrow will take you to the next item when you're trying to edit text in a comment on a gallery item.
Additional context:

OS/browser: Safari on MacOS

Duplicate of #1885


post profile

with running stripe update customer

It's working well, but I'll run some additional tests.

with update stripe email(if we update email address)


Connection issue

Hello
I am new to dronekit and I have some trebles when I try to connect my drone via dronekit-python.
I have no trebles when I'm using QGC (wifi and usb)
I'm using :

pixracer with PX4
python 2.7
dronekit-python (don't know witch version but I downloaded it few days ago via pip)
windows 7 and 10 (2 different PC)

when I try to run the most basic code:
from dronekit import connect
connection_string = '<IP_ADDRESS>:14550'
print "Connecting"
vehicle = connect(connection_string, wait_ready=True)

I get the following output:

Connecting

Link timeout, no heartbeat in last 5 seconds
No heartbeat in 30 seconds, aborting.
Traceback (most recent call last):
File "hello1.py", line 6, in
vehicle = connect(connection_string, wait_ready=True)
File "build\bdist.win-amd64\egg\dronekit_init_.py", line 2880, in connect
File "build\bdist.win-amd64\egg\dronekit_init_.py", line 2147, in initialize
dronekit.APIException: Timeout in initializing connection.

Can someone tell me what am I doing wrong and walk me through.
(My end goal is to control multiple cuadcopters (5) simultaneously from my PC)
Thank you in advance.

Suggest you try the gitter channel. I'd use DK-python from github rather than pip.
The message means what it says - you have no connection. The connection string is for a UDP connection to local host on port 14550 - that works for SITL but not for real hardware. You will need to specify the actual connection string for the method you're using to connect.
Last of all, I am not sure how well DK-Python is currently handling PX4. I suggest you look at DroneCore. It is C++ and still evolving, but it is designed for PX4 and should have Python wrappers in the coming months.

@hamishwillee Thank you for your quick answer!

Can you tell me how can I find the right connection string? (for now I'm connecting to the pixracer directly from my laptop via wifi or USB (e.g COM5 )).
2)Is DK-Python more suited to arducopter?
I tried to install arducopter (via QGC and MP) and I failed to do it. Is it possible to install arducopter on pixracer?

Thank you in advance.

Sorry, no. I am off on holiday. Back in a couple of week. Raise issue on gitter channel.

Can you tell me how can I find the right connection string? (for now I'm connecting to the pixracer directly from my laptop via wifi or USB (e.g COM5 )).

I think the connection string is as simple as "COM5" in your example. Don't forget to set the baud rate.
To install DK-python from repository:
git clone https://github.com/<your_fork_of_dronekit>/dronekit-python.git
cd dronekit-python
python setup.py build
python setup.py install


chore: use turbo watch instead of tsc --watch

is there some way to not have to duplicate build and dev scripts?

🙏


Add GULUserDefaults to GoogleUtilities.

This is a workaround for NSUserDefaults crashing when setting values
in the background in some situations on iOS 11. This uses the C API
in order to avoid an NSNotification firing (which a class eventually
tries to update the UI from the thread that set the value).

Will wait until Travis is green before adding reviewers.

From travis, it looks like it doesn't work on macOS

@bstpierr Travis is green and I addressed your comments. PTAL when you get a chance! :)


Correct Typo in Environment Variable Export Command

This Pull Request addresses a small typo in the export command of the LOGS_DATABASE environment variable. The word "export" was misspelled as "exprot". This fix ensures that the environment variable is set correctly in the system.

LGTM! 😅


spec 'erase' param on /account/deactivate

Fixes https://github.com/matrix-org/matrix-doc/issues/1288

Spec proposal?

the issue is marked as spec-omission so clearly its already accepted into the spec, just not documented.

I disagree that this is a spec omission. All of the stuff added for GDPR needs to go through the formal proposal process before it's added to the spec. It's not like this is stuff that's been implemented in riot-web/synapse for forever and we're just documenting it now. This is behavior that's been added either after the proposal process was implemented or close to concurrent with it.

Then the triaging needs to change.

There's been quite a few mentions that spec-omission doesn't always mean it can go straight to PR. I believe this is one of those cases where an overarching GDPR proposal is needed.
I'll add this to the bucket of GDPR things though

ok let's close this for now pending a GDPR spec.


rac-4044 upstream updates appear to have broken FIT's run_tests.py

The following showed during recent (like 1/23/17ish) new checkouts of FIT where the mkenv was run on a ubuntu 16 box:
*** Using config file: dellemc-test/config-mn/generated/fit-config-20170124-151936
/emc/ohrenj/work/RackHD/test/.venv/fit/local/lib/python2.7/site-packages/nose/plugins/manager.py:395: RuntimeWarning: Unable to load plugin nosedep = nosedep:NoseDep: No module named extern.six RuntimeWarning)
Usage: nosetests options

Problem tracked to version 34.0.x of setuptools. Other folk are hitting similar issues. Until this stabalizes, pin the setuptools version to 33.1.1 (last version before 34.0.0 came out). @larry-dean: we may want to let zithrax know, since he will probably have others hitting this!
Testing:

before/after : python run_tests.py -stack vagrant -list worked on mac and u14
before, same failed on u16
after, same worked on u16

@RackHD/corecommitters @johren  @hohene  @gpaulos @larry-dean @jimturnquist @keedya @panpan0000 @changev @anhou

+1

BUILD RackHD #1212 : FAILURE

Note: build failure occurred because the PR was merged (and what the triggered build was pointing to vanished)


Accounts

Accounts Module
This module handles the management of user accounts, companies, and contacts. It ensures that users are assigned correct roles and permissions, and allows for the management of company and contact data.

[x] User Roles: Create and assign user roles, such as client, supplier, or employee.

[x] Company Management: Manage company profiles, including contact details, company relationships, and profile images.

[x] Contact Management: Create and manage contacts associated with companies, including their position and contact information.

[x] Permission Management: Implement and enforce role-based permissions for creating, editing, and viewing accounts, companies, and contacts.

[x] Invitation System: Generate and manage invitation links to allow new users to register on the platform.

[x] Historical Records: Track all changes made to user accounts, companies, and contacts for auditing purposes.

1. Accounts Management
Relationship Types

We want to have a table or a way to register different types of relationships. For example, we might want to store things like 'friend,' 'colleague,' 'partner,' or something similar.
We also need a way to track who created or changed these records, you know? A history to keep track of who did what.
And oh, we need some controls so that only certain people can create or edit these relationship types, like a permissions system.


App not deployed and Siddhi-Operator goes down if @App:name contains single quotes

Description:
If the @App:name annotation in  SiddhiProcess YAML file contains single quotes, deployment is not created for the app and the siddhi-operator goes down. siddhi-operator pod is restarted again and again, but it doesn't come back to normal.
Example: @App:name('ShipmentHistoryApp')
Affected Product Version:
siddhi-operator 0.1.1
OS, DB, other environment details and versions:
Minikube v1.1.1
kubectl v1.14.3

From the YAML file that you were given siddhi operator gets the siddhi app as a string. Since siddhi operator doesn't have a language parser to parse the siddhi query language, siddhi operator use a regex to extract the siddhi app name from given siddhi app.
That regex currently supports only for the names that have double quotes as below. So you can change the siddhi app name like this.
@app:name("ShipmentHistoryApp")

In the next release, we will fix this issue.

Fixed in https://github.com/siddhi-io/siddhi-operator/pull/34 by Buddhi..


The results displayed are different when the search is successful and when the search is not successful

Kind search is not supported, and it cannot be searched, and the displayed result columns are reduced

default display

Released with Helm Chart Version 2.15.0


Option to hide review fields

When there are a lot of review fields (e.g., when two researchers are doing a coding simultaneously), the review form can get long. It would be nice to be able to hide some of the review fields for a period of time of doing a part of the review. The hiding should be done on a per-user basis, so each user can see different review fields at the same time. Should it also be on a per-list basis, so that the user can see different review fields in each list?
My suggestion: perform the hiding only locally. Save the information about hidden fields to the local storage in the browser. This way, we don't have to deal with saving the user preferences to the database.
Any thoughts?

On the other hand, if the preferences are saved to the database, we can perform the hiding of fields/values on the server side.


+$+VIRAL Sophie Rain Spiderman Video Full Original Video Tutorial Leaked Video Viral On Social Media X TikTok Trending

VIRAL Sophie Rain Spiderman VideoFull Original Video Tutorial LeakedVideo Viral On Social Media X TikTok Trending

Sophie Rain Spiderman VIRAL Video

Oficial Original leaked on TelegramSophie Rain Spiderman Real Video online Where can I watch Sophie Rain Spiderman FullVideo? WATCH HERE! Viral Sophie Rain Spiderman Full Video Instagram, Twitter (X), Discord.[Newest Video] Sophie Rain Spiderman Real Original Video Sophie Rain Spiderman videosextape leaks videos twitterWher i can watch Sophie Rain Spiderman Full Video? WATCH HERE! Viral Sophie RainSpiderman Full Video Instagram, Twitter (X), Discord.
Sophie Rain Spiderman ’s Spider Man video took the internet by storm and amazed viewers onvarious social media platforms. Sophie Rain Spiderman , a young and talented digital creator,recently became famous thanks to this interesting video.


My Services List "created date"

The created date is cutoff and I couldn't even tell what it was.  Please move it out of it's own column, and somewhere where it makes sense (and you can read it).

@chriskacerguis Unfortunately, we are pretty tight on real estate space here as far as the width of the row goes.
I really attribute this issue to the PF Listview design.
Due to the lack of Column headers we have to specify "Retires", "Created", "Power State" on each and every row.
Recently there were 2 new additions : Chargeback and Power State which has exacerbated the PF Listview issue even more.
I've noticed that if you stretch the window out (increase the width basically), you would start seeing some of the cutoff columns properly.
/cc @dclarizio

Hello @AparnaKarve thanks for the feedback.  I think I'll have @chalettu rework that entire layout (also have @serenamarie125 take a look too)

Closing, this is getting reworked in UX

See here: https://www.pivotaltracker.com/story/show/133840391


Opt Out option due to GDPR and Play Store

I have just gotten a mail from Play Store that my app is sending Advertisement ID.
I do not have ads in my application.
After further investigation, I noticed that Crashlytics is collecting the ID.
There is no way of disabling the behaviour.
The only way is to have Opt-Out/In feature implemented.
@jaumard  I can implement it for Android but I do not own Mac so cannot check it for iOS. Would you implement it there? I'm sure that lots of European devs will have the same issue soon.

Hi @jaggernod :)
That's true :/ so the purpose will be I guess to add a new method startReporting and then you can on your app dart code call it once you've check your Opt-Out/In flag.
But this also mean that until your users has checked this Opt-Out/In flag you'll not have any crash reporting... so if your app crash directly when it start you'll not receive any reports...

Yep, exactly. I wouldn't want to store the user's decision on the plugin's side.

Will create a PR

Published as 0.1.0, thanks for your help :)

@jaumard Could you please update Android-related section in docs according to this changes?
It is not clear for me how for to opt-out in Android, but I see how to do in iOS:

Turn off automatic collection with a new key to your Info.plist file (GDPR compliency if you want it):
Key: firebase_crashlytics_collection_enabled
Value: false

you have nothing to do for Android :) it's done by the plugin so nothing to update


ASU-1646: More work on apartment revaluation

This batch of code expands the previous one to fully support apartment revaluation.

Codecov Report

Merging #323 (7a2cb48) into develop (f985c5c) will decrease coverage by 0.30%.
The diff coverage is 72.52%.

@@             Coverage Diff             @@
##           develop     #323      +/-   ##
===========================================
- Coverage    93.10%   92.79%   -0.31%
===========================================
  Files          129      129
  Lines         4668     4732      +64
  Branches       429      436       +7
===========================================
+ Hits          4346     4391      +45
- Misses         233      248      +15
- Partials        89       93       +4

Impacted Files
Coverage Δ

application_form/models/reservation.py
97.33% <ø> (ø)

application_form/pdf/haso.py
100.00% <ø> (ø)

cost_index/urls.py
100.00% <ø> (ø)

cost_index/api/views.py
79.36% <41.17%> (-7.40%)
:arrow_down:

cost_index/utils.py
79.54% <72.00%> (-10.46%)
:arrow_down:

cost_index/api/serializers.py
80.95% <75.00%> (-19.05%)
:arrow_down:

apartment/elastic/documents.py
97.10% <100.00%> (+0.20%)
:arrow_up:

apartment/services.py
86.53% <100.00%> (ø)

application_form/api/sales/serializers.py
95.29% <100.00%> (+0.05%)
:arrow_up:

cost_index/models.py
100.00% <100.00%> (ø)

... and 1 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Add parse_firrtl_transform_log utility script

I spent way too long on this so figured I should share it. It parses the emitted transform log into something that looks like what the FIRRTL stage emits.
Advantages over what FIRRTL stage emits:

Works on older versions of FIRRTL
Include transforms run manually inside a transform (via run_transform)
Includes transform runtime

Useful as a debugging tool for diffing changes in what transforms ran. This could be built upon to graph transform runtimes, or perhaps create mini log files for each transform (if you run with -ll debug or even -ll trace).

Contributor Checklist

[lol] Did you add Scaladoc to every public function/method?
[lol] Did you update the FIRRTL spec to include every new feature/behavior?
[lol] Did you add at least one test demonstrating the PR?
[x] Did you delete any extraneous printlns/debugging code?
[x] Did you specify the type of improvement?
[x] Did you state the API impact?
[x] Did you specify the code generation impact?
[x] Did you request a desired merge strategy?
[x] Did you add text to be included in the Release Notes for this change?

Type of Improvement

new feature/API

API Impact
No impact on existing API
Backend Code Generation Impact
None
Desired Merge Strategy
Squash
Release Notes
Reviewer Checklist (only modified by reviewer)

[ ] Did you add the appropriate labels?
[ ] Did you mark the proper milestone (1.2.x, 1.3.0, 1.4.0) ?
[ ] Did you review?
[ ] Did you check whether all relevant Contributor checkboxes have been checked?
[ ] Did you mark as Please Merge?

One question: are you fine if I change the logging format in the future and thereby break this utility?
It's been my intention to change how things are printed transforms run to match the output of what you get from the dependency manager solution about what will be run.
Some of this is annoying to do at run time (e.g., know how long the Verilog emitter takes when you don't know how long it's transforms will run or having to pass indentation information via an annotation). I've thought about adding a --log-type json to the logger that would make it easier to build other tools, like this, that could visualize the transform execution.

One question: are you fine if I change the logging format in the future and thereby break this utility?

Absolutely, I was just sharing this script since it may be useful to others debugging upgrading their custom transforms. Regardless of what we do in the future, this is useful going backwards a long time so it's nice to have there.

I've thought about adding a --log-type json to the logger that would make it easier to build other tools, like this, that could visualize the transform execution.

That would be wonderful


Why werkzeug ignore some cookie params?

I have a cookie called version=xxx in Headers, but it ignored by flask, using request.cookies.get('version') can't get the cookie.
I check the code then found these:
# _internal.py

_cookie_params = {
    b"expires",
    b"path",
    b"comment",
    b"max-age",
    b"secure",
    b"httponly",
    b"version",
}

# Ignore parameters.  We have no interest in them.
if key.lower() not in _cookie_params:
    yield _cookie_unquote(key), _cookie_unquote(value)

I don't know the comment "We have no interest in them" mean. Is there anyone can explain that for me?  I will be appreciate for that.

This is about the params of a cookie, not about the cookie name. If a cookie with such a name gets ignored, it's a bug.

@ThiefMaster It seems like a bug,
def _cookie_parse_impl(b):
    """Lowlevel cookie parsing facility that operates on bytes."""
    i = 0
    n = len(b)

    while i < n:
        match = _cookie_re.search(b + b";", i)
        if not match:
            break

        key = match.group("key").strip()
        value = match.group("val") or b""
        i = match.end(0)

        # Ignore parameters.  We have no interest in them.
        if key.lower() not in _cookie_params:
            yield _cookie_unquote(key), _cookie_unquote(value)

Maybe it should be if value.lower() in _cookie_params, it that, I will submit a pull request to fix it.

I check the RFC 6265, it seems like there are some attributes have different usage. https://tools.ietf.org/html/rfc6265#section-5.2
But I don't find the version attribute.

This appears to be a bug. I think the intention of the code was to ignore parameters that would only be relevant in a response's Set-Cookie if they were present in a request's Cookie header, but it ended up excluding the keys, not the parameters. Here's an example, this always returns "not set".
from werkzeug.serving import run_simple
from werkzeug.wrappers import Request, Response

@Request.application
def app(request):
    rv = Response("not set")

    if "version" in request.cookies:
        rv.data = request.cookies["version"]
    else:
        rv.set_cookie("version", "2")

    return rv

if __name__ == "__main__":
    run_simple("localhost", 5000, app)

@davidism I have submited a pr, but it had a CI error, it shows:
black....................................................................Failed

I dont't know the black mean.

Black is a tool we use to enforce a consistent code style. If you look further down the output, it shows what code formatting it wants to change: https://travis-ci.org/pallets/werkzeug/jobs/513098270#L234-L247
Install pre-commit and run it manually to apply our code formatting rules. For future commits, it will run automatically.
pip install pre-commit
pre-commit install
pre-commit run --all-files


Updating Terminal

I'm running into an issue after updating .profile.
I replace the default profile code with the code you provide.
Then I close the terminal. Then restart Ubuntu.
When I do so, the terminal hangs. There is never any prompt.
CPU usage quickly skyrockets to 100%. - Mostly Git.
Closing the terminal, returns CPU back to normal.
I've uninstalled, re-installed Ubuntu (WSL) few times ( in case I caused a typo that broke the .profile file ).
I've double checked the .profile code.
Each time, after updating Terminal's look, Ubuntu essentially breaks.
The terminal is unresponsive upon open.
CPU (via git) immediately shoots up to 100%.
Any hints ideas ?
I'm using the latest version of Windows 10.

Sorry for the delay in getting back. Are you still having this issue? Can you paste the code you are putting into the .profile file here as well? I'll take a look at it to make sure nothing is missing or added.
Thanks


StartRawDocument: The data is invalid.

I'm getting an "The data is invalid" error when calling StartRawDocument ... this was working some weeks ago, so I think it might be caused by some OS upgrade.
¿Any idea?
I'm under W11.

¿Any idea?

No idea. Sorry.
Alex

I have traced down the program and found the error was generated in the DriverInfo() function. I changed it to the following, and now StartRawDocument() is working again:
// DriverInfo returns information about printer p driver.
func (p *Printer) DriverInfo() (*DriverInfo, error) {
	var needed uint32
	err := GetPrinterDriver(p.h, nil, 8, nil, needed, &needed)
	if err != syscall.ERROR_INSUFFICIENT_BUFFER {
		return nil, err
	}
	b := make([]byte, needed)
	err = GetPrinterDriver(p.h, nil, 8, &b[0], needed, &needed)
	if err != nil {
		return nil, err
	}
	di := (*DRIVER_INFO_8)(unsafe.Pointer(&b[0]))
	return &DriverInfo{
		Attributes:  di.PrinterDriverAttributes,
		Name:        windows.UTF16PtrToString(di.Name),
		DriverPath:  windows.UTF16PtrToString(di.DriverPath),
		Environment: windows.UTF16PtrToString(di.Environment),
	}, nil
}

I have traced down the program and found the error was generated in the DriverInfo() function. I changed it to the following, and now StartRawDocument() is working again:

I am glad it works for you.
I still do not understand why it fixes your problem. But I don't use this code myself, so I won't spend time investigating it.
Alex


Nice-to-have: Implement additional client-side gating based on interaction counts

Assigned this to you for now, @thenamankumar.

We'll not do this for December but work on backend-side interaction-based limiting for the Feb milestone instead, and prioritizing that work to release it early. So closing this.


bzsanity needs to be calculated

https://github.com/kyl191/bzdownloader/blob/c9451c41886850872d7b5d161e90fb474905eaae/bzdownloader/bzdownloader.py#L372
This is a unique value per client. I've done a quick test and confirmed it works. @see below:
https://reverseengineering.stackexchange.com/questions/12193/backblaze-16-bit-checksum-bzsanity

Well that explains what the value it, thanks for the links. :)


Error: attempt to index global 'g' (a nil value)

Hello, nice plugin.
When I start nvim with this installed using defaults I get
Error detected while processing /Users/adam/.local/share/nvim/site/pack/packer/start/lf.nvim/plugin/lf.lua:
E5113: Error while calling lua chunk: .../share/nvim/site/pack/packer/start/lf.nvim/plugin/lf.lua:18: attempt to index global 'g' (a nil value)
stack traceback:
.../share/nvim/site/pack/packer/start/lf.nvim/plugin/lf.lua:18: in main chunk

I tested this now in complete isolation and everything should be just fine. If there is still a problem, please reopen this or create a new issue.


Package missing from nuget?

Description
The documentation specifies that the package is available on Nuget – but currently it doesn't seem to be.
Accessing the provided Nuget link, one get's a 404 – not found.
Repro steps

Visit the Nuget link: https://www.nuget.org/packages/FSharp.Stats
Realize package is missing

Alternatively:

Visit nuget.org
Search for FSharp.Stats
No results are returned: https://www.nuget.org/packages?q=FSharp.Stats

Thanks!

Hi @sebastian,
You are indeed correct, this is an artifact in our incomplete documentation for this project due to autogeneration of the pages. There is no package on nuget currently. However, we provide alpha packages on the nuget branch.
If you are using paket to manage your dependencies, you can add the package by adding the following lines to your paket.dependencies file:
git https://github.com/CSBiology/FSharp.Stats.git nuget Packages: /
nuget FSharp.Stats
I dont know how to use git as a source for the nuget package manager itself though, so if you dont use paket i am afraid that the only way i know of would then be a manual download from the repository.

Thank you @kMutagene, appreciate you taking the time to answer!
I am in fact using paket so your proposed solution works well for me. Thanks!


Add Ort Yokneam

file.zip
please add https://www.redacademica.edu.co/colegios/colegio-rep-blica-estados-unidos-de-am-rica-ied
Colegio República Estados Unidos de América (IED)

@mstrikes Please do not upload file.zip here. Please unzip file.zip file, fork SWOT repository, add unzipped file to your forked SWOT repository to an appropriate folder (most probably, lib/domains/co/edu), and make a new pull request.

@mstrikes Pull request merged. Thank you!


Webassembly 3.4.1 version on npm doesn't randomize weights

Output of npm list:
--<EMAIL_ADDRESS>Weights in the network [2, 3, 1] (XOR example) at second layer stay the same:
[ { bias: 1, weights: [ -0.4384047377812256, 0.71476953983941 ] },
{ bias: 1, weights: [ 0.836493930022522, 0.7845843352178457 ] },
{ bias: 1, weights: [ -0.8790343793408859, -1.049725288141738 ] } ]
This produces the same results in 5 (or any number of) epochs training.
Interestingly, the javascript version does not have this problem.

Sorry for the delayed reply, I just tried this out, and I wasn't actually able to replicate it.
What I did was npm installed v3.4.1, navigated to node_modules/jsnet/nodejsDemo.js, and ran it, printing out the weights in layer [1] in a callback as console.log(net.layers[1].neurons.map(n => n.weights)).
Is this the same as what you did?
If this is still an issue, and you made any changes, could you perhaps share what they were? If there were no other changes, then this is somewhat strange, and will need further exploring.
Did the inference look plausible, at the end of the training, for you?

I'm using Windows, also, so that's probably not it. And both versions are loaded, and executed after each other, to show speed comparison, but are not otherwise interlinked.
Are the values at the end correct-ish for XOR? For example:

If they are, then the network trained, so the values should have changed, but if not, then, as though learning rate was 0, the weight values for some reason don't get updated.
Are you using node at least v8?


Add config and startup files for Heapster API server

Depends on #1304

This change is

LGTM

Feel free to merge on green Jenkins.


POC: components health status

Description
Created a POC with components health status page, added documentation about the frontmatter properties we are using.
Pull Request Checklist

[x] Ask the contributors if a similar effort is already in process or has been solved.
[x] Review the contribution guidelines.
[x] Use staging as your pull request's base branch. (All PRs using production as its base branch will be declined).
[x] Ensure all gulp scripts successfully compile.
[x] Update, remove, or extend all affected documentation.
[x] Ensure no private Dialpad links or info are in the code or pull request description (Dialtone is a public repo!).

Obligatory GIF (super important!)

I really like this POC :)

I'm assuming the buttons are for filtering. I'll propose a UI for that later, so perhaps an MVP version of this doesn't have that functionality. In lieu of that, just list the icon/label pairing inline.
Sure! Will do

The values you got from that old Confluence page is out-of-date. I started to effectively replace it with this Spreadsheet.

Reconcile where you can can, and I'll validate through an updated PR. (ignore the columns for docs, a11y, iOS, Android.
In fact, the values are being retrieved directly from the components frontmatter so they should be updated... I'll check the new list to see if there's any difference.

Reserve columns for Introduced/Modified version numbers, which we have separate task for.
Do you want me to add the columns now and leave them empty or just have in mind that we are adding new columns?

Add another value of "N/A". for example, a Figma file for "Lazy show" doesn't apply
Nice addition! Will add this.

Make sure each table data cell has accessible equivalent of its value, e.g. "Ready / In progress / etc"
Added aria-label and tabindex=0 properties.

@francisrupert The way I thought this is:

If figma property is a URL: the component health status is "ready"... moving such component to in progress will remove the Figma button from the component page.

The same logic applies to storybook property.
I made it this way because it's simpler to have one property and make validations instead of having a lot of properties, e.g:
---
status: ready
storybook: https://vue.dialpad.design/...
figma: https://www.figma.com/file/...
---

vs
---
status: ready
storybook: ready
storybook_url: status: ready
figma: in progress
figma_url: https://www.figma.com/file/...
---

LGTM! 🚀

Here are updated values for Figma column.

Can you please provide the link to validation messages Figma? I couldn't find it.


[Bug] Test-DBAConnection ignoring -SQLCredential

Environmental information
PowerShell version:
Name                           Value

PSVersion                      5.1.18362.145
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.18362.145
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
dbatools Module version:
Name    : dbatools
Path    : C:\Users\dsolodow\OneDrive - Gaylor Electric,
Inc\Documents\WindowsPowerShell\Modules\dbatools\1.0.61\dbatools.psd1
Version : 1.0.61
Name    : dbatools
Path    : C:\Users\dsolodow\OneDrive - Gaylor Electric,
Inc\Documents\WindowsPowerShell\Modules\dbatools\1.0.46\dbatools.psd1
Version : 1.0.46
SQL Server:

Column1
-------
Microsoft SQL Server 2017 (RTM-CU17) (KB4515579) - 14.0.3238.1 (X64) ...

Report
Host used

[X] powershell.exe
[ ] ISE
[X] VS Code
[ ] Other (please specify)

If anything other than powershell.exe was used, please confirm that you can duplicate the issue with powershell.exe

[X] Still buggy in powershell.exe

Errors Received
PSMessageDetails      :
Exception             : System.Exception: Login failed for user 'GAYLOR\dsolodow'. ---> System.Data.SqlClient.SqlException: Login failed for user 'GAYLOR\dsolodow'.
                           at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions,
                        SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance,
                        SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean
                        applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager)
                           at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object
                        poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
                           at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions
                        options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
                           at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal
                        oldConnection)
                           at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions,
                        DbConnectionInternal oldConnection)
                           at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean
                        allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
                           at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions
                        userOptions, DbConnectionInternal& connection)
                           at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry,
                        DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
                           at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory
                        connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
                           at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)
                           at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
                           at System.Data.SqlClient.SqlConnection.Open()
                           at CallSite.Target(Closure , CallSite , Object )
                           --- End of inner exception stack trace ---
TargetObject          : TCP:sqlserver\Instance
CategoryInfo          : ConnectionError: (TCP:sqlserver\Instance:String) [], Exception
FullyQualifiedErrorId : dbatools_Get-DbaTcpPort
ErrorDetails          :
InvocationInfo        : System.Management.Automation.InvocationInfo
ScriptStackTrace      : at Stop-Function, C:\Users\dsolodow\OneDrive - Gaylor Electric, Inc\Documents\WindowsPowerShell\Modules\dbatools\1.0.61\allcommands.ps1: line
                        81747
                        at Get-DbaTcpPort<Process>, C:\Users\dsolodow\OneDrive - Gaylor Electric,
                        Inc\Documents\WindowsPowerShell\Modules\dbatools\1.0.61\allcommands.ps1: line 34806
                        at Test-DbaConnection<Process>, C:\Users\dsolodow\OneDrive - Gaylor Electric,
                        Inc\Documents\WindowsPowerShell\Modules\dbatools\1.0.61\allcommands.ps1: line 68319
                        at <ScriptBlock>, <No file>: line 1
PipelineIterationInfo : {}

Steps to Reproduce
$admin = get-credential
Test-DbaConnection -SqlInstance sqlserver\instance -SqlCredential $admin
Expected Behavior
Successful connection test
Actual Behavior
TcpPort reported "Login failed for user" and gave domain\username of the running user rather than the username in $admin
If I launched a PowerShell console as the user for $admin, the test-dbaconnection worked as expected.
Oddly, this worked fine:
Invoke-dbaquery -sqlinstance sqlserver\instance -SqlCredential $admin -query "select @@version"

You have to provide Credential parameter for it to use another login for the windows connection. It will not use the sqlcred

Already tried that with the same result.
Sent from mobile
On Thu, Oct 24, 2019, 5:46 PM Shawn Melton<EMAIL_ADDRESS>wrote:

You have to provide Credential parameter for it to use another login for
the windows connection. It will not use the sqlcred
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/sqlcollaborative/dbatools/issues/6157?email_source=notifications&email_token=ABZZEOUZAX6CO42P2M3QRDLQQIJS7A5CNFSM4JE33MY2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECGRHRQ#issuecomment-546116550,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABZZEOVG5NN2Z4V6VCGNRH3QQIJS7ANCNFSM4JE33MYQ
.

I am not sure what we can do because we already fixed this issue and test passed...
https://github.com/sqlcollaborative/dbatools/blob/e9cefc46343fe220f3129eeee5c9420c0bacd641/functions/Test-DbaConnection.ps1#L109
#5929

Looking at Test-DBAConnection.ps1 it looks like the port number comes from this line:
$tcpport = (Get-DbaTcpPort -SqlInstance $server -Credential $Credential -EnableException).Port

Running that by itself throws an error.
However, if I change that line to:
$tcpport = (Get-DbaTcpPort -SqlInstance $server -SqlCredential $Credential -EnableException).Port

it returns what I'd expect.

Confirmed to still occur with dbatools 1.0.77
OS and version: Windows 10 1909
Steps to Reproduce
$admin = get-credential
Test-DbaConnection -SqlInstance sqlserver\instance -SqlCredential $admin

Solution is to send both credentials to Get-DbaTcpPort, so line will be:
$tcpport = (Get-DbaTcpPort -SqlInstance $server -SqlCredential $SqlCredential -Credential $Credential -EnableException).Port

Will work on this after #7334 is merged.


[SPARK-37653][BUILD] Upgrade RoaringBitmap to 0.9.23

What changes were proposed in this pull request?
This pr upgrade RoaringBitmap from 0.9.22 to 0.9.23
Why are the changes needed?
Bring some optimizations(like RoaringBitmap#525) and bug fix([RoaringBitmap#537](like https://github.com/RoaringBitmap/RoaringBitmap/pull/538)), and this is the first RoaringBitmap version that supports Java 17 CI (RoaringBitmap#533).
Does this PR introduce any user-facing change?
No
How was this patch tested?
Pass the Jenkins or GitHub Action

Test build #146232 has started for PR 34909 at commit ee84ab8.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50706/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50706/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/50706/

Test build #146232 has finished for PR 34909 at commit ee84ab8.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/146232/


Weird behaviour in .NET Framework 4.8

Describe the bug
When simple test code is executed in .NET Framework 4.8 project of type Class Library or Console - it works. When it's executed in Windows Form (e.g. in button click) - it doesn't, even if button is calling the DLL that is actually executing the code.
Your code piece
Consider this code:
	    string _apiKey = @""; //API key here
            var cr = new ChatCompletionCreateRequest();
            cr.MaxTokens = 25;
            cr.Temperature = 0;
            cr.TopP = 0;
            cr.PresencePenalty = 0;
            cr.FrequencyPenalty = 0;
            cr.Messages = new List<ChatMessage>();
            cr.Messages.Add(new ChatMessage("user", "2+2=?"));
            var _service = new OpenAIService(new OpenAiOptions()
            {
                ApiKey = _apiKey
                , DefaultModelId = "gpt-3.5-turbo"
            });
            var response = _service.ChatCompletion.CreateCompletion(cr).Result;
            if (response.Successful)
            {
                MessageBox.Show("2+2=" + response.Choices.First().Message);
            } else
            {
                MessageBox.Show("ERROR");
            }

Result
It returns "4" if your project type is Console and you are executing it in console. When it's executed from Form - the call is never returned, it will wait forever.
Expected behavior
I expected the code to work, or at least return an error explaining what's wrong.
I assume there is a simple explanation to this behaviour that I am missing, but perhaps DLL can handle it?

This is a common mistake.
In UI applications, calling asynchronous methods using synchronous methods results in deadlocks.
Incorrect code line：
ar response = _service.ChatCompletion.CreateCompletion(cr).Result;
Please refer to the following article：
https://stackoverflow.com/questions/15021304/an-async-await-example-that-causes-a-deadlock
https://blog.stephencleary.com/2012/07/dont-block-on-async-code.html


I wish /gettingstarted/ didn't give me a 404!

I wish /gettingstarted/ didn't give me a 404!

That URL has never existed?
Here's the old repo, from quite awhile ago, before we even launched the new site: https://github.com/kubernetes/kubernetes/tree/gh-pages


Command Responses not listed consistently across XML

There is a need to add "response=" for commands in matter xml. This needs to be added for commands which have known command responses. Not having this consistency in the xml leads to adding helpers which are doing weird edge case handling. One instance of this is in if_command_has_response helper which can be deprecated once this issue is resolved and templates can be updated with something like {{#if responseName}} instead.

@bzbarsky-apple resolved this in https://github.com/project-chip/connectedhomeip/pull/14754/files