Bug sending email using Exchange 2007

Hi there,
I'm using this library in production and we have a bunch of users with Exchange 2007. The problem is that when we try to send an email through their Exchange servers we get the following exception:
Caused by: microsoft.exchange.webservices.data.ServiceResponseException: An internal server error occurred. The operation failed.
at microsoft.exchange.webservices.data.ServiceResponse.internalThrowIfNecessary(ServiceResponse.java:268)
at microsoft.exchange.webservices.data.ServiceResponse.throwIfNecessary(ServiceResponse.java:256)
at microsoft.exchange.webservices.data.MultiResponseServiceRequest.execute(MultiResponseServiceRequest.java:155)
at microsoft.exchange.webservices.data.ExchangeService.internalCreateItems(ExchangeService.java:468)
at microsoft.exchange.webservices.data.ExchangeService.createItem(ExchangeService.java:539)
at microsoft.exchange.webservices.data.Item.internalCreate(Item.java:219)
at microsoft.exchange.webservices.data.EmailMessage.internalSend(EmailMessage.java:129)
at microsoft.exchange.webservices.data.EmailMessage.sendAndSaveCopy(EmailMessage.java:290)

I've checked with the users to see if the library was sending the message but failing getting a response but that is not the case. The message is stored in their drafts folder and never gets sent

Are you by any chance running your program using -ae on the commandline? If so, try to run without it and see what happens.

Not sure what you mean, I'm running it on tomcat and as far as I know it doesn't have that option. Is there anything that I can do from code to know that?

you probably are running with -ae, because it looks like it's failing on an
assert.
2015-02-11 20:01 GMT+01:00 Ignacio Andreu<EMAIL_ADDRESS>
Not sure what you mean, I'm running it on tomcat and as far as I know it
doesn't have that option. Is there anything that I can do from code to know
that?
—
Reply to this email directly or view it on GitHub
https://github.com/OfficeDev/ews-java-api/issues/211#issuecomment-73941653
.

Don't think this about the assert. There is no java.lang.AssertionError. The message indicates a server error. Maybe you can enable tracing of the request and the response to see what's happend and have this information attached to this issue.

This is what I get if I enable the logs for HttpClient
2015/02/12 15:24:47:725 PST [DEBUG] HttpMethodDirector - Authenticating with NTLM <any realm>@domain.com:443
2015/02/12 15:24:47:725 PST [DEBUG] HttpMethodParams - Credential charset not configured, using HTTP element charset
2015/02/12 15:24:47:728 PST [DEBUG] header - >> "POST /ews/exchange.asmx HTTP/1.1[\r][\n]"
2015/02/12 15:24:47:728 PST [DEBUG] HttpMethodBase - Adding Host request header
2015/02/12 15:24:47:728 PST [DEBUG] header - >> "Content-type: text/xml; charset=utf-8[\r][\n]"
2015/02/12 15:24:47:728 PST [DEBUG] header - >> "User-Agent: ExchangeServicesClient/<IP_ADDRESS>[\r][\n]"
2015/02/12 15:24:47:728 PST [DEBUG] header - >> "Accept: text/xml[\r][\n]"
2015/02/12 15:24:47:728 PST [DEBUG] header - >> "Keep-Alive: 300[\r][\n]"
2015/02/12 15:24:47:728 PST [DEBUG] header - >> "Connection: Keep-Alive[\r][\n]"
2015/02/12 15:24:47:729 PST [DEBUG] header - >> "Accept-Encoding: gzip,deflate[\r][\n]"
2015/02/12 15:24:47:729 PST [DEBUG] header - >> "Content-Length: 1393[\r][\n]"
2015/02/12 15:24:47:729 PST [DEBUG] header - >> "Authorization: NTLM XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX[\r][\n]"
2015/02/12 15:24:47:729 PST [DEBUG] header - >> "Host: domain.com[\r][\n]"
2015/02/12 15:24:47:729 PST [DEBUG] header - >> "[\r][\n]"
2015/02/12 15:24:47:729 PST [DEBUG] content - >> "<?xml version='1.0' encoding='utf-8'?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"><soap:Header><t:RequestServerVersion Version="Exchange2007" /></soap:Header><soap:Body><m:CreateItem MessageDisposition="SendAndSaveCopy"><m:SavedItemFolderId><t:DistinguishedFolderId Id="sentitems" /></m:SavedItemFolderId><m:Items><t:Message><t:Subject>SUBJECT</t:Subject><t:Body BodyType="HTML">Test</t:Body><t:ExtendedProperty><t:ExtendedFieldURI DistinguishedPropertySetId="InternetHeaders" PropertyName="From" PropertyType="String" /><t:Value>YY@XX.com</t:Value></t:ExtendedProperty><t:ExtendedProperty><t:ExtendedFieldURI DistinguishedPropertySetId="InternetHeaders" PropertyName="To" PropertyType="String" /><t:Value>XX@YY.com</t:Value></t:ExtendedProperty><t:ExtendedProperty><t:ExtendedFieldURI DistinguishedPropertySetId="InternetHeaders" PropertyName="Subject" PropertyType="String" /><t:Value>SUBJECT</t:Value></t:ExtendedProperty><t:ToRecipients><t:Mailbox><t:EmailAddress>XX@YY.com</t:EmailAddress></t:Mailbox></t:ToRecipients></t:Message></m:Items></m:CreateItem></soap:Body></soap:Envelope>"
2015/02/12 15:24:47:729 PST [DEBUG] EntityEnclosingMethod - Request body sent
2015/02/12 15:24:47:829 PST [DEBUG] header - << "HTTP/1.1 200 OK[\r][\n]"
2015/02/12 15:24:47:829 PST [DEBUG] header - << "HTTP/1.1 200 OK[\r][\n]"
2015/02/12 15:24:47:829 PST [DEBUG] header - << "Date: Thu, 12 Feb 2015 23:24:47 GMT[\r][\n]"
2015/02/12 15:24:47:829 PST [DEBUG] header - << "Server: Microsoft-IIS/6.0[\r][\n]"
2015/02/12 15:24:47:829 PST [DEBUG] header - << "X-Powered-By: ASP.NET[\r][\n]"
2015/02/12 15:24:47:829 PST [DEBUG] header - << "X-AspNet-Version: 2.0.50727[\r][\n]"
2015/02/12 15:24:47:829 PST [DEBUG] header - << "Cache-Control: private, max-age=0[\r][\n]"
2015/02/12 15:24:47:829 PST [DEBUG] header - << "Content-Type: text/xml; charset=utf-8[\r][\n]"
2015/02/12 15:24:47:829 PST [DEBUG] header - << "Content-Length: 949[\r][\n]"
2015/02/12 15:24:47:830 PST [DEBUG] header - << "[\r][\n]"
2015/02/12 15:24:47:830 PST [DEBUG] content - << "<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Header><t:ServerVersionInfo MajorVersion="8" MinorVersion="3" MajorBuildNumber="389" MinorBuildNumber="2" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" /></soap:Header><soap:Body><m:CreateItemResponse xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages"><m:ResponseMessages><m:CreateItemResponseMessage ResponseClass="Error"><m:MessageText>An internal server error occurred. The operation failed.</m:MessageText><m:ResponseCode>ErrorInternalServerError</m:ResponseCode><m:DescriptiveLinkKey>0</m:DescriptiveLinkKey><m:Items /></m:CreateItemResponseMessage></m:ResponseMessages></m:CreateItemResponse></soap:Body></soap:Envelope>"
2015/02/12 15:24:47:832 PST [DEBUG] HttpMethodBase - Should NOT close connection in response to directive: Keep-Alive
2015/02/12 15:24:47:832 PST [DEBUG] HttpConnection - Releasing connection back to connection manager.
2015/02/12 15:24:47:832 PST [DEBUG] MultiThreadedHttpConnectionManager - Freeing connection, hostConfig=HostConfiguration[host=https://domain.com]
2015/02/12 15:24:47:832 PST [DEBUG] IdleConnectionHandler - Adding connection at:<PHONE_NUMBER>832
2015/02/12 15:24:47:832 PST [DEBUG] MultiThreadedHttpConnectionManager - Notifying no-one, there are no waiting threads
microsoft.exchange.webservices.data.ServiceResponseException: An internal server error occurred. The operation failed.
    at microsoft.exchange.webservices.data.ServiceResponse.internalThrowIfNecessary(ServiceResponse.java:268)
    at microsoft.exchange.webservices.data.ServiceResponse.throwIfNecessary(ServiceResponse.java:256)
    at microsoft.exchange.webservices.data.MultiResponseServiceRequest.execute(MultiResponseServiceRequest.java:155)
    at microsoft.exchange.webservices.data.ExchangeService.internalCreateItems(ExchangeService.java:468)
    at microsoft.exchange.webservices.data.ExchangeService.createItem(ExchangeService.java:539)
    at microsoft.exchange.webservices.data.Item.internalCreate(Item.java:219)
    at microsoft.exchange.webservices.data.EmailMessage.internalSend(EmailMessage.java:129)
    at microsoft.exchange.webservices.data.EmailMessage.sendAndSaveCopy(EmailMessage.java:290)
    ... 2 more

I think I forgot to mention that we have 500+ exchanges and everything works in 2010 and 2013 but not in 2007 SP1 or 2007 SP2. Also, I've seen this happening in many different 2007 servers not only one so I don't think is a bug in the server but in the library.
I hope you guys can help me

I actually just discovered that the problem is not on your library but in another library that I use as a bridge between your library and JavaMail.
Thank you for taking the time in looking into my issue :)

For anyone (like me) getting a similar error sending email through EWS, what was the underlying problem and solution?

@rjk my problem was that I was including the same to address twice.

Great, thanks!

Your comment indicates that the Problem has not Bern solved so far. Reopened for solving the issue which includes a to  adress more than once.


[Enhancement] Appearance of Navbar for great User Experience

