error while Saving TTF for NotoSansEthiopic-Light

Command:
fontmake -g src/NotoSansEthiopic-MM.glyphs -o variable
Error message:

Saving TTF for NotoSansEthiopic-Light
WARNING: underline thickness not set in UFO, defaulting to UPM * 0.05
WARNING: underline position not set in UFO, defaulting to UPM * -0.075
WARNING: underline thickness not set in UFO, defaulting to UPM * 0.05
Traceback (most recent call last):
File "/usr/local/bin/fontmake", line 9, in
load_entry_point('fontmake', 'console_scripts', 'fontmake')()
File "build/bdist.macosx-10.11-x86_64/egg/fontmake/main.py", line 109, in main
File "build/bdist.macosx-10.11-x86_64/egg/fontmake/font_project.py", line 317, in run_from_glyphs
File "build/bdist.macosx-10.11-x86_64/egg/fontmake/font_project.py", line 358, in run_from_designspace
File "build/bdist.macosx-10.11-x86_64/egg/fontmake/font_project.py", line 423, in run_from_ufos
File "build/bdist.macosx-10.11-x86_64/egg/fontmake/font_project.py", line 179, in build_interpolatable_ttfs
File "/Users/xiangye/Library/Python/2.7/lib/python/site-packages/fontTools/misc/loggingTools.py", line 372, in wrapper
return func(*args, **kwds)
File "build/bdist.macosx-10.11-x86_64/egg/fontmake/font_project.py", line 233, in save_otfs
File "/Users/xiangye/Library/Python/2.7/lib/python/site-packages/ufo2ft/init.py", line 39, in compileTTF
return compileOTF(ufo, outlineCompilerClass=outlineCompilerClass, **kwargs)
File "/Users/xiangye/Library/Python/2.7/lib/python/site-packages/ufo2ft/init.py", line 30, in compileOTF
postProcessor = OTFPostProcessor(otf, ufo)
File "/Users/xiangye/Library/Python/2.7/lib/python/site-packages/ufo2ft/otfPostProcessor.py", line 15, in init
otf.save(stream)
File "/Users/xiangye/Library/Python/2.7/lib/python/site-packages/fontTools/ttLib/init.py", line 216, in save
self._writeTable(tag, writer, done)
File "/Users/xiangye/Library/Python/2.7/lib/python/site-packages/fontTools/ttLib/init.py", line 652, in _writeTable
tabledata = self.getTableData(tag)
File "/Users/xiangye/Library/Python/2.7/lib/python/site-packages/fontTools/ttLib/init.py", line 663, in getTableData
return self.tables[tag].compile(self)
File "/Users/xiangye/Library/Python/2.7/lib/python/site-packages/fontTools/ttLib/tables/otBase.py", line 91, in compile
return writer.getAllData()
File "/Users/xiangye/Library/Python/2.7/lib/python/site-packages/fontTools/ttLib/tables/otBase.py", line 419, in getAllData
tableData = table.getData()
File "/Users/xiangye/Library/Python/2.7/lib/python/site-packages/fontTools/ttLib/tables/otBase.py", line 289, in getData
raise OTLOffsetOverflowError(overflowErrorRecord)
fontTools.ttLib.tables.otBase.OTLOffsetOverflowError: ('GPOS', 'LookupIndex:', 0, 'SubTableIndex:', 1, 'ItemName:', 'PairSet', 'ItemIndex:', 0)

@xiangyexiao : Did you rebuild the fontmake? Does it still happen? It looks like an exact duplicate of https://github.com/googlei18n/fontmake/issues/143

@xiangyexiao : Did you rebuild the fontmake? Does it still happen? It looks like an exact duplicate of #143

That, and question I've asked million times before: why does NotoSansEhtiopic has such big kern table?


Remove ruby version from submodule path

As we update the version of Ruby over time we're not going to want to
update a bunch of hard coded version numbers. The ruby_checkout/README
file seemed redundant, as a git submodule is not the same as
redistributing code, so there shouldn't be any license or copyright
concerns. Because of that I've just moved the submodule up a level
Related to #315.

Closing for now. Removing the hard coded path invalidates the cache on the checkout dir, which causes autoconf to need to be run, which fails on Mac. https://github.com/penelopezone/rubyfmt/issues/315#issuecomment-856297259


License?

I think the license for libbpf-async should be the same as libbpf-rs, since it depends on it as a library. I think it is dual licensed under the same licenses as libbpf itself (lgpl2.1 and bsd2).

sounds reasonable. fixed. thanks.


payExpense: Protect manual payout when no payout method is set

Fix https://opencollective.slack.com/archives/GDTJY7S48/p1582237171005300
Before this PR trying to pay an expense manually would fail if the payout method type was paypal and no paypal email was set for user.

Fixed the data manually rather than introducing this hack


web/css/css_scrollbars/ -

https://github.com/mdn/content/pull/26400

https://github.com/mdn/content/issues/26544

Closing this as complete. Feel free to reopen if it is not done.


Add an EpochSyncTime table

This is mainly for measuring sync performance.
It would require a simple table like:
    EpochSyncTime
      no               Word64
      seconds          Double Maybe

Basiically we need an IORef or TMVar containing a Maybe UTCTime.  On db-sync startup this mutable variable is set to Nothing. Then, on each LedgerNewEpoch event it retrieves the old value of the mutable variable and replaces it with the current time. If the old value is Nothing it writes Nothing to the seconds field of the table above. If old value is not Nothing the time in the mutable variable is subtracted from the current time and tihe difference in seconds written to the database.
One very minor gotcha that needs to be fixed first. Currently a LedgerNewEpoch event is generated erroniously on db-sync program start up. This would need to be suppressed for the above to give correct results.

It is probably a good idea to add a status field (Syncing vs Following) and maybe even an era field (eg Byron, Shelley, Allegra, etc).


Add Hiro system interface return value names

@novabyte let me know if you want them to be more/less descriptive

Nice one @DapperDino 🙏


How to set Oracle Compatible Property?

Hi @gvenzl,
thanks for this great docker image!
I want to simulate the behavior of a production database in version 19.9.0 with Oracle-XE.
Since unfortunately there is no ORACLE-XE image for version 19.9, I use the image oracle-free:23-slim and then try to simulate the behavior of Oracle 19.9.0 with the help of the COMPATIBLE parameter! For this, I use the following init script:
ALTER SYSTEM SET COMPATIBLE = '19.9.0' SCOPE=SPFILE;
SHUTDOWN IMMEDIATE;
STARTUP;

Shutdown and startup afterwards, as the parameter probably takes effect only on the next restart. The output of the script is as follows:
2024-11-22 11:38:29 System altered.
2024-11-22 11:38:29
2024-11-22 11:39:07 Database closed.
2024-11-22 11:39:09 Database dismounted.
2024-11-22 11:39:10 ORACLE instance shut down.
2024-11-22 11:39:17 ORACLE instance started.
2024-11-22 11:39:17
2024-11-22 11:39:17 Total System Global Area<PHONE_NUMBER> bytes
2024-11-22 11:39:17 Fixed Size 5360936 bytes
2024-11-22 11:39:17 Variable Size 654311424 bytes
2024-11-22 11:39:17 Database Buffers 939524096 bytes
2024-11-22 11:39:17 Redo Buffers 4530176 bytes
2024-11-22 11:39:17 ORA-00201: control file version <IP_ADDRESS>.0 incompatible with ORACLE version
2024-11-22 11:39:17 <IP_ADDRESS>.0
2024-11-22 11:39:17 ORA-00202: control file: '/opt/oracle/oradata/FREE/control01.ctl'
2024-11-22 11:39:17 Help: https://docs.oracle.com/error-help/db/ora-00201/

Am I going in the wrong direction here? What is the error?
Please let me know if you need further assistance or additional information!
Thanks, Torsten

Hey @knoppt,
Thanks a lot for using these images!
It's a common misunderstanding of what the COMPATIBLE parameter does. It's an upgrade parameter that controls with what minimum version the database disk format remains compatible. For example, when we introduced the BOOLEAN data type in 23ai, a database with COMPATIBLE=<IP_ADDRESS> would not allow a table to be created that contains a boolean data type because that is a disk format that a 19c database is not familiar with. Hence, if a user wanted to downgrade the database to 19c again, he couldn't any longer. COMPATIBLE is there to safeguard for this, but it's a one-way street. It can only be increased and once it has, never decreased (because a newer disk format has already been written).
The explanation in the doc is quite good:

The COMPATIBLE parameter specifies the Oracle version number that the database disk format must be compatible with. The database can be downgraded to the version specified in the COMPATIBLE parameter or any later version.
Setting COMPATIBLE ensures that new features do not write data formats or structures to disk that are not compatible with the earlier release, preventing a future downgrade. Features that require a higher value of COMPATIBLE to work correctly may be restricted or disabled to ensure downgrades are possible.
Typically, users keep COMPATIBLE unchanged when upgrading their Oracle software. After upgrade, users will run the new release of the Oracle software for a few weeks to ensure that the new release is working correctly. Afterwards, users can choose to update COMPATIBLE to the latest version to take advantage of the new features.

COMPATIBLE is an upgrade parameter and, unfortunately, doesn't do what you want.
Oracle Database does not allow setting the behavior to an exact version, although the naming "compatible" may at first suggest that.
Unfortunately, what you want isn't possible. You can't make Oracle Database 23ai behave exactly like Oracle Database 19.9 or any other version.


[beta] Port testing docs with React 18 in mind

Copied recipes and environment from the old docs. recipes got a polish with React 18 in mind.

Testing overview
Testing Environments
Testing Recipes

Links to test-utils point to old docs for now though I tried to remove them where it made sense.
TODO:

[ ] check links
[ ] Read though it

can you spruce up the formatting a bit to match other pages? e.g. Intro, What you'll learn, etc

maybe "Testing Components"?

Is big-picture feedback on content helpful or are you just trying to get something out?

Is big-picture feedback on content helpful or are you just trying to get something out?

The initial motivation was just to get it updated for React 18. Neither I nor Dan had special ideas. So it would be super helpful if you have feedback for the big picture!

I guess there are two audiences:

Folks looking for prescriptive guidance about what to do (mostly beginners)
Folks who are familiar with testing in general (mocking, etc) who want to know about any React-specific things

Basically my feedback is I don't think this serves either audience very well.

For the latter use case, I think it spends too much time discussing things that are not specific to React. Advice like "here is a basic pointer on how to mock out fetch or timers" as written is probably (a) overkill for people who already know that they want that (and there is a good chance those folks are better served by the docs for jest/etc itself) and (b) not detailed enough for folks who don't.
For folks who feel they "should have tests" but don't know what to do, I think we could be more prescriptive and also present a more scaffolded tutorial. For this we should just lean heavily into a specific solution (e2e tests, RTL, etc) and try to help people understand what to test and why, not just how to. From what I've seen, most people without experience who think they need frontend tests try to go overboard and write a lot of hard-to-maintain tests that are low quality.

FWIW I'd be ok with simply not porting these versions and instead I'd love to see a more focused tutorial like Sophie is describing. Not sure you were signing up for that...

