Maya: add option to stripe shader assignment for setdress family

Changelog Description
This PR is to add support to exclude shaders assignment when publishing the scene with setdress family
Additional info
Update the maya addon to 0.2.5
You can set the setdress settings in ayon setting

Testing notes:

Create setdress and families such as mayascene and layout

In setdress, you can choose whether you want to include shader

Publish

Should be published successfully

Check published setdress scene, the scene should be without shader assignment if the shader option is turned off.

Check the published scene from mayascene/layout family, the scene should be published with shader assignment

Didn't test it, but changes look good to me.
It's good to note that whenever you load a maya scene that was exported with shader=False I vaguely recall that maya will make them green by default because they will have no shader assigned at all instead of defaulting to just getting a default shader assigned - but that may be different these days in Maya 2024+ era.

Can we do anything about it? I would def rather having standardSurface1 assigned when shaders stripped...
What you think guys?

Didn't test it, but changes look good to me.
It's good to note that whenever you load a maya scene that was exported with shader=False I vaguely recall that maya will make them green by default because they will have no shader assigned at all instead of defaulting to just getting a default shader assigned - but that may be different these days in Maya 2024+ era.

Can we do anything about it? I would def rather having standardSurface1 assigned when shaders stripped...
What you think guys?

we can do it either during loading scene with the setdress family (with an option) or somehow"editing" the published scene to assign the default shader. @BigRoy and @antirotor any thought?

we can do it either during loading scene with the setdress family (with an option) or somehow"editing" the published scene to assign the default shader. @BigRoy and @antirotor any thought?

The model publish does this as well on extract to temporarily assign the default shader. See here. That would suffice.
But as said, please first confirm the shaders=False flag actually still acting like that when loading in the meshes. Do they turn green still? This may have been an issue back in Maya 8.5 or whatever which has (potentially?) been solved along the way?

By the way, I noticed this is "sponsored" which means this is likely a client request. If they ALWAYS want no shaders then it may also be worth it to expose the default value to settings so the default value can be customized for that studio?

But as said, please first confirm the shaders=False flag actually still acting like that when loading in the meshes. Do they turn green still? This may have been an issue back in Maya 8.5 or whatever which has (potentially?) been solved along the way?

I tested with 2025 and 2023, they dont turn green anymore and they are assigned by default shader(lambert1).
Not sure about the version elder than 2023.

I tested with 2025 and 2023, they dont turn green anymore and they are assigned by default shader(lambert1).
Not sure about the version elder than 2023.

I gave this a quick go. But it unfortunately still does - when the original shader that was applied was NOT the default shader.

I tested with file -exportSelected -shader 0 -type mayaAscii "E:/test.ma"
It seems that shader=False means, do not include the shader in the export.

I tested with 2025 and 2023, they dont turn green anymore and they are assigned by default shader(lambert1).
Not sure about the version elder than 2023.

I gave this a quick go. But it unfortunately still does - when the original shader that was applied was NOT the default shader.

I tested with file -exportSelected -shader 0 -type mayaAscii "E:/test.ma"
It seems that shader=False means, do not include the shader in the export. But if it contains the default shader assignment - it still assigns it:
connectAttr "pCubeShape1.iog" ":initialShadingGroup.dsm" -na;

But if it had a different shader assign on export, that line is gone and thus on load it doesn't understand it should receive a shader - turning the default maya "I do not have a shader"-green.

Which means we need to assign the default one first by using contextlib and then cmds.file.

Does it mean we need to assign the default one first by using contextlib and then cmds.file?

The workaround for it then would still be doing what we're doing in the model extractor here, yes.


Particles2D performance degradation w/ AMD GPUs

Operating system or device, Godot version, GPU Model and driver (if graphics related):
3.0, Nov 27th compiled
Issue description:
When using the Particles2D node there is significant performance degradation, but only when using a AMD GPU.

Card
Particle Information

RX 480 4GB OC
40 balls (800 particles) before fps degradation

GTX 950
900 balls (18000 particles) before fps degradation

R9 380
No actual numbers yet, but confirmed similar to RX 480

A facebook discussion thread how this issue arose
This issue cannot be replicated on a GTX 950, or 1060.
--

"fps degradation" = when gameplay becomes extremely choppy / screen tearing, etc

Below is a Particle2d Fireball Tester, to help showcase the issue:
Particle Fireball Tester.zip

I don't think the problem here is in the shader itself, but probably is related to the OpenGL driver.
Not really sure how I would approach debugging or profiling it (and AMD has no OpenGL profiling tools)..

OS and graphics card versions used (including mesa version if apply)?

Sorry @eon-s, Windows 7, 64-bit
@reduz  I just found this: https://github.com/GPUOpen-Tools/CodeXL, would be something that could help?

If it helps in debugging, for me it's 960 balls / 19200 particles before it drops down to 55 FPS from 60 FPS. Manjaro Linux 64 bit, AMD RX 480 8GB on Mesa 17.2.5.

@beniwtv Thank you sir. Seems like Windows specific then.  Driver version 17.11.1

macOS 10.13.1 - AMD FirePro D300 (R9-270x) 2 GB: drops below 60 fps at 160 balls, drops below 30 at 310 balls, drops below 15 at 650.

OpenGL Profiler stats

GL Function
# of Calls
Total Time (usec)
Avg Time (usec)
% GL Time
% App Time

CGLFlushDrawable
18.560
9104438
490.54
2.23
1.74

glActiveTexture
6.069.450
277057
0.05
0.07
0.05

glBeginTransformFeedback
2.876.961
1383611
0.48
0.34
0.26

glBindBuffer
14.758.620
986645
0.07
0.24
0.19

glBindBufferBase
5.883.846
2978691
0.51
0.73
0.57

glBindFramebuffer
111.363
45493
0.41
0.01
0.01

glBindTexture
6.050.888
741977
0.12
0.18
0.14

glBindVertexArray
17.525.181
4423013
0.25
1.09
0.84

glBlendEquation
111.363
9567
0.09
0.00
0.00

glBlendFunc
111.363
10811
0.10
0.00
0.00

glBufferData
39.241
80345
2.05
0.02
0.02

glBufferSubData
74.242
67636
0.91
0.02
0.01

glClear
18.561
68670
3.70
0.02
0.01

glClearColor
18.561
11761
0.63
0.00
0.00

glColorMask
37.122
3410
0.09
0.00
0.00

glDisable
352.650
33641
0.10
0.01
0.01

glDrawArrays
3.600.676
22026926
6.12
5.40
4.20

glDrawArraysInstanced
5.611.216
15122454
2.70
3.71
2.88

glEnable
111.363
13098
0.12
0.00
0.00

glEnableVertexAttribArray
28.068.800
771868
0.03
0.19
0.15

glEndTransformFeedback
2.876.962
335866628
116.74
82.41
64.07

glGenBuffers
530
112
0.21
0.00
0.00

glGenVertexArrays
530
67
0.13
0.00
0.00

glUniform1f
17.261.766
1264353
0.07
0.31
0.24

glUniform1i
18.857.967
3653333
0.19
0.90
0.70

glUniform1ui
5.753.922
556942
0.10
0.14
0.11

glUniform2fv
2.932.738
302165
0.10
0.07
0.06

glUniform4fv
10.357.006
1219177
0.12
0.30
0.23

glUniformMatrix4fv
20.584.753
1834733
0.09
0.45
0.35

glUseProgram
5.902.598
2836861
0.48
0.70
0.54

glVertexAttrib4fARB
3.656.455
133496
0.04
0.03
0.03

glVertexAttribDivisorARB
28.056.080
606506
0.02
0.15
0.12

glVertexAttribPointer
28.068.800
1104383
0.04
0.27
0.21

glViewport
74.242
10808
0.15
0.00
0.00

Seems like on AMD, transform feedback has a higher cost.. but not per se (i
can still transform millions of particles) but on the call itself..
On Nov 27, 2017 3:45 PM, "bruvzg"<EMAIL_ADDRESS>wrote:

macOS 10.13.1 - AMD FirePro D300 (R9-270x) 2 GB: drops below 60 fps at 160
balls, drops below 30 at 310 balls, drops below 15 at 650.
OpenGL Profiler stats
GL Function # of Calls Total Time (usec) Avg Time (usec) % GL Time % App
Time
CGLFlushDrawable 18.560 9104438 490.54 2.23 1.74
glActiveTexture 6.069.450 277057 0.05 0.07 0.05
glBeginTransformFeedback 2.876.961 1383611 0.48 0.34 0.26
glBindBuffer 14.758.620 986645 0.07 0.24 0.19
glBindBufferBase 5.883.846 2978691 0.51 0.73 0.57
glBindFramebuffer<PHONE_NUMBER>3 0.41 0.01 0.01
glBindTexture 6.050.888 741977 0.12 0.18 0.14
glBindVertexArray 17.525.181 4423013 0.25 1.09 0.84
glBlendEquation<PHONE_NUMBER> 0.09 0.00 0.00
glBlendFunc<PHONE_NUMBER>1 0.10 0.00 0.00
glBufferData 39.241 80345 2.05 0.02 0.02
glBufferSubData 74.242 67636 0.91 0.02 0.01
glClear 18.561 68670 3.70 0.02 0.01
glClearColor 18.561 11761 0.63 0.00 0.00
glColorMask 37.122 3410 0.09 0.00 0.00
glDisable<PHONE_NUMBER>1 0.10 0.01 0.01
glDrawArrays 3.600.676 22026926 6.12 5.40 4.20
glDrawArraysInstanced 5.611.216 15122454 2.70 3.71 2.88
glEnable<PHONE_NUMBER>8 0.12 0.00 0.00
glEnableVertexAttribArray 28.068.800 771868 0.03 0.19 0.15
glEndTransformFeedback 2.876.962 335866628 116.74 82.41 64.07
glGenBuffers 530 112 0.21 0.00 0.00
glGenVertexArrays 530 67 0.13 0.00 0.00
glUniform1f 17.261.766 1264353 0.07 0.31 0.24
glUniform1i 18.857.967 3653333 0.19 0.90 0.70
glUniform1ui 5.753.922 556942 0.10 0.14 0.11
glUniform2fv 2.932.738 302165 0.10 0.07 0.06
glUniform4fv 10.357.006 1219177 0.12 0.30 0.23
glUniformMatrix4fv 20.584.753 1834733 0.09 0.45 0.35
glUseProgram 5.902.598 2836861 0.48 0.70 0.54
glVertexAttrib4fARB 3.656.455 133496 0.04 0.03 0.03
glVertexAttribDivisorARB 28.056.080 606506 0.02 0.15 0.12
glVertexAttribPointer 28.068.800 1104383 0.04 0.27 0.21
glViewport 74.242 10808 0.15 0.00 0.00
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/13345#issuecomment-347283156,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF-Z2-wVgbPT1V8sCb1O7GfMHHdEhcTxks5s6wMagaJpZM4Qr-1j
.

AMD A-10 with Radeon R5 on Ubuntu (X11) drops a bit under 60fps at 140~160 balls (~3000 particles), reaches 50-53fps at 200 (4000).

I guess this all this compose the amdgpu driver:
Gallium 0.4 on AMD CARRIZO (DRM 3.9.0 / 4.10.0-40-generic, LLVM 4.0.0)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 17.1.8

