Possible fix for multiple data elements in notifications not supported yet

I was attempting to find the most efficient way to send a lot of updates to QuantumLeap and so decided to use the notify api end point directly. Then I noticed that it only supports notifications containing only one element in the data array. If more than one element is given a response with status 400 and content "Multiple data elements in notifications not supported yet" is returned. I started to explore the code and found out that adding support for multiple elements was quite simple. I wonder if there is something I am missing here and thus decided to first create an issue about this before making a full pull request with tests and everrything.
My modifications were based on the latest commit
in the v0.6.1rc branch. I modified the notify function in reporter.py
to loop through every element in the data array to perform all operations done to the single payload before (validation, adding the time index etc.). This list of entity updates is then given to the insert method of the CrateTranslatorInstance. In crate.py
I modified the _preprocess_values method to add None to the values list if the entity update does not have a value for an attribute for which some other entity update of the same type in the notification had a value. This then seems to cause null to be inserted to the database as the value for the attribute. The current implementation throws an NotImplementedError with the message "Seems like not all entities of same type came with the same set of attributes".
With these modifications notifications with multiple updates seem to work all right: the data is saved correctly to crate and returned correctly when queried through the QuantumLeap API. All tests also pass except the one that specifically tests that multiple elements in the notification data gives a response with status 400. Since this was so easy because the implementation almost is there already I started to wonder why it was not yet implemented and if there actually is something wrong with my solution and the correct way to fix this is more complicated.

dear @ohylli
thanks for looking into quantum leap :)
most probably it was not implemented since at afaik, orion return 1 data element per notification, but i may be wrong :) @taliaga ?
cheers,
federico

@ohylli we discussed in our weekly sprint. we assumed multiple data notification where never issued by orion. which is not the case in a special case, the initial notification:
https://fiware-orion.readthedocs.io/en/master/user/initial_notification/index.html
We welcome a pull request on the matter!
Thanks!


Search for pxd files in sys.path.

As recently discussed on the mailing list, there seems to be a consensus that we should search for pxd files in python's sys.path.
I've implemented this basic feature in the simplest way possible --- by having Context.find_pxd_file search first in self.include_directories and then in sys.path.
This would close http://trac.cython.org/cython_trac/ticket/761, as PYTHONPATH is automatically added to sys.path.
I've done some limited testing and haven't ran into any issues yet.  setup.py files which use Cython.Distutils.build_ext and Cython.Build.cythonize both are able to compile pyx files which refer to globally installed pxd's.
Thoughts?

Looks good, could you perhaps add a *.srctree test in tests/run? e.g. one that creates a directory, moves a pxd file in there and adds it to PYTHONPATH, which is then imported by a .pyx file?

[bfroehle@highorder cython (sys_path_pxd)]$ python runtests.py cimport_from_sys_path
Python 2.7.2+ (default, Oct  4 2011, 20:06:09)
[GCC 4.6.1]

Running tests against Cython 0.15.1+ b9aaa80540c420abbae65d2a51dbe85a92c87c67
Backends: c,cpp

----------------------------------------------------------------------
Ran 1 test in 1.390s

OK
ALL DONE

Great, thanks a bunch!


Owner email Notification prepare to centralize notifications

Change the email notification process from the EventDetailComponents to app.js
so after implement the new notification module is possible to issue  on screen notifications for that
event

fix the conflicts and clear all remain unused old notification component.


Add REBUILD.changelog

REBUILD.changelog is a top level file which we can use to trigger builds.
Signed-off-by: Talor Itzhak<EMAIL_ADDRESS>

/lgtm
/approve


on ios 16 switch to full screen switch 2 times on landscape right then landscape left.

When the video player opens in full screen in ios 16 it switches to landscape mode twice.
When pressing the full-screen button first switches to landscape right and then automatically switches to landscape left.

Any updates here, I am facing the same issue in one of my projects.


Cannot Connect to Default Configured HA Mosquitto

Two other people mentioned this on the Home Assistant Community.
The issue is someplace in this code. If I comment out these lines it runs for me.
https://github.com/irimitenkan/picam2ctrl/blob/6c37a5268a3c769db729cfed3f52cedc51687b73/picamclient.py#L759-L766
I'm still looking at it, and will try to come back with a suggested fix.

Thank you for helping. Since I'm not able to reproduce the connection issue, some questions:

in your config username & pw is empty as well as mentioned by other users ?
and if you comment lines 760-766 out it fixes the connection problem with empty user & pw ?

In your commit you removed the "insecure" setting in cfg file , but it is still  referenced in line 767 ?
Hence other possible a solution might be to make lines with call of certfile stuff conditional only when username & pw is set  ?

@askpatrickw
In your commit call of
self.tls_set(cert_reqs=ssl.CERT_NONE)
is removed but this is required in my environment even when username and password is not set.
But line
self.tls_insecure_set(self.cfg.MQTTBroker.insecure)
is not required for  both hence I disabled it. Please try if this fixes your problem,  available at next branch.

I'm gong to go a different route...


Update message.dart

Added 'const' keyword to the consturctor invocation to fix 'prefer_const_constructors` lint rule violation
Changes
Fixes #304
Before Committing
dart analyze --fatal-infos
Analyzing flutter_analyze...

   info • lib\messages\generated.dart:15:24 • Use 'const' with the constructor to improve performance. Try adding the 'const' keyword to the constructor invocation. • prefer_const_constructors

1 issue found.

Please make sure that you've analyzed and formatted the files.
dart analyze flutter_ffi_plugin --fatal-infos
dart format .
cargo fmt
cargo clippy --fix --allow-dirty

Thank you very much for the PR :) I will publish a new version shortly, after all the checks pass!


Updated logout and online button

fixed issue #95
Please review this @osBins.
As the header uses absolute positioning and there is no media query in the CSS the design will break at some point. If the issue is still not solved please let me know how you are testing this.

Looks good @snahashisk! Since there's no responsive model set up for the chatApp yet, I'm only testing it by increasing and decreasing the zoom percentage. Merging your PR.


[blue sky] change viewer

Description
For more advanced users, it would be super neat if you could obtain a visual representation of changes made in your current editing session, like in OSMCha:

or Achavi:

Hi @mvexel - we have an issue to restore the old 'diff view' that was in v1. That bug is here: Enable Visual Difference mode#509. Are you looking for us to restore that functionality? If so, I will mark this as a duplicate.
Or- are you asking for something different than the old functionality, and want something more in line with what osmCha does for highlighting changes?

Oh wow, I didn't know that was in Rapid previously. Yes, that looks like what I would like to be able to see. Ideally as part of the pre-upload view.

Got it! Okay, I will consider this one as a duplicate then and close it. Thanks!


Attachment Link is Broken in a Copy Page if Original Page is deleted

Describe the bug
When I copy a page with the link of attachments, the page is created and the link are okay. However if I delete the original page and the links in the page I've copied are all broken.
Steps To Reproduce
Steps to reproduce the behavior:

Create a new page
Upload an attachment
Copy the link and paste it in the wyswyg editor
Save
Press copy and select a location to save
delete the original page with attachment uploaded
The link in the copied page are broken now

Expected behavior
I expected the links are still possible to download, which means the linkage between pages and  attachments should not be so strong.
Screenshots
N/A
Your Configuration (please complete the following information):

Exact BookStack Version (Found in settings): 0.29.3
PHP Version: N/A
Hosting Method (Nginx/Apache/Docker): N/A

Additional context
Just another suggestion not related to this issue, I think the record handling method may need to improve, since I found that the delete button will fully delete the record in the database and the record deleted is impossible to be recover from anywhere.
I suggest that those delete record should change it's value in status field such as => "status='deleted'".

Hi @jamkuong,
This is the expected behaviour, since attachments are very much related to the original page they're uploaded to, hence why you need to be on the page-edit view to upload. I don't really want to change this if possible, as it keeps the attachment model simple and the permission model sane.
I can see how it may be easy to not think about attachments, when deleting a page, though.
Maybe instead, on the confirm-page-delete screen, we should indicate that there are existing attachments and offer the chance to re-assign them to another page? Would that suit?

@ssddanbrown I think the re-assign would help in my case. Thanks for your reply =).


UI-features v4

Checklist

[ ] Tests written for new code (and old code if feasible).
[ ] New or updated public/exported symbols have accurate TSDoc documentation.
[ ] Linter and other CI checks pass.
[ ] Sign-off given on the changes (see CONTRIBUTING.md).

Adding feature flag for email og phonenumbers


bash is unable to use compgen

Describe the bug
bash in NixOS is unable to use compgen in scripts
Test file:
#!/usr/bin/env bash
command -v compgen || echo wtf

Produces two different results when run in bash vs bashInteractive:
/nix/store/kxkdrxvc3da2dpsgikn8s2ml97h88m46-bash-interactive-5.2-p15/bin/bash
compgen

/nix/store/8fv91097mbh5049i9rglc73dx6kjg3qk-bash-5.2-p15/bin/bash
wtf

On other distributions compgen is available as built-in:
# Debian in docker
root@e38cf2602bbd:/# printf "%s\n" '#!/usr/bin/env bash' "command -v compgen || echo wtf" > test.sh
root@e38cf2602bbd:/# ./test.sh
compgen

So this causes various issues such as building armbian:
╰───❯ ./compile.sh
[🌿] The directory '/mnt/hdd/src/armbian-build' is set as a safe directory in git
error: No such remote ''
[🌱] Using prebuilt Armbian image as base for 'ubuntu-jammy' [ DOCKER_ARMBIAN_BASE_IMAGE: ghcr.io/armbian/docker-armbian-build:armbian-ubuntu-jammy-latest ]
[🌿] Docker info [ Docker 24.0.5 Kernel:6.4.11-xanmod1 RAM:7.75GiB CPUs:8 OS:'NixOS 23.05 (Stoat)' hostname 'dreamon' under 'Linux' - buildx:yes - loop-hacks:yes static-loops:no ]
[🌱] Creating [ .dockerignore ]
[🌱] Docker launcher [ enabling all extensions looking for Docker dependencies ]
/mnt/hdd/src/armbian-build/lib/functions/general/extensions.sh: line 484: compgen: command not found
[💥] Error  127 occurred in SUBSHELL [ SUBSHELL at /mnt/hdd/src/armbian-build/lib/functions/general/extensions.sh:484 ]
[💥] Error 127 occurred in main shell [ at /mnt/hdd/src/armbian-build/lib/functions/general/extensions.sh:484
               enable_extension() --> lib/functions/general/extensions.sh:484
   enable_all_extensions_builtin_and_user() --> lib/functions/general/extensions.sh:542
   docker_cli_prepare_dockerfile() --> lib/functions/host/docker.sh:250
                do_with_logging() --> lib/functions/logging/section-logging.sh:81
                 cli_docker_run() --> lib/functions/cli/cli-docker.sh:47
        armbian_cli_run_command() --> lib/functions/cli/utils-cli.sh:136
                 cli_entrypoint() --> lib/functions/cli/entrypoint.sh:176
                           main() --> ./compile.sh:50
 ]
