Syntax highlighting

Question or Suggestion
I just noticed while I was playing with italics that my syntax highlighting is different from the original cyberdream for some reason:
Any idea what might be overriding? Or what I can check?

Thanks!

Hey @gldtn!
Can you be more specific about what is wrong? Nothing is jumping out at me from your screenshot.

Hey @gldtn!
Can you be more specific about what is wrong? Nothing is jumping out at me from your screenshot.

For example, the scopes(words in this case): local, require, @param, if, then, elseif, for, in, do, nvim_set_hl are all in white on my end, vs the screenshot from the readme you provided.
Here I tried replicating it on this shot:

vs yours:

ah! I see. are you using treesitter and have the lua parser installed?

Hmm, seems like there was a couple of things affecting, first my lame attemp to get .blade.php files to be parsed correctly:
After commenting this out, treesitter started parsing correctly..
-- -- FIXME: this is a hack to add blade support
		-- local parser_config = require("nvim-treesitter.parsers").get_parser_configs()
		--
		-- ---@class ParserConfig
		-- parser_config.blade = {
		-- 	install_info = {
		-- 		url = "https://github.com/EmranMR/tree-sitter-blade",
		-- 		files = { "src/parser.c" },
		-- 		branch = "main",
		-- 	},
		-- 	filetype = "blade",
		-- }
		--
		-- vim.filetype.add({
		-- 	pattern = {
		-- 		[".*%.blade%.php"] = "blade",
		-- 	},
		-- })

Colors were also different due to me playing with italics:
overrides = function(colours)
					return {
						-- italics
						Keyword = { italic = true },
						-- Constant = { italic = true },
						Function = { italic = true },
						Identifier = { italic = true },
						-- non-italics
						Unit = { italic = false },
						Error = { italic = false },
						Number = { italic = false },
					}
				end,

What is the proper way to add more italics to the theme without overriding the original colors?

The overrides function is intended to override the highlight group entirely, so you'd need to give it a colour otherwise it will just default to the value of fg.
So in this case, your config should look like this:
overrides = function(colours)
    return {
        -- italics
        Keyword = { fg = colours.orange, italic = true},
        Function = { fg = colours.blue, italic = true },
        -- and so on ...
    }
end,

