Infinite recursion with new MarshalJson in v0.21.2 on Through schemas

This change is causing infinite recursion in some of our schemas, specifically those with a Through relation. Commenting out this check within the reflect.Map case everything works as expected.
// If the value type is interface{}, we need to handle it at runtime
if valueType.Kind() == reflect.Interface {
	return true // Assume it could implement Marshaler at runtime
}

Further in that function, if the type is an reflect.Interface the function returns false, so I was wondering why the comment above says to handle this other case of reflect.Interface at runtime.
case reflect.Interface, reflect.Invalid, reflect.Bool, reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64:
     return false

Stack Trace from one of our tests:
=== RUN   TestGraphTestSuite/TestQueryOrgMembers/Get_happy_path,_get_org_member_by_org_id
runtime: goroutine stack exceeds<PHONE_NUMBER>-byte limit
runtime: sp=0x140250903a0 stack=[0x14025090000, 0x14045090000]
fatal error: stack overflow

runtime stack:
runtime.throw({0x10431c8d3?, 0x0?})
	/Users/sarahfunkhouser/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.2.darwin-arm64/src/runtime/panic.go:1023 +0x40 fp=0x16eac6d50 sp=0x16eac6d20 pc=0x102382150
runtime.newstack()
	/Users/sarahfunkhouser/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.2.darwin-arm64/src/runtime/stack.go:1103 +0x460 fp=0x16eac6f00 sp=0x16eac6d50 pc=0x10239fc00
runtime.morestack()
	/Users/sarahfunkhouser/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.2.darwin-arm64/src/runtime/asm_arm64.s:341 +0x70 fp=0x16eac6f00 sp=0x16eac6f00 pc=0x1023bd080

goroutine 76 gp=0x14000584380 m=3 mp=0x1400007d208 [running]:
runtime.deductAssistCredit(0x8?)
	/Users/sarahfunkhouser/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.2.darwin-arm64/src/runtime/malloc.go:1337 +0x7c fp=0x140250903a0 sp=0x140250903a0 pc=0x102355fac
runtime.mallocgc(0x8, 0x104d605c0, 0x1)
	/Users/sarahfunkhouser/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.2.darwin-arm64/src/runtime/malloc.go:1025 +0xe8 fp=0x14025090430 sp=0x140250903a0 pc=0x102355718
runtime.newobject(0x0?)
	/Users/sarahfunkhouser/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.2.darwin-arm64/src/runtime/malloc.go:1390 +0x2c fp=0x14025090460 sp=0x14025090430 pc=0x10235608c
reflect.(*structType).Field(0x10518a600, 0x0)
	/Users/sarahfunkhouser/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.2.darwin-arm64/src/reflect/type.go:1001 +0xfc fp=0x14025090500 sp=0x14025090460 pc=0x1024299ac
reflect.(*rtype).Field(0x0?, 0x1400007d208?)
	/Users/sarahfunkhouser/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.2.darwin-arm64/src/reflect/type.go:724 +0x50 fp=0x14025090610 sp=0x14025090500 pc=0x102428760
github.com/Yamashou/gqlgenc/clientv2.checkMarshalerFields({0x1052319f0, 0x10518a600})
	/Users/sarahfunkhouser/go/pkg/mod/github.com/!yamashou/gqlgenc@v0.21.2/clientv2/client.go:541 +0x1ac fp=0x14025090720 sp=0x14025090610 pc=0x10315f5cc
github.com/Yamashou/gqlgenc/clientv2.checkMarshalerFields({0x1052319f0, 0x104cbec00})

Example test that is on a through schema that fails with this update: https://github.com/datumforge/datum/blob/renovate/github.com-yamashou-gqlgenc-0.x/internal/graphapi/orgmembers_test.go#L18
Failure link: https://buildkite.com/datum/datum/builds/4271#018f090f-d8bd-4b90-a81d-caf580eb6e59/62-449

@golanglemonade Oops, my apologies. However, if we apply your corrections, the following case fails.
		{
			name: "marshal NumberTwo",
			args: args{
				v: Request{
					OperationName: "query",
					Query:         `query ($input: Number!) { input }`,
					Variables: map[string]any{
						"input": NumberTwo,
					},
				},
			},
			want: []byte(`{"operationName":"query", "query":"query ($input: Number!) { input }","variables":{"input":"TWO"}}`),
		},

@golanglemonade
Could you please try this version? If you'd like, I'd be happy if you could publish a PR about adding this test case.
https://github.com/Yamashou/gqlgenc/releases/tag/v0.21.3

yep, that fixes that issue. Thanks for the quick turnaround @Yamashou! I'll get you a test case and PR that soon.


Why is a namespace created for each model object in CSharp?

openapi: 3.0.0
info:
  title: "Kiota CSharp Test harness"
  version: "1.0.0"
servers:
  - url: https://example.org
paths:
  /answer:
    get:
      responses:
        200:
          description: Success
          content: { "application/json": { schema: { $ref: "#/components/schemas/myobject"}}}
components:
  schemas:
    myobject:
      type: object
      properties:
        name: { type: string }

The Myobject class is created inside a namespace called Myobject.  Is this necessary?
namespace TestSdk.Models.Myobject {
    public class Myobject : IParsable {

kiota -d openapi.yaml -c TestClient -n TestSdk -o sdk

this is most likely because it's trying to reproduce the namespace structure under the models namespace. but since the component name doesn't have a namespace structure (dots in the name), it takes the class name as a namespace segment. All my tests were with things like "microsoft.graph.className", I probably missed something here.

Most OpenAPI schemas that I have don't attempt to namespace their schemas.


kissmanga's "Are you human" CAPTCHA

For a while now, kissmanga's "Are you human" security things have caused this extension to break. When you encounter this, you are redirected to the start of the chapter, then get it again on the same page, making it impossible to read further with the extension on. Can you fix it?

It turned out that the extension was downloading the page once per image, instead of once per chapter, which the site didn't like. It should work now. Please reopen if it's still an issue.

It seems like it's not working anymore. Not sure why this time. At a certain page, the page that I'm reading will revert to the beginning, creating an endless loop. I have to turn the extension off the read it properly.

You can also disable the extension for a specific comic by clicking
"disable wcr for this site" on the greasemonkey/tampermonkey menu.
I'll look into this when I have time, but I've been a bit busy lately.


Selection of specialised exception types

Instances of the class "std::string" are thrown at some source code places.
I suggest to reuse a more specialised data type like the exception "std::runtime_error" there. How do you think about to extend the exception class hierarchy eventually?

I agree with your suggestion, the treatment of errors is currently a bit ad-hoc. I plan to fix this issue.


Problems with store cart method

Hi there, i have a little problem with Cart::store() perhaps, i don't know how to use it but, this is what i'm doing:

Add a product to my cart like:

Cart::add([
      'id' => '293ad',
      'name' => 'Product 1',
      'qty' => 2,
      'price' => 9.99,
      'options' => [
          'size' => 'large'
     ]
]);

This is what i get using Cart::content();

{
    "0f6524cc3c576d484150599b3682251c": {
        "rowId": "0f6524cc3c576d484150599b3682251c",
        "id": "293ad",
        "name": "Product 1",
        "qty": 2,
        "price": 9.99,
        "options": {
            "size": "large"
        },
        "tax": 2.0979,
        "subtotal": 19.98
    }
}

At this point everything works nice :+1:  :+1:
Following Getting and using $rowId
$id    = '293ad';
$rows  = Cart::content();
$rowId = $rows->where('id', $id)->first()->rowId;

Output: 0f6524cc3c576d484150599b3682251c
Using store method works nice using:
Cart::store($rowId)
But in my data base have this:

So, searching in /src/Cart.php the storage method uses $content = $this->getContent()  and getContent() says:

Get the carts content, if there is no cart content set yet, return a new empty Collection

I don't understand why get a empty collection.
Can you help me with this?? :smiley:  :smiley:

Oops.. 20 days ago..
Did you solve the problems yet??

@Polly3919 nope :disappointed:

Hmm.. take a look :P
Cart::store($identifier)
$identifier -> is the cart's name
When I use function " Cart::add() " , it's basically save the items in the cart('default')
So when I want to store the cart('default') , I'll use " Cart::store('default') "
When I want to save the item to another cart , I'll use
Cart::instance('preferbuy') -> add('......');
Cart::store('preferbuy');

Yes, the add method will just add the item to the cart (store it in the session). The store method can be used to store the content of the cart in the database. And can be later retrieved by the unique identifier you pass to the store method.


[ca] Minor cleanups

While re-organizing #2052, pulled out some minor changes that don't really fit.  This just adds an additional test case I had forgotten for validating intermediates, and cleans up an extra variable declaration.

LGTM

Just going to merge this one, because it's super tiny.


Minor updates to the longitudinal stream

This PR introduces some minor updates to the longitudinal stream of FastSurfer (long_fastsurfer.sh and run_fastsurfer.sh).
long_fastsurfer.sh

Add checks for unsupported run_fastsurfer.sh arguments: --t1, --t2, --sid, --seg_only, surf_only -> --t2 is not currently supported, because this would need adapted pre-processing and multiple images
Consistent formatting of Error Messages
Fix incorrect formatting of arrays (@ vs. *)

run_fastsurfer.sh

Change help text for longitudinal flags (point to long_fastsurfer.sh). In most cases, these flags should not be used by regular users, who should use long_fastsurfer.sh instead.

Actually many users are experts (e.g. when processing large datasets) and they would want to call the individual parts directly to parallelize processing on the GPUs. For them long_fastsurfer.sh is more for reference how the individual commands would look. So I down toned that part a little and added a few more details.


[Regression] Use stable sort when prioritizing app assets

This fixes a regression introduced in #206.
sort_by! doesn't preserve the original order so this loses the original order. https://ruby-doc.org/3.3.5/Array.html#method-i-sort_by-21

For duplicates returned by the block, the ordering is indeterminate, and may be unstable.

I ran into this using esbuild and had app/assets/builds as the first entry in paths. After #206, app/javascript always ended up higher priority than app/assets/builds so it was finding the wrong file.

Thanks Chris! I was just talking about this one with a colleague who had this problem. Will just ask him to check and merge if it solves his problem too.

Awesome, thanks for the quick review. It was certainly a head scratcher today as I was testing our Rails 8 migration!

Alternative implementation I considered was to partition into two arrays and re-assign but seemed like it wasn't much clearer than sort_by!.with_index.
config.assets.paths = config.assets.paths.partition { |path| path.to_s.start_with?(Rails.root.to_s) }.flatten

The partition version looks more elegant, though a sort_by! seems more intuitive. Any specific reason you chose one over the other?

Just for future reference, it seems that if all elements of the array are a String, the ordering is not lost. But if you have Pathname variables in there, then the order changes.

I figured partition would allocate a couple arrays and join them back so it is probably slower. Although the arrays probably aren't large enough to matter.

Path objects seem pretty common because that's what you get from Rails.root.join
The ones causing issues for me are from importmap-rails: https://github.com/rails/importmap-rails/blob/main/lib/importmap/engine.rb#L46-L47
Same approach in most engines/railties I think: https://github.com/rails/mission_control-jobs/blob/main/lib/mission_control/jobs/engine.rb#L93-L94

Yeah, I doubt it will make that much of a difference. But the sort_by is a bit more obvious I think.


📝 Comments are sometimes not correctly indented in a default switch clause

Environment information
Playground

Configuration
Default configuration

Description
Playground link
This leads to a reformat issue.
Code of Conduct

[X] I agree to follow Biome's Code of Conduct

I take take this one as well


Ability to accept decompilation legal agreement globally for all current and future workspaces.

Issue Description
As a developer, I would like to be presented with and accept the legal agreement displayed by the csharp.showDecompilationTerms command only once instead of when the language support is activated for the first time in each workspace.
Thank you!

Yeah, this would definitely be nice to have. I think there's some conversations going on about the same topic for Visual Studio too, since as you could imagine, lots of users there are fine accepting the terms but don't want to keep seeing it for every VS session.

@cartermp Quick note that this is now displayed every time I open vscode. Unsure if others are experiencing that.

@cartermp Quick note that this is now displayed every time I open vscode. Unsure if others are experiencing that.

I can confirm this, even when opening workspace that is not using VSCode. It's getting super annoying now.

Please vote this issue up:
Accepting the decompiler agreement permanently
Since it has more upvotes, maybe product owner will take notice.

This shows up constantly even for non C# workspaces now, at least in my case, so it has gone from annoyance to outright bug.

@cartermp Should I open a bug to address the dialog appearing for non-C# workspaces?

Should I open a bug to address the dialog appearing for non-C# workspaces?

What type of files are in the workspace? Unfortunately with VS Code it isn't as simple as saying this csproj or sln was opened, so this is a C# workspace. It becomes more a this folder was opened and contains files with these extensions meaning this may be a C# workspace.

It does the same for me, seems like any time VSCode changes workspaces.  Including just opening a new window with Ctrl + Shift + N.  Here is it popping up for a workspace with just three log files:


echo_driver.sys

Hello, do you have the driver file for echo_driver.sys? After I downloaded it from the download link of echo_driver.sys, it was a bin file and garbled characters. If you are willing, please send the echo_driver.sys driver file to my email<EMAIL_ADDRESS>Thank you in advance.

If you rename the downloaded bin file to echo_driver.sys, you will get echo_driver.sys.


New project not asking for confirmation

New project action should ideally ask for confirmation before erasing the current work.

Done


Fix #77

This fix https://github.com/Kilian/Trimage/issues/77
As debian user this fix the issue for me

My python is very rusty, what does the "{0}" return?

With python 3 the string substitution has improved with this system. In this way you don't need to specify the kind of variable and has a function that has more checks like the one we need.
If you use the format function with %s there is an error so I changed also that and now works.


[Fix #1849] Fix bug with nested arrays in Rake task configuration

This fixes #1849.

Thank you for the quick response.


The 'shutilwhich' distribution was not found and is required by pew

Hi,
I'm was trying to get pipenv working, but ended up bumping into this issue with pew. When I run pipenv, or just pew manually it throws this error:
  File "/home/alex/.local/venvs/pipenv/local/lib/python2.7/site-packages/pkg_resources/__init__.py",
line 870, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'shutilwhich' distribution was not found and is required by p
ew

I'm running Ubuntu 17.10, with python 2.7.14.
I've installed pew with pipsi.
This is the complete backtrace:
mango ~$ pew --version
Traceback (most recent call last):
  File "/home/alex/.local/bin/pew", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/home/alex/.local/venvs/pew/local/lib/python2.7/site-packages/pkg_resources/__init__.py", lin
e 3147, in <module>
    @_call_aside
  File "/home/alex/.local/venvs/pew/local/lib/python2.7/site-packages/pkg_resources/__init__.py", lin
e 3131, in _call_aside
    f(*args, **kwargs)
  File "/home/alex/.local/venvs/pew/local/lib/python2.7/site-packages/pkg_resources/__init__.py", lin
e 3160, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/home/alex/.local/venvs/pew/local/lib/python2.7/site-packages/pkg_resources/__init__.py", lin
e 666, in _build_master
    ws.require(__requires__)
  File "/home/alex/.local/venvs/pew/local/lib/python2.7/site-packages/pkg_resources/__init__.py", lin
e 984, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/home/alex/.local/venvs/pew/local/lib/python2.7/site-packages/pkg_resources/__init__.py", lin
e 870, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'shutilwhich' distribution was not found and is required by p
ew

Installing shutilwhich manually does not solve the problem.
Any clues? :)

I haven't yet try to reproduce this, so I'm not sure what would be the cause.
A couple of workarounds: shutilwhich is only Required for Python < 3.3, so you could install pipenv on the newer Python (which is preinstalled on Ubuntu 17.10) or you could activate the virtualenv created by pipsi, and install the missing package with pip install shutilwhich

Nope, shutilwhich is not listed in pip freeze for that virtualenv.
It seems more packages are missing in that virtualenv. In the end I had to activate it and pip install shutilwhich, pathlib and backports.shutil_get_terminal_size to get it working, so thanks for suggesting that :)
This is the output I get when installing pew with pipsi:
$ pipsi install pew
Running virtualenv with interpreter /home/alex/.local/venvs/pipsi/bin/python
Using real prefix '/usr'
New python executable in /home/alex/.local/venvs/pew/bin/python
Installing Setuptools.............................................................................................................................
Installing Pip....................................................................................................................................
.................................................................done.
Downloading/unpacking pew
  Downloading pew-1.1.2.tar.gz
  Running setup.py egg_info for package pew