System hangs running unreal projects from the editor too, that may be a Mesa issue.
Trying to test on windows too if that thing decides to finish the updates one day.

Ok, windows 10 64, same system (R5), driver ver. 16.6
100 balls (2000 particles) and drops below 60, between 53 and 59 fps.
A lot worse if the scene with the particle node is open in the editor.
Something else, process time goes from 0.017 to 0.034 according to the monitor, spikes of 0.066 idle time on the profiler, when framerate starts to drop.

Ok, windows 10 64, same system (R5), driver ver. 16.6
100 balls (2000 particles) and drops below 60, between 53 and 59 fps.

I am on Windows 7 64-bit, AMD driver 17.11.1 with the RX 480 and can only achieve 50 balls before fps goes below 60. Should I try my test on Windows 10?

If it helps in debugging, for me it's 960 balls / 19200 particles before it drops down to 55 FPS from 60 FPS. Manjaro Linux 64 bit, AMD RX 480 8GB on Mesa 17.2.5.

This makes me believe it's a Windows only issue. Because I can only achieve 50 balls before it drops down below 60 fps. You are on Manjaro and achieving over 960..
Now I want to know if it's Windows 7 specific... if anyone has a RX 480 equivalent on Windows 10 could they tell me how many balls they achieve before fps degradation? If not, it's okay, will probably upgrade to W10 later this evening

Tested it on the same machine under linux (AMD FirePro D300 aka R9-270x Pitcairn - 2 GB):
Max. nr. of balls:

OS
Driver
60fps
30fps
15fps

Ubuntu 17.10 x64
DRM 2.50.0, 4.13.0-17-generic, LLVM 5.0.0, Mesa 17.2.2
630
1210
4270

macOS 10.13.1
1.5.8
160
310
650

Windows 10 x64
17.10.3101.1006 WHQL
140
280
560


QSTAG dev

Computes (non-filtered) episodes.
Creates a simple QSTAG.
Plus a method to draw the graph as a .png file.
Possible issues include the number of objects associated with each QSR.

Great. Thanks. I will have a look, or probably do it together at some point. Might close the PR for now as any push commits will trigger a new build test on jenkins server.

OK @PDuckworth I will close it so that not to be triggering any jenkins tests, cause there are some things that need changing before being made a PR.
I will explain to you in person how we can do this if I need to make any changes myself (basically same as here except that I do the PR on your repo/branch).


Fix action toggling between service owner and collaborators and other issue fixes. - [merged]

In GitLab by @wknet123 on Oct 2, 2020, 08:41
Merges dev-fix-gitlab -> dev

In GitLab by @wknet123 on Oct 2, 2020, 09:22
mentioned in commit d80670b5e4b6426d27a1ab1b869b2b9de75ed068

In GitLab by @wknet123 on Oct 2, 2020, 09:22
merged


Create gcr.io image for Fluentd to Cloud Logging

Prepare a gcr.io image for the Fluentd to Cloud Logging agent.

lgtm


Can I somehow disable remote requests?

I want to create fixtures on my local machine, and do not create them on CI server (use saved fixtures from repo). So, basically I want to disable recording during CI run. Is it possible now?

Currently, there is no way to disable recording of fixtures. We could probably add an option like preventRecording which you can enable based on the CI environment variables:
eightTrack({
  url: 'http://localhost:1337',
  fixtureDir: 'fixtures/',
  // Coerce TRAVIS environment flag to boolean (e.g. "true" -> `true`, "" -> `false`)
  preventRecording: !!process.env.TRAVIS
});

This would emit errors on localReq as we do with any file-system related errors:
https://github.com/uber/eight-track/blob/2.1.0/lib/eight-track.js#L218-L219

This feature will likely be built on my fork of eight-track (nine-track):
https://github.com/twolfson/nine-track
I will take a look at implementing it by the end of this weekend.

@twolfson ok, thanks, will move to your fork then

preventRecording has been added in<EMAIL_ADDRESS>

@twolfson works great, thank you


 styling fix

Styling was not being implemented unless the structure was
<small>
    <element class="small"></element>
</small>

Thanks for your contribution to Foundation Emails.


[Launcher] Slight freeze when retrieving a file from OneDrive

based on msi (21 April) commit 064d638
There is a slight freeze after I hit enter to open a file from OneDrive. I can see OneDrive is syncing during this time.

@jyuwono can you attach a gif?  It sounds like this might be beyond the scope of the launcher.

@ryanbodrug-microsoft added a GIF in the first post above

It'd be great if we can look at this for Build, but it may be v1 early issue that we need to tackle


12.12.16778

I try to run the install for the trainer, but it gives me this message "Unable to compile trainer for version <IP_ADDRESS>78."

yeah, i had the same issue about that

when is the issue going to be fixed?

