getDayClasses function on Ipad

Hi! I have seriuos problems to perform the library on my ipad. I think the reason is the function getDayClasses(day) that calls every second and slows down all the calendar functionality in the ipad making it imposible to use. However the same page in my laptop runs perfectly.
Personally I'd choose ng-class to manage the days css classes instead of:
div class="text-center picker-day {{getDayClasses(day)}}"
I hope it'd would help you in some way.

Hi,
thanks for your feedback.
Could you try to modify the lib on your side to check if it's better ?
I don't have any iPad or 'slow' device to test :/

Hi mgohin! I've just tested it in an ipad and the performance is better using ng-class. However the conflicts selecting/unselecting days persists.
I finally solved it by deleting this class: .picker-day:not(.picker-off):not(.picker-empty):hover{background-color:#C6000B;color:#fff;cursor:pointer}
Now doesnt have any style on hover event but it fixed the selection problems.
Thanks for your response anyway! and sorry for my argentinian english..

No problem, glad you found a solution


e2e stream encryption

Do you support end-to-end stream encryption?
If yes, please send me some resource or samples

e2e is not within the scope of this library
You must develop your own, including key exchange


components that are guaranteed to be used by only one entity?

? Can you describe the issue please?


log exception

this resolves #2

@valerit thanks for your PR. This just works, can you write a test for it? In the folders ./test/fixtures/* are some git folders in it. You can just add some commits there, or add an additional git directory.

Can you maybe also remove the package-lock. In this project I am using yarn - so managing two lock files is a bit too much.

@valerit if it is ok for you, I would take over from here and add tests - then we can merge this PR

@valerit this is now fixed in v1.0.1


[ethers] named arguments for function args encoding methods

The interface.functions.fnName.encode methods that I added in PR #154 were effectively typed as, for example, encode(params: [string, string, string]): string. Though typesafe, this wasn't really helpful in developement.
With this change, I'm overriding not only the arguments typing for encode, but the whole method, and destructuring the arguments so their original names are shown, for example: encode([receiverAddress, signature, assetData]: [string, string, string]): string. I believe this is the best we can do here -- because ethers accepts the arguments as an array here, we can't just normally list the arguments with names.
Same problem solved for encodeTopics method on interface.events.eventName.
No functionality or typing is changed, only the names are added.

Pull Request Test Coverage Report for Build 219

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.02%) to 89.008%

Totals

Change from base Build 218:
0.02%

Covered Lines:
402

Relevant Lines:
436

💛  - Coveralls

Released as 0.3.16


Accordion title overlaps icon

The title in the accordion tab overlaps the + and - icons. I believe this had already been resolved, but can't retrieve the issue for this.

See issue on this page: https://www-preview.ilo.org/resource/other/qas-business-and-child-labour#Why_does_ILO_not_consider_that_children_working_in_farms_as_part_of_their_education_

@bashlk @GGKapanadze Wondering if you could also have a look at this one on Justin's absence.

@Shashika6 Can you take a look at this after #935?

Will do @bashlk

This issue was fixed for mobile devices will put up a fix for lage screns as well.


Format this repo as a template repository

See https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-template-repository.
Is this a good idea? Is this a repository that should be formatted as a template?

ChatGPT's thoughts:
Creating a template repository in GitHub can be a good idea in several scenarios:

Repeated Project Initialization: If you frequently create similar projects, a template repository can significantly speed up the process. It allows you to start new projects with a predefined set of files and directory structures, eliminating the need to set up everything from scratch each time source.

Clean Commit History: Unlike forking, using a template clears the commit history, meaning the new repository will have all the necessary code but none of the history from the template. This is beneficial for tracking changes in the new project without the clutter of the template's history. It's also useful when the work doesn't need to be tied to the original repository's forks.

Efficiency and Focus: Template repositories can increase the speed of routine tasks, reduce manual configuration, and allow focusing on more critical aspects of work. This can be particularly advantageous in larger teams or projects where standardization and efficiency are key source.

Which Repositories to Format as Templates:

Repositories that serve as starting points for similar projects.
Repositories containing commonly used boilerplate code, configuration files, or file structures.
Educational or instructional repositories where a clean, ready-to-use codebase is needed for learners.

Overall, template repositories are best suited for situations where you want to standardize project setups, reduce repetitive setup tasks, and ensure a clean starting point for new projects.


Cannot create tunnel service - it doesn't do anything

Title pretty much says it all, I don't know what else to provide.
Before I used to be able to set it all up, but in testing I destroyed my internet connection so I deleted the tunnel from Network and Sharing center manually while testing and now after a reboot I cannot get it working.
Any help would be appreciated, thank you.

It is stuck like this with the error cursor on my mouse.

Can you try Uninstall WireGuard and then Download and install WireGuard to reset things?

I've already tried doing that and it hasn't done anything

Hmm, not sure what's messed up. That option in the UI just invokes the wireguard.exe CLI. Can you try running this command form an elevated PowerShell?
wireguard.exe /installtunnelservice $env:appdata\WS4W\server_wg\wg_server.conf

I have and it says it has removed it but the problem is still there.
On Sun, Feb 26, 2023 at 8:55 PM Micah Morrison @.***>
wrote:

Hmm, not sure what's messed up. That option in the UI just invokes the
wireguard.exe CLI. Can you try running this command form an elevated
PowerShell?
wireguard.exe /installtunnelservice $env:appdata\WS4W\server_wg\wg_server.conf
—
Reply to this email directly, view it on GitHub
https://github.com/micahmo/WgServerforWindows/issues/99#issuecomment-1445464807,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALLD2DHMOOAWIUT6S4IMN63WZO7NFANCNFSM6AAAAAAVIQ2SWE
.
You are receiving this because you authored the thread.Message ID:
@.***>

What do you mean by "it says it has removed it"? The command I sent is supposed to install the tunnel, not remove it. On my system, where it runs successfully, there is no output. What do you see when you run it?

Still doesn't work. Sorry i understood it wrong

Have you tried uninstalling from the CLI?
wireguard.exe /uninstalltunnelservice

If you open ncpa.cpl, is there an entry for wg_server?
Can you open the WireGuard app on Windows, go to the Log tab, and watch it while you run the uninstall/install CLI commands?

I recently ran into this same issue after properly installing and configuring wg server. It was operating properly for multiple months and then stopped working. Running installtunnelservice from the CLI indicated the tunnel service was already installed, but the UI didn't reflect this. Additionally, as shown above, the UI indicated the private network and NAT Routing were not setup when they were previously. Furthermore, running uninstalltunnelservice did not appear to properly uninstall the tunnel service as attempting to reinstall the service resulted in the CLI indicating the tunnel service was already installed.
Doing some troubleshooting on the hosting server, I found that wg server errored out with: Could not bind to socket <IP_ADDRESS>:51820 (0xc0000022). Unable to bring up adapter: Access is denied.. This error immediately following a restart subsequent to a Windows security update (KB5022840). Restarting the host server did not resolve the issue. Uninstalling the security update allowed the tunnel service to be uninstalled, reinstalled, and the private network and NAT table settings to be restored - wg server was fully restored and operating properly again. The security update was later installed without issue.
It's difficult to say what the root cause was for this manifestation of the same issue, but this may provide some troubleshooting steps for other users.

Wow, great insight, thank you so much for those details @mtkarp! I'm sure they will help others.
Out of curiosity, where did you find the socket binding error? In the WireGuard application logs?

@micahmo The logs I was looking at were in the WireGuard application, not within the wg server. I have a copy of the log files attached for reference. This log starts with the shutdown associated with the Windows update.

So I had this happen even without the listed KB Update from Mtkarp. Fix was:
wireguard.exe /uninstalltunnelservice wg_server > reboot computer > install using UI.
Happened twice so far over past 2 days. Once per day.

I am also facing this issue, same 'Could not bind socket' error as @mtkarp
Let me know if you would like any further logs to solve this issue, been happening too often.

The same problem occurs after KB5026446.
Creation of Tunnel Service fails in CUI.
First.
Terminate Wg Server for Windows
C:\Users[user]\AppData\Roaming\WS4W\server_wg
into Wireguard GUI and encrypt it with dnapi
Next.
Create a bat file like this
"C:\Program Files\WireGuard\wireguard.exe" /installtunnelservice "C:\Program Files\WireGuard\Data\Configurations\wg_server.conf.dpapi"
Finally.
Start Wg Server for Windows and configure the rest of the settings and start bat with the task scheduler.
Everything works fine.

Exit WS4W before creating the Tunnel Service.
Open C:╱Users[user]╱AppData╱Roaming╱WS4Wserver_wg.
Load server_wg.conf into WireGuardGUI and add Tunnel.
When doing so, add Address = <IP_ADDRESS>/24 to the [Interface] field.
Click the Activate button in the WireGuard GUI.
Start WS4W and configure the remaining settings.
Everything is working fine. Reboot is also OK.

The problem is likely because of Hyper-V reserving some ports. I've encountered this before with another port in the 50K range.
https://stackoverflow.com/questions/48478869/cannot-bind-to-some-ports-due-to-permission-denied

Had this same issue, changed to a40k port and worked immediately. Thank you.


postwoman google login doesn't work behind ingress or reverse proxy

Describe the bug
Google login doesn't work when you deploy postwoman behind reverse proxy or ingress
To Reproduce
Steps to reproduce the behavior:
Easiest way to reproduce is run below docker-compose and login to google by http://localhost:80 (reverse_proxy) instead of http://localhost:3000 (postwoman direct)
https://gist.github.com/javad-hajiani/c604f42e3fc0068ae65b482a3adf8278
Expected behavior
google login work properly like what you have already without reverse_proxy
Desktop (please complete the following information):

OS: ubuntu 18.04
Browser chromium
Version 83

Login is disabled for all request URLs except postwoman.io due to security concerns. Kindly use postwoman.io to make use of sync feature.

@liyasthomas iyasthomasCan you please elaborate the security concerns in details?


"bash ./experiments/mobilesamv2.sh" does not work on Mac M1

Hi MobileSAM team,
First of all, thank you for this amazing library.
I am trying to run "bash ./experiments/mobilesamv2.sh" shell on my Mac Book  M1  pro chip laptop. I have installed a lot of packages without any error. And I got error message when I run:
cd MobileSAMv2
bash ./experiments/mobilesamv2.sh

 bash ./experiments/mobilesamv2.sh
/Users/user/MobileSAM/MobileSAM-master/.venv/lib/python3.9/site-packages/urllib3/__init__.py:35: NotOpenSSLWarning: urllib3 v2 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'LibreSSL 2.8.3'. See: https://github.com/urllib3/urllib3/issues/3020
  warnings.warn(
/Users/user/MobileSAM/MobileSAM-master/MobileSAMv2/tinyvit/tiny_vit.py:656: UserWarning: Overwriting tiny_vit_5m_224 in registry with tinyvit.tiny_vit.tiny_vit_5m_224. This is because the name being registered conflicts with an existing name. Please check if this is not expected.
  return register_model(fn_wrapper)
/Users/user/MobileSAM/MobileSAM-master/MobileSAMv2/tinyvit/tiny_vit.py:656: UserWarning: Overwriting tiny_vit_11m_224 in registry with tinyvit.tiny_vit.tiny_vit_11m_224. This is because the name being registered conflicts with an existing name. Please check if this is not expected.
  return register_model(fn_wrapper)
/Users/user/MobileSAM/MobileSAM-master/MobileSAMv2/tinyvit/tiny_vit.py:656: UserWarning: Overwriting tiny_vit_21m_224 in registry with tinyvit.tiny_vit.tiny_vit_21m_224. This is because the name being registered conflicts with an existing name. Please check if this is not expected.
  return register_model(fn_wrapper)
/Users/user/MobileSAM/MobileSAM-master/MobileSAMv2/tinyvit/tiny_vit.py:656: UserWarning: Overwriting tiny_vit_21m_384 in registry with tinyvit.tiny_vit.tiny_vit_21m_384. This is because the name being registered conflicts with an existing name. Please check if this is not expected.
  return register_model(fn_wrapper)
/Users/user/MobileSAM/MobileSAM-master/MobileSAMv2/tinyvit/tiny_vit.py:656: UserWarning: Overwriting tiny_vit_21m_512 in registry with tinyvit.tiny_vit.tiny_vit_21m_512. This is because the name being registered conflicts with an existing name. Please check if this is not expected.
  return register_model(fn_wrapper)
checkpoint_load_scucess
2.jpg

0: 1024x1024 82 objects, 1468.1ms
Speed: 5.3ms preprocess, 1468.1ms inference, 1.4ms postprocess per image at shape (1, 3, 1024, 1024)
Traceback (most recent call last):
  File "/Users/user/MobileSAM/MobileSAM-master/MobileSAMv2/Inference.py", line 122, in <module>
    main(args)
  File "/Users/user/MobileSAM/MobileSAM-master/MobileSAMv2/Inference.py", line 82, in main
    input_boxes = torch.from_numpy(input_boxes).cuda()
  File "/Users/user/MobileSAM/MobileSAM-master/.venv/lib/python3.9/site-packages/torch/cuda/__init__.py", line 284, in _lazy_init
    raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled

How can I resolve this one ? I am using M1 Pro chip Mac book.
Thanks in advance! :)

Hello,
I am not in the team but from what I see, you need to have CUDA to use torch which the AMcbook M1 does not have.
It has the MEtal API to use the GPU part of the SOC chip. So maybe you should try it on a different device taht has a CUDA compatible GPU. =)

Torch without CUDA is fine. However the code needs a slight alteration.
Go to Inference.py in the folder MobileSamV2. At line 82 it says "input_boxes = torch.from_numpy(input_boxes).cuda()", you would change it to  "input_boxes = torch.from_numpy(input_boxes).cpu()".


No sound in xfce after ChromeOS update

Sound stopped working in crouton after chromeOS update, tried to update crouton and got this:
Reading package lists... Done
Building dependency tree
Reading state information... Done
libasound2:i386 is already the newest version.
libspeexdsp1:i386 is already the newest version.
alsa-utils is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libc6-dev:i386 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
libc6-dev-i386 linux-libc-dev libc-dev-bin
E: Package 'libc6-dev:i386' has no installation candidate
E: Unable to locate package libspeexdsp-dev
Failed to complete chroot setup.
Unmounting /mnt/stateful_partition/crouton/chroots/trusty...

Please re-open if this issue is still a concern.


Fix document

Hi Bram and all,
Check it out please.
BTW,
I'm not sure about the help link policy.
What is the difference between Backtick (`) link and Bar (|) link.
For backtick link, omit a colon?
NG? `:setlocal`
OK? `setlocal`
--
Best regards,
Hirohito Higashi (h_east)

Thank you, that is a long list of improvements.

Hi Bram,
From https://github.com/vim/vim/pull/10620#issue-1284741832

BTW,
I'm not sure about the help link policy.
What is the difference between Backtick (`) link and Bar (|) link.
For backtick link, omit a colon?
NG? :setlocal
OK? setlocal

I apologize for asking this question almost half a year ago, but could you please answer it?
I'm still not sure what the policy is for this, so I'd appreciate it if you could let me know.
--
Best regards,
Hirohito Higashi (h_east)

From https://github.com/vim/vim/pull/10620#issue-1284741832
BTW,
I'm not sure about the help link policy.
What is the difference between Backtick (`) link and Bar (|) link.

I apologize for asking this question almost half a year ago, but could
you please answer it?
I'm still not sure what the policy is for this, so I'd appreciate it
if you could let me know.

The backticks are for commands, they will be highlighted as such.
If it is just one command then it also works as a tag.

For backtick link, omit a colon?
NG? :setlocal
OK? setlocal

Depends on the context.  If it's clear that an Ex command is typed then
the colon is often left out.  In between Normal mode commands it's
better to show the colon, to make clear it's a different kind of
command.
--
hundred-and-one symptoms of being an internet addict:
183. You move your coffeemaker next to your computer.
/// Bram Moolenaar -- @.*** -- http://www.Moolenaar.net   \
///                                                                      \
\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

I see. Thank you.


Support full RGB color scope

Hi, this is a slider with great UX! However to be adopted by apps that is serious about colors it should be support full color scope. As I understand it, Chroma Picker's UI represents HSL model of a color: The radial slider pick Hue value, the horizontal slider picks Luminosity value but there is no slider for chosing Saturation.
That is very unfortunate omission. I suggest that to add option (property) that will enable choosing any RGB color from RGB scope: It will add one more horizontal slider for Saturation in place of Hex value label. If the hex value label needs to be kept (I do not think it's necessary) in full scope mode it should be in smaller font above new Saturation slider.
It would be also great to have Alpha value slider but I admit that I would not know where to put it without breaking the design.

Thanks for the insight and suggestions @RastislavMirek, much appreciated! Apologies for a delayed reply on this. I have heard this request a few times now and agree, this should be included in the project. I am currently revisiting a UI rewrite with a better component style and multiple style support for both the existing HSL model and one which supports a full-color spectrum.
I will be addressing this in my rewrite of the project and styling. Any suggestions from your usage would be valuable either in this ticket or a new one with the EVOLUTION REQUEST label.

These two comments confuse me.
HSL is NOT the same as HSV/B.
In the code, there are numerous references to Hue, Saturation and Brightness (HSV/B color scheme), and none to HSL (luminescence).
Please clarify the model in the code and the two comments above.

@vicwinkler Sorry for the typo, you are correct, it should read "HSB" and not HSL.


feat: Cluster role aggregation

Status
READY
Migrations
NO
Description
Adds the cluster role aggregations yaml files required to add secretdefinitions actions to admin,  view and edit native Kubernetes cluster roles.
Type of change

[x] New feature (non-breaking change which adds functionality)
[x] This change requires a documentation update

How Has This Been Tested?
Check admin cluster role before and after applying the admin role aggregation:
❯ kubectl describe clusterrole admin | grep secrets-manager.tuenti.io

❯ kubectl apply -f config/rbac/secretdefinitions_admin_clusterrole_aggregation.yaml
clusterrole.rbac.authorization.k8s.io/aggregate-secretdefinitions-admin-edit created

❯ kubectl describe clusterrole admin | grep secrets-manager.tuenti.io
  secretdefinitions.secrets-manager.tuenti.io                []                 []                                      [get list watch create update patch delete deletecollection]

Check view cluster role before and after applying the admin role aggregation:
❯ kubectl describe clusterrole view | grep secrets-manager.tuenti.io

❯ kubectl apply -f config/rbac/secretdefinitions_view_clusterrole_aggregation.yaml
clusterrole.rbac.authorization.k8s.io/aggregate-secretdefinitions-view created

❯ kubectl describe clusterrole view | grep secrets-manager.tuenti.io
  secretdefinitions.secrets-manager.tuenti.io               []                 []                                      [get list watch]

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] ~I have added tests that prove my fix is effective or that my feature works~
[ ] ~New and existing unit tests pass locally with my changes~
[x] Any dependent changes have been merged and published in downstream modules

Codecov Report

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

@@           Coverage Diff           @@
##           master      #69   +/-   ##
=======================================
  Coverage   85.25%   85.25%
=======================================
  Files           8        8
  Lines         434      434
=======================================
  Hits          370      370
  Misses         47       47
  Partials       17       17

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 278cd7a...92612b8. Read the comment docs.


Change .text class to apply default text styles to all descendant elements

The .text class will now apply the following styles to the element having the .text class and all descendants:
line-height: 1.5em;
white-space: normal;
text-decoration: none;

Alternative styles can be applied to individual elements, such as .text-underline.

Completed.


feat(dpp-verification): moving current draft from documentation from docs/verification

Why we create this PR?
Move the draft documentation from the verification concept
What we want to achieve with this PR?
Work on this ticket: #264
What is new?

Initial draft from documentation
CC-BY-4.0 License

I will continue my work in Tractus-X since I am a committer


[BYOC-DNNL] Bug Fix

This PR fixes some bugs exist in BYOC-DNNL.

add checks for bias pattern and sum pattern, to ensure the catched pattern obeys the pre-defined order.
fix return error of pad_pool legalize.
add checks for op pooling. Only ceil_mode=False is supported. Currently, onednn pooling primitive has no attrs to support ceil_mode=True.

hi @masahi , It seems have no checks are failed. Could you please help review this PR?

@tvm-bot rerun


Fabo/22 hook history up

They work!

@nylira Is the styling in mobile mode desired like this?

this is very exciting. not sure if that was intended but it can be improved.
closes #22


Performance issue: adding intermediate waypoints

Hi folks - thanks for providing the updated responsive maps client for ORS.
This issue report is with regard to performance and usability while adding intermediate waypoints to an existing A-to-B route.
To reproduce the issue, compare route requests using the classic maps interface and the responsive maps interface, for a route from Berlin to Hamburg by bicycle:

(classic) https://classic-maps.openrouteservice.org/directions?n1=53.044516&n2=11.708679&n3=8&a=52.52045,13.40732,53.576158,10.007046&b=1a&c=0&k1=en-US&k2=kma=52.52045,13.40732,53.576158,10.007046&b=0&c=0&k1=en-US&k2=km
(responsive) https://maps.openrouteservice.org/#/directions/Berlin,Germany/Hamburg,Germany/data/55,130,32,198,15,97,4,224,38,9,96,59,2,24,5,192,166,6,113,0,184,64,70,1,152,3,160,5,128,6,1,217,8,9,128,26,1,88,110,41,243,72,96,110,125,206,60,170,216,6,200,196,131,74,3,240,48,1,194,14,136,8,0,29,83,192,136,155,14,80,243,160,64,6,111,0,13,186,92,224,2,121,131,212,128,57,128,90,104,232,44,5,115,220,154,12,144,155,211,111,75,113,24,67,121,110,64,2,218,7,162,34,195,162,194,184,1,121,66,6,227,226,72,2,250,37,0,0

With the route displayed, add an intermediate location; for example, Orianienburg, DE.
In the classic maps interface, the location autosuggestion interface accepts and responds to keypresses effectively, and the user experience remains fluid.
In the responsive maps interface, the page becomes slow and unresponsive when the user begins typing into the location field.

Hey.
Thanks for pointing out this issue. It was just fixed via https://github.com/GIScience/ors-map-client/commit/c22d04a894533e93e1078e2bb55d868da49bd171 , https://github.com/GIScience/ors-map-client/commit/c22d04a894533e93e1078e2bb55d868da49bd171 and https://github.com/GIScience/ors-map-client/commit/41bca1c26307c752ee50507e2481e51049c6604b

Thank you @amoncaldas for the quick response and fix! - there are still one or two moments during which user input feels blocked, but it is much better than it was previously.
Could I ask what the core of the fix was, out of interest?  (I see some potential typo fixes, perhaps relating to data format selection between client and server)

Hey @jayaddison
Instead of creating each input via hard code the ORS maps client uses a declaration strategy https://github.com/GIScience/ors-map-client/blob/develop/src/config-examples/ors-map-filters-example.js. With this approach the application is more flexible, allowing changing the filters easily. To make this work, a filters engine was created and this engine is responsible for rendering and keeping them updated, considering the filters relations and dependencies, reacting the to input changes. One of the files related to this engine is the https://github.com/GIScience/ors-map-client/blob/develop/src/support/dependency-service.js.
Recently I made some changes in the dependency-service.js and it probably affected the way the filters are updated.
There is a Model that is used to transfer data across components, called MapViewData https://github.com/GIScience/ors-map-client/blob/develop/src/models/map-view-data.js. Some components receive this MapViewData as parameter and watch for changes. This section of the readme explains a bit of the app flow: https://github.com/GIScience/ors-map-client#app-flow-overview.
The thing is that two components were watching the whole MapViewData object, when they should react only to changes in some specific properties. Because of this, each input change (keyup event) was triggering an update to several components. To fix this, the watch was set only to specific model properties and also the events are now treated with a debounce strategy https://stephencharlesweiss.com/javascript-debounce-throttle-function/.


Add page for Service not live based on config flag

This is not the Service Maintenance functionality based on a call to the API.  Rather it is a block to any use until the service is 'live and available to customers'

Config PR's:
https://github.com/companieshouse/docker-chs-development/pull/1266
IDVA3-1853

CI: No security warnings found

CI: No security warnings found


Timeout on ConnId connectors connection

From<EMAIL_ADDRESS>on January 26, 2011 14:52:28
Implement a timeout on web service identity connector connection.
Original issue: http://code.google.com/p/syncope/issues/detail?id=79

From chicchiricco on April 11, 2011 03:37:22
Owner: ---
Labels: Milestone-Release-2011Q2

From chicchiricco on April 12, 2011 09:29:49
Labels: -Milestone-Release-2011Q2

From chicchiricco on May 16, 2011 02:28:55
Summary: Timeout on ConnId connectors connection
Labels: Milestone-Release-201107

From<EMAIL_ADDRESS>on June 23, 2011 05:31:58
I'm going to add two property to the connector configuration:

connectionTimeout
receiveTimeout

These two timeouts must be specified in seconds.
Status: Started
Owner<EMAIL_ADDRESS>

From<EMAIL_ADDRESS>on June 23, 2011 05:35:42
Status: Fixed


Add _.isNodeList, support for NodeLists in _.difference

Closes #2156

Since a NodeList is a host object, and Underscore isn't for host objects, I'm just going to close this

@jdalton: I also noted that you could just _.toArray() a NodeList before using it with an array or collection function in https://github.com/jashkenas/underscore/issues/2156#issuecomment-101385472, which was the inspiration for this


[Event Request] table 39 "Purchase Line" - OnBeforeValidateQuantityBase

Can you add event OnBeforeValidateQuantityBase?
field(5415; "Quantity (Base)"; Decimal)
        {
            Caption = 'Quantity (Base)';
            DecimalPlaces = 0 : 5;

            trigger OnValidate()
            // >>>>>>>>>>>>>>
            var
                IsHandled: boolean;
            // <<<<<<<<<<<<<<
            begin
                // >>>>>>>>>>>>>>
                IsHandled := false;
                OnBeforeValidateQuantityBase(Rec, xRec, CurrFieldNo, IsHandled);
                if IsHandled then
                    exit;
                // <<<<<<<<<<<<<<
                TestField("Qty. per Unit of Measure", 1);
                if "Quantity (Base)" <> xRec."Quantity (Base)" then

    [IntegrationEvent(false, false)]
    local procedure OnBeforeValidateQuantityBase(var PurchaseLine: Record "Purchase Line"; xPurchaseLine: Record "Purchase Line"; CallingFieldNo: Integer; var IsHandled: Boolean)
    begin
    end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Cannot apply background color to TextInput

Environment
npx react-native info
info Fetching system and libraries information...
System:
OS: macOS 10.15.4
CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
Memory: 1.44 GB / 32.00 GB
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 14.2.0 - ~/.volta/tools/image/node/14.2.0/6.14.4/bin/node
Yarn: 1.22.0 - ~/.volta/tools/image/yarn/1.22.0/bin/yarn
npm: 6.14.4 - ~/.volta/tools/image/node/14.2.0/6.14.4/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.9.1 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 13.5, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
Android SDK:
API Levels: 27, 28, 29
Build Tools: 27.0.3, 28.0.3, 29.0.0
System Images: android-28 | Google Play Intel x86 Atom, android-R | Google APIs Intel x86 Atom
Android NDK: Not Found
IDEs:
Android Studio: 3.4 AI-183.6<IP_ADDRESS>22156
Xcode: 11.5/11E608c - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_212 - /usr/bin/javac
Python: 2.7.16 - /usr/bin/python
npmPackages:
@react-native-community/cli: Not Found
react: 16.11.0 => 16.11.0
react-native: 0.62.2 => 0.62.2
npmGlobalPackages:
react-native: Not Found
Issue
Steps to Reproduce
Try to set background on  component, component will still have white background in the app

<TextInput style={{backgroundColor: 'red}}/>

Thanks for reporting.   @semek also reported the issue when implementing the pull request #402 .

Can we add the FB partner label? Is any progress being made here?


resourceapply: prevent ApplyConfigMapImproved from triggering unnecessary updates

on ConfigMaps where service-ca-operator injects Service CA.
Needed for the https://github.com/openshift/cluster-monitoring-operator/pull/2226 effort where we're trying to migrate towards resourceapply's intelligent utils (I haven't finished estimating the overhead of that intelligence on CMO's CPU and memory) to reduce UPDATE requests and avoid conflicts with the other controllers that we share the resources with.

/assign @deads2k

/lgtm
/approve

/refresh

maybe
/jira refresh
will trigger it

maybe
/lgtm
I don't know if the labels will be reset if I close and re-open

Well let's give it a try

The first one was missed, I think we'll need another lgtm here @deads2k
Thanks.

/lgtm


fix: return status 500 when using validator 'form'

When using validator('form', ...) hono is returning a 500 status when receiving a POST request with a JSON in request body, instead of a bad request 400, .
This is happenning due to a unhandled error in an
underlying library (@miniflare).
https://github.com/cloudflare/miniflare/pull/711
The code changes in this PR are responsible to prepare the code to handle possible TypeError that can be thrown in the future, by the lib doing the FormData parsing, as per, https://fetch.spec.whatwg.org/#dom-body-formdata.
This PR should wait for bugfix on @miniflare.
Author should do the followings, if applicable

[x] Add tests
[x] Run tests (don't have deno to perform yarn test:all
[x] yarn denoify to generate files for Deno

I see...
For sure, I will wait for #1558 to be merged to proceed with tests on my side.

Hi @b-marques
I've merged #1558 into the main. Try it.

Hi @yusukebe , it stills relevant.
The Node.js native Web APIs can also throw Errors that hono is not handling.

@b-marques

The Node.js native Web APIs can also throw Errors that hono is not handling.

The test on my local and CI passed, is there still a problem?

I would like also to mention about the possibility to add a check for the 'appliaction/json' header in the validator.

That's right. If this PR is merged, can you create another one?

@yusukebe

The test on my local and CI passed, is there still a problem?

With the changes in this PR, it's not going to be a problem anymore. But without those changes, we still receive a 500 status, when we should receive a 400 Bad request.

That's right. If this PR is merged, can you create another one?
For sure.

@yusukebe done (:

Hi @b-marques!
Perfect! I'll merge it now. Thanks for the contribution.


Fix next page link generation in IronicSerialiser

Coverage increased (+0.0005%) to 99.739% when pulling 8f87d0cb733275be93c5138526fe7599f6ac0c0d on CyberiaResurrection:FixNextPageLinkGeneration into b544bfeb6ebd01b40a243702b7cd25fba81934c4 on Algo-Web:master.

Coverage increased (+0.0005%) to 99.739% when pulling 8f87d0cb733275be93c5138526fe7599f6ac0c0d on CyberiaResurrection:FixNextPageLinkGeneration into b544bfeb6ebd01b40a243702b7cd25fba81934c4 on Algo-Web:master.


Off-line Model reports port to Python

Is your feature request related to a problem?
Port existing off-line model reports from R to Python
Describe the solution you'd like
Quarto based very clean solution
Describe alternatives you've considered
See R version for starters
Additional context
No response

Done. We can improve on them but the reports are working now and can be run off-line.


Virtual tables support

I'm looking for a way to implement custom "table-valued" function.
From what I've got here: http://sqlite.org/vtab.html I can use virtual tables mechanism, but I cannot find C# counter parts for this API. Is it supported or planned to be supported?

And yet another reason against EFcore.

@springy76 This is an odd place for that comment...

@springy76 Could you clarify your comment?  I'm not sure I understand exactly what you're saying.

Maybe you should read this issue for better understanding.

@springy76 Ah, sorry I asked. Never mind. Have a nice day.

Closing old/stale issue.


feat(transformer): support react fast refresh

close: #3943
Further improvements
There is a double visit here. We need to collect all react hooks calling in Function and ArrowFunctionExpression. If we want to remove this implementation, we may wait for #4188.
https://github.com/oxc-project/oxc/blob/d797e595d286c613848b773c256bd43124ad1981/crates/oxc_transformer/src/react/refresh.rs#L744-L947
Tests
All tests copy from https://github.com/facebook/react/blob/main/packages/react-refresh/src/tests/ReactFresh-test.js
There are still 4 tests that have not been passed
1. refresh/can-handle-implicit-arrow-returns/input.jsx
Related to #4767. transform correct, just output doesn't match the expected output
2. refresh/registers-identifiers-used-in-jsx-at-definition-site/input.jsx
3. refresh/registers-identifiers-used-in-react-create-element-at-definition-site/input.jsx
Blocked by #4746
4. refresh/supports-typescript-namespace-syntax/input.tsx
oxc transforms ts to js first, so probably we can ignore this case. If we really want to pass this test, we also need to turn off TypeScript plugin.
What's next?
Options:

Support transform refresh_reg and refresh_sig options to MemberExpression. Currently import.meta.xxxx still is an Identifier
Support emit_full_signatures option

Other
NAPI, testing in monitor-oxc, etc..

#4587  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @Dunqing and the rest of your teammates on  Graphite

Is this ready for review? Or blocked on #4746 and #4767?

Is this ready for review? Or blocked on #4746 and #4767?

Ready for review. Can be merged before fixing these.

Wider point: I think we need a better naming convention to make it easier to recognise which functions are "entry points" from the visitor, and which are functions which are only called by those entry points. I think if we call the entry points transform_* and transform_on_exit, we should use different names for the internal methods. When everything is called transform, it makes it quite hard to follow the logic.

Yes! I agree, I'll try to rename these methods

@overlookmotel Please take a look again, once this is merged, I will start to refactor it according to #4881 and try to resolve the remaining tests


Stronger revision coupling with immutable tags for single-node setup

This change is

Reviewed 5 of 5 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Optimize param validation through get_param(...) -> Option<Out>

Objective
Fixes #15505 through a new solution which came up during development.
It changes some of the original assumptions about checking all system params before running the systems,
which isn't correct for combinator systems (they can invalidate their own sub-systems making the idea non-viable).
Alternative to #15571
Solution
get_param returns an Option, which makes run_unsafe also return an option.
validate_param now defaults to get_param().is_some() and we overwrite it for non-send and grouped params to behave correctly.
The original assumption about validating all params before running a system is no longer valid.
Combinator system can invalidate it's own params in a case of:
a.pipe(b).pipe(a) where b removes required params for a.
Because of that, we will no longer validate all params of a system, but only those of the first one.
This allows us to prevent spawning tasks if we cannot start running a system and reduced access overhead, because we only check a single subsystem's params immediately followed by getting them (albeit in another thread).
Testing
Ran parts of CI locally,
Ran fallible_params example.

The steps taken to get here look as following:

We question whether 1.2 (from #15505) is possible to implement. While lifetimes and type erasure can be worked around, we can't fetch all system parameters, because in case of compound systems (e.g. a.pipe(b)), they can have exclusive parameters. While this isn't technically UB, since the parameters will only be used in mutually exclusive contexts, this will possibly lead to multiple mutable/immutable references to the same data existing at once.
To get to 1.2, we need proposition 1.1 anyways. It gives better internal ergonomics than current solution. Because it's only applied when running systems, we don't save on tasks in multithreaded executors nor do we retain the original behavior of running only entire compound systems in executors (e.g. a.pipe(b) could run a but stop at b since params were "checked" lazily).
We can fix that by reintroducing validate_param, but default it's implementation as get_param().is_some(). We expect this implementation to be optimized by compiler. Because default implementation breaks for non-send resources, we overwrite it as well as compound resources (SystemParam tuples, ParamSet, DynSystemParam) to rely on their sub-params implementations.

To sum it up, without going the additional step into proposition 1.2 we simply cannot reduce double checks in executors.
The updated idea can take 2 possible forms:
a) Systems and SystemParams get_param() will return optional resource and multiple conflicting references will exist (this may tip miri off)
b) We separate it into validate_param() -> Option<Accessor> which can validate the access without constructing the references and get_param(Accessor) which will construct the reference.

Marking it as ready for review since code is basically done, just needs benchmarks

Note for @alice-i-cecile, since I've only made groundwork towards 1.2, but not implemented it, this doesn't have a significant impact on performance and we can delay it.
I've had trouble finding all the broken code, but now that I've done it once it should go much quicker

I found an edge case that asks for change in requirements:
https://discord.com/channels/691052431525675048/749335865876021248/1292140022375514145
I'm re-drafting this until I implement it

Core changes are done, just need to update documentation

Before (main):
param/combinator_system/8_piped_systems
                        time:   [1.6549 µs 1.6689 µs 1.6852 µs]
                        change: [-13.250% -10.268% -7.3630%] (p = 0.00 < 0.05)
                        Performance has improved.
Found 2 outliers among 100 measurements (2.00%)
  1 (1.00%) high mild
  1 (1.00%) high severe

param/combinator_system/8_dyn_params_system
                        time:   [95.545 ns 95.841 ns 96.172 ns]
                        change: [-2.9593% -1.3542% -0.0548%] (p = 0.06 > 0.05)
                        No change in performance detected.
Found 5 outliers among 100 measurements (5.00%)
  3 (3.00%) high mild
  2 (2.00%) high severe

param/combinator_system/8_variant_param_set_system
                        time:   [91.596 ns 91.962 ns 92.365 ns]
                        change: [+0.1790% +1.0297% +1.8957%] (p = 0.02 < 0.05)
                        Change within noise threshold.
Found 9 outliers among 100 measurements (9.00%)
  6 (6.00%) high mild
  3 (3.00%) high severe

After:
param/combinator_system/8_piped_systems
                        time:   [1.6590 µs 1.6863 µs 1.7149 µs]
                        change: [-3.5415% -1.5778% +0.5378%] (p = 0.15 > 0.05)
                        No change in performance detected.
Found 4 outliers among 100 measurements (4.00%)
  4 (4.00%) high mild

param/combinator_system/8_dyn_params_system
                        time:   [93.629 ns 94.065 ns 94.551 ns]
                        change: [-2.3199% -1.2717% -0.1379%] (p = 0.01 < 0.05)
                        Change within noise threshold.
Found 4 outliers among 100 measurements (4.00%)
  2 (2.00%) high mild
  2 (2.00%) high severe

param/combinator_system/8_variant_param_set_system
                        time:   [91.913 ns 92.361 ns 92.842 ns]
                        change: [+0.0434% +0.8115% +1.6509%] (p = 0.05 < 0.05)
                        Change within noise threshold.
Found 4 outliers among 100 measurements (4.00%)
  3 (3.00%) high mild
  1 (1.00%) high severe

There is a lot of noise in the measurements, but I at the very least I don't think this is a regression


Add FillCircularContainer

Fixes #831

It should be called FilledCircle or just Circle with FIllColour defaulting to transparentblack.

I don't think FillColour/FillColourInfo is needed - Ccan just use the FillCircularContainer's Colour/ColourInfo properties for that. If colour blending is needed, I'd rather the user wraps FillCircularContainer inside another container to do so.

If it changes to FillCircle, should it be in osu.Framework.Graphics.Sprites?
Not very sure because it's probably going to be used like a sprite but it's also a Container.

I'd honestly make a new namespace called Shapes and move Box and Circle to it

Should Triangle and EquilateralTriangle be moved to Shapes namespace together with this PR?

if they draw stuff sure

Please write PR titles better
"Move basic drawable shapes to their own namespace"


DB getter

Could you please add a getter method to php-models/src/Model.php? JetBrains doesn't recognise the static class field.

getter method for what?


Angular 5 app breaks when using XLSX to export table to .xlsx file in prod build.

I'm trying to use xlsx package for exporting files from table to .xlsx file. It works on normal build but breaks on prod build in Angular 5.
            let sheetName;
	var tbl = document.getElementById(this.activeTab);
		/* generate worksheet */
	let ws: XLSX.WorkSheet = XLSX.utils.table_to_sheet(tbl, {raw:true});

	ws['!cols'] = [
		{wpx: 200}, // "characters"
		{wpx: 200}, // "pixels"
		{wpx: 200},
		{hidden: true} // hide column
	];

		/* generate workbook and add the worksheet */
	const wb: XLSX.WorkBook = XLSX.utils.book_new();
	XLSX.utils.book_append_sheet(wb, ws, sheetName);

		/* save to file */
	XLSX.writeFile(wb, this.fileName, {type: "base64"});`

Thanks

What is the error message?  Can you share a sample project?

The new version 0.13 also breaks my app. Needed to downgrade to 0.12.13.
I'm usings an external library, that adds a function to XLSX.utils. This library is packed using rollup. My app is packed using webpack. Looks like there is an issue with import default.

@SeregPie @rakeshrnjn 0.13.0 now call the AMD define if available, so there may be some issue pertaining to
I can't reproduce in angular 5 using the demo:
$ git clone https://github.com/SheetJS/js-xlsx/
$ cd js-xlsx/demos/angular2
$ npm install
$ npm install<EMAIL_ADDRESS>$ npm start

AFAICT that build structure does not use rollup.
The rollup demo appears to work too.  The following commands make a node bundle and a browser bundle using rollup:
$ cd js-xlsx/demos/angular2
$ make init
$ npm install rollup-plugin-node-resolve rollup-plugin-commonjs
$ npm install<EMAIL_ADDRESS>$ make
$ python -mSimpleHTTPServer

If you can share a small project, we can take a further look.

@SheetJSDev use this demo to reproduce this issue.
It works fine when we serve using ng serve. but if we build in prod mode and serve the bundle file on any server then <app-root></app-root> tag is empty.

The demo works for me:
$ git clone https://github.com/rakeshrnjn/xlsx-js
$ cd xlsx-js/
$ npm install
$ npm run build
$ cd dist
$ python -mSimpleHTTPServer

Are there any errors in the console?  You have to serve the generated files from the dist directory.

@SheetJSDev  Thanks for the replies. There are no errors in console, But we are still facing the issue with prod build. The problem is when we create the dev build and serve it on local server like xampp/wampp it works fine.
When we create the prod build with the flag --prod and then deploy the files on some web server then the  tag becomes empty which indicates that our angular app was not getting bootstrapped. Though all the bundled files are present in the JSP which is served by the webserver, still the app does not get bootstrap.
This only happens if we use the XLSX methods/properties. If we just import and don't use any methods/properties it works fine.
Any suggestions... why the app is not getting bootstrapped?

@rakeshrnjn the build command in the package.json is running ng build --prod so if there were an obvious issue it would have shown up in the example.  Are you using a nonstandard angular configuration?  How are you reproducing the error using the linked demo?

@SheetJSDev We deploy our bundled files on a webserver from where these files are accessed by embedded tomcat server.
what do you mean by nonstandard angular configuration?
whatever we have in the index.html file is served in jsp.
If we serve this demo on my local xampp server, it works fine.

Hey any updates on this issue? I'm currently facing the same issue.
My build artifact on Angular 9 unable to show data as intended.
Issue link -> https://github.com/SheetJS/sheetjs/issues/2357

Since this works with the standard new ng project setups, we can only assume the issue lies with how Angular or your specific projects work with the library in prod mode.  This is unfortunately the type of issue that would require someone well-versed in Angular to diagnose.


Large memory transfer support

This patch adds support for the MEM-AP Large Data Extension that enables 64-, 128-, and/or 256-bit transfers, if supported by the MEM-AP on which the transfers is performed. The supported_transfer_sizes property on the MEM_AP class will tell you what bit sizes are supported. This is primarily intended for testing multicore A+M platforms and other situations, as well as preparing for future Cortex-A support. Few, if any, Cortex-M devices support large memory transfers.
MemoryInterfaces gains read64() and write64() methods.
Similarly, there are new read64 and write64 commands.
Included in this patch is a refactoring of the MEM_AP.init() method to be slightly more efficient.

/morph test

/morph test


Error no -4048 after logging in the browser

After providing the command:
destreamer -i "https://web.microsoftstream.com/video/xxx:=".
The browser prompted for login and after logging in, I get the following error:
[Error: EPERM: operation not permitted, unlink 'C:\Users\CHADLE~1\AppData\Local\Temp\puppeteer_dev_chrome_profile-F3DhSs\CrashpadMetrics-active.pma'] {
  errno: -4048,
  code: 'EPERM',
  syscall: 'unlink',
  path: 'C:\\Users\\CHADLE~1\\AppData\\Local\\Temp\\puppeteer_dev_chrome_profile-F3DhSs\\CrashpadMetrics-active.pma'
}

This issue appears to be resolved after providing a direct link to the video instead of the channel.


git history not very linear; why not use git pull --rebaseinstead of git pull?

just a common best practice that makes life a bit easier down the line

There weren't many contributions, so I haven't payed attention that much to this, but OK. I agree.


Property setAttribute does not exist on type Node & Record<"target", unknown>

I've been using isomorphic-dompurify package for a few months now. But when I was trying to do a prod deployment yesterday the pipeline build failed with the error

Property setAttribute does not exist on type Node & Record<"target", unknown>

Upon nuking and reinstalling node_modules and trying to build the application locally I encountered the same error.

isomorphic-dompurify version: 2.15.0 (tried with the v2.16.0 as well which resulted in the same error)
Node version: 20.18.0
I'm unable to understand why this started happening suddenly when no changes related to the package were made.

Thanks for reporting @prajwalkulkarni! I've just removed the third-party types, so now Isomorphic Dompurify relies on the Dompurify native types. Please test with the new 2.17.0 version https://github.com/kkomelin/isomorphic-dompurify/releases/tag/v2.17.0

Thank you for the update. Will test with the latest version.
Additionally, I wanted to share a few observations:

The above error was fixed when I updated the if condition to:
if(node instanceof Element && node.hasAttribute('target'))

Alternatively, when I reverted the package-lock.json of my project without changing the version of the package or any if conditions, that fixed the issue as well. I'm particularly curious about what happened here.

Note: In both the cases I'm using v2.15.0

@prajwalkulkarni Thanks for sharing your observations but I don't think they are related to isomorphic-dompurify itself. It's just a tiny wrapper for dompurify.
Since you have found a solution for your problem, I'm closing this issue for now. Feel free to open another issue for the latest isomorphic-dompurify version if the problem occurs.


fix bugs to run synthesis.py and default test sentences

If you use this modifications, you can run synthesize.py
I just fix a bug that don't load a trained Wavenet model in synthesize time.

I believe it got fixed with latest commits, thanks for your contribution!


[Bug] Herman555/dolphin-2.2.1-AshhLimaRP-Mistral-7B mlc_chat_cli exits without error

🐛 Bug

To Reproduce
Steps to reproduce the behavior:

grab Herman555/dolphin-2.2.1-AshhLimaRP-Mistral-7B-GGUF (safetensors only) from HF
compile without "--use-safetensors" produces this error
compile with "--use-safetensors" seems to work, but then mlc_chat_cli exits without error after "Use model library: ..." is printed.
i've tested the prebuilt mlc_chat_cli, and also debug/release binaries built myself

Environment
windows 11, vulkan
Additional context
i do get these errors when compiling models in Windows: "/concrete_schedule.h:285: ValueError: The block no longer exists in the IRModule",  but vicuna_v1.1 and guanaco models have worked just fine despite them

Hi @0xDEADFED5, thanks for reporting. If the huggingface repository “Herman555/dolphin-2.2.1-AshhLimaRP-Mistral-7B-GGUF” only provides safetensors, then you need to compile with --use-safetensors enabled.
Regarding your description

compile with "--use-safetensors" seems to work, but then mlc_chat_cli exits without error after "Use model library: ..." is printed.

do you mind sharing a bit more about the concrete error messages?

okay, i finally got around to updating this and running in a debugger.  i'm on commit fe4a0fa49d7743e97347ab7094a32a062fc291b6, which is the most recent as of this update.
here's the exception i'm getting:
Exception thrown at 0x00007FFCB4646250 (igvk64.dll) in mlc_chat_cli.exe: 0xC0000005: Access violation reading location 0x0000000000000000.
it's happening at line 61 in mlc-llm\3rdparty\tvm\src\runtime\vulkan\vulkan_buffer.cc
at VULKAN_CALL(vkAllocateMemory(device, &mem_info, nullptr, &memory));
i'm able to successfully run 2 other models in the debugger.  not sure what i'm looking for, but i'll keep blindly debugging around.

@0xDEADFED5 did you manage to get it working on windows?

@Nick-infinity MLC has changed a lot since then and everything has been working for me using the nightly wheels for months now.

sorry i didn't close this before


add revision number to CNP status

Summary of changes:
Add revision number and enforcement status to CNP status.
Add controllers for each cilium network policy that allows to update the
revision number and its enforcement on the endpoints running on each
node.
Output example from different sources (K8S - 172 is not running with
this changes):
$ cilium status --all-controllers
...
  Name                                                Last success   Last error   Count   Message
...
  sync-cnp-policy-status (v2 default/guestbook-web)   4s ago         never        0       no error
...

$ kubectl describe cnp
Name:           guestbook-web
Namespace:      default
API Version:    cilium.io/v2
....
Status:
  Nodes:
	K 8 S - 171:
	  Enforcing:                true
	  Last Updated:             2018-02-21T02:49:53.063373958Z
	  Local Policy Revision:    7
	  Ok:                       true
	K 8 S - 172:
	  Last Updated:     2018-02-20T14:53:51.928648228Z
	  Ok:               true

$ cilium policy get | tail -n 1
Revision: 7

Fixes: #2873
Add node policy revision number to the Cilium Network Policy Status

test-me-please

test-me-please

test-me-please

test-missed-k8s

test-missed-k8s

test-me-please

test-me-please

test-missed-k8s

test-me-please

test-missed-k8s

test-missed-k8s

k8s test failures are not related


[stable/openvpn] no working with Istio 1.6

Describe the bug
stable/openvpn does not work correctly with Istio 1.6, since Istio has changed the ports on which Envoy manages traffic (15001 y 15006).
Version of Helm and Kubernetes:
Helm v2.16.1
Kubernetes v1.14.10-gke.36
Which chart:
stable/openvpn
What happened:
The vpn connects to the cluster of kubernetes, but cannot access any pod or service, it shows an error 503 "upstream connect error or disconnect / reset before headers. Reset reason: connection failure"
What you expected to happen:
Istio 1.6 has changed the ports on which Envoy manages traffic (15001 y 15006).
How to reproduce it (as minimally and precisely as possible):
Install Istio 1.6 with demo profile
Activate istio for the default namespace (kubectl label namespace default istio-injection = enabled)
Install chart stable / openvpn in the default namespace
Try to access a pod through the VPN
Anything else we need to know:
Istio 1.6 has changed the ports on which Envoy manages traffic (15001 y 15006).

Hi @dg-jwmera - thanks for reporting this. I'm not an Istio/Envoy user, but I'd be happy to see a PR if you have an idea of how to address this.

Hi @jasongwartz , I have no idea how to deal with this problem, I tried several things but none worked, so I am asking for help with this problem.

@dg-jwmera no worries. Since I don’t use Istio or Envoy I don’t think I’ll be much help, but I’m happy to leave the issue open in case anyone sees this who wants to chime in.

Help !!


fix: update information about bundle size

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Remove aliased matchers

Summary
Resolve #13164
This PR:

[x] Removes the following matchers aliases:

.toBeCalled();
.toBeCalledTimes();
.toBeCalledWith();
.lastCalledWith();
.nthCalledWith();
.toReturn();
.toReturnTimes();
.toReturnWith();
.lastReturnedWith();
.nthReturnedWith();
.toThrowError();

[x] Updates tests to use native matchers;
[x] Removes the eliminated matchers from docs.

Test plan
New tests were not needed, but current tests were updated to use the preferred matchers.

Thanks!

Perhaps it would make sense to refactor matcher usage in tests already now? I mean, like here: https://github.com/facebook/jest/blob/835a93666a69202de2a0429cd5445cb5f56d2cea/packages/jest-reporters/src/tests/GitHubActionsReporter.test.ts#L84
.toHaveBeenCalledTimes() matcher works already now. Why not to use ESLint rule and to clean this up. I think that it will be very hard to maintain this PR, because one more .toBeCalledTimes() could land with just another PR. Having the ESLint rule turned on, one could prevent this.
This PR could simply remove the actual implementation. The rest could be split to a separate PR and land already now. Or?

@SimenB since you're landing breaking changes, should we get this one landed? I'm happy to do a new PR if needed

Yeah, let's do it!


future plans?

ECMWF has fully moved to the new ecCodes library now (which provides its own python interface), and will only provide limited support for GRIB_API, e.g. tables and urgent bug fixes, but this will end in the autumn of 2018.
What will happen with pygrib after that? Will it be discontinued? Or will you provide a wrapper to the new ecCodes library?

Don't know - haven't had time to look at the ecCodes python interface to see if it makes pygrib redundant.  Have you used it?

I did some simple tests a few releases ago, which where not very encouraging, so I decided to try again with the latest version (release v2.3.0). Main outcome:

it is possible to open a grib file and iterate over its grib messages
it is possible to request key values or inspect available keys
However:
it is not possible to easily get lat-lon  information in an array, I only found a way to get the values for a given point at a time. Ofcourse you could construct this yourself for a regular grid, but for more complicated grids this is not obvious
it is not possible to get values for keys that contain an array of values (like pl or distinctLatitudes). So it is not possible at all to get lat-lon values for reduced Gaussian grids through the python interface.
I did not study the fortran or c interfaces, so maybe there is a workaround through that route, or maybe I did not look hard enough

I get the feeling that this python interfaces in eccodes is still not very mature, so at this point in time it surely is no replacement for pygrib. Maybe a future release will be.

In addition, ecCodes currently does not support python3, which also is a major issue.
For later reference, here is the code I used to test:
`
#!/usr/bin/env python
python3 is not yet supported ...
see for more examples:
https://software.ecmwf.int/wiki/display/ECC/GRIB+examples
import os, sys
eccodes_path = os.path.join('/usr/people/kloedej/temp_ectrans/bufr_stuff',
'eccodes_sources/eccodes-2.3.0-install',
'lib64/python2.7/site-packages')
sys.path.insert(0, eccodes_path)
import eccodes
fn = 'gribfile_20140531.u10s.grib'
keys = ['Ni', 'Nx',
'Nj', 'Ny',
'pl', # does not work ...
'latitudeOfFirstGridPointInDegrees',
'longitudeOfFirstGridPointInDegrees',
'latitudeOfLastGridPointInDegrees',
'longitudeOfLastGridPointInDegrees',
'latitudes', # does not work ...
'distinctLatitudes'] # does not work ...
f = open(fn)
while True:
gid = eccodes.codes_grib_new_from_file(f)
if gid is None:
break
for key in keys:
try:
print '  %s: %s' % (key, eccodes.codes_get(gid, key))
except eccodes.CodesInternalError as err:
print 'Error with key="%s" : %s' % (key, err.msg)
iterid = eccodes.codes_keys_iterator_new(gid, 'ls')
while eccodes.codes_keys_iterator_next(iterid):
        keyname = eccodes.codes_keys_iterator_get_name(iterid)
        keyval = eccodes.codes_get_string(iterid, keyname)
        print "%s = %s" % (keyname, keyval)

values = eccodes.codes_get_values(gid)
print 'type(values) = ', type(values)
print 'values.shape = ', values.shape
print 'values = ', values

# note: the only method that gives lat,lon values seems to
# be eccodes.grib_iterator_next, but this does only provide lat, lon for
# a single point, not an array ....

# this works:
v = eccodes.codes_get_array(gid, "values")
print('v=', v)

# but this does not work
#lat = eccodes.codes_get_array(gid, "latitude")
#lon = eccodes.codes_get_array(gid, "longitude")

print 'There are %d values, average is %f, min is %f, max is %f' % (
        eccodes.codes_get_size(gid, 'values'),
        eccodes.codes_get(gid, 'average'),
        eccodes.codes_get(gid, 'min'),
        eccodes.codes_get(gid, 'max')
    )

eccodes.codes_release(gid)
# read just one grib msg for this example
break

f.close()
And here the output I get:

./eccodes_python_test.py
Ni:<PHONE_NUMBER>
Nx:<PHONE_NUMBER>
Nj: 256
Ny: 256
ECCODES ERROR   :   wrong size (1) for pl it contains 256 values
Error with key="pl" : Passed array is too small
latitudeOfFirstGridPointInDegrees: 89.462
longitudeOfFirstGridPointInDegrees: 0.0
latitudeOfLastGridPointInDegrees: -89.462
longitudeOfLastGridPointInDegrees: 359.296
Error with key="latitudes" : Passed array is too small
Error with key="distinctLatitudes" : Passed array is too small
edition = 1
centre = ecmf
typeOfLevel = surface
level = 0
dataDate = 20140530
stepRange = 12
dataType = fc
shortName = u10n
packingType = grid_simple
gridType = reduced_gg
type(values) =  <type 'numpy.ndarray'>
values.shape =  (88838,)
values =  [-2.68859863 -3.38586426 -4.0177002  ..., -5.44543457 -4.82141113
-3.74328613]
('v=', array([-2.68859863, -3.38586426, -4.0177002 , ..., -5.44543457,
-4.82141113, -3.74328613]))
There are 88838 values, average is -0.597574, min is -31.595825, max is 24.356323

`

OK, thanks for that.  According to the web page, ecCodes is backwards compatible with grib_api, so pygrib should build against it with just minor mods to setup.py.  I'll see if I can create a pull request for this in the next week or so.

A small addition: after discussing the issue with an expert at ECMWF it seems I overlooked some functionality. Getting an array of values from a key is possible afteral. You could use some code like this:
keysize = eccodes.codes_get_size(gid, key)
if keysize == 1:
    # this gives you an int or a float or a string
    scalar_value = eccodes.codes_get(gid, key)
else:
    # this gives you a numpy.ndarray
    array_of_values = eccodes.codes_get_array(gid, key)

or simply use:
scalar_or_array = eccodes.codes_get_array(gid, key)

which always gives you a numpy.ndarray of 1 or more elements (except maybe for string values, but I did not test that)

ECMWF also informed me that they are working on support for python3, but they could not give a date yet.

@jswhit
Did you already have an opportunity to look into the eccodes interfacing?

eccodes works now, just use setup.cfg and change library name from grib_api to eccodes (last line in setup.cfg.template)

thanks.

just tested this and I can confirm that pygrib builds and runs fine with eccodes on Fedora 28, both with python2 and python3.


On Open Source and Chinese Translation

Thank you very much for the detailed and invaluable information on anal sex.  We have come across your article and are interested in translating it into Chinese, in order to include it in our wiki, which adheres to the CC-4.0 BY-SA license. We would like to inquire about your requirements regarding the open-source license. Would it be possible for us to translate the article and include it in our knowledge base with proper attribution to you? Additionally, would it be acceptable to submit a Chinese version to this repository, allowing more people to access this valuable document? If you agree, it would be our honor.

Sorry for the late reply!
Yes, you can use this guide in any way you wish. I don't require you do cite me as source or anything else for that matter. You can translate it, rewrite it or change it in any way you want.
As for licensing, this is quite difficult since I am not a laywer, but I added the most unrestrictive license I know, but in reality anyone can use anything.


Doesn't work at all

The only command working is "install". I downloaded dbin 5 minutes ago so I think the version is recent enough.
 gdr  ~  .local/bin/dbin list                                                                                 127
Error listing binaries: failed to fetch metadata from https://raw.githubusercontent.com/xplshn/dbin/master/misc/cmd/modMetadata/Toolpacks.dbin_x86_64_Linux.json: error decoding from https://raw.githubusercontent.com/xplshn/dbin/master/misc/cmd/modMetadata/Toolpacks.dbin_x86_64_Linux.json: json: cannot unmarshal number into Go value of type []struct { Name string "json:\"name\"" }
 gdr  ~  .local/bin/dbin info jq                                                                                 1
error: failed to fetch and decode binary information from https://raw.githubusercontent.com/xplshn/dbin/master/misc/cmd/modMetadata/Toolpacks.dbin_x86_64_Linux.json: error decoding from https://raw.githubusercontent.com/xplshn/dbin/master/misc/cmd/modMetadata/Toolpacks.dbin_x86_64_Linux.json: json: cannot unmarshal number into Go value of type []map[string]interface {}

Yeah, @xplshn needs to recompile this, since after https://github.com/xplshn/dbin/pull/10, the metadata files were moved to https://github.com/xplshn/dbin-metadata and those files no longer exist here

Done. I'm deeply sorry for the 10hours downtime.

Running dbin add dbin should work.

@xplshn haha right, unforgivable. Looks like i started testing it at the wrong moment


vedit

Hi, it looks like there are hundreds of files included in this pull request, can you remove all the text and output files and only include changes to the code itself?

Done


Handling error exceptions

Added error exceptions to eventEmitter so that it can be handled accordingly.

Cool! Thanks for your contribution!


add information about odo-users group to README.md

Add information about https://groups.google.com/forum/#!forum/odo-users.
This is one of the places where odo users can ask questions and leave feedback

/assign


feat(corelib): add map to Option

Adds map to OptionTrait for more functional programming features.
moved ok_or to be close to map, regrouping functions by concern (transforming contained values).
adds missing test for ok_or.

This change is

@cairolover Maybe we should coordinate to not work on the same things cf #6927 #6928 #6930

sure, why not. I was planning on adding commonly used functional programing methods


Fix query for multiple delta fields in case of simple watermark (cont. of #58)

When source.querybased.watermark.type=simple and extract.delta.fields contains a comma separated list of fields (e.g: id, type), one of the initial MySQL query looks like this during the job initialization:
SELECT max(COALESCE(id,type)) FROM test  where  (id,type >= 477 and id,type <= 544);
The query syntax seems to be invalid which leads to the following error:
java.sql.SQLException: Operand should contain 1 column(s)
After checking the generated queries of other watermark types, I suspect that here the fields in the where clause should be coalesced too (e.g: COALESCE(id,type) >=477...etc)
If this is the case (and the where clause is not intended to be a row subquery for instance) then the patch would address this issue.

LGTM. @narasimhareddyv, can you take a look? Thanks!

Looks good.

@liyinan926 @narasimhareddyv Thank you!


Eliminate redundant and underused features

MarkupKit has been in development for over 2 1/2 years now, and a number of features have been added that are either no longer needed or did not add as much value as initially expected. To keep the codebase manageable and reduce the learning curve for adoption, these features should be eliminated:

UIStackView support - not necessary (overlaps with MarkupKit-provided layout views)
LMLayerView - no longer necessary (overlaps with LMAnchorView)
Includes and size class-specific layouts - can be accomplished via other more standard means such as custom view classes and child view controllers
Font tables - does not provide significant value (system-defined text styles are generally sufficient)

That was my original thought, but then I realized that it probably wouldn't do much good. Since markup isn't compiled, any deprecated classes, properties, or methods wouldn't be flagged at build time.
In any case, deprecating a feature in an embedded framework like MarkupKit isn't as critical as it might be in a system framework. Unlike system updates, which are external to the app and thus out of our control, embedded frameworks are included with an app and generally don't need to be updated immediately.
I think the best option would be to provide a migration guide outlining what has changed, and what the suggested alternatives are.

I totally agree these APIs should be removed, but I think people may be caught off guard if breaking changes occur in a minor release. I know I’d be kind of surprised if things stopped working simply by updating to 3.5.

I have historically bumped the minor version number when the only changes were the removal of minor features. However, in this case, a major version update may be justified. Do you think 4.0 would make more sense?

This is done.

Yeah, I would suggest 4.0 too 👍🏽


MongoDB is blocked after shutdown

Hi, I ran into such a problem. This more likely applies to Docker and MongoDB. I use RPi 4 (but this is not particularly important), since the error occurs in Windows too. MongoDB is blocked after power failure of RPi. In docker, MongoDB is cyclically restarted with code (100). Viewing the logs says mongoDB says that a shutdown has occurred, mongoDB is locked by the mongod.lock file. I cure this problem by re-running docker-compose with the uncommented command: mongod --repair, then re-commenting it out, and re-running docker-compose. How to fix it in Windows, I know. Send the --repair command and manually delete the mongo.lock file in the volumes section. How to do this via SSH in docker RPI, I don't know = (
I have found solutions to this problem on the Internet, but I have not been able to reproduce it.
Here's a link:
https://gist.github.com/mtrunkat/203c33347cc96db51a754a45bb902669
Thanks for the help !

Hi @volter50000
I am confused.

I cure this problem by re-running docker-compose with the uncommented command: mongod --repair, then re-commenting it out, and re-running docker-compose.

Looks like you know how to fix.

How to do this via SSH in docker RPI, I don't know = (

Do you mean, you don't know how to edit the docker-compose.rpi.yml file in the SSH?
Try to use vim or nano if this is your question.

Hi. I know how to edit files over SSH.
I already found a solution to fix mongoDB blocking in docker.
I didn't know how to send the -repair command for mogngoDB to docker.
docker run --rm --volumes-from aa24c0a17fa6 apcheamitru/arm32v7-mongo:3.2.20 --repair
Everything turned out to be very simple =))

Oh good. Good to hear you fixed.


[Bullet] Adding a high amount of physics bodies is significantly slower with Bullet compared to GodotPhysics

Godot version: Godot 3.1.1
OS/device including version: Windows 10
Issue description:
When I'm adding 100,000 StaticBodies to the scene, each with CollisionShape, and set on each CollisionShape.disable to true, I have 1 FPS. But when I change to GodotPhysics, I have stable 60 FPS.
Event better, if I use GodotPhysics and set on each CollisionShape.disable to false, I still have 60 FPS (and when using Bullet - 1 FPS).
Steps to reproduce:
Do what I have wrote in Issue description
Here is a little sample project. Camera is not needed
Link

Sample project link is broken.

Weird.... Just select it, copy and paste

Still broken for me. Just drag and drop it here on Github. You don't need an external host.

I was able to reproduce the issue:
Just create an empty GridMap, associate to a non-empty MeshLib, create a script who starts a thread that populate a 1000x1000x1 square.
It is important to use the thread for we can look at slowness runtime.
Run using Bullet, then run using GodotPhysics.

Do you have areas in your scene?

No, there is not a single one area

And Bullet crash app if use multi-thread.
Thread thread = new Tread(Gen);
Gen()
{
CollisionShape.Shape = ArrayMesh.CreateTrimeshShape()
}
Bullet - crash, GodotPhysics - don't crash...

The Bullet integration were 2 times slower than the Godot Physics, when adding bodies. Here: https://github.com/godotengine/godot/pull/39726 I've improved the timing drastically, please test it and let me know.
Thanks for the report!

By the way, Please don't add collision body into from a thread. It's not safe to do.
Consider adding it in batch each frame. (This is true for Godot physics and Bullet physics).

Reopening, because #39726 was reverted in #42639.

This is kind of clickbait bug, the problem is speed of adding bodies, not physics simulation here.

This is kind of clickbait bug, the problem is speed of adding bodies, not physics simulation here.

This is kind of clickbait bug, the problem is speed of adding bodies, not physics simulation here.

Good point, I edited the title to be clearer.

This is kind of clickbait bug, the problem is speed of adding bodies, not physics simulation here.

Good point, I edited the title to be clearer.


Crates.io release

I propose we make v0.2.0 the next release of ssi, with publishing to crates.io. There have been changes since the tagged v0.1.0 which could be considered major. A major release after 0.1.x would be 0.2.0, following the Cargo Book's page on SemVer Compatibility:

Initial development releases starting with "0.y.z" can treat changes in "y" as a major release, and "z" as a minor release. "0.0.z" releases are always major changes.

[ ] Change author to Spruce Systems, Inc. for ssi and other workspace crates. (as in #88)
[ ] Vendor git dependencies (#90)
[ ] Update changelog with changes since v0.1.0
[ ] Update ssi version; publishssi to crates.io
[ ] Add ssi registry version to dependent workspace crates (did-key, vc-test, etc.), alongside their existing path dependency to ssi
[ ] Publish dependent workspace crates to crates.io

v0.2.0 sounds good to me.

Initial release of ssi workspace crates to crates.io is done.


Profile Sync

Issue Description
In userSaga.js the method which syncs the user profile only runs once every hour.
This is an issue in some cases where the user changes a profile attribute and then decides to logout. Depending on the last sync time the user's changes might not be saved in the remote server.
Expected Results
When the user changes any profile attribute the changes should reflect immediately in the remote server.
The sync method should use a column called "lastSynced" in the remote server to decide whether the profile on the local state should be pushed or if the remote server profile should be pulled to overwrite the local state.

App version: 6.2
Platform(s) (iOS, Android, or both?): Both

Success Criteria
Remove one hour interval for syncing
Sync for any attribute changes in the profile object
Sync on app startup
Sync on app login

Removal of the one hour constraint has been completed in: 4eed98d8b526fb4137db19cbf241f60d716f22c8

Verified & deployed in 6.4


how to enable drawing tool

hello i am struggling adding tools to draw and the timframes option anyone can help me ?

See Pro.


Add support for d3 3.5

d3 3.5 was released on Dec 6, 2014:
https://github.com/mbostock/d3/releases/tag/v3.5.0
I've done some basic testing and it appears that d3-tip works with d3 3.5 (tested with 3.5.5).
I'm not 100% sure this is the best way to represent the dependency in bower. Ideally something like >3.4 <=~3.5 would work but that doesn't appear to be correct semver syntax.

I'm fine with locking this directly to 3.5.5. Can you update this PR to do that?

Okay, done!

Curious why this hasn't been merged in yet?
3.5.5 support would be greatly welcomed.

+1 on the 3.5.5 support

Curious why this hasn't been merged in yet?

Originally? I left a comment above that hasn't been addressed.


the setup of KITTI dataset

Hi, I was trying to reproduce the point clouds for KITTI Odometry dataset with the pre-trained model you provided. I am a bit confused about the setup of KITTI dataset for this.
You mentioned

"To setup KITTI Odometry, download the color images and calibration files from the official website (around 145 GB).

I wonder if this 145 GB is comprised of:
Download odometry data set (color, 65 GB)
Download odometry data set (velodyne laser data, 80 GB)?  at the  official website.
For the task I described, (not to train the model, just to reproduce the point clouds), I have done the following:

download odometry data set, including color (65 GB) and calibration files (1 MB) from the
Replace the calib.txt and times.txt files in color (65 GB) with calib.txt and times.txt files in calibration files (1 MB)
Download the pre-trained final model by running download_model.sh
From the error I got, it seems I still missing  '../../../data/dataset/sequences/00/image_depth_annotated'

Would be really appreciate it if you could let me know how can I got this. If possible, also correct me if I did anything wrong.
Thanks for your help

Hi! How did you solve the problem? I just want to rebuild the cloud (no training required) too.   Do I have to download the entire dataset? Can you share your steps~ Thanks a lot!!


Impossible to generate APIs from the Studio on Windows

It's impossible to generate APIs from the Studio on Windows. It involves the studio hook on the framework (probably the unzip task).

+1

Should be fixed now.


Add formatWeight to formatUtils module

Description
This pull request introduces a new util, formatWeight, to the newly created formatUtils module. This util helps users format the wording of weight values, like appending the SI symbol, handling plural/single values, and having the weight name in short(p) or full(pound) format.
Changes Made

Created a formatUtils module(also updated the README.md file)
Added the formatWeight util in the formatUtils module.
Included test for all possible weight types and options.
Create a formatUtils.md file for documentation.

Usage
A simple example
formatWeight(1, { type: "pound" }) // 1 λίβρα
formatWeight(2, { type: "pound" }) // 1 λίβρες
formatWeight(3, { type: "pound", format: "short" }) // 3 lb
formatWeight(4, { type: "pound", withInternational: true }) // 4 λίβρες (lb)

This change can be the start of introducing a wide range of format utils such as speed, time, energy etc.

Nice! I'll review it later today and merge it!
@raptisj r u interested on another format utility I have in mind?...

Nice! I'll review it later today and merge it!
@raptisj r u interested on another format utility I have in mind?...

Regarding the SonarCloud, what is up with the strictness? I removed "nearly" all tests and it still fails. Am I doing something wrong?
I was thinking about doing a times util(e.g. 1 χρόνο πριν, 2 χρόνια πριν, 13 μήνες πριν) or something like that but sure. If you want just open a discussion with your idea.

Nice! I'll review it later today and merge it!
@raptisj r u interested on another format utility I have in mind?...

@tsevdos Regarding the SonarCloud, what is up with the strictness? I removed "nearly" all tests and it still fails. Am I doing something wrong?
I was thinking about doing a times util(e.g. 1 χρόνο πριν, 2 χρόνια πριν, 13 μήνες πριν) or something like that but sure. If you want just open a discussion with your idea.

I know, I notice that too, but don't bother...
I had the same issue with my tests, but I thought I fixed it... Let's review and merge it thought.


Kubernetes example unstable on newer OS

For some reason, the k8s.yaml example is unstable when running on the newer distribution versions.
Tried with both the default ubuntu impish and fedora 35, but get strange timeouts and crash loops etc.
The only difference I can think of, is the cgroups v2 ?
Running under Ubuntu 20.04 LTS has no issues...

I think that this is an upstream issue (we don't do anything special at all, outside the READMEs)
Would like to get some help with testing, or if there is some extra configuration that k3s is doing ?
https://github.com/lima-vm/lima/blob/master/examples/k3s.yaml
https://github.com/k3s-io/k3s/blob/master/install.sh

The example uses focal for now, but eventually it would be nice to run the same distribution release.
https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/

Could you provide more information of the issue? Do you see any error in the logs of kubelet/containerd/others ?

I think it needs to be run multiple times, so far I am mostly seeing internal timeouts and CrashLoopBackoffs.
I was expecting the unloaded cluster to (eventually) come up every time, but I guess it needs debug logs...

Just thought these looked a bit suspicous: (from kubelet)
manager.go:159] Cannot detect current cgroup on cgroup v2
dynamic_cafile_content.go:155] "Starting controller" name="client-ca-bundle::/etc/kubernetes/pki/ca.crt"
server.go:687] "--cgroups-per-qos enabled, but --cgroup-root was not specified.  defaulting to /"
container_manager_linux.go:280] "Container manager verified user specified cgroup-root exists" cgroupRoot=[]

NAMESPACE     NAME                               READY   STATUS             RESTARTS        AGE
kube-system   coredns-78fcd69978-6nrd5           1/1     Running            1 (3m31s ago)   5m
kube-system   coredns-78fcd69978-xtwhz           1/1     Running            1 (3m32s ago)   5m
kube-system   etcd-lima-k8s                      1/1     Running            2 (3m3s ago)    5m27s
kube-system   kube-apiserver-lima-k8s            1/1     Running            2 (59s ago)     5m32s
kube-system   kube-controller-manager-lima-k8s   1/1     Running            3 (78s ago)     5m27s
kube-system   kube-flannel-ds-8zncc              1/1     Running            0               5m1s
kube-system   kube-proxy-mwfvb                   0/1     CrashLoopBackOff   3 (22s ago)     5m1s
kube-system   kube-scheduler-lima-k8s            0/1     CrashLoopBackOff   3 (41s ago)     5m53s

This is the normal output: (with ubuntu 20.04 LTS)
NAMESPACE     NAME                               READY   STATUS    RESTARTS   AGE
kube-system   coredns-78fcd69978-js4nr           1/1     Running   0          14s
kube-system   coredns-78fcd69978-kfhb5           1/1     Running   0          14s
kube-system   etcd-lima-k8s                      1/1     Running   0          22s
kube-system   kube-apiserver-lima-k8s            1/1     Running   0          21s
kube-system   kube-controller-manager-lima-k8s   1/1     Running   0          22s
kube-system   kube-flannel-ds-qdsqp              1/1     Running   0          14s
kube-system   kube-proxy-dkxtk                   1/1     Running   0          14s
kube-system   kube-scheduler-lima-k8s            1/1     Running   0          28s

CrashLoopBackOff

kubectl --namespace=kube-system describe pod POD may show more detailed error

It says something about Pod sandbox changed, it will be killed and re-created.


no http_proxy is needed in /var/lib/boot2docker/profile ?

originally we need to set http_proxy in /var/lib/boot2docker/profile to download images outside of the company. (Windows 7 env)
Now in docker 1.5, it looks it works well without this configuration.
Just curiously to know, is it new feature in boot2docker or docker ?
Anyway, I like it. Just want to make it clear.

Noticed that IS/IT just enable intelligent/transparent proxy, it is not related with docker.


Fix failed deletes of heat stacks when resources fail

These fixes boil down to two closely related issues:

if we cannot connect to BigIP, we should kill the stack there
On a delete, if exists delete, else done!

Will be handled by PR #9