    warning: no previously-included files matching '*~' found under directory 'pew'
Downloading/unpacking virtualenv>=1.11 (from pew)
  Downloading virtualenv-15.1.0.tar.gz (1.9MB): 1.9MB downloaded
  Running setup.py egg_info for package virtualenv

    warning: no previously-included files matching '*' found under directory 'docs/_templates'
    warning: no previously-included files matching '*' found under directory 'docs/_build'
Downloading/unpacking virtualenv-clone>=0.2.5 (from pew)
  Downloading virtualenv-clone-0.2.6.tar.gz
  Running setup.py egg_info for package virtualenv-clone

Downloading/unpacking setuptools>=17.1 (from pew)
  Downloading setuptools-38.5.1.zip (737kB): 737kB downloaded
  Running setup.py egg_info for package setuptools
    /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'long_description_content_type'
      warnings.warn(msg)
    warning: no files found matching '*' under directory 'setuptools/_vendor'
Installing collected packages: pew, virtualenv, virtualenv-clone, setuptools
  Running setup.py install for pew

    warning: no previously-included files matching '*~' found under directory 'pew'
    Installing pew script to /home/alex/.local/venvs/pew/bin
  Running setup.py install for virtualenv

    warning: no previously-included files matching '*' found under directory 'docs/_templates'
    warning: no previously-included files matching '*' found under directory 'docs/_build'
    Installing virtualenv script to /home/alex/.local/venvs/pew/bin
  Running setup.py install for virtualenv-clone

    Installing virtualenv-clone script to /home/alex/.local/venvs/pew/bin
  Found existing installation: setuptools 0.9.8
    Uninstalling setuptools:
      Successfully uninstalled setuptools
  Running setup.py install for setuptools
    /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'long_description_content_type'
      warnings.warn(msg)
    warning: no files found matching '*' under directory 'setuptools/_vendor'
    Installing easy_install script to /home/alex/.local/venvs/pew/bin
    Installing easy_install-2.7 script to /home/alex/.local/venvs/pew/bin
  Could not find .egg-info directory in install record for setuptools>=17.1 (from pew)
Successfully installed pew virtualenv virtualenv-clone setuptools
Cleaning up...
Done.


JSON parsing error in Output window

Following error in output window:
SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at ChildProcess.<anonymous> (/Users/nathgood/.vscode/extensions/kddejong.vscode-cfn-lint-0.0.4/server/out/server.js:122:24)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:194:7)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
[Error - 10:14:54] Connection to server got closed. Server will not be restarted.

Closing. See resolution for #4 , which resolved this as well.


Overlap and hausdroff measure after registration

Hi,
I have registered two images, let's say fixed and moving are Registered. After registration I want to measure overlap ratio etc.
The overlap_measures_filter.Execute(fixed, moving) and hausdroff_measures_filter.Execute() returns huge false negatives and positives. It seems it is not working. How exactly can I use these functions for registration evaluation?

To evaluate your registration using segmentation you will first need to resample the segmentation of the moving image onto the fixed image domain using a nearest neighbor interpolator, then you can evaluate the quality of the registration using overlap measures or surface distance measures. This Jupyter Python notebook illustrates how to do it.
A more detailed evaluation of segmentation is provided in this notebook.


Telescope Current Buffer Fuzzy Find is showing last result

Describe the bug
It is tricky to explain, but basically when I invoke Telescope fuzzy find in the current buffer (with default keymap +/) and type in a search string, I am often shown only the last-scoring result. I then need to scroll up or down to see the other results, and importantly the best matches. Here is a screenshot of searching for "leader" inside the kickstart init.lua, just after I finish typing the search string:

To Reproduce

Install neovim 0.10
Get kickstart's init.lua as config.
Open a file and invoke telescope current buffer fuzzy find with <Leader>+/
Search for a string.

Desktop

OS: Pop!_OS 22.04 LTS x86_64
Terminal: kitty 0.34.1

Neovim Version

NVIM v0.10.0
Build type: Release
LuaJIT 2.1.1713484068

Removed the branch field, but then <leader>/ raises this error:
E5108: Error executing lua: ...ck/lazy/telescope.nvim/lua/telescope/builtin/__files.lua:486: attempt to call field 'has_ts_parser' (a nil value)
stack traceback:
        ...ck/lazy/telescope.nvim/lua/telescope/builtin/__files.lua:486: in function 'v'
        ...ck/lazy/telescope.nvim/lua/telescope/builtin/__files.lua:641: in function 'v'
        ...-kick/lazy/telescope.nvim/lua/telescope/builtin/init.lua:542: in function 'current_buffer_fuzzy_find'

When Lazy updated the Telescope plugin (after removing the branch field), it did print a changelog and mentioning "breaking changes" but I did not pay attention to the details. Maybe one of those changes is affecting now?

I don't know, the change works for me. Try running :Lazy and update (U) or sync (S) all the plugins.

Indeed, I think the Sync did it. Thank you very much :pray:


added some oop questions

Thank you for your contribution!  It's a good way to contribute to Hacktoberfest 😎


Fix modules.livemd "(Compile Error)module already defined"

Issue:
On the examples of Greeter, InspectorGadget, Speaker/Listener, MyModule the 2nd time these are written into the smartcells and evaluated causes the "Module already defined" error.
This may be sort of distressing to completely new programmers.
To get around it, I just changed to Greeter2, InspectorGadget2, etc... because I realized this is happening, because all the smart cells are working together basically as 1 .exs file.
Possible solution: Adding numbers to the repeated Module names ( with explanation). [Unless this is somehow a deprecated feature, for which it could be explained that reassigning modules is possible in future versions of Exlir.]

There was a recent update to Livebook that I believe caused this issue. I notice this happening recently, thank you for raising this issue we will need to adjust all reading material that builds up the same module name.
Alternatively, we might be able to raise an issue on Livebook and see if they can resolve the problem.

