Makefile-created dylib not working on macOS

git clone https://github.com/hoelzro/lua-linenoise.git
cd lua-linenoise
make

The .dylib produced by make is complaining about missing symbols.
Question: Why doesn't the Makefile produce a .so file instead?
Using tarantool v1.9.0:
error loading module 'linenoise' from file '/path/to/lua-linenoise/linenoise.dylib':
	dlopen(/path/to/lua-linenoise/linenoise.dylib, 6): Symbol not found: _lua_callk
  Referenced from: /path/to/lua-linenoise/linenoise.dylib
  Expected in: flat namespace
 in /path/to/lua-linenoise/linenoise.dylib

Using lua5.1:
lua5.1: error loading module 'linenoise' from file '/path/to/lua-linenoise/linenoise.dylib':
	dlopen(/path/to/lua-linenoise/linenoise.dylib, 2): Symbol not found: _luaL_setfuncs
  Referenced from: /path/to/lua-linenoise/linenoise.dylib
  Expected in: flat namespace
 in /path/to/lua-linenoise/linenoise.dylib
stack traceback:
	[C]: ?
	[C]: in function 'require'
	test.lua:11: in main chunk
	[C]: ?

Repro:
function add_cpath(cpath)
  package.cpath = cpath .. ';' .. package.cpath
end

add_cpath('/path/to/lua-linenoise/?.dylib')
require('linenoise')

make produces a dylib on macOS, since that's the standard shared library extension there (if I remember correctly? It's been a while since I used macOS on my own hardware!).  As far as the symbol resolution failures, which version(s) of Lua do you have installed, and which version is tarantool using?  make is going to build against whatever version of Lua comes up in your header include path first, so you might need to adjust CFLAGS in the Makefile.

macOS support in the Makefile could be better - I only really use the Makefile for personal debugging.  Any improvements would be appreciated!


Enhance use of random streams in XML parsing

In GeneratorSinkParser a default "generation" stream is used. It is used for: ROUTEMIX, SHORTESTROUTEMIX, IdmPlusFactory, Distribution<LaneBasedTemplateGtuType>, Generator<Duration> headwayGenerator and GeneratorPositions.create(...).
The GTUTEMPLATE tag has a distributed LENGTH, WIDTH and MAXSPEED that are each specified with an optional RANDOMSTREAM tag, defaulting to "default".
The GTUTEMPLATEMIX tag (currently not implemented, see issue #46) has a RANDOMSTREAM tag, defaulting to "generation".
In some places the input StreamInformation is used, in other cases the "generation" stream is directly taken from the simulator.
This all needs to be made consistent, and where needed, RANDOMSTREAM attributes need to be added in the XML specification. That should be part of issue #40.

Random stream are now pointed to by type RandomStreamSource. This contains an option with 3 nodes: Default for the "default" stream, Generation for the "generation" stream, and Defined which has a value that points to a Run.RandomStreams.RandomStream. The value of Defined is checked with an xsd:keyref. This works on type level, which makes all separate checks for RouteMix, GtuTemplateMix etc. redundant.
The parser will parse all streams defined in Run.RandomStreams. If none are named "default", a stream with that id is added. The same holds for "generation".

The Generator tag now has a RandomStream element. The resulting stream is used instead of all hard-coded cases above, except for elements that define their own random stream such as RouteMix. Such elements now use their specified random stream.


Created maven profiles to run in dev/prod environments

The main issue was create maven profiles to run in dev/prod environments (closes #15).
But, I also changed the frontend structure, now using webpack and yarn, solving together another issue (closes #17).
Instructions to development and build to production have been added to README file.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@92047bc). Click here to learn what that means.
The diff coverage is 27.27%.

@@           Coverage Diff            @@
##             master     #24   +/-   ##
========================================
  Coverage          ?   61.4%
  Complexity        ?      76
========================================
  Files             ?      17
  Lines             ?     285
  Branches          ?      21
========================================
  Hits              ?     175
  Misses            ?     101
  Partials          ?       9

Impacted Files
Coverage Δ
Complexity Δ

...java/br/com/cwidevs/config/DefaultProfileUtil.java
0% <0%> (ø)
0 <0> (?)

src/main/java/br/com/cwidevs/domain/Partida.java
57.57% <100%> (ø)
13 <0> (?)

.../main/java/br/com/cwidevs/GoleadorApplication.java
28.57% <30.76%> (ø)
2 <2> (?)

...main/java/br/com/cwidevs/config/WebConfigurer.java
84.21% <50%> (ø)
4 <0> (?)

Continue to review full report at Codecov.

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


python312Packages.tencentcloud-sdk-python: 3.0.1123 -> 3.0.1124

Diff: https://github.com/TencentCloud/tencentcloud-sdk-python/compare/refs/tags/3.0.1123...3.0.1124
Changelog: https://github.com/TencentCloud/tencentcloud-sdk-python/blob/3.0.1124/CHANGELOG.md
Description of changes

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

Result of nixpkgs-review pr 302543 run on x86_64-linux 1

4 packages built:

python311Packages.tencentcloud-sdk-python
python311Packages.tencentcloud-sdk-python.dist
python312Packages.tencentcloud-sdk-python
python312Packages.tencentcloud-sdk-python.dist


Missing DND on new Echo Flex devices

Describe the bug
After adding two new Echo Flex devices to my account, there are no switches created for the devices
To Reproduce
Steps to reproduce the behavior:

Add Echo Flex to amazon account
Restart HA

Expected behavior
Echo Flex added to the device list with typical switches (dnd, shuffle, etc...)
System details

Home-assistant (version): 0.108.5
Hassio (Yes/No): Yes
alexa_media  (version from const.py or HA startup): 2.5.14
alexapy (version from pip show alexapy or HA startup): 1.6.0

Logs
Log Snippit:
Error while setting up alexa_media platform for switch
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 178, in _async_setup_platform
await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
File "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for
return fut.result()
File "/config/custom_components/alexa_media/switch.py", line 117, in async_setup_entry
hass, config_entry.data, async_add_devices, discovery_info=None
File "/config/custom_components/alexa_media/switch.py", line 65, in async_setup_platform
and not account_dict["devices"]["switch"][key].get("dnd")
KeyError: 'CC3A61BEC54A'

Thanks. Go ahead and delete the logs from pastebin. I've downloaded them. Can you please get me the json info from your device page (fix domain) with the Key CC3A61BEC54A?

https://pastebin.com/hrb9yQq6
Posted the logs as guest apparently so I cant delete them, but not too woried about it, think I got all the juicy details out of them. The devices page there should be unlisted and expires

Thanks. The key is for an app. I've posted a potential fix for what your logs reported, but it may not be a complete fix. Can you try it?

@alandtse I have also problems with the dnd switch on echo dots gen2
Logger: homeassistant.components.switch
Source: custom_components/alexa_media/switch.py:65
Integration: Schalter (documentation, issues)
First occurred: 13:12:26 (1 occurrences)
Last logged: 13:12:26

Error while setting up alexa_media platform for switch
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 178, in _async_setup_platform
    await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
  File "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for
    return fut.result()
  File "/config/custom_components/alexa_media/switch.py", line 117, in async_setup_entry
    hass, config_entry.data, async_add_devices, discovery_info=None
  File "/config/custom_components/alexa_media/switch.py", line 65, in async_setup_platform
    and not account_dict["devices"]["switch"][key].get("dnd")
KeyError: 'Alcatrazxxxxxxxxxxxxxx'

I have it installed via HACS, switched to the dev branch and the error persists. Do I need to do a manual install to test the fix?

Disregard my previous comment, pulled the switch.py file out of the pull and dropped it into my install. Seems to be working fine. All the other switches created successfully and no longer getting an error.

I can confirm, this commit is solving the problem.

Thanks for confirming and helping to track down this bug. Fix will be in the next release.


TextureAtlas Mesh2D import fix

Fixes Importing of TextureAtlas in Mesh2D mode, adding settings for the generation of the triangulation which was not optimal, using the same options as used in Sprite2D editor
There is still a problem with gaps in the texture (see #68350) and if I find a way to solve that I will add that here but otherwise I will leave that for someone else I currently cannot see a solution.
Currently not fixing the errors in rasterisation, will investigate further later or let someone else solve that.
Fixes #68350 (partially)

Still seeing some issues so will test further before this is fully resolved

The bug is solved with a grow of 2 for the cases tested on, and the options brings it in line with Sprite2D mesh construction, but I can just use the grow of two across the board if that's better
With that setting the MRP generates no degenerate polygons any longer
There could very well be some inherent bug in the BitMap code but as far as I can tell the current setup solves the bug

Adding a failure condition if there are no polygons generated

Correction, there are still issues when comparing with the original textures

But agreed there's absolutely something odd going on in BitMap, taking a deeper look

I have identified some errors in the marching squares behavior, and I have some ides for solutions, will investigate and open a separate PR for this issue

I have identified some errors in the marching squares behavior, and I have some ides for solutions, will investigate and open a separate PR for this issue

Hi. Is there a separate PR open?

Not yet, I think I'm getting close to a solution though and will see about implementing it soon

Please keep me posted. Thanks : )
Let me know if I can help in any way

PR for bitmap fixes is now up:
#68732

Great! Thank you so much.
So, I should merge this PR and #68732 to test it out?

Go ahead, note that I have yet to solve the gaps problem, will take that on when the BitMap stuff is done

Now that that is merged I'll get back to the triangle drawing soon hopefully

Is there an issue open for the remaining piece of the puzzle? : )

@LakshayaG73 not that I know of, I'm aiming to solve it as part of this PR but I haven't had time to look at it lately or right now, hopefully soon

Added a new triangle raster code, still tweaking with it and will see how it turns out, this method is probably less efficient than the original, but it works (as far as I can tell) with this input, no gaps, will experiment with one closer to the original that works over a smaller area, but I don't think this method is any problem from a performance perspective.

@LakshayaG73 it should work now for the drawing, check if you can see any errors with your work

What valalues should I use here?

I tested this and running into a weird issue.
The frames are showing up properly in the spriteframes inspector, but when I try to play the same animation there are gaps where the sprite dissapears.

What is the purpose of those parameters?
As an end user, I prefer to have a working atlastexture. That's pretty much it. If tweaking that is going to give me a better result, I'd rather just stick to Region2D's instead of Meshes.

For the specific parameters you should just see what works for you, as with anything, the grow mask should be combined with the simplification as the simplification can otherwise clip into the visible area
I thought the issue for you was the loss of the space improvements with the mesh, but what ever works best with your workflow, there's really no difference between doing this and the way it was before other than you now have more control over the way it generates the meshes, it depends on the scale of the mesh and the details of your images. The setting of zero for all parameters results in a mesh that isn't clipped at all, but one that is possibly more complex than needed.
I fail to see your issue here with having to tweak with settings, if the default settings works then use them?

I am grossly unaware of what these settings do. My understanding was that only certain settings will enable me to use Mesh2D's for atlas textures, and if that is the case, finding the right settings will be cumbersome.
I also saw that these options were added to the .import file for all added group files, not sure if that is the plan.
I added new textures, created a new atlastexture, and created a new animation from the same. In the editor itself, you could see a frame erroring out. Let me try this again in a fresh project with your latest changes.

It is not the case that specific settings are required to make it work, that was mentioned as an issue above with the initial solution before the bugs with the polygon generation were fixed!
All settings are added like that, but good that you pointed out, could be looked into separately.
If the error persists please upload a MRP here that has the bug so I can investigate.

Hello! This does seem to fix it for the MRP provided.
If you could update this, I would love to try with the latest master?

It'd be best if you rebased it yourself, haven't worked on this lately and will come back to it when I've solved some other stuff and don't want to needlessly update the CI

If desired I'll remove the parameters again as they originally were added to deal with the bitmap errors, which are (largely) resolved

Now using ceil instead of treating the zero case special, can someone take a look at that, makes more sense to me than either truncation (which happens here) or rounding

Can split off the new settings to a separate PR if desired

Removed the new options and will possibly add them in a feature improvement PR, but keeping it simple for now

No worries! Been in my backlog and happy to see it merged!

Thanks!

Thank you!


New version: h3poteto.fedistar version 1.9.13

Pull request has been created with WinGet Updater :rocket:
Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

Installation failed with exit code -1978335187
2024-11-21 08:46:15.399 [FAIL] Installer failed security check. Url: https://github.com/h3poteto/fedistar/releases/download/v1.9.13/fedistar_1.9.13_x64_en-US.msi Result: 0x80004005

Automated error analysis suggests -1978335187 may mean Installer failed security check. Another script should retry this every 18 hours.
Automated error analysis suggests 80004005 may mean Resource missing
(Automated response - build 899.)

@wingetbot run


gitea startup is broken

Describe the bug
gitea fails to start due to a too restrictive systemd setup
To Reproduce
nix-build nixos/tests/gitea.nix
Looks like #63840 is a bit too restrictive. :smile:

ping @kolaente

Removing the blacklist of @chown and @privileged gets us past the test, I think, but there's still problems with the socket.

Judging from this error output:
machine # [   19.150491] rfjnab4ywjlc4qd507xq8dky534bxidn-unit-script-gitea-pre-start[925]: /nix/store/rfjnab4ywjlc4qd507xq8dky534bxidn-unit-script-gitea-pre-start: line 22:   935 Bad system call         (core dumped) sed -e "s,#secretkey#,$KEY,g" -e "s,#dbpass#,$DBPASS,g" -e "s,#jwtsecet#,$JWTSECET,g" -e "s,#mailerpass#,$MAILERPASSWORD,g" -i /var/lib/gitea/custom/conf/app.ini

it looks like it fails in prescript during sed in https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/misc/gitea.nix#L365
Interestingly enough, there is a chmod right underneath that, in https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/misc/gitea.nix#L370 which does not seem to be the issue.
This does not look like an issue with Gitea itself, since it fails during the service pre script.
Since the sed and chmod will only be run if the configuration is managed by nix, the tests pass if I set services.gitea.useWizard = true; in the test config.

Any chance the dump service is broken too? I recently updated and dump service failed to start. I haven't dug into it yet... I may have seen something about a database permission issue.

Temporary fix for someone who using bleeding-edge Gitea:
systemd.services.gitea.serviceConfig.SystemCallFilter =
  lib.mkForce "~@clock @cpu-emulation @debug @keyring @memlock @module @mount @obsolete @raw-io @reboot @resources @setuid @swap";

Temporary fix for someone who using bleeding-edge Gitea:
systemd.services.gitea.serviceConfig.SystemCallFilter =
  lib.mkForce "~@clock @cpu-emulation @debug @keyring @memlock @module @mount @obsolete @raw-io @reboot @resources @setuid @swap";

This doesn't solve the issue for me. I get the following output:
Dec 04 19:02:40 schinken systemd[1]: Starting gitea...
Dec 04 19:02:40 schinken systemd[28749]: gitea.service: Failed to apply ambient capabilities (before UID change): Operation not permitted
Dec 04 19:02:40 schinken systemd[28749]: gitea.service: Failed at step CAPABILITIES spawning /nix/store/330jkvmavmdldv4mjab2ms6bs4370p61-unit-script-gitea-pre-start: Operation not permitted
Dec 04 19:02:40 schinken systemd[1]: gitea.service: Control process exited, code=exited, status=218/CAPABILITIES
Dec 04 19:02:40 schinken systemd[1]: gitea.service: Failed with result 'exit-code'.
Dec 04 19:02:40 schinken systemd[1]: Failed to start gitea.

Pretty strange. It works for me (complete configuration).
You can try to disable it at all (lib.mkForce "";) and if it'll still not work then just change in the same way all other parameters to default values that were introduced in d0261f6036751a5daecc903569875c9c7a9eb259.
p.s. probably there's must be something like a mkForceRemove, but I haven't found anything in manual.

Ok the fix is actually working, I just had an own AmbientCapabilities definition in my configuration which didn't play nicely with the new options.


Unable to have a float/decimal value in Cart item price

The CartItemInterface.php uses int data type for price value:
public function getPrice(): int;
I believe that more correct would be to have this value float/double to support decimal values in prices. In version <1.4 it was originally untyped function, so it was no problem.
I propose changing the signature to float.

Yes, I agree with this.
It is not clear why getPrice() must return an integer.
How is it supposed to work with an item that costs 0.5€ or 0.25$ ?

Yes, I agree with this.
It is not clear why getPrice() must return an integer.
How is it supposed to work with an item that costs 0.5€ or 0.25$ ?


temporary offset (local macimum) mis-identification

hey! thanks for developing this fantastic tool! I've been using it with great results and included it in a number of pipelines, with plans to include it the the nf-core/riboseq pipeline as a P-site identification+diagnostics option. While working with some test data (smaller size than any typical ribo-seq dataset), I noticed in cases where there are missing read extremities at certain positions relative to the start codon, results in mis-identifying what should be the correct temporary offset. E.g. visually the temporary offset clearly should be at the -12 position as seen in the offset plot below (also cross-validated by other tools such as ribotish), but is assigned by the psite function as -17.
28.pdf
I have tracked the issue and identified the issue originates in the tempoff function, which introduces NAs if there are no read ends at the adjacent position, here -13 and -11 for the offset of -12 which is the most frequent in the data, causing the -12 to be dropped an no longer a valid offset option.
This occurs with both versions 1.2.0 and 2.0. I am attaching the files needed to reproduce the issue.
test_data.zip
I will shortly follow with a PR with a proposed solution, if you would like to review it and make adjustments as needed.
I appreciate this might not be an issue with most full-sized datasets, but it would be good to solve this and make a patch release here and on bioconda, as this is required for using it as part of reproducible workflows - the community would benefit greatly from it :)

