Tabs node's right_button_pressed signal doesn't fire

Godot version
3.4.2-stable, 3.4.4-stable, 3.5-stable
System information
Ubuntu 22.04
Issue description
I'm posting this there since I'm assuming this isn't intended behaviour for the 3.x branch, and it appears this hasn't been reported as an issue yet. I'm aware this is probably fixed by #58687 in 4.0. The only other reference I've found is an old Q&A post where OP states the signal is there for internal reasons.
The issue at hand: After connecting a method to the  Tabs node's right_button_pressed signal, the method bound to the signal is not triggered when right-clicking on a tab, which would be necessary to intercept right mouse button clicks to individual tabs. I've noticed this while trying to figure out how to add a GUI feature to an open-source application.
A partial workaround could be using gui_input() instead (though without easily accessible info on tabs). Variously querying Input for mouse button presses or releases within a method connected to the tab_clicked does not yield any positive results.
Steps to reproduce

Create a Tabs node in a new scene with a rect_min_size large enough to display at least two tabs.
Add a minimum of two tabs to the node by calling add_tab("..") twice in _ready.
Connect the right_button_pressed signal to a method.
Run the scene and right-click on tabs. Nothing happens.

extends Tabs

func _ready() -> void:
	self.connect("right_button_pressed", self, "_on_Tabs_right_button_pressed")
	self.add_tab("foo")
	self.add_tab("bar")

func _on_Tabs_right_button_pressed(tab: int) -> void:
	# This callback is never actually called.
	print("RIGHT BUTTON PRESSED")

Minimal reproduction project
Tabs_RMBSignal_Reproduction.zip

"right button" does not mean right-click but "button on the right side of the text" which is only used in godot editor gui and not accessible from gdscript. This feature is used as ThemeEditor's close button for example:

In my opinion, the behavior mentioned in the documentation would be more natural:

Signals

right_button_pressed ( int tab )
Emitted when a tab is right-clicked.

I see now where the Q&A's OP got the impression that the signal is only used internally in the engine. In other words, this issue is based on a misunderstanding.
I suppose, then, there is no ready-to-use solution to check for right mouse-button clicks on a tab.

right-click detection example (might not work if tabs are scaled or rotated):
extends Tabs

signal tab_right_clicked(tab)

func _input(event:InputEvent):
	if event is InputEventMouseButton:
		var mb:=event as InputEventMouseButton
		if !mb.pressed or mb.button_index!=BUTTON_RIGHT:
			return
		var w:=0.0
		var w_limit:=get_rect().size.x
		for i in get_tab_count():
			if i<get_tab_offset():
				continue
			w+=get_tab_rect(i).size.x
			if w_limit<w:
				return
			if get_tab_rect(i).has_point(mb.position):
				emit_signal("tab_right_clicked",i)
				return

Thank you, @heppocogne! I've tried your solution and it works!
I suppose this issue can be closed due to it not actually being a bug but more of a documentation mix-up. Whether this warrants a change in the docs is a different question.

Fixed by #64707.


Unusual jump mechanics sometimes occur in safe space

I've spent the past hour trying to reproduce it (without success), but sometimes when you enter a safe space and you try to jump around in it, you will be thrown any which way the game likes (more often than not, towards the door and not towards where you want to jump).
I had it going once, but after I noclipped inside the safe space, I was unable to reproduce it again. I have has infrequent success reproducing this with 2 players while one manipulates the exterior door using drive.
Of note, the server where i have been noticing this issue is a spacebuild server, so the safe space interior along with any other interior will have no oxygen or gravity until given gravity plating.

I've seen this one myself actually. I can only assume it's a bug in the collision generation


want to know the format of model_data.bin in android-ndk/nn_sample/app/src/main/assets

Hi,
I am studying the nn_sample project.
I need to know the format of model_data.bin in android-ndk/nn_sample/app/src/main/assets.
Is there any tool to produce the model_data.bin?
Or how could we do to produce the file model_data.bin after we do the training by tensorflow/tensorflow lite?
Could you please help me?
Thank you very much!

The bin file is not a model: just 1 binary file of the values of 0.5f ( totally 200 x 2 = 400):
this is to emulate the weights in the normal model ( but the file is not the model )
referring to the readme file,  basically it does (tensor1 + 0.5 ) ( tensor3 + .5), those .5 values are loaded from the bin file.
tensor depth is 200 (TENSOR_SIZE), tensor0 uses the first 200 0.5f values, tensor2 consumes the second part of the file ( 200 of .5f values ).
The file is binary format, you could open it with hexedit to have a look. you could use whatever ways to generate a binary file of 400 .5f values. All of this are inside source code.
Probably you already know that NNAPI, at this level, has no interface to deal a pre-trained model and load it directly: that needs to be done by your application:

App creates its own representation of its model ( train, save, re-train etc )
App TRANSLATEs its own model into NNAPI's model and create's NNAPI's model in memory at run-time
If there is any training happening, App will save to its own model format, re-creates NNAPI's model at run time
The model format ( in file on the disk or network ) is not in NNAPI interface's scope.

your app will build another layer to translate your-own model representation on disk, into NNAPI's models. TFlite does that so your app does not have to re-create the functionality.


CAMEL-15610 - avoid NPE in CamelXmlTreeParserHelper.parseCamelRouteTree

when routes are empty
Signed-off-by: Aurélien Pupier<EMAIL_ADDRESS>
[x] Make sure there is a JIRA issue filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
[x] Each commit in the pull request should have a meaningful subject line and body.
[x] If you're unsure, you can format the pull request title like [CAMEL-XXX] Fixes bug in camel-file component, where you replace CAMEL-XXX with the appropriate JIRA issue.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Run mvn clean install -Psourcecheck in your module with source check enabled to make sure basic checks pass and there are no checkstyle violations. A more thorough check will be performed on your pull request automatically.
Below are the contribution guidelines:
https://github.com/apache/camel/blob/master/CONTRIBUTING.md

Run mvn clean install -Psourcecheck in your module with source check enabled to make sure basic checks pass and there are no checkstyle violations.

I have this error which seems unrelated to the PR when I launch the command:


fix workflow condition

I discovered due to a typo we never ran clang-format and clang-tidy checks

https://github.com/ZedThree/clang-tidy-review looks cool

IDK if this works. How do i test it?

I think it's failed

current the post workflow couldn't be run due to GitHub limitations

IDK if this works. How do i test it?

i think you just need to see the action results

i think you just need to see the action results