Yeah that wasn't really what we talked about. I just open a PR that fixes the existing docs instead so that we at least don't document the wrong thing.

Sorry, not trying to con you into more/different work than you signed up for!

Well, we’d need to make a decision about what to go with for the launch. One is porting existing docs like you did. At least for the first time being. Another option is to not port this content at all. And maybe later to add something separate. But then new docs won’t have anything on testing. What do you think would be best?


Added the code for Deshpande et. al's paper

Hello!
So this is the pull request that Jared told me to create in this topic I posted on thrust-users mailing list : https://groups.google.com/forum/#!topic/thrust-users/jXGUPy3cN2M
I have not adhered to any guidelines in my code as of now, so it might need some changes.

Thanks for the submission!
The implementation is a bit long for an example program (several hundred lines of code), and seems to require some CUDA kernels. I worry that the current incarnation may be too complex for an effective pedagogical example program. It may make for a better blog post which could go into more detail explaining the complexities of the implementation.
Do you see any avenues for simplification and portability?

Hello Jared!
I believe there is not much possibility for simplification in this code. I will try to simplify it as much as possible though and add some important comments. We can check then if it's better to have a blog post instead.
Does that sound good?

Sounds good to me.

The license on this example is an issue. The code would need to be relicensed under the Apache license.

Ping re licensing.

Is the code alright to be added as is?
I have not been able to make any further reductions or convert to a smaller example for pedagogical purposes.
If the code can be added as is, I can do the re licensing after talking to the author.

@jaredhoberock mind giving this another peak?

This was closed when we pushed the new Git master history to GitHub. Please rebase onto the new master and we'll take a look.

@brycelelbach @jaredhoberock @dracarys983 It's been over a year since there was any activity on this PR and the diff has gotten unruly. I'm going to close this PR -- please rebase on current master and resubmit if you'd like.
Also -- re: licensing, we cannot merge code that is under an incompatible license. We'd need that addressed before we can consider integrating this into thrust.


Mobile keyboards do not work

Mobile key boards dont work this would be 100 times more usefull if they did

Duplicate of #48


Executing each line of the run and post parameters individually produces unexpected behavior

I have been using this run-and-post-run action to develop some workflows.  It is very helpful, thank you for publishing this.  I have, however, encountered some unexpected behavior when attempting to set environment variables in a run or post script, and when attempting to use if / else statements.  Environment variables can be set, but are subsequently missing.  Multiline statements, like if / else / fi, that work in a regular run step produce "Unexpected end of file" errors.
After looking into the implementation a little, it looks like the cause of this unexpected behavior is each line of the scripts are being executed individually in the runCommands() function.

ping @tcushman

Closed due to inactivity


Add link to documentation generated for redhatinsights/insights-operator-cli/commands/commands_test.go

Description
Add link to documentation generated for redhatinsights/insights-operator-cli/commands/commands_test.go
Fixes #286
Type of change

Documentation update

Testing steps
N/A

Codecov Report

Merging #345 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #345   +/-   ##
=======================================
  Coverage   70.95%   70.95%
=======================================
  Files          12       12
  Lines         730      730
=======================================
  Hits          518      518
  Misses        208      208
  Partials        4        4

Continue to review full report at Codecov.

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


sym() resolves symbols in aggregations, but not in printf

I'm on commit dac74162bce7a941a90cf97b85b341c636c0530c, Ubuntu 18.04 LTS.
I tried to resolve kernel symbols. Aggregations seem to behave differently than do printf()s.
Aggregation (successfully prints symbol)
# terminal A
sudo bpftrace -e 'tracepoint:skb:kfree_skb {
  @[sym(args->location)] = count()
}
interval:s:1 {
  print(@);
  clear(@)
}'

# terminal B
curl -s 'http://bbc.co.uk'

# triggers the following output from terminal A:
Attaching 2 probes...
@[unix_stream_connect]: 2

printf() (prints empty string)
# terminal A
sudo bpftrace -e 'tracepoint:skb:kfree_skb {
  printf("symbol: %s\n", sym(args->location))
}'

# terminal B
curl -s 'http://bbc.co.uk'

# triggers the following output from terminal A:
Attaching 1 probe...
symbol:

For reference, this is what the guide says about symbol translation:

Some of these are asynchronous: the kernel queues the event, but some time later (milliseconds) it is processed in user-space. The asynchronous actions are: printf(), time(), and join(). Both sym() and usym(), as well as the variables stack and ustack, record addresses synchronously, but then do symbol translation asynchronously.

Thanks for the issue. It seems that other builtins have broken as well, eg, username. I think the issue is in bpftrace.cpp, in BPFtrace::get_arg_values(), with these code sections:
        resolved_symbols.emplace_back(strdup(
              resolve_sym(*(uint64_t*)(arg_data+arg.offset)).c_str()));
        arg_values.push_back((uint64_t)resolved_symbols.back().get());

But I don't know the fix yet, or what broke it. These used to work...

If I avoid the resolved_symbols.emplace_back() and just do this:
arg_values.push_back((uint64_t)strdup(resolve_sym(*(uint64_t*)(arg_data+arg.offset)).c_str()));

it works. I don't know why the emplace_back()/back().get() stopped working (@ajor ?), plus I'm not sure we're even using resolved_symbols yet (looks like it was meant to be a cache, but it is incomplete).

looks like it was meant to be a cache, but it is incomplete

Here's the original commit which introduced resolved_symbols:
https://github.com/iovisor/bpftrace/commit/0e82af015b22e4c7d7d33c8815102285b182d558#diff-d231d684666d47519cd093494342e228R52
It's just to keep in scope the std::string returned by resolve_sym(), so that the memory that .c_str() points to doesn't get deallocated before we print arg_values.

Oh, I just noticed that (as of a month ago) we return arg_values:
https://github.com/iovisor/bpftrace/commit/7d490e547281e6c7a4600abfc814b01c6260dc42#diff-d231d684666d47519cd093494342e228R390
That's surely the problem. arg_values holds raw pointers to our copied strings. Our copied strings will get deallocated when we return from the function (final reference to unique_ptr is lost).

I was trying to use usym today, and it suffers from the same bug I assume. printf(....) did not work when doing trying to use usym(arg0) (the first argument is a callback function). The workaround by using aggregations did work, however. Added the comment just in case and I was using commit 0a7dcadc8861e9eaa5483fa202bd6155a902dd14 on Ubuntu 18.04.

@gila it's fixed in https://github.com/iovisor/bpftrace/pull/301; awaiting review.

@Birch-san Thanks. I've checked out your code and checked it out:
before:
# bpftrace -e 'uprobe:./a.out:call { printf("addr: %p\n name: %s\n addr: %p\n", arg0, usym(arg0), uaddr("cb"));}'
Attaching 1 probe...
addr: 0x55659f7d269a
 name: 0��V
 addr: 0x69a
^C

after:
# bpftrace -e 'uprobe:./a.out:call { printf("addr: %p\n name: %s\n addr: %p\n", arg0, usym(arg0), uaddr("cb"));}'
Attaching 1 probe...
addr: 0x55d3c78fb69a
 name: 0x55d3c78fb69a
 addr: 0x69a
^C

Merged #301


GRPC examples are failing

Environment Details

Helidon Version: 3.0.0 and 2.5.x
Helidon SE and Helidon MP

Problem Description
gRPC examples under examples/grpc are not running because:

JavaMarshaller was deprecated (affects version 3 only)
Microprofile examples has obsolete pom.xml (affects versions 2.5.x and 3)

Steps to reproduce
Follow the steps in the readme of each of the gRPC feature examples.

Should be resolved via PR: https://github.com/oracle/helidon/pull/4585 which is currently in progress.

Still need to backport part of the fixes to v2.5

Backported to 2.5.2 via https://github.com/oracle/helidon/pull/4635 hence closing.


Fix GA tracking

Closes https://github.com/oacore/next/issues/285
@viktor I slightly changed your implementation. The main problems I found:

The hooks didn't react correctly so I decided to switch to react-cookie.
There was an issue with sending the form. The hidden ("off") field was sent always
I fixed warning about  keys and validating (I added thead and tbody to table otherwise react complained about wrong markup)
And I found interesting stuff. I would say it's not a good practise to pass hooks directly as props unless it's useCallback. See more in comments

So, what's the problem ~in the end~ so far?

I was trying to avoid react-cookie because it's just another listener around universal cookie but if this solution works and my one doesn't, it's better for sure 🙂

I didn't want to reinvent the wheel. In the end, we would need to develop the same listener anyway 🙂

The bigger problem here is that this behaviour should be consistent across all websites.

I would say we should move popup to design and since the cookie is set to root domain we can render it based on the value. All project should have access to it I guess

@viktor-yakubiv what about this? can we proceed?


build the level

okay, we've got over the first few hurdles.  now we can:

create mesh templates for the trees and make the forest
create mesh templates for the ships and make the ship graveyard
mountains
campsite
rocky plains
floating ship village

time budget for this outlining phase

forest: 1 evening
ships and ship wrecks: 1 evening
mountains: 1 evening
campsite: 1 evening
rocky plains: 1 evening
floating ship village: 1 evening
collectable food (coding and basic placement): 1 evening

then polishing:
3 evenings to be used as most needed.
Total budget: 10 evenings.

bit of timeline tweaking:
time budget for this outlining phase
forest: 1 evening ✅
ship wrecks: 1 evening ✅
mountains: 1 evening
campsite: 1 evening
rocky plains: 1 evening
collectable food (coding and basic placement): 1 evening
ocean: 1 evening
then polishing:
3 evenings to be used as most needed.

forest: 1 evening ✅
ship wrecks: 1 evening ✅
mountains: 1 evening
ocean: 1 evening  ✅
campsite: 0.5 evening
rocky plains: 0.5 evening
tower: 0.5 evening
collectable food (coding and basic placement): 1 evening
then polishing:
2 evenings to be used as most needed.
Total budget: 8 evenings, latest end - 27th of feb

even more cutting
more budget cutting:
forest: 1 evening ✅
ship wrecks: 1 evening ✅ (actual: 0.8)
ocean: 1 evening ✅ (actual: 0.1)
collectable food (coding and basic placement): 2 evening
Total budget: 8 evenings, latest end - 25th feb
this ticket has now been completed by process of elimination


Minifi 108

@JPercivall I wound up reworking quite a bit to account for source id, destination id in connections, allow for names instead in processor, connection, input port

@JPercivall I believe I've addressed your feedback.  I've also run through https://github.com/brosander/minifi-testkit with it and tested swapping on a windows vm.

+1
Visually verified code and did a contrib check build. Went through many different configurations to check that id/name worked correctly and everything worked as expected. Thanks @brosander, I will merge it in.


Build failure on OpenBSD: expected "i32" because of return type

Howdy! This is the build failure I unfortunately get on OpenBSD 6.6-current
   --> /home/gigavinyl/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.15.0/src/sys/statfs.rs:110:9
    |