oh, actually I do not have access to contribute, so here's a proposed fix - to be used inside of the psite function:
tempoff <- function(v_dist){

  ttable <- sort(table(v_dist), decreasing = T)

  # Create right-shifted table with zero filling for non-existing positions
  right_indices <- as.character(as.numeric(names(ttable)) + 1)
  ttable_sr <- ttable[right_indices]
  ttable_sr[is.na(ttable_sr)] <- 0  # Replace NA with 0

  # Create left-shifted table with zero filling for non-existing positions
  left_indices <- as.character(as.numeric(names(ttable)) - 1)
  ttable_sl <- ttable[left_indices]
  ttable_sl[is.na(ttable_sl)] <- 0  # Replace NA with 0
  tsel <- rowSums(cbind(ttable > ttable_sr, ttable > ttable_sl), na.rm = T)

  return(as.numeric(names(tsel[tsel == 2][1])))
  }

thank you very much Fabio! That's really good to know.
Cheers,
Ira


Fix typo (localshot => localhost)

Provide a description of what has been changed
Fix typo (localhost => localhost)
Checklist

[x] I have verified that my change is according to the deprecations & breaking changes policy
[x] Commits are signed with Developer Certificate of Origin (DCO - learn more)

Fixes #

Relates to #

Thanks!

/skip-e2e


TypeError: can only concatenate str (not "list") to str

Noticed this issue in 0.0.2 & 0.0.3. We are using modules to load FIRE on our HPC cluster.
config.yaml is using local paths
fire --configfile config.yaml -c4 --verbose
The error
Using profile /net/module/sw/FIRE/0.0.3/FIRE-0.0.3/workflow/profiles/default and workflow specific profile /net/module/sw/FIRE/0.0.3/FIRE-0.0.3/workflow/profiles/default for setting default command line arguments.
Full Traceback (most recent call last):
  File "/net/module/sw/FIRE/0.0.2/lib/python3.11/site-packages/snakemake/__init__.py", line 671, in snakemake
    workflow.include(
  File "/net/module/sw/FIRE/0.0.2/lib/python3.11/site-packages/snakemake/workflow.py", line 1389, in include
    exec(compile(code, snakefile.get_path_or_uri(), "exec"), self.globals)
  File "/net/module/sw/FIRE/0.0.3/FIRE-0.0.3/workflow/Snakefile", line 25, in <module>
    excludes += [workflow.source_path(file) for file in files]
TypeError: can only concatenate str (not "list") to str

TypeError in file /net/module/sw/FIRE/0.0.3/FIRE-0.0.3/workflow/Snakefile, line 25:
can only concatenate str (not "list") to str
  File "/net/module/sw/FIRE/0.0.3/FIRE-0.0.3/workflow/Snakefile", line 25, in <module>

Our workaround to get past this error.
if not isinstance(excludes, list):
    excludes = [excludes]
excludes += [workflow.source_path(file) for file in files]

Can you share your config? We have not been seeing this.

Sure, we are using the config.yaml example found here - https://s3-us-west-2.amazonaws.com/stergachis-public1/index.html?prefix=Projects/Phased-GM12878/fire-test/
xxxxx/removed]$ cat config.yaml
ref: test/chr20.fa
ref_name: hg38
n_chunks: 20 # split bam file across x chunks
max_t: 4 # use X threaeds per chunk
manifest: test/config.tbl # table with samples to process
model: test/model.dat

# Force a read coverage instead of calulating it genome wide from the bam file.
# This can be useful if only a subset of the genome has reads.
# force_coverage: 30
# keep_chromosomes: chr20

#
# only used in model training
#
# regions of suspected regulatory elements, can be anything if not traing a model
dhs: None
# regions to not use when identifying null regions that should not have RE
excludes: None
  #- config/annotations/hg38.blacklist.ENCFF356LFX.bed.gz
  #- config/annotations/hg38.gap.bed
  #- config/annotations/SDs.merged.hg38.bed

