SQL select statements for source freshness and tests are using unnecessary DB transaction logic

Describe the bug
When running DBT source snapshot-freshness checks and DBT tests, I see in the Snowflake query logs that all these SELECT queries are wrapped in database transaction logic:

For source freshness, I see a BEGIN and COMMIT per SQL statement
For DBT tests I see a BEGIN and ROLLBACK

All these steps consume unnecessary CPU cycles. As they 'only' are select statement, wrapping them in transaction logic is unnecessary as far as I am concerned. As we plan to run a lot of source checks and tests, all these CPU cycles will add up eventually, costing us money.
Steps To Reproduce
Can be reproduced by running DBT source snapshot-freshness or running DBT test and then look at the snowflake query log
Expected behavior

No explicit database transactional logic zommands on SELECT only queries, specifically source freshness and tests
IMO transactional logic is only needed for a sequence of INSERT / UPDATE statements  that make a transaction together. An example being a DELETE plus INSERT operation

System information
Which database are you using dbt with?

[ ] postgres
[ ] redshift
[ ] bigquery
[X] snowflake
[ ] other (specify: ____________)

The output of dbt --version:
Running DBT version 17.0 on the cloud IDE

I knew this issue was coming someday :) Thanks for being the one to open it @bashyroger.
dbt knows how to operate on databases that do have transactions (Redshift, Postgres), and databases that don't (BigQuery, Spark). Much trickier are databases that sometimes have transactions (Presto, depending on the connector) or where we only sometimes need to use them, e.g. Snowflake.
So, Snowflake supports a lot of atomic operations (create or replace table, merge), but (depending on one's autocommit parameter) it also requires commit for DML statements to take effect.
Here's an approach that would only require a handful code changes:

At the connection level, make Snowflake more like BigQuery, a database that doesn't know anything about transactions: reimplement execute sans add_begin_query/ add_commit_query, make clear_transaction a noop.
In the specific places where we need to run multiple DDL statements, in sequence, within a single transaction—within dbt, I think that may only be the incremental materialization—we explicitly run begin and commit queries.

This would be a breaking change for anyone who currently uses statement blocks with auto_begin=True to run multiple DDL statements within a single transaction. It's not a huge breaking change—they'd just need to add begin; and commit;, before and after—but worth calling out that this may affect many custom SQL headers, hooks, and operations.
Before we change this code, I think it'd be worth estimating the actual cost associated with all the begin, commit, and rollback queries explicitly executed by dbt over the course of a standard run. Here's a really unscientific measurement using Snowflake's query history for our internal analytics account. (Unfortunately, it seems to be limited to returning up to 100 queries at a time, so this sample is limited to exactly 15 seconds of me running dbt test with 8 threads.)
select

    min(end_time) as first_query,
    max(end_time) as last_query,
    sum(case when query_text in ('COMMIT', 'BEGIN', 'ROLLBACK') then total_elapsed_time else 0 end) / 1000 as excess_txn_time_s,
    sum(total_elapsed_time) / 1000 as total_query_time_s,
    excess_txn_time_s / total_query_time_s as pct_excess

from table(information_schema.query_history_by_user(
   user_name => 'JERCO',
   end_time_range_start => '2020-09-11 09:31:44.000'::timestampltz,
   end_time_range_end => '2020-09-11 09:32:08.000'::timestampltz
))

FIRST_QUERY
LAST_QUERY
EXCESS_TXN_TIME_S
TOTAL_QUERY_TIME_S
PCT_EXCESS

2020-09-11 12:31:53
2020-09-11 12:32:07
12.45
55.05
0.23

I managed to run 55 compute-seconds of tests in 15 perceived seconds. Neat! It also looks like 20% of my overall query time was BEGIN, COMMIT, or ROLLBACK. So over the long run—and please take this with a major grain of salt—there's some opportunity for marginal savings.
We have some performance work slated for the end of the year. While that's going to focus more on speeding up things like project parsing and startup compilation time, I'll keep this in mind as well.

Hi @jtcohen6 , thanks for this extensive investigation!
As you found out by looking at the query history, the time spend on non-required work is quite significant with a potential to reduce compute time with 23%.
Depending on how one configures snowflake, schedules /runs jobs, and the real work VS overhead ratio the savings could be more then marginal.
I just ran a slightly adapted version of your query on our job that checks the freshness of 1015 sources of which (currently) 525 are empty (making the ratio a percentage and changing the row limit to the max of 10000)
select     min(end_time) as first_query,     max(end_time) as last_query,     sum(case when query_text in ('COMMIT', 'BEGIN', 'ROLLBACK') then total_elapsed_time else 0 end) / 1000 as excess_txn_time_s,     sum(total_elapsed_time) / 1000 as total_query_time_s,     excess_txn_time_s / total_query_time_s as pct_excess from table(information_schema.query_history_by_user(    user_name => 'DWH_PROD_TL_RUNNER',    end_time_range_start => '2020-09-16 13:07:19.000'::timestampltz,    RESULT_LIMIT => 10000 ))
Total is 2800 rows of raw data,
Results are as follows:

EXCESS_TXN_TIME_S: 324
TOTAL_QUERY_TIME_S: 712
PCT_EXCESS: 46

So, quite significant for this workload...
TOTAL_QUERY_TIME_S
TOTAL_QUERY_TIME_S


[FLINK-32233][table] Introduce SupportsTruncate interface

What is the purpose of the change
Introduce SupportsTruncate interface.
Brief change log
Introduce SupportsTruncate interface.
Verifying this change
N/A
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no ****/ don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

@LadyForest  Thanks for reviwing. Merging...


Deprecation Warning: Legacy 'setup.py install' Method

Hi,
I'm getting following deprecation warning during the installation. It looks like there will be a breaking change in pip 23.1:
Collecting polyleven
  Downloading polyleven-0.8.tar.gz (6.4 kB)
  Preparing metadata (setup.py) ... done
Installing collected packages: polyleven
  DEPRECATION: polyleven is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
  Running setup.py install for polyleven ... done
Successfully installed polyleven-0.8

[notice] A new release of pip available: 22.3.1 -> 23.2.1
[notice] To update, run: pip install --upgrade pip

Best!

@filipre Thank you for reporitng!
I think the particular warning message will disappear once you install wheel package
as your error message suggested:
$ pip install wheel
$ pip install polyleven


x/tools/gopls: Highlight: nil deref panic on CompositeLiteral with no type

/Users/adonovan/go/bin/gopls: devel go1.24-760b722c34 Fri Aug 9 14:54:31 2024 +0000
	path	golang.org/x/tools/gopls
	mod	golang.org/x/tools/gopls	(devel)
	dep	github.com/BurntSushi/toml	v1.2.1
	dep	github.com/google/go-cmp	v0.6.0
	dep	golang.org/x/exp/typeparams	v0.0.0-20221212164502-fae10dda9338
	dep	golang.org/x/mod	v0.20.0
	dep	golang.org/x/sync	v0.8.0
	dep	golang.org/x/telemetry	v0.0.0-20240712210958-268b4a8ec2d7
	dep	golang.org/x/text	v0.17.0
	dep	golang.org/x/tools	v0.21.1-0.20240508182429-e35e4ccd0d2d
	=>	../	(devel)

	dep	golang.org/x/vuln	v1.0.4
	dep	honnef.co/go/tools	v0.4.7
	dep	mvdan.cc/gofumpt	v0.6.0
	dep	mvdan.cc/xurls/v2	v2.5.0
...
	build	vcs.revision=7cc3be7d11326f7aa5fc7a51166590788049d072

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x20 pc=0x100b57bb4]

goroutine 101 gp=0x14000602700 m=6 mp=0x14000500008 [running]:
panic({0x100ff4840?, 0x1017acf00?})
	/Users/adonovan/w/goroot/src/runtime/panic.go:804 +0x154 fp=0x140050f8ba0 sp=0x140050f8af0 pc=0x100336bc4
runtime.panicmem(...)
	/Users/adonovan/w/goroot/src/runtime/panic.go:262
runtime.sigpanic()
runtime.sigpanic()
e[16:00:36.275]   <-- textDocument/hover[4] {"jsonrpc":"2.0","result":{"contents":{"kind":"plaintext","value":"func (Node) Common() *Common"},"range":{"start":{"line":144,"character":15},"end":{"line":144,"character":21}}},"id":4}
i[16:00:36.275] anxious continuation to 4 can't run, held up by (6)
	/Users/adonovan/w/goroot/src/runtime/signal_unix.go:900 +0x300 fp=0x140050f8c00 sp=0x140050f8ba0 pc=0x100339060
golang.org/x/tools/gopls/internal/golang.highlightIdentifier.func3({0x10112a448?, 0x14003074480})
	/Users/adonovan/w/xtools/gopls/internal/golang/highlight.go:562 +0x264 fp=0x140050f8cc0 sp=0x140050f8c10 pc=0x100b57bb4
go/ast.inspector.Visit(0x140009c8440, {0x10112a448?, 0x14003074480?})
	/Users/adonovan/w/goroot/src/go/ast/walk.go:361 +0x38 fp=0x140050f8ce0 sp=0x140050f8cc0 pc=0x100648638
go/ast.Walk({0x101125e80?, 0x140009c8440?}, {0x10112a448, 0x14003074480})
	/Users/adonovan/w/goroot/src/go/ast/walk.go:34 +0x44 fp=0x140050f8e50 sp=0x140050f8ce0 pc=0x100645404
go/ast.Walk({0x101125e80?, 0x140009c8440?}, {0x10112a5b0, 0x14004270740})
	/Users/adonovan/w/goroot/src/go/ast/walk.go:127 +0x1db4 fp=0x140050f8fc0 sp=0x140050f8e50 pc=0x100647174
go/ast.walkList[...](...)
	/Users/adonovan/w/goroot/src/go/ast/walk.go:21
go/ast.Walk({0x101125e80?, 0x140009c8440?}, {0x10112a808, 0x140030744c0})
	/Users/adonovan/w/goroot/src/go/ast/walk.go:194 +0x2884 fp=0x140050f9130 sp=0x140050f8fc0 pc=0x100647c44
go/ast.walkList[...](...)
	/Users/adonovan/w/goroot/src/go/ast/walk.go:21
go/ast.Walk({0x101125e80?, 0x140009c8440?}, {0x10112a420, 0x1400426fdd0})
	/Users/adonovan/w/goroot/src/go/ast/walk.go:211 +0x2978 fp=0x140050f92a0 sp=0x140050f9130 pc=0x100647d38
go/ast.Walk({0x101125e80?, 0x140009c8440?}, {0x10112aab0, 0x1400426fe00})
	/Users/adonovan/w/goroot/src/go/ast/walk.go:332 +0xd78 fp=0x140050f9410 sp=0x140050f92a0 pc=0x100646138