[💥] Cleaning up [ please wait for cleanups to finish ]
[🌿] ANSI log file built; inspect it by running: [ less -RS output/logs/log-docker-65bc85da-6666-42f2-b9b0-b4a641716e6b.log.ans ]
[🌿] Share log manually (or SHARE_LOG=yes): [ curl --data-binary @output/logs/log-docker-65bc85da-6666-42f2-b9b0-b4a641716e6b.log.ans https://paste.next.armbian.com/log ]

Or scripts that use compgen such as case in the wild: https://www.reddit.com/r/NixOS/comments/avtnz5/nix_package_manager_makes_me_feel_dumb/ehi6927
Expected behavior
compgen should be available for scripts that use #!/usr/bin/env bash as shebang
Additional context
compgen seems to work when called from terminal, but if it's called from it script it doesn't
Optionally if this is expected handling then propose a Nix(OS)-friendly integration of https://github.com/search?q=repo%3Aarmbian%2Fbuild compgen&type=code
Workaround:
# Configuration file for Nix(OS) to provide a temporary development enviroment

{ pkgs ? import <nixpkgs> {} }:

pkgs.mkShell {
  name = "armbian-build";
  buildInputs = with pkgs; [
-    bash # For evaluation
+    bashInteractive # For evaluation
    nil # Language server for nix
    git
    imagemagick # for compgen?
    shellcheck # For linting shell
    util-linux # Needed for uuidgen
  ];
}

Notify maintainers
@dtzWill - Maintainer of bash and bashInteractive
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.4.11-xanmod1, NixOS, 23.05 (Stoat), 23.05.20230829.2ab91c8`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.13.5`
 - channels(root): `"nixos-23.05, nixos-unstable"`
 - channels(raptor): `"home-manager-23.05.tar.gz, nixpkgs-23.05, nixpkgs-unstable"`
 - channels(raptor-experiment): `"home-manager-23.05.tar.gz, nixpkgs-23.05"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Was brainstormed as pebcak, the shell.nix shouldn't be using bash for interactive workflow https://matrix.to/#/!KqkRjyTEzAGRiZFBYT:nixos.org/$_2x0VQEsOEDATCOJ0MpewcBjAXwdAINZ_cwPRvQsL-o?via=nixos.org&via=matrix.org&via=tchncs.de


Feature request: Native tabs

Is it possible to support native tabs as shown here
https://support.apple.com/en-us/HT206998

I feel like a kid asking for the most expensive Lego for Christmas, but if I could choose any style of tabs, it would look like iTerm:

@iain are there specific features you're looking for with regards to native tabs? Would it just be to have the option of darker tabs and a slightly updating UI?
Native tabs don't have a lot in the way of customization and have a limited feature set.
iTerm2 isn't using native tabs. They're using a version of PSMTabBarControl that they've modified: https://github.com/gnachman/iTerm2/tree/master/ThirdParty.
MacVim is using PSMTabBarControl too! It just doesn't have the same modifications: https://github.com/macvim-dev/macvim/tree/master/src/MacVim/PSMTabBarControl
I do think that with High Sierra the GUI code base could use an update as there are several legitimate issues like full screen not working, NSWindow errors, etc.
Perhaps part of that could be bringing over some features like a darker UI with dark tabs as an option.
(I'm a long-time web developer and am not very familiar with Objective C. I would love to help with MacVim development (and I'm learning) but please take these comments with a huge grain of salt.)

@ActionScripted I would say what I would love to see is something more than just a darker tabs, although this would also be nice to have.
To give an analogy, one can open multiple tabs inside of iTerm, each of which run a different session of vim. However, this is currently not possible with MacVim. Opening a new tab in MacVim is native to vim in the sense that it just uses the same session with all tabs and all buffers can be accessed from any of the tabs.
To have multiple sessions of MacVim, one needs to open MacVim in a new window. I'm not sure which approach would be the easiest to approach this but it seems that OSX already supports opening multiple windows as tabs. If it helps, VS Code is doing exactly this with its native tabs feature.

Wow this would be awesome... how hard is it modify that to make it like iTerm?

Sorry to clarify -- regarding the dark color only. NOT about the functionality you mentioned about iTerm

Just as an update, #788 has officially turned off native tabs (it was actually previously turned on but it was buggy). I'll need to investigate if there's actually value in properly supporting native tabs (similar to VS code) before properly supporting it. There are at least a couple things that need to be fixed up including how the menus work, shortcut keys, and rendering artifacts that show up.
Just for reference some people here confused "native tabs" with dark tabs, which #791 did add (it will turn on when you turn on dark mode in Mojave). Native tabs refer to High Sierra's feature of grouping multiple distinct macOS windows into one tabbed window, so if we support it you will see two hierarchy of tabs. Each native Mac tab will be a window that runs a Vim instance, each still having its own Vim tabs. It's not a replacement for the normal Vim tabs.

iTerm2 now has even better looks in my opinion. Requested the following similar feature: #962.

@mvcouwen I personally agree with you. However, I know a few people who like toolbar and tab bar list separate.

This seems to be implemented. Using latest version on Catalina.

iTerm2 now has even better looks in my opinion. Requested the following similar feature: #962.

Dude if MacVim looked like that I literally would die and go to heaven...
@bitigchi so youre saying this is somehow implemented? How do I enable them?

@9mm I think what @bitigchi means is that native tabs (in the sense of this feature request) are implemented. So I think this issue can be closed.
However, I would like to give the tabs another look. That is why I made a new feature request #962 . This has not yet been implemented.

I'm pretty sure native tabs is not implemented though.


Cloze support

Hi Ben:
I just added cloze feature, would you like to add into your project?
Thank you
Houcheng Lin

That sounds cool! I'd be interested to see it and probably add it!

It's great! I'll upload the patch later.

It's great! I'll upload the patch later.

Any luck with that patch? I'd be super interested in trying it out.


goferish refactor and fixes

Changes and fixes.

Introduce struct to be instantiated,
Add methods on pointer receiver,
Fix the number of slices allocations to the bare minimum,
Naming according to go standards,
Remove naming redundancy (neurax.NeuraxXXX -> neurax.XXX),
Introduce default config,
allow for context passing and safe server shutdown,
allow for safe goroutine closing (some of them, more goroutines needs a context for safe exit),
removed pythonic ideas (clunked the code unnecessarily), pythonic ideas work well for small prototype projects, not for reusable, well-performing, testable, and safe code.

I would like to refactor more but not in one go.
Please if there is anything that is somehow unclear I would be happy to clarify this.
I think this library may have great potential but needs some architecture changes.
This isn't easy when building things from scratch.

Hi, first of all, thank you for your contribution <3 I will merge your PR and will also mirror changes in naming conventions to README as soon as I have some spare minute. Everything is clear and well-written, yet I have some hard time understanding the listenerTick variable. Is it used for graceful timeout handling?

listenerTick will allow reading from  conn, err := l.Accept()  but if if context.Context  will be closed it will then stop the loop immediately. Otherway you are keeping goroutine in an infinite loop and without the possibility of stoping this loop. So this is going to run forever. (leaking resources)


Skip blacklight_iiif_search:install solr changes

The BlacklightIiifSearch::InstallGenerator allows for skipping installing the SOLR changes.  See below:
def add_solr_config
  generate 'blacklight_iiif_search:solr' unless options[:'skip-solr']
end

With this commit, we'll skip over those changes.  The application will still have the the suggest routes and configuration; which may need further investigation: Is the Universal Viewer making requests that are silently failing?  Do we need the catalog controller configuration?
This all is very challenging to test without a full install.
The attached file (excluding the vendor/plugins) shows what changes will be made to British Library when we run an install using this change:

Related to:

https://github.com/scientist-softserv/iiif_print/issues/147

These are the changes that should be made from the generator as outlined in the README
https://github.com/scientist-softserv/iiif_print/blob/main/README.md#changes-made-by-the-installer, the last three items are solr related and should not be there, is that correct?  Could the README be changed as well?


Regarding GPU Information

Hi,
I really liked your work!!!
Could you clarify the GPU requirements needed to train the models?
Thanks,
Kartik

Thank you for your interest in our work! Our experiments are conducted on the NVIDIA RTX A6000.


Python version problem?

While running the demo, ( python extract_scene.py -p example_scenes.py SquareToCirclepython extract_scene.py -p example_scenes.py SquareToCircle ) I get the following exception:
File "extract_scene.py", line 46
print str(err)
^
SyntaxError: invalid syntax
I believe it is somehow related to python version, right?

Yes, That particular syntax for print only works in python 2 so if you're using python 3 it won't work. Try using python 2.

Why on earth do you use python 2.7 ? :(

This issue can be closed.
If @ahmedahmedov or anyone you know are interested in a Python 3 rewrite, then open a separate issue to raise awareness.  The Python community needs people like you pushing us forward!

I tried to convert all files into pyhon3 using 2to3 so I could use my own liberaries as well. It didn't work successfully for all files. Have anybody a better idea to convert it?

Yes.  97# talks about how to use futurize.  There is another alternative called modernize.
These are both wrappers around 2to3 because 2to3 often breaks backward compatibility with Python 2 and the others try to preserve coexistence.


Improve Equipment Item handling workflow

Inspired by YLS:

Question.. Is there going to be a way so when I “Search The catalog” using a value I set under “serial” to search for a machine – if it’s been checked out I can click check in and vice versa?

This workflow is currently horrible (my reply):

As things stand, you'd have to do the following to check in the equipment item:

Search for the serial number
Click on the Equipment Model name
Scroll down to the list of equipment items and click on the status of that item (should be "Checked out by ...")
On the reservation page, click the "Check In" button

In terms of checking out equipment, there's no way really to do that other than to find the reservation or reserver and check it out normally, making sure to select the right item name.

This workflow needs to be improved, here are some suggestions:

[ ] link directly to equipment items from search results
[ ] add checkin / checkout functionality to equipment item views (e.g. look up relevant reservations and allow the checkout person / admin to pick one to assign an equipment item to)
[ ] add checkin / checkout functionality to search results?

Note that if you're not an admin (eg, staff) you can't even view all the equipment items. When I worked as a media tech we primarily used the user check in/out page to check equipment in and out.
Check out from the item page/search results would be sooo nice

I think it's based on whether or not your workflow is user-based (as the current workflow is), or if it's equipment-based (as he's asking). I don't see a reason why you couldn't implement both. In terms of staff permissions, I personally think we could give them more detailed access to equipment information, but that's something we'd have to discuss with our clients first.

Agreed. It would be a dream really to just have to punch in the serial # of the equipment to check it in

Note to self, this might be good for later this semester (e.g. v5.5.0).


Compiling with c++ 14

Hi
We are not able to compile our project with c++17 because of some other library dependencies, (c++17 and related gcc is installed on the machine but in our cmake file we define our compiler as c++14)
However I install the drogon with following the installation wiki and add it to our project
But when I try to compile our application it gives the following error. Which seems to be related with c++17, how can we solve this problem, how can we build drogon with c++14
In file included from /usr/local/include/drogon/config.h:2:0,
                 from /usr/local/include/drogon/drogon.h:17,
                 from /tmp/tmp.KuZgKPJZbr/WebService/WSManager.cpp:7:
/usr/local/include/trantor/utils/config.h:6:12: error: ‘std::any’ has not been declared
 using std::any;
            ^~~
/usr/local/include/trantor/utils/config.h:7:12: error: ‘std::any_cast’ has not been declared
 using std::any_cast;
            ^~~~~~~~
In file included from /usr/local/include/drogon/config.h:2:0,
                 from /usr/local/include/drogon/drogon.h:17,
                 from /tmp/tmp.KuZgKPJZbr/WebService/WSManager.cpp:7:
/usr/local/include/trantor/utils/config.h:10:14: error: ‘string_view’ in namespace ‘std’ does not name a type
 typedef std::string_view string_view;

Hi
The version of C++ standard is detect automatically by cmake, you could modify the CMakeList.txt file to force compiler using c++14. There are two CMakeList.txt files should be modified. One is in the root folder of drogon, and the other is in the trantor folder.
You could use the following patches to change the CMakeList.txt files.
drogon.diff.txt
trantor.diff.txt
Then re-cmake, rebuild and reinstall drogon to fix the problem. After some testing, it works for gcc, but it fails for clang in my environment. Which compiler do you use?

Also, if you create a drogon application project with the drogon_ctl command, you should modify the project's CMakeList.txt file as shown above.

Thanks, modifying the cmake files fixed the problem

@tolgatanriverdi Starting with the latest version, you no longer need to force the C++14 standard for drogon.


Stack env variables are not inherited by docker-compose services

Bug description
I have created a new stack using my docker-compose and .env file. The variables declared inside the .env file are not available to the docker services declared in the docker-compose file. The variables only become available to a service if they are explicitly declared.
Example:
.env file
POSTGRES_USER=alice
POSTGRES_PASSWORD=testpass
POSTGRES_PORT=5432

I have to do the following to access the .env variables in my services
services:
  scheduler:
    container_name: beto-scheduler
    image: beto-scheduler
    environment:
      POSTGRES_USER: ${POSTGRES_USER}
      POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
      POSTGRES_PORT: ${POSTGRES_PORT}
    networks:
      - beto-network
    restart: unless-stopped
  bot-server:
    container_name: beto-server
    image: beto-server
    environment:
      POSTGRES_USER: ${POSTGRES_USER}
      POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
      POSTGRES_PORT: ${POSTGRES_PORT}
    networks:
      - beto-network
    restart: unless-stopped

Expected behavior
I expected all my services to inherit the env variables from the .env file used during stack creation.
That is to say, this docker-compose file should have the same functionality as the one above.
services:
  scheduler:
    container_name: beto-scheduler
    image: beto-scheduler
    networks:
      - beto-network
    restart: unless-stopped
  bot-server:
    container_name: beto-server
    image: beto-server
    networks:
      - beto-network
    restart: unless-stopped

Steps to reproduce the issue:

Create new stack using docker-compose file and .env file
Try to access env variables declared in .env file provided during stack creation.
You will not be able to access the .env variables inside individual services unless you declare them all explicitly

Technical details:

Portainer version: 2.9.3
Docker version (managed by Portainer): docker version 20.10.10, build b485636 managed by portainer
Platform (windows/linux): linux
Command used to start Portainer (docker run -p 9443:9443 portainer/portainer):
docker run -d -p 8000:8000 -p 9000:9000 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer-data:/data portainer/portainer-ce
Browser: Brave
Have you reviewed our technical documentation and knowledge base? Yes

Variables can be used anywhere in the yaml though (e.g. volume, network section etc) and you might not always want those values to end up in the environment variables of the container. I assume that's why compose have designed it the way they have, where you define which environment variables get passed through:
https://docs.docker.com/compose/environment-variables/#pass-environment-variables-to-containers

Yeah, before portainer, I passed the variables with the 'env_file' field. Is there a way to do the same with portainer?

Variables can be used anywhere in the yaml though (e.g. volume, network section etc) and you might not always want those values to end up in the environment variables of the container. I assume that's why compose have designed it the way they have, where you define which environment variables get passed through: https://docs.docker.com/compose/environment-variables/#pass-environment-variables-to-containers

If you deploy the stack in Portainer from Git you can.

you don't have to deploy from git, see this article: https://www.portainer.io/blog/using-env-files-in-stacks-with-portainer
TL;DR you can reference the environment using env_file: stack.env


config.client.version no longer in Dalston

I was using Camden.SR7 on my Spring Cloud Config Server and there's a config.client.version and it changes everytime the properties get refreshed.
{"name":"application.properties","profiles":["master"],"label":"master","version":"9ad0fd174feb0cdbc5ab73753e64be061af2ba3b","state":null,"propertySources":[]}
But on Dalston, the version is null, is this a feature or a bug?

This is a bug introduced when we started supporting composite environments repositories.

FYI I created issue #720 to perhaps mover version to the property source level.


refactor(blockifier_reexecution): refactor retry config params

This change is

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#1923  👈
#1905 : 2 other dependent PRs (#1906 , #1920 )
#1902
main

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

Join @AvivYossef-starkware and the rest of your teammates on  Graphite

Merge activity

Nov 10, 10:11 AM EST: A user merged this pull request with Graphite.


Adding .travis.yml

For example:
language: php

php:
    - 5.3
    - 5.4
    - 5.5
    - hhvm

before_script:
    - composer self-update && composer install --dev

script: ./tests/runTests.sh
script: ./vendor/bin/phpunit

@nibsirahsieu I can push the required .travis.yml file, but an action from you is required to change repo settings

:+1:

@EmanueleMinotto which settings i have to change?

@EmanueleMinotto done.

added in #12, thanks @robertfausk


711 sighting can do ID without AGS

Pull Request Overview

Sighting now contains the ID config rather than just the AGS.
This means that migrated sightings without an AGS can now also repeat ID.

@naknomum, especially needs to review this, this is making the sighting migration easier by removing the dependency on AGS we talked about.
Note there are still some AGS dependencies and this makes sense as thse are for things like the detectioon time that are definitely AGS field and only read from the Sighting to provide the same api as an AGS
Sighting

id_configs

/rebase

This means that migrated sightings without an AGS can now also repeat ID.

is the implication here that migrated sightings (no ags) must have this id_configs set?  i would assume so.  it seems like we may be able to set these while migrating, but not sure i am convinced we need to.    can this be set later?  for example if we want to kick off ID on a migrated sighting, can we potentially prompt for an id config and then initiate?

/rebase


chore(docs): Remove backwards compatibility claim for user_id in token claims

Breaking change to the Auth APIs also removed the backwards compatibility for the token to have a user_id as claim instead of `sub.
https://github.com/electric-sql/electric/pull/828/files#diff-6f5e692c874649d2aee74958b2c1369a83d09ec9be84e60330f8eaf5ec4fc023R37-R43
export function decodeToken(token: string): JWTPayload & { sub: string } {
  const decoded = decodeJwt(token)
  if (typeof decoded.sub === 'undefined') {
    throw new InvalidArgumentError('Token does not contain a sub claim')
  }
  return decoded as JWTPayload & { sub: string }
}

We also say "sub (formerly user_id)" everywhere in the docs - should we still keep that or remove it entirely and use just sub going forwards?

I think the situation now is that the sync service is backwards compatible, but the client isn't.
We should probably drop reference everywhere IMO (or push a patch making the client backwards compatible)

Dropping support for user_id was not necessary. And it doesn't look like it was intentional, more like an oversight. @kevin-dp hasn't mentioned it as a breaking change in the lead up to the release.
We should bring support for user_Id back in the client.


IP2TOR Subscription Failing

When attempting to use any bridge the subscription fails after payment is sent? "Error: Fail on subscription storage"

On the first view this seems to be a local issue because it has problems of storing the subscription to the toml file.
Can you take a look if the following file already exists /mnt/hdd/app-data/subscriptions/subscriptions.toml and if yes if contains text data .. can you check if its valid toml with validators like this: https://www.toml-lint.com
Another thing to check is also the amount of free space on the HDD ... what does "HDD use" on the LCD display say?

The HDD use is at 456GB (27%) so that doesn't seem to be the issue. However, the subscriptions.toml file is not there.

is this solved? IP2Tor subscriptions are tested ok. Did you lose any sats @cubanhodl ?

This is not solved and I did in the process of attempting to open a bridge. It would pay the invoice and then attempt to open the bridge before getting the error above. @rootzoll

However, the subscriptions.toml file is not there.

Maybe its a problem with the script not being able to write into subscriptions directory. @cubanhodl can you post the result of the following command:
sudo ls -la /mnt/hdd/app-data | grep subscriptions

@cubanhodl the Subscription was created on Oct. 31th and ran for 24 hours. So I believe that @rootzoll 's idea is right: Please check the file/directory permissions on the path where the subscriptions are saved.

This is the result of that command.
drwxr-xr-x  2 bitcoin     bitcoin     4096 Jun 23 21:36 subscriptions
@rootzoll

@cubanhodl can you run a sudo chown admin:admin /mnt/hdd/app-data/subscription and then check again if subscriptions can be created?

OK for v1.7.2 I added a command that on bootstrap the /mnt/hdd/app-data/subscriptions directory will always be set to owner admin. Hope this prevents such errors in the future ... closing for v1.7.2 release.


Research operations

Goal
To align on approaches to various research processes
Background
We are a new and growing design team that spans across three different scrum teams, so it's important we align on process and structure for visibility, clarity, and consistency.
Approach
We have prioritized some of the activities and processes that need definition (see Mural here), reflected by the ticket work inside this epic.
We will focus this first chunk of work on defining the norms, process, and tools for

Recruiting
Scheduling
Conducting research (primarily usability tests and group feedback sessions)

Assumptions
This is ongoing work to be iterated on as we continue to grow and flesh out our processes.
Out-of-scope
Design processes. This work will be defined in epic #8335, Design Operations
Dependencies and risks
This work could go on forever! We need to determine how far we want to take this chunk of work.
Open questions
Links & resources
Mural
We will be successful if...
Our team agrees that the processes we've outlined help make our workflow and collaboration more effective and efficient.
All design team members understand the processes we've outlined and are able to implement the processes in their everyday work

epic completed


Load mods from its own version folder like Forge

I have multiple versions of Minecraft installed on my client. They all have their own Forge installed. I usually keep my mods in separate folders (mods/1.1x/ for example) so no crush happen when launching different versions of Minecraft.
But it seems that Rift does not support loading mods from sub-folder under mods, e.g. mods/1.13/. If I put my 1.13 mods directly under mods/ then my other version like 1.12 or 1.11 will crash while launching.
I like the idea that Forge allows having different versions of mods to be stored under different folders. Could you implement the same functionality with Rift please? It would be wonderful. Thank you!

I too have discovered this, I would love to have the mods in a version sub-directory

#65 I just created a pull request for this. Please take a look :)
This PR will let Rift try to load mods from mods/1.13-Rift/ folder first. If empty, it will then load mods directly from mods/ just like the old days.


Is it possible to do this on a retail ps4?

Or is it possible to do it on a PC somehow?

Or is it possible to do it on a PC somehow?

yes you can use the orbital emulator im working on right now to emulate. It works mostly good with a rooted/jailbroken ps4 on which you can add custom software. Though, on orbital emulator is kinda slow rn.


hdfs support

Description
HDFS storage support.
Use Case
A significant portion of companies dealing with big data uses HDFS as the backend storage solution of choice for long-term persistent data storage and processing. Having this would be very beneficial for the place I currently work at.

@houqp I did some search on HDFS libraries for Rust and found this caret: https://crates.io/crates/fs-hdfs . But it seems to have a lot of dependencies to run. Do you have any suggestions on this?

@yjshen wrote a wrapper for libhdfs3: https://github.com/datafusion-contrib/datafusion-hdfs-native. This one is a lot leaner since it only has a c++ dependency. Perhaps you can work with him to convert that binding into its own crate? Right now it's coupled with the datafusion hdfs object store implementation.

Good to know that. @yjshen do you have time to convert your work into a new crate? It would be very helpful for other Rust projects too.

@houqp Do you think datafusion-contrib is the right place to hold this hdfs rust repo?  or should I make it under my account?

@yjshen up to you, since you are the author :)