109 |     pub fn optimal_transfer_size(&self) -> i32 {
    |                                            --- expected `i32` because of return type
110 |         self.0.f_iosize
    |         ^^^^^^^^^^^^^^^ expected i32, found u32
help: you can convert an `u32` to `i32` and panic if the converted value wouldn't fit
    |
110 |         self.0.f_iosize.try_into().unwrap()
    |

error[E0308]: mismatched types
   --> /home/gigavinyl/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.15.0/src/sys/statfs.rs:391:9
    |
390 |     pub fn files_free(&self) -> i64 {
    |                                 --- expected `i64` because of return type
391 |         self.0.f_ffree
    |         ^^^^^^^^^^^^^^ expected i64, found u64

there appears to be newer versions of the nix package. Perhaps that's a place to start?

Oh dear! Yes. Any chance you can try? I don't have an OpenBSD environment at the ready just now, may take a while to prep

Nix was updated upstream, so this should be fixed.


⚠ Cioos National CKAN has degraded performance

In 2f2d992, Cioos National CKAN (https://catalogue.cioos.ca/) experienced degraded performance:

HTTP code: 200
Response time: 7786 ms

Resolved: Cioos National CKAN performance has improved in 237a72b after 7 minutes.


Inherit color from parent for input

Codecov Report

Merging #271 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master   #271   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          39     39
  Lines         439    439
=====================================
  Hits          439    439

Impacted Files
Coverage Δ

src/Input.js
100% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

Why would the color would be set to inherit its parent? I think changing the color of the input box should be just done through an extend. This is a solution for flexibility even though I don't see the reason why would you change the color when consuming the Input.

LGTM :shipit:


[bug]  Error while loading shared libraries: libssl.so.1.1

Describe the bug
The tauri app does not work on some Linux machines, complaining:
Error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
I managed to work my way around via adding openssl with vendored feature enabled in cargo.toml. However, it felt weird. Could there be a bug on the tauri side? It feels like I shouldn't even have to do this. My application does not need OpenSSL (there weren't any entry for openssl in cargo.toml, and it is working in macos&windows, and most of the linux machines).
I'm distributing the application as .deb.
For building the executable, I'm using tauri/actions v0.3
This bug does not happen in my Ubuntu 22.04 (it is able to run it), but I heard about it only for some other Ubuntu machines
(including 22.04). Also, it is reproducable with Docker, using ubuntu:latest.
Our application is subspace-desktop, here is the link to the repo: https://github.com/subspace/subspace-desktop
Reproduction
No response
Expected behavior
No response
Platform and versions
Environment
  › OS: Mac OS 12.3.1 X64
  › Node.js: 16.11.0
  › npm: 8.0.0
  › pnpm: Not installed!
  › yarn: 1.22.19
  › rustup: 1.24.3
  › rustc: 1.60.0-nightly
  › cargo: 1.60.0-nightly
  › Rust toolchain: nightly-2022-02-15-aarch64-apple-darwin

Packages
  › @tauri-apps/cli [NPM]: 1.0.0-rc.7
  › @tauri-apps/api [NPM]: 1.0.0-rc.5
  › tauri [RUST]: 1.0.0-rc.11,
  › tauri-build [RUST]: 1.0.0-rc.9,
  › tao [RUST]: 0.8.4,
  › wry [RUST]: 0.16.2,

App
  › build-type: bundle
  › CSP: default-src https tauri 'self'; img-src 'self'; object-src 'none'; connect-src ws://localhost:9947/; script-src 'wasm-unsafe-eval' 'unsafe-eval' 'self'
  › distDir: ../dist/pwa
  › devPath: http://localhost:3009/
  › framework: Vue.js (Quasar)
  › bundler: Webpack

App directory structure
  ├─ dist
  ├─ node_modules
  ├─ .quasar
  ├─ src-pwa
  ├─ docs
  ├─ public
  ├─ .github
  ├─ src-tauri
  ├─ .git
  ├─ .vscode
  ├─ .idea
  └─ src

Stack trace
No response
Additional context
build target was ubuntu-latest

With @FabianLars' suggestion, I got rid of the allowlist, and the error is no longer there.
My allowlist was like that:
"allowlist": {
      "all": true,
      "fs": {
        "all": true,
        "scope": ["$HOME/*"]
      },
      "shell": {
        "all": true,
        "execute": true,
        "open": "[/subspace\\-desktop/]",
        "scope": [
          {
            "name": "run-osascript",
            "cmd": "osascript",
            "args": true
          }
        ]
      }
    },

For reference here is the related discord thread: https://discord.com/channels/616186924390023171/990276501872181319
tldr: Ubuntu 2204 switched from openssl1.1 to openssl3.0 and they are not compatible with each other. The problem here is that if you built you app on an older version than 2204 (which you should), it won't run correctly on distros/distro-versions with openssl@v3.
This is only an issue if you use tauri's http apis (as in: you have it on your allowlist) or if you have the updater enabled.
We basically have 2 ways to go here:

Switch to rustls, this should be a problem audit wise and it doesn't cover all of openssl, so this may introduce new problems.
vendor openssl (=include it with the app), problems with that are:

attohttpc doesn't have that option yet (the alternative reqwest client does)
bigger bundle size
it needs more build dependencies (namingly perl, the rest of the deps should be covered by tauri's deps)
The app's ssl library doesn't get security updates (this is pretty huge for openssl)

I ended up using the vendored version of openssl in cargo toml.
Feel free to keep this issue open/closed guys as you wish (I don't know the plans of tauri on this issue). Thanks for the wonderful support.

So far you need a Linux standard base (LSB) to run some third party programs. Jus after installing LSB on your Linux everything should be ok to fix the problem.
Sudo apt install lsb


Update pipeline actions that will be deprecated soon

          I think these actions will be soon deprecated. IT would be great to update them to newer versions such as in https://github.com/strimzi/strimzi-kafka-operator/pull/8321 => but can be done also in later PR.

Originally posted by @scholzj in https://github.com/strimzi/kafka-access-operator/pull/22#discussion_r1206033256

@mkurtcs (Mustafa) wants to work on this starter issue if you don't mind. I will also try to review this as we follow a mentorship program with Mustafa.
@scholzj @katheris jfyi

@mabulgu @mkurtcs how are you getting on with this issue?

@mabulgu @mkurtcs how are you getting on with this issue?

@katheris let me contact him and decide here. If he cannot continue this anymore, I can create a quick PR.

@katheris I am gonna create a quick PR for this ASAP. @mkurtcs said he wouldn't be able to look at this anymore.

@katheris I've created this PR: https://github.com/strimzi/kafka-access-operator/pull/34
Pls check when available and let me know if I am missing sth or sth extra needed.


Ah yes I love being trolled by my friends and weird nvim extensions


make http connection pool global, cull based on port pressure

If we have too many connections in the HTTP pool, we should start trimming the ones less actively used so we don't hit port exhaustion limits.

We've determined that port limits are based on destination IP as well, so this is a non-issue. No action needed


Disable logging to Clearing House

In DSC v5 the logging to a Clearing House is enabled and the following Clearing House is used:
https://ch-ids.aisec.fraunhofer.de/logs/messages/
Logging to this Clearing House results in a 404 and huge error messages and stack traces in the logs.
It would be nice if this logging could be disabled. Either by a config setting or automatically if the clearing.house.url variable is not set.

ClearingHouse is undergoing some specification changes, right now the URL should be /messages/log/ and not /logs/messages/. Pre-Specification was changed 4 hours ago. That's why a 404 is returned.
IDS-G-pre:
https://github.com/International-Data-Spaces-Association/IDS-G-pre/tree/clearinghouse/Components/ClearingHouse

As described here: If you leave the Clearing House address blank, the connector will ignore sending IDS messages to it.! @sebplorenz


Simplify operator "Processed" and "Output" count

During the current execution of a workflow, each operator is showing "Processed: %d\n Output: %d" with counts. This is visually distracting and occupies a lot of space. We want to discuss a way to minimize the distraction and the space this information is using.

Addressed by #1374.


Feature Request: Tap on device body detection.

Some devices don't actually have screens or are a hand-held device. I am thinking of smart glasses with android. I have an ODG R-7 and I want an easy way to start voice detection, and one of the easiest way I have thought if to double-tap on the body of the glasses.
Would it be much work to add some sort of body-tap detection to this library?

@bjaanes That is an interesting thought. I am currently working on a major update to my library (v2.0) and I can definitely look into this feature.
I would, however, need to look at the feasibility of this in the first place. Also since I do not have any such hardware would you be interested in testing it out when I have the code for it on your device?

Sure, that makes sense. I would be very much interested in trying that out on my pair of ODG R-7! :)


Question Turn off logging

Is there any way we can turn off the Celluloid logging?

You'd have to submit a patch which allows passing a logger into #initialize.


BUG: Footer links are static

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
In the footer section i have found that the links are static so i want to fix them and i want to improve the join community part in footer section.

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

As a gssoc'24 contributor, and also i have good experience in html, css, js so i believe that i am good enough to work on this issue so i request you to assign me this issue.

I want to resolve the issue of footer. Quick links are not working so, I want to work under this issue, assign me this issue.

@Its-Aman-Yadav could you provide me the instagram and facebook links of this community website. Only adding those 2 links is left to complete my task.


XTC format change for very large systems

For system over 300M atoms, GROMACS will use a XTC file with int64 XDR format. There is an associate new magic to identify those files.
Note that such large systems were not supported before, and the new format will only be applied for those, such that current compatibility is retained - however adding detection logic in src/format/XTC.cpp:141  for the new magic might make the error message more informative in the short term, regardless of implementation decision on your side.
See the related merge request. This should land in the next 2023 minor release (and 2024 onward).

Thanks a lot for the heads up!


Closes #1902: Print the original and projected RecordBatch in dynamic_types example

Which issue does this PR close?
Closes #1902.
Rationale for this change
The user can get a feeling of the data.
What changes are included in this PR?

Are there any user-facing changes?

Codecov Report

Merging #1903 (f6d1160) into master (fc4044f) will decrease coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1903      +/-   ##
==========================================
- Coverage   83.43%   83.42%   -0.01%
==========================================
  Files         203      203
  Lines       56969    56969
==========================================
- Hits        47531    47528       -3
- Misses       9438     9441       +3

Impacted Files
Coverage Δ

parquet_derive/src/parquet_field.rs
65.75% <0.00%> (-0.46%)
:arrow_down:

arrow/src/datatypes/datatype.rs
65.42% <0.00%> (-0.38%)
:arrow_down:

Continue to review full report at Codecov.

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

Thanks @martin-g  and @paddyhoran !


Right panel in settings menu problems

When you first enter the settings menu after launching the game, there is a massage about how to use the settings menu. Everything works fine first time you enter the menu, but if you went into the menu and change something (i changed progress time left to enable) and then went out to the main menu and back, problems starts popping up. The right side panel is populated with the last menu you had open before exiting before and if you go into the main settings menu and change "April Fools tomfoolery" the setting wont save.
hope this helps, but April fools jokes are bad when users have problems turning it off.

Try this build and tell me how things go.

It didn't fix the save issue, but the menu seems to update properly now.
I found if you open the mods settings the first time it always works and save what i set, but after that 9 out of 10 times if i go in and change any setting(s) in the mods general settings menu the changes wont save, and if i go back into the mods settings menu (click on donate then back on general settings for the panel to update) and the settings have reverted.

Take two, I think this should be the one.

Didn't fix it either, but i now noticed that if i reopen the settings menu and the general settings menu is already loaded on the right panel, the settings save, otherwise they don't.


Null safety migration

Hello, is Null safety migration on roadmap?
Thanks you

Hi @AYJF ! Yes it's definitely on the roadmap. I haven't started yet as I'm waiting for flutter_map's null-safe release.
I haven't looked in to it but I presume it doesn't make much sense until that's done?

#21 is basically ready (and includes some new features/improvements!). I'm just waiting for flutter_map to publish a null safe version.
In the mean time you can use the branch.

Done! 1.0.0 is out, let me know if there are any issues :).


1169 | Invalid Transactions | C++

Invalid Transactions -
What will change - A well documented and clean C++ solution will be added.
Type of Issue -
Please add/delete options that are not relevant.

[x] Adding New Code

Programming Language
Please add/delete options that are not relevant.

[x] C++

Please assign this issue to me

Hey There!! Can You plese assign this to me??


Bugfix hint display

closes #152

Codecov Report
Attention: Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.

Files with missing lines
Patch %
Lines

.../seedu/address/logic/parser/AddressBookParser.java
0.00%
1 Missing and 1 partial :warning:

Files with missing lines
Coverage Δ
Complexity Δ

.../seedu/address/logic/parser/AddressBookParser.java
83.69% <0.00%> (-1.86%)
45.00 <0.00> (ø)


Modifying DQN model to accept 3D images

I've had some difficulties modifying your code to work directly on image stacks. Your RL model uses the past few 2D frames as channels and does 3D convolutions on that frame history. Instead, I want my agent to only see the current step (i.e. FRAME_HISTORY = 1)  but for the inputs to be single-channel image stacks. I was hoping you could give me some insight.

My code uses 3D frames not 2D, so this should be fine with your data if it is 3D too.

I am using 3D frames not 2D, so this should be fine with your data if it is 3D too. There are two models in the code 2D and 3D, both should be working so far.

@crypdick Did you manage to make the code work on your data?

@amiralansary I can't be sure. I finally got my network training yesterday evening, epoch 3 just started (training is slow-- only ~0.8 iterations per second). When I use --task play with the latest model checkpoint, at all timesteps the DQN always outputs the same exact Q-value array and thus the agent always steps in the same direction. In --task train the model is off-policy so it's taking actions randomly.

I usually get around ~3-4 it/sec using the default big architecture on a GTX 1080. You can try using a tiny architecture first till you see some decent results, then try a bigger one. And if you do not need 3D convs then it will be much faster if you use 2D convs.
You can also monitor the performance using tensorboard and passing the train_log directory. Signs like playing more games with time or increasing the number of successful episodes/games, are healthy indicators that the agent is learning.

@amiralansary I wanted to double check something with you. In the network graph, you slice into the comb_state to get the current state and future state. So, the minimum FRAME_HISTORY has to be 2, right?

Yes, comb_state is combined of current and next state. Both states are used in the graph during training for the DQN loss function:

In this case, the size of one comb_state will be (image_shape[0], image_shape[0], image_shape[0], FRAME_HISTORY + 1)

Hi @amiralansary , I have a similar question. I want to apply your code to landmark detection on the common natural images (with 3 dims: H, W, C). How should I modify your code? Where should I pay more attention? (changing the conv operation from conv3D to conv2D; the image size from (45, 45, 45) to (X, X, 3)).

Hi @amiralansary , At what point of time, in terms of number of epochs did you start getting reasonable results? Do you have some graph which shows number of success v/s epochs?
Thanks.

@sunalbert You may need to use conv2d instead of conv3d if the input is 2d (check Model2D. You will have to track other processes as well and make sure it process inputs and outputs correctly. Last thing, if your input is coloured images and not grayscale, then you may end up using conv3d as the channel dimension is already used for storing frame history.

@sunalbert You may need to use conv2d instead of conv3d if the input is 2d (check Model2D). You will have to track other processes as well and make sure it process inputs and outputs correctly. Last thing, if your input is coloured images and not grayscale, then you may end up using conv3d as the channel dimension is already used for storing frame history.

@gravity1989 time or number of iterations vary based on the complexity of the target landmark. You can visual the performance of the agent during training using the saved models (with the task play). Or Use tensorboard to visual the curves and monitor the performance.
Here are some of the performance curves on training data for a cardiac landmark

And on the validation data:

For results reported in the paper, training was stopped at 500.0k iter for all experiments. But in practice you can keep it training till the agent performs with a satisfactory accuracy.

Thanks, @amiralansary .

Thanks, @amiralansary

@amiralansary @crypdick @gravity1989 @sunalbert
too slow training speed
my current env is
win7 x64 System
Nvidia Geforce GTX 1080 (8G)
CUDA9.0
cuDNN7.0.5
tensorflow-gpu(1.6.0)
tensorpack (0.8.0)
gym now use(0.12.1)
and i used examples data for training
\tensorpack-medical\examples\LandmarkDetection\DQN\data\filenames\image_files
\tensorpack-medical\examples\LandmarkDetection\DQN\data\filenames\landmark_files
for gpu memory limit, and i used parameters:
BATCH_SIZE = 24
and GPU and CPU setting:
mem_fraction = 0.8
# conf = tf.ConfigProto(log_device_placement=True)
conf = tf.ConfigProto()
# conf.allow_soft_placement = True
conf.intra_op_parallelism_threads = 6
conf.inter_op_parallelism_threads = 6
conf.gpu_options.per_process_gpu_memory_fraction = mem_fraction
conf.gpu_options.allow_growth = True
and exclude Data Load's effect.i used FakeData
dataflow = FakeData([[BATCH_SIZE,45,45,45,5],[BATCH_SIZE],[BATCH_SIZE],[BATCH_SIZE]],size=1000,random=False, dtype=
['uint8','float32','int8','bool'])
and minimal training setting:
return TrainConfig(
data=QueueInput(dataflow),
model=Model(),
callbacks=[],
# steps_per_epoch=10,
steps_per_epoch=10,
max_epoch=1000,
session_config= conf,
)
the training speed is 28 seconds per iter.
even i reduce the model complexness (by commented Conv3D and Pool3D ):
with argscope(Conv3D, nl=PReLU.symbolic_function, use_bias=True):
# core layers of the network
conv = (LinearWrap(image)
.Conv3D('conv0', out_channel=32,
kernel_shape=[5,5,5], stride=[1,1,1])
.MaxPooling3D('pool0',16)
#  .Conv3D('conv1', out_channel=32,
#          kernel_shape=[5,5,5], stride=[1,1,1])
#  .MaxPooling3D('pool1',2)
#  .Conv3D('conv2', out_channel=64,
#          kernel_shape=[4,4,4], stride=[1,1,1])
#  .MaxPooling3D('pool2',2)
#  .Conv3D('conv3', out_channel=64,
#          kernel_shape=[3,3,3], stride=[1,1,1])
)
the training speed is 22 seconds per iter.
it is 100x slow by comparison with  your training speed
{around ~3-4 it/sec using the default big architecture on a GTX 1080}
I want to know why and
please give me some suggestions about reduce the training time.


Revert "[nrf noup] scripts: west_commands: runners: nrf: workarounds …

…for SDFW v8.0.0"
No longer needed with SDFW v9.0.0 and more recent nrfutil device versions.
This reverts commit f3e33c4fe7a4982b163df508ceca2dd476ebe3bd.

This can be closed, went it as part of batch PR


feature/blueapps剥离升级(先合入migration兼容分支)

Codecov Report

Merging #159 (2f7186a) into v2.6.x_develop (559b422) will decrease coverage by 0.33%.
The diff coverage is 85.71%.

@@                Coverage Diff                 @@
##           v2.6.x_develop     #159      +/-   ##
==================================================
- Coverage           50.81%   50.48%   -0.34%
==================================================
  Files                 694      649      -45
  Lines               37024    36203     -821
==================================================
- Hits                18815    18277     -538
+ Misses              18209    17926     -283

Impacted Files
Coverage Δ

config/__init__.py
95.65% <80.00%> (-4.35%)
:arrow_down:

config/default.py
88.00% <100.00%> (+0.06%)
:arrow_up:

config/dev.py
87.50% <100.00%> (+0.54%)
:arrow_up:

Continue to review full report at Codecov.

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


BeforeTargets="Build" is not sufficient to include css in build output

Describe the bug
The current BeforeTargets="Build;ResolveScopedCssInputs;BundleMinify" is not sufficient to include the generated assets in a Blazor library.
I have to use a copy of the library and use BeforeTargets="BeforeBuild"in order for the generated css to be included in published output without building twice.
Expected behaviour
Include the generated css in build output even if it doesn't exist (e.g. in a clone publish scenario such as a CI pipeline).
Desktop (please complete the following information):

OS: macOS Linux and probably windows
Browser Any
Version Any

Hi @mikes-gh ,
I'm not using Blazor myself, but we do have a Blazor sample app in this repository which does correctly generate scoped css from a scss file with a single build. Do you know if there is any difference between a Blazor app and a Blazor library?
It would be helpful if you could provide a repo/instructions to reproduce the problem so we can investigate it further.
Thanks

@sleeuwen Thanks for the response.  The CSS is generated in my scenario as well.
However, if you do a dotnet pack or dotnet publish from a clean build (no CSS previously generated) the CSS will not be included since BeforeTargets="Build" happens after MSBuild analyses the staticwebassets to include.
This means the below files would be missing and the library broken.

I'll work on a repo hopefully with the sample projects in this lib.

@sleeuwen thankyou for spending time on this.  I spent several days on this and could never get it working.  I was using an older version of AspNetCore.SassCompiler although AFAICS only changes recently are to do with source target.  I'll confirm you steps this end and report back.  I'll also need to check dotnet publish of our site as that is single target and it may be a timing thing that MudBlazor.min.css gets included in the pack as MudBlazor is built 3 times. net6/7/8.

@sleeuwen Did you change this line
https://github.com/MudBlazor/MudBlazor/blob/5717ee8139bf63e6ef15f20ebefca11d07937086/src/MudBlazor/MudBlazor.csproj#L92

@mikes-gh yes, in the item group for that target is where I added the line from the second diff

Ahh I didn't notice the BeforeBuild there, I'll see if I can try some more things later this week

Thanks for your time on this.  I'll have a look too.  You have stumbled on a good workaround though.  I still think BeforeTargets="Build" is not enough.  However, changing it to before build means your GitHub repo will break, since using before build required a precompiled library to work and won't work with project references.,

@sleeuwen I spent some time on it today see below PR in MudBlazor.
I can't seem to get MudBlazor.min.css included in the pack.
https://github.com/MudBlazor/MudBlazor/pull/8268
cd src/MudBlazor
dotnet pack -c Release -v diag > build.log
When I check the logs it all seems to be OK.
Note the MudBlazor.min.css is included in the Content 3 times (net6/7/8) but never ends up in the static assets directory

After spending a few hours on this I am beginning to think this is an incremental build issue.
I can get it all to work if I clone the repo and use dotnet commands to pack or publish and the required files are included.
This is using the package as is without any BeforeTargets overides.

Hi @mikes-gh,
I may have found a solution, it seems that when packing your project it resolves the @(Content) items before the sass is compiled to css, in a target named ResolveProjectStaticWebAssets. I've added that target to the BeforeTargets for the "Compile Sass" target and when I run it locally I do now get the css published in the staticwebassets folder within the nuget.
I've published a fix for this and it should be on nuget shortly as version <IP_ADDRESS>. Can you see if that version works for you as well? if not please reopen this issue and I can look into it further.

Thanks @sleeuwen.  I have deployed the fix to MudBlazor Repo.   I'll need to keep an eye on things but so far this looks like a fix.  Thanks for all your time on this

Just reporting back.
Did a release via our CI pipeline and everything is working as expected.

No need to mess around with the "@Content variables either so project file is significantly simpler.
Thanks a lot 🙏


clarification of laguage in the oper block example

this would have saved me an embarrassing amount of time

Thanks for the contribution!
To clarify --- was your experience that you started receiving snomasks, found them undesirable, and wanted to turn them off? We've been contemplating disabling snomasks by default, since they can be distracting.

Thanks for the contribution!
To clarify --- was your experience that you started receiving snomasks, found them undesirable, and wanted to turn them off? We've been contemplating disabling snomasks by default, since they can be distracting.

to be honest i just haven't had to deal with snomasks before, and the language used had me searching for umodes. at one point i was literally searching through the source code and the RFC to try and figure out what i was missing

I addressed this in e69c6659b188bedafa2ea6a8c1b7169d53fb090f.
Thanks for your interest in the project! Please feel free to send us questions, or more pull requests.


fix: sharing of addresses and media

Bumps teslajsonpy to v3.7.5.
Fixes https://github.com/alandtse/tesla/issues/541.

Ok, @alandtse, I think I got it this time! .devcontainer was very helpful 🙏🏻
Let me know if any changes are needed!

Ok, ready for re-review @alandtse. Thank you for the feedback!

Oh, since you modified the pyproject, your lock will be out of sync. Please run poetry update again to sync it.

Seems like something isn't right, poetry update has been running for over 15 minutes...
root ➜ /workspaces/tesla (share-fix-2) $ poetry update
Skipping virtualenv creation, as specified in config file.
Updating dependencies
Resolving dependencies... (937.8s)

Ram 📈

https://github.com/python-poetry/poetry/issues/2094

This seemed to work!
root ➜ /workspaces/tesla (share-fix-2) $ poetry update<EMAIL_ADDRESS>Skipping virtualenv creation, as specified in config file.
Updating dependencies
Resolving dependencies... (2.2s)

Writing lock file

No dependencies to install or update

How's that @alandtse?


Use space.id and user.id to store recent contexts

In https://github.com/fabric8io/fabric8-ui/blob/master/src/app/shared/context.service.ts#L347 we save and load the recent spaces (currently from localstorage, later from the backend). At the moment we store the space name and username, but instead we should use id.s

@VineetReynolds would you like to take this one on?

Fixed by #421

Done


grid: Add a new class for tracking HTTP/3 status

grid: Add a new class for tracking HTTP/3 status.
Create a new Http3StatusTracker class which can mark HTTP/3 as broken
for a period of time, subject to exponential backoff. Use this in ConnectivityGrid.
Risk Level: Low
Testing: New unit tests
Docs Changes: N/A
Release Notes: N/A
Platform Specific Features: N/A

/retest


ConvexMeshShape issue (assert)

          I'm trying to use Irrlicht to generate the bounding box since Irrlicht makes rectangles that more closely resemble the mesh. Since this can't do rectanlges, I'm trying to make it work with ConvexMeshShape. I made it so that my program gets Irrlicht to return the bounding box and im trying to make it convert that to a ConvexMeshShape.

Changing the vertex count from 8 to 24 allowed it to work a lot better but some rectangles cause the game to crash when collided. There is this one model whos collision box always causes a crash when an object bumps into it but my other models don't. The error is: "reactphysics3d/collision/shapes/ConvexMeshShape.cpp:106: virtual reactphysics3d::Vector3 reactphysics3d::ConvexMeshShape::getLocalSupportPointWithoutMargin(const reactphysics3d::Vector3&) const: Assertion `maxDotProduct >= decimal(0.0)' failed."
I had to go into the source code for this one. In ConvexMeshShape.cpp in the getLocalSupportPointWithoutMargin() function, there is a line of code "assert(maxDotProduct >= decimal(0.0));". I commented that out. The game no longer crashes when object collide into that one object. I don't know what the implications of this hack are but if I'm doing this wrong and that's the reason it's crashing, I would love to find out what the correct way is.
If I can use this to avoid implementing my own special colliders by building off of the plane class, I will. I was just wondering if ConvexMesh is out of date or borked and we're not supposed to be using it or if this is user error.
Originally posted by @Xeraster in https://github.com/DanielChappuis/reactphysics3d/issues/385#issuecomment-2174540716

@Xeraster I am not really sure I understand what you are trying to do. Are you trying to create a rectangular box collision shape for your mesh? If so, you need to use the BoxShape collision shape of the library not the ConvexMeshShape. The ConvexMeshShape is only used in the documentation for a box convex mesh to demonstrate how to use it but if you need a box, you need to use the BoxShape.
Is it what you are trying to do? If not, could you please explain what you are trying to do exactly?


References

https://web.wpi.edu/Pubs/E-project/Available/E-project-040720-011451/unrestricted/Design,_Analysis,_and_Test_of_a_High-Powered_Model_Rocket.pdf

https://core.ac.uk/download/pdf/213002569.pdf


Renaming View model

Renaming View model
Renaming all the instances of View model to View_Article
Renaming test_view.py to test_view_article.py
Resolve #46

Maybe you should also rename 0007_test_view_data.py to 0007_test_view_article_data.py

Done at 3f7eaf0

LGTM


are you still developing this plugin?

Are you still developing this plugin?

I'm not developing but maintaining it. If there are any API changes, new ideas or bugs, I'll look after them.


Update sentinels.tex

Hey guys :)
These are some slight changes (more like clarifications) I would add to the scenario. I'm not used to writing in code so you need to check the formatting. I love your work here and am very happy that my scenario has made it into the selection! Best regards
Silence

Hi! Thanks for helping keep your scenario up-to-date. This introduces a significant amount of text, so the layout is broken now. Let me see what I can do.

Hi! Thanks for helping keep your scenario up-to-date. This introduces a significant amount of text, so the layout is broken now. Let me see what I can do.

Hi :) thank you very much! I'm not sure if the section about not being able to attack your ally or flag their mines is really necessary, but as it is included in the other coop scenarios I thought it might be good for being clear and consistent.

Here's the new layout:


Add 'history' attributes to variables with xpath from xml files

As requested by @lanougue, this PR adds an 'history' attribute to almost all variables, in a yaml style string:
for example, for the 'incidence' variable:
incidence:
  annotation/s1b.xml:
  - /product/geolocationGrid/geolocationGridPointList/geolocationGridPoint/line
  - /product/geolocationGrid/geolocationGridPointList/geolocationGridPoint/pixel
  - /product/geolocationGrid/geolocationGridPointList/geolocationGridPoint/incidenceAngle

Will do a new PR once #33 is merged


fix commands

--mint-list and -n was outdated

looks like we have different defitions of being "brilliant" 😂
thanks for merging, hope it helps someone.


fix a path typo in build command

fix a path typo in build command

@yytdfc Thanks for you contribution!


Correction of the authorship of the library documentation

The purpose of the pull request is to preserve the authorship of @htmlprogrammist for the library documentation written by him

Another contribution from @htmlprogrammist can be found in his repository EmojiPicker.


Add google-c-style support to lang/cc

Description
Add +google-c-style flag to lang/cc module.
https://github.com/google/styleguide/blob/gh-pages/google-c-style.el

I'm closing this, because most LSP servers for C/C++ contain formatting feature.


Tabindex is mutually exclusive with searchable

Expected behaviour
I've set tabindex props as 0, and I want let it works.
But it remains -1 after building
I've found the reason.
https://github.com/shentao/vue-multiselect/blob/8b82146a24a8c5c201db5c9bf65f7bd9f94a9852/src/Multiselect.vue#L3
I can't understand why you made searchable and tabindex exclusive.
If it is not necessary, can I make a pull request?

Hi @devcrazygit
This is setup like this so when the component is searchable, the input that the user will type into gets the tabindex, as you can see here:
https://github.com/shentao/vue-multiselect/blob/685f245933df2625e36b9ef404b7cd5d28d378e4/src/Multiselect.vue#L59
So that is the reason why we have that. Hope that helps, thanks for creating an issue and asking


Update docker-compose.yml

I guess after moving to sockpuppet the depends-on statement wasn't updated.
Orthogonal question: is sockpuppetbrowser a playwright replacement? (I could not fully get that in its README)

Well spotted! thanks!
yes, its a replacement for the older one


start review of first part

working on reviewing and edits. I'll leave comments to explain some of these edits once I have gone through the entire document.

This is really excellent Zhian! well done :clap: :clap: :clap:
Let's talk more about these proposed changes when we meet later.


Solves issue 11232

After parsing the CIDR, if it's empty then we put "/". Now,it's possible
to go to "/" using "up arrow"
Now, we check if CIDR finishes in "/" AND CIDR is bigger than 1.

Good catch!


Connecting to Server just spins and is hanging.

Hello, we are having this issue for awhile now. When we click on a session it just says connecting to server and spins. I put the link url in the browser and get the following error:

ResourceNotFound
The specified resource does not exist. RequestId:c0dc63c0-b01e-00b9-38ff-0028c7000000 Time:2023-10-17T13:42:20.5885070Z

https://ms-devlabs.gallerycdn.vsassets.io/session/&&&&&/&&&&&&&&&& blocking the session info

HI, are you available for a web session?"

I've the same problem... Therefore I could show you the issue..

It works as it should for me, couldn't recreate it.


make ALT file menu hotkeys

#Proposed change
Create keyboard hotkeys to interact with file menu using e.g. <ALT + F>
#Why is this important
Increases the usability of the application, standard operating procedure for apps
#Additional context

ALT hotkeys added, skeletal framework
fixes #1


revert invoker check failed log

What is the purpose of the change
Brief changelog
Verifying this change

Checklist

[x] Make sure there is a GitHub_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GitHub issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Check if is necessary to patch to Dubbo 3 if you are work on Dubbo 2.7
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
[ ] Add some description to dubbo-website project if you are requesting to add a feature.
[ ] GitHub Actions works fine on your own branch.
[ ] If this contribution is large, please follow the Software Donation Guide.

Codecov Report

Merging #9345 (99916ad) into 3.0 (72c8cba) will decrease coverage by 0.19%.
The diff coverage is 66.66%.

@@             Coverage Diff              @@
##                3.0    #9345      +/-   ##
============================================
- Coverage     65.31%   65.12%   -0.20%
+ Complexity      343      341       -2
============================================
  Files          1201     1201
  Lines         51854    51798      -56
  Branches       7723     7671      -52
============================================
- Hits          33869    33733     -136
- Misses        14369    14453      +84
+ Partials       3616     3612       -4

Impacted Files
Coverage Δ

.../java/org/apache/dubbo/config/ReferenceConfig.java
81.66% <66.66%> (-0.35%)
:arrow_down:

...a/org/apache/dubbo/rpc/filter/AccessLogFilter.java
24.35% <0.00%> (-44.88%)
:arrow_down:

...va/org/apache/dubbo/rpc/support/AccessLogData.java
53.16% <0.00%> (-37.98%)
:arrow_down:

...pache/dubbo/common/function/ThrowableFunction.java
71.42% <0.00%> (-28.58%)
:arrow_down:

...bo/rpc/cluster/support/FailbackClusterInvoker.java
59.37% <0.00%> (-17.19%)
:arrow_down:

...ache/dubbo/remoting/transport/AbstractChannel.java
75.00% <0.00%> (-12.50%)
:arrow_down:

...dubbo/common/status/support/LoadStatusChecker.java
50.00% <0.00%> (-11.54%)
:arrow_down:

...mmon/threadpool/support/fixed/FixedThreadPool.java
80.00% <0.00%> (-7.50%)
:arrow_down:

.../common/threadpool/serial/SerializingExecutor.java
70.37% <0.00%> (-7.41%)
:arrow_down:

.../threadpool/support/limited/LimitedThreadPool.java
83.33% <0.00%> (-5.56%)
:arrow_down:

... and 58 more

Continue to review full report at Codecov.

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


Add support for dynamic imports

Allows server to build css packages while importing only what is necessary.
Description
The user choices are retrieved from the JSON object sent on POST. Based on these configuration options, only required SCSS packages are imported. This is then compiled into CSS, and minified.
Motivation and Context

Custom imports allow significant shrinkage in size of package.
SCSS doesn't allow dynamic imports, hence using this logic allows us to bypass this limitation.

How Has This Been Tested?
Postwoman was used to test the API. Usage of synchronous code means that the performance cannot be great. But this is an acceptable compromise for the duration of the MLH hackathon
Types of changes

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

Checklist:

[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

I've removed package-lock, my bad. Merging now.


Add VLC binary

https://wiki.videolan.org/Mac_OS_X/#Command_line

Thank you for the contribution. It needed some fixes, so they were made in 9b794c088db4f7c1606aa30de3707e1eb29bf152. Your contribution is still included (and still credited to you), with the appropriate modifications. Please feel free to ask about any of the changes.

Cool, didn't know about target, thanks for fixing!


Mock-ups (first pass)

Clickable prototype (click the screen to see the blue clickable hotspots) https://projects.invisionapp.com/share/J8BUMTDWT#/screens/235312816
Feedback welcome!

Hey Meghan, it's not that I think your mockup isn't baller, but I'm just closing down issues since the Elizabeth House team had to go with a different solution. 😢


[Proposal] Add Scrollbar trackRadius

Use case

I'm trying to replicate windows scrollbar:

But there is no option to change the radius of the track. I can only change the color
Proposal

trackRadius property in ScrollbarPainter, just like the radius property.

/cc @Piinks


V3:  Feed2Catalog:  time zone bug

Although feed datetime values lack an explicit time zone indicator (e.g.:  "Z"), they represent UTC.
FeedHelpers.ForceUtc(...) attempts to convert a DateTime to UTC, but it does not handle the default case on a dev machine where DateTime.Kind is DateTimeKind.Local.
This results in tests failing on a dev machine (or any machine where time is not in UTC) but passing on a CI machine.

I was incorrectly creating a test feed which included the "Z" time zone indicator.  Then, DateTime.Parse(…) returns a value in local time zone.

This is actually a bug in the test framework.  It adds the "Z" time zone indicator, which differs from the real feed.


Update on controller and some fixes

Added some controls on addRepo function at controller, and created a new controller for getting specific repo

thanks bro 😃

thanks bro 😃


Added feature to store user data on disk

Added a setting Store User Data that will Store cookies, localStorage, etc. on disk, so that you don't lose them when you close session. This will help you not get logged out.
Default is true
If enabled, the puppeteer UserDataDir will be set to vscode GlobalStorageUri / UserData
and if you login to any site and reopen browse-lite, restart vscode or even after restarting computer you will still be login to that site like real chrome or any browser


Uncharted: Golden Abyss™ [PCSA00029]

App summary

App name: ?
App serial: ?
App version: ?

Vita3K summary

Version: v?
Build number: ?
Commit hash: https://github.com/vita3k/vita3k/commit/[commit]
CPU backend:
GPU backend:

Test environment summary

Tested by: ?
OS: Windows 10/macOS/Linux Distro, Kernel Version?
CPU: AMD/Intel?
GPU: AMD/NVIDIA/Intel?
RAM: ? GB

Issues

Screenshots

Log
Recommended labels

A?
B?
C?

This issue needs to be closed as not planned


Solution to "How to find rows of A that contain elements of each row of B" exercise

Hi,
It seems the solution given is wrong unless I misunderstood the question. The question is:

Consider two arrays A and B of shape (8,3) and (2,2). How to find rows of A
that contain elements of each row of B regardless of the order of the elements in B?

The solution provided selects rows of A that contain (1) at least two unique elements of B (can be the same unique element of B repeated twice)  or (2) at least one element that occurs 2 or more times in B. The rows of B are irrelevant. This seems not to answer the question correctly.
Example:
B = np.array([[0,1],[2,2]])
A = np.array([[3,3,3],[0,1,3],[0,0,3],[1,1,3],[2,3,3],[0,2,3],[1,2,3]])

The correct solution should pick rows of A that contains 0 and 2 or 1 and 2 (i.e. each row of B is represented in a given row of A) - so only rows 5 an 6.
Current solution will also pick rows of A that contain [0,1], 2x 0, 2x 1 or 1x 2 - so rows 1,2,3,4.
C = (A[..., np.newaxis, np.newaxis] == B)
rows = (C.sum(axis=(1,2,3)) >= B.shape[1]).nonzero()[0]
print(rows)

The correct solution could be:
C = (A[..., np.newaxis, np.newaxis] == B)
rows = np.where(C.any((3,1)).all(1))[0]
print(rows)

Sorry, I don't know how to break lines inside the code blocks - tried many things, didn't work.

Triple quote is your friend ! I edited your comment, hope you don't mind.

Thanks for fixing the comment.

Thanks, you're right about your modificiation. Could make a PR ?

Yes, I will make the PR.


hot restart: send used stats only during hot restart

For an explanation of how to fill out the fields, please see the relevant section
in PULL_REQUESTS.md
Description: During hot restart, when copying parent stats, we are not checking if stat is used or not. As a result of this, the gauges of type ACCUMULATED, are copied with zero values even though they are not used on the parent Envoy. Following are some of the example stats
upstream_rq_active
upstream_rq_pending_active
upstream_cx_active
upstream_cx_rx_bytes_buffered
upstream_cx_tx_bytes_buffered

Risk Level: low
Testing: Added
Docs Changes: N/A
Release Notes: N/A

@ramaraochavali thanks, this LGTM, but is this fixing a bug or is this just a perf improvement?
/wait-any

It originated as a bug - We are trying to look the cluster usage from stats  i.e. whether a cluster has active requests from another service- we found these stats generated for a cluster which is supposed to not have any requests. Digging deeper, found this as issue. But can help with perf as well.

@ramaraochavali the output was still 0, it just counted as "used." Is that right?

@mattklein123 Yes. That is correct. We are checking for existence of the stats "upstream_rq_", "upstream_cx" - not the values actually. If a cluster is not used, we do not see any of those stats.


Can't use ${env:HOME} or ${workspaceFolder} with markdown.styles setting

Feature/Bug
I'd like to specify ${workspaceFolder} in the path for markdown.styles setting
This would allow to specify a project-specific markdown.styles .css
The ${vars} can't be used, so there's no way to configure project markdown styles.

Duplicate of #2809


README fix: point to a page that exists

Similar to this pull request for admin-frontend, and as per @allait's comment, it is a good idea to point new developers to a page that actually exists rather than 404s.

:+1:


Music

Fix lookup case sensitivity 100%!
Also adds a ton of music features, took a few hours but finally polished it.

 Start the bot and you're all set :)


:sparkles: Player's theme options + Custom CSS field

Player now uses themable SVG symbols (icons from feathericons.com)
All the buttons init their state on page load
Added several theme controls, revisited the display of buttons and the slider

Transparent background can be used to blend in other pages.

Added a simple CSS field
Tweaked text styles a bit inside the player

Example usage of transparent background on itch.io (still needs a bit of custom CSS on itch.io page):

btw here's another album to your itch collection hehe https://comigo.itch.io/music-loops

added the album to the collection!
hmm it doesn't seem to be possible to get the original white-with-border button style with these changes. trying to think how we can support this. I would like the default style to remain bandcamp-like. maybe we could have "inverted buttons" and "borderless buttons" as added options to get to your style?

I think what should be done is making icons either black or white, based on their background's liminocity. And I need to think about adding borders without adding another color controls.

Well, it is all up to preference. I do think there should be lots of configuration options, but I would like to keep the "bandcamp by default" style.
How about we have separate colour controls for the buttons? I know a user could set the button colour manually with CSS, but colour pickers are a better experience generally.

I made a branch that adds extra colour pickers. Looks like this:

https://github.com/blackle/blamscamp/tree/extra_colours
If you want I can merge this in and add in the colour pickers after. I think it would be really cool if a person could get a vanilla bandcamp look and your cool rounded button+glowy shadow style without needing to touch CSS

I do think there should be lots of configuration options

My problem with lots of color inputs is that they are a pain to use on Windows — we can't even paste a hex code from elsewhere x_x And are tons of configs always good?
I though about making two-way inputs (color+text) before, but my implementation wasn't clean enough to go into production.
I also thought about making a dropdown with selectable themes initially (bandcamp style/neon/flat/whatever).
I've pushed a more slim version recently, with buttons' background being lighter if borders are enabled (flat white semi-transparent gradient is used for this effect)
Automatic icon colors can be seen here as well.

(still not fully possible to replicate bandcamp look, though)
Also, in your branch, I think this should be named more specifically, like "Buttons"

About colour input: the way it's implemented is dependent on the operating system and web browser. On windows and firefox it pops up the old ms paint colour picker, and on chrome it's a much nicer inline colour picker. I'm probably going to add a js colour picker as a dependency, which should make the experience the same for everyone. That way we could also update colours in real time.
I do agree too many configs are bad, but I don't think we're in a rough spot yet. I'm thinking the custom button colours could go behind a checkbox
The drop-down theme idea is pretty interesting, especially because it means it would make room for a windows 95 theme :3

Also, in your branch, I think this should be named more specifically, like "Buttons" or "Buttons' background"

calling it buttons would work!
If there's nothing else you want to put in this PR, how about we merge it and I'll figure out how to give the option for the classic bandcamp style, because I do want to keep that an option for people

added a colour picker over here: #10
instantly makes the colour picking much more user friendly on firefox.

Ok, let's merge in all the three branches :rofl:
Do you need assistance in something??


bug(COMPONENT): Global density cant be set in angular material 15 mdc

Is this a regression?

[ ] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
v14.2.7
Description
New input fields appear super big compared to previous versions.
Setting global density does not work:
@include mat.all-component-densities('maximum');
or
@include mat.all-component-densities(-3);
or setting it directly inside the theme.
It all does not have any effect.
Reproduction
Steps to reproduce:

use angular material 15
use any kind of text input
try making it smaller by setting global density higher

Expected Behavior
Form fields scaling up or down in size
Actual Behavior
No effect
Environment

Angular: 15.0.3
CDK/Material: 15.0.2
Browser(s): Chrome
Operating System (e.g. Windows, macOS, Ubuntu): macOS

I'm currently using in v15 and its working.
@include mat.all-component-densities(-2);
But if I set it to -3, then I have a compilation errors. Guessing the supported values are 0 | -1 | -2.
If that don't work, try wrapping it around a class in your styles.scss and apply this class in you root component.

Density defaults to maximum spacing (which is 0), and should be able to step down to -4. I think what's happening is that some components can't get denser than -2, and those seem to be causing failures when the all-components-densities mixin is set to -3 (that's a bug, they should just be falling back to -2 if they don't go denser).
What you can do for now if you're just trying to adjust form-fields is use the form-field specific mixin which should allow the more dense setting:
@include mat.form-field-density(-3);

Or you could use the minimum value with all-component-densities.
@include mat.all-component-densities(minimum);

The next steps to fix this issue are:

Ensure all density mixins accept any valid density value: maximum, 0, -1, -2, -3, -4, minimum
Document the full list of density values here: https://material.angular.io/guide/theming#customizing-density

I have related problem which you might have experience to say something. I tried to set global density like guide says here https://material.angular.io/guide/theming#customizing-density
Only thing what get affexted was button size. Although in my example application there is not every possible elements from Angular Material, but at least mat-form-field doesn't shrink. Then I tried also scoped style with mixin like this:
.test-form-field {   @include mat.form-field-density(-2); }
And nothing happend. If I set too big value to function then I get error but for example with value -2 no error and no affect.
I also tried scoped density set to one button and it doesn't affect anything.
.bigger-button {   background-color: blue;   @include mat.button-density(-1); }
Can those be used in component level with ng serve or should those includes be in global styles?

Furter testing it seems that I cannot use @include in component level styles. Maybe that is common knowledge but I didn't know. Form-field is resizing correctly when I move this to globalstyle files.
.test-form-field {    @include mat.form-field-density(-1); }
But when I set density to -2 label disapears. Is that bug or material feature, because it is unusable?

Here is information for that feature when label disapears https://github.com/angular/components/issues/4597#issuecomment-1413889184 So you can set that value to avoid label to be removed. So it is feature not bug
@use '@material/textfield' as mdc-textfield;
mdc-textfield.$minimum-height-for-filled-label: 40px;

is the latest implementation based on angular material 2 or 3? because the default density for example gives and height of 36px for the buttons not 40px like the material 3 design specification says. and if it's 2 is there a roadmap to adapt for version 3? thanks

Is this still not solved?

When did they change the density values from:

5 to -5
to:
0 to -4
?
Since Angular 16?

  @include mat.button-density(-2);
  @include mat.icon-button-density(-2);

Does not seem to work. A few CSS variables get added, but the padding is still stuck at a hard-coded 12px on .mat-mdc-icon-button.mat-mdc-button-base


Update TOC

:warning: Validation status: warnings

File
Status
Preview URL
Details

docs-ref-autogen/overview/azure/HDInsight/Management.yml
:warning:Warning

Details

docs-ref-autogen/overview/azure/HDInsight.yml
:warning:Warning

Details

docs-ref-mapping/reference.yml
:white_check_mark:Succeeded

docs-ref-autogen/overview/azure/HDInsight/Management.yml

[Warning] Failed to extract file creator information from git history.

docs-ref-autogen/overview/azure/HDInsight.yml

[Warning] Failed to extract file creator information from git history.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:warning: Validation status: warnings

File
Status
Preview URL
Details

docs-ref-autogen/overview/azure/HDInsight/Management.yml
:warning:Warning

Details

docs-ref-autogen/overview/azure/HDInsight.yml
:warning:Warning

Details

docs-ref-autogen/azure-datalake-store/azure.datalake.store.lib.DatalakeRESTInterface.yml
:white_check_mark:Succeeded

docs-ref-autogen/msrest/msrest.serialization.Model.yml
:white_check_mark:Succeeded

docs-ref-mapping/reference.yml
:white_check_mark:Succeeded

docs-ref-autogen/overview/azure/HDInsight/Management.yml

[Warning] Failed to extract file creator information from git history.

docs-ref-autogen/overview/azure/HDInsight.yml

[Warning] Failed to extract file creator information from git history.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Move Google import and disable it except in dev builds

How to test
Validate in the release build that the import button shows "Coming soon" and does not initiate the import screen. @vitorpamplona

Disabled with "Coming soon" until #410 is merged


getting an empty output for CREATE SCHEMA  and OPTIONS

Hi @xnuinside
I was trying to parse this ddl but getting an empty [ ] output
from simple_ddl_parser import parse_from_file
import json
import os

filename = r'example.ddl'
result = parse_from_file(filename)
print(result)
output
[]

json_data = json.dumps(result)
print(json_data)
output
[]

Not supporting CREATE SCHEMA IF NOT EXISTS and it is expecting only one OPTIONS
CREATE SCHEMA IF NOT EXISTS name-name
OPTIONS (
location="path"
);
CREATE TABLE name.hub.REF_CALENDAR (
calendar_dt DATE,
calendar_dt_id INT,
fiscal_half_year_day_no INT,
fiscal_half_year_end_dt DATE,
fiscal_half_year_month_no INT,
fiscal_half_year_nm STRING,
fiscal_half_year_no INT,
fiscal_half_year_reporting_week_no INT,
fiscal_half_year_start_dt DATE,
fiscal_half_year_week_no INT,
fiscal_year_day_no INT,
fiscal_year_end_dt DATE,
fiscal_year_long_nm STRING,
fiscal_year_month_no INT,
fiscal_year_nm STRING,
fiscal_year_no INT,
fiscal_year_quarter_no INT,
fiscal_year_reporting_week_no INT,
fiscal_year_start_dt DATE,
fiscal_year_week_no INT,
month_day_no INT,
month_end_dt DATE,
month_id STRING,
month_nm STRING,
month_reporting_week_no INT,
month_start_dt DATE,
month_week_no INT,
quarter_day_no INT,
quarter_end_dt DATE,
quarter_month_no INT,
quarter_reporting_week_no INT,
quarter_start_dt DATE,
quarter_week_no INT,
reporting_week_day_no INT,
reporting_week_end_dt DATE,
week_day_nm STRING,
week_day_no INT,
week_day_short_nm STRING,
weekend_ind INT,
weekend_ind_desc STRING,
year_day_no INT,
year_month_no INT,
year_no INT,
year_quarter_no STRING,
year_reporting_week_no INT,
year_week_no INT
)
OPTIONS (
description="Calendar table records reference list of calendar dates and related attributes used for reporting."
);

@ankitdata, can you provide some more details just for my knowledge) I tried to google in that dialect you can create a schema with options, but failed. Can you send some link for me about it? Thank you!

okay, I found it - it's BigQuery, I will add support

Yes it's BigQuery ddl.
I Notice for OPTIONS it's showing distkey after converting to json
"distkey": "location=\"path\"
here I kept only one OPTIONS in ddl to check my converted json
Also I would like to know
in OPTIONS is it supports blank spaces
for eg-
OPTIONS (
  description="foo foo foo foo."
  );

for me it doesn't work if there is space in between foo foo
If you can add support to pass above ddl file would be great.
Thanks for coming early to support @xnuinside .

Hi @xnuinside
Thanks for your support.
In addition to the above mentioned issue we are also facing below mentioned issues while converting Big Query DDL to json.

In Big Query DDL we have field level description, If we add any options inside field it is not converting. And below i have provided one of the field for your reference.
Eg: calendar_dt DATE OPTIONS(description="Field Description")

If the cluster by field is not in brackets it is not converting. Below provided example for your reference.
Eg: CLUSTER BY year_reporting_week_no

@kalyan939 @ankitdata I planned to add support for BigQuery, but did not do it yet. I will work on it as soon as I will be back from vacation on 8 November

Hi @xnuinside
Is there any update on BigQuery support adding to simple-ddl-parser.

@ankitdata , hi! I started work on it in yesterday release https://github.com/xnuinside/simple-ddl-parser/releases/tag/v0.22.0, I fixed some thing on it like strings now parsed correctly - does not matter how much spaces inside (like in your example - OPTIONS (
description="Calendar table records reference list of calendar dates and related attributes used for reporting."
);) and OPTIONS statement in CREATE SCHEMA now works. But I still need to add support for OPTIONS in create table, in column and etc. Will continue work on it this week.