go/ast.walkList[...](...)
	/Users/adonovan/w/goroot/src/go/ast/walk.go:21
go/ast.Walk({0x101125e80?, 0x140009c8440?}, {0x101129958, 0x1400410ea00})
	/Users/adonovan/w/goroot/src/go/ast/walk.go:341 +0x2d88 fp=0x140050f9580 sp=0x140050f9410 pc=0x100648148
go/ast.Inspect(...)
	/Users/adonovan/w/goroot/src/go/ast/walk.go:372
golang.org/x/tools/gopls/internal/golang.highlightIdentifier(0x1400426c280, 0x1400410ea00, 0x14000635da0, 0x140037206c0)
	/Users/adonovan/w/xtools/gopls/internal/golang/highlight.go:540 +0x208 fp=0x140050f95d0 sp=0x140050f9580 pc=0x100b57918
golang.org/x/tools/gopls/internal/golang.highlightPath({0x140040ba300, 0xe, 0x10}, 0x1400410ea00, 0x14000635da0)
	/Users/adonovan/w/xtools/gopls/internal/golang/highlight.go:106 +0x280 fp=0x140050f9650 sp=0x140050f95d0 pc=0x100b555b0

Related Issues and Documentation

x/tools/gopls: InlayHint: nil panic due to ast.CallExpr.Fun with no type #67142 (closed)
x/tools/gopls: crash due to panic: invalid Pos value (go/token/position.go:281) #47231 (closed)
x/tools/gopls: panic in analysis #60551
x/tools/gopls: automated issue report (crash) #40449 (closed)
x/tools/gopls: panic in MethodSets: nil data for package #59138 (closed)
x/tools/gopls: panic in internal/lsp/debug #53793 (closed)
x/tools/gopls: automated issue report (crash) #48763 (closed)
x/tools/gopls: crash in filepath.Walk during go.work completion #64225 (closed)
text/template: panics encountered during function calls are hard to treat and debug #28242 (closed)
x/tools/gopls: illegal line number panic #37226 (closed)

(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)

This appears to be a recent regression caused by https://go.dev/cl/597675.

