problem with the memory size

can you help me:
when i installed my binnavi in win2003x32 ,since binnavi started,it remminds of a messagebox with below message:
"you are using binnavi with less than recommended 512 MB of memory. please check binnavi.bat in your binnavi directory to find out how to increase the available memory"
I can not find the binnavi.bat:(,I installed binnavi by download the binnavi-all.jar from the release link,
and don't know how to increase the availabel memory like the message told me to

See https://github.com/google/binnavi/blob/master/src/main/java/com/google/security/zynamics/binnavi/data/binnavi.bat.

Yes that error message simply assumes BinNavi was installed using the Windows Installer package. @Manouchehri had the right idea :)


Object.defineProperty IE8 compatibility issue 1.0.0-beta1

Hello
I noticed that in the packaged version of react-router 1.0.0-beta1, there is still an
	Object.defineProperty(exports, 'createRoutesFromReactChildren', {
	  enumerable: true,
	  get: function get() {
	    return _RouteUtils.createRoutesFromReactChildren;
	  }
	});

wich cause IE8 to loose his mind since Object.defineProperty can only be used on DOM object and cannot be polyfilled.
It look like its generated by babel, https://babeljs.io/docs/advanced/loose/
i mitigated this problem on my own lib by using this configuration
    {
      test: /\.jsx$/,
      exclude: /node_modules/,
      loader: 'babel-loader',
      query: {
        loose: true
      }
    }

thanks @cateland


Allow DropDownMenuItem to be disabled.

Have a property for DropDownMenuItem to be disabled or not
Doing this, item wont be selected if user selects on a disabled item.
This is very useful in showing tree like dropdown with parent and child where parent cannot be clicked.

Hi @chitgoks
This seems to be currently possible now. Here is a screenshot of the API docs

Related issue #75487

I would like to work on this issue.


return parking pass with pop up notification

basic basic implementation. Just prompt users with a pop-up asking them to confirm that they want to cancel. We can implement backend later

@wnorowskie can you have the confirmation button navigate to the parking page


Explore terminal completion provider extension API

Now that the terminal suggest is getting more reliable and feature complete, we should look into what a completion provider could look like in the extension API. Some examples of where this would be useful:

Providing completions for shells we don't support yet, like integrating fig completion specs.
A provider for git that added smarts beyond what we can do in pwsh. For example it could complete git clone https:// to git clone https://github.com/ and provide the user's orgs/forks when completing https://github.com/, etc.

@meganrogge you might be tracking this one elsewhere


/stop command bricks the server

I can't start the server back up after using the /stop command. Container still running but server is inaccessible.

I have never heard of this happening before. Please provide more details like logs and how you created container.
In any case, I'm not sure how this is an issue with the docker image and should be reported to Mojang.

Seems all I had to do was physically restart the machine hosting the container. ¯_(ツ)_/¯


ImportError: cannot import name 'RESULT_STATUS_RUNNING' from 'orochi.website.models'

In the 2.2.2 version, I tried to import a dump with management command like below:
sudo docker-compose run --rm django_wsgi python manage.py import_local --filepath /media/uploads/Windows11.vmem --name Windows11test --os windows --author tester
However, it is resulted with the error below:

Traceback (most recent call last):
File "/app/manage.py", line 31, in
execute_from_command_line(sys.argv)
File "/usr/local/lib/python3.12/site-packages/django/core/management/init.py", line 442, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python3.12/site-packages/django/core/management/init.py", line 436, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/django/core/management/init.py", line 275, in fetch_command
klass = load_command_class(app_name, subcommand)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/django/core/management/init.py", line 48, in load_command_class
module = import_module("%s.management.commands.%s" % (app_name, name))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/importlib/init.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1387, in _gcd_import
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
File "", line 995, in exec_module
File "", line 488, in _call_with_frames_removed
File "/app/orochi/website/management/commands/import_local.py", line 9, in
from orochi.website.models import (
ImportError: cannot import name 'RESULT_STATUS_RUNNING' from 'orochi.website.models' (/app/orochi/website/models.py)

There were an issue importing variable because from 2.2.0 to 2.3.0 defaults has been moved to a dedicated file.
But the issue should be in 2.3.0 "new" dev branch (now fixed) while master (2.2.0) should works without issues with old code.
Probably we created a not valid 2.2.0 image (we did a lot of test with multiarch lately and something probably went wrong :( ), we'll try to generate a new one asap.

I have deployed the 2.2.3 version but this time orochi_django_wsgi has some issues to start.

/usr/local/lib/python3.12/site-packages/regipy/plugins/ntuser/shellbags_ntuser.py:136: SyntaxWarning: invalid escape sequence '\d'
if re.match("\d+", v.name):
/usr/local/lib/python3.12/site-packages/regipy/plugins/usrclass/shellbags_usrclass.py:136: SyntaxWarning: invalid escape sequence '\d'
if re.match("\d+", v.name):
Traceback (most recent call last):
File "/app/manage.py", line 31, in
execute_from_command_line(sys.argv)
File "/usr/local/lib/python3.12/site-packages/django/core/management/init.py", line 442, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python3.12/site-packages/django/core/management/init.py", line 436, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/local/lib/python3.12/site-packages/django/core/management/base.py", line 413, in run_from_argv
self.execute(*args, **cmd_options)
File "/usr/local/lib/python3.12/site-packages/django/core/management/base.py", line 454, in execute
self.check()
File "/usr/local/lib/python3.12/site-packages/django/core/management/base.py", line 486, in check
all_issues = checks.run_checks(
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/django/core/checks/registry.py", line 88, in run_checks
new_errors = check(app_configs=app_configs, databases=databases)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/django/core/checks/urls.py", line 14, in check_url_config
return check_resolver(resolver)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/django/core/checks/urls.py", line 24, in check_resolver
return check_method()
^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/django/urls/resolvers.py", line 519, in check
for pattern in self.url_patterns:
^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/django/utils/functional.py", line 47, in get
res = instance.dict[self.name] = self.func(instance)
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/django/urls/resolvers.py", line 738, in url_patterns
patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/django/utils/functional.py", line 47, in get
res = instance.dict[self.name] = self.func(instance)
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/django/urls/resolvers.py", line 731, in urlconf_module
return import_module(self.urlconf_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/importlib/init.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1387, in _gcd_import
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
File "", line 995, in exec_module
File "", line 488, in _call_with_frames_removed
File "/app/config/urls.py", line 17, in
path("ya/", include("orochi.ya.urls", namespace="ya")),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/django/urls/conf.py", line 39, in include
urlconf_module = import_module(urlconf_module)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/importlib/init.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1387, in _gcd_import
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
File "", line 995, in exec_module
File "", line 488, in _call_with_frames_removed
File "/app/orochi/ya/urls.py", line 2, in
from orochi.ya import views
File "/app/orochi/ya/views.py", line 5, in
import yara
ModuleNotFoundError: No module named 'yara'

@esebese it was my fault! during an update I wanted to bring the docker go image to compile yara inside the major release but forgot something... now reverted back! sorry!

It works without an issue now. Thanks!


Use local https://github.com/gomods/athens in tests to improve unit test timing.

Currently, it is on the edge of 10m. https://github.com/bwplotka/bingo/pull/27/checks?check_run_id=754080749

Actually athens makes it just much worse, most likely because of CPU time needed in GH actions: https://github.com/bwplotka/bingo/pull/30/commits/bf0e447fdfec25716a9bf34de189e2efe1663927
(kind of same results for local run).
Closing for now, we found some other way to make CI faster.


show word/command description like type command

since commit d9ce623, type is no longer command name.
if may support traditional type command, use alternative command name such as whence


[3.0][hotfix] Remove useless flink import

Could you help check the failure test?
Dec 03 08:58:36 08:58:36.227 [ERROR]   FlinkPipelineComposerITCase.testSingleSplitSingleTable:123 » Execution org.apa...

@PatrickRen Would you like to fix the failure test ?

@leonardBang Unfortunately I can't see the full stacktrace of the error (#2804 should fix it), but I'll keep monitoring the case.


New package: DS9 v0.1.0

Registering package: DS9
Repository: https://github.com/JuliaAstro/DS9.jl
Created by: @emmt
Version: v0.1.0
Commit: 4e70dc70b78628a17a834e345cac668ff8fa8171
Git reference: master
Release notes:

This package is to interact with DS9 (a.k.a. SAOImage) via the XPA Messaging System.

The compatibility issue should be solved now.
[noblock]

@emmt

The following dependencies do not have a [compat] entry that is upper-bounded and only includes a finite number of breaking releases: XPA

My fault, I forget to push my changes...
[noblock]

How do I trigger a new attempt to auto-merge ?

You need to re-register as you did before, without changing the version number

OK thank you. So I made a mistake by changing the version number. Now I see that the PR for the v0.1.0 has been closed so that only the PR for the v0.2.0 is open. Sorry for the disturbance...

No worries. Just make a new registration.

That being said, I really strongly recommend a longer name. How aboit either of these?

SAOImageDS9.jl
SAOImage.jl

To make sure that I understand what you mean by:

No worries. Just make a new registration.

shall I resubmit my changes in Register Packages at https://juliahub.com ?
About your second point. The reasons to have a short package name are that no methods are exported to avoid type-piracy or ambiguities so all methods are called as DS9.method(args...).  A possible workaround to satisfy the guidelines can be to suggest doing:
import SAOImageDS9
const DS9 = SAOImageDS9

or (with Julia ≥ 1.6):
import SAOImageDS9 as DS9

Another possibility is to rename DS9.jl as SAOImageDS9.jl as you suggested and modify in the main source file to something like:
module SAOImageDS9
export DS9
const DS9 = SAOImageDS9
# everything else remain unchanged
...
end

This latter solution has my preference because a shortcut is automatically provided if the user call using SAOImageDS9 while another shortcut can still be used with import ... as .... Do you see any inconveniences to this solution?

Sorry to bother you again but if I change the package name, shall I do anything to cancel/close any previous attempts to register with the old name?

To make sure that I understand what you mean by:

No worries. Just make a new registration.

shall I resubmit my changes in Register Packages at juliahub.com ?

Yes, whatever you did to register before.  Just do it again.

Sorry to bother you again but if I change the package name, shall I do anything to cancel/close any previous attempts to register with the old name?

Leave a comment in the pull request that you want it to be closed, someone will see and close it

@giordano as DS9.jl is part of JuliaAstro, do you see any inconveniences for changing the name of the package before making it an official one?

No, not at all.  I don't think it is widely used (yet!), so few people will be affected by the rename

I have just renamed the package as SAOImageDS9 to meet the guidelines and re-register the package.  So this PR can be closed. Thanks everyone for the help!


Final release 1.0.0

Finally, create another release for your project repo (1.0.0) and submit to Canvas.

Done


Keybindings View: Support multiple bindings per-action

It would be nice to set multiple keybinds to one action, especially considering many actions default to having multiple bindings. Currently you cannot see any other than the first, so this would clean up that too.

Workaround: Can edit keybindings.json in ~/.binaryninja (or platform equivalent) and define a keybinding as a list of strings.


Is there need to fluent-router?

The syntax will be like:
router
    .add(fragment)
    .animate();

router
    .start(activity)
    .finishThis();

It was replaced with static import methods system.


fix(config): update Zooz ZEN30 to latest revisions

PR description here;
Had to assume minimum level for this device was 1.5 (I'm assuming that 1.05 gets read as 1.5 per normal convention) The current file seemed to make that assumption too as param 22 was missing, 24, 25. and 26 were already added. I did not understand some of the "If" firmware statements, so changed them to how I understand it.
Quite a mess of firmware revisions. Params 28, 29 and 30 were added for 1.11, missing from 2.0, added back in 2.11, dropped for 3.0 and finally added for good in 3.10.  It should be close, so take a look if you have anytime for device configs.
Would close #6624

No problem.  Was just trying to help (it was labeled : Help Wanted).  Actually kind of forgot about it


Dunfell

Note: This PR gets used by ci4rail/ci.os.lmp#5

[x] Added versioning
[x] workaround for read-only root fs

@KlausPopp this can be reviewed now.

This PR gets closed in favor of #4


Can sparse fieldset support be made optional?

As written right now, I read the sparse fieldset section to imply that all servers are required to support sparse fieldsets, because they "MUST NOT include additional fields in the response" when a client specifies restricted fields.
Is it possible to treat this more like sorting, pagination, and filtering, where support for sparse fieldsets is optional, but either should be done in a certain way, or has certain reserved query parameters? As written, it's the only query parameter that all servers are required to support - the rest are all optional.

Sorting, pagination, and filtering all have varying degrees of applicability and difficulty in implementation for different applications.
However, sparse fieldsets should be very straightforward to implement and can provide a benefit by greatly reducing payload size. This is something that we want clients to be able to rely upon.

Interesting - from my perspective, I've actually used sorting and filtering much more broadly, but that might just be because I'm mostly working on my own APIs.
For example, if I'm building a somewhat minimal API from scratch for internal use, I can often already have a pretty good idea ahead of time of what fields I will care about, and I don't particularly care about payload size, but I often want a bit of flexibility on the front end to specify which rows to display rather than which columns.
In some sense, filtering and sorting are also pretty easy, though. They're nearly trivial if your collection is backed by a database and you are using an ORM, but in general filtering and sorting on arrays of objects is not difficult in any language - Array.prototype.filter and Array.prototype.sort are pretty straightforward, no?
As one other point, if I'm not misreading the GitHub API docs, as a basic example, many of them support operations along the lines of filtering and sorting, but not restricting fields, e.g.: https://developer.github.com/v3/repos/#list-user-repositories

I don't have any more points to make here. Please close this issue if you don't think this change is called for.

I wanted to give others a chance to chime in, but since no one else has I'm going to close. Thanks for raising this @taion.

Thanks for considering this issue. I still think this might lead to a number of implementations that are "mostly" consistent with JSON API in that they will implement the correct format for messages, but may not necessarily implement this feature, but I guess I have to add support for this on my API now. (:


Sector - Open Contracting - Content Review

Add/Edit content for projects and sectors here
Open Contracting

Project
Cover Image
Title
Short Description
Long Description
Images
Partner Details
Social Links
Blogs
Bandhus

[Project Name]
✔
✔
✔
✔
❌
✔
✔
✔
✔

Done. Please review.

@preethical can you add the projects for which you have added content in the table above and mark ✔ or ❌ . We can review then review. Also, do not close the issue, we'll do it after reviewing the content.

@preethical check this - #54
comment from @aruncdl

I have added an image for public procurement (called option-1) please feel free to use it or not. depending on how it looks on the page.

@akkisagiraju you can check this and close.

Updated the cover image.


COAP adapter doesn't respond on /version endpoint

BUG REPORT

What were you trying to achieve?
To get version on COAP adapter /version endpoint
What are the expected results?
version response
What are the received results?
Connection refused
What are the steps to reproduce the issue?
with curl version endpoint on server
In what environment did you encounter the issue?
kubernetes
Additional information you deem important:
Coap adapter should listen for both UDP connections and HTTP connections, but in this code we have them listening on same port, so http listener doesn't work

Sorry, this is bug for devops repo, not here.
TCP and UDP can share same port number.
In helm charts (devops repo) this port is exposed only for UDP instead of both UDP and TCP like here:
https://github.com/mainflux/mainflux/blob/master/docker/docker-compose.yml#L287-L288


Ensure all msgs are batch verified + don't re-alloc

If there are more messages that public keys only the messages that have public keys are verified because of how zip works. Also, allocate (message hash, pubkey) Vec using with_capacity to avoid needing to re-alloc.

@psivesely can you run cargo fmt on the repository?


Update  MMM-COVID19-AMPEL.js

Patch for CSV data source update.

Thanks... They changed the file a lot lately.

Thanks, will do the merge


Help with mixins, icons not showing

I'm usign laravel 6 that work with webpack, i do this imports on app.scss:
//material-icons
$material-icons-font-path: '~material-icons/iconfont/';
@import '~material-icons/iconfont/material-icons.scss';
@import '~material-icons/iconfont/codepoints.scss';
@import '~material-icons/iconfont/mixins.scss';
@import '~material-icons/iconfont/variables.scss';
@import '~material-icons/css/material-icons.scss';
I add more imports than you recomend.
And then i use this to put an icon in a button, just for trying:

I run: npm run dev(and i use too: npm run watch), and reload deleting cache from browser and i get this:

The material icons when i use the span tag is working well, but when i use the mixins that happens. Can you help me please?

Sorry for the late response. You might be missing the .material-icons class. You can add it to the button class but it is not recommended:
.btn-secondary:before {
  @extend .material-icons;
}

It is better to display the icon using a separate element instead of modifying a common class:
<button class="btn-secondary">face...</button>


CASSANDRA-10726: add dtest to verify it works

You need to fix the style issues that the linter is warning about, and also if you could match the string interpolation style laid out in CONTRIBUTING.md, that would be much appreciated.
The test itself looks good.


Wrong closures of search instances with Elasticsearch tests

There are some executions for which we got some errors starting a new Hibernate Search instance for a new benchmark (start trial).
My personal idea is that the old instances of Search seem to be not properly closed.
With Search 6 we got the following error:
12:30:50,374 (Hibernate Search - default backend - Transport thread - 1) ERROR RootFailureCollector:229 - HSEARCH000521: Hibernate Search encountered a failure during bootstrap; continuing for now to list all problems, but the process will ultimately be aborted.
Context: Hibernate ORM mapping, type 'org.hibernate.performance.search.model.entity.BusinessUnit'
Failure:
org.hibernate.search.util.common.SearchException: HSEARCH400007: Elasticsearch request failed: HSEARCH400090: Elasticsearch response indicates a failure.
Request: DELETE /businessunit-000001 with parameters {}
Response: 400 'Bad Request' from 'https://vpc-ci-elasticsearch-78-r5-membawptnueqlpmzkr677lwzoa.us-east-1.es.amazonaws.com' with body
{
  "error": {
    "root_cause": [
      {
        "type": "snapshot_in_progress_exception",
        "reason": "Cannot delete indices that are being snapshotted: [[businessunit-000001/z3yXF5U2TfaZFvNYS8AdfA]]. Try again after snapshot finishes or cancel the currently running snapshot."
      }
    ],
    "type": "snapshot_in_progress_exception",
    "reason": "Cannot delete indices that are being snapshotted: [[businessunit-000001/z3yXF5U2TfaZFvNYS8AdfA]]. Try again after snapshot finishes or cancel the currently running snapshot."
  },
  "status": 400
}

With Search 5 the following error:
18:56:38,715 (org.hibernate.performance.search.elasticsearch.ElasticsearchAutomaticIndexingPerformanceTest.update_questionnaire-jmh-worker-3)  INFO SchemaDropperImpl$DelayedDropActionImpl:526 - HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down'
<failure>

org.hibernate.search.exception.SearchException: HSEARCH400007: Elasticsearch request failed.
Request: DELETE /org.hibernate.performance.search.model.entity.answer.questionnaireinstance with parameters {}
Response: 400 'Bad Request' with body
{
  "error": {
    "root_cause": [
      {
        "type": "illegal_argument_exception",
        "reason": "Cannot delete indices that are being snapshotted: [[org.hibernate.performance.search.model.entity.answer.questionnaireinstance/66gPHYCxRde1v1Pp-EXyaw]]. Try again after snapshot finishes or cancel the currently running snapshot."
      }
    ],
    "type": "illegal_argument_exception",
    "reason": "Cannot delete indices that are being snapshotted: [[org.hibernate.performance.search.model.entity.answer.questionnaireinstance/66gPHYCxRde1v1Pp-EXyaw]]. Try again after snapshot finishes or cancel the currently running snapshot."
  },
  "status": 400
}

Update: it seems that we have a similar issue at shutdown too:
18:56:38,715 (org.hibernate.performance.search.elasticsearch.ElasticsearchAutomaticIndexingPerformanceTest.update_questionnaire-jmh-worker-3)  INFO SchemaDropperImpl$DelayedDropActionImpl:526 - HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down'
<failure>

org.hibernate.search.exception.SearchException: HSEARCH400007: Elasticsearch request failed.
Request: DELETE /org.hibernate.performance.search.model.entity.answer.questionnaireinstance with parameters {}
Response: 400 'Bad Request' with body
{
  "error": {
    "root_cause": [
      {
        "type": "illegal_argument_exception",
        "reason": "Cannot delete indices that are being snapshotted: [[org.hibernate.performance.search.model.entity.answer.questionnaireinstance/66gPHYCxRde1v1Pp-EXyaw]]. Try again after snapshot finishes or cancel the currently running snapshot."
      }
    ],
    "type": "illegal_argument_exception",
    "reason": "Cannot delete indices that are being snapshotted: [[org.hibernate.performance.search.model.entity.answer.questionnaireinstance/66gPHYCxRde1v1Pp-EXyaw]]. Try again after snapshot finishes or cancel the currently running snapshot."
  },
  "status": 400
}

Update: it seems that we have a similar issue at shutdown too:
18:56:38,715 (org.hibernate.performance.search.elasticsearch.ElasticsearchAutomaticIndexingPerformanceTest.update_questionnaire-jmh-worker-3)  INFO SchemaDropperImpl$DelayedDropActionImpl:526 - HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down'
<failure>

org.hibernate.search.exception.SearchException: HSEARCH400007: Elasticsearch request failed.
Request: DELETE /org.hibernate.performance.search.model.entity.answer.questionnaireinstance with parameters {}
Response: 400 'Bad Request' with body
{
  "error": {
    "root_cause": [
      {
        "type": "illegal_argument_exception",
        "reason": "Cannot delete indices that are being snapshotted: [[org.hibernate.performance.search.model.entity.answer.questionnaireinstance/66gPHYCxRde1v1Pp-EXyaw]]. Try again after snapshot finishes or cancel the currently running snapshot."
      }
    ],
    "type": "illegal_argument_exception",
    "reason": "Cannot delete indices that are being snapshotted: [[org.hibernate.performance.search.model.entity.answer.questionnaireinstance/66gPHYCxRde1v1Pp-EXyaw]]. Try again after snapshot finishes or cancel the currently running snapshot."
  },
  "status": 400
}

This has nothing to do with Hibernate Search. It's exactly as the exception tells you: "Cannot delete indices that are being snapshotted". AWS performs regular snapshots of indexes, and during those snapshots we cannot delete indexes. It's really annoying for testing, since we cannot disable snapshotting or affect scheduling in any way.
Let's use a local instance of ES for now. It will skew the results, but at least the benchmark will succeed.
Next step will be finding a way to start an Elasticsearch service on another machine, from the Jenkinsfile. Not so easy, from what I can see. I guess we could use awscli if need be...

This has nothing to do with Hibernate Search. It's exactly as the exception tells you: "Cannot delete indices that are being snapshotted". AWS performs regular snapshots of indexes, and during those snapshots we cannot delete indexes. It's really annoying for testing, since we cannot disable snapshotting or affect scheduling in any way.
Let's use a local instance of ES for now. It will skew the results, but at least the benchmark will succeed.
Next step will be finding a way to start an Elasticsearch service on another machine, from the Jenkinsfile. Not so easy, from what I can see. I guess we could use awscli if need be...


owning-a-home/rate-checker: Code cleanup + additional coverage

Removals

Removed unused isNum dependency.

Changes

Moves delay utility to rate-checker utility and adds test coverage.
Removes jquery from renderLocation and renderMedian.
Cleans up unneeded parameter in updateTerm call.

Testing

gulp clean && gulp build
Visit /owning-a-home/explore-rates/ and change state drop-down and see that state and median above chart changes.
gulp test:unit should pass.

the package-lock.json file should be updated.


updates for release preparation

This PR does not modify behaviour, just cleans up the package for release preparation

simplify CMakeLists and package.xml
use packafe format 2
add install tags for release
add roslaunch checks

@MDierschke-SickAG: please review and merge.

@MDierschke-SickAG: thanks!


feat(nav-links): improve API contract + tweaks

Description
Improve nav-links API to support more of a tree-like structure
What's included?

Improve API to support first level links rather than just nested.
Make the collapsable groups visually more consistent and easier to use (no expansion panel).
Make collapsable groups optional.
Add launch icon depending if its opening a new tab or not

Test Steps

[ ] npm run serve:experimental
[ ] Play with links input

General Tests for Every PR

[ ] npm run serve:prod still works.
[ ] npm run tslint passes.
[ ] npm run stylelint passes.
[ ] npm test passes and code coverage is not lower.
[ ] npm run build:lib still works.

Christian fixed it on a different PR


[Fix] Only match valid locales from project. Allow hyphenated locales.

Fixes https://github.com/datocms/next-landing-page-demo/issues/7 and partial fix for https://github.com/datocms/next-landing-page-demo/issues/8:

Path
Before
After

/not-a-locale/missing.ext
500 ❌
404 ✅

/it_CH
Redirects to /en/it_CH ❌
Displays it_CH content ✅  (Does not fall back to /it)

Previously, the middleware was incorrectly parsing pathnames with periods in there, treating them as locale slugs. Now it correctly 404s if the first part of the path isn't a locale in the project.
Separately, adding a specific locale code with a region would break the frontend. This allows that content to be displayed correctly. It does NOT SEO-format them (e.g., it_CH/posts/blahblah does not become it-ch/posts/blahblah).

HTTP 500 problem still persists on the preview page https://company-website-demo-preview-git-fix-invalid-locales-datocms.vercel.app/not-a-locale/missing.ext

@dmarkowicz 500 should work on hosted version too now: https://company-website-demo-preview-git-fix-invalid-locales-datocms.vercel.app/not-a-locale/missing.ext


It should be possible to make a (mekko) with km2 as the unit

Right now, km2 is not recognized as a unit I think and neither is m2...

Now I have used 'PJ' instead of 'km2' in this draft of a bio-footprint Mekko:

Is this chart only on your local machine? I can't find it on beta.
Either way, m2 (and km2, Mm2, Gm2, etc) should now be useable in the Mekko chart.

Is this chart only on your local machine?

Yes, still local!

Either way, m2 (and km2, Mm2, Gm2, etc) should now be useable in the Mekko chart.

Thanks!

I just realised that the normal 'scaling law' for multiples of 1000 does not apply to m2 (because it is a square). So, 1 km2 = 1e6 m2 = 1e-6 Mm2. So, I think that the current chart shows values that are a factor 1000 too small:

@antw Would it be possible to force the unit to be km2? Some values will be large (order 10_000 km2) but it is a unit that people will recognise.

the normal 'scaling law' [...] does not apply to m2 (because it is a square)
Would it be possible to force the unit to be km2? Some values will be large (order 10_000 km2) but it is a unit that people will recognise.

This isn't currently possible, but it's a sensible observation. :+1:
I'll see what I can do about it early next week.

I'll see what I can do about it early next week.

:+1:

Possible now 🙂


Use of plugin @babel/plugin-syntax-dynamic-import

Attempt to fix the date selector issues in prod...still not sure why it works locally without adding anything.
I'm open to any other suggestions. If not, I'll create an alternative way of having a date selector.

@alicia-mbta I haven't looked at this yet, but if you need to test this on the server you can probably feel free to deploy this branch to dev-green. Since other than your change it's still the feature branch we can continue testing with it.

@alicia-mbta I haven't looked at this yet, but if you need to test this on the server you can probably feel free to deploy this branch to dev-green. Since other than your change it's still the feature branch we can continue testing with it.

True, thanks! on it


Use https:// in gem paths

The git source `git://github.com/jekyll/jekyll.git` uses the `git` protocol, which transmits data
without encryption. Disable this warning with `bundle config git.allow_insecure true`, or switch
to the `https` protocol to keep your data secure.

Thanks but no thanks. :
I prefer to allow bundle config git.allow_insecure true, and keep a less verbose syntax.

@ashmaroli I added the default bundler init line, thanks for your input.
git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }

That's a better, cleaner alternative to mine. :+1:


Something went wrong during completion. Reason: You exceeded your current quota, please check your plan and billing details

Please Fix This issue

It means, that your exceeded you OpenAI API quota. You need to pay for it


Fix autocomplete for enums with companion objects

Fix for https://github.com/fwcd/KotlinLanguageServer/issues/63
The loading of descriptors was stopping after looking at the companion object when it should have also looked at the enum for more autocomplete options.  This is my first PR here so feel free to recommend a better implementation.

Looks good to me, thank you!


Add binary_comparison_metrics_plot with ROC curves

This starts on #41 but only does ROC curves. My thought is maybe we could add more plots in PRs over time, unless someone had dedicated time to do it all soon.

I need to fix the docs example here-- this function is only for binary classifiers, but the one I tried to use has 6 classes

This should maybe be done on top of #45 instead

Might be superseded (or incorporated into!) #71


display schedules in participant data view

Description
Add the list of schedules to the participant data view.
User Impact
Shows the list of schedules in the participant data tab when viewing a participant.
Demo

@SmittieC @stephherbers do you think this should be here or in a new tab. One issue is that they should not be editable so perhaps a new tab is better?
Docs

I think a new tab with a pretty display will be nice yeah


[Codegen] Add an op for fusing forall ops

This fuses a single result, single use producer scf.forall op with
a specified consumer, inserting an iree_gpu.tensor_shuffle at the
boundary and remapping the thread indices of the producer to the basis
of the consumer.

Ill wait for the dependent commit to land. This probably needs to be updated since the shuffle ops in the lit test still use intermediate tensor.

@MaheshRavishankar I know you approved earlier, but did you want to take another look based on your last comment?


Add parameters to TweenAnimation and a way to access them in the editor via "%parameter_name"

When using lots of TweenAnimation in code with dynamic values to target, it can quickly become cumbersome to use metadata or properties on the node as you have to declare one per dynamic value and make sure two animations that can run in parallel don't use the same one.
To that effect I've added a Dictionary to Tween Animation to be able to set parameters directly on the animation.
It comes with set_parameter, remove_parameter, remove_all_parameters, and get_parameters methods and the parameter can be accessed via the editor by using "%parameter_name" like you would with "$" or "@" for properties or meta data.
This allow to have a more compact code and avoid properties used only for tween targets and it works great with loops.
 if (ActivateAnimation != null)
 {
     Vector3 targetPosition = Position;
     foreach(DominoCell cell in _cells)
     {
          targetPosition += Offset;
          ActivateAnimation.SetParameter("Position", targetPosition);
          ActivateAnimation.Setup(cell);
      }
}

Used like this :

I started by using the TweenAnimation metadata directly but I finally went back and prefered to add the dictionary to separate the two features in case someone wanted to use meta data on the TweenAnimation for other purposes.
I tested all methods with the C# bridge that I also updated, but because it calls the GDScript methods I'm pretty sure it works with GDScript as well.

The feature looks fine. Address my comments and I will merge it.

Great, I'll try to fix everything tomorrow if I find the time.
I also left a few questions for you in various comments if you have the time.
I was also thinking in a next PR having the duration and delay as Variant to benefit from the feature to get dynamic values.

I was also thinking in a next PR having the duration and delay as Variant to benefit from the feature to get dynamic values.

That would mean they are no longer SpinBox, so less friendly for numeric input.
It could be an additional property (e.g. duration_expression), which would be ignored if empty.

Yeah I can do that. That would also take care of versionning as I don't know if changing the type would break serialization of existing data or if the float would have been converted automatically to Variant.
Maybe I can have an enum that would display one or the other ? instead of having two fields always there.

An enum is still additional field though, unless you put it in the same line (for which there is no enough space I think).

Thanks.


bugfix/unregistration memfile event handling

Description
The new introduced "active register/unregister logic" calls depending on the connection type specific functions like (AddLocConnection/RemLocConnection,AddExtConnection/RemExtConnection) for the SHM and UDP data writer (TCP was just not handled for now).
The RemLocConnection was not called in that context before the new unregister/register logic and is closing the 2 connection events for updating and acknowledging memory file data transfer/receive. This leads to a dead shm connection when the subscriber on the other side is destroyed (triggering RemLocConnection in the publishing process) and created again.
Solution: Events are not closed on that level but are cleaned up together with the memory file resource (CSyncMemFile) properly.
Related issues
No issue now, will be created soon ..
Cherry-pick to

5.11 (old stable)
5.12 (current stable)

Now it doesn't work in the case that the subscriber is calling finalize() and initialize()

Yes, and I assume that this issue is existing independent from that "fix". I will check this again.

mixed up bugfixes and code cleanups + did not really fix the issue


fix(ho): honor deprecated global config fields

What this PR does / why we need it:
Fixes #1630
Which issue(s) this PR fixes (optional, use fixes #<issue_number>(, fixes #<issue_number>, ...) format, where issue_number might be a GitHub issue, or a Jira story:
Fixes #1630
Checklist

[x] Subject and description added to both, commit and PR.
[x] Relevant issues have been referenced.
[ ] This change includes docs.
[x] This change includes unit tests.

/hold

/unhold

/lgtm
/retest-required
/approve


Broken @import declaration of<EMAIL_ADDRESS>

upd from 0.16 to 0.17 and not getting the following error:

using
"clean-css"<EMAIL_ADDRESS>and
"src": {
      "main": "App",
      "defaultExtension": "ts",
      "meta": {
        "*.js": {
          "loader": "ts"
        },
        "*.ts": {
          "loader": "ts"
        },
        "*.css": {
          "loader": "css"
        }
      }

and my imports are:
import 'twbs/bootstrap/dist/css/bootstrap.css';
or
import 'twbs/bootstrap/dist/css/bootstrap.css!';

any help is appreciated
regards
Sean

Did you say you had fixed this?

sorry it was a config issue on my part so closing.
Now on a completely different topic do you know of any examples of hot reload with typescript using ng2,  as I could not get that working... tx Guy.


8 second hang running gitu - can't find .git/MERGE_HEAD

Hey I ADORE this tool and use it countless times throughout my day
I'm sure there's an easy fix for this issue on my end but figured it was worth flagging here in case others run into it...
I'm seeing an 8s delay when running gitu in one of my repos (blank terminal, but then the interface appears and it works smoothly, though operations like staging & unstaging files take a second or two). Here's the output from gitu --log
[00:00:00.000] (1f2163240) DEBUG  Initializing terminal backend
[00:00:00.000] (1f2163240) DEBUG  Starting app
[00:00:00.000] (1f2163240) DEBUG  Finding git dir
[00:00:00.008] (1f2163240) DEBUG  Opening repo
[00:00:00.009] (1f2163240) DEBUG  Initializing config
[00:00:00.009] (1f2163240) INFO   Loading config file at "/Users/david/.config/gitu/config.toml"
[00:00:00.010] (1f2163240) DEBUG  Creating initial state
[00:00:00.068] (1f2163240) WARN   Couldn't read /Users/david/src/work/console-fe/.git/rebase-merge/onto, due to No such file or directory (os error 2)
[00:00:00.068] (1f2163240) WARN   Couldn't read /Users/david/src/work/console-fe/.git/MERGE_HEAD, due to No such file or directory (os error 2)
[00:00:00.068] (1f2163240) WARN   Couldn't read /Users/david/src/work/console-fe/.git/REVERT_HEAD, due to No such file or directory (os error 2)
[00:00:08.187] (1f2163240) DEBUG  Initial update
[00:00:08.189] (1f2163240) TRACE  registering event source with poller: token=Token(0), interests=READABLE
[00:00:08.190] (1f2163240) TRACE  registering event source with poller: token=Token(1), interests=READABLE

I've check and gitu is working normally in other repos.
Any suggestions about the best way to rectify this without re-cloning the repo? git seems to be working fine 🤔

Ah, after making a commit using git from the command line it seems to have fixed itself 🤔
My best guess is that my repo was in a funny state because I'd updated git (and gitu) last night and somehow completing an operation with the new git version did some kind of cleanup
Happy to close this issue unless you've got any followup questions for me

@idmyn hmm that's not good!
Do you have any pre-commit hooks running?

gitu --version is gitu 0.25.0 (installed via nix)
don't think I have any pre-commit hooks (there's husky in the repo but I've disabled it with an environment variable)
output of ls .git/hooks is
applypatch-msg.sample
commit-msg.sample
fsmonitor-watchman.sample
post-update.sample
pre-applypatch.sample
pre-commit.sample
pre-merge-commit.sample
pre-push.sample
pre-rebase.sample
pre-receive.sample
prepare-commit-msg.sample
push-to-checkout.sample
update.sample

Hard to tell what's going on here. :thinking:
Does work in this repo involve a lot of diffing files / maybe large binary files?
Does it contain git submodules?
Every time an action is taken, the UI (and internal state) is updated with the current state of git.
So my guess is that this process becomes too slow for some reason.
Pressing g does exactly this, a refresh.


Change constructor signature for CallbackIntercace.

Use ssl_context parameter in Flask.run
Description
Enable passing the ssl_context to CallbackTelegramInterface. Change class constructor signature.
https://github.com/deeppavlov/dialog_flow_demo/issues/5
Checklist

[ ] I have covered the code with tests
[ ] I have added comments to my code to help others understand it
[x] I have updated the documentation to reflect the changes
[x] I have performed a self-review of the changes

Why not allow passing any keywords?
    def __init__(
        ...
        **flask_options
    ):

And
    async def connect(self, callback: PipelineRunnerFunction):
        ...
        self.app.run(host=self.host, port=self.port, **self.flask_options)

Why not allow passing any keywords?
    def __init__(
        ...
        **flask_options
    ):

And
    async def connect(self, callback: PipelineRunnerFunction):
        ...
        self.app.run(host=self.host, port=self.port, **self.flask_options)

In my view, we would be better off recreating the original Flask.run signature without any significant changes.
https://flask.palletsprojects.com/en/2.1.x/api/?highlight=run#flask.Flask.run
Since the keyword arguments of the original method get redirected to wsgi, it would make sense to name them accordingly.


Fixing Drag class dispose process

This commit fixes the following error:
Unable to get property 'replace' of undefined or null reference

which happened when running the following test: test.aria.widgets.container.dialog.resize.test5.OverlayOnResizeScrollTestCase

LGTM :+1:


Spool job problem

Note: It is RM20.x version
(Because i cant run 20.x plug-in normally in 2.78, so i change addon folder name from PRMan-for-blender-20.x to PRMan-for-Blender-master)
When i Spool to local queue, a warning message is appear
Traceback (most recent call last):
File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\2.78\scripts\addons\PRMan-for-Blender-master\operators.py", line 251, in execute
aov_output = rpass.paths['aov_output']
KeyError: 'aov_output'
location: :-1
not sure what that is... since this file is quite large.. so what can i do to help debugging? May be rib file???
Thanks

What is your AOV output path set to in the preferences?

output root: D:\Cache\Renderman/{blend}
AOV path: $OUT\images{scene}.{layer}.{pass}.####.{file_type}

any news?

I made some changes to the AOV code recently.  Can you try this one again?

Cant see any updated in 20.x ...


onStart parameter

It would be useful if there were an onStart or onWaiting parameter where you can run a function before uploading starts, rather than checking the status inside of onProgress. What do you think?
Thanks!

That would be a fine enhancement.  Can you provide an example of what you might do onStart?

An example of what I might use onStart for (assuming a few things): I'd resize the images in the browser.

Created PR https://github.com/odysseyscience/react-s3-uploader/pull/72

Gist of how I'm using this to scale an image before uploading: https://gist.github.com/eagsalazar/83d5b222715f7267a4c0e02ec20b3c55
I import scaleImageFile and set param onBeforeUpload=scaleImageFile

Hi @eagsalazar ,
Can I use this property to change the name of the file?
I sometimes encounter names in different langauges that aren't cleaned in the process and causes an error..
Can you please provide an example of how do I use this property, please
Tal


Update officers info

https://www.notion.so/jacob-zietek/Officers-info-b4bcea248bc44afba16ca6b6fad9d58d
Officer info has changed
If a person doesn't have a title then they aren't a part of the officer team for the time being, please remove them

https://github.com/ML-Purdue/ml-purdue.github.io/commit/a8d10474385a8b2c93f0002d1831afe371bceef9


Register

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/113331
Tip: Release Notes
Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.
@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.2.7 -m "<description of version>" 7885e6da5d7cdc76a13fae58b3a690bcc05267f6
git push origin v0.2.7


Migrated antlr and base-services builds to Kotlin

Context

Contributor Checklist

[ ] Review Contribution Guidelines
[ ] Make sure that all commmits are signed off to indicate that you agree to the terms of Developer Certificate of Origin.
[ ] Check "Allow edit from maintainers" option in pull request so that additional changes can be pushed by Gradle team
[ ] Provide integration tests (under <subproject>/src/integTest) to verify changes from a user perspective
[ ] Provide unit tests (under <subproject>/src/test) to verify logic
[ ] Update User Guide, DSL Reference, and Javadoc for public-facing changes
[ ] Ensure that tests pass locally: ./gradlew <changed-subproject>:check

Gradle Core Team Checklist

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation
[ ] Recognize contributor in release notes

https://github.com/gradle/gradle/pull/4332

Closing in favor of #4332


Edit slot: slot_type selector not updated based on original slot

Describe the bug
When opening a "Programsáv" to edit, the form shows it is an "Előadássáv".
To Reproduce
Steps to reproduce the behavior:

Go to /admin/sav
Click on a slot which has "Programsáv" as type
See error

Expected behavior
The editing form should show "Programsáv".
Screenshots

Desktop (please complete the following information):

OS: MacOS
Browser: Arc (Chromium)
Version: 1.14.0 (42789)

This is caused by #275

non-priority justification: purely admin inconvenience

fixed in: 096994c52ea12564c093fb915ab4e40f8d95f04e


[docs] Awesome Tauri - addon?

Online Websites were often just packaged into pseudo applications by stripping the the GUI around the browser and make a desktop icon for it.
This was not only bloated but also not portable.
For example there are tools to do this like nativefier and pyqtws / qtws.
I like to create a collection of simple web-apps based on Tauri for the most common websites out there, doing the same but with less bloat and as portable as possbile.
Feel free to join and work on that together. :)
/cc @intersimone999 because I linked your work.

Link to the org: https://github.com/tauri-webapps

There is tauri-apps/awesome-tauri


LedControl.h:54: error: 'byte' has not been declared

Hello, I'm trying to use the library, with a arduino duemilanove and Arduino IDE 1.0.5 under mac 10.9.4.
When I compile any DEMO i get the following error:
/Applications/Arduino.app/Contents/Resources/Java/libraries/LedControl/LedControl.h:54: error: 'byte' does not name a type
I don't know which is the problem, please can you help me?
Best regards.

I guess it was not a problem with the library in the end?
I closing it now, feel free  to reopen the issue if the problem pertains.
Eberhard


panic:Cannot convert object to primitive value

Encountered a panic when trying to install python 3.11.2
python.org=3.11.2 cache: hit
python.org/v3.11.2/lib/python3.11/config-3.11-darwin/libpython3.11.a: Lzma library error:  No progress is possible
tar: Error exit delayed from previous errors.

Here's the attachment
TypeError: Cannot convert object to primitive value
    at install (file:///private/var/folders/y3/yr3bxsy95c3gfwwj61ytbp000000gq/T/998ad54c/src/prefab/install.ts:91:55)
    at async install (file:///private/var/folders/y3/yr3bxsy95c3gfwwj61ytbp000000gq/T/998ad54c/src/hooks/useExec.ts:117:25)
    at async default (file:///private/var/folders/y3/yr3bxsy95c3gfwwj61ytbp000000gq/T/998ad54c/src/hooks/useExec.ts:79:38)
    at async file:///private/var/folders/y3/yr3bxsy95c3gfwwj61ytbp000000gq/T/998ad54c/src/app.ts:35:63

probabaly same
TypeError: Cannot convert object to primitive value
    at install (file:///private/var/folders/y3/yr3bxsy95c3gfwwj61ytbp000000gq/T/998ad54c/src/prefab/install.ts:91:55)
    at async install (file:///private/var/folders/y3/yr3bxsy95c3gfwwj61ytbp000000gq/T/998ad54c/src/hooks/useExec.ts:117:25)
    at async default (file:///private/var/folders/y3/yr3bxsy95c3gfwwj61ytbp000000gq/T/998ad54c/src/hooks/useExec.ts:79:38)
    at async file:///private/var/folders/y3/yr3bxsy95c3gfwwj61ytbp000000gq/T/998ad54c/src/app.ts:35:63

I believe this happens when an install is canceled and the tarball is not a complete download and then you later try again.
This is fixed in #492 and deployed as 0.26.1, please rm -rf ~/.tea/tea.xyz/var/www as well.

There error message is also fixed, should say tar failed with exit status 1


Identitcal description for two different attributes

Hello,
the description for both -AutoReusePortRangeNumberOfPorts and -AutoReusePortRangeStartPort is identical. I believe the description for -AutoReusePortRangeStartPort is incorrect and should be updated.

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

ID: d4e593bd-4eaa-6497-ae1d-3ca113a4f768
Version Independent ID: 9f4845b0-2bf6-b031-971f-26977651b527
Content: Set-NetTCPSetting (NetTCPIP)
Content Source: docset/winserver2022-ps/nettcpip/Set-NetTCPSetting.md
Product: w10
Technology: windows
GitHub Login: @JasonGerend
Microsoft Alias: jgerend

@FlorentATo Thank you for your feedback. We have made changes to the document via PR#https://github.com/MicrosoftDocs/windows-powershell-docs/pull/3197
Once the author approves, the changes will be live.
Thanks
Sri

Merged by @tiburd, thank you to everyone involved 👍


README changes

I think the README should not include updates and TODO lists. I propose moving everything like that to a separate page on the wiki and leaving the README to only include compilation and basic usage instructions (And unit testing, once they are added).

Yes, this makes sense. The README is very messy right now.

Nice


ID case conversion for $

Given this DOM: <div id="foo-bar">
I have to use this to find the node: this.$['foo-bar']
It would be nice if the ID was case converted (or available in both cases) like this: this.$.fooBar
Rationale: easier syntax (which $ is meant to provide anyway) and Polymer does the same case conversion for attribute names too.

The solution fortunately is simple. There's a method on functions called bind that returns a new function that has the this immutably baked in. So var theMethod = val.method.bind(val); theMethod() has this bound to val.
In the future for many cases we'll be able to use ES6 Arrow function to get this behavior baked in at function definition time, but for now, when passing a method around (e.g. to register an event handler) be sure to bake the this in explicitly with bind.

I don't understand this comment, are you sure you wanted to add it to this issue? This is about ID case conversion, not function binding.

What's the problem actually you're getting? I tried resolving this issue based on your previous comment. Binding is just an example which i want to show you.

How does function binding solve ID case conversion?

a function's this value is set by how it is called. Suppose you have a value val with a method method. If method is called like val.method() then in that call to method then this is val. If you instead do var theMethod = val.method; theMethod(); then for that call, this is something else (the global context object, in browsers this is window).

I know how function binding works, but how does that change the $ method in how it looks up elements by their ID?

#1747

#1747

Yep, this looks like a duplicate of that issue, thanks. I still don't understand your other comments :)

Yes, obviously!
You're welcome.
But my comments will probably solves your problem, if you try to understand previous buzz..

Dupe of #1747


[cmd/flarectl] Handle errors from CreateZone

Should the CreateZone calls fail, it should provide some feedback to
the user as to why. This implements a fix whereby it returns the HTTP
response to stderr which includes the error message.
Fixes #241

Thanks!


Question about 'dataLenPerFile'

Thank you so much for sharing a great project.
I have converted 23201 *.bin scan files from SemanticKITTI to *.mat files using dataPrepare.py,
and calculated 'dataLenPerFile' using DataFolder.calcdataLenPerFile() method as you mentioned.
But from the code below your 'dataLenPerFile' seems to be 17456051, but in my case 121484 is obtained.
I wonder if this is a value that can vary depending on the environment.
https://github.com/zb12138/OctAttention/blob/aed8279bc82c7d6c76f3cf9eb1d383fd821fc0df/octAttention.py#L143
Thank You.

Thank you so much for the quick and kind reply.
Have a nice day!


:robot: Triggering CI on branch 'release-next' after synching to upstream/main

/lgtm
/approve
:smile:


⚠ SceneTime has degraded performance

In 3472699, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1886 ms

Resolved: SceneTime performance has improved in ac93ac2 after 12 minutes.


Update fusion-plugin-csrf-protection plugin to include the route prefix for non-csrf method requests

Add the route prefix to URL for non-csrf method requests like GET requests

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

!import


post component needs review

need to add usestate for who is viewing the post and what permissions they have in regards to editing content

no longer needed


template expansion should work in HTML cells

the {{javascript}} feature from text cells should be implemented for HTML cells too.

documented: https://github.com/twosigma/beaker-notebook/issues/4584


Project work

This is starting of work on the project ... Inventory management system. Ideas are welcome.

Check out the table pattern in pattern.cpp. I guess it is good enough now

Table output bit of code in this update is reusable, by replacing column and row variables. Take a look

The project is nicely shaping up. Compile and test it, suggest changes or point out errors.

#5


Union record field with decimal default value fails for configurable

Description:
$subject
Steps to reproduce:
Consider the following code
type ConnectionConfig record {|
    Config1|Config2 auth;
|};

type Config1 record {|
    string token;
|};

public type Config2 record {|
    string clientId;
    decimal defaultTokenExpTime = 3600;
|};

configurable ConnectionConfig config = ?;

In Config.toml
[config]
auth.clientId = "abc"

This fails with the following error
error: [Config.toml:(2:1,2:22)] configurable variable 'config.auth' is expected to be of type '(foo:Config1|foo:Config2)', but found 'record'
        at hinduja/foo:0.1.0(main.bal:3)

This should be passing with the correct default value.
Affected Versions:
Update 2 RC2

Happens for field types record & enum as well.


Jobs Overhaul: Update JobResult manager store_result method to censor sensitive variables

For 2.0.0: Just blank the variable inputs if job is marked as having sensitive variables.

blocked by #3713

Closed by https://github.com/nautobot/nautobot/pull/3800


Fix model.ts function getModelDirective()

Fixed function getModelDirective to get fields property instead of IdFields.

Hello @degueba
Thanks for starting this off. The solution wasn't totally correct so I added a few more changes.
You changes are in this PR now:

Thanks for that Harshit and congrats for the package, it is really helpful!
Sent from my iPhone
On Sep 24, 2021, at 5:11 AM, Harshit Pant @.***> wrote:

Hello @deguebahttps://github.com/degueba
Thanks for starting this off. The solution wasn't totally correct so I added a few more changes.
You changes are in this PR now: #43https://github.com/pantharshit00/prisma-docs-generator/pull/43
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/pantharshit00/prisma-docs-generator/pull/41#issuecomment-926472791, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEHIUDHAUYWKZ2SEHFHZV6LUDQ6ERANCNFSM5EPSRNDA.


[Feature Request] Shared tooltip/crosshair

It would be great if the discrete panel could support the shared tooltip/crosshair functionality.

will be released in 0.0.3

Unfortunately it looks like tooltips don't work in v0.03 when you select shared tooltip (as opposed to the shared crosshair option). They do still appear when hovering over the legend though.

It also seems there is cross hair shifting going on, depending on where you place your mouse cursor.
In the first image you will notice the following:

My mouse is hovering over the upper graph, indicated by the tooltip (cursor not captured in screenshot)
The discrete panel cursor is graphically indicating that it is over the blue state (defined as balancing)
However it claims, via the textual indicator, that it is still in the no balancing state.
This is not the expected behaviour.

If I then attempt the same exercise, this time hovering my mouse cursor over almost the same position on the discrete panel I end up seeing the following:

Both the discrete panel cursor and textual indicator seem to agree that I'm in the balancing state
This is the expected behaviour.

P.S. I placed the dashboard in shared crosshair mode which is why the discrete panel tooltip is visible in the second image.

nevermind... i found some issues and a new approach

this should be fixed in master and released with 0.0.4 -- holler if you have issues

It seems the tooltip position isn't quite right. It is located very far from the data source, as shown in the image below:

With a discrete panel which has two metrics, and the "Highlight on hover" option selected, no tooltip is shown, except when hovering over the legend.


Filtering on experiments

As a user, I want to show only experiments that match (or don't match) certain criteria, such as:

[x] machine where an experiment runs on
[x] experiment name
[x] experiment state
[x] the result field of an experiment
[ ] the last / minimal / maximal value of certain metric (such as accuracy) is bigger / lower than...
[x] arbitrary value in arbitrary field stored even somewhere deep in the record structure
[x] users shouldn't be forced to write "config.something" everytime, instead: write simply "seed" for searching in "config.seed" or ".host.hostname" for "host.hostname".

Precondition: Sacredboard is running and the user sees the experiment run list
Base Course of Events

The user indicates that the software is to perform filtering of the run list.
The software responds by requesting the name of the experiment config property to be filtered on, the comparison operator and the searched value.
The user inputs the configuration property name and the comparison operator and indicates the type of the searched value (number/string/date).
The software applies the selected filter additionally to other filters that have been possibly applied before and indicates that a new filter condition has been added.

Alternative Paths

In Step 3 the user indicates he does not wish to perform the search based on an experiment run configuration property but based on another property of the experiment (not necessarily in the run config section). The software will allow that.
In Step 1, the user indicates that he wants to instantly filter out experiments that have a certain state (e.g. FINISHED and INTERRUPTED). The software must support it without requesting any details about property names.
In Step 3, the user indicates he wants to filter based on an invalid combination of operator and value (e.g. number and "contains"). In this case, the software indicates that the choice is invalid and prevents the user from continuing to the next step.
In Step 1, the user indicates he wants to remove one of the existing filters instead. The software removes the filter of user's choice. All the postconditions apply.

Postconditions

The run list displays only results matching criteria of all the filters applied so far.
The software indicates all the filters applied.

@Qwlouse, can you please help me specifying what do you expect from the filters?

This first draft looks ok to me. Some filtering based on the configuration would probably also be nice. But I'll think more about it and discuss it with my colleagues.

Precondition: Sacredboard is running and the user sees the experiment run list
Base Course of Events

The user indicates that the software is to perform filtering of the run list.
The software responds by requesting the name of the experiment run property to be filtered on, the comparison operator and the searched value.
The user inputs the configuration property name and the comparison operator and indicates the type of the searched value (number/string/date).
The software applies the selected filter additionally to other filters that have been possibly applied before and indicates that a new filter condition has been added.

Alternative Paths

In Step 3 the user indicates he does not wish to perform the search based on an experiment run configuration property but based on another property of the experiment (not necessarily in the run config section). The software will allow that.
In Step 3, the user indicates he wants to filter based on an invalid combination of operator and value (e.g. number and "contains"). In this case, the software indicates that the choice is invalid and prevents the user from continuing to the next step.
In Step 1, the user indicates he wants to remove one of the existing filters instead. The software removes the filter of user's choice. All the postconditions apply.

Postconditions

The run list displays only results matching criteria of all the filters applied so far.
The software indicates all the filters applied.

Closing, additional features are in #34 and #35.


Add Select

Add a new select component to mirror MDC Web's Select.
https://github.com/material-components/material-components-web/tree/v0.37.0/packages/mdc-select

Hi, I would like to take this up if no one is working on this. :smile:

Hey @manishbisht no one is working on this just yet, but it is a new component. This will make the change set larger than usual. Since we're so new I don't think we want to take new components from the community just yet. I anticipate that the back and forth will create more work than just building it internally.
I assume you might need this component for one of your projects, but we are planning on finishing this component by end of the month. Does that work for you?

I have not yet started using this library on any of my projects but planning to use in future. :smile:
Actually as this project is recently started so thinking to make this complete/better by contributing to it. If you want to build this internally no issues then you can redirect me to other issues that I can fix.


Adjust the spacing between the up button and title to match the Figma design.

https://www.figma.com/design/XUk8WMbKCeIdWD5cz9P9JC/DroidKaigi-2024-App-UI?node-id=54795-26746

🙋

Thanks! Assigned 👍

I'm not sure, but can we use medium?
https://developer.android.com/develop/ui/compose/components/app-bars#medium

@takahirom
thank you

@takahirom
I dont 'know why test fail....

Thank you for letting me know! Don't worry.
First, I think you can remove the unused import.
https://github.com/DroidKaigi/conference-app-2024/actions/runs/10633335229/job/29479517095?pr=753

e: file:///home/runner/work/conference-app-2024/conference-app-2024/feature/contributors/src/commonMain/kotlin/io/github/droidkaigi/confsched/contributors/ContributorsScreen.kt:29:52 Unresolved reference 'handleOnClickIfNotNavigating'.

Second, you can open SponsorsScreenTest and click Run the test!

And then the supporters are not displayed.

SponsorsScreenTest > runTest[SponsorsScreen - when server is operational - when launch - when scroll to supporters header - it should display supporters sponsors] STARTED

SponsorsScreenTest > runTest[SponsorsScreen - when server is operational - when launch - when scroll to supporters header - it should display supporters sponsors] FAILED
    java.lang.AssertionError: Assert failed: The component is not displayed!
        at androidx.compose.ui.test.AssertionsKt.assertIsDisplayed(Assertions.kt:34)
        at io.github.droidkaigi.confsched.testing.robot.SponsorsScreenRobot.checkSponsorItemsDisplayedByRangeAndSponsorType(SponsorsScreenRobot.kt:100)
        at io.github.droidkaigi.confsched.testing.robot.SponsorsScreenRobot.checkDisplaySupportersSponsors(SponsorsScreenRobot.kt:85)
        at io.github.droidkaigi.confsched.sponsors.SponsorsScreenTest$Companion$behaviors$1$1$2$4$2.invokeSuspend$lambda$0(SponsorsScreenTest.kt:75)
        at io.github.droidkaigi.confsched.testing.robot.DefaultCaptureScreenRobot.captureScreenWithChecks(MiniRobots.kt:106)
        at io.github.droidkaigi.confsched.testing.robot.DefaultScreenRobot.captureScreenWithChecks(MiniRobots.kt)

How about adding this to SponsorsScreenRobot?
fun scrollToBottom() {
        composeTestRule
            .onNode(hasTestTag(SponsorsListLazyVerticalGridTestTag))
            .performScrollToNode(
                hasTestTag(SponsorsListSponsorItemTestTagPrefix.plus(Sponsor.fakes().last().name)),
            )
    }

@takahirom
Thank you for your help. i fix it.


Mutual tls

Is it possible to mount secret to use mutual tls? I'm trying to monitor an external server which needs authentication using mutual tls. I have defined the configuration in the additionalScrapeConfigs section but not sure how can I reference the path for ca_file and key_file for tls configuration.

I was able to mount a secret using secrets array.


Suggestion: add clib package manager support

What do you think about adding support for clib package manager? I've used it for a small project, seems very simple to use and install, but it doesn't provide any ways to compile the dependencies. It has a package.json definition which looks similar to npm one, which should be not very hard to parse.
I can try to implement it myself and send a PR if you don't mind :smiley:

Yes, you can refer to https://github.com/xmake-io/xmake/tree/master/xmake/modules/package/manager/conan
Then implement modules /package/manager/clib/find_package.lua and install_package.lua
And run
cd projectdir
xmake l package.manager.find_package xxx

to test these module interfaces.

Example:
<EMAIL_ADDRESS>{alias = "bytes"})

target("xmake-test")
    set_kind("binary")
    add_files("clib/bytes/*.c")
    add_files("src/*.c")
    add_packages("bytes")


Basic language server implementation

Provides a basic language server with a diagnostics reporting feature (shows you errors in the code).
Available with a new framls executable.
The server intercepts error reports made by the typechecker so the result should be the same as running the file with dbl.
The code structure makes it easy to add new capabilities (but they will require changes in the dbl code).

I've tested it shortly on my setup, seems to be working. Does highlight errors with description.
Steps I've taken to setup it:

I have updated the branch with master locally, will put up a branch in a moment so we're sure we work on the same version
Added yojson library and findlib to my development environment (Nix)
Made lsp client configuration for Emacs with lsp-mode, will post it somewhere

Here is the updated branch: https://github.com/pa000/dbl/pull/1

And for now I'll drop the Emacs configuration here:
lsp.el:
;; eval this file to setup framls for lsp-mode
(add-to-list 'lsp-language-id-configuration '(".*\\.fram$" . "fram"))

;; Emacs must be ran within environment with 'framls' available; either:
;; - install it (TODO 'dune install ???' -- I don't use it)
;; - or start Emacs with 'dune exec emacs'
(lsp-register-client (make-lsp-client
                      :new-connection (lsp-stdio-connection "framls")
                      :activation-fn (lsp-activate-on "fram")
                      :server-id 'framls))

Oh right, CI will need to be updated with the new library.

I believe I'm finished with the final clean-ups (that seem to have made the PR 500 lines bigger oops) and the code is now ready to be thoroughly reviewed.


Can't bind to 'scrollbarOptions' since it isn't a known property of 'div'.

I get this error message in Angular 5 - Can't bind to 'scrollbarOptions' since it isn't a known property of 'div'.
Angular CLI: 1.6.8
Node: 8.9.1
OS: win32 x64
Angular: 5.0.1
... common, compiler, compiler-cli, core, forms, http
... language-service, platform-browser, platform-browser-dynamic
... router
@angular/animations: 5.2.1
@angular/cli: 1.6.8
@angular-devkit/build-optimizer: 0.0.42
@angular-devkit/core: 0.0.29
@angular-devkit/schematics: 0.0.52
@ngtools/json-schema: 1.1.0
@ngtools/webpack: 1.9.8
@schematics/angular: 0.1.17
typescript: 2.4.2
webpack: 3.10.0

You added MalihuScrollbarModule.forRoot() to the list of imports in your AppModule?
app.module.ts
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
+ import { MalihuScrollbarModule } from 'ngx-malihu-scrollbar';

import { AppComponent } from './app.component';

@NgModule({
  imports: [
    CommonModule,
+   MalihuScrollbarModule.forRoot(),
  ],
  declarations: [AppComponent],
})

And used scrollbarOptions with malihu-scrollbar directive like this?
example.component.ts
public scrollbarOptions = { axis: 'yx', theme: 'minimal-dark' };

example.component.html
<div malihu-scrollbar [scrollbarOptions]="scrollbarOptions">
   Lorem ipsum dolor sit amet, consectetur adipisicing elit...
</div>

Yes did exactly the same.


Removed the try-catch closures from the callbacks invocations…

Hi!
Today i've had some troubles finding the real source of a bug in my application.
After a couple of looks and debugging i've realized that an exception was being thrown in a Promise's Done callback, and because the Done invocation is inside a try-catch statement the exception was never propagated and somehow was being 'muted' leading to strange behaviours.
Isn't it better to remove this generic try-catch statements from the done, fail, always and progress and let the developer handle the possible exceptions?

Hiya - this there was another discussion thread on this. In essence, the callback handlers are suppose to catch all the errors and propagate to failure handlers. But I do see this isn't done all the time.  We are contemplating on adding a global error handler in case there are unexpected exceptions like this.

Oh, that would be a great idea!!! When do you expected to release this?
Thanks!

Trying to get that into 2.0 :) https://github.com/jdeferred/jdeferred/issues/115
Let's discuss it there! Thanks.


Add option to respect font hints

In urxvt, I can set my fonts as follows:
URxvt*font: xft:Inconsolata:style=Medium:bold:pixelsize=18:antialias=true:hinting=true:hintstyle=hintfull
URxvt*boldFont: xft:robotomono:style=Medium:italic:pixelsize=18:antialias=true:hinting=true:hintstyle=hintfull

The hinting ensures that the font renders beautifully. I can achieve similar (or maybe the same?) results by setting the x and y offsets in alacritty, but if I ever change font size, I have to re-adjust these offsets.
I understand that this might be an enormous amount of work to ask for, but I think future users of the font library would appreciate it a lot.

Oh, how would I go about doing that?

We don't actually look at fontconfig hints yet, but that will be the supported way to do this in the future.

We do respect Fontconfig's hinting settings.


Website certs expired

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version:
OS Version:
Those aren't applicable right now.
Steps to Reproduce:

No steps to reproduce
Hey, I wanted to download VS Code so I wanted to head to the official website(code.visualstudio.com) but I discovered that the certificates for the website has expired. Can any Microsoft people look onto it when they are free? This might be a security vulnerability in the website, so I am informing this here.

Also, sorry that I posted it here, I needed to inform this.

Seems OK for me:

Check from your browser, my Vivaldi showed that the site is insecure(as of now). I can't reach my laptop since I am outside but I will try sending a screenshot via phone.

I think I have certs error on my PC. Will check and report back :+1:

Yup, looks like certs error in my PC. Sorry for the issue. I think only my PC has this, so I am closing it.


Fix incorrect comment on lfs_npw2

lfs_npw2 returns a value v such that 2^v >= a and 2^(v-1) < a, but
the previous comment incorrectly describes it as "less than or equal to
a".

Thanks for the contribution!


Feature Request - Support WebP images and Switch to lazysizes over vue-lazyload

What is the motivation for adding / enhancing this feature?
WebP Image formats are supported by multiple browsers now, supporting it should be good for improved performance.
Switching to lazysizes instead of vue-lazyload will be needed for WebP image formats as Lazysizes supports picture element, where vue-lazyload  does not. Picture element can be used to fallback to regular jpegs. Other responsive image techniques can be applied as well.
Sharp supports webp, so updating the images.js output should be straightforward too...

Also there's an example for supporting the modern srcset pattern which should solve issue #3493


Optional handler for Runnables and Debuggables commands

Would it be possible to have an optional parameter in the runnables and debuggables so I could pass my own handler in case I don't use telescope but use something else?

Would it be possible to have an optional parameter in the runnables and debuggables so I could pass my own handler in case I don't use telescope but use something else?

Not really possible, you would have to write all the code which is pretty redundant. But this will change in the future, see https://github.com/neovim/neovim/pull/15202


Feat/select default chains bridge

Description and Motivation
Choose by default the most logic chain depending on current chain in TFM bridge.
I removed last pull request since was kinda hardcoded, now I take info from validChains constant so is scalable as soon as you add future chains there (that I think is the case).
Basically added 2 options:

If current chain is migaloo Bridge from Migaloo to empty.

If current chains isn't migaloo bridge from current chain to migaloo.

Related Issues
Issue #274

Checklist:

[x] I have read Migaloo's contribution guidelines.
[x] My pull request has a sound title and description (not something vague like Update index.md)
[x] All existing and new tests are passing.
[x] I updated/added relevant documentation.
[x] The code is formatted properly yarn lint.
[x] The project builds and is able to deploy on Netlify yarn build.

Reviewed this, looking good @BowLover. Pls resolve conflicts so it can merge without issue. 🚀

Nick added this already, so I close the pr

can you reopen your PR ? I actually didnt work on this

Already added by @worrex in #319

Thank you for taking the time on this @BowLover , we will sort you out with something <3


Remove dependency on unittest2

The package description on pypi says that it is about backporting py2.7 improvements of the unittest module to 2.4+. But 2.7 should be pretty ubiquitous today and Vdebug also tries to move to py3.

I don't understand why one of the travis builds failed. I I read the log correctly the python unittest passed but some ruby stuff failed? (sorry I don't know ruby)


Update Readme + Fix Typo

Update README + Fix Typo

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (543f0bc) 95.36% compared to head (2224c4c) 95.36%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #753      +/-   ##
==========================================
- Coverage   95.36%   95.36%   -0.01%
==========================================
  Files         140      140
  Lines       31393    31393
==========================================
- Hits        29938    29937       -1
- Misses       1455     1456       +1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


connection failes with ERRINFO_INVALID_INPUT_PDU_MOUSE

connection to Windows Server 2k8 R2 failes with:
ERRINFO_INVALID_INPUT_PDU_MOUSE (0x000010D0):
(a) A Slow-Path Mouse Event (section <IP_ADDRESS>.<IP_ADDRESS>.3) or Extended Mouse Event (section <IP_ADDRESS>.<IP_ADDRESS>.4) has been received with an invalid pointerFlags field.
(b) A Fast-Path Mouse Event (section <IP_ADDRESS>.2.2.3) or Fast-Path Extended Mouse Event (section <IP_ADDRESS>.2.2.4) has been received with an invalid pointerFlags field.
Failed to check FreeRDP file descriptor

Mouse wheel is now only sent when supported.

Could not reproduce locally, closing.
Reopen if you experience different results.


Running ktfmt via gradle doesn't check formatting of gradle files

Running ktfmt via the gradle plugin means that any *.gradle.kts files are not checked. We need to run it as a cli tool as a separate CI job.
Checking the jar into the repo is not ideal, it's more than 50Mb in size, which is github's maximum recommended file size.

Possible solutions include:

shell script to download/run ktfmt. I've got a branch with the running bit already,
github action to install ktfmt so that it's available to run from the shell,
github action to run ktfmt on **/*.{kt,kts}.

Probably better to start with the first. The second might not be too bad once that's implemented. The third would involve learning a lot of stuff,
which would be fun, but probably better for another time.

Closed by #110


Tutorial typo

In the classification loss, the label and prediction are reversed.

Hi LIO,
Yes, we've noticed the typo, and thank you so much for pointing it out! We’ll be fixing it soon.


Error when building smartftp template

$ ./dist/cli.js -s gooey -t smartftp -b dark

Unexpected error: {"name":"Template render error"}
undefined

When building the smartftp template, I get an error. The template is clearly malformed. @aloisdg, might you know what the problem here is?

I just looked. I didnt see any problem with smartftp's templates.

@aloisdg I haven't had time to look into it properly. I just know that when I run the above command, I get an error :confused:
Let me know what you find. If it's not a problem with the template, it could be a problem with my code. Thank you :smile:!!

I know that if you remove expresions like this one:
base["05"]["hex"].match(/.{2}/g).reverse().join('')

... The template doesn't cause an error.
I'm not sure why expressions like that one are causing Nunjucks to chuck a wobbly because it's valid JavaScript:
> const color = "#ffffff"
undefined
> color
'#ffffff'
> color.match(/.{2}/g)
[ '#f', 'ff', 'ff' ]
> color.match(/.{2}/g).reverse()
[ 'ff', 'ff', '#f' ]
> color.match(/.{2}/g).reverse().join()
'ff,ff,#f'
>

If the bug come from nunjucks, we should open an issue in their repository.
While there isn't a fix from them or us, we should move smartftp in a separate 'fix-smartftp' branch.

If the bug come from nunjucks, we should open an issue in their repository.

If I'm honest, I doubt it's a problem with Nunjucks.

While there isn't a fix from them or us, we should move smartftp in a separate 'fix-smartftp' branch.

I agree but it'll probably be quicker to just fix the bug. I won't have time to do either until tomorrow.

So, I did some experimentation and it turns out you Nunjucks won't evaluate arbitary expressions like base["05"]["hex"].match(/.{2}/g).... It'll only evaluate simple expressions like 1 + 1.
Aside from basic expressions, Nunjucks will only interpret pre-defined filters. For example, you cannot write {{ "HI".toLowerCase }} - that would cause a "Template render error"  - but you can write {{ "HI" | lower }}.
This is a big problem. If we're lucky, Swig - which has almost identical syntax to Nunjucks - will work. If it does, we can swap Nunjucks for Swig easily. If not, all of the templates will need converting to work with EJS or something which is a big job. Another option would be to write our own mini template engine -- that is feasible,  but that is just as much work, if not more.

I just tried and Swig doesn't support this.

If we use ejs, we are almost compatible with the old project. This is nice. We have to move from ruby to js, but for most templates we just have to remove the @ before base.

@aloisdg Would you be willing to write a small script to do that if I change the core?

@alexbooker Sure, but I dont now when. I still dont have my computer and I am still traveling.

@alexbooker Sure, but I dont now when. I still dont have my computer and I am still traveling.

@aloisdg :smile: :+1:

This is fixed now.


Companion App Watch Template

I made a template that shows the status of my Nissan Leaf on my Google Pixel watch through Home Assistant Template Tiles.

Leaf
 ⚡{{states("sensor.leaf_battery_level")}}%  🛣 {{states("sensor.leaf_range_ac_off")}}mi
🔌{{states("binary_sensor.leaf_plugged_in")}}
⋙ {{"{:,}".format(states("sensor.leaf_monthly_distance")|round)}}mi this month

At glance this shows me current charge, range (AC off), if it is currently plugged in or not, and how many miles I've driven so far this month.
Sensor names may be slightly different based on model of the car. Your charger may provide a better measure of the status than binary_sensor.leaf_plugged_in - I use MyEnergi Zappi which shows plugged in, charging etc with a single sensor.
Unfortunately the Template tile only supports emoji for symbols rather than Material Design Icons, so a bit ugly but it does the trick.
You can preview this most easily in Home Assistant using the Developer Tools > Template screen in Home Assistant.
Using
 tags the above template more or less fills the available space. Adjust h tags or remove them if you want to add more.

Looks good - thank you for sharing!
I've got a similar iPhone widget I've been meaning to share.
I set up a wiki section called Dashboard Designs. Could you please see if you're able to add to this, as it'd be a good place to record this.
Dan

I saw that, and was intending to post there but it looks like I have to clone it, edit, then submit as a PR. Is that how to do it?

Ah it was set to collaborators only - I’ve changed that now!

Thanks for adding that, I appreciate the contribution!
Dan


Travis build failing for openjdk6

Ubuntu Trusty 14.04 is now default distribution for build. Because of this, all builds with openjdk6 are failing, but Java 6 is no longer supported and available on Oracle's website.
There are two (or more) solutions:

Add dist: precise to .travis.yml to force old version of ubuntu.
Stop supporting Java 6, which I suggest.

#244 (and removed openjdk6 build)
Reported the issue to https://github.com/travis-ci/travis-ci/issues/8199


Issue title with certain special characters is displayed as a table by mistake (email)

I received an email from CodeTriage today that had incorrect formatting—specifically, some parts of the email were displayed as a table-like structure (as shown in the picture below), which I don't think is the intended way of formatting the issue title.

The original issue title is 'dotnet.exe [find|rename] "" "" [--force]', so I suspect the wrong formatting seems to be related to combination of some special characters.
I'd be happy to take a look and try to fix it—just let me know if I can go ahead.

@pedrowindisch , i would to know if this issue has been fixed and if not, could i have a go at it?
Thanks!

Hi, @IamLRBA. It seems this issue is still occurring. I reviewed the most recent emails I received from CodeTriage, and some of them still had the table-like formatting.


Support for appwrite 15.1 and latest version of sveltekit?

Thank you very much for updating sdk-for-svelte!
Does your fork support the latest version of sveltekit and appwrite 15.1?
Thank you! :)

@YugoCode it's currently working with sdk 0.8.1 and server version 0.14. I'll be updated soon but might take more time because of many breaking changes

Thank you very much koodeau! Looking forward to it ❤

Any further thoughts on this one?  I worked on it some myself, but I haven't gotten too deep into it yet.

Does it break with the latest SK and AW?

bump

hey guys how is the work going on this one? Found out about the library, looks sweet but needs update to the latest version!

This library needs a huge refactoring guys.  I think I might get back to refactoring this one but it will be client side only and may be good for building static SPA and MPA. Later I think it would be worth adding SSR support but that needs to be figured out

This library needs a huge refactoring guys.  I think I might get back to refactoring this one but it will be client side only and may be good for building static SPA and MPA. Later I think it would be worth adding SSR support but that needs to be figured out

@koodeau I hear you.
I'll have a go at it soon, when I have less on my hands.

This library needs a huge refactoring guys.  I think I might get back to refactoring this one but it will be client side only and may be good for building static SPA and MPA. Later I think it would be worth adding SSR support but that needs to be figured out

@koodeau I hear you.  Needs to be built to support SSR too.
I'll have a go at it soon, when I have less on my hands.

Not entirely a complete rewrite, components are mostly fine for the client side but their sdk integration is the most important part. Also for SSR support I’m thinking of doing something else than components, for SvelteKit that might make more sense to partially abstract things and provide better typescript support to kind of make SSR side of this look and feel as simple to use like Houdini but in the .server.whatever js or ts load function. Ideally tho make it just work without users having to that much on their own using my sdk class instead of Appwrite sdk, however backward compatibility with Appwrite sdk would be nice, one thing that is not clear enough yet for me of whether same sdk and same config is going to be used for both. Appwrite has support for configuring a server app like you’d expect to have in Express or others but keep it all clean natively in SvelteKit. Or maybe splitting the thing into a multiple packages and move further into a monorepo. There’s a lot to think about for planning a complete production ready solution for SSR support in SvelteKit, also documentation is key to better understanding of what you can do and how, I’ve been manually rewriting it after updates but if there’s still a thing to properly generate a correct useful stuff to have a documentation would be awesome. Things are different these days

This library needs a huge refactoring guys.  I think I might get back to refactoring this one but it will be client side only and may be good for building static SPA and MPA. Later I think it would be worth adding SSR support but that needs to be figured out

@koodeau I hear you.  Needs to be built to support SSR too.
I'll have a go at it soon, when I have less on my hands.

Not entirely a complete rewrite, components are mostly fine for the client side but their sdk integration is the most important part. Also for SSR support I’m thinking of doing something else than components, for SvelteKit that might make more sense to partially abstract things and provide better typescript support to kind of make SSR side of this look and feel as simple to use like Houdini but in the .server.whatever js or ts load function. Ideally tho make it just work without users having to that much on their own using my sdk class instead of Appwrite sdk, however backward compatibility with Appwrite sdk would be nice, one thing that is not clear enough yet for me of whether same sdk and same config is going to be used for both. Appwrite has support for configuring a server app like you’d expect to have in Express or others but keep it all clean natively in SvelteKit. Or maybe splitting the thing into a multiple packages and move further into a monorepo. There’s a lot to think about for planning a complete production ready solution for SSR support in SvelteKit, also documentation is key to better understanding of what you can do and how, I’ve been manually rewriting it after updates but if there’s still a thing to properly generate a correct useful stuff to have a documentation would be awesome. Things are different these days

@koodeau I understand. A new approach to things would make sense. I think it would be viable to create separate classes for SSR and CSR.
Just as you said, there's a lot to think about. I just think we should keep in mind that making the library SSR ready, we might need to compromise backwards compatibility.
Happy hacking🤟

@Codes-Wizard I agree. Making a second SDK class for the server only is something that many users would find incredibly valuable for their SSR logic. This new server-side SDK class could offer some advanced SvelteKit integration, simplifying tasks like authentication, handling protected routes, and possibly incorporating more "under the hood" magic for pre-rendering and build-time optimizations. This would make it SvelteKit-specific and user-friendly. Another option is to explore using Bun instead of Node for certain APIs to facilitate a seamless transition to a bun-based SSR setup. For other cases, the existing node-appwrite SDK might still be the way to go.
I see the SSR integration as a phase that could come later. What I'm inclined to focus on initially is providing APIs that can expose parts of the client library. This would enable users to leverage these components in scenarios where they're using SvelteKit SSR. It could help reduce the number of requests made from the browser, enable effective caching via workers or Redis, and provide a means to feed data into this client library, making it more compatible with their own server-side logic within SvelteKit.
Overall, having a secure and well-architected integration between both the client and server sides is crucial. It ensures that the library can seamlessly bridge the gap between these two worlds while maintaining security and reliability.
Additionally, considering the potential for using a much faster server, let's say Go running on a serverless architecture, there are a couple of approaches.  Another approach could involve running both Go and Node servers, enabling you to harness Go's speed for specific tasks while continuing to use Node for the rest of your SSR setup.
At least this way I believe we might not compromise backwards compatibility for client-side Svelte components API at least, but later on with v1 it would be a breaking change anyway. For those who are still using old Appwrite self-hosted versions and can maintain their front-end, it will then be better to just stick to specific version of this library if it can satisfy the needs.
Also it will be better to upgrade stuff and in general ship components with Svelte 4, we just need to look for potentially incompatible things like any upcoming features in Svelte that are not available in Svelte 3. For new users having Svelte 3 in their Svelte 4 projects wouldn't be a nicest thing to deal with, but at some point you have to give up on something and introduce a breaking change.

You guys are expecting Bun and SSR support but this thing is running on PHP, a self hosted Appwrite function can only perform 1 request per second... I mean...
https://github.com/appwrite/appwrite/issues/5629

You guys are expecting Bun and SSR support but this thing is running on PHP, a self hosted Appwrite function can only perform 1 request per second... I mean... appwrite/appwrite#5629

SSR support implementation is still not entirely clear, but what I meant is that it's for SvelteKit or any other server implementation support, not to be deployed to cloud functions as a standalone thing, but making some kind of adapter for this use case makes more sense, I've been trying to discuss this idea in Appwrite discord.

You guys are expecting Bun and SSR support but this thing is running on PHP, a self hosted Appwrite function can only perform 1 request per second... I mean... appwrite/appwrite#5629

SSR support implementation is still not entirely clear, but what I meant is that it's for SvelteKit or any other server implementation support, not to be deployed to cloud functions as a standalone thing, but making some kind of adapter for this use case makes more sense, I've been trying to discuss this idea in Appwrite discord.

They're going to tell you to create a JWT  and validate it in the backend every time you access a form of auth restricted area.
Here's a full discord thread on the same issue with Nextjs SSR...
Appwrite is not written for servers in mind, It's literally for mobile apps, SPAs and CSR. Going for SSR with Appwrite is a stretch.

You guys are expecting Bun and SSR support but this thing is running on PHP, a self hosted Appwrite function can only perform 1 request per second... I mean... appwrite/appwrite#5629

SSR support implementation is still not entirely clear, but what I meant is that it's for SvelteKit or any other server implementation support, not to be deployed to cloud functions as a standalone thing, but making some kind of adapter for this use case makes more sense, I've been trying to discuss this idea in Appwrite discord.

They're going to tell you to create a JWT  and validate it in the backend every time you access a form of auth restricted area. Here's a full discord thread on the same issue with Nextjs SSR... Appwrite is not written for servers in mind, It's literally for mobile apps, SPAs and CSR. Going for SSR with Appwrite is a stretch.

I can disagree because they support integration with your own backend, that's is what we might focus on as well. client side sdk and ingrations is not supposed to be a target for SSR, that's why it is client side. People mostly don't understand that and with react server components this misunderstanding only getting worse