The buttons (hyperlinks) in the nambar should have more gap among them to enhance the first view of the webpage.
Also there should be a heading "HUNGRY HERO" in the navbar next to the 'Hungry Hero' icon to make it more striking.

@Anandsg kindly assign this issue to me, will fix this in no time.

I've setup the repo in my local machine, but after editing the code, changes are not reflecting in web page.
@Anandsg kindly help.
https://github.com/Anandsg/Hungry-hero/assets/99788083/6d3dc754-8606-4a48-a230-724acca0bc46

@Anandsg  I can fix this, also have experience with Tailwind CSS, can you assign me this issue?


Type conversion of X to uint32 missing in fit

If you send X as uint8 you will lose 75% of your features during encoding (which assumes uint32).

This needs a  bit explaination. what we can do is to make an assertion (check) that verify that input to the fit function is of type uint32.
My second question becomes; have we tested uint64?, what is the downside of having that as default, besides not supporting 32 bit systems.

32-bit is hardcoded in the C and CUDA parts. Tried a quick test, introducing 64-bit, but did not get any speed-up and got some crashes, so returned to 32-bit.

All OK. Lets keep 32 bit. I will make a check  that gives error when sending in input other than uint32 :)

Excellent!

This should now be fixed :)


Fake news english 4

Thanks for the PR @MisbahKhan789 !
Few comments to help you along (I'm NOT a maintainer, just offering help to unblock the process) :-

Could you re-run make style and fix the errors related to code quality specific to your dataset in the datasets/fake_news_english folder?
(These seem to show errors that need manual fixes on running flake8 datasets/fake_news_english)
Please run the local tests and check if they pass
RUN_SLOW=1 pytest tests/test_dataset_common.py::LocalDatasetTest::test_load_real_dataset_<your-dataset-name>
RUN_SLOW=1 pytest tests/test_dataset_common.py::LocalDatasetTest::test_load_dataset_all_configs_<your-dataset-name>
(If not, you may have to regenerate the dummy data and the dataset_infos.json files)

Hii please follow me

Thanks for the PR @MisbahKhan789 !
Few comments to help you along (I'm NOT a maintainer, just offering help to unblock the process) :-

Could you re-run make style and fix the errors related to code quality specific to your dataset in the datasets/fake_news_english folder?
(These seem to show errors that need manual fixes on running flake8 datasets/fake_news_english)
Please run the local tests and check if they pass
RUN_SLOW=1 pytest tests/test_dataset_common.py::LocalDatasetTest::test_load_real_dataset_<your-dataset-name>
RUN_SLOW=1 pytest tests/test_dataset_common.py::LocalDatasetTest::test_load_dataset_all_configs_<your-dataset-name>
(If not, you may have to regenerate the dummy data and the dataset_infos.json files)

Hey Bharat, thanks for the reply. I actually submitted a new PR with the changes that are required :)


If node is not installed in the machine, it doesn't start up

To met the criteria of lowering the entry barrier, setups without node js should be allowed OOTB.
To replicate the environment, open a terminal without NVM and other node installations and execute code to not have it registered in the PATH env var.

mm node is already installed within vscode right? Since that's how the extension itself is run. Should we try to use those binaries (ie set the $PATH to where they are?)

It should be installed but neither node or npm are resolvable if not present in $PATH


Uncaught Parse error in .ftpconfig JSON : SyntaxError: Unexpected token U

[Enter steps to reproduce below:]

...
...

Atom Version: 1.0.2
System: Unknown Windows Version
Thrown From: Remote-FTP package, v0.7.1
Stack Trace
Uncaught Parse error in .ftpconfig JSON : SyntaxError: Unexpected token U
At C:\Users\Kim\.atom\packages\Remote-FTP\lib\client.js:78

undefined

Commands
     -4:20.8.0 core:undo (atom-text-editor.editor.is-focused)
     -4:20.1.0 editor:consolidate-selections (atom-text-editor.editor.is-focused)
     -4:20.1.0 core:cancel (atom-text-editor.editor.is-focused)
     -4:10.7.0 tree-view:remove (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
     -3:23.6.0 remote-ftp:create-sftp-config (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
     -2:48.7.0 core:paste (atom-text-editor.editor.is-focused)
     -2:47 core:save (atom-text-editor.editor.is-focused)
     -2:45.3.0 core:move-to-top (atom-text-editor.editor.is-focused)
  2x -2:23.1.0 core:backspace (atom-text-editor.editor.is-focused)
     -2:00.5.0 core:paste (atom-text-editor.editor.is-focused)
 13x -1:57.3.0 core:backspace (atom-text-editor.editor.is-focused)
     -1:55 core:save (atom-text-editor.editor.is-focused)
  2x -1:28.3.0 core:paste (atom-text-editor.editor.is-focused)
     -0:51.8.0 core:save (atom-text-editor.editor.is-focused)
     -0:06.3.0 core:delete (atom-text-editor.editor.is-focused)
     -0:03.1.0 core:save (atom-text-editor.editor.is-focused)

Config
{
  "core": {
    "disabledPackages": [
      "remote-atom"
    ]
  }
}

Installed Packages
# User
remote-edit, v1.8.14
Remote-FTP, v0.7.1

# Dev
No dev packages

Can you post your .ftpconfig file ? It seems to contain invalid JSON.

You can check here if you have valid JSON

Most likely you haven't escaped the backslashes in a path (C:\Users... -> C:\Users\...).


Use svelte-query for Metrics Definition CRUD APIs

Think we decided this is likely not to be a priority for a couple of releases until we figure out how we want to handle this.

@djbarnwal is working on this


Fix VULKAN_HPP_TYPESAFE_CONVERSION define

Vulkan-Hpp now compares this with 1 instead of using #if defined().

Author ShabbyX not on autobuild list. Waiting for curator authorization before starting CI build.

Author ShabbyX not on autobuild list. Waiting for curator authorization before starting CI build.


Redeployments of cloud.gov should auto-generate new credentials

In order to ensure we can

cleanly recover from a full platform compromise
redeploy in a new region easily
ensure integration environments are completely isolated

...as an operations engineer I want new deployments of cloud-gov to auto-populate the key platform secrets and credentials.
Acceptance Criteria
Implementation Sketch

I can work on this.


Add NGRX state managements in the app

Is your feature request related to a problem? Please describe.
No, But it will help within large-scale projects
Describe the solution you'd like
integrate and add NGRX configuration

@Mahmoudibrahim03,
There are quite a few state management libraries for Angular. I'm kinda partial to elf. However, I usually don't bother with a state management solution if the project's complexity doesn't call for it.
With that being said, I believe the best way to implement this feature in a starter template like this is to create different forks with different possibilities (e,g,. angular-boilerplate-ngrx, angular-boilerplate-ngxs, angular-boilerplate-akita, etc.).
Another option would be to create different setup scripts under the /scripts folder (e,g,. setup_ngrx.sh, setup_ngxs.sh, setup_akita.sh, etc.).
Lastly, another option I can think of is to create different branches for each option, but I personally don't like it because it would be challenging to keep everything updated.
What do you think?

@juanmesa2097
I agree with you
It will be cool if there is another repo handling complex (Big scale) project
which will include a State management solution and I think will need some changes like :
changing the boilerplate from application based with standalone components to modules to make it more suitable for the project scale and scalability
I just took a quick look at eIf  and I found it really interesting but NGRX is more popular and this variety of State management libs will let be the reason to make different kinds of boilerplates as you mentioned above
Are you agree?!

@Mahmoudibrahim03 Yes, right now this project is focused on providing a generic and versatile starting point for projects of all sizes, so devs can start building quickly upon it. I agree that the best solution for this specific issue would be creating another repo that will be focused on full enterprise needs. It could contain state management, UI components library, considerable coverage on unit and E2E testing, a documentation portal, storybook, among other things. Personally, If I were to build a project with those characteristics using Angular, I'd probably use analog as the meta-framework.
About the NgModules, I believe the Angular team will deprecate them in the next major versions since components have become the default building blocks and it's recommended to avoid modules (or migrate) for this exact reason.


The required version to use the AdMOB SDK is 16 or higher

Using the latest version and getting this error
I/flutter ( 8746): ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════ I/flutter ( 8746): The following assertion was thrown building NativeAd(dirty, state: _NativeAdState#1861b): I/flutter ( 8746): The required version to use the AdMOB SDK is 16 or higher I/flutter ( 8746): 'package:native_admob_flutter/src/utils.dart': I/flutter ( 8746): Failed assertion: line 47 pos 7: 'MobileAds.osVersion >= 16' I/flutter ( 8746): I/flutter ( 8746): The relevant error-causing widget was: I/flutter ( 8746):   NativeAd I/flutter ( 8746): lib/…/main/main.screen.dart:226 I/flutter ( 8746): I/flutter ( 8746): When the exception was thrown, this was the stack: I/flutter ( 8746): #2      assertVersionIsSupported package:native_admob_flutter/src/utils.dart:47 I/flutter ( 8746): #3      _NativeAdState.build package:native_admob_flutter/…/native/native_ad_widget.dart:219 I/flutter ( 8746): #4      StatefulElement.build package:flutter/…/widgets/framework.dart:4744 I/flutter ( 8746): #5      ComponentElement.performRebuild package:flutter/…/widgets/framework.dart:4627 I/flutter ( 8746): #6      StatefulElement.performRebuild package:flutter/…/widgets/framework.dart:4800 I/flutter ( 8746): #7      Element.rebuild package:flutter/…/widgets/framework.dart:4343 I/flutter ( 8746): #8      ComponentElement._firstBuild package:flutter/…/widgets/framework.dart:4606 I/flutter ( 8746): #9      StatefulElement._firstBuild package:flutter/…/widgets/framework.dart:4791 I/flutter ( 8746): #10     ComponentElement.mount package:flutter/…/widgets/framework.dart:4601 I/flutter ( 8746): ...     Normal element mounting (13 frames) I/flutter ( 8746): #23     Element.inflateWidget package:flutter/…/widgets/framework.dart:3569 I/flutter ( 8746): #24     MultiChildRenderObjectElement.mount package:flutter/…/widgets/framework.dart:6236 I/flutter ( 8746): ...     Normal element mounting (91 frames) I/flutter ( 8746): #115    Element.inflateWidget package:flutter/…/widgets/framework.dart:3569 I/flutter ( 8746): #116    Element.updateChild package:flutter/…/widgets/framework.dart:3324 I/flutter ( 8746): #117    ComponentElement.performRebuild package:flutter/…/widgets/framework.dart:4652 I/flutter ( 8746): #118    StatefulElement.performRebuild package:flutter/…/widgets/framework.dart:4800 I/flutter ( 8746): #119    Element.rebuild package:flutter/…/widgets/framework.dart:4343 I/flutter ( 8746): #120    BuildOwner.buildScope package:flutter/…/widgets/framework.dart:2730 I/flutter ( 8746): #121    WidgetsBinding.drawFrame package:flutter/…/widgets/binding.dart:913 I/flutter ( 8746): #122    RendererBinding._handlePersistentFrameCallback package:flutter/…/rendering/binding.dart:302 I/flutter ( 8746): #123    SchedulerBinding._invokeFrameCallback package:flutter/…/scheduler/binding.dart:1117 I/flutter ( 8746): #124    SchedulerBinding.handleDrawFrame package:flutter/…/scheduler/binding.dart:1055 I/flutter ( 8746): #125    SchedulerBinding._handleDrawFrame package:flutter/…/scheduler/binding.dart:971 I/flutter ( 8746): #129    _invoke (dart:ui/hooks.dart:251:10) I/flutter ( 8746): #130    _drawFrame (dart:ui/hooks.dart:209:3) I/flutter ( 8746): (elided 5 frames from class _AssertionError and dart:async) I/flutter ( 8746): I/flutter ( 8746): ════════════════════════════════════════════════════════════════════════════════════════════════════
I guess the logic here supposed to be the opposite?
/// Assert the current version is supported.
/// The min versions are:
///  - iOS: 9
///  - Android: 16 (19 for Native and Banner Ads)
void assertVersionIsSupported([bool usePlatformView = true]) {
  if (Platform.isAndroid) {
    /// The min required version for Android is 16
    assert(
      MobileAds.osVersion >= 16,
      'The required version to use the AdMOB SDK is 16 or higher',
    );

    /// The required version by flutter to use PlatformViews is
    ///   - Hybrid composition: 19
    ///   - Virtual display: 20
    if (usePlatformView)
      assert(
        MobileAds.osVersion >= 19,
        'Native and Banner Ads are not supported in versions before 19 because'
        ' flutter only support platform views on Android 19 or greater.',
      );
  } else {
    /// The min required version for iOS is 9
    assert(
      MobileAds.osVersion >= 9,
      'The required version to use the AdMOB SDK is 9 or higher',
    );
  }
}

What's the android version you're running on?

What's the android version you're running on?

testing it on Android 11 OnePlus 8 device, as well as Android 8.1.0 BlackBerry KEY2 device

I am too facing the same issue @bdlukaa . I am running on android version 10. Please fix it as soon as possible.

Reading the codebase, I found that you didn't using any logic to get correct version. (may be I would be wrong)

I actually check the current version on MobileAds.initialize(). This issue may be due to incorrect initialization. You can initialize it like in the example app.

as well as Android 8.1.0 BlackBerry KEY2 device

I am testing in a Android 9 device and it works just fine.
_version = await _pluginChannel.invokeMethod<int>('initialize');
assertVersionIsSupported(false);

I guess the logic here supposed to be the opposite?

I don't think so

I just published a new version that is supposed to fix this issue: v0.9.4
I'll be closing this issue. If the problem is not solved, please re-open this issue with more details.


WV-378 - Update filters to Material UI chip [TEAM REVIEW]

Update filters to Material UI chip

Ok as first draft, thank you! 👍


Install not working with OpenWrt 19.07.1

root@OpenWrt:~# opkg install node-red_1.0.3.ipk
Collected errors:

pkg_init_from_file: Malformed package file node-red_1.0.3.ipk.

Model: TP-Link Archer C2600
Firmware Version: OpenWrt 19.07.1 r10911-c155900f66 / LuCI openwrt-19.07 branch git-20.029.45734-adbbd5c

I'm getting the same error with the latest bump to 1.0.4
root@OpenWRT-P1:/tmp# opkg install /tmp/node-red_1.0.4.ipk
Collected errors:

pkg_init_from_file: Malformed package file /tmp/node-red_1.0.4.ipk.

Hostname	OpenWRT-P1
Model	Linksys WRT1900AC
Architecture	ARMv7 Processor rev 2 (v7l)
Firmware Version	OpenWrt 19.07.1 r10911-c155900f66 / LuCI openwrt-19.07 branch git-20.029.45734-adbbd5c
Kernel Version	4.14.167

Install fails with the errors as below. The files were downloaded to the Openwrt box.
OpenWrt 19.07.4, r11208-ce6496d796
opkg install node-red_1.2.9.ipk
Installing node-red (1.2.9) to root...
Collected errors:

satisfy_dependencies_for: Cannot satisfy the following dependencies for node-red:

 node-npm

opkg_install_cmd: Cannot install package node-red.

opkg install node-npm_v8.16.1-1_aarch64_cortex-a72.ipk
Unknown package 'node-npm'.
Collected errors:

pkg_hash_fetch_best_installation_candidate: Packages for node-npm found, but incompatible with the architectures configured
opkg_install_cmd: Cannot install package node-npm.

Yes - the package was built on OpenWRT 18
needs some work to redo on 19
Happy to look at a Pull request if anyone interested and has the time.

Thanks, way beyond my capabilities – I’m into pi zero’s and Arduino pro mini – small is beautiful.
From: Dave Conway-Jones @.***
Sent: 26 March 2021 14:48
To: dceejay/openwrt-node-red @.>
Cc: Shanteyman @.>; Comment @.***>
Subject: Re: [dceejay/openwrt-node-red] Install not working with OpenWrt 19.07.1 (#3)
Yes - the package was built on OpenWRT 18
needs some work to redo on 19
Happy to look at a Pull request if anyone interested and has the time.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/dceejay/openwrt-node-red/issues/3#issuecomment-808277759, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AF4D3VWZLYIHVQXHBI6JNWDTFSNDJANCNFSM4KZT7WMQ.

Following worked for me:
Because my internal storage of my router is too small, I mount a USB stick to /root:
mkdir /usr/lib/node_modules
mount -o bind /root/node_modules /usr/lib/node_modules/
Node-Red installation:
opkg install node-npm
reboot
(make sure, usb stick is mounted again to /root and /usr/lib/node_modles)
npm install -g --unsafe-perm node-red
Start Node-Red:

Screen session: node-red

Thanks for above. Unfortunately, lots of space just incompatibility of architectures???
opkg install node-npm_v8.16.1-1_aarch64_cortex-a72.ipk
Unknown package 'node-npm'.
Collected errors:

pkg_hash_fetch_best_installation_candidate: Packages for node-npm found, but incompatible with the architectures configured
opkg_install_cmd: Cannot install package node-npm.


Npm postinstall step to npm to cater for easy setup

(copied over from https://github.com/twitter/typeahead.js/pull/1406, since that project has comments about being abandoned)
With this change, npm install ends by running bower install
This means that we can cut down the steps for getting started and running tests.
Now we are down to:

npm install
npm test

(npm postinstall step runs automatically). Read more about npm's hooks here: https://docs.npmjs.com/misc/scripts
This also has changes in .travis.yml since installation of bower need to run before npm install task

@jesperronn The test are failing, please fix them first.

@ApfelUser yeah, I see the failing test. Only for the first Firefox integration test. The fail is within the npm install (seemingly a network connectivity error).
Around Line 1964
npm ERR! fetch failed https://registry.npmjs.org/fsevents/-/fsevents-1.0.2.tgz
npm ERR! AssertionError: null == true
npm ERR!     at TLSSocket.socketOnData (_http_client.js:303:3)
npm ERR!     at TLSSocket.EventEmitter.emit (events.js:107:17)
npm ERR!     at TLSSocket.Readable.read (_stream_readable.js:369:10)
npm ERR!     at TLSSocket.socketCloseListener (_http_client.js:224:10)
npm ERR!     at TLSSocket.EventEmitter.emit (events.js:129:20)
npm ERR!     at TCP.close (net.js:461:12)
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>
npm ERR! System Linux 3.13.0-40-generic
npm ERR! command "/home/travis/.nvm/v0.11.13/bin/node" "/home/travis/.nvm/v0.11.13/bin/npm" "install"

Nothing in the javascript has changed. So nothing could cause this error to happen. I was not aware that Travis had network connectivity flakyness like this.
I guess I will just re-commit with a changed commit text. And cross fingers. For all 12 build jobs.

Thanks a lot!

This change causes installations without a global bower to fail.
$ npm i --save corejs-typeahead

><EMAIL_ADDRESS>postinstall /path/to/my/app/node_modules/corejs-typeahead
> bower install

sh: bower: command not found
npm ERR! Darwin 15.5.0
npm ERR! argv "/Users/vesa/.nvm/versions/node/v4.4.0/bin/node" "/Users/vesa/.nvm/versions/node/v4.4.0/bin/npm" "i" "--save" "corejs-typeahead"
npm ERR! node v4.4.0
npm ERR! npm  v2.14.20
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn

npm ERR<EMAIL_ADDRESS>postinstall: `bower install`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>postinstall script 'bower install'.
npm ERR! This is most likely a problem with the corejs-typeahead package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     bower install
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs corejs-typeahead
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR!     npm owner ls corejs-typeahead
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /path/to/my/app/venuu/npm-debug.log

Am I missing something, or does this mean i need a bower dev-dependency just to consume typeahead in my webapp? I mean I have no need to run your tests.

Yes, it used to mean you'd need to npm install -g bower in order to install this package via npm.
However, this has been fixed recently. See #74 . I'm working with the NPM support staff to claim the package in the npm registry so that we can publish an updated package with this fix.

Thank you, and sorry for not looking enough, I can see my observations have been delt with there


Support?

I know this is a polyfill, but as a general question:
How likely is it that browser vendors implement it?
I saw the Chrome issue saying they won't continue implementing this.
I saw the Firefox issue that they think this is no more relevant as it's removed from the spec.
It's not even listed on chromestatus.com.
I see the great advantage, but why aren't they all not implementing it?

@samthor @robdodson

We've been doing work to incubate the standard as part of the WICG (https://github.com/WICG/inert). Internally, we've received positive signals from the Chrome team so we are hopeful we can get it shipping behind an experimental flag soon. @alice is working on that. Once we send out an intent to implement, it should show up on chromestatus.
We've also held discussions on the WICG Discuss forum and Moz has stated they are "cautiously supportive" (https://discourse.wicg.io/t/inert-attribute/1838/30), so we're hopeful that given time to take a deeper look at inert they'll continue to be supportive.
And we're continuing to reach out to Safari though the person we were speaking with has since gone on leave after having a new baby so those discussions are on hold for the moment.

Okay, thanks Rob for the explanation. 👍
I think for now it's one of the best ways to teach developers, how easy it is to use, as you already taught me ;)
This would kinda force browser vendors implementing it :D

FWIW, @robdodson and others' polyfill is more strict (slower, and changes tabindex on your elements, which may not be what you want), and probably better for a demo for standardization.
In practice though, this polyfill is faster since it just piggybacks on the focus event.
Regardless, I'm glad to see some renewed interest in this 👍

Hey all,
In the readme it mentions support for ie9+.  but testing with ie11 in my own file, as well as the short demo included in the readme, I'm able to tab to all focusable elements.
Is IE no longer supported with this polyfill?
Thanks

I can confirm comment of  @scottaohara .  It doesn't seem to work on IE11.

The joys of IE11 :P
@scottaohara @robfentress do y'all have reproducible test cases for IE11?
I did some work on this recently for our WICG version of the polyfill. When this PR lands, we should have IE11 support over there but additional test cases are welcome. Folks are more than welcome to copy the karma/sauce setup to use in their own projects/tests/whatever—it's a pain in the butt to get it all working but once it's setup, it's pretty chill.

Hello. The demo included in the readme is not working in IE11 and the PR above mentioned was already merged. Do I need to do any special setup for IE 11? Also, is not working in my own file just by adding the inert attribute.
Regards

Sorry for confusion @afallas. The PR is for the WICG version of the polyfill (https://github.com/WICG/inert). It has a different implementation from the version in this repo. You can read about the tradeoffs here: https://github.com/GoogleChrome/inert-polyfill#limitations

Thanks for the fast response @robdodson, and thanks for the help

Does anyone know the actual status of this, from a standards perspective?
It's pretty hard to find any concrete and reliable information about it...

Is this, or will it become, part of the HTML standard?
Which browsers have native support for this today?
Which browsers are planning to ship native support for this?
Is this polyfill recommended - or should we consider alternative ways to make things inert?

@thomas-darling: That's on me - I have a PR open on WHATWG but I've been struggling to accurately word the logic.
Chrome has native support behind the experimental web features flag - we can ship as soon as I finish writing the spec (and making sure the implementation matches it).


Webfinger info: avoid PHP warning when user isn't defined

This should avoid warnings like this one:
PHP Warning:  Attempt to read property "user_login" on bool in /var/www/html/wp-content/plugins/activitypub/includes/class-webfinger.php on line 27

Is it even possible to have no user? Shouldn't it fail way before?

I didn't get the full stacktrace so I cannot really say, but it did happen somehow (when logging in to write a new post).

Thanks @jeherve


Added Hello World in Scheme Language

Added Hello World in Scheme Language

Thanks.
But we don't see Scheme helloWorld file in /source folder.

The file is name "helloworld.scm" . Would kindly request you to check!


[Caloris2] [Github Code] Frame product rollout

Frame rollout: feature flag first? self-serve? on by default moving forward?
See https://github.com/dust-tt/dust/issues/2324

feature flag: seems we should start there to get some feedback from ~Alan anyway?
connector: I'd make it available but toggle (default==no) by admin at the connector level. It's a (weirdly) sensitive topic and giving control to the admins on will be appreciated for.
default moving forward: let's wait on feedback from Alan?

Aligned :+1:

Framing for rollout
Context
We now have support for Code sync. When activated, a new node appears under each repository of the Github connector called "Code" along with "Discussions" and "Issues". This node has children displaying the code hierarchy we synced.
Limits
We enforce a whitelist of file extensions and a blacklist of directory names that generally includes binary/build data. We limit ourselves to repos whose total size is 1GB (pre-filtering). We also do not sync files that are more than 1MB of data. We sync the code every 8h.
Current state
Github code syncing can be enabled in poke.
Rollout
We propose to have a toggle on the Github connection screen to enable github code syncing (ala Slack bot toggle). We definitely don't want to enable by default for 2 reasons:
(i) Sensitivity of code.
(ii) Existing assistant that have selected Github repository as data sources would now perform retrieval on code as well.
While (i) is solved by having an opt-in (ii) is only partially solved. I presume we could have a popup display a warning covering (ii) when the user attempts to enable it (but a popup on a toggle is not great and not even supported today in sparkle I thiiink).
Immediate next-steps
Enable it on our workspace + ping Alan to work with them towards enablement (potentially listing assistants that may be impacted) with the objective of deleting the code syncing data source they have today.
Folllow-up
Implement the toggle in the connection view after converging on what should be the right wording/UX there given (ii).

r? @gabhubert @Duncid

Proposal communication for beta-testing users.
# Release: Github code syncing
Status: beta (meaning that the behavior may change as we iterate on it)

We added support for code syncing in our Github connector. When enabled, the code associated with the repositories synchronized in the Github connection will be ingested and kept up to date every 8h.

<for users having built it internally>
Since you explored this use-case internally, we hope that we can transition your usage on this new feature and delete the data sources associated with your explorations.
</for users having built it internally>

## Limitations

When enabled, this will impact the assistants that perform retrieval on Github repositories, as they will now retrieve code on top of Issues / Discussions. We added the capability to select independently Issues / Discussions and/or Code when selecting data from a Github data source so that you can adapt existing assistants to the new content.

We'll be happy to provide you with a list of potentially assistants to review

Friendly bump @gabhubert @Duncid

(Will go ahead with first design partners messaging)

papertrail: https://dust4ai.slack.com/archives/C0525Q93AEL/p1705651289479569

Context on first user rollout: https://dust4ai.slack.com/archives/C0525Q93AEL/p1705651289479569
It seems obvious that we want to be able to migrate existing assistants to Issues/Discussions instead of whole repo before enabling code sync

Working on that.

Alan is live after having run the migration with no issue.
@gabhubert @Duncid @Yutcam ready to add more workspaces among our existing users or move on to the rollout plan proposed above

Next steps: mention to customers in the weekly round-up, ok to take @Yutcam?

yeah don't think anyone followed up so it'd be (1) with an eng mentioned and (2) with a CtA to follow up with us!


fix rasterization for a single feature

Bugfix and test rasterizing a single feature.

Codecov Report

Merging #323 (8c9ec28) into main (89b4aab) will increase coverage by 0.10%.
The diff coverage is 50.00%.

@@            Coverage Diff             @@
##             main     #323      +/-   ##
==========================================
+ Coverage   78.73%   78.84%   +0.10%
==========================================
  Files          38       38
  Lines        2949     2968      +19
==========================================
+ Hits         2322     2340      +18
- Misses        627      628       +1

Impacted Files
Coverage Δ

src/lookup.jl
66.93% <0.00%> (ø)

src/methods/extract.jl
78.94% <0.00%> (ø)

src/openstack.jl
57.14% <0.00%> (ø)

src/polygon_ops.jl
78.59% <41.66%> (ø)

src/methods/rasterize.jl
86.04% <85.71%> (+3.20%)
:arrow_up:

src/sources/gdal.jl
85.24% <0.00%> (-1.26%)
:arrow_down:

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


Make checkpoint test create all sorts of entities and assert that their values are as expected

Original issue: https://charm.cs.illinois.edu/redmine/issues/88

Right now, tests/charm++/chkpt only even tries to save and restore a mainchare, an array, and some singleton chares. It should also cover readonly variables, groups, and nodegroups, and should have some values stored and recovered that can be checked analytically in each .

Original date: 2013-08-28 18:56:49

Any progress on this?

Original author: Xiang Ni
Original date: 2013-08-28 19:06:25

No, I will start looking at it.

Original author: Xiang Ni
Original date: 2013-08-28 20:29:51

Added the checkpoint test in tests/charm++/chkpt for group, nodegroup and readonly variables. Data after restart is also verifies. Waiting for the nightly build to test it.


Schema management for dataset-types

Changes
How I tested this
Notes
Checklist

[ ] PR has an informative and human-readable title (this will be pulled into the release notes)
[ ] Changes are limited to a single goal (no scope creep)
[ ] Code passed the pre-commit check & code is left cleaner/nicer than when first encountered.
[ ] Any change in functionality is tested
[ ] New functions are documented (with a description, list of inputs, and expected output)
[ ] Placeholder code is flagged / future TODOs are captured in comments
[ ] Project documentation has been updated if adding/changing functionality.

POC taking @roelbertens's implementation and making a little more general.
Design decisions to enable this:

This is going to take the form of a decorator
The data, for now, is not going to be accessible
We store the data under tags in the node as a serialized format. Under hamilton.internal.schema=...

Further questions:

How do we allow for API change?

Keep with this API
Have the parameter not be **kwargs  -- be able to switch it later
Change this to dataset_schema or something like that, use schema later
Keep in experimental/call it schema_beta

Should schemas allow order?
Should we be able to build schemas for specific libraries (spark, pydantic, etc...)?

Probably yes -- we should have a schema class
This schema class will have the ability to specify a "flavor", which will be generic
It will allow for column names/types
We should be able to convert between them/check compatibility with the right plugin

How to decorate input types?

Type-annotation

TODO remaining:

[ ] Add some basic unit tests for schema
[ ] Add some documentation
[ ] Add/fix some tests for viz
[ ] Ensure that the node modifiers work together (E.G. we have some colors that we need to use with the different node modifiers)


refactor: POC Typescript Project References

Hi👋, please prefix this PR's title with:

[ ] breaking-change: if you have introduced modification that necessitates immediate adjustments by this SDK's users to their applications, clients, or integrations to avert disruptions to existing features or functionalities.
[x] feat:, fix:, refactor:, docs:, or chore:.

Summary
Use TS project references and tsc --watch --incremental to reduce build time when developing the SDK locally.
Detail and impact of the change

Added

Changed

Deprecated

Removed

Fixed

Security

Anything else worth calling out?

Used other methods to speed up the build.


83 add command buffer

Created a working command buffer with test cases that allows you to cycle through previously executed commands within the same session.
Also added test cases

LGTM!


Fix logic for no geoviews explorer

Even though geo=False, explorer would raise raise ImportError('GeoViews must be installed to enable the geographic options.')
import pandas as pd
import hvplot.pandas
df = pd.DataFrame({'a': [1,2,3], 'b': [4,5,6]})

df.hvplot.explorer(geo=False)

Not sure how to add a test for this because the dev dependencies installs geoviews.

ooh that's fancy and good to know! Turns out there actually was a marker for geo tests so I didn't need it.

Are you sure?

ooh that's fancy and good to know! Turns

It's also a little crazy right 🙃
A suggestion could be to refactor gv_available into a utility function that is mocked for this test to return False.

Hm I guess there is a marker, but the tests still run everything
https://github.com/holoviz/hvplot/blob/main/.github/workflows/test.yaml#L171
https://github.com/holoviz/hvplot/blob/main/hvplot/tests/testui.py#L394
I guess I'll go with Maxime's suggestion

@ahuang11 what do you think about the refactor done in https://github.com/holoviz/hvplot/pull/1451/commits/31df383665bcbd5d14c1e49bc5a030f9e62b9357? I'm fine with reverting if you prefer the former way. I've preferred creating a function that does the actual import since the side effects of importing geoviews as required I think.

I'm fine with the refactor.


_OPENMP missing in Simulator.cp

Line 1295
Line 1297
Causing omp_get_time to be undefined

Fixed in v1.1


Prepare Detekt 1.17.1

This PR contains the release branch for Detekt 1.17.1.
I'm pushing the release/1.17.1 branch to detekt/detekt so others can track it as well.
The CI will fail as the artifacts haven't been published yet.
I'm waiting for a positive review before publishing the assets 👍
I've included #3792 #3793 #3794 only as discussed
The branch was created from: git checkout -b release/1.17.1 6a92af522c67b9f3aa9d5965423f00009b2a6cb6

Rebase and merge option was enabled. Please let me know if this is the most suitable option for this PR.

Please let me know if this is the most suitable option for this PR.

I would actually opt for creating a merge commit. Mostly because the resulting diff should be equivalent to 40c3330

Careful, we shouldn't merge main here until we release 1.17.1, right?

Careful, we shouldn't merge main here until we release 1.17.1, right?

Agree. I've reverted @chao2zhang merge of main into this branch.
The release of 1.17.1 was successful yesterday. I'll create a tag/release today.
I see two approaches for this PR/branch here:

We merge it with a merge commit on main. We would have to resolve a conflict introduced by #3638 but that shouldn't be a big deal.
We close it and we keep the release/1.17.1 branch alive. We will have to cherry-pick 40c3330 on main as it contains the release notes etc.

My bad. I used "Resolve conflicts" on the Github UI.
In my work, approach #2 is the orthodox approach but I also believe #1 should work (Since we are manually editing release notes for each release, and thank you @cortinico for doing a great job).

So I've merged the branch manually and tagged v1.17.1 on https://github.com/detekt/detekt/commit/40c3330859d13aba6b92b88acc616ef4266c486d

I always use the number one. And we never squash the tagged version so it is always in main. I think that we don't need to keep any branch open. The tags should be enough to recover in case we need it.


Testing: actually run the playbook & install policycoreutils (for restorecon)

install package so that the restorecon command is available
Also copy in memtest.0 to the DocumentRoot of the web server (so it can be fetched during PXE boot)

Alright now I can't follow the red thread. I naively though that only one PR would be needed for the memtest stuff. Now I think that a jira task is needed so that it can be followed up and can be reviewed in the end of the sprint. It would probably be a good idea to link the already resolved PR in the jira task.

no problemo: #CCCP-2325


Deprecate rustc plugin support in cargo

What does this PR try to resolve?
Support for rustc plugins has been removed entirely from rustc itself already. Deprecate support on the cargo side to allow removing support from cargo in the future.
Additional information
Part of https://github.com/rust-lang/cargo/issues/13246

@bors r+

:pushpin: Commit f26e2fe1da5b4f18f68daf10266ae4f4b6013c5f has been approved by weihanglo
It is now in the queue for this repository.

:hourglass: Testing commit f26e2fe1da5b4f18f68daf10266ae4f4b6013c5f with merge a88535459fa00df7c7c0695951f4258fe11389dc...

:sunny: Test successful - checks-actions
Approved by: weihanglo
Pushing a88535459fa00df7c7c0695951f4258fe11389dc to master...

:sunny: Test successful - checks-actions
Approved by: weihanglo
Pushing a88535459fa00df7c7c0695951f4258fe11389dc to master...

:eyes: Test was successful, but fast-forwarding failed: 422 Changes must be made through a pull request.


[9.x] Add assertDirectoryEmpty to comment section in Storage facade

There was no auto-complete for IDEs with this assertion.

Thanks!


changed server name to cat-api-wrapper

Looks like it was copied from there

I wrote this in literally 20 minutes to nerd-snipe someone lol, I guess a typo makes sense

tfw


Avoid updating all animation effects on single animation mutation

This change avoids applying the effects of all Animations when a single Animation's state is modified (e.g. setting currentTime).
This is particularly effective
Performance numbers on Firefox Nightly:
500 calls to element.animate(null, 1000): 1600ms down to 170ms.
The 500 Individual Stars demo (rewritten to use element.animate()): 8.5-9.5s down to 4.5-5s
Test case in https://github.com/web-animations/web-animations-next/issues/472: 2.5-4s down to 30-50ms

lgtm

I discovered afterwards that the quoted performance numbers in the description are a bit bogus. Turns out Firefox's performance is heavily influenced by the developer console being open which I was not accounting for.


Missing documentation for installation of governance component in Teams environment

See https://github.com/microsoft/coe-starter-kit/issues/1018.

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

ID: e14181d4-574f-95e3-c2c9-545116549c9b
Version Independent ID: bf449b92-6756-e08a-a58c-d561e36947cb
Content: Set up governance components - Power Platform
Content Source: power-platform/guidance/coe/setup-governance-components.md
Service: power-platform
Sub-service: guidance
GitHub Login: @manuelap-msft
Microsoft Alias: mapichle

Hello,
see:

Follow the instructions detailed under Set up core components to import the solution either into your Production or your Dataverse for Teams environment.

How to install a solution into Production or Teams environments is covered in the Core components setup instructions, solution specific setup is covered here.
What you experience in https://github.com/microsoft/coe-starter-kit/issues/1018 was a bug in our solution, not related to the documentation.
Thanks for using the CoE
Manuela


How can I monitor websites where client certs are required?

We do want to monitor websites where client cert's are enabled. Is there a way how we can configure this plugin to send a client cert when this plugin is monitoring an URL?
Thanks!

not currently, but can be considered. I don't see this would need a lot of development

hi @matejkramny  that would be a pretty cool feature which would be very useful for me!


[Bug] Decoding %2A (star) in URL

Insomnia Version: 5.7.14 (<IP_ADDRESS>1)
Operating System: macOS 10.12.6

Details
Insomnia is decoding encoded star character (%2A) in URL.
E.g. sending requests to http://<IP_ADDRESS>:3001/%2F%2A from Insomnia will actually cause a request to http://<IP_ADDRESS>:3001/%2F*.
As a confirmation, using curl http://<IP_ADDRESS>:3001/%2F%2A will send a request to http://<IP_ADDRESS>:3001/%2F%2A.
Node.js server to reproduce below
const http = require("http");

const server = http.createServer((request, response) => {
  response.end(request.url);
});

server.listen(3001);

Thanks for reporting this @mthenw. It will be fixed in the next version 😄


chore: bdd-spring-1585815898 to 0.0.1

chore: Promote bdd-spring-1585815898 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Allow ksonet type registry in an enterprise git

Our github is at github.intuit.com; Making this change allows ks to consider it a valid ksonet registry. We need this fix soon. In the long run I suggest a better detection method, such as uri connect to git or a helm service.
Signed-off-by: Omer Azmon<EMAIL_ADDRESS>

Pull Request Test Coverage Report for Build 1256

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 71.39%

Totals

Change from base Build 1254:
0.0%

Covered Lines:
12035

Relevant Lines:
16858

💛  - Coveralls

@bryanl I updated with sig from other PR to this one

@oazmon sorry for the delay and thank you for the contribution!


Add support for Hokusai apps

Problem
We need to support releasecop for Hokusai based apps.
Possible Solution
Added a Comparer module which has a Base comparer class which has common logic for comparing branches and checking deploys.
Added Git and Hokusai comparers which inherit from Base and do things slightly different when finding things that are need to be deployed.
Things i'm not sure
hokusai pipeline gitlog format is slightly different than Git one, since we do things by number of lines we might be fine?!
In Hokusai world, we don't need to (can't) check other branches, basically we only compare production to staging so https://github.com/joeyAghion/releasecop/blob/master/lib/releasecop/checker.rb#L21 pretty much is useless, should we not do that if it's a Hokusai style?

(Closing as discussed in favor of the other approach.)


Scene shutdown does not clear the pipeline out of lights

Reproducable problem: If you got a scene (scene1), that implements light:
Enable lights in the scene1:
this.lights.enable().setAmbientColor(0xffffff);
use a light in the scene1:
this.lights.addLight( x, y ).setColor(0xff5f0a).setIntensity(1);
And then switch to a second scene via: this.scene.start('scene2')
The light is successfully cleared from the array of lights in the Manager.
But a "ghostimage" remains in the new, started scene2 if:
Scene2

scene2 has lights enabled.
But scene2 got no own lights.

result: you see the lights from scene1 in scene2

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Thank you for submitting this issue. We have fixed this and the fix has been pushed to the master branch. It will be part of the next release. If you get time to build and test it for yourself we would appreciate that.


Paste and autofill formula [improvement]

@dnprock said:
Current paste functionality only put in the exact value of copy. If I copy "=A2+B2" in C2 and paste to C3, the formula is still "=A2+B2". It should be autofill in this case and increment to "=A3+B3". This is how Google spreadsheet works.

Hey guys, was this enhancement implemented? I did not find it on the documentation

To be honest we decided not to evaluate the RuleJS. Now the formula-parser is the project to follow as it runs the Formula plugin in the Handsontable PRO.

Thanks for the info as alway @AMBudnik

you're welcome @gavargas22 :)


Log item click handling improvements

I've made two changes here that should make it easier to work with many markers in a small location:
- When you click a log item, the associated marker on the map will now show its popup
- jumpTo will no longer zoom you out if you're zoomed in further than 14
Let me know if I've missed anything!

this is great, thank you! will deploy it when things have quieted down


Instance segmentation inference

Hi! I see that test is currently not available for instance segmentation. Maybe you can provide some ideas how to make inference on instance segmentation?

Simply write a test hook which is the same as the validation process?

Simply write a test hook which is the same as the validation process?

Thank you! ANd one more question, can I use PTv3 as a backbone for instance segmentation? As I see in all configs the SpUNet is used

Yes, of course. Just modify the point group + spinet config with the ptv3 backbone config.

Yes, of course. Just modify the point group + spinet config with the ptv3 backbone config.

Thank you! And can I ask you to describe how to prepare data for instance segmentation? I trained a semantic segmentation model and got a good metrics, but when I train instance set,emntation I get zeroo metrics

Hi, reading and understanding our preprocessing code for ScanNet is all you need~
https://github.com/Pointcept/Pointcept/blob/main/pointcept/datasets/preprocessing/scannet/preprocess_scannet.py
If you have any questions related to the detailed preprocessing, feel free to ask me.

Hi, reading and understanding our preprocessing code for ScanNet is all you need~ https://github.com/Pointcept/Pointcept/blob/main/pointcept/datasets/preprocessing/scannet/preprocess_scannet.py If you have any questions related to the detailed preprocessing, feel free to ask me.

Thank you!
Can you please check my config for PTv3 + point grroup, I have a problem that my loss increasing at every step and infaly becomes None
model = dict(
    type="PG-v1m1",
    backbone=dict(
        type="PT-v3m1",
        in_channels=6,
        order=["z", "z-trans", "hilbert", "hilbert-trans"],
        stride=(2, 2, 2, 2),
        enc_depths=(2, 2, 2, 6, 2),
        enc_channels=(32, 64, 128, 256, 512),
        enc_num_head=(2, 4, 8, 16, 32),
        enc_patch_size=(256, 256, 256, 256, 256),
        dec_depths=(2, 2, 2, 2),
        dec_channels=(64, 64, 128, 256),
        dec_num_head=(4, 4, 8, 16),
        dec_patch_size=(256, 256, 256, 256),
        mlp_ratio=4,
        qkv_bias=True,
        qk_scale=None,
        attn_drop=0.0,
        proj_drop=0.0,
        drop_path=0.3,
        shuffle_orders=True,
        pre_norm=True,
        enable_rpe=False,
        enable_flash=True,
        upcast_attention=False,
        upcast_softmax=False,
        cls_mode=False,
        pdnorm_bn=False,
        pdnorm_ln=False,
        pdnorm_decouple=True,
        pdnorm_adaptive=False,
        pdnorm_affine=True,
        pdnorm_conditions=("Indoor"),
    ),
    backbone_out_channels=64,
    semantic_num_classes=num_classes,
    semantic_ignore_index=-1,
    segment_ignore_index=segment_ignore_index,
    instance_ignore_index=-1,
    cluster_thresh=1.5,
    cluster_closed_points=300,
    cluster_propose_points=100,
    cluster_min_points=50,
    voxel_size=0.08
)

Hi, could you provide a more detail config, as any training parameters might cause this issue?

Hi, could you provide a more detail config, as any training parameters might cause this issue?

Hi! Below there is the full config
_base_ = ["../_base_/default_runtime.py"]

# misc custom setting
batch_size = 12  # bs: total bs in all gpus
num_worker = 12
mix_prob = 0.0
empty_cache = True
enable_amp = True
evaluate = True
transfer_learning = False

class_names = [

]

# model settings
model = dict(
    type="PG-v1m1",
    backbone=dict(
        type="PT-v3m1",
        in_channels=6,
        order=["z", "z-trans", "hilbert", "hilbert-trans"],
        stride=(2, 2, 2, 2),
        enc_depths=(2, 2, 2, 6, 2),
        enc_channels=(32, 64, 128, 256, 512),
        enc_num_head=(2, 4, 8, 16, 32),
        enc_patch_size=(64, 64, 64, 64, 64),
        dec_depths=(2, 2, 2, 2),
        dec_channels=(64, 64, 128, 256),
        dec_num_head=(4, 4, 8, 16),
        dec_patch_size=(64, 64, 64, 64),
        mlp_ratio=4,
        qkv_bias=True,
        qk_scale=None,
        attn_drop=0.0,
        proj_drop=0.0,
        drop_path=0.3,
        shuffle_orders=True,
        pre_norm=True,
        enable_rpe=False,
        enable_flash=True,
        upcast_attention=False,
        upcast_softmax=False,
        cls_mode=False,
        pdnorm_bn=False,
        pdnorm_ln=False,
        pdnorm_decouple=True,
        pdnorm_adaptive=False,
        pdnorm_affine=True,
        pdnorm_conditions=("Indoor"),
    ),
    backbone_out_channels=64,
    semantic_num_classes=9,
    semantic_ignore_index=-1,
    segment_ignore_index=(-1,),
    instance_ignore_index=-1,
    cluster_thresh=1.5,
    cluster_closed_points=300,
    cluster_propose_points=100,
    cluster_min_points=50,
)

# scheduler settings
epoch = 3000
optimizer = dict(type="SGD", lr=0.1, momentum=0.9, weight_decay=0.0001, nesterov=True)
scheduler = dict(type="PolyLR")

# dataset settings
dataset_type = "DefaultDataset"
data_root = "data/indoor"

data = dict(
    num_classes=9,
    ignore_index=-1,
    names=class_names,
    train=dict(
        type=dataset_type,
        split=(

        ),
        data_root=data_root,
        transform=[
            dict(type="CenterShift", apply_z=True),
            dict(
                type="RandomDropout", dropout_ratio=0.2, dropout_application_ratio=0.5
            ),
            dict(type="RandomRotate", angle=[-1, 1], axis="z", center=[0, 0, 0], p=0.5),
            dict(type="RandomRotate", angle=[-1 / 64, 1 / 64], axis="x", p=0.5),
            dict(type="RandomRotate", angle=[-1 / 64, 1 / 64], axis="y", p=0.5),
            dict(type="RandomScale", scale=[0.9, 1.1]),
            dict(type="RandomFlip", p=0.5),
            dict(type="ChromaticAutoContrast", p=0.2, blend_factor=None),
            dict(type="ChromaticTranslation", p=0.95, ratio=0.05),
            dict(type="ChromaticJitter", p=0.95, std=0.005),
            dict(
                type="GridSample",
                grid_size=0.08,
                hash_type="fnv",
                mode="train",
                return_grid_coord=True,
                keys=("coord", "color", "normal", "segment", "instance"),
            ),
            dict(type="SphereCrop", sample_rate=0.8, mode="random"),
            # dict(type='CenterShift', apply_z=True),
            dict(type="NormalizeColor"),
            dict(
                type="InstanceParser",
                segment_ignore_index=(-1,),
                instance_ignore_index=-1,
            ),
            dict(type="ToTensor"),
            dict(
                type="Collect",
                keys=(
                    "coord",
                    "grid_coord",
                    "segment",
                    "instance",
                    "instance_centroid",
                    "bbox",
                ),
                feat_keys=("color", "normal"),
            ),
        ],
        test_mode=False,
    ),
    val=dict(
        type=dataset_type,
        split=(

        ),
        data_root=data_root,
        transform=[
            dict(type="CenterShift", apply_z=True),
            dict(
                type="Copy",
                keys_dict={
                    "coord": "origin_coord",
                    "segment": "origin_segment",
                    "instance": "origin_instance",
                },
            ),
            dict(
                type="GridSample",
                grid_size=0.08,
                hash_type="fnv",
                mode="train",
                return_grid_coord=True,
                keys=("coord", "color", "normal", "segment", "instance"),
            ),
            dict(type="CenterShift", apply_z=False),
            dict(type="NormalizeColor"),
            dict(
                type="InstanceParser",
                segment_ignore_index=(-1,),
                instance_ignore_index=-1,
            ),
            dict(type="ToTensor"),
            dict(
                type="Collect",
                keys=(
                    "coord",
                    "grid_coord",
                    "segment",
                    "instance",
                    "origin_coord",
                    "origin_segment",
                    "origin_instance",
                    "instance_centroid",
                    "bbox",
                ),
                feat_keys=("color", "normal"),
                offset_keys_dict=dict(offset="coord", origin_offset="origin_coord"),
            ),
        ],
        test_mode=False,
    ),
    test=dict(),  # currently not available
)

hooks = [
    dict(type="CheckpointLoader", keywords="module.", replacement="module."),
    dict(type="IterationTimer", warmup_iter=2),
    dict(type="InformationWriter"),
    dict(
        type="InsSegEvaluator",
        segment_ignore_index=(-1,),
        instance_ignore_index=-1,
    ),
    dict(type="CheckpointSaver", save_freq=None),
]

Hi, use our schedular for other PTv3 configs. Setting the learning rate for the attention layer to 1/10 of the usual learning rate is important for PTv3.
https://github.com/Pointcept/Pointcept/blob/main/configs/scannet/semseg-pt-v3m1-0-base.py#L56-L65

Hi, use our schedular for other PTv3 configs. Setting the learning rate for the attention layer to 1/10 of the usual learning rate is important for PTv3. https://github.com/Pointcept/Pointcept/blob/main/configs/scannet/semseg-pt-v3m1-0-base.py#L56-L65

Thanks, it hepled. Also I have a question, is it normal that this loss is negative? bias_cosine_loss: -0.8968

Hi, I think it is normal for some special criteria (loss).

Hi, I think it is normal for some special criteria (loss).

Hi! I'm trying to make a Test class for instance segmentation. For now I have this code
class InsSegTester(TesterBase):
    def associate_instances(self, pred, segment, name):
        segment = segment.cpu().numpy()
        void_mask = np.in1d(segment, (-1))

        assert (
                pred["pred_classes"].shape[0]
                == pred["pred_scores"].shape[0]
                == pred["pred_masks"].shape[0]
        )
        pred_instances = dict()
        for i in range(self.cfg.data.num_classes):
            if i not in (-1,):
                pred_instances[self.cfg.data.names[i]] = []
        instance_id = 0
        for i in range(len(pred["pred_classes"])):
            if pred["pred_classes"][i] in (-1,):
                continue
            pred_inst = dict()
            pred_inst["uuid"] = uuid4()
            pred_inst["instance_id"] = instance_id
            pred_inst["segment_id"] = pred["pred_classes"][i]
            pred_inst["confidence"] = pred["pred_scores"][i]
            pred_inst["mask"] = np.not_equal(pred["pred_masks"][i], 0)
            pred_inst["vert_count"] = np.count_nonzero(pred_inst["mask"])
            pred_inst["void_intersection"] = np.count_nonzero(
                np.logical_and(void_mask, pred_inst["mask"])
            )
            pred_inst['name'] = name
            if pred_inst["vert_count"] < 100:
                continue
            segment_name = self.cfg.data.names[pred_inst["segment_id"]]
            pred_instances[segment_name].append(pred_inst)
            instance_id += 1
        return pred_instances

    def test(self):
        logger = get_root_logger()
        logger.info(">>>>>>>>>>>>>>>> Start Evaluation >>>>>>>>>>>>>>>>")

        self.model.eval()

        save_path = os.path.join(self.cfg.save_path, "result")
        make_dirs(save_path)

        comm.synchronize()
        for i, input_dict in enumerate(self.test_loader):
            input_dict = input_dict[0]
            assert len(input_dict["offset"]) == 1
            for key in input_dict.keys():
                if isinstance(input_dict[key], torch.Tensor):
                    input_dict[key] = input_dict[key].cuda(non_blocking=True)
            with torch.no_grad():
                output_dict = self.model(input_dict)

            segment = input_dict["segment"]
            # map to origin
            if "origin_coord" in input_dict.keys():
                idx, _ = pointops.knn_query(
                    1,
                    input_dict["coord"].float(),
                    input_dict["offset"].int(),
                    input_dict["origin_coord"].float(),
                    input_dict["origin_offset"].int(),
                )
                idx = idx.cpu().flatten().long()
                output_dict["pred_masks"] = output_dict["pred_masks"][:, idx]
                segment = input_dict["origin_segment"]

            pred_instance = self.associate_instances(
                output_dict, segment, input_dict['name']
            )
            # scenes.append(dict(pred=pred_instance))

            logger.info(
                "Test: [{iter}/{max_iter}] ".format(
                    iter=i + 1, max_iter=len(self.test_loader)
                )
            )

            # print(pred_instance, i)
            print(input_dict['coord'].shape)
            print(pred_instance['Walls'][0]['mask'].shape)

        comm.synchronize()
        # scenes_sync = comm.gather(scenes, dst=0)
        # scenes = [scene for scenes_ in scenes_sync for scene in scenes_]
        # try:
        #     print(len(scenes))
        #     print(scenes[0]['pred'])
        #     print(scenes[0]['pred'].keys())
        # except:
        #     pass
        logger.info("<<<<<<<<<<<<<<<<< End Evaluation <<<<<<<<<<<<<<<<<")
        ```
        And i dont understand why I have coord and mask shapes differ. Could you please chech this code?

Hi @Vovinsa, are you able to produce the instance labels for the inference?

And i dont understand why I have coord and mask shapes differ. Could you please chech this code?

Hi @Vovinsa , I don't know if you are still around or not, but I think you should use "origin_coord" instead of "coord". I guess  "coord" is the grid subsampling coordinates. I followed your code to get the inference and I found this issue.


Go's memory model doesn't allow for sharing string data, so we can't use stack-allocated string wrappers as we have in the Perl bindings and each conversion will involve allocating a full new copy.  The CFCType_is_string_type issue can be resolved separately.


Removing horrible dotted outline in Chrome

Removing horrible dotted outline in Chrome

Hi @olliecaine27 this outline is there due to the accessibility reasons. If you want to remove it, you can change the value of $accessible-highlight variable to false in the _variables.scss file.

Ahh, perfect! Cheers and excellent work by the way!

@olliecaine27 thanks! :)


bitcoin: support sending to silent payment addresses

This  currently adds 9228 bytes to the binary, luckily less than this PR saves :smile: https://github.com/BitBoxSwiss/bitbox02-firmware/pull/1215

Rebased. Need to double-check if payment requests to silent payment addresses work safely (an output that that is both attached to a payment request and is generated by a SP address) and add unit tests for it, or if we should disable that combination.

Rebased.

Host side that verifies the generated output correctness using the DLEQ proof and returns them: https://github.com/BitBoxSwiss/bitbox02-api-go/pull/105
This includes a simulator test the complete integration is tested.

@NickeZ one way to test it (except the integration/unit tests included in this PR) is an integration test on the host side with the simulator:
./scripts/docker_exec.sh make -j simulator

Then in the api-go client repo at https://github.com/BitBoxSwiss/bitbox02-api-go/pull/105, run
SIMULATOR=/path/to/bitbox02-firmware/build-build/bin/simulator go test -v -run SilentPayment ./...

=== RUN   TestSimulatorBTCSignSilentPayment/simulator
--- PASS: TestSimulatorBTCSignSilentPayment (0.33s)
    --- PASS: TestSimulatorBTCSignSilentPayment/simulator (0.33s)


[Feature] - Open with JetBrains

Dynamically detect installed JetBrains IDEs from Toolbox app or using ENV vars

Considere multiple installed instances per IDE.

I've never used JetBrains Rider before. Can you provide its command-line arguments?

macOS

NOTE: Unable to draw the icon directly from install folder because is on SVG format.
Manual PNG upload is requiered for macOS (WIP)

Linux

NOTE: Linux has PNG & SVG format in installation folder. Works as expected.

Windows


Idea: post-resize hook / event

Just want to pitch this idea here.
I'd like to optimize the resized images before they are uploaded.
What do you think about adding the possibility to let the user do stuff (could be anything) after the images are resized?

Interesting idea Anthony, here is a concept for how this could work:
function preUploadHandler(cb, results) {
  // results.versions
};

new Uploader({..., hooks: { preUpload: preUploadHandler }});

With the corresponding change in src/index.coffee:
Image.prototype.start = (cb) ->
  auto
    metadata: @getMetadata.bind(@, @src)
    dest: @getDest.bind(@)
    versions: ['metadata', @resizeVersions.bind(@)]
    preupload: ['versions', @opts.hooks.preupload]
    uploads: ['preupload', 'dest', @uploadVersions.bind(@)]
    cleanup: ['uploads', @removeVersions.bind(@)]
  , (err, results) ->
    cb err, results.uploads, results.metadata

I have to think a little more if this is something s3-uploader should do, and if this is the correct approach.


Update use-params.md

[X] Docs
[ ] Tests

Adding information about splat routes in useParams

oops - that's what I get for doing it in the github UI and not cloning your fork locally - no linter to yell at me!  I'll get that fixed - thanks for the heads up!


trying to check artifacts on ArtifactHub

Description
I tried to install helm dashboard as helm chart on EKS and in logs I see below msg Failed to query ArtifactHub
[GIN] 2024/01/28 - 11:24:14 | 204 |         1m29s |   <IP_ADDRESS> | GET      "/api/helm/repositories/latestver?name=my-chart"
time="2024-01-28T11:24:14Z" level=warning msg="Failed to query ArtifactHub: Get \"https://artifacthub.io/api/v1/packages/search?offset=0&limit=5&facets=false&kind=0&deprecated=false&sort=relevance&ts_query_web=my-chart\": dial tcp <IP_ADDRESS>:443: i/o timeout"
t

and because of this ingress is also performing very slowly how can we disable this check?
and also for now it is showing all the namespaces that we can restrict to a few ns.
Screenshots
No response
Additional information
No response

Disabling ArtifactHub query is something that needs development. I guess an environment variable would be sufficient.
As for namespace limitations, we have a CLI flag to limit dashboard to certain set of namespaces. Have you tried setting that?

@undera i am trying to install this via helm chart and in helm chart how I can use the CLI flag as you mentioned, nothing is mentioned as such.
could you please help with this.

@jainpratik163 To have this as part of Helm registry, we'd need to release version 2.0. We are not quite ready for that.
For now, you can try to build it locally with make build, or to set "unstable" image via Helm values, has good chance to work:
image:
    tag: unstable


feat: Enhance bigtable-beam-import pipeline to import multiple hbase table snapshots into bigtable

Feature request to enhance the bigtable-beam-import pipeline to support following features:

Importing multiple snapshots in the same pipeline into corresponding BigTable tables
Handle parallelization of Skewed regions to enhance performance
Configuring additional BigTable configuration

Fixes #4070 ☕

https://docs.google.com/document/d/1bRujvYhFzap__VkbLG23lUhvUJUOGrvBl8xpvlaSbe4/edit?resourcekey=0-qnI-oMim71RbSyQajDqlgA&tab=t.0#heading=h.hv20s02ohk73

Continuing work on this in #4358


Add ability to add variables on the command-line

Useful for dynamic things such as dates.

http://stackoverflow.com/questions/18115674/how-to-format-command-line-argument-key-value-pairs

:+1:
I like the --conf key1=val1 --conf key2=val2 way to do this, and just submitted a PR implementing it.

Duplicate of #35 (PR), closing


(PUP-5233) Restore puppet inspect

Fix puppet inspect so it looks in the correct location for the cached
catalog.

Added a second new tests from Michael's PR https://github.com/puppetlabs/puppet/pull/4717, which this now supersedes.

:+1:

:+1: from me as wel. Looks ready to go once we have a safe stable

Actually, I just did a little digging around inspect and found that it really is horribly broken beyond just not being able to find the cached catalog.
It isn't actually able to recognize changes to resources on the agent, and so inspect reports will not identify changes, completely defeating the purpose of the audit.


Added containerization and Mongo Server

App can now deploy off of a local MongoDB server OR through Docker

Looks good!


Cannot load in Stremio app/web on Windows 10

I don't know exactly why, but I am unable to load in Stremio app and web too. It does show my additional addons installed both in PMS and Stremio itself, but when I try searching for something they don't show in the search result list (i.e. I tried searching "Made in Abyss", which I know for a fact is available on Twist.Moe and I have the addon installed, but there is no "Twist Moe" tab in the search results...) This happens with all the addons loaded from PMS.
Not sure what I'm doing wrong, I was able to run it perfectly when I had Linux...

Update: when I open a title from another source, in the sidebar I can see the PMS addons between the other sources, but for some reason they don't show in actual search results...

Update #2, now it seems it's not showing PMS anime providers results, not even in the sidebar? It won't show Twist Moe results nor Anime From AnimeFever...

Further update, I ran it with verbose option, this was the output:

How can I solve the issue?


Reviews section not scrolling

The newly added reviews section does not have scroll behavior, which on mobiles may be a feature that is good to add

I would like to work on this issue.

hey @Shantanu-Tiwari , it is being taken care by @vedantheda  !! look for any other issue or create yours

I noticed that he has been assigned 4 issues. Is he working on all of them atm?

I noticed that he has been assigned 4 issues. Is he working on all of them atm?

ya !!

hey assign it to me

go for it !! and keep the stack in mind !!


Fixed Spacing with Input.

There was an issue if we add some blank space in beginning or end. So I have added .trim() so that it'll remove any extra space.


Added "Line Following Robot" project

Suggestions for you:

whenever you create a PR/issue please add a good title & descriptions so that Maintainer can understand clearly.
also, it's a good practice

I just changed the title here. you can check.


404 error in some document pages

For examples, I got a 404 in the following pages:
http://docs.claygl.xyz/api/clay.shader.html
http://docs.claygl.xyz/api/clay.texture_.html
Could you please have a look at this? Thanks.

something strange is here!
1- remove underscore ( _ ) from end of url if it has any underscore.
2- add underscore ( _ ) to url before .html if url has no _
http://docs.claygl.xyz/api/clay.shader_.html
http://docs.claygl.xyz/api/clay.texture.html


[🐛 Bug]: Unable to get NextFetchEvent

next-on-pages environment related information
System:
Platform: darwin
Arch: x64
Version: Darwin Kernel Version 22.4.0: Mon Mar  6 21:00:17 PST 2023; root:xnu-8796.101.5~3/RELEASE_X86_64
CPU: (8) x64 Intel(R) Core(TM) i7-1068NG7 CPU @ 2.30GHz
Memory: 32 GB
Shell: /bin/zsh
Binaries:
Node: 18.15.0
Yarn: N/A
npm: 9.5.0
pnpm: N/A
Package Manager Used: npm
Relevant Packages:
@cloudflare/next-on-pages: 1.0.1
vercel: 30.0.0
next: 13.4.2
Description
I've attempted to retrieve the NextFetchEvent by referring to this Next.js documentation, but it's not working as expected.
Is there a method to retrieve the NextFetchEvent?
Also, I would like to use the waitUntil of NextFetchEvent. Is there another way to do this without using NextFetchEvent?
Reproduction
No response
Pages Deployment Method
None
Pages Deployment ID
No response
Additional Information
No response
Would you like to help?

[ ] Would you like to help fixing this bug?

next-on-pages relies on a module worker, such workers don't surface the fetchEvent (see Cloudflare docs)
from a module worker you can get the execution context with its waitUntil and passThroughOnException methods, would that suffice for you?
in any case that should be available soon via some utilities (as I've already implemented it in https://github.com/cloudflare/next-on-pages/pull/265). Currently we simply got some disagreements on the team on how we'd want the API to look like, after we agree on that implementing the utility itself should be pretty simple 🙂

Thank you for sharing the document. I'll try out what you suggested. Looking forward to the implementation of the utils as it will be quite helpful.

@va3y the idea would be that inside the fetch you could take the context and put it somewhere in the global scope (potentially using AsyncLocalStorage for making it more robust) and then inside the next handler retrieve it.
I think this is just about the only way to implement this.
I did this in https://github.com/cloudflare/next-on-pages/pull/265 (here I create the ALS, here I put the context into it and here I define a utility that developers could call in their Next.js handler to retrieve the context)
Unfortunately I wasn't yet able to merge my PR as there are conflicting ideas on the team in regards on what sort of API we should expose (primarily in regards to the bindings), I'll have to discuss with the team to decide what sort of API we'd all like to expose (but I don't think that the underlying implementation would change)


Problem using CalendarKit in existing Navigation Controller

New Issue Checklist

[x] Use the latest version of CalendarKit
[x] I've read the Contribution Guidelines
[x] I've searched for existing GitHub issues

Issue Description
Hello,
First let me congratulate you on a great library.
I am trying to use CalendarKit in a NavigationControllerView defined on a storyboard. The problem I have is the Days don't show at all, only the events.
It seems to be an autolayout issue, the days seem to be hidden behind tha navigation bar.
Have you had this problem before? Is there any way to solve it?
Thanks in advance
André
Code I'm using with CalendarKit

[INSERT CODE HERE]

Result I am trying to achieve

[INSERT API OR UI MOCKUPS HERE]

Hi,
I found the issue, I forgot to set the isTranslucent property to false :
navigationController?.navigationBar.isTranslucent = false
Thanks again for a great library !
Cheers
André


Adding sui binary to chocolatey store

Description
Adding sui binary to chocolatey store
Test Plan
https://github.com/MystenLabs/sui/actions/runs/7644881657/job/20830190190

Add  store
#15904


Get rid of jQuery

Seems like jQuery was brought in when the story components were copy-pasted from the old source-academy2.
https://github.com/source-academy/cadet-frontend/blob/sa_2021/src/components/academy/game/story-manager/story-manager.js#L125
https://github.com/source-academy/cadet-frontend/blob/sa_2021/public/index.html#L8
Should really get rid of it, but that means we need to parse XML in some other way.
Alternatively, could consider converting the XML to a new JSON format.

Should really get rid of it, but that means we need to parse XML in some other way.

XMLHttpRequest should already support parsing XML. If this is the only place in the codebase where jQuery is used xhr is potentially a drop in replacement.
Alternatively, the fetch API can be used, but that would require rewriting the rest of this file (and potentially other parts of the codebase!) to deal with promises.

I've hit an issue while replacing jQuery code in the data visualizer. The code itself is straightforward, but the function I'm editing is supposed to enable/disable 2 next/previous buttons in the data visualizer.
The selector used to get the buttons is '.sa-list-visualizer #previous' and '.sa-list-visualizer #next'. I'm not convinced that these buttons have ever existed in cadet-frontend. Looking at 337577df10d22e21bdccef22f4144a83069c1f11 where they were merged in, I see no reference to these buttons either. I suspect that this function was for whatever codebase it was ported from, and is useless in cadet-frontend.
Can anyone confirm if the visualizer is supposed to have previous and next buttons, @martin-henz ? If it is indeed unnecessary, I will remove it from the library.

Yes I can confirm that in Source Academy 2 (2017) we recorded every call of draw_data (then called draw_list). We had a "previous" and "next" button that allowed us to navigate the history of recorded data structures. It was quite useful during lectures to be able to show how data structures evolve during recursion.
For some reason this was abandoned.
I have the feeling that these remnants should be removed. We should take a fresh look at recording for the Data Visualizer and for the Environment Visualizer in CP3108 in Sem 2 AY2020/21, unless someone wants to devote his summer to these features.


How to assert my own JSON String without request?

I want something like this:

But actually it works even I try this:

Can you explain me how actually I need to do it, to assert my own json?

You should just use JsonPath instead:
String json = ...
JsonPath jsonPath = JsonPath.from(json);
assertThat(jsonPath.getString("video.size")).contains("infinite") // assertj assertion