We are using a test.sh script which is loaded with our module for users to run against the test data.
mkdir -p $HOME/FIRE/test
wget "https://s3-us-west-2.amazonaws.com/stergachis-public1/Projects/Phased-GM12878/fire-test/config.yaml" -P $HOME/FIRE/
wget "https://s3-us-west-2.amazonaws.com/stergachis-public1/Projects/Phased-GM12878/fire-test/chr20.fa" -P $HOME/FIRE/test/
wget "https://s3-us-west-2.amazonaws.com/stergachis-public1/Projects/Phased-GM12878/fire-test/chr20.fa.fai" -P $HOME/FIRE/test/
wget "https://s3-us-west-2.amazonaws.com/stergachis-public1/Projects/Phased-GM12878/fire-test/chr20.hifi.bam" -P $HOME/FIRE/test/
wget "https://s3-us-west-2.amazonaws.com/stergachis-public1/Projects/Phased-GM12878/fire-test/bam.bai" -P $HOME/FIRE/test/
wget "https://s3-us-west-2.amazonaws.com/stergachis-public1/Projects/Phased-GM12878/fire-test/config.tbl" -P $HOME/FIRE/test/
wget "https://s3-us-west-2.amazonaws.com/stergachis-public1/Projects/Phased-GM12878/fire-test/model.dat" -P $HOME/FIRE/test/
wget "https://s3-us-west-2.amazonaws.com/stergachis-public1/Projects/Phased-GM12878/fire-test/test.sh" -P $HOME/FIRE/test/

I saw the same issue on my local cluster.
I was able to get snakemake to run if you remove or comment out the excludes: None line in the example config file.

The test case config file has been fixed in #14 v0.0.4 so this shouldn't be an issue.


Set USE_LIBSGX to ON by default, instead of OFF

Now that we will correctly error at configuration time if the libraries
are not found, it is safe to default this to ON instead of OFF, and this
is much more user friendly given the availability of ACC.

This should go in after #1276, and it will resolve #1076.

bors r+

bors r+
(I knew that CI configuration was handy!)

@johnkord Is this test flaky?

99% tests passed, 1 tests failed out of 157

bors r+

Andy: After enclave abort, there are no guarantees that memory will be freed completely. So, with terminate_enclave done after enclave abort, we should expect OK or OE_MEMORY_LEAK. But we were only checking for one or the other based on the build type. My PR #1289  in flight just fixed this code. I am surprised that we didn't see these failures before.

Thank you so much @anitagov! I'll rebase onto your branch and test this out.


Update root-level README.md to adjust instructions to become partner.

The instructions:
Adding to the Partners page
If you are a partner, you are welcome to add your logo/link to our partners page. Please copy and edit the [sample file](https://github.com/opensearch-project/project-website/blob/main/_partners/_sample.md), and submit a pull request.

Should probably be adjusted a bit to also link to the github issue template for this process as well.

Catch All Triage - 1, 2, 3


ERR: Inconsistent read length while mapping

Hello
I am trying to map paired-end samples using mrsFAST and I am encountering the below error (ERR: Inconsistent read length). Any idea on how to resolve this?
[@fn-0001 mrsfast-3.4.0]$ ./mrsfast --search /gpfs/data/lab/raa04/conifer/hg19.fa --seq1 /gpfs/data/lab/raa04/conifer/AMV1_R1.fastq --seq2 /gpfs/data/lab/raa04/conifer/AMV1_R2.fastq --pe -o output.sam -e 2 --crop 36
==> This version is compiled without any SSE4 optimization <==
Threads: 1
| Genome Name | Loading Time | Mapping Time | Memory Usage(M) | Total Mappings Mapped reads |
ERR: Inconsistent read length for @NB501457:38:HWNTKBGXY:1:11101:16080:1853

Hi,
I believe you still have reads that are shorter than 36bp. Most likely that is the reason you are getting incosistent read length error.
You can use this command to look at the distrubution of your read length:
cat /gpfs/data/lab/raa04/conifer/AMV1_R1.fastq | awk '{getline; print length($0); getline;getline}' | sort -u
cat /gpfs/data/lab/raa04/conifer/AMV1_R2.fastq | awk '{getline; print length($0); getline;getline}' | sort -u


Implement GET DIRECT CONSTANTS

GET DIRECT CONSTANTS reads constants from an Excel or CSV file. It is similar to GET DIRECT DATA, except that it does not result in a time series. Implement it for CSV files to meet immediate needs.

Emit constants in the init section for each cell in the CSV data. Numeric subscripts are calculated in normal order, with corresponding row, column offsets from the start cell in the data table.


Suggestion: Toggle chat hotkey disable while typing

Could it be possible to add a feature which would disable the hotkey when the chat field/any search interface is up/active? With a 60% keyboard I find it near impossible to bind to a key which isn't on the other side of the keyboard or does not have already really important use. I have it currently bind to Q hence I can't type Q in game.

This would be a feature you would be able to disable too as not everyone is playing with key remapping and has to press enter before being able to chat.


Private list members

Does API.get_list_members() support private lists? (It's not mentioned in docs.)
I can only get members of public lists using the code below
Private lists return 34 - Sorry, that page does not exist.
All lists I tested are mine, btw.
auth = tweepy.OAuth2BearerHandler(BEARER_TOKEN)
api = tweepy.API(auth)

members = api.get_list_members(list_id=list_id)

Using tweepy.OAuth1UserHandler to authenticate as a developer account fixed that.

Using tweepy.OAuth1UserHandler to authenticate as a developer account fixed that.

Yes, you do need to use OAuth 1.0a User Context (with OAuth1UserHandler) and authenticate as a user that has access to the lists in question, as OAuth 2.0 Bearer Token is an app-only authentication method.


Fixed useSetState definition

Correct the definition that the setState updater function must to have the prevState parameter.

duplicate #323


Use System.Linq.Expressions.ExpressionVisitor where available

Addresses #122. This also adds support for e.g. Block and Throw expressions, where they are available, making this PR supersede #178.
I tried to build upon the 'expression-visitor'-branch, but found that the visitor-method VisitMemberAccess needs to be renamed to VisitMember to be able to get a working library. I wish they had chosen VisitMemberAccess, as it better communicates what happens, but they didn't.

On first glance this seems to play nice regarding #116 and #118, too. The shipped ExpressionVisitor's VisitExtension looks like this:
protected internal virtual Expression VisitExtension(Expression node) => node.VisitChildren(this);

with e.g. QueryRootExpression just returning this, when receiving this call, but giving the extension-expression the opportunity to interact nicely with the visitor.

@StefH Why was this approved?
Using the built-in ExpressionVisitor causes calling ReduceAndCheck() inside Expand() which leads to several kind of errors.
Other thing is that the major/minor version of LinqKit.Core should have been increased because the referring packages are broken if they don't use the appropriate version (LinqKit.Microsoft.EntityFrameworkCore 7.1.4 is not compatible with LinqKit.Core 1.2.3).
Please revert this change while you don't the impacts exactly!
One of the errors is:
System.ArgumentException
cannot assign from the reduced node type to the original node type
at System.Linq.Expressions.Expression.ReduceAndCheck()
at System.Linq.Expressions.Expression.VisitChildren(ExpressionVisitor visitor)
at LinqKit.ExpressionReplacer.Visit(Expression exp)
at LinqKit.ExpressionExpander.VisitMethodCall(MethodCallExpression m)
at LinqKit.ExpressionExpander.VisitMethodCall(MethodCallExpression m)
at System.Linq.Expressions.ExpressionVisitor.VisitLambda[T](Expression1 node) at LinqKit.ExtensionsCore.Expand[TDelegate](Expression1 expr)

This is a breaking change for custom expressions

@doboczyakos this was merged more than a year ago, there are quite some tests and I used the library during the full time. While it certainly changes things, I would hope, that it is rather for the better (e.g. support for all bundled expression-types).
Can you provide a minimal example, that showcases the problem you encountered? Maybe we can make a new issue of that and find a solution, that works for you, too.

@doboczyakos this was merged more than a year ago, there are quite some tests and I used the library during the full time. While it certainly changes things, I would hope, that it is rather for the better (e.g. support for all bundled expression-types).
Can you provide a minimal example, that showcases the problem you encountered? Maybe we can make a new issue of that and find a solution, that works for you, too.

Dear @TheConstructor ,
I deleted my comment when I found the root cause and a solution, which was the following:
Changing the ExpressionVisitor caused the change of VisitExtension from
protected virtual Expression VisitExtension(Expression extensionExpression)
{
return extensionExpression;
}
to
protected internal virtual Expression VisitChildren(ExpressionVisitor visitor)
{
if (!CanReduce) throw Error.MustBeReducible();
return visitor.Visit(ReduceAndCheck());
}
When I call Expand() it causes the calling of ReduceAndCheck() which is a breaking change and leads to exception in some cases.
I have some tricky custom Expression types. I solved the issue by overriding Accept() in my expression type the following way:
protected override Expression Accept(ExpressionVisitor visitor) => this;

Hey @doboczyakos,
Glad to hear, that you found a way to make it work for you again. I did check how ExpressionVisitor changes and pointed it out in https://github.com/scottksmith95/LINQKit/pull/182#issuecomment-1445400032 ; I also checked all the Extension-Expressions I found in EF Core, but I may have missed the cited default-Implementation in Expression. If you write your own extensions, you likely need to override it now. Sorry.
Given that the release is "out there", it may be difficult to change it's version in retrospective, but If you could provide a unit-test, we could be able to prevent similar breaking changes in the future.


implemented test case 32, 33, 34

JIRA issue raised https://applab.atlassian.net/browse/NMS-187

Can one of the admins verify this patch?

please merge

Tracked with branch NMS.FT.KILKARICONTROLLERIT.
So closing this request.


Fix get_node() and $ autocompletion when using single quotes

This fixes autocompletion when using single quotes as discussed in issue #9056.
Additionally, this adds the following new utility methods to ustring:
bool String::is_enclosed_in(string)
Returns whether the string starts and ends with the given string
bool String::is_quoted()
Returns whether the string is enclosed in either single or double quotes
String String::quote(String quotechar)
Returns the String enclosed by the given string, double quotes by default
String String::unquote()
Removes single or double quotes if the String is enclosed by them
No idea how to expose those to GDScript, though, any pointers?
They clean up the code in some places for the engine source though :)
Fixes  #9056.

Demo:

I personally would split it in two commits - one where the is_quoted method gets added and one where you make use of that method throughout the codebase. But that's just git-nitpicking. Rest looks fine!

@karoffel: Sure, I can do that. Is there anything on how to expose is_quoted to GDScript?

@karroffel : Sure, I can do that. Is there anything on how to expose is_quoted to GDScript?
As far as I can see, other string methods seem to appear in core/variant_call.cpp, modules/gdnative/gdnative/string.cpp, modules/gdnative/include/gdnative/string.h, modules/gdnative/gdnative_api.json and in various modules/mono/ files. Is this autogenerated, especially the JSON?

@akien-mga Fixed terrible not-snake-caseyness ;-)

