[ Enhancement] UI/UX: Improve Colors, Fonts, and Aesthetics

Issue Description:
The current UI/UX of the repository requires enhancements to achieve a more aesthetically pleasing design. Here are the specific issues that need attention:
1. Background Color:

Problem: The yellow/mustard color used as the main background in light mode can be visually unattractive.
Solution: Consider using a more visually appealing background color to enhance the overall aesthetics.

2. Font Choice:

Problem: The current font choice may not provide an aesthetically pleasing look.
Solution: Opt for a more visually appealing font to improve the overall aesthetics.

3. Search Bar Padding:

Problem: The search bar at the top lacks proper padding and also the gray color isn't very appealing.
Solution: Adjust the padding and color of the search bar to achieve a more visually pleasing and balanced appearance.

I have experience in UI/UX design and would like to contribute to improving the visual appeal.

Thank you for bringing these UI/UX concerns to our attention. We appreciate your willingness to contribute to improving the visual appeal of our repository. Before we can move forward, we'd like to see your proposed enhancements in a Figma design. This will help us assess the changes and ensure they align with our project's goals and user experience.
Please provide us with a Figma link to your design improvements when you're ready. Once we review and verify the changes, we can discuss the possibility of assigning you the project or collaborating on implementing the enhancements.
Looking forward to seeing your design ideas!

Sure, will send the designs by tonight.

Please review the designs and provide your feedback:
Light/Dark Mode - Overall UI

SearchBars

HoverEffects:

Hi @ayushichoudhary-19 ,
Thank you for taking the time to contribute to our project and for sharing your design ideas. We appreciate your effort and willingness to help improve the UI/UX.
I've reviewed the design you shared, and I want to express my gratitude for your contribution. However, I believe there's room for exploring different design directions to ensure that our project's UI/UX stands out and aligns with our vision.
Our goal is to create a unique and visually appealing user experience that sets our project apart. To achieve this, I encourage you to consider trying some alternative design concepts. Don't hesitate to experiment and think outside the box to create something distinctive.
Feel free to share any new design iterations or ideas you come up with. We value your creativity, and your contributions are essential to making our project even better. If you have any questions or need further guidance, please don't hesitate to reach out.
Once again, thank you for your dedication to our project, and I look forward to seeing your innovative design concepts.

should i make the changes based on the designs

Hi @ayushichoudhary-19 ,
Thank you for taking the time to contribute to our project and for sharing your design ideas. We appreciate your effort and willingness to help improve the UI/UX.
I've reviewed the design you shared, and I want to express my gratitude for your contribution. However, I believe there's room for exploring different design directions to ensure that our project's UI/UX stands out and aligns with our vision.
Our goal is to create a unique and visually appealing user experience that sets our project apart. To achieve this, I encourage you to consider trying some alternative design concepts. Don't hesitate to experiment and think outside the box to create something distinctive.
Feel free to share any new design iterations or ideas you come up with. We value your creativity, and your contributions are essential to making our project even better. If you have any questions or need further guidance, please don't hesitate to reach out.
Once again, thank you for your dedication to our project, and I look forward to seeing your innovative design concepts.

Thank you @adityakmrmishra for your feedback and for taking the time to review my designs.
Whenever I contribute, I make sure not to play around with the main essence/design of a project but rather focus on enhancing the existing elements. This may be why the design might not have seemed distinctive to you.
I absolutely understand the importance of creating a unique UI, but unfortunately, due to time constraints, I won't be able to explore alternative design concepts at this moment. However, I'm open to revisiting this in the future if time permits.
Once again, thank you for the feedback.

I will send the design today as soon as possible.


Update request for assigning SharePoint license

OneDrive admin center settings are coming to the SharePoint admin center.
https://www.microsoft.com/ja-jp/microsoft-365/roadmap?filters=&searchterms=65911
MC240393
Internal Wiki says :
Q. Does the customer who has OneDrive for Business license only need to be assigned a SPO license to access SharePoint admin center with this convergence?
A. Nothing is changing from the licensing and admin access permissions side with this transition.

@JohanFreelancer9 Copy editing is needed for this PR. Thanks.