Hi @xnuinside ,
I checked v0.22.0 it is working fine with different DDL's as well.
CLUSTER BY issue I noticed > it's not working if it is not in brackets.

If it is eg- CLUSTER BY __id   it wont work
If it is in brackets eg- CLUSTER BY (__id) then only it is working.

could you please include this as well in you next release.
Thanks .!

@ankitdata of course! thanks for testing & reporting - it's really really helps make library better

@ankitdata @kalyan939, I released 0.22.1 https://pypi.org/project/simple-ddl-parser/ with fix for Cluster by & OPTIONS in column . Please check. Tests added - https://github.com/xnuinside/simple-ddl-parser/blob/main/tests/test_bigquery.py#L242 . If there any more issues? or we can close the issue?

@xnuinside I tested again with other ddl many issues resolved
Thanks for quick fix.

Now CREATE SCHEMA & CREATE TABLE is not returning in output json
And OPTIONS can be max 2 ? bcz if it is more than 2 then it is not returning in output json

please check and let me know.
Thank You.

@ankitdata can you show sample for the 1st point because all tests passed - what mean ‘not returning?’

@xnuinside , In the output json file we are not able to get schema/project_id and dataset name
Eg: project_id.dataset.table_name
Output is missing project_id and dataset name

@kalyan939 maybe problem in 2 dots, I think, a have tests only for dataset.table_name. I will check at the evening & will fix it

