text:
Anvil UIs do not work correctly if another plugin listens to UpdateAnvilEvent and edits the Results

I am currently running

SpongeForge version: 2838-7.2.2 (not latest due to other plugins not being updated yet)
Java version: I'm not sure honestly
Operating System: Linux

Plugins: Nucleus, Luckperms, CustomRecipes (the plugin that is actually editing the anvil "recipes")
Mods: Pixelmon

My plugin is currently listening to the UpdateAnvilEvent and allowing me to introduce things like silk touch 2 and 3. If I use a normal anvil block it works alright, no issues at all, but if I use nucleus' /anvil (and I assume any other anvil UI) it breaks. Players trying to enchant items with "vanilla" enchants won't be able to, and whenever they try, it removes the levels on the client side, but as soon as they relog/get more xp, they get the levels back

I know the code is far from ideal, but it was a quick test; here's the code I use to edit the anvil logic https://gist.github.com/02Miki/a795e5c07f96491e2d386822202c609e

https://cdn.discordapp.com/attachments/754384155575582740/785191065438650368/unknown.png here's a screenshot of the error it fires

Not sure if it's a proper fix, but making it so the event doesn't fire unless there is and item in the first anvil slot seems to fix it

Not sure if it's a proper fix, but making it so the event doesn't fire unless there is and item in the first anvil slot seems to fix it

As an additional update to this issue, the bug in the event actually causes a dupe glitch when placing items in and out of the second slot of a normal anvil.
Happens whenever the event errors https://pastebin.com/Gndpi7Sz causing the item do dupe or disappear

As an additional update to this issue, the bug in the event actually causes a dupe glitch when placing items in and out of the second slot of a normal anvil.
Happens whenever the event errors https://pastebin.com/Gndpi7Sz causing the item do dupe or disappear

repo: SpongePowered/Sponge


text:
Improve Player and Human interfaces

This PR implements methods added by SpongeAPI-440.

@caseif Can you update the PR and fix errors?

source: gharchive/pull-request

authors: caseif gabizou

license: MIT

license_type: permissive

license_source: github-api


text:
Tracking an entity being extinguished.

https://github.com/SpongePowered/SpongeAPI/blob/6ec0106ae12c349729c5f6c08e51d5f3b696df80/src/main/java/org/spongepowered/api/event/entity/IgniteEntityEvent.java is great for watching when an entity catches fire, but how do you listen for an entity no longer being on fire?

DataEvents @gabizou ?

Sounds about right @Deamon5550.

source: gharchive/issue

authors: Deamon5550 gabizou ryantheleach

repo: SpongePowered/SpongeAPI


text:
[1.10.2] No way to tell the difference between TNT and player spawning an entity via block break

The cause of a SpawnEntityEvent is always a BlockSpawnCause which lacks information about how the block was broken.
For instance the following cause tells what block created the Item entity, however, it does not specify that this action was caused by TNT, or a Player, etc.
[17:08:22] [Server thread/INFO]: Cause[{Name=Source, Object={BlockSpawnCause{SpawnType=SpongeSpawnType{id=DroppedItem, name=DroppedItem}, BlockSnapshot=SpongeBlockSnapshot{worldUniqueId=63e2b653-8af2-4f44-9387-f281b45ed33a, position=(226, 65, 205), blockState=minecraft:air, extendedState=minecraft:air}}}}]

Shouldn't be an issue anymore as entity spawn causes were expanded.

authors: DarkArc Zidane

repo: SpongePowered/SpongeCommon


text:
Operator bypass whitelist with permission service

Hi,
with a permissions service, operators can bypass the whitelist.
It's possible to disable this ?
https://github.com/SpongePowered/SpongeAPI/issues/1311

confirmed with 7.0.0-BETA-2741

I'll take this one for a week, unless you were planning on it @phit .

go for it 👍

i have already a PR that resolves this issue. But it should be updated.
https://github.com/SpongePowered/SpongeCommon/pull/1012

@Cybermaxke would you like to update it, or would you prefer I did it?

I can update it, I don't think that it will need a lot of changes, just some comments and checking if it still works.

authors: Cybermaxke lesbleu phit ryantheleach


text:
🛑 [B] IP Ending with .217 is down

In f4ec77b, [B] IP Ending with .217 ($IP_GRP_B.217:$MONITORING_PORT) was down:

HTTP code: 0
Response time: 0 ms

Resolved: [B] IP Ending with .217 is back up in 693d46d after 16 minutes.


text:
Improved named parameter parsing of single quotes

SPR-8280 Improving named parameter parsing where statement has escaped single quotes or comments are immediately before or after quoted literals

Thanks Thomas.  Please note the re-worked commit comment and updated date range in the license headers of the affected sources at 9fb6e2313ccf54fc3b2936f33e470f9eb1418a5c.

authors: cbeams trisberg

repo: SpringSource/spring-framework


text:
Client-Service Comms - Regression Issue

Regression tests revealed a problem, introduced inadvertently in fixes for issues #128 and #129. These altered the inheritance hierarchy for indirect usage relationships, along with the criteria for inferring the presence of direct communication between a process that initiates interaction with another, given that the interaction may be indirect.
The new problem created by this affects cases where a client has an asserted relationship to a service, but access is via a remote access service. The client-service relationship and communication inference sequence starts with construction pattern CaS-SP+CC, which creates a direct relationship if and only if no indirect relationship has been found. Two prohibited links are used:

usesViaDeputy: rules out cases where access is via a reverse proxy or a chain of credential forwarding/sharing services
usesViaRAS: rules out cases where access is via a remote access service

The bug appears only to affect cases where access is via a remote access service, but this service is itself accessed via a reverse proxy or a credential forwarding/sharing chain.
This bug appeared in regression tests for fixes to address #107, so should be addressed in conjunction with those fixes.

Addressed on branch 107.

repo: Spyderisk/domain-network


text:
Leverage deepspeed for much faster inference time

https://github.com/microsoft/DeepSpeed
Deepspeed delivers considerable inference time reduction for both single gpu and cluster gpus.
It is the state of the art of inference optimization and is very easy to use, it's only a few lines of configuration!
Moreover it is exposed via Huggingface Accelerate
https://github.com/CompVis/stable-diffusion/issues/180#issuecomment-1288059199

note Deepspeed Mii would be better https://github.com/microsoft/DeepSpeed-MII

see the benchmark for stablediffusion: https://github.com/microsoft/DeepSpeed-MII/tree/main/examples/benchmark/txt2img

Hey @dmarx, would I be able to try adding this enhancement? I haven't really contributed to open source projects, but I would love to get involved and start building something

Anyone tried doing it locally? Any guides/pointers would be appreciated. Don't want to use hugging faces.

authors: LifeIsStrange dabenor saqibameen

repo: Stability-AI/stablediffusion


text:
Toast is not displayed in AfterViewInit method

I'm trying to pop a toast on a ngAfterViewInit method, without success.
The code
@Component({
  selector: 'app-team-member-menu',
  templateUrl: './team-member-menu.component.html',
  styleUrls: ['./team-member-menu.component.css']
})
export class TeamMemberMenuComponent implements AfterViewInit {

  defaultToasterConfig = defaultToasterConfig;

  constructor(private toasterService: ToasterService) {}

  ngAfterViewInit() {
    console.log('entering view init');
    const toast: Toast = {
      type: 'success',
      body: 'I am init toast'
    };
    this.toasterService.pop(toast);
  }

  toto() {
    console.log('toto button clicked');
    const toast: Toast = {
      type: 'success',
      body: 'I am toto toast'
    };
    this.toasterService.pop(toast);
  }

The behaviour
(Note: my toast lifetime is 5 seconds)

After entering the view, I can see in the console the message "entering view init" but no toast, which is not expected.
And then, for example, if I click on button that triggers toto() in my template 2 sec after entering the view, I'll see toto toast for 5 seconds, and init toast for 3 seconds.

This means the init toast bas been kind of triggered, but for some reason it was not displayed !?!
** Notes **
I'm running Angular 6.0.0 and rxjs-compat to ensure compatibility.
Any idea? Thanks.

This is most likely due to running Angular 6 against the library prior to upgrade.
I am in the middle of creating an Angular 6 target release and I'll test your scenario against it.

Please test this against the new 6.0.0 release and confirm if it is still an issue.  Thanks!

Hi,
After upgrading to 6.0.0, it still have the exact same problem.

Thanks for confirming. I’ll take a closer look.

I can't reproduce this in the angular-cli demo app.  AfterViewInit properly fires a toast and it display for the correct duration.
Do you have a conflict where your toaster-container is being loaded in a sibling component or even AFTER TeamMemberMenuComponent is loaded?  You should always render your toaster-container as far up the component tree as possible and as early as possible so that you can target the container earlier rather than later.
In either case, I'll need a more detailed reproduction in order to identify the issue.

authors: Stabzs ddahan

license: mit

license_source: bigquery


text:
st2-purge-executions script not working

$ st2 --version
st2 2.2.0
$ mongo -version
MongoDB shell version: 3.2.12
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.5 LTS"
$ /opt/stackstorm/st2/bin/st2-purge-executions --timestamp="2017-03-20T00:00:00.000000Z"
2017-03-22 02:42:46,594 INFO [-] Connecting to database "st2" @ "0.0.0.0:27017" as user "None".
Traceback (most recent call last):
File "/opt/stackstorm/st2/bin/st2-purge-executions", line 22, in
sys.exit(main())
File "/opt/stackstorm/st2/local/lib/python2.7/site-packages/st2common/cmd/purge_executions.py", line 67, in main
common_setup(config=config, setup_db=True, register_mq_exchanges=False)
File "/opt/stackstorm/st2/local/lib/python2.7/site-packages/st2common/script_setup.py", line 86, in setup
db_setup()
File "/opt/stackstorm/st2/local/lib/python2.7/site-packages/st2common/database_setup.py", line 43, in db_setup
ssl_match_hostname=cfg.CONF.database.ssl_match_hostname)
File "/opt/stackstorm/st2/local/lib/python2.7/site-packages/st2common/persistence/db_init.py", line 65, in db_setup_with_retry
ssl_match_hostname=ssl_match_hostname)
File "/opt/stackstorm/st2/local/lib/python2.7/site-packages/retrying.py", line 206, in call
return attempt.get(self._wrap_exception)
File "/opt/stackstorm/st2/local/lib/python2.7/site-packages/retrying.py", line 247, in get
six.reraise(self.value[0], self.value[1], self.value[2])
File "/opt/stackstorm/st2/local/lib/python2.7/site-packages/retrying.py", line 200, in call
attempt = Attempt(fn(*args, **kwargs), attempt_number, False)
File "/opt/stackstorm/st2/local/lib/python2.7/site-packages/st2common/models/db/init.py", line 94, in db_setup
db_ensure_indexes()
File "/opt/stackstorm/st2/local/lib/python2.7/site-packages/st2common/models/db/init.py", line 131, in db_ensure_indexes
raise e
pymongo.errors.OperationFailure: not authorized on st2 to execute command { createIndexes: "user_d_b", indexes: [ { unique: true, background: false, sparse: false, key: { name: 1 }, name: "name_1" } ] }

The problem is that since v2.2 we set a random password for MongoDB & PostgreSQL. Previously MongoDB had no authentication.
These values are stored in /etc/st2/st2.conf. By default, st2-purge-executions does not read this file, but you can pass it in as an option. This is a known problem, and we'd like to address it in v2.2.2. See https://github.com/StackStorm/st2/issues/3203
The short-term workaround for you is to pass in the --config-file option, e.g.:
vagrant@st2trusty:/opt/stackstorm/st2/bin$ /opt/stackstorm/st2/bin/st2-purge-executions --timestamp="2017-03-20T00:00:00.000000Z" --config-file=/etc/st2/st2.conf
2017-03-22 03:19:28,412 INFO [-] Connecting to database "st2" @ "0.0.0.0:27017" as user "stackstorm".
2017-03-22 03:19:28,566 INFO [-] Purging executions older than timestamp: 2017-03-20T00:00:00.000000Z
2017-03-22 03:19:28,599 INFO [-] Deleted 32 action execution objects
2017-03-22 03:19:28,609 INFO [-] Deleted 32 liveaction objects
2017-03-22 03:19:28,614 INFO [-] All execution models older than timestamp 2017-03-20 00:00:00+00:00 were deleted.
vagrant@st2trusty:/opt/stackstorm/st2/bin$