To resolve this issue, I think we should write a script that makes sure there are no modules inside of a lesson with the same name 🤔 It would have to make sure it doesn't catch modules in a markdown block, only in an actual Elixir cell.

Hey @BrooklinJazz! As of https://github.com/livebook-dev/livebook/pull/1518 it is now expected that a module is defined only in a single cell and cannot be redefined later on. So to fix the examples you need to use unique names :)

Hey @BrooklinJazz! As of https://github.com/livebook-dev/livebook/pull/1518 it is now expected that a module is defined only in a single cell and cannot be redefined later on. So to fix the examples you need to use unique names :)

Thank you for the confirmation, We'll update the  material to fix it!

Fixed in #711


Change active state if the page is 50px from top

I am trying to stop the div when it reaches 50px from the top. It works while I made the change on scrollTop: $($anchor.attr('href')).offset().top - 50 but the active state on navigation doesn't change. It only change if I scroll that 50px  too. Please help.

The scrollspy and the smooth scrolling feature both have offsets. They're now both set to 54 by default and you can change them in the scrolling-nav.js file.


decode: fix possible NULL dereference

Found by a recently added fuzzer.
Fixes: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=61743

Could you please do that?

yep

Adjusted the fix @leonardo-albertovich

@edsiper could you please take a look?


No class def found during runtime.

Hi seratch !
java.lang.NoClassDefFoundError: Failed resolution of: Lorg/slf4j/LoggerFactory;
at com.github.seratch.jslack.common.http.SlackHttpClient.(SlackHttpClient.java:12)
at com.github.seratch.jslack.Slack.(Slack.java:31)
at com.redgold.raktim.cs727.MainActivity.openSlackGame(MainActivity.java:89)
This error keeps coming. Apparently your jar in Maven repository is not dependency complete? Please tell me a correct way to include the jar. Or, please, give me a workaround. I am depending on it.

I don't think so. It seems to be an issue in your project. By the way, are you going to use the library in an Android app? Unfortunately, the library depends on JDK 8+ which means it doesn't work with Android Java.

Thanks a lot. That probably was the case. I found this API for android https://github.com/pschroen/slack-api-android to solve my case.


feat: add browser field

Hi.
This PR just add a browser field and little update for test case.
Sorry for not open an issue before PR. May you like it. :)

Thanks a lot 👍 I'll merge later

And thanks also for the dependencies upgrade.


Miss the button name in the 'Fie Changes Detected' dialog for one blob

Storage Explorer Version: 1.16.0-dev
Build: 20201009.2
Branch: main
Platform/OS: Windows 10/ Fedora release 29/ MacOS Catalina
Architecture: ia32/x64
Regression From: Previous release(1.15.1)
Steps to reproduce:

Expand one storage account -> Blob Containers.
Open one blob container -> Upload one blob -> Open this blob and make changes -> Save the blob.
Check the 'File Changes Detected' dialog.

Expect Experience:
The button name shows well in the 'File Changes Detected' dialog.

Actual Experience:
Miss the button name in the 'File Changes Detected' dialog.

Verified on build 20201010.4. This issue has been fixed. So close it.


[Enhance] optimize  json_query function

What type of PR is this：

[ ] bug
[ ] feature
[x] enhancement
[ ] refactor
[ ] others

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：

Optimize the performance of json_query/get_json_string/get_json_int functions:

Improvement: 10B rows of data, 16 get_json_string expression in select clause; improve from 12s to 6s
Inline the type convert into _json_query_impl function, reduce the overhead of construct immediate Json object
Specialize get_json_string, avoid call Slice::toJson but read the string directly

Checklist:

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

@Mergifyio backport branch-2.3 branch-2.4

run starrocks_admit_test

run starrocks_admit_test

run starrocks_admit_test


[1.9.4] [bug] NPE ticking player exception modular storage

Im using knoxz testpack on the curse launcher
Its a pack where we test all 1.9 mods and find bugs
Got this crash today
http://pastebin.com/qYGKP3xc
Not sure what i did i was breaking some blocks from exu2 and i think i may have put the module storage in my offhand

Possibly related #537

#475 #503
My bad didnt see thesei was getting shot by skeletons so that may be it


ErrorException in GET /nova-api/users/75/metrics/member-since

Error in Apiary
ErrorException in GET /nova-api/users/75/metrics/member-since
Trying to get property 'payment' of non-object
View on Bugsnag
Stacktrace
app/Nova/Metrics/MemberSince.php:23 - Illuminate\Foundation\Bootstrap\HandleExceptions::handleError
app/Nova/Metrics/MemberSince.php:23 - App\Nova\Metrics\MemberSince::calculate
app/Http/Middleware/CASAuthenticate.php:63 - App\Http\Middleware\CASAuthenticate::handle

View full stacktrace
Created by RoboJackets Admin via Bugsnag

Caused by #511


DQN and DDQN

This PR fixes/implements the following -

[x] DQN
[x] DDQN

Closing issues
...

Pull Request Test Coverage Report for Build 492

0 of 244 (0.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-15.5%) to 76.23%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

fromscratchtoml/reinforcement_learning/init.py
0
2
0.0%

fromscratchtoml/reinforcement_learning/basic_dqn.py
0
112
0.0%

fromscratchtoml/reinforcement_learning/adv_dqn.py
0
130
0.0%

Totals

Change from base Build 488:
-15.5%

Covered Lines:
1100

Relevant Lines:
1443

💛  - Coveralls


librealsense: 2.12.0 -> 2.13.0

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/librealsense/versions.
These checks were done:

built on NixOS

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 2.13.0 with grep in /nix/store/mmmv9f9fczw7sqnpx7wpnrbxj7z285v0-librealsense-2.13.0

directory tree listing: https://gist.github.com/5d0b448eca0c4918bc99445ebc598b61

du listing: https://gist.github.com/76e36ff396b95b2f83cb1c462ea8d3be

meta.description for librealsense is: '"A cross-platform library for Intel® RealSense™ depth cameras (D400 series and the SR300)"'.
cc @brian-dawn for testing.
Experimental: this build is cached with Cachix. To use the cache follow these experimental instructions:
One time setup in nixpkgs Git checkout:
cachix use r-ryantm
git remote add r-ryantm https://github.com/r-ryantm/nixpkgs.git

Test this build:
git fetch r-ryantm && git checkout d3f15366f3ec11d572c7aedcdd0bd750850466d2 && nix-shell --pure -I nixpkgs=. -p librealsense

Failure on aarch64-linux (full log)
Attempted: librealsense
Partial log (click to expand)
FAILED: third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/rostime/src/rate.cpp.o
/nix/store/qmm2nb9kizba06zfpqnj23a55bvbzrbj-gcc-wrapper-7.3.0/bin/g++  -DBUILD_EASYLOGGINGPP -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -isystem /nix/store/15bacdng9da939i5znb7ivsw7z03qc21-libusb-1.0.22-dev/include/libusb-1.0 -I../third-party/realsense-file/rosbag/console_bridge/include -I../third-party/realsense-file/rosbag/cpp_common/include -I../third-party/realsense-file/rosbag/rosbag_storage/include -I../third-party/realsense-file/rosbag/roscpp_serialization/include -I../third-party/realsense-file/rosbag/rostime/include -I../third-party/realsense-file/rosbag/roscpp_traits/include -I../third-party/realsense-file/rosbag/roslz4/include -I../third-party/realsense-file/rosbag/msgs -I../third-party/realsense-file/boost -I../third-party/realsense-file/lz4/lib -pthread -fPIC -pedantic -g -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat-security -mssse3 -O3 -DNDEBUG   -std=gnu++11 -MD -MT third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/rostime/src/rate.cpp.o -MF third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/rostime/src/rate.cpp.o.d -o third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/rostime/src/rate.cpp.o -c ../third-party/realsense-file/rosbag/rostime/src/rate.cpp
g++: error: unrecognized command line option '-mssse3'
[84/87] Building CXX object third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/rostime/src/time.cpp.o
FAILED: third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/rostime/src/time.cpp.o
/nix/store/qmm2nb9kizba06zfpqnj23a55bvbzrbj-gcc-wrapper-7.3.0/bin/g++  -DBUILD_EASYLOGGINGPP -DHWM_OVER_XU -DRS2_USE_V4L2_BACKEND -DUNICODE -isystem /nix/store/15bacdng9da939i5znb7ivsw7z03qc21-libusb-1.0.22-dev/include/libusb-1.0 -I../third-party/realsense-file/rosbag/console_bridge/include -I../third-party/realsense-file/rosbag/cpp_common/include -I../third-party/realsense-file/rosbag/rosbag_storage/include -I../third-party/realsense-file/rosbag/roscpp_serialization/include -I../third-party/realsense-file/rosbag/rostime/include -I../third-party/realsense-file/rosbag/roscpp_traits/include -I../third-party/realsense-file/rosbag/roslz4/include -I../third-party/realsense-file/rosbag/msgs -I../third-party/realsense-file/boost -I../third-party/realsense-file/lz4/lib -pthread -fPIC -pedantic -g -Wno-missing-field-initializers -Wno-switch -Wno-multichar -Wsequence-point -Wformat-security -mssse3 -O3 -DNDEBUG   -std=gnu++11 -MD -MT third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/rostime/src/time.cpp.o -MF third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/rostime/src/time.cpp.o.d -o third-party/realsense-file/CMakeFiles/realsense-file.dir/rosbag/rostime/src/time.cpp.o -c ../third-party/realsense-file/rosbag/rostime/src/time.cpp
g++: error: unrecognized command line option '-mssse3'
ninja: build stopped: subcommand failed.
builder for '/nix/store/k7wah91d098m9h8rpkn1109vv0z49zc1-librealsense-2.13.0.drv' failed with exit code 1
error: build of '/nix/store/k7wah91d098m9h8rpkn1109vv0z49zc1-librealsense-2.13.0.drv' failed

Success on x86_64-linux (full log)
Attempted: librealsense
Partial log (click to expand)
ldconfig: Can't create temporary cache file /nix/store/83lrbvbmxrgv7iz49mgd42yvhi473xp6-glibc-2.27/etc/ld.so.cache~: Permission denied
-- Installing: /nix/store/mmmv9f9fczw7sqnpx7wpnrbxj7z285v0-librealsense-2.13.0/lib/librealsense-file.a
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/mmmv9f9fczw7sqnpx7wpnrbxj7z285v0-librealsense-2.13.0
shrinking /nix/store/mmmv9f9fczw7sqnpx7wpnrbxj7z285v0-librealsense-2.13.0/lib/librealsense2.so.2.13.0
strip is /nix/store/4qvrxzxa535y8304mk195x50b6p9607d-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/mmmv9f9fczw7sqnpx7wpnrbxj7z285v0-librealsense-2.13.0/lib
patching script interpreter paths in /nix/store/mmmv9f9fczw7sqnpx7wpnrbxj7z285v0-librealsense-2.13.0
checking for references to /build in /nix/store/mmmv9f9fczw7sqnpx7wpnrbxj7z285v0-librealsense-2.13.0...
/nix/store/mmmv9f9fczw7sqnpx7wpnrbxj7z285v0-librealsense-2.13.0