Hi @xnuinside,
Below i have mentioned my example query and output for your reference\

Input DDL Query
CREATE SCHEMA IF NOT EXISTS project.calender
OPTIONS (
location="project-location"
);
CREATE TABLE project.calender.REF_CALENDAR (
calendar_dt DATE,
calendar_dt_id INT,
fiscal_half_year_day_no INT,
fiscal_half_year_end_dt DATE,
fiscal_half_year_month_no INT,
fiscal_half_year_nm STRING,
fiscal_half_year_no INT,
fiscal_half_year_reporting_week_no INT
)
OPTIONS (
description="Calendar table records reference list of calendar dates and related attributes used for reporting."
)

Output
[{
'columns': [{
'name': 'calendar_dt',
'type': 'DATE',
'size': None,
'references': None,
'unique': False,
'nullable': True,
'default': None,
'check': None
}, {
'name': 'calendar_dt_id',
'type': 'INT',
'size': None,
'references': None,
'unique': False,
'nullable': True,
'default': None,
'check': None
}, {
'name': 'fiscal_half_year_day_no',
'type': 'INT',
'size': None,
'references': None,
'unique': False,
'nullable': True,
'default': None,
'check': None
}, {
'name': 'fiscal_half_year_end_dt',
'type': 'DATE',
'size': None,
'references': None,
'unique': False,
'nullable': True,
'default': None,
'check': None
}, {
'name': 'fiscal_half_year_month_no',
'type': 'INT',
'size': None,
'references': None,
'unique': False,
'nullable': True,
'default': None,
'check': None
}, {
'name': 'fiscal_half_year_nm',
'type': 'STRING',
'size': None,
'references': None,
'unique': False,
'nullable': True,
'default': None,
'check': None
}, {
'name': 'fiscal_half_year_no',
'type': 'INT',
'size': None,
'references': None,
'unique': False,
'nullable': True,
'default': None,
'check': None
}, {
'name': 'fiscal_half_year_reporting_week_no',
'type': 'INT',
'size': None,
'references': None,
'unique': False,
'nullable': True,
'default': None,
'check': None
}],
'primary_key': [],
'alter': {},
'checks': [],
'index': [],
'partitioned_by': [],
'tablespace': None,
'table_name': 'REF_CALENDAR`',
'options': [{
'description': '"Calendar table records reference list of calendar dates and related attributes used for reporting."'
}],
'partition_by': {
'columns': ['fiscal_half_year_reporting_week_no', 'DAY'],
'type': 'DATETIME_TRUNC'
},
'cluster_by': ['calendar_dt'],
'dataset': None
}]

