Reverse Proxy Server Replay fails (expected absolute, got relative URL)

https://groups.google.com/forum/#!topic/mitmproxy/RMEbEP7j_kc
Gist:
mitmproxy only accepts absolute-urls in regular proxy mode (GET http://example.com/). In reverse proxy mode, this changes to relative form (GET /), as a normal HTTP server would receive.  The server replay mode is not aware that the recorded traffic has been in relative form and rightfully complains about the invalid request mode.
TL;DR: A very simple workaround is running mitmproxy -S revproxy.out -R http://<IP_ADDRESS> (arbitrary reverse proxy URL). This sets mitmproxy in relative URL mode and everything works fine.
@cortesi: Do we want to change the behaviour or the documentation?

Hm I tried this, but this seems to put the server back in proxy mode, so calls are not replayed from the file, but redirected back to the -R address.
mitmproxy 0.13
E.g. this line redirects all calls to http://localhost/
./mitmdump -p $PROXY_PORT --server-replay REPLAY.dump -R http://localhost

@hexsel, what happens if you use the original address instead of localhost as the destination?

it works, but only if the server is available (i.e. it will actually go back to proxying these requests instead of failing)
I've been trying to use this to avoid servers that I need to VPN in to access, but if the server is not available (i.e. VPN off), it won't even return the [replay] requests.

however, it does work to some degree

Thanks. The issue of server availability is fixed on master, so it should work with the next release.

awesome, thanks!

Nobody has complained anymore and I think the current behaviour is reasonable enough - closing for now.


Listed twice

My name is listed twice:

gifnksm
NAKASHIMA, Makoto

I prefer the latter.

Sorry about that @gifnksm ! Looks like there's three ways you're in the history:

gifnksm<EMAIL_ADDRESS>gifnksm<EMAIL_ADDRESS>NAKASHIMA, Makoto<EMAIL_ADDRESS>
I am assuming that you prefer to leave the +github in there? I will look up how to merge these three to the mailmap.

The current .mailmap doesn't explain any changes showing up as authored with the name gifnksm (tested by checking the output of git shortlog), so something is currently not honouring the mailmap.

I just checked in on this, and you are now only NAKASHIMA, Makoto. Sorry for taking so long to double check here.


pm.depends(pn.state.param.busy) on a method

ALL software version info

param 1.10.1
panel 0.11.3
python 3.7.10

Description of expected behavior and the observed behavior
I'm trying to use @pm.depends(pn.state.param.busy, watch=True) on an instance method of a class. When I modify a parameter, I expect the method to get called once with argument busy=True and once with argument busy=False.
Instead I'm seeing potentially 2 issues:

Whenever I use @pm.depends(pn.state.param.busy, watch=True), even on a normal function, the function or method gets called 4 times, with arguments busy = True/False/True/False. It doesn't seem to be due to the watch argument because when I remove it nothing gets called.
In case of a method, every call gets duplicated (for a total of 8) and in half the calls the self argument is the boolean busy, in the other half it's the expected object instance. I never get both in the same call.

See example code and output below.
Complete, minimal, self-contained example code that reproduces the issue
import panel as pn
import param as pm
from bokeh.server.server import Server

class A(pm.Parameterized):
    value = pm.Integer()

    def __init__(self):
        super().__init__()
        self.a = 1234

    @pm.depends(pn.state.param.busy, watch=True)
    def indicator_method(self, *args, **kwargs):
        print("method", self, args, kwargs)

# @pm.depends(pn.state.param.busy, watch=True)
# def indicator_func(*args, **kwargs):
#     print("func", args, kwargs)

def bkapp(doc):
    a = A()
    p = pn.Row(a.param)
    doc.add_root(p.get_root())

if __name__ == '__main__':
    port = 8901
    server = Server({'/': bkapp}, num_procs=1, port=port)
    server.start()
    server.io_loop.add_callback(server.show, "/")
    server.io_loop.start()

Output when changing value
Example as-is:
method True () {}
method <A A00097> () {}
method False () {}
method <A A00097> () {}
method True () {}
method <A A00097> () {}
method False () {}
method <A A00097> () {}

When commenting out the method and uncommenting the function:
func (True,) {}
func (False,) {}
func (True,) {}
func (False,) {}

Workaround for method vs function
Below two potential workarounds. The method still gets called 4 times though.
class A(pm.Parameterized):
    value = pm.Integer()

    def __init__(self):
        super().__init__()
        self.a = 1234
        # Workaround 1
        f = functools.partial(self.indicator.__func__, self)
        pm.depends(pn.state.param.busy, watch=True)(f)
        # # Workaround 2
        # pn.state.param.watch(self.indicator, 'busy')

    def indicator(self, busy):
        print(self.a, busy)

Output (workaround 1):
1234 True
1234 False
1234 True
1234 False

Output (workaround 2):
1234 Event(what='value', name='busy', obj=state(servers=[]), cls=<class 'panel.io.state._state'>, old=False, new=True, type='changed')
1234 Event(what='value', name='busy', obj=state(servers=[]), cls=<class 'panel.io.state._state'>, old=True, new=False, type='changed')
1234 Event(what='value', name='busy', obj=state(servers=[]), cls=<class 'panel.io.state._state'>, old=False, new=True, type='changed')
1234 Event(what='value', name='busy', obj=state(servers=[]), cls=<class 'panel.io.state._state'>, old=True, new=False, type='changed')

I'm using workaround #1 in my real application and somehow it's only calling the indicator twice (busy = True, False). Not really sure what the difference is, I have 2 methods that each depend on the same 4 parameters defined on the class. Good news though 🙂

Trying to simplify the original example by removing Panel related code.
import param

class Other(param.Parameterized):
    busy = param.Boolean(default=False)

other = Other()

class A(param.Parameterized):

    @param.depends(other.param.busy, watch=True)
    def debug(self, *args, **kwargs):
        print(f"debug {self=} {args=} {kwargs=}")

a = A()

other.busy = True

Output:
debug self=A(name='A00026') args=() kwargs={}
debug self=True args=() kwargs={}

So effectively the debug method is called twice, the second call being weird as it's calling debug as if it was a simple function passing True to self.
other._param_watchers['busy']['value'] contains:
[Watcher(inst=Other(busy=True, name='Other00025'), cls=<class '__main__.Other'>, fn=<function depends.<locals>.cb at 0x110770b80>, mode='args', onlychanged=True, parameter_names=('busy',), what='value', queued=False, precedence=0),
 Watcher(inst=Other(busy=True, name='Other00025'), cls=<class '__main__.Other'>, fn=<function _m_caller.<locals>.caller at 0x11081a8b0>, mode='args', onlychanged=True, parameter_names=('busy',), what='value', queued=False, precedence=-1)]


Double licenses in source code

Looks like a lot of the .java files have double licenses at the top.

This is due to IDE formatting vs maven-license-plugin.


[iOS] support for multimodal

This PR introduces multimodality for iOS. Specifically, below is a demo of running MiniGPT on iOS.
https://github.com/mlc-ai/mlc-llm/assets/65606304/90939492-2aa0-4a4b-b2f0-45e341a39f31
Changes:

standalone image_embed.cc and image_module.py for image-module-related functionalities
support uploading images or photo taking in iOS
prefillImage function in LLMChat.mm handling conversion from UIImage* to void* to tvm::runtime::NDArray
add a image pre-processing module in relax_model

Update:

did not add minigpt model to the app-config.json file cuz it would affect users. let's add it in a followup pr after we upload the tuned minigpt model to HF

Just a heads up, I didn't change the app-config.json file because I would like to formally add minigpt once we upload the tuned module to HF, so that it won't affect users right now.
If you would like some local testing, I can share the commands and changes.

I'm planning to introduce chat.generate() python high-level API in a followup PR, because the API might need some further discussions. Let me know if everything is good in this PR.

@Kathryn-cat when (or where) can we expect to find minigpt4-7b-q3f16_0? I would like to test it if possible.

Hey @dylanbeadle , minigpt4-7b-q3f16_0 is just for testing purpose. You can build minigpt4 with q3f16_0 (might be a slightly outdated quantization method) and test it in iOS. I'll work on testing the image-multimodal part on iOS soon too.

Hi @Kathryn-cat , I tried to build minigpt4 from https://huggingface.co/wangrongsheng/MiniGPT-4-LLaMA-7B using python3 build.py --model ../../mlc/MiniGPT-4-LLaMA-7B --quantization q3f16_0 --target metal  but got "Unsupported model: {model_name}" (presumably because the model name does not start with 'minigpt' (from relax_model/minigpt.py", line 509). ANy suggestions or pointers on the correct(?) base MiniGPT4 model I should start with?

Great work! 🎉

Hi @Kathryn-cat, I tried to build miniGPT-4 from https://huggingface.co/wangrongsheng/MiniGPT-4-LLaMA-7B but getting error as attached screenshot. Any suggestions or pointers to resolving this please.

Hey @Kathryn-cat, I tried compiling MiniGPT-4 using both the below Urls:
Url1 - https://huggingface.co/Vision-CAIR/MiniGPT-4
Url2 - https://huggingface.co/wangrongsheng/MiniGPT-4-LLaMA-7B
I'm getting below errors while doing this process. Any suggestions or pointers to resolving this please.
<username>@USER mlc-llm % python3 -m mlc_llm.build --hf-path /Vision-CAIR/MiniGPT-4 --target iphone --max-seq-len 768 --quantization q4f16_1
git: 'lfs' is not a git command. See 'git --help'.

The most similar command is
	log
Cloning into 'dist/models/MiniGPT-4'...
fatal: repository 'https://huggingface.co//Vision-CAIR/MiniGPT-4/' not found
Downloaded weights to dist/models/MiniGPT-4
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/Users/<username>/Projects/Training Projects/mlc-llm/mlc-llm/mlc_llm/build.py", line 47, in <module>
    main()
  File "/Users/<username>/Projects/Training Projects/mlc-llm/mlc-llm/mlc_llm/build.py", line 41, in main
    parsed_args = core._parse_args(parsed_args)  # pylint: disable=protected-access
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/<username>/Projects/Training Projects/mlc-llm/mlc-llm/mlc_llm/core.py", line 429, in _parse_args
    parsed = _setup_model_path(parsed)
             ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/<username>/Projects/Training Projects/mlc-llm/mlc-llm/mlc_llm/core.py", line 471, in _setup_model_path
    validate_config(args.model_path)
  File "/Users/<username>/Projects/Training Projects/mlc-llm/mlc-llm/mlc_llm/core.py", line 514, in validate_config
    assert os.path.exists(
AssertionError: Expecting HuggingFace config, but file not found: dist/models/MiniGPT-4/config.json.
<username>@USER mlc-llm % python3 -m mlc_llm.build --hf-path /wangrongsheng/MiniGPT-4-LLaMA-7B --target iphone --max-seq-len 768 --quantization q4f16_1
git: 'lfs' is not a git command. See 'git --help'.

The most similar command is
	log
Cloning into 'dist/models/MiniGPT-4-LLaMA-7B'...
fatal: repository 'https://huggingface.co//wangrongsheng/MiniGPT-4-LLaMA-7B/' not found
Downloaded weights to dist/models/MiniGPT-4-LLaMA-7B
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/Users/<username>/Projects/Training Projects/mlc-llm/mlc-llm/mlc_llm/build.py", line 47, in <module>
    main()
  File "/Users/<username>/Projects/Training Projects/mlc-llm/mlc-llm/mlc_llm/build.py", line 41, in main
    parsed_args = core._parse_args(parsed_args)  # pylint: disable=protected-access
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/<username>/Projects/Training Projects/mlc-llm/mlc-llm/mlc_llm/core.py", line 429, in _parse_args
    parsed = _setup_model_path(parsed)
             ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/<username>/Projects/Training Projects/mlc-llm/mlc-llm/mlc_llm/core.py", line 471, in _setup_model_path
    validate_config(args.model_path)
  File "/Users/<username>/Projects/Training Projects/mlc-llm/mlc-llm/mlc_llm/core.py", line 514, in validate_config
    assert os.path.exists(
AssertionError: Expecting HuggingFace config, but file not found: dist/models/MiniGPT-4-LLaMA-7B/config.json.

@amol-prakash seems you have an extra starting “/“ in your —hg-path parameter and the repos are not found. But even after fixing that, you may run into a similar issue as the one I posted above (https://github.com/mlc-ai/mlc-llm/pull/524#issuecomment-1742218495).


Implement predicate-based filters

This would allow to implement any custom filter the user desires alongside with the existing simple filters of where, orWhere, in, etc. Example code would look like:
$db
    ->filter(
        'column',
        function ($value) { return $value == 0; }
    )->fetch();

@ooa113y That's an excellent idea! Do you have any solution in mind?

Ah, sorry, I have unfortunately not even looked at the actual code of SleekDB, so I have no idea how to go about implementing this myself.


fix the links on the landing page

Closes #1435. This PR fixes two broken links and adds a link to the latest tutorial.

One of the links immediately redirects, otw LGTM. Shall we also overhaul the website to link to the new tutorial?

We definitely should :)

Codecov Report

Merging #1437 (fcb52ae) into unstable (da7a8a8) will increase coverage by 0.00%.
The diff coverage is n/a.

:exclamation: Current head fcb52ae differs from pull request most recent head 31a74af. Consider uploading reports for the commit 31a74af to get more accurate results

@@            Coverage Diff            @@
##           unstable    #1437   +/-   ##
=========================================
  Coverage     74.57%   74.58%
=========================================
  Files           358      358
  Lines         11357    11357
  Branches        529      559   +30
=========================================
+ Hits           8470     8471    +1
+ Misses         2887     2886    -1

Impacted Files
Coverage Δ

...he/io/annotations/parser/CommentPreprocessor.scala
93.97% <0.00%> (+1.20%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update da7a8a8...31a74af. Read the comment docs.


Startify: don't remove hl of StartifyFile

I'm not sure this should be highlighted as fg,
the default is identifier, which I think is great.

I agree. What I was thinking about was consistency.
This way we can have the same highlight for files in Startify, NERDTree and Netrw.

I have to say that what I personally liked the most was having the directory names in Startify be fg_idle with the file names set to fg. But this is more of a personal choice and I thought it would be a better idea to just be consistent throughout the theme.

I use startfy to list saved sessions and commands rather than files, so using identifier makes it look nicer, otherwise everything looks white.

I think you have a some really good points in there. But at the end of the day, we'd be lose some consistency between plugins.
My suggestion will be the same as with the your other issues: use the autocmd to customize the theme 😛
I don't see an issue with things looking "too white", color is not always needed.
In your case it would be better, but in mine it would be worse. So my mind is set on this one. I'm sorry (at least you still have the option to change it).
I'll let you close the issue in case you have another argument.


bug: LoadingController not working on first tab

Type: bug
Ionic Version: 2.x
Platform: desktop browser
When creating a basic tabs project, I want to use LoadingController to show loader until everything is initialized.
Problem is that, the loader is never shown on the first tab. I put the same code to other tab and works perfectly.
This is the code I am using to show loader.
 let loading = this.loadingController.create({
            content: 'Please wait...'
        });
        console.log("creating loader");
        loading.present();

        setTimeout(() => {
            loading.dismiss();
        }, 5000);

This is the full code.
https://github.com/sjaanus/ionic2-loading-controller

Hello, thanks for opening an issue with us! I am going to be closing this one as a duplicate of https://github.com/driftyco/ionic/issues/7605. Thanks for using Ionic!


$__interval - Feature Request

We having been using timestream with grafana and it's working pretty well.
The $__interval however doesn't render and this would be extremely useful for bin queries to specify how far apart the points should be.

This is what I get when I type the $ into the grafana query editor. If I use $__interval I don't get any results.

Hi @InteliClic , could you confirm that you are using the latest timestream version? (1.5.0 or over)?
Trying to repro what you describe: I don't see $__interval in suggestions either but I can use it nonetheless.

I found it in Grafana! The plugin I was using was 1.1.12. I updated to 1.5.1 and $__interval is infact working. A quick note in the readme to update to the most recent version of the plugin inside grafana would be helpful! Thanks for all your hard work!


Feat(plugins): Preview - New arista.avd.deploy_to_cv role

Change Summary

Preview - New arista.avd.deploy_to_cv role
Component(s) name
arista.avd.<role-name>
Proposed changes

Adding:

Auto-generated gRPC API with asyncio python bindings based on aristaproto library.
CVClient library wrapping gRPC API to provider more user-friendly functions.
deploy_to_cv package with all functionality required to deploy configs and tags to CV.
Ansible Action plugin arista.avd.deploy_to_cv which wraps the python code consumes data from structured configs etc.
Ansible Role arista.avd.deploy_to_cv to easily deploy things from a playbook.

See the preview docs for role documentation.
How to test

See the preview docs for role documentation.
Only tested manually. Molecule tests will be added in #3500 but those will most likely still require manual testing.
Checklist
User Checklist

N/A

Repository Checklist

[x] My code has been rebased from devel before I start
[x] I have read the CONTRIBUTING document.
[x] My change requires a change to the documentation and documentation have been updated accordingly.
[x] I have updated molecule CI testing accordingly. (check the box if not applicable)

we need to make sure the users are aware that we need to turn on studios end to end provisioning to enable the static studios
Also, the devices have to be on-boarded previously with the inventory studios.  Should the avd role auto accept updates for devices in the inventory?

we need to make sure the users are aware that we need to turn on studios end to end provisioning to enable the static studios
Also, the devices have to be on-boarded previously with the inventory studios. Should the avd role auto accept updates for devices in the inventory?

Thank you @philippebureau I will add these points to my tracker for future enhancements. This is all under preview for now, so I will fix it step by step.


Changed Electron.ElectronMainAndRenderer to Electron.AllElectron

This pull fixes the following typescript error:
node_modules/spectron/lib/spectron.d.ts(165,27): error TS2694: Namespace 'Electron' has no exported member 'ElectronMainAndRenderer'.

Ok. I should have checked other pull requests. One for this already exists. Closing this one.


Integration 'garmin_connect' registers an entity service with a non entity service schema which will stop working in HA Core 2025.9 (platform.async_register_entity_service)

In Home Assistant (recent version) showed issue for reporting to integration owner:
Detected that custom integration 'garmin_connect' registers an entity service with a non entity service schema which will stop working in HA Core 2025.9 at custom_components/garmin_connect/sensor.py, line 99: platform.async_register_entity_service(, please create a bug report at https://github.com/cyberjunky/home-assistant-garmin_connect/issues
Detected that custom integration 'garmin_connect' registers an entity service with a non entity service schema which will stop working in HA Core 2025.9 at custom_components/garmin_connect/sensor.py, line 103: platform.async_register_entity_service(, please create a bug report at https://github.com/cyberjunky/home-assistant-garmin_connect/issues

Saw the same issue!


Sql Server Exec Stored Procedure

Bug description
      let results = await this.data.$queryRaw<ProviderSearch[]>`exec [dbo].usp_ProviderSearch
      @Search = ${input.search} ,
      @City = ${input.city} ,
      @PostalCode = ${input.postalCode} ,
      @Specialty = ${input.specialty} ,
      @Rating = ${input.rating} ,
      @Latitude = ${input.latitude} ,
      @Longitude = ${input.longitude} ,
      @DistanceMiles = ${input.distanceMiles}`

When I attempt to call a stored procedure with prisma, it gives the following error...
       code: 'P2010',
  clientVersion: '3.8.1',
  meta: {
    code: '2812',
    message: "Could not find stored procedure 'dbo.usp_ProviderSearch'."
  }

How to reproduce

Expected behavior
I should be able to use a stored procedure to return data.
Prisma information
model ProviderSearch {

  id                String  @id @default(cuid())
  name              String?
  taxId             String?
  npi               String?
  firstName         String?
  middleName        String?
  lastName          String?
  suffix            String?
  groupName         String?
  addressLine1      String?
  addressLine2      String?
  addressCity       String?
  addressState      String?
  addressPostalCode String?
  phoneNumber       String?
  specialtyId       String?
  tags              String?
  videoUrl          String?
  profilePictureUrl String?
  starRating        Float?
  latitude          Float?
  longitude         Float?
  medicalProviderId String?
  entityName        String?
  user              String?
  specialty         String?

  appointments Appointment[] @relation("ProviderSearch_Appointments")
}

Environment & setup

OS: Windows
Database: MS SQL Server Azure
Node.js version: 14

Prisma Version
prisma                  : 3.8.1
@prisma/client          : 3.8.1
Current platform        : windows
Query Engine (Node-API) : libquery-engine 34df67547cf5598f5a6cd3eb45f14ee70c3fb86f (at<EMAIL_ADDRESS>Migration Engine        : migration-engine-cli 34df67547cf5598f5a6cd3eb45f14ee70c3fb86f (at<EMAIL_ADDRESS>Introspection Engine    : introspection-core 34df67547cf5598f5a6cd3eb45f14ee70c3fb86f (at<EMAIL_ADDRESS>Format Binary           : prisma-fmt 34df67547cf5598f5a6cd3eb45f14ee70c3fb86f (at<EMAIL_ADDRESS>Default Engines Hash    : 34df67547cf5598f5a6cd3eb45f14ee70c3fb86f
Studio                  : 0.452.0
Preview Features        : referentialIntegrity

Can you reproduce this with a trivial stored procedure? Can it execute any at all?

Create Procedure SimpleProc as
Select 'Happy Day' as Name

      let results = await this.data.$queryRawUnsafe<any[]>(`exec SimpleProc`)
      return results

The stored procedure runs with no issue from the database.
prisma says ...  message: "Could not find stored procedure 'dbo.SimpleProc '."

Hey @michaelbuller,
I could not reproduce your small reproduction. I created the stored procedure manually then tried to execute it and everything worked 👇.

Let us know if you're still having this problem and potentially share more details with us.
Thank you 🙏

I am going to close this as its been 2 months now and there is no activity here.
Please reply if you want us to take another look.


chore(main): release docs-site 1.6.1

:robot: I have created a release beep boop
1.6.1 (2024-05-27)
Bug Fixes

docs-site: fix broken link (#17381) (1d63635)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/taikoxyz/taiko-mono/releases/tag/docs-site-v1.6.1 :sunflower:


Cannot link sqlcipher statically

I'm trying to link sqlcipher statically but I can't managed to do it...
Step to reproduce
Cargo.toml
[dependencies]
libsqlite3-sys = { version = "*", features = ["sqlcipher"] }

main.rs
use libsqlite3_sys;

fn main() {
    unsafe {
        libsqlite3_sys::sqlite3_initialize();
    }
}

$ export SQLCIPHER_STATIC=1
$ export SQLCIPHER_INCLUDE_DIR=/usr/include/sqlcipher
$ export SQLCIPHER_LIB_DIR=/usr/lib/x86_64-linux-gnu/
$ cargo build
$ ldd target/debug/test_sqlcipher
...
        libsqlcipher.so.0 => /usr/lib/x86_64-linux-gnu/libsqlcipher.so.0
...
$ file /usr/lib/x86_64-linux-gnu/libsqlcipher.a
/usr/lib/x86_64-linux-gnu/libsqlcipher.a: current ar archive

I also tried with  PKG_CONFIG_ALL_STATIC=1 without success.
Any idea ?

We manage to do this in https://github.com/mozilla/application-services, but the build code is mostly spread out. I'll see if I can repro this later on a linux VM.
Just to check, your SQLCIPHER_LIB_DIR does have a libsqlcipher.a in it right?

I was able to do this on Mac.
# Cargo.toml
[dependencies]
rusqlite = "0.20"
time = "0.1.42"
openssl-sys = "0.9.48"

[features]
default = ["sqlcipher"]
sqlcipher = ["rusqlite/sqlcipher"]

$ brew install sqlcipher
$ export SQLCIPHER_STATIC=1
$ export SQLCIPHER_LIB_DIR=/usr/local/opt/sqlcipher/lib
$ export SQLCIPHER_INCLUDE_DIR=/usr/local/opt/sqlcipher/include
$ cargo build

$ otool -L target/debug/sqlite-test
target/debug/sqlite-test:
	/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.11)
	/usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib (compatibility version 1.0.0, current version 1.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.250.1)
	/usr/lib/libresolv.9.dylib (compatibility version 1.0.0, current version 1.0.0)

@thomcc Yes the folder contains libsqlcipher.a
I managed to compile statically by adding println!("cargo:rustc-link-lib=static=sqlcipher") in libsqlite3-sys build.rs.
Before this patch the file output contains :
cargo:rerun-if-env-chqnged=SQLCIPHER_INCLUDE_DIR
cargo:rerun-if-env-chqnged=SQLCIPHER_LIB_DIR
cargo:rerun-if-env-chqnged=SQLCIPHER_STATIC
cargo:rustc-link-lib=sqlcipher
cargo:rustc-link-lib=dl
cargo:rustc-link-lib=crypto
cargo:rustc-link-lib=pthread
cargo:rustc-link-lib=dl

Could you please confirm that pkg_config probe succeeds ?
If so pkg_config should have emit a static=sqlcipher:
https://github.com/rust-lang/pkg-config-rs/blob/69d261f9bdcdfff3b237290324cd042a98f9f95b/src/lib.rs#L23
//! * `FOO_STATIC` - pass `--static` for the library `foo`

No ?

The method pkg_config::Config::new().statik(true).probe("sqlcipher") succeed and print :
cargo:rustc-link-lib=sqlcipher
cargo:rustc-link-lib=dl
cargo:rustc-link-lib=crypto
cargo:rustc-link-lib=pthread
cargo:rustc-link-lib=dl

Do you think is a pkg-config issue ?

Sorry to bother you but could you please check:
https://github.com/rust-lang/pkg-config-rs/blob/69d261f9bdcdfff3b237290324cd042a98f9f95b/src/lib.rs#L564
/// System libraries should only be linked dynamically

And below:
https://github.com/rust-lang/pkg-config-rs/blob/69d261f9bdcdfff3b237290324cd042a98f9f95b/src/lib.rs#L574
        !system_roots.iter().any(|sys| dir.starts_with(sys)) &&

/usr/local/opt/sqlcipher/lib starts with `/usr'...

See https://github.com/rust-lang/pkg-config-rs/issues/36

As I've mentioned before (https://github.com/jgallagher/rusqlite/issues/510) I kind of feel like pkgconfig shouldn't be invoked if the user specifies the lib_dir/include_dir environment variables explicitly.
This is not a real fix, though, since ideally SQLCIPHER_STATIC would still be respected even if the include/lib environment variables weren't manually provided.

May be fixed by version 0.26.0


VP600 issue

Key Erase, Key Info, and Key load, all return invalid response length errors.
Keyset info just crashes the SW
Logs attached are from key Info operations on a VP600 with 5 DES keys loaded, and a XTS with 10 DES/DES-XL keys loaded
XTS5000AppLog.txt
VP600AppLog.txt

What are the firmware and SEM versions of the VP600? What are the KFDShield firmware and software versions being used?
You shouldn't ever get an application crash like that though, did that have any associated log events?

The VP600 might be more picky on the timing on the keyload interface and works with the KFDtool but not the KFDShield. I would need to look at the physical interface to know for sure though.
It has been reported previously that it works with the KFDtool from customer feedback.
https://github.com/KFDtool/KFDtool/blob/master/doc/RADIO_COMPATIBILITY.md#:~:text=VP6000 Portable-,VP600 Portable,-5100 Portable
Good to have that feedback that that error occurs in the wild.


Binder Doesn't work

🐞 Problem

The binder tab given in the docs : http://docs.poliastro.space/en/latest/ Doesn't seem to work as expected. It says "Error loading poliastro/poliastro/master!"

🖥 Please paste the output of following commands
conda info -a
python -c "import poliastro.testing; poliastro.testing.test()"
🎯 Goal

💡 Possible solutions

📋  Steps to solve the problem

Comment below about what you've started working on.
Add, commit, push your changes
Submit a pull request and add this in comments - Addresses #<put issue number here>
Ask for a review in comments section of pull request
Celebrate your contribution to this project 🎉

Thanks for the timely bug report @shreyasbapat! I could reproduce it on the first attempt. Apparently some sorts of network problems plus a messed up, patched pip can lead to this error:
https://stackoverflow.com/q/37495375/554319
https://github.com/pypa/pip/issues/4779
https://github.com/pypa/pip/issues/3943
I'm trying to reload the build in case it's a temporary problem.

I asked the devs in https://gitter.im/jupyterhub/binder

Indeed these were temporary problems. Now the build is broken because of https://github.com/numba/numba/issues/2917:

I will close this as "not our problem". Although I admit that the error is quite ugly...

Yes! True!

I think this might be related: https://status.python.org/incidents/4pb9smlrpt3k


Need to figure out how to scale text on Cupertino widgets to match iOS text sizes

For Cupertino widgets, we need to figure out how to scale our text sizes so that when someone asks for a "headline" or other named sizes on iOS, they get the size that they expect.
On Android, there is a single FONT_SCALE (a double) that scales the font based on a system preference, but on iOS, the font size preference doesn't scale linearly with the different font usages.  For instance, an Extra Extra Extra Large headline on iOS is 18% larger, whereas a footnote is only 15% larger, and an "Extra Large" headline is 5% larger, while an "Extra Large" caption3 doesn't change size at all.

(table from this stackoverflow post)
In order to make sure that Cupertino assets get the sizes that match what iOS does, we'll probably need to change the tables in typography.dart so that instead of fixed values for the font sizes, we do something more clever on each platform based on the preferred type size and the usage for the font.

Actually it might all be linear. It looks like it's roughly 1.4 from X Small to XXX Large, if you assume that the values above are rounded to the nearest pixel. (That is, if you assume there's an error of plus or minus 0.5 in the first and last column, you can get 1.4 to multiply from the first column to the last column.)


SSR

This looks awesome. Is there already (or planned) a story around SSR support?

how would that look like? having webcomponents be removed to turn into the inner html as string? but somehow still be there to get hydrated? I think you could make a method that executes the render methods in node.js to produce html without webComponent tags. not sure how this would be done when it is nested.
I think a lib like this is only useful in the client. I think it is a great match with technologies such as ´htmx´.
What are your thoughts?

Yeah, that's a tricky one. I think most SSR solutions for other frameworks result in a meta framework like Next, Nuxt, etc. That may not be the ideal direction. Might be worth looking at https://enhance.dev/


Backpropagating through raymarching

Hi @ashawkey ,
I wish to backpropagate gradients back to camera poses, however this results in an error in _march_rays_train(), which does not have a backward pass function. To make this work do I need to write the backward pass function in raymarching py and the backward function in raymarching.cu or is there another easier way to reach that goal ?

I am also interested in learning how to add gradient flow such that rays_o and rays_d have requires_grad = True so that backward pass can be used to optimize camera pose like in iNeRF or more recently NVIDIA's parallel inversion of NeRF's paper.

@alex3dfan Hi, yes, you have to implement the backward for raymarching, so the gradient from xyzs and dirs can propagate to rays_o and rays_d, which finally get to your trainable camera poses.
I haven't been able to implement and test it recently, but you may check ngp_pl, where they implemented it.

hi @ashawkey ,
I am writing the backward pass for raymarching following ngp_pl. I am wondering if deltas:,1 in your repo correspond to ts(https://github.com/kwea123/ngp_pl/blob/1b49af1856a276b236e0f17539814134ed329860/models/custom_functions.py#L96) in ngp_pl repo? I quickly compared two cuda implementations and it seems to me that they are the same thing, can you help confirm this? If this is the case, I think it's pretty straight-forward to implement the backward pass.
Thanks for this open-source contribution!
Best,
Shengyu

This is my current implementation:
from torch_scatter import segment_csr
from einops import rearrange

class _march_rays_train(Function):
    @staticmethod
    @custom_fwd(cast_inputs=torch.float32)
    def forward(ctx, rays_o, rays_d, bound, density_bitfield, C, H, nears, fars, step_counter=None, mean_count=-1,
                perturb=False, align=-1, force_all_rays=False, dt_gamma=0, max_steps=1024):
        ''' march rays to generate points (forward only)
        Args:
            rays_o/d: float, [N, 3]
            bound: float, scalar
            density_bitfield: uint8: [CHHH // 8]
            C: int
            H: int
            nears/fars: float, [N]
            step_counter: int32, (2), used to count the actual number of generated points.
            mean_count: int32, estimated mean steps to accelerate training. (but will randomly drop rays if the actual point count exceeded this threshold.)
            perturb: bool
            align: int, pad output so its size is dividable by align, set to -1 to disable.
            force_all_rays: bool, ignore step_counter and mean_count, always calculate all rays. Useful if rendering the whole image, instead of some rays.
            dt_gamma: float, called cone_angle in instant-ngp, exponentially accelerate ray marching if > 0. (very significant effect, but generally lead to worse performance)
            max_steps: int, max number of sampled points along each ray, also affect min_stepsize.
        Returns:
            xyzs: float, [M, 3], all generated points' coords. (all rays concated, need to use `rays` to extract points belonging to each ray)
            dirs: float, [M, 3], all generated points' view dirs.
            deltas: float, [M, 2], all generated points' deltas. (first for RGB, second for Depth)
            rays: int32, [N, 3], all rays' (index, point_offset, point_count), e.g., xyzs[rays[i, 1]:rays[i, 1] + rays[i, 2]] --> points belonging to rays[i, 0]
        '''

        if not rays_o.is_cuda:
            rays_o = rays_o.cuda()
        if not rays_d.is_cuda:
            rays_d = rays_d.cuda()
        if not density_bitfield.is_cuda:
            density_bitfield = density_bitfield.cuda()

        rays_o = rays_o.contiguous().view(-1, 3)
        rays_d = rays_d.contiguous().view(-1, 3)
        density_bitfield = density_bitfield.contiguous()

        N = rays_o.shape[0]  # num rays
        M = N * max_steps  # init max points number in total

        # running average based on previous epoch (mimic `measured_batch_size_before_compaction` in instant-ngp)
        # It estimate the max points number to enable faster training, but will lead to random ignored rays if underestimated.
        if not force_all_rays and mean_count > 0:
            if align > 0:
                mean_count += align - mean_count % align
            M = mean_count

        xyzs = torch.zeros(M, 3, dtype=rays_o.dtype, device=rays_o.device)
        dirs = torch.zeros(M, 3, dtype=rays_o.dtype, device=rays_o.device)
        deltas = torch.zeros(M, 2, dtype=rays_o.dtype, device=rays_o.device)
        rays = torch.empty(N, 3, dtype=torch.int32, device=rays_o.device)  # id, offset, num_steps

        if step_counter is None:
            step_counter = torch.zeros(2, dtype=torch.int32, device=rays_o.device)  # point counter, ray counter

        if perturb:
            noises = torch.rand(N, dtype=rays_o.dtype, device=rays_o.device)
        else:
            noises = torch.zeros(N, dtype=rays_o.dtype, device=rays_o.device)

        _backend.march_rays_train(rays_o, rays_d, density_bitfield, bound, dt_gamma, max_steps, N, C, H, M, nears, fars,
                                  xyzs, dirs, deltas, rays, step_counter,
                                  noises)  # m is the actually used points number

        # print(step_counter, M)

        # only used at the first (few) epochs.
        if force_all_rays or mean_count <= 0:
            m = step_counter[0].item()  # D2H copy
            if align > 0:
                m += align - m % align
            xyzs = xyzs[:m]
            dirs = dirs[:m]
            deltas = deltas[:m]

            # torch.cuda.empty_cache()
        ctx.save_for_backward(rays.long(), deltas[:,1])

        return xyzs, dirs, deltas, rays

    # we follow the implementation of ngp_pl
    @staticmethod
    @custom_bwd
    def backward(ctx, dL_dxyzs, dL_ddirs,
                 dL_ddeltas, dL_drays_a):
        rays_a, ts = ctx.saved_tensors
        segments = torch.cat([rays_a[:, 1], rays_a[-1:, 1]+rays_a[-1:, 2]])
        dL_drays_o = segment_csr(dL_dxyzs, segments)
        dL_drays_d = segment_csr(dL_dxyzs*rearrange(ts, 'n -> n 1')+dL_ddirs, segments)

        return dL_drays_o, dL_drays_d, None, None, None, None, None, None, None, None, None, None, None, None, None

@ShengyuH Hi, Shengyu, I wonder if the gradient works properly for camera optimization with the code you provided above? I am trying to do something similar but still encountered NotImplementedError: You must implement either the backward or vjp method for your custom autograd.Function to use it with backward mode AD. I'm not sure if the issue is with this function. Looking forward to your reply!


Upgrade byebug 9.1.0

Coverage remained the same at 100.0% when pulling ce1c5f63092844db8c53e4410743b68116fd4d9c on upgrade/byebug-9.1.0 into ceb6e123bf7e33608df91a4b67b54c752c4865ae on master.


hdf5

Adds a port for HDF5
fixes #384
Requires #518 and #515 to be merged first

Hi, I am closing and re-opening this PR to bump the CLA bot. Sorry for the inconvenience!

One question why is  HDF5_BUILD_CPP_LIB  "Build HDF5 C++ Library" set to OFF ?

The reason for this is that the options "HDF5_ENABLE_PARALLEL" and "HDF5_BUILD_CPP_LIB" are mutually exclusive. And from my experience using the C interface with MPI enabled is far more common than using the C++ interface. Even in C++ projects.

Thanks!
I added the PREFER_NINJA option to build with ninja for faster builds.


Tests: test-unit has loads of unrelated warning output

When you run npm run test-unit you get loads of unrelated and distracting output:
><EMAIL_ADDRESS>test-unit E:\Projects\Cordova\cordova-windows
> jasmine

Started
...........................*.*.*............................Deployment completed successfully.
Deployment completed successfully.
Deployment completed successfully.
.Deployment completed successfully.
Deployment completed successfully.
Deployment completed successfully.
......................................................................................................................The following Capabilities were declared and are restricted:
        documentsLibrary
You will be unable to on-board your app to the public Windows Store with these capabilities and access rules permitting access to remote URIs.The following Capabilities were declared and are restricted:
        documentsLibrary
You will be unable to on-board your app to the public Windows Store with these capabilities and access rules permitting access to remote URIs.The following Capabilities were declared and are restricted:
        documentsLibrary
You will be unable to on-board your app to the public Windows Store with these capabilities and access rules permitting access to remote URIs....Access rules must begin with "https://", the following rule will be ignored: http://www.contoso.com
Access rules must begin with "https://", the following rule will be ignored: http://www.contoso.com
Access rules must begin with "https://", the following rule will be ignored: http://www.contoso.com
........The following image was skipped because it has an unsupported size (999x999): res/Windows/UnknownImage.png
The following image was skipped because it has an unsupported size (999x999): res/Windows/UnknownImage.png
The following image was skipped because it has an unsupported size (999x999): res/Windows/UnknownImage.png
.."res\Windows\splashscreen.png" file size exceeds the limit of 204800 bytes, skipping.
"res\Windows\splashscreen.png" file size exceeds the limit of 204800 bytes, skipping.
"res\Windows\splashscreen.png" file size exceeds the limit of 204800 bytes, skipping.
"res\Windows\splashscreen.scale-200.png" file size exceeds the limit of 204800 bytes, skipping.
"res\Windows\splashscreen.scale-200.png" file size exceeds the limit of 204800 bytes, skipping.
"res\Windows\splashscreen.scale-200.png" file size exceeds the limit of 204800 bytes, skipping.
"res\Windows\splashscreen.scale-400.png" file size exceeds the limit of 204800 bytes, skipping.
"res\Windows\splashscreen.scale-400.png" file size exceeds the limit of 204800 bytes, skipping.
"res\Windows\splashscreen.scale-400.png" file size exceeds the limit of 204800 bytes, skipping.
"res/Windows/splashscreen.scale-200.png" file size exceeds the limit of 204800 bytes, skipping.
"res/Windows/splashscreen.scale-200.png" file size exceeds the limit of 204800 bytes, skipping.
"res/Windows/splashscreen.scale-200.png" file size exceeds the limit of 204800 bytes, skipping.
"res/Windows/splashscreen.scale-400.png" file size exceeds the limit of 204800 bytes, skipping.
"res/Windows/splashscreen.scale-400.png" file size exceeds the limit of 204800 bytes, skipping.
"res/Windows/splashscreen.scale-400.png" file size exceeds the limit of 204800 bytes, skipping.
.".gif" extension is not supported, skipping. Supported image extensions are [".png",".jpg",".jpeg"]
".gif" extension is not supported, skipping. Supported image extensions are [".png",".jpg",".jpeg"]
".gif" extension is not supported, skipping. Supported image extensions are [".png",".jpg",".jpeg"]
".bmp" extension is not supported, skipping. Supported image extensions are [".png",".jpg",".jpeg"]
".bmp" extension is not supported, skipping. Supported image extensions are [".png",".jpg",".jpeg"]
".bmp" extension is not supported, skipping. Supported image extensions are [".png",".jpg",".jpeg"]
".tga" extension is not supported, skipping. Supported image extensions are [".png",".jpg",".jpeg"]
".tga" extension is not supported, skipping. Supported image extensions are [".png",".jpg",".jpeg"]
".tga" extension is not supported, skipping. Supported image extensions are [".png",".jpg",".jpeg"]
."SplashScreen" splash screens have mixed file extensions which is not supported. Some of the images will not be used.
"SplashScreen" splash screens have mixed file extensions which is not supported. Some of the images will not be used.
"SplashScreen" splash screens have mixed file extensions which is not supported. Some of the images will not be used.
"SplashScreenPhone" splash screens have mixed file extensions which is not supported. Some of the images will not be used.
"SplashScreenPhone" splash screens have mixed file extensions which is not supported. Some of the images will not be used.
"SplashScreenPhone" splash screens have mixed file extensions which is not supported. Some of the images will not be used.
......Deploying phone package to device:
testfile
Deploying phone package to device:
testfile
Deploying phone package to device:
testfile
.Deploying windows package to device:
testfile
Deploying windows package to device:
testfile
Deploying windows package to device:
testfile
.Deploying windows package to device:
undefined
Deploying windows package to device:
undefined
Deploying windows package to device:
undefined
.Deploying undefined package to device:
undefined
Deploying undefined package to device:
undefined
Deploying undefined package to device:
undefined
Deploying undefined package to device:
undefined
Deploying undefined package to device:
undefined
Deploying undefined package to device:
undefined
.Deploying undefined package to device:
undefined
Deploying undefined package to device:
undefined
Deploying undefined package to device:
undefined
.............

Pending:

1) run method spec.8 should fail buildProject if built with MSBuildTools version 4.0
  Temporarily disabled with xit

2) run method spec.10 should throw an error if windows-target-version has unsupported value
  Temporarily disabled with xit

3) run method spec.12 should throw an error if windows-phone-target-version has unsupported value
  Temporarily disabled with xit

217 specs, 0 failures, 3 pending specs
Finished in 11.912 seconds

Most of this could probably be avoided.

(It would be possible that this is actually output of what is being tested of course)


Continue work on Dhall imports

All import features were implemented and all tests passed in the Dhall Import suite when that suite was run alone. But when all tests are run together, some tests started failing. Need to figure out where the breakage is.


Consider adding targets

x86_64-pc-windows-gnu
i686-pc-windows-gnu (Probably not since many 32 bit targets face removal)
risv64gc-unknown-linux-musl (Needs custom image)

Windows MSVC should be good enough


grid.ShowGridLines Binding doesn't work

Describe the bug
When binding the ShowGridLines parameter, the window/usercontrol doesn't refresh the view I even tried InvalidateVisual().
Setting the value that is bound to ShowGridLines to false and then resizing the window it crashes.
To Reproduce

Set the ShowGridLines value from true to false while your app is running
Resize the window or even a part of the grid
see error

Expected behavior
The gridlines shouldn't be visible after setting the bound value to false and you can archive it through the following workaround but there this is just a "reopen" to get the rendering happen again.
private bool _ShowGridLines = false;
        public bool ShowGridLines
        {
            get => _ShowGridLines; set
            {
                this.RaiseAndSetIfChanged(ref _ShowGridLines, value);
                IReadOnlyList<Window>? windows = ((IClassicDesktopStyleApplicationLifetime?)Avalonia.Application.Current?.ApplicationLifetime)?.Windows;
                if(windows != null)
                foreach (Window window in windows)
                {
                    if (window.DataContext == this)
                    {
                        // rebuild the window:
                        var newWindow = new MainWindow();
                        newWindow.DataContext = window.DataContext; // Preserve the data context of the existing window
                        newWindow.Show();

                        (window as Window)?.Close(); // Close the existing window
                    }
                }
            }
        }

OS: Windows 11
Version 0.10.19

fyi: I can confirm this happens in latest master (Sandbox tested) as well


close the thread, i'm not done.

you totally changed your folder structure mid-project. it's not like this style standard is new, it's been out for months.. i've lost all respect for your projects continuity. No way anyone in their right mind should follow this project after these recent changes.

Good to hear.

For what is worth. A starter is just a set of opinions, each person has its own opinion and heck, each person has its own starter even. I express here my opinions and my opinions only. All the people who agrees with me can use the project and those people that doesn't, can use a different starter.
I still want to know what kind of "big" problem this new changes caused to you. You don't like the app structure, that is fine, that is the first thing that goes away when someone creates a new project. I am not forcing you to go to your applications and change the entire structure to the new one, I only changed my starter, you are free to continue developing your apps using your own conventions and cherry picking all the changes I put in here if you like them.
I am sorry mate, but you cannot please everybody at once, but thankfully all the configuration is visible and can be changed without any hassle.

my "big" problem is change where change wasn't required. a lot of people
followed you because of your opinion, now you've changed that opinion. It
wasn't like this folder standard was just released, or was designed for any
release candidate reason. In the case you wanted to use the style guide
format, why not from the beginning? at this point I feel that you're going
to take this seed in whatever direction suits You best. Sure i'll cherry
pick your root folder updates like I do anyone else. I can no longer, with
good conscious, direct anyone to your project as a starter, and the few
that I have will now need an explanation to why the starter I've
recommended changed so much.
On Mon, May 9, 2016 at 7:32 AM, Jesús Rodríguez<EMAIL_ADDRESS>wrote:

For what is worth. A starter is just a set of opinions, each person has
its own opinion and heck, each person has its own starter even. I express
here my opinions and my opinions only. All the people who agrees with
me can use the project and those people that doesn't, can use a different
starter.
I still want to know what kind of "big" problem this new changes caused to
you. You don't like the app structure, that is fine, that is the first
thing that goes away when someone creates a new project. I am not forcing
you to go to your applications and change the entire structure to the new
one, I only changed my starter, you are free to continue developing
your apps using your own conventions and cherry picking all the changes I
put in here if you like them.
I am sorry mate, but you cannot please everybody at once, but thankfully
all the configuration is visible and can be changed without any hassle.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/preboot/angular2-webpack/issues/89#issuecomment-217881309

at this point I feel that you're going to take this seed in whatever direction suits You best.

...Yes, he is.  He's going to take his project and do what he wants with it.  That's how projects work.  He's not beholden to you in any way.

The style guide was only finalized recently.
In any case, the reaction to this change is disproportionate to the change itself - I'd recommend stepping back from the computer and calming down, it reflects extremely poorly & is completely unproductive.

@Randall_Koutnik you'd make a great politician. He's not beholden to me at
all, not ever mentioned, he doesn't even have to acknowledge me, yet he
does so i continue to give my point of view. As harshly as it maybe taken,
to me the people listening at just soft.
@Wesley_Cho no one cares about your morals or beliefs, especially not me.
On Mon, May 9, 2016 at 8:08 AM, Randall Koutnik<EMAIL_ADDRESS>wrote:

at this point I feel that you're going to take this seed in whatever
direction suits You best.
...Yes, he is. He's going to take his project and do what he wants with
it. That's how projects work. He's not beholden to you in any way.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/preboot/angular2-webpack/issues/89#issuecomment-217892034

If you're not paying for it, he's not obligated to do anything for you.

@gravity-addiction have you considered forking a previous commit of the repository so you can further develop that version?

There are some other light angular2-webpack repo's that encourage forking and breaking out so that it works for your own stack.
https://github.com/TheLarkInn/angular2-webpack-lite
Also if you are wanting to learn more about webpack, you can check out their documentation or catch some slides I prepared covering the basics so you have the confidence to build your own sauce.
https://docs.google.com/presentation/d/10mIapWjv1pyUQaMv6G8MCdoe9OK2Ey8zz-CLkHuFdRI/edit?usp=sharing

@Randall_Koutnik He's not even obligated to listen to my opinion, yet he
chooses to by acknowledging with a response. Not sure I can make my point
of view on this any more clear. Maybe you're suggesting that people
shouldn't have opinions to public projects? It's not nice to tell people
their wrong, working at making the internet a safe space are you?
On Mon, May 9, 2016 at 8:22 AM, Sean Larkin<EMAIL_ADDRESS>wrote:

@gravity-addiction https://github.com/gravity-addiction have you
considered forking a previous commit of the repository so you can further
develop that version?
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/preboot/angular2-webpack/issues/89#issuecomment-217896338

@Sean_Larkin Thank You.
On Mon, May 9, 2016 at 8:32 AM, Gary<EMAIL_ADDRESS>wrote:

@Randall_Koutnik He's not even obligated to listen to my opinion, yet he
chooses to by acknowledging with a response. Not sure I can make my point
of view on this any more clear. Maybe you're suggesting that people
shouldn't have opinions to public projects? It's not nice to tell people
their wrong, working at making the internet a safe space are you?
On Mon, May 9, 2016 at 8:22 AM, Sean Larkin<EMAIL_ADDRESS>wrote:

@gravity-addiction https://github.com/gravity-addiction have you
considered forking a previous commit of the repository so you can further
develop that version?
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/preboot/angular2-webpack/issues/89#issuecomment-217896338

Yeah, I'm with TheLarkinn, show us how it's done. Make your own bootstrap with ngBlackjack & ngHookers and show us how it's done.  Until then, we're all at the mercy of the whims of the person who actually owns the project.

@Matt_Wiseman I Agree! sometimes if you want it done right you gotta do it
yourself. coupled with put your money with your mouth is. I'm on it.
On Mon, May 9, 2016 at 8:32 AM, Matt Wiseman<EMAIL_ADDRESS>wrote:

Yeah, I'm with TheLarkinn, show us how it's done. Make your own bootstrap
with ngBlackjack & ngHookers and show us how it's done. Until then, we're
all at the mercy of the whims of the person who actually owns the project.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/preboot/angular2-webpack/issues/89#issuecomment-217899491

I look forward to seeing it gravity-addiction!  Lemme know when you start your project so I can follow it. I also recommend keeping following this one as well.  Perhaps you two can get code and ideas from each other, maybe in the future the two code bases will become as such where they can be merged and be a more awesome thing than the sum of it's parts.  That's sort of what happened with pigdin im, they ported for encryption as two separate projects for a LONG time, and have since re-merged.    So to you gravity, I quote the great Cromulon race when I say "Show us what you got".

Oh, and make sure that you never make any changes whatsoever to your project, as someone might be depending on the old version.  Then you might have to deal with angry, entitled script kiddies banging on about how terrible everything you've done is.
That sounds terrible.

The point is to frame the opinions in a constructive way - throwing insults and incoherent attacks does not get any closer to a solution to the claimed problem. It is unprofessional, and has no place in open source, and most importantly, doesn't help you and only wastes everyone's energy unnecessarily, which holds back open source as a whole.
If there is a fundamental disagreement, that is ok - in open source, it is as easy as creating a separate project/fork and doing it your own way.


Fixed the issue of bulk export returning the wrong path if "Fixed Value for Endpoint Base URL" is set

#3956

Nice work!


implemented the like action with tests cases all passed and test coverage maintained 96%

…rage maintaining 96%

Merge by Joseph. Conflicts Resolved.


feat(@aws-cdk/aws-events-triggers): introducing sqs target support in event rule

Extend the Target for Event Rule to SQS Queues.
This may be needed in situations where users want to create an Event Rule and have as a target an SQS Queue.
I extended the package @aws-cdk/aws-events-targets by introducing a new Typescript file https://github.com/made2591/aws-cdk/blob/feature/aws-events-targets-sqs/packages/%40aws-cdk/aws-events-targets/lib/sqs.ts and by following the same approach used for SNS Topic
I also wrote the respective tests in the test folder. The SqsParameters are still not available but it's a skeleton to synthesize a Simple Queue as a Target.
closes #1786

Pull Request Checklist

[ ] Testing

Unit test added (prefer not to modify an existing test, otherwise, it's probably a breaking change)
CLI change?: coordinate update of integration tests with team
cdk-init template change?: coordinated update of integration tests with team

[ ] Docs

jsdocs: All public APIs documented
README: README and/or documentation topic updated
Design: For significant features, design document added to design folder

[ ] Title and Description

Change type: title prefixed with fix, feat and module name in parens, which will appear in changelog
Title: use lower-case and doesn't end with a period
Breaking?: last paragraph: "BREAKING CHANGE: <describe what changed + link for details>"
Issues: Indicate issues fixed via: "Fixes #xxx" or "Closes #xxx"

[ ] Sensitive Modules (requires 2 PR approvers)

IAM Policy Document (in @aws-cdk/aws-iam)
EC2 Security Groups and ACLs (in @aws-cdk/aws-ec2)
Grant APIs (only if not based on official documentation with a reference)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license.

@rix0rrr thank you for your feedback. I'm sorry I didn't provide to you all the info about the error: the error is thrown when the template is not compliant - the test fail - I don't know if it is the expected way to exit but I guess so
    81 |   public assertOrThrow(inspector: StackInspector) {
    82 |     if (!this.assertUsing(inspector)) {
  > 83 |       throw new Error(this.generateErrorMessage());
       |             ^
    84 |     }
    85 |   }
    86 |
    at HaveResourceAssertion.assertOrThrow (../assert/lib/assertions/have-resource.ts:83:13)
    at StackInspector._to (../assert/lib/inspector.ts:25:15)
    at StackInspector.to (../assert/lib/inspector.ts:15:25)
    at Object.<anonymous>.test (test/sqs/sqs.test.ts:78:17)

I fixed the code and the error is not there anymore: I was able to add the condition as you said, and the messageGroupId parameter as well. I remember I tried to put the condition inside service before without success - I think there was some other mistake. Now I have a design problem and I think is due to the introduction of condition...🤔 Attached the template, I'm having a look into
Resources:
  MyRuleA44AB831:
    Type: AWS::Events::Rule
    Properties:
      ScheduleExpression: rate(1 minute)
      State: ENABLED
      Targets:
        - Arn:
            Fn::GetAtt:
              - MyQueueE6CA6235
              - Arn
          Id: MyQueue
  MyQueueE6CA6235:
    Type: AWS::SQS::Queue
  MyQueuePolicy6BBEDDAC:
    Type: AWS::SQS::QueuePolicy
    Properties:
      PolicyDocument:
        Statement:
          - Action:
              - sqs:SendMessage
              - sqs:SendMessageBatch
              - sqs:GetQueueAttributes
              - sqs:GetQueueUrl
            Condition:
              ArnEqual:
                aws:SourceArn:
                  Fn::GetAtt:
                    - MyRuleA44AB831
                    - Arn
            Effect: Allow
            Principal:
              Service:
                Fn::Join:
                  - ""
                  - - events.
                    - Ref: AWS::URLSuffix
            Resource:
              Fn::GetAtt:
                - MyQueueE6CA6235
                - Arn
        Version: "2012-10-17"
      Queues:
        - Ref: MyQueueE6CA6235

This is the output provided by Cloudformation:
Invalid value for the parameter Policy. (Service: AmazonSQS; Status Code: 400; Error Code: InvalidAttributeValue; Request ID: d05e3b85-7cb8-5a28-b8ae-6eee5581d891)

I brought the changes of 0.33.0 in my branch. Package.json changes in peerDependencies needed for sqs integration

@rix0rrr @eladb is there anything else I can do it? If so, please feel free to ask :) sorry for the mistakes, I'm still learning 😅

Hello @made2591 , hello @rix0rrr !
First of all, thank you very much for making this feature true.
I just started testing it, and I got a weird result. I have an app with 2 stacks. One contains the SQS queue, the other one contains the SF, and also I wanted to put into the second one the Rule, that would send a message to SQS on the completion of the SF execution. Unfortunately I'm getting this error:
Error: 'stack-with-sf' depends on 'stack-with-queue' (dependency added using stack.addDependency()). Adding this dependency (stack-with-queue/MyQueue/Policy/Resource -> stack-with-sf/MySFExecutionSucceededEvent/Resource.Arn) would create a cyclic reference.

Before that, we were doing myQueue.grantSendMessages(mySF.stateMachine.role), and it worked well. Do you have any idea why I am getting this error?

Even simpler:
this works
myQueue.grantSendMessages(mySF.stateMachine.role)

this throws the error about cyclic dependency
myQueue.grantSendMessages(new ArnPrincipal(mySF.stateMachine.stateMachineArn))

@Visorgood I'm not 100%, but I think the error you are getting is due to the CDK lifecycle (see docs).
When you define the targets of your rule, the rule doesn't exist yet.  The permissions are granted in the bind method source: this requires the arn of the rule, to respect the least privilege principle - something we decided to introduce to build more safe rules. Before this change, there was no control over the permission given to events, so maybe this is the reason you didn't have to do it in two steps.
Try to add the target manually after the creation of the rule:
...
rule.addTarget(new SqsQueue(myQueue));

and see what happens. If it solved, imagine this behaviour is not so far from the one you get with SAM when you have IAM permissions that need to be constrained to the Function itself: you have to split the role from the definition of the function, to have references available in two different steps in another point of the template.
Hope to be helpful

Doing addTarget after creating the rule throws same error unfortunately.

I just build two stacks like the ones you described and I was able to reproduce the error same error you are getting in there. I will work on it and inform you as soon as I discover something more...

Even simpler: [...]

Is this related to this issue... or just a behavior you notice in granting permissions? 🤔

What I don't understand is how can the queue (that is supposed to be the target of the rule) have the rule as its dependency? First we create the queue. Later we create the rule. Am I missing something?

Even simpler: [...]

this is an outcome of trying to reproduce it in the smallest form. It's not what I am trying to achieve. The real goal is to create a Rule in the stack that depends on the stack with the queue.

Thank you for effort! Me and my team appreciate it a lot!

By the way, which version of CDK are you using? Because mySF.stateMachine.stateMachineArn should be mySF.stateMachineArn I guess.
Furthermore, I tried also to invert the dependencies - thus, by developing the stack with the queue to expect (as a property) the rule from the first stack in input, and then separately add the Target but...I got the same error. I suspect it's related to permission grant inside bind method
In any case, I was able to get a single stack build properly: if it's not a strict requirement have the stack separation, you could proceed in this direction - at least until we figure out how to solve this issue properly.
@eladb @rix0rrr the circular dependency discussed here seems to appear only if someone creates the SQS designated to become the target in a separate stack: using two stacks, I also made a try by replacing the queue with one SNS Topic as the target, that should differ from SQS only for the permissions part... and it seems to work. Do you have any idea about the reasons the binding behaves differently if the two resources belong to different stacks?

0.34
In this version there is only mySF.stateMachine.stateMachineArn

Got it. In any case, you can even think to put these two resources in the same stack and another one in the second stack. This is to say: I don't know which is the logic used to separate stacks but without any other constraints I would say it's not to bad having a rule and respective target - especially if it's SQS - in the same stack: in any case, you have already reached a decoupled scenario if you provide your consumer the right permissions to operate over the SQS queue :-)

Regarding the fact that the queue is in the different stack, this is quite a common pattern in our landscape. Actually it is even often in a different AWS account, because it is the way for different teams to provide a decoupled interface to notify about certain events, such as using S3 notifications, or in other ways. For this reason, being able to configure this integration between SF and SQS that sit in different stack is quite important for us.

@made2591 are there any news on this?

Yes, I found what is wrong: it's due to the condition we put around the grantSendMessages (source) as suggested by @eladb as he suggested in this comment. I fixed the bug by removing this condition, and I was able to have the two separated stacks and no circular dependencies. But...I believe that this permission condition should be there even if it introduces dependencies if there are two stacks so... I don't know how if for the moment we should just remove the boundaries because it's logically wrong to define them inside the binding operation, or change how addDependencies method (source) works... waiting from feedback from someone else

Btw, if someone wants to jump in and help in debugging, this is the stack I used to test:
import cdk = require('@aws-cdk/cdk');
import stepfunctions = require('@aws-cdk/aws-stepfunctions');
import events = require('@aws-cdk/aws-events');
import targets = require('@aws-cdk/aws-events-targets');
import sqs = require('@aws-cdk/aws-sqs');

interface RuleStackProps extends cdk.StackProps {
  queue: sqs.Queue
}

export class RuleStack extends cdk.Stack {
  constructor(scope: cdk.Construct, id: string, props: RuleStackProps) {
    super(scope, id, props);

    let mySF = new stepfunctions.StateMachine(this, "MySF", {
      definition: new stepfunctions.Wait(this, 'Wait X Seconds', {
        duration: stepfunctions.WaitDuration.secondsPath('$.wait_time'),
      })
    })

    new events.Rule(this, 'MySFExecutionSucceededEvent', {
      ruleName: `succeeded-rule`,
      enabled: true,
      eventPattern: {
        source: ["aws.states"],
        detailType: ["Step Functions Execution Status Change"],
        detail: {
          "status": ["SUCCEEDED"],
          "stateMachineArn": [mySF.stateMachineArn]
        }
      },
      targets: [new targets.SqsQueue(props.queue)]
    })

  }
}

export interface TestSqsEventTargetsStack extends cdk.Stack {
  queue: sqs.Queue
}

export class TestSqsEventTargetsStack extends cdk.Stack {
  constructor(scope: cdk.Construct, id: string, props?: cdk.StackProps) {
    super(scope, id, props);

    this.queue = new sqs.Queue(this, "MyQueue")

  }
}

and
import 'source-map-support/register';
import cdk = require('@aws-cdk/cdk');
import { TestSqsEventTargetsStack, RuleStack } from '../lib/test-sqs-event-targets-stack';

const app = new cdk.App();
const queueStack = new TestSqsEventTargetsStack(app, 'TestSqsEventTargetsStack');
new RuleStack(app, 'RuleStack', { queue: queueStack.queue });
app.run()

This throws the error mentioned above: without boundaries conditions it doesn't. This is also the reason why with SNS Topic it works yet...

Great news! Thanks a lot for the effort!

Hello @made2591 ! I assume CDK 0.35 doesn't contain this fix yet?

No, it doesn't: to be honest as I said to you I don't know if it's ok to remove that permission constraint - actually, there was interest in propagating it to other targets as well 😊 so, I'm still waiting for a feedback for someone else from AWS, just to validate a PR in case it has to be fixed in that way

But then it means that this functionality although available in AWS will be not available via CDK? I mean the ability to integrate different stacks with CloudWatch Rules. Is there any other way to make this work, except putting everything into one stack?

I've managed to work it around by creating a Lambda in the same stack with the Rule, and trigger that Lambda by the rule, instead of sending an SQS message. The Lambda in turn sends a message to the queue that is in the different stack - and this works and worked before. Of course this required me to create small code for that Lambda, but this is still not so bad.


map.scrollWheelZoom.disable() broken in 0.10

In https://github.com/tangrams/tangram-frame/blob/gh-pages/main.js#L238-L240 and https://github.com/tangrams/terrain-demos/blob/gh-pages/main.js#L66-L68, the noscroll parameter triggers map.scrollWheelZoom.disable() to prevent scrollWheel events.
This function no longer works with Tangram 0.10 (though it is still supported in Leaflet 1.0.1 – you can test with the map on http://leafletjs.com/ ) which makes reading posts with many embedded maps a bit tricky: https://mapzen.com/blog/mapping-mountains/
Compare:
https://tangrams.github.io/tangram-frame/?noscroll&lib=0.9&quiet&url=https://raw.githubusercontent.com/tangrams/terrain-demos/gh-pages/styles/imhof.yaml
and:
https://tangrams.github.io/tangram-frame/?noscroll&lib=0.10&quiet&url=https://raw.githubusercontent.com/tangrams/terrain-demos/gh-pages/styles/imhof.yaml

By "this function no longer works..." do you mean "passing the option no longer suppresses scroll events"? If that's the case, that makes sense as we call map.scrollWheelZoom.enable() when we monkeypatch Leaflet's scroll wheel handlers, regardless of a noscroll option. This would re-enable Leaflet's scroll events if they internally disabled them.

Yes, calling map.scrollWheelZoom.disable() with a Tangram 0.10 map no longer disables the scrollWheelZoom, no matter when it is called.

Looks like this is broken only in v10.0.5, it works in master as of https://github.com/tangrams/tangram/commit/63bd1b75cd6c866ce547e564db2078c1511a5fc3. Will close this after verifying on next release.

Verified that there is a related bug if (rare case) you initialize the Leaftlet layer with the options scrollWheelZoom : false as in
Tangram.leafletLayer({
    scrollWheelZoom: false
    ...
});

Oh sorry I probably broke this, I'll take a careful look to make sure the user's existing enable/disable state is respected, and that it can also be changed.

Resolved in https://github.com/tangrams/tangram/commit/82e4e76832a6bdac2d6f41d846c3367ec6dd171c
Close issue on release & verification.

Also adding an intermediary fix for v0.10.6 in https://github.com/tangrams/tangram/commit/a07c11e148577f3cc04188d1335c215cc8ef3327

Fix released in https://github.com/tangrams/tangram/releases/tag/v0.10.6


Uneven card size

The size of the cards under "Trip gallery" section are not same

Hi, I want to be assigned this issue.

hi, I want to be assigned to this issue

please assign me this issue

@root-0101  I can't get any information from the issue .I am closing this issue as unplanned. please try to raise the issues with the help of the issue templates mentioned in "NEW ISSUE" section


Updated travis, gitignore and package

Coverage remained the same at 82.621% when pulling 715aec9f963e541c7dc818db6b35abdc87c45f05 on shanel262:master into 3e6e42b95de474a2804c49bf31a7dd05ec5d34ca on senecajs:master.

Coverage remained the same at 82.621% when pulling 715aec9f963e541c7dc818db6b35abdc87c45f05 on shanel262:master into 3e6e42b95de474a2804c49bf31a7dd05ec5d34ca on senecajs:master.


feat(JWT): Add support for JWT Authentication (#29)

Closes #27

Changes Unknown when pulling 1e6fd9c6efb024b43c5a44f1739cbdc146414b0f on develop into ** on master**.

Changes Unknown when pulling 1e6fd9c6efb024b43c5a44f1739cbdc146414b0f on develop into ** on master**.


Remove ability to force shadowness in core metadata

Issue #6548
This boils down to two public overloads of AddProperty--one is called when the MemberInfo is known, the other when it is not known. The latter looks up the MemberInfo and then they collapse together into one method calling one constructor.

:shipit:

Merged


Fixes #132

Addressing #132, but was not able to run the attached example to verify

Addressing #132, but was not able to run the attached example to verify

I am unsure why you saw the error... I tested it for the same and works fine. This fix alleviates the orthogonality error. LGTM!


[bug]: subsystem contractcourt/sweeper improvements

I analysed the interplay between onchain contract resolutions and the sweeper coming up with improvements which need to happen making the analysis for a node operators easier and in addition preventing a bug where a potential preimage sweep is not accepted in our local mempool because of RBF conditions.
Raising this issue either for someone to pick it up or for my future self when I have time solving this issue.
Things to improve:

Limit sweeper.batchwindowduration so that node runners cannot set arbitrarily large number because this can lead to loss of funds when we are not able to be fast enough to sweep an Incoming HTLC with a preimage. We would go on-chain for a incoming contract which has a broadcastDelta of 10 blocks, so the batchwindow timeout should not be larger than 1h (10 blocks * 10 = 100 min, which gives us 40 minutes to confirm the sweep)

Moreover when launching the contract resolvers for pending HTLCs we use either the Timeout or Success Transaction Id for the "ClaimOutput" details, that's pretty irritating because for Stage 1 sweeps the Output on the Commitment Transaction is way more intuitive and does not change compared to ZeroFeeAnchorHTLC Sweeps. When the First Stage is confirmed with just hotswap the new txid of the confirmed Timeout/Success Transaction in there.

We need to make sure we check the Path of a confirmed Incoming Contract Resolution to make sure we either go into the second level resolve case, or fail the resolution if our peer made the Timeout Case before us into the chain, marking the outcome as Lost/Unclaimed. Currently we just go into Stage 2 (but with the wrong SpendNotification Script) which leads us into the case where we never resolve the PendingClosedChannel.

Most Important Part: We need to make sure when batching Sweep Inputs that we do not add a pending Input which is already in our Mempool and has a higher feerate already, because what would happen is, that we keep bundling Inputs together but failing to broadcast the Sweep Transaction leading to our Preimage Sweep never making it into the Mempool/Chain hence losing funds because our Peer sweeps it with the Timeout Clause eventually.

If you find a security related issue please use the security email security [at] lightning.engineering

Limit sweeper.batchwindowduration so that node runners cannot set arbitrarily large number because this can lead to loss of funds when we are not able to be fast enough to sweep an Incoming HTLC with a preimage. We would go on-chain for a incoming contract which has a broadcastDelta of 10 blocks, so the batchwindow timeout should not be larger than 1h (10 blocks * 10 = 100 min, which gives us 40 minutes to confirm the sweep)

instead of blanket limiting for all cases, there should be a bypass mechanism for batch sweeper where cases of inbound htlc with preimage (rare cases) bypass batch sweeper and swept immediately while rest where there is no risk of fund loss remain within batch window.
In addition it is important to allow configuring batch sweeper via RPC call #7700

I had several second stage outgoing htlcs maturing today, so I set sweeper.batchwindowduration=24h and restarted lnd in the morning. the parameter had no effect, they still were swept one by one. 0.17.3


constructor, interaction, generation

RealmWeaver
RealmWeaver is a dynamic 2D open-ended game built in C++ as a final
project for a Data Structures and Algorithms course. This game leverages
the GEMINI API to generate game elements such as NPCs, quests, locations,
items, and rewards, all dynamically based on user-provided themes. The game
incorporates various data structures and algorithms to manage world
generation, pathfinding, item storage, and more, creating an immersive and
adaptive gaming experience.

Features

Dynamic Content Generation: Uses the GEMINI API to dynamically
generate NPCs, quests, locations, stats, items, and rewards.
Rank-Based System: Ranks (1-10) are used for NPCs, quests, and items
to adjust difficulty and rewards.
World Map Structure: The game world is stored as a map of
interconnected locations, where each location may have parents, children,
and siblings.
Command System: A centralized command handler for inputs like
$move, $interact, $quest, etc., makes the game more interactive.
Config System: Essential configuration details (commands, API keys,
etc.) are stored in a modifiable config file.
Shortest Path and Pathfinding: Implements shortest path algorithms
for efficient player travel within the world.
Minigames: Integrated DSA-based minigames that adapt based on quest
difficulty, adding a layer of challenge and engagement.

Commands
Below are the available commands you can use within the RealmWeaver
game:
🧭 Command: npcs
💡 Description: Displays all the NPCs present at your current location.
🛠 Command: modifyconfig
💡 Description: modifyconfig <key> <value> changes a configuration
setting.
🛠 Command: exit
💡 Description: Ends the game session.
🛠 Command: status
💡 Description: Displays the player’s current stats and status.
🎒 Command: inventory
💡 Description: Displays the current contents of your inventory,
including items.
❓ Command: help
💡 Description: Displays available commands and their descriptions.
⚙ Command: config
💡 Description: Shows the formatted configuration file.
📜 Command: allquests
💡 Description: Displays all of your ongoing quests.
🏆 Command: quest
💡 Description: Displays the current quest or accepts a new one.
🗣 Command: interact
💡 Description: interact <npc_name> allows the player to interact
with a specified NPC.
🗺 Command: map
💡 Description: Shows all your nearby locations.
🧥 Command: equip
💡 Description: equip <item_name> equips an item from your inventory,
if available.
🛣 Command: move
💡 Description: move <location_name> moves the player to the desired
location if it exists; otherwise, it creates it.

Project Structure
Here is the detailed structure of the RealmWeaver project directory:
RealmWeaver/
├── CMakeLists.txt              # CMake build configuration
├── cmake/                      # CMake related files
│   ├── CMakeCache.txt          # Cache file generated by CMake
│   ├── CMakeFiles/             # Generated files by CMake
│   └── Makefile                # Makefile to build the project
├── src/                        # Source code for the game modules
│   ├── core/                   # Core game engine files
│   │   ├── GameEngine.cpp      # Engine functionality
│   │   └── GameEngine.h        # Engine header
│   ├── event/                  # Event management system
│   │   ├── EventManager.cpp    # Event handling logic
│   │   └── EventManager.h      # Event management header
│   ├── gemini/                 # GEMINI API integration files
│   │   ├── Gemini.cpp          # Gemini logic
│   │   └── Gemini.h            # Gemini header
│   ├── interactions/           # NPC interaction files
│   │   ├── InteractionSystem.cpp # Interaction logic
│   │   └── InteractionSystem.h   # Interaction header
│   ├── inventory/              # Inventory management system
│   │   ├── Inventory.cpp       # Inventory logic
│   │   └── Inventory.h         # Inventory header
│   ├── item/                   # Item management files
│   │   ├── Item.cpp            # Item logic
│   │   └── Item.h              # Item header
│   ├── location/               # Location management files
│   │   ├── Location.cpp        # Location management logic
│   │   └── Location.h          # Location header
│   ├── minigame/               # Minigame related files
│   │   ├── Minigame.cpp        # Minigame logic
│   │   └── Minigame.h          # Minigame header
│   ├── npc/                    # NPC files
│   │   ├── NPC.cpp             # NPC logic
│   │   └── NPC.h               # NPC header
│   ├── player/                 # Player management files
│   │   ├── Player.cpp          # Player logic
│   │   └── Player.h            # Player header
│   ├── quest/                  # Quest management files
│   │   ├── Quest.cpp           # Quest logic
│   │   └── Quest.h             # Quest header
│   └── stats/                  # Player stats files
│       ├── Stats.cpp           # Stats logic
│       └── Stats.h             # Stats header
├── include/                    # Header files
│   ├── config.h                # Configuration settings header
│   └── other_headers.h         # Other essential headers
├── config.json                 # Command and configuration settings
├── .env                        # GEMINI API Key (created manually)
├── LICENSE                     # Project license information
└── README.md                   # Project documentation

Installation and Setup
To get started with RealmWeaver, follow these steps:
Prerequisites

C++ compiler (supports C++11 or higher)
CMake (version 3.1 or higher)
GEMINI API Key
(Optional) Git for cloning the repository

1. Clone the Repository
First, clone the RealmWeaver repository:
git clone https://github.com/lakshyajain-0291/RealmWeaver.git

2. Set Up the GEMINI API Key
The game requires the GEMINI API for dynamic content generation. To provide
the API key, create a .env file in the root directory of RealmWeaver
with the following content:
GEMINI_API_KEY=YOUR_GEMINI_API_KEY

Replace YOUR_GEMINI_API_KEY with your actual GEMINI API key.
3. Build the Project
Navigate to the project directory and create a build directory:
cd RealmWeaver
mkdir build
cd build

Run CMake to generate the Makefile, and then use make to build the
project:
cmake ..
make

4. Run the Game
Once compiled, you can run the RealmWeaver executable:
./RealmWeaver

Contribution
Contributions are welcome! If you'd like to improve RealmWeaver, please
fork the repository and submit a pull request. For major changes, open an
issue to discuss your ideas first.

License
RealmWeaver is released under the MIT License. See LICENSE for more
information.

Happy gaming! 🎮
On Sun, Nov 10, 2024 at 9:11 AM Lakshya Jain @.***>
wrote:

Merged #5 https://github.com/lakshyajain-0291/RealmWeaver/pull/5 into
main.
—
Reply to this email directly, view it on GitHub
https://github.com/lakshyajain-0291/RealmWeaver/pull/5#event-15240033489,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BB4RJ5OKWQ363KQDMTXE7ILZ73IVTAVCNFSM6AAAAABRPK4H3KVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJVGI2DAMBTGM2DQOI
.
You are receiving this because you authored the thread.Message ID:
@.***>


chore: use tvision color RandomPalette

use tvision-color to calculate the palette color of the multi-data chart

the preview URL is  https://preview-0751924-tdesign-vue-starter.surge.sh


Added freedom.to(productivity website)

Related Issue
Closes #889

Description
Added freedom.to(productivity website)
Screenshots

Checklist

[ x] My code adheres to the established style guidelines of the project.
[x ] I have included comments in areas that may be difficult to understand.
[x ] My changes have not introduced any new warnings.
[x ] I have conducted a self-review of my code.

Hello, contributors! This is Jason speaking. Due to some workflow issues, we will be closing all the PRs today. Therefore, I kindly request all of you to create new PRs tomorrow, as the currently open ones will be closed by our team. I apologize for any inconvenience caused. Also, please make sure to check the titles when creating the PRs. You can refer to the README.md for more details. Thank you.


Example ROS Bags

Here are some more example bags that you can link to from the readme (feel free to reupload or directly link):
https://drive.google.com/drive/folders/1a3Es85JDKl7tSpVWEUZryOwtsXB8793o?usp=sharing

Thank you, I'll add the link to the readme.


Release v4

What is the current timeline for publishing the 4 version of EasyTcp as non-beta?
Are there any technical issues holding back a release, or is it just the lack of documentation?
Regards,
Thijs

Hello @thijsk,
The EasyTcp4 branch is still in beta because I forgot about this project and couldn't reproduce issue #68
I was also struggling with the encrypted delimiter protocol, which is still not working. (see afdd964)
The issue looks like #68, but I can only reproduce it for the encrypted version (encrypted version is currently missing in EasyTcp4)
I am thinking about dropping the EncryptedDelimiterProtocol and releasing version 4.
It would also be nice to have some documentation before the next release.
I will write something when I have some motivation.
Regards,
Job79

Hi @Job79 ,
Considering the performance of the delimiter protocol it seems fine to me to drop support for that in v4.
If I can find some time I'll take a look at that branch.
Thanks,
Thijs

Version 4.0 is released

Thanks!


Unable to clear custom resource export when main script is tool script and export property uses setter

Godot version
4.0.beta4.official
System information
macOS 13.0
Issue description
I have a custom Resource subclass, and a script that has an export property for that custom resource. The script with the export property is a tool-mode script, and the export property has a setter.
After assigning a resource to this export, I am unable to clear it. Clearing is possible if the main script is not in tool-mode, I am not using a custom resource, or the export variable is not a property with a setter.
Steps to reproduce

Define a custom resource.

class_name CustomResource
extends Resource

Define a tool-mode script with an export variable with this custom resource that is a property with a setter.

@tool
extends Node

@export var resource: CustomResource:
	set(value):
		resource = value
		print("resource set")

Create an instance of the custom resource and assign it to the export in the editor.

Right click the custom resource export in the inspector and try to select "Clear".

Expected: The resource export is cleared.
Actual: The currently assigned resource remains.
Minimal reproduction project
ResourcePropertyTest.zip

Ok, so luckily for me it isn't a regression from #68354 :) Unluckily for me, I don't really know where the problem is yet ;) Like you identified, this is probably some weird interaction between the @tool's setter and the Clear menu option. Hmmm....

@AaronWizard I found a workaround until the issue is fixed. If you set a getter that returns the value, you can unset easily the custom resource.

@tool
extends Node

@export var resource: CustomResource:
	set(value):
		resource = value
		print("resource set")
	get:
		return resource

This may be a duplicate of https://github.com/godotengine/godot/issues/65916.


Any way to move a motor to a specific rotation degree

Is there any way to set a motor to goto a specific rotation degree at a certain speed? This might be more of a feature request but I thought I'd still ask

@alberto2000 the Physijs.ConeTwist constraint is probably what you are looking for. It has a feature to set a target and a max impulse to reach for that target. Find it here.

@xprogram thanks I will try that - didn't know that this constraint type had this feature


Monitor Literature, Tools, Materials

GETH Tracing
GETH Basic traces
Built-in tracers
Custom EVM tracer

A repo to showcase web3 hacks
https://github.com/Cyfrin/sc-exploits-minimized

K Tutorial
https://github.com/runtimeverification/k/tree/master/k-distribution/k-tutorial

Transaction trace_call RPC Method (quicknode)
Look at stateDiff parameter: It returns the information on altered Ethereum state due to execution of the given transaction
https://www.quicknode.com/docs/ethereum/trace_call

Tracediff allows you to load evm (jsonl) files and find differences.
Traceview allows you to analyse an evm trace file
https://github.com/holiman/goevmlab

Forking the blockchain using Ganache and Foundry (Anvil):
https://www.quicknode.com/guides/ethereum-development/smart-contracts/how-to-fork-ethereum-blockchain-with-foundry
https://www.quicknode.com/guides/ethereum-development/smart-contracts/how-to-fork-ethereum-blockchain-with-foundry

Extracting the contract layout from EVM bytecode:
https://github.com/smlxl/storage-layout-extractor

Go evmlab
This project is inspired by EVMlab, which was written in Python. EVMlab featured a minimal "compiler", along with some tooling to view traces in a UI, and execute scripts against EVMs (parity and geth).
This is a golang rewrite from scratch of that same project, this time in go-lang to be more stable and nice to use.
https://github.com/holiman/goevmlab


Any improvements I can backport to goproxy?

Hi,
I'm the author of goproxy.
I was wondering whether you have fixes I can merge to my branch.
Thanks,

I think there are two main improvements in this fork:
Supporting Reverse Proxy: https://github.com/elazarl/goproxy/pull/143
Supporting Websockets (http and https supported): https://github.com/coreos/goproxy/pull/1

bump @elazarl is there any chance of these getting upstreamed?


fix nsq_buffer_add() buffer resize

It neglected to update buf_size when resizing the buffer,
and the helper it used did not check the buffer size correctly.
But, buffer_add() does all of that work anyway, just use it.

cc @stackerzzq

Got that.

OK, this wil be fine.


Revert "Add createPath to Filesystem abstraction (#26740)"

This reverts commit e2dec80d6a1cbfba9144cf5f6e290e1d1af285d5 and fixes the broken Envoy Mobile tests
Fixes commit e2dec80d6a1cbfba9144cf5f6e290e1d1af285d5

cc @ravenblackx

raven as an FYI while some mobile tests run for all Envoy PRs, the ones kicking off emulators don't run unless there's changes to mobile files as they're running on limited machines :-(  in my rollback I'm touching a file here to make sure this fixed the regressoin I caught in 2 of my PRs and tracked on main down to this one.


Looking for advice how to do a self-supervised post-training based on iBOT

Hi team,
I'm looking for advice how to do a self-supervised post-training based on the ViT-B-16 pretraining of iBOT. e.g. Assume I have 800K unlabeled images, which are not appear in ImageNet, without any label, and I want to adapt the ImageNet pretraining to the 800K unlabeled data.
What should I pay attention to, e.g. epoch, warmup epoch, learning rate, teacher_temp, warmup_teacher_temp_epochs, etc.
I've tried a couple of times previously using the default configuration and epoch in the paper, e.g. teacher temp = 0.07, warmup_teacher_temp_epochs = 30, warmup_epochs = 10, lr (bs = 256) = 0.0005, lr (bs = 1024) =0.002,
But the loss was always decreasing a little and up to 12-13 then nan (stop training)
Any suggestions?

Hello @steve-zeyu-zhang, did you ever find some settings that worked for you?


Signature encoding/decoding rules

A draft PR to document the encoding decoding rules for a signature, very early stage, keen for feedback
Adds an encoding and decoding function for signatures, fixes #127

Multiple reviews, discussed on last WG call, multiple approvals, merging.

Ha, glad this was merged! I had an older HTML spec version opened in my browser, and was about to ask how to serialize the signature :)


fix(blog-post): fixed the system for adding images to blogpost

What is the change?
The photo saving method was broken fixed

Post.ejs template
Compose Router
GetPost Router

Related issue?
close: #485
How was it tested?
Using the client app
Checklist:
Before you create this PR, confirm all the requirements listed below by checking the checkboxes [x]:

[x] Have you followed the Contribution Guidelines while contributing.
[x] Have you checked there aren't other open Pull Requests for the same update/change?
[] Have you made corresponding changes to the documentation?
[x] Your submission doesn't break any existing feature.
[x] Have you tested the code before submission?

Screenshots or Video:
Add a screenshot or demo video if appropriate.

Are we able to submit post without storing an image ?

Yes we can submit post without an image.

/gssoc/

/level2/


Broker cannot connect

With this application manifest:
---
applications:
- name: mssql-server-broker
  memory: 1G
  instances: 1
  buildpack: java_buildpack
  path: target/mssql-server-broker.jar
  env:
    SPRING_PROFILES_ACTIVE: cloud
    SQL_HOST: sql
    SQL_PORT: 1433
    SQLSERVER_USERNAME: sa
    SQLSERVER_PASSWORD: pass
    SPRING_SECURITY_USER_NAME: 93207046-c552-4971-87ee-fedfcc173398
    SPRING_SECURITY_USER_PASSWORD: pass

This error is thrown:
2018-11-12T14:00:40.01-0700 [APP/PROC/WEB/0] OUT com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host sql.int.reboot3times.org, port 1433 has failed. Error: "Connection refused. Verify the connection properties. Make sure that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port. Make sure that TCP connections to the port are not blocked by a firewall.".

I can verify with DataGrip, VSCode, and sqlcmd from remote sources that the database is remotely accessible.
✗ sqlcmd -S sql,1433 -U sa -P 'pass'
1> select @@version
2> go

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Microsoft SQL Server 2017 (RTM-CU12) (KB4464082) - 14.0.3045.24 (X64)
        Oct 18 2018 23:11:05
        Copyright (C) 2017 Microsoft Corporation
        Developer Edition (64-bit) on Linux (Ubuntu 16.04.5 LTS)

(1 rows affected)
1> quit

The broker was build with mvn clean install -DskipTests with this version of Java:
✗ java -version
openjdk version "1.8.0_181"
OpenJDK Runtime Environment (build 1.8.0_181-8u181-b13-1ubuntu<IP_ADDRESS>-b13)
OpenJDK 64-Bit Server VM (build 25.181-b13, mixed mode)

It was deployed with the java-buildpack-cflinuxfs2-v4.15 buildpack.

thanks Mr. mxplusb. Let me look into this and try to recreate the issue.

well, I was not able to recreate this. I started with a new sql server install on GCP, new broker, new org, unit tests passed, no issues. I deployed and registered the broker, installed and ran the demo app. All worked.
I am going to close this issue for now: we can re-open again if necessary.


Intrinsic camera matrix for rendered views

Hi, is there a way to get the 3x3 calibration matrix with intrinsic parameters of the rendered views? Thank you in advance!

+1


Add SerializationTransformer [test for CustomSerializable missing]

Closes #48
@joanromano let me know what you think, I took a different approach than in feature/keyTransformer , while the other one didn't require touching the Implementation of Serializable/CustomSerializable and didn't require CustomSerializable to take care of the keyTransformer, this approach is much cleaner and easier to handle, other than performant

[Current coverage][cc-pull] is 98.38%

Merging [#74][cc-pull] into [master][cc-base-branch] will increase coverage by 0.10%

@@             master        #74   diff @@
==========================================
  Files             8          9     +1
  Lines           406        433    +27
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits            399        426    +27
  Misses            7          7
  Partials          0          0

[][cc-pull]

Powered by Codecov. Last updated by [9605d06...c6e0220][cc-compare]
[cc-base-branch]: https://codecov.io/gh/devlucky/Kakapo/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/devlucky/Kakapo/compare/9605d06f3c9e0c6afd42547b86c428fa63f3c888...c6e022074877f7fd16ffca5ab24628786f590598
[cc-pull]: https://codecov.io/gh/devlucky/Kakapo/pull/74?src=pr

Looks really convenient (thanks for the tests, which help a lot also), my only concern is with the just documented constraint regarding only transforming keys.

"documented constraint regarding only transforming keys" its the only one supported , what do you mean?

👍 awesome implementation, let's just work more on how to properly document now