Hey @yjshen , any update on this? Currently we are using MinIO on HDFS as a workaround. But it seems to be not a sustainable way: https://github.com/minio/minio/issues/13927 . We are all counting on you now :)

@zijie0 let's corporate here : https://github.com/datafusion-contrib/hdfs-native

Cool! @yjshen

Sorry everyone I realized that this feature might not be trivial to support.
HDFS and the apache stack can be very complicated to support. Optimally users connecting to HDFS should be using the correct client version intended by the cluster maintainers. This can often mean that the user should use the version of HDFS as provided in the system they are running it on. So to support this feature I think the options are as following

Do dynamic linking to existing system libraries.
Include hdfs dependencies but and multiple versions of delta-rs based on hdfs version.

But this will open up a whole new bag of worms that I don't think is good for any project to experience. Not to mention both approaches will increase the installation complexity to end-users (that most users probably would not be too experienced with).
A workaround is to mount HDFS and access it like a regular filesystem and allow delta-rs to access hdfs this way though this is just a suggestion.

I find that the solution by @yjshen is a really sound one but installation will likely differ across systems.
Eg. the company I work at has a custom hdfs version. So I'll have to make sure to build hdfs-native correctly.
The barrier of adoption might be high.

Hi @mingruimingrui , I've met with a similar problem, a customized HDFS version similar to yours. To make it worse, we even use HDFS with federation that isn't supported by native CPP implementations.
Since the motivation for me to implement hdfs-native as well as datafusion-hdfs is to call DataFusion through JNI in Spark executors to boost the performance. We currently adopt another approach: create an HDFS client in JVM and share it through JNI, as a workaround for the situation that our customized HDFS only maintains its Java Client.