U mean this? ```shLine filter for clang-tidy:
[{"name":"src/App.cpp","lines":[[42,42],[53,54]]},{"name":"test/Interactive/Audio.cpp","lines":[[9,9],[56,61]]},{"name":"test/TransformTest.cpp","lines":[[12,12]]}]
Using config: --checks=-,performance-,readability-,bugprone-,clang-analyzer-,cppcoreguidelines-,mpi-,misc-
Running:
clang-tidy failed with return code 1 and error:
57943 warnings and 2 errors generated.
Error while processing /github/workspace/include/Util/Input.hpp.
79809 warnings and 3 errors generated.
Error while processing /github/workspace/include/pch.hpp.
144040 warnings and 5 errors generated.
Error while processing /github/workspace/src/App.cpp.
208271 warnings and 7 errors generated.
Error while processing /github/workspace/src/App.cpp.
272502 warnings and 9 errors generated.
Error while processing /github/workspace/src/App.cpp.
347592 warnings and 11 errors generated.
Error while processing /github/workspace/test/Interactive/Audio.cpp.
393487 warnings and 11 errors generated.
Error while processing /github/workspace/test/TransformTest.cpp.
Suppressed 393558 warnings (393431 in non-user code, 56 due to line filter, 71 NOLINT).
Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
Found compiler error(s).

i mean it wasn't running at all before so probably yes


[KYUUBI #2375][SUB-TASK][KPIP-4] Implement BatchesResource GET /batches

Why are the changes needed?

How was this patch tested?

[x] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[x] Run test locally before make a pull request

Codecov Report

Merging #2562 (a9b358a) into master (9e263d7) will increase coverage by 0.03%.
The diff coverage is 88.23%.

:exclamation: Current head a9b358a differs from pull request most recent head 62f41e0. Consider uploading reports for the commit 62f41e0 to get more accurate results

@@             Coverage Diff              @@
##             master    #2562      +/-   ##
============================================
+ Coverage     63.85%   63.88%   +0.03%
  Complexity       73       73
============================================
  Files           376      376
  Lines         17938    17955      +17
  Branches       2403     2406       +3
============================================
+ Hits          11454    11471      +17
+ Misses         5412     5411       -1
- Partials       1072     1073       +1

Impacted Files
Coverage Δ

...in/scala/org/apache/kyuubi/server/api/v1/dto.scala
73.17% <75.00%> (+0.09%)
:arrow_up:

...g/apache/kyuubi/session/KyuubiSessionManager.scala
86.58% <87.50%> (+0.09%)
:arrow_up:

.../apache/kyuubi/server/api/v1/BatchesResource.scala
97.14% <100.00%> (+0.47%)
:arrow_up:

...rg/apache/kyuubi/engine/trino/TrinoStatement.scala
68.96% <0.00%> (-2.30%)
:arrow_down:

.../engine/spark/session/SparkSQLSessionManager.scala
79.76% <0.00%> (-1.20%)
:arrow_down:

...in/scala/org/apache/kyuubi/config/KyuubiConf.scala
96.51% <0.00%> (-0.12%)
:arrow_down:

...ain/scala/org/apache/kyuubi/engine/EngineRef.scala
78.09% <0.00%> (+0.95%)
:arrow_up:

...ache/kyuubi/operation/KyuubiOperationManager.scala
85.24% <0.00%> (+1.63%)
:arrow_up:

...rg/apache/kyuubi/engine/trino/TrinoSqlEngine.scala
59.64% <0.00%> (+7.01%)
:arrow_up:

Continue to review full report at Codecov.

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

thanks, merged to master


Test PR to troubleshoot the CI, please ignore

Codecov Report

Merging #1385 (7f0ddf7) into main (eeef8aa) will increase coverage by 0.06%.
The diff coverage is n/a.

:exclamation: Current head 7f0ddf7 differs from pull request most recent head fd1775b. Consider uploading reports for the commit fd1775b to get more accurate results

@@            Coverage Diff             @@
##             main    #1385      +/-   ##
==========================================
+ Coverage   50.56%   50.62%   +0.06%
==========================================
  Files          44       44
  Lines        4952     4952
==========================================
+ Hits         2504     2507       +3
+ Misses       2302     2300       -2
+ Partials      146      145       -1

see 1 file with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


RoadLink is empty

In my using case, i want to use link information, but it's all empty, but i checked xodr file, there is link node and has value for each key.Then i try to print it's value, but i got empty. After i check other node,  you using attribute function to extract it's value, then it appeared.

You are right. Those should be attributes, not children.

You are right. Those should be attributes, not children.


Directory watcher closed unexpectedly

Analyzer Feedback from IntelliJ
Version information

IDEA AI-191.8<IP_ADDRESS>00203
2.7.0-edge.e1fce75301558bf756b0b8647fb8beec46583c0f
AI-191.8<IP_ADDRESS>00203, JRE 1.8.0_202-release-1483-b03x64 JetBrains s.r.o, OS Windows 10(amd64) v10.0 , screens 1920x1080, 1280x1024

Exception
Dart analysis server, SDK version 2.7.0-edge.e1fce75301558bf756b0b8647fb8beec46583c0f, server version 1.27.4, FATAL error: Failed to handle request: {id: 4, method: analysis.setAnalysisRoots, params: {included: [C:\Projects\banana\banana], excluded: [C:\Projects\banana\banana\.idea, C:\Projects\banana\banana\.dart_tool, C:\Projects\banana\banana\.idea, C:\Projects\banana\banana\.pub, C:\Projects\banana\banana\build]}, clientRequestTime:<PHONE_NUMBER>931}
FileSystemException: Directory watcher closed unexpectedly, path = 'C:\Projects\banana\banana'
#0      _FileSystemWatcher._listenOnSocket.<anonymous closure> (dart:io-patch/file_patch.dart:309:11)
#1      _ExpandStream._handleData (dart:async/stream_pipe.dart:248:23)
#2      _ForwardingStreamSubscription._handleData (dart:async/stream_pipe.dart:164:13)
#3      _rootRunUnary (dart:async/zone.dart:1136:13)
#4      _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#5      _CustomZone.runUnaryGuarded (dart:async/zone.dart:931:7)
#6      _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11)
#7      _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7)
#8      _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:764:19)
#9      _StreamController._add (dart:async/stream_controller.dart:640:7)
#10     _StreamController.add (dart:async/stream_controller.dart:586:5)
#11     new _RawSocket.<anonymous closure> (dart:io-patch/socket_patch.dart:1384:35)
#12     _NativeSocket.issueReadEvent.issue (dart:io-patch/socket_patch.dart:890:18)
#13     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#14     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#15     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:116:13)
#16     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:173:5)

Sorry for having those two small screens... don't blame me.

Thanks for reporting this issue! This was previously reported at https://github.com/dart-lang/sdk/issues/38853; please follow along there.

Duplicate of https://github.com/dart-lang/sdk/issues/38853


I think the label should have 100% width allways

Consider following case

Create RadioButtonGroup, vertical orientation
I want to add Renderer to RadioButtonGroup using ComponentRenderer
I set RadioButtonGroup to be 100% width
I place a component say TextField in the Renderer
I set TextField to be 100% width

Furthermore I do
radiobutton.css
[part="label"]  {
width: 100%;
}
@CssImport(value = "./styles/radiobutton.css", themeFor = "vaadin-radio-button")
I would expect TextField now fill the rest of the space occupied by RadioButtonGroup, but that is not happening as label is limiting the size.
@Route("radiobutton")
@CssImport(value = "./styles/radiobutton.css", themeFor = "vaadin-radio-button")
public class RadioButtonView extends FormLayout {
MyGroup radioButtonGroup;

public RadioButtonView() {
    setSizeFull();
    radioButtonGroup = new MyGroup();
    radioButtonGroup.setWidth("100%");
    radioButtonGroup.addThemeVariants(RadioGroupVariant.LUMO_VERTICAL);
    radioButtonGroup.setRenderer(new ComponentRenderer<>(string -> {
        TextField field = new TextField();
        field.setWidthFull();
        field.setLabel(string);
        return field;
    }));
    radioButtonGroup.setItems("A", "B");
    add(this.radioButtonGroup);
    setResponsiveSteps(new ResponsiveStep("0", 1));
}

public class MyGroup extends RadioButtonGroup<String> implements HasSize {

}

}

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Workaround
radiobutton.css
[part="label"]  {
    width: 100%;
}

label {
    width {
}

and
@CssImport(value = "./styles/radiobutton.css", themeFor = "vaadin-radio-button")

Workaround
radiobutton.css
[part="label"]  {
    width: 100%;
}

label {
    width {
}

and
@CssImport(value = "./styles/radiobutton.css", themeFor = "vaadin-radio-button")

Needs a test

Closing this PR since the sources have been moved to https://github.com/vaadin/web-components.
I will open a new issue there so a new PR can be opened and related to the new issue for the monorepo.


fix incorrect link to "tron_grid.png" file in part 2 project config

Hello, thanks for this tutorial - it helps with learning ARKit so much!
This PR fixes the issue where project tried to get "tron_grid.png" file from your Desktop folder instead of repo directory and part 2 refused to build because of it

Thanks!


feat(#154): offline mode

Closes: #154 and #128
Based on the work done with Yohan
I have a working setup for offline using Room.

@AthenaPK Yes as discuss, it will be a great idea. But as you mentioned, the lack of time and coordination with you to keep the code coverage as high as possible makes this implementation quite difficult. I've tried to make it as unobtrusive as possible to the detriment of certain features, to make Adrien's and your work as easy as possible.


Terminal stuck and Python extension not working

Issue Type: Bug
I am using a ubuntu 18.04 on WSL1, and use remote WSL extension to edit and run Python files on it. I opened a Python file and an IPython in the terminal and write and test codes. Some time after (very short), I found the autoformatter was not working and when I try to access the IPython that I opened, it stucked. This happens for several times, and I changed from ubuntu 20.04 to ubuntu 18.04 trying to fix it. But I guess it's actually a problem with VSCode now.
VS Code version: Code 1.47.1 (485c41f9460bdb830c4da12c102daff275415b53, 2020-07-13T22:42:53.386Z)
OS version: Windows_NT x64 10.0.18363
Remote OS version: Linux x64 4.4.0-18362-Microsoft

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz (8 x 1800)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: enabledrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
7.82GB (1.36GB free)

Process Argv

Screen Reader
no

VM
0%

Item
Value

Remote
WSL: Ubuntu-18.04

OS
Linux x64 4.4.0-18362-Microsoft

CPUs
Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz (8 x 1801)

Memory (System)
7.82GB (1.36GB free)

VM
0%

Extensions (6)

Extension
Author (truncated)
Version

remote-ssh
ms-
0.51.0

remote-ssh-edit
ms-
0.51.0

remote-wsl
ms-
0.44.4

vscode-markdownlint
Dav
0.36.1

gitlens
eam
10.2.2

python
ms-
2020.6.91350

and when I try to access the IPython that I opened, it stucked

Can you explain more about what happens here? The formatter issue is probably an issue with the Python extension, I need to understand more.

Hi @roblourens! I am sorry but I can't trace this to any specific operation. Just sometime after my normal workflow (edit .py files, save, auto-formatting, test something in IPython), I will suddenly find the auto-formatting is no longer working (I always use Shift+Alt+F to call them. Are there any similar shortcuts that stuck everything?), and the IPython stuck.
A detail I can add is that when I press the Python extension in the status bar, there will be a hint in the status bar saying "Activating Python Extension...", but it does nothing. I just closed the VSCode and reopen it and everything went back to normal. I think the Python Extension must have stopped working, but I don't know what can be the cause.
And I can also tell you a test that now I replicate my entire Python environment in a ubuntu 20.04 machine and used Remote SSH extension (So I am still using the same VScode on the local machine) to edit the same codes on that machine. And everything is working fine. The following are the details of that machine.

Remote
SSH: BLACKLOTUS

OS
Linux x64 5.4.0-37-generic

CPUs
Intel(R) Core(TM) i3-3227U CPU @ 1.90GHz (4 x 976)

Memory (System)
7.65GB (0.26GB free)

VM
0%

Hope these details can help you to locate the problem.

Please file this issue on the vscode-python extension's repo: https://github.com/microsoft/vscode-python/issues


[naming-convention] Update property schema to accept objects. Add prefix and suffix option

To make this rule more flexible, it needs to be able to take an object as well as format style string. For example, we might want to check whether a field has a certain suffix. More details: https://github.com/dotansimha/graphql-eslint/issues/195
The config is normalized into an object before passing into the validation function.
Note that we can no longer rely on the default enum check because it also tries to validate that an object is part of the enum. Therefore, the validation function needs to check the format enums now.
Also, added a suffix option. The targeted property must have the correct suffix or it will error.
TODO

[x] Update docs ?

Thanks @eddeee888 ! Sorry for the late reply. I will look into that and review in a few days :)

Hi @dotansimha, thank you for your feedback! I have made some changes as suggested. Please let me know if you still see problems!
The only thing I'm not 100% sure about is the doc generation. I have run yarn generate:doc it but it looks like it's not handling the object case very well. Am I supposed to fill in the missing space?

Hi @dotansimha, thank you for your feedback! I have made some changes as suggested. Please let me know if you still see problems!
The only thing I'm not 100% sure about is the doc generation. I have run yarn generate:doc it but it looks like it's not handling the object case very well. Am I supposed to fill in the missing space?

Thank you so much!
It should be generated correctly, so maybe it's just something with the generation script. Can you please point me to the missing/incorrect generate doc? I will try to fix that.

Looking at the generated doc file, there are only headers with no expected values / comment in between:
https://github.com/dotansimha/graphql-eslint/blob/1764bca129cef8ac62ab38f9348757b601f5a822/docs/rules/naming-convention.md
Maybe it's how the doc generator works but maybe something like this communicates the config values a bit better :)
#### `InputValueDefinition` (string,object)
- style: string, enum
  - `option1`
  - `option2`
- prefix: string
- suffix: string

Oh it should follow JSON schema structure, and I think declaring type: ['string', 'object'], along with properties isn't valid in this case. Also, there is a bug in the json-schema-to-markdown we are using (see https://github.com/saibotsivad/json-schema-to-markdown/issues/15).
It seems like using definitions should fix that, but then it doesn't support enum correctly. I think eventually we'll have to switch to a different library, but I couldn't find one that is stable/maintained/output single-file.
I applied a workaround and it seems good enough for now. Thank you @eddeee888 !


refactor(plugins/tidy-html): remove unused var assignment

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.0007%) to 99.487%

Totals

Change from base Build<PHONE_NUMBER>:
-0.0007%

Covered Lines:
561

Relevant Lines:
561

💛  - Coveralls


PivotUI() showing error on the same data where pivot() is OK

Please see demo: https://jsfiddle.net/phantomydn/an2ayxbh/

Your input is malformed, and so the behaviour is undefined: every object in the array must have the same keys...

Yes. That's right. But it's pretty common for rest json just skip field.
So we at Orienteer will be happy if either this input can be valid or library will allow to specify explicit set of fields. And, btw, if it will allow to specify more human readable(localized for example) names for fields from json - that will be perfect!
Thanks for such brilliant library!

Thanks for the feedback!

Welcome! So: are you saying that it's ok that pivot() renders a data, but pivotUI() doesn't for the same data? If data is wrong, pivot() should fail as well. From my perspective there is some issue about that just in pivotUI() code.
According to source code
it should be easy to fix. I'm not expert of Coffee, but, please, take a look:
tblCols = (k for own k of input[0])
tblCols.push c for own c of opts.derivedAttributes when (c not in tblCols)

#figure out the cardinality and some stats
axisValues = {}
axisValues[x] = {} for x in tblCols

PivotData.forEachRecord input, opts.derivedAttributes, (record) ->
for own k, v of record when opts.filter(record)
        v ?= "null"
        axisValues[k][v] ?= 0  # LINE A
        axisValues[k][v]++

Error is happining at line A, because axisValues doesn't have value for key "k".
Probably something like the following should be added just before LINE A
(sorry for javascript!)
if(!axisValues[k]) {
   tblCols.push(k);
   axisValues[k] = {};
}

For the input given, are you expecting the c attribute to be included in the output, such that we treat the input as having the union of the attribute of all record? Or are you expecting that the attributes be only the ones present in the first record?

I would expect that 'c' will be added into output.
Original problem is that REST/JSON databases can omit some data if it's null. For example that's the case for OrientDB. So first row might have not all required columns.
And there I see 2 options:

Library will adjust automatically set of columns during going through data and finding new columns (preferred option)
Or library can allow to specify set of columns which should be used (good option, but it will be nice to have it in addition to p.1)

The current state of things is that point 2 can be emulated by ensuring that the first row has entries for all desired columns or by using the function input method instead of passing in an array of heterogeneous objects. I'll think about the changes required for point 1.

Thanks! The point is that sometimes there is no way to influence to a way how data returned by some DB. So to insure that first column has everything might be problematic.

I have a PR open #600 which I believe addresses this issue... Could you take a look and let me know if it meets your needs?

@nicolaskruchten , PR looks good for me!:) Thank you!

OK, merged and released, I'm closing out this issue :)


Add license files

Very minor issue, but I was trying to set up an arch linux package for this program for personal uses, and I noticed there's no license files in this repository, even though Cargo.toml marks this project as being MIT or Apache 2.0. Adding license files should both make this program's license more obvious, and also allow me to set the arch package's license field correctly.

Done.


Sub recipe visualization

Codecov Report
Attention: Patch coverage is 46.03175% with 34 lines in your changes are missing coverage. Please review.

Project coverage is 79.74%. Comparing base (31a7b27) to head (c3d263e).

Files
Patch %
Lines

...main/scala/com/ing/baker/il/RecipeVisualizer.scala
15.78%
32 Missing :warning:

...c/main/scala/com/ing/baker/il/CompiledRecipe.scala
0.00%
2 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1665      +/-   ##
==========================================
- Coverage   80.35%   79.74%   -0.62%
==========================================
  Files         143      143
  Lines        4790     4843      +53
  Branches      168      170       +2
==========================================
+ Hits         3849     3862      +13
- Misses        941      981      +40

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


#108 - Fix Regex

Fix Regex for the version extraction when IP are in the provided url

This is no longer valid since the version is determined with the splunk_package_version variable here


Make CustomJSONEncoder a documented public API

It's used by datasette-geojson here: https://github.com/eyeseast/datasette-geojson/commit/902bf135a5a33a0dc8264673d00a59a67cb05152

https://github.com/simonw/datasette/blob/7b48664d751e59222c01c97a2739d53d6363bdda/datasette/utils/__init__.py#L163-L178

Yes please, and thank you. I realized I was maybe getting myself in trouble using that, but I think it's a good way to standardize JSON handling.


Freeze on Gamestart ( at logos)

Game crahses at start, sometimes it dont crash at start and  i can play, finish a race but if the loading screen appers it freeze up again.
The gamefile are ok ( i can play with ethe same gamefiles on my intel nuc flawlessly ) but its not my main System here are the Specs of my main System
i7 13th gen
RTX 4060Ti 16gb
32GB Ram
Windows 10 64bit

Do you know which ver of tweaks you used? Might be able to find the version from the zip you downloaded
Maybe try the latest at https://github.com/emoose/OutRun2006Tweaks/actions/runs/9921117465, it fixed some other hanging issues which might help

I have this issue and can confirm it occurred even before OutRun2006Tweaks. It occurs to me if I run the original or any tweaked version of the exe. So issue is likely more with the game itself.
My machine is:
i5 12600k
RTX 3080ti
16GB Ram
Windows 10 64-bit
So a few commonalities with OP build, (Intel, Nvidia, etc).

Do you know which ver of tweaks you used? Might be able to find the version from the filename of the zip you downloaded
Maybe try the latest at https://github.com/emoose/OutRun2006Tweaks/actions/runs/9921117465, it fixed some other hanging issues which might help

Hi there. Yes I  tried the latest releases and it’s the same ( and it’s right that it happens even without the tweaks). So maybe a multicore or NVIDIA gpu Problem ? I hope someone find a fix for that

Do you know which ver of tweaks you used? Might be able to find the version from the filename of the zip you downloaded
Maybe try the latest at https://github.com/emoose/OutRun2006Tweaks/actions/runs/9921117465, it fixed some other hanging issues which might help

Hi there. Yes I tried the latest releases and it’s the same ( and it’s right that it happens even without the tweaks). So maybe a multicore or NVIDIA gpu Problem ? I hope someone find a fix for that

Issue definitely relates to cores. Or number of cores. I have the exact issue and this is how to temporarily solve.
Keep starting the game until it gets to main menu (may take multiple attempts, sometimes 5-10 attempts). When in main menu, alt-tab out, open task manager, look for OR2006 exe in the details tab. Right click and set affinity. Untick all cores but 1 (leave CPU 0 ticked if unsure).
You'll find the game will no longer crash after races. I tried this and confirmed. I played 10 races without crashing.
So at least its playable now, just need to attempt start multiple times to get past logos.
I tried setting affinity with a shortcut or Process Lasso but neither seemed to catch the issue in time, so manually setting affinity once in main menu was the best success I had.
If you have a slower CPU, setting to 1 core may reduce performance, but it was fine on my i5-12600k and I think OP had a good CPU too.

Do you know which ver of tweaks you used? Might be able to find the version from the filename of the zip you downloaded
Maybe try the latest at https://github.com/emoose/OutRun2006Tweaks/actions/runs/9921117465, it fixed some other hanging issues which might help

Hi there. Yes I tried the latest releases and it’s the same ( and it’s right that it happens even without the tweaks). So maybe a multicore or NVIDIA gpu Problem ? I hope someone find a fix for that

Issue definitely relates to cores. Or number of cores. I have the exact issue and this is how to temporarily solve.
Keep starting the game until it gets to main menu (may take multiple attempts, sometimes 5-10 attempts). When in main menu, alt-tab out, open task manager, look for OR2006 exe in the details tab. Right click and set affinity. Untick all cores but 1 (leave CPU 0 ticked if unsure).
You'll find the game will no longer crash after races. I tried this and confirmed. I played 10 races without crashing.
So at least its playable now, just need to attempt start multiple times to get past logos.
I tried setting affinity with a shortcut or Process Lasso but neither seemed to catch the issue in time, so manually setting affinity once in main menu was the best success I had.
If you have a slower CPU, setting to 1 core may reduce performance, but it was fine on my i5-12600k and I think OP had a good CPU too.

thanky for that it worked out for me.

Hm, will look into adding something to force it to 1 core in next release, it's odd though since game only really uses 3 threads for things, on my 12900 (16c/24t) I've only really had load screen freeze maybe 2 times out of 1000+ loads, not sure why it seems worse on other systems.

@emoose - I wonder if it relates to the efficiency cores. Both @GameGear84  and myself have CPUs with E-cores. Maybe if 1 of the threads ends up on an E-core. it gets out of time with the others.

Just added SingleCoreAffinity setting that should force it to single core, could you try the artifact build at https://github.com/emoose/OutRun2006Tweaks/actions/runs/9983476291 and see if it's any better? Should be up there in a few mins
Make sure to enable SingleCoreAffinity in the INI though since it's not enabled by default

Just added SingleCoreAffinity setting that should force it to single core, could you try the artifact build at https://github.com/emoose/OutRun2006Tweaks/actions/runs/9983476291 and see if it's any better? Should be up there in a few mins
Make sure to enable SingleCoreAffinity in the INI though since it's not enabled by default

hi emmose, thank you very much , i tested it a bit , it seems to be working so far :-)


Fix failing uint4 test

torch nightly CI is failing with the following error
  test/dtypes/test_uint4.py:12: in <module>
      from torch._export import dynamic_dim
  E   ImportError: cannot import name 'dynamic_dim' from 'torch._export' (/opt/conda/envs/venv/lib/python3.9/site-packages/torch/_export/__init__.py)

Turns out dynamic_dim is not used by the test, hence can be removed. I also remove other unused imports.
New error is due to this: https://github.com/pytorch/pytorch/pull/129940. _convert_weight_to_int4pack inputs should be uint8 now. @jerryzh168 do you want to handle it instead? I'm not too familiar with that part of the code, afraid to break things. Might need to update the custom unpack kernel by @jeromeku also.

yeah I'll take a look at the failures

Will be fixed by #504


Brew install fbsimctl --HEAD failed on high sierra 10.13.6 with xcode 10 release version.

Followed the install steps and still got error:
the log below doesn't seem to show where the error happened:  unless I went into /User/me/Library/Logs/Homebrew/fbsimctl
==> Installing fbsimctl from facebook/fb
==> Cloning https://github.com/facebook/FBSimulatorControl.git
Updating /Users/dchin/Library/Caches/Homebrew/fbsimctl--git
==> Checking out branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
HEAD is now at 37cfbd0 Fix FBDeviceLogCommands
==> ./build.sh fbsimctl build /usr/local/Cellar/fbsimctl/HEAD-37cfbd0
Last 15 lines from /Users/dchin/Library/Logs/Homebrew/fbsimctl/01.build.sh:
cd /tmp/fbsimctl-20180924-22757-17ldetz
export LANG=en_US.US-ASCII
clang -x objective-c -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -gmodules -fmodules-cache-path=/tmp/fbsimctl-20180924-22757-17ldetz/build/ModuleCache.noindex -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/tmp/fbsimctl-20180924-22757-17ldetz/build/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -fmodule-name=FBControlCore -Wno-trigraphs -fpascal-strings -O0 -fno-common -Werror -Werror=incompatible-pointer-types -Werror=implicit-function-declaration -Wmissing-field-initializers -Wmissing-prototypes -Wdocumentation -Wunreachable-code -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Wno-objc-interface-ivars -Werror=objc-root-class -Wno-arc-repeated-use-of-weak -Wimplicit-retain-self -Wmissing-braces -Wparentheses -Wswitch -Wunused-function -Wunused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wunknown-pragmas -Wshadow -Wfour-char-constants -Wconversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wfloat-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wsign-compare -Wshorten-64-to-32 -Wpointer-sign -Wnewline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wdeprecated-implementations -DDEBUG=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mmacosx-version-min=10.10 -g -Wsign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wno-semicolon-before-method-body -index-store-path /tmp/fbsimctl-20180924-22757-17ldetz/build/Index/DataStore -iquote /tmp/fbsimctl-20180924-22757-17ldetz/build/Build/Intermediates.noindex/FBSimulatorControl.build/Debug/FBControlCore.build/FBControlCore-generated-files.hmap -I/tmp/fbsimctl-20180924-22757-17ldetz/build/Build/Intermediates.noindex/FBSimulatorControl.build/Debug/FBControlCore.build/FBControlCore-own-target-headers.hmap -I/tmp/fbsimctl-20180924-22757-17ldetz/build/Build/Intermediates.noindex/FBSimulatorControl.build/Debug/FBControlCore.build/FBControlCore-all-non-framework-target-headers.hmap -ivfsoverlay /tmp/fbsimctl-20180924-22757-17ldetz/build/Build/Intermediates.noindex/FBSimulatorControl.build/Debug/FBControlCore.build/all-product-headers.yaml -iquote /tmp/fbsimctl-20180924-22757-17ldetz/build/Build/Intermediates.noindex/FBSimulatorControl.build/Debug/FBControlCore.build/FBControlCore-project-headers.hmap -I/tmp/fbsimctl-20180924-22757-17ldetz/build/Build/Products/Debug/include -I/tmp/fbsimctl-20180924-22757-17ldetz/PrivateHeaders -I/tmp/fbsimctl-20180924-22757-17ldetz/build/Build/Intermediates.noindex/FBSimulatorControl.build/Debug/FBControlCore.build/DerivedSources/x86_64 -I/tmp/fbsimctl-20180924-22757-17ldetz/build/Build/Intermediates.noindex/FBSimulatorControl.build/Debug/FBControlCore.build/DerivedSources -F/tmp/fbsimctl-20180924-22757-17ldetz/build/Build/Products/Debug -F/Applications/Xcode.app/Contents/Frameworks -F/Applications/Xcode.app/Contents/PlugIns -F/Applications/Xcode.app/Contents/OtherFrameworks -F/Applications/Xcode.app/Contents/SharedFrameworks -F/Applications/Xcode.app/Contents/Developer/Library/PrivateFrameworks -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/PrivateFrameworks -F/Library/Developer/PrivateFrameworks -MMD -MT dependencies -MF /tmp/fbsimctl-20180924-22757-17ldetz/build/Build/Intermediates.noindex/FBSimulatorControl.build/Debug/FBControlCore.build/Objects-normal/x86_64/NSPredicate+FBControlCore.d --serialize-diagnostics /tmp/fbsimctl-20180924-22757-17ldetz/build/Build/Intermediates.noindex/FBSimulatorControl.build/Debug/FBControlCore.build/Objects-normal/x86_64/NSPredicate+FBControlCore.dia -c /tmp/fbsimctl-20180924-22757-17ldetz/FBControlCore/Utility/NSPredicate+FBControlCore.m -o /tmp/fbsimctl-20180924-22757-17ldetz/build/Build/Intermediates.noindex/FBSimulatorControl.build/Debug/FBControlCore.build/Objects-normal/x86_64/NSPredicate+FBControlCore.o
CompileC /tmp/fbsimctl-20180924-22757-17ldetz/build/Build/Intermediates.noindex/FBSimulatorControl.build/Debug/FBControlCore.build/Objects-normal/x86_64/FBiOSTargetStateUpdate.o /tmp/fbsimctl-20180924-22757-17ldetz/FBControlCore/Management/FBiOSTargetStateUpdate.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target: FBControlCore)
cd /tmp/fbsimctl-20180924-22757-17ldetz
export LANG=en_US.US-ASCII
clang -x objective-c -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -gmodules -fmodules-cache-path=/tmp/fbsimctl-20180924-22757-17ldetz/build/ModuleCache.noindex -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/tmp/fbsimctl-20180924-22757-17ldetz/build/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -fmodule-name=FBControlCore -Wno-trigraphs -fpascal-strings -O0 -fno-common -Werror -Werror=incompatible-pointer-types -Werror=implicit-function-declaration -Wmissing-field-initializers -Wmissing-prototypes -Wdocumentation -Wunreachable-code -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Wno-objc-interface-ivars -Werror=objc-root-class -Wno-arc-repeated-use-of-weak -Wimplicit-retain-self -Wmissing-braces -Wparentheses -Wswitch -Wunused-function -Wunused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wunknown-pragmas -Wshadow -Wfour-char-constants -Wconversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wfloat-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wsign-compare -Wshorten-64-to-32 -Wpointer-sign -Wnewline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wdeprecated-implementations -DDEBUG=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mmacosx-version-min=10.10 -g -Wsign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wno-semicolon-before-method-body -index-store-path /tmp/fbsimctl-20180924-22757-17ldetz/build/Index/DataStore -iquote /tmp/fbsimctl-20180924-22757-17ldetz/build/Build/Intermediates.noindex/FBSimulatorControl.build/Debug/FBControlCore.build/FBControlCore-generated-files.hmap -I/tmp/fbsimctl-20180924-22757-17ldetz/build/Build/Intermediates.noindex/FBSimulatorControl.build/Debug/FBControlCore.build/FBControlCore-own-target-headers.hmap -I/tmp/fbsimctl-20180924-22757-17ldetz/build/Build/Intermediates.noindex/FBSimulatorControl.build/Debug/FBControlCore.build/FBControlCore-all-non-framework-target-headers.hmap -ivfsoverlay /tmp/fbsimctl-20180924-22757-17ldetz/build/Build/Intermediates.noindex/FBSimulatorControl.build/Debug/FBControlCore.build/all-product-headers.yaml -iquote /tmp/fbsimctl-20180924-22757-17ldetz/build/Build/Intermediates.noindex/FBSimulatorControl.build/Debug/FBControlCore.build/FBControlCore-project-headers.hmap -I/tmp/fbsimctl-20180924-22757-17ldetz/build/Build/Products/Debug/include -I/tmp/fbsimctl-20180924-22757-17ldetz/PrivateHeaders -I/tmp/fbsimctl-20180924-22757-17ldetz/build/Build/Intermediates.noindex/FBSimulatorControl.build/Debug/FBControlCore.build/DerivedSources/x86_64 -I/tmp/fbsimctl-20180924-22757-17ldetz/build/Build/Intermediates.noindex/FBSimulatorControl.build/Debug/FBControlCore.build/DerivedSources -F/tmp/fbsimctl-20180924-22757-17ldetz/build/Build/Products/Debug -F/Applications/Xcode.app/Contents/Frameworks -F/Applications/Xcode.app/Contents/PlugIns -F/Applications/Xcode.app/Contents/OtherFrameworks -F/Applications/Xcode.app/Contents/SharedFrameworks -F/Applications/Xcode.app/Contents/Developer/Library/PrivateFrameworks -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/PrivateFrameworks -F/Library/Developer/PrivateFrameworks -MMD -MT dependencies -MF /tmp/fbsimctl-20180924-22757-17ldetz/build/Build/Intermediates.noindex/FBSimulatorControl.build/Debug/FBControlCore.build/Objects-normal/x86_64/FBiOSTargetStateUpdate.d --serialize-diagnostics /tmp/fbsimctl-20180924-22757-17ldetz/build/Build/Intermediates.noindex/FBSimulatorControl.build/Debug/FBControlCore.build/Objects-normal/x86_64/FBiOSTargetStateUpdate.dia -c /tmp/fbsimctl-20180924-22757-17ldetz/FBControlCore/Management/FBiOSTargetStateUpdate.m -o /tmp/fbsimctl-20180924-22757-17ldetz/build/Build/Intermediates.noindex/FBSimulatorControl.build/Debug/FBControlCore.build/Objects-normal/x86_64/FBiOSTargetStateUpdate.o
** BUILD FAILED **
The following build commands failed:
CompileC /tmp/fbsimctl-20180924-22757-17ldetz/build/Build/Intermediates.noindex/FBSimulatorControl.build/Debug/FBControlCore.build/Objects-normal/x86_64/FBBinaryParser.o /tmp/fbsimctl-20180924-22757-17ldetz/FBControlCore/Utility/FBBinaryParser.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
, when I went in to this folder:  /Users/me/Library/Logs/Homebrew/fbsimctl/    I saw 01.build.sh .  and I opened it and saw 15 errors.
at the top I saw:
You don’t have permission to save the file “org.carthage.CarthageKit” in the folder “Caches”..
/usr/include/libxml2/module.modulemap:1:8: note: previously defined here
module libxml2 [system] [extern_c] {
^
1 error generated.
While building module 'Foundation' imported from /tmp/fbsimctl-20180924-22757-17ldetz/FBControlCore/Utility/FBBinaryParser.h:10:
While building module 'CoreFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
While building module 'Dispatch' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h:20:
In file included from :1:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/dispatch/dispatch.h:48:10: fatal error: could not build module 'os_object'
#include <os/object.h>
2 errors generated.
While building module 'Foundation' imported from /tmp/fbsimctl-20180924-22757-17ldetz/FBControlCore/Utility/FBBinaryParser.h:10:
While building module 'CoreFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
In file included from <module-includes>:1:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:60:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPropertyList.h:17:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h:20:10: fatal error: could not build module 'Dispatch'
#include <dispatch/dispatch.h>
~~~~~~~~^
3 errors generated.
While building module 'Foundation' imported from /tmp/fbsimctl-20180924-22757-17ldetz/FBControlCore/Utility/FBBinaryParser.h:10:
In file included from <module-includes>:1:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:10: fatal error: could not build module 'CoreFoundation'
#include <CoreFoundation/CoreFoundation.h>
~~~~~~~~^
While building module 'Foundation' imported from /tmp/fbsimctl-20180924-22757-17ldetz/FBControlCore/Utility/FBBinaryParser.h:10:
While building module 'CoreGraphics' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSGeometry.h:12:
In file included from <module-includes>:1:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h:8:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGBase.h:12:10: fatal error: could not build module 'CoreFoundation'
#include <CoreFoundation/CFBase.h>
~~~~~~~~^
While building module 'Foundation' imported from /tmp/fbsimctl-20180924-22757-17ldetz/FBControlCore/Utility/FBBinaryParser.h:10:
While building module 'CoreGraphics' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSGeometry.h:12:
While building module 'IOKit' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGDisplayConfiguration.h:12:
In file included from <module-includes>:4:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/IOKit.framework/Headers/IOCFBundle.h:26:10: fatal error: could not build module 'CoreFoundation'
#include <CoreFoundation/CoreFoundation.h>
~~~~~~~~^
1 error generated.
2 errors generated.
While building module 'Foundation' imported from /tmp/fbsimctl-20180924-22757-17ldetz/FBControlCore/Utility/FBBinaryParser.h:10:
While building module 'Security' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCredential.h:9:
In file included from <module-includes>:1:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Security.framework/Headers/Security.h:27:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Security.framework/Headers/SecBase.h:28:10: fatal error: could not build module 'CoreFoundation'
#include <CoreFoundation/CFBase.h>
~~~~~~~~^
1 error generated.
While building module 'Foundation' imported from /tmp/fbsimctl-20180924-22757-17ldetz/FBControlCore/Utility/FBBinaryParser.h:10:
While building module 'CoreServices' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h:17:
In file included from <module-includes>:1:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:19:10: fatal error: could not build module 'CoreFoundation'
#include <CoreFoundation/CoreFoundation.h>
~~~~~~~~^
While building module 'Foundation' imported from /tmp/fbsimctl-20180924-22757-17ldetz/FBControlCore/Utility/FBBinaryParser.h:10:
While building module 'CoreServices' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h:17:
While building module 'CFNetwork' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:35:
In file included from <module-includes>:1:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetwork.h:18:10: fatal error: could not build module 'CoreFoundation'
#include <CoreFoundation/CoreFoundation.h>
~~~~~~~~^
fatal error: could not build module 'CoreFoundation'
#include <CoreFoundation/CoreFoundation.h>
~~~~~~~~^
1 error generated.
While building module 'Foundation' imported from /tmp/fbsimctl-20180924-22757-17ldetz/FBControlCore/Utility/FBBinaryParser.h:10:
While building module 'CoreServices' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h:17:
While building module 'DiskArbitration' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h:56:
In file included from <module-includes>:1:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/DiskArbitration.framework/Headers/DiskArbitration.h:27:10: fatal error: could not build module 'CoreFoundation'
#include <CoreFoundation/CoreFoundation.h>
~~~~~~~~^
1 error generated.
3 errors generated.
While building module 'Foundation' imported from /tmp/fbsimctl-20180924-22757-17ldetz/FBControlCore/Utility/FBBinaryParser.h:10:
While building module 'ApplicationServices' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAppleEventDescriptor.h:8:
In file included from <module-includes>:1:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:23:10: fatal error: could not build module 'CoreServices'
#include <CoreServices/CoreServices.h>
~~~~~~~~^
While building module 'Foundation' imported from /tmp/fbsimctl-20180924-22757-17ldetz/FBControlCore/Utility/FBBinaryParser.h:10:
While building module 'ApplicationServices' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAppleEventDescriptor.h:8:
While building module 'CoreText' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/SFNTLayoutTypes.h:16:
In file included from <module-includes>:1:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreText.framework/Headers/CoreText.h:20:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFont.h:20:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h:20:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontTraits.h:14:10: fatal error: could not build module 'CoreFoundation'
#include <CoreFoundation/CoreFoundation.h>
~~~~~~~~^
1 error generated.
While building module 'Foundation' imported from /tmp/fbsimctl-20180924-22757-17ldetz/FBControlCore/Utility/FBBinaryParser.h:10:
While building module 'ApplicationServices' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAppleEventDescriptor.h:8:

👍

I am getting a following error
▸ Compiling FBAMDServiceConnection.m

❌  /Users/ketanmujumdar/FBSimulatorControl/FBDeviceControl/Management/FBAMDefines.h:49:3: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Werror,-Wnullability-completeness]

  AMDeviceRef amDevice;
  ^

▸ Compiling FBDeviceControlError.m
▸ Compiling FBDeviceApplicationDataCommands.m

❌  /Users/ketanmujumdar/FBSimulatorControl/FBDeviceControl/Management/FBAMDefines.h:49:3: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Werror,-Wnullability-completeness]

  AMDeviceRef amDevice;
  ^

▸ Compiling FBDeviceVideoFileEncoder.m
▸ Building FBSimulatorControl/FBSimulatorControl [Debug]
▸ Check Dependencies
▸ Compiling FBSimulatorXCTestProcessExecutor.m
▸ Compiling FBSimulatorTerminationStrategy.m
▸ Compiling FBSimulatorApplicationDataCommands.m
▸ Compiling FBUploadMediaStrategy.m
▸ Compiling FBSimulatorProcessFetcher.m
▸ Compiling FBSimulatorCrashLogCommands.m
▸ Compiling FBFramebuffer.m
** BUILD FAILED **

The following build commands failed:
	CompileC build/Build/Intermediates.noindex/FBSimulatorControl.build/Debug/FBDeviceControl.build/Objects-normal/x86_64/FBAMDServiceConnection.o FBDeviceControl/Management/FBAMDServiceConnection.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)

I am not sure why pointer is missing a nullability type specifier
Help Needed.
Xcode version
Xcode 9.2
Build version 9C40b

same issue：
Clang: 10.0 build 1000 Git: 2.19.0 => /usr/local/bin/git Curl: 7.54.0 => /usr/bin/curl Java: 1.8.0_181 macOS: 10.13.6-x86_64 CLT: <IP_ADDRESS>.1.1526532315 Xcode: 10.0

update Mac os command line tool to newest version solved my issue. please have a try @dakenico

The following build commands failed:
        CompileC /tmp/fbsimctl-20181122-6031-o0k0jl/build/Build/Intermediates.noindex/FBSimulatorControl.build/Debug/FBSimulatorControl.build/Objects-normal/x86_64/FBSimulatorHIDEvent.o /tmp/fbsimctl-20181122-6031-o0k0jl/FBSimulatorControl/HID/FBSimulatorHIDEvent.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)

Getting a similar build error.
Xcode 10.1
Build version 10B61
command line tools 10.1 10B61

softwareupdate --list shows everything is up to date


Fix two compile-time bugs

Comment out an expensive assert in type lowering

For very large types (e.g. tuples with many elements), this assertion is very expensive to execute, because the isLegalSILType status is not cached.

LICM: add limits for the number of alias checks to avoid large compile times in corner cases

Avoids quadratic complexity in corner cases. Usually, these limits will not be exceeded.

@swift-ci test

@swift-ci test macos

@swift-ci test macos

@eeckstein I don't have any big concern with these changes. But loops didn't become bigger and types didn't become bigger. So it would be interesting to know why asking for a lowered SIL type or querying AA suddenly caused the compiler to "hang".

@atrick The main problem was the assert in getTypeLoweringForLoweredType. The old escape analysis had its own implementation for checking if a type is a "pointer" type. So it didn't use this code.
I believe, the problem in LICM always caused compile time problems, but we didn't notice so far.

@eeckstein I wonder why that assert was checked before the cache lookup. It might be beneficial to run after a cache failure.


Simplify compressor pipelines; allow ES6

moves js dependencies to package.json file and adds lockfile
updates README to specify installation step
updates travis to use new installation step
uses django-compressor-toolkit pipeline for scss (identical to our old one - allows @imports via /static & uses autoprefixer)
uses django-compressor-toolkit pipeline for js (allows es6 w/ modules via browserify & babel)

note that to trigger compressor js files need to have the type="module" attribute, e.g.:
{% compress js %}
    <script src="{% static 'js/index.js' %}" type="module"></script>
{% block js %}

Codecov Report

Merging #72 into develop will decrease coverage by <.01%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop      #72      +/-   ##
===========================================
- Coverage    98.56%   98.56%   -0.01%
===========================================
  Files           44       44
  Lines         2093     2092       -1
===========================================
- Hits          2063     2062       -1
  Misses          30       30

Impacted Files
Coverage Δ

ppa/settings.py
86.66% <ø> (-0.22%)
:arrow_down:

Continue to review full report at Codecov.

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


PHP Fatal error:  Class 'xyz' not found in flight/core/Loader.php on line 125

Hi,
I work with flightphp always. This project work on XAMPP.
My file structure like this;
lib/__autoload.php
lib/database.php
model/__autoload.php
model/xyz.php
model/abc.php
model/foobar.php
model/__autoload.php following;
// this working
include 'abc.php';
Flight::register('abc', 'Abc');

// this not working
include 'xyz.php';
Flight::register('xyz', 'xYz');

// this working
include 'vars.php';
Flight::register('foobar', 'FooBar');

index.php
session_start();
require_once('flight/Flight.php');

include 'lib/__autoload.php';
include 'model/__autoload.php';

...

Flight::start();

Why does not working on my hosting ? I could not solve this. Because this is working on my localhost with XAMPP. My hosting php version is 5.6.
My database class -> MeekroDB

You need to post the error message. I can't tell what not working means.

Error message is title
PHP Fatal error: Class 'xyz' not found in flight/core/Loader.php on line 125

Check your filenames and class names. Linux is case sensitive, windows is not.

@BTeodorWork
I did it but does not working. Change class name again does not working.
All file names lower case. Change Class names like to just first letter is upper.
I dont understand seriously:/

Any reason why you're not just using composers autoloader?

@jimlei I am not using this project.
Actually I was solve two hours ago.
Root folder in any subfolders’ I couldn’t include that because these folder in files looks like in root folder.
So, model/__autoload.php
include “model/xyz.php”;
When I was solve that, my hosting number of processes out to the limit. My hosting limit is 100 processes. Again I didn’t understand. So am I need vps/vds hosting. But This project very small


Add CITATION file

Is this the current preferred citation for LOMAP? https://link.springer.com/article/10.1007/s10822-013-9678-y
(This repo involved rewriting the original OpenEye/Schrödinger based implementation using RDkit; not sure if there's a newer citation for that, or what the preferred citations are.)

pinging @davidlmobley - what would be the preferred citation(s) here?


Provided way to apply snippets to clipboard alone

Sometimes you want to paste the clipboard as a snippet so that you can easily modify it where it is appropriate
In that case you're not really needing to use a prompt
I tried using 'model snip pass' but it didn't work, so I introduced a new command the just passes a blank prompt which did the trick

I'm open to alternatives for this too.

When you're using model snip you still want to pass the clipboard through ChatGPT.

If you don't pass the text through ChatGPT then none of the placeholders are added, so it's equivalent to 'model pass to clip' (i.e. 'snip' does nothing)

It is very useful to be able to add placeholders to clipboard contents, though, so I'd really like to have some way to support that.  I do think that 'snip pass' makes sense to use this way since 'snip' modifies the ChatGPT integration, which means you actually want to use ChatGPT even though you are using 'pass'.

If you want to have it return to the clipboard you can just use the destination though. model snip please generate a dataclass to clip should be fine? Pass is just a noop.

What I'm trying to do is not to return to the clipboard but to use the clipboard as input.  I.e. I've copied this loop (etc) and I want to paste it with placeholders.

I'm also open to defining a new command for this, i.e. 'model snip paste'

I found a satisfactory work around after all: model snip answer clip does just what I wanted.


Article on implementing WASI

Putting up a draft of an article I've been writing to get some feedback.

Decided to write a different article.  Even though they're all hidden right now it'll make for good demoing to my friends. Then I can ship it all for real tomorrow or the day after when I have some time.


Implement Actions and cosmetics and minor fixes

This is becoming quite a big PR so I'm setting this up now so we can discuss the current differences. I'm looking to work on embedding a dark style sheet soon too, which will contain some larger files of its own and I'd rather have that as a PR by itself.

With the actions this might require the updated launcher, but I'm expecting this actually also works with the older launcher. (Though then it just doesn't use the actions)

This PR currently implements:

Actions (and Application subclass) that will be available to the new Launcher update. The update will also need a PR of its own.
This improves get_application with Python 2 encoded environment variables, a fix ported over from Launcher.
This ports over launch from Launcher so it's in the core.
This adds the current context to the top of the Avalon menu in Maya - where one can also "set the context" with the set context tool.

Implements __main__ for avalon.tools.cbloader with a command line interface (similar to projectmanager)
Fix cbloader pretty date delegate so that it uses datetime.now() similar to how avalon api exposes api.time()
Fix cbloader pretty delegate by forcing integer division for python 3 compatibility
Fix exceptions for Python 3 compatibility
Cosmetics: visually remove superfluous zeros in cbloader from frame ranges
Add family filter in cbloader (see screenshot below)
Add support for family icons and label in cbloader in the project's configuration:

"config" {
    "families" : [
                {
                    "name" : "colorbleed.animation",
                    "icon" : "male",
                    "label" : "Animation"
                },
                {
                    "name" : "colorbleed.camera",
                    "icon" : "video-camera",
                    "state": false,
                    "label" : "Camera"
                },
    ]
}

Note the above code sample (above screenshots) shows the camera family configuration having a state of false (this is a temporary support for default states of the filters in the cbloader) I'm expecting to move this to something more user-oriented where the user can pick their defaults.

Added support for task icons in project config for the task model in the project manager (and the context manager)

"config" : {
        "tasks" : [
            {
                "name" : "model",
                "icon" : "user-plus"
            },
            {
                "name" : "render",
                "icon" : "lightbulb-o"
            }
    ]
}

Slight cosmetic changes to the asset widget used in cbloader and projectmanager; the filter view is now at the top.

A bit large yes, but thanks for putting together that summary. Makes it easier to grok.

Note the above camera family configuration having a state of false

Did you mean the Look family?

Did you mean the Look family?

A good, point. I can see the screenshot is confusing since it has a different state. I was referring to the code sample above it. :)

Ah, yes I wasn't sure at first.
About "state": false, this to me sounds like state has been turned off, but what state could it hold? Whether it is checked or not I think is part of it's state, and with this it reads (to me) as though it wouldn't be able to store any state.
How about calling it "active": false"?

How about calling it "active": false"?

Could work. It'll still be active. It's a temporary workaround though, until we somehow store user preferences with the tools (like their own defaults).
Maybe something more explicit like "defaultToActive": false makes more sense?

Also, here's some more info about the Actions.
Actions
The actions are registered and discovered in the same way as Loader and Creator plug-ins but inherit from api.Actions.
An implemented for an Action can look like:
import avalon.api
from avalon import lib

class ProjectManagerAction(avalon.api.Action):
    name = "projectmanager"
    label = "Project Manager"
    icon = "gear"
    order = 999     # at the end

    def is_compatible(self, session):
        return "AVALON_PROJECT" in session

    def process(self, session, **kwargs):

        return lib.launch(executable="python",
                          args=["-u", "-m", "avalon.tools.projectmanager",
                                session['AVALON_PROJECT']])

To register it explicitly:
avalon.api.register_plugin(avalon.api.Action, ProjectManagerAction)

With it registered you can find it back through the api:
for action in api.discover(api.Action):
    print(action)

Note that the api.discover method returns the class and not an instance of the class.

As such, to test whether an action can be triggered in the current context and if so to run it you would do:
# Note: this would trigger *all* compatible actions within the current session
for Action in api.discover(api.Action):
    action = Action()
    session = api.Session.copy()  # currently active session
    if action.is_compatible(session):
        action.process(session)

@mottosso The travis check is failing on python files from the stylesheet now I merged it with the currently live master. It should just ignore those specific files because they should actually only be loaded whenever those Qt versions are actually live. Any idea how I can make it pass the travis builds?
Other than that, I think this is ready for a merge. We've been using the Actions/Applications as a basis for quite some time now and it's been going pretty well. With this merged I'd be happy to continue some more development and hopefully work towards smaller commits.

Having a look

Made a PR for you.
About the AVALON_PROJECT warnings, any idea what that's about? :O

About the AVALON_PROJECT warnings, any idea what that's about? :O

Actually, no idea. It's actually mentioning AVALON_PROJECTS which is required for the schema and the setup in the test is not setting that, I could do so - that would avoid these warnings.
Shall I do that for now?

I think so, yes. Hard to read the test results at the moment I think.

Actually, looking at the schema requirements:
     u'required': [u'AVALON_PROJECTS',
                   u'AVALON_PROJECT',
                   u'AVALON_ASSET',
                   u'AVALON_SILO',
                   u'AVALON_CONFIG'],

Then after this it will also log the warning for asset, silo and config. We might need to set a placeholder for all of those then.

Let me test this PR tomorrow by the way, I think it's failing on some parts with these latest commits.

Ok, fixed two issues from refactoring conflicts. :)
Also just committed a "fix" for the required keys in tests where I'm assigning them placeholder values.

Oo, very nice :)

Let's see if the tests pass without warnings now.

Passed without the warning messages - indeed much more readable. :+1:

To me this is ready for a merge - who's going to click the big button? :smile:

Go ahead, you've earned it! :)


Prevent Delayed Jobs From Running in Non Delayed Job Layer

Hi,
Thanks for sharing the code. Currently I have an opsworks stack with a layer for dealyed jobs.
Sometimes I have noticed that delayed jobs are locked by my regular layer.
Is there a way to prevent this? Could this be related with a lack of memory in the instance? Currently it is almost at 100%
Also could you please confirm if the following json configuration is fine? With the configuration below, does it mean that I can run 14 delayed concurrent jobs?  Thanks in advance
{
  "delayed_job": {
    "pool_size": 14,
    "app_1": {
      "pool_size": 3
    },
    "app_2": {
      "pool_size": 3
    },
    "app_3": {
      "pool_size": 3
    },
    "app_4": {
      "pool_size": 3
    },
    "app_5": {
      "pool_size": 1
    },
    "app_6": {
      "pool_size": 1
    }
  }
}

Note: The available memory in the delayed job instance is ~ 29 GB.
Thanks.

The issue has been fixed. It was solved by switching from development environment to production environment in the app configuration. Now delayed jobs are locked by the corresponding EC2 instance in the delayed job layer. I will reopen this ticket if I notice related issues. Thanks.


How can I custom settings

I want to custome set the "ctrl+=: to "F5",how can I do that

You can only customise to ctrl-something without modifying the plugin source.

How can I do that?

The relevant code is below. Not sure how you’d set it to F5 though myself.
NSMenu *productMenu = [[[NSApp mainMenu] itemWithTitle:@"Product"] submenu];
if (productMenu) {
	[productMenu addItem:[NSMenuItem separatorItem]];

    struct { const char *item,  *key; SEL action; } items[] = {
        {"Injection Plugin", "", NULL},
        {"Inject Source", [currentShortcut UTF8String], @selector(injectSource:)}
    };

    for ( int i=0 ; i<sizeof items/sizeof items[0] ; i++ ) {
        menuItem = [[NSMenuItem alloc] initWithTitle:[NSString stringWithUTF8String:items[i].item]
                                              action:items[i].action
                                       keyEquivalent:[NSString stringWithUTF8String:items[i].key]];
        [menuItem setKeyEquivalentModifierMask:NSControlKeyMask];
        if ( i==0 )
            [subMenuItem = menuItem setSubmenu:self.subMenu];
        else
            [menuItem setTarget:self];
        [productMenu addItem:menuItem];
    }

    introItem.title = [NSString stringWithFormat:@"Injection v%s Intro", INJECTION_VERSION];
    [[NSNotificationCenter defaultCenter] addObserver:self
                                             selector:@selector(workspaceDidChange:)
                                                 name:NSWindowDidBecomeKeyNotification object:nil];
}
else
    [self error:@"InInjectionPlugin: Could not locate Product Menu."];

You might want to look at https://github.com/johnno1962/Refactorator/issues/4

OK，thank you !

And How can I hide the xcode right-top corner red 1?

Remove this line:
[self.docTile
performSelectorOnMainThread:@selector(setBadgeLabel:)
withObject:@"1" waitUntilDone:NO];


[Mention The Feature]: Enhancing box shadow of DIV's in both Scholarship pages

Is your feature request related to a problem? Please describe.
Enhancing box shadow of DIV's in both Scholarship pages
Before:
https://github.com/user-attachments/assets/0a7c0c6d-b847-4d86-a3ea-0abad32c0129
After:
https://github.com/user-attachments/assets/4f225109-8b97-4c34-b5bd-787ef7f7828d
Describe the solution you'd like.
Hello @aditya-bhaumik
In both Scoloarship pages we have low glowing of box-shadow effect when hovered
Due to the low glowing effect its diffcult to the user to Know whether the Div is clickable or not so let me enhance the shadow coloring schemes
Additional context.
Assign me this issue as a gssoc-ext and Hacktoberfest Contributor
Checklist

[X] I have checked the Existing Issues
[X] I have read the Contributing Guidelines
[X] I want to work on this issue. (optional)

sure go ahead
Make sure to join the discord server for further communication
Don't forget to star the repository
Complete the task in next 2 days and kindly mention your issue # in your pr like this:
Closes #IssueNumber
Note: the level of the issue may change based on the quality of the PR cod


feat: add CRDs for v1 api

This PR is building up on https://github.com/IBM/composable/pull/91 and aims at adding CRDv1 support (fixing #88).
The final mitigation will be a migration to kubebuilder v3

Closing in favour of #97


Server currently unavailable

Hi,
I create my enviroenment whith docker-compose.yaml (https://hub.docker.com/r/graylog/graylog/), but is error when access:
**Server currently unavailable
We are experiencing problems connecting to the Graylog server running on http://<IP_ADDRESS>:9000/. Please verify that the server is healthy and working correctly.
You will be automatically redirected to the previous page once we can connect to the server.
Do you need a hand? We can help you.
More details**
My docker-compose.yaml:
cat docker-compose.yaml
version: '2'
services:
  # MongoDB: https://hub.docker.com/_/mongo/
  mongo:
    image: mongo:3
    volumes:
      - ./mongo/mongo_data:/data/db
  # Elasticsearch: https://www.elastic.co/guide/en/elasticsearch/reference/5.5/docker.html
  elasticsearch:
    image: docker.elastic.co/elasticsearch/elasticsearch:5.6.12
    volumes:
      - ./elastic/es_data:/usr/share/elasticsearch/data
    environment:
      - http.host=<IP_ADDRESS>
      - transport.host=localhost
      - network.host=<IP_ADDRESS>
      # Disable X-Pack security: https://www.elastic.co/guide/en/elasticsearch/reference/5.5/security-settings.html#general-security-settings
      - xpack.security.enabled=false
      - "ES_JAVA_OPTS=-Xms512m -Xmx512m"
    ulimits:
      memlock:
        soft: -1
        hard: -1
    mem_limit: 1g
  # Graylog: https://hub.docker.com/r/graylog/graylog/
  graylog:
    image: graylog/graylog:2.4
    volumes:
      - ./graylog/graylog_journal:/usr/share/graylog/data/journal
      - ./graylog/config:/usr/share/graylog/data/config
    environment:
      # CHANGE ME!
      - GRAYLOG_PASSWORD_SECRET=somepasswordpepper
      # Password: admin
      - GRAYLOG_ROOT_PASSWORD_SHA2=8c6976e5b5410415bde908bd4dee15dfb167a9c873fc4bb8a81f6f2ab448a918
      - GRAYLOG_WEB_ENDPOINT_URI=http://<IP_ADDRESS>:9000/
      - GRAYLOG_REST_LISTEN_URI=http://<IP_ADDRESS>:9000/api/
    links:
      - mongo
      - elasticsearch
    ports:
      # Graylog web interface and REST API
      - 9000:9000
      # Syslog TCP
      - 514:514
      # Syslog UDP
      - 514:514/udp
      # GELF TCP
      - 12201:12201
      # GELF UDP
      - 12201:12201/udp

whats problem?

You have set GRAYLOG_WEB_ENDPOINT_URI and GRAYLOG_REST_LISTEN_URI to a wildcard/all interface what is not the idea. Please look at the documentation ( http://docs.graylog.org/en/2.4/pages/configuration/server.conf.html ) and if you still have issues with that ...
We are using GitHub issues for tracking bugs in Graylog itself, but this doesn't look like one. Please post this issue to our discussion forum or join the #graylog channel on freenode IRC.
Thank you!


Web server crashing randomly

Hi,
When sending POST request to the LLM, especially when using mlx-community/Qwen2.5-32B-Instruct-8bit, the server crashes with the following error:

<IP_ADDRESS> - - [23/Oct/2024 03:15:06] "POST /v1/chat/completions HTTP/1.1" 200 -
2024-10-23 03:15:06,650 - DEBUG - Starting completion:
----------------------------------------
Exception occurred during processing of request from ('<IP_ADDRESS>', 61900)
Traceback (most recent call last):
  File<EMAIL_ADDRESS>line 318, in _handle_request_noblock
    self.process_request(request, client_address)
  File<EMAIL_ADDRESS>line 349, in process_request
    self.finish_request(request, client_address)
  File<EMAIL_ADDRESS>line 362, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/Users/si/development/mlx/.venv/lib/python3.12/site-packages/mlx_lm/server.py", line 733, in <lambda>
    lambda *args, **kwargs: handler_class(
                            ^^^^^^^^^^^^^^
  File "/Users/si/development/mlx/.venv/lib/python3.12/site-packages/mlx_lm/server.py", line 200, in __init__
    super().__init__(*args, **kwargs)
  File<EMAIL_ADDRESS>line 761, in __init__
    self.handle()
  File<EMAIL_ADDRESS>line 436, in handle
    self.handle_one_request()
  File<EMAIL_ADDRESS>line 424, in handle_one_request
    method()
  File "/Users/si/development/mlx/.venv/lib/python3.12/site-packages/mlx_lm/server.py", line 296, in do_POST
    method(prompt, stop_id_sequences)
  File "/Users/si/development/mlx/.venv/lib/python3.12/site-packages/mlx_lm/server.py", line 504, in handle_completion
    detokenizer.finalize()
  File "/Users/si/development/mlx/.venv/lib/python3.12/site-packages/mlx_lm/tokenizer_utils.py", line 219, in finalize
    self.text += self._maybe_trim_space(current_text)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/si/development/mlx/.venv/lib/python3.12/site-packages/mlx_lm/tokenizer_utils.py", line 196, in _maybe_trim_space
    if current_text[0] != " ":
       ~~~~~~~~~~~~^^^
IndexError: string index out of range
----------------------------------------

Thanks for flagging. This is fixed on main already and pending release.


Copy for layers is broken

Copy member function for layers aims to create a copy of the current layer.
However, for the optimizer, it just uses copy assignment operation which does not deep copy the tensors inside the optimizer.

:octocat: cibot: Thank you for posting issue #630. The person in charge will reply soon.


Test Docs

Test Docs

@DanilBaibak docs job is green: https://github.com/pytorch/vision/actions/runs/4435672723/jobs/7783116176. However, it uploads to https://docs-preview.pytorch.org/vision/7424/index.html, but the bot links to https://docs-preview.pytorch.org/pytorch/vision/7424/index.html.

Fixed in pytorch/test-infra#3891, thanks @DanilBaibak. The bot now comments the right link :rocket:


[BUG] Can not disable VLAN network if the slave of harvester-br0 is not physical NIC.

Describe the bug

Can not disable VLAN network if the slave of harvester-br0 is not physical NIC, such as NIC of bond type.
I0629 03:54:04.367154       1 controller.go:105] node network configuration <IP_ADDRESS>-vlan has been deleted
I0629 03:54:04.368422       1 controller.go:205] ignore link not found error, details: slave of harvester-br0 not found

To Reproduce
Steps to reproduce the behavior:

Enable VLAN network with a NIC of type bond.
Disable VLAN network.

Expected behavior

Disable VLAN network successfully.
Support bundle

Environment:

Harvester ISO version: v0.2
Underlying Infrastructure (e.g. Baremetal with Dell PowerEdge R630): Baremetal with Dell PowerEdge R630

Additional context
Add any other context about the problem here.

To test:

Create a bond interface bond0.ip link add bond0 type bond mode 802.3ad
ip link set <NIC-1> down
ip link set <NIC-2> down
ip link set <NIC-1> master bond0
ip link set <NIC-2> master bond0
ip link set bond0 up

Set bond0 as the NIC for the VLAN network. Check the slave NIC of the bridge harvester-br0.ip a show dev bond0

Switch to another NIC, such as eth0. Check the slave NIC of the bridge harvester-br0ip a show dev eth0

I tested with version master-902bee60-head.
After VLAN activation I have this state for bond0:
# ip a show dev bond0
54: bond0: <BROADCAST,MULTICAST,MASTER,DYNAMIC,UP,LOWER_UP> mtu 1500 qdisc noqueue master harvester-br0 state UP group default qlen 1000
    link/ether 52:54:00:50:d2:1b brd ff:ff:ff:ff:ff:ff
    inet <IP_ADDRESS>/24 brd <IP_ADDRESS> scope global bond0
       valid_lft forever preferred_lft forever
    inet6 fe80::5054:ff:fe50:d21b/64 scope link
       valid_lft forever preferred_lft forever

So the master of bond0 is harvester-br0.
After disabling VLAN I have this state:
# ip a show dev bond0
54: bond0: <BROADCAST,MULTICAST,MASTER,DYNAMIC,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 52:54:00:50:d2:1b brd ff:ff:ff:ff:ff:ff
    inet <IP_ADDRESS>/24 brd <IP_ADDRESS> scope global bond0
       valid_lft forever preferred_lft forever
    inet6 fe80::5054:ff:fe50:d21b/64 scope link
       valid_lft forever preferred_lft forever

And there is no master on bond0, as expected. I also don't have any error messages in /var/log/message.
Issue closed.


Consider the use of a TODO notes package

During the writing process of a long document, it may be useful to have access to a graphical representation on the document of something that needs to be done.
In fact, sometimes TODO comments and IDE highlight is not enough.
Some packages:

todonotes
todo
cooltooltips

todonotes package gives an output like this:

Source: StackOverflow


Ability to disable console logging

private func AKLog(_ message: String, _ file: String = #file, _ function: String = #function, _ line: Int = #line) {
    #if DEBUG
        print("\(URL(string: file)?.lastPathComponent ?? "") \(function)[\(line)]: \(message)")
    #else
        if message == "" {
            // Workaround for swift compiler optimizer crash
        }
    #endif
}

What about to add ability to disable logging to console? Sometimes it takes too much console space.

Sounds reasonable. Feel free to send us a PR!


Mosco V140b2 process shows high CPU performance load during compile/deploy time

Hi Dave,
thanks for the nice tools you provide, makes live easier.
When using within a small and normal Macos Ventura VM ( 2 cores, 4GB ) under Parallels, I noticed that the total processes might occupy 100% CPU.
When closing Mosco and using PAServer alone, CPU usage stay perfectly below 100%.
Why does Mosco eating so much ressources when compiling/deploying, while only PAServer should do the work ?
Maybe this is some issue in V140b2 only, I hope you can fix it in the release.

while only PAServer should do the work ?

I can still have a look at the CPU usage, however Mosco does not interact with PAServer - it executes all commands on its own.

Just to give an impression:
This is idle, with PAServer running, no Mosco running

This is idle then deployment, with PAServer alone ( the heavy load start when RadStudio starts "Deplyoment" phase ),
but the whole load stays

When Mosco is running, the idle load is already much higher ( see around the middle of the core bargraph).
When deplyoment starts, Mosco, PAServer and other tasks adding much load.

It seems Mosco is doeing something in the background, maybe some polling threads or the like,
which can eat up quite a lot load.
Maybe that helps to better understand the issue.

Pushed an installer for beta 3 that should fix the issue


send warn message if got an engine with label "node"

send warn message if got an engine with label "node"
fixed #2079
Signed-off-by: Sun Hongliang<EMAIL_ADDRESS>

LGTM. thanks @allencloud.

LGTM


Batch Transcription Speaker Diarization

Hello,
Does batch transcription speaker diarization still identify 2 speakers or has that been improved? Also does it still require wordLevelTimestampsEnabled to be set to true?
There was documentation on this before on the microsoft learn page but I cant find it anymore.

With V3.1 API, speaker diarization supports more than 2 speakers, and wordLevelTimestampsEnabled is not required anymore. You can find migration guide here. And the swagger definition can be found here
Thanks.

Thanks @zhouwangzw . Are there C# samples of using the V3.1 API like there is for 3.0 over here?
https://github.com/Azure-Samples/cognitive-services-speech-sdk/tree/master/samples/batch/csharp/batchclient

@hemnaathR  Yes, we are working on updating the C# samples to V3.1, and hope to be available very soon. Thanks.

Thanks @chlandsi


Rename get_surface_material to get_surface_override_material

The surface material property of MeshInstance3Ds overrides the Material for a given surface. It behaves the same as override_material just on a per-surface basis. This has been poorly communicated to users who often mix up MeshInstance3D.get_surface_material() with Mesh.surface_get_material(). This becomes especially problematic when users set a material on the mesh and then try to get it from the MeshInstance3D as in https://github.com/godotengine/godot/issues/31558
Renaming the property to reflect that it is an override material is consistent with the override_material property of GeometryInstance3D and makes it clear that it is not the same things as a mesh material
Partially implements: https://github.com/godotengine/godot-proposals/issues/2589
Implements: https://github.com/godotengine/godot/issues/31558#issuecomment-580974735

Sounds sensible to me. :+1:

Thanks!

while this is a great improvement. I hope you have considered these options:

naming the mesh resource surface materials "default_surface_materials" if you want it to be disambiguated from both sides.
instead of "surface_override_material" it could be "instance_surface_material" this communicates effectively that it is unique to each instance and future proofs it if we ever switch from an override to an overlay method.


Added peters township highschool

@x4exr The first verification stage is complete: the official domain for  Peters Township Highschool is www.ptsd.k12.pa.us, to the best of my knowledge. This is just an informational note. The pull request is still under review. The review may take some more time. I greatly appreciate your patience. Here is the proof of domain ownership: https://www.ptsd.k12.pa.us/Downloads/Tutorial-Clever Textbook.pdf

@x4exr Thank you for your patience while waiting for a review and processing your request. Pull request merged.


Version bump.

Hi @adunndevster , does the changelog need to be updated as well or is that all good as-is?

@jamarw  - I updated the changelog... how does it look?

@jamarw - I updated the changelog... how does it look?

Cool @adunndevster


fix for #2361: RKObjectRequestOperationLogger causes a memory leak

I'll merge this unless anyone has any objections?

Any ETA on releasing this fix?


Setting turn.Activity property to a conversation property

Version
2.00
Describe the bug
I'm trying to mock an object passed through turn.Activity.channelData by first setting the property and then saving it as a new field in conversation property so that the values are persisted for the duration of the conversation.Please refer to the screenshots below.
Currently unable to figure out a way to set the conversation property. Any suggestions?
Mock ChannelData: (I am able to set the channelData field in the activity? not sure if this is an issue)

Setting conversation property:

Hi @bewillet.  It looks like you have the value type set to object.  Instead, can you try using the dropdown on the left (under the Value label) and choosing 'abc string'.  Then you should be able to enter '=turn.activity.channelData' to achieve what you need.

Closing this due to inactivity. If problem persists pleaso open a new issue


only one strategy run when multi auth-strategies supplied.

Environment

Ruby 2.5.1p57
Rails 5.1.6
Devise 4.4.3

Current behavior
Example:
class User < ApplicationRecord
    devise :ldap_authenticatable, :database_authenticatable
end

When a user sign_in and send the post to SessionController::create, only one auth-strategy is performed, the others will be dropped.
The reason is a fail! call from here https://github.com/plataformatec/devise/blob/acc45c5a44c45b252ccba65fd169a45af73ff369/lib/devise/strategies/authenticatable.rb#L37-L48
so warden authenticate fail.
Expected behavior
I need a option to enable multi auth-strategies, or i am happy to attach a PR if needed.

Hello @Sora233, thanks for your report.
It seems like the code you mentioned you sent you fail! when resource.valid_for_authentication?`` returns false` (if I'm not missing something :sweat_smile:) and not when the resource wasn't found within that strategy. Is that your case?

when :ldap_authenticatable give a block to valid_for_authentication and the block return false, the resource is not nil (you always get something from ldap), the validate function will call fail! and prevent the next auth-strategies.

when :ldap_authenticatable give a block to valid_for_authentication and the block return false, the resource is not nil (you always get something from ldap)

Do you know why the block returns false? Also, does it make sense to always get a resource if nothing was found for the given credentials?
I don't know the ldap strategy, so that's why I'm asking. It seems to me that if the resource is valid the block should return true, and if the resource doesn't exist it should be nil.

It seems to me that if the resource is valid the block should return true, and if the resource doesn't exist it should be nil.

This is the convention? If so, it seems good enough, I will open a issue in :ldap_authenticatable and close this issue, thanks.

I wouldn't say that it's the convention, but it seems reasonable in my opinion. I'm not sure if the strategy has a good reason not to do it, so I think it's good to open an issue there and discuss it.

Hey @Sora233, did you opened an issue in the other gem? Is there something we can do here yet?

I'm closing this issue because it had no recent activity.
If you're still facing this on the latest version, please open a new one with all the information requested in the template.
Thank you!


Add footer section

i added newly style footer section on the CryptoTracker.
Dark Mode:

Light Mode:

please use labels gssoc-ext, hacktoberfest, level no.

i added newly style footer section on the CryptoTracker. Dark Mode:  Light Mode:
please use labels gssoc-ext, hacktoberfest, level no.

Meta information of light mode should be in black colour do it ..

@vanshchauhan21, I have updated the footer meta color in light mode and have already raised PR #33. Please merge it.
Dear mentor @vanshchauhan21, I have a doubt. I watched a video where the GSSoC manager mentioned that contributors should request the project mentor to provide proper labels and levels; otherwise, no points will be awarded on the leaderboard. Could you please specify the level and labels
like below

Thank you

please see the policy:


chore(deps): bump google-github-actions/auth from 2.1.5 to 2.1.6

Rationale
Like #222, but will actually run the PR checks
Changes
Bumps google-github-actions/auth from 2.1.5 to 2.1.6.

Release notes
Changelog
Commits

updated-dependencies:

dependency-name: google-github-actions/auth dependency-type: direct:production update-type: version-update:semver-patch ...

Checklist

[ ] This PR maintains parity between Docker Compose and Helm

Testing

This has been fixed on the release branch, so I think we can silence this for now.
PR Here

Closing as it is already fixed.


PreferenceLoader via simject?

Hi there!
So far Simject is working great, but is there a way to include Preference bundles?
I tried compiling preferenceloader but that is failing for me (you had more luck). Even if it was working, I have no idea how/ where to to place the .bundle files in the simulator device.
Can you guide me in the right direction?
Thanks!

Any news on this topic? I have the same problem...

Definitely would want this

Would this add a section in settings for the tweak?


Rewrite model compiler

Currently, there are some bad designs in the model compiler. We should come up with a new design.

Done.


Using this without the Google Sheet?

Is there a way to use this without the Google Sheet? Maybe via Python?

Not at the moment. You can literally lift-and-shift the JavaScript code to any other environment, dropping all "sheet" related references. You can also find a no-longer-supported version in the v1 branch of FeedGen, where we had everything running in a Colab notebook with Python instead of JavaScript.


Pulling correct Magic Type / Redwood.js Integration

✅ Prerequisites

[x] Did you perform a cursory search of open issues? Is this question already asked elsewhere?
[x] Are you reporting to the correct repository (magic-sdk)?

❓ Question
Best Method to pull types for Magic Client (New ...
I have been working on the auth implementation of magic links for Redwood.js!
We have most of the implementation done but i could not find an easy way to pull the client type into the auth wrapper.
is there a simpler type than
SDKBase<MagicSDKAdditionalConfiguration<string, any>> & {
    [x: string]: Pick<Extension<string>, never>;
}

if you wanted to quickly look through the pull request and check that i have implemented it all properly please do! I would love some insight. Pull request - here
Thanks

Hey, thanks for opening an issue. You're right, we need to export a type alias for the constructor (we wrap our base constructors with some pretty complex typings to enable our extension architecture). I've left a comment on your PR with an interim solution, let me know how that works!

I have a proposed fix in #92. I'll post another update once it passes testing and releases.

Typings fix landed in v1.3.4. Please re-open this issue if you notice an lingering bugs!

:rocket: Issue was released in<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>:rocket:

:rocket: Issue was released in<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>:rocket:


[WIP] Restrict ModManagement commands to moderation channels

Closes:  #535
This PR add an extra check in_channel_check(ctx, *constants.MODERATION_CHANNELS) to cog_check. This conditon will pass only if the channel belongs to the list of moderation channels.

I wasn't able to test it and need some help with that.

@atmishra If you need help don't hesitate to leave your question in the #meta channel on Discord.

@MarkKoz Thanks! Will post my queries there.

I tested this manually by calling the !infractions command. I found an issue, in_channel_check just takes a single channel and I am trying to pass a list of channels to it in my PR. Should I modify the in_channel_check implementation to support list of channels or just loop over different channels and call this method for each of them?

Preferably modify in_channel_check. There are also unit tests for this that would need to be adjusted/added. Also there is no need for a loop because the in operator can be used.

I have done the changes required. I also did manual testing and this works as expected.


Estimate error rate

Rather than passing the error rate in as a parameter, we should estimate it. This is a low priority issue, and just putting it here so we remember later.

Some estimation is done - in the estimate_parameters.cpp script, if the coverage is sufficiently high, we fit a curve to the kmer coverage distribution and work from that.

ooo ok. We should chat about this when you're in Cam next as this could be useful for some stuff in local assembly potentially.

Fix complication with compare situation - maybe not all the read datasets will have the same error rate.