Success on x86_64-darwin (full log)
Attempted: librealsense
Partial log (click to expand)
-- Installing: /nix/store/hqxvxakjgwmcvmywh42vi1q4mbg2pij0-librealsense-2.13.0/lib/cmake/realsense2/realsense2Config.cmake
-- Installing: /nix/store/hqxvxakjgwmcvmywh42vi1q4mbg2pij0-librealsense-2.13.0/lib/cmake/realsense2/realsense2ConfigVersion.cmake
-- Installing: /nix/store/hqxvxakjgwmcvmywh42vi1q4mbg2pij0-librealsense-2.13.0/lib/pkgconfig/realsense2.pc
-- Installing: /nix/store/hqxvxakjgwmcvmywh42vi1q4mbg2pij0-librealsense-2.13.0/lib/librealsense-file.a
post-installation fixup
strip is /nix/store/7ddbq63v97nk8gkbf7gcsfmby37h6gbl-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/hqxvxakjgwmcvmywh42vi1q4mbg2pij0-librealsense-2.13.0/lib
patching script interpreter paths in /nix/store/hqxvxakjgwmcvmywh42vi1q4mbg2pij0-librealsense-2.13.0
/nix/store/hqxvxakjgwmcvmywh42vi1q4mbg2pij0-librealsense-2.13.0/lib/librealsense<IP_ADDRESS>.dylib: fixing dylib
/nix/store/hqxvxakjgwmcvmywh42vi1q4mbg2pij0-librealsense-2.13.0


October 2023 Meetup Post

@noxim @puzzled-squid if you could check this out that would be great!

Also, let me know if there should be more links, or if some should be removed :)

Also, let me know if there should be more links, or if some should be removed :)

It looks good to me. Thanks a lot!


Add my new pixel

Checklist

[x] I ran npm test locally and it passed without errors.

[x] I only edited the _data/pixels.json file.

[x] I entered the username in the pixels.json that I'm also using to create this pull request.
[x] I acknowledge that all my contributions will be made under the project's license.

thank you. i am new to github and it seemd like the biggest university in norway is using this to teach the students like me


Update build

Spotted the callouts were wrong for one of the snippets in the docs, pushed the fix here as otherwise it would be a horrible merge


feat: running locally through dev container

Fixes #8589
Tested with commands and access to UI
make argoexec-image
make start API=true PROFILE=mysql
make pre-commit -B

working:

MacOS 12.2 with M1 Pro
Microsoft Windows 10 Pro: 10.0.19044 Build 19044

not working

Ubuntu 20.04 LTS (The k3d does not detect dind correctly and end up using the incorrect setting when create k3s cluster)

doing more testing and benchmark, will re-request for review after

Cool! How fast is it? How long does it take to run “make pre-commit -B”? Could we always use bullseye? How do I run this if I use a different IDE? Does it work with Codespaces?

bullseye works fine, changed.
Not sure about codespaces, its only available for team/enterprise, assuming most of the users won't have access to it.

I want some hard data on using a Dev Container is vs local install.
Engineers will run:

make start
make pre-commit -B
make test

Can you add how long these take without a dev container vs local?

tested on windows wsl2 with 16vcore i7-11800h 16GB ram
(assuming all dependencies are installed)

locally
dev-container

make pre-commit -B
3m30s
4m15s

make test
52s
1m15s

make start
7s
8s

make start wait for minio
37s
45s


feat: add profile configured JVM heap args

Changes Made
feat: increase JVM heap for main Kafka service on large machines

Set to 6GB using default profile=production config option. Otherwise 1GB.
Health check looks for available memory, informing user if insufficient for desired profile

I'm not sure however this is the source of the failing integration tests, but surely I believe we need to exclude the profile config from here.


[New game]: Snake Feeder Game [GSSoC'23]

🎮 Game Request
Game logic and basic description

In this game, Players control a growing snake and guide it to eat food items while avoiding collisions with its own body and the game boundaries.
The players are to accumulate points by consuming feeders, with the challenge increasing as the snake grows longer.

Point down the features
Game points

More food items consumption, more will be your score.

Select program in which you are contributing
GSSoC23
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @Avdhesh-Varshney !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

/assign


Licenses

A license must be added to the code.

Added 3-clause BSD license, following the spirit of cube
.


Maureen would like to use openshift-install to install OCP IPI

Needs to pull a specific version rather than the most recent stable.

A specific patch version. E.g. for the openshift-install cli , it comes from this repo,
https://mirror.openshift.com/pub/openshift-v4/amd64/clients/ocp/
So for a 4.8.9 install on AMD64, we would use the openshift-install cli from,
https://mirror.openshift.com/pub/openshift-v4/amd64/clients/ocp/4.8.9/


Implemented to use Intl.PluralRules object in IString if it's available

Checklist

[ ] At least one test case is included for this feature or bug fix.
[ ] ReleaseNotes has added or is not needed.
[ ] This PR has passed all of the test cases on Nodejs and Chrome Browser.
[ ] This PR has passed all of the test cases on QT/QML.
[ ] This is an API breaking change.
[ ] Requires a major version change.

Issue Resolved / Feature Added

Implemented to use Intl.PluralRules object in IString if it's available.
test expectation values is written in cldr 41

https://unicode-org.github.io/cldr-staging/charts/41/supplemental/language_plural_rules.html

tested various versions of the node through circleCI build.
tested chrome and firefox browsers.

Resolution
Links

@ehoogerbeets It is ready to get your review.


Erf.cs: performance issues

Hi,
I have been using the Normal distribution coded in MathNet.Numerics a lot lately and profiling tests reveal a lack of computational performance especially in Erf.cs. I have been looking through the code and was wondering why the static functions coded in Erf.cs do not use static parameters instead of double arrays initialized at each function call... It could be a significant improvement in computational speed and won't in any way alter the numerical accuracy or thread safety of the code.
What do you think ?

Yes, I agree, we should change that!

Hello.  I would like to take on this issue as my first contribution if nobody has claimed it yet, mainly because it is straightforward and I understand the purpose well.  I will look to Gamma.cs and ModifiedBessel.cs as guidelines for formatting since those classes also have static coefficient arrays.
Let me know if this issue is already being worked on or if there is something else I should know.

Implemented in #369


It doesn't work with node 16.0

I try with nodejs 16.x but it doesn't work. Has anyone had a similar problem and how to solve it?

@eosvn are you using the already built .zip file? or building your own using node 16?


Slight re-write to NewIssue dry-run handling

print a message so you know if it triggered with --dry-run and count the
API tokens.

@lavalamp

LGTM


How to encode / use additional fonts?

Is there a particular config/command you are using for msdfgen?
Has the included fontencoder source deviated from Chlumsky/msdfgen? wondering if output from latest (v1.4) ought to work.
Playing around with HUD like UI, need me some Inconsolata :)
@makepaddev, if helpful, I can PR in a few more open-source fonts.

Hey, so msdfgen i run on a font, and then the only thing i tweak is the 'scale' factor untill the font is artifact free (larger usually something like 1.6 1.8)

I made a single file compile out of it (makefile) you should be able to just overwrite some files and recompile it

fontencoder.cpp is my own use of msdfgen C++ API which does all my font file generation

Thanks! It works.
for anyone curious how, as setup:
cd ./fontencoder
chmod +x ./Makefile
./Makefile

which should compile a fontencoder binary, which can be used like so:
./fontencoder {{path/to/awesome-font.ttf}} ../libs/fonts/{{awesome-font}}.font {{scale}} 0 126

I had to use a scale above 2.0 for inconsolata before it rendered as expected.
Unicodes 0 to 126 covered all the bases, can likely remove unused chars.
Font render quality varies on retina vs non-retina screens.

Yeah non retina is extremely hard to do right, its actually amazing that it isnt complete garbage. I'm just kinda waiting out the non-retina to go away tbh.

All non-retina fonts really need pixel hinting and all that jazz. Don't have that on a gpu, probably never will.

I can only imagine...
After some tweaking, a little bit extra boldness, looks solid on non-retina.  It's amazing you got this far on pure GPU!

Well with the great help of the guy that made the msdflib, or before that glyphy. This is font-engine-version 4 for what i'm doing, so i've gotten quite decent at the fiddly bits. But yes besides the drawcall packing shader compiler its definitely one of the enabling cornerstones of why makepad works.

What is on my todo is to have some kind of nice nonretina-to-retina curve for that boldness. I can't seem to find a 'single' value that works, like if you pick one that looks good on lowdpi its too bold on hidpi. etc.

Btw to answer your first question, i don't really need PR of more fonts, im trying to keep the repo as tiny as possible for as long as possible, big binaries mess that up.

after seeing the compiled font file size, makes sense.
is there a flag set somewhere when retina or not?  could be a simple config to the styles files

Hi, so the thing is 'retina mode' isnt just a single value its actually the zoom-factor. (browser zoom works perfectly in makepad through this)

That way you can just zoom in/out of a UI however you please, its extremely useful for most UIs.

Btw the generated fonts do zip quite nicely, so generally you'd use transport compression, since that also is JS-cost free

Oh also, in AR/VR mode (what im working on now) this whole 'retina' factor will go away entirely since it will be 3D space, so i really wanna keep things like retina-mode-ness mostly a float

👍  awesome, precisely where I was hoping you were taking all this
how stable is the core UI/view API? expect major/minor differences with AR/VR mode?

BTW, i stumbled across this interesting abandoned side-proj thingy, it's the only other pure webgl code editor attempt I've seen.  albeit a different beast/stack altogether, but worth noting.  the guys at Figma are doing interesting things with their gl collaborative UI design tool.
Also, is there a more proper place for this kind of non-specific convo?

@d4tocchini I think Evan is a founder of Figma. "Sky" is an interesting prototype but the Skew language couldn't possible be considered for any kind of production development.  A "one developer" language is destined for failure. There are, however, some other very interesting well backed strongly typed languages (not TypeScript) that compile to JS and make working with WebGL much more pleasant.  I honestly don't know how @makepaddev does it... writing this much JS by hand would do my head in.  I like JS but I also like compile time checking and OO inheritance... Maybe I started with the "C"'s so I'm biased.  In any case @makepaddev your project has been an inspiration to me.  I keep regular tabs on your progress.  Thanks for sharing.
Kind Regards
/W

Hi so, figma is a hybrid html/GL UI, i hope they may change that someday. Otherwise its a very impressive project, although i don't agree with the compiled-from-C++ stack and other things, Evan is definitely extremely skilled. Makepad is an attempt to truly put the entire UI stack in GL and expose all the programmable bits 'easily' to the developer, as easy as writing CSS you write a little shader JS function that does what you need. I've pretty much completed the 'search' for how to do the UI kit, and the shader code, i hope. However the underlying fabric, the render API is going to get a big overhaul as i'm redesigning the shader compiler to be split into 2 parts. A user space part which creates a bytecode AST and a mainthread part that generates GLSL. This way i can platform-fix bugs in videocard drivers for particular problems, and otherwise bridge webGL1/2. One of the things i want the compiler to fill in is the absence of float rendertargets on most of the mobile space. So the renderAPI should give you a way to write computation shaders regardless of the existence of float targets. If i don't fix this centrally most of the people will be missing out on all the fun of gpgpu atleast when viewing fun little programs. So on the stability, i think the UI bit is going to be quite stable / minor, but one reason i put this warning in the readme is because i'm not done evolving major pieces yet.