NB: It was decided to leave it as it is and not to expose those new String methods to GDScript/Mono.


feat: showcase page

:tada: This PR is included in version 0.82.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


CASE generates a report to all EP0 subscribers

Problem
Session establishment is causing reports on other subscribers' subscription. This should not have side effects.
Notably this means that the first report after running any 'chip-tool' command is a spurious report regarding the fabric list, and the real side effect is delayed by min report interval.
Cause seems to be
    void OnFabricRetrievedFromStorage(FabricInfo * fabric) override
    {
        emberAfPrintln(EMBER_AF_PRINT_DEBUG,
                       "OpCreds: Fabric 0x%" PRIu8 " was retrieved from storage. FabricId 0x" ChipLogFormatX64
                       ", NodeId 0x" ChipLogFormatX64 ", VendorId 0x%04" PRIX16,
                       fabric->GetFabricIndex(), ChipLogValueX64(fabric->GetFabricId()),
                       ChipLogValueX64(fabric->GetPeerId().GetNodeId()), fabric->GetVendorId());
        fabricListChanged();
    }

When the list didn't change, it was only loaded.

Fixed first by #16098 making us not call OnFabricRetrievedFromStorage for a fabric that was already in memory and not really being loaded from storage and second by #16587 removing the LoadFromStorage calls on random reads, instead doing all the loads at init time.


Prepended text

I added support for prepended text fields.  I wasn't very familiar with the codebase, so please let me know if you'd like me to implement it differently.  I thought the best place to insert the prepended text element would be FormtasticBootstrap::Inputs::Base::Wrapping#generic_input_wrapping.
I also updated the readme with some usage instructions (I made a new section for it, feel free to let me know if you'd like that moved).
Jim

@jimryan Howdy Jim.  Sorry I haven't gotten to this yet.  I've just started a new job and I'm a little busy at the moment.  I'll get to this in the next several days.

No worries, whenever you have a chance.  Good luck with the new job!

Thanks for the contribution!


Expose skate as base ES6 Class

It would be nice to have skate functionality as ES6 abstract class (component) from which components could be created as ES6 classes.

This is actually in mater :). I plan on landing a 0.14 in the next week or so.

Also, if what you see in the tests is different from what you're describing, please feel free to document that here. Otherwise, let me know if that solves your issue.

Also, see #162.

Documented. Closing for now. If this requires more attention please feel free to reopen.


Unity CLI Wrapper

Create launcher that pipes log to console, otherwise it won't show in CI if use long normal execution

Landed a while back: https://github.com/dotBunny/K9/blob/main/Projects/K9.Unity/Verbs/Wrapper.cs


feature: Support prefix to git tag

Feature Request
Add support for prefix to version tag like --prefix-tag v -> git tag v1.0.0
This would help in CI automation on version tags.
Example GitHub action for releases.
on:
  push:
    # Sequence of patterns matched against refs/tags
    tags:
      - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10

Thanks for the reports, I just saw these and will take a look at fixing them soon.

Yes I've been using the release-drafter action to create Draft Releases with new versions. That can configure your versions.

But technically this is a legit feature request, semantic versions support being prefixed with v specifically. I think having that in the settings file as an option would make sense.


DBZ-5648 Use a combined REGEXP_LIKE predicate for schema/table filters

https://issues.redhat.com/browse/DBZ-5648

@Naros What tests do you intend to add?

Hi @jpechane so I had a user apply this locally and this didn't have the impact we thought.  I'm going to move this back to draft for now until we can determine the root-cause.  But the label was to verify against internal CI tests.

@Naros I see, sorry for the confusion. IMHO we roginally use dthis label (as pending docs) to denote that tests are missing. IMHO we should make this consistent and for testing there should be two labels - for missing tests and tests needed to be executed.

That's fair @jpechane, I'll avoid using this specific label for that going forward.  In either case, this PR isn't necessary and instead we've identified that we need to eliminate the use of REGEXP_LIKE entirely.  This seems to perform extremely poorly on a hiigh volume Oracle database and we need to consider an alternative instead.

Closed as per above.


brings back the old ImportValueFrame logic

Instead of trying to use the same code for importing bits and values, this
brings back the old value importing code. This fixes a bug where the import
manager logic was using the value instead of the column when trying to calculate
the slice for value imports

Coverage remained the same at 100.0% when pulling 851a456bf031c26ca0051976a283bef10555cc87 on jaffee:revert-importvalue into 487f0bd78a8e2fe4df53a6ddf9d692beaba32a11 on pilosa:master.

Is there any value in going the route I suggested here: https://github.com/pilosa/go-pilosa/pull/129#discussion_r186471576
I'll keep reviewing this, but it seems like getting rid of the index logic altogether would be better.

I agree - I think more refactoring is needed, but wanted to get a fix out. I have tested this with pdk gen and got correct results (and didn't see the wild snapshotting behavior in Pilosa).


Removed Circular Reference in Org and Geo Units

Remove the concept of a Parent to Geo and Org for now as we workout the correct longer term structures for this. Keeping the original breaking change.

@kstreeter  - This is the fix for the circular ref that allows us to decide the right implementation later with a reduced change of a breaking change.


30P M40 HEDP High Explosive Packet (x3 grenades)

Done in https://github.com/CM-14/CM-14/commit/0a9d363c531ac2185e7fd030fe1f04cd7cf091f4


Ability to mint mp4

It seems that this dapp does not allow for minting of mp4.  My collection includes sound.   Would like to request having mp4 supported.   Any thoughts on where to find a coder to hire?  Would like to be able to contribute this feature to the dapp.

A question for you @scottbonge. Where are your files hosted? Are they on ipfs?

Yes, they are on Pinata premium account.
On Thu, Nov 25, 2021, 5:13 PM tdev00 @.***> wrote:

A question for you @scottbonge https://github.com/scottbonge. Where are
your files hosted? Are they on ipfs?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/HashLips/hashlips_nft_minting_dapp/issues/26#issuecomment-979489590,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIE5MO4AMOGMLEREKHAIM5DUN2YG3ANCNFSM5IZLYNDA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

When you mint, where are those mp4's being viewed? On your website/DApp or a NFT marketplace?

Yeah im definitely in need of some help with this


Merge front_responsive to master

Pull Request Description
What does this PR do?
This pull request addresses the responsiveness of the frontend and refactors the FormLab component to use react-hook-form for better form management. It includes the following changes:

Disables animations on the News component for mobile devices.
Adds media queries for devices with a screen width of 800px or less, optimizing the layout for smaller screens.
Transforms the navbar into a mobile-friendly menu using the isMobile flag to provide different layouts for mobile and desktop views.
Rewrites the FormLab component to use react-hook-form for handling form data and integrates zod for form validation.

Changes Made:

Animations in News Component:

Introduced a flag (isMobile) to disable framer-motion animations on mobile devices, improving the user experience on smaller screens.

Mobile Responsiveness:

Added media queries targeting screens 800px and below.
Adjusted the layout by switching from flex to column for most elements and setting component widths to 100vw.

Navbar Refactor:

Used the isMobile flag to provide a responsive menu, replacing the traditional navbar with a collapsible menu on mobile devices.

FormLab Refactor:

Replaced the form state management with react-hook-form's register method.
Integrated zod for schema-based validation, ensuring consistent validation and error handling.

Related Issues:

Link to related issue #7

Great job, Mat! I only have a few comments

Thanks for your feedback, I made the suggested changes in the last commit 0aa27ba.

It's amazing! Good Job!

added endline and changed path on 27635ab.


added solution to search insert position in python

Added solution to search insert position in Python
Added Python script to print all substrings from a string


activeSlideAlignment not updated immediately ?

Is this a bug report, a feature request, or a question?
question
so, i have a case where i need to dynamically change activeSlideAlignment for the carousel, while it work, but the carousel didn't actively recognized the changed activeSlideAlignment on the fly, it need to finish the previous activeSlideAlignment first, then move immediately to the changed activeSlideAlignment, for example, it goes to "start" first, then immediately blink to the changed activeSlideAlignment "end"
the transition feels jaring and jerky, is this intended behaviour, or is there something i need to do to make it smooth ?, for context, i change the activeSlideAlignment based on index, thus i also use onBeforeSnapToItem to check the index, setState, then check the state index, then change the activeSlideAlignment on props
code example
 <Carousel                 ref={(c) => { this._carousel = c; }}                 data={this.props.data}                 renderItem={this.smallCardView}                 sliderWidth={sliderWidth }                 itemWidth={itemWidth}                 enableSnap={true}                 inactiveSlideOpacity={1}                 inactiveSlideScale={0.95}                 onBeforeSnapToItem={(index) => this.setState({ index: index })}                 activeSlideAlignment={this.props.data.length > 1 ? (this.state.index=== 1 ? 'center' : 'start') : 'center'}               />

@Solid-Metal Sorry, please allow me to advertise for my open source library! ~
I think this library react-native-reanimated-carousel will solve your problem. It is a high performance and very simple component, complete with React-Native reanimated 2


This Old House: Index Error: list index out of range

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like this: [x])
Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.04.16. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2018.04.16

Before submitting an issue make sure you have:

[x] At least skimmed through the README, most notably the FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones
[x] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.thisoldhouse.com/watch/ask-toh-pass-through-new-gate']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2018.04.16
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.16299
[debug] exe versions: none
[debug] Proxy map: {}
[ThisOldHouse] ask-toh-pass-through-new-gate: Downloading webpage
Traceback (most recent call last):
  File "__main__.py", line 19, in <module>
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp9r95p1_v\build\youtube_dl\__init__.py", line 471, in main
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp9r95p1_v\build\youtube_dl\__init__.py", line 461, in _real_main
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp9r95p1_v\build\youtube_dl\YoutubeDL.py", line 1993, in download
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp9r95p1_v\build\youtube_dl\YoutubeDL.py", line 789, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp9r95p1_v\build\youtube_dl\extractor\common.py", line 440, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp9r95p1_v\build\youtube_dl\extractor\thisoldhouse.py", line 43, in _real_extract
IndexError: list index out of range

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

https://www.thisoldhouse.com/watch/ask-toh-pass-through-new-gate
https://www.thisoldhouse.com/watch/ask-toh-citrus-greening-tile
https://www.thisoldhouse.com/watch/ask-toh-front-door-faucet-fix
https://www.thisoldhouse.com/watch/veterans-special-house-project-veterans-special-house-project
https://www.thisoldhouse.com/watch/veterans-special-house-project-adaptation-accessibility