@kalyan939 thanks, samples very useful

@ankitdata  I added test for multiple OPTIONS it works on version 0.22.1 as expected, maybe problem in OPTION value, maybe it has some specific format? test here https://github.com/xnuinside/simple-ddl-parser/pull/96/files

@kalyan939  @ankitdata  I released 0.22.3 version. Check please, I added bunch of tests: https://github.com/xnuinside/simple-ddl-parser/blob/main/tests/test_bigquery.py#L667, https://github.com/xnuinside/simple-ddl-parser/blob/main/tests/test_bigquery.py#L577, https://github.com/xnuinside/simple-ddl-parser/blob/main/tests/test_bigquery.py#L229 and etc

@xnuinside
I tested on latest 0.22.3 version.
few things I notice

In CREATE TABLE
if my.data-abc-foo then in this case whatever after dot is I am getting in json
out put = "schema":"data-abc-foo" _here my. is missing.
In CREATE SCHEMA IF NOT EXISTS
out put = "schema":"my" that is showing as schema which is coming from table name I checked
also please could you check OPTIONS once

eg- DDL
CREATE SCHEMA IF NOT EXISTS `my.data-cdh-hub`

CREATE TABLE `my.data-cdh-hub-REF-CALENDAR` (
  calendar_dt DATE,
  calendar_dt_id INT,
  fiscal_half_year_day_no INT,
  fiscal_half_year_end_dt DATE,
  fiscal_half_year_month_no INT,
  fiscal_half_year_nm STRING,
  fiscal_half_year_no INT,
  fiscal_half_year_reporting_week_no INT,
  fiscal_half_year_start_dt DATE,
  fiscal_half_year_week_no INT,
  fiscal_year_day_no INT,
  fiscal_year_end_dt DATE,
  fiscal_year_long_nm STRING,
  fiscal_year_month_no INT,
  fiscal_year_nm STRING,
  fiscal_year_no INT,
  fiscal_year_quarter_no INT,
  fiscal_year_reporting_week_no INT,
  fiscal_year_start_dt DATE,
  fiscal_year_week_no INT,
  month_day_no INT,
  month_end_dt DATE,
  month_id STRING,
  month_nm STRING,
  month_reporting_week_no INT,
  month_start_dt DATE,
  month_week_no INT,
  quarter_day_no INT,
  quarter_end_dt DATE,
  quarter_month_no INT,
  quarter_reporting_week_no INT,
  quarter_start_dt DATE,
  quarter_week_no INT,
  reporting_week_day_no INT,
  reporting_week_end_dt DATE,
  week_day_nm STRING,
  week_day_no INT,
  week_day_short_nm STRING,
  weekend_ind INT,
  weekend_ind_desc STRING,
  year_day_no INT,
  year_month_no INT,
  year_no INT,
  year_quarter_no STRING,
  year_reporting_week_no INT,
  year_week_no INT
  )