authors: LindsayHill efenian


text:
Correctly set "PATH" environment variable for the sandboxed Python runner process

Previously, we didn't add "/bin" directory to the "$PATH" environment variable which is set for the sandboxed Python runner process.
This means that if the Python action tried to access a binary / script which was installed inside a virtual environment bin directory (e.g. ansible Python package installs ansible binary, etc.) or if they wanted to spawn a new python process, a default system version would be used instead of the one which is specific to the virtual environment.
Once this issue is resolved, workaround described at https://github.com/StackStorm/st2contrib/issues/273 won't be needed anymore.
@manasdk and I discussed this change and decided to skip inclusion in v0.13.0. This change needs a bit more testing so we can be sure it doesn't introduce some unexpected regression.

Very nice. This will also simplify many of the Ansible examples as well.
/cc @armab

+1
Will try out with openstack pack and report back today.

Tested - works.

I think we should include in 0.13

@manasdk Cool.
I'm fine with including it in v0.13.
In case something breaks we can always spin up a patch release and fix it. It's also worth nothing that if something does break, it relied on a ninvalid / broken behavior so it's a good idea to fix it anyway.

One of those geniusly simple solutions, which solves several problems at once :cake:

authors: Kami armab jfryman manasdk


text:
Fix ST2 Client for Windows Clients

We have try to rollout the st2client on the Windows 10/11 clients of our StackStorm users. But because PWD only exist on Unix Based Operation System it failed.

For the record, what's the error you're getting on Windows systems?

For the record, what's the error you're getting on Windows systems?

Based on the proposed fix os.getlogin() returns the correct information on Windows.   I don't know the context around the patch, but the workaround for getlogin was added 11/07/2017 so I question it's relevance.  I checked on the currently supported OS' and a couple of others.  They all function as expected, so I'd be inclined to use the standard os.getlogin() function to have cross-platform support provided by Python, rather than maintaining these exceptions in the StackStorm code base.
CentOS Linux 8
>>> sys.version
'3.6.8 (default, Sep 10 2021, 09:13:53) \n[GCC 8.5.0 20210514 (Red Hat 8.5.0-3)]'

>>> os.getlogin()
'root'

Ubuntu 20.04.6 LTS
>>> sys.version
'3.8.10 (default, May 26 2023, 14:05:08) \n[GCC 9.4.0]'

>>> os.getlogin()
'root'

Debian GNU/Linux 10 (buster)
>>> sys.version
'3.7.3 (default, Jun 29 2023, 18:03:57) \n[GCC 8.3.0]'

>>> os.getlogin()
'root'

Rocky Linux 9.2 (Blue Onyx)
>>> sys.version
'3.9.16 (main, May 29 2023, 00:00:00) \n[GCC 11.3.1 20221121 (Red Hat 11.3.1-4)]'

>>> os.getlogin()
'root'

Ubuntu 18.04.6 LTS
>>> sys.version
'3.6.9 (default, Mar 10 2023, 16:46:00) \n[GCC 8.4.0]'

>>> os.getlogin()
'root'

Ubuntu 22.04.3 LTS
>>> sys.version
'3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0]'

>>> os.getlogin()
'root'

Hi Carlos, thank you for your Feedback.
Unfortunately, I also don't know why exactly the original fix was installed.
I can only comprehend the Problem in my Github Codespace Linux.

But I think this is a Microsoft special Linux.
Since the problem is in the supported versions, it would be better to use the integrated Python function as you said instead of having the special lock in the code.

I suspect you might be hitting this issue with your environment https://github.com/python/cpython/issues/84998.  As per the recommendation in the issue, perhaps getpass.getuser() is a more robust solution?  Does it work on windows 10/11?

authors: armab nzlosh philipphomberger


text:
Chatbot: reference hover

Acceptance criteria
Everything except CSS (Nemo, Buddy)

If user hovers over one of the little numbers, the referenced excerpt appears as a modal while the user is hovering
The modal includes

Title of thing
Author
Type (e.g. blog post)

This links out in a new tab (not sure this makes sense given the modal will disappear on hover?)

The referenced excerpt

I'm not sure what other details to include here such as how much of the referenced excerpt to show, but I imagine just keep doing what you've already been doing

CSS (Archana, Melissa)

Generally just make it look like the design yay
Position the excerpt dynamically so that at least most of it is showing

If it is closer to the bottom of user's viewing window, position it directly above the reference number
If it is closer to the top of user's viewing window, position it directly below the reference number

Links
https://www.figma.com/file/qqfeYAh6Z7QdyJXsQjIUfh/Stampy?type=design&node-id=1865%3A4431&mode=dev&t=Isg5hjkFzr1KY4KQ-1

update: in pr

Update :I can't get a bot generated response to check but I imagine there are still issues. Hopefully  Bryce has found them

repo: StampyAI/stampy-ui


text:
Assertion failure in legion_analysis.cc

I encountered the following assertion failure when I ran a testcase (test/attach-file) under attach-file branch. The testcase is almost identical to examples/08_multiple_partitions except it checkpoints stencil logical region into persistent file.
multiple_partitions: ../../runtime//legion/legion_analysis.cc:2392: void LegionRuntime::HighLevel::CurrentState::reset(): Assertion `!has_persistent' failed.
[0] Thread 3 (Thread 0x7f2edea09700 (LWP 10259)):
[0] #0  0x00007f2edff8a619 in __libc_waitpid (pid=10261, stat_loc=stat_loc@entry=0x7f2ea25f8c10, options=options@entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:40
[0] #1  0x00007f2edff0f1d2 in do_system (line=) at ../sysdeps/posix/system.c:148
[0] #2  0x0000000000da2978 in gasneti_bt_gdb ()
[0] #3  0x0000000000da57db in gasneti_print_backtrace ()
[0] #4  0x0000000000dfe311 in gasneti_defaultSignalHandler ()
[0] #5
[0] #6  0x00007f2edfeffbb9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
[0] #7  0x00007f2edff02fc8 in __GI_abort () at abort.c:89
[0] #8  0x00007f2edfef8a76 in __assert_fail_base (fmt=0x7f2ee004a370 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0xe2e047 "!has_persistent", file=file@entry=0xe2da78 "../../runtime//legion/legion_analysis.cc", line=line@entry=2392, function=function@entry=0xe315e0 LegionRuntime::HighLevel::CurrentState::reset()::__PRETTY_FUNCTION__ "void LegionRuntime::HighLevel::CurrentState::reset()") at assert.c:92
[0] #9  0x00007f2edfef8b22 in __GI___assert_fail (assertion=0xe2e047 "!has_persistent", file=0xe2da78 "../../runtime//legion/legion_analysis.cc", line=2392, function=0xe315e0 LegionRuntime::HighLevel::CurrentState::reset()::__PRETTY_FUNCTION__ "void LegionRuntime::HighLevel::CurrentState::reset()") at assert.c:101
[0] #10 0x0000000000b1232e in LegionRuntime::HighLevel::CurrentState::reset (this=0x7f2ede955320) at ../../runtime//legion/legion_analysis.cc:2392
[0] #11 0x0000000000b8597b in LegionRuntime::HighLevel::RegionTreeNode::invalidate_current_state (this=0x7f2ede9071a0, ctx=0, logical_users_only=false) at ../../runtime//legion/region_tree.cc:13609
[0] #12 0x0000000000b0e3ec in LegionRuntime::HighLevel::CurrentInvalidator::visit_region (this=0x7f2ea25fb6f0, node=0x7f2ede9071a0) at ../../runtime//legion/legion_analysis.cc:1461
[0] #13 0x0000000000b87131 in LegionRuntime::HighLevel::RegionNode::visit_node (this=0x7f2ede9071a0, traverser=0x7f2ea25fb6f0) at ../../runtime//legion/region_tree.cc:14337
[0] #14 0x0000000000b57432 in LegionRuntime::HighLevel::RegionTreeForest::invalidate_current_context (this=0x1cf5400, ctx=..., handle=..., logical_users_only=false) at ../../runtime//legion/region_tree.cc:2129
[0] #15 0x0000000000a59735 in LegionRuntime::HighLevel::RemoteTask::deactivate (this=0x7f2ede9033c0) at ../../runtime//legion/legion_tasks.cc:7935
[0] #16 0x0000000000a53977 in LegionRuntime::HighLevel::IndividualTask::deactivate (this=0x7f2ede9010c0) at ../../runtime//legion/legion_tasks.cc:6086
[0] #17 0x0000000000a5684d in LegionRuntime::HighLevel::IndividualTask::trigger_task_commit (this=0x7f2ede9010c0) at ../../runtime//legion/legion_tasks.cc:6889
[0] #18 0x0000000000a43895 in LegionRuntime::HighLevel::TaskOp::trigger_children_committed (this=0x7f2ede9010c0) at ../../runtime//legion/legion_tasks.cc:1918
[0] #19 0x0000000000a46d28 in LegionRuntime::HighLevel::SingleTask::register_child_commit (this=0x7f2ede9010c0, op=0x7f2ede971978) at ../../runtime//legion/legion_tasks.cc:2736
[0] #20 0x00000000009f7e31 in LegionRuntime::HighLevel::Operation::commit_operation (this=0x7f2ede971978) at ../../runtime//legion/legion_ops.cc:518
[0] #21 0x0000000000a56836 in LegionRuntime::HighLevel::IndividualTask::trigger_task_commit (this=0x7f2ede9717e0) at ../../runtime//legion/legion_tasks.cc:6887
[0] #22 0x0000000000a3db1f in LegionRuntime::HighLevel::TaskOp::trigger_commit (this=0x7f2ede9717e0) at ../../runtime//legion/legion_tasks.cc:502
[0] #23 0x00000000009f7dc4 in LegionRuntime::HighLevel::Operation::complete_operation (this=0x7f2ede971978) at ../../runtime//legion/legion_ops.cc:504
[0] #24 0x0000000000a566fb in LegionRuntime::HighLevel::IndividualTask::trigger_task_complete (this=0x7f2ede9717e0) at ../../runtime//legion/legion_tasks.cc:6866
[0] #25 0x0000000000a3da45 in LegionRuntime::HighLevel::TaskOp::trigger_complete (this=0x7f2ede9717e0) at ../../runtime//legion/legion_tasks.cc:482
[0] #26 0x00000000009f797c in LegionRuntime::HighLevel::Operation::complete_execution (this=0x7f2ede971978, wait_on=...) at ../../runtime//legion/legion_ops.cc:425
[0] #27 0x0000000000c0ace1 in LegionRuntime::HighLevel::Runtime::high_level_runtime_task (args=0x7f2ea1a04120, arglen=12, p=...) at ../../runtime//legion/runtime.cc:15959
[0] #28 0x0000000000d0415c in Realm::Task::execute_on_processor (this=0x7f2ea1a0d8c0, p=...) at ../../runtime//realm/tasks.cc:80
[0] #29 0x0000000000d063de in Realm::UserThreadTaskScheduler::execute_task (this=0x1cec920, task=0x7f2ea1a0d8c0) at ../../runtime//realm/tasks.cc:887
[0] #30 0x0000000000d04e9f in Realm::ThreadedTaskScheduler::scheduler_loop (this=0x1cec920) at ../../runtime//realm/tasks.cc:448
[0] #31 0x0000000000d09bd6 in Realm::Thread::thread_entry_wrapper<Realm::ThreadedTaskScheduler, &Realm::ThreadedTaskScheduler::scheduler_loop> (obj=0x1cec920) at ../../runtime//realm/threads.inl:127
[0] #32 0x0000000000cf1c57 in Realm::UserThread::uthread_entry () at ../../runtime//realm/threads.cc:740
[0] #33 0x00007f2edff127a0 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
[0] #34 0x0000000000000000 in ?? ()