Description of your issue, suggested solution and other information
Seasons 1-13 of Ask This Old House and seasons 1-36 of This Old House will not download.  I get an "IndexError" as listed above.  I have an account login for www.thisoldhouse.com that I can provide if needed.  Please feel free to contact me at<EMAIL_ADDRESS>

You did not pass credentials to youtube-dl.

My username is<EMAIL_ADDRESS>Password is macworld

-----Original Message-----
From: "Sergey M."<EMAIL_ADDRESS>Date: 04/20/2018 12:28 PM
To: "rg3/youtube-dl"<EMAIL_ADDRESS>CC: "ianh01"<EMAIL_ADDRESS>"Author"<EMAIL_ADDRESS>Subject: Re: [rg3/youtube-dl] This Old House: Index Error: list index out of range (#16228)
You did not pass credentials to youtube-dl.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Username is<EMAIL_ADDRESS>Password is Hj7@wt6*s

Username is<EMAIL_ADDRESS>Password is Hj7@wt6*s

-----Original Message-----
From: "Sergey M."<EMAIL_ADDRESS>Date: 04/20/2018 12:28 PM
To: "rg3/youtube-dl"<EMAIL_ADDRESS>CC: "ianh01"<EMAIL_ADDRESS>"Author"<EMAIL_ADDRESS>Subject: Re: [rg3/youtube-dl] This Old House: Index Error: list index out of range (#16228)
You did not pass credentials to youtube-dl.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


17977 birthdate datepicker

*Issue:*https://github.com/bcgov/entity/issues/17977

/gcbrun

/gcbrun


Use Gateway design pattern to encapsulate database queries

Class to get all fields and methods like findById, ...
find (id) : RecordSet
findWithLastName(String) : RecordSet
update (id, lastname, firstname, numberOfDependents)
insert (lastname, firstname, numberOfDependents)
delete (id)

Add wrapper around the database module, so that the forms themselves do only use the objects e.g. supplier, invoice, delivery note ...
These classes contain the logic to select, update, insert or delete entries.
The classes handle the SQL queries (prepared statements) and additional permission handling.

Permission layer / component:
Idea is to create a component or layer that handles all permissions. So a central configuration for permissions is required.
This component could be made configurable via a form, so every admin can configure permissions as required.
This component has to contain a list of areas (invoice, delivery note, ...) with a set of operations (add, edit, delete, view, ...) for each permission group (admin, maintainer, auditor, ...).
Idea:

Form to create groups and manage the users in that group.
In the permission configurator each group gets areas with permissions assigned.
A user can be in multiple groups.
The default for a new group is the denial of all areas. If the requirement is that every user can see the delivery notes, a default group with that permission needs to be created and every user added to it.

Directory structure:
modules/
   dataObjects/
      deliveryNote.php
      supplier.php
      product.php
      ...

Abstract class / interface DataObject
All classes are inherited from this. -> The RecordSet (Array) can contain this objects and can be used for all of them.

In V2 all models encapsulate the SQL


Add additional plants to read status data

Hi PCL,
thanks for your work, great adapter!
I added the adapter to iobroker and I'm getting all needed values from plant data. But not the status data for my inverter.
Is it possible to add additional inverters for status data?
we have a Growatt 1500-S inverter (Mode: A0B0D1ToPFU1MAS1, Build: G.1.8, Version: ggaa0404) with data logger ShineWIFI-S (Firmware: <IP_ADDRESS>).
Goal is to use the data for our Grafana Dashboard.
Very apreciate your help.
Cheers
yunagear

I only have one inverter with a memory and I therefore need your help.
The entire module is a hack
Please log in to the https://server.growatt.com/ page
It's best to use chrome, press "F12" on the keyboard
Goto Network and press "F5"
Now you can filter on get
Please search for the get command that contains the data you are missing

I need the method and the url

Then I can try to extend the API

Thank's for reply.
That's interesting as I have no "getMIXStatusData".
Instead I've found "getInvDayChart"

Seems that it's a predefined counter (0-287) for the values, so updated aprox 12 mins.
Not easy to parse:(
And sorry wanted to say ...PLC not PCL of course:)

If there is no "getINVStatusData", it is not that easy to get the current value.
If I would just take the last value that is not zero, it can happen that the value remains.
If I look for the value based on the time, the next one whines with a time lag.
I'll check. I think the best is the last value that is not zero and calculate the time.

You can find the current grid feed under "deviceData" "pac".
A few w are missing here because the power loss of the inverter has been subtracted here.

Very cool!
Thank's for support. It's also ok for us to have fixed time values for update (eg. every 30 mins).
Hope it's not to much work, if so let me know plz.
As this is one of our first plants in Croatia you can have acces if needed of course (it's running since 2 weeks).

I have added a get..ChartLast for the last diagram value in the API for Inv / MIX / TLX, all others have the current status.
Since I somehow can't get into the publish from ioBroker, I didn't want to adapt the adapter now.
But you can test it by updating the API 0.0.3 ist named "growatt" by npm.
I would appreciate your feedback.

If you modify the options in the API you can also get a string or array with all values.
I will do this later in the ioBroker using checkboxes

sorry not so familliar with npm is npm -g update growatt enough?
cause i see no additional values in iobroker after reloading the adapter.

I have no idea either. The adapter is inside. I'll publish it when I have time

done

cool now it worked:) currently pac value is 0 ...but i have to check it tomorrow, as the growatt value is also filled with 'null' atm. let you know asap!

Top! thx a lot man:)!!

@yunagear
Would be nice if you could test the adapter so that I can get into the stable (default) with 0.0.12.
I need your comment for 0.0.12 here:
https://forum.iobroker.net/topic/36474/test-adapter-growatt-v0-0-12

@yunagear
@kopierschnitte
I found a way to set the data logger interval from 5 minutes to 1 minute.
Maybe this is something for you too.
Remove the rubber plug of the KEY button from ShineWiFi-S, and short press the button inside. The blue LED
will light up. Use your phone or computer to connect to the wireless network emitted by the
ShineWiFi-S module. The network name/SSID is the serial number of the ShineWiFi-S
module.
Login Page
After the connection is successfully established, open the web browser on your phone or
computer and type <IP_ADDRESS> in the address bar. The username is admin, the
default password is 12345678.

Advanced Settings
Change the data interval time to 1 minute

System Restart
Restart your ShineWiFi-S module on this page, click “Restart Immediate” to
enable the new settings you just made and logout from the internal webserver of your
ShineWiFi module.

On the left the data from yesterday is still every 5 minutes and on the right from today is every 1 minute

Unfortunately the chart seems to work every 5 minutes. Maybe you can check that out. Then we would have to find a solution.

@yunagear
@kopierschnitte
I found a way to set the data logger interval from 5 minutes to 1 minute.
Maybe this is something for you too.
Remove the rubber plug of the KEY button from ShineWiFi-S, and short press the button inside. The blue LED
will light up. Use your phone or computer to connect to the wireless network emitted by the
ShineWiFi-S module. The network name/SSID is the serial number of the ShineWiFi-S
module.
Login Page
After the connection is successfully established, open the web browser on your phone or
computer and type <IP_ADDRESS> in the address bar. The username is admin, the
default password is 12345678.

Advanced Settings
Change the data interval time to 1 minute

System Restart
Restart your ShineWiFi-S module on this page, click “Restart Immediate” to
enable the new settings you just made and logout from the internal webserver of your
ShineWiFi module.

On the left the data from yesterday is still every 5 minutes and on the right from today is every 1 minute

Unfortunately the chart seems to work every 5 minutes. Maybe you can check that out. Then we would have to find a solution.

Interesting. Thanks for sharing. I've adjusted the interval and it seems the values get updated more frequently!

Interesting. Thanks for sharing. I've adjusted the interval and it seems the values get updated more frequently!


Less verbose logs by default

Less verbose logs by changing lot's of INFO levels to DEBUG.
By default, spotlight logs run in INFO mode (with slf4j).
By updating slf4j to 1.7.x, we can now run spotlight at the default log level we want with the -Dorg.slf4j.simpleLogger.defaultLogLevel=$loglevel switch.
This try to fix https://github.com/dbpedia-spotlight/dbpedia-spotlight/issues/453 and other older bugs.

I would consider taking it a smidgen further and make it so no info logs emit when a request is made. If that information is desired, then enabling debug at run time would be the solution. e.g. -Dorg.slf4j.simpleLogger.defaultLogLevel=debug
See these additional changes:
https://github.com/Okanjo/dbpedia-spotlight-model/tree/logs_revamp

Agreed !
@sandroacoelho , what do you think about this PR ?

Hi @Skunnyk, @kfitzgerald
Thank you for this contribution. Let's merge it.
Best


Unable to add/clone any repositories

Dev Home version
0.1201.442.0
Windows build number
10.0.22621.3447
Other software
OS Build Version: 10.0.22621.3447.amd64fre.ni_release.220506-1250
.NET Version: .NET 8.0.1
Steps to reproduce the bug

Machine Configuration
Clone Repositories
Click + Add repository button

Expected result
Should open some dialog which allows me to specify and add/clone a repository down.
Actual result
The app hangs and crashes after 15 seconds.
Included System Information
CPU: 11th Gen Intel(R) Core(TM) i3-1115G4 @ 3.00GHz
Physical Memory: 7.85GB (1.17GB free)
Processor Architecture: x64
Included Extensions Information
Extensions:
Microsoft.Windows.DevHomeGitHubExtension_0.1200.442.0_x64__8wekyb3d8bbwe
Microsoft.Windows.DevHomeAzureExtension_0.700.442.0_x64__8wekyb3d8bbwe
Microsoft.Windows.DevHome_0.1201.442.0_x64__8wekyb3d8bbwe
Microsoft.Windows.DevHome_0.1201.442.0_x64__8wekyb3d8bbwe
9932MartCliment.WingetUIWidgets_<IP_ADDRESS>_x64__g91dtg5srk15g
Widget Service:
MicrosoftWindows.Client.WebExperience_424.1301.450.0_x64__cw5n1h2txyewy

Duplicate of #2485


ts to mjs/esm export

Hi, i would like to use noble-ed25519 in es6 with import, and it work when i run it in node but it fail when i try to build a static package.
could you add in npm package a built mjs file with export & export default in it ?

If it fails when you build a static package, use different bundler or configure your bundler properly. I won't include mjs until it's native in node.js

I won't include mjs until it's native in node.js
It is :
https://nodejs.org/docs/latest-v15.x/api/esm.html#esm_modules_ecmascript_modules

If it fails when you build a static package, use different bundler or configure your bundler properly.
I will try.

okay, that sounds good. I'll see what's possible when node v16 is out.


Setup Two Factor Authentication

-Need the below flow accessible from setting too

The 2FA should be shown not from the Send flow but as soon as the user comes to the Savings account.
Also, the message does not go away till the user does not confirm that this has been done by entering a token code. So the user is not able to send or receive from the savings account till we have this setup.
And once set up the details are anyway deleted from the app. The only option then is to reset the 2FA. So this option should be available from the 'settings' of the Account. It will be 'Having issues with the 2FA' option flow.

This should apply to all 2FA accounts. But once set up for any one of them, all are set up. So if set up from Savings account, should not show on the Donations 2FA account.
If the user enters Donations 2FA account first, then it should show there also till it is set up and confirmed

-Verified this on Dev app version 1..4.2(201)

-Verified this on Dev app version 1..4.2(201)

-reset the 2FA option should be available from the 'settings' of the Account.
-This part is not yet done.

-reset the 2FA option should be available from the 'settings' of the Account.
-This part is not yet done.

-Verified his issue on dev app version 1.4.2(203)

-Verified his issue on dev app version 1.4.2(203)


Enable configuration of boot diagnostics when creating VMs

We are seeing a large number of Azure VM failures in CI. It would be good to be able to understand what is breaking on those VMs, but without the serial log configured, we cannot see what is happening to cause the VMs to fail to boot.
This PR adds options to the Machine provider spec to allow the user to choose from either an Azure provisioned or customer provisioned storage account, which then enables the boot diagnostics for the VM.
This should allow us to configure boot diagnostics and fetch the full serial logs for failing VMs.
Note, upstream enable azure managed boot diagnostics by default (ie no way to turn this off). There is a cost implication of $0.05/GB/Month for the storage. Each VM is capped at 1GB of data.
We may want to follow the upstream pattern and just always enable boot diagnostics to make any transitions smoother, though this obviously has cost implications for customers.

/approve


Added quotation marks to the serialized values

… at least I hope so 😅
This tiny PR is hopefully a fix to vapor/multipart#22 and to two days of banging my head against a wall.

It seems that if we decide to go for this, some tests will have to be updated. I’m not 100% sure if I’m reading the build log correctly but it’s possible that only this test is failing? If so, I can prepare another PR for that in the vapor/vapor repository.

BTW, you can change which branch of Vapor is checked out during tests here: https://github.com/vapor/core/blob/master/circle.yml#L40
We should change this to the branch of Vapor that you apply the fix to, that way we can get green checks here before merging.
I've invited you to the contributors team so you should be able to create local branches now. 👍

Aah, that's how you do that! Okay, will submit PR for the tests by creating new branch directly on vapor/vapor instead of Cellane/vapor, then change circle.yml on this PR.
Can the changed circle.yml then be excluded from the final merge though? Apologies, this is the first time contributing in this cross-repository fashion.

@Cellane once the merge goes through I just change it on master manually. Small price to pay for making sure everything is works haha.

Thanks!

Hey @Cellane, you just merged a pull request, have a coin!
You now have 68 coins.


Wiki: Add images in case of Disambiguation

http://wikipedia.readthedocs.io/en/latest/quickstart.html

Sure, go ahead!

#265

Is this issue still unresolved?

Is this issue still open?

Is this issue still open?


Fix typo

@mmoayyed It's a simple typo fix. The bot closes it as there are no tests. Nothing to test here. Thanks.


Loading kinvey with webpack

Hi,
I'm currently trying to load Kinvey-angular with Webpack but I'm not able to make it working.
Regarding to Package.json, main: is pointing to a wrong file, it should be ./dist/kinvey.js. But even after making the change, I'm having some issues.
After trying with others Kinvey lib, the only one I could make working with Webpack was Kinvey-nodejs. But this lib does not have all features related to the client side (offline mode..).
Would that be possible to make your lib compatible with Webpack?
Thanks.
EDIT: I just saw that another issue was logged related to webpack (#1) but sounds like it's still not completely fixed.

What error are using seeing when you try to use the sdk with Webpack?

When linked to kinvey-angular-sdk/dist/kinvey.js I have 2 main error:
from Webpack console :
WARNING in ./~/kinvey-angular-sdk/dist/kinvey.js
Critical dependencies:
1:113-120 This seems to be a pre-built javascript file. Though this is possible, it's not recommended. Try to require the original source to get better results.
 @ ./~/kinvey-angular-sdk/dist/kinvey.js 1:113-120

then from the console log of the browser:
Unable to shim indexedDB

angular.js:4495 Uncaught Error: [$injector:modulerr] Failed to instantiate module app due to:
Error: [$injector:modulerr] Failed to instantiate module app.authentication due to:
Error: [$injector:modulerr] Failed to instantiate module kinvey due to:
Error: [$injector:unpr] Unknown provider: $q
...

We had some issues with out latest beta release of the Kinvey-Angular-SDK. We are working on getting a solution out as soon as possible and we will add this to the tickets we would like to resolve for this release. I will respond back in this issue when the new release is available. Thanks for reporting.

Are you using bower to install the sdk?

I use npm

Please retry using webpack with the latest release (3.0.0-beta.14). I have also updated our AngularJS Starter App to use webpack.


How do I get the collected measurement records ?

Hello everyone,
I‘m currently building my own dataset. I want to know how to get the collected measurement records. The device I am using does not match the provided dataset.

You can find some guide here
https://github.com/tlc-pack/tenset/tree/main/scripts#data-collection-procedure

You can find some guide here https://github.com/tlc-pack/tenset/tree/main/scripts#data-collection-procedure

Excuse me, I met some problems when I try to collect measure records on GTX 2080ti. I have download the dataset_gpu, can I only run the instruction python3 measure_programs.py --target "cuda -model=2080ti"? I discover that all the results are timeout

You can find some guide here https://github.com/tlc-pack/tenset/tree/main/scripts#data-collection-procedure

Excuse me, I met some problems when I try to collect measure records on GTX 2080ti. I have download the dataset_gpu, can I only run the instruction python3 measure_programs.py --target "cuda -model=2080ti"? I discover that all the results are timeout

Have you solved the problem? I meet with the same situation when running python3 measure_programs.py --target "cuda -model=4090"

not yet. I try to run python3 measure_programs.py --target "cuda -model=t4" but also find all the results are timeout. I think the problem is not related to arch such as 2080ti or t4 itself.
------------------ 原始邮件 ------------------
发件人: "Tony @.>;
发送时间: 2023年12月27日(星期三) 凌晨3:02
收件人: @.>;
抄送: @.>; @.>;
主题: Re: [tlc-pack/tenset] How do I get the collected measurement records ? (#22)
You can find some guide here https://github.com/tlc-pack/tenset/tree/main/scripts#data-collection-procedure
Excuse me, I met some problems when I try to collect measure records on GTX 2080ti. I have download the dataset_gpu, can I only run the instruction python3 measure_programs.py --target "cuda -model=2080ti"? I discover that all the results are timeout
Have you solved the problem? I meet with the same situation when running python3 measure_programs.py --target "cuda -model=4090"
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

I am facing the same problem...


[WFCORE-888] Skip propagating interface add ops to servers for 'named…

…' interfaces, not 'specified' ones

Linux Build 2407 is now running using a merge of 552e3dcac1d0cc93d2d5fa9c3d28d28075410f4f

Linux Build 2407 outcome was SUCCESS using a merge of 552e3dcac1d0cc93d2d5fa9c3d28d28075410f4f
Summary: Tests passed: 3402, ignored: 64 Build time: 00:37:35

WildFly pull requests Build 1835 outcome was SUCCESS using a merge of 552e3dcac1d0cc93d2d5fa9c3d28d28075410f4f
Summary: Running Build time: 00:00:08


Stale screenshots and outdated information for EventHub Private Endpoint creation

[Enter feedback here]
Hello,
The screenshots and the steps to create a private endpoint for Azure EventHub has changed and the screens look different from what they are shown and used here.
Kindly update the information on this page as I have few customers that are looking to utilize Private Endpoints using Private Link Services and they are not able to create it.
I would appreciate a quick turnaround on this issue.
Thank you so very much.
Nouman

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

ID: af3fdefa-e5ff-1b50-00c1-eacfb11e4cce
Version Independent ID: 352e6205-2d53-c3cb-ec7a-7b65a32a9805
Content: Integrate Azure Event Hubs with Azure Private Link Service - Azure Event Hubs
Content Source: articles/event-hubs/private-link-service.md
Service: event-hubs
GitHub Login: @spelluru
Microsoft Alias: spelluru

Thanks for the feedback! We have assigned the issue to the content author to further review this and update the document as appropriate.

Updated the screenshot. The updated article will go live before the end of the day.
#please-close

Thank you all for your help on this.


WIP: Add social-media/publish-post profile

Description

This PR adds social-media/publish-post profile with following providers

[x] Instagram

[x] Facebook

[ ] Twitter - requires OAuth 1.0 authentication on create tweet endpoint, OAuth 1.0 auth header contains HMAC signature from request and auth parameters, we will have to add support for OAuth 1.0 to OneSDK to support Twitter

OAuth 1.0 Postman pre-request script example: https://github.com/twitterdev/postman-twitter-ads-api/blob/master/scripts/pre-request.js
❗  This PR is blocked by ONESDK support for setting security schema values and parameters as perform call arguments.
Motivation and Context

User request: https://superfaceai.slack.com/archives/C02EXV8R546/p1638011134042000
I used parameters to pass Instagram business account ID/ Facebook page ID/ Facebook page token values. Those parameters are specific to Instagram / Facebook, but I am not sure if it is good solution. Any thoughts?
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] I have read the CONTRIBUTING document.
[x] I haven't repeated the code. (DRY)
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

This PR is obsolete.


Lint Operator Bundles

Signed-off-by: Zachary Kayyali<EMAIL_ADDRESS>https://github.com/open-cluster-management/backlog/issues/15491

/unhold


upgraded grpc dependency

Pull request type

Please check the type of change your PR introduces:

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[x] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

What is the current behavior?

Issue Number: N/A
What is the new behavior?

Other information

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

Project coverage is 41.51%. Comparing base (41c4ab0) to head (cb09e82).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1324      +/-   ##
==========================================
- Coverage   42.00%   41.51%   -0.49%
==========================================
  Files         321      321
  Lines       34130    28864    -5266
==========================================
- Hits        14335    11983    -2352
+ Misses      19325    16407    -2918
- Partials      470      474       +4

Flag
Coverage Δ

go-1.20.x
43.76% <ø> (-0.57%)
:arrow_down:

go-1.21.x
43.75% <ø> (-0.57%)
:arrow_down:

go-1.22.x
41.47% <ø> (-0.50%)
:arrow_down:

macOS
41.51% <ø> (-0.01%)
:arrow_down:

ubuntu
41.50% <ø> (+0.01%)
:arrow_up:

unit
41.51% <ø> (-0.49%)
:arrow_down:

windows
?

Flags with carried forward coverage won't be shown. Click here to find out more.

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


Syntax highlighting for ~/.ghc/ghci.conf

This is a pseudo haskell file that accepts ghci directives.

I think you are missing a file here :)


Linear workflows order - fixes #14

:tada: This PR is included in version 1.0.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add ability to replace mainPom and attach a list of artifacts

This is useful for the case where we have an Ant build that generates its own pom, jar, javadoc and sources.

@jdcasey : if ok, can we get a 0.4 please?


What's the author opnion of Adtpp

Hello !
This isn't an issue but asking the author opinion on this Adtpp: lightweight efficient safe polymorphic algebraic data types for C and here is the repository that I found and seem to have the a similar goal as metalang99, I hope you have a better judgment due to been working on this problem for a while.
Cheers !

Hello, thank you for the paper!
The main difference is that Adtpp is a third-party tool, whereas Metalang99 & Datatype99 are built completely atop the C preprocessor. As a result, Adtpp seems to perform additional data layout optimisations (representing Nil as NULL, for example) -- Datatype99 does not. On the other hand, the advantage of my approach is that it does not involve the machinery with third-party code generators, and therefore it can be more seamlessly integrated into a code base.
Also, type polymorphism is not supported as of now, unlike Adtpp which supports it. I have plans to somehow implement type polymorphism too, working on this problem now.


Extension host terminated unexpectedly.

When I started VS Code and open any folder, show that message.

Same issue.

What extensions do you have installed? We have seen a lot of issues coming in for crashes caused by karigari.chat. See https://github.com/microsoft/vscode/issues/77099#issuecomment-514844205 . Do you perhaps have that extension installed? Can you try to disable it?


Missing indicies after restoring mainnet snapshot

OS
Your OS:
Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-122-generic x86_64)
Versions
The db-sync version (eg cardano-db-sync --version):
cardano-db-sync 13.0.2 - linux-x86_64 - ghc-8.10
git revision 8733b71af3ada773755c5cb08d9c061eda11fb96