That would be the way to do it inside the cyberdream config. However, a more simple approach in your case could be to set the italic property after cyberdream.nvim has already been set up. In that case, the following example should work:
return {
    {
        "scottmckendry/cyberdream.nvim",
        dev = true,
        lazy = false,
        priority = 1000,
        config = function()
            require("cyberdream").setup({})
            vim.cmd("colorscheme cyberdream")

            -- define italic groups
            local italic_groups = {
                "Keyword",
                "Function",
            }

            -- must appear AFTER the "colorscheme cyberdream" command
            for _, group in ipairs(italic_groups) do
                vim.cmd("hi " .. group .. " gui=italic cterm=italic")
            end
        end,
    },
}
```lua

I do like that second approach, but that seems like if reverts the colors to the default Treesitter/LSP highlights. At least from the quick test I did here. So might have to go through :hi and match the ones I want to change. I ran to this issue here and being using fzf to discover all the highlights colors you set, thanks for the help as always!


Extend javascript object and classes safely (don't reinvent the wheel)

Checks if the class to extend already implements the new features.
Example:
Array.prototype.random = Array.prototype.random || function() {}; // [...]

Makes sense, thanks!

You're welcome. Nice work, I like this library


python3Packages.sortedcollections: 1.2.1 -> 1.2.3

Motivation for this change
Update to latest upstream release 1.2.3
Commit log: https://github.com/grantjenks/python-sortedcollections/commits/master
attrs is at 20.3.0 and this leads to build failures.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 108572 run on x86_64-darwin 1

1 package marked as broken and skipped:

python39Packages.google-music

2 packages failed to build and are new build failures:

python39Packages.flask-socketio: log was empty
python39Packages.python-socketio: log was empty

27 packages built:

appdaemon
gdbgui
google-music-scripts
python37Packages.audio-metadata
python37Packages.bidict
python37Packages.flask-socketio
python37Packages.google-music
python37Packages.google-music-proto
python37Packages.google-music-utils
python37Packages.python-socketio
python37Packages.sortedcollections
python37Packages.tbm-utils
python38Packages.audio-metadata
python38Packages.bidict
python38Packages.flask-socketio
python38Packages.google-music
python38Packages.google-music-proto
python38Packages.google-music-utils
python38Packages.python-socketio
python38Packages.sortedcollections
python38Packages.tbm-utils
python39Packages.audio-metadata
python39Packages.bidict
python39Packages.google-music-proto
python39Packages.google-music-utils
python39Packages.sortedcollections
python39Packages.tbm-utils

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 108572 run on x86_64-darwin 1

1 package marked as broken and skipped:

python39Packages.google-music

2 packages failed to build and are new build failures:

python39Packages.flask-socketio: log was empty
python39Packages.python-socketio: log was empty

27 packages built:

appdaemon
gdbgui
google-music-scripts
python37Packages.audio-metadata
python37Packages.bidict
python37Packages.flask-socketio
python37Packages.google-music
python37Packages.google-music-proto
python37Packages.google-music-utils
python37Packages.python-socketio
python37Packages.sortedcollections
python37Packages.tbm-utils
python38Packages.audio-metadata
python38Packages.bidict
python38Packages.flask-socketio
python38Packages.google-music
python38Packages.google-music-proto
python38Packages.google-music-utils
python38Packages.python-socketio
python38Packages.sortedcollections
python38Packages.tbm-utils
python39Packages.audio-metadata
python39Packages.bidict
python39Packages.google-music-proto
python39Packages.google-music-utils
python39Packages.sortedcollections
python39Packages.tbm-utils

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 108572 run on x86_64-linux 1

29 packages built:

appdaemon
gdbgui
google-music-scripts
python37Packages.audio-metadata
python37Packages.bidict
python37Packages.flask-socketio
python37Packages.google-music
python37Packages.google-music-proto
python37Packages.google-music-utils
python37Packages.python-socketio
python37Packages.sortedcollections
python37Packages.tbm-utils
python38Packages.audio-metadata
python38Packages.bidict
python38Packages.flask-socketio
python38Packages.google-music
python38Packages.google-music-proto
python38Packages.google-music-utils
python38Packages.python-socketio
python38Packages.sortedcollections
python38Packages.tbm-utils
python39Packages.audio-metadata
python39Packages.bidict
python39Packages.flask-socketio
python39Packages.google-music-proto
python39Packages.google-music-utils
python39Packages.python-socketio
python39Packages.sortedcollections
python39Packages.tbm-utils

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 108572 run on x86_64-linux 1

29 packages built:

appdaemon
gdbgui
google-music-scripts
python37Packages.audio-metadata
python37Packages.bidict
python37Packages.flask-socketio
python37Packages.google-music
python37Packages.google-music-proto
python37Packages.google-music-utils
python37Packages.python-socketio
python37Packages.sortedcollections
python37Packages.tbm-utils
python38Packages.audio-metadata
python38Packages.bidict
python38Packages.flask-socketio
python38Packages.google-music
python38Packages.google-music-proto
python38Packages.google-music-utils
python38Packages.python-socketio
python38Packages.sortedcollections
python38Packages.tbm-utils
python39Packages.audio-metadata
python39Packages.bidict
python39Packages.flask-socketio
python39Packages.google-music-proto
python39Packages.google-music-utils
python39Packages.python-socketio
python39Packages.sortedcollections
python39Packages.tbm-utils

#108536 was addressing a couple of the same build issues.

#108536 was addressing a couple of the same build issues.

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 108572 run on x86_64-darwin 1

1 package marked as broken and skipped:

python39Packages.google-music

26 packages built:

appdaemon
gdbgui
google-music-scripts
python37Packages.audio-metadata
python37Packages.bidict
python37Packages.flask-socketio
python37Packages.google-music
python37Packages.google-music-proto
python37Packages.google-music-utils
python37Packages.python-socketio
python37Packages.sortedcollections
python38Packages.audio-metadata
python38Packages.bidict
python38Packages.flask-socketio
python38Packages.google-music
python38Packages.google-music-proto
python38Packages.google-music-utils
python38Packages.python-socketio
python38Packages.sortedcollections
python39Packages.audio-metadata
python39Packages.bidict
python39Packages.flask-socketio
python39Packages.google-music-proto
python39Packages.google-music-utils
python39Packages.python-socketio
python39Packages.sortedcollections

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 108572 run on x86_64-darwin 1

1 package marked as broken and skipped:

python39Packages.google-music

26 packages built:

appdaemon
gdbgui
google-music-scripts
python37Packages.audio-metadata
python37Packages.bidict
python37Packages.flask-socketio
python37Packages.google-music
python37Packages.google-music-proto
python37Packages.google-music-utils
python37Packages.python-socketio
python37Packages.sortedcollections
python38Packages.audio-metadata
python38Packages.bidict
python38Packages.flask-socketio
python38Packages.google-music
python38Packages.google-music-proto
python38Packages.google-music-utils
python38Packages.python-socketio
python38Packages.sortedcollections
python39Packages.audio-metadata
python39Packages.bidict
python39Packages.flask-socketio
python39Packages.google-music-proto
python39Packages.google-music-utils
python39Packages.python-socketio
python39Packages.sortedcollections

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 108572 run on x86_64-linux 1

25 packages built:

appdaemon
gdbgui
google-music-scripts
python37Packages.audio-metadata
python37Packages.bidict
python37Packages.flask-socketio
python37Packages.google-music
python37Packages.google-music-proto
python37Packages.google-music-utils
python37Packages.python-socketio
python37Packages.sortedcollections
python38Packages.audio-metadata
python38Packages.bidict
python38Packages.flask-socketio
python38Packages.google-music
python38Packages.google-music-proto
python38Packages.google-music-utils
python38Packages.python-socketio
python38Packages.sortedcollections
python39Packages.audio-metadata
python39Packages.bidict
python39Packages.flask-socketio
python39Packages.google-music-proto
python39Packages.python-socketio
python39Packages.sortedcollections

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 108572 run on x86_64-linux 1

25 packages built:

appdaemon
gdbgui
google-music-scripts
python37Packages.audio-metadata
python37Packages.bidict
python37Packages.flask-socketio
python37Packages.google-music
python37Packages.google-music-proto
python37Packages.google-music-utils
python37Packages.python-socketio
python37Packages.sortedcollections
python38Packages.audio-metadata
python38Packages.bidict
python38Packages.flask-socketio
python38Packages.google-music
python38Packages.google-music-proto
python38Packages.google-music-utils
python38Packages.python-socketio
python38Packages.sortedcollections
python39Packages.audio-metadata
python39Packages.bidict
python39Packages.flask-socketio
python39Packages.google-music-proto
python39Packages.python-socketio
python39Packages.sortedcollections


Arctic, not artic

Description
Its arctic... not artic
Reproduction
none
Severity
Hurts my hubris.

Pull reuqest #17


Execute random front-end code after page is rendered

is there a recommended way of executing client-side js whenever a page got rendered? actually i'd prefer adding it to the pages/_document.js because I want to load some javascript, but its important that in the moment i execute, the __NEXT_DATA__ already exists and i'd prefer not to use setTimeout to wait for that.

in the meanwhile this works in the _document.js:
<Main />
<NextScript />
<script dangerouslySetInnerHTML={{ __html: 'alert(1);' }}></script>

but not sure if thats the best thing to do

@elgubenis https://github.com/zeit/next.js/tree/master/examples/layout-component might help


add francischeng.md

add francischeng.md

This PR should be against a repo in the org nus-cs2103-AY1617S2 not against the repo in se-edu org :-)
Closing...


model_parameter.add_parameter requires in some cases a unit field

This is missing - understand exactly how and when to add (also how to check to units to be of correct type)

This issue is outdated. There is no model_parameter.add_parameter function anymore. I’ve made sure by going through all other functions of the ModelParameter class and  there is nothing which would relevant in this context.
Close therefore this issue.


Migrate to cosmos/gogoproto

Summary
Migrate from gogo/protobuf to cosmos/gogoproto, ref issue and ref pr
Problem Definition
We are still using the go mod replace directive to unmaintained code
Proposal
Switch from the regen fork to the cosmos fork. I'm unsure how involved this work will be outside of updating imports

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate contributors tagged/assigned

I think Simon is actually working on this as part of the upgrade to SDK 0.47. I will check with him.

Lets bring it out as a separate pr, it doesn't need to wait for v0.47 correct?

Lets bring it out as a separate pr, it doesn't need to wait for v0.47 correct?

Unfortunately, it does. IBC depends on SDK 0.46, which still uses gogo/protobuf, so the proto.Message must be using gogo/protobuf.


Requests to local spegel instance are being detected as external with cilium

Hi
I tried Spegel recently and found that when a node pulls an image (etcd in this case), the Spegel instance on the node detects it as an external request:
{"level":"info","ts":1697181744.1945643,"caller":"registry/registry.go:174","msg":"handling mirror request from external node","path":"/v2/etcd-development/etcd/blobs/sha256:47ba7aff063ffd3883d25edc17bc0a92a4b76d48bcc89e8a21a149db234576bd","ip":"<IP_ADDRESS>"}

The IP (<IP_ADDRESS>) is the one assigned to the cilium_host interface.
I'm not sure how to fix this. Is someone here using Spegel with Cilium?

The host header seems to be an IP  (<IP_ADDRESS>) specifically owned by the node-specific cilium-agent. It is located within the node-specific podCIDR <IP_ADDRESS>/24.
I already found that function, but I'm not entirely sure how to handle this.

I might have some time now to work on this. The logic to determine if the request is external is not ideal to be honest. Might just replace it all together if I am able to.

So the issue is not that the request is not being detected, but that the way that host ports on Cilium are implemented is a bit different. #258 has a different but a similar issue. The best solution is to change the host port to a node port service with a local internal traffic policy. Then we change the mirror configuration to use the node IP instead of localhost to reach Spegel. That way we solve both issues and also move away from host port mapping which seems to have varying implementations in all CNIs.
This will however require Kubernetes 1.26, which may be a problem for some. I might just add an option to use the old host port for those who are not running 1.26 yet.

As an update I do not think I will be able to solve this with a node port service due to the different implementations.
The issue is caused by some weird implementations of host port mapping in Cilium which has been described in an issue.
https://github.com/cilium/cilium/issues/12116
I do not have enough experience with Cilium to describe the required configuration to make port mapping work properly. It would be great to get some help if someone does know and can help with documentation.

I'm noticing this in my logs too (and I use cilium), but I am not sure what the impact is? Looking through the code I suspect maybe it only matters for metrics?


chore: Release Noir(0.28.0)

:robot: I have created a release beep boop
0.28.0
0.28.0 (2024-04-24)
⚠ BREAKING CHANGES

Add as_array and remove _slice variants of hash functions (#4675)
reserve keyword super (#4836)
contract interfaces and better function calls (https://github.com/AztecProtocol/aztec-packages/pull/5687)
change backend width to 4 (https://github.com/AztecProtocol/aztec-packages/pull/5374)
Use fixed size arrays in black box functions where sizes are known (https://github.com/AztecProtocol/aztec-packages/pull/5620)
trap with revert data (https://github.com/AztecProtocol/aztec-packages/pull/5732)
acir: BrilligCall opcode  (https://github.com/AztecProtocol/aztec-packages/pull/5709)
remove fixed-length keccak256 (https://github.com/AztecProtocol/aztec-packages/pull/5617)
storage_layout and #[aztec(storage)] (https://github.com/AztecProtocol/aztec-packages/pull/5387)
acir: Add predicate to call opcode (https://github.com/AztecProtocol/aztec-packages/pull/5616)
contract_abi-exports (https://github.com/AztecProtocol/aztec-packages/pull/5386)

Features

acir_gen: Brillig stdlib (#4848) (0c8175c)
acir: Add predicate to call opcode (https://github.com/AztecProtocol/aztec-packages/pull/5616) (2bd006a)
acir: BrilligCall opcode  (https://github.com/AztecProtocol/aztec-packages/pull/5709) (0f9ae0a)
Add min and max functions to the stdlib (#4839) (6cfb328)
Add NARGO_FOREIGN_CALL_TIMEOUT environment variable (#4780) (791f1c8)
Add comptime Interpreter (#4821) (5992436)
Add return values to aztec fns (https://github.com/AztecProtocol/aztec-packages/pull/5389) (2bd006a)
Allow numeric generics to non inlined ACIR functions (#4834) (9cc03a4)
avm: Integrate AVM with initializers (https://github.com/AztecProtocol/aztec-packages/pull/5469) (2bd006a)
Brillig heterogeneous memory cells (https://github.com/AztecProtocol/aztec-packages/pull/5608) (305bcdc)
Brillig pointer codegen and execution (https://github.com/AztecProtocol/aztec-packages/pull/5737) (0f9ae0a)
Change backend width to 4 (https://github.com/AztecProtocol/aztec-packages/pull/5374) (0f9ae0a)
Contract interfaces and better function calls (https://github.com/AztecProtocol/aztec-packages/pull/5687) (0f9ae0a)
Contract_abi-exports (https://github.com/AztecProtocol/aztec-packages/pull/5386) (2bd006a)
experimental: Add comptime keyword (#4840) (4dfd7f0)
Get last mock oracles params (#4789) (1d96937)
Impl of missing functionality in new key store (https://github.com/AztecProtocol/aztec-packages/pull/5750) (0f9ae0a)
Implement Eq trait on BoundedVec (#4830) (6cefe16)
Lalrpop lexer prototype (#4656) (25ad018)
nargo: Handle call stacks for multiple Acir calls (#4711) (5b23171)
Narrow ABI encoding errors down to target problem argument/field (#4798) (e412e6e)
Proving the rollup circuits (https://github.com/AztecProtocol/aztec-packages/pull/5599) (5b352d6)
Reserve keyword super (#4836) (d5028a6)
Restore hashing args via slice for performance (https://github.com/AztecProtocol/aztec-packages/pull/5539) (2bd006a)
Simplify BoundedVec::eq (#4838) (3d33a33)
simulator: Fetch return values at circuit execution (https://github.com/AztecProtocol/aztec-packages/pull/5642) (305bcdc)
Split backend_barretenburg into prover and verifier classes (#4769) (ce1e662)
Storage_layout and #[aztec(storage)] (https://github.com/AztecProtocol/aztec-packages/pull/5387) (2bd006a)
Sync from noir (https://github.com/AztecProtocol/aztec-packages/pull/5572) (2bd006a)
Sync from noir (https://github.com/AztecProtocol/aztec-packages/pull/5619) (2bd006a)
Sync from noir (https://github.com/AztecProtocol/aztec-packages/pull/5697) (305bcdc)
Sync from noir (https://github.com/AztecProtocol/aztec-packages/pull/5725) (5b352d6)
Sync from noir (https://github.com/AztecProtocol/aztec-packages/pull/5794) (0f9ae0a)
Sync from noir (https://github.com/AztecProtocol/aztec-packages/pull/5814) (0f9ae0a)
Sync from noir (https://github.com/AztecProtocol/aztec-packages/pull/5935) (1b867b1)
Sync from noir (https://github.com/AztecProtocol/aztec-packages/pull/5955) (1b867b1)
Sync from noir (https://github.com/AztecProtocol/aztec-packages/pull/5999) (1b867b1)
Trap with revert data (https://github.com/AztecProtocol/aztec-packages/pull/5732) (0f9ae0a)
Unroll loops iteratively (#4779) (f831b0b)
Use fixed size arrays in black box functions where sizes are known (https://github.com/AztecProtocol/aztec-packages/pull/5620) (0f9ae0a)
Variable length returns (https://github.com/AztecProtocol/aztec-packages/pull/5633) (305bcdc)

Bug Fixes

ArrayGet and Set are not pure (#4783) (90ee479)
Avoid huge unrolling in hash_args (https://github.com/AztecProtocol/aztec-packages/pull/5703) (305bcdc)
Catch panics from EC point creation (e.g. the point is at infinity) (#4790) (645dba1)
Don't reuse brillig with slice arguments (https://github.com/AztecProtocol/aztec-packages/pull/5800) (0f9ae0a)
experimental: Skip over comptime functions in scan pass (#4893) (f267d42)
Fix curve parameters for bigints (#4900) (5985e42)
Fix panic when returning a zeroed unit value (#4797) (2ea9292)
Issue 4682 and add solver for unconstrained bigintegers (#4729) (e4d33c1)
Primary_message typo in errors.rs (https://github.com/AztecProtocol/aztec-packages/pull/5646) (5b352d6)
Proper field inversion for bigints (#4802) (b46d0e3)
Reset the noir-gates-diff report on master (#4878) (50bc325)
Update noir-gates-diff commit to use master reference report (#4891) (4a3ffb7)

Miscellaneous Chores

Add as_array and remove _slice variants of hash functions (#4675) (8e39706)
Remove fixed-length keccak256 (https://github.com/AztecProtocol/aztec-packages/pull/5617) (305bcdc)

0.44.0
0.44.0 (2024-04-24)
⚠ BREAKING CHANGES

contract interfaces and better function calls (https://github.com/AztecProtocol/aztec-packages/pull/5687)
change backend width to 4 (https://github.com/AztecProtocol/aztec-packages/pull/5374)
Use fixed size arrays in black box functions where sizes are known (https://github.com/AztecProtocol/aztec-packages/pull/5620)
trap with revert data (https://github.com/AztecProtocol/aztec-packages/pull/5732)
acir: BrilligCall opcode  (https://github.com/AztecProtocol/aztec-packages/pull/5709)
remove fixed-length keccak256 (https://github.com/AztecProtocol/aztec-packages/pull/5617)
storage_layout and #[aztec(storage)] (https://github.com/AztecProtocol/aztec-packages/pull/5387)
acir: Add predicate to call opcode (https://github.com/AztecProtocol/aztec-packages/pull/5616)
contract_abi-exports (https://github.com/AztecProtocol/aztec-packages/pull/5386)
Brillig typed memory (https://github.com/AztecProtocol/aztec-packages/pull/5395)
acir: Program and witness stack structure (https://github.com/AztecProtocol/aztec-packages/pull/5149)
automatic NoteInterface and NoteGetterOptions auto select (https://github.com/AztecProtocol/aztec-packages/pull/4508)
Acir call opcode (https://github.com/AztecProtocol/aztec-packages/pull/4773)
Support contracts with no constructor (https://github.com/AztecProtocol/aztec-packages/pull/5175)
Internal as a macro (https://github.com/AztecProtocol/aztec-packages/pull/4898)
move noir out of yarn-project (https://github.com/AztecProtocol/aztec-packages/pull/4479)
note type ids (https://github.com/AztecProtocol/aztec-packages/pull/4500)
rename bigint_neg into bigint_sub (https://github.com/AztecProtocol/aztec-packages/pull/4420)
Add expression width into acir (https://github.com/AztecProtocol/aztec-packages/pull/4014)
init storage macro (https://github.com/AztecProtocol/aztec-packages/pull/4200)
acir: Move is_recursive flag to be part of the circuit definition (https://github.com/AztecProtocol/aztec-packages/pull/4221)
Sync commits from aztec-packages (#4144)
Breaking changes from aztec-packages (#3955)

Features

Acir call opcode (https://github.com/AztecProtocol/aztec-packages/pull/4773) (c3c9e19)
acir_gen: Brillig stdlib (#4848) (0c8175c)
acir_gen: Fold attribute at compile-time and initial non inlined ACIR (https://github.com/AztecProtocol/aztec-packages/pull/5341) (a0f7474)
acir: Add predicate to call opcode (https://github.com/AztecProtocol/aztec-packages/pull/5616) (2bd006a)
acir: BrilligCall opcode  (https://github.com/AztecProtocol/aztec-packages/pull/5709) (0f9ae0a)
acir: Program and witness stack structure (https://github.com/AztecProtocol/aztec-packages/pull/5149) (13eb71b)
acvm_js: Execute program  (#4694) (386f6d0)
acvm: Execute multiple circuits  (https://github.com/AztecProtocol/aztec-packages/pull/5380) (a0f7474)
Add bit size to const opcode (https://github.com/AztecProtocol/aztec-packages/pull/4385) (158c8ce)
Add CMOV instruction to brillig and brillig gen (https://github.com/AztecProtocol/aztec-packages/pull/5308) (13eb71b)
Add expression width into acir (https://github.com/AztecProtocol/aztec-packages/pull/4014) (158c8ce)
Add instrumentation for tracking variables in debugging (#4122) (c58d691)
Add poseidon2 opcode implementation for acvm/brillig, and Noir (#4398) (10e8292)
Add return values to aztec fns (https://github.com/AztecProtocol/aztec-packages/pull/5389) (2bd006a)
Add support for overriding expression width (#4117) (c8026d5)
Added cast opcode and cast calldata (https://github.com/AztecProtocol/aztec-packages/pull/4423) (78ef013)
Allow brillig to read arrays directly from memory (https://github.com/AztecProtocol/aztec-packages/pull/4460) (158c8ce)
Allow nested arrays and vectors in Brillig foreign calls (https://github.com/AztecProtocol/aztec-packages/pull/4478) (158c8ce)
Allow variables and stack trace inspection in the debugger (#4184) (bf263fc)
Automatic NoteInterface and NoteGetterOptions auto select (https://github.com/AztecProtocol/aztec-packages/pull/4508) (13eb71b)
avm: Back in avm context with macro - refactor context (https://github.com/AztecProtocol/aztec-packages/pull/4438) (158c8ce)
avm: Brillig CONST of size > u128 (https://github.com/AztecProtocol/aztec-packages/pull/5217) (c3c9e19)
avm: Integrate AVM with initializers (https://github.com/AztecProtocol/aztec-packages/pull/5469) (2bd006a)
aztec-nr: Initial work for aztec public vm macro (https://github.com/AztecProtocol/aztec-packages/pull/4400) (158c8ce)
Backpropagate constants in ACIR during optimization (#3926) (aad0da0)
Breaking changes from aztec-packages (#3955) (5be049e)
Brillig heterogeneous memory cells (https://github.com/AztecProtocol/aztec-packages/pull/5608) (305bcdc)
Brillig IR refactor (https://github.com/AztecProtocol/aztec-packages/pull/5233) (c3c9e19)
Brillig pointer codegen and execution (https://github.com/AztecProtocol/aztec-packages/pull/5737) (0f9ae0a)
Brillig typed memory (https://github.com/AztecProtocol/aztec-packages/pull/5395) (0bc18c4)
Change backend width to 4 (https://github.com/AztecProtocol/aztec-packages/pull/5374) (0f9ae0a)
Check initializer msg.sender matches deployer from address preimage (https://github.com/AztecProtocol/aztec-packages/pull/5222) (c3c9e19)
Contract interfaces and better function calls (https://github.com/AztecProtocol/aztec-packages/pull/5687) (0f9ae0a)
Contract_abi-exports (https://github.com/AztecProtocol/aztec-packages/pull/5386) (2bd006a)
Evaluation of dynamic assert messages (#4101) (c284e01)
Impl of missing functionality in new key store (https://github.com/AztecProtocol/aztec-packages/pull/5750) (0f9ae0a)
Init storage macro (https://github.com/AztecProtocol/aztec-packages/pull/4200) (158c8ce)
Initial Earthly CI (https://github.com/AztecProtocol/aztec-packages/pull/5069) (c3c9e19)
Internal as a macro (https://github.com/AztecProtocol/aztec-packages/pull/4898) (5f57ebb)
nargo: Handle call stacks for multiple Acir calls (#4711) (5b23171)
New brillig field operations and refactor of binary operations (https://github.com/AztecProtocol/aztec-packages/pull/5208) (c3c9e19)
Note type ids (https://github.com/AztecProtocol/aztec-packages/pull/4500) (78ef013)
Remove range constraints from witnesses which are constrained to be constants (#3928) (afe9c7a)
Remove replacement of boolean range opcodes with AssertZero opcodes (#4107) (dac0e87)
Restore hashing args via slice for performance (https://github.com/AztecProtocol/aztec-packages/pull/5539) (2bd006a)
Signed integer division and modulus in brillig gen (https://github.com/AztecProtocol/aztec-packages/pull/5279) (c3c9e19)
simulator: Fetch return values at circuit execution (https://github.com/AztecProtocol/aztec-packages/pull/5642) (305bcdc)
Storage_layout and #[aztec(storage)] (https://github.com/AztecProtocol/aztec-packages/pull/5387) (2bd006a)
Support contracts with no constructor (https://github.com/AztecProtocol/aztec-packages/pull/5175) (c3c9e19)
Sync aztec-packages (#4011) (fee2452)
Sync commits from aztec-packages (#4068) (7a8f3a3)
Sync commits from aztec-packages (#4144) (0205d3b)
Sync from aztec-packages (#4483) (fe8f277)
Sync from noir (https://github.com/AztecProtocol/aztec-packages/pull/5234) (c3c9e19)
Sync from noir (https://github.com/AztecProtocol/aztec-packages/pull/5286) (c3c9e19)
Sync from noir (https://github.com/AztecProtocol/aztec-packages/pull/5572) (2bd006a)
Sync from noir (https://github.com/AztecProtocol/aztec-packages/pull/5619) (2bd006a)
Sync from noir (https://github.com/AztecProtocol/aztec-packages/pull/5697) (305bcdc)
Sync from noir (https://github.com/AztecProtocol/aztec-packages/pull/5794) (0f9ae0a)
Sync from noir (https://github.com/AztecProtocol/aztec-packages/pull/5814) (0f9ae0a)
Sync from noir (https://github.com/AztecProtocol/aztec-packages/pull/5935) (1b867b1)
Sync from noir (https://github.com/AztecProtocol/aztec-packages/pull/5955) (1b867b1)
Sync from noir (https://github.com/AztecProtocol/aztec-packages/pull/5999) (1b867b1)
Trap with revert data (https://github.com/AztecProtocol/aztec-packages/pull/5732) (0f9ae0a)
Use fixed size arrays in black box functions where sizes are known (https://github.com/AztecProtocol/aztec-packages/pull/5620) (0f9ae0a)
Variable length returns (https://github.com/AztecProtocol/aztec-packages/pull/5633) (305bcdc)

Bug Fixes

acvm: Mark outputs of Opcode::Call solvable (#4708) (8fea405)
Avoid huge unrolling in hash_args (https://github.com/AztecProtocol/aztec-packages/pull/5703) (305bcdc)
Catch panics from EC point creation (e.g. the point is at infinity) (#4790) (645dba1)
Don't reuse brillig with slice arguments (https://github.com/AztecProtocol/aztec-packages/pull/5800) (0f9ae0a)
Issue 4682 and add solver for unconstrained bigintegers (#4729) (e4d33c1)
Noir test incorrect reporting (https://github.com/AztecProtocol/aztec-packages/pull/4925) (5f57ebb)
Proper field inversion for bigints (#4802) (b46d0e3)
Remove panic from init_log_level in acvm_js (#4195) (2e26530)
Return error rather instead of panicking on invalid circuit (#3976) (67201bf)

Miscellaneous Chores

acir: Move is_recursive flag to be part of the circuit definition (https://github.com/AztecProtocol/aztec-packages/pull/4221) (158c8ce)
Move noir out of yarn-project (https://github.com/AztecProtocol/aztec-packages/pull/4479) (78ef013)
Remove fixed-length keccak256 (https://github.com/AztecProtocol/aztec-packages/pull/5617) (305bcdc)
Rename bigint_neg into bigint_sub (https://github.com/AztecProtocol/aztec-packages/pull/4420) (158c8ce)

This PR was generated with Release Please. See documentation.

@TomAFrench unblocked with https://github.com/noir-lang/noir/pull/4873 merged?

:robot: Release is at https://github.com/noir-lang/noir/releases/tag/v0.28.0 :sunflower:


Rework NoteCollection Equatable Implementation

The implementation for NoteCollections use of Equatable is not good right now, because it is making the NoteCollection aware of the structs that implement the protocol. I did not see a great way around it immediately, because I wanted to be able to easily compare two instances of NoteCollection.

May not be needed with #150


TTT2

Hi Till,
sorry to bother you, I know you're busy. I just wanted to ask you if you could give me an approximate date when TTT2 will be released, because I have some deadlines and I'm wondering if it's better to wait for TTT2 to be released or to work with TTT1. And also will TTT1 be deactivated after the release of TTT2?
BR,
Luka

Hi Luka,
I am currently planning to release TTT2.0 in December. Probably it will not include all previous functions, but I will add them over the next couple of months. I will let you know when it is released!
cheers
Till


pari: 2.9.3 -> 2.9.4

Semi-automatic update. These checks were performed:

built on NixOS
ran /nix/store/v2rvjr4kl79kmn1w70lj7zf0dz00p3mf-pari-2.9.4/bin/tex2mail help got 0 exit code
ran /nix/store/v2rvjr4kl79kmn1w70lj7zf0dz00p3mf-pari-2.9.4/bin/gphelp --help got 0 exit code
ran /nix/store/v2rvjr4kl79kmn1w70lj7zf0dz00p3mf-pari-2.9.4/bin/gphelp help got 0 exit code
ran /nix/store/v2rvjr4kl79kmn1w70lj7zf0dz00p3mf-pari-2.9.4/bin/gp-2.9 -h got 0 exit code
ran /nix/store/v2rvjr4kl79kmn1w70lj7zf0dz00p3mf-pari-2.9.4/bin/gp-2.9 --help got 0 exit code
ran /nix/store/v2rvjr4kl79kmn1w70lj7zf0dz00p3mf-pari-2.9.4/bin/gp-2.9 -V and found version 2.9.4
ran /nix/store/v2rvjr4kl79kmn1w70lj7zf0dz00p3mf-pari-2.9.4/bin/gp-2.9 -v and found version 2.9.4
ran /nix/store/v2rvjr4kl79kmn1w70lj7zf0dz00p3mf-pari-2.9.4/bin/gp-2.9 --version and found version 2.9.4
ran /nix/store/v2rvjr4kl79kmn1w70lj7zf0dz00p3mf-pari-2.9.4/bin/gp-2.9 -h and found version 2.9.4
ran /nix/store/v2rvjr4kl79kmn1w70lj7zf0dz00p3mf-pari-2.9.4/bin/gp-2.9 --help and found version 2.9.4
found 2.9.4 with grep in /nix/store/v2rvjr4kl79kmn1w70lj7zf0dz00p3mf-pari-2.9.4
found 2.9.4 in filename of file in /nix/store/v2rvjr4kl79kmn1w70lj7zf0dz00p3mf-pari-2.9.4

cc "@ertes @raskin @AndersonTorres"

Success on x86_64-darwin (full log)
Partial log (click to expand)
make[1]: Leaving directory '/private/tmp/nix-build-pari-2.9.4.drv-0/pari-2.9.4'
make[1]: Entering directory '/private/tmp/nix-build-pari-2.9.4.drv-0/pari-2.9.4/doc'
make[1]: Leaving directory '/private/tmp/nix-build-pari-2.9.4.drv-0/pari-2.9.4/doc'
post-installation fixup
gzipping man pages under /nix/store/mfm0qmh2lyi12j2d92l2li8yb2vf962i-pari-2.9.4/share/man/
strip is /nix/store/4sdh09gmvl15cy0zb6i7mbvxh5syz206-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/mfm0qmh2lyi12j2d92l2li8yb2vf962i-pari-2.9.4/lib  /nix/store/mfm0qmh2lyi12j2d92l2li8yb2vf962i-pari-2.9.4/bin
patching script interpreter paths in /nix/store/mfm0qmh2lyi12j2d92l2li8yb2vf962i-pari-2.9.4
/nix/store/mfm0qmh2lyi12j2d92l2li8yb2vf962i-pari-2.9.4/share/pari/misc/gpflog: interpreter directive changed from "/bin/sh" to "/nix/store/pkjmwq7sqrvjg7cjiph6hq0khsmfl6p8-bash-4.4-p12/bin/sh"
/nix/store/mfm0qmh2lyi12j2d92l2li8yb2vf962i-pari-2.9.4/share/pari/misc/xgp: interpreter directive changed from "/bin/sh" to "/nix/store/pkjmwq7sqrvjg7cjiph6hq0khsmfl6p8-bash-4.4-p12/bin/sh"

Success on x86_64-linux (full log)
Partial log (click to expand)
shrinking RPATHs of ELF executables and libraries in /nix/store/v2rvjr4kl79kmn1w70lj7zf0dz00p3mf-pari-2.9.4
shrinking /nix/store/v2rvjr4kl79kmn1w70lj7zf0dz00p3mf-pari-2.9.4/bin/gp-2.9
shrinking /nix/store/v2rvjr4kl79kmn1w70lj7zf0dz00p3mf-pari-2.9.4/lib/libpari-gmp-tls.so.2.9.4
gzipping man pages under /nix/store/v2rvjr4kl79kmn1w70lj7zf0dz00p3mf-pari-2.9.4/share/man/
strip is /nix/store/b0zlxla7dmy1iwc3g459rjznx59797xy-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/v2rvjr4kl79kmn1w70lj7zf0dz00p3mf-pari-2.9.4/lib  /nix/store/v2rvjr4kl79kmn1w70lj7zf0dz00p3mf-pari-2.9.4/bin
patching script interpreter paths in /nix/store/v2rvjr4kl79kmn1w70lj7zf0dz00p3mf-pari-2.9.4
/nix/store/v2rvjr4kl79kmn1w70lj7zf0dz00p3mf-pari-2.9.4/share/pari/misc/gpflog: interpreter directive changed from "/bin/sh" to "/nix/store/zqh3l3lyw32q1ayb15bnvg9f24j5v2p0-bash-4.4-p12/bin/sh"
/nix/store/v2rvjr4kl79kmn1w70lj7zf0dz00p3mf-pari-2.9.4/share/pari/misc/xgp: interpreter directive changed from "/bin/sh" to "/nix/store/zqh3l3lyw32q1ayb15bnvg9f24j5v2p0-bash-4.4-p12/bin/sh"
checking for references to /tmp/nix-build-pari-2.9.4.drv-0 in /nix/store/v2rvjr4kl79kmn1w70lj7zf0dz00p3mf-pari-2.9.4...

Success on aarch64-linux (full log)
Partial log (click to expand)
shrinking /nix/store/44fj711w6pfymkkh7z8r40pgbfwwwiiy-pari-2.9.4/bin/gp-2.9
shrinking /nix/store/44fj711w6pfymkkh7z8r40pgbfwwwiiy-pari-2.9.4/lib/libpari-gmp-tls.so.2.9.4
gzipping man pages under /nix/store/44fj711w6pfymkkh7z8r40pgbfwwwiiy-pari-2.9.4/share/man/
strip is /nix/store/viv0il4zpdqj4p7yamwbmn2k9pb8dcnv-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/44fj711w6pfymkkh7z8r40pgbfwwwiiy-pari-2.9.4/lib  /nix/store/44fj711w6pfymkkh7z8r40pgbfwwwiiy-pari-2.9.4/bin
patching script interpreter paths in /nix/store/44fj711w6pfymkkh7z8r40pgbfwwwiiy-pari-2.9.4
/nix/store/44fj711w6pfymkkh7z8r40pgbfwwwiiy-pari-2.9.4/share/pari/misc/xgp: interpreter directive changed from "/bin/sh" to "/nix/store/xb5jmm0qvf472sa1v2s4aqakfr7lrw33-bash-4.4-p12/bin/sh"
/nix/store/44fj711w6pfymkkh7z8r40pgbfwwwiiy-pari-2.9.4/share/pari/misc/gpflog: interpreter directive changed from "/bin/sh" to "/nix/store/xb5jmm0qvf472sa1v2s4aqakfr7lrw33-bash-4.4-p12/bin/sh"
checking for references to /build in /nix/store/44fj711w6pfymkkh7z8r40pgbfwwwiiy-pari-2.9.4...
/nix/store/44fj711w6pfymkkh7z8r40pgbfwwwiiy-pari-2.9.4


Hangs on bufferoverflow

Hey there. Cool tool!
I'm using a Pokémon Blue cartridge - "DMG-APEU-EUR" and on the trade centre screen I see player "2" who has a list of Mews, but after that the GB stops responding. I've tried on both AGS and GBC, neither seem to execute the payload. I just get a screen that slowly fills with "." (periods) and nothing seems to happen, no matter what option i choose in the python script.
Have you tried on this version of cartridge before? Or do you think I've another issue?
Thanks!

Same thing happens to me.maybe eur version dont work


Upgrade to 2.26

This is a fully functional Jenkins server, based on the Long Term Support release. http://jenkins.io/.

For weekly releases check out jenkinsci/jenkins


#1198 Use php if PHP_BINARY is not defined

PHP_BINARY is available in all recent PHP versions (since 2014)


bug: Old assets not syncing to account profiles

Provide environment information
mac os chrome
Describe the bug
Old assets prior to the marketplace creation are not syncing to user accounts.
You can see this account (0x071538f6445e0c6179b786230a3e7b5ddee40b72673a9b5a395da20f4657bdca) holds multiple beasts.

You can see on the marketplace this is not showing any of the olders assets bar the single new beast that was minted post launch.

Link: https://market.realms.world/wallet/0x71538f6445e0c6179b786230a3e7b5ddee40b72673a9b5a395da20f4657bdca?collection=0x0158160018d590d93528995b340260e65aedd76d28a686e9daa5c4e8fad0c5dd
To reproduce
Go to: market.realms.world to see the current account.
Got to Starkscan to see the current NFTs in the account.

Hi @Calcutatator, I can work on this issue. Could you please assign it to me?


A Typo in Continuous Queries.InfluxQL for creating a CQ

In the example section, the given query is this:

CREATE CONTINUOUS QUERY minnie_jr ON world BEGIN SELECT min(mouse) INTO world."7days".min_mouse FROM world."1day".zoo GROUP BY time(30m) END

But the text below says:

The CQ minnie_jr acts in the same way as the CQ minnie, however, InfluxDB calculates the 30 minute minimum of the field mouse in the measurement zoo and under the retention policy 1day, and it automatically writes the results of the query to the measurement min_mouse under the retention policy 4hours.

So, the typo is that the end of the sentence should be "... and it automatically writes the results of the query to the measurement min_mouse under the retention policy 7days"

Thanks, @AlexanderYAPPO! Fixed by https://github.com/influxdata/docs.influxdata.com/pull/161.


[REVIEW] Reusable benchmark notebook for cuml algos

This notebook is meant to provide:

A standardized reusable benchmark for all single-GPU cuML algorithms.
A way to check / verify upper bounds of algorithms based on input size (samples vs features).

The notebook is intended to be written & maintained in such a way that new algorithms can be plugged in easily as they are committed to the cuML baseline.

@taureandyernv This is ready to be reviewed/merged now.
I'm actually using this benchmark notebook to build charts for a talk next week as well as a talk I'm giving with @oyilmaz-nvidia at GTC.

Hey Corey, i'll have this reviewed by tonight.  I owe cugraph a hard look.
In the mean time, i have these additions i'd love you- and every other notebook- to make: Can you add some markdown showing the notebook credits near the top of notebook.  Here is an example from https://github.com/taureandyernv/notebooks-extended/blob/master/cpu_comparisons/linear_regression_demo.ipynb
Notebook Credits
Authorship
Original Author: Corey Nolet
Last Edit: Corey Nolet, 03/05/2019
Test System Specs
Test System Hardware: DGX-2
Test System Software: Ubuntu 16.04
RAPIDS Version: 0.6.0 - Docker Install
Driver: 410.79
CUDA: 10.0
Known Working Systems
RAPIDS Versions: 0.6


swift package add-dependency automatically resolve a version

Description
swift package add-dependency automatically default to --from, with the latest stable version resolved.
If no stable version, it should just default to the latest available version, possibly with only "upToNextMinor"?
cargo add jwt-authorizer has a similar behavior to what I described.
Expected behavior
swift package add-dependency https://github.com/DiscordBM/DiscordBM

Should result in:
.package(url: "https://github.com/DiscordBM/DiscordBM", from: "1.12.0"),

Notice from: "1.12.0" automatically figured out by the command.
Actual behavior
swift package add-dependency https://github.com/DiscordBM/DiscordBM

Results in:
error: must specify one of --exact, --branch, --revision, --from, or --up-to-next-minor-from

Steps to reproduce
Feature Request - No steps to reproduce.
Swift Package Manager version/commit hash
~ swift package --version
Swift Package Manager - Swift 6.0.0-dev

Swift & OS version (output of swift --version && uname -a)
swift-driver version: 1.109.2 Apple Swift version 6.0 (swiftlang-<IP_ADDRESS>.300 clang-16<IP_ADDRESS>)
Target: arm64-apple-macosx15.0
Darwin ---.local 24.0.0 Darwin Kernel Version 24.0.0: ---; root:xnu-11<IP_ADDRESS>1.3~1/RELEASE_ARM64_T6000 arm64

I think this would be a good improvement, imo the default should be from: "<latest-tag>" which iiuc means up to next major.


Manifest errors, pack version <IP_ADDRESS>

The pack depends on ElecCore but the listed fileID may have been typo'd.
The manifest calls for file 2408169 but the closest file ID matching version 1.10.2 of minecraft is 2408869
(typo of 8 -> 1)
Adding that version of ElecCore then exposes that thermal foundation/expansion aren't downloaded:
Thermal Foundation lists a fileid I can't find at all: (2396623)
Thermal Expansion lists a fileid I can't find at all: (2396369)
Adding the closest versions in terms of fileid number for 1.10.2 that I can find bizarrely tells me the jars want 1.12,  which is odd because the filenames say 1.10.2.  I tried the latest 1.10.2 of each of those and it failed too.
Basically it seems impossible to get the pack off the ground currently.  Note, I was using CMPDL because I use Linux, so if this is all my fault, I'd appreciate guidance on getting the pack up.
Thanks in advance,
Daniel.

Sounds like a cmpdl issur, tbh, because curse generates the manifest.

The manifest in the zip you download from curse is broken then.  Perhaps it's a transient fault on the curse site.  I'll keep an eye out and try again another time.

I know Vazkii updated CMPDL this last week, so perhaps there's something there.
Have you tried using PortableJim's downloader to see if it's the same issue? Would at least help narrow down cause.
https://github.com/portablejim/curseDownloader


What are the Intents that we support?

In LUIS terminology intents are the actions or purposes that a user can request in natural language and in different ways.
Intents are the core of our system. They define the capabilities and limitation of our system.

This list will get updates as we learn more about the potential power of Azure and Windows.

What time is it?
What Date is today?
Where am I?
Who are these guys?
What's in front of me?
Read this text for me.
Translate this text for me.

Perhaps we can make the "What's in front of me" perpetual? This way, the system will give live feedback as the user is walking. Then, we can add "Collision Detection" or "Collision Prevention" into the list of features!

Sorry, I didn't mean to close it^


In dark mode, text selection highlight is too dark

First, let me say that Zavala is positively wonderful and so pleasant to use—I just switched from Omni Outliner. Thank you very much!
A minor nitpick: in dark mode sometimes the selection highlight is very dark and barely discernible. Could be related to hyperlinks (see the attached screenshots).
Non-link text is OK:

Link selection is barely visible:

You are right. It is too hard to see. That green on black doesn’t work too well when it has had some transparency added to it. I’ve made it brighter so that we can see it better.
￼
Look for this change in the upcoming 2.3 release.
-Maurice

On Jan 16, 2024, at 12:07 PM, Gleb Dolgich @.***> wrote:
First, let me say that Zavala is positively wonderful and so pleasant to use—I just switched from Omni Outliner. Thank you very much!
A minor nitpick: in dark mode sometimes the selection highlight is very dark and barely discernible. Could be related to hyperlinks (see the attached screenshots).
Non-link text is OK:
Image.16-01-2024.at.18.04.jpg (view on web) https://github.com/vincode-io/Zavala/assets/32538/d3cdf492-25c5-4550-a5aa-f1051da07252
Link selection is barely visible:
Image.16-01-2024.at.18.02.jpg (view on web) https://github.com/vincode-io/Zavala/assets/32538/4c448f41-c9e2-40fb-87ee-32c99b283da6
—
Reply to this email directly, view it on GitHub https://github.com/vincode-io/Zavala/issues/210, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD5PUG25GFHPWLUFEX2SSI3YO26VBAVCNFSM6AAAAABB5HUSX6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGA4DINJUGI2TINA.
You are receiving this because you are subscribed to this thread.

Excellent, thank you!


Train on 512x512 images

Hi, is it possible to train FaceBoxes on 512x512 images? If so, what would be the drawbacks?

Drawbacks would be it would be designed to detect smaller faces, which are less reliable anyway at the expense of detecting larger faces.
It may perform worse on benchmarks but better at your application.


It takes too long time to render a web page.

In remote debug mode.
I found when I type twice '__run()' command in the console.
The page.onLoadFinished quickly be called.
But if I just type one '__run()',
I have to wait for long several minutes .
It very strange to me.
Phantomjs ver : 2.1.1

I have solved the problem.
For Google service being blocked by GFW,
when web pages request a google javascript code,
the process seems not respond.
By disable the request, the web page runs well.
page.onResourceRequested = function(requestData, networkRequest) {     var match = requestData.url.match('google');     if (match) {         system.stdout.writeLine('req send: ' + requestData['url']);         networkRequest.changeUrl('');     } };


An alternative way of translating the names of items does not work

Describe the bug
I have embedded the following translation into the mod file:
ru_ru.zip
The original translation method works, but the alternative one doesn't. In this case, I used the key block.architecture_extensions.minecraft.stone_round_arch, but it had no effect.

modificated by me version of mod architecture_extensions-3.3.0+1.20.1.zip
Which side have you encountered the bug on?
Client
Logs
No response
Additional context
mod version: v3.3.0+1.20.1

I believe this has been fixed in 3.4.0 of Arch-Ex

That would be nice

The included ru_ru file really helped locate the problem! I have a fix incoming.

Good to know


Adding the chacha20-poly1305 construction (standard version)

So, I'm thinking of using SodiumOxide in Thrussh, my SSH library, but I'd need this PR to be merged and on crates.io relatively soon, is this doable?

Thanks for the pull request. I might be able to merge this weekend, but I
need some test vectors and unit tests as well. Take a look at the tests for
the other cryptographic primitives for reference. For each test vector you
add please also add a source to where the test vector is from.
On Fri, 1 Dec 2017 at 17:45, Pierre-Etienne Meunier <
<EMAIL_ADDRESS>wrote:

So, I'm thinking of using SodiumOxide in Thrussh, my SSH library, but I'd
need this PR to be merged and on crates.io relatively soon, is this
doable?
You can view, comment on, or merge this pull request online at:
https://github.com/dnaq/sodiumoxide/pull/180
Commit Summary

Adding the chacha20-poly1305 construction (standard version)

File Changes

M libsodium-sys/src/crypto_aead_chacha20poly1305.rs
https://github.com/dnaq/sodiumoxide/pull/180/files#diff-0 (21)
A src/crypto/aead/chacha20poly1305.rs
https://github.com/dnaq/sodiumoxide/pull/180/files#diff-1 (187)
A src/crypto/aead/mod.rs
https://github.com/dnaq/sodiumoxide/pull/180/files#diff-2 (13)
M src/lib.rs
https://github.com/dnaq/sodiumoxide/pull/180/files#diff-3 (1)

Patch Links:

https://github.com/dnaq/sodiumoxide/pull/180.patch
https://github.com/dnaq/sodiumoxide/pull/180.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dnaq/sodiumoxide/pull/180, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABPVBQdMpzU-GVBbR11LHwQ2y3u316bAks5s8C0dgaJpZM4Qym13
.

Implemented in 5d53fab116011dba7fd32eedf684b1e1106743d4


Game screen orientation changes even when system orientation is locked

Find a proper setting in the Android app manifest to adhere to the system screen orientation.

Fixed in Release 1.4


Reactive-gRPC 0.10.0-RC1

Hello. We've released Reactive-gRPC 0.10.0-RC1. Would you be willing to try it out and report any findings?
https://github.com/salesforce/reactive-grpc/releases/tag/v0.10.0-RC1

Hi @rmichela,
Sorry for taking sooooo long :) I confirm that at least the tests pass with 0.10.0 (release) 🎉
I will request production evaluation from one of the companies that uses Liiklus in prod to verify that it works from them too 👍


Fix/cancel pool

Cancel pool state management

Removed the deprecated deposit function from savingsAccount

Added ability to withdraw to a specified address rather than restricting to the sender only.


fix failing tests for run job every month and run job every year

Using 366 days in a year and 31 days in a month was causing the tests to have 4 assertions instead of just 3.

Changed days in a month to 29.53 http://en.wikipedia.org/wiki/Month
Changed days in a year to 365.25 http://en.wikipedia.org/wiki/Year

@jonhester Were the tests failing consistenly or just sometimes? I can reproduce it locally. OTOH applying your changes I get these errors:
✖ .scheduleJob(cron_expr, fn) - Runs job every month

Error: Expected 3 assertions, 2 ran
    at test.done (/home/sgimeno/node/node-schedule/node_modules/nodeunit/lib/types.js:121:25)
    at /home/sgimeno/node/node-schedule/node_modules/nodeunit/lib/core.js:219:25
    at /home/sgimeno/node/node-schedule/node_modules/nodeunit/deps/async.js:168:13
    at /home/sgimeno/node/node-schedule/node_modules/nodeunit/deps/async.js:131:25
    at /home/sgimeno/node/node-schedule/node_modules/nodeunit/deps/async.js:165:17
    at /home/sgimeno/node/node-schedule/node_modules/nodeunit/deps/async.js:463:34
    at Object.module.exports..scheduleJob(cron_expr, fn).tearDown (/home/sgimeno/node/node-schedule/test/schedule-cron-jobs.js:127:13)
    at /home/sgimeno/node/node-schedule/node_modules/nodeunit/lib/core.js:260:35
    at /home/sgimeno/node/node-schedule/node_modules/nodeunit/deps/async.js:458:21
    at /home/sgimeno/node/node-schedule/node_modules/nodeunit/deps/async.js:163:13

✖ .scheduleJob(cron_expr, fn) - Runs job every year

Error: Expected 3 assertions, 2 ran
    at test.done (/home/sgimeno/node/node-schedule/node_modules/nodeunit/lib/types.js:121:25)
    at /home/sgimeno/node/node-schedule/node_modules/nodeunit/lib/core.js:219:25
    at /home/sgimeno/node/node-schedule/node_modules/nodeunit/deps/async.js:168:13
    at /home/sgimeno/node/node-schedule/node_modules/nodeunit/deps/async.js:131:25
    at /home/sgimeno/node/node-schedule/node_modules/nodeunit/deps/async.js:165:17
    at /home/sgimeno/node/node-schedule/node_modules/nodeunit/deps/async.js:463:34
    at Object.module.exports..scheduleJob(cron_expr, fn).tearDown (/home/sgimeno/node/node-schedule/test/schedule-cron-jobs.js:127:13)
    at /home/sgimeno/node/node-schedule/node_modules/nodeunit/lib/core.js:260:35
    at /home/sgimeno/node/node-schedule/node_modules/nodeunit/deps/async.js:458:21
    at /home/sgimeno/node/node-schedule/node_modules/nodeunit/deps/async.js:163:13

I meant: I can't

Hmmm...wonder if time zone is the issue.
Here is what I get on current master
✖ .scheduleJob(cron_expr, fn) - Runs job every month

Error: Expected 3 assertions, 4 ran
    at test.done (/Users/jon/Development/node-schedule/node_modules/nodeunit/lib/types.js:121:25)
    at /Users/jon/Development/node-schedule/node_modules/nodeunit/lib/core.js:219:25
    at /Users/jon/Development/node-schedule/node_modules/nodeunit/deps/async.js:168:13
    at /Users/jon/Development/node-schedule/node_modules/nodeunit/deps/async.js:131:25
    at /Users/jon/Development/node-schedule/node_modules/nodeunit/deps/async.js:165:17
    at /Users/jon/Development/node-schedule/node_modules/nodeunit/deps/async.js:463:34
    at Object.module.exports..scheduleJob(cron_expr, fn).tearDown (/Users/jon/Development/node-schedule/test/schedule-cron-jobs.js:127:13)
    at /Users/jon/Development/node-schedule/node_modules/nodeunit/lib/core.js:260:35
    at /Users/jon/Development/node-schedule/node_modules/nodeunit/deps/async.js:458:21
    at /Users/jon/Development/node-schedule/node_modules/nodeunit/deps/async.js:163:13

✖ .scheduleJob(cron_expr, fn) - Runs job every year

Error: Expected 3 assertions, 4 ran
    at test.done (/Users/jon/Development/node-schedule/node_modules/nodeunit/lib/types.js:121:25)
    at /Users/jon/Development/node-schedule/node_modules/nodeunit/lib/core.js:219:25
    at /Users/jon/Development/node-schedule/node_modules/nodeunit/deps/async.js:168:13
    at /Users/jon/Development/node-schedule/node_modules/nodeunit/deps/async.js:131:25
    at /Users/jon/Development/node-schedule/node_modules/nodeunit/deps/async.js:165:17
    at /Users/jon/Development/node-schedule/node_modules/nodeunit/deps/async.js:463:34
    at Object.module.exports..scheduleJob(cron_expr, fn).tearDown (/Users/jon/Development/node-schedule/test/schedule-cron-jobs.js:127:13)
    at /Users/jon/Development/node-schedule/node_modules/nodeunit/lib/core.js:260:35
    at /Users/jon/Development/node-schedule/node_modules/nodeunit/deps/async.js:458:21
    at /Users/jon/Development/node-schedule/node_modules/nodeunit/deps/async.js:163:13

FAILURES: 2/125 assertions failed (114ms)
npm ERR! Test failed.  See above for more details.
npm ERR! not ok code 0

I'm in America/New_York

@jonhester Yes, it could be. I'm at Madrid / Spain (GMT + 1)
From what I understand sinon resets the current date to 0 when starting using fake timers, I don't know if there could be an issue with that.
Could you add this line in function runOnDate around lib/schedule.js: 362 and run the tests again:
console.log(now, then, [ then - now ].join('-'));

@santigimeno Here you go.
0 18000000 '18000000'
18000000<PHONE_NUMBER> '2678400000'
2696400000<PHONE_NUMBER> '2419200000'
5115600000<PHONE_NUMBER> '2678400000'
7794000000<PHONE_NUMBER>0 '2588400000'
✖ .scheduleJob(cron_expr, fn) - Runs job every month

Error: Expected 3 assertions, 4 ran
    at test.done (/Users/jon/Development/node-schedule/node_modules/nodeunit/lib/types.js:121:25)
    at /Users/jon/Development/node-schedule/node_modules/nodeunit/lib/core.js:219:25
    at /Users/jon/Development/node-schedule/node_modules/nodeunit/deps/async.js:168:13
    at /Users/jon/Development/node-schedule/node_modules/nodeunit/deps/async.js:131:25
    at /Users/jon/Development/node-schedule/node_modules/nodeunit/deps/async.js:165:17
    at /Users/jon/Development/node-schedule/node_modules/nodeunit/deps/async.js:463:34
    at Object.module.exports..scheduleJob(cron_expr, fn).tearDown (/Users/jon/Development/node-schedule/test/schedule-cron-jobs.js:127:13)
    at /Users/jon/Development/node-schedule/node_modules/nodeunit/lib/core.js:260:35
    at /Users/jon/Development/node-schedule/node_modules/nodeunit/deps/async.js:458:21
    at /Users/jon/Development/node-schedule/node_modules/nodeunit/deps/async.js:163:13

0 18000000 '18000000'
18000000<PHONE_NUMBER>0 '31536000000'
31554000000<PHONE_NUMBER>0 '31536000000'
63090000000<PHONE_NUMBER>0 '31622400000'
94712400000<PHONE_NUMBER>00 '31536000000'
✖ .scheduleJob(cron_expr, fn) - Runs job every year

Error: Expected 3 assertions, 4 ran
    at test.done (/Users/jon/Development/node-schedule/node_modules/nodeunit/lib/types.js:121:25)
    at /Users/jon/Development/node-schedule/node_modules/nodeunit/lib/core.js:219:25

@jonhester That first line is weird. I've got:
0<PHONE_NUMBER> '2674800000'
2674800000<PHONE_NUMBER> '2419200000'
5094000000<PHONE_NUMBER> '2678400000'
7772400000<PHONE_NUMBER>0 '2592000000'
✔ .scheduleJob(cron_expr, fn) - Runs job every month
0<PHONE_NUMBER>0 '31532400000'
31532400000<PHONE_NUMBER>0 '31536000000'
63068400000<PHONE_NUMBER>0 '31622400000'
94690800000<PHONE_NUMBER>00 '31536000000'
✔ .scheduleJob(cron_expr, fn) - Runs job every year

I don't know if I'll be able to look at it this until Monday. Thanks for the report!

@tejasmanohar I don't think this should be merged until we understand the issue better

@santigimeno @tejasmanohar agreed

@santigimeno @tejasmanohar It'd be great if this was hooked up to travis to run the tests automatically on every pull request

@jonhester I can confirm is a timezone issue. I've changed my timezone to NYC and get the same results as you.

So I fixed it for me and broke it for you.

Oh snap... Hmm. I guess we'll have to file another PR for the timezone fixes.


Not working on IIS / Server 2022

If you use provided code for Blazor WebAssembly to upload file to a server and it is working perfect on developer's machine BUT it does not work on 2022 server with IIS, try this
replace
var response = await Http.PostAsync("/Filesave", content);
with
var response = await Http.PostAsync("/filesave", content);
Yes, the api endpoint should be all lowercase!!!

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

ID: 5ea474d5-234a-f393-8609-892a2deb5d2e
Version Independent ID: c11d981c-05af-c19d-a333-feedd5978639
Content: ASP.NET Core Blazor file uploads
Content Source: aspnetcore/blazor/file-uploads.md
Product: aspnet-core
Technology: aspnetcore-blazor
GitHub Login: @guardrex
Microsoft Alias: riande

Hello @gignat ... I don't quite follow. Exactly what's the problem?

Are you merely remarking on the format (casing) of the URL, or are you reporting an upload failure? If it's an upload failure, then did you investigate further (e.g., logging on the server)?

If you're just reporting that you need the app to make the URLs all lowercase, try this ...
builder.Services.AddRouting(options =>
    {
        options.LowercaseUrls = true;
        options.LowercaseQueryStrings = true;
    });

I'm going to close because I think you're merely reporting a problem with the URL casing, and that's not a focus of the guidance here.

Unfortunately, I just found out that the Blazor Router doesn't provide a RouteOptions feature. You'll need to adjust hard-coded URL paths for the server that you're using, use rewriting on the server, or change IIS behavior to case-insensitive routing.

Of course I investigated on the server: that api endpoint is not hit at all as long as the url is not entirely lowercase.
Not saying it is a bug, but merely the sample code provided will work in development but will fail on IIS/2022 Server.

🤔
Hummmmmmmmmmmm ....
Well, I'm not opposed to making this and all of the endpoint links lowercase for Blazor's HttpClient calls, in this doc and the other docs. Kestrel is fine with it. It would open up the IIS case. Still tho, that's a significant change given that the Blazor project templates configured to make such a call in the Weather Forecast Service example cases the request URL ...
https://github.com/dotnet/aspnetcore/blob/main/src/ProjectTemplates/Web.ProjectTemplates/content/ComponentsWebAssembly-CSharp/Client/Pages/FetchData.razor#L58
Let me ask on this point what Dan thinks about it. We don't want to make a sweeping change like this without careful consideration ... i.e., ask the boss! 🤣
However, let me ping him next week. We're on the three-day holiday weekend now for President's Day. It's the last day off we formally get until Memorial Day.

@gignat ... Are you sure that you don't have a rewrite rule in place on the server? IIS should be case sensitive but not be enforcing all lowercase URLs without some "help" ... e.g., URL Rewriting Module.


Increase information density on mobile stylesheet

The mobile stylesheet for the Web Fundamentals website uses large fonts and a lot of vertical margins. These look great on desktop, but I was trying to read this today inside Nuzzel's chrome and had to Pocket it as there just isn't much content within a screenful. The screenshot is admittedly cherry-picked but conveys the basic issue that applies elsewhere.
I think it just needs a small amount of tweaking the mobile stylesheet to be much more readable on phones.

Vertical spacing is something that has frustrated me for a long time. I
like the general font size but headings are certainly way to large
On Mon, 30 Mar 2015 20:46 Michael Mahemoff<EMAIL_ADDRESS>wrote:

The mobile stylesheet for the Web Fundamentals website uses large fonts
and a lot of vertical margins. These look great on desktop, but I was
trying to read this today inside Nuzzel's chrome and had to Pocket it as
there just isn't much content within a screenful. The screenshot is
admittedly cherry-picked but conveys the basic issue that applies elsewhere.
I think it just needs a small amount of tweaking the mobile stylesheet to
be much more readable on phones.
[image: 2015-03-30_14_46_30_png_and_new_issue_ _google_webfundamentals]
https://cloud.githubusercontent.com/assets/55860/6905127/bea38dd0-d71d-11e4-9ab0-aa2407838b78.jpg
—
Reply to this email directly or view it on GitHub
https://github.com/google/WebFundamentals/issues/1202.

I'm going to close this for now as we're working on a complete site refresh using material design lite which should fix this issue.


feat: add gpu support to executors

This PR adds GPU support and tests to compatible executors.

Make sure to also test the docker image as I am doing in docker-tests

Make sure to also test the docker image as I am doing in docker-tests

Do you mean just starting it with the default entry point?

Let's stop at the executors we have now - adding more can be done in other PRs. The main goal of this one is to get the infrastructure for GPU CI/CD in plance, the rest can follow

Let's stop at the executors we have now - adding more can be done in other PRs. The main goal of this one is to get the infrastructure for GPU CI/CD in plance, the rest can follow

I am totally agreed on this.

As for the failing tests on paddlepaddle, I think the main issue is the missing dependency of opencv-python

Another issue is about black, https://github.com/jina-ai/executors/pull/128/checks?check_run_id=3464128680#step:7:31

Ready to merge - Reviews would be nice

Party hard


[fix] COMPLEX_SELECTOR_PREFIX.includes wasn't transpiled

COMPLEX_SELECTOR_PREFIX.includes wasn't transpiled,
causing issues in Internet Explorer 11 due lack of compatibility.
The fix is just replacing it for indexOf, in the meantime, the solution is to roll back to v5.2.0
CAUSE
The transpilation done with babel is not transpiling deep enough, as other Array.prototype.includes are being correctly transpiled, this single one (maybe because of being in the middle of an if statement or something fancy like that) seems to not be transpiled.
EFFECT
IE 11 is not compatible with this property of the array object, producing an error.
TEST
Compile the project and search for ".includes" in the minified file.
FIX
Replacing ".includes" for ".indexOf" for compatibility
PREVENTION
Consider adding some bundle validation as part of the Pull Request validation, making sure your bundle transpiles correctly for the browsers supported before merging into master.

@probablyup, I applied the changes again on top of legacy-v5, sorry about the other PR, I realised the version wasn't following master too late.
Thanks also about the update towards v6 not supporting IE, we still have to support it so I'll try to keep an eye on legacy-v5 👍


Added safety checks to fishhook.c

Fixes a crash that would occur on devices running iOS 13. fishhook.c would access bad memory, this adds safety checks to the offending line. This fixes #61

We've been talking about this here. Apparently you can remove that code altogether. I'll reopen this PR once I see how they remove it specifically

Hello, I am experiencing the same problem.
I Use this program，but hook would be invalid.
Why   indirect_symbol_bindings  would out of bounds?  Can you give me some prompt or inspiration.
And thanks.

Pulled and Testing on a 13 Beta device I had available and PR works well and as designed 👌

Any idea of the condition under which it happens?

Have you tested this locally to verify that the symbols were still rebinded?
indirect_symbol_bindings is a void** so sizeof() will return 8 bytes on arm64, then indirect_symbol_bindings[0] has the same size which means the line is simplified:
if (i < (8 / 8)) { ... }
I am not sure what check you are trying to add but I don't think that's the right code for it. You might have been hoping that sizeof(ptr) returns the total size of the array, but this only works for statically allocated arrays, with a size known by the compiler at compile time (here it's not).


Unnecessary  tags in resource page

Description
Unnecessary  tags are used in all the resource pages.
Reproduction

open docs folder
then navigate to _site folder
all the index.html files in each folder contains this error ( specifically while rendering the title for the page )
See error.
This is also seen in the resource.html in the _layout file.

Expectation
remove this redundant a tag as it not only confuses the reader but disrupts the intended working of the website
Screenshots

Resolution

[x] I would be interested in resolving this bug.

@possumbilities can i start working on this issue if you could approve this issue?

@C-NikhilKarthik  _site is a build folder that gets created when you run 'docker compose up' so you only need to update the resource.html file. Also, I can see the h2 tag is closed with h3 tag so correct that as well after the PR gets approved.

@possumbilities i have raised a PR , in which i have resolved all the above mentioned fixes. Hope you review the same provide the necessary feedbacks.


Call to load credentials with FirebaseAdmin does not work

Usually I post my issues on stack exchange, because I'm assuming the problem is mine. So I've done that...
But It occurs to me that on this one maybe I should log a bug. Sure seems to be one. So here's what I wrote...
I am working with FirebaseAdmin 1.9.1 and attempting to use the recommended method for this call:
FirebaseApp.Create(new AppOptions()
{
  Credential = credential,
});

From all that I read, I can load the credential paramater via this...
var credential = await GoogleCredential.GetApplicationDefaultAsync();

or this
credential = GoogleCredential.FromFile("/your/path/to/glory/google-service-accounts.json");

And if the value of a special environment variable is set as so...
"GOOGLE_APPLICATION_CREDENTIALS": "/your/path/to/glory/google-service-accounts.json",

...the two approaches should produce the same, working, result.
Not so! Not so.
The 2nd version works, but the first, recommended, approach? Using GetApplicationDefaultAsync?
Not so much.
I have checked and re-checked, and the two strings containing "/your/path/to/glory/google-service-accounts.json" are identical, though obviously not the value I've pasted here.
GOOGLE_APPLICATION_CREDENTIALS I copied and pasted directly. And I can see it properly set in the environment variables.
In fact, just to add salt to my wounds, I tried this...
credential = GoogleCredential.FromFile(_configuration["GOOGLE_APPLICATION_CREDENTIALS"]);

And the credentials DID load.

GoogleCredentials API is part of https://github.com/googleapis/google-api-dotnet-client, so that's where you should really report this. But in any case, I'd be extremely surprised if this turns out to be a bug. Application default credentials are the common and preferred way to use these APIs, and we will be dealing with multiple bug reports if there was a bug. We also have the following unit test that verifies this behavior:
https://github.com/firebase/firebase-admin-dotnet/blob/83222d3b44760603c5a41424e199b69eeebaff5c/FirebaseAdmin/FirebaseAdmin.Tests/FirebaseAppTest.cs#L165-L179
How did you determine that it doesn't work? What errors are you getting?

Thanks for your reply -- apologies for logging this issue in the wrong place!
Yes, it does seem strange and suspicious for me to be the only one with this problem... however the code is as shown above.
I don't get errors until a REST call activates the API.
The symptom is that the credentials go (in the below code) from having proper values for everything (Id, ProjectId, etc) to having essentially nothing set at all. I have this code in an ASP.NET Core 3.0 project, set up in ConfigureServices(). I can watch as I step through to below and see the first set to credential succeed and then the 2nd wipe it out.
    public class FireBaseService: IHostedService
    {
        private static IConfiguration _configuration;

         public FireBaseService(IConfiguration configuration)
            {
                _configuration = configuration;
            }

        public async Task StartAsync(CancellationToken cancellationToken) {

            GoogleCredential credential = null;

                credential = GoogleCredential.FromFile(_configuration["GOOGLE_APPLICATION_CREDENTIALS"]);
                credential = await GoogleCredential.GetApplicationDefaultAsync();
            FirebaseApp.Create(new AppOptions()
            {
                Credential = credential,
            });
            return;
        }
        public Task StopAsync(CancellationToken cancellationToken) => Task.CompletedTask;
    }
}

What is the exact error you are getting?

I can watch as I step through to below and see the first set to credential succeed and then the 2nd wipe it out.

What does that mean? Does it get set to null? I would expect FirebaseApp.Create() to throw if the Credential option was null. So that cannot be it:
https://github.com/firebase/firebase-admin-dotnet/blob/83222d3b44760603c5a41424e199b69eeebaff5c/FirebaseAdmin/FirebaseAdmin/FirebaseApp.cs#L72-L75
Also try adding the following line to your code and ensure it prints the correct path:
Console.WriteLine(Environment.GetEnvironmentVariable("GOOGLE_APPLICATION_CREDENTIALS"));

You can see here that the first thing it does is to look up the GOOGLE_APPLICATION_CREDENTIALS env variable:
https://github.com/googleapis/google-api-dotnet-client/blob/master/Src/Support/Google.Apis.Auth/OAuth2/DefaultCredentialProvider.cs#L84
My guess is that your env variable is not set correctly (or it is not set in a way that is visible to your running process). This causes it to fallback to one of the other credential discovery mechanisms, and ends up finding the wrong credentials.

Believe you me, I've looked at that code in the last 24 hours! I understand. However that would be the $64,000 question. Why (??) can the ASP.NET Core 3.0 project find the environment variable just fine--via secrets--and load it into environment variables... oh, wait, rubber duck programming at work here... secrets are not environment... are they? Let me moving that setting... try that again, this time not using secrets. Ummm yeah, you helped me there, my friend! Closing this case. It was secrets vs environment, and I forgot there was a difference, because they all get lumped together at startup.


Update analogWrite.cpp to heal breaking changes on LEDC API.

The LEDC API has been changed.
ledcAttach used to set up the LEDC pin (merged ledcSetup and ledcAttachPin functions)
For more information, see
[1] https://github.com/espressif/arduino-esp32/blob/master/docs/en/api/ledc.rst (23.08.2024)
Changes were tested on ESP32-WROOM-32 hardware.
fix for https://github.com/erropix/ESP32_AnalogWrite/issues/15

Thank you for the help, I will adjust the other files and release a new version


fixes apng building accordingly node-apng documentation

node-apng documentation says that delays are equal to numerator/denominator seconds. The way it was implemented before was resulting in wrong time of delays between frames.

Thank you!


ComboBoxListItemPicker fetching only 100 items~! It should fetch all items from a list?

Category
[X] Enhancement
[ ] Bug
[ ] Question
Version
Please specify what version of the library you are using: [         ]
"@pnp/spfx-controls-react": "1.18.0"
"@microsoft/sp-core-library": "1.10.0",
"@microsoft/sp-lodash-subset": "1.10.0",
"@microsoft/sp-office-ui-fabric-core": "1.10.0",
"@microsoft/sp-property-pane": "1.10.0",
"@microsoft/sp-webpart-base": "1.10.0",
"@pnp/sp": "^2.0.4",
Expected / Desired Behavior / Question
Currently ComboBoxListItemPicker control can fetch first 100 items from list. Expected behavior is to fetch all the items from list for specified column.
Observed Behavior
ComboBoxListItemPicker can fetch only first 100 items and not all items from list.
Steps to Reproduce

Create react based spfx webpart.
Add ComboBoxListItemPicker control as described in article:
https://pnp.github.io/sp-dev-fx-controls-react/controls/ComboBoxListItemPicker/
<ComboBoxListItemPicker listId='da8daf15-d84f-4ab1-9800-7568f82fed3f' columnInternalName='Title' keyColumnInternalName='Id' filter="Title eq 'SPFx'" onSelectedItem={this.onSelectedItem} webUrl={this.context.pageContext.web.absoluteUrl} spHttpClient={this.context.spHttpClient} />
For next steps make sure you are at-least having office 365 dev subscription.
Create a custom/generic list - Countries.
Enter in "Quick Edit" mode of list and enter values from below mentioned link in "Title" column:
https://alphabetizer.flap.tv/lists/list-of-all-world-countries.php
Map Countries list and Title column with ComboBoxListItemPicker.
Run the project. It will fetch only first 100 items from list and not all the items.

Thanks!

Hi @ashishasolkar!
Thank you for reporting this bug!
I've added itemLimit property to the component. You can use it to fetch more that 100 items (which is default).
Please, test the functionality in beta version.
It will also be available in the next release.


Datagrid disrupting focus when destroyed

Bug Description
Prerequisites

clr-dg-datagrid must be used by a component
clr-dg-pagesize must be used as a child component of requirement #1's clr-dg-datagrid

Description
If an element outside the datagrid currently has focus, that element will lose focus if the datagrid is removed from the page.
How to reproduce
See this Stackblitz example. The example displays a Clarity datagrid with a child component that displays the page size. The datagrid is housed in a div like this:

 0"><clr-datagrid> [more code]</clr-datagrid>

The intention is for the datagrid to only display if there are rows to display.
It also has an input element with an id defined as 'example', and a button that calls this function:
onBtnClick() {     document.getElementById('example').focus();     this.knights = new Array<Info>();   }
Steps to reproduce the behavior:

Click on the button 'Click this'
Note the function being called executes and the array holding information for the datagrid is reset. Angular correctly detects this change and removes the datagrid, but the input does not have focus.

Expected behavior
The focus of elements should be unaffected by the removal of Clarity components from the page.
Versions
App

Angular: 8.2.7
Node: 8.9.4
Clarity: 2.2.0

Device:

Type: HP Elitebook
OS: Windows 10
Browser Chrome
Version 76

Additional notes
The root cause appears to be that, when the child component for the page size is removed, then this code is called:
datagrid-pagination.ts:
ngOnDestroy() {
    --> this.page.resetPageSize();
    if (this._pageSubscription) {
      this._pageSubscription.unsubscribe();
    }
  }

And the datagrid is listening for changes to the pagesize, where it sets focus to itself if there are any changes to the page size:
datagrid.ts:
this.page.change.subscribe(() => {
        this.datagridTable.nativeElement.focus();
      }),

The issue is that (1) some other element had focus at the time, and (2) the entire datagrid is being destroyed anyway, and so the datagrid should be unconcerned with whether it has focus.
On the one hand, it could be argued that this could be considered an iteration of the longstanding need in Angular for ngBeforeDestroy. If an ngBeforeDestroy were to be called before the Clarity components are destroyed, then the datagrid can ignore questions of where to focus since doom is nigh.
On the other hand, it could be argued that the intention of focusing on the datagrid when the datagrid's child components are destroyed assumes that focus was on the child component in the first place. In the case of the removal of the datagrid entirely, this is an invalid assumption. Maybe the Clarity element that currently has focus could be tracked in a service, and the datagrid would only take focus when one of its children lost focus. This is a lot uglier than waiting for OnBeforeDestroy though.

Note that this bug can also cause unwanted scrolling.  However there's not enough on the page of the StackBlitz example to manifest this additional symptom.
There is a general purpose workaround for the lack of an ngBeforeDestroy.  Insert a child component and it's guaranteed to be destroyed first, therefore it can send a warning to its parent.  e.g.
<on-destroy-canary (destroyWarning)="ngBeforeDestroy()"></iw-on-destroy-canary>

Which I've implemented thus
import { Component, EventEmitter, OnDestroy, Output } from '@angular/core';

@Component({
    selector: 'on-destroy-canary',
    template: ''
  })
export class OnDestroyCanaryComponent implements OnDestroy {

  @Output() destroyWarning = new EventEmitter<{}>();

  ngOnDestroy() {
    // We have been destroyed.  Therefore our parent is about to be
    // destroyed (because we never put attribute-conditionals
    // such as *ngIf on an <on-destroy-canary>, that would defeat
    // the purpose).  Warn the parent of it's impending fate
    // (your canary has died, you need to leave the mine now!)
    this.destroyWarning.emit();
  }

}

In this case the inserted component is more difficult to place correctly because we need to ensure the inserted component is positioned correctly so that is it destroyed before the pagination control, not just the datagrid itself.
I'll continue so as to present a complete workaround for the present bug, but I'm not at all proud of what I do when I receive the manufactured ngBeforeDestroy event.   You're welcome to tell me this is very ugly, and even more welcome to tell me how it could be improved upon, but it does prevent the unwanted focus( ) call from having any effect for want of a visible target to focus upon.
  constructor(private element: ElementRef) {
    super();
  }

  hideRecursive(elm) {
    elm.style.display = 'none';
    for (const child of elm.children) {
      this.hideRecursive(child);
    }
  }

  ngBeforeDestroy() {
    // We're about to be destroyed.  It would be a shame if focus() was called on a child
    // element, especially if this caused us to scroll to an element that is about to be
    // destroyed (https://github.com/vmware/clarity/issues/3840).  This is very crude, but
    // we hide by setting the 'display: none' style on ourself and recursively all
    // children, so calling focus() on these elements will have no effect as there won't
    // be anything to focus on.
    this.hideRecursive(this.element.nativeElement);
  }

Can you elaborate on how this can cause unwanted scrolling? I made a new Stackblitz example, and I don't see any scrolling happen, but obviously there are a lot of elements out there, so you might know something that I don't.
The workaround that I ended up using follows the same principle as yours, where the child element notifies the parent element that OnDestroy was called via an EventEmitter. It just so happens that the child element exclusively houses the clr-datagrid too, so that when the datagrid goes away, that is the only thing affected. Essentially the datagrid doubles as the canary. Like so:

 0"> <my-datagrid [datagridKnights]="knights" (destroyed)="refocus()" ></my-datagrid>

Note that if we were to house the containing div in my-datagrid, my-datagrid is actually not destroyed between Angular lifecycles: the *ngIf is an important part of the construct here.

umm... you don't see unwanted scrolling in your latest Stackblitz example because you've already applied a workaround to it?
<input id="example">
<button (click)="onBtnClick()">Click this</button>

 0">
<my-datagrid [datagridKnights]="knights" (destroyed)="refocus()" ></my-datagrid>

If you remove the 'destroyed' property from  you should see the unwanted scrolling behavior restored.  Thank you very much for reproducing my bug (or very nearly - easy mistake to make!), I'm relieved it didn't turn out to be more obscure.

This bug has been fixed in https://github.com/vmware/clarity/pull/3872. So you will get the fix if you upgrade your Clarity version to 2.3.0: https://clarity.design/news/2.3.0


Missing image in the documentation

There is a broken image on the main page of the documentation. The image is in the repository (https://github.com/HubSpot/Singularity/blob/master/Docs/images/singularity.png) but it's not in the deployed version (http://getsingularity.com/Docs/images/singularity.png).

image is fixed now


Last raw pointer in libretro branch

https://github.com/emu-rs/rustual-boy/blob/9c6cc4a4ab183256c6360cada0b0b8ecb49be94b/rustual-boy-core/src/v810.rs#L113
It's probably last raw pointer on libretro branch. It might be the cause of deserialization errors.

Thanks for the tip!
Unfortunately this points to memory that's never re-allocated when applying the save state, and thus wouldn't point to old memory or anything, so it should be correct. The issue must be elsewhere.


fwup --help issue

/fwup$ fwup --help
Segmentation fault (core dumped)
Running on Virtual Box, Ubuntu 14.04

Well, that's embarrassing... I can't say that I run --help that much, and it's not in the unit tests. I'll check it out after I get back. Thank you very much for sending the report.

No problem it happens.
I'm looking forward to using fwup on my projects!

Amazingly, running "--help" does not produce a segfault on my system. However, I think I found an issue. Could you update to the latest in master and see if it fixes it?

That fixed it! No more seg fault.

Great! Thanks again for letting me know.


Installing language files from mapped drive gives errors

Using the script under section "Create a custom Windows 10 Enterprise multi-session image automatically" when using a mapped drive (as instructed) instead of the full UNC path I recieve errors.
When using a mapped drive, for the Add-AppProvisionedPackage I got :
Add-AppProvisionedPackage : The parameter is incorrect.
For the Add-WindowsPackage I got:
Add-WindowsPackage : Invalid package path
If I set the $LIBContent variable to the full UNC path (e.g. \storageaccount.file.core.windows.net\lanaguage", the packages install successfully.

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

ID: a8d3194d-974c-f014-cd0a-6ec611952281
Version Independent ID: 52951f02-174b-a688-bca0-4f93cc6f7e8b
Content: Install language packs on Windows 10 VMs in Windows Virtual Desktop - Azure
Content Source: articles/virtual-desktop/language-packs.md
Service: virtual-desktop
GitHub Login: @Heidilohr
Microsoft Alias: helohr

@jonclyde Thank you for sharing your query! We are currently investigating and will get back to you shortly on this.

@jonclyde Thank you for sharing your query! We are currently investigating and will get back to you shortly on this.

@jonclyde Can you please confirm Did you run the script in a user context that has access to the mapped drive?
Thanks

@psmanhas it was running in administrator context and appears that was the issue.
I don't see a specific need to use the mapped drive, so I'll use UNC path in future.

@jonclyde Thanks for the confirmation. We will now close this issue. If there are further questions regarding this, please tag me in a comment. I will reopen it and we will continue the discussion.
Thanks


Cannot use hostname instead of IP

Hello,
The commit a0ff4d7cf92a08cf028a5b16c02380bebdb75e06 made it impossible to use a hostname in the "Public IPv4 address" question.
Previously I've used that to specify a ddns hostname for an OpenVPN server that was on a residential connection that changes IP every so often.
Is the current behavior the correct one? If so, is there a recommended way to use this script on a connection with dynamic IP assignment?

Thanks for the issue. I added it back in https://github.com/angristan/openvpn-install/commit/cfa5eed6bd562e563d2efa64eff7a31fe4ffc6e0.

Thank you very much.
Also, thank you for the great script. It made it really easy to set up a VPN to my server at home.

Hello guys, i know this is an old reply, but if I wanted to also use my hostname how would Iwrite it down, right now i am using my public ip address like this(example)
: "<IP_ADDRESS>", i tried to put my hostname like this :"cezar123"  and it disnt work , how would you write it down if my hostname is cezar123 ?


Update logic of GTK Button layout

Small change needed here;
I botched the implementation and it won't work as expected (believe it was working, but upon implementation of a real-world use case, it was not working as expected)
The following needs to be changed;
https://github.com/jaszhix/electron-gtk-theme/blob/01c6df1e4b67587cabfdafdc4961c2a46a93dc5b/getGTKTheme.js#L111
The change can be found here-
https://github.com/jakejarrett/node-gtk-theme/commit/ade0126ecc2a5d23b3a1d79bee5808002e6af6aa
Should be updated to the following;
 if (decorationLayout.indexOf(':') === decorationLayout.length - 1) {

Thanks for letting me know! I'll be able to update this tonight.


release 9010 vs 9012 bug

See https://github.com/moustakas/desi-photometry/issues/15 and https://github.com/desihub/desispec/pull/2057.

Done in https://github.com/desihub/desispec/pull/2057.


Resolution Bug

Type: Bug
My Vscode is having trouble recognising my monitor's screen resolution and looks glitchy. I restarted it many times and tried to find resolution settings but couldn't fix the problem.
Where can i send a screenshot to show you how it looks?
 Or drag/drop the file into the input field.

Thanks for reporting this issue! Unfortunately, it's hard for us to understand what issue you're seeing. Please help us out by providing a screen recording showing exactly what isn't working as expected. While we can work with most standard formats, .gif files are preferred as they are displayed inline on GitHub. You may find https://gifcap.dev helpful as a browser-based gif recording tool.
If the issue depends on keyboard input, you can help us by enabling screencast mode for the recording (Developer: Toggle Screencast Mode in the command palette).
Happy coding!

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


SILGen: Project the referent type of property components in key paths.

We want the semantic type of the storage, not its weak/unowned-qualified type. Fixes SR-5408 | rdar://problem/33215221.

@swift-ci Please smoke test


[ReRequest Scope Change] tables 6660 "Return Receipt Header" & 167 Job - EmailRecords

https://github.com/microsoft/ALAppExtensions/issues/15218
Issue 15218 is agreed upon in nov. 2021 in 18.05. When can we expect to see the requested scope change?

@dnpb I think I know what you mean. Issue 15218 was requested by me on nov. 2021 when 19.x was already released but my code was still on 18.05. So you say I can expect it in 20.x? Funny thing is that many of my other requests from sept/okt/nov 2021 have been implemented in releases 19.1 and 19.5 so I am afraid issues are just being forgotten/misplaced. Many requests from July 2021 have been acknowledged also but still I do not see those changes reflected in either 18.x or 19.x Should I be more patient then?

Implemented for 20.0


CodeMirror + Markdown-it = Not expected result

Hi guys. Sorry for noob question. I'm using Markdown-it with CodeMirror to make my own markdown simple text. Everything is work fine. I got my preview things like below images. I'm using markdown-it to render from Markdown to HTML and somehow it give me default html tag. Can anyone teach me how to deal with it. Thanks you
I want to add style like Github

My code: https://pastebin.com/gBZG8a93

Sorry, can't help with generic programming questions. Only if you narrow down problem to be this package specific.


add build, user, shell options

PR to add options for setting user, shell and a debug mode
also allow building images, not just running them.

I'll tidy up the PR and resubmit


“feature flag” support in the UI to display/hide the search elements based on the presence/absence of the addon.

This should be a generalized solution that can be used with ‘known’ addons.

opened in wrong repo.


Uable to download pretrained model from the models folder ( LFS bandwidth)

”ERROR  response: This repository is over its data quota. Account responsible for LFS bandwidth should purchase more data packs to restore access“，I get an error when downloading a model，I'm wondering if there is a problem with permissions or the author's LFS capacity. If the problem is not solved, it will be difficult to reproduce the indicators mentioned in the author's paper.I hope you will get back to me soon，thank you.

Really sorry for the reply. Due to space constraints, I am unable to upload the pre-trained model to Github. However, you can download the same pretrained model from our previous repository: https://github.com/srinidhiPY/SSL_CR_Histo


Functional test to demonstrate that modifications to embedManys do not work as expected if @preUpdate hooks are used

When preUpdate hooks are used, Doctrine ODM does not handle changes to embedMany elements correctly.
The attached functional test only passes when the preUpdate hook is removed.

@blockjon for the record I do want to fix this but I'm going on vacations next week and as usual there's like million things to take care of so I won't promise I'll be the one to fix the bug before October. I may be able to guide somebody though, just ping me on IRC before Monday

@malarzm Not a problem... we have a workaround where there's a very strange coding pattern that helps us avoid this problem..but once you are back I would love to see a fix so we can simply our code. Thank you!

FWIW these two things seem easier than weird patterns (or maybe you're even using one of these :) ).

$doc->embeds->add($embeddedDoc); -> $doc->embeds->add(clone $embeddedDoc);
$doc->embeds = new ArrayCollection(array($doc->embeds->first())); instead of clearing and adding

Both things above are making the test pass however I agree the fail is strange :)

Ah got it, now I mentioned cloning or not calling clear() it becomes kind of obvious: calling clear() schedules all embedded documents for deletion and later they're not picked up by PersistenceBuilder because of their state. IIRC persisting document scheduled for deletion will unschedule it from deletion so probably the same thing can be done for embedded documents - if embedded documents that are scheduled for deletions are found during change set calculation their state needs to be changed.
As for preUpdate exhibiting the bug I believe that it's second change set calculation that makes a difference as it takes place after lifecycle callback is executed. Anyway I'll try to go down the path described before and see if nothing breaks

PR incoming!

Fix has been merged in #1248.


Issue with templateflow dir not found

Following my issue
Unclear inputs required #171 , I tried in parallel to run on my subject the giga_connectome not via docker but via github installation running this command
giga_connectome /home/localadmin/DATA/ds-sample_GigaConnectome /home/localadmin/DATA/ds-sample_GigaConnectome/derivatives/ participant --participant_label 01

for which I get an error which seems to be related to templateflow_dir not found.
I checked I have templateflow installed on my computer (version 0.8.1)
And I have tried to export the path in my ubuntu terminal using this command
export TEMPLATEFLOW_HOME=/home/localadmin/.cache/templateflow

But it does not seem as it solved my error
Error
{'bids_dir': PosixPath('/home/localadmin/DATA/ds-sample_GigaConnectome'), 'output_dir': PosixPath('/home/localadmin/DATA/ds-sample_GigaConnectome/derivatives'), 'analysis_level': 'participant', 'participant_label': ['01'], 'work_dir': PosixPath('/opt/work'), 'atlas': 'MIST', 'denoise_strategy': 'simple', 'standardize': 'zscore', 'smoothing_fwhm': 5.0, 'reindex_bids': False, 'bids_filter_file': None, 'calculate_intranetwork_average_correlation': False}
{'name': 'MIST', 'parameters': {'atlas': 'BASC', 'template': 'MNI152NLin2009bAsym', 'resolution': '03', 'suffix': 'dseg'}, 'desc': [7, 12, 20, 36, 64, 122, 197, 325, 122, 444], 'templateflow_dir': None}
Traceback (most recent call last):
  File "/opt/fsl/bin/giga_connectome", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/opt/fsl/lib/python3.11/site-packages/giga_connectome/run.py", line 111, in main
    workflow(args)
  File "/opt/fsl/lib/python3.11/site-packages/giga_connectome/workflow.py", line 31, in workflow
    atlas = load_atlas_setting(args.atlas)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/fsl/lib/python3.11/site-packages/giga_connectome/atlas.py", line 65, in load_atlas_setting
    p = templateflow.api.get(
        ^^^^^^^^^^^^^^^^^^^^^
  File "/opt/fsl/lib/python3.11/site-packages/templateflow/conf/__init__.py", line 65, in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/opt/fsl/lib/python3.11/site-packages/templateflow/api.py", line 112, in get
    raise Exception("No results found")
Exception: No results found

The reason is that the container image has downloaded all the atlases used for the app and a direct installation will require extra steps for set ups.
If the templateflow directory is downloaded with all the defaults, can you try to run this command:
giga_connectome /home/localadmin/DATA/ds-sample_GigaConnectome \
    /home/localadmin/DATA/ds-sample_GigaConnectome/derivatives/ \
    participant \
    --participant_label 01 \
    --atlas Schaefer2018

Since this is not the intended use case so I did not document it very well.
I will add extra instruction on contributor guide, and also direct users if they really want a bare bone installation.


what's difference between accAddress and wallet address?

Hi. I'm curious why accAddress(https://terra-money.github.io/terra.js/classes/key_key.key.html#accaddress) is different with my wallet address(where I recieve coins).
const lcd = new LCDClient({
  URL: "https://lcd.terra.dev",
  chainID: "columnus-0004",
});

const key = new MnemonicKey({
  mnemonic: <MNEMONIC>
})

const address = 'terra...' // I copied it from terra station

assert(key.accAddress === address) // fails

Thanks.

It was just my mistake. It made a typo when I first create my wallet and store seed.
It was no problem before due to auto-completion when recovering.