Eg. the company I work at has a custom hdfs version. So I'll have to make sure to build hdfs-native correctly (and not follow the instructions in the repo).
The barrier of adoption might be high.

Yeah, unfortunately for custom setup, a custom build will be needed for native applications. I am guessing clickhouse has the same problem as well.

Yes, that is true for ClickHouse. For now, our hosted ClickHouse cluster can only use one single HDFS NameNode. Lack the capability to use federated HDFS.

Since Datafusion has implemented https://github.com/datafusion-contrib/datafusion-objectstore-hdfs. Does it help delta to support HDFS?

Yes. It looks like they have complete read support. But write support isn't incomplete.
Someone could integrate that into this package.


Default input validation does not trigger on async action

Current behavior
What am I trying to achieve?
I'm trying to disable the input when the form is submitting, but it seems that this breaks the default validation logic.
const loading = store.useState("submitting");

<Ariakit.FormInput
 name={form.names.name}
 placeholder="John Doe"
 className="input"
 required
 readOnly={loading}
/>

Steps to reproduce the bug
https://stackblitz.com/edit/kbjrn4?file=form%2Fstyle.css,form%2Findex.tsx&theme=dark
Press "Add" in the demo above, noticed that despite the inputs having the required field, the default validation logic did not kick in, and the form still continues submitting.
Expected behavior
Before useSubmit is triggered, the forms default validation should kick in, and the error Please fill in this field. should appear below each empty inputs.
Workaround
https://github.com/ariakit/ariakit/issues/2818#issuecomment-1722091762
Possible solutions
No response

That happens because the native browser's validation doesn't seem to trigger on readOnly inputs.
I'm not sure what we can do to mitigate this, but, from the user perspective, the best solution I can think of right now is to rely on custom validation:
form.useValidate(() => {
  if (!form.getValue(form.names.name)) {
    form.setError(form.names.name, "Please fill in this field.");
  }
  if (!form.getValue(form.names.email)) {
    form.setError(form.names.email, "Please fill in this field.");
  }
});

Gotcha, the workaround works!
Should this issue remain open or closed? I'll leave it to your discretion!

@diegohaz
I also encounter the simillar issue. This custom validation approch works but make it worked by combining three flags submitting && !!email && !errors.hasOwnProperty('email'). Both approch work absolutly fine but feels dirty. So I stated digging into source code and found that this is happpening because submitting flage is getting truthy before the client vallidation happen.
IMO this is not right approch because form should only submit to the server after the successful client validation and If I not wrong this submitting flage is indicating the same. If yes then it should only be getting true once the validation is successful.
If we need something before submitting then we already has the validating.


sha3 test implemented

@fckt what caused the issue that you had last week? I'm just curious

@debris it turns out that bug pops only in my environment on https://fckt.github.io/wasm-contract-runner/. Keccak works correctly in parity-wasm and with emscripten JS glue code in chrome/firefox. I suspect there is something wrong with imports (externalities) implementation in the wasm-contract-runner


Feed of all feeds

Thank you for this great tool. I use it to monitor PRs on https://github.com/NixOS/nixpkgs. 😁
I wonder if there is a way to get a feed of all feed, so that I don't have to add all feeds to my feed reader, that can't reed OPML (Nextcloud News).

It looks like Nextcloud News support opml import.
https://github.com/nextcloud/news-android/issues/780
opml import is a one-time import, but could be substituted for opml subscription.

Unfortunately the import doesn't work with the generated OPML file.
I get this:

...when I import:
<?xml version="1.0" encoding="UTF-8"?><opml version="2.0">
    <head>
    <title>GitHub Search Subscriptions</title>
    <dateCreated>2023-05-28T07:15:34.336Z</dateCreated>
</head>
    <body>
    <outline title="Subscriptions">
        <outline>
            <outline type="rss" title="microsoft/TypeScript Iteration Plan" htmlUrl="https://pbek.github.io/github-search-rss/nixos-smartgithg.json" xmlUrl="https://pbek.github.io/github-search-rss/nixos-smartgithg.json"/>
        </outline>
    </outline>
</body>
</opml>

Plus, you would need to import it new every time something changes, and the import only works with local files.

valid JSON

Nextcloud News uses opml.json?
Current opml file is xml.

http://opml.org/spec2.opml

you would need to import it new every time something changes,

Yes. The solution to the underlying problem would be a Feature Request to Nextcloud News.
As workaround, you can generate merged rss feed instead of opml index file.
However, I am not keen on this method as it limits the number of items in a single feed.
📝 create feeds for each search results currently
https://github.com/azu/github-search-rss/blob/4922905f0eec8e5e74e2469d2ac396a6f80d8658/src/index.ts#L238-L256
Instead of it, merge all results and create a single rss feed.
Pseudo code:
// get all search results
const allItems = [];
for (const item of SEARCH_ITEMS) {
    const { query, TYPE, SIZE } = item;
    const items = await search({
        query,
        TYPE,
        GITHUB_TOKEN: GITHUB_TOKEN,
        SIZE: SIZE ?? 20
    });
    if (!items) {
        throw new Error("Can not search:" + query);
    }
    allItems.push(...items);
}
// generate merged rss
const rss = generateRSS(allItems, {
    title: "merged rss",
    link: `${BASE_URL}/all.json`,
    description: `merged rss on GitHub`,
    updated: new Date()
});
await fs.writeFile(path.join(distDir, "all.json"), rss, "utf-8");

That was what I'm looking for, thank you very much!


New guide chapter: Efficient Metadata Handling

Discussed yesterday with @lukaszachy that it would be nice to summarize all features which are available for efficient metadata handling and preventing data duplication. The new guide chapter should cover these:

using fmf inheritance
adjust based on context
yaml referencing features
sharing tests across repositories

Simple example demonstrating yaml referencing:
discover:
  - name: upstream
    how: fmf
    filter: &selection tier:1 & tag:container
    url: https://github.com/teemtee/tmt
  - name: fedora
    how: fmf
    filter: *selection
    url: https://src.fedoraproject.org/rpms/tmt/


chore: add toString in jobstatus

Purpose of the PR

close #xxx
for debug testcase

Main Changes

Verifying these changes

[x ] Trivial rework / code cleanup without any test coverage. (No Need)

[ ] Already covered by existing tests, such as (please modify tests here).

[ ] Need tests and can be verified as follows.

[x ]  Nope
[ ]  Dependencies (add/update license info)
[ ]  Modify configurations
[ ]  The public API
[ ]  Other affects (typed here)

Documentation Status

[ ]  Doc - TODO
[ ]  Doc - Done
[x ]  Doc - No Need

It seems Enum already overrides write toString

maybe we need to implement DefaultJobState.toString()?