PostgreSQL version:
14.4
Build/Install Method
The method you use to build or install cardano-db-sync:
Pre-compiled Hydra binary (https://hydra.iohk.io/build/17139466/download/1/cardano-db-sync-13.0.2-linux.tar.gz)
Run method
The method you used to run cardano-db-sync (eg Nix/Docker/systemd/none):
systemd
Additional context
Add any other context about the problem here.
After upgrading to db-sync v13 and restoring the mainnet snapshot, I noticed some of the queries we run at Koios are extremely slow.
Problem Report
Please do not include screenshots or images, but instead cut and paste any relevant log messages
or errors.
After analysing the affected queries, we noticed that Postgres is deciding to do a sequential scan instead of an index scan on the tx_out table. I looked at the tx_out table information of the restored snapshot:
cexplorer=# \d+ tx_out
                                                                   Table "public.tx_out"
       Column        |       Type        | Collation | Nullable |              Default               | Storage  | Compression | Stats target | Description
---------------------+-------------------+-----------+----------+------------------------------------+----------+-------------+--------------+-------------
 id                  | bigint            |           | not null | nextval('tx_out_id_seq'::regclass) | plain    |             |              |
 tx_id               | bigint            |           | not null |                                    | plain    |             |              |
 index               | txindex           |           | not null |                                    | plain    |             |              |
 address             | character varying |           | not null |                                    | extended |             |              |
 address_raw         | bytea             |           | not null |                                    | extended |             |              |
 address_has_script  | boolean           |           | not null |                                    | plain    |             |              |
 payment_cred        | hash28type        |           |          |                                    | extended |             |              |
 stake_address_id    | bigint            |           |          |                                    | plain    |             |              |
 value               | lovelace          |           | not null |                                    | main     |             |              |
 data_hash           | hash32type        |           |          |                                    | extended |             |              |
 inline_datum_id     | bigint            |           |          |                                    | plain    |             |              |
 reference_script_id | bigint            |           |          |                                    | plain    |             |              |
Indexes:
    "tx_out_pkey" PRIMARY KEY, btree (id)
    "idx_tx_out_stake_address_id" btree (stake_address_id)
    "tx_out_inline_datum_id_idx" btree (inline_datum_id)
    "tx_out_reference_script_id_idx" btree (reference_script_id)
    "unique_txout" UNIQUE CONSTRAINT, btree (tx_id, index)
Foreign-key constraints:
    "tx_out_inline_datum_id_fkey" FOREIGN KEY (inline_datum_id) REFERENCES datum(id) ON UPDATE RESTRICT ON DELETE CASCADE
    "tx_out_reference_script_id_fkey" FOREIGN KEY (reference_script_id) REFERENCES script(id) ON UPDATE RESTRICT ON DELETE CASCADE
    "tx_out_stake_address_id_fkey" FOREIGN KEY (stake_address_id) REFERENCES stake_address(id) ON UPDATE RESTRICT ON DELETE CASCADE
    "tx_out_tx_id_fkey" FOREIGN KEY (tx_id) REFERENCES tx(id) ON UPDATE RESTRICT ON DELETE CASCADE

Comparing this to a testnet instance of the same db-sync version:
cexplorer_testnet=# \d+ tx_out;
      |
 address_raw         | bytea             |           | not null |                                    | extended |             |              |
 address_has_script  | boolean           |           | not null |                                    | plain    |             |              |
 payment_cred        | hash28type        |           |          |                                    | extended |             |              |
 stake_address_id    | bigint            |           |          |                                    | plain    |             |              |
 value               | lovelace          |           | not null |                                    | main     |             |              |
 data_hash           | hash32type        |           |          |                                    | extended |             |              |
 inline_datum_id     | bigint            |           |          |                                    | plain    |             |              |
 reference_script_id | bigint            |           |          |                                    | plain    |             |              |
Indexes:
    "tx_out_pkey" PRIMARY KEY, btree (id)
    "idx_tx_out_address" hash (address)
    "idx_tx_out_payment_cred" btree (payment_cred)
    "idx_tx_out_stake_address_id" btree (stake_address_id)
    "idx_tx_out_tx_id" btree (tx_id)
    "tx_out_inline_datum_id_idx" btree (inline_datum_id)
    "tx_out_reference_script_id_idx" btree (reference_script_id)
    "unique_txout" UNIQUE CONSTRAINT, btree (tx_id, index)
Foreign-key constraints:
    "tx_out_inline_datum_id_fkey" FOREIGN KEY (inline_datum_id) REFERENCES datum(id) ON UPDATE RESTRICT ON DELETE CASCADE
    "tx_out_reference_script_id_fkey" FOREIGN KEY (reference_script_id) REFERENCES script(id) ON UPDATE RESTRICT ON DELETE CASCADE
    "tx_out_stake_address_id_fkey" FOREIGN KEY (stake_address_id) REFERENCES stake_address(id) ON UPDATE RESTRICT ON DELETE CASCADE
    "tx_out_tx_id_fkey" FOREIGN KEY (tx_id) REFERENCES tx(id) ON UPDATE RESTRICT ON DELETE CASCADE
Referenced by:
    TABLE "ma_tx_out" CONSTRAINT "ma_tx_out_tx_out_id_fkey" FOREIGN KEY (tx_out_id) REFERENCES tx_out(id) ON UPDATE RESTRICT ON DELETE CASCADE

There are 3 missing indices in this table:
    "idx_tx_out_address" hash (address)
    "idx_tx_out_payment_cred" btree (payment_cred)
    "idx_tx_out_tx_id" btree (tx_id)
as well as the Referenced by ma_tx_out section.
I checked the ma_tx_out table as well.
Mainnet:
cexplorer=# \d+ ma_tx_out;
                                                          Table "public.ma_tx_out"
  Column   |    Type    | Collation | Nullable |                Default                | Storage | Compression | Stats target | Description
-----------+------------+-----------+----------+---------------------------------------+---------+-------------+--------------+-------------
 id        | bigint     |           | not null | nextval('ma_tx_out_id_seq'::regclass) | plain   |             |              |
 quantity  | word64type |           | not null |                                       | main    |             |              |
 tx_out_id | bigint     |           | not null |                                       | plain   |             |              |
 ident     | bigint     |           | not null |                                       | plain   |             |              |
Indexes:
    "ma_tx_out_pkey" PRIMARY KEY, btree (id)
    "unique_ma_tx_out" UNIQUE CONSTRAINT, btree (ident, tx_out_id)
Foreign-key constraints:
    "ma_tx_out_ident_fkey" FOREIGN KEY (ident) REFERENCES multi_asset(id) ON UPDATE RESTRICT ON DELETE CASCADE

Testnet:
cexplorer_testnet=# \d+ ma_tx_out;
                                                          Table "public.ma_tx_out"
  Column   |    Type    | Collation | Nullable |                Default                | Storage | Compression | Stats target | Description
-----------+------------+-----------+----------+---------------------------------------+---------+-------------+--------------+-------------
 id        | bigint     |           | not null | nextval('ma_tx_out_id_seq'::regclass) | plain   |             |              |
 quantity  | word64type |           | not null |                                       | main    |             |              |
 tx_out_id | bigint     |           | not null |                                       | plain   |             |              |
 ident     | bigint     |           | not null |                                       | plain   |             |              |
Indexes:
    "ma_tx_out_pkey" PRIMARY KEY, btree (id)
    "idx_ma_tx_out_tx_out_id" btree (tx_out_id)
    "unique_ma_tx_out" UNIQUE CONSTRAINT, btree (ident, tx_out_id)
Foreign-key constraints:
    "ma_tx_out_ident_fkey" FOREIGN KEY (ident) REFERENCES multi_asset(id) ON UPDATE RESTRICT ON DELETE CASCADE
    "ma_tx_out_tx_out_id_fkey" FOREIGN KEY (tx_out_id) REFERENCES tx_out(id) ON UPDATE RESTRICT ON DELETE CASCADE

which also reveals a missing index on the mainnet db.
I have confirmed that at least one of these indices (and presumably all of them) are present in the migration files:
https://github.com/input-output-hk/cardano-db-sync/blob/e0a84705f82643513d05fe5de2a954b4b8bf59c8/schema/migration-3-0003-20200702.sql#L15
I am not sure this is a bug with db-sync, but the snapshot I restored seems faulty. The snapshot I restored is currently still the latest one listed in: https://update-cardano-mainnet.iohk.io/cardano-db-sync/index.html#13/:
db-sync-snapshot-schema-13-block-7581148-x86_64.tgz

I will try to restore the previous snapshot db-sync-snapshot-schema-13-block-7560650-x86_64.tgz to see if the issue remains the same.

I will try to restore the previous snapshot db-sync-snapshot-schema-13-block-7560650-x86_64.tgz to see if the issue remains the same.

This one seems to be okay.
\d+ tx_out
                                                                   Table "public.tx_out"
       Column        |       Type        | Collation | Nullable |              Default               | Storage  | Compression | Stats target | Description
---------------------+-------------------+-----------+----------+------------------------------------+----------+-------------+--------------+-------------
 id                  | bigint            |           | not null | nextval('tx_out_id_seq'::regclass) | plain    |             |              |
 tx_id               | bigint            |           | not null |                                    | plain    |             |              |
 index               | txindex           |           | not null |                                    | plain    |             |              |
 address             | character varying |           | not null |                                    | extended |             |              |
 address_raw         | bytea             |           | not null |                                    | extended |             |              |
 address_has_script  | boolean           |           | not null |                                    | plain    |             |              |
 payment_cred        | hash28type        |           |          |                                    | extended |             |              |
 stake_address_id    | bigint            |           |          |                                    | plain    |             |              |
 value               | lovelace          |           | not null |                                    | main     |             |              |
 data_hash           | hash32type        |           |          |                                    | extended |             |              |
 inline_datum_id     | bigint            |           |          |                                    | plain    |             |              |
 reference_script_id | bigint            |           |          |                                    | plain    |             |              |
Indexes:
    "tx_out_pkey" PRIMARY KEY, btree (id)
    "idx_tx_out_address" hash (address)
    "idx_tx_out_payment_cred" btree (payment_cred)
    "idx_tx_out_stake_address_id" btree (stake_address_id)
    "idx_tx_out_tx_id" btree (tx_id)
    "tx_out_inline_datum_id_idx" btree (inline_datum_id)
    "unique_txout" UNIQUE CONSTRAINT, btree (tx_id, index)
Foreign-key constraints:
    "tx_out_inline_datum_id_fkey" FOREIGN KEY (inline_datum_id) REFERENCES datum(id) ON UPDATE RESTRICT ON DELETE CASCADE
    "tx_out_reference_script_id_fkey" FOREIGN KEY (reference_script_id) REFERENCES script(id) ON UPDATE RESTRICT ON DELETE CASCADE
    "tx_out_stake_address_id_fkey" FOREIGN KEY (stake_address_id) REFERENCES stake_address(id) ON UPDATE RESTRICT ON DELETE CASCADE
    "tx_out_tx_id_fkey" FOREIGN KEY (tx_id) REFERENCES tx(id) ON UPDATE RESTRICT ON DELETE CASCADE
Referenced by:
    TABLE "ma_tx_out" CONSTRAINT "ma_tx_out_tx_out_id_fkey" FOREIGN KEY (tx_out_id) REFERENCES tx_out(id) ON UPDATE RESTRICT ON DELETE CASCADE


Ability to create new instance of a related model directly from the form of the model that it is related to.

If I have a related field then User should be able to create new instance of that related model directly from the form of the model that it is related to.

Hi, sorry the delay.
Well, create in the same view are not supported, but it's supported for update see
http://django-cruds-adminlte.readthedocs.io/en/latest/usage.html#related-fields
so yo can create and the redirect to edit and new related model is ready to be updated


sidecar egress host not blocking request

(NOTE: This is used to report product bugs:
To report a security vulnerability, please visit https://istio.io/about/security-vulnerabilities
To ask questions about how to use Istio, please visit https://discuss.istio.io)
Bug description
sidecar egress yaml:
spec:
egress:

hosts:

./*.test.svc.cluster.local
./fqdn.hostname.com
workloadSelector:
labels:
app.kubernetes.io/name: registration

the registration pod can get to other hostnames that are not specified in the sidecar egress.
we noticed that there were extra unexpected entries in the istioctl pc cluster registration
for instance found there was a *.cloud.ibm.com in the istioctl pc cluster registration even thou it's not in the sidecar egress host
[ ] Docs
[ ] Installation
[X] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[X] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
[ ] Upgrade
Expected behavior
the pod with istio proxy should not be able to connect to anything not explicitly allowed in the sidecar egress host spec
Steps to reproduce the bug
Version (include the output of istioctl version --remote and kubectl version --short and helm version --short if you used Helm)
istioctl version --remote
client version: 1.9.5
control plane version: 1.9.5
data plane version: 1.9.5 (250 proxies)
kubectl version --short
Client Version: v1.18.0
Server Version: v1.19.0+d856161
How was Istio installed?
istioctl install with custom yaml - outboundTrafficPolicy - REGISTRY_ONLY
Environment where the bug was observed (cloud vendor, OS, etc)
IBM Cloud
Additionally, please consider running istioctl bug-report and attach the generated cluster-state tarball to this issue.
Refer cluster state archive for more details.

recreated with *.wikipedia.org and en.wikipedia.org ServiceEntry's with a corresponding Sidecar to allow traffic to the wildcard in the awake service and en.wikipedia.org only for sleep service.  (gist here)
$ istioctl install --set profile=demo --set meshConfig.outboundTrafficPolicy.mode=REGISTRY_ONLY -y
##apply linked gist
$ export AWAKE_POD=$(kubectl get pod -l app=awake -o jsonpath={.items..metadata.name})
$ export SLEEP_POD=$(kubectl get pod -l app=sleep -o jsonpath={.items..metadata.name})
$ kubectl exec "$SLEEP_POD" -c sleep -- sh -c 'curl -s https://en.wikipedia.org/wiki/Main_Page | grep -o "<title>.*</title>"; curl -s https://de.wikipedia.org/wiki/Wikipedia:Hauptseite | grep -o "<title>.*</title>"'
<title>Wikipedia, the free encyclopedia</title>
<title>Wikipedia – Die freie Enzyklopädie</title>

$ kubectl exec "$AWAKE_POD" -c awake -- sh -c 'curl -s https://en.wikipedia.org/wiki/Main_Page | grep -o "<title>.*</title>"; curl -s https://de.wikipedia.org/wiki/Wikipedia:Hauptseite | grep -o "<title>.*</title>"'
<title>Wikipedia, the free encyclopedia</title>
<title>Wikipedia – Die freie Enzyklopädie</title>

$ istioctl pc cluster $SLEEP_POD | grep wiki
*.wikipedia.org                                         443       -          outbound      ORIGINAL_DST
en.wikipedia.org                                        443       -          outbound      ORIGINAL_DST
$ istioctl pc cluster $AWAKE_POD | grep wiki
*.wikipedia.org                                         443       -          outbound      ORIGINAL_DST
en.wikipedia.org                                        443       -          outbound      ORIGINAL_DST

de.wikipedia.org should only be reachable from awake since it has the wildcard in the Sidecar

I would like to remind you that Istio is not a egress firewall (https://preliminary.istio.io/latest/docs/ops/best-practices/security/#securing-egress-traffic) so this is only a minor bug. If this is a major issue for you I strongly encourage you to rethink your configuration to properly enforce egress policies if needed.
That being said, this does seem like a bug.
I think https://github.com/istio/istio/blob/2a65168a27baffe6d16de47b461316bda2a264fc/pilot/pkg/model/sidecar.go#L683
should be
service.Hostname.SubsetOf(importedHost)

@ramaraochavali any thoughts?

@howardjohn is there a recommended way to limit egress of individual microservices that have istio proxy? it seemed like sidecar was the only viable option. and sidecar does appear to be working for the most part.

@ramaraochavali @howardjohn any more thoughts on this issue and the proposed solution?

@ceastman-ibm Extremely sorry - I missed this some how. Yes @howardjohn 's suggestion looks good to me.

@howardjohn @ramaraochavali can this be put into 1.9.x and 1.10.x releases?

@ceastman-ibm first this needs to be fixed in Master. I will fix it some time this week unless some one gets to this earlier.

@ramaraochavali ok thanks for the update. have a great day.


Unable to add matter devices to apple home (CON-586)

Hi, I recently updated my IOS version, from then my matter devices are unable to add to apple home. Could anyone help me with this. Versions I'm using are:
Home Pod: (MJ23HN/A(v 16.5)
iOS version - 16.5.1

@SYESHASWINI We will not be able to debug or analyze the problem unless you provide us with the complete logs. Please do the same and then re-open this issue

@dhrishi attaching the log while commissioning.
apple_issue1.txt

I tried out this and it is working at my side.

For further details please share iPad side logs.


Implement a direct propagation from minos.networks.Producer to minos.networks.Consumer for Event entries

 Issue by garciparedes
Tuesday Nov 02, 2021 at 15:48 GMT
Originally opened as https://github.com/Clariteia/minos_microservice_networks/issues/419

None

 Comment by garciparedes
Monday Jan 10, 2022 at 14:28 GMT

This issue is related with https://github.com/Clariteia/minos_microservice_networks/issues/472


feat(breadcrumbs) experimental

Description

First pass on breadcrumbs component and will be treated as experimental while we use it in multiple products to ensure quality.
closes #1053
Usage:

    Home
    Layouts
    Layouts2
    Layouts3
    Manage List

What's included?

README.md
CovalentBreadcrumbsModule with TdBreadcrumbsComponent and TdBreadcrumbComponent
Usage on test bed
Added in experimental

Test Steps

[ ] npm run serve:test-bed
[ ] go to http://localhost:4200/
[ ] click on breadcrumbs link
[ ] See it working
[ ] Resize width of window to be smaller than width of breadcrumbs
[ ] See first breadcrumbs disappear for responsive
[ ] See hidden breadcrumbs count increase
[ ] See individual hidden breadcrumb width info

General Tests for Every PR

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

Screenshots or link to StackBlitz/Plunker

closes https://github.com/Teradata/covalent/issues/1053

Just noticed that the icon is also clickable.. wonder if that will cause issues 🤔

[x] pushed changed to make sure clicking on the icon doesnt trigger navigation


Re-enable or remove participation related code

Commented out in https://github.com/iotaledger/iota-sdk/pull/1764

[ ] bindings/core/src/response.rs
[ ] bindings/core/src/method/wallet.rs
[ ] bindings/core/src/method_handler/wallet.rs
[ ] sdk/Cargo.toml
[ ] sdk/tests/wallet/balance.rs
[ ] sdk/src/wallet/storage/mod.rs
[ ] sdk/src/wallet/storage/constants.rs
[ ] sdk/src/wallet/operations/output_consolidation.rs
[ ] sdk/src/wallet/operations/participation/mod.rs
[ ] cli/src/wallet_cli/mod.rs

Participation will be its own package, no need to do this.


Bugs and Fixes for the next Master Release

Bugs

Game Logout - Paul
Create new user on forums - Robert
Better new user dialog on the UrLogin component - Paul

edit as needed

Energy Limits (0 >= e >= max)
Hide menu button, the menu is non-functional for now
Calendar data OR disable calendar for now?

I think it's fine to release something that doesn't work. If we waited until everything worked to give it to our users, we wouldn't have given them anything yet.