How does gmssl 3.0 support third-party hardware crypto device access

Hi! I noticed that GmSSL 3.0 no longer includes the ENGINE mechanism supported by GmSSL 2.0 after refactoring. I'd like to ask how the third-party hardware crypto device connects to GmSSL 3.0, then the user can use the hardware crypto device through GmSSL 3.0. Is there a follow-up support plan in this regard, or does the developer of the third-party hardware crypto device need to develop the corresponding framework themselves?

most recent updates support SDF crypto card.  Add #include <gmssl/sdf.h> to your source code, or use command line gmssl sdfutil. If you don't have a SDF crypto card. use the sdf_dummy dynamic library instead for trial.

您发来的邮件已收到！

thx!


Too many permissions in manifest.js

I received this after the latest update:

@gulliveruk Could you remove this from the live version on the app store?
https://github.com/leonhartX/gas-github/blob/4496d9b0a4c5fa457ec26c0da363c323fb9a0ba2/manifest.json#L63
Thanks
David

Hey - so I believe that these are required for gitlab self hosted - though I can look at restricting it down to just the api endpoints to see if that works

Actually I also think this maybe too ambitious. Personally I always be very careful when an extension ask for read data from all website.
Since we even haven't test the hosted gitlab, maybe it's better to just support gitlab.com (this is the reason why I just support bitbucket.org but not hosted bitbucket.)
Or we can check whether the other login ways(like oauth from web) which can avoid the cross-origin problem.


Question: branches in fuction types.

All function types examples(flow.org) in documentation have brackets ( ) over argument type. But types without branches also valid.
type ObjectToString = (Object) => string;
type ObjectToStringNoBranches = Object => string;

Is it bug of flow parser or one some examples are missing in docs?

I'm pretty sure this is just a stylistic choice. Prettier always uses parentheses when it goes over the code, and they stay consistent if you add a second parameter or want to provide documentation about the parameter's name.
Unless this is resulting in weird behavior, I think we can close this issue.

@asolove Hello. The problem is: different tools, plugins and ide can understand it in different ways. For example webstorm plugin does not support Object => string;. But https://github.com/prettier/prettier remove branches over type. Maybe it's good idea to provide example for both variants.

What does Webstorm say/do for the parentheses-less version? Sounds like a bug to file with the grammar they use.

@asolove perhaps. Flow has published gramar?

Well, the VSCode integration at least just gets information from the flow cli about syntax and type errors. My best guess is that here, WebStorm is layering on something else, like a TypeScript grammar, or something else not-flow-specific. I don't know WS well enough to say 😢.


[Event Modification] codeunit 80 "Sales-Post" OnAfterInitAssocItemJnlLine

Hello,
Is it possible to add the following to an Event:
    OnAfterInitAssocItemJnlLine(ItemJnlLine, PurchOrderHeader, PurchOrderLine, SalesHeader, SalesLine);

to
    OnAfterInitAssocItemJnlLine(ItemJnlLine, PurchOrderHeader, PurchOrderLine, SalesHeader, SalesLine, QtyToBeShipped);

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. 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.


new update or smth

Describe the bug
the devs prbl fixed the patcher version and it doesnt show up and doesnt connect to the network + the videos dont work and the text idk
Expected behavior
it doesnt load the new extension
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [PC]
Browser [Opera GX]
v1.3

Duplicate of #62.


FileNotFoundError session-{username}.json

Hi There,
I just installed itchclaim and when I try to run it, I get the error:
`> itchclaim --login latchee claim
Enter password for user latchee:
Traceback (most recent call last):
File "/home/latchee/.local/lib/python3.10/site-packages/ItchClaim/main.py", line 193, in login
self.user.load_session()
File "/home/latchee/.local/lib/python3.10/site-packages/ItchClaim/ItchUser.py", line 111, in load_session
with open(self.get_default_session_filename(), 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/latchee/.config/itchclaim/users/session-latchee.json'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/latchee/.local/bin/itchclaim", line 8, in
sys.exit(main())
File "/home/latchee/.local/lib/python3.10/site-packages/ItchClaim/main.py", line 207, in main
Fire(ItchClaim)
File "/home/latchee/.local/lib/python3.10/site-packages/fire/core.py", line 143, in Fire
component_trace = _Fire(component, args, parsed_flag_args, context, name)
File "/home/latchee/.local/lib/python3.10/site-packages/fire/core.py", line 477, in _Fire
component, remaining_args = _CallAndUpdateTrace(
File "/home/latchee/.local/lib/python3.10/site-packages/fire/core.py", line 693, in _CallAndUpdateTrace
component = fn(*varargs, **kwargs)
File "/home/latchee/.local/lib/python3.10/site-packages/ItchClaim/main.py", line 51, in init
self.login(login, password, totp)
File "/home/latchee/.local/lib/python3.10/site-packages/ItchClaim/main.py", line 202, in login
self.user.login(password, totp)
File "/home/latchee/.local/lib/python3.10/site-packages/ItchClaim/ItchUser.py", line 68, in login
self.user_id = soup.find_all(attrs={"name": "user_id"})[0]['value']
IndexError: list index out of range`
It looks like itchclaim is not saving the session's information.
I manually created the folders /itchclaim/users/ as they did not exist under /home/latchee/.config/. Unfortunately, this did not resolve the issue.
I also tried to touch /home/latchee/.config/itchclaim/users/session-latchee.json, but then itchclaim was not happy as the file was empty. I have now deleted session-latchee.json again.
Would you be able to help?