maybe we need to implement DefaultJobState.toString()?

Done, and I have fond the issue that blocked the minikube test. please review the latest changed files.

thanks and could give more context about the issue/bug?

it may be this issue: https://github.com/apache/incubator-hugegraph-computer/pull/287#discussion_r1403393492

I still can't find the root cause. Let's keep this PR open for another two or three days. If it's still mysterious to me, we can append it to PR #287.

@javeme @imbajin I finally find the actual reason.

the default delete policy in k8s has changed to background since v1.20.
Plus the way you added finalizer is replaceCR, so you will sometimes miss the delete event generated by your client.

    private boolean finalizer(HugeGraphComputerJob computerJob) {
        if (computerJob.addFinalizer(FINALIZER_NAME)) {
   --->   // this is partial reason, can u use patch CR instead?
            this.replaceCR(computerJob);
            return true;
        }

        ComputerJobStatus status = computerJob.getStatus();
        if (computerJob.isMarkedForDeletion()) {
            if (!JobStatus.finished(status.getJobStatus())) {
                status.setJobStatus(JobStatus.CANCELLED.name());
                this.updateStatus(computerJob);
            } else {
                if (computerJob.removeFinalizer(FINALIZER_NAME)) {
                    this.replaceCR(computerJob);
                }
            }
            return true;
        } else {
            if (JobStatus.finished(status.getJobStatus())) {
                if (this.autoDestroyPod) {
                    this.deleteCR(computerJob);
                }
                return true;
            }
        }

        return false;
    }

k8s will deleted its owned resource in the background whether the CR is deleted or not, so the calculated job status will always remain INITIALIZING, then the operator won't deploy again.

        ComputerJobComponent observed = this.observeComponent(computerJob);
----> //calculated status remains INITIALIZING forever, so won't deploy it again.
        if (!this.updateStatus(observed) && request.retryTimes() == 0) {
            LOG.debug("Wait status to be stable before taking further actions");
            return OperatorResult.NO_REQUEUE;
        }

        if (Objects.equals(computerJob.getStatus().getJobStatus(),
                           JobStatus.RUNNING.name())) {
            String crName = computerJob.getMetadata().getName();
            LOG.info("ComputerJob {} already running, no action", crName);
            return OperatorResult.NO_REQUEUE;
        }

        ComputerJobDeployer deployer = new ComputerJobDeployer(this.kubeClient,
                                                               this.config);
        deployer.deploy(observed);

        return OperatorResult.NO_REQUEUE;

Then as human, we observe the unit-test case failed again and again.

solution
My solution is to adjust the delete policy back to foreground. Everyone is happy now.

retry

https://github.com/apache/incubator-hugegraph-computer/blob/0c447be2c61a521fbe6cd5fc5f1273218ba268d3/computer-test/src/main/java/org/apache/hugegraph/computer/core/network/netty/NettyTransportClientTest.java#L316

BTW, the u could import the hugegraph-style.xml to avoid most of the align/import problems

Gotcha.

I cannot repeat your failure, but it failed with another reason. I am concerned with the quality of test cases.


URL for 2.X

Hello!
How can we get URL for 2.X version of plugin? When we use
bin/plugin --install imotov/elasticsearch-analysis-morphology
we get error:
Message:
Error while installing plugin, reason: IllegalArgumentException: Plugin installation assumed to be site plugin, but contains source code, aborting installation.

+1. When will be release for 2.0.0?

2.0.0 is released


Made changes on testcases for bumped Siddhi version

This PR will be sent to the https://github.com/wso2-extensions/siddhi-gpl-execution-streamingml


Added beginner level page to contribute.

Contributing
If you want to add a project to this list, please make sure that:

[ ] You read the contributing guide
[ ] The repository has hacktoberfest as topic and counts for hacktoberfest event
[ ] The project can't be just an "add your name" or simply + 1 contribution to hacktoberfest
[ ] Place them in alphabetical order
[ ] One repository per PR/contribution - avoid conflicts and simplify review
[ ] Your pull request is not spammy just adding an empty line, otherwise it will be marked as invalid and not count to hacktoberfest.

If they meet the requirements above, feel free to create a PR. Happy Hacking! :sparkles:

Closing, feel free to reopen if you make some changes.


Initialize the login widget from the credential datastore at startup

Fixes #794.
Really the service should initialize itself.  I haven't implemented it
that way because of some pretty gnarly circular dependencies in the
initialization.
Basically the service calls itself through delegates during
initialization. In addition multiple instances of the datastore are
actually instantiated during intitialization.

woops. forgot to run tests.

You mind explaining why this was happening prior to the refactoring of login as a service? I'm not seeing the connection.

Prior to the refactor to a service GoogleLogin was managed as a singleton
with a getInstance method that performed construction and initialization as
separate steps.  If you try to initialize the state of the component during
construction it'll fail since there are code paths that depend on the
component existing already at initialization.
On Wed, Jul 27, 2016 at 5:40 PM, Etan Shaul<EMAIL_ADDRESS>wrote:

You mind explaining why this was happening prior to the refactoring of
login as a service? I'm not seeing the connection.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/gcloud-intellij/pull/797#issuecomment-235729978,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHf5HRZh14btRqFuvK_VXA_9KA5R2tYhks5qZ9BMgaJpZM4JWpWN
.

Oh I see. So the initialization was lost during the refactoring. Thanks.
LGTM

yep. I should have mentioned that!


Image link not working in Tutorial.md