OPTIONS (
    location="location"
    )
OPTIONS (
  description="Calendar table records reference list of calendar dates and related attributes used for reporting."
  );

This is I added in DDL to try multiple OPTIONS -

OPTIONS (
    name ="path"
)
OPTIONS (
    kms_two="path",
    two="two two"
)
OPTIONS (
    kms_three="path",
    three="three",
    threethree="three three"
)
OPTIONS (
    kms_four="path",
    four="four four",
    fourin="four four four",
    fourlast="four four four four"
);

@ankitdata I released 0.22.4 https://github.com/xnuinside/simple-ddl-parser/blob/main/tests/test_bigquery.py#L755 - test for multiple OPTIONS statement & test for project_id in schema name - https://github.com/xnuinside/simple-ddl-parser/blob/main/tests/test_simple_ddl_parser.py#L2326

@ankitdata I'm closing this issue. If you will find anything new - feel free to open the new issue and thank you!


giant git squash merge to get develop branch in line with 4.0 branch

Generally speaking it's a bad idea to do anything like this:
git merge --squash 4.0 -X theirs
I couldn't think of any better way to get to exactly even parity between 4.0 branch and develop branch though.
It's 100% important to me that there's no difference between develop and 4.0 branches. It's less important to me to have completely perfect revision history for the develop branch.
git diff develop..4.0  <--- we are clean! Hooray??
This is super janky and I'd really prefer another way. Suggestions welcome! If we don't come up with anything else, this'll work I guess.