I am still having that pronlem :(

I guess we just wait until there is like a patch or update or something like that.

I will leave the post open until it is fixed or if I find a solution

i feel like all 3 of us have the same reason we care about this particular version of the game

This that bug still there?

I do not plan to support those old versions.
master branch can build against EFT <IP_ADDRESS>28 (tested with spt-aki Version 3.2.2). If you are looking for another version, see branches and releases.
If the version is not listed (and old), then I will not support it.


Token race condition?

Cesium for Unreal seems to (sometimes) use the wrong access token for the assets created through the Cesium ion UI.
I saw this while investigating https://community.cesium.com/t/vricon-3dtilesets-are-not-appearing-in-ue4-scene-editor/15277. I started out logged in to my personal ion account, which doesn't have access to the tilesets mentioned. So I clicked the Sign Out button, then "Connect to Cesium ion", then in the web browser I switched to a different ion account that did have access, hit Authorize, and switched back to Unreal. So far so good.
Then I navigated to a Vricon dataset in the Cesium ion Assets panel and added it and got a 404 error. Weird. I copied down the key that the UI had assigned to the Tileset, and then in the ion web UI I confirmed that this was not the right key for the new account. In fact, it was the key for my personal account that I had just signed out of.
So I signed out again, signed back in, re-added the dataset... and this time it worked fine. In fact, I haven't been able to reproduce the problem since.
Which reminded me that I saw a similar problem awhile ago. In that case, I was adding a new Imagery dataset as a raster overlay, and the UI didn't assign it a token at all (it was just blank). That time, too, just trying again fixed it.
So I'm not sure exactly what's going on here, but it's pretty clear that something is wrong with the token management.

This may be something that will be solved "implicitly" (but should dedicatedly be checked) when https://github.com/CesiumGS/cesium-unreal/issues/598 is addressed.

For what it's worth, I'm actually not able to view Vricon datasets in Cesium for Unreal either. Tested with a few different cities, and I'm positive they're using the right token, because I created a token specifically for access to a Vricon dataset and copied it straight in. Always results in errors like:
LogCesium: Error: [2021-09-16 16:48:28.794] [error] [Tileset.cpp:158] Received status code 401 for asset response https://api.cesium.com/v1/assets/97228/endpoint
LogCesium: Loading tileset for asset ID 97228
LogCesium: Loading tileset for asset ID 97228 done
LogCesium: Error: [2021-09-16 16:48:33.080] [error] [Tileset.cpp:158] Received status code 404 for asset response https://api.cesium.com/v1/assets/97228/endpoint?access_token=[token]

I did try signing out and back in.

@mramato pointed out on Slack that these Vricon datasets are forbidden from use outside of Cesium ion / Cesium Stories, and that ion enforces that. I believe the key mixup issue described here is still a thing, though.


New package: DBCDatasus v1.0.0

Registering package: DBCDatasus
Repository: https://github.com/lego-yaw/DBCDatasus.jl
Created by: @lego-yaw
Version: v1.0.0
Commit: d7ad8717fe20a38776281afc3a3f4aac38dc31eb
Reviewed by: @lego-yaw
Reference: https://github.com/lego-yaw/DBCDatasus.jl/issues/14
Description: Julia Package for reading DBC (.dbc) files from DATASUS into data frame tables

@goerz

@goerz , I haven't still got merge permission yet, is anything wrong with the package?

[noblock] The three-day waiting period has not elapsed yet, and your own comments are blocking the merge. You have to edit them to contain [noblock]. See the instructions from the bot


StreamSubscription.cancel() not working

StreamSubscription.cancel() not working
Something like `{type: unknown, payload: {type: ka}}` keeps getting printed in my console even after cancelling the StreamSubscription.

To Reproduce
Steps to reproduce the behaviour:

Start Subscription  {type: unknown, payload: {type: ka}} keeps getting printed in console
Put StreamSubscription to global variable
Cancel Subscription
{type: unknown, payload: {type: ka}} still keeps getting printed in console

Expected behaviour
Subscription should stop on cancel()

System Details

OS: Ubuntu
Version: 17.10

Device Details:

Device: Mi A1
OS: Android Oreo
Version: 8.1.0

Complete Code
Data is fetched perfectly, but I don't want unwanted connections remaining with my server, when not needed (even after cancelling the subscription).
Below is the complete code to refer:
class LveScreenState extends State<LveScreen> {
  String operationName = 'operationName';
  StreamSubscription streamSubscription;

  List patients = [];

  String query = '';

  void initSocket() async {
    query = """
      subscription $operationName {
        patient(limit:2, order_by:id_desc) {
          name
          email
        }
      }
    """
        .replaceAll('\n', ' ');

    SocketClient socketClient =
        await SocketClient.connect('ws://some.ip.address:8080/v1alpha1/graphql');
    streamSubscription = socketClient
        .subscribe(SubscriptionRequest(operationName, query, {}))
        .listen((subData) {
      setState(() {
        this.patients = subData.toJson()['data']['patient'];
        print('patients: $patients');
      });
    });
  }

  @override
  void initState() {
    super.initState();
    this.initSocket();
  }

  Future<bool> cancelSubs() async {
    await streamSubscription.cancel();
    return true;
  }

  @override
  Widget build(BuildContext context) {
    return WillPopScope(
      child: new Scaffold(
        appBar: new AppBar(
          title: new Text('Homepage'),
        ),
        body: ListView.builder(
          itemBuilder: (context, i) {
            return ListTile(
              title: Text(patients[i]['name']),
              subtitle: Text(patients[i]['email']),
            );
          },
          itemCount: patients.length,
        ),
      ),
      onWillPop: () => cancelSubs(),
    );
  }
}

Fixed with #147


Pinned to djangocms-attributes-field v0.1.0

👍  if ok for tests to fail?

Could #245 also be considered for 1.1.2?

@yakky, @czpython please review again.

Rebased.

LGTM


Vstancer conflicts with NativeUI

Hello,
Hoping someone can help out, I just installed this vstancer into my server but I also had a custom NativeUI menu in lua that I made and installed on my server.  The NativeUI menu worked perfect but once I installed the vstancer, my menu no longer appears.  If I remove vstancer it will work again but once I add it back the menu will no longer show up.  The menu is set to open with F7 but I also tried different keys.  I am suspecting that something with MenuAPI is conflicting with NativeUI.  Is this possible and is there a way to work around it/
Thank you

Thanks for reporting it, I will look into this.

@nhudtwalcker Which NativeUI version are you using?

@nhudtwalcker Which NativeUI version are you using?

I'm using the version from this Github:
https://github.com/FrazzIe/NativeUILua

@nhudtwalcker Which NativeUI version are you using?

@carmineos I'm using the version from this Github:
https://github.com/FrazzIe/NativeUILua

What I think at the moment is that it's related to disabled control.
VStancer used MenuAPI for the UI and currently MenuAPI disables the control you bind to it as toggle menu control.
So in this case if you are using vstancer with the default control, which is 167, that will be marked as disabled.
Althought I am not sure yet if this behaviour is logically correct and/or if it can be changed (will look in it asap), assuming this is the problem, I think that if your UI library only checks for enabled controls then It will never detect it as pressed/released.
So first of all avoid using multiple UI binded to the same control, and if you really need this to be binded to the same control, try to make your UI also check for disabled controls by replacing
IsControl*(group, control) with IsControl*(group, control) or IsDisabledControl*(group, control)
Example for JustReleased state checks:
replace IsControlJustReleased(0, 167) with IsControlJustReleased(0, 167) or IsDisabledControlJustReleased(0, 167)

I made a PR to MenuAPI https://github.com/TomGrobbe/MenuAPI/pull/27 I will soon update vstancer, meanwhile you could try using the latest artifact from MenuAPI and see this still happens.
Get latest MenuAPI artifact here and replace MenuAPI.dll in vstancer resource with the one from the artifact.

Thank you so much for your time, I will give this a shot and let you know if it works.
Thank you

@nhudtwalcker Has it resolved the issue?

Yes it did!! Thank you so much.


Fix (SidebarLink, ScrollBar): bug fixes

close #412

@asva can we close this one?

Likely outdated.


add imu_pipeline to rolling

Please Add This Package to be indexed in the rosdistro.
Rolling
The source is here:
https://github.com/ros-perception/imu_pipeline/tree/ros2
Checks

[x] All packages have a declared license in the package.xml
[x] This repository has a LICENSE file (NOTE: LICENSE files are within the individual packages - since there are different license for different packages)
[x] This package is expected to build on the submitted rosdistro

Let me check on the package name in the meantime


Addresses #722 Configure continuous integration for iD

Changing the config so that a push to any branch or a PR to staging or release kicks off a build.

This is not what breaks the build. With this in place we'll learn earlier that the build is broken.

I merged this into staging locally at 87ace98904e38c5847a80453abe3e394b1ee4864 and have pushed it.


How to integrate? Need Instructions

I'm not able to get whatever documentation is mentioned to integrate it. Kindly provide some instructions such that I can get started with using this repository.

I'm getting this error

It's not necessary for you to create the README.md file beforehand.
You need to pass in your token. You can check github's docs for more info about secrets.

Thanks I got this.


Difficulties getting column information in when connecting to Oracle databases

Given my database.yml looks like this:
development:
        adapter: jdbc
        driver: oracle.jdbc.OracleDriver
        url: jdbc:oracle:thin:@SOME IP:1521:IDID
        username: sys as sysdba
        password: oracle

And my user.rb model looks like:
class User < MyAppModel
  set_table_name 'user$'

  attr_accessible :name, :password
end

When I try to see the coluns of the "User" model:
irb(main):004:0> User
ActiveRecord::JDBCError: Table USER$ does not exist
	from arjdbc/jdbc/RubyJdbcConnection.java:121:in `columns'
	from /Users/ened/bin/jruby-1.6.0/lib/ruby/gems/1.8/gems/activerecord-jdbc-adapter-1.1.1/lib/arjdbc/oracle/adapter.rb:337:in `columns'
	from /Users/ened/bin/jruby-1.6.0/lib/ruby/gems/1.8/gems/activerecord-3.0.7/lib/active_record/base.rb:680:in `columns'
	from /Users/ened/bin/jruby-1.6.0/lib/ruby/gems/1.8/gems/activerecord-3.0.7/lib/active_record/base.rb:797:in `inspect'
	from /Users/ened/bin/jruby-1.6.0/lib/ruby/1.8/irb.rb:310:in `output_value'
	from /Users/ened/bin/jruby-1.6.0/lib/ruby/1.8/irb.rb:159:in `eval_input'
	from /Users/ened/bin/jruby-1.6.0/lib/ruby/1.8/irb.rb:271:in `signal_status'
	from /Users/ened/bin/jruby-1.6.0/lib/ruby/1.8/irb.rb:155:in `eval_input'
	from org/jruby/RubyKernel.java:1417:in `loop'
	from org/jruby/RubyKernel.java:1190:in `catch'
	from /Users/ened/bin/jruby-1.6.0/lib/ruby/1.8/irb.rb:154:in `eval_input'
	from /Users/ened/bin/jruby-1.6.0/lib/ruby/1.8/irb.rb:71:in `start'
	from org/jruby/RubyKernel.java:1190:in `catch'
	from /Users/ened/bin/jruby-1.6.0/lib/ruby/1.8/irb.rb:70:in `start'
	from /Users/ened/bin/jruby-1.6.0/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/commands/console.rb:44:in `start'
	from /Users/ened/bin/jruby-1.6.0/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/commands/console.rb:8:in `start'
	from /Users/ened/bin/jruby-1.6.0/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/commands.rb:23:in `(root)'
	from org/jruby/RubyKernel.java:1037:in `require'

And the same if I change "set_table_name" to "all_users".
But when I try to issue statements:
irb(main):005:0> User.connection.execute 'select user from dual'
=> [{"user"=>"SYS"}]

irb(main):006:0> User.connection.execute 'select count(*) from all_users'
=> [{"count(*)"=>"38"}]

So I could see data.
Are there any known problems with Oracle and or these special tables?
Thanks a lot,
Sebastian

I'm having a similar issues with database views. Seems like the SQL generated from from arjdbc/jdbc/RubyJdbcConnection.java:121:in columns'` which is a necessary call for almost any ActiveRecord feature to work, explicitly specifies tables.
I'm using the oracle adapter and am not even sure if column information is available for views rather than tables.

In case anyone else comes across this issue, I've come up with this monkey patch to get activerecord to query an oracle view. https://gist.github.com/1667390


Dreambooth

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


[Tool] Improve flutter build output

Work

[x] Make the Windows build print the build duration in seconds
[ ] Make Windows builds print the build output path & size
[ ] Make web builds print the build output path & size

Use case
Building a Flutter app creates a bunch of files and directories in the build directory. Currently, it is difficult to find the build output on web and Windows.
The console output for building an APK contains the APK path:
> flutter build apk

💪 Building with sound null safety 💪

Running Gradle task 'assembleRelease'...                           74.0s
✓  Built build\app\outputs\flutter-apk\app-release.apk (19.8MB).

However, the console output for building a Windows or web app does not:
> flutter build windows

💪 Building with sound null safety 💪

Building Windows application...

> flutter build web

💪 Building with sound null safety 💪

Compiling lib\main.dart for the Web...                             25.1s

Proposal

Make the Windows build print the build duration in seconds
Make the Windows and web builds print the build output path & size

Example:
> flutter build windows

💪 Building with sound null safety 💪

Building Windows application...                             99.9s
✓  Built build\windows\runner\Release\app.exe (19.8MB).

> flutter build web

💪 Building with sound null safety 💪

Compiling lib\main.dart for the Web...                             25.1s
✓  Built build\web\main.dart.js (19.8MB).

/cc @christopherfujino

@christopherfujino That was the first step, but this issue also covers printing the build output path & size on Windows and web builds. I added a checklist at the top of the issue to make remaining work clearer :)


Added more jet types

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (7d98b13) 82.53% compared to head (fc6e95b) 82.53%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main      #28   +/-   ##
=======================================
  Coverage   82.53%   82.53%
=======================================
  Files          14       14
  Lines         750      750
=======================================
  Hits          619      619
  Misses        131      131

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


zh-CN re-support and zh-TW addon?

Can you readd back zh-CN with addition of zh-TW? I plan to do the entire KCV to "Real" multilingual, including app title, app desc, etc.

You're free to submit PRs with fully translated XML sets. Upon checking them I'll see about granting you direct push access to this repository.
User interface translations are stored in the resource files in the main KCV repository.

Meanwhile, I found out not all strings are Japanese as of original. For example Title is 提督業は忙しい instead of KanColleViewer, and other un-Japanese localized strings when I choose language Japanese. This is due to what problem?

Some features are exclusive to Zharay's fork and do not exist in the original Japanese source code.
Window title itself is currently hard-coded.

Master translation files are Resources.xml and "Translate/" ?

I'm not quite following. The project has neither a file named Resources.xml nor a directory named Translate.

oh I mean here https://github.com/KCV-Localisation/KanColleViewer-Translations and https://github.com/Yuubari/KanColleViewer/tree/master/Grabacr07.KanColleViewer/Properties
*should be resources.resx

Resources.resx defines the default locale (ja-JP).
There are no master files for ship/equipment/etc. translations; the English translation which is at the top level is the most updated (I add new ship and equipment lines right after the update; quests are added whenever someone with my KCV build encounters a new one).


WIP: Experimental support for kustomize in kpt

Consider this a placeholder for evolving the experience for kustomize
users and packages in kpt.  I started with the absolute minimum, which
is to make kpt render behave similarly to kustomize build.
Feature-flagged behind exporting an env var: KPT_EXPERIMENTS=render

Let's figure out what a more complete integration looks like here :-)
cc @frankfarzan @mortent @mikebz @phanimarupaka @monopole @seans3

This is not aligned with the planned roadmap in kpt. Spirit of this work should be tracked as design proposal instead.

Can we discuss in the community meeting?


Summary stats

On frontpage please include a summary stats of following:
This will need to update data model:
Total number of projects with contextual information
Total number of projects with payment records
Total number of projects with both (verified) project.
Total value (sum) of payment records in USD
Total value (sum) of payment records in BBL
Total value (sum) of payment records in GBP

moved to #114


Fixed build issues with the IO template device

Also set the default connected state to true for convenience
GearVRf-DCO-1.0-Signed-off-by: Rahul Rudradevan
<EMAIL_ADDRESS>

Looks good. If there are no comments will merge after lunch.


Document equivalent/similar functionality for Postgres extensions

On a regular frequency customers ask which Postgres extensions are supported in CockroachDB.  Today create extensions is a no-op, but for customers migrating from Postgres their app may depend on functionality from these extensions.  Postgis is an obvious one that we support now in 20.2.  But there are others where similar functionality can be found with the uuid-ossp extension and the UUID data type for CockroachDB.   ps_stat_statements comes up to and most of the metrics are already in our statements page.  It would be good to have a docs page that outlines this so customers can figure out what they adopt or where they may have a loss of functionality.
Here are Postgres extension that comes with the Postgres source code: https://www.postgresql.org/docs/9.5/contrib.html and there's more out in the wild: https://www.postgresql.org/download/products/6-postgresql-extensions/

@ericharmeling this may give you a jump start on the docs page.  A fellow SE wrote this up.
PostGIS - PostGIS is a spatial database extender for PostgreSQL object-relational database. It adds support for geographic objects allowing location queries to be run in SQL.
In 20.2 we now support spatial indexes which should fill this requirement
Btree_gist - btree_gist provides GiST index operator classes that implement B-tree equivalent behavior for the data types int2, int4, int8, float4, float8, numeric, timestamp with time zone, timestamp without time zone, time with time zone, time without time zone, date, interval, oid, money, char, varchar, text, bytea, bit, varbit, macaddr, macaddr8, inet, cidr, uuid, and all enum types.
CockroachDB has built its own cost based optimizer. This means there are some constructs already built in to cockroach that could mean this extension is not required. Features such as Secondary indexes, partial indexes, inverted indexes, hash sharded indexes etc
fuzzymatch - The fuzzystrmatch module provides several functions to determine similarities and distance between strings.
Fuzzy-matching is not built into CockroachDB as of yet. There are a number of ways to accomplish this with traditional SQL or using the application to achieve this.
pgcrypto  - The pgcrypto module provides cryptographic functions for PostgreSQL.
It appears some functions exists in CRDB but not all in the extension.
pg_stat_statements - The pg_stat_statements module provides a means for tracking planning and execution statistics of all SQL statements executed by a server.
Most of the items here can be found in the Statements page of DB Console, plus more
Pg_trgm - The pg_trgm module provides functions and operators for determining the similarity of alphanumeric text based on trigram matching, as well as index operator classes that support fast searching for similar strings.
Not supported but here's is a workaround without the extension - https://www.cockroachlabs.com/blog/full-text-indexing-search/
Plpgsql - PL SQL support - https://www.postgresql.org/docs/9.6/plpgsql.html
Not supported today
Uuid-ossp - The uuid-ossp module provides functions to generate universally unique identifiers (UUIDs) using one of several standard algorithms. There are also functions to produce certain special UUID constants. This module is only necessary for special requirements beyond what is available in core PostgreSQL. See Section 9.14 for built-in ways to generate UUIDs.
UUID’s are natively supported by CockroachDB

Thanks for compiling all of this info, @chriscasano. This will be massively helpful!

Another extension I came across on a project is postgres_fdw.  This extension allows you to connect two postgres instances and query/join/access the tables across servers.  I think it would be worth noting that: a) we don't support joining a CRDB instance to tables in a Postgres instance, and b) we do support cross database-joins within a CRDB instance.

just want to mention that we do support the levenshtein() function which is one way to do fuzzy matching similar to the fuzzymatch extension.


[Errno 111] Connection refused while embedding in docker

For some reason I have to use ollama (version is 0.3.3) in my docker network and when I add two containers together and embed via ollama.embeddings it shows:
  File "/home/test.py", line 22, in <module>     ollama.embeddings(model='nomic-embed-text', prompt='The sky is blue because of rayleigh scattering')   File "/usr/local/lib/python3.12/site-packages/ollama/_client.py", line 281, in embeddings     return self._request(            ^^^^^^^^^^^^^^   File "/usr/local/lib/python3.12/site-packages/ollama/_client.py", line 70, in _request     response = self._client.request(method, url, **kwargs)                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/local/lib/python3.12/site-packages/httpx/_client.py", line 837, in request     return self.send(request, auth=auth, follow_redirects=follow_redirects)            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/local/lib/python3.12/site-packages/httpx/_client.py", line 926, in send     response = self._send_handling_auth(                ^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/local/lib/python3.12/site-packages/httpx/_client.py", line 954, in _send_handling_auth     response = self._send_handling_redirects(                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/local/lib/python3.12/site-packages/httpx/_client.py", line 991, in _send_handling_redirects     response = self._send_single_request(request)                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/local/lib/python3.12/site-packages/httpx/_client.py", line 1027, in _send_single_request     response = transport.handle_request(request)                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/local/lib/python3.12/site-packages/httpx/_transports/default.py", line 235, in handle_request     with map_httpcore_exceptions():   File "/usr/local/lib/python3.12/contextlib.py", line 158, in __exit__     self.gen.throw(value)   File "/usr/local/lib/python3.12/site-packages/httpx/_transports/default.py", line 89, in map_httpcore_exceptions     raise mapped_exc(message) from exc httpx.ConnectError: [Errno 111] Connection refused
I run my code in docker, the LLM is correct but the embedding module is not. And I guess the error only happened when using ollama in docker network. My solution method is:
  # host = split.hostname or '<IP_ADDRESS>'   host = split.hostname or 'ollama'
Path is '/usr/local/lib/python3.12/site-packages/ollama/_client.py', line 1033.
'ollama' is the container in docker network where the ollama serve is running.

I have to say the method is really ugly. I just want to know if there is better way.

it happens to me when just querying the available models with the /api/tag endpoint:
docker-easyrag  |   File "/home/easyrag/ollama_manager.py", line 17, in is_llm_available docker-easyrag  |     return llm_name in list_available_models() docker-easyrag  |   File "/home/easyrag/ollama_manager.py", line 7, in list_available_models docker-easyrag  |     response = requests.get(url) docker-easyrag  |   File "/usr/local/lib/python3.10/site-packages/requests/api.py", line 73, in get docker-easyrag  |     return request("get", url, params=params, **kwargs) docker-easyrag  |   File "/usr/local/lib/python3.10/site-packages/requests/api.py", line 59, in request docker-easyrag  |     return session.request(method=method, url=url, **kwargs) docker-easyrag  |   File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 589, in request docker-easyrag  |     resp = self.send(prep, **send_kwargs) docker-easyrag  |   File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 703, in send docker-easyrag  |     r = adapter.send(request, **kwargs) docker-easyrag  |   File "/usr/local/lib/python3.10/site-packages/requests/adapters.py", line 700, in send docker-easyrag  |     raise ConnectionError(e, request=request) docker-easyrag  | requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=11434): Max retries exceeded with url: /api/tags (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xffff80d68820>: Failed to establish a new connection: [Errno 111] Connection refused')) docker-easyrag  | <IP_ADDRESS> - - [13/Nov/2024 22:25:00] "POST /streamlit-kill/17 HTTP/1.1" 200 - docker-easyrag  | <IP_ADDRESS> - - [13/Nov/2024 22:25:00] "GET / HTTP/1.1" 200 -
In the source file, I just call the API endpoint as per documentation:
def list_available_models() -> set[str]:     url = "http://localhost:11434/api/tags"     response = requests.get(url)     if response.status_code == 200:         models = response.json()         model_names = {model["name"].split(":")[0] for model in models["models"]}         return model_names     else:         return {}

@ParthSareen I fixed the issue by manually substituting the http://localhost:11434 API call with http://host.docker.internal:11434
This will allow API calls from the Docker container to the shared network with host - where Ollama runs.
You can see the patch within the Dockerfile in my project:
https://github.com/gabripo/easyrag/
... in the commit:
https://github.com/gabripo/easyrag/commit/583803f1e1b3d2801f98dcd7ae391ac3d88c3226
P.S. you can try the package by yourself by building a Docker container and running it with the scripts:
./docker_build.sh && ./docker_run.sh

On top of that I implemented a solution for the case Ollama runs in a container and a dockerized app calls the API, by exploiting the environmental variables to be set with Docker Compsoe, see the commit:
https://github.com/gabripo/easyrag/commit/ff430d4356033b07d673a9bc260bbc07485bea18
... and the source code.

Looked a bit into it - are you currently passing in the URL to       base_url=_parse_host(host or os.getenv('OLLAMA_HOST')), (https://github.com/ollama/ollama-python/blob/dc38fe467585037e02a4bc27a100cf6cb10202ff/ollama/_client.py#L90)?

Closed as stale


Unscoped for associtations replace

Describe the feature
Add the possibility to use Unscoped() when calling Replace() for associations. (delete removed associations instead of set foreign key to null)

Motivation
With gorm we can do that:
db.Model(&model).Unscoped().Association("Directories").Unscoped().Replace(...)

Association are removed instead of setting foreignKey to null.
But with Gorm Gen, it's not possible to call Unscoped() on a request like that:
query.Machine.Directories.Model(&model).Replace(...)

Related Issues
https://github.com/go-gorm/gorm/issues/5899
Appears to have be added in gorm recently: https://github.com/go-gorm/gorm/pull/6246

Is there any plan to do this?


added syntax highlight in README

@dmitrypich Thanks!
Can you sign https://opensource.dropbox.com/cla/, please?

@dmitrypich also, next time please sign your commit with -s option for git commit. Thanks again!

sign cla on site done


NotebookMetadata and CellMetadata should be a classes

For ease of use, esp. when making changes, it's beneficial that metadata types become classes, e.g immutable classes using the with modifier function, like we have it for Range, Position, and URI

related to https://github.com/microsoft/vscode/issues/106746


[Proposal] Generic and Throwing Subscripts

The root of community discussion can be found here.
CC @harlanhaskins

I already have a proposal in on throwing subscripts and properties, but I've been informally told it's been deferred until after Swift 3.

Cool to know we're overlapping on throwing at least.

At this point, we're not accepting additive features to Swift 3 unless there is a really good reason.  I'll leave this PR open until we get into post-Swift 3.

This is mostly overlapping with https://github.com/apple/swift-evolution/pull/218.  We should discuss each of these issues, but I'm going to close this for now.


add: an example on convmixer

This PR adds the ConvMixer architecture that uses standard convolution layers but operates on patches of images. In addition to model implementation, I have included a few visualizations of the patch embeddings and the kernel filters learned during training. I hope those will be beneficial to the community.
A Colab Notebook is available here.

@fchollet a gentle reminder on this one.

@fchollet addressed the comments.

@fchollet done. Ready for you to take over.

Thanks for the great contribution!


Cannot redefine property: prepareStackTrace

I am trying to use AI with loopback application but having trouble starting the application with AI setup. Below is the error trace. I am using nodejs 6.11 and loopback version 3.14. Has anyone encounter issue like this before?
/home/hd/projects/sg/node_modules/applicationinsights/out/AutoCollection/Exceptions.js:33
                        throw error;
                        ^

/home/hd/projects/sg/node_modules/applicationinsights/out/AutoCollection/Exceptions.js:33
                        throw error;
                        ^

TypeError: Cannot redefine property: prepareStackTrace
    at Function.defineProperty (native)
    at Object.<anonymous> (/home/hd/projects/sg/node_modules/stack-chain/stack-chain.js:145:8)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.require (module.js:497:17)
    at Module.patchedRequire [as require] (/home/hd/projects/sg/node_modules/diagnostic-channel/dist/src/patchRequire.js:14:46)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/home/hd/projects/sg/node_modules/stack-chain/index.js:15:41)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)

Thanks for reporting this!
A few questions:
Which version of the applicationinsights package are you using? Is it your first import? Are you able to reproduce this with a small example of sample code?
Thanks!

@OsvaldoRosado I found issue in my own code based on your pointer. Apparently, it wasn't the first require in my application.
Loopback uses server/server.js as first entry point to launch the application and that is where I placed applicationinsight initially. During troubleshooting I realized that to make loopback application run in Azure container, I added app.js which was calling server/server.js. All I had to do was move AI to app.js and things started working fine.
I appreciate your prompt response and help!

Glad you got this working!


Change default PosixIo to use an empty vec for stdin

This PR changes the default PosixIo struct to hook the guest stdin to an empty vector, instead of the current default which is to use the host process stdin. This resolves issue #1016, where it is easy to accidentally cause a difficult to debug hand on the process by forgetting to add an ExectorEnvBuilder::write call, resulting in the executor performing a blocking read on stdin.
Note that if a developer does indeed want the host process stdin to be used as guest stdin, they can accomplish this by calling builder.stdin(std::io::stdin()) while building the ExectorEnv.
Related: #1050
Resolves: #1016

Should we update r0vm to retain its previous behavior? I suppose if no one was relying on it and we don't have any tests that break, perhaps we don't need to worry about it.

@austinabell I spent a bit looking into this, and looking at your PR #1050, and this is the change set I think we should implement. One of the main differences is that the change set in #1050 actually breaks the users ability to override stdin on the ExecutorEnvBuilder because it will unconditionally reset the stdin fd when build() is called.

Should we update r0vm to retain its previous behavior? I suppose if no one was relying on it and we don't have any tests that break, perhaps we don't need to worry about it.

I think this will be the right behavior, and it turns out this behavior is indeed used in one of our tests
https://github.com/risc0/risc0/blob/e461c5d463c117c9b6946d86a1e14d55dddee686/risc0/r0vm/tests/dev_mode.rs#L25-L31
In e461c5d463c117c9b6946d86a1e14d55dddee686, I've gone ahead and made the default input source be the process stdin when running the "cli mode"(not in "server mode").

@austinabell I spent a bit looking into this, and looking at your PR #1050, and this is the change set I think we should implement. One of the main differences is that the change set in #1050 actually breaks the users ability to override stdin on the ExecutorEnvBuilder because it will unconditionally reset the stdin fd when build() is called.

I agree! That's why I was suggesting having the input be Option<Vec<u8>> to avoid ambiguity, or have the constructor be explicit.
This seems to be the same, except that there might be a weird pattern when input is provided and it overwrites the stdin when it expects it for some workflow like in this test. Might be a small foot gun, but also seems like you'd have to try to hit that case


Investigate LaTeX in readthedocs

We should see if it's possible to integrate LaTeX in readthedocs/sphinx. @samuelpmishLLNL has some theory documentation that would use this.

LaTeX is supported natively in Sphinx:
I added some text to one of our Sphinx pages
.. math::

   e^{i\pi} + 1 = 0

...and confirmed that it rendered:

Thanks for checking!


Any example for training an RL agent online or offline?

Thanks for providing such an excellent benchmark environment!
I wonder if it is possible to provide examples of using offline datasets or online environments to train some standard RL agents. It will be very helpful to make users quickly conduct experiments in this benchmark. I know that you provide another repo for the methods you use in the paper, but the training part seems not included.
Thanks!

Hi, thank you for your interest in our work. Since the training code is deeply coupled with company infrastructure and internal codebases, we currently don't have any ETA of releasing them. We will let you know if anything changes.
That being said, because VIMABench follows the Gym API, it still can be easily incorporated into your favorite RL libraries. The only caveat is the running speed. Since each environment step in VIMABench consists of several simulation steps, the low throughput may become a concern if you want to train RL agents in an online manner.
Let me know if you have further questions.


Does this model support fill-in-the-middle?

Fill-in-the-middle can allow the model to make better completions. It would be nice if this model supports it.

Hi @HermitSun, our Magicoder-DS models support infilling, since they are fine-tuned from DeepSeek-Coder which supports infilling natively. For example, if you want to do infilling with Magicoder-S-DS-6.7B, you can refer to deepseek-coder-6.7b's documentation on infilling and encode your prompt in the same way.

Does this model actually performs better than deepseek-coder-6.7b at fill-in-the-middle tasks? seams fill-in-the-middle is not the goal of this model (although it supported)

Hi @erfanium, we found that it could be better at fill-in-the-middle tasks than the base model in some of our follow-up evaluations, but that was small scale and I recommend evaluating both according to your own use cases.


Sprites draw themselves in weird places when the origin isn't (0, 0)

Scribble tries to center in-text sprites that it draws, but if the origin isn't in the upper-left - say, in the center, for example - it doesn't quite know what to do.
[spr_xbox][spr_keyboard]Show Info

where spr_xbox originates at (0, 0) and spr_keyboard originates in the center, you get this:

instead of this:

Thanks for reporting this. Fixed in dev branch.


[Docs] Repo name and value missing for helm installation

I just discovered that the Helm repo name and a value is missing for the helm installation command. :smiley:

Thank you for your pull request. Before we can look at it, you'll need to sign a Contributor License Agreement (CLA).
Please follow instructions at https://icinga.com/company/contributor-agreement to sign the CLA.
After that, please reply here with a comment and we'll verify.
Contributors that have not signed yet: @mainstreamtt

CLA signed

@mainstreamtt Hey, thanks for the PR! We will have a look at it.

@bobapple can you trigger the CLA bot to check again?

CLA has not been signed

CLA has not been signed

Hey
I got a mail that it is signed.
Document ID: bc34ccf2693cff1468dc729c73eb9cc2b9fffd28

@cla-bot check

Thanks again for the fix @mainstreamtt I will go ahead and merge the changes.


Resizing Window makes debug toolbar disappear

Using Windows OS with a large screen

Maximize vscode/insiders window
Start debugging session
Press the maximize/restore WCO button in the top right
=> Floating debug toolbar disappears

Does not only happen for the maximize/restore WCO button
https://github.com/microsoft/vscode/assets/44439583/5bb4c38b-abce-49e6-9c07-cc9ea7c21c42
Possibly the same issue as #207346

Thanks for the issue, I think this may be the same as the perplexing https://github.com/microsoft/vscode/issues/208895


Test state distance

Codecov Report

Merging #548 into master will increase coverage by 0.40%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #548      +/-   ##
==========================================
+ Coverage   90.73%   91.14%   +0.40%
==========================================
  Files          22       22
  Lines        1609     1614       +5
==========================================
+ Hits         1460     1471      +11
+ Misses        149      143       -6

Flag
Coverage Δ

#unittests
91.14% <100.00%> (+0.40%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

lineage/tests/test_StateDistribution.py
97.70% <100.00%> (+0.14%)
:arrow_up:

lineage/states/StateDistributionGaPhs.py
84.61% <0.00%> (+1.70%)
:arrow_up:

lineage/states/StateDistributionGaussian.py
80.00% <0.00%> (+8.88%)
: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 0f6b487...876b69b. Read the comment docs.

Still need to revert the numba removal, but make the overall pdf calculation one larger numba function.


DotNetCore.1.0.0.RC2 surport

I'm working on it in this branch: https://github.com/RehanSaeed/ASP.NET-MVC-Boilerplate/branches/all

Almost there, you can try doing a git clone and testing the master branch if you'd like. I'm planning on adding a framework (.Net Core or Full .Net) feature selector and maybe a runtime (portable, ubuntu. windows10, windows 8, windows7 etc.) feature selector before releasing.

Great work! Looking forward to these great features soon!

On your most recent commits a couple hours ago, I attempted creating a MVC6 project and running into a couple issues:

SyntaxError: config.json: Unexpected token
Fixed by removing a comma on line 19 within the CacheProfileSettings option

1>project.json(6,53): error NU1001: The dependency Boilerplate.AspNetCore >= 1.0.0-rc2-final-0001 could not be resolved.
1>project.json(7,64): error NU1001: The dependency Boilerplate.AspNetCore.TagHelpers >= 1.0.0-rc2-final-0001 could not be resolved.
Were these sub projects supposed to be included in the project creation?

Last question, you said you are adding a framework feature selector, is this hard to do right now manually for .NET 4.6.1 and avoid using Core?
I was wondering if all that needs to be done is change the project.jsons from Microsoft.AspNetCore.* to Microsoft.AspNet.*?
Thanks for the awesome template.

@Huntk23

That's an annoyingly difficult problem to solve. One solution I've been thinking about is a JSON fixer which is run at the end and removes any commas in the wrong place.
I've not published the NuGet packages yet.

As for the target framework feature selector, it would modify the frameworks section of project.json and also remove the #if NET461 pre-processor directives if the full .NET framework is selected. Nothing complicated, just a nice to have and fairly simple to implement..

NuGet packages are published.

You can check the release notes here for info on what is changing.


go cheatsheet

i would like to add a cheatsheet for the go programming language

There's inactivity in your updates, So I have to unassign this task


build(server): Bump node types to latest v18

Bumps server to use the latest v18 node types, 18.19.36. This causes a build break:
packages/services-shared build:compile: src/socketIoServer.ts:318:18 - error TS2769: No overload matches this call.
packages/services-shared build:compile:   Overload 1 of 2, '(intervalId: string | number | Timeout | undefined): void', gave the following error.
packages/services-shared build:compile:     Argument of type 'Timer | undefined' is not assignable to parameter of type 'string | number | Timeout | undefined'.
packages/services-shared build:compile:       Type 'Timer' is not assignable to type 'string | number | Timeout | undefined'.
packages/services-shared build:compile:         Property '[Symbol.dispose]' is missing in type 'Timer' but required in type 'Timeout'.
packages/services-shared build:compile:   Overload 2 of 2, '(id: number | undefined): void', gave the following error.
packages/services-shared build:compile:     Argument of type 'Timer | undefined' is not assignable to parameter of type 'number | undefined'.
packages/services-shared build:compile:       Type 'Timer' is not assignable to type 'number'.
packages/services-shared build:compile: 318    clearInterval(this.pingPongLatencyInterval);
packages/services-shared build:compile:                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
packages/services-shared build:compile:   ../../node_modules/.pnpm/@types+node@18.19.36/node_modules/@types/node/timers.d.ts:76:17
packages/services-shared build:compile:     76                 [Symbol.dispose](): void;
packages/services-shared build:compile:                        ~~~~~~~~~~~~~~~~~~~~~~~~~
packages/services-shared build:compile:     '[Symbol.dispose]' is declared here.
packages/services-shared build:compile: Found 1 error in src/socketIoServer.ts:318
packages/services-shared build:compile: Faile

@tylerbutler I added that type very recently in #21428 because it appeared to be the same as ReturnType<typeof setInterval>

To resolve this, you should be able to just change NodeJs.Timer to ReturnType<typeof setInterval> or number, whichever feels best to you.

This will unblock bumping build-tools deps in server.


fix: issue issue

fixing issue: https://github.com/fabric8-launcher/launcher-frontend/issues/519

:tada: This PR is included in version 1.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add PR 197 for selectable list types

Hard to believe, but the GitHub runner's version of Xcode would not compile MarkupMenu.listMenu() without an explicit return inside of the switch statement.


Memory leak in Collection binds

I've found an huge memory leak using collections in prepared statement with the C++ API (version 4.2.0, platform linux 64bit, compiler gcc 4.8.3).
Here is a simple program that cause the problem.
#include <iostream>
#include "ocilib.hpp"

using namespace ocilib;

int main(int argc, char *argv[])
{
    Environment::Initialize(ocilib::Environment::Default | ocilib::Environment::Threaded);
    Environment::EnableWarnings(true);
    int iterations = 2000;

    if  (argc > 1 && atoi(argv[1]) > 0)
        iterations = atoi(argv[1]);

    try {
        Pool pool;
        pool.Open("dbname", "dbuser", "dbpwd", Pool::SessionPool, 5, 20);
        Connection con = pool.GetConnection();
        Statement st(con);
        TypeInfo ti(con, "myarray", TypeInfo::Type);

        for (int i = 1; i < iterations; ++i) {
            Collection<ostring> lvc(ti);

            lvc.Append("T0100101");
/*
            This block is commented since it's not needed to cause the leak

            lvc.Append("T0100102");

            st.Prepare("SELECT lane FROM vehicle_t WHERE lane MEMBER OF :v");
            st.Bind(":v", lvc,  BindInfo::In);
            st.ExecutePrepared();

            Resultset rs = st.GetResultset();

            while (rs.Next())
                if (!rs.IsColumnNull(1))
                    std::cerr << '.';
*/
        }
    }
    catch (Exception &e) {
        std::cerr << "OCILib exception: " << e.what() << "\n";
    } catch (...) {
        std::cerr << "Unknown exception!\n";
    }
    Environment::Cleanup();
}

PS: Updated with the changes in the comments

I've found the the problem is not related to the bind of the connection, but only to collection creation, maybe the leak is in the Collection destructor, I can reproduce the leak with the following loop:
 for (int i = 1; i < iterations; ++i) {
            Connection con = pool->GetConnection();
            Statement st(con);

            Collection<ostring> lvc(TypeInfo(con, "myarray", TypeInfo::Type));

            lvc.Append("T0100101");
}

Hi,
Do you get the same result if you don't create a connection in each iteration?

Yes, I've localized the problem even more:
This leaks:
 for (int i = 1; i < iterations; ++i) {
        Collection<ostring> lvc(TypeInfo(con, "myarray", TypeInfo::Type));
        lvc.Append("T0100101");
  }

This does not:
 for (int i = 1; i < iterations; ++i) {
        Collection<ostring> lvc(TypeInfo(con, "myarray", TypeInfo::Type));
 }

It may be that the optimizer avoid the allocation of "lvc" if not used, but there is a big chance the problem is related to the appended items not freed in the Collection destructor...

Note also that this leaks too:
TypeInfo ti(con, "myarray", TypeInfo::Type);
 for (int i = 1; i < iterations; ++i) {
        Collection<ostring> lvc(ti);
        lvc.Append("T0100101");
  }

One question, Is the memory getting freed after Environment::Cleanup() ?

Actually my tests are done with PS while the binary is running (with a great number of iterations), I tried it also with valgrind adding, Environment::Cleanup() and with a lower number of iterations, these are the results:
100 iterations:
==777==    definitely lost: 0 bytes in 0 blocks
==777==    indirectly lost: 0 bytes in 0 blocks
==777==      possibly lost: 162,104 bytes in 5 blocks
==777==    still reachable: 531,911 bytes in 411 blocks
1000 iterations:
==780==    definitely lost: 0 bytes in 0 blocks
==780==    indirectly lost: 0 bytes in 0 blocks
==780==      possibly lost: 162,104 bytes in 5 blocks
==780==    still reachable: 531,911 bytes in 411 blocks
5000 iterations:
==824==    definitely lost: 0 bytes in 0 blocks
==824==    indirectly lost: 0 bytes in 0 blocks
==824==      possibly lost: 162,104 bytes in 5 blocks
==824==    still reachable: 531,911 bytes in 411 blocks
So it seems that the "variable" amount leaked is freed by the Cleanup() method or it cannot be seen by valgrind. Removing Cleanup() at the end of the program I get (with 100 iterations):
==1251==    definitely lost: 0 bytes in 0 blocks
==1251==    indirectly lost: 0 bytes in 0 blocks
==1251==      possibly lost: 1,000,446 bytes in 156 blocks
==1251==    still reachable: 531,912 bytes in 411 blocks
and with 5000:
==1301==    definitely lost: 0 bytes in 0 blocks
==1301==    indirectly lost: 0 bytes in 0 blocks
==1301==      possibly lost: 1,246,926 bytes in 171 blocks
==1301==    still reachable: 531,912 bytes in 411 blocks
... so it seems that cleanup is able to free that dangling collections...

I can add that the bug is probably not in the C++ interface, but also in the C API, this leaks (and I think it should not):
        for (int i = 1; i < iterations; ++i) {
            OCI_Coll *coll = OCI_CollCreate(ti);
            OCI_Elem *elem = OCI_ElemCreate(ti);
            OCI_ElemSetString(elem, "T0100101");
            OCI_CollAppend(coll, elem);
            OCI_ElemFree(elem);
            OCI_CollFree(coll);
        }

HI,
OCI is handling a local cache of pinned object (such as collection elements).
I will check if this is OCILIB that does not unpin these objects or the cache itself that decide to not reuse them and allocates new ones.
One question, if you provide an error handler to OCI_Initialize() and then call OCI_Cleanup() after the test, is it fired with a message "Found %d unfreed Object handles" ? I

Nope, I've build the program using OCI_Initialize() instead of Environment::Initialize(), the program seems to work as before (leaking, and releasing the leak on Cleanup()), but the error handler does not capture nothing... I've added also a cerr after cleanup to be sure that the program reach that point.
For the error handler I used the code from the example in ocilib documentation:
https://vrogier.github.io/ocilib/doc/html/group___ocilib_c_api_error_handling.html

Can you provide the DDL of "myarray"?

create type MYARRAY as table of varchar2(10);
BTW: if it's an oracle internal caching what happens to OCI collections that's not a very smart caching since we had a process constantly growing for this leak that was killed after a month  by the OS with an "out of memory" error!

The issue is not direcly linked to collections but rather about with the
collection type you're using. When dealing with collection of strings,
Oracle client API does not use regular string (ansi or wide char) but
rather an opaque object OCIString. Thus OCILIB has to manipulate them.
Oracle documentation was not really clear about their memory management.
I found the right way to clear the memory of these string objects.
And will commit a fix for it this evening.
Regards

Thanks, I compiled with the git version and I can confirm the fix works.


potential code to refactor in deterministic.py

In doing https://github.com/raybellwaves/xskillscore/pull/83
There is some refactoring which can be done to slim the code and make it easier to add other metrics
https://github.com/raybellwaves/xskillscore/pull/83#discussion_r394777966
APPLY_UFUNC_KWDS = dict(
        dask="parallelized",
        output_dtypes=[float]
)

xr.apply_ufunc(..., **APPLY_UFUNC_KWDS)

Potentially some kind of
def _prep_data_for_metric(a, b, dim, metric, weights=None, skipna=False)
...
    return np_metric, a, b, weights, input_core_dims

in https://github.com/raybellwaves/xskillscore/blob/master/xskillscore/core/deterministic.py
That does the handling of
dim, _ = _preprocess_dims(dim)
a, b, new_dim, weights = _stack_input_if_needed(a, b, dim, weights)
weights = _preprocess_weights(a, dim, new_dim, weights)
input_core_dims = _determine_input_core_dims(new_dim, weights)

or the variants of that for the metric.

also all the testing code is very much the same. here we could use fixtures and parametrizatsions even more

also all the testing code is very much the same. here we could use fixtures and parametrizatsions even more

Yeah especially https://github.com/raybellwaves/xskillscore/blob/master/xskillscore/tests/test_np_deterministic.py


use the OS tmp directory to downloading and run binaries

Try to prevent windows path length limitations and errors

Yeah, Beth brought that up today. Not sure that windows does the same
thing, but we could have it be different for each os.
On Fri., 20 Jul. 2018, 6:34 pm Matt Fellows<EMAIL_ADDRESS>wrote:

@mefellows commented on this pull request.
In src/pact-util.ts
https://github.com/pact-foundation/pact-node/pull/103#discussion_r203973567
:

@@ -10,8 +11,8 @@ const checkTypes = require("check-types");
export const DEFAULT_ARG = "DEFAULT";

export class PactUtil {

public get cwd():string {

return path.resolve(__dirname, "..");

public get binaryBasePath():string {

return path.join(os.tmpdir(), "pact");

On Mac/Linux, won't this result in the pact binary mysteriously
"disappearing"? Files in $TMPDIR will be cleaned up occasionally by the
OS on a Mac (default every 3 days) and on a reboot on Linux.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/pact-foundation/pact-node/pull/103#pullrequestreview-138970549,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAjA5F_sKJ2NaiNXD1ldqiRaiT0Yg6Wiks5uIZX4gaJpZM4VV2N9
.

According to my research, it seems Windows never cleans up its temp directory. But I'm not sure this will help - the default TEMP directory is different across Windows versions anyway, and can actually be quite long. E.g. Vista + beyonds temp dir is C:\Users\<User Name>\AppData\Local\Temp.
Is the custom download location not a satisfactory alternative to this?

Closing this for now, as it seems like the solution to the windows path length issue might lie elsewhere. Feel free to reopen.


Limited compatibility for some processes with non-hg38/hg19 Genomes

Description of the bug
This issue reports limitations in the SAMURAI pipeline's compatibility with genome builds other than hg38 and hg19. While the pipeline is functional for these two builds, specific steps encounter issues when processing different genomes.

ASCAT.sc: This step currently does not work with the GRCh38 genome build due to hardcoded dependencies. Need to implement an error message or warning informing users of this limitation.
GISTIC analysis: GISTIC analysis relies on internal files that are specifically designed for hg38 and hg19. Need to implement an error message or warning informing users of this limitation.

Command used and terminal output
No response
Relevant files
No response
System information
No response

Linked to issue #29


Subsystems vs SubsystemContainer vs RobotContainer vs alternative?

which one do we use I dont like any of the three options

RobotContainer matches the WPILib documentation, so that would be helpful for other teams/incoming members.
However, it's not the most descriptive, so there's certainly a good case for the other names.

Subsystems is fine, we just need to keep the folder singular


DTSPO-17194 - adding dev enviornment, removing legacy shutdown-1 repo

Jira link (if applicable)
DTSPO-17194
Change description
Adding "official" dev environment with appropriate name & now a fork of main / prod auto shutdown repo.
aks-auto-shutdown-releases to be deleted once current development work is complete.

Plan Result (prod_app_registrations)
:warning: Resource Deletion will happen :warning:
This plan contains resource delete operation. Please check the plan result very carefully!
Plan: 2 to add, 0 to change, 3 to destroy.

Create

module.this.azuread_application_federated_identity_credential.this["DTS AKS Auto-Shutdown-repo:hmcts/auto-shutdown-dev:pull_request"]
module.this.azuread_application_federated_identity_credential.this["DTS AKS Auto-Shutdown-repo:hmcts/auto-shutdown-dev:ref:refs/heads/master"]

Delete

module.this.azuread_application_federated_identity_credential.this["DTS AKS Auto-Shutdown-repo:hmcts/aks-auto-shutdown-1:pull_request"]
module.this.azuread_application_federated_identity_credential.this["DTS AKS Auto-Shutdown-repo:hmcts/aks-auto-shutdown-1:ref:refs/heads/master"]
module.this.azuread_application_federated_identity_credential.this["DTS AKS Auto-Shutdown-repo:hmcts/aks-auto-shutdown-releases:ref:refs/heads/jh-shutdown-1"]

Change Result (Click me)

  # module.this.azuread_application_federated_identity_credential.this["DTS AKS Auto-Shutdown-repo:hmcts/aks-auto-shutdown-1:pull_request"] will be destroyed
  # (because key ["DTS AKS Auto-Shutdown-repo:hmcts/aks-auto-shutdown-1:pull_request"] is not in for_each map)
  - resource "azuread_application_federated_identity_credential" "this" {
      - application_object_id = "a6f9fe00-14a8-48df-aca5-8b743dc5e2c1" -> null
      - audiences             = [
          - "api://AzureADTokenExchange",
        ] -> null
      - credential_id         = "eeb4cbe3-2745-4868-a601-d6162b73240e" -> null
      - display_name          = "repo_hmcts__aks-auto-shutdown-1_pull_request" -> null
      - id                    = "a6f9fe00-14a8-48df-aca5-8b743dc5e2c1/federatedIdentityCredential/eeb4cbe3-2745-4868-a601-d6162b73240e" -> null
      - issuer                = "https://token.actions.githubusercontent.com" -> null
      - subject               = "repo:hmcts/aks-auto-shutdown-1:pull_request" -> null
    }

  # module.this.azuread_application_federated_identity_credential.this["DTS AKS Auto-Shutdown-repo:hmcts/aks-auto-shutdown-1:ref:refs/heads/master"] will be destroyed
  # (because key ["DTS AKS Auto-Shutdown-repo:hmcts/aks-auto-shutdown-1:ref:refs/heads/master"] is not in for_each map)
  - resource "azuread_application_federated_identity_credential" "this" {
      - application_object_id = "a6f9fe00-14a8-48df-aca5-8b743dc5e2c1" -> null
      - audiences             = [
          - "api://AzureADTokenExchange",
        ] -> null
      - credential_id         = "6ba6d02d-9bcf-4620-a8f5-e961a44b330d" -> null
      - display_name          = "repo_hmcts__aks-auto-shutdown-1_ref_refs__heads__master" -> null
      - id                    = "a6f9fe00-14a8-48df-aca5-8b743dc5e2c1/federatedIdentityCredential/6ba6d02d-9bcf-4620-a8f5-e961a44b330d" -> null
      - issuer                = "https://token.actions.githubusercontent.com" -> null
      - subject               = "repo:hmcts/aks-auto-shutdown-1:ref:refs/heads/master" -> null
    }

  # module.this.azuread_application_federated_identity_credential.this["DTS AKS Auto-Shutdown-repo:hmcts/aks-auto-shutdown-releases:ref:refs/heads/jh-shutdown-1"] will be destroyed
  # (because key ["DTS AKS Auto-Shutdown-repo:hmcts/aks-auto-shutdown-releases:ref:refs/heads/jh-shutdown-1"] is not in for_each map)
  - resource "azuread_application_federated_identity_credential" "this" {
      - application_object_id = "a6f9fe00-14a8-48df-aca5-8b743dc5e2c1" -> null
      - audiences             = [
          - "api://AzureADTokenExchange",
        ] -> null
      - credential_id         = "96d65560-c724-46d6-8151-16364ddb62ef" -> null
      - display_name          = "repo_hmcts__aks-auto-shutdown-releases_ref_refs__heads__jh-shutdown-1" -> null
      - id                    = "a6f9fe00-14a8-48df-aca5-8b743dc5e2c1/federatedIdentityCredential/96d65560-c724-46d6-8151-16364ddb62ef" -> null
      - issuer                = "https://token.actions.githubusercontent.com" -> null
      - subject               = "repo:hmcts/aks-auto-shutdown-releases:ref:refs/heads/jh-shutdown-1" -> null
    }

  # module.this.azuread_application_federated_identity_credential.this["DTS AKS Auto-Shutdown-repo:hmcts/auto-shutdown-dev:pull_request"] will be created
  + resource "azuread_application_federated_identity_credential" "this" {
      + application_object_id = "a6f9fe00-14a8-48df-aca5-8b743dc5e2c1"
      + audiences             = [
          + "api://AzureADTokenExchange",
        ]
      + credential_id         = (known after apply)
      + display_name          = "repo_hmcts__auto-shutdown-dev_pull_request"
      + id                    = (known after apply)
      + issuer                = "https://token.actions.githubusercontent.com"
      + subject               = "repo:hmcts/auto-shutdown-dev:pull_request"
    }

  # module.this.azuread_application_federated_identity_credential.this["DTS AKS Auto-Shutdown-repo:hmcts/auto-shutdown-dev:ref:refs/heads/master"] will be created
  + resource "azuread_application_federated_identity_credential" "this" {
      + application_object_id = "a6f9fe00-14a8-48df-aca5-8b743dc5e2c1"
      + audiences             = [
          + "api://AzureADTokenExchange",
        ]
      + credential_id         = (known after apply)
      + display_name          = "repo_hmcts__auto-shutdown-dev_ref_refs__heads__master"
      + id                    = (known after apply)
      + issuer                = "https://token.actions.githubusercontent.com"
      + subject               = "repo:hmcts/auto-shutdown-dev:ref:refs/heads/master"
    }

Plan: 2 to add, 0 to change, 3 to destroy.


Children naming inconsistencies between similar/dual syntax nodes

Description

GenericParameterClauseSyntax.genericParameterList vs. GenericArgumentClauseSyntax.arguments. Following the plural noun trend, I would expect the former to be named parameters.
AvailabilityConditionSyntax.availabilitySpec vs. AvailabilityEntrySyntax.availabilityList (both have the same type).
OriginallyDefinedInArgumentsSyntax.platforms vs.  BackDeployedAttributeSpecListSyntax.versionList (both have the same type).

Tracked in Apple’s issue tracker as rdar://110170164

GenericParameterClauseSyntax.genericParameterList vs. GenericArgumentClauseSyntax.arguments. Following the plural noun trend, I would expect the former to be named parameters.

I agree. I share the same opinion 🙂

AvailabilityConditionSyntax.availabilitySpec vs. AvailabilityEntrySyntax.availabilityList (both have the same type).

According to the previously mentioned plural noun trend, 'availabilitySpecs' seems appropriate.

OriginallyDefinedInArgumentsSyntax.platforms vs. BackDeployedAttributeSpecListSyntax.versionList (both have the same type).

Similarly, 'platforms' seems more fitting in this case as well.


Could not set company_name of customer when creating a new ticket

For example:
<EMAIL_ADDRESS><EMAIL_ADDRESS>body: 'test from api', email<EMAIL_ADDRESS>company_name: 'Cogent Pty Ltd', subject: 'I want this to set company name')
The ticket was created correctly, but the Customer record did get the company name set. I can set the company name with an update_customer() call but I thought the create_ticket() could do it too.

My mistake. I've reread the documentation and I should be passing a hash of Customer attributes in as the :from field. I might submit a PR with an extra spec for this if that's ok.
Love the specs for your gem btw!

Thanks! I will be happy to review your PR.
On 29 Feb 2016 23:14 +0100<EMAIL_ADDRESS>wrote:

My mistake. I've reread the documentation and I should be passing a hash of Customer attributes in as the :from field. I might submit a PR with an extra spec for this if that's ok.
Love the specs for your gem btw!
—
Reply to this email directly orview it on GitHub(https://github.com/Fodoj/groovehq/issues/18#issuecomment-190422642).


Support for go1.21 and newer versions of Go

The go1.21 release candidate is now live but the README.md of this repository states that only Go 1.15~1.20 is supported. Could this library be updated and released to support go1.21?
Our repository depends on this library and efforts to prepare it to run on the latest versions of Go (i.e. 1.21) is currently blocked for this reason.
Is it possible to compose this library's logic to work with future versions of Go in some baseline/degraded capacity? While it's understandable some optimizations must be based on version specific details, being able to build and run this library in some form under newer Go versions seems desirable.

Thanks, we will fix it

Thank you! Do you have a rough sense of when this might happen? I'm looking to plan some work around this.

build on Go1.21 is not blocked since we have fallbacked it. you can try it

Is there a specific commit where this fallback is added at?
I'm still seeing this error after upgrading to v1.9.2 as a minor note we're building with Bazel, but that shouldn't affect the core error.
Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging external/com_github_bytedance_sonic/loader/funcdata.go:37:32: undefined: _func external/com_github_bytedance_sonic/loader/funcdata.go:74:12: undefined: moduledata external/com_github_bytedance_sonic/loader/funcdata.go:77:18: undefined: moduledata external/com_github_bytedance_sonic/loader/funcdata.go:188:28: undefined: compilationUnit external/com_github_bytedance_sonic/loader/stubs.go:26:22: undefined: moduledata external/com_github_bytedance_sonic/loader/stubs.go:30:26: undefined: moduledata external/com_github_bytedance_sonic/loader/stubs.go:38:27: undefined: moduledata compilepkg: error running subcommand external/go_sdk/pkg/tool/linux_amd64/compile: exit status 2

I mean sonic main packages，are you using other other package like loader???

@r-hang Hi, will you mind to leave a comment here to log that your company is using sonic so that we can support this project better ? https://github.com/bytedance/sonic/issues/352

Hey @AsterDY, sonic is actually an indirect dependency of https://github.com/cloudwego/hertz so we're not using sonic directly as far as I know. However, our build system is building all dependencies (direct or transitive) with the latest version of go (1.21). We see failures when building the whole sonic repository (Bazel is building all packages) and notice a failure in the loader package.
I see similar issues in the hertz library:

https://github.com/cloudwego/hertz/issues/170
https://github.com/cloudwego/hertz/issues/579

@GuangmingLuo, let me get back to you after checking in with my team.

Hey @liuq19 @AsterDY, any updates on this?

any update?

I am confused about "our build system is building all dependencies (direct or transitive) "? latest sonic version fallback to encoding/json on Go1.21, thus it won't use sonic/loader at all —— so I don't understand how can you make this error. Can you give me some reproducible codes?

BTW, supporting for Go1.21 in on the way branch

resolved by #493

Hey @AsterDY, sonic is actually an indirect dependency of https://github.com/cloudwego/hertz so we're not using sonic directly as far as I know. However, our build system is building all dependencies (direct or transitive) with the latest version of go (1.21). We see failures when building the whole sonic repository (Bazel is building all packages) and notice a failure in the loader package.
I see similar issues in the hertz library:

Go 1.19 build failed cloudwego/hertz#170
go 1.20 sonic 编译报错 cloudwego/hertz#579

@GuangmingLuo, let me get back to you after checking in with my team.

Please to leave a use case message to support our work. Thanks~


Livy 365. Include statement code in statement object

PR moved from old repo https://github.com/cloudera/livy/pull/339
LIVY-365
Based on a user list request and my work on the Livy Web UI including the code that was run in the statement return is useful. Currently there is no way for a user to check what code was run through the Livy REST API. This will be helpful when the Session Page in the Web UI is added in LIVY-343 which will include a table of statements. Currently such a table could only display output without context.
I choose to insert code between id and state because it does not change value during execution like state and output. Since it can also makes sense to include between state and output given the potential length of its value, I can make such a change if requested.
Tested manually and passes current Livy UTs and ITs

Hi @ajbozarth , let's wait for the Travis is ready. Currently we still have some infra issues during moving to Apache.
Besides lets keep the PR title convention: LIVY-xxx. xxxx

@jerryshao I'll change the names back (used the Spark way by habit) and I figured reviews wouldn't go through until testing is set up, I've been staying in the loop on the move progress (Luciano sits next to me).

I think the code is fine to me. Just requires Travis to run again to make sure every thing is fine.
Currently Travis on incubator-livy is not ready, I already created a ticket about this (https://issues.apache.org/jira/browse/INFRA-14468). Can we please wait for some additional days? Sorry about the long delay.

Thanks for the link and the delay is nbd, it's actually given me time to focus on an import side project of mine.

Actually the title should be (LIVY-365. xxx) :).

Ack, only one i messed up too >.<

Codecov Report

Merging #5 into master will increase coverage by 0.02%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master       #5      +/-   ##
============================================
+ Coverage     70.59%   70.62%   +0.02%
  Complexity      730      730
============================================
  Files            96       96
  Lines          5153     5154       +1
  Branches        776      776
============================================
+ Hits           3638     3640       +2
+ Misses          999      995       -4
- Partials        516      519       +3

Impacted Files
Coverage Δ
Complexity Δ

...rc/main/scala/com/cloudera/livy/repl/Session.scala
74.34% <100%> (ø)
1 <0> (ø)
:arrow_down:

...n/java/com/cloudera/livy/rsc/driver/Statement.java
100% <100%> (ø)
6 <2> (ø)
:arrow_down:

...la/com/cloudera/livy/scalaapi/ScalaJobHandle.scala
52.94% <0%> (-2.95%)
0% <0%> (ø)

.../java/com/cloudera/livy/rsc/driver/JobWrapper.java
80.64% <0%> (ø)
8% <0%> (+1%)
:arrow_up:

...n/java/com/cloudera/livy/rsc/driver/RSCDriver.java
77.58% <0%> (ø)
40% <0%> (-1%)
:arrow_down:

...m/cloudera/livy/repl/SparkContextInitializer.scala
63.15% <0%> (+3.5%)
0% <0%> (ø)
: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 4758ecd...0f05595. Read the comment docs.

(unrelated to here) We should also consider ACLs when exposing this either on the UI or other places, it's not good to let others without permission to see the codes.
Another thing is that we should carefully modify REST APIs, this will potentially break usr's assumption. It might be OK for now since we're still in 0.4 version, but we still should think carefully about the necessity to change the API.

Thanks for the feedback @jerryshao I agree that we should be careful of modifying API and as you said, if this wasn't 0.4 I would have turned down the idea. As for ACLs this API call already checks for them, so currently the UI fails to display the statements table when ACLs are turned on (this is in the next PR I will be opening).

As for the necessity issue, this was requested in the user list plus, as I mentioned in the description, in the new Web UI (in a PR not yet opened that's waiting on #3 to merge) the statement table can be confusing to understand with only a result and no input code for context. With the assumption that as Livy moves forward more users will rely on the UI to read through old statements (as seen in Spark) an addition like this in v0.X is net positive in my eyes.

Understood, thanks! Merging to master.


Add logo to Omnia community list

Permanent link to Texas Tech University's logo:

@all-contributors please add @githubyongchen githubyongchen for design

Added Texas Tech University logo to Omnia.


Update dependencies

Hi Alois!
I upgraded the dependencies to make spaces compatible with freezed and freezed_annotation used in the device_preview package. I upgraded other packages too, to keep the project's dependencies up to date.
I hope it will help.

@7flash It seems you're having dependencies issues with sleek_typography. Maybe it would be interesting to propose a PR to update dependencies ?


No UI icons in GnuCash 3.4

Issue description
Maybe related to #54278.

Steps to reproduce

Run GnuCash from current unstable, 929cc78363e6878e044556bd291382eab37bcbed.

Technical details

system: "x86_64-linux"
host os: Linux 4.9.155, NixOS, 18.09.2127.5225d4bf019 (Jellyfish)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.1.3
channels(m): ""
channels(root): "nixos-18.09.2127.5225d4bf019"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

See https://github.com/NixOS/nixpkgs/pull/43150#issuecomment-450056940 and the discussion that follows

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/failing-to-run-old-version-of-gnu-cash/33128/2


This won't work remotely

If you want to access the dashboard remotely, you need to grant ClusterRole access permissions to the account system:serviceaccount:kube-system:kubernetes-dashboard

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

ID: 2ba1dad2-9792-2a7b-cdb6-68da0524cff3
Version Independent ID: 42736112-f6db-d241-e89b-48fd2c35ceb7
Content: Manage Azure Kubernetes cluster with web UI
Content Source: articles/aks/kubernetes-dashboard.md
Service: container-service
GitHub Login: @iainfoulds
Microsoft Alias: iainfou

Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.


arrows / magnifier shrink 50%

Can this be closed now because of #49 ?

@Muraszko: No, sorry, different issue: these are the ones in the helper sidebar, and for the present I'm happy with them as images.

done and deployed


Makes variant<Ts...> hashable iff Ts... are hashable, closes #125

cc @artemp @flippmoke

This works however, it will not work with situations such as:
struct value;
using value_base = mapbox::util::variant<int, double, mapbox::util::recursive_wrapper<std::vector<value>>>;
struct value : value_base {
    using value_base::value_base;
};

std::unordered_set<value> vs;
vs.insert(1);
vs.insert(2.1);
vs.insert({2, 3.2});

Forget my comments -- I was mistaken in thinking that there was a std::hash<std::vector<T>> by default in the STL.

@daniel-j-h - looks good but I think we can do even better by using type_index ? This way we don't need a requirement for underlying types to be hashable and it'll be cheaper also. Tell me I'm missing something :) What do you think?


docs: fix readme link

:tada: This issue has been resolved in version 0.3.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


NIFI-9064:Support Oracle timestamp when Use Avro Logical Types is t…

…rue for ExecuteSQLRecord and QueryDatabaseTableRecord

Thank you for submitting a contribution to Apache NiFi.
Please provide a short description of the PR here:
Description of PR
Enables X functionality; fixes bug NIFI-YYYY.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[ ] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[ ] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[ ] Has your PR been rebased against the latest commit within the target branch (typically main)?

[ ] Is your initial contribution a single, squashed commit? Additional commits in response to PR reviewer feedback should be made on this branch and pushed to allow change tracking. Do not squash or use --force when pushing to allow for clean monitoring of changes.

For code changes:

[ ] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[ ] Have you written or updated unit tests to verify your changes?
[ ] Have you verified that the full build is successful on JDK 8?
[ ] Have you verified that the full build is successful on JDK 11?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?
[ ] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
[ ] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check GitHub Actions CI for build issues and submit an update to your PR as soon as possible.

==!(sad) I am not a first-time contributor,  anybody help?

Thanks for the update @KuKuDeCheng, the changes in ResultSetRecordSet seem like a much cleaner solution. Can you add a unit test for the change?

Hi exceptionfactory, I tried to add a unit text. But as you can see, rs.getObject() and rs.getTimestamp() is standard methods in
java.sql.ResultSet.  I can't figure out how to do this unit test,Do you have any good suggestions？

Hi exceptionfactory, I tried to add a unit text. But as you can see, rs.getObject() and rs.getTimestamp() is standard methods in
java.sql.ResultSet. I can't figure out how to do this unit test,Do you have any good suggestions？

The ResultSetRecordSetTest class has an existing testCreateRecord() method that uses a mocked ResultSet. You could either modify that method, or create a new test method that uses a sample RecordSchema with a timestamp column.  It might be clearer to create a new test method since the existing method is already large.

There's a merge conflict now, and since you have a couple of merge commits in this PR, I recommend cleaning it up by rebasing or squashing merge commits or whatever, so your only commits are your changes to the code (and there are no merge conflicts), thanks!

Closing this in favor of #5807 , I squashed the original commits to 1 but kept the author and added one of my own. Thanks for the fix!


Constant name "new_index" doesn't conform to UPPER_CASE naming style

https://github.com/lbonanomi/gRist/blob/0bb7eceee04bd597966217117892ae3e98250892/grist.py#L190

Issues for naming style are now ignored.


Video is paused while play/pause button shows "paused" icon.

Steps to reporduce:

Add two Chewie widgets to the same screen (in my case they were pointed at two different vimeo hls streams).
Press play on one Chewie player.
Then press play on the other Chewie player.

Observed behaviour:
The first video stops playing, and enters into a paused state. The play/pause button displays a pause icon. This is inconsistent, as the user would expect a paused video to display a play button. The user can then press the pause button, which then results in the button changing from pause to play icon, and the video stays paused. At this point the video state and the play/pause button state is corrected. The user can then press play button to start the video playing again.
Expected Behaviour:
When the user starts the second video, and the first video pauses, the first video's play/pause button changes from a pause icon to a play icon.

Facing the Same issue

Facing the Same issue

I am also facing this issue in list of video


chore: eslint with extended config instead of deno fmt

Closes #157.

[x] I have reviewed my code in "Files changed" tab.
[x] I have re-read the issue and this PR fully resolves it.

please fix linter errors


fix(packages/app): add label to input element

Part of #2507

Description of what you did:

My PR is a:

[ ] 💥 Breaking change
[x] 🐛 Bug fix
[ ] 💅 Enhancement
[ ] 🚀 New feature

Please confirm that your PR fulfills these requirements

[x] Multiple commits are squashed into one commit.
[x] The commit message follows Conventional Commits, which allows us to autogenerate release notes; e.g. fix(plugins/plugin-k8s): fixed annoying bugs
[x] All npm dependencies are pinned.

can you add a comment to the issue specifying which of the listed items is resolved?


libpng error when converting or playing pack .svo file

Hi, Im currently stressed out because some important footage turned out to be incomplete and useless. I was recording using the svo recorder and saving everything to a memstick. When I run the svo file later I get several of these messages:
libpng error: Not a PNG file
libpng error: Not a PNG file
libpng error: Not a PNG file
libpng error: Not a PNG file
When I convert the file I just get 6 messages on a 40s video, and running the svo file with the ros wrapper gives me a constant stream of the messages. It looks like the file gets corrupted or something. Im using the TX1 and starting/stopping the recording through ssh (not stable connection, loosing connection when I go underwater). The memstick is connected to a usb2 port and Im recording in 720p.

Hi,
You can first try to see if the file is indeed corrupted :
ZED SVOEditor -inf <sovfile.svo> will give you informations about the SVO file (resolution, number of frames...). Check that the values are coherent.
Open the file with ZED Explorer to check if you can get the images from the SVO.
Best,
OB

Info did not give me much information:
Image Size : [ 1280  x  720 ]
Framerate :  30
Number of Frames :  443
ZED Serial Number :  12132
The video works, I get the same result as with the conversion, an incomplete video with a lot of footage missing. It starts ok for he first 3 seconds, then skips 5 seconds and gives me another 4 sek before ending about 15 sek short from where I stopped the recording. I replicated the issue later and got a similar result.

The SVO file is not corrupted then since SVOEditor gives you correct informations.
The thing is that you have a lot of corrupted frames since you are recording on a USB2 stick (not enough bandwith to store the data.
The best would be to first use the LOSSY compression (less data) and store the svo file on a SD card (with Jetson you can put a SD card) that has a good writing/reading speed (I mean designed for recording and not storage only)
Best,
OB

I just confirmed your answer, it was indeed the USB stick. What a real bummer, I will use a sd-card from now on. Thank you for the quick and accurate support, its strongly appreciated!