I've been trying all week to come up with a good repro for this, but to no avail. What I have found is that it consistently crashes in an if-statement that has been misparsed as a CompositeLit:
						if decl.Tok == token.CONST {  <---- this "{" is the start of a CompositeLit with no Type
							info.declare(id, &Const{    <-- the declare call is Elt[0] of the CompositeLit
								symbol: symbol{
									block: block,
									name:  id.Name,
								},
								expr: lazye,
							})
						} else { <----this "}" is the end of the lit

However, the edits I was making were about 1000 lines up the file (e.g. an extra "}" inserted by mistake) so it looks like a cascading failure of parser recovery. (Nonetheless, the CompositeLiteral should have a type.)

Yay, I have a deterministic repro of the crash using the gopls CLI. Unfortunately the file is very large and nonpublic so I will need to bisect it down a bit first.

OK, I reduced it from about 2000 lines to around 1KB by manual bisection and some lucky guesses. (The result is a total mess, but that's not the point.)
Write this file into /tmp/a.go:
package p

func f() {
	constant. MakeFromLiteral(e.Valuelit string,

	case *ast.ArrayType:
		if e.Len != nil {
			mlen, _, klen := f(info, ictx, e.Len, env)
			if mlen != ValueMode || klen == nil || klen.Kind() != constant.Int {
			if mlen != ValueMode || klen == nil || klen.Kind() != constant.Int {
			}
		} else {
		}
	}
}

func g(info *Info, block *Block, stmt ast.Stmt) {
	if stmt, ok := stmt.(*ast.AssignStmt); ok && stmt.Tok == token.DEFINE {
		for i, lhs := range stmt.Lhs {
		}
	}
}

and run this command:
$ gopls highlight /tmp/a.go:#462

to trigger the panic. That offset corresponds to the lhs ident in the final for loop, which, according to the types playground, has this enclosing path (along with a huge cascade of parse and type errors):
[0] *ast.Ident @ 19:10-19:13 (#460-463)
[1] *ast.CompositeLit @ 18:59-0:0 (#436-0)
[2] *ast.BinaryExpr @ 18:47-0:0 (#424-0)
[3] *ast.BinaryExpr @ 18:41-0:0 (#418-0)
[4] *ast.CallExpr @ 4:2-0:0 (#23-0)
[5] *ast.ExprStmt @ 4:2-0:0 (#23-0)
[6] *ast.BlockStmt @ 3:10-0:0 (#20-0)
[7] *ast.FuncDecl @ 3:1-0:0 (#11-0) Type.Scope={}
[8] *ast.File @ 1:1-0:0 (#0-0) Scope={}

Poking around in the types playground reveals what a fascinating mess the parser makes of this input. The malformed MakeFromLiteral call on line 6 seems to have a subtree that is a BinaryExpr (the final &&), which suggests that && stmt.Tok == token.DEFINE {...} is being parsed as an expression outside of an if-statement context where the "{" would indicate a BodyStmt; instead it looks like a CompositeLit of a bogus type.

Even smaller minification:
package p
var _ = g(if c { { lhs

The issue seems to be that, although the outer CompositeLit has a type of Invalid recorded for it, the type checker is not descending into the inner literal and recording Invalid for it too.
This appears to be an even more minimal case:
var _ = T{{ x }}

So, the gopls logic is actually correct; the bugs are in the parser and type-checker. The fix in https://go.dev/cl/606535 is a workaround, and an appropriate one for this particular issue, though I suspect there may be a great many places in the gopls logic that similarly assume every CompositeLit has a type and that could crash if invoked on ill-formed code. Let's proceed with 606535 and add workarounds for the others as they come up. The underlying issues are not new, so it appears to be rare.


error

docker-compose/ton-node/build/Dockerfile
I suggest the RUST version be changed to 1.53.0

I used 1.51.0 and 1.53.0 to test at the same time, and found that the installation of 1.53.0 is much faster.
And 1.51.0 will be stuck for a long time.

Updated to 1.55.0


refactor(allocator): add impl GetAddress for Address

This allows passing an Address to methods like StatementInjectorStore::insert_before if you want to.

#6891  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @overlookmotel and the rest of your teammates on  Graphite

Merge activity

Oct 25, 11:19 AM EDT: The merge label '0-merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.


[Android] Flutter application showing over lock screen

Steps to Reproduce

Run flutter application
Click power button to off the screen
Click power button to on the screen
Still accessible to application without credential

Expected results:
Lock screen to request credential.
Actual results:
Application without credential.

Logs

Analyzing estimationzill...

   info • The import of 'package:kakao_flutter_sdk/common.dart' is unnecessary because all of the used elements are also provided by the import of
          'package:kakao_flutter_sdk/user.dart' • lib/main.dart:17:8 • unnecessary_import
   info • Unused import: 'package:firebase_crashlytics/firebase_crashlytics.dart' • lib/main.dart:26:8 • unused_import
   info • 'backwardsCompatibility' is deprecated and shouldn't be used. This property is obsolete and is false by default. This feature was deprecated after v2.4.0-0.0.pre. •
          lib/main.dart:40:13 • deprecated_member_use
   info • Avoid `print` calls in production code • lib/main.dart:53:3 • avoid_print
   info • Use key in widget constructors • lib/main.dart:59:7 • use_key_in_widget_constructors
   info • The value of the field '_fcmToken' isn't used • lib/main.dart:68:15 • unused_field
   info • The value of the local variable 'android' isn't used • lib/main.dart:147:30 • unused_local_variable
   info • Prefer const with constant constructors • lib/main.dart:206:20 • prefer_const_constructors
   info • Use key in widget constructors • lib/main.dart:240:7 • use_key_in_widget_constructors
   info • SizedBox for whitespace • lib/main.dart:276:14 • sized_box_for_whitespace
   info • Use key in widget constructors • lib/main.dart:285:7 • use_key_in_widget_constructors
   info • SizedBox for whitespace • lib/main.dart:418:18 • sized_box_for_whitespace
   info • Unused import: 'package:flutter/material.dart' • test/widget_test.dart:8:8 • unused_import
   info • Unused import: 'package:estimationzill/main.dart' • test/widget_test.dart:11:8 • unused_import

14 issues found. (ran in 7.4s)

[✓] Flutter (Channel stable, 2.10.2, on Mac OS X 10.15.7 19H1715 darwin-x64, locale ko-KR)
    • Flutter version 2.10.2 at /Volumes/DATA2/sdk/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 097d3313d8 (10일 전), 2022-02-18 19:33:08 -0600
    • Engine revision a83ed0e5e3
    • Dart version 2.16.1
    • DevTools version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Volumes/DATA2/sdk/Android
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Users/hanwoollee/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/203.7935034/Android
      Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
    • All Android licenses accepted.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Users/hanwoollee/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/203.7935034/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)

[☠] IntelliJ IDEA Ultimate Edition (the doctor check crashed)
    ✗ Due to an error, the doctor check did not complete. If the error message below is not helpful, please let us know about this issue at
      https://github.com/flutter/flutter/issues.
    ✗ FormatException: Unexpected extension byte (at offset 5)
    • #0      _Utf8Decoder.convertSingle (dart:convert-patch/convert_patch.dart:1789:7)
      #1      Utf8Decoder.convert (dart:convert/utf.dart:351:42)
      #2      InputStream.readString (package:archive/src/util/input_stream.dart:207:30)
      #3      new ZipDirectory.read (package:archive/src/zip/zip_directory.dart:40:30)
      #4      ZipDecoder.decodeBuffer (package:archive/src/zip_decoder.dart:19:30)
      #5      ZipDecoder.decodeBytes (package:archive/src/zip_decoder.dart:14:12)
      #6      IntelliJPlugins._findPluginXml (package:flutter_tools/src/intellij/intellij.dart:130:44)
      #7      IntelliJPlugins._readPackageVersion (package:flutter_tools/src/intellij/intellij.dart:141:40)
      #8      IntelliJPlugins.validatePackage (package:flutter_tools/src/intellij/intellij.dart:63:35)
      #9      IntelliJValidator.validate (package:flutter_tools/src/intellij/intellij_validator.dart:103:15)
      #10     asyncGuard.<anonymous closure> (package:flutter_tools/src/base/async_guard.dart:111:32)
      #11     asyncGuard.<anonymous closure> (package:flutter_tools/src/base/async_guard.dart:109:18)
      #12     _rootRun (dart:async/zone.dart:1426:13)
      #13     _CustomZone.run (dart:async/zone.dart:1328:19)
      #14     _runZoned (dart:async/zone.dart:1861:10)
      #15     runZonedGuarded (dart:async/zone.dart:1849:12)
      #16     runZoned (dart:async/zone.dart:1780:12)
      #17     asyncGuard (package:flutter_tools/src/base/async_guard.dart:109:3)
      #18     Doctor.startValidatorTasks (package:flutter_tools/src/doctor.dart:205:9)
      #19     Doctor.diagnose (package:flutter_tools/src/doctor.dart:309:47)
      #20     DoctorCommand.runCommand (package:flutter_tools/src/commands/doctor.dart:50:48)
      #21     FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1320:12)
      <asynchronous suspension>
      #22     FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1161:27)
      <asynchronous suspension>
      #23     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #24     CommandRunner.runCommand (package:args/command_runner.dart:209:13)
      <asynchronous suspension>
      #25     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)
      <asynchronous suspension>
      #26     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #27     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
      <asynchronous suspension>
      #28     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
      <asynchronous suspension>
      #29     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
      <asynchronous suspension>
      #30     main (package:flutter_tools/executable.dart:94:3)
      <asynchronous suspension>

[✓] IntelliJ IDEA Ultimate Edition (version 2021.3)
    • IntelliJ at /Users/hanwoollee/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/213.5744.223/IntelliJ IDEA.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.64.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (3 available)
    • SM F926N (mobile) • adb-R3CRB0PTXTN-CedXeO._adb-tls-connect._tcp. • android-arm64  • Android 12 (API 31)
    • macOS (desktop)   • macos                                         • darwin-x64     • Mac OS X 10.15.7 19H1715 darwin-x64
    • Chrome (web)      • chrome                                        • web-javascript • Google Chrome 98.0.4758.109

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 2 categories.

pubspec.yaml
name: estimationzill
description: A new Flutter project.

publish_to: 'none' # Remove this line if you wish to publish to pub.dev

version: 3.1.0+310

environment:
  sdk: ">=2.12.0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter
  android_intent_plus: ^3.1.0
  firebase_core: ^1.12.0
  firebase_messaging: ^11.2.6
  flutter_local_notifications: ^9.2.0
  fluttertoast: ^8.0.8
  get: ^4.6.1
  http: ^0.13.4
  pigeon: ^1.0.17
  prefs: ^3.4.0+01
  url_launcher: ^6.0.18
  video_player: ^2.2.18
  webview_flutter: ^3.0.0
  permission_handler: ^9.0.1
  flutter_naver_login:
    git:
      url: https://github.com/syonkr/flutter_naver_login.git
  kakao_flutter_sdk: ^0.9.0
  sign_in_with_apple: ^3.3.0
  firebase_crashlytics: ^2.5.2

dev_dependencies:
  flutter_test:
    sdk: flutter
  flutter_lints: ^1.0.0

flutter:

  uses-material-design: true

  assets:
    - assets/

Video in link
https://drive.google.com/file/d/1KIVxzXFzqNfsvxtD7PuouOqybUjdmvd5/view?usp=sharing

Hi @fregmented, does this issue occur with the default flutter create app?
If it does not can you provide a complete minimal reproducible code sample that we may use to verify this?

Hi @danagbemava-nc. I can't reproduce this issue using template application.
I'm not sure reproduce it, I'll try to reproduce with non product code.

Please update this thread when you're able to come up with a minimal sample.
Thank you


Nd4J: need UInt32 and UInt64 indexers

https://github.com/eclipse/deeplearning4j/blob/master/nd4j/nd4j-buffer/src/main/java/org/nd4j/linalg/api/buffer/BaseDataBuffer.java#L578-L587
Unsurprisingly, this overflows for large values in toString, and is also returning incorrect values in getDouble, getInt etc
    @Test
    public void testUint32(){
        INDArray arr = Nd4j.create(DataType.UINT32, 10);
        arr.assign(1024);
        System.out.println(arr);
        arr.assign(Integer.MAX_VALUE);
        System.out.println(arr);
        System.out.println(arr.getDouble(0));
        System.out.println(arr.getInt(0));
    }

[      1024,      1024,      1024,      1024,      1024,      1024,      1024,      1024,      1024,      1024]
[        -1,        -1,        -1,        -1,        -1,        -1,        -1,        -1,        -1,        -1]
-1.0
-1

These indexers would need to go in JavaCPP though
https://github.com/bytedeco/javacpp/tree/master/src/main/java/org/bytedeco/javacpp/indexer

@saudet

I've added a UIntIndexer for that in commit https://github.com/bytedeco/javacpp/commit/11e20d81c657a0155a43a6a90a482cd83d9d24b2.


loop bug

I don't know if this project still alive but i have the following problem
I'm trying to read some ini files multiple times in my program but after two or three times it stop working
the file is loading correctly but i can't get any values
I only get (Null) back from GetValue
any suggestion ?

It's still sort of alive. I wish it was more alive, but I don't have much
time these days to allocate to programming.
If you are able to look into the behaviour yourself and determine if it is
a bug, and if so provide a fix for it, then I'm happy to add it in.
Regards,
Brodie
On Tue, 13 Jul 2021 at 22:57, 0o7x @.***> wrote:

I don't know if this project still alive but i have the following problem
I'm trying to read some ini files multiple times in my program but after
two or three times it stop working
the file is loading correctly but i can't get any values
I only get (Null) back from GetValue
any suggestion ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/brofield/simpleini/issues/50, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACZ4MQP4QN2OVCOOVMP6UTTXQZ45ANCNFSM5AJB2ADA
.

I wish I had enough experience to fix it, but I'm still quite a beginner.
However I will do my best to fix it !
Thanks for your reply
With all due respect

I hope that you solved your issue. Without more detail it is not possible to help you.


Add support for Observables in Notification Service

Currently, there is an issue with the NotificationService where, if an app uses the OnPush ChangeDetectionStrategy, notifications are not immediately displayed after being added with notificationService.message().
Providing observables as a means of getting/setting notifications is one way of solving this issue.
Two separate downstream applications have found the need for observables with regard to notifications
https://github.com/fabric8-ui/fabric8-ui/blob/master/src/app/shared/notifications.service.ts
and
https://github.com/syndesisio/syndesis/blob/master/app/ui/src/app/common/ui-patternfly/notification-service.ts
So, this issue is for investigating and providing support for observables to allow for a more robust interface for interacting with notifications. This may require augmenting the existing notification service or creating a new service altogether.

This is available now


An unfriendly error occurs when the hosted zone does not exist on Route53

Description
During local setup initialization, an unfriendly error occurs when the host zone on Route53 does not exist.
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xc1942d]

goroutine 1 [running]:
github.com/kubefirst/kubefirst/internal/aws.TestHostedZoneLiveness(0xa0?, {0x7ffdb1637dd3, 0x9}, {0x0, 0x0})
        /Users/jdietz/git/github/kubefirst/kubefirst/internal/aws/aws.go:172 +0x7cd
github.com/kubefirst/kubefirst/cmd.glob..func9(0x2daaca0?, {0xc0001b7c20, 0x0, 0xa})
        /Users/jdietz/git/github/kubefirst/kubefirst/cmd/init.go:196 +0x1b7c
github.com/spf13/cobra.(*Command).execute(0x2daaca0, {0xc0001b79a0, 0xa, 0xa})
        /Users/jdietz/go/pkg/mod/github.com/spf13/cobra@v1.4.0/command.go:860 +0x663
github.com/spf13/cobra.(*Command).ExecuteC(0x2da9b20)
        /Users/jdietz/go/pkg/mod/github.com/spf13/cobra@v1.4.0/command.go:974 +0x3b4
github.com/spf13/cobra.(*Command).Execute(...)
        /Users/jdietz/go/pkg/mod/github.com/spf13/cobra@v1.4.0/command.go:902
github.com/kubefirst/kubefirst/cmd.Execute()
        /Users/jdietz/git/github/kubefirst/kubefirst/cmd/root.go:26 +0x25
main.main()
        /Users/jdietz/git/github/kubefirst/kubefirst/main.go:65 +0x41d

No additional information is sent in the log.
How to simulate:
Execute the init command using a AWS account without the hosted zone specified in option --hosted-zone-name. Eg:
kubefirst init --admin-email<EMAIL_ADDRESS>--cloud aws --hosted-zone-name nonexistentdomain.com --region us-east-1 --profile default

Thanks so much for the report @hamc.
@kubefirst/engineers I've reproduced this issue on the latest codebase - fix needs to be included in our next release please. Thanks crew.


Unable to make email primary

Expected Behavior
To be able to make an email account primary.
Actual Behavior
From account settings, I added a new email ID and verified it. When I click on Make Primary I get - Internal server error
Reproduction Steps
No response
Is there an existing issue for this?

[X] I have searched the issue tracker for this problem.

Additional Information
If required, I can provide the new email ID I am trying to link.
Insomnia Version
Insomnia 9.2.0
What operating system are you using?
macOS
Operating System Version
macOS Sonoma
Installation method
download from insomnia.rest
Last Known Working Insomnia version
NA

Hey @ajatkj, can you please try again? It should be okay, now!

Hi @pavkout update works now. Thanks!.

@ajatkj Awesome, thank you for the feedback!


[bug]: no "invoke"-button in workflow page if sidebar is collapsed

Is there an existing issue for this?

[X] I have searched the existing issues

OS
Windows
GPU
cuda
VRAM
12GB
What version did you experience this issue on?
3.6.0rc1
What happened?
up to version 3.5.x, a "invoke" button was accessible on the left side of the workflow page, if the side bar was collapsed.
in 3.6.0rc1, there is no such button, the side bar needs to be opened to start generations
Screenshots
No response
Additional context
No response
Contact Details
<EMAIL_ADDRESS>

You can use Ctrl/Cmd + Enter to start a generation when the panel is collapsed.

The buttons have been restored thanks to user feedback


Hello, can someone give me brief instructions on how to make this work?

Im new to Atom and its kinda confusing for me.
I installed this package along side all other packages that were required (build0.7 and another one)
I open my project location, select .pas file and click ctrl+alt+T but it says "no targets found"
When i click ctrl+alt+b to build it throws an error.
Please help me to understand how to run .pas file. thank you for any information
I added fpc.exe file to path variable, but its still not workin
It started working for some reason now. And by working it shows Free Pascal when i press ctrl+alt+T. But when i build it throws this error:
Unable to execute: fpc
Make sure cmd:'fpc' and cwd:'{FILE_ACTIVE_PATH}' exists and have correct access permissions.
alright it started working for no reason, even though I change nothing. It compiles and everything. But i thought that it would ask for user input if it has readln(); was I wrong?

But i thought that it would ask for user input if it has readln(); was I wrong?

For user input, you would need to use an Atom package that provides a REPL. Unfortunately, I'm unaware of existing packages.


Analyzer Feedback from IntelliJ

Version information

IDEA AI-201.87<IP_ADDRESS>53283
2.10.4
AI-201.87<IP_ADDRESS>53283, JRE 1.8.0_242-release-1644-b01x64 JetBrains s.r.o, OS Windows 10(amd64) v10.0 , screens 1360x768

@hibkh, I think you pressed "send" a bit too early? I'll close this one. If you have noticed an issue, please create a new issue and provide some more information, and thanks in advance for doing so!


Incompatibility with LethalEscape

LethalEscape does enemy damage to clients with shovels when the (inside) enemies are outside.
It gets logged as the host did the damage to the client, so it gets prevented. Could you do so the host can damage other players or just a toggle for the whole feature. Would be awesome thanks :)

Version 1.0.7 should fix it.

Awesome, thanks!


Error and db inconsistency while uploading some schemas

For some schemas, registry creates a schema_branch entry in mysql but doesn't create a schema_branch_version_mapping so when the "/ui" attempts to load the javascript errors out and the /ui doesn't load.

When a user adds a new schema the UI makes two rest calls,

To create a schema metadata, here is where schemaBranch is created
To the schemaVersion against the schema metadata created in step 1), this where schema branch mapping entry is made against the schema version and schema branch.
The schema version uploaded had self-referential records and the SR failed to upload schema (this will be resolved by this. Therefore, step 2) failed, leaving the db in an inconsistent state as a transaction is wrapped around a REST call. So to avoid potential issues in the future we should merge step 1 and 2 making it a single REST call. This would also require changes from the UI team.


Editing a date field drops the 00:00:00Z suffix

The CSV importer figured out a field was a date (2015-05-03) and created the table accordingly.
When viewing the data, that value is shown as 2015-05-03T00:00:00Z.
On double-clicking on the value I get prompted to edit the value, but even if I don't touch anything but only hit "Save" I end up with something rendered as 2015-05-03.
I'm actually happy with the reduced display as my data doesn't really have seconds resolution, but it's funny to see some values printed with seconds resolution and some w/out, in the same table (as I go editing them all).
What determines how the value is printed ? I tried setting a value different from 00:00:00 in the time field but things didn't change (using the GUI to change value)

hey @xavijam now that you are working on editing fields, could you take a look? I'd not prioritize if not an easy fix right now

:+1:

Hey, it is actually worst than I thought, editing doesn't only change the output format, but also starts with NOW as the date, so my doubleclick-save process ended up changing all the dates to right_now ! :'(

NOTE: on switching to map view and back the TZ prefix is back.
And, this is Firefox 45.2.0 here


Add load to spark gcs

Description
What is the new behavior?
This PR adds the ability for GCP users to load GCS files to delta for processing in databricks automatically. It is worth noting that this is optional, as users can turn off secret loading and manually add GCS settings to their databricks cluster using this guide if they prefer. The main benefit here is that users do not need to set these settings ahead of time.
Does this introduce a breaking change?
No
Checklist

[ ] Created tests which fail without the change (if possible)
[ ] Extended the README / documentation, if necessary

@kaxil @tatiana I'm not sure what's going on with codecov. I've explicitly made tests for the lines it is claiming are untested.


add cli flag for passing paths of datasets

[x] Adds dataset (--dataset) flag which sets the dataset that we will explore. If not specified it defaults to the dataset shipped in this repo.
[x] Fixes thumbnail/scatterplot highlight.

@alesgenova ready for review! :tada:


Add support for firestore

Rest API documentation:
https://firebase.google.com/docs/firestore/use-rest-api
JWT auth implementation:
https://github.com/GoogleCloudPlatform/google-cloud-iot-arduino/blob/master/src/jwt.h

Is this already working? has anyone found the way to read/write data on firestore using arduino/esp8266?

Bump.. Will try now..

There is current no support for Firestore in this library, but it should be possible to add bindings for the REST API:
https://firebase.google.com/docs/firestore/use-rest-api

Could someone make an example how to do that?

Follow up, could you give us a slight insight on how you would do it? @proppy

@wh1terose this would require writing an Arduino client to talk to the REST API endpoint and reusing the JWT authorization work done on https://github.com/GoogleCloudPlatform/google-cloud-iot-arduino/blob/master/src/jwt.h

Any updates on this ?

Any updates?

Any updates?

Any updates?

Any updates?

Any update???

Any update?

Updates please)

You can't directly update your arduino data to firestore, but what you can do is making a rest API using firebase hosting and functions it is very easy and it doesnt require any extra costs for example servers. You should watch this video https://www.youtube.com/watch?v=Z8ju93IYZ1A or read this article https://itnext.io/building-a-serverless-restful-api-with-cloud-functions-firestore-and-express-f917a305d4e6


Blog Article Sorting by Date Not Functioning Correctly

Summary:
It seems that the sorting of the article listing is broken.
Every article should be sorted by the date, with the latest one on top.

Fixed with #44


Failure to install updates that require administrator privileges

Even though we prompt for a password, it apparently still fails. See https://github.com/atom/atom/issues/2860#issuecomment-59517219 and later comments for some example logs.

+1 on this really needs to be fixed. this has been a problem with squirrel and auto-updates on Mac OS X since Mac OS X 10.9.4 & atom 0.110.0, and we're now on Mac OS X 10.11.1 El Capitan and Atom 1.2.3.

+1 Needs to be fixed. Running into this in Zurbs new Yeti Launch app.

Please do not +1 issues. If you would like to see this fixed sooner, consider submitting a pull request instead.

Temporary workaround for end-users: Install the app you are trying to use to `~/Applications' rather than '/Applications' and set the app to 'Keep-in-dock' so you can easily find it.  It's not a great workaround since most other apps install to '/Applications', but it will at least enable a normal end-user to use the original app (such as Atom) and get access to auto-updates.

Everyone - thankyou so much for the hard work on Squirrel - it's been effortless to setup and I love the simplicity of it.
This issue is a big snag for us - we're shipping a cross platform electron app that mostly runs invisibly as a daemon, and unfortunately isn't a fit for the MAS.  Given it's invisibility, autoupdates seemed like a no-brainer - but this is a hard stop for us.
I've scoured the existing threads and I can't seem to find a solution as of yet, the ~/Applications work around isn't quite ideal, at least from my initial testing, doesn't seem to rectify the issue.
For posterity, the issue is a crash during the "update" step of autoupdate from the logs:
Installation error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied" UserInfo={NSLocalizedDescription=Permission denied}

I'm not an Obj C expert - but given no-one is championing this at the moment, I'd love to do what I can to help.  If someone on Squirrel team could potentially point me in the right direction to fixing this, my team can take a stab at it!
Thanks again for all the hard work everyone...!

@hhff Thanks for the very nice comment! Unfortunately, neither @keithduncan nor I really actively work on this anymore (and we don't really have the time to do so).
@paulcbetts has suggested that this is because a root-privileged app will write a root owned ShipIt folder (where Squirrel saves its downloaded updates). It's unclear to me why privilege escalation of the installer process doesn't solve this, but maybe a potential fix could be to always write ShipIt folders with the permissions of the running user, not the app?

Gotcha - thanks @jspahrsummers !
Where in the codebase would you recommend starting out?

@hhff I'd try to track down the place where you see Installation error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied" UserInfo={NSLocalizedDescription=Permission denied}

Thanks @paulcbetts - I'm operating in an Electron environment - any tips for tracking that down in Node world?

@hhff oof, good question. Do you have the entire log?

@paulcbetts yup - for me it's in Application Support/Caches/org.develar.ElectronReact.ShipIt/ShipIt_stderr.log
That folder:

That /update folder is empty, fwiw.
2017-01-07 22:23:42.954 ShipIt[9406:173559] Beginning installation
2017-01-07 22:23:43.362 ShipIt[9406:173560] Installation error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied" UserInfo={NSLocalizedDescription=Permission denied}
2017-01-07 22:23:43.362 ShipIt[9406:173560] ShipIt quitting
2017-01-07 22:23:43.391 ShipIt[9408:173591] Resuming installation attempt 2
2017-01-07 22:23:43.787 ShipIt[9408:173593] Installation error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied" UserInfo={NSLocalizedDescription=Permission denied}
2017-01-07 22:23:43.787 ShipIt[9408:173593] ShipIt quitting
2017-01-07 22:23:45.816 ShipIt[9409:173653] Resuming installation attempt 3
2017-01-07 22:23:46.170 ShipIt[9409:173660] Installation error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied" UserInfo={NSLocalizedDescription=Permission denied}
2017-01-07 22:23:46.170 ShipIt[9409:173660] ShipIt quitting
2017-01-07 22:23:48.204 ShipIt[9410:174112] Too many attempts to install, aborting update
2017-01-07 22:23:48.269 ShipIt[9410:174117] Application launched at file:///Applications/My%20App.app
2017-01-07 22:23:48.269 ShipIt[9410:174117] ShipIt quitting
2017-01-07 22:24:32.968 ShipIt[9424:175474] Beginning installation
2017-01-07 22:24:33.356 ShipIt[9424:175762] Installation error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied" UserInfo={NSLocalizedDescription=Permission denied}
2017-01-07 22:24:33.356 ShipIt[9424:175762] ShipIt quitting

...snip

I'm also noticing that /update.123abc folder does actually receive the update during the update process - it's present during during the Beginning installation phase

Looks like these would be the places to adjust permissions for writing:

-[SQRLDirectoryManager storageURL] creates the temporary directory for the downloaded update
-[SQRLZipArchiver unzipArchiveAtURL:intoDirectoryAtURL:] unpacks the zip archive into that directory

Unfortunately, I don't have time to dig much more than this. Hopefully this is helpful!

How would ShipIt receive permissions issues if it's explicitly running as root 🤔

Thanks @jspahrsummers & @paulcbetts  !
It appears the issue on my end is not "writing to ShipIt logs / cache directories" (the Update is downloaded and stored in the correct place no problem) but, (I suspect) the issue stems from actually "applying" the newly downloaded package to the existing app.
This may be a red herring, but as an experiment, I did chown root:wheel /Applications/My App.app (it was my user / admin originally), and relaunched.
Now the log is:

2017-01-11 12:20:10.554 ShipIt[65366:4874518] Installation error: Error Domain=SQRLShipItRequestErrorDomain Code=2 "Could not read update request" UserInfo={NSLocalizedDescription=Could not read update request, NSUnderlyingError=0x7faa1372c450 {Error Domain=NSCocoaErrorDomain Code=260 "The file “ShipItState.plist” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/var/root/Library/Caches/org.develar.ElectronReact.ShipIt/ShipItState.plist, NSUnderlyingError=0x7faa1372c2d0 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}}}
2017-01-11 12:20:10.554 ShipIt[65366:4874518] ShipIt quitting
2017-01-11 12:20:12.575 ShipIt[65368:4874940] Installation error: Error Domain=SQRLShipItRequestErrorDomain Code=2 "Could not read update request" UserInfo={NSLocalizedDescription=Could not read update request, NSUnderlyingError=0x7fc7fa703190 {Error Domain=NSCocoaErrorDomain Code=260 "The file “ShipItState.plist” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/var/root/Library/Caches/org.develar.ElectronReact.ShipIt/ShipItState.plist, NSUnderlyingError=0x7fc7fa703010 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}}}
2017-01-11 12:20:12.575 ShipIt[65368:4874940] ShipIt quitting
2017-01-11 12:20:14.601 ShipIt[65370:4875295] Installation error: Error Domain=SQRLShipItRequestErrorDomain Code=2 "Could not read update request" UserInfo={NSLocalizedDescription=Could not read update request, NSUnderlyingError=0x7fee1a6262c0 {Error Domain=NSCocoaErrorDomain Code=260 "The file “ShipItState.plist” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/var/root/Library/Caches/org.develar.ElectronReact.ShipIt/ShipItState.plist, NSUnderlyingError=0x7fee1a626140 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}}}
2017-01-11 12:20:14.602 ShipIt[65370:4875295] ShipIt quitting

I've since closed My App.app, but we're still seeing those logs get written every 2 seconds or so.

Thanks for all the work on Squirrel. I, too, am running into this issue and was wondering if there's a solution or workaround.
BTW, what @hhff is seeing after changing the owner of My App.app is being tracked here #151


Todo feature improvement

I just tested the /todo feature and it looks fine, but can certainly be improved.
In a todo list, we need to have more information:

An index number for the tasks to order/reorder them or to identify in the closed tasks the order of creation (an additionnal field should be added during the creation)
The task name should be in bold text
The description of the task should be in normal text closed to the task name (an additionnal field should be added during the creation)
The name of the creator of the task (for a /todo team list)
The name of the person who realized the task
The date/time of creation
The date/time of closing
The date/time of reopening

where is this todo feature? I couldn't find it in the android app or the web version

@kartik-karz The "/todo" feature is only turned on for chat.zulip.org, and it only works from the "main" web app, not mobile apps yet.  You can get an account on chat.zulip.org to try it out and go here:
https://chat.zulip.org/#narrow/stream/7-test-here

this feature looks like overhead to me. I would like to have lightweight markdown todo lists
[*] item1
[ ] item2


Cleans up OWNERS and CODEOWNERS

Description
Changes proposed in this pull request:

...
...
...

Related issue(s)

/retest pre-rafter-integration-test

/test pre-rafter-integration-test

Will be done in #114


Failed to innclude as subproject using meson

Dear Mark,
thanks for your nice lib! After sucessfully testing the implementation I started to add it as a submodule in meson and I experienced the issue below. There is a tiny problem with the add_global_arguments call in the context of a subproject.

Environment
toml++ version and/or commit hash:

d95ff4c04f4d4a12f44dd8804f4f749c49abdff8
Compiler:

g++
C++ standard mode (e.g. 17, 20, 'latest'):
17
Target arch (e.g. x64):
x64
Library configuration overrides:

Relevant compilation flags:
Describe the bug
When trying to include the current version as subproject in the meson bulid system, meson fails with:
ERROR: Function 'add_global_arguments' cannot be used in subprojects because there is no way to make that reliable.
Please only call this if is_subproject() returns false. Alternatively, define a variable that
contains your language-specific arguments and add it to the appropriate *_args kwarg in each target.

Steps to reproduce (or a small repro code sample)
Just inserted toml++ as a subproject in meson (0.54.2)
tomlpluspplus_proj = subproject('tomlplusplus')
tomlplusplus_dep = tomlpluspplus_proj.get_variable('tomlplusplus_dep')

Additional information
Meson suggested fix successfully works, but I am not sure about the consequences.
if compiler_supports_float128 and is_gcc
        if not is_subproject
               add_global_arguments('-fext-numeric-literals', language : 'cpp')
        endif
endif

Cheers,
Jan Martin

Ah, thanks for letting me know. To be honest I'm not sure if that part of the configuration is even necessary any longer; it was only ever meant to be used when compiling the tests. I'll try to refactor this out.

Thanks for the quick reply. Great.

Fixed in master. Thanks @jamabr!

Great, thanks for the quick action!


Name copy-to-clipboard as dependency

Thanks for this package.
It appears that here you're using copy-to-clipboard, but it isn't declared as a dependency.
Yarn is complaining about it. I have an override in place on my local system, but you most likely want to add that as a peer dependency, as I believe it gets added by storybook.

Fixed in<EMAIL_ADDRESS>


Show DIBELS scores instead of rankings in SPED Referral

This is part of https://github.com/studentinsights/studentinsights/issues/8.
In the Academic Assessments section of the PDF, DIBELS tests are showing percentile rankings, but what we really need here instead are scores. All the other tests are showing percentile rankings so this is a special exception for you :)

@iqnivek is working on this


Python: Bug: Python package does not specify the license

Describe the bug
The pyproject.toml and PyPi hosted Python package do not list a license for the semantic-kernel package.
To Reproduce
Steps to reproduce the behavior:

Confirm LICENSE file in repo indicates the MIT license is in use:

https://github.com/microsoft/semantic-kernel/blob/main/LICENSE

Review PyPi page and pyproject.toml file and notice that no license is specified:

https://pypi.org/project/semantic-kernel/
https://github.com/microsoft/semantic-kernel/blob/main/python/pyproject.toml

Ask pip to show details for the package and notice that the License field is empty:

$ pip show semantic-kernel
Name: semantic-kernel
Version: 1.8.0
Summary: Semantic Kernel Python SDK
Home-page: https://learn.microsoft.com/en-us/semantic-kernel/overview/
Author: Microsoft
Author-email<EMAIL_ADDRESS>License:
Location: /home/vscode/.local/lib/python3.11/site-packages
Requires: aiohttp, defusedxml, jinja2, nest-asyncio, numpy, openai, openapi_core, opentelemetry-api, opentelemetry-sdk, pandas, prance, pybars4, pydantic, pydantic-settings
Required-by: REDACTED

Expected behavior
PyPi page and pip show output specify the same license as the LICENSE file in the repo.
Platform

OS: Linux
IDE: VS Code
Language: Python
Source: pip package version 1.8.0

Additional context
clearlydefined PR for this package:
https://github.com/clearlydefined/curated-data/pull/28405

@eavanvalkenburg can you update this?


"js is not defined" warning while processing template

I get the following output:
>  grunt useminPrepare
Running "useminPrepare:html" (useminPrepare) task
Warning: An error occurred while processing a template (js is not defined). Use --force to continue.

Here is my template:
    <!-- build:js(app) /javascript/script.js -->
    <script src="/javascript/jquery.js"></script>
    <script src="/javascript/site.js"></script>
    <script src="/javascript/analytics.js"></script>
    <script src="/_bower_components/ideal-image-slider/ideal-image-slider.js"></script>
    <!-- endbuild -->

It looks like @microcosm fixed this with this commit.

Yep, it turned out to be a Gruntfile parsing error. Once usemin rewrites config values to the Gruntfile, the Gruntfile is reloaded and parsed, producing a parsing error that doesn't show up when the Gruntfile is originally parsed.


neumorphism theme added in education page

This is really weird. Please have a look at the cards yourself before giving the PRs

This is really weird. Please have a look at the cards yourself before giving the PRs


Fix converted legacy bundle->remote resolver syntax to be case-insensitive for kind

Changes
fixes #6058
When we finished deprecating the legacy bundle resolution syntax, we recommended users change from:
      taskRef:
        name: git-batch-merge
        bundle: gcr.io/tekton-releases/catalog/upstream/git-batch-merge:0.2

to
      taskRef:
        resolver: bundles
        params:
          - name: bundle
            value: gcr.io/tekton-releases/catalog/upstream/git-batch-merge:0.2
          - name: name
            value: git-batch-merge
          - name: kind
            value: Task

But that created a problem - we have been comparing the kind parameter to the dev.tekton.image.kind annotation value in the bundle, which is generally all lower-case. Since we generally use Task, Pipeline, etc for kind values in our syntax, we've created a situation where the "normal" way to specify a kind, i.e., capitalized, is not going to work for most, if not all, bundles.
To fix this, we're changing the check in the remote bundles resolver to do a case-insensitive comparison.
/kind bug
Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[ ] Has Docs included if any changes are user facing
[x] Has Tests included if any functionality added or changed
[x] Follows the commit message standard
[x] Meets the Tekton contributor standards (including
functionality, content, code)
[x] Has a kind label. You can add one by adding a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep
[x] Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings)
[ ] Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes
The remote bundles resolver now matches the kind value in its parameters and in bundle layers in a case-insensitive manner.

/assign @afrittoli @chuangw6 @JeromeJu

LTGM just one last nit will it be helpful to also include this 'notice' at https://github.com/tektoncd/pipeline/blob/main/docs/bundle-resolver.md?

/test check-pr-has-kind-label


Paths in subprojects are relative to subproject, not main project

The error paths are relative to the subproject root, which messes up the vscode integration. The problem only exists with cabal - stack uses absolute paths when reporting errors. Should I kick this bug upstream?

Did you specify a specific -c flag to ghcid to control the command? If not, what command did it pick? (It should say on the first line). I suspect this information will be of interest to anyone upstream, but a quick look at it might tell me if ghcid is doing something wrong. Alternatively, is there any -c command that works? If not, that's definitely an upstream issue.

I went via -c cabal new-repl <subproject>. What works is stack repl <subproject>, so I didn't investigate further.

Sounds like an issue for cabal then.


Update Milestone Merkle Validation to Chrysalis Pt.2

Rendered
Example Go implementation in wollac/iota-crypto-demo:

Merkle tree computation of message IDs: pkg/merkle/pt2/merkle.go
Example: examples/merkle/pt2

@charlesthompson3 since we are touching those RFCs anyway, it would be great if you could also give it a quick read

@charlesthompson3 since we are touching those RFCs anyway, it would be great if you could also give it a quick read


Put all config details into the DB

would make sense to put everything except the database connection in the DB
might be good to put them in a table called "settings" or similar?

agreed


Add CLI command to watch auction

Close #161 if this is merged.
This is a simple process to watch the status of an auction, polling every 200ms.
Start it with hydra-auction --watch-auction AUCTION_NAME.
TODO:

[ ] Show the current stage
[ ] Show the seconds left in current stage (where appropriate)
[ ] Show who holds the standing bid

Re-assigned PR to @nazrhom.


  So these rfile references were removed from HDFS
Versions (OS, Maven, Java, and others, as appropriate):

Affected version(s) of this project: 1.9.4
OS: CentOS 7
Others:

To Reproduce
Unable to reproduce
Additional context
Unlike the issue in #1377 where the consistency checks were insufficient to catch this issue, an investigation into this issue shows that the consistency check should have caught this issue because the prior end rows didn't align.
All files removed were hosted on 1 metadata split, indicating that the scan of that metadata tablet failed.  Looking at where that metadata tablet was hosted at the time of the failure, I found an automated report in the ticket system that shows an SSD failure on that box.  HDFS was using SSDs on that node.  The admins got the ticket and did a hot swap of the SSD drives without shutting down services.  The GC logs were gone by the time I got to the node, but what I believe happened is this.

Scans were progressing through TabletIterator.  Scan on the hosting this tablet failed, the TabletIterator logged a metadata inconsistency then reset the scanner.
The reset set the range back to start at the missing tablet and scanned again.  The box was still in a funky state so HDFS again didn't return data.  The TabletIterator found 0 entries again for the tablet and threw a TabletDeletedException.
The TabletDeletedException is just a RuntimeException and the TabletIterator continues scanning without stopping the entire GC process.

This is the only way I can explain what happened, as the consistency checks should have caught this issue.  I would like to suggest that if a TabletDeletedException is thrown during the TabletIterator scan, we cancel the entire GC cycle and start again.

I would like to suggest that if a TabletDeletedException is thrown during the TabletIterator scan, we cancel the entire GC cycle and start again.

That seems reasonable to me. It's safer than proceeding.

This seems related to, or perhaps a duplicate of, #608
Should we close one of them?
Also, I was thinking. The mapping of table IDs, which are BigInteger values, to their serialized form in the metadata table is not a monotonic function (it doesn't preserve order). So, when a new table is created, there's a good chance it's metadata is injected in the middle of the metadata table somewhere, and not at the end of the table in the last tablet. This might temporarily reduce initial hotspotting for new table's being created, but it could also be related to some potential garbage collection bugs if we don't account for it properly.
Interestingly, the avoidance of hotspotting would only occur for the first few tables created, when the most significant digit is still changing frequently.  This hotspotting is probably not substantial, but if we want to avoid it, that could be a separate ticket... to try to generate tableIds that are more spread out. However, if it turns out that inserting new table metadata (I'm particularly concerned about cloned tables, which have duplicate file references to existing tables) into the middle of a candidate garbage collection scan is the source of any bugs, we may want to just accept the hotspotting, and generate table IDs that are always appended to the end of the table, so their metadata is never inserted into the middle of a candidate scan.

In my testing the TabletDeletedException is being handled correctly.  Thinking it is something else, closing this ticket


Result per zone

Split the results per zone, based on a vector input source (eg shapefile).
Split off from #22.

Hence, after a model run, the input to extract results on polygon basis is a shapefile with N polygons. For each polygon, the surface area for each vegatation type for each polygon is reported in a table.
No data values surface area is reported as well, just as the other types.

Closed in cfcd97d9e558f1be85465639cb49f4832f117242


Support for modern Spidermonkey versions?

Spidermonkey 1.8.5, currently recommended by the CouchDB 2.1.1 documentation, was released in March of 2011 along with Firefox 4. At the time of this writing, the engine appears to be slightly more than seven years old. I just have a couple quick informational questions if you have a moment:

Is there any supported way to build CouchDB using a modern version of SpiderMonkey, or any plans to support this in the near future? Failing that, is there a supported method of relying on Node and/or V8 instead of Spidermonkey 1.8.5?

Has the CouchDB team checked Spidermonkey 1.8.5 against the MITRE CVE repository for vulnerabilities? If so, have any security fixes been backported?

Thanks in advance. If I'm missing a piece of documentation or a detail, apologies; I tried to scour pretty hard before opening a ticket.

Hi @browndav ,

Sadly, there is no way to build CouchDB's couchjs binary against any newer version of SpiderMonkey. There are a number of reasons, but the most compelling is that the current specification of a design document map / reduce function as a bare function () {...} is no longer syntactically valid any modern JavaScript engine.

To move to a newer version, we must either deprecate the current design document syntax, or auto-transform/auto-wrap JS functions within it. The problem with the latter approach is that a small percentage of users have stuck other stuff ahead of the function declaration in their map / reduce / etc. functions, such as variable declarations or library imports, that would break with a simple auto-rewrite wrapper.
With the very next release of CouchDB binaries, Apache CouchDB will be supplying pre-built SM1.8.5 binaries via our own open build chain. This is to ensure that the most popular platforms (Debian, Ubuntu, CentOS, RedHat, Windows, docker) have the library built with the right options. This is motivated by recent distributions dropping support for SM1.8.5, or changing build-time options such that instability is introduced.
There was an experimental Node-based replacement for the SM 1.8.5 view server in 1.x, but the "extreme sandboxing" we accomplish with Spidermonkey is not there, meaning that the Node-based viewserver is a gaping security hole, and violates the view server specification (no side effects are allowed!) As such we can't recommend you use it anywhere. The effort is abandoned.
The current plan forward is two-fold.
First, the team is working as hard as possible on improving mango, the in-built declarative solution, to provide coverage of as many boilerplate secondary indexes as possible. Foremost, Mango is inherently faster than any external query server can ever be. This reduces the need for JavaScript overall. Users can also add the dreyfus / clouseau add-on from Cloudant to enable Lucene-powered full-text search as another kind of secondary index.
Second, we've had (thanks to @dmunch) initial good experiences with the Microsoft ChakraCore engine. Unlike V8/Node, ChakraCore is lightweight, small, and intended to be embedded in other systems directly. Microsoft's own Cosmos DB (formerly Document DB) was inspired by Apache CouchDB, and uses ChakraCore extensively as its JS engine, as does the new Edge browser.
@dmunch's experimental ChakraCore-based query server already solves both the sandboxing and the anonymous function concerns, and has a number of other exciting features as well. It is also compatibly licensed (ALv2.0) as is ChakraCore itself (MIT).
Such a major change - swapping out SM1.8.5 - that induces any sort of backwards incompatibility can't occur until a major version release, so the earliest I'd expect to see anything like this in CouchDB would be the 3.0 release. If we can solve the remaining TODOs for the couch-chakra solution, we could drop it in sooner (maybe 2.3.0). We'd welcome any help you might be able to give us on this!

Yes, we keep tabs on the MITRE CVEs for vulnerabilities. We also welcome any security reports at our (security email<EMAIL_ADDRESS>Because of the aforementioned sandboxing, and the fact that couchjs wraps SM1.8.5 in a very constrained environment, the very large proportion of exploits possible with a JS engine are effectively mitigated.

For bookkeeping, I'm going to close this ticket out and open forward-looking tickets that make more sense for our plans, but I'm happy to continue this discussion here or in those tickets.
Can I ask - other than being successful deploying SM1.8.5 easily, are there any other concerns you or your team have? For instance, are you writing complex JS views that require newer ECMAScript functionality? Or are you trying to achieve something else with a view?

The concern that first sent me down this path was CVE-2014-1513, which IIRC was full RCE demonstrated at pwn2own in 2014. It wasn't clear to me how sandboxing would mitigate a heap overflow, and I wasn't able to easily find any relevant mitigations or backported patches in the source .deb packages for libmozjs185.

That particular exploit doesn't go as far back as 1.8.5; the affected file (TypedArrayObject.cpp) is newer than 1.8.5.
See https://bugzilla.mozilla.org/show_bug.cgi?id=982974 and:
$ tar xfz js185-1.0.0.tar.gz
$ cd js-1.8.5/
$ find . -name TypedArrayObject.cpp
$

Thanks, I missed that; that's super-helpful.

It seems like this was fixed here: https://github.com/apache/couchdb/issues/1875


Feature 23

Description
Ticket 23
Changed from g4dn instance type to g5 instance type in the LokaFoldBatchStack and tested a sequence prediction on it.

LGTM


Update Ruby versions used in CI

@hakobera @rivayama
I'm not sure about a support policy of this project, is it better to use the latest versions of Ruby?

Add Ruby 2.5.1
Update minor versions under 2.5 & jruby

ref: http://rubies.travis-ci.org/

Coverage decreased (-0.4%) to 92.875% when pulling 939a99cdcaceb78027cb4bce9a39853c3a081f11 on ohbarye:patch-1 into 826087710a97fb354a50394611373f97a2c563c5 on tumugi:master.

Coverage decreased (-0.4%) to 92.875% when pulling 939a99cdcaceb78027cb4bce9a39853c3a081f11 on ohbarye:patch-1 into 826087710a97fb354a50394611373f97a2c563c5 on tumugi:master.

Coverage decreased (-0.4%) to 92.875% when pulling 939a99cdcaceb78027cb4bce9a39853c3a081f11 on ohbarye:patch-1 into 826087710a97fb354a50394611373f97a2c563c5 on tumugi:master.


Userpanel update

Mostly visual improvements. Note: the Studio icons on Get Loader and Get Source buttons are intended to show they are primarily for Roblox devs and not regular players/admins (to reduce possible confusion), if it doesn't look good please suggest an edit to remove them.

Keybinds & aliases management interface has better selection mechanics

Keybinds & aliases added/removed notifications/hints more verbose

UserPanel window re-opens automatically upon theme setting change

New ForceField material option for donor capes

Yes! Beautiful update! I would suggest making the Get Source with the Developer Icon and maybe Get Loader with the normal Roblox icon? Since Normal Players who want to make a game could also try it out, and we want more people to get the loader, [troll face] ?

Another suggestion, that i'll just leave here, would be:
Is there a way to know if the ModuleScript is not official? Just make it hidden, and display it only to HeadAdmins+ a setting that could be turned off could be quickly turned off by the backdoor creator, im not sure what we could do, but checking the integrity of Adonis and the Loader could be a great step in reducing Backdooring/Hijacking

Another suggestion, that i'll just leave here, would be:
Is there a way to know if the ModuleScript is not official? Just make it hidden, and display it only to HeadAdmins+ a setting that could be turned off could be quickly turned off by the backdoor creator, im not sure what we could do, but checking the integrity of Adonis and the Loader could be a great step in reducing Backdooring/Hijacking

No. There's no way to check that in a way that can't be bypassed/removed without including obfuscated code that also does something important (and thus can't be removed.) For obvious reasons I don't plan to do that. Even checking if the loader is the original or not is a challenge and is ultimately not worthwhile to do as the scope of that falls more onto Roblox's ability to moderate and shouldn't really be something an open source project needs to handle (especially since, really, we can't.)

Alrighty, I didn't plan to obfuscate stuff, but yeah, making it a hard time for backdoors to be implemented should be Roblox's work, since for an open-source project they could just remove the code checking for the moduleid

Alrighty, I didn't plan to obfuscate stuff, but yeah, making it a hard time for backdoors to be implemented should be Roblox's work, since for an open-source project they could just remove the code checking for the moduleid,
Another thing, would it be ethical to shortly just collect usage information such as the amount of donors, games using adonis, etc. to display?

To the first thing, I was saying obfuscating it in some way would be the only way to handle that and even then it'd be easy enough to get rid of it.
 No point to waste http requests. There's also no good reason to do it other than satisfying personal curiosity.


compass/magnetometer missing for xreal light

nreal_light.rs does not return the magnetometer packet.
I'd parsed the not handled packet (type:'5', cmd id:'M') and the data is human readable (x10754y-5900z-6173)
but I think I need some multiplier/divisor for it to make sense.
did you managed to understand that message while reverse engineer the MCU firmware ?
can you point me some direction ?
p.s.
also there is unhandled packet ('A','K').

Hi!
I never bothered with the magnetometer, because it was borderline unusable for my purposes. (the Earth's magnetic field is so weak that the metal in the headrest of my chair could cause the compass to completely flip). I don't know what its units are, probably the magnetometer chip's (AK8975) raw values.
You're welcome to parse the event though :)
The "A" packet is sent when the glasses goes to sleep, which is not very useful, and "K" is actually handled: https://github.com/badicsalex/ar-drivers-rs/blob/master/src/nreal_light.rs#L225-L234

the magnetometer can help with the yaw information when there are no strong magnetic disturbances.
for 3 DOF you can't get nice results without visual tracker.
maybe the message is sent by the mpu.
however I am not familiar with the reverse engineering techniques you used with the MPU.
but I red your post and you mention there are about 100 commands.
can't you point me some directions in the investigation of nreal light's MPU software and protocols ?

@roikr
As you've discovered, the magnetometer info comes from the MCU channel (and not the Ov580 like the IMU information). You can enable the magnetometer stream with the "1";"U" command, if disabled. All that needs to be done is it should be parsed, no need to do any more reverse engineering than what you've already did :)
P.S.: In a proprietary projet, I was able to get a pretty stable 3DOF without magnetometer, so it's definitely doable without a magnetometer.

reading the MCU magnetometer event, return this text message:
'x10436y-5644z-5651'
the values are responsive for rotation of the glasses however they don't make sense.
the norm of the vector should be fix for example.
so I assume there are some missing scaling/calibration factors for each component.
maybe they are the raw values of the AK8975 readings.

Oh yeah it's definitely uncalibrated, so the norm will definitely not be the same due to uncorrected soft and hard iron effects.
You can actually calibrate the values by rotating the glasses all over trying to achieve minimum and maximum values of each coordinate, and you can calculate the offset = (max - min)/2 per coordinate. After applying that, the values will be relatively usable.

actually the reading from the magnetometer are pretty good but the main issue is the magnet of the clip-on frame (which I use as a reading glasses replacment) which add hard iron offset so every time I remove it, I need to  recalibrate it.
but if the clip-pn frame is fixed it is usable.
I want to believe they solved it in air/ultra versions.
how ever it is really interesting how you got stable 3 DOF with gyro and accelerometer only (as you don't have any yaw reference) unless you had used the stereo cameras.

It's not stable, it's "pretty stable" :D Meaning it does have a few degrees of yaw every minute.
The trick is that you can actually calculate the yaw bias from the gravity vector (and the expectation that it continues to point down, not to the side) if the user turns their head up or down for a short while.

Hi, what about the timestamp for the magnetometer ?
for some reason you left a comment in the deserialization, but no implementation.

@roikr
The timestamp was not needed for anything at the time, but for the magnetometer it could probably be parsed. I'm not sure how accurately that tracks the gyro/acc timestamp though, because that's literally a different chip, so some adjustments or faking (using the last acc/gyro timestamp as the magnetometer timestamp) might be necessary.

I am working on some ahrs that fuses gyro, acc and mag (complementary / EKF)
I tried to use last acc timestamp for the magnetometer,
but I still want to use to attached timestamp (hopefully the mcu and the imu share a clock.
even if there is some small latency in the arrival the fusion may be more accurate.
do you know the mcu timestamp type/representation ?
I'v also notice that there are both gyro and acc timestamp but you've used only the gyro's. why is that ?

do you know the mcu timestamp type/representation ?

Unfortunately no, but I assume it's relatively easy to figure out.

you've used only the gyro's. why is that ?

The two are always the same. At least they looked the same to me.


Add repo topics

@mjermann @Paxanator this one has to be done by maintainers...add some topic tags on this repo so we could be discovered in places like https://github.com/topics/kafka!
My best guess is r, kafka, c++, streaming

@mjermann @Paxanator this one has to be done by maintainers...add some topic tags on this repo so we could be discovered in places like https://github.com/topics/kafka!
My best guess is r, kafka, c++, streaming

Thanks!


getThreadHistory does not work as intended

The getThreadHistory function does not appear to be working as the docs describes it to.
The form data for retrieving past messages is:
messages[user_ids][threadID][offset]:30
messages[user_ids][threadID][timestamp]:1490908545320
messages[user_ids][threadID][limit]:30

From what I observed, it retrieves [limit] amount of messages (+1 sometimes, for some reason :\ ) starting from [timestamp] -> past.
So a limit of 10 and a timestamp of Date.now() will retrieve the 10 most recent messages.
Or a limit of 10 and a timestamp of 21/12/2015 will retrieve 10 messages from 21/12/2015 -> past.
In order to keep retrieving 10 messages at a time, you would have to use the timestamp of the earliest message from the first query (with timestamp of Date.now()) then query again with a limit of 10 and timestamp of the earliest message timestamp, maybe discarding the first message.
The offset data seems to not really do anything. I reckon it might be for verification purposes however facebook don't really seem to reject the query if the offset is wrong.
Maybe you guys know this already (in which case, sorry for wasting your time) but I think a redesign for the getThreadHistory (or at least a mention in the docs) is necessary. I don't mind doing this.

I think this is a duplicate of #262.  I'd love if someone took the time to figure out the parameters and revamped the whole function.

Closing this because we can continue to track progress in #262


Extending Organization Filtering to Metadata Attributes

Purpose
Related to: https://github.com/wso2/product-is/issues/20611

The current organization filtering functionality is limited to primary attributes (ID, name, description, created date, last modified date, status, and parentID). This feature aims to extend the filtering capability to include metadata attributes of organizations.

Approach

API Support Layer Update: Extend the current filter tree builder to accept new filtering parameters for metadata attributes.
DAO Layer Update: Updated filter query building to support attributes by joining the UM_ORG_ATTRIBUTE table.
Payload Update: Modified the response payload pattern to include metadata attributes in the organization object.

User stories

As a B2B organization administrator, I want to filter organizations based on the Region metadata attribute.

Release note

Feature: Extended Organization Filtering Capability to Metadata Attributes
Description: Users can now filter organizations based on metadata attributes alongside primary attributes, enhancing organization management flexibility in B2B environments.

Documentation

Link(s) to product documentation that addresses the changes of this PR. If no doc impact, enter “N/A” plus a brief explanation of why there’s no doc impact

Automation tests

Unit tests

Added for both the Service layer and DAO layer.

Integration tests

https://github.com/wso2/product-is/pull/20628

Security checks

Followed secure coding standards in http://wso2.com/technical-reports/wso2-secure-engineering-guidelines? yes
Ran FindSecurityBugs plugin and verified report? yes
Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets? yes

Related PRs

https://github.com/wso2/identity-api-server/pull/624
https://github.com/wso2/product-is/pull/20628

Test environment

JDK version: 11.0.23
Product Version: IS 7.0.1

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/9794474676

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/9794474725

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/9794474676
Status: success

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/9794474725
Status: success


Latest versions have not been published to Carthage

[REQUIRED] Step 1: Describe your environment

Xcode version: Version 11.5 (11E608c)
Firebase SDK version: 6.24.0
Firebase Component: All
Component version: 6.24.0
Installation method: Carthage

[REQUIRED] Step 2: Describe the problem
Steps to reproduce:

Run carthage outdated where Cartfile.resolved lists Firebase dependencies at 6.24.0
No updates are shown.

No versions of Firebase past 6.24.0 have been published to the Carthage json feed

Thanks for the report and sorry for the trouble - we're running into some issues with our Carthage publishing tools but hope to get that resolved shortly. I'll leave this open until we get the latest version shipped.

6.26.0 was just published this morning. Thanks for your patience!


Reset to Default Wallet Address for Recipient Address

Describe the feature request
To enhance the user experience in the Taiko Bridge UI, I propose the implementation of a "Reset" button in the recipient address modal. This feature would allow users to effortlessly revert the recipient address back to their default wallet address with a single click, rather than manually deleting the input or re-entering the default address.
Describe alternatives you've considered
An alternative would be to keep the current functionality, where users must manually enter their default address to reset it. However, this is less user-friendly and can be cumbersome, particularly for users on mobile devices or those who transact frequently.
Additional context
Presently, users need to manually clear the recipient address field and re-enter their sender address to reset it.

very usufull


Add Copy trait to VaultCurrencyPair

I have been trying to extend interbtc-clients to have an rpc call to "liquidation_redeem" (the burn function). Compile fails on the below code because async move requires VaultCurrencyPair to have Clone/Copy.
I managed to make a workaround by locally redefining a VaultCurrencyPairCLI type in interbtc-clients and then having the async move act on that one (See code below) but it would be probably be cleaner to add Copy to the traits in the interbtc repo.
async fn liquidation_redeem(&self, collateral: CurrencyId, wrapped: CurrencyId, amount: u128, ) -> Result<(), Error> {

    // Problem when defining directly VaultCurrencyPair (defined in interbtc module?)
    // because it does not implement Clone that is needed in the async move below.
    // Managed to compile by defining a VaultCurrencyPailCLI that implements Clone.
    // then passing to an (inner) VaultCurrencyPair
    let currencies = VaultCurrencyPairCLI {
        collateral,
        wrapped
    };

    let _burn_event = self
    .with_unique_signer(|signer| async move {
        let mut currencies_inner = VaultCurrencyPair {
            collateral: Token(DOT),
            wrapped: Token(DOT)
        };
        currencies_inner.collateral = currencies.collateral;
        currencies_inner.wrapped = currencies.wrapped;

        self.api
            .tx()
            .redeem()
            .liquidation_redeem(currencies_inner, amount)
            .sign_and_submit_then_watch_default(&signer)
            .await
    })
    .await?
    .find_first::<LiquidationRedeemEvent>()?
    .ok_or(Error::RequestRedeemIDNotFound)?;

    Ok(())
 }
}

Excerpt of the error generated by the lack of Copy trait on VaultCurrencyPair
error[E0507]: cannot move out of `currencies`, a captured variable in an `Fn` closure
    --> runtime/src/rpc.rs:1235:45
     |
1229 |        let currencies = VaultCurrencyPair {
     |            ---------- captured outer variable
...
1235 |        .with_unique_signer(|signer| async move {
     |  __________________________-___________________^
     | | _________________________|
     | ||
1236 | ||         let mut currencies_inner = VaultCurrencyPair {
1237 | ||             collateral: Token(DOT),
1238 | ||             wrapped: Token(DOT)
...    ||
1246 | ||             .liquidation_redeem(currencies, amount)
     | ||                                 ----------
     | ||                                 |
     | ||                                 move occurs because `currencies` has type `interbtc_primitives::VaultCurrencyPair<interbtc_primitives::CurrencyId>`, which does not implement the `Copy` trait
     | ||                                 move occurs due to use in generator
1247 | ||             .sign_and_submit_then_watch_default(&signer)
1248 | ||             .await
1249 | ||     })
     | ||     ^
     | ||_____|
     | |______captured by this `Fn` closure
     |        move out of `currencies` occurs here

No need to implement copy - you can just capture the currencypair by reference like this:
async fn liquidation_redeem(&self, collateral: CurrencyId, wrapped: CurrencyId, amount: u128) -> Result<(), Error> {
    let currencies = &VaultCurrencyPair { collateral, wrapped };
    let _burn_event = self
        .with_unique_signer(|signer| async move {
            self.api
                .tx()
                .redeem()
                .liquidation_redeem(currencies.clone(), amount)
                .sign_and_submit_then_watch_default(&signer)
                .await
        })
        .await?
        .find_first::<LiquidationRedeemEvent>()?
        .ok_or(Error::RequestRedeemIDNotFound)?;

    Ok(())
}

Thank you that worked!


Fix issue with DataFrame.update and add update implementation for

Series
Signed-off-by: Yaroslav Igoshev<EMAIL_ADDRESS>
What do these changes do?


How to run Azure IoT Explorer

This page does not tell me how to run Azure IoT Explorer.  After installation, the next section starts with "The first time you run Azure IoT explorer..."  How do I run Az IoT explorer? (the first time).  Azure Portal? A web URL? Powershell?  From Windows search bar?  Give me a hint, please!

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

ID: 4ae92d96-88e4-27ef-8d9c-84a9291f7350
Version Independent ID: 4988f876-cd80-8d40-58c9-2d8da1452802
Content: Install and use Azure IoT explorer - Azure IoT
Content Source: articles/iot/howto-use-iot-explorer.md
Service: iot-develop
GitHub Login: @dominicbetts
Microsoft Alias: dobett

@maranzv
Thanks for your feedback! I've assigned this issue to the author who will investigate and update as appropriate.


scenery_windmill-Riston

inspired of scenery of mountainside windmills and flowerfields in the fields of netherlands,

@leomcelroy does it need any changes?

Nice. I like the windmill a lot. I think you could clean up some of the overlapping lines a bit more.
Interesting choice to depict the Netherlands with mountains.
The main issue is your submission structure is messed up. Can you make sure you have the right folders and file names. Ready through the submission guide carefully.

Nice. I like the windmill a lot. I think you could clean up some of the overlapping lines a bit more.
Interesting choice to depict the Netherlands with mountains.
The main issue is your submission structure is messed up. Can you make sure you have the right folders and file names. Ready through the submission guide carefully.

ok will do it today itself

should his suffice for overlapping lines

 should his suffice for overlapping lines

removed the lines inside the square

Hmmmm, this also looks a little derivative. You'll def have to show more generated stuff now if only the windmill is yours

Hmmmm, this also looks a little derivative. You'll def have to show more generated stuff now if only the windmill is yours

@leomcelroy the flower garden is mine too

This looks awesome @ristonrodrigues723! Just need you to fix the name of the PR (currently it says "Add files via upload", but the title should be your folder name), as well as add a couple more things to your scene. It's looking really great rn, but I think you can add a little more. Here are a couple ideas:

the windmill seems to not pick it's pen up before moving so there are some crossed lines
add a door or window that sometimes shows up on the windmill
add a river that sometimes shows up
sometimes show clouds

You don't have to implement all of them, but if you add some changes that'd help!

sometimes show clouds tried that but the shapes arent drawing perfectly, and make up mess
add a river that sometimes shows up - csan be done , already tried but doesnt look good ,

Update this PR with the new code once you're ready for me to review. It's 100% ok if you end up implementing features that are different than my suggestions– I just review on the review criteria & as part of that I'm looking for some algorithemically generated art that looks nicely different everytime it generates

Update this PR with the new code once you're ready for me to review. It's 100% ok if you end up implementing features that are different than my suggestions– I just review on the review criteria & as part of that I'm looking for some algorithemically generated art that looks nicely different everytime it generates

@maxwofford dine with code upload u may check it

@ristonrodrigues723 I'm generating things but I don't see what changed! Can you give me a summary or post new pics in a comment for what it should look like?

@maxwofford the flowers are now being filled being filed with multiple  colors , insted of only black, or a single color at a time, the flowers, not being restricted to a single limited spsace as in first code,written code to fill the entire drawing with colors, removed the sun

If you need help editing the files in your PR, you should post in the #blot channel in slack! People there can help!
That share link might not be going to the right place, it looks the same as last time!

If you need help editing the files in your PR, you should post in the #blot channel in slack! People there can help!
That share link might not be going to the right place, it looks the same as last time!

yep but isnt it a big improvement over,  can just check the code

i can add clouds and a sun with its phases and clouds  but it will liik cramped

If you need help editing the files in your PR, you should post in the #blot channel in slack! People there can help!
That share link might not be going to the right place, it looks the same as last time!

the prblm isthe code is updated on my local repo and not the in the pr

If you need help editing the files in your PR, you should post in the #blot channel in slack! People there can help!
That share link might not be going to the right place, it looks the same as last time!

the prblm isthe code is updated on my local repo and not the in the pr

tried editing the file but not able too

@maxwofford is this good bro,

I really like this! The clouds look a little bit weird being titled and inverted in the middle.
yeah i just inverted the above one to draw the lower, can add a 3rd one to cover its tilt

@BrightTheBackpack https://blot.hackclub.com/editor?shareId=cc7cf7f9-f78a-4d02-9133-df134378dde1 the inversion is due to the the first cloud being copied and split in the middle
in this its fixed b adding another patch

the tilt was necessary to give the look of clouds on a side

@maxwofford can u check it-https://blot.hackclub.com/editor?shareId=cc7cf7f9-f78a-4d02-9133-df134378dde1

@maxwofford

This art piece looks good so far, but it can't be drawn by Blot because it relies a ton on color & fill. Can you make it look good using only lines?

if i remove the color it wont look as good i can rem\ove the color as multiple lines drawn to fill in patterns inste of color will mess it up like it did initially

This art piece looks good so far, but it can't be drawn by Blot because it relies a ton on color & fill. Can you make it look good using only lines?

if i remove the color it wont look as good i can rem\ove the color as multiple lines drawn to fill in patterns inste of color will mess it up like it did initially

@qcoral if i remove colors ill have to add lines in the shapes to make it look beter and it would probablem mess everything up as it did initialy when i was recommended to to remove those

@qcoral would a plain drawing without the color suffice it wouldnt look that good for this

Hi there!
I’m going to close this PR for now to clean up the repo. Once you've made your edits or improvements, please feel free to open a new PR, and we’ll be happy to review it there.
Please make sure to save your current code, and I'm looking forward to seeing your updated PR! Unfortunately, the color feature will need to be removed, but you might want to explore implementing a shading algorithm as an alternative—it could be a great addition!
Thanks again for your work!


CQF-1270 Updated test expression in testCQLAggregate.

Note: cql aggregate fn not implemented yet.  This pr only updates an aggregate test expression to get rid of external query and replace with in-line declaration of data as the source.

The source of this test is actually the CQL specification here:
https://github.com/HL7/cql/blob/master/tests/cql/CqlAggregateTest.xml
If there are errors with the test specification let's fix them in the upstream cql repo and then propagate those changes here


[Task]: Support set_stronghold_password in NodeJS SecretManager bindings for IOTA 2.0 in sdk

Before, we were able to update the stronghold password because we already had the multi-accounts wallet from the begining (profile manager), but now, the single-account wallets are created a bit later, so we only have the secret manager from the begining.
But, turns out we cannot update the stronghold password through the nodejs secret manager, cuz it's not implemented.

Superseeded by https://github.com/iotaledger/firefly/issues/7801


Add Localization Support to ScreenshotApp

This change enables testing screenshots with different localizations.
Changes

Added localizationsDelegates property to support custom localizations
Added supportedLocales property to specify supported locales
Added locale property to force a specific locale for testing

Testing

[x] Tested with default locale
[x] Tested with custom localizations
[x] Verified with different locales (en_US, es_ES, ja_JP) in a sample app
[x] Verified existing tests pass

@adil192 apparently I can't add you as a reviewer of this PR, so I'm tagging you here.

Awesome, thank you for merging it!


Is there a quick rpc api to get the balance directly?

I looked at #227 and looked at ruby's getbalance source code. I found it difficult to get the balance. Is there an easier way?

There isn't any API to get the balance directly.
But you can use this method to request cells belong to specific lockhash and calculate the balance by summing their capacity.

After loadcells, I still need to if (output_data.nil? || output_data == "0x") && output.type.nil? like ruby to handle these conditions?

Yes, the cell returned by this method has a field named dataHash whose value is the hash of output_data and if its value equals to EMPTY_DATA_HASH, it's safe to be spent out.

loadCells throws TypeError: The number 32341 should be a bigint or a hex string error, where 32341 is the value of the start parameter I passed in

Pass ‘BigInt(32341)’ instead.

I think it is a bug in sdk, see code.
groups[i][0] and groups[i][1] type error.

In the definition of loadCells, the start parameter is number | string.  locaCells

I tried to use string to pass start and I only passed the loadHash parameter, which is the above error.

I tried to use string to pass start and I only passed the loadHash parameter, which is the above error.

<EMAIL_ADDRESS>is ready and the signature of loadCells has been updated to accept bigint, please have a try.
Thanks.

The loadCells function works fine.


file examples

Hello author, how do you get 'market1501_init_-1.0.pickle','duke_init_-1.0.pickle' in file examples? Plase help me! Please! Thank you very much!

https://github.com/Yu-Wu/One-Example-Person-ReID/blob/f792dde4330b9e7c42e2239ebe68afd1df05252d/my_reid/eug.py#L256-L300
Please see the code here.

Hellow!For video datasets, such as Mars, I would like to ask whether a tracklet is similar to a single frame image,? And whether all the frames in a tracklet are input into the network at the same time.?


[WIP] Add support for Enhanced LE CoC as per BT 5.2

There should be a restriction that this feature should be enabled only when BLE_VERSION: 52 is enabled.
Moreover if you do not set it, we will crash because of bad memory access. ble_l2cap_sig_dispatch_get() is checking the wrong max value for opcode.

@andrzej-kaczmarek @michal-narajowski  thanks for looking into it. PR updated.

We should consider adding a MYNEWT_VAL to enable/disable this feature and make it depend on BLE_VERSION: 52

When testing I noticed an issue that when we accepted only 2 channels and a peer wanted to connect 3 channels, then we would accept the 2 and then return an error because we couldn't allocate another channel, but we didn't free those allocated channels in app.

@andrzej-kaczmarek ping