W: thanks for your reply, i hope to one day become more useful with makepad than inspiration, but until then i'll settle for that :)

@makepaddev like you said you're still working on the underlying and you made that clear with your "no not use" caveat ;-).  I took you seriously.  I'm working on something similar but for a completely different use case.  I feel WebGL has been vastly under utilized in the 2D space especially for Ui Kits.  And the 3D guys don't seem to have much use for a proper hardware accelerated GUI for some reason.... When you get through the underlying I'll be very interested in taking a look at how you solved certain problems that I'm sure I'm also working on.
Again very nice work mate...

Yep i agree on the underutilised for 2D, trying to fix that part :) Yea let me know if you have something to show here or on twitter, happy to check it out or give feedback


Regexp literals in transforms

Summary
I'd like a slightly nicer syntax for transforms so I don't have to escape so much.
Expected Behavior
Be able to say:
addTransform({
  captureGroupRegexps: [/[\w\-]+\.(?:md|feature)\b/],
  transformer: s => new Values.FilePath(s),
  typeName: 'filePath'
})

Current Behavior
The captureGroupRegexps property has to be an array of strings.
addTransform({
  captureGroupRegexps: ['[\\w\\-]+\\.(?:md|feature)\\b'],
  transformer: s => new Values.FilePath(s),
  typeName: 'filePath'
})

Possible Solution
Look at the type of each element. If it's a string, use as is. If it's a regexp, use its source. Any other type: throw an error.

/cc @jbpros


Add maven repository for Exasol JDBC Driver

Exasol JDBC drivers are now available in a maven repository added url in plugin.xml

Is there any reason to add direct link on jar file instead of maven artifact reference?
Usually artifact is better because users can update to the recent driver version without DBeaver upgrade.

Compare with this patch:
===================================================================
--- ../plugins/org.jkiss.dbeaver.ext.exasol/plugin.xml	(revision 90211f5c297aca10e7b574cb61c09d70c5f6878d)
+++ ../plugins/org.jkiss.dbeaver.ext.exasol/plugin.xml	(revision )
@@ -327,14 +327,7 @@
                     <property name="querytimeout" value="600"/>
                     <property name="clientname" value="DBeaver"/>
                     <property name="connecttimeout" value="40"/>
-                    <property<EMAIL_ADDRESS>-                              value="yyyy-MM-dd-HH.mm.ss.ffffff"/>
-                    <library path="C:\Program Files (x86)\EXASOL\EXASolution-5.0\JDBC\exajdbc.jar"/>
-                    <fileSource url="https://www.exasol.com/portal/display/DOWNLOAD/5.0"
-                                name="Exasol JDBC Drivers"
-                                instruction="Download Exasol JDBC (JCC) client driver. Extract downloaded archive and copy exajdbc.jar in some directory. Then add exajdbc.jar as a library in DBeaver driver editor dialog.">
-                        <file name="exajdbc.jar" description="JDBC driver"/>
-                    </fileSource>
+                    <file type="jar" path="maven:/com.exasol:exasol-jdbc:RELEASE"/>
                 </driver>
             </drivers>
             <views>
@@ -440,6 +433,10 @@
             </objectType>
          </tool>
       </tools>
+    </extension>
+
+    <extension point="org.jkiss.dbeaver.mavenRepository">
+        <repository id="exasol-repo" name="Exasol Repository" url="https://maven.exasol.com/artifactory/exasol-releases/"/>
     </extension>

 </plugin>

Hi Serge,
the problem is that there are some bugs in Version 6 of the jdbc driver. V6 is the RELEASE Version.
I tried adding the exasol maven repository to my plugin
  <repositories>         <repository>             <id>maven.exasol.com</id>             <url>https://maven.exasol.com/artifactory/exasol-releases</url>             <snapshots>                 <enabled>false</enabled>             </snapshots>         </repository>     </repositories>
and use maven:/com.exasol:exasol-jdbc:5.0-SNAPSHOT as path. However this does not seem to work.
So I hard coded to 5.0.17.
Regards
Karl

I see. There is similar problem with MySQL drivers.
In that case you can use regex pattern to match only good versions:
<file type="jar" path="maven:/com.exasol:exasol-jdbc:{.*5\.0\..*}"/>

BTW I mean dynamic driver configuration in DBeaver (for samples see generic/postgresql/mysql drivers config in plugin.xml) - not hard dependency in pom.xml.


New version: RegressionTables v0.2.5

Registering package: RegressionTables
Repository: https://github.com/jmboehm/RegressionTables.jl
Created by: @jmboehm
Version: v0.2.5
Commit: 93eac7c26afe09b3b18ba92d2877c2b7832dd207
Reviewed by: @jmboehm
Reference: https://github.com/jmboehm/RegressionTables.jl/issues/43

How is julia = "1" a narrowing of supported versions? Or do Travis build configs count as well?

How is julia = "1" a narrowing of supported versions? Or do Travis build configs count as well?

RegressionTables v0.2.4: julia = ">= 1.1"
RegressionTables v0.2.5: julia = "1"
So technically it is a narrowing.
@fredrikekre Thoughts?
[noblock]