Can you give me a command line?  Does it reproduce frequently?

Following steps could reproduce the failures.
#1: compile legion runtime and test code under test/attach-file
#2. GASNET_BACKTRACE=1 ./multiple_partitioons

As far as I can tell, you haven't actually pushed the code for 'test/attach-file' to any of the branches.  Can you make sure that it is checked in?

Oh, they are actually in ``examples/attach-file''.

Alright, I pushed a fix into the master branch.  Go ahead and merge it into the 'attach-file' branch.  The code will still deterministically crash, but somewhere in lowlevel_disk.cc which I'm assuming you will know how to fix better than me.  Test it out and if it looks like the high-level bug has been resolved, then go ahead and close this bug.

I have fixed the crash in lowlevel_disk.cc. At this point, the testcase could attach/detach external file correctly. But after all tasks are completed, legion runtime doesn't shutdown, which might be a hand case. Is there any easy way to debug this?

This looks like a problem for you to solve.  Here is the relevant backtrace:
#0  __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
#1  0x00002b8a524cc657 in _L_lock_909 () from /lib/x86_64-linux-gnu/libpthread.so.0
#2  0x00002b8a524cc480 in __GI___pthread_mutex_lock (mutex=0x32e8c38)
at ../nptl/pthread_mutex_lock.c:79
#3  0x0000000000d42e55 in Realm::FileMemory::destroy_instance (this=0x32e8b80, i=...,
local_destroy=true) at /home/mebauer/extern_legion/legion/runtime//lowlevel_disk.cc:222
#4  0x0000000000d333bc in Realm::RegionInstance::destroy (this=0x2b8a8c669d20, wait_on=...)
at /home/mebauer/extern_legion/legion/runtime//realm/inst_impl.cc:87
#5  0x0000000000abc9c0 in LegionRuntime::HighLevel::InstanceManager::notify_inactive (
this=0x2b8a8c669c80)
at /home/mebauer/extern_legion/legion/runtime//legion/legion_instances.cc:678
#6  0x0000000000c75fa2 in LegionRuntime::HighLevel::DistributedCollectable::remove_gc_reference (
this=0x2b8a8c669c80, cnt=1)
at /home/mebauer/extern_legion/legion/runtime//legion/garbage_collection.cc:149
#7  0x0000000000ae3cfe in LegionRuntime::HighLevel::DistributedCollectable::remove_nested_gc_ref
(this=0x2b8a8c669c80, source=48, cnt=1)
at /home/mebauer/extern_legion/legion/runtime//legion/garbage_collection.h:365
#8  0x0000000000aca133 in LegionRuntime::HighLevel::MaterializedView::notify_inactive (
this=0x2b8a8c64eea0)
at /home/mebauer/extern_legion/legion/runtime//legion/legion_views.cc:1031
#9  0x0000000000c75fa2 in LegionRuntime::HighLevel::DistributedCollectable::remove_gc_reference (
this=0x2b8a8c64eea0, cnt=1)
at /home/mebauer/extern_legion/legion/runtime//legion/garbage_collection.cc:149
#10 0x00000000009ef9bb in LegionRuntime::HighLevel::DistributedCollectable::remove_base_gc_ref (
this=0x2b8a8c64eea0, source=LegionRuntime::HighLevel::PENDING_GC_REF, cnt=1)
at /home/mebauer/extern_legion/legion/runtime//legion/garbage_collection.h:354
#11 0x0000000000ac7efa in LegionRuntime::HighLevel::LogicalView::handle_deferred_collect (
view=0x2b8a8c64eea0, term_events=...)
at /home/mebauer/extern_legion/legion/runtime//legion/legion_views.cc:342
#12 0x0000000000be6fe0 in LegionRuntime::HighLevel::GarbageCollectionEpoch::handle_collection (
this=0x2b8a8c226760, args=0x2b8a8c43d040)
at /home/mebauer/extern_legion/legion/runtime//legion/runtime.cc:3868
#13 0x0000000000c0af09 in LegionRuntime::HighLevel::Runtime::high_level_runtime_task (
args=0x2b8a8c43d040, arglen=20, p=...)
at /home/mebauer/extern_legion/legion/runtime//legion/runtime.cc:15993
#14 0x0000000000d04256 in Realm::Task::execute_on_processor (this=0x2b8a8c65afe0, p=...)
at /home/mebauer/extern_legion/legion/runtime//realm/tasks.cc:80
#15 0x0000000000d064d8 in Realm::UserThreadTaskScheduler::execute_task (this=0x32e8020,
task=0x2b8a8c65afe0) at /home/mebauer/extern_legion/legion/runtime//realm/tasks.cc:887
#16 0x0000000000d04f99 in Realm::ThreadedTaskScheduler::scheduler_loop (this=0x32e8020)
at /home/mebauer/extern_legion/legion/runtime//realm/tasks.cc:448
#17 0x0000000000d09cd0 in Realm::Thread::thread_entry_wrapper<Realm::ThreadedTaskScheduler, &Realm::ThreadedTaskScheduler::scheduler_loop> (obj=0x32e8020)
at /home/mebauer/extern_legion/legion/runtime//realm/threads.inl:127
#18 0x0000000000cf1d51 in Realm::UserThread::uthread_entry ()
at /home/mebauer/extern_legion/legion/runtime//realm/threads.cc:740
#19 0x00002b8a5452e8b0 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#20 0x0000000000000000 in ?? ()

Solved.

authors: jiazhihao lightsighter

repo: StanfordLegion/legion


text:
[Bugfix] Don't add backtick if columns is configured

What type of PR is this：

[X] bugfix
[ ] feature
[ ] enhancement
[ ] refactor
[ ] others

Which issues of this PR fixes ：

Problem Summary(Required) ：
introduced by #173. Don't add backticks when sink.properties.columns is configured
Checklist:

[X] I have added test cases for my bug fix or my new feature
[ ] I have added user document for my new feature or new function

I hope the stream load sdk is an independent module, and not often changed at the same time. because other place may use it

authors: banmoy xlfjcg


text:
[Enhancement] Early materialization for non-collerated semi join

Enhancement
For query like "select * from t1 where a = (select max(a) from t2)", normally it is done by a join.
If the subquery "select max(a) from t2" can be materialized firstly, then the outer query become "select * from t1 where a = 'xx'", the predicate can by pushed down to storage to reduce data scanned greatly, and avoid the join overhead.

I think this query can leverage starrocks' runtime filter which can also let the intermediate result be pushed down to the probe side.
Have you tested the different ways to run this query? Could you share the performances and the profiles?

I think this query can leverage starrocks' runtime filter which can also let the intermediate result be pushed down to the probe side. Have you tested the different ways to run this query? Could you share the performances and the profiles?

@imay yes, maybe we can extend runtime filter to in/=/>/< and we can also bypass the join operation for semi join, right?

authors: Leon-WTF imay

repo: StarRocks/starrocks


text:
Fail to "select * from events;"

Steps to reproduce the behavior (Required)

use information_schema;

select * from events;

Expected behavior (Required)
return content from events.
Real behavior (Required)
mysql>  select * from events;
ERROR 1064 (HY000): no match column for this column.

StarRocks version (Required)

You can get the StarRocks version by executing SQL select current_version()

current master 04acb23

this can be closed.

authors: imay starrocks-xueli


text:
Trino dialect supports insert syntax

Feature request
Is your feature request related to a problem? Please describe.

set sql_dialect='trino';
select doy(date '2022-03-06');
+-------------------------+
| dayofyear('2022-03-06') |
+-------------------------+
|                      65 |
+-------------------------+
1 row in set (0.04 sec)

ERROR 1064 (HY000): Getting analyzing error from line 1, column 22 to line 1, column 43. Detail message: No matching function with signature: doy(date)

Describe the solution you'd like

Trino dialect supports insert syntax
Describe alternatives you've considered

Additional context

StarRocks > set sql_dialect='trino';
Query OK, 0 rows affected (0.01 sec)

StarRocks > select doy(date '2022-03-06');
+-------------------------+
| dayofyear('2022-03-06') |
+-------------------------+
|                      65 |
+-------------------------+
1 row in set (0.30 sec)

cannot reproduce in my cluster. I'm using 3.3.2


text:
[sync materialized view]no naming rule check when create mv

Steps to reproduce the behavior (Required)
CREATE TABLE `t1` (
                                    `k1` int,
                                    `k2` int,
                                    `k3` int
                                ) ENGINE=OLAP
                                DUPLICATE KEY(`k1`)
                                COMMENT "OLAP"
                                DISTRIBUTED BY HASH(`k1`) BUCKETS 3;
CREATE MATERIALIZED VIEW 22mv
                             DISTRIBUTED BY HASH(k1) BUCKETS 10
                             REFRESH ASYNC
                             AS SELECT k1, k2
                             FROM t1;
CREATE MATERIALIZED VIEW mvklajksdjksjkjfksdlkfgkllksdjkgjsdjfjklsdjkfgjkldfkljgljkljklgja
                             DISTRIBUTED BY HASH(k1) BUCKETS 10
                             REFRESH ASYNC
                             AS SELECT k1, k2
                             FROM t1;

Expected behavior (Required)
ERROR 1064 (HY000): Incorrect table name '22mv'
ERROR 1064 (HY000): Incorrect table name 'mvklajksdjksjkjfksdlkfgkllksdjkgjsdjfjklsdjkfgjkldfkljgljkljklgja'

Real behavior (Required)
Query OK, 0 rows affected (0.00 sec)
StarRocks version (Required)

You can get the StarRocks version by executing SQL select current_version()

mysql> select current_version();
+----------------------------+
| current_version()          |
+----------------------------+
| BRANCH-2.4-RELEASE d401dc8 |
+----------------------------+

should check materialized view name when creation.
the rule should be as following:

LGTM @ABingHuang

authors: ABingHuang blackstar-baba colorfulu


text:
[Doc] Optimize info in parameters and SQL according to feedback

Why I'm doing:
What I'm doing:

BE para internal_service_async_thread_num is a static para, not dynamic, and has been deprecated since 3.1.
Add FE para expr_children_limit to doc.
Incorrect example in ALTER DATABASE SET DATA QUOTA.
optimize the description of FE para disable_load_job and BE para tablet_rowset_stale_sweep_time_sec.

Fixes #issue
What type of PR is this:

[ ] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[x] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

[ ] This is a backport pr

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.2
[x] 3.1
[ ] 3.0
[ ] 2.5

@mergify backport branch-3.1


text:
[Feature] Support replacing UDF in-place with CREATE OR REPLACE FUNCTION

Why I'm doing:
As of current, replacing a UDF is a two-step operation: DROP FUNCTION, then CREATE FUNCTION. This method involves potential downtime between the two commands for the function that is being replaced.
What I'm doing:
Fixes #46253
This change supports the following
CREATE OR REPLACE FUNCTION function_name RETURNS return_type;

The overall syntax for the enhanced CREATE FUNCTION command will look like this:
CREATE [OR REPLACE] [GLOBAL] [AGGREGATE | TABLE] FUNCTION function_name
(arg_type [, ...])
RETURNS return_type
PROPERTIES ("key" = "value" [, ...]);

What type of PR is this:

[ ] BugFix
[x] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[x] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[x] I have added test cases for my bug fix or my new feature
[x] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

[ ] This is a backport pr

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.3
[x] 3.2
[ ] 3.1
[ ] 3.0
[ ] 2.5

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

This PR doesn't include documentation change yet. I'll push another for that once we've settled on the proposed design.

Thanks for the earlier review @packy92. I've since added some unit tests to increase coverage, though I've noticed the FE Incremental Coverage Report doesn't seem to update on the latest changes. Is there a manual step required to update the report?

Sorry, folks. A Sonarcloud check appeared after your approval with a duplicate code warning.