in tutorial.md file under the css section  (https://heretto.com/wp-content/uploads/2020/12/CSS-Feature-Image-1080x675.jpg) this link is no longer working as the image is no longer availible on the web.

#2280


how to use changeBitDepth

Dear Sirs,
could you please explain how to use changeBitDepth?
I want to use more than four colors in the esp8266-weather-station-color project.
-.
uint16_t palette [] = {ILI9341_BLACK, // 0
ILI9341_WHITE, // 1
ILI9341_NAVY, // 2
...
ILI9341_MAGENTA, // 14
0xFD80}; // 15
int BITS_PER_PIXEL = 4;
-.
But the current weather icons (weathericons.h) have BitDepth: 2.
I've tried using changeBitDepth:
-.
void drawCurrentWeather () {
uint16_t palette [] = {ILI9341_BLACK, // 0
ILI9341_WHITE, // 1
ILI9341_YELLOW, // 2
0x7E3C
}; // 3
gfx.changeBitDepth (2, palette);
gfx.drawPalettedBitmapFromPgm (0, 105, getMeteoconIconFromProgmem (currentWeather.icon));
-.
But it doesn't work (Bmp has wrong bit depth).
How can I solve this problem?
Thank you.

Weather icons are fixed bit-depth you have to create new icons with a wider colour range. The bit depth your referencing is for other functions like background colours.

Thank you so much for quick answer!
Could you please advise the software for convert bmp to const char like weathericons.h in this project?

https://sourceforge.net/projects/lcd-image-converter/files/

Thank you very much!
I will try to use this converter.

I have tried different settings of the LCD Image Converter and LCD Assistant but could not get a good result.
Should this really work for TFT ILI9341?
For test, I tried to get the same code when converting "tstorms.bmp" with a depth of 2 bits per pixel.
But none of the attempts resulted in the correct image on the screen.
Some dots and stripes are displayed, but this is not the original image.
Does anyone have a successful experience of using any converter for bmp for TFT?
I will be very grateful for any help.

creating images for display is not easy. You have to select the correct direction and format I think this software uses a special image format, you need to check what driver is being used. XBM I recall

Thank you for your attention to my question. I am trying to get an image for esp8266-weather-station-color which uses Mini Grafx by Daniel Eichhorn. The sketch archive has a folder of used bmp images.

Also the file 'weathericons.h' contains the code for these images.
const char tstorms[] PROGMEM = {
0x01, // Version: 1
0x02, // BitDepth: 2
0x00, 0x62, // Width: 98
0x00, 0x64, // Height: 100
// Round width to next byte: 104
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
I want to find a converter for such a conversion.

I want to find a converter for such a conversion.

Try this https://github.com/squix78/bitmapconverter-for-minigrafx

This is definitely another great work by Daniel Eichhorn!
But only one problem - how to use it with Windows? :)
I tried to use command line to run java
java -cp ./ Converter.java sleet.bmp > sleet.c
Error.
This should probably have a different way to run or additional infrastrucrure.

Hi, See also this.
https://github.com/ThingPulse/esp8266-weather-station-color/issues/41#issuecomment-388780985

Hi, See also this.
#41 (comment)

Thank you so much! I will try. 2 bit depth only? This is possible for 4 bit depth ?
Any way, thank you again!

Hi, See also this.
#41 (comment)
Hi, lorol, how can I contact you with another question?

@Aleks-Ale  You can post it here, to #41 or create a new case whatever is more appropriate

@Aleks-Ale You can post it here, to #41 or create a new case whatever is more appropriate

I need your help here:
https://github.com/lorol/esp8266-oled-ssd1306/tree/master/resources/FontConverterV3
russian?

@Aleks-Ale You can post it here, to #41 or create a new case whatever is more appropriate
Is it possible to display the Cyrillic fonts in Mini Grafx by Daniel Eichhorn for TFT ili 9341 (esp8266-weather-station-color)?

I don't remember if I did try Cyrillic fonts adapting on color project.
You need to replace ArialRounded.h - yes you can generate yourself by https://github.com/lorol/esp8266-oled-ssd1306/tree/master/resources/FontConverterV3
or use https://forum.arduino.cc/index.php?topic=447956
Squix V3 format I believe.
Then use UTF-8 file encoding for your sketch and write the strings as you wish.
It may be an additional trick for 2 symbols but I don't remember anymore.

I have two unresolved problems for the weather station.

Using Cyrillic to display weather descriptions (ru) from OpenWeatherMap.
Using more than 4 colors for screen decoration. Weather icons can be 2-bit depth.

Then use UTF-8 file encoding for your sketch and write the strings as you wish.
I tried to use the Arial_c_10.V3.h Cyrillic font and the MiniGrafx utf8ascii function. Nothing.
I do not know what to do.
Any ideas?

Please help.
My station is flashing time (12/24h), why is that?
https://www.youtube.com/watch?v=Yk5BN8K-zUs

How do I edit the sketch for the ILI9488 display (320x480)?
Thank Martin

Please help.
My station is flashing time (12/24h), why is that?
https://www.youtube.com/watch?v=Yk5BN8K-zUs

How do I edit the sketch for the ILI9488 display (320x480)?
Thank Martin


Avoid flushing caches when transitioning between --interactive and server-client mode

Currently every time you switch, we go through a different code path to run Mill, and so caches get flushed and everything needs to be re-compiled. There is no reason for this to be the case so we should just fix it

This can be seen via:
mill$ mill -i dev.launcher

mill$ cd scratch

scratch$ ../out/dev/launcher/dest/run show thingy
Compiling (synthetic)/ammonite/predef/interpBridge.sc
Compiling (synthetic)/ammonite/predef/DefaultPredef.sc
Compiling /Users/lihaoyi/Dropbox/Github/mill/scratch/build.sc
[1/1] show
[1/1] thingy
1234567
scratch$ ../out/dev/launcher/dest/run -i show thingy
Compiling (synthetic)/ammonite/predef/interpBridge.sc
Compiling (synthetic)/ammonite/predef/DefaultPredef.sc
Compiling /Users/lihaoyi/Dropbox/Github/mill/scratch/build.sc
[1/1] show
[1/1] thingy
1234567

Seems like the following files are included in the classpath signature scan as part of --interactive but not in client/server mode:
  (
    Right(/Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/jre/lib/ext/sunec.jar),
<PHONE_NUMBER>000L
  ),
  (
    Right(/Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/jre/lib/ext/nashorn.jar),
<PHONE_NUMBER>000L
  ),
  (
    Right(/Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/jre/lib/ext/cldrdata.jar),
<PHONE_NUMBER>000L
  ),
  (
    Right(/Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/jre/lib/ext/jfxrt.jar),
<PHONE_NUMBER>000L
  ),
  (
    Right(/Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/jre/lib/ext/dnsns.jar),
<PHONE_NUMBER>000L
  ),
  (
    Right(
      /Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/jre/lib/ext/localedata.jar
    ),
<PHONE_NUMBER>000L
  ),
  (
    Right(
      /Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/jre/lib/ext/sunjce_provider.jar
    ),
<PHONE_NUMBER>000L
  ),
  (
    Right(
      /Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/jre/lib/ext/sunpkcs11.jar
    ),
<PHONE_NUMBER>000L
  ),
  (
    Right(/Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/jre/lib/ext/jaccess.jar),
<PHONE_NUMBER>000L
  ),
  (
    Right(/Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/jre/lib/ext/zipfs.jar),
<PHONE_NUMBER>000L
  ),
  (Right(/System/Library/Java/Extensions/MRJToolkit.jar),<PHONE_NUMBER>000L),

Here's the difference between the classloaders of --interactive and client/server:
Interactive:
lihaoyi scratch$ ../out/dev/launcher/dest/run -i show thingy
Compiling (synthetic)/ammonite/predef/interpBridge.sc
Compiling (synthetic)/ammonite/predef/DefaultPredef.sc
ArrayBuffer(sun.misc.Launcher$AppClassLoader@15db9742, sun.misc.Launcher$ExtClassLoader@7a47f0be)
ArrayBuffer(
  (
    sun.misc.Launcher$AppClassLoader@15db9742,
    Array(
      file:/Users/lihaoyi/Dropbox/Github/mill/dev/resources,
      file:/Users/lihaoyi/Dropbox/Github/mill/out/dev/compile/dest/classes,
      file:/Users/lihaoyi/Dropbox/Github/mill/scalalib/resources,
      file:/Users/lihaoyi/Dropbox/Github/mill/out/scalalib/compile/dest/classes/,
      file:/Users/lihaoyi/Dropbox/Github/mill/main/resources,
      file:/Users/lihaoyi/Dropbox/Github/mill/out/main/compile/dest/classes/,
      file:/Users/lihaoyi/Dropbox/Github/mill/core/resources,
      file:/Users/lihaoyi/Dropbox/Github/mill/out/core/compile/dest/classes/,
      file:/Users/lihaoyi/Dropbox/Github/mill/moduledefs/resources/,
      file:/Users/lihaoyi/Dropbox/Github/mill/out/moduledefs/compile/dest/classes/,
      file:/Users/lihaoyi/Dropbox/Github/mill/main/client/resources,
      file:/Users/lihaoyi/Dropbox/Github/mill/out/main/client/compile/dest/classes/,
      file:/Users/lihaoyi/Dropbox/Github/mill/scalajslib/resources,
      file:/Users/lihaoyi/Dropbox/Github/mill/out/scalajslib/compile/dest/classes/,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/org/scalaz/scalaz-core_2.12/7.2.16/scalaz-core_2.12-7.2.16.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/net/java/dev/jna/jna/4.5.0/jna-4.5.0.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/com/github/scopt/scopt_2.12/3.5.0/scopt_2.12-3.5.0.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/org/scala-lang/scala-reflect/2.12.4/scala-reflect-2.12.4.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/com/lihaoyi/ammonite-terminal_2.12/1.1.2/ammonite-terminal_2.12-1.1.2.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/com/lihaoyi/ujson_2.12/0.6.6/ujson_2.12-0.6.6.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/com/lihaoyi/ammonite-ops_2.12/1.1.2/ammonite-ops_2.12-1.1.2.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/com/lihaoyi/scalaparse_2.12/1.0.0/scalaparse_2.12-1.0.0.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/org/scalaz/scalaz-concurrent_2.12/7.2.16/scalaz-concurrent_2.12-7.2.16.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/com/lihaoyi/fansi_2.12/0.2.4/fansi_2.12-0.2.4.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/com/lihaoyi/upickle_2.12/0.6.6/upickle_2.12-0.6.6.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/com/lihaoyi/geny_2.12/0.1.2/geny_2.12-0.1.2.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/org/jline/jline-terminal-jna/3.6.2/jline-terminal-jna-3.6.2.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/com/lihaoyi/sourcecode_2.12/0.1.4/sourcecode_2.12-0.1.4.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/org/jline/jline-terminal/3.6.2/jline-terminal-3.6.2.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/io/get-coursier/coursier-cache_2.12/1.0.0/coursier-cache_2.12-1.0.0.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/org/scalaj/scalaj-http_2.12/2.3.0/scalaj-http_2.12-2.3.0.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/org/scala-sbt/ipcsocket/ipcsocket/1.0.0/ipcsocket-1.0.0.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.12.4/scala-compiler-2.12.4.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/org/scala-lang/scala-library/2.12.4/scala-library-2.12.4.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/com/lihaoyi/fastparse_2.12/1.0.0/fastparse_2.12-1.0.0.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/net/java/dev/jna/jna-platform/4.5.0/jna-platform-4.5.0.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/com/lihaoyi/ammonite-util_2.12/1.1.2/ammonite-util_2.12-1.1.2.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/org/javassist/javassist/3.21.0-GA/javassist-3.21.0-GA.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/org/scala-lang/modules/scala-xml_2.12/1.0.6/scala-xml_2.12-1.0.6.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/io/get-coursier/coursier_2.12/1.0.0/coursier_2.12-1.0.0.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/com/lihaoyi/ammonite_2.12.4/1.1.2/ammonite_2.12.4-1.1.2.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/com/lihaoyi/ammonite-repl_2.12.4/1.1.2/ammonite-repl_2.12.4-1.1.2.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/com/github/javaparser/javaparser-core/3.2.5/javaparser-core-3.2.5.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/org/jline/jline/3.6.2/jline-3.6.2.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/org/scalaz/scalaz-effect_2.12/7.2.16/scalaz-effect_2.12-7.2.16.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/com/lihaoyi/pprint_2.12/0.5.2/pprint_2.12-0.5.2.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/com/lihaoyi/ammonite-runtime_2.12/1.1.2/ammonite-runtime_2.12-1.1.2.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/org/scala-sbt/test-interface/1.0/test-interface-1.0.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/com/lihaoyi/fastparse-utils_2.12/1.0.0/fastparse-utils_2.12-1.0.0.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/com/lihaoyi/ammonite-interp_2.12.4/1.1.2/ammonite-interp_2.12.4-1.1.2.jar
    )
  ),
  (
    sun.misc.Launcher$ExtClassLoader@7a47f0be,
    Array(
      file:/Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/jre/lib/ext/sunec.jar,
      file:/Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/jre/lib/ext/nashorn.jar,
      file:/Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/jre/lib/ext/cldrdata.jar,
      file:/Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/jre/lib/ext/jfxrt.jar,
      file:/Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/jre/lib/ext/dnsns.jar,
      file:/Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/jre/lib/ext/localedata.jar,
      file:/Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/jre/lib/ext/sunjce_provider.jar,
      file:/Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/jre/lib/ext/sunpkcs11.jar,
      file:/Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/jre/lib/ext/jaccess.jar,
      file:/Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/jre/lib/ext/zipfs.jar,
      file:/System/Library/Java/Extensions/MRJToolkit.jar
    )
  )
)
RunScript.evaluateRootModule
Compiling /Users/lihaoyi/Dropbox/Github/mill/scratch/build.sc
[1/1] show
[1/1] thingy
12345678

client/server:
lihaoyi scratch$ ../out/dev/launcher/dest/run show thingy
Compiling (synthetic)/ammonite/predef/interpBridge.sc
Compiling (synthetic)/ammonite/predef/DefaultPredef.sc
ArrayBuffer(sun.misc.Launcher$AppClassLoader@15db9742, sun.misc.Launcher$ExtClassLoader@3ea909cd)
ArrayBuffer(
  (
    sun.misc.Launcher$AppClassLoader@15db9742,
    Array(
      file:/Users/lihaoyi/Dropbox/Github/mill/dev/resources,
      file:/Users/lihaoyi/Dropbox/Github/mill/out/dev/compile/dest/classes,
      file:/Users/lihaoyi/Dropbox/Github/mill/scalalib/resources,
      file:/Users/lihaoyi/Dropbox/Github/mill/out/scalalib/compile/dest/classes/,
      file:/Users/lihaoyi/Dropbox/Github/mill/main/resources,
      file:/Users/lihaoyi/Dropbox/Github/mill/out/main/compile/dest/classes/,
      file:/Users/lihaoyi/Dropbox/Github/mill/core/resources,
      file:/Users/lihaoyi/Dropbox/Github/mill/out/core/compile/dest/classes/,
      file:/Users/lihaoyi/Dropbox/Github/mill/moduledefs/resources/,
      file:/Users/lihaoyi/Dropbox/Github/mill/out/moduledefs/compile/dest/classes/,
      file:/Users/lihaoyi/Dropbox/Github/mill/main/client/resources,
      file:/Users/lihaoyi/Dropbox/Github/mill/out/main/client/compile/dest/classes/,
      file:/Users/lihaoyi/Dropbox/Github/mill/scalajslib/resources,
      file:/Users/lihaoyi/Dropbox/Github/mill/out/scalajslib/compile/dest/classes/,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/org/scalaz/scalaz-core_2.12/7.2.16/scalaz-core_2.12-7.2.16.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/net/java/dev/jna/jna/4.5.0/jna-4.5.0.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/com/github/scopt/scopt_2.12/3.5.0/scopt_2.12-3.5.0.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/org/scala-lang/scala-reflect/2.12.4/scala-reflect-2.12.4.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/com/lihaoyi/ammonite-terminal_2.12/1.1.2/ammonite-terminal_2.12-1.1.2.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/com/lihaoyi/ujson_2.12/0.6.6/ujson_2.12-0.6.6.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/com/lihaoyi/ammonite-ops_2.12/1.1.2/ammonite-ops_2.12-1.1.2.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/com/lihaoyi/scalaparse_2.12/1.0.0/scalaparse_2.12-1.0.0.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/org/scalaz/scalaz-concurrent_2.12/7.2.16/scalaz-concurrent_2.12-7.2.16.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/com/lihaoyi/fansi_2.12/0.2.4/fansi_2.12-0.2.4.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/com/lihaoyi/upickle_2.12/0.6.6/upickle_2.12-0.6.6.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/com/lihaoyi/geny_2.12/0.1.2/geny_2.12-0.1.2.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/org/jline/jline-terminal-jna/3.6.2/jline-terminal-jna-3.6.2.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/com/lihaoyi/sourcecode_2.12/0.1.4/sourcecode_2.12-0.1.4.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/org/jline/jline-terminal/3.6.2/jline-terminal-3.6.2.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/io/get-coursier/coursier-cache_2.12/1.0.0/coursier-cache_2.12-1.0.0.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/org/scalaj/scalaj-http_2.12/2.3.0/scalaj-http_2.12-2.3.0.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/org/scala-sbt/ipcsocket/ipcsocket/1.0.0/ipcsocket-1.0.0.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.12.4/scala-compiler-2.12.4.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/org/scala-lang/scala-library/2.12.4/scala-library-2.12.4.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/com/lihaoyi/fastparse_2.12/1.0.0/fastparse_2.12-1.0.0.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/net/java/dev/jna/jna-platform/4.5.0/jna-platform-4.5.0.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/com/lihaoyi/ammonite-util_2.12/1.1.2/ammonite-util_2.12-1.1.2.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/org/javassist/javassist/3.21.0-GA/javassist-3.21.0-GA.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/org/scala-lang/modules/scala-xml_2.12/1.0.6/scala-xml_2.12-1.0.6.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/io/get-coursier/coursier_2.12/1.0.0/coursier_2.12-1.0.0.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/com/lihaoyi/ammonite_2.12.4/1.1.2/ammonite_2.12.4-1.1.2.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/com/lihaoyi/ammonite-repl_2.12.4/1.1.2/ammonite-repl_2.12.4-1.1.2.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/com/github/javaparser/javaparser-core/3.2.5/javaparser-core-3.2.5.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/org/jline/jline/3.6.2/jline-3.6.2.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/org/scalaz/scalaz-effect_2.12/7.2.16/scalaz-effect_2.12-7.2.16.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/com/lihaoyi/pprint_2.12/0.5.2/pprint_2.12-0.5.2.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/com/lihaoyi/ammonite-runtime_2.12/1.1.2/ammonite-runtime_2.12-1.1.2.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/org/scala-sbt/test-interface/1.0/test-interface-1.0.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/com/lihaoyi/fastparse-utils_2.12/1.0.0/fastparse-utils_2.12-1.0.0.jar,
      file:/Users/lihaoyi/.coursier/cache/v1/https/repo1.maven.org/maven2/com/lihaoyi/ammonite-interp_2.12.4/1.1.2/ammonite-interp_2.12.4-1.1.2.jar,
      file:/Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/jre/lib/ext/sunec.jar,
      file:/Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/jre/lib/ext/nashorn.jar,
      file:/Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/jre/lib/ext/cldrdata.jar,
      file:/Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/jre/lib/ext/jfxrt.jar,
      file:/Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/jre/lib/ext/dnsns.jar,
      file:/Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/jre/lib/ext/localedata.jar,
      file:/Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/jre/lib/ext/sunjce_provider.jar,
      file:/Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/jre/lib/ext/sunpkcs11.jar,
      file:/Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/jre/lib/ext/jaccess.jar,
      file:/Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/jre/lib/ext/zipfs.jar,
      file:/System/Library/Java/Extensions/MRJToolkit.jar
    )
  ),
  (
    sun.misc.Launcher$ExtClassLoader@3ea909cd,
    Array(
      file:/Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/jre/lib/ext/sunec.jar,
      file:/Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/jre/lib/ext/nashorn.jar,
      file:/Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/jre/lib/ext/cldrdata.jar,
      file:/Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/jre/lib/ext/jfxrt.jar,
      file:/Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/jre/lib/ext/dnsns.jar,
      file:/Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/jre/lib/ext/localedata.jar,
      file:/Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/jre/lib/ext/sunjce_provider.jar,
      file:/Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/jre/lib/ext/sunpkcs11.jar,
      file:/Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/jre/lib/ext/jaccess.jar,
      file:/Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/jre/lib/ext/zipfs.jar,
      file:/System/Library/Java/Extensions/MRJToolkit.jar
    )
  )
)
RunScript.evaluateRootModule
Compiling /Users/lihaoyi/Dropbox/Github/mill/scratch/build.sc
[1/1] show
[1/1] thingy
12345678

In the client/server setup, the JDK jars seem to appear twice: once in sun.misc.Launcher$AppClassLoader, and once in sun.misc.Launcher$ExtClassLoader


Put notations for Vector.t into a module

It is common practice to put notations that could interfere with the
parser into modules, so that they can be imported by the user if needed.
For example, the vector notations can break ltac scripts.

I would also like to investigate whether one can break e.g. the '[' and '|' into two different tokens to maybe work around the notation-breaking behaviour, but never tried this. Did someone try this?

However, parsing fails now:
Check [ | 1; 2; 3 | ].
(* [|1; 2; 3|] *)
(*      : t nat 3 *)
Check [| 1; 2; 3 |].
(* > Check [| 1; 2; 3 |]. *)
(* >       ^^ *)
(* Error: Syntax error: [constr:lconstr] expected after 'Check' (in [vernac:query_command]). *)


Feature - Would be nice to have an option to set UseOriginalName to a default value

Hi,
There's a way to set UseOriginalName after the document is loaded and to specific tagName's only. It would be nice to set a default value for attributes and nodes to behave preserving original name.
This is specially useful for example in angular html templates, since casing is relevant in these cases ex: *ngIf="condition"
Thanks
POFerro

Hello @POFerro ,
Thank you for your suggestion, we will look at it.
Best Regards,
Jon

Sponsorship
Help us improve this library
Performance Libraries
context.BulkInsert(list, options => options.BatchSize = 1000);
Entity Framework Extensions • Bulk Operations •  Dapper Plus
Runtime Evaluation
Eval.Execute("x + y", new {x = 1, y = 2}); // return 3
C# Eval Function • SQL Eval Function

Hello @POFerro ,
The v1.11.35 has been released.
Here is the commit related to the pull: https://github.com/zzzprojects/html-agility-pack/commit/d8208348c70ede999ca5e0f089d1dc8364f16ffc
If I missed something, let me know.
Best Regards,
Jon

Thanks @JonathanMagnan , everything works like a charm.
Thanks for the mention in the release I was flattered :).


uutils-coreutils: 0.0.27 -> 0.0.28

https://github.com/uutils/coreutils/releases/tag/0.0.28
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/4863

Please use separate commits for nixfmt and other changes not related to the version update


Got this error using the extension on osx, installed python using pyenv and used the pyenv link for pyhton

Does this occur consistently?
Repro steps:

Action: azureFunctions.createNewProject
Error type: NoResouceFoundError
Error Message: No matching resources found.
Version: 1.0.1
OS: darwin
OS Release: 19.6.0
Product: Visual Studio Code
Product Version: 1.51.1
Language: en

Call Stack
AzureAccountTreeItemWithProjects.<anonymous> extension.bundle.js:54:9223
fulfilled extension.bundle.js:54:3146
processTicksAndRejections task_queues.js:94:5

Please add repro steps

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Calculate number of required signers given a NativeScript

With Native, or Multisignature Scripts introduced in #869, it is impossible to know which pubkey owners will add their signatures to the final Tx, for example, in case of NOfK-type multisig script. We should add calculation of the maximum possible number to CTL (given a particular script).

Done


Want to add a Tailwind component folder

Want to add a folder in which we can add component made with Tailwind , animations using Tailwind etc.
If you allow I will manage the whole folder and will include all the sub folders also.

If you think this will be helpful assign it to me.

Thank you for assigning , i will start work on it


[FLINK-25147][connectors][test] Migrate Cassandra connector tests to testContainers

As discussed guys, I did the migration. Let's merge it and see within two weeks if all the flakiness in this ITest is removed (all the linked jira tickets).
R: @zentol
CC: @AHeise
CC: @MartijnVisser
CC: @tillrohrmann
What is the purpose of the change
Make tests more reliable and less flaky
Brief change log
Migrate Cassandra connector tests to testContainers intead of Embedded Cassandra (forked process)
Verifying this change
This change is already covered by existing tests, CassandraConnectorITCase passes out of 20 runs
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): yes only test scope
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? not applicable