Thanks-- that was somewhat accidental (I'm still struggling with Pkg). I've pushed a new commit to master relaxing it back to julia = ">= 1.1". How can I re-trigger the auto merge?

Thanks-- that was somewhat accidental (I'm still struggling with Pkg). I've pushed a new commit to master relaxing it back to julia = ">= 1.1". How can I re-trigger the auto merge?

Well... julia = ">= 1.1 is not upper-bounded. So automerge won't like that either.
Here is what I recommend:

Set your Julia compat to julia = "1"
Bump your RegressionTables version to 0.3.0
Trigger Registrator to register RegressionTables version 0.3.0

Argh, you're right. Thanks, I did that (#6348).


adding atbm-wifi package, atbm6012b-ssc333-tapo-c110 module load

I'm not sure if the github source I'm using for atbm-wifi is the best, but it's the only one I've found.
I'm not sure if the package name is optimal (I copied the source repo name). atbm60xx-v2? atbm60xx-nextgen? etc
I'm not sure if files/ are necessary, so for now they are copied from atbm60xx, but not installed.
I haven't tested atbm60xx (with or without atbm-wifi included), but atbm-wifi works on my atbm 6012b-x where atbm60xx does not. I have not tested any of the other atbm-wifi supported models.
Ultimately it probably makes more sense to update the atbm60xx driver, but that's a much bigger problem and requires testing with supported devices that I am not able to do.

We are awaiting confirmation from @cronyx

Hi,
i tried building the atbm-wifi package for the atbm6012b and during the Buildstep
>>> atbm-wifi HEAD Building
>>> atbm-wifi HEAD Building kernel module(s)

i get the following error:
/home/niyawe/dl/tapo_c110/builder/openipc/output/build/atbm-wifi-HEAD/./Makefile.build.kernel:10: "============>kernel_version:4.9.84"
scripts/Makefile.lib:402: *** prerequisites cannot be defined in recipes.  Stop.
make[2]: *** [scripts/Makefile.build:544: /home/niyawe/dl/tapo_c110/builder/openipc/output/build/atbm-wifi-HEAD/./hal_apollo] Error 2
make[1]: *** [Makefile:1580: _module_/home/niyawe/dl/tapo_c110/builder/openipc/output/build/atbm-wifi-HEAD/.] Error 2
make: *** [package/pkg-generic.mk:284: /home/niyawe/dl/tapo_c110/builder/openipc/output/build/atbm-wifi-HEAD/.stamp_built] Error 2
make: Leaving directory '/home/niyawe/dl/tapo_c110/builder/openipc/output/buildroot-2024.02.6'

@niyawe - Huh. I'm not familiar with this build system yet, but I'm having a hard time seeing how openipc/output/build/linux-custom/scripts/Makefile.lib:402 would come into play there.
"Ubuntu 24.04.1 LTS"
openipc-firmware: HEAD @ (https://github.com/geedubess/openipc-firmware/tree/add-6012b-support)
Can you think of anything I can poke at to try to help debug this? I rm openipc/output before building using openipc-builder. My openipc-builder is currently locally modified, but was not when I pushed my changes to github - just defconfig changes and #rm -rf openipc.
You're not also including/building the atbm60xx driver, right?
>>> atbm-wifi HEAD Building
>>> atbm-wifi HEAD Building kernel module(s)
GIT_DIR=. PATH="/home/gws/prj/tapoc110/builder/openipc/output/per-package/atbm-wifi/host/bin:/home/gws/prj/tapoc110/builder/openipc/output/per-package/atbm-wifi/host/sbin:/usr/local/sbi
n:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" PKG_CONFIG="/home/gws/prj/tapoc110/builder/openipc/output/per-package/atbm-wifi/host/bin/pkg-config
" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/home/gws/prj/tapoc110/builder/openipc/output/per-package/atbm-wifi/host/
lib/pkgconfig:/home/gws/prj/tapoc110/builder/openipc/output/per-package/atbm-wifi/host/share/pkgconfig" BR_BINARIES_DIR=/home/gws/prj/tapoc110/builder/openipc/output/images KCFLAGS=-Wno
-attribute-alias /usr/bin/make -j13 -C /home/gws/prj/tapoc110/builder/openipc/output/build/linux-custom HOSTCC="/home/gws/prj/tapoc110/builder/openipc/output/per-package/atbm-wifi/host/
bin/ccache /usr/bin/gcc -O2 -isystem /home/gws/prj/tapoc110/builder/openipc/output/per-package/atbm-wifi/host/include -L/home/gws/prj/tapoc110/builder/openipc/output/per-package/atbm-wi
fi/host/lib -Wl,-rpath,/home/gws/prj/tapoc110/builder/openipc/output/per-package/atbm-wifi/host/lib" ARCH=arm INSTALL_MOD_PATH=/home/gws/prj/tapoc110/builder/openipc/output/per-package/
atbm-wifi/target CROSS_COMPILE="/home/gws/prj/tapoc110/builder/openipc/output/per-package/atbm-wifi/host/bin/arm-openipc-linux-musleabihf-" WERROR=0 REGENERATE_PARSERS=1 DEPMOD=/home/gw
s/prj/tapoc110/builder/openipc/output/per-package/atbm-wifi/host/sbin/depmod INSTALL_MOD_STRIP=1 KSRC=/home/gws/prj/tapoc110/builder/openipc/output/build/linux-custom CONFIG_ATBM6012B_y=n CONFIG_ATBM603x=n CONFIG_ATBM6132=n CONFIG_ATBM6012B_y=y CONFIG_ATBM_USB_BUS=y CONFIG_ATBM_SDIO_BUS=n CONFIG_ATBM_MODULE_NAME="atbm6012b_wifi_usb" PWD=/home/gws/prj/tapoc110/builder/openipc/output/build/atbm-wifi-HEAD/. M=/home/gws/prj/tapoc110/builder/openipc/output/build/atbm-wifi-HEAD/. modules
/home/gws/prj/tapoc110/builder/openipc/output/build/atbm-wifi-HEAD/./Makefile.build.kernel:10: "============>kernel_version:4.9.84"
CC [M]  /home/gws/prj/tapoc110/builder/openipc/output/build/atbm-wifi-HEAD/./hal_apollo/mac80211/main.o
...


Does it support LLMs capable of processing ggml, such as llama.cpp?

currently no, but open for discussion as stated here https://github.com/huggingface/optimum-benchmark/issues/117#issuecomment-1953718557


Polymorphism implementation sketch

With functions in place, we can start thinking about polymorphism.
Implementation sketch

Create AST where EVar can either be an Id or a Hole. A Hole is a type parameter.

For example, def foo(a: int[M bank N]) parses to Func(foo, List(a -> TArray((EVar(M), EVar(N))))
Use scala trait to create an AST parameterized on the type of Id.

Redefine the parser to allow for holes to exist in:

Array types: Both dimension and banking factor
Ranges: Both range end and unrolling factor.

Write a constrain generator that outputs SMT-lib

Constraints are generated on EAA.
Encode CSeq and CPar constraints in a preamble
Note: It seems some type checking and capability checking might be useful at this point, but I don't want to create another type checker in here.
TODO: probably missing some stuff

Write a deparser for SMT-lib that extracts the model and remaps it to symbols.
Walk through each function definition in order and resolve the bounds on each type parameter.

Instead of concrete assignment, we want a bound. So instead of M = 24, we want M % 4 = 0
Once a function is done, add the function def with bounds into a simple environment.

For function applications with abstract parameters, foo[M, N](a, b)

add the bounds from the function definition into the constraint formula.
When the solver returns a concrete model, add an instantiation of foo with these concrete values to a Set of concrete function instantiations.

Once all function definitions are checked, remove all abstract functions and add concrete instantiations of the function into the AST.
Replace abstract function calls with calls to the concrete functions.
Send to the type checker!

Even at a high level, this proposal implies 3-4 days of concerted hacking.

This is indeed a complex next step! I'm excited for it, and it's worth carefully considering how to design the semantics. Here are just a few notes to get us started.
At an extremely high level, I suggest we divide the effort (both design and implementation) into two phases:

Polymorphism without inference.

Defining a polymorphic function type would require explicit type parameters. For example, the syntax might look something like def foo[M: nat, N: nat](a: int[M bank N]). The parameters in square brackets are type-level parameters; the parameters in parentheses remain type-level, and their types can refer to type parameters.
Invoking a polymorphic function would require explicitly specifying its type parameters. The syntax might look like foo[10, 2](m).
In this phase, we'd need to define the abstract syntax for polymorphic types. I'd recommend taking inspiration from the appropriate formalism (i.e., System F): there would be explicit type-level abstractions. A type variable occurrence would refer to a specific type abstraction. These type abstractions could be either their own type AST node kind, or they could be folded in with function types (i.e., function types have both a list of type-level parameters and a list of value-level parameters).

Add inference.

Once we're happy with the correctness of the polymorphic language, but exhausted from typing all the parameters every time, now we add inference—and therefore the constraint generation.
In version 1.0, we should just ask the SMT solver to give us back a concrete assignment for the whole program. Rather than getting back a new set of constraints ourselves, the solver can just pick an arbitrary valuation that makes the program type-check.
Then, it would be a good subsequent challenge to get this to work in a compositional, intraprocedural way. That would probably involve enriching the language itself to include constraints along the lines of M % 4 == 0, which could be written explicitly in addition to being inferred.


CoinAPI key requires quotes

...or at least it did, in my case. This is a lazy issue report. Let me know if I should include more details, including logs.

interesting... i definitely did not need quotes around my coinAPI key. my maubot is running in docker with the official docker image.
does your api key have special characters in it or anything? mine is alphanumeric with hyphens, but perhaps they've changed their format.

Strange. Yeah, my key is the same style as yours. Must be something strange about my environment.


message_edit: Update placement and styling of server message edit banners.

This PR aims to update the old-style custom error banners in the message edit form to the ones we are currently using. It also fixes the placement of the banners.
Fixes: #25412.

Screenshots and screen captures:

We can probably cut the "Error saving edit" wrapping text -- that would match what we do in compose.

We can probably cut the "Error saving edit" wrapping text -- that would match what we do in compose.

Yes, definitely, we should match the compose banner.

I've removed the "Error saving edit" prefix and reverted the changes made to the inline topic edit form, as there are ongoing discussions regarding it.

Looks good to me in manual testing.

I have pushed some updates that will allow for the use of xhr_error_message. I believe it's now ready for the next review iteration.

Merged after doing the tiny tweak in https://github.com/zulip/zulip/pull/25415/commits/5ff4f3ba6e2606f484367833086ca555c3d1996c#r1186485688, thanks @shameondev!


Update models weights for inception_v3, vgg11, and vgg13

This PR udpates the URls for the above models. The weights have been uploaded to the S3 bucket and the internal facebook DB.
Closes https://github.com/pytorch/vision/issues/3767
Closes https://github.com/pytorch/vision/issues/2473
The following snippet now passes:
for model_name in ('inception_v3', 'vgg11', 'vgg13'):
    getattr(models, model_name)(pretrained=True)

root = '/data/home/nicolashug/.cache/torch/hub/checkpoints/'
for filename in ('inception_v3_google-0cc3c7bd.pth', 'vgg11-8a719046.pth', 'vgg13-19584684.pth'):
    for device in ('cpu', 'cuda', 'cuda:0', 'cuda:1'):
        torch.load(root + filename, map_location=device)

The new weights have been generated and tested like so:

import torch
import torchvision
import torchvision.transforms as t
from torchvision import models
import torchvision.ops as ops

def get_available_classification_models():
    return [k for k, v in models.__dict__.items() if callable(v) and k[0].lower() == k[0] and k[0] != "_"]

all_classification_models = get_available_classification_models()
print(all_classification_models)

for model_name in all_classification_models:
    if model_name in ('mnasnet0_75', 'mnasnet1_3', 'shufflenet_v2_x1_5', 'shufflenet_v2_x2_0'):
        continue
    getattr(models, model_name)(pretrained=True)

from glob import glob
import io
from pickle import UnpicklingError

all_files = glob('/data/home/nicolashug/.cache/torch/hub/checkpoints/*.pth')
baddies = []
goodies = []

for filename in all_files:
    try:
        state_dict = torch.load(filename, map_location='cuda')
    except RuntimeError:
        baddies.append(filename)
    else:
        goodies.append(filename)

print("these files are OK:")
print(goodies)
print("these ones failed:")
print(baddies)

import hashlib
import os
import uuid

output_dir = '/data/home/nicolashug/new_models'
tmp_path = os.path.join(output_dir, 'blah')

for filename in baddies:
    model_name = '-'.join(filename.split('/')[-1].split('-')[:-1])
    model = torch.load(filename)
    torch.save(model, tmp_path)

    sha256_hash = hashlib.sha256()
    with open(tmp_path, "rb") as f:
        # Read and update hash string value in blocks of 4K
        for byte_block in iter(lambda: f.read(4096), b""):
            sha256_hash.update(byte_block)
        hh = sha256_hash.hexdigest()

    output_path = os.path.join(output_dir, model_name + "-" + str(hh[:8]) + ".pth")
    os.replace(tmp_path, output_path)

# Make sure they can be loaded now
for filename in glob(output_dir + '/*'):
    state_dict = torch.load(filename, map_location='cuda')

print("The newly updated weights don't fail anymore")
print(f"They are located in {output_dir}")

# Also make sure the new dicts are the same as the old ones
for d1, d2 in zip(sorted(glob(output_dir + '/*')), sorted(baddies)):
    d1 = torch.load(d1)
    d2 = torch.load(d2)
    assert d1.keys() == d2.keys()
    for v1, v2 in zip(d1.values(), d2.values()):
        torch.testing.assert_allclose(v1, v2)

print("newly updated weights seem to be the same as the previous ones.")
print("all good")

@datumbox thanks for the tips, what is this train.py file that you're referring to?
In terms of consistency with the previous weights, I made sure to check the following (in the "details" section above):
# Also make sure the new dicts are the same as the old ones
for d1, d2 in zip(sorted(glob(output_dir + '/*')), sorted(baddies)):
    d1 = torch.load(d1)
    d2 = torch.load(d2)
    assert d1.keys() == d2.keys()
    for v1, v2 in zip(d1.values(), d2.values()):
        torch.testing.assert_allclose(v1, v2)

I was able to get the same accuracy results on master and on this branch with the above script, thanks for the refs


Decide where to put the decimal point

@es92 @o1pranay @nholland94 you were discussing this the other day. did you come to a consensus?

I hear we're using decimal fixed point, with each coda broken into 1 billion nanocoda. This requires 30 bits for the fractional part, leaving 34 for the integer part. Is this enough range?


TreatLife SL10 Firmware v1.0.2 - SSL Error, unable to flash

Hello, I purchased a new 4 pack of SL10 bulbs from Amazon, and upon trying to run the tuya-cloudcutter exploit on them, I get the following error:
Using PSK v1 - Received PSK ID version 02
SSL Error on 12 ('<IP_ADDRESS>', 59776): [SSL: DECRYPTION_FAILED_OR_BAD_RECORD_MAC] decryption failed or bad record mac (_ssl.c:1129)

Upon looking through different issues, it seems that the profile is incompatible with whatever firmware version is on these bulbs. I believe this is the same issue as referenced in #88 which seems to have people being able to flash them successfully. The fact that it isn't allowing me to makes me think this may be a newer firmware than was referenced in that issue. I paired the bulb to Smart Life, and it seems the Main/MCU versions are both 1.0.2.
I don't currently have the ability to dump the firmware on one, but I do have a 3D printer and I could make the jig needed to do so if required, though I am a bit hesitant to do so since I haven't been able to successfully connect to similar chips through serial by soldering without bricking it.
What I've tried:

SL10-V2 profile (with/without specified Device ID/Localkey)
SL10-OMNI-TP120 profile (with/without specified Device ID/Localkey)
SL20 profile (with/without specified Device ID/Localkey)
Tuya-Generic lightbulb profiles  (with/without specified Device ID/Localkey)

Here is a log file of my last unsuccessful run: log.log

Sounds like they have a real variety in the SL10 line.  There are currently 2 SL10 dumps and they are for firmware versions 1.0.1 and 1.0.8, so yours would be a 3rd now.  There is not currently a profile for 1.0.2 bulbs that I'm aware of.
If you have a spare ESP/ESP32 dev board, could you try the combination of the android app and lightleak (where you install lightleak on a dev board and install the android app on a phone, grant it location permissions manually) and try dumping the firmware wirelessly?  Assuming this is still BK7231T like the other devices.  If it is BK7231N, it will not work with lightleak yet.

Thank you for the quick reply :smile: I didn't know about that method of dumping. I'll look into it and try to dump a fresh bulb.

It took some effort, but I was able to get the ESP32 firmware to compile and flash with it seemingly working
What I changed to make it compile for esp32 (in customap.cpp):
//#if defined(ESP32)
//	WiFi.onEvent(onStationConnected, SYSTEM_EVENT_STA_CONNECTED);
//#elif defined(ESP8266)
//	WiFi.onEvent(onStationConnected, WIFI_EVENT_SOFTAPMODE_STACONNECTED);
//#else
	WiFi.onEvent(onStationConnected, ARDUINO_EVENT_WIFI_AP_STACONNECTED);
//#endif

Serial output shows that it's starting the AP, the AP shows on my android device, and the CloudCutter application can connect to it. However, the app eventually gives an error that the device isn't responding to pings. Is there something I may be doing wrong? Could my changes to the code have caused this error? I wasn't able to get it to compile with any semblance of functionality with any other changes/lack of changes

cloudcutter-android and lightleak are still in early phases, so there are still a lot of rough edges.  Unfortunately, I can't speak to that code change with much authority, I can only state for me with esp32, SYSTEM_EVENT_AP_STACONNECTED defines to integer 16.  If that is the same on arduino, and it probably is, it should be fine.
Additionally, the device running lightleak and the target device should be very close in proximity, as AP mode doesn't have a very strong signal.  I think the next release (unknown timeframe) will have longer timeout, as that appears to be a common occurrence so far.
Thank you for taking the time to try it at least.

Also, I should clarify, a few requirements for lightleak.  1) you must remove the device from smart life and reset to factory defaults when asked.  2) You should be using the "Lightleak -BK7231T (Lightleak)" profile, not any of the versioned ones.

It seems that the issue I'm having with lightleak compiling is related to using v2.0.0 of the ESP32 WiFi library, so that at least seemingly answers why "ARDUINO_EVENT_WIFI_AP_STACONNECTED" works
Still at a bit of a loss on what to do with getting the device firmware

Okay, so turns out the issue I was having with connecting to the Lightleak ap was due to a VPN to my local network, which has the subnet <IP_ADDRESS>/24
It just got to the step "Connect to smart device wifi", going to continue the steps

Thanks for following up with that.  I'll put in a request to use the <IP_ADDRESS>/24 range like regular cloudcutter does.

The furthest I've been able to get is a failure at checking if device is exploitable. Is it possible that means it could be using the BK7231N chip?

Honestly, I can't really answer, that's further than I make it with lightleak so far (but it has worked for others).
I know you mentioned not soldering at this point, but could you open one device and confirm which wifi module this device has?  It usually starts with a "W" or a "C", W is BK7231T, C is BK7231N

Here is an image of the LED boardFrom: Cossid @.>Sent: Saturday, November 19, 2022, 6:04 PMTo: tuya-cloudcutter/tuya-cloudcutter @.>Cc: juniortivotyro @.>; Author @.>Subject: Re: [tuya-cloudcutter/tuya-cloudcutter] TreatLife SL10 Firmware v1.0.2 - SSL Error, unable to flash (Issue #184)
Honestly, I can't really answer, that's further than I make it with lightleak so far (but it has worked for others).
I know you mentioned not soldering at this point, but could you open one device and confirm which wifi module this device has?  It usually starts with a "W" or a "C", W is BK7231T, C is BK7231N
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Okay, that didn't seem to work. Either way, It's a WB8P

No problem, that's enough information to verify this is still a BK7231T device.

Even if I were 100% sure I wanted to solder or use the jig, I don't see a way to remove the boards without destructive methods

The furthest I've been able to get is a failure at checking if device is exploitable. Is it possible that means it could be using the BK7231N chip?

That means it's probably not exploitable, or at least not with the parameters currently available in Lightleak. I currently don't have a solution for that.

Alright, I bit the bullet and dumped the fw, and it seems like it was a success! I will attach it now, though I don't know how to verify if it's correctly dumped
dump.zip

Unfortunately, that is incomplete.  Can you try again using bk7231tools and the following parameters:
-s 0 -c 512
for sizing along with whatever you need for com port and timeout values.

dump.zip
How's this?

Looks good.
Try copying one of the existing SL10 profiles, and replacing the contents of 'profile' with
{
    "chip": "BK7231T",
    "payload": "eyJhdXprZXkiOiJBVVRIS0VZQUFBQUFBQUFBIiwidXVpZCI6IlVVSURBQUFBQUFBQSIsInBza0tleSI6IiIsInByb2RfdGVzdCI6ZmFsc2UsImFwX3NzaWQiOiJBIiwic3NpZCI6IkEiLCJ0b2tlbiI6IkFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQRMqCiJ9",
    "authkey_template": "AUTHKEYAAAAAAAAA",
    "uuid_template": "UUIDAAAAAAAA",
    "datagram_padding": "QUFBQYdaCQCHWgkAh1oJAIdaCQCHWgkAh1oJAIdaCQCHWgkAh1oJAA=="
}

I'm not going to create a PR as we're currently transitioning to a universal format, and it will be included there when we're able to roll it out.

That worked perfectly, thank you!

An update has been pushed that should include a profile for this device.  Please update your repo and give it a try.  Please see the instructions page ( https://github.com/tuya-cloudcutter/tuya-cloudcutter/blob/main/INSTRUCTIONS.md ) for any command or input changes.
If the new profile does not work, please re-open this ticket with details (including logs) of the failure.
Any feedback is appreciated.


System config theme

What's changed?

The drop-down box is implemented, but there is a problem with rendering
i need help
Checklist

[x]  I hereby agree to the terms of the HertzBeat CLA
[ ]  I have read the Contributing Guide
[ ]  I have written the necessary doc or comment.
[ ]  I have added the necessary unit tests and all cases have passed.

Add or update API

[ ] I have added the necessary e2e tests and all cases have passed.

hi, the new commit fix save theme prop has fix prop bing error.
After that, we need to trigger the actual switching of the page color theme after choosing to switch the theme.

We can refer the alain switch theme button code https://github.com/ng-alain/delon/blob/master/packages/theme/theme-btn/theme-btn.component.ts

Okay, I'll try it

I need help.
I have now implemented the theme switching function, but I encountered a problem.
Because our theme switching function requires passing fields, the page will be refreshed every time when switching to save another theme. It is at this time that refreshing the page causes the theme to change back to the original default theme color. I also thought about and referred to some methods, but failed to solve this problem. Now I need some suggestions or some help. Thanks
如图：

hi，主题信息持久化这个我想我们可以通过 localstorage 和 数据库来做，在之前的颜色主题切换中，主题颜色信息是被存储到了web localstorage的一个字段里面了，关于你切换主题后有马上刷新变回来，我感觉就是之前那个字段导致的，需要我们也去变更下那个。
还有就是我们可以在页面渲染的时候，StartupService 服务里面去主动拉取后端保持的主题配置，然后调用切换主题方法。

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿

Hi, I think we can persist theme information through localstorage and database. In the previous color theme switching, the theme color information was stored in a field of web localstorage. Regarding the change that will be refreshed immediately after you switch the theme. Coming back, I feel that it was caused by the previous field, and we need to change that one too.
Also, when the page is rendered, we can actively pull the theme configuration maintained by the backend in the StartupService service, and then call the switching theme method.

Okay, I'll try it


feat(security): Integrate device services with consul tokens

Make file refactored and changes on some security yaml files

Add a shell script to handle the generation of secure version of device-related service docker-compose files dynamically based on the Makefile targets
Refactor Makefile on gen and down to utilize the shell script as the compose files now are dynamic
Remove unnecessary asc-x-secure yaml files as they are also generated on the fly when it is in security mode

Closes: #62
Signed-off-by: Jim Wang<EMAIL_ADDRESS>PR Checklist
Please check if your PR fulfills the following requirements:

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

If your build fails due to your commit message not passing the build checks, please review the guidelines here: https://github.com/edgexfoundry/edgex-examples/blob/master/.github/CONTRIBUTING.md.
What is the current behavior?

Currently, there is no device related service running in security mode with Consul token for docker-compose files.
Issue Number: #62
What is the new behavior?
Added integration with device-related services for running in security mode with Consul token for docker-compose files.
Does this PR introduce a breaking change?

[ ] Yes
[x ] No

New Imports
Are there any new imports or modules? If so, what are they used for and why?
Specific Instructions
Are there any specific instructions or things that should be known prior to reviewing?
Other information

This is way more complex and beyond what I was recommending. Too much duplication of what is in the makefile, require multiple files to be edited when adding a new device service.
I just wanted a script that took the template and generated a extension file for the specified app/device service and returned the filename to be added to the list of compose files.
Example of use for asc-http from makefile:
ifeq (asc-http, $(filter asc-http,$(ARGS)))
	# always add the base
	COMPOSE_FILES:=$(COMPOSE_FILES) -f add-asc-http-export.yml
	ifneq (no-secty, $(filter no-secty,$(ARGS)))
		ifeq ($(TOKEN_LIST),"")
			TOKEN_LIST:=app-http-export
		else
			TOKEN_LIST:=$(TOKEN_LIST),app-http-export
		endif
		# when no security mode (no-secty) not explicitly specified,
		# then we also need to add the secure version on top of base yml by default.
               extension-file:= $(shell gen-extension app-service-http-export app-http-export app-service-configurable)
		COMPOSE_FILES:=$(COMPOSE_FILES) -f ${extension-file}
	endif
endif

In this example it would generate the file gen_staging/add-app-service-http-export-secure.yml

ok, will change it to call the script on each option section; Thanks!


It is not available in react 18

Need to update react-map-gl version
Details

thanks for reporting.


Enforce order between tasks to avoid flakiness

...which was reproducible with the CC executer.
Reviewing cheatsheet
Before merging the PR, comments starting with

❌ ❓must be fixed
🤔 💅 should be fixed
💭 may be fixed
🎉 celebrate happy things

@bot-gradle test ACC

I've triggered the following builds for you. Click here to see all build failures.

AllConfigCacheTestsPullRequestFeedback build

@bot-gradle test ACC

I've triggered the following builds for you. Click here to see all build failures.

AllConfigCacheTestsPullRequestFeedback build


Add drag and drop code

@yoshuawuyts can you take over hooking this into the model code?
fixes #85

What needs to be done to get this merged?

@yoshuawuyts needs to tie this into the choo model code, unless he wants me to figure this out :)

On it!
On Mon, Jan 2, 2017 at 2:39 PM Julian Gruber<EMAIL_ADDRESS>wrote:

@yoshuawuyts https://github.com/yoshuawuyts needs to tie this into the
choo model code, unless he wants me to figure this out :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/datproject/dat-desktop/pull/113#issuecomment-269973649,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACWlejrqXhV0gAit1vnJ5pyoVPMo1dumks5rOP38gaJpZM4LM064
.

okay oops looks like I messed up my merge big time - gotta patch this one up 😅

Looks like its merge able now

created a new model called window
added a new effect to models/repos called add-dir which can be used to add directories
we're hitting a bug in dat-node now whenever we add a file - gonna dig in tomorrow to have this fixed (:

okay just tested this and it works! :D

assuming it's all good - it works sooo (:


Versioning support

bruh only a  brainlet hardcodes signatures in their source code.

 Syntax-wise it's fine but the compiler hates it. I don't know C++ so can somebody with  pls fix or explain why I'm retarded?


Database Extension: input validation for database connection data

Validate Connection input data from frontend and backend. Sanitize database connection information before adding to the DOM.

@tcbuzor Thanks Tony for continuing to work on this!  Much appreciated!


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/101122

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/109344

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/109385

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/110701

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/111303

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/112203

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/113439

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/114078


Improve display of search results

Highlight feature borders (in red) but not their fill.
Don't dim the rest of the map.
Zoom out as necessary to see all found features but never zoom in.

Fixed with commits b2e6752 and 78f86b3.


Fixes up the type errors

I've grabbed most of the type fixes off the okhttp branch and patched them here.

Will rebase and open a new PR addressing feedback.


Please add support for IE9

That's a deal breaker for us that IE9 isn't supported.
I'm aware that Microsoft dropped support, but out in the really real world it's still widely used and will be for some time to come.

IE9 support added and all features verified working.
Incorporated in the latest release

Wohoo! That's awesome! Thanks! =)


JNumber constructor accepts Float.NaN

Float should be handled the same way as Double.

Are you talking about unsafe?

No, the normal one just blithely calls .toString, which then throws an exception on NaN.  This is different behavior than Double, which gives JNull instead.

Ah yes, I see, thanks will look into it


Fix regression in cccid handling when no value is supplied

In v1 of OCIO FileTransforms are able to load .cc files without specifying a cccid.
In v2 this broke causing an exception to be raised instead of using the first cc found in the file.
Fixes #1854
Signed-off-by: Kevin Wheatley<EMAIL_ADDRESS>

I totally missed the fact that I might have been involved with that file from the beginning! I guess technically it would be for my previous employers to make common on it. I haven't had a requirement for migrating any other contributions to other projects, so this would be the first.
I would imagine that we might want to invite Michele @ Cinesite to a TSC or to comment.


Support CEOS PKI certificate delay

On my CEOS containers, I get the following CLI output from PKI generation after #165 (on both commands):
% PKI not ready
I am not sure if this error message/delay is version-dependent or varies depending on the host system specs.  The result code for CLI commands is still err==nil.  This non-error was resulting in the GNMI service failing to start:
localhost#show management api gnmi
Octa: enabled

Transport: default
Enabled: no
Server: not yet running
Error: SSL profile "octa-ssl-profile" not in valid state
SSL profile: none
QoS DSCP: none
Authorization required: no
Notification timestamp: last change time
Listen addresses:

This PR checks for the message and reruns commands until this output is not seen:
...
INFO[0000] Node "dut" resource created
INFO[0000] dut - generating self signed certs
INFO[0000] dut - waiting for pod to be running
INFO[0001] dut - pod running.
INFO[0029] dut - PKI not ready - waiting
INFO[0034] dut - finshed cert generation
INFO[0034] Node "dut": Status RUNNING
INFO[0034] Topology "arista-ceos" created
INFO[0034] Pods:
INFO[0034] dut
...

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

17 of 19 (89.47%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.2%) to 53.733%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

topo/node/ceos/ceos.go
17
19
89.47%

Totals

Change from base Build<PHONE_NUMBER>:
0.2%

Covered Lines:
1907

Relevant Lines:
3549

💛  - Coveralls


Overflow error

When running azure-iot-sdk-python 2.9 i get the following error
i am running Python 3.9 on Windows x64. the code still executes and the messages are sent but this error occurs every time.
IoTHub Device Client Recurring Telemetry Sample
Press Ctrl+C to exit
Traceback (most recent call last):
File "C:\Program Files\Python39\lib\threading.py", line 574, in wait
signaled = self._cond.wait(timeout)
File "C:\Program Files\Python39\lib\threading.py", line 316, in wait
gotit = waiter.acquire(True, timeout)
OverflowError: timeout value is too large
Exception in thread Thread-6:
Traceback (most recent call last):
File "C:\Program Files\Python39\lib\threading.py", line 954, in _bootstrap_inner
self.run()
File "C:\Users\jhanit\cleanbot\venv2\lib\site-packages\azure\iot\device\common\alarm.py", line 31, in run
self.finished.wait(interval)
File "C:\Program Files\Python39\lib\threading.py", line 574, in wait
signaled = self._cond.wait(timeout)
File "C:\Program Files\Python39\lib\threading.py", line 316, in wait
gotit = waiter.acquire(True, timeout)
OverflowError: timeout value is too large

@jhanit-bh I just got the latest on the repo and I am running the async-hub-scenarios\send_message.py and it is not producing any errors.
I am running python38.
can you confirm this is the same sample?
@cartertinney any reason why python39 would be an issue?

@danhellem  its the azure-iot-device/samples/sync-samples/recurring_telemetry.py example that I am running. Python 3.9.5 is the exact version. Also happens in python3.6

@jhanit-bh hmmm, I just tested that out that as well and it seems to be working fine.
@cartertinney any thoughts?

@jhanit-bh do you get the exceptions right away or does it take some time?

the exception is right away.
setting a breakpoint before this line the value is site-packages\azure\iot\device\common\alarm.py the value of interval is 5458506.257889032

@jhanit-bh
Based on what you're saying, it seems that your SAS Tokens last about.... 63 days? Is this correct?

@cartertinney i am using the function IoTHubDeviceClient.create_from_sastoken(sas_token_str,  websockets=True) this function doesn't accept the sastoken_ttl keyword.

@jahnit-bh
I see. What is the TTL on the SAS Token you are passing in? Is it 63 days?

@cartertinney yes the token is valid for 63 days. expiry is set to 01.02.2022 00:27:45 GMT+01:00. the tokens were generated by a customer which has the iot hub instance setup.

@jhanit-bh
It seems we don't properly support token TTLs of this length, whether customer provided or generated by the client itself from a connection string.
I'm going to investigate further and see if we can fix this.

@jhanit-bh
Would the customer be okay with the tokens being refreshed more than every 63 days? Their tokens are valid for 63 days, but is it okay for the client to replace one every 49 days?

@cartertinney In our case the device won't be online all the time but 49 days would also work.

This issue is tracked in #912

@jhanit-bh
This fix for this issue in #912 has been merged to main branch and will be included in our next release


why some AD admin can't provision cloud trust to themselves

submitted pull request to update "Denied RODC password Replication Group" in the example, who can't provision cloud trust if they were member of. please check below as it shows no assigned reviewer
https://github.com/MicrosoftDocs/windows-docs-pr/pull/8287/commits

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

ID: 7739850a-a445-faf1-eec8-8aecb6de8b95
Version Independent ID: 7739850a-a445-faf1-eec8-8aecb6de8b95
Content: Windows Hello for Business cloud Kerberos trust deployment
Content Source: windows/security/identity-protection/hello-for-business/hello-hybrid-cloud-kerberos-trust.md
Product: windows-client
Technology: itpro-security
GitHub Login: @paolomatarazzo
Microsoft Alias: paoloma

Thanks @NagaCSC for the contribution, I just assigned the PR to Paolo for review, so no need to track separately with an issue, closing as a duplicate.


Problem with spotify

Hello, when i go to https://open.spotify.com/ , dont play load music. But last days is working. My code is:
const browser = await launch({
    executablePath: 'C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe',
    ignoreDefaultArgs: ['--mute-audio'],
    args: ['--autoplay-policy=no-user-gesture-required']
  })
 const page = await browser.newPage();
 await page.goto('https://open.spotify.com/');

works for me
https://user-images.githubusercontent.com/34555296/206909316-80d58bfd-af57-4748-8c8e-ca1e041dac78.mp4


improvement release load channel actively when error occurs

Proposed changes
Issue Number: close #xxx
Problem summary
Describe your changes.
Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[ ] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[ ] No
[ ] No Need

Has document been added or modified:

[ ] Yes
[ ] No
[ ] No Need

Does it need to update dependencies:

[ ] Yes
[ ] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[ ] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 35.31 seconds
load time: 455 seconds
storage size:<PHONE_NUMBER>5 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20221112094209_clickbench_pr_44806.html


Uncaught DOMException: Failed to execute 'postMessage' on 'Window'

Hello!
I would love to be able to use this extension but I get this error:

Thank you!

@silviubogan Thanks!
The exceptions shows the unavailability to post message from yours site window context to the extension window context, as some object values can't be messaged to the extension, such as functions.
The v1.1 extension assumed to work only on plain objects, thus implying more accurate manual selections of objects and type of their properties for comparison.
Probably there is a better way to handle message passing. So in v2.0 you should be able to compare objects having functions and objects containing reoccurring references. Please try a new version when it comes out (already submitted for chrome web-store review) or try to load it unpacked from v2.0 branch before that.


Wrong source code for Releases Artifacts v1.1.0 on Helm folder

Release 1.1.0 has source code for 1.0.0 in Helm folder
https://github.com/oracle/oci-native-ingress-controller/releases/tag/v1.1.0

Hey @tonybolzan
Thank you for your valuable feedback. You can use the latest value v1.1.0 in values.yaml during deployment.
Will add a task to update this folder.

Fixed as part of release V1.2.0.


Training time

I use the same GPU: 31080Ti on server. But the training process doesn't finish in 12h.
With num_train_samples: 25000,max_epoch: 1000,batchsize: 5,  total_step_num is about 1666666( 25000 1000 // (5 * 3)).During 12h,only about 300000 step finish. @edvardHua

@MoonBunnyZZZ
Oh, i mean the model is almost converge after 12h according to the loss value. I will correct it in README.md.
Well, the plot on README.md show 250,000 step finish after 12h. Therefore, i think 300,000 step finish is normal.


Refactor phenotype probability generation

In this pr, the probabilities are generated from the logistic regression model trained on cell morphology areashape features. The code was refactored to improve space complexity, by storing each plate's predicted probabilities to disk. Please let me know if you have any questions or suggestions.

Thanks Mike, merging now!


upgrade golang to 1.23

What type of PR is this?

/kind enhancement
What this PR does / why we need it:
This PR resolves https://github.com/kmesh-net/kmesh/issues/795 by upgrading the version of go to 1.23.2.
Which issue(s) this PR fixes:
Fixes https://github.com/kmesh-net/kmesh/issues/795
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

Upgrade go to 1.23.2

lgtm
can you change yhe other github actions gp-version as well

@hzxuzhonghu - done! not sure how I missed those :)


file to open as cli argument

Hello, I would like to use TEXTREME as my default git text editor, but that needs TEXTREME to accept file as a argument when running TEXTREME in terminal.
Cheers

... And blocking mode would also go nicely with that. It can be hacked-around by wrapping it with user input, but than you'd have to press enter in CLI after closing and saving.

@kubijo what do you mean by blocking mode?

When you open the editor from command line, it won't "release" stdin until you close it.
If the program execution jumps to a different process and closes the original "open" routine, git reads the tmp file that it sent to your program, sees no content (or just unchanged one in case of merge/rebase) and aborts the commit (or continues without your changes respectively)


Mingw gpg and mk temp

address issues #125 and #126
explains how to get blackbox working on windows using Git for Windows MinGW (Git Bash) by providing the necessary gnu tools including, but not limited to, gpg-agent and mktemp.

LGTM
Thanks, @billrawlinson !  That's awesome!

no problem; glad to help.  thanks for the cool tool.