Looks like Sonarcloud is picking up code duplication in more than just my changes :(

The long lead time between pushing a change and seeing check results has made this difficult. @packy92 @kangkaisen I'm hoping this is the last time I bug you for a review 🙏

authors: CLAassistant digitalpoetry


text:
Prevent access_token from getting into heroku logs

Right now, every time there's a HTTP error while sending Facebook request, the request url (containing the token) ends up in the logs.

Possible solution: catch theHTTPError here: https://github.com/Stark-Mountain/meetup-facebook-bot/blob/master/meetup_facebook_bot/messenger/messaging.py#L108 and log only its error code. One can access the error code with this: http://stackoverflow.com/questions/19342111/get-http-error-code-from-requests-exceptions-httperror

It's not a bug. It's not even a serious problem since even the verify_token gets into the logs, and we can barely control it. Apparently, Facebook just wants us to guard out logs carefully.

repo: Stark-Mountain/meetup-facebook-bot


text:
🛑 BRCRP CAD (Kind of don't do nothing) is down

In 5a3aba5, BRCRP CAD (Kind of don't do nothing) (https://brcad.starlightgaming.net/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: BRCRP CAD (Kind of don't do nothing) is back up in 9633b11 after 48 minutes.


text:
[bug]: Embassy about shows incorrect LAN address

The LAN address returned from the backend seems to be embassy.local when it should be embassy-<hostname>.local:

In /etc/nginx/sites-available/default, the server name directive reads as below, but I am unsure if this is intentional:
server_name .embassy.local;

this was fixed by #987. Are you sure you just didn't perform setup before that?

Mines

And Lucy's git tag is recent, so this is a weird state. That gets recreated every bootup right, there wont be a weird state from quick flashing will there?

@DrewAns @MattDHill is this information stored in either local storage or the FE patchdb state? If so, it probably ought not to be. I can confirm that my current build behaves in the way that you would expect.

No, this is 100% regurgitates from patchDB BE state, server['lan-address']

I just reflashed with balena at b50e7ebd306af917652c46629f5d7b86ba164131 and setup (recovered), and it is still showing as embassy.local:

This is the result of never updating patchdb state during setup or recovery.

At this point I am confident that I cannot handle this on my own. This seemingly innocuous bug actually has very far reaching relationships. At its core, this bug is due to the fact that we don't have a canonical source of truth for what the LAN address is. Further, one of the important properties of the LAN address is that it is linked to the product key because the server id is the first 8 hex digits of the sha256 hash of the product key.
This problem presents during any sort of non-fresh setup. In order for us to reestablish consistency we must make it such that the product key is the source of truth for the LAN address, and its presence in patchdb is essentially just a cache of this calculation to serve to the front end. If this is the case, it means that LAN addresses will not always remain the same when restoring from a backup or attaching a drive. Why? Because the product key is bound to the image and not to the data volume, as such there is no way to ascertain the product key that produced the patchdb LAN address value. The one exception to this is when it is being restored from 0.2. This is because the product key does live on the data volume in the 0.2 case.
All this leaves us with the following solution:

When migrating from 0.2, the product key that is read from the 0.2 data must be used to overwrite the product key that is on the 0.3.0 image. We already have to do this anyway in the case where there is no product key present on the 0.3.0 device.
In all setup flows, we must derive the server id from the product key and shove the corresponding LAN address into patchdb and report that LAN address back in the setup result.

At present it does not appear that we have any means of writing to patchdb with the SetupContext alone which makes it very hard to keep things in sync. It does look like patchdb is constructable at those sites but I'm not sure if that is safe to do. If we can get into patchdb in the setup contexts, that solves this problem handily.

authors: Blu-J MattDHill ProofOfKeags dr-bonez elvece


text:
Better UX around OS Updates (0.3.x -> 0.3.y)

[ ] Add progress indicator that displays the progress of the download, there are already websocket events that will give you this information.
[ ] Add a status indicating that the embassy is currently updating, disabling appropriate actions in the UI.
[ ] Allow users to dismiss the modal without cancelling the update progress OR make it clear that the 'X' button for the modal not only dismisses the modal but will outright cancel the update

Current view:

There might be a misunderstanding here. Please call.

Closing as invalid, this appears to result from embassyd never responding acknowledging that an update has been requested.

authors: MattDHill ProofOfKeags


text:
compile err: https://nextjs.org/docs/messages/css-npm

i am facing compilation err while building project with next js 14.0.1 with page router. please take a look at this
Failed to compile
./node_modules/react-datepicker/dist/react-datepicker.css
Global CSS cannot be imported from within node_modules.
Read more: https://nextjs.org/docs/messages/css-npm
Location: node_modules\keep-react\lib\esm\components\DatePicker\MonthPicker.js
the err might be following: https://nextjs.org/docs/messages/css-npm

Hi @hasanshahriar32,
Thank you for bringing this to our attention. We appreciate your diligence in identifying the compilation error while building project with next js 14 with page router. If you are interested, we welcome contributions to help address and resolve these issues. Your input is valuable, and your contributions can make a significant impact on the project.
Feel free to check our contribution guidelines for details on how to contribute. If you have any questions or need assistance, don't hesitate to ask.
We look forward to your potential contributions, and thank you for your interest in improving our project!
Best regards,
Md Ariful Islam

also getting this error in next "13.4.12",

Hi @hasanshahriar32,
That's wonderful news! 🚀 Thank you for resolving the compilation error issue when building the project with Next.js 14.0.1 and the page router. Your swift action is greatly appreciated, and it ensures a smoother development experience for all users.
If you come across any more challenges or have further improvements in mind, don't hesitate to share them with us. Your contributions are invaluable to the success of Keep React.
Keep up the excellent work, and we look forward to your continued involvement in the project!
Best regards,
@Arifulislam5577

repo: StaticMania/keep-react


text:
Add E-mote

SteamDB app page links to a few games using this

NEKOPARA Vol. 0
NEKOPARA Vol. 1
NEKOPARA Vol. 2
NEKOPARA Vol. 3
NEKOPARA Vol. 4
NEKOPARA Extra
KukkoroDays
TroubleDays
IdolDays
NinNinDays
NinNinDays2
NekoMiko
Fantasy Tavern Sextet -Vol.1 New World Days-
Fantasy Tavern Sextet -Vol.2 Adventurer's Days-
Fantasy Tavern Sextet -Vol.3 Postlude Days-
Song of Memories
Corona Blossom Vol.1 Gift From the Galaxy
Maitetsu
Maitetsu:Pure Station
Maitetsu:Last Run!!
Witch's Garden

Brief explanation of the change
Added "E-mote", a Japanese software developed by M2 Co., Ltd, which is primarily used in visual novels to create highly animated and expressive character sprites. Notable visual novels like Nekopara have used it for their animations.

After running changed rules in this pull request (this bot only tests rules.ini changes):
Changed technologies: SDK.E-mote
These apps now match: (47) 333600 334660 385800 420110 496260 497600 531730 547340 555640 555910 562480 602520 626510 626600 714800 745960 752570 812560 820730 880950 882650 899970 923810 938270 969700 1075980 1171270 1258340 1372830 1406990 1434480 1461770 1523390 1576130 1580240 1642260 1698030 1770820 1770830 1770840 1934180 2060000 2162950 2243920 2347380 2467540 2825300
Please confirm that all these changed apps are correct.

After running changed rules in this pull request (this bot only tests rules.ini changes):
Changed technologies: SDK.E-mote
These apps now match: (47) 333600 334660 385800 420110 496260 497600 531730 547340 555640 555910 562480 602520 626510 626600 714800 745960 752570 812560 820730 880950 882650 899970 923810 938270 969700 1075980 1171270 1258340 1372830 1406990 1434480 1461770 1523390 1576130 1580240 1642260 1698030 1770820 1770830 1770840 1934180 2060000 2162950 2243920 2347380 2467540 2825300
Please confirm that all these changed apps are correct.

Correct. I can confirm that, excluding demos, all of the titles are tagged as 'Visual Novel' on Steam. The sole exception is Rune Factory 4 Special, which happens to be an RPG. "E-mote" can be seen at 1:13 in the second trailer (you may also refer to the .webm below):
e-mote_in_rune_factory_4.webm

authors: SteamDB-Tracker overwatcheddude

repo: SteamDatabase/FileDetectionRuleSets


text:
Figure out if original css can be reconstructed from sourcemap (SrMa) block

See core/pak01 panorama vcss files in Artifact Foundry.
The sourcemap only provides indexes, while minified version strips out comments and stuff, which can't be restored.

Looks like it changed at some point in dota, and it's now a single array called "DBITSLC"

896a3a6bcfa19cf3551b776adcccf4d23fb16e50

repo: SteamDatabase/ValveResourceFormat


text:
Add UI for toggling different physics collision groups (e.g. playerclip)

Is your feature request related to a problem? Please describe.
Maps have world_physics.vphys_c which contain different collision groups, for example playerclips, and grenade clips in CS:GO.
It would be good to have a UI to separately toggle these similar to world layers UI.
This can replace the "Show entity colliders" and "Show triggers" checkboxes.

For entities that have no "interact as" we can use their classname. This removes the assumption that all triggers have trigger_ in their name, and supports any game specific triggers (env_cs_place, func_bomb_target, etc).

Added in 66c67de719472a7bdf6d3c2b39ba70fec4df46df


text:
What is the best platform for the RabbitMQ customer, console application or web application?

The provided example use an MVC action to handle the RabbitMQ messages, it can only deal with one message when the action is invoked.
I think I need a service like window service to handle the messages in schedule, but there is not window service in .net core.
If I use the console application, maybe I can not use the services or middleware as there is no startup class, that means I can not use the steeltoe interfaces.
If I use the web application, I am not sure when or where to start listening.
Could you please provide some solutions or samples?

@ErikXu:  If I get some time, I will try to create an example ... in the mean time, what I would probably do for a web application, would be to create a singleton service that encapsulates the rabbitmq connection and message handling.  When the service is created (i.e. by the container) you can start listening for messages.  The service could be created at App startup (i.e. in the Startup.cs class) via a GetService() call .. or lazily later during Controller creation, etc.. The constructor for the service would take as an argument the ConnectionFactory created by the Steeltoe connector.  Once the service is up and running you can start receiving messages and start processing.
Hope that helps... right now I just don't have time to create the sample... but I think it should be pretty simple.  Also: https://www.rabbitmq.com/dotnet-api-guide.html  .. is very useful of course...

Closing due to no further discussion.. Ping me if you still need help

authors: ErikXu dtillman

repo: SteeltoeOSS/Samples


text:
Rule0052InternalProceduresNotReferencedAnalyzer  System.MissingMethodException: Method not found

We receive the following warning in our azure devops pipeline:
##[warning]warning AD0001: Analyzer 'BusinessCentral.LinterCop.Design.Rule0052InternalProceduresNotReferencedAnalyzer' threw an exception of type 'System.MissingMethodException' with message 'System.MissingMethodException: Method not found: 'Microsoft.Dynamics.Nav.CodeAnalysis.Packaging.NavAppManifest Microsoft.Dynamics.Nav.Analyzers.Common.ManifestHelper.GetManifest(Microsoft.Dynamics.Nav.CodeAnalysis.Compilation)'.
##[warning]at BusinessCentral.LinterCop.Design.Rule0052InternalProceduresNotReferencedAnalyzer.MethodSymbolAnalyzer..ctor(CompilationAnalysisContext compilationAnalysisContext)
##[warning]at BusinessCentral.LinterCop.Design.Rule0052InternalProceduresNotReferencedAnalyzer.CheckApplicationObjects(CompilationAnalysisContext compilationAnalysisContext)
##[warning]at Microsoft.Dynamics.Nav.CodeAnalysis.Diagnostics.AnalyzerExecutor.<>c__DisplayClass48_1.<ExecuteCompilationActionsCore>b__0() in X:\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\DiagnosticAnalyzer\AnalyzerExecutor.cs:line 618
##[warning]at Microsoft.Dynamics.Nav.CodeAnalysis.Diagnostics.AnalyzerExecutor.ExecuteAndCatchIfThrows_NoLock(DiagnosticAnalyzer analyzer, Action analyze, Nullable`1 info) in X:\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\DiagnosticAnalyzer\AnalyzerExecutor.cs:line 1086'

We use the following template to Download the LinterCop
parameters:
  prerelease: 'false'
  alcodeanalyzer: ''

steps:
- task: PowerShell@2
  displayName: 'Download BusinessCentral.LinterCop.dll'
  condition: contains('${{parameters.alcodeanalyzer}}', 'BusinessCentral.LinterCop.dll')
  inputs:
    targetType: 'inline'
    script: |
      $FileName = "DownloadFile.ps1"
      $GitHubUri = "https://raw.githubusercontent.com/StefanMaron/vsc-lintercop/master/$FileName"

      try
      {
          Write-Host "Downloading PowerShell script $GitHubFileName from $GitHubUri..." -ForegroundColor Yellow
          Invoke-WebRequest -Uri $GitHubUri -OutFile $env:AGENT_BUILDDIRECTORY\$FileName
      }
      catch [System.Net.WebException]
      {
          Write-Host "Error connecting to $GitHubUri. Please check your file name or repo name and try again." -ForegroundColor Red
      }

      Write-Host "Success. Now executing $FileName" -ForegroundColor Green

      & $env:AGENT_BUILDDIRECTORY\$FileName $env:BUILD_SOURCESDIRECTORY ${{parameters.prerelease}}

Versions:

Microsoft (R) AL Compiler version 12.7.14.63589
Application Version: 23.5

Maybe this is related to #517
Related PR for LinterCop Download: https://github.com/StefanMaron/vsc-lintercop/pull/14

Probably releated to https://github.com/StefanMaron/BusinessCentral.LinterCop/issues/590

I've tested it with the Latest AL Language version.
Now it's working fine.
I will have to update our pipelines now, but at least it's working now.

authors: Arthurvdv pri-kise


text:
Unions in intersections still generate with "additionalProperties": false

See also: #64, #65.
Reproduction:
const left = z.union([
  z.object({ field1: z.number() }),
  z.object({ field3: z.string() }),
]);
const right = z.object({ field2: z.boolean() });
const intersection = z.intersection(left, right);
const schema = zodToJsonSchema(intersection);

Generates the following schema:
{
  "allOf": [
    {
      "anyOf": [
        {
          "type": "object",
          "properties": { "field1": { "type": "number" } },
          "required": ["field1"],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": { "field3": { "type": "string" } },
          "required": ["field3"],
          "additionalProperties": false
        }
      ]
    },
    {
      "type": "object",
      "properties": { "field2": { "type": "boolean" } },
      "required": ["field2"]
    }
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Because of "additionalProperties": false, no object can be successfully validated against this schema:
https://www.jsonschemavalidator.net/s/ddO3vtM2
Compared to schema with removed additionalProperties:
https://www.jsonschemavalidator.net/s/UO8HV6Lz

Currently I'm just removing additionalProperties: false from generated schemas:
function deepRemoveKeys(obj, exclude) {
  if (obj instanceof Array) {
    return obj.map((i) => deepRemoveKeys(i, exclude));
  }
  if (typeof obj === "object") {
    return Object.fromEntries(
      Object.entries(obj)
        .filter(
          ([k, v]) => !(k in exclude && (exclude[k] === undefined || exclude[k] === v))
        )
        .map(([k, v]) => [k, deepRemoveKeys(v, exclude)])
    );
  }
  return obj;
}

const schema = deepRemoveKeys(zodToJsonSchema(obj), { additionalProperties: false });

@Andy2003 as the original implementer of this feature, maybe you have any input?

repo: StefanTerdell/zod-to-json-schema

license: ISC


text:
how do i do a custom path

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Paste the full path of the folder, or paste the exe inside the folder and set the path as .


text:
Error: Cannot find module - webpack-dev-server

I enter npm start into cli and this is what happens.
ERROR MESSAGE:
PS C:\Users\Montrail.Cooper\Projects\ReduxSimpleStarter> npm start

redux-simple-starter@1.0.0 start C:\Users\Montrail.Cooper\Projects\ReduxSimpleStarter
node ./node_modules/webpack-dev-server/bin/webpack-dev-server.js

module.js:491
throw err;
^
Error: Cannot find module 'C:\Users\Montrail.Cooper\Projects\ReduxSimpleStarter\node_modules\webpack-dev-server\bin\webpack-dev-server.js'

WEBPACK CONFIG:
module.exports = {
entry: [
'./src/index.js'
],
output: {
path: __dirname,
publicPath: '/',
filename: 'bundle.js'
},
module: {
loaders: [{
exclude: /node_modules/,
loader: 'babel-loader',
query: {
presets: ['react', 'es2015', 'stage-1']
}
}]
},
resolve: {
extensions: ['.js', '.jsx']
},
devServer: {
historyApiFallback: true,
contentBase: './',
open: true,
prot: 3030
}
};

PACKAGE.JSON:
{
"name": "redux-simple-starter",
"version": "1.0.0",
"description": "Simple starter package for Redux with React and Babel support",
"main": "index.js",
"repository": "git@github.com:StephenGrider/ReduxSimpleStarter.git",
"scripts": {
"start": "node ./node_modules/webpack-dev-server/bin/webpack-dev-server.js",
"test": "mocha --compilers js:babel-core/register --require ./test/test_helper.js --recursive ./test",
"test:watch": "npm run test -- --watch"
},
"author": "",
"license": "ISC",
"devDependencies": {
"babel-core": "^6.2.1",
"babel-loader": "^6.2.0",
"babel-preset-es2015": "^6.1.18",
"babel-preset-react": "^6.1.18",
"chai": "^3.5.0",
"chai-jquery": "^2.0.0",
"jquery": "^2.2.1",
"jsdom": "^8.1.0",
"mocha": "^2.4.5",
"react-addons-test-utils": "^0.14.7",
"webpack": "^2.3.3",
"webpack-dev-server": "^2.4.2"
},
"dependencies": {
"babel-preset-stage-1": "^6.1.18",
"lodash": "^3.10.1",
"react": "^0.14.3",
"react-dom": "^0.14.3",
"react-redux": "4.3.0",
"react-router": "^2.0.1",
"redux": "^3.0.4"
}
}

This may help you -
{
"name": "redux-simple-starter",
"version": "1.0.0",
"description": "Simple starter package for Redux with React and Babel support",
"main": "index.js",
"repository": "git@github.com:StephenGrider/ReduxSimpleStarter.git",
"scripts": {
"start": "node ./node_modules/webpack-dev-server/bin/webpack-dev-server.js",
"test": "mocha --compilers js:babel-core/register --require ./test/test_helper.js --recursive ./test",
"test:watch": "npm run test -- --watch"
},
"author": "",
"license": "ISC",
"devDependencies": {
"@segment/to-iso-string": "^1.0.1",
"babel": "^6.23.0",
"babel-cli": "^6.26.0",
"babel-preset-stage-1": "^6.24.1",
"babel-core": "^6.26.0",
"babel-loader": "^6.4.1",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"chai": "^3.5.0",
"chai-jquery": "^2.0.0",
"jquery": "^2.2.1",
"jsdom": "^8.1.0",
"minimatch": "^3.0.4",
"mocha": "^2.4.5",
"pug": "^2.0.0-rc.4",
"react-addons-test-utils": "^0.14.7",
"webpack": "^1.15.0",
"webpack-dev-server": "^1.16.5"
},
"dependencies": {
"lodash": "^3.10.1",
"react": "^0.14.9",
"react-dom": "^0.14.9",
"react-redux": "^4.4.8",
"react-router": "^2.8.1",
"redux": "^3.7.2"
}
}

@Montrail Before you ran npm start, did you run npm isntall to install the required dependencies?

@Montrail  have you got any solution ??

Hi Guys - If you're running into this issue try running npm install -g webpack-dev-server@1.16.5, then run webpack-dev-server

It seems that this is caused by versioning in some of SG's (excellent) tutorials.
I installed some different presets:
npm install --save-dev babel-preset-es2015 babel-preset-react
then in /webpack.config.js added:
{         test: /\.jsx?$/,         exclude: /(node_modules)/,         loader: 'babel-loader',         query: {           presets: ['es2015', 'react']         },
That seemed to get my build going.

Same issue @StephenGrider (node: 8.9.0 | npm: 5.5.1).
Please have a look at this, cause it is causing me some troubles following your redux course

This issue can be solved by using the below command.
npm install --save-dev webpack-dev-server
By using this command , my problem is solved.

I was having the same issue and the steps I took to resolve were: 1) put the below code snippet in my package.json, 2) delete the existing node_modules folder, and 3) "npm install". The issue is caused by npm not putting the required files in your node_modules folder. So you may need to delete the folder a couple times and run "npm install" afterwards or try a different command line interface. Here's the snippet for the package.json I used:
{   "name": "redux-simple-starter",   "version": "1.0.0",   "description": "Simple starter package for Redux with React and Babel support",   "main": "index.js",   "repository": "git@github.com:StephenGrider/ReduxSimpleStarter.git",   "scripts": {     "start": "node ./node_modules/webpack-dev-server/bin/webpack-dev-server.js",     "test": "mocha --compilers js:babel-core/register --require ./test/test_helper.js --recursive ./test",     "test:watch": "npm run test -- --watch"   },   "author": "",   "license": "ISC",   "devDependencies": {     "babel-core": "^6.2.1",     "babel-loader": "^6.2.0",     "babel-preset-es2015": "^6.1.18",     "babel-preset-react": "^6.1.18",     "chai": "^3.5.0",     "chai-jquery": "^2.0.0",     "jquery": "^2.2.1",     "jsdom": "^8.1.0",     "mocha": "^2.4.5",     "react-addons-test-utils": "^0.14.7",     "webpack": "^1.12.9",     "webpack-dev-middleware": "^2.0.6",     "webpack-dev-server": "^1.16.5",     "webpack-hot-middleware": "^2.21.0"   },   "dependencies": {     "babel-preset-stage-1": "^6.1.18",     "lodash": "^3.10.1",     "react": "^0.14.3",     "react-dom": "^0.14.3",     "react-redux": "4.3.0",     "react-router": "^2.0.1",     "redux": "^3.0.4"   } }

Webpack itself and webpack-dev-server went recently through major version bump. Downgrading webpack-dev-server in package.json to the previous version should do the trick for now.

Change version of your webpack-dev-server to 2.11.1 in package.json

"devDependencies": {
  "webpack-dev-server": "^2.11.1"
}

run

yarn install

@Montrail Before you ran npm start, did you run npm install to install the required dependencies?

Change to that directory and perform the same

Delete the node_modules, then npm i again

very good  i hope this helped me

repo: StephenGrider/ReduxSimpleStarter


text:
Drawing with Text.Add does not show text in Window

Description
Using this simple window does not draw text:
		UI.WindowBegin(MenuHeaderText, ref infoPose, infoPoseSize * U.cm);
		StereoKit.Text.Add(DisplayText, Matrix.TR(new Vec3(0f, 0, -0.001f), Quat.LookDir(0, 0, -1)),
			infoWindowSize, TextFit.Wrap, style,
			TextAlign.XLeft, TextAlign.CenterLeft, infoWindowCenter.x);
		UI.WindowEnd();

Where the infoPoseSize is a Vec2 30,16 and infoWindowsSize is a Vec2 = infoPoseSize * .999f.
DisplayText is multiple lines of text with new line characters.
The goal is to draw text inside the Window left aligned inside a margin box.
		UI.WindowBegin(MenuHeaderText, ref infoPose, infoPoseSize * U.cm);
		StereoKit.Text.Add(DisplayText, Matrix.TR(new Vec3(0f, 0, -0.001f), Quat.LookDir(0, 0, -1)),
			infoWindowSize, TextFit.Overflow, style,
			TextAlign.Center, TextAlign.Center, infoWindowCenter.x);
		UI.WindowEnd();

Text center is drawn centered on the infoWindowSize top left corner.
Any setting of TextAlign other than Center, no text is visible.
Platform / Environment
Windows 11, VS 2022, SK 0.3.7 preview 7
Logs or exception details
Logs are super helpful, please include them if they're at all relevant!

If you have an exception, details about that would also be essential.

UI.Text with size is now in v0.3.7-preview.8!

authors: laultman maluoi

repo: StereoKit/StereoKit


text:
🛑 DNS (he.net) is down

In ef2fe3a, DNS (he.net) ($HE_NS) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DNS (he.net) is back up in 7c93459.

repo: Sternwarte-St-Ottilien-e-V/status


text:
Build Error

I'm getting this error during build after a few hours.
I have to always go back to the beginning.

SO: Windows 10 X64
Thanks

This seems to be on the server side, I will check the logs and fix it. Thank you for reporting the error.

repo: Storj/dataserv-client


text:
Per-queue sidekiq_processed_jobs_total metric

👋🏻
In my experience using this project to monitor sidekiq, sidekiq_processed_jobs_total is a very useful metric because it's a counter. This means that it easy to get meaningful rates at which jobs are being churned, but unfortunately it does not provide a queue label.
sidekiq_queue_enqueued_jobs does provide a queue label, but it's a gauge rather than a counter, which means it provides only a "snapshot" in time, and it's not very useful to know which queues have more activity, for example.
Would it be possible to have a queue label in sidekiq_processed_jobs_total, or is this not an infromation that sidekiq provides?
Thanks!

Hi @roobre and thanks for the issue.

Would it be possible to have a queue label in sidekiq_processed_jobs_total, or is this not an infromation that sidekiq provides?

I don't have an exact answer from the top of my head, but it's possible to figure out by looking at the Sidekiq source code because most of the metrics comes either from pre-computed values (like the gauge you've mentioned) or we are able to compute them on our own.
If you could help me and take a look into that we can find a way to introduce something you need as an existing metric or a new one if it's possible.

I've checked the Sidekiq codebase and unfortunately, it doesn't accumulate per queue stats, even tho everything is ready for that.
To achieve that we would need to introduce the code, that must be plugged in as middleware or similar into each Sidekiq deployment to start count per queue metric. But this goes beyond the scope of easy-to-use gem.
Sorry, but I'm going to close this issue until there is a good solution.

authors: Strech roobre

repo: Strech/sidekiq-prometheus-exporter


text:
🛑 Nextcloud Papa is down

In 6984d14, Nextcloud Papa ($NEXTCLOUD_2) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Nextcloud Papa is back up in efbfc35.

repo: StudFu-WordToMD/status


text:
🛑 Nextcloud Papa is down

In a5ab274, Nextcloud Papa ($NEXTCLOUD_2) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Nextcloud Papa is back up in 4827678.


text:
🛑 Nextcloud Papa is down

In 076dd89, Nextcloud Papa ($NEXTCLOUD_2) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Nextcloud Papa is back up in 4dbee44.


text:
allow requests to be marked as don't call unless expired

We are currently calling the api, regardless, to get the data to diff it against what is saved. If the endpoint always returns the same data, or updates on a semi regular basis (i.e. monthly) then it would be desirable to set the maxAge and not call the api if it hasn't expired. However, we will need a way to differentiate between this and endpoints where it would be desireable to check the api for new data on every call.
There appears to be two obvious solutions:

add a variable to the request
create a seperate function for fetching data, that only calls the api if none exists

I feel the first option is easier to use, but more prone to mistakes.

Decided to go with the first option as it's less code. I'm trying to avoid bloating the library as much as possible.
READ.ME needs updating

repo: StudentOfJS/query-plus


text:
Can it Works on UWP?

Hi, I try this in my Xamarin.Forms Project, It's very Good. But,It only work on Android & iOS, How to make it works on UWP? Because that I an not very good at XAML, I have no idea with this.

It's on my list of things to do. If you try to use it in UWP, it will render a regular button for now.

Does it work on UWP now?

Yeah, it still isn't on UWP yet. I'd love to have some help implementing it since my hands are full with other projects at the moment. I'm always accepting pull requests.

authors: Jatsai SuavePirate iCCat001


text:
some games missing

I tried to keep an overview of what I have with
lgogdownloader --list-details --language all --platform all --ignore-dlc-count .

recently that stopped working correctly.
Now I have some entries twice, e.g.
gamename: alien_nations
        path: /alien_nations/setup_alien_nations_2.05_hotfix_(21104).exe
        path: /alien_nations/setup_alien_nations_2.05_hotfix_(french)_(21104).exe
        path: /alien_nations/setup_alien_nations_2.05_hotfix_(german)_(21104).exe
        path: /alien_nations/extras/alien_nations_manual.zip
        path: /alien_nations/extras/alien_nations_wallpaper.zip
        path: /alien_nations/extras/alien_nations_soundtrack.zip
gamename: alien_nations
        path: /alien_nations/setup_alien_nations_2.05_hotfix_(21104).exe
        path: /alien_nations/setup_alien_nations_2.05_hotfix_(french)_(21104).exe
        path: /alien_nations/setup_alien_nations_2.05_hotfix_(german)_(21104).exe
        path: /alien_nations/extras/alien_nations_manual.zip
        path: /alien_nations/extras/alien_nations_wallpaper.zip
        path: /alien_nations/extras/alien_nations_soundtrack.zip

but others are missing, e.g. dark_queen_of_krynn or all heroes of might and magic games.
I guess it could be a bug on the server side, but on the GOG webpage the games are listed correctly. The count is correct, i.e. 24 are duplicate and 24 are missing.

Does --list show the missing games?

I just tried --list and got 14 less games than I have, of which another 35 were listed duplicately, so 49 games were missing completely.

I have a rather large collection (> 2000 games), perhaps that's why other people don't see this issue? Is there a bug report I can file at GOG about this, what should I say there?

Lets see if the json response from server has duplicates before lgogdownloader tries to parse it.
Are there duplicates in the output of this:
curl --cookie ~/.config/lgogdownloader/cookies.txt  "https://www.gog.com/account/getFilteredProducts?hiddenFlag=0&isUpdated=0&mediaType=1&sortBy=title&system=&page=1" -o - | json_pp | grep slug
json_pp should be part of perl or libjson-pp-perl package

That particular command gives me 100 different games (but of course, I have 20 more pages...). So I tried:
for i in $(seq 1 22); do curl --cookie ~/.config/lgogdownloader/cookies.txt "https://www.gog.com/account/getFilteredProducts?hiddenFlag=0&isUpdated=0&mediaType=1&sortBy=title&system=&page="$i -o -  | json_pp | grep slug > $i.txt; done

and see
$ cat *txt | wc -l
    2175
$ cat *txt | sort -u | wc -l
    2175

so this looks ok. Is lgogdownloader downloading them all directly after one another, or are there perhaps pauses in between that makes GOG re-sort them?

lgogdownloader should download them directly after one another unless --wait is used.
The result makes me think that something goes wrong when lgogdownloader is parsing the json reponse.
Enable debug info printing by building lgogdownloader with cmake .. -DCMAKE_CXX_FLAGS="-DDEBUG=1"
This makes it print the json response to stderr.
Redirect stderr output to file and see if there are duplicates
$ ./lgogdownloader --list 2> debug.txt
$ grep "\"slug\"" debug.txt | sort

Right now this looks good:
# grep "\"slug\"" debug.txt | sort | wc -l
    2171
# grep "\"slug\"" debug.txt | sort -u | wc -l
    2171

Comparing it with the curl output from above: the grep above was not good enough and also matched the four metal slug games "url" entries, so it matches the curl output.

So it gets valid info but something goes wrong with it later.
Try adding this after line 275 in src/website.cpp
std::cerr << "game.name = " << game.name << std::endl;

and check if the amount of games matches the previous output from curl
$ lgogdownloader --list 2> debug.txt
$ grep "game\.name" debug.txt | sort -u | wc -l

I checked this out too with my library; my GOG library on https://www.gog.com/account says that I have 1855 games.
OS: CentOS Linux release 8.1.1911 (Core), Boost 1.66
curl:
$ for i in $(seq 1 19); do curl --cookie ~/.config/lgogdownloader/cookies.txt "https://www.gog.com/account/getFilteredProducts?hiddenFlag=0&isUpdated=0&mediaType=1&sortBy=title&system=&page="$i -o -  | json_pp | grep slug > $i.txt; done
$ cat *.txt | wc -l
1959
$ cat *txt | sort -u | wc -l
1866

lgogdownloader (debug build):
$ lgogdownloader --version
LGOGDownloader 3.5.0a7648d
$ lgogdownloader --list 2> debug.txt
$ grep "\"slug\"" debug.txt | sort | wc -l
1855
$ grep "\"slug\"" debug.txt | sort -u | wc -l
1855

the patched debug executable is currently running, will add this information, as it is finished.

Something went wrong:
diff --git a/src/website.cpp b/src/website.cpp
index a83fe44..46b9f17 100644
--- a/src/website.cpp
+++ b/src/website.cpp
@@ -273,6 +273,7 @@ std::vector<gameItem> Website::getGames()
                     }
                 }
                 games.push_back(game);
+               std::cerr << "game.name = " << game.name << std::endl;
             }
         }
         i++;