[SMALLFIX] perf fix for listDir (#7497)

style fix

attempt to address slow listDir

enable getPathComponents optimization

address comments

address comments

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/20391/
Test PASSed.

Merged build finished. Test PASSed.

@aaudiber cherry-picked from master, PTAL


Allow printing regex without wrapping / and trailing newline

Describe the solution you'd like
Allow generating regular expressions without leading and trailing / as well as trailing newline.
Additional context
This would make it easier to use in various configuration file templating solutions, such as m4. I'm generating a configuration file for ArchibeBox, and I need to setup a URL_BLACKLIST variable, which is a regex literal. Naturally, I would prefer to write
"http";
option of "s";
"://";
`(.+)?`;
either {
    "amazon.com";
    "youtube.com";
}
`.*`;

over r'https?://(.+)?(?:amazon\.com|youtube\.com).*', but in order to interpolate melody regex results, I had to use it in conjunction with sed and tr.
URL_BLACKLIST = r'syscmd(melody link.melody | sed 's!^/!! ; s!/$!!' | tr -d '\n')'

Which is not terribly difficult to add and maintain, still worse than
URL_BLACKLIST = r'syscmd(melody --standalone-regex link.melody)'

Sounds completely reasonable, will add this.
Note that melody files are .mdy if you use the VSCode extension, might be a good idea to add .melody as an option as well.
Also note that (.+)? is equivalent to option of capture { some of <char>; } and .* is equivalent to any of <char>;, if you're using raw patterns there to make up for missing functionality you can use those, but if you're using it to interleave regex where convenient then that's the intended use 😄

This is my first time using melody, so thanks for corrections on the .* one, I somehow didn't realize you can do any of <thing>. On the (.+)? - that is a typo on my side, and I actually wanted a non-greedy one-or-more, so it should be a .+? and from what I can see there is no "non-greedy" modifier for some.

Melody is 19 days old , so there aren't many experts yet haha. Regarding lazy - it's something I want to add at some point but still thinking of what the syntax would be

Starting from v0.12.0 clean output (no // and newline) will be used

@haxscramper I've reverted the newline change, it looks like other CLIs do add a newline even when piping and it causes some visual issues otherwise. Let me know if it's a problem, I may be able to add a flag to enable that behavior

Wrapping // were more problematic, and if lack of trailing newline causes inconsistencies with other CLI tools, it is better to keep newline.

@haxscramper what's that language you're using in the example?
URL_BLACKLIST = r'syscmd(melody --standalone-regex link.melody)'

trying to see if e.g. echo acts the same

I was using m4 for templating, and echo 12 works differently.
URL_BLACKLIST = r'syscmd(echo 12)'

Expands into
URL_BLACKLIST = r'12
'

@haxscramper isn't that the same? As in, with a newline?

URL_BLACKLIST = r'syscmd(echo 12)'
URL_BLACKLIST = r'12
'

URL_BLACKLIST = r'syscmd(echo "3 of 'a';" | melody)'
URL_BLACKLIST = r'a{3}
'

Not sure what do you mean, but if I call echo -n 12 (no newline), it expands into r'12'. Trimming trailing newline is not that big of a deal, and probably it has more to do with m4 being stupider than it needs to be. Python works

Yeah looks like it's an m4 issue:
>>> x = os.system("echo '<end>;' | melody")
$


Bird Screen

Description
Task: Bird Screen.
Feature: https://github.com/UQcsse3200/2024-studio-2/issues/6
The task is to implement Bird Screen with a background Image. Also this involves Rendering the bird on the screen .")
Milestones
List of steps that need to be completed for this task.

[x] Get the Basic Screen for Flappy bird Mini Game
[x] Upload it with background
[x] Render the bird
[x] Documentation and Unit

Completion Deadline: Sept 4
Documentation

Main description of feature
JavaDoc
...

Member

Name (@24msingh24 )

Completed


Add SmartOS Compatibility

Solaris tar does not support --strip-components, thus leaving an empty directory at the end of an install. We need gtar to gain this support, and make sure to use the respective binary when unpacking.

@brennentsmith If you can rebase this I'd love to get it merged in

I made this same change on master so I can get it into the 0.10.0 release


Uncaught Error: spawn /Applications/Atom.app/Contents/Resources/app/apm/bin/apm EAGAIN

[Enter steps to reproduce below:]

open atom
it hangs for a second and then it gives me a wall of errors file: child_process.js:747
then the editor crashes
it happens over and over again

Atom Version: 0.194.0
System: Mac OS X 10.10.3
Thrown From: Atom Core
Stack Trace
Uncaught Error: spawn /Applications/Atom.app/Contents/Resources/app/apm/bin/apm EAGAIN
At events.js:141

Error: spawn /Applications/Atom.app/Contents/Resources/app/apm/bin/apm EAGAIN
  at exports._errnoException (util.js:734:11)
  at Process.ChildProcess._handle.onexit (child_process.js:1035:32)
  at child_process.js:1127:20
  at process._tickCallback (node.js:357:13)

Commands

Config
{
  "core": {
    "themes": [
      "seti-ui",
      "monokai-seti"
    ],
    "disabledPackages": [
      "open-last-project"
    ],
    "followSymlinks": true
  },
  "editor": {
    "fontSize": 14,
    "fontFamily": "INCONSOLATA",
    "showIndentGuide": true,
    "tabLength": 4,
    "invisibles": {}
  }
}

Installed Packages
# User
angularjs, v0.1.0
angularjs-snippets, v0.10.2
atom-angularjs, v0.1.2
atom-grails, v0.1.0
atom-lint, v0.20.1
auto-update-packages, v0.2.2
autocomplete-plus, v2.12.0
autocomplete-snippets, v1.2.0
browser-refresh, v0.8.3
color-picker, v1.7.0
emmet, v2.3.8
jshint, v1.3.5
language-gitignore, v0.2.0
less-autocompile, v1.0.0
linter, v0.12.1
minimap, v4.7.6
minimap-find-and-replace, v4.2.0
minimap-git-diff, v4.1.2
minimap-selection, v4.2.0
monokai-seti, v0.7.0
project-manager, v1.15.5
save-session, v0.14.0
seti-ui, v0.6.3
slash-closer, v0.7.1
terminal-status, v1.6.6
tualo-git-context, v0.5.0

# Dev
No dev packages

Does it happen if you start Atom with the --safe command line option?

@kevinsawicki how do i do that?

@btm1 You can open Atom in safe mode by running atom --safe from the command line.

oh ok let me try that. Although honestly I'm not sure what has changed or how this could have happened. Everything was working fine yesterday.

It doesn't seem to happen in safe mode.... is there any way of narrowing down what package is causing this? Or do i literally need to turn them all of and then sit there and turn them back on one by one?

Maybe start with tualo-git-context since it is in the first notification message.

yep it was indeed that package...

thanks for you help

Would it be possible for you to re-enable this package and click the Show Stack Trace link for the error that says "Uncaught Error: spawn /usr/libexec/PlistBuddy"?
That error does seem to be a bug in core Atom, can you take a screenshot and/or copy the stack trace displayed?


knowing about new mail

unread: tr.zA.zE
read: tr.zA.yO

will implement with #10 in a new mod: notify


test1

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
adding code
What did you learn from the changes you have made?
function python comparison and boolean
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
yes
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
no
How were these changes tested?
yes
A reference to a related issue in your repository (if applicable)
Checklist

[ x] I can confirm that my changes are working as intended

You did a great job here!
Please go ahead and close this pull request now. Thanks!


Universal OpenCV based annotation tool for making createsamples input data

This is a frequently asked application by many OpenCV Q&A forum users so I decided to make this interface publically available in the codebase.

A video illustrating how this actually works can be seen here:
< iframe title="YouTube video player" width="854" height="480" src="https://www.youtube.com/watch?v=SWSUJZiuUPk?autoplay=1" frameborder="0" allowfullscreen>< /iframe>

@vpisarev I was wondering if OpenCV is even interested in something like this. Reason for asking, writing a book chapter on the cascade classifier interface for PacktPub and I either supply this tool through a self made github OR I try to get it into the repo :)

:+1:  the app looks useful, but some user-visible documentation would be nice to have.

@vpisarev @mshabunin  I will be adding a user visible documentation, combined with an automated Cmake file for this tool (requested in the master branch https://github.com/Itseez/opencv/pull/3654) in the near future!


Detailed blame.

I seem to be getting additional backtrace output sometimes (tested on BB5 with file from #1279 and command nmodl --neuron [modfile] blame --line 208 --detailed):
28:    Source: "", line 0, in
27:    Source: "", line 0, in _start
26:    Source: "", line 0, in
25:    Source: "/gpfs/bbp.cscs.ch/data/project/proj16/jelic/nmodl/src/main.cpp", line 589, in main

Can the first 3 in the above be removed?

We could, though the more magic we add the more likely it is to break on us; and it's just a debugging assistant.
Maybe I'm too complacent, but it feels like there's often junk at the top of a backtrace. In fact after writing the whole reply I noticed, that I have 4 lines of spam. They're definitely part of a backtrace I guess it helps identify the beginning of a backtrace :)
If we want to make it more compact there's better ways: The backtraces for each of the commands that lead to a string being printed to the requested line, often have a lot in common: a) they share most of the outer traces; b) fmt_line is gonna create 3 backtraces, one for printing the indent, one of interest, and another for printing the "\n" (annoyingly the difference gets chopped off, because it's too hard to find the interesting line otherwise).


⚠ Slack has degraded performance

In 58fba2e, Slack (https://status.slack.com/api/v2.0.0/current) experienced degraded performance:

HTTP code: 200
Response time: 130 ms

Resolved: Slack performance has improved in d2b3a62.


Add stackbit.config.ts

- Summary

- Test plan

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

👷 Deploy Preview for nomi-coffee-shop processing.

Name
Link

🔨 Latest commit
34a53c565b53d4384cc629fee346879199b6ac7d

🔍 Latest deploy log
https://app.netlify.com/sites/nomi-coffee-shop/deploys/672cf4e4b2abe9000827d369


You have to manually load the cucumber-tag-expressions main file instead of simply requiring the npm module.

Summary
At the moment if you install the cucumber-tag-expressions npm module and want to use it in your code you have to call it like so:
const TagExpressionParser = require('cucumber-tag-expressions/lib/tag_expression_parser');

A main property pointing to the file in the package.json would allow you to do a straight require('cucumber-tag-expressions').
Expected Behavior
You should be able to require('cucumber-tag-expressions') and have access to the library without having to traverse to the lib folder.
Current Behavior
You have to traverse to the lib folder.
Possible Solution
A main property pointing to the file in the package.json.
Steps to Reproduce (for bugs)

Try loading it directly in any project.

Context & Motivation
I'm using the tag parser as a simple method to filter documents by giving a user an easy dsl for working with document labels. Im also using it with angular (1.6) to allow me to find modules that rely on a certain group of dependencies (angular stores the dependency information as an array of strings). This library is actually really useful in a wide range of scenarios, outside of cucumber ones (pun intended 😁 ).
Your Environment
Environment independent

I believe this was fixed in #76 and a new version just needs to be released. @aslakhellesoy any chance this tag-expressions-javascript could get a new release?

@charlierudolph Ah ok fair enough.


Differences between dynamic linking and static linking for ThreadPool

I'm a novice programmer and I've encountered an issue while working with this project. When I compile the project using:
ubuntu 1804
g++ -static -o example example.cpp -lpthread
I encounter a "Segmentation fault (core dumped)" error.
Thread 2 "example" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff7ff9700 (LWP 7905)]
0x0000000000000000 in ?? ()
(gdb) bt
#0  0x0000000000000000 in ?? ()
#1  0x000000000046cb2c in std::condition_variable::wait(std::unique_lockstd::mutex&) ()
#2  0x0000000000406692 in std::condition_variable::wait<ThreadPool::ThreadPool(unsigned long)::{lambda()#1}::operator()() const::{lambda()#1}>(std::unique_lockstd::mutex&, ThreadPool::ThreadPool(unsigned long)::{lambda()#1}::operator()() const::{lambda()#1}) (this=0x7fffffffe290, __lock=..., __p=...) at /usr/include/c++/7/condition_variable:99
#3  0x000000000040587b in ThreadPool::ThreadPool(unsigned long)::{lambda()#1}::operator()() const (__closure=0x601b38)
at ThreadPool.h:43
#4  0x000000000040a59f in std::__invoke_impl<void, ThreadPool::ThreadPool(unsigned long)::{lambda()#1}>(std::__invoke_other, ThreadPool::ThreadPool(unsigned long)::{lambda()#1}&&) (__f=...) at /usr/include/c++/7/bits/invoke.h:60
#5  0x0000000000409bb8 in std::__invoke<ThreadPool::ThreadPool(unsigned long)::{lambda()#1}>(std::__invoke_result&&, (ThreadPool::ThreadPool(unsigned long)::{lambda()#1}&&)...) (__fn=...) at /usr/include/c++/7/bits/invoke.h:95
#6  0x000000000040c54c in std::thread::_Invoker<std::tuple<ThreadPool::ThreadPool(unsigned long)::{lambda()#1}> >::_M_invoke<0ul>(std::_Index_tuple<0ul>) (this=0x601b38) at /usr/include/c++/7/thread:234
#7  0x000000000040c4cc in std::thread::_Invoker<std::tuple<ThreadPool::ThreadPool(unsigned long)::{lambda()#1}> >::operator()() (this=0x601b38) at /usr/include/c++/7/thread:243
#8  0x000000000040c3b2 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<ThreadPool::ThreadPool(unsigned long)::{lambda()#1}> > >::_M_run() (this=0x601b30) at /usr/include/c++/7/thread:186
#9  0x00000000004434df in execute_native_thread_routine ()
#10 0x000000000040dabb in start_thread (arg=0x7ffff7ff9700) at pthread_create.c:463
#11 0x0000000000526e9f in clone ()
However, when I compile it without the static flag:
g++ -o example2 example.cpp -lpthread
it runs perfectly fine. I'm trying to understand the difference and why this is happening. Could someone please explain this to me?

So please use -pthread as a flag and not -lpthread.
This behavior is also mentioned in the following,  https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59830
There's a difference between -pthread and -lpthread.
Looking at the man page for g++
-pthread
Adds support for multithreading with the pthreads library. This option sets flags for both the preprocessor and linker.
To have a look to what flags are activated for both one can check with the following:
g++ -dumpspecs | grep pthread
g++ -dumpspecs | grep lpthread

As one can clearly see, there are some preprocessor macros that are not activated if one is using -lpthread.
ref  https://stackoverflow.com/questions/41790363/c-core-dump-with-packaged-task


yurtappdaemon control null process

Signed-off-by: huiwq1990<EMAIL_ADDRESS>
What type of PR is this?

Uncomment only one  /kind <> line, hit enter to put that in a new line, and remove leading whitespace from that line:
/kind bug
/kind documentation
/kind enhancement
/kind good-first-issue
/kind feature
/kind question
/kind design
/sig ai
/sig iot
/sig network
/sig storage
/sig storage

What this PR does / why we need it:
As we currently not support statefulset, the control of statefulset template maybe nil.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

Does this PR introduce a user-facing change?

other Note

/lgtm
/approve


Updated Wireframe shader with Android support

XRTK - Mixed Reality Toolkit Change Request
Overview
Updated wireframe shader to be Android compatible.  Still can't use it but it no longer causes errors.
Target of the change:
Is this enhancement for:

Core (core framework, interfaces and definitions)

Changes:
Brief list of the targeted features that are being changed.

Fixes: XRTK_Wireframe.shader.

Formatting updated

Does this mean we can close #266?

Updated shader to use a graphics tier configuration setting that is enabled on Lumin but disabled on Android.  Have a see if that helps.


Question

Is this starter still valid, given that TS is now first class citizen on Aurelia?
Would it be possible to update to latest status quo?

I've been busy with finals but when I took a quick look at the beta notes from aurelia and looking at their repos I was under the impression that they started supporting electron builds as well as typescript in their skeleton navigation apps.
Have you taken a look at skeleton-navigation-typescript? Let me know if that is what I think it is (in which case I'll update the readme of this repo to point people to that other repo). On the other hand, if it's not exactly what this repo was meant to achieve then do let me know and I'll update this repo after my last final on Thursday.

Ok, I missed the Electron part of it, so very good. What seems to be missing is an end-to-end starter. So including server side, MongoDB and some clients.  The maybe boring "to-do" or "Slack clone"  demo would make a big difference in getting new people on board.

Hmm well using MongoDB as you suggested would fall more under the realm of server-side stuff which isn't really what aurelia is all about. On the other hand I might consider whipping up something using linvodb for a good ol' boring local to-do list app that's completely user-side (hence able to be run completely in electron). I'm a little hesitant though as not all apps need a full blown db and I also kind of want to wait and see how Aurelia Interface turns out so that I can stop using materialize css.

I know Aurelia is about the client. But still, I think the fast majority of apps also need some kind of server-processing. Even the "to-do" app benefits from synchronizing over all your devices. I think for one that the threshold to join the Aurelia ecosystem, is much lower with a welcome like this.
I would be the first to follow it ;)


Support passing file names in as arguments

Run standard to recursively check a whole project.
Run standard < index.js to check an individual file.
Need to support: standard index.js or standard index.js test.js lib/a.js to check a list of files. Shouldn't be hard to add.

looking for standard lib, where lib is a folder as well. might be useful to use https://www.npmjs.com/package/fs-readdir-recursive for that

This is implemented now! Released as 2.4.0.

@jonathanong It expects glob patterns, so standard lib/*.js. That work for you?

Also, listing out files one at a time works too.
standard index.js test.js bin/cmd.js


Cannot find module 'aws-serverless-express'

Describe the bug
A clear and concise description of what the bug is.
When deploying a serverless lambda (Amplify API) via CLI, node modules are not automatically installed. When calling the function via API Gateway the lambda fails to import 'aws-serverless-express', because it doesn't exist.
To Reproduce
Steps to reproduce the behavior:
Following Automatic API guide: https://aws-amplify.github.io/docs/js/api#automated-setup
Expected behavior
A clear and concise description of what you expected to happen.
I expected the lambda.zip to be deployed with all dependencies installed. Instead no Node Modules were included. Is this expected cloud-formation behavior for a node.js app? I had to manually go into the amplify api deployment folder to install.
Thanks!

@nikevp could you please confirm what version of Amplify CLI are you using?

-v 1.11.0

@nikevp Can you please check your amplify/backend/function/<function-name/package.json and amplify/backend/function/<function-name/node-modules to check for the package?

@nikevp Could you please provide some more details we asked above?


Set chunksSortMode to 'dependency'

Connected to https://github.com/rangle/rangle-starter/issues/193

:shipit:


update ocaml-redis version

there's a new package, but some server on the internet still has to be synced before this works
(the new version is required by alba)

Ok, but there's a 0.3.1. maybe we want to move to that one while we're at it.

Updated to 0.3.1 as suggested, will wait for travis and then merge it in


WiFiS3 WiFiServer::accept()

corresponding PR for firmware is https://github.com/arduino/uno-r4-wifi-usb-bridge/pull/22

the errors in checks don't look related to this PR

the errors in checks don't look related to this PR

I concur.
The errors in the "arduino:renesas_uno:unor4wifi" job are because the project maintainers decided for some reason to configure the workflow to add jobs that compile the example sketches using the release version of the platform. The release version doesn't have the change made in this PR so the example sketch fails to compile.
The errors in the "arduino-git:renesas_uno:unor4wifi" job are because the version of the arduino/uno-r4-wifi-usb-bridge submodule doesn't declare _SERVERACCEPT due to https://github.com/arduino/uno-r4-wifi-usb-bridge/pull/22 not being merged yet.

PR in firmware is merged but checks still fail because extras/uno-r4-wifi-usb-bridge links to release 0.3.0 tag


Automatic Refresh Token not working

In Azure.php at the request function a $app variable is referenced, but it is never declared.
if ($accessToken->hasExpired()) {             $accessToken = $app->OAuth2->provider->getAccessToken('refresh_token', [                 'refresh_token' => $app->OAuth2->token->getRefreshToken(),                 'resource' => $this->urlAPI             ]);         }
I fixed it with a reference to $this and to $accessToken, since we are already in the provider class.
if ($accessToken->hasExpired()) {             $accessToken = $this->getAccessToken('refresh_token', [                 'refresh_token' => $accessToken->getRefreshToken(),                  'resource' => $this->urlAPI             ]);         }
Also for the Office365 API (outlook.office.com) you are not allowed to send a 'resource' field. Ist the Office365 API not in the Scope of this project or just not implemented yet?

Hello, this is fixed in: https://github.com/TheNetworg/oauth2-azure/tree/dev_16 - I still have to run some scenarios, in order to push it as next release, I suggest you try that version (should be available through Composer as "dev_16").
I see the issue there. What would be a viable solution for you? Adding for example $provider->authAsResource = bool;?

Oh i didnt see it was already fixed^^
For the resource problem: Your suggestion would probably fix it. But I also tried to implement the sync functionality (https://msdn.microsoft.com/office/office365/api/task-rest-operations#Synchronizetasksortaskfolders) and for that to work you cant filter the response $response['value'] like it is currently.
Wouldn't it be better to create new Classes for the different API's and extract the differences of the API that way. May be they could inherit from Azure Class?
Note of warning: I have just looked at outlook.office.com api, so I dont know much about the others or about the oAuth library in general.
PS: Thx for the quick response, much appreciated.

Are you using plain $provider->get(..) method for getting the contents?
Also currently working on v2.0.0 which improves quite a lot of things and simplifies many processes (it might take a while to get it ready for shipping tho).

Yes I am.
Thx for the update

Oh, that explains - you will be better off with using $provider->getObjects - it fetches all the data by following the links automatically. Additionally, you can take a look at $provider->request method and create your own - it is currently implemented as private.


Restructure examples

This PR restructures and renames the examples to cope with the growing number of notebooks and offer better navigation. See: https://earthkit-data--340.org.readthedocs.build/en/340/examples/index.html

Hi @iainrussell, it is fixed now.


Nginx example

Re-introduce sample file for running behind nginx proxy.

@matmair happy to do that for sure. Where is the nginx file for the installer?

@SchrodingersGat can we just link to https://github.com/matmair/InvenTree/blob/05c2fe93ec99b4e846b00266aa00dead7ce054e1/contrib/container/docker-compose.yml#L135-L136 instead of serving the same file 2 in the repo?

@matmair sorry I don't follow your example here - where is the second copy of the nginx conf? Do you mean /contrib/packager.io/nginx.prod.conf/?


Bodybags don't work with morgues.

Description
Title. Try to bodybag a body before putting it in morgue tray, bodybag won't go inside.
Reproduction
Wrap body up in a bag, try to put in morgue. It won't go inside.
Screenshots

Additional context

you take it out of the bag then put it in the morgue
morgue does the no rotting thing no need for bag too

Gosh i beg someone to code this, this would be absolutely great.


Bump to version 1.9.4

I put it up to the last version I found today.  Works fine here.

currently we have 1.10


subversion_1_11: init at 1.11.0

Apache Subversion 1.11 Release Notes
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

Success on aarch64-linux (full log)
Attempted: subversion_1_11
Partial log (click to expand)
shrinking RPATHs of ELF executables and libraries in /nix/store/0sgd5f2vnp6196lnq1cmsd8cg18sbn0m-subversion-1.11.0-dev
strip is /nix/store/p9akxn2sfy4wkhqdqa3li97pc6jaz3r1-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/0sgd5f2vnp6196lnq1cmsd8cg18sbn0m-subversion-1.11.0-dev
checking for references to /build in /nix/store/0sgd5f2vnp6196lnq1cmsd8cg18sbn0m-subversion-1.11.0-dev...
shrinking RPATHs of ELF executables and libraries in /nix/store/jbiv4s0pk33amjnmryric77z3brj8vmc-subversion-1.11.0-man
gzipping man pages under /nix/store/jbiv4s0pk33amjnmryric77z3brj8vmc-subversion-1.11.0-man/share/man/
strip is /nix/store/p9akxn2sfy4wkhqdqa3li97pc6jaz3r1-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/jbiv4s0pk33amjnmryric77z3brj8vmc-subversion-1.11.0-man
checking for references to /build in /nix/store/jbiv4s0pk33amjnmryric77z3brj8vmc-subversion-1.11.0-man...
/nix/store/hhl1anmh35a7k27yn1zszjx9wq3x3wfd-subversion-1.11.0

Success on x86_64-darwin (full log)
Attempted: subversion_1_11
Partial log (click to expand)
Patching '/nix/store/37f1rd69vsxx0hb13jqlnmb1yxd0cdmr-subversion-1.11.0-dev/share/pkgconfig/libsvn_wc.pc' includedir to output /nix/store/37f1rd69vsxx0hb13jqlnmb1yxd0cdmr-subversion-1.11.0-dev
strip is /nix/store/g5r4apl0za012ffs6ladinwa5w0m1l3k-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/by4af8ly2w2j9fs41ilk01ndzdka0b17-subversion-1.11.0/lib  /nix/store/by4af8ly2w2j9fs41ilk01ndzdka0b17-subversion-1.11.0/bin
patching script interpreter paths in /nix/store/by4af8ly2w2j9fs41ilk01ndzdka0b17-subversion-1.11.0
strip is /nix/store/g5r4apl0za012ffs6ladinwa5w0m1l3k-cctools-binutils-darwin/bin/strip
patching script interpreter paths in /nix/store/37f1rd69vsxx0hb13jqlnmb1yxd0cdmr-subversion-1.11.0-dev
gzipping man pages under /nix/store/0i5pqd0q98zffcijbwfmzx9qsvz4gkpk-subversion-1.11.0-man/share/man/
strip is /nix/store/g5r4apl0za012ffs6ladinwa5w0m1l3k-cctools-binutils-darwin/bin/strip
patching script interpreter paths in /nix/store/0i5pqd0q98zffcijbwfmzx9qsvz4gkpk-subversion-1.11.0-man
/nix/store/by4af8ly2w2j9fs41ilk01ndzdka0b17-subversion-1.11.0

Success on x86_64-linux (full log)
Attempted: subversion_1_11
Partial log (click to expand)
shrinking RPATHs of ELF executables and libraries in /nix/store/i0r0swgfxbpk0rfakzrj3v7143bl8ijb-subversion-1.11.0-dev
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/i0r0swgfxbpk0rfakzrj3v7143bl8ijb-subversion-1.11.0-dev
checking for references to /build in /nix/store/i0r0swgfxbpk0rfakzrj3v7143bl8ijb-subversion-1.11.0-dev...
shrinking RPATHs of ELF executables and libraries in /nix/store/iyzqznv77bmh8ldz31kqd1088niz5683-subversion-1.11.0-man
gzipping man pages under /nix/store/iyzqznv77bmh8ldz31kqd1088niz5683-subversion-1.11.0-man/share/man/
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/iyzqznv77bmh8ldz31kqd1088niz5683-subversion-1.11.0-man
checking for references to /build in /nix/store/iyzqznv77bmh8ldz31kqd1088niz5683-subversion-1.11.0-man...
/nix/store/aplf79frvh67528b4dyxsk7gk08112h6-subversion-1.11.0

cc @eelco @lovek323

I don't think we need to have 4 different versions of this in our repo. The latest plus one LTS should be enough.  1.8 can be removed anyway, it's EOL: https://subversion.apache.org/docs/release-notes/

Success on aarch64-linux (full log)
Attempted: subversion_1_11
Partial log (click to expand)
shrinking RPATHs of ELF executables and libraries in /nix/store/0sgd5f2vnp6196lnq1cmsd8cg18sbn0m-subversion-1.11.0-dev
strip is /nix/store/p9akxn2sfy4wkhqdqa3li97pc6jaz3r1-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/0sgd5f2vnp6196lnq1cmsd8cg18sbn0m-subversion-1.11.0-dev
checking for references to /build in /nix/store/0sgd5f2vnp6196lnq1cmsd8cg18sbn0m-subversion-1.11.0-dev...
shrinking RPATHs of ELF executables and libraries in /nix/store/jbiv4s0pk33amjnmryric77z3brj8vmc-subversion-1.11.0-man
gzipping man pages under /nix/store/jbiv4s0pk33amjnmryric77z3brj8vmc-subversion-1.11.0-man/share/man/
strip is /nix/store/p9akxn2sfy4wkhqdqa3li97pc6jaz3r1-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/jbiv4s0pk33amjnmryric77z3brj8vmc-subversion-1.11.0-man
checking for references to /build in /nix/store/jbiv4s0pk33amjnmryric77z3brj8vmc-subversion-1.11.0-man...
/nix/store/hhl1anmh35a7k27yn1zszjx9wq3x3wfd-subversion-1.11.0

Success on x86_64-linux (full log)
Attempted: subversion_1_11
Partial log (click to expand)
shrinking RPATHs of ELF executables and libraries in /nix/store/i0r0swgfxbpk0rfakzrj3v7143bl8ijb-subversion-1.11.0-dev
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/i0r0swgfxbpk0rfakzrj3v7143bl8ijb-subversion-1.11.0-dev
checking for references to /build in /nix/store/i0r0swgfxbpk0rfakzrj3v7143bl8ijb-subversion-1.11.0-dev...
shrinking RPATHs of ELF executables and libraries in /nix/store/iyzqznv77bmh8ldz31kqd1088niz5683-subversion-1.11.0-man
gzipping man pages under /nix/store/iyzqznv77bmh8ldz31kqd1088niz5683-subversion-1.11.0-man/share/man/
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/iyzqznv77bmh8ldz31kqd1088niz5683-subversion-1.11.0-man
checking for references to /build in /nix/store/iyzqznv77bmh8ldz31kqd1088niz5683-subversion-1.11.0-man...
/nix/store/aplf79frvh67528b4dyxsk7gk08112h6-subversion-1.11.0

Timed out, unknown build status on x86_64-darwin (full log)
Attempted: subversion_1_11
Partial log (click to expand)
           ^
building of '/nix/store/9wr601lhid1vgvy33pv0b3mqh2i91400-configd-osx-10.8.5.drv' timed out after 1800 seconds
cannot build derivation '/nix/store/493vz7r40rn5zi81a991s1hsr9m9cwds-python-2.7.15.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/galcj91hj4jqf5xdkgcz8lyn8zjh6v42-hook.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/i25ca9n2brc0b8ybqjnf91ph8vanky5v-python2.7-bootstrapped-pip-18.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/kcf041sspa92v5654sqr477x51c6zjq1-python2.7-setuptools-40.2.0.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/1spl3yqihdq1ylbggx72qspmlp0r7lij-scons-3.0.1.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/ddcyg53a01bmx9niir21rqynsbi25p2m-serf-1.3.9.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/ryx5byd54jpa29h6yh15z36c4acda2cx-subversion-1.11.0.drv': 1 dependencies couldn't be built
error: build of '/nix/store/ryx5byd54jpa29h6yh15z36c4acda2cx-subversion-1.11.0.drv' failed

This should probably be the default version. It says 'stable' on the website.

Stable, but not an LTS version, and only supported for 6 months. I think it's better to have the latest LTS version as default (currently 1.10).


Remove noise from news

Description of change
This removes unnecessary news.

Codecov Report

Merging #1103 into develop will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop    #1103   +/-   ##
========================================
  Coverage    96.56%   96.56%
========================================
  Files          226      226
  Lines         6381     6381
  Branches       598      598
========================================
  Hits          6162     6162
  Misses         151      151
  Partials        68       68

Continue to review full report at Codecov.

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

It would also be nice to add an empty line between each item in evidence-endpoint.api to have a better resulting rst. You can run towncrier --version dev --draft to check locally.

Oh your comment appeared after I clicked merge :(


Eliminate redundancies in NMR / SoftRas

Remove existing code duplication across NMR and SoftRas

Closing the bug as it is no longer relevant to this repo.


Is it possible to use without Doctrine and custom models?

Hello, I'm building a simple project with DDD and hexagonal architecture.
What I'm trying to do is to keep library/vendor services from domain: in that case I'm using api-platform with data transformers and with data provider and persister.
I'm also using a Model (a simple PHP class) with doctrine and I'm manually persisting a retrieving a user; because of that my domain User class doesn't implement UserInterface or anything related to Symfony/Doctrine.
My question is: can I use LexikJWTAuthenticationBundle to create the token after I've manually checked that email and passwords are verified?
Thanks

Hello, I'm building a simple project with DDD and hexagonal architecture.
What I'm trying to do is to keep library/vendor services from domain: in that case I'm using api-platform with data transformers and with data provider and persister.
I'm also using a Model (a simple PHP class) with doctrine and I'm manually persisting a retrieving a user; because of that my domain User class doesn't implement UserInterface or anything related to Symfony/Doctrine.
My question is: can I use LexikJWTAuthenticationBundle to create the token after I've manually checked that email and passwords are verified?
Thanks

Hmmm... i think you may want to check their internal code inside like how they create JWT etc. Extract those useful method and apply to your project.

Yes, you can. Please consider using our support platforms such as the symfony-devs slack or stackoverflow with the lexikjwtauthbundle tag, if looking at the documenntation and/or the codebase is not enough.
Thank you.


Fix log when receiving an empty (or "0") timestamp from a SEP-8 "pending" response

What
Fix log when receiving an empty (or "0") timestamp from a SEP-8 "pending" response.
Why
It's possible to receive timestamp: 0 from a "pending" SEP-8 response and we were not handling that case. Ref: https://github.com/stellar/stellar-protocol/blob/master/ecosystem/sep-0008.md#pending

Preview is available here:http://stellar-demo-wallet-pr187.previews.kube001.services.stellar-ops.com/


Compiled successfully 访问 http://localhost:8000/  出现Cannot GET /

It's not recommended to use webpack.config.js, since roadhog's major or minor version upgrades may result in incompatibility. If you insist on doing so, please be careful of the compatibility after upgrading roadhog.
Compiled successfully in 14.3s!
The app is running at:
http://<IP_ADDRESS>:8000/
浏览器打开  http://<IP_ADDRESS>:8000/ 出现 Cannot GET /
Refused to load the image 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAAmCAYAAACoPemuAAAAGXRFW…K/r7fivfbNZeQ4JhnWFFGbTKbyo67Ap6zo5FDUX/tfgAEAQ3WUFGFdgUwAAAAASUVORK5CYII=' because it violates the following Content Security Policy directive: "default-src 'self'". Note that 'img-src' was not explicitly set, so 'default-src' is used as a fallback.

@zuiidea  访问 http://localhost:8000/  也出现这个问题

Additionally, I see these messages in the console:
roadhog.dll.js:2 Uncaught SyntaxError: Unexpected token <
webpack-internal:///1674:9 Uncaught ReferenceError: regeneratorRuntime is not defined
    at eval (webpack-internal:///1674:9)
    at eval (webpack-internal:///1674:31)
    at Object.<anonymous> (index.js?d8999e0dc574d05473b8:11900)
    at __webpack_require__ (index.js?d8999e0dc574d05473b8:708)
    at fn (index.js?d8999e0dc574d05473b8:113)
    at eval (webpack-internal:///1660:22)
    at Object.<anonymous> (index.js?d8999e0dc574d05473b8:11802)
    at __webpack_require__ (index.js?d8999e0dc574d05473b8:708)
    at fn (index.js?d8999e0dc574d05473b8:113)
    at eval (webpack-internal:///835:34)

After loading roadhog.dll.js directly from http://localhost:8000/roadhog.dll.js I can then see the contents are of index.html not the javascript.


Webpack build error

After running npm i && npm run start
[0] multi (webpack)-dev-server/client?http://localhost ./js/bootstrap.js 40 bytes {main} [built]
[./js/bootstrap.js] 381 bytes {main} [built] [failed] [1 error]
[./node_modules/ansi-html/index.js] 4.16 KiB {main} [built]
[./node_modules/ansi-regex/index.js] 135 bytes {main} [built]
[./node_modules/html-entities/index.js] 231 bytes {main} [built]
[./node_modules/loglevel/lib/loglevel.js] 7.68 KiB {main} [built]
[./node_modules/node-libs-browser/node_modules/events/events.js] 13.3 KiB {main} [built]
[./node_modules/querystring-es3/index.js] 127 bytes {main} [built]
[./node_modules/strip-ansi/index.js] 161 bytes {main} [built]
[./node_modules/url/url.js] 22.8 KiB {main} [built]
[./node_modules/webpack-dev-server/client/index.js?http://localhost] (webpack)-dev-server/client?http://localhost 8.26 KiB {main} [built]
[./node_modules/webpack-dev-server/client/overlay.js] (webpack)-dev-server/client/overlay.js 3.59 KiB {main} [built]
[./node_modules/webpack-dev-server/client/socket.js] (webpack)-dev-server/client/socket.js 1.05 KiB {main} [built]
[./node_modules/webpack/hot sync ^\.\/log$] (webpack)/hot sync nonrecursive ^\.\/log$ 170 bytes {main} [built]
[./node_modules/webpack/hot/emitter.js] (webpack)/hot/emitter.js 75 bytes {main} [built]
    + 11 hidden modules

ERROR in ./js/bootstrap.js 4:6
Module parse failed: Unexpected token (4:6)
You may need an appropriate loader to handle this file type.
| // asynchronously. This `bootstrap.js` file does the single async import, so
| // that no one else needs to worry about it again.
> import("./index.js")["catch"](function (e) {
|   return console.error("Error importing `index.js`:", e);
| });
Child html-webpack-plugin for "index.html":
     1 asset
    Entrypoint undefined = index.html
    [./node_modules/html-webpack-plugin/lib/loader.js!./index.html] 2.44 KiB {0} [built]
    [./node_modules/lodash/lodash.js] 527 KiB {0} [built]
    [./node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 472 bytes {0} [built]
    [./node_modules/webpack/buildin/module.js] (webpack)/buildin/module.js 497 bytes {0} [built]
ℹ ｢wdm｣: Failed to compile.

this is related to peer dependencies or something with npm.
if you install with yarn, it will work - I updated the instructions. Sorry for the pain :grimacing:

leaving this open for now since having to use yarn is a bug


Add nightly job for thread sanitizer test on rmw packages

This change adds a nightly job to run thread sanitizer based
build and test on rmw packages on linux os.


Aftership integration fails

Home Assistant release with the issue:

0.103.4
Last working Home Assistant release (if known):
0.102
Operating environment (Hass.io/Docker/Windows/etc.):

RPi4 Hass.io
Integration:

https://www.home-assistant.io/integrations/aftership/
Description of problem:
Aftership sensor suddenly shows errors in logfile:
aftership: Error on device update!
It has worked for quite a while, but suddenly stopped. I've created a new API key, and I've removed all shippings from the account as well, no change.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
  - platform: aftership
    api_key: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

Traceback (if applicable):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 292, in _async_add_entity
    await entity.async_device_update(warning=False)
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/aftership/sensor.py", line 184, in async_update
    else track["checkpoints"][-1]
IndexError: list index out of range

Additional information:

Duplicate of #25481

It is NOT the same issue as 25461, sorry.
I've now retested it.
I have tried with no shipments, and with one shipment with location (items without locations fails in 25481).
This is not the same.
This one doesn't create the sensor no matter if there are shipments or not.

I've created a new account on Aftership, and now it creates the sensor.
So some sort of exception is happening on the old account.
I can provide an API to a developer if need be.


How can I repleace tag_list with my customize vocabulary

I want zero shot RAM or RAM++ in my vocabulary (w/o trainings set). I roughly  repleace tag_list with my vocabulary  and the error: torch.size dont match occure. How to fix it, thanks very much.

Please refer to RAM++/RAM Inference on Unseen Categories (Open-Set).
e.g., for RAM++:
1.Already have some tags in own vocabulary and enhance into tag descriptions with GPT-3.5
2.Compute the tag descriptions embeddings using CLIP text encoder
3.Replace the label_embed of RAM++ with the computed tag descriptions embeddings

Got it, thanks you fast reply~
| |
李江权
|
|
@.***
|
---- Replied Message ----
| From | Xinyu @.> |
| Date | 1/4/2024 14:35 |
| To | @.> |
| Cc | @.> ,
@.> |
| Subject | Re: [xinyu1205/recognize-anything] How can I repleace tag_list with my customize vocabulary (Issue #138) |
Please refer to RAM++/RAM Inference on Unseen Categories (Open-Set).
e.g., for RAM++:
1.Already have some tags in own vocabulary and enhance into tag descriptions with GPT-3.5
2.Compute the tag descriptions embeddings using CLIP text encoder
3.Replace the label_embed of RAM++ with the computed tag descriptions embeddings
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


'XCTest/XCTest.h' file not found

Problem
Trying to run an react-native 0.55 app using cocoa pods, it builds the other dependencies but fails on react-native-svg due to this error:
node_modules/react-native-svg/ios/PerformanceBezier/PerformanceBezierTests/PerformanceBezierClockwiseTests.m:9:9: 'XCTest/XCTest.h' file not found
node_modules/react-native-svg/ios/PerformanceBezier/PerformanceBezierTests/PerformanceBezierAbstractTest.m:9:9: 'XCTest/XCTest.h' file not found

Solution
Add RCTTest to your Podfile:
pod 'React', :path => '../node_modules/react-native', :subspecs => [
    'Core',
    'CxxBridge',
    'DevSupport',
    'RCTText',
    'RCTNetwork',
    'RCTWebSocket',
    'RCTAnimation',
    'RCTImage',
+    'RCTTest',
  ]

I have the same issue, but I am not running CocoaPods.


Mamba Meets Financial Markets: A Graph-Mamba Approach for Stock Price Prediction

Dear @XiudingCai ,
We submitted a paper with the title "Mamba Meets Financial Markets: A Graph-Mamba Approach for Stock Price Prediction". Here is the link to the arxiv version:
https://arxiv.org/abs/2410.03707
I would appreciate it if you can put that on your github account "Awesome-Mamba-Collection".
Thanks,
Ali

Hi Ali,
Thanks for sharing! I've added your paper to both the Time Series and Graph sections. I'll close this issue now.
Best,
Xiuding Cai


Add a quiet mode

The title is explicit, a simple config line to quite mode could be awesome.
Thx for this perfect plugin

@deepsweet just want to thank you for this workaround!


Update dependencies to latest

For release 2.1.1, check status of project dependencies and update where appropriate. See #394 for previous work.

Current state of dependencies as of 2017-11-16:
$ npm outdated
Package   Current  Wanted  Latest  Location
bluebird    3.5.0   3.5.1   3.5.1  marklogic
chai        3.5.0   3.5.0   4.1.2  marklogic
jsdoc       3.4.3   3.5.5   3.5.5  marklogic
mocha       3.2.0   3.5.3   4.0.1  marklogic
qs          6.4.0   6.5.1   6.5.1  marklogic
should     11.2.1  11.2.1  13.1.3  marklogic

According to @ayuwono on 2017-11-27:
"The QA regression has been running with node 6.9.0 since last week. It's been stable so far."
Closing issue as tests are stable with the updated dependencies on the current version target (Node.js 6.9.0).


Test datapackage library with all datapackages in /datasets organisation

This issue was originally in https://github.com/trickvi/datapackage/issues/63 by @femtotrader.
I'm not sure on how hard it'll be, but it might be useful to try loading all datapackages in /datasets as part of the test suite for datapackages library.

It could be thing proposed by @danfowler - a badge with valid/invalid datapackage.
So backlogged for now here.

It will be implemented as https://github.com/frictionlessdata/ideas/issues/198
https://github.com/frictionlessdata/ex-continuous-data-integration


fix this It can pass maxmass !

http://imgur.com/fCO8b5T
my cell mass passed maxmass idk why

Also note that how virus spawn in real agar https://www.youtube.com/watch?v=DzmeUeO4w-M 1:29
that would be nice to add

isn't the opposite?


Unclear error message with model.fit/fit_generator

Hello,
I was trying to make a model with multi-inputs and outputs:
model = Model(inputs=[input_a, input_b], outputs= [output_a, output_b])  model.fit_generator(data_generator(True, batch_size=batch_size),                     steps_per_epoch=train_steps,                     epochs=20)
^ data_generator returns two inputs and a target ( [X1, X2], y)
and I got this error:
ValueError: The model expects 2 input arrays, but only received one array. Found: array with shape (32, 1).
It was confusing as I was passing two input_arrays. It turned out that I had to pass two targets for two outputs, which was not clear from the error. Is this the intended behavior or should it be addressed?
Thanks
Please make sure that the boxes below are checked before you submit your issue. If your issue is an implementation question, please ask your question on StackOverflow or join the Keras Slack channel and ask there instead of filing a GitHub issue.
Thank you!

[X] Check that you are up-to-date with the master branch of Keras. You can update with:
pip install git+git://github.com/fchollet/keras.git --upgrade --no-deps

[X] If running on TensorFlow, check that you are up-to-date with the latest version. The installation instructions can be found here.

[ ] If running on Theano, check that you are up-to-date with the master branch of Theano. You can update with:
pip install git+git://github.com/Theano/Theano.git --upgrade --no-deps

[X] Provide a link to a GitHub Gist of a Python script that can reproduce your issue (or just copy the script here if it is short).

That's a peculiar bug...
If the generator returns values like this: ([input_a, input_b], output), then a model that accepts two inputs and two outputs shouldn't complain about receiving one input.


Fix host attribute

Fixed a bug that threw a Nullpointerexception when host attribute was not specified.

This has also been updated, I guess great minds think alike :smile:

Ohoho, I don't get recent changes before the error correction. See all have the same problem :)
It's good that my problems are solved. Thank you.

It's also pushed to Nuget


📝 [DOC] -  Add contribution guidelines

WIP - adding contribution guidelines and other community content
Fixes: #64
Fixes: #20

@trallard do you think we can mark this as a stopping point and add additional items later? Or do you have bandwidth to finish this up?

It's pretty incomplete and crucial bits are missing so definitely need to work on this. Will set some hours aside

@pavithraes, I wrapped up this PR (I think?) as we discussed so we can now move onto smaller individual PRs for

code contributions
no-code contributions
reviewer guidelines
style guide

@trallard Thank you! This PR looks great!

Thanks for the review @pavithraes - for now I commented the broken links but we can un-comment once we have these sections in place


Do you prefer master or main?

Do you mind changing the branch back to master or do you prefer it to be main?
I prefer it to be master, I don't get politics involved with code lol

Also, if you could disable the Wiki and Actions, I'd appreciate it.... it's in the repo settings.... or increase my access level so I can do it myself.

Thoughts.... PredefinedContentManager as new (this) plugin title

you already done the template title bit
i can create a settings page for the labels
i already have a hardcoded template to show the new table and classes... just need to add the labels

what do you think? or keep this as template title and create a new plugin to do all the above?

doesn't matter to me what the branch is called, doesn't effect me at all.
I have no idea how to increase your permissions.

OK I will leave this as it is and play around on a new plugin. See where it goes.

i cant find the wiki settings, but everything else should be changed

cool thanks


I'm receiving nothing in my body request instead of a json

import { PrismaHelper } from "../infra/db/prisma/prisma";
import app from './config/app'
import { exec } from 'node:child_process'
const main = async () => {
const server = app.listen(process.env.PORT || 3030, () => {
exec("npx prisma migrate dev --name v4 && npx prisma db push")
console.log(server is running on port ${process.env.PORT || 3030})
})
process.on('SIGTERM', () => {
server.close(() => {
PrismaHelper.$disconnect()
process.exit(0)
});
});
}
main()

In order to receive responses, you need to define routes and their corresponding handlers in your app module.


Add k8s-vmnet example

This example show how to run multiple connected kubernetes cluster using
a shared network. You can access all the clusters via the shared
network, clusters can access each other.
This configuration was derived from k8s.yaml template, with the
following changes:

Ensure that the API server and kublet listen on the shared network.
This is important for pods that need to listen on the host network. An
example is rook ceph test cluster.

Disable port forwarding, since we access the host via the shared
network, and automatic port forwarding cannot work for multiple
clusters.

Since we access the API server via the shared network, don't modify
the kubeconfig copied to the host.

Enable parallel image pulls for faster provisioning of complex
clusters.

Allow unprivileged pods to access block devices. Required for kubevirt
virtual machines or replicating block volumes using volsync.

These changes were extracted from RamenDR k8s.yaml:
https://github.com/RamenDR/ramen/blob/main/test/drenv/providers/lima/k8s.yaml
Based on #2632 since this depends on this change. Without it we need to fixup the route metric during provisioning.

I think we can add a job using this, creating 2 tiny clusters and accessing them using the ip address on the vmnet network. Such test will ensure that upstream lima change will not break our use case.

Example usage
This can also a new integration test.
% cat create-clusters.sh
#!/bin/sh
limactl start --name c1 template://k8s-vmnet &
limactl start --name c2 template://k8s-vmnet &
wait

% ./create-clusters.sh
INFO[0000] Starting the instance "c2" with VM driver "vz"
INFO[0000] Starting the instance "c1" with VM driver "vz"
INFO[0000] Attempting to download the image              arch=aarch64 digest= location="https://cloud-images.ubuntu.com/releases/24.04/release/ubuntu-24.04-server-cloudimg-arm64.img"
INFO[0000] Using cache "/Users/nsoffer/Library/Caches/lima/download/by-url-sha256/002fbe468673695a2206b26723b1a077a71629001a5b94efd8ea1580e1c3dd06/data"
INFO[0000] Converting "/Users/nsoffer/.lima/c2/basedisk" (qcow2) to a raw disk "/Users/nsoffer/.lima/c2/diffdisk"
INFO[0000] Attempting to download the image              arch=aarch64 digest= location="https://cloud-images.ubuntu.com/releases/24.04/release/ubuntu-24.04-server-cloudimg-arm64.img"
INFO[0000] Using cache "/Users/nsoffer/Library/Caches/lima/download/by-url-sha256/002fbe468673695a2206b26723b1a077a71629001a5b94efd8ea1580e1c3dd06/data"
INFO[0000] Converting "/Users/nsoffer/.lima/c1/basedisk" (qcow2) to a raw disk "/Users/nsoffer/.lima/c1/diffdisk"
3.50 GiB / 3.50 GiB [-------------------------------------] 100.00% 193.31 MiB/s
INFO[0018] Expanding to 100GiB
3.50 GiB / 3.50 GiB [-------------------------------------] 100.00% 193.27 MiB/s
INFO[0018] Expanding to 100GiB
INFO[0019] Attempting to download the nerdctl archive    arch=aarch64 digest="sha256:77c747f09853ee3d229d77e8de0dd3c85622537d82be57433dc1fca4493bab95" location="https://github.com/containerd/nerdctl/releases/download/v1.7.6/nerdctl-full-1.7.6-linux-arm64.tar.gz"
INFO[0019] Using cache "/Users/nsoffer/Library/Caches/lima/download/by-url-sha256/21cc8dfa548ea8a678135bd6984c9feb9f8a01901d10b11bb491f6f4e7537158/data"
INFO[0019] Attempting to download the nerdctl archive    arch=aarch64 digest="sha256:77c747f09853ee3d229d77e8de0dd3c85622537d82be57433dc1fca4493bab95" location="https://github.com/containerd/nerdctl/releases/download/v1.7.6/nerdctl-full-1.7.6-linux-arm64.tar.gz"
INFO[0019] Using cache "/Users/nsoffer/Library/Caches/lima/download/by-url-sha256/21cc8dfa548ea8a678135bd6984c9feb9f8a01901d10b11bb491f6f4e7537158/data"
INFO[0020] [hostagent] TCP port forwarding is disabled (except for SSH)
INFO[0020] [hostagent] TCP port forwarding is disabled (except for SSH)
WARN[0020] [hostagent] GRPC port forwarding is experimental
WARN[0020] [hostagent] GRPC port forwarding is experimental
INFO[0020] [hostagent] hostagent socket created at /Users/nsoffer/.lima/c1/ha.sock
INFO[0020] [hostagent] hostagent socket created at /Users/nsoffer/.lima/c2/ha.sock
INFO[0020] [hostagent] Starting VZ (hint: to watch the boot progress, see "/Users/nsoffer/.lima/c1/serial*.log")
INFO[0020] [hostagent] Starting VZ (hint: to watch the boot progress, see "/Users/nsoffer/.lima/c2/serial*.log")
INFO[0020] [hostagent] new connection from  to
INFO[0020] [hostagent] new connection from  to
INFO[0020] SSH Local Port: 62794
INFO[0020] SSH Local Port: 62796
INFO[0020] [hostagent] Waiting for the essential requirement 1 of 2: "ssh"
INFO[0020] [hostagent] Waiting for the essential requirement 1 of 2: "ssh"
INFO[0020] [hostagent] [VZ] - vm state change: running
INFO[0020] [hostagent] [VZ] - vm state change: running
INFO[0030] [hostagent] Waiting for the essential requirement 1 of 2: "ssh"
INFO[0030] [hostagent] Waiting for the essential requirement 1 of 2: "ssh"
INFO[0044] [hostagent] Waiting for the essential requirement 1 of 2: "ssh"
INFO[0044] [hostagent] Waiting for the essential requirement 1 of 2: "ssh"
INFO[0045] [hostagent] The essential requirement 1 of 2 is satisfied
INFO[0045] [hostagent] Waiting for the essential requirement 2 of 2: "user session is ready for ssh"
INFO[0045] [hostagent] The essential requirement 1 of 2 is satisfied
INFO[0045] [hostagent] Waiting for the essential requirement 2 of 2: "user session is ready for ssh"
INFO[0045] [hostagent] The essential requirement 2 of 2 is satisfied
INFO[0045] [hostagent] Waiting for the optional requirement 1 of 6: "systemd must be available"
INFO[0045] [hostagent] The essential requirement 2 of 2 is satisfied
INFO[0045] [hostagent] Guest agent is running
INFO[0045] [hostagent] Waiting for the optional requirement 1 of 6: "systemd must be available"
INFO[0045] [hostagent] Not forwarding UDP <IP_ADDRESS>:53
INFO[0045] [hostagent] Not forwarding UDP <IP_ADDRESS>:53
INFO[0045] [hostagent] Guest agent is running
INFO[0045] [hostagent] The optional requirement 1 of 6 is satisfied
INFO[0045] [hostagent] Not forwarding UDP <IP_ADDRESS>:68
INFO[0045] [hostagent] Not forwarding UDP <IP_ADDRESS>:68
INFO[0045] [hostagent] The optional requirement 1 of 6 is satisfied
INFO[0045] [hostagent] Waiting for the optional requirement 2 of 6: "containerd binaries to be installed"
INFO[0045] [hostagent] Not forwarding UDP <IP_ADDRESS>:53
INFO[0045] [hostagent] Not forwarding UDP <IP_ADDRESS>:53
INFO[0045] [hostagent] Waiting for the optional requirement 2 of 6: "containerd binaries to be installed"
INFO[0045] [hostagent] Not forwarding UDP <IP_ADDRESS>:68
INFO[0045] [hostagent] Not forwarding UDP <IP_ADDRESS>:68
INFO[0045] [hostagent] The optional requirement 2 of 6 is satisfied
INFO[0045] [hostagent] Waiting for the optional requirement 3 of 6: "kubeadm to be installed"
INFO[0045] [hostagent] The optional requirement 2 of 6 is satisfied
INFO[0045] [hostagent] Waiting for the optional requirement 3 of 6: "kubeadm to be installed"
INFO[0085] [hostagent] Waiting for the optional requirement 3 of 6: "kubeadm to be installed"
INFO[0085] [hostagent] Waiting for the optional requirement 3 of 6: "kubeadm to be installed"
INFO[0085] [hostagent] The optional requirement 3 of 6 is satisfied
INFO[0085] [hostagent] The optional requirement 3 of 6 is satisfied
INFO[0085] [hostagent] Waiting for the optional requirement 4 of 6: "kubeadm to be completed"
INFO[0085] [hostagent] Waiting for the optional requirement 4 of 6: "kubeadm to be completed"
INFO[0112] [hostagent] The optional requirement 4 of 6 is satisfied
INFO[0112] [hostagent] Waiting for the optional requirement 5 of 6: "kubernetes cluster to be running"
INFO[0118] [hostagent] The optional requirement 5 of 6 is satisfied
INFO[0118] [hostagent] Waiting for the optional requirement 6 of 6: "coredns deployment to be running"
INFO[0124] [hostagent] The optional requirement 4 of 6 is satisfied
INFO[0124] [hostagent] Waiting for the optional requirement 5 of 6: "kubernetes cluster to be running"
INFO[0130] [hostagent] The optional requirement 5 of 6 is satisfied
INFO[0130] [hostagent] Waiting for the optional requirement 6 of 6: "coredns deployment to be running"
INFO[0135] [hostagent] Not forwarding UDP <IP_ADDRESS>:8472
INFO[0147] [hostagent] Not forwarding UDP <IP_ADDRESS>:8472
INFO[0149] [hostagent] The optional requirement 6 of 6 is satisfied
INFO[0149] [hostagent] Waiting for the guest agent to be running
INFO[0149] [hostagent] Waiting for the final requirement 1 of 1: "boot scripts must have finished"
INFO[0149] [hostagent] The final requirement 1 of 1 is satisfied
INFO[0149] [hostagent] Copying config from /etc/kubernetes/admin.conf to /Users/nsoffer/.lima/c2/copied-from-guest/kubeconfig.yaml
INFO[0149] READY. Run `limactl shell c2` to open the shell.
INFO[0149] Message from the instance "c2":
To run `kubectl` on the host (assumes kubectl is installed), run the following commands:
------
export KUBECONFIG="/Users/nsoffer/.lima/c2/copied-from-guest/kubeconfig.yaml"
kubectl ...
------
INFO[0156] [hostagent] The optional requirement 6 of 6 is satisfied
INFO[0156] [hostagent] Waiting for the guest agent to be running
INFO[0156] [hostagent] Waiting for the final requirement 1 of 1: "boot scripts must have finished"
INFO[0156] [hostagent] The final requirement 1 of 1 is satisfied
INFO[0156] [hostagent] Copying config from /etc/kubernetes/admin.conf to /Users/nsoffer/.lima/c1/copied-from-guest/kubeconfig.yaml
INFO[0156] READY. Run `limactl shell c1` to open the shell.
INFO[0156] Message from the instance "c1":
To run `kubectl` on the host (assumes kubectl is installed), run the following commands:
------
export KUBECONFIG="/Users/nsoffer/.lima/c1/copied-from-guest/kubeconfig.yaml"
kubectl ...
------

% limactl list
NAME    STATUS     SSH                VMTYPE    ARCH       CPUS    MEMORY    DISK      DIR
c1      Running    <IP_ADDRESS>:62796    vz        aarch64    4       4GiB      100GiB    ~/.lima/c1
c2      Running    <IP_ADDRESS>:62794    vz        aarch64    4       4GiB      100GiB    ~/.lima/c2

% limactl shell c1 kubectl get node
NAME      STATUS   ROLES           AGE   VERSION
lima-c1   Ready    control-plane   57s   v1.31.1

% limactl shell c2 kubectl get node
NAME      STATUS   ROLES           AGE   VERSION
lima-c2   Ready    control-plane   77s   v1.31.1

% cat ~/.lima/c1/copied-from-guest/kubeconfig.yaml | grep server:
    server: https://<IP_ADDRESS>:6443

% kubectl get node --kubeconfig ~/.lima/c1/copied-from-guest/kubeconfig.yaml
NAME      STATUS   ROLES           AGE    VERSION
lima-c1   Ready    control-plane   104s   v1.31.1

% cat ~/.lima/c2/copied-from-guest/kubeconfig.yaml | grep server:
    server: https://<IP_ADDRESS>:6443

% kubectl get node --kubeconfig ~/.lima/c2/copied-from-guest/kubeconfig.yaml
NAME      STATUS   ROLES           AGE    VERSION
lima-c2   Ready    control-plane   2m3s   v1.31.1

Thanks, but due to the maintenance cost I'm not sure we want to expand the template list.
Maybe third-party templates can be linked from https://lima-vm.io/docs/templates/

Also, I'd suggest to use user-v2 network rather than vmnet

Also, I'd suggest to use user-v2 network rather than vmnet for simplicity

We cannot, with user-v2 you cannot access the vms from the host via the ip address, and we don't want to manage port forwarding for multiple clusters, which may also not work with complex setups (e.g connecting clusters with submariner).

Thanks, but due to the maintenance cost I'm not sure we want to expand the template list.
Maybe third-party templates can be linked from https://lima-vm.io/docs/templates/

Make sense, it also more complicated to test, but I would like this to be part of lima and tested with any pr, to ensure that our use case continue work.

Make sense, it also more complicated to test, but I would like this to be part of lima and tested with any pr, to ensure that our use case continue work.

Probably the CI of your project should run a canary job with lima@master ?

Make sense, it also more complicated to test, but I would like this to be part of lima and tested with any pr, to ensure that our use case continue work.

Probably the CI of your project should run a canary job with lima@master ?

We use lima only on Apple silicon, and macos-14 does not support nested virtualization, so we cannot run lima vms. Maybe can run lima on x86 runners (macos-13?), I did try this yet.

Maybe can run lima on x86 runners (macos-13?), I did try this yet.

Yes, it is what we have been using.

@AkihiroSuda another option is to replace the existing k8s.yaml with this version. It works in the same way, just not depending on port forwarding, and it works for multiple clusters, while the current template does not (only one is accessible via the port forwarding).

Maybe can run lima on x86 runners (macos-13?), I did not try this yet.

Yes, it is what we have been using.

Using nested virtualization or emulation?

@AkihiroSuda another option is to replace the existing k8s.yaml with this version. It works in the same way, just not depending on port forwarding, and it works for multiple clusters, while the current template does not (only one is accessible via the port forwarding).

No, k8s.yaml is expected to support port forwarding and should not depend on vmnet.
Probably you can just use k8s.yaml with limactl create --set PROPERTY=VALUE to disable port forwards and enable vmnet.

Using nested virtualization or emulation?

Nested virt.

another option is to replace the existing k8s.yaml with this version

If anything I would like to see k8s.yaml get smaller/simpler, not the opposite...
I don't think that will happen, upstream prefers "README" over fixing get.k8s.io
(Otherwise the k8s.yaml could have looked more like the k3s.yaml does today.)
Even flannel is a bit overkill for the single-host scenario, bridge would be just fine.


refactor NUH handling

Replaces #57, #58:

Be as conservative as possible when interpreting NUHs;
only interpret fully formed NUHs with a ! and a @.
Expose Nick() and NUH() as methods of ircmsg.Message.
Deprecate ircevent.ExtractNick() and ircevent.SplitNUH(),
but leave them around for compatibility.

I talked to #ircdocs and they convinced me that the approach in #58 is actually better. I was getting hung up on the idea that testnet.ergo.chat isn't a "nickname", it's a "hostname". But an alternate way to think about it is, the prefix consists of a "name" (either a nickname or a server name) that is normatively unique at any point in time, and then two pieces of metadata (username and hostname) that may or may not be attached for convenience. So I'm going to revive #58 and incorporate some of the changes in this PR (exposing NUH from ircmsg).


How to use Microsoft.TestPlatform.Portable in dotnet global tool

Description
For our mutation testing framework we integrate with vstest using the translationlayer package. Since we cannot be sure vstest.console is available on the target system, we include Microsoft.TestPlatform.Portable to ensure the vstest binaries exist on the system. This used to work fine for dotnet cli extensibility tool but we are migrating to dotnet global tool (for dotnet full framework support) and the portable package seems to not be installed with the dotnet global tool on the target system. Can anyone provide some guidance as to how we can use the portable package to make vstest available to our dotnet global tool package?

Can you please elaborate your setup?
where do you include this:

we include Microsoft.TestPlatform.Portable to ensure the vstest binaries exist on the system

From what i was able to understand:
Ideally if your mutation testing framework requires vstest.console as a dependency then it is better to add a nuget reference to https://www.nuget.org/packages/Microsoft.TestPlatform in your framework and ensure it is bundled along with your tool.

@ShreyasRmsft We only need vstest.console so we do not need the full set of binaries and we reference https://www.nuget.org/packages/Microsoft.TestPlatform.Portable
I don't seem to get the content of the package bundled with my tool, nor does nuget seem to restore the package on the target system when installing the dotnet core global tool even though it is listed as a dependency. I would appreciate some advice on how to best bundle vstest with our framework.

@Mobrockers you will have to author a post build .targets file that copies the package from the packagecache folder to the bin folder.

Thanks, we have implemented a similar solution.

Are there any updates on this issue? I'm having the same problem, is Post Build Event the official solution, I think it's ugly. If so, can you give an example? The version of the package that references microsoft.testplatform.portable is dynamic and I don't know how to confirm the version number in Post Build Event

@li-zhixin
I solved it like this:
I created a 'fake' ptoject file which contains the portable package as a dependency:
https://github.com/stryker-mutator/stryker-net/blob/v1.0/src/Stryker.Core/Stryker.Core/ToolHelpers/vstest.fakeproject.csproj
In the pipeline I have a restore step to restore this package to a specific folder:
https://github.com/stryker-mutator/stryker-net/blob/v1.0/azure-pipelines.yml#L261-L267
In our actual project csproj I added a wildcard embedded resources import for any .nupkg file that looks like it's microsoft testplatform portable:
https://github.com/stryker-mutator/stryker-net/blob/v1.0/src/Stryker.Core/Stryker.Core/Stryker.Core.csproj#L34
Then I made a helper class to deploy vstest portable from embedded resources to the temp folder on the target machine:
https://github.com/stryker-mutator/stryker-net/blob/v1.0/src/Stryker.Core/Stryker.Core/ToolHelpers/VsTestHelper.cs#L181

@rouke-broersma Thank you for sharing, after reading I think I will finish this workround soon.
I understand that this will work, but I still want to be clear about the official attitude and whether this is officially recognized as a standard solution. In my understanding, this is a workround.


Algorithm for conversion of binary to decimal and vice versa

Hi, good to see javascript data-structures and algorithms stacked at one place. So thought of contributing to it.
I added algorithms for conversion of a binary number to decimal number and vice versa in algorithms/math/binary directory. Let me know if it sounds good.

Hi @trekhleb,
Any updates or suggestions on this?


Fixes an issue of duplicate characters appearing in the MultiAutoComplete input

:ok: efa937ed4ffcf429816f0b060fca837fc38b4b52 seems fine for me


feat: add .gitattributes to skeleton

In order to reduce the bundle size in vendors, the .gitattributes file can be added to exclude unneeded files

Can you please add tests/Expected/acme-bundle/.gitattributes.expected with the same content of the template, so tests will pass?


Invisible Items

Never experienced this before.
http://cloud-4.steamusercontent.com/ugc/707401792821395401/1F7945F69217E5DFFF777DB4B7974803E33ECCA4/
All items are invisible, no idea why.

Nobody?

Any plugins to take note of? Clean installation?

Cannot reproduce. Please keep all issues only you are having to the forums (http://forums.cloudsixteen.com)


Fixed #33434 -- Changed font-size in admin CSS to use rem units.

In django most of the font size defination are absolute, in this PR I have updated font size unit (px) to rem which is and relative and responsive to  tag font size.
https://code.djangoproject.com/ticket/33434

Having those fractional 0.625rem;/0.8125rem/etc. scattered all over the CSS does not look so nice to me. I would be in favor of defining CSS variables instead, like --font-14, --font-13, etc.
For information, here are the currently used sizes in pixels: 1, 9, 10, 11, 12, 13, 14, 16, 18, 20, 24
@rvikunwar, don't change anything until an agreement is found.

Can you add a link to the issue in the description of this PR? And in all PRs in future, please

@rvikunwar Do you have time to keep working on this?

@rvikunwar Thanks :+1: Welcome aboard :boat:

buildbot, test on selenium.


Collapsible: typescript

diff is messier than most....sorry
i updated the directory structure to match our other components and the hook that was in rc is now used by the main component and exported

the ts build file extends from the other ts file with has strict so it's only needed in the one place


tests.cc-wrapper: Run with an empty path

Ensure our wrappers hardcode all the necessary tools

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

@ofborg build tests.cc-wrapper

https://github.com/ofborg build tests.cc-wrapper

@ofborg build tests.cc-wrapper

@ofborg build tests.cc-wrapper

@ofborg build tests.cc-wrapper

Clang tests fail with /nix/store/0d4v40m12wiplmphh3sh51prkhva2l3g-clang-wrapper-19.1.1/bin/cc: line 254: mktemp: No such file or directory
https://github.com/NixOS/nixpkgs/pull/349589 will fix them


Minimum bucket size for clustering

I would only like to cluster if the number of elements is > than a certain limit otherwise the current one (think is 4) is overkill for some use cases. Is this possible?

Duplicate of https://github.com/googlemaps/google-maps-ios-utils/issues/18


Update xfce4-terminal templates

Updated templates to new themes format which replaces old terminalrc color schemes. (Issue #255)
Added light template.
Themes should be placed in ~/.local/share/xfce4/terminal/colorschemes/.

Merged in https://github.com/auduchinok/base16-builder along with other pull requests.
I'm going to maintain this project for some time, so this pull request can be closed.


Bug in notebook inadvertently uninstalls tools needed by notebook

When running through this notebook I was consistently running into an issue optimum-cli command not found. I believe there is a mistake in this notebook here where the steps uninstall the tool needed below. Is this intended?

This causes the conversion step below to fail with command not found.

Removing the -q parameters shows that the tool is reinstalled. That's strange... Maybe I had another issue with my venv? I'll close this issue for now and can reopen later if needed.
Thanks @brmarkus !


How do I output a short path?

I get a output like this:
../../../../Users/***/Go/src/***/***.go:3:1:warning: comment on exported type Share should be of the form "*** ..." (with optional leading article) (golint)
But i want get a short path, like this:
***/***.go:3:1:warning: comment on exported type Share should be of the form "*** ..." (with optional leading article) (golint)
How should I do it?

gometalinter attempts to do this automatically. Are you using symlinks somewhere, odd GOPATH usage? Can you provide a reproducible example?

@dxvgef you need run gometalinter from project path. For example if you use GoLand:


extracted dialog component and created openDialog function

payment dialog can be rendered independent of button by calling openDialog({ to: 'address' })

@Klakurka added those examples/tests to the rollup and storyboard. if you have any requests on the storyboard examples, i am happy to add them.


fix: Added @action decorator to updateRoute and resetRoute methods of…

… RouterStore as they directly m

Coverage remained the same at 74.419% when pulling 895e52c1c7770fdde3f33048e6fb988c9477a21a on aap82:aap82 into e44133c2719c27b05779b465365a0c89f8baa7ba on LeonardoGentile:master.

Coverage remained the same at 74.419% when pulling 895e52c1c7770fdde3f33048e6fb988c9477a21a on aap82:aap82 into e44133c2719c27b05779b465365a0c89f8baa7ba on LeonardoGentile:master.

Thanks for this 👍
I will take a look and test it this weekend

I would say this was not necessary because the two methods updateRoute and resetRoute are always called from other methods already decorated with @action, isn't it?
Do you have the need to call these two methods from outside the store instance?

You're right that it's probably not necessary, but it just made sense to me to have it wrapped in the event that I or anyone else want to use it directly.  But no, I do not have the need for it at the moment.
On a side note though, I think that these
  @observable route = null;
  @observable previousRoute = null;
  @observable transitionRoute = null;

should be actually be
  @observable.ref route = null;
  @observable.ref previousRoute = null;
  @observable.ref transitionRoute = null;

because the route properties themselves are never mutated, as they are replaced in whole.  So, there isnt really a need to mark the properties observable, just the reference.    Thoughts?

I'm closing this as updateRoute and resetRoute are intended as helpers and always called from other @action decorated methods.
I will implement the @observable.ref soon


Agree on what a mirror is.

Reading code is difficult without a consistent usage of the word mirror.
It is e.g. difficult to understand if "True for single mirror simulations." means i) simulation of a single mirror panel; ii) simulation for a single-dish telescope; iii) simulations where the dish is seen as one single mirror.
Suggestion for the first two cases (most important ones):

use mirror panel
use mirror dish (not sure here; something better?)

Not the most important issue. Anyway:

in most cases we mean with mirror a mirror panel

config.single_mirror_mode is identified when we simulate a single mirror panel
mirror_numbers is the number of mirror panels
mirror_diameter is the diameter of a mirror panel

In some cases we distinguish between dual or single reflector telescopes:

is_two_mirror_telescope is used to identify dual-mirror telescopes
mirror_class is used (as in sim-telarray) for dual or single reflector telescopes

The mirror module is about simulating mirror panels.
Given that this is also an issue in sim-telarray, my feeling is the effort of introducing a consistent naming is far larger then the benefit.
I therefore suggest to close this issue. Please protest, if you think differently.

No objection, closing.


RADx MARS format follow up

User Story
As ReportStream, I want to better understand the RADx MARS format, so that I can send HL7 v2 messages that follow that RADx MARS format.
Description/Use Case
The RADx MARS format spreadsheet has some requirements that need clarification. We need to find out what age needs to be calculated when patient is less than 1 year old. What to do with fields that are not part of HL7 v2.5.1 spec. What to do with dates that don't follow the format  {YYYYMMDDHHMMSS[+/-ZZZZ]}. Do the descriptions for AOE questions need to be hardcoded?
Risks/Impacts/Considerations
Dev Notes
The RADx MARS spec can be hound in this spreadsheet https://docs.google.com/spreadsheets/d/15dKu5zSY23-VVL0oJphILQyHjyDoj_WmTmXUxGXinzQ/edit#gid=0
Acceptance Criteria
<!--
What is Acceptance Criteria?
A set of conditions or business rules, as defined by the Product Owner, which the functionality or feature should satisfy, in order to be accepted by the Product Owner.

Use the following template when creating new Acceptance Criteria:

- [ ] RADx MARS requirements have been clarified and tickets have been created or updated based on the answers.

@victor-chaparro Please add acceptance criteria. Indicate where you will record the answer to these questions - maybe we just update another ticket with answers to these questions?


Add color spaces for HSLuv and HPLuv

Add color spaces for HSLuv and HPLuv.
The conversion routines where adapted from the typescript source code in the HSLuv repository.
Tests
The HSLuv repository has test data in json format.
I added a script to generate tests suites for hpluv and hsluv. npm run test:generate-hsluv will create test/hpluv.js and test/hsluv.js. The tests take forever to load/run on my ancient Windows PC when run via npm run test. Running the individual test files is less bad. I've added the files to .gitignore so they aren't committed accidently.

In Gamut Tests
I added a test suite for inGamut() and the various methods of specifying the gamutSpace for a color space. HSLuv has a gamutSpace of srgb and HPLuv has a gamutSpace of "self".
Closes #339, closes #284

I've revamped the tests:

no generation step
all tests and test data are stored in test/hsluv
npm run test:hsluv to run the tests

I would move test/hsluv/hpluv.js and test/hsluv/hsluv.js to be directly into test (and they can still import the files they need from hsluv/. Other than that, LGTM.

Done

Merged, thanks! 🎉


Update Request-PnPSyntexClassifyAndExtract.md

Clarified that folder classification uses the off peak queue.
Before creating a pull request, make sure that you have read the contribution file located at
https://github.com/pnp/powerShell/blob/dev/CONTRIBUTING.md
Type

[ ] Bug Fix
[ ] New Feature
[ ] Sample

Related Issues?
Fixes #X, partially fixes #Y, mentioned in #Z, etc.
What is in this Pull Request ?
Please describe the changes in the PR.
Guidance

You can delete this section when you are submitting the pull request.*
Please update this PR information accordingly. We use this as part of our release notes in monthly communications.
Please target your PR to Dev branch. If you do not target the Dev branch we will not accept this PR.

Thank you @jameseccles for this clarification.
Have merged the changes :)


Fix key error.

Related to #33 .

Thanks a lot, @ggicci! Just released 0.9.8 with your change. Cheers!


Update to LLVM 11.0.0.rc1

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Intel SVML patch does not apply. cc @anton-malakhov, @Hardcode84

@conda-forge-admin, rerender

Pushed to rc branch

Hi! This is the friendly automated conda-forge-linting service.
I was trying to look for recipes to lint for you, but it appears we have a merge conflict.
Please try to merge or rebase with the base branch to resolve this conflict.
Please ping the 'conda-forge/core' team (using the @ notation in a comment) if you believe this is a bug.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@Hardcode84, the tests fail with,
2020-10-12T16:51:14.8754872Z + bin/opt -S -vector-library=SVML -mcpu=haswell -O3 /home/conda/recipe_root/numba-3016.ll
2020-10-12T16:51:14.8759163Z + bin/FileCheck /home/conda/recipe_root/numba-3016.ll
2020-10-12T16:51:14.9067105Z /home/conda/recipe_root/numba-3016.ll:9:14: error: CHECK-NOT: excluded string found in input
2020-10-12T16:51:15.5965394Z ; CHECK-NOT: __svml_sin8
2020-10-12T16:51:15.5967405Z              ^
2020-10-12T16:51:15.5967929Z <stdin>:8:228: note: found here
2020-10-12T16:51:15.5969930Z @llvm.compiler.used = appending global [3 x i8*] [i8* bitcast (<2 x double> (<2 x double>)* @__svml_sin2_ha to i8*), i8* bitcast (<4 x double> (<4 x double>)* @__svml_sin4_ha to i8*), i8* bitcast (<8 x double> (<8 x double>)* @__svml_sin8_ha to i8*)], section "llvm.metadata"
2020-10-12T16:51:15.5972031Z                                                                                ^~~~~~~~~~~
2020-10-12T16:51:15.5973211Z
2020-10-12T16:51:15.5973654Z Input file: <stdin>
2020-10-12T16:51:15.5974828Z Check file: /home/conda/recipe_root/numba-3016.ll
2020-10-12T16:51:15.5975506Z
2020-10-12T16:51:15.5976398Z -dump-input=help explains the following input dump.
2020-10-12T16:51:15.5977992Z
2020-10-12T16:51:15.5978443Z Input was:
2020-10-12T16:51:15.5978954Z <<<<<<
2020-10-12T16:51:15.5979983Z        1: ; ModuleID = '/home/conda/recipe_root/numba-3016.ll'
2020-10-12T16:51:15.5980972Z        2: source_filename = "svml-3016.c"
2020-10-12T16:51:15.5982277Z        3: target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
2020-10-12T16:51:15.5983552Z        4: target triple = "x86_64-pc-linux-gnu"
2020-10-12T16:51:15.5984221Z        5:
2020-10-12T16:51:15.5985002Z        6: @a = common dso_local local_unnamed_addr global [1024 x i32] zeroinitializer, align 16
2020-10-12T16:51:15.5986031Z        7: @b = common dso_local local_unnamed_addr global [1024 x i32] zeroinitializer, align 16
2020-10-12T16:51:15.5987913Z        8: @llvm.compiler.used = appending global [3 x i8*] [i8* bitcast (<2 x double> (<2 x double>)* @__svml_sin2_ha to i8*), i8* bitcast (<4 x double> (<4 x double>)* @__svml_sin4_ha to i8*), i8* bitcast (<8 x double> (<8 x double>)* @__svml_sin8_ha to i8*)], section "llvm.metadata"
2020-10-12T16:51:15.5990778Z not:9                                                                                !~~~~~~~~~~                                      error: no match expected
2020-10-12T16:51:15.5992630Z        9:
2020-10-12T16:51:15.5993170Z       10: ; Function Attrs: nofree nounwind uwtable
2020-10-12T16:51:15.5993831Z       11: define dso_local void @foo() local_unnamed_addr #0 {
2020-10-12T16:51:15.5994546Z       12: vector.ph:
2020-10-12T16:51:15.5995185Z       13:  br label %vector.body
2020-10-12T16:51:15.5995748Z        .
2020-10-12T16:51:15.5996127Z        .
2020-10-12T16:51:15.5996587Z        .
2020-10-12T16:51:15.5996938Z >>>>>>
2020-10-12T16:51:15.5997277Z + exit 1

Ok, I'll check

Thanks @Hardcode84


Can't turn on display after --turn-screen-off or shortcut

[X] I have read the FAQ.
[X] I have searched in existing issues.

Environment

OS: Windows
scrcpy version: 2.0
installation method: windows release
device model: Huawei Mediapad M3 ( EMUI 5.0.3 )
Android version: 7.0

Describe the bug
After the display is off with --turn-screen-off  or with MOD+o
I can't turn on the screen with MOD+Shift+o.
If i try to turn on the device with double pressing MOD+p (one time for lock the device, and the second for turn on) the display turn on for some milliseconds and turn off again.
The only way to turn on the screen is pressing the MOD+Shift+o even is doesn't work, and now press two times MOD+p
If i don't set --stay-awake and the screen is off, when the timeout screen timer is near to ended (exaclty 5 second before) the screen turn on to make a slight dimming.
For better explaining: Screen timeout is setted to 30secs, at 25secs the screen make a slight dimming. If the screen is off with --turn-screen-off, that slight dimming trigger the screen to turn on

Yes, on some old devices turning the screen on does not work properly (scrcpy just requests to turn off/on, how the device handles it depends on the device/rom). It used to be even worse that what you observe (see 8c8649cfcd710859ce18eab557ed2af8cedb9a42 dcde578a50ffb9d2594c4764a067e9dd328bf55c).

If i try to turn on the device with double pressing MOD+p (one time for lock the device, and the second for turn on) the display turn on for some milliseconds and turn off again.

If power on is done via scrcpy, it automatically turns back the screen off: #1577
Sorry, it is device specific, there is probably nothing scrcpy can do.

Ok, thanks for the response.
For my purpose I've found a """"""workaround""""" to turn on the screen remotely, with sending an intent to Tasker from ADB that triggers an action that it double presses the power button, swipes up to show the pin input, inserts the pin (not a safe handling of course) and automatically unlocks the device. Better than nothing...
Anyway, I close this issue accepting your response, thanks again.

Sorry, it is device specific, there is probably nothing scrcpy can do.


How hard would it be to support some sort of incremental verification for non-.Net clients?

Hi there,
The current VS mode for Dafny depends heavily on Boogie's caching features to reduce latency. I'd like to implement the same in my newly released Emacs modes for Boogie and Dafny. Unlike Dafny's VS extension, though, Emacs lisp code can't easily call into Dafny or Boogie; and it seems that the VS extension does depend on that (at least IIUC; I've only had a cursory look at its source).
How hard would it be to adjust the model slightly, to make it possible to make such incremental reverification possible from other editors? Maybe through some /useCache:<filename> flag, which would instruct Boogie to look for a previously written cache in <filename>, and to write an updated cache after completing its latest run. That would have the cool property that it would totally transparent to the editor (apart from the flag)
Cheers,
Clément.

I think it should be fairly easy to extend Boogie such that it acts more like a server and waits for program snapshots that are sent to it via the stdin stream (e.g., much like Z3 is currently used from within Boogie). I think this is preferable over using a file. The caching itself shouldn't be affected.
Please let me know if you want to discuss what a suitable input format could look like.

That would be an interesting discussion. I'm not sure that it is incompatible with the extension I was proposing, however. The REPL model has advantages, but it also has a lot of inconveniences in my experience, not least that it puts a significant implementation burden on tool developers.
Here are a few examples that wouldn't be covered by a server-style implementation:

Programming in Boogie from Vim.
Integrating boogie with existing packages (for example Emacs' flycheck: my boogie-friends package highlights errors reported by boogie in real time (or at least when boogie eventually returns); integrating in a server model would essentially mean recoding that entire feature myself, instead of relying on an existing package that already does all of the calling the checker program, parsing the output, and displaying the results).
Integrating with other tools that generate Boogie source. To use this server feature from Dafny, for example, we'd have to convert Dafny, too, to the server model. But then we don't really need the feature in Boogie-land anymore, because we have the server on the Dafny side, and Dafny can talk to Boogie via the .Net API

The last point sounds to me like the most compelling reason to avoid the server model, or at least to not limit ourselves to it. If we implement a file-based caching mechanism, it will be very easy to adjust any of the many existing tools that rely on Boogie for their verification: they'll just have to forward an extra flag to Boogie. If we implement a server-based version, then all other tools will need to update to that server model, and so will editors that want to support this caching.

I see your point. However, I'm a bit skeptical if it will be feasible to persist the entire cache efficiently. For instance, it currently caches the last copy of the program AST, which might be relatively big.

I'd be excited to actually try that out, if you can point me to things that would need to be serialized for caching purposes (we don't need to actually implement the full caching to disk to check your assumption; it's enough to find an over-approximation of what we need to save).
Here's a hand-wavy argument that gives me some hope that the AST should not be excessively big: if the AST can entirely be deduced from the program source, then its information information is equal to that of the source.. Thus, with proper compression, they should both require the same amount of storage.
Here is another one: I ran a quick experiment on small Python programs that I had lying around, comparing the size of the AST (as printed by ast.dump()) to the size of the original program, with and without gzipping:
Source            AST             GZipped AST
140               555 (+296%)     248 (+ 77%)
235               939 (+300%)     383 (+ 63%)
466              2094 (+349%)     546 (+ 17%)
643              2785 (+333%)     644 (+  0%)
888              2887 (+225%)     650 (- 27%)
1142             5953 (+421%)    1077 (-  6%)
1448             8391 (+479%)    1406 (-  3%)
1506             7749 (+415%)    1034 (- 31%)
1757             9005 (+413%)    1286 (- 27%)
2046             8361 (+309%)    1291 (- 37%)
2629            12006 (+357%)    1545 (- 41%)
2735             9098 (+233%)    1763 (- 36%)
3335            17228 (+417%)    1996 (- 40%)
4024            19150 (+376%)    2297 (- 43%)
4508            23825 (+429%)    2220 (- 51%)
6630            31878 (+381%)    3974 (- 40%)

Of course no compression is perfect, so there will probably be an increase in size compared to the original source. Still, I'm curious to see how significant the difference will be.
Clement.

Yes, my thinking was similar. What I was mainly worried about was all references to other objects transitively reachable from the root objects in the cache. But, I'm not sure if that worry is actually justified.
In case you want to give this a try, there are two global cache objects of type 'MemoryCache': one for programs and one for verification results.

Cool. So, I guess the task now is mostly to try to mark a bunch of things serializable, and write a copy of MemoryCache that's serializable too, and see what happens. I'm going to be away for the next two weeks, so feel free to go ahead if you have time!

Closing due to inactivity.