And besides, it seems this test case now runs on java 11! We will see on azure but local tests pass in java 11

@flinkbot run azure

@zentol thanks for the review. I addressed all your comments and squashed. PTAL.

@flinkbot run azure

@flinkbot run azure

@flinkbot run azure

@flinkbot run azure

@zentol my bad I forgot the checkstyle after the change to constant of cassandra container. Fixed and squashed. PTAL.

@zentol I went through IDE warnings, there should be no things left. I have squashed

@flinkbot run azure

@zentol thanks for review/merge !


Missing result: CycleCloud CPU for mt-gemm

I didn't find Azure CycleCloud for CPU when parsing the mt-gemm results. For example, it should be in the plot here:
https://github.com/converged-computing/performance-study/tree/main/analysis/mt-gemm#performance-gflops-per-second-for-cpu
And I don't see it in any of the directories here:
https://github.com/converged-computing/performance-study/tree/main/experiments/azure/cyclecloud/cpu/size32/results
Maybe it was an artifact that needs to be pulled? Here are the tags we have:
 for tag in $(oras repo tags ghcr.io/converged-computing/metrics-operator-experiments/performance)
> do
> echo $tag | grep gem
> done
eks-cpu-32-mt-gemm
eks-cpu-64-mt-gemm
gke-cpu-mt-gemm
eks-efa-cpu-32-mt-gemm
eks-cpu-64-efa-mt-gemm
eks-cpu-128-mt-gemm
gke-cpu-64-mt-gemm
gke-cpu-128-mt-gemm
gke-cpu-256-mt-gemm
aks-infiniband-cpu-32-mt-gemm
gke-cpu-mt-gemm-1k
aks-infiniband-cpu-64-mt-gemm
compute-engine-cpu-32-mt-gemm
eks-gpu-8-mt-gemm
compute-engine-cpu-64-mt-gemm
compute-engine-cpu-128-mt-gemm
compute-engine-cpu-256-mt-gemm
eks-gpu-16-mt-gemm
aks-infiniband-cpu-32-mt-gemm-placement
gke-gpu-8-2-mt-gemm
gke-gpu-4-mt-gemm
aws-parallelcluster-cpu-32-node-mt-gemm
gke-gpu-16-mt-gemm
gke-gpu-32-mt-gemm
aks-gpu-4-mt-gemm
aks-gpu-8-mt-gemm
aks-gpu-16-mt-gemm
aks-gpu-32-mt-gemm
eks-cpu-256-mt-gemm
compute-engine-gpu-4-mt-gemm
compute-engine-gpu-8-mt-gemm
compute-engine-gpu-16-mt-gemm
compute-engine-gpu-32-mt-gemm