and then:
lgogdownloader --list 2> debug2.txt

gives me only ~80kB:
Getting game names (1/22) 1 / 100
...
Getting game names (22/22) 71 / 71

I forgot that the progress info printing on line 174 manipulates the cursor position.
You should either change line 174 to use std::cout instead of std::cerr and use the previous command to redirect stderr to file
lgogdownloader --list 2> debug.txt

or use std::cout for the debug info printing on line 275 and redirect stdout to file
lgogdownloader --list > debug.txt

Hm, looks good:
# grep "game\.name" debug3.txt | sort -u | wc -l
    2171

It's currently working again, let's assume it was server-side.

authors: 0-wiz-0 Sude- shakeyourbunny

repo: Sude-/lgogdownloader

license: WTFPL


text:
Template edits

Edit the instructions, change service to "call the clerk", indlue option to email
add case captions to stay of execution

Also include instructions to make an ansser and STRONGLY ENCOURAGE that they create an answers


text:
Palindrome checker

Is your feature request related to a problem? Please describe.
An easy way to check palindrome
Describe the solution you'd like
A simple extension that checks palinderome sequence for you
Describe alternatives you've considered
Mobile Apps
Additional context
GSSoC'24
What problem is this feature trying to solve?
How do we know when the feature is complete?

Please assign this issue to me @Sulagna-Dutta-Roy