The drawback with this approach is that all commits of 4.0 are merged into the single commit. If we need to rollback a commit in future, then it will not be an easy task to do that in develop branch (We need to rollback the change in 4.0 branch and then merge it with develop for parity).
But going with normal merge will require a considerable time due to large number of conflicts. So we can go ahead this time but we should update and sync the two branches at frequent intervals (say 2 weeks) so that differences between the two does not pile up.

agreed. I see this as a one time workaround for letting these branches get 6 months out of sync

There is no way to review the change of this size.
I very much agree with Devansh' comments - this makes using history to understand where and why changes came from impossible.
May be attempt the merges file by file? And iterate until done.


Add afterPublishing hook

Add afterPublishing hook to restart workers
for example the Symfony messenger worker

Indeed can be usefull :)

Hi, what is the different between beforeFinishingDeploy() and this afterPublishing() ?


Automatically reconnect to contactless reader process

This is fixed by RoboJackets/apiary-nfc-reader#5.


Support inserting br tags when you press enter.

I actually think this might break Android and iOS. I'll chat in the channel, and mark this as draft in the meantime


Test .vue files are 4-space indentation

I noticed that the .vue files in test/resources/components/ are all 4-space indentation despite the .editorconfig being set to 2 for all files. Should the config be updated to set *.vue to 4 or should the vue files be reformatted?
I can open a PR if you'd like.

Nice catch. Yes, could you open a PR to set them all to 2 spaces?


Scary warnings spinning up e2e on GCE

This happens over and over.  Scary messages.
WARNING: Lists should be separated by commas, try "--allow=tcp,udp,icmp,esp,ah,sctp". If you intend to use udp, icmp, esp, ah, sctp for positional arguments, put them before the flag.
WARNING: Lists should be separated by commas, try "--scopes=storage-ro,compute-rw". If you intend to use compute-rw for positional arguments, put them before the flag.
WARNING: Lists should be separated by commas, try "--metadata-from-file=startup-script=/usr/local/google/home/thockin/src/kubernetes/hack/e2e-internal/../../cluster/../cluster/gce/../../cluster/../cluster/gce/configure-vm.sh,kube-env=/tmp/kubernetes.MURmzX/master-kube-env.yaml". If you intend to use kube-env=/tmp/kubernetes.MURmzX/master-kube-env.yaml for positional arguments, put them before the flag.
WARNING: Lists should be separated by commas, try "--disk=name=e2e-test-thockin-master-pd,device-name=master-pd,mode=rw,boot=no,auto-delete=no". If you intend to use device-name=master-pd, mode=rw, boot=no, auto-delete=no for positional arguments, put them before the flag.

That's a new one. gcloud started getting a little more anal here. Exciting.
cc @jlowdermilk

They changed list argument syntax a while back, but the warnings are new. Time to update startup scripts I guess.


challenge dns01 doesnt work

Hello, i'm trying to get my ssl wildcard for a domain. It works. But with a second domain, i get this error ine the challenge :
Error presenting challenge: OVH API  │
│ call failed: GET /domain/zone/mydomain/status - Error 400: "Invalid signature"

i fix it by encode in base63 by applicationSecret


prompt gaurdrails

implement prompt gaurdrails to prevent prompt injections and unsafe responses

minor fix in branch 41 - needs more thought, will merge with issue 37


Bugfix sed

SED initialization code was not robust for negative/zero flux in some bands. As such, such an SED is not a problem. I therefore changed the behavior from raising an exception to logging a warning.
I also, moved the SED correction (for PSF width variations) from get_pixel_sed to the relevant init_ functions because this is where it's needed. It's confusing otherwise.

@fred3m , I've addressed all comments, and created a simpler implementation of MultiComponentSource that actually uses a common center for all components. You can merge if you are fine with it.


AN-418: Apply timeouts for GCP

Set memory_size for startCoordinator and callApi to 256 MB
Set memory_size for initializeProvider and processProviderRequests to 1024 MB to enhance performance (GCP does not have a 768 MB option)
As per @andreogle I've increased the worker option-based timeouts so that the functions can run for as long as the cloud provider will let them. This will affect all cloud providers.

I'll add the changeset (thanks @Siegrift) and I'll also double-check this configuration by running a stress test.

Added changeset :)
I ran stress tests against an Airnode with these changes.
The stress tests indicate that an Airnode instance with these timeouts and memory allocations has a capacity of 119 fulfilments per cycle under ideal conditions. For tracking these were tests keyed as f690 and 661f - I'll post these graphs to Jira.


Check the sender on internal RPC methods and deny anything that's not sent from a beaker: site

Currently there's no internal origin check, just a control over which APIs get imported to the environment. This would add an extra layer of safety.

After creating this issue, I found I needed to export the beakerBrowser API, in a limited fashion, to non-internal webviews. So, this permission control will need to be per-function.


0.8.1 regression - formatter removes strings causing a syntax error on multiline fstring with implicitly concatenated strings and an if expression inside it

before:
f"""{'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa' 'a' if True else ""}\
a"""

after:
f"""{ if True else ""}\
a"""

playground

A bit more minimal example:
f"{'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa' 'a' if True else ""}"

If you remove one a from the string, the formatting is correct because it now fits on the line.

I think this is related to https://github.com/astral-sh/ruff/pull/14489
We may need a more local fix or change our approach in the f-string formatter to instead format the inner expression on its own with line-length set to max.