It's not under @asarkar-parsys here or @amarathe84 here. Likely I'm not looking in all places. Let's try to find it.
cc @asarkar-parsys @milroy that ran on CycleCloud for CPU.

I had run into issues running mt-gemm on cyclecloud. The following is from the notes I had made available before leaving.
From Slack 8/28:
Oras uploaded for 32 and 64 node azure cyclecloud results. Benchmarks that worked with reasonable success on both: amg, kripke, lammps, quicksilver, osu
Need attention: laghos, minife, mt_gemm
Excerpt from the document I had shared.
mt-gemm jobs: 2 jobs timedout, could be a simple error with running the module before submitting the job
module load mpi/hpcx-pmix-2.18
for i in {1..5}; do sbatch --output=../../data/mt-gemm/%x-%j-iter-${i}.out --error=../../data/mt-gemm/%x-%j-iter-${i}.err slurm-mt-gemm-32n.sh; done
Error: /var/spool/slurmd/job00276/slurm_script: 9: module: not found
So, maybe someone fixed it and ran mt-gemm on cyclecloud? @milroy @amarathe84

Thanks @asarkar-parsys for sharing (likely again) the note from slack. If it turns out that we didn't get the data because of slurm/module errors, we can document that, but maybe it was tried again and is in an artifact or someone's local machine.  Likely we need to do a full inventory across apps, also to get counts of things, which I've started to do in my head as I'm processing the analyses results, but a more thorough look is needed I think.

I also want to clarify there is no urgency here - I am just documenting what I find as I go, because I won't remember. Maybe a colored spreadsheet would do better so I don't open issues for each one.


AEM Adopter: Card Group use case with 4 cards

Type : Feature Request
Adopter: AEM
Description: In the events where there are 4 cards in a card group, the current card grouping with card group default and content block cards default is not usable for AEM purposes.  Requesting to create a variation where if there are 4 cards, they can be viewed as 2 columns with 2 rows and 2 cards per column (4 by 4 matrix)
For all other combinations, existing designs and story book elements work for AEM Team

Convert to an epic and create design spec issue, func spec update, DDS engineering, Visual QA, Prod QA, website issue

Met with team. Agreed to allow new knob/prop:
Number per row: [ 2 | 3 | 4 ]


Add support for Django 1.11 and 2.x

Updated the render choices parameter to renderer as per the base class "Widget", otherwise "AttributeError: 'tuple' object has no attribute 'render'" is raised.
In the Django documentation is stated that support for subclasses that don’t accept the renderer parameter will be removed in Django 2.1.

Does removal of choices break this for versions < 1.11?

Haven't tested in older versions. Do you really want to support un-supported versions of Django?

@josefkorbel If you're using pip, you can install directly from the branch: https://github.com/Javierb/django-better-filter-widget/tree/django-1-11-and-2-x-support


question regarding input image resize

hello,
could you please shed some light on the input image resize that's performed in read_tfrecord.py-read_and_prepocess_single_img-image_preprocess.short_side_resize.
firstly can you please explain why this is done ?
additionally, can you also please explain why you have provided the default value of cfg.py: IMG_SHORT_SIDE_LEN = 800
Thanks,
Omer

Preventing an image from being too large causes an OOM error. When training the DOTA dataset, the size of the image crop is 800. @omerbrandis

Thank you very much for repling and trying to help.
But i still dont fully understand,
Since in my case the size of the input img is smaller 1280x720, thus the
resize enlarges it to 1422x800 , seems to have achived the exact opposite
of what was intended, is then a bug ?
Thanks.
Omer.
On Thu, Jan 3, 2019, 3:08 PM yangxue<EMAIL_ADDRESS>wrote:

Preventing an image from being too large causes an OOM error. When
training the DOTA dataset, the size of the image crop is 800. @omerbrandis
https://github.com/omerbrandis
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/DetectionTeamUCAS/R2CNN_Faster-RCNN_Tensorflow/issues/44#issuecomment-451138169,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADAtc6XFRHsGR_1wf1p3ZStbRKAlL-FBks5u_gDigaJpZM4ZnvgX
.

This parameter is not fixed and needs to be adjusted according to your data set. @omerbrandis

:-)
in other words, disregarding the memory consumption issue ( i could train
on a cpu with 64g of ram...),
This net can recieve an input image of any size and aspect ratio without
affecting the quality of the results ?
Omer.
On Thu, Jan 3, 2019, 3:43 PM yangxue<EMAIL_ADDRESS>wrote:

This parameter is not fixed and needs to be adjusted according to your
data set. @omerbrandis https://github.com/omerbrandis
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/DetectionTeamUCAS/R2CNN_Faster-RCNN_Tensorflow/issues/44#issuecomment-451146120,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADAtc9hqUuGsINTcjpmNE05Nl8EZ8_NTks5u_gkBgaJpZM4ZnvgX
.

Yes

Thanks again.
Can you please shed some light on how this is achived ?
( in my limited experience ive only seen nets that support  a set/fixed
input image size + i've seen that resnet itself expects a rectangle image +
mustn't/shouldn't other net parms like stride and sample size be adjusted
for images of different size ?)
+Must the image size used in training match that used in inference ?
On Thu, Jan 3, 2019, 3:52 PM yangxue<EMAIL_ADDRESS>wrote:

Yes
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/DetectionTeamUCAS/R2CNN_Faster-RCNN_Tensorflow/issues/44#issuecomment-451148483,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADAtczLiWoM6M-QpnEJPgNVYfc1BzzuTks5u_gsegaJpZM4ZnvgX
.

Not necessary @omerbrandis


Also provide reasoner rule for inverse functional entailment

In #7 we added FunctionalEntailment reasoner rule. We can easily apply the same literature trick to build an InverseFunctionalEntailment rule: if the same individual is reached by an IF object property, then the source individuals can be inferred to be the same (if compatible).

Implemented in commit 40cc991


Not working?

It apparently doesn't find a singleton something... Not even the demo project works

Are you getting this error in editor?

When I create the SystemBar.... node it spits the error into the console.

You can ignore this, this is only a problem if it happens on android.

I am developing from Windows to Android. It doesn't work if I try to change the color on the exported app on android. What do you mean??

What version of the plugin are you using?
I have released a new version in GitHub but haven't updated it yet on AssetsLib.

I used the version from AssetLib. I found my problem. It was that.

In previous versions you had to edit themes.xml file but it is now handled by the plugin.
@BalintXHD I think you haven't edited the themes.xml in previous versions. Right ?

I just had the previous version from AssetLab. And I thought that the instructions from the ReadMe was for that version. Anyway I have the new version now. And the demo project from here now works.
But it still doesn't work in my project.

Yep, immersive mode is off also.
Is there anywhere I can't call the functions?

Color object. Eg. Color.white
You can also directly give html color like "ffffff"

Sooo I solved it.
I had to right click on the SystemBar.. node and enable the access as unique name
and from code I had to have %SystemBar.... instead of $SystemBar... .


Add neckfull frills for lizards

About the PR

Adds a new type of frills. Ignore the fact they look so bald, you should be using horns.
Why / Balance

More variety.
Technical details

Media

[ ] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

Changelog

Ignore the commits i blame sloth


[1.9] 4.23beta35 crashes dedicated forge server 1.9 build 1811 on startup

Issue: rftools-1.9-4.23beta35 crashes dedicated forge server 1.9 build 1811 on startup
crash report:
https://gist.github.com/57e1f1f32b2fdbbc41ae
fml server latest:
https://gist.github.com/80df2db44df91bc5df26

Yes, RFTools hasn't been updated to that version of Forge yet. I believe from 1805 on a lot will break (not only rftools btw)

Yep, I'm reporting on every one of them, surprisingly i'm receiving fixes
within 5 to 10 minutes after every report.
On Sat, Mar 26, 2016 at 1:49 PM, McJty<EMAIL_ADDRESS>wrote:

Yes, RFTools hasn't been updated to that version of Forge yet. I believe
from 1805 on a lot will break (not only rftools btw)
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/McJty/RFTools/issues/484#issuecomment-201911207

I'll fix this tomorrow. It is already a bit late for me :-)

Fixed


[L6] Route URL Generation fails when giving 0 as a Route Parmater Value

Laravel Version: 6.6.1
PHP Version: 7.3.1
Database Driver & Version: MySQL, MariaDB 10.4

Description:
It appears when passing through an integer 0 (or any falsey value) to the route() helper or any other route URL generation function, a UrlGenerationException is thrown.
It appears this issue is caused by the following change in this PR: https://github.com/laravel/framework/pull/30714/files#diff-9ffa9921c8542da8cb0059fcbc3ad48aR218-R231
Since this is doing a non-strict type check on the Route Parameter value, it always returns false when any falsey value is given to it (as a blank string is equal to false in non-strict checks)
Steps To Reproduce:

Create a route with a required parameter and no default values, example:
Route::get('/user/{id}/post/{post_id}', 'PostController@get')->name('user.post');
Attempt to pass through 0 as one of the values, example:
route('user.post', [ 'id' => 1, 'post_id' => 0 ]);
This should product an exception similar to the following:
Missing required parameters for [Route: user.post] [URI: user/{id}/post/{post_id}]. (View: ...)

Why would your post id be 0?

While it is unconventional, ids are typically unsigned integers. 0 is a valid id.
In one particular case, I have users that may or may not have accounts. An external service always attempts to load the user's account balance and doesn't handle null very well, so I use an account with id 0 that always has a balance of 0.

Yes that's true. I think this might be an easy fix to just check if it's 0 and let it pass through?

Funny I didn't use !empty just to avoid that and then I missed a =.
Sorry about that, I'll fix it later.

Sent in a fix here: https://github.com/laravel/framework/pull/30768

We did a new patch release with this fix.