repo: Sulagna-Dutta-Roy/GGExtensions


text:
🛑 Zinc 20 is down

In 9ded356, Zinc 20 (https://zinc20.docking.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Zinc 20 is back up in ffde9f7.

repo: Sulstice/Uptime-Cheminformatics


text:
🛑 Zinc 15 is down

In e60e9ff, Zinc 15 (https://zinc15.docking.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Zinc 15 is back up in b5f60c3.


text:
🛑 NMR Shift Database is down

In 60facdb, NMR Shift Database (https://nmrshiftdb.nmr.uni-koeln.de/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: NMR Shift Database is back up in e28328e.


text:
🛑 LookChem is down

In d41d807, LookChem (https://www.lookchem.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: LookChem is back up in 917c2b0.


text:
🛑 Chem Exper is down

In 41eac45, Chem Exper (http://www.chemexper.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Chem Exper is back up in e33d729.


text:
🛑 Chem Exper is down

In 534da22, Chem Exper (http://www.chemexper.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Chem Exper is back up in 5936e6c.


text:
🛑 Chem Exper is down

In 9159803, Chem Exper (http://www.chemexper.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Chem Exper is back up in 8b3bbbe.


text:
🛑 Chem Exper is down

In 8cb65ad, Chem Exper (http://www.chemexper.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Chem Exper is back up in c369157.


text:
🛑 Chem Exper is down

In d159569, Chem Exper (http://www.chemexper.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Chem Exper is back up in bb09ee5.


text:
🛑 Adverse Drug Reaction Classification System is down

In e27ebe2, Adverse Drug Reaction Classification System (http://bioinf.xmu.edu.cn/ADReCS/) was down:

HTTP code: 502
Response time: 1244 ms

Resolved: Adverse Drug Reaction Classification System is back up in 488edf3.


text:
🛑 Drug Safety Analysis System is down

In b27f60e, Drug Safety Analysis System (http://xundrug.cn/moltox) was down:

HTTP code: 404
Response time: 20635 ms

Resolved: Drug Safety Analysis System is back up in ab801eb.


text:
🛑 Zinc 20 is down

In f694db7, Zinc 20 (https://zinc20.docking.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Zinc 20 is back up in 86b3b32.


text:
🛑 Zinc 15 is down

In 360680d, Zinc 15 (https://zinc15.docking.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Zinc 15 is back up in b45fbf7.


text:
🛑 Zinc 15 is down

In 9de2b45, Zinc 15 (https://zinc15.docking.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Zinc 15 is back up in 7bfa13f after 774 days, 13 hours, 49 minutes.


text:
🛑 Zinc 20 is down

In 28c442f, Zinc 20 (https://zinc20.docking.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Zinc 20 is back up in 7450649 after 776 days, 14 hours, 41 minutes.


text:
🛑 Chem Exper is down

In 9756f87, Chem Exper (http://www.chemexper.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Chem Exper is back up in 8d83c47 after 8 minutes.


text:
🛑 Chem Exper is down

In 69f1887, Chem Exper (http://www.chemexper.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Chem Exper is back up in f21ddf1 after 25 minutes.


text:
🛑 Zinc 20 is down

In 02526ba, Zinc 20 (https://zinc20.docking.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Zinc 20 is back up in 633009f.


text:
🛑 Zinc 15 is down

In f9f05ca, Zinc 15 (https://zinc15.docking.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Zinc 15 is back up in 4459ebb.


text:
🛑 Chem Exper is down

In b641a53, Chem Exper (http://www.chemexper.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Chem Exper is back up in 0c9adc1 after 8 minutes.


text:
🛑 NMR Shift Database is down

In 0ddb89e, NMR Shift Database (https://nmrshiftdb.nmr.uni-koeln.de/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: NMR Shift Database is back up in 1412aa2 after 28 minutes.


text:
🛑 Zinc 15 is down

In cdcd76a, Zinc 15 (https://zinc15.docking.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Zinc 15 is back up in b31b49c.


text:
🛑 Chem Exper is down

In 97edd13, Chem Exper (http://www.chemexper.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Chem Exper is back up in a90ed63 after 8 minutes.


text:
🛑 Chem Exper is down

In 4640794, Chem Exper (http://www.chemexper.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Chem Exper is back up in 77588f4 after 11 minutes.


text:
🛑 Chemical Resolver is down

In d182070, Chemical Resolver (https://cactus.nci.nih.gov/chemical/structure) was down:

HTTP code: 500
Response time: 151 ms

Resolved: Chemical Resolver is back up in 9a96df3 after 25 minutes.


text:
🛑 Chemical Resolver is down

In ebedb85, Chemical Resolver (https://cactus.nci.nih.gov/chemical/structure) was down:

HTTP code: 500
Response time: 379 ms

Resolved: Chemical Resolver is back up in e4920c4 after 48 minutes.


text:
🛑 Chem Exper is down

In 7cb9e4d, Chem Exper (http://www.chemexper.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Chem Exper is back up in 24e78d0 after 11 minutes.


text:
🛑 Zinc 20 is down

In 9e16cc6, Zinc 20 (https://zinc20.docking.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Zinc 20 is back up in bbe16b9 after 1 hour, 10 minutes.


text:
🛑 Binding Database is down

In 8b68aee, Binding Database (http://www.bindingdb.org/bind/index.jsp) was down:

HTTP code: 404
Response time: 1112 ms

Resolved: Binding Database is back up in 64c16b8 after 16 minutes.


text:
🛑 Zinc 20 is down

In b2a34bb, Zinc 20 (https://zinc20.docking.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Zinc 20 is back up in 9b1672f.


text:
🛑 Zinc 20 is down

In 417ab2b, Zinc 20 (https://zinc20.docking.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Zinc 20 is back up in f41e775.


text:
🛑 Chemical Resolver is down

In e19c2ab, Chemical Resolver (https://cactus.nci.nih.gov/chemical/structure) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Chemical Resolver is back up in 0f3943f.


text:
🛑 Zinc 20 is down

In 51aca8e, Zinc 20 (https://zinc20.docking.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Zinc 20 is back up in b55b4ff.

repo: Sulstice/uptime-zinc-db


text:
Line Chart is not supporting landscape orientation

While changing orientation to landscape, charts are also flipped to downside.

like android:screenOrientation="portrait"，this you should do in your native code

facing same problem.  line chart not support landscape orientation.
chart width is too small in landscape orientation .
how can i  show line chart in landscape orientation.

authors: SunPointed kushal-rathod1 vivekkujur

repo: SunPointed/MPFlutterChart


text:
Issue : In Month View Event Dot Overlapping The day under that event

Device: Samsung Core Prime

Thanks for raising the issue, will likely need to investigate with different screen sizes using emulator.

I think I just noticed the bug. When drawing the indicator, I'm not multipling the y position with the screen density. This is what will cause the inconsistencies on different phone screen. This is a pretty simple fix.

have you fixed it?

No its still not working bro.

Sorry, it's because I havn't made the fix for it yet. I wil get time during the weekend todo it. The problem is here:
https://github.com/SundeepK/CompactCalendarView/blob/master/library/src/main/java/com/github/sundeepk/compactcalendarview/CompactCalendarController.java#L664
this:
drawSmallIndicatorCircle(canvas, xPosition, yPosition + 15, event.getColor());

should be more like this:
drawSmallIndicatorCircle(canvas, xPosition, yPosition + (12 * screenDensity), event.getColor());

You can clone the repo and try the sample on your phone with that fix and let me know if it works. Otherwise I'll try and get it fixed in the next few days.

yes it work but need to modify the value.
drawSmallIndicatorCircle(canvas, xPosition, yPosition + (8*screenDensity), event.getColor());

Thank you so much.

Sorry I want to keep this open so I can fix for everyone. Interesting, that 8 worked good for you. I'll need to investigate to see what looks closests to google calendars and try some emulators out.

You can but the radius of small circle should multiply 2.0f too.

Is it too big?
https://github.com/SundeepK/CompactCalendarView/blob/master/library/src/main/java/com/github/sundeepk/compactcalendarview/CompactCalendarController.java#L292
I already base that on screen density:
 smallIndicatorRadius = 2.5f * screenDensity;

still bigger on small devices
I test it on multiple devices and it's working fine. with 2.0f * screenDesity

Most of the problems should be addressed in latest:
dependencies {
    compile 'com.github.sundeepk:compact-calendar-view:1.8.4'
}

However, I did not change the small indicator size, but I may raise another issue for that since its not directly related to the bug that should be fixed.

authors: SundeepK dhgillani

repo: SundeepK/CompactCalendarView


text:
Remove Bower

issue #7

Coverage increased (+7.7%) to 84.09% when pulling b17e1652ac9a7f0b3c655401159f4622921d11a4 on kmcgrath:develop into 3ecc1b97ae77b3d85fdea0d873d06a249140c235 on SungardAS:develop.

Coverage increased (+7.7%) to 84.09% when pulling b17e1652ac9a7f0b3c655401159f4622921d11a4 on kmcgrath:develop into 3ecc1b97ae77b3d85fdea0d873d06a249140c235 on SungardAS:develop.

authors: coveralls kmcgrath

repo: SungardAS/condensation


text:
撤回消息遮罩样式闪退

只要收到消息就会闪退，并且要先把手机上的mac登录先关掉，重新登录才能打开mac微信，否则无限闪退  系统10.15.4  微信2.4.1

遮罩样式有待修改，先使用经典撤回样式吧
发生无限闪退的话，先uninstall一下，然后重新打开微信登录一次，再install后重启微信，然后到偏好设定里面修改为经典撤回样式

验证通过

文件：WeChatTweakHeaders.h
以下方法

(void)notifyDelMsgOnMainThread:(id)arg1 msgData:(id)arg2;
更改为
(void)notifyDelMsgOnMainThread:(id)arg1 msgData:(id)arg2 isRevoke:(BOOL)arg3;
然后调用方法代码同时修改即可

authors: JeasonL kansiliyundi kssion mrpsweet

repo: Sunnyyoung/WeChatTweak-macOS


text:
🛑 Matrix Federation Tester is down

In 998eb93, Matrix Federation Tester (https://federationtester.matrix.org/api/report?server_name=supersandro.de) was down:

HTTP code: 200
Response time: 10991 ms

Resolved: Matrix Federation Tester is back up in b72bc77 after 6 minutes.


text:
question rather than bug - AX PRO integration - hikconnect notification constantly popping up

In newer ax pro fimware user (administrator) is receving hik-connect notification every time the integration log-in using Installer login/passwd.
Is there a way to get rid of this ? can i use other than installer account to get the status info and arm disarm (i am assuming the admin has the right access.

Hi
You should ask this in an ax-pro forum.
I know you can disable this notification, but i don’t remember if i’ve done it in the ax-pro  or in the phone app.

authors: JacekKac Supergiovane


text:
looks like credentials have changed again.

don't read from a file; have the runner prompt and save, etc.

actually, no; this is just part of the IAM policy thing. would probably be better to create an account on the amazon side of things anyway. also, downloading key files was confusing for users.

repo: SurveyMan/Runner


text:
[BUG] Random Unhandled error. ('Status code: 403') while playing music

node:events:381
    throw err; // Unhandled 'error' event
    ^

Error [ERR_UNHANDLED_ERROR]: Unhandled error. ('Status code: 403')
    at new NodeError (node:internal/errors:371:5)
    at Player.emit (node:events:379:17)
    at FFmpeg.<anonymous> (C:\Users\User\Documents\bot\node_modules\discord-music-player\dist\managers\Queue.js:223:33)
    at FFmpeg.emit (node:events:402:35)
    at PassThrough.<anonymous> (C:\Users\User\Documents\bot\node_modules\discord-ytdl-core\index.js:1:1100)
    at PassThrough.emit (node:events:402:35)
    at PassThrough.emit (node:events:390:28)
    at ClientRequest.<anonymous> (C:\Users\User\Documents\bot\node_modules\miniget\dist\index.js:215:28)
    at Object.onceWrapper (node:events:510:26)
    at ClientRequest.emit (node:events:390:28) {
  code: 'ERR_UNHANDLED_ERROR',
  context: 'Status code: 403'

Randomly getting this error while playing music

OS: Win 11
Node Version v16.10.0
Module Version 8.2.0

Let's assume this is while playing music from YouTube, afaik this is not something SushiBtw can do anything about the 403 is thrown from YouTube, and 403 means forbidden.

You can handle such errors using such code:
Player#on('error', (queue, err) => {

});

You can handle such errors using such code:
Player#on('error', (queue, err) => {

});

yeh im yet to add the on error event
but will the issue with the error 403 still persist?

You can handle such errors using such code:
Player#on('error', (queue, err) => {

});

yeh im yet to add the on error event but will the issue with the error 403 still persist?

Yes it will, 403 is not something we're remotely able to fix. It's YouTube throwing HTTP 403 which means forbidden, it happens from time to time.

Wouldn't it be possible to retry the request a few times on a 403 error?

When I repeat the music, the 403 problem does not appear
Is there any difference?

authors: AranyaMaji MeridianGH SushiBtw ka0sdev reikop

repo: SushiBtw/discord-music-player


text:
如何用multipart/form-data的contentType上传图片呢

查看源码里 发现上传文件用的UPLOAD方法

request.headers=@{@"Content-Type": @"multipart/form-data"};

在requestWithConfig配置内 添加请求头 和调整上传请求参数，不过我手里没有该类型请求，没法试验。只能您自己调试了。

request.headers=@{@"Content-Type": @"multipart/form-data"};

[request addFormDataWithName:@"image[]" fileName:@"temp. jpeg" mimeType:@"multipart/form-data" fileData:fileData];

在requestWithConfig配置内 添加请求头 和调整上传请求参数，不过我手里没有该类型请求，没法试验。只能您自己调试了。
request.headers=@{@"Content-Type": @"multipart/form-data"};
[request addFormDataWithName:@"image[]" fileName:@"temp. jpeg" mimeType:@"multipart/form-data" fileData:fileData];

后端定义的接收图片的字段的是file，我试了file[]、file、image[]、image，都不行，multipart上传数据，需要拼接的body数据格式好像是固定的，昨天用原生的afnetworking解决了

authors: Suzhibin YoungXKing

repo: Suzhibin/ZBNetworking


text:
Update broadcast-channel

This avoid Svelte Kit additional config mess.
From https://github.com/SvelteStack/svelte-query/issues/22#issuecomment-844255314.

@amen-souissi can you please release with a patch 1.4.1?

Done 👍

authors: amen-souissi frederikhors

repo: SvelteStack/svelte-query


text:
Fixing the #4 issue.

Here's my proposal, after many tests, of a fix for the #4 issue. Let me know what do you think!

@francescomalatesta have you tried it on Windows?

Actually, works on Windows but not on OS X. @francescomalatesta what platform did you test this on?

Actually, just re-tested and it seems to be fine

Sorry but Github seems to avoid notifications about that PR :( I'm happy it worked!

authors: Swader francescomalatesta


text:
TF Asset Resource - editor web integration?

Not sure about this one, but the potential is there, and if it could be implemented well would make things quite a lot nicer, no need to swap over to google and download assets, all straight from the engine.

Not possible as of this moment (I believe) due to common UnityEditor web plugins not being recognized as modern browsers, and thus aren't able to view Google Drive


text:
Unable to create custom password rule

I tried to create a custom password rule that inherit regex rule. But it show
"Cannot inherit from non-open class 'RegexRule' outside of its defining module". Any solution for this?

Find "RegexRule" and change "public class RegexRule : Rule" to "open class RegexRule : Rule"

@snowywolfie RegexRule is now an open class. Your can update your library.

authors: Sadmansamee rajatjain4061 snowywolfie

repo: SwiftValidatorCommunity/SwiftValidator


text:
updated "Swift Package Manager" installation manual

seems to be, that the Swift Package Manager has updated the kind of defining Versions.
But on "swift build -v" we have still a issue:
/Library/Developer/Toolchains/swift-latest.xctoolchain/usr/bin/swiftc --driver-mode=swift -I /Library/Developer/Toolchains/swift-latest.xctoolchain/usr/lib/swift/pm -L /Library/Developer/Toolchains/swift-latest.xctoolchain/usr/lib/swift/pm -lPackageDescription -target x86_64-apple-macosx10.10 /Users/jan/Development/iOS/Global\ Nights/Package.swift -fileno 4
/Users/jan/Development/iOS/Global Nights/Package.swift:15:17: error: incorrect argument labels in call (have 'url:tag:versions:', expected 'url:majorVersion:minor:')
.Package(url: "https://github.com/SwiftyJSON/SwiftyJSON.git", tag: "2.3.3", versions: Version(1,0,0)..<Version(2,3,3)),
^                                                     ~~~           ~~~~~~~~
majorVersion  minor
error: exit(1): /Library/Developer/Toolchains/swift-latest.xctoolchain/usr/bin/swiftc --driver-mode=swift -I /Library/Developer/Toolchains/swift-latest.xctoolchain/usr/lib/swift/pm -L /Library/Developer/Toolchains/swift-latest.xctoolchain/usr/lib/swift/pm -lPackageDescription -target x86_64-apple-macosx10.10 /Users/jan/Development/iOS/Global\ Nights/Package.swift -fileno 4

Good catch. 👍

repo: SwiftyJSON/SwiftyJSON


text:
Update "10 grids on page" example

Hi,
the last example on http://swimlane.github.io/angular-data-table/ is not up-to-date as it seems, and therefore does not work.
It still includes this:

    foo

The

 breaks it. The current codebase is already updated to use <dtable></dtable> instead, but your gh-pages branch seems to be behind, so the broken version is still online.
Just wanted to let you know!
Cheers

Fixed this, and updated other examples to latest version of the library.

repo: Swimlane/angular-data-table


text:
Incomplete details

After i add dependency to config.yml and run a server i get:

=============================================
[21:44:14] [Server thread/ERROR]: [DLoader] <
[21:44:14] [Server thread/ERROR]: [DLoader] < Dependency commons-io has incomplete details
[21:44:14] [Server thread/ERROR]: [DLoader] < Requires, case-sensitive
[21:44:14] [Server thread/ERROR]: [DLoader] < 'version', 'group', 'artifact'
[21:44:14] [Server thread/ERROR]: [DLoader] =============================================

In config.yml i have:
dependencies:
    commons-io:
        version:2.6
        group:commons-io
        artifact:commons-io
        repository:http://central.maven.org/maven2/

Can you help me?

Your YML is invalid.
Use this:
dependencies:
  commons-io:
    version: 2.6
    group: 'commons-io'
    artifact: 'commons-io'
    repository: 'http://central.maven.org/maven2/'

A couple of notes though, if the dependency is in central, you don't need to define a repository.
(also, the quotes aren't necessary, but they can help with readability and syntax highlighting)

Thanks, it helped me but only a little, because now i get this error:

[02:20:58] [Server thread/WARN]: [DLoader] Attempting to download commons-io/commons-io/2.6/commons-io-2.6.pom
[02:20:58] [Server thread/WARN]: [DLoader] URL is 'https://repo1.maven.org/maven2/commons-io/commons-io/2.6/commons-io-2.6.pom'
[02:20:59] [Server thread/ERROR]: org/apache/commons/io/FileUtils initializing DLoader v1.1.3 (Is it up to date?)
java.lang.NoClassDefFoundError: org/apache/commons/io/FileUtils
at com.sxtanna.util.Urls.pullFromStreamToFile(Urls.java:216) ~[?:?]
at com.sxtanna.util.Urls.lambda$tryDownload$1(Urls.java:187) ~[?:?]
at com.sxtanna.util.Urls.openStream(Urls.java:199) ~[?:?]
at com.sxtanna.util.Urls.tryDownload(Urls.java:187) ~[?:?]
at com.sxtanna.util.Urls.download(Urls.java:164) ~[?:?]
at com.sxtanna.DLoader.load(DLoader.java:171) ~[?:?]
at com.sxtanna.DLoader.load(DLoader.java:155) ~[?:?]
at com.sxtanna.DLoader.lambda$onLoad$0(DLoader.java:119) ~[?:?]
at java.lang.Iterable.forEach(Unknown Source) ~[?:1.8.0_211]
at com.sxtanna.DLoader.onLoad(DLoader.java:95) ~[?:?]
at org.bukkit.craftbukkit.v1_14_R1.CraftServer.loadPlugins(CraftServer.java:352) [spigot-1.14.1.jar:git-Spigot-03bd4b0-17da342]
at net.minecraft.server.v1_14_R1.DedicatedServer.init(DedicatedServer.java:194) [spigot-1.14.1.jar:git-Spigot-03bd4b0-17da342]
at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:761) [spigot-1.14.1.jar:git-Spigot-03bd4b0-17da342]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_211]
Caused by: java.lang.ClassNotFoundException: org.apache.commons.io.FileUtils
at java.net.URLClassLoader.findClass(Unknown Source) ~[?:1.8.0_211]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:135) ~[spigot-1.14.1.jar:git-Spigot-03bd4b0-17da342]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:81) ~[spigot-1.14.1.jar:git-Spigot-03bd4b0-17da342]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_211]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_211]
... 14 more

what is actually funny, becuase i need your plugin to get the jar with FIleUtils inside, but to do it I need FileUtils... :D Dunno what to do now.

That's actually hilarious, was commons-io removed in some future release of spigot or something?

I think so. I've just run your plugin on Spigot 1.11 and it works well. It doesn't work on 1.14, so it might be just like you said - commons-io might have been removed in one of future release.

authors: KamilKluba Sxtanna

repo: Sxtanna/dependency-loader


text:
quicklogic: investigate negative cost warnings

During routing VPR prints a lot of negative cost warnings:
Warning 14404762: Cost is negative? cost = -2.352, bucket = -2147483648

It is unclear if this is caused by the timing data we use, bug in timing import or a bug in timing model.

We see that route.log is taking up to 2GB space with these warning messages.
Could this also be causing increased run time in router?

The cost function can never be negative in a sensical timing model.  A negative cost is a signal that travels backwards in time.

Also the units on the timing driven routers is seconds, so a cost of -2.3 seconds is pretty crazy.

This has been fixed by bumping VPR version. Negative costs do not appear in the routing anymore.

authors: kgugala litghost tpagarani

repo: SymbiFlow/symbiflow-arch-defs


text:
[xc7/fasm2v] Support multiple iostandards in one design

Currently there is a need to specify only one iostandard for the whole design. Also the encoding of iostandards as FASM features is pretty ambiguous (but maybe it has to be that way due to bit encoding).

It appears there are several IOSTANDARD combinations that do not have distinct bits.  We may have to supply the original IOSTANDARD's used per port for fasm2v.

Fixed by https://github.com/SymbiFlow/symbiflow-arch-defs/pull/938

authors: litghost mkurc-ant


text:
ci/check-status: set-output name=skip

Close #1741
This is a small enhancement to #1719. Currently, if step 'Check status' fails, the CI run is reported as a failure. This PR sets an output variable (skip) instead. That variable is used as the if condition in all the remaining steps. As a result, CI runs will all be green, unless there is some issue with any of the steps after the first one.

@mithro this PR fixes #1741.


text:
[FEATURE]: Session management.

Is your feature request related to a problem? Please describe.
As part of the framework, we have of course the authentication structure, but a good addition would be to offer some kind of session management that isn't directly linked to express, this is so that things like the WebSocket and Discord plugins (alongside the UI) can access it as well.
Describe the solution you'd like
A cookie based session system for HTTP, that additionally can use any unique ID to work, so websockets can use the sec-websocket-key and discord can use the unique IDs.

I won't add this because this kind of logic should be up to the user, we can't cater for every service available, and enforcing plugins to enforce every piece of logic is not sustainable.

repo: Symbux/Turbo


text:
[Statie] Add "init" command

create basic structure
including:

config
layout
homepage template, contact template
single post
gupfile.js
package.json

See @sculpin for inspiration - https://github.com/sculpin/sculpin/pull/395

repo: Symplify/Symplify


text:
Adding Namespace to Document does not add to the document's namespace dictionary

I want to add a Namespace object to an SBOL Document but this namespace variable in the Document class https://github.com/SynBioDex/pySBOL3/blob/3d1ad4a18b44dda3575d2b86ffd01d6455a94040/sbol3/document.py#L29)
doesn't get updated to reflect that this object was added to the document. Instead, I can see that the namespace was added to a list of object. Is this valid? What is the difference in usage between an SBOL Document's list of object vs. the namespace dictionary?
Here is an example code set up to test this behavior:
ns_uri = 'http://foo.com'
document = Document()
namespace1 = Namespace(name=sbol_constants.SBOL3_NS, type_uri=ns_uri)
document.add(namespace1)

actual_namespace1 = document.find(ns_uri)
self.assertEqual(namespace1, actual_namespace1)

added_namespaces = document.namespaces
self.assertDictEqual({sbol_constants.SBOL3_NS: ns_uri}, added_namespaces)

The SBOL 3 Namespace entity is distinct from Document.namespaces. Document.namespaces are for recording the RDF namespaces found in an RDF document. Since this is an internal matter, Document.namespaces should be renamed to Document._namespaces.
SBOL 3 Namespaces should only get recorded in the Document's object list.

authors: tcmitchell tramyn


text:
BetterDiscord Plugin

The BetterDiscord plugin for TimezoneDB
To Do:

[ ] Add a Powercord plugin under platforms/betterdiscord
[ ] Display locations

[ ] Message
[ ] User hover cards
[ ] Autocomplete

[ ] Cache timezone data

Lol dupe of #54

authors: LizAinslie SpicyTakis

repo: SynapseTech/TimezoneDB