The error occurred if the user didn't have 2FA enabled, but the script still tried to load data from the 2FA page.
Should be fixed in v1.4.3. Please update with pip install --upgrade itchclaim.
From your logs:
File "/home/latchee/.local/lib/python3.10/site-packages/ItchClaim/ItchUser.py", line 68, in login
self.user_id = soup.find_all(attrs={"name": "user_id"})[0]['value']
IndexError: list index out of range`

Fantastic, thank you very much!


Mutable default value warning not including a name

This is the code used to handle the mutable default value warning generation in pydantic-core
https://github.com/pydantic/pydantic-core/blob/b396f9371e796771562211bce5719ab37ef623f3/src/validators/with_default.rs#L99
Annoyingly, there are currently ways in pydantic to get the UserWarning raised before the validator has a name (so therefore, you just see '...' has a mutable default value, not very helpful):
from pydantic import BaseModel, Field

class Inner(BaseModel):
    pass

class Outer(BaseModel):
    inner: Inner
    inner_2: Inner = Field(Inner())
"""
UserWarning: `...` has a mutable default value that will be deep copied during validation. Consider using `default_factory` instead for finer control.
  cls.__pydantic_validator__ = SchemaValidator(simplified_core_schema, core_config)
"""

I'll just add that, ideally, it would tell you what the name of the problem field was when appropriate, rather than the name of its validator (as that will generally just look like a type, at best).

Also, I think ideally we should add a link to some pydantic documentation that showing how to do this if you already have an expression that you know you want to use to generate the default, using a lambda:
class Model(BaseModel):
    x: list[int] = [1, 2, 3]

should become:
class Model(BaseModel):
    x: list[int] = Field(default_factory=lambda: [1, 2, 3])

(This is by far the most common way to resolve this issue "correctly" in our existing tests/docs)

I guess we are going to remove this warning, so I'll close this issue, as it's rendered irrelevant.


receiving gps signal

from gps sdr simulation, i could transmitting using USRP N200.  it is transmitting well but when i tried to receive using GPS Data application on my phone, i faced a problem. i could not receive the signals even if able to transmit. ...how can i probably fix?

The default sampling frequency of gps-sdr-sim is 2.6MHz. If you want to transfer the I/Q samples at 2.5MHz, the sampling frequency of the gps-sdr-sim has to be set to the same value with '-s' option.

ok when am using 2.6MHz, it says like this:
UHD Warning:
The hardware does not support the requested TX sample rate:
Target sample rate: 2.600000 MSps
Actual sample rate: 2.631579 MSps
Press Enter to quit:

HackRF and bladeRF require 2.6 MHz sample rate, while the USRP2 requires 2.5 MHz (an even integral decimator of 100 MHz).

Maybe you want to try 2.5?

I mean '-s' option of gps-sdr-sim.

Besides the correct sampling frequency, I see two other possible problems:

Is 5-min record sufficient to provide full navigation and time messages?
Are you sure your phone is not confused when receiving GPS signal with date and time 4 years in the past?

Could you please try to download more recent brdc file and generate a file with 30 minutes of data?


Uki: installer does not reboot the system after installation is done

kairos version 3.0.6
having cloudconfig looks like this
#cloud-config
install:
  device: auto
  reboot: true
  poweroff: false

After installation is done, i do see the log msg that installer is going to reboot the system. But nothing happens after that.

Found this a couple of days ago. Fixed on https://github.com/kairos-io/kairos-agent/pull/307 and improved on https://github.com/kairos-io/kairos-agent/pull/309

released as part of 3.0.7!


Tab-delimited xml port not recognizing middle fields in 2018

Describe the bug
I have an xmlport designed to import some data to the Gen. Journal Line that I converted from 2017's CAL to 2018's AL. In 2017 it works as intended.
While it compiles in 2018, when importing it no longer detects anything for the contents of fields other than the first and last ones.
sample.txt
xmlpayrollAL.txt
xmlpayrollCAL.txt
Attached is a sample file for import as well as the al and cal code in separate files. It wouldn't let me upload .al so i renamed the file's extension.
To Reproduce
Create action to execute or launch directly into xmlport.
Import the sample file or any tab-delimited text file that matches the xmlport's format.
Expected behavior
This xmlport is intended to import and create General Journal Lines.
Screenshots
Not sure if necessary.
If you supply an appropriate dataset you should incorrectly receive an invalid amount message out of the OnAfterInsertRecord trigger indicating that amount is 0 regardless of input for the second column (eg ABC, 123.45, -100).
Versions:
AL Langauge:  2.0.48254
NAV 2018: 11.0.22292
If you need more information let me know.

At Directions we were told to download the newest version of AL from the marketplace and not use the cd/dvd one. I have several extensions deployed to customers on 2018 using this version of AL. Are you saying XML ports are not working in this version with 2018 or that this version of AL doesn't work with 2018?


[SPARK-38597][K8S][INFRA] Enable Spark on K8S integration tests

What changes were proposed in this pull request?
Enable Spark on K8S integration tests in Github Action based on minikube:

The K8S IT will always triggered in user fork repo and apache/spark merged commits to master branch

This PR does NOT contains Volcano related test due to limited resource of github action.

minikube installation is allowed by Apache Infra: INFRA-23000

Why setting driver 0.5 cpu, executor 0.2 cpu?

Github-hosted runner hardware limited: 2U7G, so cpu resource is very limited.
IT Job available CPU = 2U - 0.85U (K8S deploy) = 1.15U
There are 1.15 cpu left after k8s installation, to meet the requirement of K8S tests (one driver + max to 3 executors).
For memory: 6947 is maximum (Otherwise raise Exiting due to RSRC_OVER_ALLOC_MEM: Requested memory allocation 7168MB is more than your system limit 6947MB.), but this is not integer multiple of 1024, so I just set this to 6144 for better resource statistic.

Time cost info:

14 mins to compile related code.
3 mins to build docker images.
20-30 mins to test
Total: about 30-40 mins

Why are the changes needed?
This will also improve the efficiency of K8S development and guarantee the quality of spark on K8S and spark docker image in some level.
Does this PR introduce any user-facing change?
No, dev only.
How was this patch tested?
CI passed
Closes #35830

cc @dongjoon-hyun @HyukjinKwon

Thank you for your patience and reviving this, @Yikun .

I added Closes at the end of your PR description. It will close your PR automatically when this is going to be merged.

@dongjoon-hyun Thanks! I will monitor it closely for the next few days.

Thank you for your consistent participation, @Yikun .


Choosing weekend days

Bug description / Feature request:
Link to minimally-working plunker that reproduces the issue (starter template: http://plnkr.co/edit/LE4F4U7AnnD3tjM9ZH4G?p=preview)
Versions
Angular:
Calendar library:
Browser name and version:

Hey, there amazing job!
I would like to to know if there is a way to set the weekend days?
For example instead of Saturday and Sunday set it tp be Sunday and Monday.
Thank you 👍

I wasn't aware of any countries where sunday and monday were the weekend? Out of curiosity which country is it? The only weekend logic regarding weekends is in the month view where you can use the cell modifier to change the logic like so: http://plnkr.co/edit/EQFu180W31SUD38QR0ZT?p=preview Hope that helps!

Actually, I was aiming for Friday and Saturday, but as a general concept I wonder If it is possible to change it... :)

Ah ok, makes sense 😀

Thank you for your comment :)
I was referring to the week view though...


Getting basic periodic model to fit

(I had opened previously a question on cross-validated, but received no answers, probably since there is no gpflow tag yet)
Having read about Gaussian Processes, I wanted to get into a library dealing with them, and I am now encountering difficulty fitting (what I imagine to be) a standard model.
My code is as follows:
## Data generation
x = np.linspace(0,20, num=150)
noise = np.random.normal(0,0.3,150)
y = np.sin(x) + noise

plt.scatter(x, y)

## Some pre-processing
X_sin = np.expand_dims(x, axis=1)
Y_sin = np.expand_dims(y, axis=1)

test_X_sin_1dim = np.linspace(-20,40,500)
test_X_sin_2dim = np.expand_dims(test_X_sin_1dim, axis=1)

## Model
with gpflow.defer_build():

        m = gpflow.models.GPR(X_sin, Y_sin, kern = gpflow.kernels.Periodic(1))

m.as_pandas_table()

m.compile()

opt = gpflow.train.ScipyOptimizer(options=dict(maxiter=1000))
opt.minimize(m)

## Plotting
f = m.predict_y(test_X_sin_2dim)
upper = f[0] + f[1]/2
lower = f[0] - f[1]/2
lower = lower.squeeze()
upper = upper.squeeze()

fig, ax = plt.subplots()

ax.fill_between(test_X_sin_1dim, lower, upper)

ax.scatter(x_sin, y_sin, color='r', marker='x', s=9, label='Data')
ax.plot(test_X_sin_1dim, f[0], color='#FFA500', linewidth=0.5, label='Forecast Mean')

ax.set_xlim([-20, 40])
ax.set_ylim([-3, 3])

No matter which optimization settings I use, I cannot get either the simple gpflow.kernels.Periodic or gpflow.kernels.Periodic + gpflow.kernels.Constant kernels to fit my basic data.
This is the best I have been able to achieve, with opt = gpflow.train.ScipyOptimizer(options=dict(maxiter=10000, ftol=0.000000001, gtol=0.000000001, maxfun=10000, maxls=50)):

Could someone give me advice on how to fit this data using only the periodic kernel, or some basic combination thereof? I went through all the guides and example notebooks, but they tend to focus on more difficult models.

The default period is 1, which is too small for your data. Try:
m = gpflow.models.GPR(X_sin, Y_sin, kern=gpflow.kernels.Periodic(1, period=5.))
The plotting code above doesn't make sense as x_sin, y_sin are not defined, but with a small modification I got the following image

So a period of 5 is what makes sense for this data? Visually that makes sense. However, is there any way to prod the model/fitting algorithm to find that out by itself?

The period is optimized along with other hyperparameters, but there can be issues of local optima. If the period is initialised to 1 then it turns out for this data the model finds the trivial solution (that the data is all noise), but tweaking other hyperparameters / changing the optimizer might fix this.

@michael-ziedalski we have a gpflow tag on stackoverflow: https://stackoverflow.com/tags/gpflow
Your question doesn't really relate to gpflow itself - it is a model issue, not an implementation issue - but if you'd like more responses / give other people with the same problem a better chance of finding the answers, please repost there !


mod folder storymod bug

Describe your bug here.
when i hide weeks, and place the file in the mod folder, it still shows the week in storymode. but only if it has the same name as the current offical weeks.
Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
no

Where did you save your weeks?

Where did you save your weeks?
Mods/weeks. I replaced week 5 and 6 with versions where they are hidden from storymode and freeplay. But they still appear on both

Where did you save your weeks?

Mods/weeks. I replaced week 5 and 6 with versions where they are hidden from storymode and freeplay. But they still appear on both


Add some docs

This is nowhere near complete but better than it was....

Done, let me know if you want me to make sure it doesn't end up in the git history.

Done, let me know if you want me to make sure it doesn't end up in the git history.

I'm not that concerned, just figured my name didn't need to be part of an error message.

Weird... aggdraw is throwing an error:
Searching for freetype

Reading https://pypi.org/simple/freetype/

No local packages or working download links found for freetype

error: Could not find suitable distribution for Requirement.parse('freetype')

I think you need to set up the CI to conda install aggdraw so that it pulls in freetype.

This is why one is supposed to keep PRs to one topic, isn't it 🤣
Fix incoming....

@pllim -- I think I've addressed all of your comments.

That RTD thing is amazing...


[Skeleton] Fix SkeletonClassKey type

[x] I have followed (at least) the PR section of the contributing guide.

A change in the classes was introduce in this PR https://github.com/mui-org/material-ui/pull/19014 but we forgot to update the SkeletonClassKey in the declaration file of the Skeleton component

@100terres Thanks!

@oliviertassinari You're welcome :slightly_smiling_face:


Fixed a spelling error in the SQL Server Provisioning article

Fixed one little mistake.

@Selcin Thank you for raising this issue.  We're closing old issues.  If you feel this issue should remain open, please comment to let us know that the issue should be reopened.


BOT_URL

Hi, What are the variables BOT_URL & BOT_TEAM supposed to contain?
Is BOT_URL, the URL to mattermost instance? or location of module "mattermost-bot"?

example at #2
BOT_URL = 'http://chat.architectgroup.com/api/v1'
BOT_TEAM = 'argp'

Thanks, I was ignoring http & api/v1 because that didn't make any sense for my URL. I have made a pull request for documentation that I think will be helpful for future users.


discoverDomain encountered an unexpected runtime exception

WDT version: 4.0.0
Weblogic version: <IP_ADDRESS>.0
JDK version: 1.8.0_301
####<Apr 12, 2024 11:15:33 AM> <SEVERE> <discover> <main> <WLSDPLY-20035> <discoverDomain encountered an unexpected runtime exception.  Please file an issue on GitHub and attach the log file and stdout. Exception: exceptions.TypeError
TypeError: cannot concatenate 'str' and 'NoneType' objects
Traceback (most recent call last):
  File "/tmp/joetest/weblogic-deploy/lib/python/wlsdeploy/util/tool_main.py", line 59, in run_tool
    exit_code = main(model_context_obj)
  File "/tmp/joetest/weblogic-deploy/lib/python/discover.py", line 648, in main
    model = __discover(model_context, aliases, credential_injector, helper, extra_tokens)
  File "/tmp/joetest/weblogic-deploy/lib/python/discover.py", line 283, in __discover
    extra_tokens=extra_tokens).discover()
  File "/tmp/joetest/weblogic-deploy/lib/python/wlsdeploy/tool/discover/deployments_discoverer.py", line 65, in discover
    model_top_folder_name, applications = self.get_applications()
  File "/tmp/joetest/weblogic-deploy/lib/python/wlsdeploy/tool/discover/deployments_discoverer.py", line 289, in get_applications
    self._add_application_to_archive(application, result[application])
  File "/tmp/joetest/weblogic-deploy/lib/python/wlsdeploy/tool/discover/deployments_discoverer.py", line 349, in _add_application_to_archive
    self.add_application_plan_to_archive(application_name, application_dict)
  File "/tmp/joetest/weblogic-deploy/lib/python/wlsdeploy/tool/discover/deployments_discoverer.py", line 381, in add_application_plan_to_archive
    new_plan_name = self._get_plan_path(plan_path, archive_file, app_source_name, application_name, application_dict)
  File "/tmp/joetest/weblogic-deploy/lib/python/wlsdeploy/tool/discover/deployments_discoverer.py", line 614, in _get_plan_path
    new_plan_name = archive_file.addApplicationDeploymentPlan(plan_file_name,
  File "/tmp/joetest/weblogic-deploy/lib/python/wlsdeploy/tool/discover/deployments_discoverer.py", line 712, in _generate_new_plan_name
    new_name = prefix + '-' + new_name
TypeError: cannot concatenate 'str' and 'NoneType' objects

>
####<Apr 12, 2024 11:15:33 AM> <FINE> <discover> <main> <WLSDPLY-20036> <discoverDomain encountered an unexpected runtime exception.  Stacktrace: ['Traceback (most recent call last):\n', '  File "/tmp/joetest/weblogic-deploy/lib/python/wlsdeploy/util/tool_main.py", line 59, in run_tool\n    exit_code = main(model_context_obj)\n', '  File "/tmp/joetest/weblogic-deploy/lib/python/discover.py", line 648, in main\n    model = __discover(model_context, aliases, credential_injector, helper, extra_tokens)\n', '  File "/tmp/joetest/weblogic-deploy/lib/python/discover.py", line 283, in __discover\n    extra_tokens=extra_tokens).discover()\n', '  File "/tmp/joetest/weblogic-deploy/lib/python/wlsdeploy/tool/discover/deployments_discoverer.py", line 65, in discover\n    model_top_folder_name, applications = self.get_applications()\n', '  File "/tmp/joetest/weblogic-deploy/lib/python/wlsdeploy/tool/discover/deployments_discoverer.py", line 289, in get_applications\n    self._add_application_to_archive(application, result[application])\n', '  File "/tmp/joetest/weblogic-deploy/lib/python/wlsdeploy/tool/discover/deployments_discoverer.py", line 349, in _add_application_to_archive\n    self.add_application_plan_to_archive(application_name, application_dict)\n', '  File "/tmp/joetest/weblogic-deploy/lib/python/wlsdeploy/tool/discover/deployments_discoverer.py", line 381, in add_application_plan_to_archive\n    new_plan_name = self._get_plan_path(plan_path, archive_file, app_source_name, application_name, application_dict)\n', '  File "/tmp/joetest/weblogic-deploy/lib/python/wlsdeploy/tool/discover/deployments_discoverer.py", line 614, in _get_plan_path\n    new_plan_name = archive_file.addApplicationDeploymentPlan(plan_file_name,\n', '  File "/tmp/joetest/weblogic-deploy/lib/python/wlsdeploy/tool/discover/deployments_discoverer.py", line 712, in _generate_new_plan_name\n    new_name = prefix + \'-\' + new_name\n', "<type 'instance'>: cannot concatenate 'str' and 'NoneType' objects\n"]
TypeError: cannot concatenate 'str' and 'NoneType' objects
Traceback (most recent call last):
  File "/tmp/joetest/weblogic-deploy/lib/python/wlsdeploy/util/tool_main.py", line 59, in run_tool
    exit_code = main(model_context_obj)
  File "/tmp/joetest/weblogic-deploy/lib/python/discover.py", line 648, in main
    model = __discover(model_context, aliases, credential_injector, helper, extra_tokens)
  File "/tmp/joetest/weblogic-deploy/lib/python/discover.py", line 283, in __discover
    extra_tokens=extra_tokens).discover()
  File "/tmp/joetest/weblogic-deploy/lib/python/wlsdeploy/tool/discover/deployments_discoverer.py", line 65, in discover
    model_top_folder_name, applications = self.get_applications()
  File "/tmp/joetest/weblogic-deploy/lib/python/wlsdeploy/tool/discover/deployments_discoverer.py", line 289, in get_applications
    self._add_application_to_archive(application, result[application])
  File "/tmp/joetest/weblogic-deploy/lib/python/wlsdeploy/tool/discover/deployments_discoverer.py", line 349, in _add_application_to_archive
    self.add_application_plan_to_archive(application_name, application_dict)
  File "/tmp/joetest/weblogic-deploy/lib/python/wlsdeploy/tool/discover/deployments_discoverer.py", line 381, in add_application_plan_to_archive
    new_plan_name = self._get_plan_path(plan_path, archive_file, app_source_name, application_name, application_dict)
  File "/tmp/joetest/weblogic-deploy/lib/python/wlsdeploy/tool/discover/deployments_discoverer.py", line 614, in _get_plan_path
    new_plan_name = archive_file.addApplicationDeploymentPlan(plan_file_name,
  File "/tmp/joetest/weblogic-deploy/lib/python/wlsdeploy/tool/discover/deployments_discoverer.py", line 712, in _generate_new_plan_name
    new_name = prefix + '-' + new_name
TypeError: cannot concatenate 'str' and 'NoneType' objects

>
####<Apr 12, 2024 11:15:33 AM> <FINER> <ModelConfig> <_get_from_dict> <> <ENTRY use.deprecation.exit.code false>
####<Apr 12, 2024 11:15:33 AM> <FINER> <ModelConfig> <_get_from_dict> <> <RETURN false>
####<Apr 12, 2024 11:15:33 AM> <FINER> <WLSDeployExit> <exit> <> <ENTRY 2 oracle.weblogic.deploy.util.WLSDeployExit exit>
####<Apr 12, 2024 11:15:33 AM> <FINER> <WLSDeployExit> <logCleanup> <> <ENTRY oracle.weblogic.deploy.util.WLSDeployContext@326fb795>
####<Apr 12, 2024 11:15:33 AM> <FINER> <SummaryHandler> <logEnd> <> <ENTRY oracle.weblogic.deploy.util.WLSDeployContext@326fb795 oracle.weblogic.deploy.logging.SummaryHandler logEnd>
####<Apr 12, 2024 11:15:33 AM> <FINER> <SummaryHandler> <logEnd> <> <RETURN>
####<Apr 12, 2024 11:15:33 AM> <FINER> <WLSDeployExit> <logCleanup> <> <RETURN>
####<Apr 12, 2024 11:15:33 AM> <FINER> <WLSDeployExit> <exit> <> <RETURN>

@umjsio I suspect that this issue is already fixed in main but I will add some more safeguards to make sure.  The plan is to release WDT 4.0.1 later this week after incorporating the April 2024 PSU changes to the aliases.

@umjsio if you want to try out the fix, you can build your own installer from the main branch.  It requires JDK 17 and a recent version of Maven.  You can skip the unit tests using mvn clean install -DskipTests.  After running the build, the installer will be found in the installer/target/ directory.


Fix mouse clamping in Animation Bezier Editor box select

The mouse was warped to prevent it from going over the 2D/3D editor, since it grabs mouse focus on mouse over. This is no longer necessary, it keeps focus while the mouse is down.
This matches the behavior with the regular Animation Track Editor box select.

Thanks!


Subscription inactive permission denied error on self hosted qfieldcloud

Error "OF/inactive_subscription/Permission denied because the subscription is inactive" while sync. The error is displayed on the tablet that is synchronizing.
But it runs on self hosted qfieldcloud server and the user subscription isn´t inactive.

Problem solved. If you host qfieldcloud yourself, you have to adjust already entered data as follows:
In qieldcloud_db select the table "subscription_subscription" and change the text in the column "status" to "active_paid".

how can i edit the qfieldcloud_db?

how can i edit the qfieldcloud_db?

On your server where you selfhost qfieldcloud, you will find a postgres database called qfieldcloud_db

Thanks for the Workaround - these works fine.
Did anyone knows, why the subscripton plan did not write to database?
With an old Repo it worked
If I search the differences from old repo to new repo i did not find any differences with searching subscription_subscription

Change your initial_subscription_status of subscription_subscription default status too be active_paid and update all existing subscription's status to active_paid.

I ran in to the same error "Error "OF/inactive_subscription/Permission denied because the subscription is inactive" while sync. The error is displayed on the tablet that is synchronizing.
QFieldCloud runs on self hosted qfieldcloud server (installed by our IT-department).
Is this issue really fixed or is https://github.com/opengisch/qfieldcloud/issues/801 fixing something else?
The Active-column seems to be False even though I have set "Initial subscription status" to "Active Paid"

Where do I change "subscription_subscription.initial_subscription_status to be active_paid and update all existing subscription's status to active_paid." mentioned by @suricactus?

@9ls1 from your screenshot you have the already existing subscription inactive:

Update their status to "active_paid" and it will be good. Note that the status field went missing until the last patch version.

@suricactus Thanks for replying. However, how may I update the already existing accounts to be active? Setting the Initial subscription status to "Active Paid" for the community plan (see my last image in my first post above), don't seem to do the trick. And in the People-tab, I have set the one account to be active (the Active check box is checked).
Do I need to ask our IT-department to make a change in the file models.py where I find
# The status when a new subscription is created
    initial_subscription_status = models.CharField(
        max_length=100,
        choices=SubscriptionStatus.choices,
        default=SubscriptionStatus.INACTIVE_DRAFT,
    )

i.e. change from INACTIVE_DRAFT to ACTIVE_PAID and afterwords add accounts (and/or set Initial subscription status to Active Paid)?

Setting the initial status changes only new subscriptions. The existing ones you have to change either from the Admin ui, or directly modifying their state in the db.

@suricactus Thanks for clarifying. "The existing ones you have to change either from the Admin ui, or directly modifying their state in the db." With my user-login in the Admin ui I cannot find a way to change Active nor Status in the Subscription. Do I need to be some kind of a "superuser" to get some additional possibilities enabling changing existing subscriptions and adding new subscriptions? And I don't have access to the qfieldcloud_pg. If no "superuser"-solution, I'll ask IT for access to the pg-table.

Note that the status field went missing until the last patch version.

See my comment above. When doing on prem it is worth mentioning your installed version. You should have either v0.25.0 or older, or v0.26.3 and newer.

@suricactus Thanks! IT installed QFieldCloud 1,5 weeks ago, so I assumed "everything" were as new (versions) as possible. I can't see the screenshots in #913 in my Admin ui.

If any further problem, please open a new issue, I am pretty sure updating your current QFC/editing your existing subscription status will fix your issues.


Audio cues change sounds

Please add option to allow the audio cues to be changed. I'd like to use them for command success or failure for my builds. As the builds take a while I often switch away to another window, so I like to hear when they are done. The current sounds are distinctive enough so I'd like to use my own sound files.

reopened this one
/duplicate  #145204


catch single line comments in SQL language

This is to catch single line comments in the SQL language when the code text is a multiline string

Do you have a test that shows it not working before your fix and working after? I'm asking because $ already means the end of line, and it works throughout pretty much all the languages in highlight.js.

I realized that the issue was with the use of a hashmark in my text prompts which is picked up by the sql language as illegal.  I am withdrawing the PR.  Maybe there needs to be a 'psql' language to allow putting the appropriate prompts in the code?
Anyway, sorry to take up your time with this.  Thanks for responding so fast.

There can be two different approaches to handling repl prompts. One is adding a mode that is then inserted everywhere, like in Python: https://github.com/isagalaev/highlight.js/blob/master/src/languages/python.js#L7-L9. Another is a helper language that embeds the parent language, like in Clojure: https://github.com/isagalaev/highlight.js/blob/master/src/languages/clojure-repl.js


apps sc & wc: improve dry-run and deploy scripts

What this PR does / why we need it:
The dry-run.sh and deploy scripts we currently use will not check against what the actual state of the cluster. We are now adding commando flags to enable the option of using sync if a user want to.
Which issue this PR fixes
fixes #382
Message to reviewers
Im not sure if this is the right way to do it. This was the closest i could figure out. Feel free to point me out in the right direction if needed.
Checklist:

[x] Added relevant notes to WIP-CHANGELOG.md
[x] Proper commit message prefix on all commits
[x] Some test is done to check if the problem still persists.

We had a meeting with the outcome:
The changes could be activated by using a command flag

Now i have presented a start of a solution. Not the most beautiful but it works. "apply-sync" and "dry-run-sync".

So, now i have done a lot of changes.

I changed from apply-sync and dry-run-sync to --sync and --kubectl.
I changed the if-cases to go by "${1:-""}" instead of if-case series.
I did some  string checks at the entry point of apps.bash and in deploy-wc & sc for further development if/when more flags come.

Done! Looks a lot smoother now indeed! :-) :+1:

Done! :smile:

Please resolve some of the comments that's been fixed. A bit cumbersome to overview the pr ;)


add override annotation

Hi, @mychaow . Thanks for your contribution. But this PR is duplicated with the previous one, and the previous PR has been fixed globally. FYI, https://github.com/apache/iotdb/pull/2329.

Hi, @mychaow . Thanks for your contribution. But this PR is duplicated with the previous one, and the previous PR has been fixed globally. FYI, #2329.

ok， I will close it


update click to >8.0.0

Describe the bug
Emerge uses outdated click version 7. Could you update to >8 to avoid conflicts with other packages?
Describe your environment

Linux 20.04
python 3.8.10
pip 22.0.04

To Reproduce
Steps to reproduce the behavior:

install f.e. pip install dunk
observe conflict message

Expected behavior
Install without conflict

@johannes-graeter Thanks for the feedback, this should be fixed in the current release 1.2.2 (https://github.com/glato/emerge/releases/tag/1.2.2), dependencies should be no longer pinned and reduced to a smaller set.


Rename unused parameters to _

@JakeWharton

I'm using JetBrains' Kotlin extensions now. It's disappointing to have never received a response. 🤷♂


Pass full doc and document to validate to validateDocumentPermissions

The full document must be passed to validateDocumentPermissions even on a partial update because permission logic may rely on other fields in the document. Even the core 'owners' behavior relies on this, and will fail if 'owners' isn't included in the document passed to Users.canUpdateField

Makes sense thanks!


Leaderboard prefab issue

The leaderboard prefab doesn’t show gamer’s picture, it just shows an orange image.

It's hit or miss on mine. It actually loads it more often when I run it on an actual Xbox.

Thanks.  We will add this feature in an upcoming release

This is fixed in the 1711 release. If you are still seeing the issue after upgrading, please reactivate this issue.

I still have the same problem after upgrading!

1802 fixed this! tnx


[backport] Fix linalg.lstsq for empty matrix

Backport of #5467 by @toslunar

[automatic post] Jenkins, test this please.

Jenkins CI test (for commit ee43b0a3e0eca38080f56954bf04135d4a25895b, target branch v9) succeeded!


[BUG] Can't resolve '@babylonjs/core/Engines/engine'

I was trying to use the module, but when I run it shows this error:

The error don't show if I use the react-babylonjs with the (almost) same code.

Are you on webpack 5?

closing as it should be fixed - please re-open if not.  cheers.


Unable to parse array on dash but works fine with bash

I have been trying to get an array of floats passed into cxxopts.
My option definition:
  options.add_options("Output")
            ("p,pattern", "Description.", cxxopts::value<std::vector<float>>())

I specify it on the CLI as
./MyExecutable --pattern={-1.5,-0.5,0.5,1.5}

This works fine on Mac which uses bash. When deployed on a server using dash as the shell, the above fails with the following error:
Argument ‘{-1.5,-0.5,0.5,1.5}’ failed to parse
I have tried different methods of passing the arguments but have not been able to find success.

I think in bash that is actually being expanded to --pattern=-1.5 --pattern=-0.5 etc.
There is a parser in the code that splits a string up by a delimiter, default ,. So you should be able to write --pattern -1.5,-0.5,0.5,1.5. If that doesn't work then that's probably a bug.

I have tried that and it does not work on either bash or dash

See https://github.com/jarro2783/cxxopts/issues/209 for reference


Revert monitoring limited support clusterdeployments

tl;dr reverts #146
OSD-12958 We noticed a bug when rolling this out to production as CAD does not take into account previous (unrelated) limited support reasons. Since it's near the end of year change freeze, rolling back this change for now to investigate later

/lgtm


Resolve ReactNativePropRegistry issue Fixes #328.

Resolved this issue by bumping the version number of react-native-easy-grid, which has a fix in place as of 0.1.7, and by modifying the import statement to take advantage of the fact that it can be imported directly from react-native.

This also fixes #326

ReactNativePropRegistry is undefined if you do this import { ReactNativePropRegistry } from 'react-native';.
ReactNativePropRegistry is an internal API, so it has to be imported from absolute path.


loss nan problem

│ /root/miniconda3/envs/n2n/lib/python3.8/site-packages/in2n/in2n_pipeline.py:177 in               │
│ get_train_loss_dict                                                                              │
│                                                                                │
│   174 │   │   │   │   # write edited image to dataloader                                         │
│   175 │   │   │   │   self.datamanager.image_batch["image"][current_spot] = edited_image.squee   │
│   176 │   │                                                                                │
│ ❱ 177 │   │   loss_dict = self.model.get_loss_dict(model_outputs, batch, metrics_dict)           │
│   178 │   │                                                                                │
│   179 │   │   return model_outputs, loss_dict, metrics_dict                                      │
│   180                                                                                │
│                                                                                │
│ /root/miniconda3/envs/n2n/lib/python3.8/site-packages/in2n/in2n.py:69 in get_loss_dict           │
│                                                                                │
│   66 │   │   if self.config.use_lpips:                                                           │
│   67 │   │   │   out_patches = (outputs["rgb"].view(-1, self.config.patch_size,self.config.pa    │
│   68 │   │   │   gt_patches = (image.view(-1, self.config.patch_size,self.config.patch_size,     │
│ ❱ 69 │   │   │   loss_dict["lpips_loss"] = self.config.lpips_loss_mult * self.lpips(out_patch    │
│   70 │   │                                                                                │
│   71 │   │   if self.training:                                                                   │
│   72 │   │   │   loss_dict["interlevel_loss"] = self.config.interlevel_loss_mult * interlevel    │
│                                                                                │
│ /root/miniconda3/envs/n2n/lib/python3.8/site-packages/torch/nn/modules/module.py:1194 in         │
│ _call_impl                                                                                │
│                                                                                │
│   1191 │   │   # this function, and just call forward.                                           │
│   1192 │   │   if not (self._backward_hooks or self._forward_hooks or self._forward_pre_hooks o  │
│   1193 │   │   │   │   or _global_forward_hooks or _global_forward_pre_hooks):                   │
│ ❱ 1194 │   │   │   return forward_call(*input, **kwargs)                                         │
│   1195 │   │   # Do not call functions when jit is used                                          │
│   1196 │   │   full_backward_hooks, non_full_backward_hooks = [], []                             │
│   1197 │   │   if self._backward_hooks or _global_backward_hooks:                                │
│                                                                                │
│ /root/miniconda3/envs/n2n/lib/python3.8/site-packages/torchmetrics/metric.py:236 in forward      │
│                                                                                │
│   233 │   │   if self.full_state_update or self.full_state_update is None or self.dist_sync_on   │
│   234 │   │   │   self._forward_cache = self._forward_full_state_update(*args, **kwargs)         │
│   235 │   │   else:                                                                              │
│ ❱ 236 │   │   │   self._forward_cache = self._forward_reduce_state_update(*args, **kwargs)       │
│   237 │   │                                                                                │
│   238 │   │   return self._forward_cache                                                         │
│   239                                                                                │
│                                                                                │
│ /root/miniconda3/envs/n2n/lib/python3.8/site-packages/torchmetrics/metric.py:302 in              │
│ _forward_reduce_state_update                                                                     │
│                                                                                │
│   299 │   │   self._enable_grad = True  # allow grads for batch computation                      │
│   300 │   │                                                                                │
│   301 │   │   # calculate batch state and compute batch value                                    │
│ ❱ 302 │   │   self.update(*args, **kwargs)                                                       │
│   303 │   │   batch_val = self.compute()                                                         │
│   304 │   │                                                                                │
│   305 │   │   # reduce batch and global state                                                    │
│                                                                                │
│ /root/miniconda3/envs/n2n/lib/python3.8/site-packages/torchmetrics/metric.py:390 in wrapped_func │
│                                                                                │
│   387 │   │   │   self._update_count += 1                                                        │
│   388 │   │   │   with torch.set_grad_enabled(self._enable_grad):                                │
│   389 │   │   │   │   try:                                                                       │
│ ❱ 390 │   │   │   │   │   update(*args, **kwargs)                                                │
│   391 │   │   │   │   except RuntimeError as err:                                                │
│   392 │   │   │   │   │   if "Expected all tensors to be on" in str(err):                        │
│   393 │   │   │   │   │   │   raise RuntimeError(                                                │
│                                                                                │
│ /root/miniconda3/envs/n2n/lib/python3.8/site-packages/torchmetrics/image/lpip.py:149 in update   │
│                                                                                │
│   146 │   def update(self, img1: Tensor, img2: Tensor) -> None:  # type: ignore                  │
│   147 │   │   """Update internal states with lpips score."""                                     │
│   148 │   │   if not (_valid_img(img1, self.normalize) and _valid_img(img2, self.normalize)):    │
│ ❱ 149 │   │   │   raise ValueError(                                                              │
│   150 │   │   │   │   "Expected both input arguments to be normalized tensors with shape [N, 3   │
│   151 │   │   │   │   f" Got input with shape {img1.shape} and {img2.shape} and values in rang   │
│   152 │   │   │   │   f" {[img1.min(), img1.max()]} and {[img2.min(), img2.max()]} when all va   │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
ValueError: Expected both input arguments to be normalized tensors with shape [N, 3, H, W]. Got input with shape torch.Size([16, 3, 32, 32]) and torch.Size([16, 3, 32, 32]) and values in range [tensor(nan, device='cuda:0',
grad_fn=<MinBackward1>), tensor(nan, device='cuda:0', grad_fn=<MaxBackward1>)] and [tensor(-1., device='cuda:0'), tensor(1., device='cuda:0')] when all values are expected to be in the [-1, 1] range.
terminate called without an active exception

i met the problem randomly when training on my own data, it seems that the loss went nan, why does this happen,how can i solve this.

Hi, thanks for bringing this to my attention. I believe I'll just have to do a torch.nan_to_num in the code so this is fixed. I will add that soon and then let you know when it is updated!

DId you ever run into this issue again? It seems that the patches have nan values, which suggests your training collapsed. Did you view it in the viewer? Did it turn all black? How many iterations did you train for?

DId you ever run into this issue again? It seems that the patches have nan values, which suggests your training collapsed. Did you view it in the viewer? Did it turn all black? How many iterations did you train for?

I think the problem was caused by having too many images in my dataset, probably over 100. When I reduced it to 70-80 images, the issue was resolved. Thanks for your reply.

I see, glad to hear that its fixed. Maybe it was just some data-processing issue, I've trained In2n with datasets up to 300.

What is the problem if the rendering result image turns black during learning?

I see, glad to hear that its fixed. Maybe it was just some data-processing issue, I've trained In2n with datasets up to 300.

What is the problem if the rendering result image turns black during training?

I'm having the same issue:

Step (% Done)       Train Iter (time)    ETA (time)           Train Rays / Sec
-----------------------------------------------------------------------------------
30000 (200.00%)     2 s, 998.102 ms      11 h, 30 m, 29 s     5.46 K
----------------------------------------------------------------------------------------------------
Viewer at: https://viewer.nerf.studio/versions/23-05-15-1/?websocket_url=ws://localhost:49263
Printing profiling stats, from longest to shortest duration in seconds
Trainer.train_iteration: 1.5090
Traceback (most recent call last):
  File "/home/anaconda3/envs/in2n/bin/ns-train", line 8, in <module>
    sys.exit(entrypoint())
  File "/home/research/instructnerf2nerf_data/nerfstudio/nerfstudio/scripts/train.py", line 262, in entrypoint
    main(
  File "/home/research/instructnerf2nerf_data/nerfstudio/nerfstudio/scripts/train.py", line 247, in main
    launch(
  File "/home/research/instructnerf2nerf_data/nerfstudio/nerfstudio/scripts/train.py", line 189, in launch
    main_func(local_rank=0, world_size=world_size, config=config)
  File "/home/research/instructnerf2nerf_data/nerfstudio/nerfstudio/scripts/train.py", line 100, in train_loop
    trainer.train()
  File "/home/research/instructnerf2nerf_data/nerfstudio/nerfstudio/engine/trainer.py", line 252, in train
    loss, loss_dict, metrics_dict = self.train_iteration(step)
  File "/home/research/instructnerf2nerf_data/nerfstudio/nerfstudio/utils/profiler.py", line 127, in inner
    out = func(*args, **kwargs)
  File "/home/research/instructnerf2nerf_data/nerfstudio/nerfstudio/engine/trainer.py", line 472, in train_iteration
    _, loss_dict, metrics_dict = self.pipeline.get_train_loss_dict(step=step)
  File "/home/anaconda3/envs/in2n/lib/python3.8/site-packages/in2n/in2n_pipeline.py", line 186, in get_train_loss_dict
    loss_dict = self.model.get_loss_dict(model_outputs, batch, metrics_dict)
  File "/home/anaconda3/envs/in2n/lib/python3.8/site-packages/in2n/in2n.py", line 69, in get_loss_dict
    loss_dict["lpips_loss"] = self.config.lpips_loss_mult * self.lpips(out_patches, gt_patches)
  File "/home/anaconda3/envs/in2n/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
    return forward_call(*args, **kwargs)
  File "/home/anaconda3/envs/in2n/lib/python3.8/site-packages/torchmetrics/metric.py", line 298, in forward
    self._forward_cache = self._forward_reduce_state_update(*args, **kwargs)
  File "/home/anaconda3/envs/in2n/lib/python3.8/site-packages/torchmetrics/metric.py", line 367, in _forward_reduce_state_update
    self.update(*args, **kwargs)
  File "/home/anaconda3/envs/in2n/lib/python3.8/site-packages/torchmetrics/metric.py", line 457, in wrapped_func
    update(*args, **kwargs)
  File "/home/anaconda3/envs/in2n/lib/python3.8/site-packages/torchmetrics/image/lpip.py", line 139, in update
    loss, total = _lpips_update(img1, img2, net=self.net, normalize=self.normalize)
  File "/home/anaconda3/envs/in2n/lib/python3.8/site-packages/torchmetrics/functional/image/lpips.py", line 360, in _lpips_update
    raise ValueError(
ValueError: Expected both input arguments to be normalized tensors with shape [N, 3, H, W]. Got input with shape torch.Size([16, 3, 32, 32]) and torch.Size([16, 3, 32, 32]) and values in range [tensor(nan, device='cuda:0', grad_fn=<MinBackward1>), tensor(nan, device='cuda:0', grad_fn=<MaxBackward1>)] and [tensor(-0.9922, device='cuda:0'), tensor(0.9922, device='cuda:0')] when all values are expected to be in the [-1, 1] range.

training with a fresh install, a new nerfstudio install (cloned from github, latest version), a pretrained nerfacto model and 100 png images. ubuntu 20.04, RTX3090 series, cuda 11.8

This is pretty surprising. Can you try using fewer images? You could also turn off the LPIPS loss in the config. But this seems to be more of a data issue, I'd print the images and renders to make sure they are good.

I triple-checked the images, they're all good, but I'm suspecting it's got to do with the transforms.json we were using. I switched to the MipNeRF360 dataset, it seems to be working fine now!


load_directory(tags): doesn't show deleted images

attempt to fix #36
workaround waiting for tags folder proper clean up.

i think #36 is fixed, thus closing this pr now.


Smoke-test CATcher

Week 10's participation task

Done on my side, the rest remember to do this before the tutorial. It takes about 5 min to complete.


Grid system

Hallo, do you have any plans to have a grid system?

Yes, it's on our radar but not sure when. In meantime, you can use the <Block /> component that supports all CSS grid and flex properties.

Nice, it would be really cool to have a bootstrap-like grid system (or whatever easy to use system) integrated directly in BaseUi :+1:


Add missing range, rangeBy, rangeClosed, rangeClosedBy methods

The range* methods are part of the Seq interfaces.
Iterator provides implementations used by List, Stream et al. It needs the following additional implementations:

range* of char (calls range* of int and casts)
range* of double
range* of float (calls range* of double and casts)
range* of short (calls range* of int and casts)
range* of byte ( (calls range* of int and casts)

The linear sequences List, Stack, Stream, Queue and the indexed sequences Array, CharSeq, Vector need to implement the missing rage* methods (e.g. by delegating to Iterator).

To keep it simple, we concentrate on char, double, int and long. Java does the same for java.util.stream.Stream. If byte, float or short is needed, map needs to be called with a cast. If it is really needed, a future version of Javaslang may support byte, float and short here.
The following types need to have the range methods:*

Array
Vector
List
Queue
Stream
Stack

Exceptions:

CharSeq: It only implements range*(char) because it acts on Character elements only.
Iterator: It does not extends Seq but it implements all range* methods.

Static factory methods of Seq implementations (example: List):

// java.util.stream
static <T> Collector<T, ArrayList<T>, List<T>> collector()

// default
static <T> List<T> empty()
static <T> List<T> of(T element)
static <T> List<T> of(T... elements)
static <T> List<T> ofAll(java.lang.Iterable<? extends T> elements)

// primitive arrays
static List<Boolean> ofAll(boolean[] array)
static List<Byte> ofAll(byte[] array)
static List<Character> ofAll(char[] array)
static List<Double> ofAll(double[] array)
static List<Float> ofAll(float[] array)
static List<Integer> ofAll(int[] array)
static List<Long> ofAll(long[] array)
static List<Short> ofAll(short[] array)

// range/rangeBy
static List<Character> range(char from, char toExclusive)
static List<Character> rangeBy(char from, char toExclusive, int step)
static List<Double> range(double from, double toExclusive)
static List<Double> rangeBy(double from, double toExclusive, double step)
static List<Integer> range(int from, int toExclusive)
static List<Integer> rangeBy(int from, int toExclusive, int step)
static List<Long> range(long from, long toExclusive)
static List<Long> rangeBy(long from, long toExclusive, long step)

// rangeClosed/rangeClosedBy
static List<Character> rangeClosed(char from, char toExclusive)
static List<Character> rangeClosedBy(char from, char toExclusive, int step)
static List<Double> rangeClosed(double from, double toExclusive)
static List<Double> rangeClosedBy(double from, double toExclusive, double step)
static List<Integer> rangeClosed(int from, int toInclusive)
static List<Integer> rangeClosedBy(int from, int toInclusive, int step)
static List<Long> rangeClosed(long from, long toInclusive)
static List<Long> rangeClosedBy(long from, long toInclusive, long step)

Stream and Iterator additionally have (modulo return type):
static Stream<Integer> from(int value)
static Stream<Long> from(long value)
static <T> Stream<T> gen(Supplier<? extends T> supplier)
static <T> Stream<T> gen(T seed, Function<? super T, ? extends T> f)

// Stream only
static <T> Stream<T> cons(T head, Supplier<? extends Stream<T>> tailSupplier)

// Iterator only
static <T> Iterator<T> ofIterators(Iterator<? extends T>... iterators)
static <T> Iterator<T> ofIterables(java.lang.Iterable<? extends T>... iterables)
static <T> Iterator<T> ofIterators(Iterator<? extends Iterator<? extends T>> iterators)
static <T> Iterator<T> ofIterables(Iterator<? extends java.lang.Iterable<? extends T>> iterables)
static <T> Iterator<T> ofIterators(java.lang.Iterable<? extends Iterator<? extends T>> iterators)
static <T> Iterator<T> ofIterables(java.lang.Iterable<? extends java.lang.Iterable<? extends T>> iterables)

What's the semantics of a non-discrete range without step? :)
E.g. range(double from, double toExclusive) or rangeClosed(double from, double toExclusive)

Like the others, 1.0d. I haven't thought about real-world relevance here...

Simplification: It is sufficient to use
static <T> Iterator<T> concat(java.lang.Iterable<? extends java.lang.Iterable<? extends T>> iterables)

in favor of the following methods, which will be removed:
// Iterator only
static <T> Iterator<T> ofIterators(Iterator<? extends T>... iterators)
static <T> Iterator<T> ofIterables(java.lang.Iterable<? extends T>... iterables)
static <T> Iterator<T> ofIterators(Iterator<? extends Iterator<? extends T>> iterators)
static <T> Iterator<T> ofIterables(Iterator<? extends java.lang.Iterable<? extends T>> iterables)
static <T> Iterator<T> ofIterators(java.lang.Iterable<? extends Iterator<? extends T>> iterators)
static <T> Iterator<T> ofIterables(java.lang.Iterable<? extends java.lang.Iterable<? extends T>> iterables)

@lukaseder Yep - will remove range(double from, double toExclusive) and rangeClosed(double from, double toExclusive).

Scala has rangeBy(from: T, to: T, step: T) and implicit type conversion, e.g. from char to int. We do not have this kind of type conversion in Java and therefore cannot provide a rangeBy(char from, char toExclusive, char step). Instead we will have a rangeBy(char from, char toExclusive, short step). The type short fits best here, because it is the same precision as char.

double is fun...

NaN (we should throw an IllegalArgumentException)
positive, negative infinity (have to test, if we set infinity as start)
fortunately == treats positive zero +0d and negative zero -0d the same
included/excluded cases are different than in the discrete methods

Basically there are the following tests scenarios:

step == 0
from == to, step arbitrary
from < to, step < 0
from < to, step > 0
from > to, step < 0
from > to, step > 0

Additionally we have to test these special cases
(where MIN/MAX may also be NEGATIVE_INFINITY, POSITIVE_INFINITY):

from = MAX, to = MAX, step < 0
from = MAX, to = MAX, step > 0
from = MIN, to = MIN, step < 0
from = MIN, to = MIN, step > 0
from = MAX - x, to = MAX, step > 0, 0 < x < step
from = MAX - step, to = MAX, step > 0
from = MAX - x, to = MAX, step > 0, x > step
from = MIN, to = MIN - x, step < 0, 0 > x > step
from = MIN, to = MIN - step, step < 0
from = MIN, to = MIN - x, step < 0, x < step

All of these scenarios are multiplied with

the inclusive and exclusive case
the with and without step

Without loss of generality (POS/NEG INF) it should make sense to allow
// = empty
range(Double.POSITIVE_INFINITY, Double.POSITIVE_INFINITY, step);

// = rangeClosed(finiteDouble, Double.MAX_VALUE, positiveStep)
range(finiteDouble, Double.POSITIVE_INFINITY, positiveStep);

We have to live with some floating point arithmetic blur:
Double.MAX_VALUE                     // = 1.7976931348623157E308
Double.MAX_VALUE - 3.0E307           // = 1.4976931348623158E308
Double.MAX_VALUE - 3.0E307 + 3.0E307 // = Infinity

Given that it might be, that the last, inclusive number of a closed range of doubles is not part of the result.

Additionally we need some sort of emergency exit for double ranges because
Double.MAX_VALUE + 1.0 = Double.MAX_VALUE

I.e. we may loop forever.


Add message duplication for udp

Adds ability to configure message duplication.
Some questions:

This should only apply to UDP right? It does not make sense for TCP.
Should I name it udp_message_duplication instead?
I was a little unsure where to put the duplication. In the end I thought it makes sense to put in enqueue. Do you think this is the right place?

Should I name it udp_message_duplication instead?

I think duplication_rate is fine. The rustdoc on the pub part can explain that it is for UDP only.

Closing due to inactivity. Feel free to re-open.


named_config class attribute overwriting returns a ConfigAddedError

I am trying to set up an experiment where different classes parameters can be set differently through different named configs, and I run into what seems to me a bug: overwriting a class with different attribute names makes sacred throw the following error
sacred.utils.ConfigAddedError: Added new config entry that is not used anywhere
Consider the following MWE.
import sacred
from sacred import Experiment

ex = Experiment('test')

class Class1():
    def __init__(self,arg1):
        self.arg1=arg1

@ex.config
def my_config():
    myarg1 = 10
    foo = Class1(arg1=myarg1)

@ex.named_config
def bar():
    myarg=20
    foo = Class1(arg1=myarg)

@ex.automain
def run(_run: sacred.run.Run, foo ):
    print(foo.arg1)

The outputs of the run are given below.

When running the vanilla script, it outputs the expected result.
Overwriting manually the argument myarg1 also works.
However, calling the named config with bar makes sacred  throw a sacred.utils.ConfigAddedError: Added new config entry that is not used anywhere, and I don't understand why.
Note in passing that --force solves the problem.

It seems that the configuration is too rigid in this case. I also don't understand why the fact that sacred does not detect the config entry being used makes it a problem, but that's maybe more of a philosophical question.
$ python test_sacred.py
WARNING - test - No observers have been added to this run
INFO - test - Running command 'run'
INFO - test - Started
10
INFO - test - Completed after 0:00:00

$ python test_sacred.py with myarg1=20
WARNING - test - No observers have been added to this run
INFO - test - Running command 'run'
INFO - test - Started
20
INFO - test - Completed after 0:00:00

$ python test_sacred.py with bar
sacred.utils.ConfigAddedError: Added new config entry that is not used anywhere
Conflicting configuration values:
  myarg=20

$ python test_sacred.py with bar --force
WARNING - test - No observers have been added to this run
INFO - test - Running command 'run'
INFO - test - Started
20
INFO - test - Completed after 0:00:00

You are adding the config value myarg in bar which is not present in your default configuration, where only myarg1 (with the additional 1) is defined. If myarg is a typo and you intended to write myarg1, it is sufficient to do
import sacred
from sacred import Experiment

ex = Experiment('test')

class Class1():
    def __init__(self,arg1):
        self.arg1=arg1

@ex.config
def my_config():
    myarg1 = 10
    foo = Class1(arg1=myarg1)

@ex.named_config
def bar():
    myarg1 = 20 # <-- This will overwrite myarg1 in my_config because named_configs
                # have a higher priority than the default config

@ex.automain
def run(_run: sacred.run.Run, foo ):
    print(foo.arg1)

which gives (with bar)
WARNING - test - No observers have been added to this run
INFO - test - Running command 'run'
INFO - test - Started
20
INFO - test - Completed after 0:00:00

as output for me.
Another solution would be to del myarg at the end of bar to delete it from the scope.

Thank you for the quick answer.
It was indeed intentional to add myarg instead of myarg1. I actually want to use different input fields of the same class in the name config. del myarg at the end of the scope was the hotfix I was looking for.


style: cve: add length limits to description field

Maximum length validation for the description field is done on the
backend. As of now, the application truncates any description that
exceeds 4096 characters. Although this is the right way to ensure no
excess data is given, descriptions may end truncated with prior notice
to the user, which may be undesirable.
Add a maxlength attribute to the textarea field, as well as a validator
for the cve form and form template.

looks great thanks :+1:
However some small feedback that would be awesome:

add max-length additionaly to the CVE notes and the AVG notes
use Length and Optional instead of the lower-cased variants to preserve consistency to the existing validators
to avoid duplicating magic numbers that reference the same thing, the max length values should be a field in the particular model and be referenced for the form field, model field and template

Ready for another go, @anthraxx 👍

[x] Use uppercase validators
[x] Use constants defined within the model
[x] Add length restrictions to the notes fields

patches applied, thanks!


Fixes for handling max_time

A couple fixes:

Skip auxiliary variables when post-processing solution in demo.py.  Closes #9.
Reduce max_time (and issue warning) when the value exceeds worst case total time.  This eliminates ImpossibleBQM exception that can occur when converting the CSP to BQM.  This probably addresses #7, depending on what exactly was causing the original reporter's issue.

And go ahead and fix a DeprecationWarning with extracting the results.

I'm going to close this and re-submit only the fixes for demo.py prost-processing, not the fixes for ImpossibleBQM.  The ImpossibleBQM issue appears to be related to https://github.com/dwavesystems/dwavebinarycsp/issues/108.  Based on that, other testing does seem to indicate that the max_time fix made here may not resolve the issue in general, and other combinations of job times can still produce an ImpossibleBQM error even when the value of max_time is limited to the worst case.
Once the dwavebinarycsp issue is addressed we can see if/how it needs to be handled here.


MemoryError in connect

I have used PyHDB successfully to connect to a HANA database. I am currently trying to connect to a different database and I get a MemoryError:
>>> import pyhdb
>>> pyhd.connect(host='xxx',port=xxxx,user='xxxx',password='xxxxxx')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/etc/lib64/anaconda/lib/python2.7/site-packages/pyhdb/__init__.py", line 30, in connect
    conn.connect()
  File "/etc/lib64/anaconda/lib/python2.7/site-packages/pyhdb/connection.py", line 141, in connect
    agreed_auth_part = self._auth_manager.perform_handshake()
  File "/etc/lib64/anaconda/lib/python2.7/site-packages/pyhdb/auth.py", line 50, in perform_handshake
    response = self.connection.send_request(request)
  File "/etc/lib64/anaconda/lib/python2.7/site-packages/pyhdb/connection.py", line 84, in send_request
    return self.__send_message_recv_reply(payload.getvalue())
  File "/etc/lib64/anaconda/lib/python2.7/site-packages/pyhdb/connection.py", line 107, in __send_message_recv_reply
    _payload = self._socket.recv(header.payload_length - payload.tell())
MemoryError

Any idea what this failure means?

Hmm, as far as I know a MemoryError is raised when Python cannot allocate enough memory when creating a new object. Would be interesting to know what the value of header.payload_length and payload.tell() are, must be massive ...
For enabling debugging, can you run this before establishing the connection to hana:
import logging
log = logging.getLogger('receive')
log.setLevel(logging.DEBUG)
log.addHandler(logging.StreamHandler())

This should print out some useful information.

@ralhei thanks for your quick reply! i thought it was a strange error message. it turned out that the port that i was given was incorrect. i do not know what is listening on that port but it's not httpd or tomcat because those will eventually produce a connection refused and not a MemoryError.

@ralhei how i get huge data from hana using pyhdb
Using pyhdb For large data i am getting below error:
('Not able to retrieve data', DatabaseError(u'internal error: Remote execution error exception 1000002: Allocation failed ; $size$=33554432; $name$=itab; $type$=pool; $inuse_count$=13936; $allocated
_size$=5032699992\n for query)
is there any other way to get large bach data from hana. (e.g streaming)


ModuleNotFoundError: No module named 'seaborn'

Hi,
I tried the notebook neptune_ensembling.ipynb on neptune, but I got this error message:
...
ModuleNotFoundError: No module named 'seaborn'
I am not sure which combination of worker type, Python version and leading library I should use where this seaborn module is installed. Thanks.

oh yeah simply add cell and type
! pip install seaborn
I will fix the notebook also

Thanks for the info, I just though that all necessary modules are already installed, and the notebook is ready to be used without any additional installation


Fix macOS build

The macOS build worked on the PR but failed once merged. Let's fix it.

@conda-forge-admin, please rerender

sage/modular/arithgroup/farey.cpp:740:19: error: use of undeclared identifier 'bind2nd' does not work with C++17.


Enketo form appears to briefly distorted as it loads when a user clicks on edit #4198

Environment
MacOSX/Chrome/SIM
To reproduce

log in as simconsortium user , go to a table, click on a row and select 'edit'
Enketo form briefly shows up with no layout, see below

Expected result
-Form loads properly when 'edit' is selected

I don't know if we can control this. The form loads well finally and you should also consider the sim server has enketo, zebra and core are running on the same machine

closing, if this appears on non-SIM servers we can reopen


Build tools or additional docs on how to validate MediaConvert job templates.

Is your feature request related to a problem? Please describe.
Have a more detailed explanation on how to use new job template files. See if there is a way to validate Job templates before use.

You can import Job Templates using the MediaConvert Management Console
https://ap-southeast-2.console.aws.amazon.com/mediaconvert/home?region=ap-southeast-2#/templates/list
Just "import template" and if anything is wrong with the template it'll tell you.


Update anndata requirement to anndata>=0.10.1 for next release

For the next release, we need to update the anndata requirement to anndata>=0.10.1. I'm creating an Issue since otherwise I'm bound to forget.
xref: https://github.com/single-cell-data/TileDB-SOMA/issues/1785, https://github.com/single-cell-data/TileDB-SOMA/pull/3141
While doing that we can also drop the py<=37 logic since conda-forge dropped py37 support a while ago.
https://github.com/TileDB-Inc/tiledbsoma-feedstock/blob/21b27689499a1fd8686c16f85ac4431b67dfaae7/recipe/meta.yaml#L102-L103

Thanks @jdblischak !


RESTDataSource’s willSendRequest parameter changes

We are migrating an Apollo server to version 4 and noticed that with the new @apollo/datasource-rest module the behaviour of willSendRequest’s request argument has changed. It no longer contains the path field that it had with apollo-datasource-rest.
According to the latest docs https://github.com/apollographql/datasource-rest#intercepting-fetches , willSendRequest’s first argument is the path but that is not yet available in the latest released version 4.3.2.
I see that with the following PR https://github.com/apollographql/datasource-rest/pull/89/files the functionality was merged but it’s not released yet. Could a version be released with that functionality, please?
Secondly, at the moment in willSendRequest we’re not just updating and adding headers but also doing some modifications to the path. Is this a right place for doing that in your view or would you move that somewhere else?
Thanks

The v5 release should fix this. Thanks a lot @trevor-scheer ❤

Thanks for reporting! In hindsight we should've done this work on a separate version-5 branch, but the intent was for this to all happen relatively quickly so we weren't as diligent as we could've been. Sorry for the confusion and happy v5 day!


clang: Fix "unused function" warnings

Clang warns about some unused static inline functions.  Conditionally compile out these functions.

This also affects some GCC versions so I allowed myself to merge it :)


Enable to define the required feature flag for an API

What this PR does / Why we need it:
There is a need to hide specific classic endpoints under development. For that reason api.API structure is expanded with a new field, and new filtering is added to prepareAPIs function
Special notes for your reviewer:
Does this PR introduce a user-facing change?

lgtm, Only one concern with a general FF name lice "MONACO_EXPERIMENTAL" from my side is that if this gets used more often, it becomes unclear/hard see what exactly this FF is affecting. Imo we can be more specific like "MONACO_FEAT_KUA_API".

lgtm, Only one concern with a general FF name lice "MONACO_EXPERIMENTAL" from my side is that if this gets used more often, it becomes unclear/hard see what exactly this FF is affecting. Imo we can be more specific like "MONACO_FEAT_KUA_API".

Regarding the actual Feature flag, MONACO_EXPERIMENTAL should be a general flag for a new feature so that main is always deployable. Because it is not yet defined what the scope of the new feature, it is questionable whether it should be just key-user-actions-* (e.g. MONACO_FEAT_KUA_API), or the whole (M)RUM support (e.g. MONACO_FEAT_(M)RUM)?
Either way, I don't have strong opinion on the name of the FF.

e2e tests

e2e tests passes now


Regarding Website animations

Hi i am Ram #gssoc24
i want to add some cool scrolling animations in your website
tech stack to be used
-aos.js
-tilt.js
@pooranjoyb

Hii @RamakrushnaBiswal
List down the framer-motion animations you wanna add :)

@pooranjoyb yes sir i can

Go for it! 🚀 @RamakrushnaBiswal

@dev04sa Can you work on this?

@dev04sa Can you work on this? Also are you using Framer Motion ?

Yes I can work on this , with Framer motion.

Go ahead :) 🚀 @dev04sa

Update @dev04sa

@pooranjoyb changes done.


How can I see source code in /restler_bin/restler/Restler?

Description
I am a beginner and I want to know the execution logic of Restler. I would like to see the source code of the program entry point, /restler_bin/restler/Restler, but it is a binary file.
Additionally, I would like to know if it is possible to customize the input Swagger format and the custom format processing function.If possible, which files should I modify?

I am also struggling with the code developed in F# language under the src directory. I am not sure if I need to modify this part of the code if I want to customize Restler, as it is not easy for me to work with F#.


Update changelog for Themis 0.12.0

Can you keep a secret?
It seems we’re going to make a release soon.

Okay, this quickly becomes unwieldy. I thought GitHub’s interface has improved, but apparently it still is not well suited for direct edits.
I’ll merge this PR into pre-release-0.12.0 branch in the main repo and we can continue editing and reviewing there.


count_ones broken for capacity=512

Minimal reproducing example (runnable version):
let v = fixedbitset::FixedBitSet::with_capacity(512usize);
println!("{}", v.count_ones(..));

Expected behavior: Print 0
Actual behavior: panic:
~/workspace/mincounter_fixedbitset$ RUST_BACKTRACE=1 cargo run
    Finished dev [unoptimized + debuginfo] target(s) in 0.0 secs
     Running `target/debug/mincounter_fixedbitset`
thread 'main' panicked at 'index out of bounds: the len is 16 but the index is 16', /checkout/src/libcollections/vec.rs:1401
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
stack backtrace:
   0: <collections::vec::Vec<T> as core::ops::Index<usize>>::index
             at /checkout/src/libcollections/vec.rs:1401
   1: fixedbitset::FixedBitSet::count_ones
             at .../.cargo/registry/src/github.com-1ecc6299db9ec823/fixedbitset-0.1.5/src/lib.rs:168

As far as I can see, I already use the newest version.

Eerily fast.  Awesome, thank you!

There's a bit of backlog with this crate, some unresolved PRs


Remove unused dependency future

The use of future is causing problems because we are bundling dependencies statically for a distribution that targets py2+py3.
It was introduced because of #4 in PR #5
Hard to believe that someone would bundle dependencies, but in our case it's very relevant because we distribute python packages for net-less installation with everything bundled in. We can't use django-q for our packages because future is raising exceptions when loaded on Python 3:
https://github.com/learningequality/kolibri/issues/1797
Anyways, it wasn't used in more than 1 single instance of from builtins import range.
Here are some other advantages:

Project redefines and monkey patches sys.modules for all other packages, perhaps not nice!
106 issues
Removes a dependency, so makes everything nicer :)

I've fixed some more cases where range wasn't loaded in a backwards compatible way. You can say that even though future was added as a dependency, it wasn't used in a couple of cases where it should have (test code).
Reference
There was only one case of accessing something redefined by futures library.
ack-grep --python 'import.*queue'
ack-grep --python 'reprlib'
ack-grep --python 'socketserver'
ack-grep --python 'winreg'
ack-grep --python 'test.support'
ack-grep --python 'import.*html'
ack-grep --python 'html.parser'
ack-grep --python 'html.entites'
ack-grep --python 'import.*http'
ack-grep --python 'http.client'
ack-grep --python 'http.server'
ack-grep --python 'http.cookies'
ack-grep --python 'http.cookiejar'
ack-grep --python 'urllib.parse'
ack-grep --python 'urllib.request'
ack-grep --python 'urllib.response'
ack-grep --python 'urllib.error'
ack-grep --python 'urllib.robotparser'
ack-grep --python 'xmlrpc.client'
ack-grep --python 'xmlrpc.server'
ack-grep --python '_thread'
ack-grep --python '_dummy_thread'
ack-grep --python '_markupbase'
ack-grep --python 'itertools.*filterfalse'
ack-grep --python 'itertools.*zip_longest'
ack-grep --python 'sys.*intern'
ack-grep --python 'collections.*UserDict'
ack-grep --python 'collections.*UserList'
ack-grep --python 'collections.*UserString'
ack-grep --python 'collections.*OrderedDict'
ack-grep --python 'collections.*Counter'
ack-grep --python 'subprocess.*'
ack-grep --python 'subprocess.*getoutput'
ack-grep --python 'subprocess.*getstatusoutput'
ack-grep --python 'subprocess.*check_output'

cluster.py
7:from builtins import range

Codecov Report

Merging #247 into master will decrease coverage by 2.8%.
The diff coverage is 80%.

@@            Coverage Diff             @@
##           master     #247      +/-   ##
==========================================
- Coverage   93.19%   90.38%   -2.81%
==========================================
  Files          40       41       +1
  Lines        2717     2724       +7
==========================================
- Hits         2532     2462      -70
- Misses        185      262      +77

Impacted Files
Coverage Δ

django_q/cluster.py
91.34% <100%> (-0.05%)
:arrow_down:

django_q/tests/test_monitor.py
100% <100%> (ø)
:arrow_up:

django_q/tests/test_cached.py
100% <100%> (ø)
:arrow_up:

django_q/tests/test_cluster.py
100% <100%> (ø)
:arrow_up:

django_q/tests/test_brokers.py
70.58% <100%> (-11.7%)
:arrow_down:

django_q/compat.py
60% <60%> (ø)

django_q/brokers/ironmq.py
0% <0%> (-94.74%)
:arrow_down:

django_q/__init__.py
66.66% <0%> (-33.34%)
:arrow_down:

django_q/signing.py
88.88% <0%> (-11.12%)
:arrow_down:

... and 2 more

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 2190d63...5978165. Read the comment docs.

Nice. The 2.7 compatibility was a bit of an afterthought and I haven't had time to improve it.
At this point I will probably remove 2.7 when Django 2.0 arrives. Thanks for the effort; I will merge it soon.

Django 2.0 will also remove Python 2.7 compatibility - 1.11 is the last to support it: https://docs.djangoproject.com/en/1.11/releases/1.11/#python-compatibility
We have a couple of more additions in our internal branch that I'll ask people to PR upstream - thanks for the great project @Koed00 :)


localhost/:54 Error: (SystemJS) XHR error

Setup
I follow the Setup guide on the top README,  in 5. npm run git.merge, hit the frist error, there are 3 conflicts need to fix.
and i copy the latest version from the master branch, and finish the Setup guide.

Dev
then i just start up the dev server by command npm start,

[14:41:58] Starting 'serve.dev'...
[14:41:58] Starting 'build.dev'...
[14:41:58] Starting 'build.assets.dev'...
[14:41:58] Finished 'build.assets.dev' after 342 ms
[14:41:58] Starting 'build.html_css'...
[14:41:59] Finished 'build.html_css' after 572 ms
[14:41:59] Starting 'build.js.dev'...
[14:42:02] Finished 'build.js.dev' after 3.28 s
[14:42:02] Starting 'build.index.dev'...
[14:42:02] gulp-inject 4 files into index.html.
[14:42:02] gulp-inject 2 files into index.html.
[14:42:02] gulp-inject 1 files into index.html.
[14:42:02] Finished 'build.index.dev' after 137 ms
[14:42:02] Finished 'build.dev' after 4.33 s
[14:42:02] Starting 'server.start'...
[14:42:02] Finished 'server.start' after 89 ms
[14:42:02] Starting 'watch.dev'...
[14:42:03] Finished 'watch.dev' after 149 ms
[14:42:03] Finished 'serve.dev' after 4.57 s
[BS] Access URLs:
 -----------------------------------
       Local: http://localhost:5555/
    External: http://<IP_ADDRESS>:5555/
 -----------------------------------
          UI: http://localhost:3001
 UI External: http://<IP_ADDRESS>:3001
 -----------------------------------
[BS] Serving files from: dist/empty/

that is good, no error, but when i open the page.

Error

localhost/:54 Error: (SystemJS) XHR error loading http://localhost:5555/app/frameworks/analytics/analytics.module.js
	Error: XHR error loading http://localhost:5555/app/frameworks/analytics/analytics.module.js
	    at ZoneDelegate.invokeTask (http://localhost:5555/node_modules/zone.js/dist/zone.js?1476682922782:236:37)
	    at Zone.runTask (http://localhost:5555/node_modules/zone.js/dist/zone.js?1476682922782:136:47)
	    at XMLHttpRequest.ZoneTask.invoke (http://localhost:5555/node_modules/zone.js/dist/zone.js?1476682922782:304:33)
	Error loading http://localhost:5555/app/frameworks/analytics/analytics.module.js as "./app/frameworks/analytics/analytics.module" from http://localhost:5555/web.module.js
	    at ZoneDelegate.invokeTask (http://localhost:5555/node_modules/zone.js/dist/zone.js?1476682922782:236:37)
	    at Zone.runTask (http://localhost:5555/node_modules/zone.js/dist/zone.js?1476682922782:136:47)
	    at XMLHttpRequest.ZoneTask.invoke (http://localhost:5555/node_modules/zone.js/dist/zone.js?1476682922782:304:33)
	Error loading http://localhost:5555/app/frameworks/analytics/analytics.module.js as "./app/frameworks/analytics/analytics.module" from http://localhost:5555/web.module.js "Report this error at https://github.com/NathanWalker/angular-seed-advanced/issues"(anonymous function) @ localhost/:54
http://localhost:5555/app/frameworks/analytics/index.js Failed to load resource: net::ERR_BLOCKED_BY_CLIENT

i check the pacakge.json and node_modules, system.js is here
@NathanWalker can you tell me how to fix it?

hit the frist error, there are 3 conflicts need to fix.

You may have an issue with a conflict resolution?
Do you have link to your commit where you did the merge and I could see if something is awry.
Definitely sounds like misconfiguration.
Worse case, just download see again fresh, follow this and then just drop your code back in.

hmmm, @NathanWalker thanks for your reply, i try it in a empty repo, and work well. so, maybe as you said,

Definitely sounds like misconfiguration.

i will try it again.

but finally faild.
here is my public repos: https://github.com/geminiyellow/bearnose
i delete all files, and create a empty folder and put the zip in ,
it looks like that:

follow this, all is good.
then i try to
# watches your files and uses livereload by default
npm start

[20:04:04] Finished 'serve.dev' after 4.73 s
[BS] Access URLs:
 -----------------------------------
       Local: http://localhost:5555/
    External: http://<IP_ADDRESS>:5555/
 -----------------------------------
          UI: http://localhost:3001
 UI External: http://<IP_ADDRESS>:3001
 -----------------------------------
[BS] Serving files from: dist/empty/

server started, but
localhost/:54 Error: (SystemJS) XHR error loading http://localhost:5555/app/frameworks/analytics/analytics.module.js(…) "Report this error at https://github.com/NathanWalker/angular-seed-advanced/issues"

the same.

i dont know if my mac env or not.
i clone the master branch, and try to run it, and got the same error.
npm run build

------------------------ Angular Seed Advanced is Now Ready ----------------------------

Run your web app with:
  npm start

the desktop version and nativescript version is good, the web version is down.

@geminiyellow
Can you expand that ellipsis in braces just after the name of the js file in error message and provide the full stack trace?
I had a similar issue when upgrading to<EMAIL_ADDRESS>which was because<EMAIL_ADDRESS>dropped support for commonjs module and only supports ES and UMD. To fix it, had to specify it's bundle in SystemJS packages config.
    this.SYSTEM_CONFIG['packages']['ng2-translate'] = {
      main: 'bundles/ng2-translate.js',
      defaultExtension: 'js'
    };

Added the above in tools/config/seed-advanced.config.ts after line 62.

@geminiyellow @sunjith latest master contains a lot of fixes and updates (as of a few minutes ago) including the latest ng2-translate compatible for web and {N}. Closing as I believe this will solve the above. Please clone latest master fresh and give it a shot.

@NathanWalker sorry, but it still here. thanks for your reply sir, i think i can check it out myself. if cannot, i will reopen this.


updated schedule for Day 2

proposed layout of Day 2 to accommodate missed GitHub content

Looks good.
Let's add the links to the slide decks for the opening sessions and :ship: it


Ignore to generate documentation of templates.

What was the end-user problem that led to this PR?
When users invoke rdoc -o rdoc lib, it generates documentation contains template files under the lib/bundler/template like rdoc/lib/bundler/templates/newgem/bin/setup_tt.html
These files are not useful for users.
What is your fix for the problem, implemented in this PR?
I added .document file to its directory.

@bundlerbot r+

@colby-swandale Thanks!


HL-67: add pay subsidy fields and validation rules for application page 2

Description :sparkles:

Add missing fields and validation rules
As per the dicussion with handlers, leave the previously implemented application_logic in place for future extension

Issues :bug:
HL-67
Testing :alembic:
Screenshots :camera_flash:
Additional notes :spiral_notepad:

Codecov Report

Merging #132 (d0ecf9f) into develop (4414351) will increase coverage by 17.88%.
The diff coverage is 97.46%.

@@             Coverage Diff              @@
##           develop     #132       +/-   ##
============================================
+ Coverage    77.11%   94.99%   +17.88%
============================================
  Files          196       68      -128
  Lines         3980     2039     -1941
  Branches       197        0      -197
============================================
- Hits          3069     1937     -1132
+ Misses         852      102      -750
+ Partials        59        0       -59

Impacted Files
Coverage Δ

backend/benefit/applications/api/v1/serializers.py
92.16% <95.00%> (+3.16%)
:arrow_up:

...enefit/applications/tests/test_applications_api.py
99.64% <97.87%> (-0.36%)
:arrow_down:

...ns/migrations/0007_application_page2_new_fields.py
100.00% <100.00%> (ø)

backend/benefit/applications/models.py
92.85% <100.00%> (+0.26%)
:arrow_up:

backend/benefit/applications/tests/conftest.py
100.00% <100.00%> (ø)

backend/benefit/applications/tests/factories.py
100.00% <100.00%> (ø)

backend/shared/shared/oidc/auth.py
86.84% <0.00%> (-1.32%)
:arrow_down:

frontend/kesaseteli/employer/jest.config.js

...ared/browser-tests/components/header.components.ts

...end/kesaseteli/companies/tests/test_company_api.py

... and 128 more

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 4414351...d0ecf9f. Read the comment docs.


Switch to 2.x-maintenance branch of girder for testing

The build error here is fixed by https://github.com/girder/girder/pull/2397

Codecov Report

Merging #217 into master will increase coverage by 0.13%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #217      +/-   ##
==========================================
+ Coverage   89.15%   89.29%   +0.13%
==========================================
  Files          53       53
  Lines        3367     3411      +44
  Branches       89       89
==========================================
+ Hits         3002     3046      +44
  Misses        365      365

Impacted Files
Coverage Δ

server/tilesource/pil.py
99.12% <0%> (+0.55%)
:arrow_up:

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 ef63492...23cb4f4. Read the comment docs.


[3.0pts] Main Page

On the main page, the user can see a list of motorcycles/doctors/classes/items that you selected as a theme.