realtime fronius_site_mppt_voltage & fronius_site_mppt_current_dc with bigger resolution

As far as I can understand from sources IDC and UDC are accrued from archive data which provide rather low resolution. I have Java code which gets this data from Modbus. It is also accessible directlly from inverter and data resolution is almost the sama as main inverter data (load, grid, pv) but id don't know how to implement this in GO.
I have Fronius Symo 8.2-3-M
My code uses:
		<!-- https://mvnrepository.com/artifact/com.ghgande/j2mod -->
		<dependency>
			<groupId>com.ghgande</groupId>
			<artifactId>j2mod</artifactId>
			<version>2.6.4</version>
		</dependency>

Procedure to acquire data looks as follows:
InetAddress addr = InetAddress.getByName("<IP_ADDRESS>"); //Inverter IP
// Open the connection
con = new TCPMasterConnection(addr);
con.setPort(502);
con.connect();

// inverter
req = new ReadMultipleRegistersRequest(40069, 38);
trans = new ModbusTCPTransaction(con);
req.setUnitID(1);
trans.setRequest(req);
trans.execute();
res = (ReadMultipleRegistersResponse) trans.getResponse();

System.out.println("AC Power value=" + int16(res, 14, 15));
System.out.println("Apparent Power=" + int16(res, 18, 19));
System.out.println("Reactive Power=" + int16(res, 20, 21));
System.out.println("Power Factor=" + int16(res, 22, 23));

// string
req = new ReadMultipleRegistersRequest(40253, 43);
trans = new ModbusTCPTransaction(con);
req.setUnitID(1);
trans.setRequest(req);
trans.execute();
res = (ReadMultipleRegistersResponse) trans.getResponse();

System.out.println("String 1. DC Current=" + uint16(res, 19, 2));
System.out.println("String 1. DC Voltage=" + uint16(res, 20, 3));
System.out.println("String 1. DC Power=" + uint16(res, 21, 4));
System.out.println("String 1. Temperature=" + int16(res, 22, -1));

System.out.println("String 2. DC Current=" + uint16(res, 39, 2));
System.out.println("String 2. DC Voltage=" + uint16(res, 40, 3));
System.out.println("String 2. DC Power=" + uint16(res, 41, 4));
System.out.println("String 2. Temperature=" + int16(res, 42, -1));
// Close the connection
con.close();

And there are two functions thats converts modbus integers to floats:
    public static BigDecimal uint16(ReadMultipleRegistersResponse response, int valueRegisterIdx, int sfRegisterIdx) {
        Register vr = response.getRegister(valueRegisterIdx);
        Register sfr = sfRegisterIdx > -1 ? response.getRegister(sfRegisterIdx) : null;

        BigDecimal v = new BigDecimal(vr.toUnsignedShort()); // unsigned 16-bit value (unsigned short)
        if (sfr != null)
            v = v.movePointRight(sfr.toShort());
        return v;
    }

    public static BigDecimal int16(ReadMultipleRegistersResponse response, int valueRegisterIdx, int sfRegisterIdx) {
        Register vr = response.getRegister(valueRegisterIdx);
        Register sfr = sfRegisterIdx > -1 ? response.getRegister(sfRegisterIdx) : null;

        BigDecimal v = new BigDecimal(vr.toShort()); // unsigned 16-bit value (unsigned short)
        if (sfr != null)
            v = v.movePointRight(sfr.toShort());
        return v;
    }

Mabe somebody will implement this in the exporter to boost current and voltage data resolution.

Hi.
I'm not sure if I understand your question.
Do you need more live data? Or is float64 (double in Java) too small for the values you have? Is this why you're using BigDecimal?
This exporter uses the Symo's JSON API over HTTP to access the values from Symo. Unless you can provide me with a sample JSON request that delivers the values you need, I fear you'll have to continue querying your Symo with your code via Modbus. You could extend your code with the Prometheus Client in Java and then combine the data in Prometheus or Grafana Dashboards.

That is not problem of datatype but count of archive data - time resolution. Voltage and current values changes only by every 1 minute when ie. load value gets new value for every metrics request. Chart in grafana of voltage and current looks like stairs.

Ah I see.
I see the value of that, but unless I have a JSON sample response, there's nothing I can do.

So, that's the point - add another, parallel Modbus datasource and reads voltage values from Modbus instead of archives. There can be also this as an option defined.
GOlang has a libraries to comunicate with modbus (ie: simonvetter/modbus or goburrow/modbus)  so it is possible to do that propably that simple like in my java example.

Hi.
Unfortunately, I'm very reluctant to add Modbus to this project. First, I have zero experience with Modbus. Second, I don't want to spend time implementing something I personally don't have or need. I'm the only maintainer so far. What if people have a problem with Modbus and open issues? I won't be able to help them and fix bugs. Furthermore, I can't even test it since I don't have easy access to a device.
If you can figure out if the same values are accessible over HTTP/JSON, we can discuss it again, but otherwise I won't implement  or accept a PR for Modbus...

@gitwasi: Have you tried some generic modbus exporter? E. g. https://github.com/RichiH/modbus_exporter

I'm on the way. I try to figure it how to configure this.

Going to close this as out-of-scope


a bit of cleanup

updated dependencies, nothing seemed to break. Want to get a clean slate here. Please glance over

:+1:


Features and minor improvements to include in 1.0.0-release

✔ Full async-only on all storage
Logging (#27)
✔ Split into 2 NuGet-packages (Client, Server) (#15)
Simplify sample-project (merge APIs & remove client-side & server-side folders)
✔Unittest-coverage
✔Integrationtests verifying end-to-end protocol use

Unsure if needed by consumers:

NuGet-package signing

#32 full async loading of external resources (keys & seed)

#29 solves integrationtests, benchmarks and initial unittest-coverage

#33 solves combining samples

Scoping logging out of 1.0.0 and adding it as separate issue


[ISSUE] - Images brought in feedback, seem to remain in cache somehow. Even after clearing. Which forces a restart

Even after clearing the images. When generating, it still slowed the whole generation process down as if the images were still in feedback.  Could you provide some steps to reproduce? Are you using any CLI options? And how much slow down are we talking, in seconds?

Hmm, that is weird indeed. Can you try updating to the new version and see if it still happens? It should now tell you exactly how many/which feedback images were used when you select an image (where it usually shows generation params like seed, cfg scale, etc.)

theres  more than one issue here...i personally don't have the massive slow down everytime...but in the picture i posted, this is the effects of imgs stuck in the cache, I disabled the lora that creates that character and i get this, the character in rainbow lighting....

So it happens after you disable LoRA? That might have something to do with it, it’s possible that the old U-Net forward pass doesn’t get restored correctly, which would have the observed effect.

Happened to me even without any LoRAs.
Could it be embeddings ?? I use my own trained embeddings all the time...


Minor updates to SparkR vignette

Thanks @shivaram for the PR. The updates look good to me, with just a few comments above.

@junyangq Will be great if you can do one more pass and open a PR against apache/spark
One more thing is that we should write a script to automate building the vignette and putting it in the installation. Do you know what are the steps for that ?

Thanks. Yeah I think I can take care of the script. Do you want to put it together in create-doc.sh or a separate one?

Adding it to create-doc.sh should be fine.


Added createFromArray method on SettingsFactory

For the symfony-ray bundle I'm creating, I needed a settings factory method that accepts the configuration as an array; so I can use the normal Symfony configuration way.
Instead of creating another simple factory class, I figure I'd add it to the original factory class.

Thanks!


is there any doc or usage?

can't find any description in docs
i guess it's a little hard to start with src code

There's no definite documentation now. At best there's Swagger (https://github.com/jellyfin/jellyfin/pull/616) and a slowly-being-worked-on repo which uses the client https://github.com/jellyfin/jellyfin-react-client

I didn't find the documentation. I exported a json myself and imported it into swaggerUI.
But the interface parameters and return values, information is rare.
Documentation: https://app.swaggerhub.com/apis/vdts/jellyfin-server_api/1.0.0

#21 will add JSDoc as a dev dependency and provides instructions for generating that documentation. There is still a lot of room for improvement, but it's a start.

An update on this:
This now cleaned up to work with jellyfin-web, which means we can now start documenting code properly, as it'll be used in production on jellyfin-web;


Getting issue with latest cucumber-java version 7.16.1. getting Gherkin class not found

Getting error while upgrading cucumber version to 7.16.1. error says io.cucumber.core.gherkin.messages.internal.gherkin.Gherkin not found. Also observed that solution uses old cucumber-java version 7.2.3 and is not supporting upgraded cucumber version

Can you add a stacktrace if any?

I dont have any stacktrace available as such. However i have observed that user is unable to use cucumber-java version older then 7.2.3


Token creation

Secret token creation is truncated if we use this kind of token :
dnsimple:
  token: "9irzedrtrtbvDDZWHom2$asF"

At the end, the secret only contains:
'9irzedrtrtbvDDZWHom2'
$asF is missing

Can you make sure the string for the token is either base64-encoded or the secret use stringData instead of data?


Add new line comment when pressing Enter from within line comment for languages that use double slash for line comment

fixes https://github.com/microsoft/vscode/issues/118929

Why the whitespace changes? :P


respect user choice of lib/bin over heuristics

This one fixes #9333

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @Eh2406 (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see the contribution instructions for more information.

Sorry, the PR is premature,  I've found a bug here

Looks great, thanks!
@bors r+

:pushpin: Commit 4ec3bc049d4cba97fcb3fbdc42a814ded9750ae8 has been approved by ehuss

:hourglass: Testing commit 4ec3bc049d4cba97fcb3fbdc42a814ded9750ae8 with merge 2544bd3418f5437b4febc82bb0525c30d85d393c...

:sunny: Test successful - checks-actions
Approved by: ehuss
Pushing 2544bd3418f5437b4febc82bb0525c30d85d393c to master...


[8.x] Fix assertExactJson implementation

The original problem - assertExactJson doesn't respect order of elements and it's name is very misleading - because it says this is exact json but in fact it's not. You can write test to make sure elements in response are in order you expect but this method really does not care about order and can give you false feeling your code covered in test is working as you expect.
As example when response looks like this:
Route::get('/', function () {
    return response()->json([
        [
            'id' => 5,
            'name' => 'John Doe',
            'permissions' => [
                'write',
                'read',
            ]
        ],
        [
            'id' => 6,
            'name' => 'Jane Doe',
            'permissions' => [
                'first' => 'delete',
                'second' => 'update',
            ],
        ],
    ]);
});

Test like this:
$response->assertStatus(200)->assertExactJson([
    [
        'id' => 6,
        'name' => 'Jane Doe',
        'permissions' => [
            'second' => 'update',
            'first' => 'delete',
        ],
    ],
    [
        'id' => 5,
        'name' => 'John Doe',
        'permissions' => [
            'read',
            'write',
        ]
    ],
]);

will pass although in original response John is 1st element and Jane 2nd and permissions for John are also in other order so for me this is definitelly not the exact same json.
What this PR does:

Rename current assertExactJson to assertSimilarJson (maybe other name should be used as for example assertExactUnorderedJson or something like this) - if someone doesn't care about order of elements in response or they will upgrade to Laravel 8, it will be pretty easy just to update all occurences to new method to avoid any failures when using new corrected method.

Update implementation of assertExactJson to respect numerical keys order but ignore associative keys order (so it does not matter if in test you give name or id first - it will still work)

No plans to change this right now.

I just ran into this issue myself and I agree, the name's very misleading.
@taylorotwell please reconsider adding this

@Zakini please understand that we can't merge everything people request. In the end we're responsible for maintaining the code that goes into the framework. Feel free to release a package with this if you want to take the maintenance burden upon yourself.

@driesvints Would it not be less of a maintenance burden to make sure that the behaviour of methods accurately matches their name? No doubt this will come up again (in fact it already has in a related method: https://github.com/laravel/framework/issues/30501)

@Zakini this isn't true in fact. The exact JSON isn't meant to respect the order. JSON in general, doesn't needs a specific order. What you're looking for is assertJsonStructure (which I linked to in that issue).

@driesvints That's true for JSON objects, but not true for arrays.

If there's an issue with the approach of this PR (maybe you don't want another method to maintain) then that's fine, but assertExactJson definitely should not mess with the order of JSON (PHP non-assoc) arrays.

@Zakini I believe you're right. Seems like I confused it at first with JSON objects.
@taylorotwell I'm going to re-open this because I think this PR is addressing a valid issue. Maybe instead of renaming we can introduce a new method called assertExactOrderedJson?

Would just modifying assertExactJson be ok if this is targeting a major release? The only reason I can see for keeping the old behaviour is backward compatibility, which is less of a concern with major releases?

@Zakini preserving BC is something we try to do as much as possible. Adding a new method seems like the easiest solution here. But let's wait on @taylorotwell's feedback.

Thanks for reopening. Maybe description was not clear enough but the real problem is that order of elements in array is not verified at all as already pointed out. That's why I proposed to update method implementation to new one (exact should mean exact) but also keep old method with new name for cases when you don't care about order of elements but also for easier update to new Laravel version (you can just rename single method usage to new name).

@mnabialek hmm yeah I can follow that actually. Seems reasonable.

@mnabialek one thing I wonder: the new assertExactJson method: does it handle nested sorted arrays? Because that doesn't seems to be the case.

@driesvints I believe it does, for example for such response:
Route::get('/', function () {
    return response()->json([
        [
            'id' => 5,
            'name' => 'John Doe',
            'permissions' => [
                'write',
                'read',
            ]
        ],
        [
            'id' => 6,
            'name' => 'Jane Doe',
            'permissions' => [
                'first' => 'delete',
                'second' => 'update',
            ],
        ],
    ]);
});

when assertion looks like this:

        $response->assertStatus(200)->assertExactJson([
            [
                'name' => 'John Doe',
                'id' => 5,
                'permissions' => [
                    'write',
                    'read',
                ]
            ],
            [
                'id' => 6,
                'name' => 'Jane Doe',
                'permissions' => [
                    'second' => 'update',
                    'first' => 'delete',
                ],
            ],

        ]);

test will pass but when in test you change order of read and write it will fail giving you error like this:
There was 1 failure:

1) Tests\Feature\ExampleTest::testBasicTest
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'[{"id":5,"name":"John Doe","permissions":["read","write"]},{"id":6,"name":"Jane Doe","permissions":{"first":"delete","second":"update"}}]'
+'[{"id":5,"name":"John Doe","permissions":["write","read"]},{"id":6,"name":"Jane Doe","permissions":{"first":"delete","second":"update"}}]'

/usr/share/nginx/html/vendor/laravel/framework/src/Illuminate/Testing/TestResponse.php:545
/usr/share/nginx/html/tests/Feature/ExampleTest.php:21

Gotcha. I think this looks alright then.

To anyone that want to fix this problem on Laravel 7.x (or older), I made a gist for it. https://gist.github.com/fians/b17b8a87daa798b6c5b5b5dd9360cc67


app publish: get files from the docker image

ecli should get all the files from the base docker image in /usr/local/bin, rather than use local files.
For instance, if we have this publish.json in the directory ~/app-beta
{
  "baseImage": "core/app:latest",
  "entryPoint": "detect",
  "appName": "My complete app name",
  "appDescription": "This is a description"
}

The following command
ecli app publish app-beta ~/app-beta

Will assume there's a local docker image called core/app:latest, will run it to copy all the content of /usr/local/bin in ~/app-beta.
After that, the process stays the same, the content of ~/app-beta is tarballed and sent to the target platform, which will add it to the app list.

We'll do differently


Please tag releases

Hi, could you please tag releases so I can package them?
Thanks,
Snark on #debian-js

tagged and released as 1.0.0

Excellent, thanks!


Error processing data parameters: Unrecognized field when generating print logs report

This works correctly on PaperCut v19.1, but on v20, calling proxy.api.generateAdHocReport with parameters causes an error.
For example, the following bit of code works correctly in version 19.1 :
import os
from datetime import date, timedelta, datetime
from dateutil.relativedelta import *
import xmlrpc.client
import json
from ssl import create_default_context, Purpose
auth_token = 'password'
host="https://localhost:9192/rpc/api/xmlrpc"
proxy = xmlrpc.client.ServerProxy(host, verbose=False, context = create_default_context(Purpose.CLIENT_AUTH))
from datetime import date, timedelta, datetime
from dateutil.relativedelta import *
from_date = (datetime.now() - relativedelta(months=1)).strftime('%Y-%m-%dT%H:%M')
to_date = datetime.now().strftime('%Y-%m-%dT%H:%M')
data = {
"from-date":from_date,
"to-date":to_date,
"allocated-account-type": "SHARED",
"cancelled":"NOT_CANCELLED",
"printed": "ANY",
"show-filters-in-header": True
}
proxy.api.generateAdHocReport(auth_token,
"print_logs",
json.dumps(data),
"CSV",
"Integration",
os.getcwd())
However, the same code will produce an error when you are running PaperCut v20 or higher. If no parameters are passed (data = {}), it will generate the report correctly. I've included the traceback below.
Traceback (most recent call last):
File "", line 6, in
File "C:\Users\matthew.smith\AppData\Local\Programs\Python\Python37-32\lib\xmlrpc\client.py", line 1112, in call
return self.__send(self.__name, args)
File "C:\Users\matthew.smith\AppData\Local\Programs\Python\Python37-32\lib\xmlrpc\client.py", line 1452, in __request
verbose=self.__verbose
File "C:\Users\matthew.smith\AppData\Local\Programs\Python\Python37-32\lib\xmlrpc\client.py", line 1154, in request
return self.single_request(host, handler, request_body, verbose)
File "C:\Users\matthew.smith\AppData\Local\Programs\Python\Python37-32\lib\xmlrpc\client.py", line 1170, in single_request
return self.parse_response(resp)
File "C:\Users\matthew.smith\AppData\Local\Programs\Python\Python37-32\lib\xmlrpc\client.py", line 1342, in parse_response
return u.close()
File "C:\Users\matthew.smith\AppData\Local\Programs\Python\Python37-32\lib\xmlrpc\client.py", line 656, in close
raise Fault(**self._stack[0])
xmlrpc.client.Fault: <Fault 327: 'java.lang.Exception: Error processing data parameters: Unrecognized field "from-date" (Class biz.papercut.pcng.reports.DataParamsJsonObject), not marked as ignorable\n at [Source: java.io.StringReader@1061bd9d; line: 1, column: 16] (through reference chain: biz.papercut.pcng.reports.DataParamsJsonObject["from-date"])'>

@matthewsmith-commits  Can be specific about which version of 20.0 you are running please.

@alecthegeek I did some more testing and it appears this problem began with 20.0.3 (Build 55021 2020-08-13).
I got the expected output with the following builds:
20.0.0 (Build 54402 2020-05-13)
20.0.1 (Build 54657 2020-06-16)
20.0.2 (Build 54736 2020-06-30)
I tested and received the unrecognized field error with these builds:
20.0.3 (Build 55021 2020-08-13)
20.0.4 (Build 55447 2020-09-30)
<IP_ADDRESS>643

Thank you for being so thorough.
I've escalated in an internal ticket to our dev team (FYI: It's ticket #1027794)

Hi @matthewsmith-commits,
Out of curiosity, if hardcode dates:
"from-date":"2019-03-01T09:30",
"to-date":"2019-06-01T09:30",

from the payload, does it work as intended?

@RyanReichenberg
Hard coding the date also fails. If the date was improperly formatted, it would result in a different error, like below:
xmlrpc.client.Fault: <Fault 327: 'java.lang.Exception: Error processing data parameters: Can not deserialize value of type java.util.Date from String "2019-03-01T": not a valid representation (error: Failed to parse Date value '2019-03-01T': Unparseable date: "2019-03-01T")\n at [Source: {"from-date": "2019-03-01T", "to-date": "2020-11-101T", "allocated-account-type": "SHARED", "cancelled": "NOT_CANCELLED", "printed": "ANY", "show-filters-in-header": true}; line: 1, column: 15] (through reference chain: biz.papercut.pcng.reports.DataParamsJsonObject["from-date"])'>
I am getting the Unrecognized field error on PaperCut 20.0.3 and above when trying to specify other parameters to the print_logs report. Same error for allocated-account-type, cancelled, printed, and show-filters-in-header.

Thanks for the info!
I think we have a developer looking into this.

@matthewsmith-commits
I come with hat in hand.
Internally, we manage two versions of a JSON library for compatibility reasons. It appears that at some point in time, libraries were swapped and it looks like it is causing the problems here. A fix for this should be out in the next maintenance release.
I'll be in touch with a bug ticket number so you can track the fix in our release notes.

I will close this issue. If 20.1.2 does not address the issue we can reopen.


Compile tests to output, not output/tests

I see this recommends compiling to output/tests. If doing that, the compilation wouldn't be able to use previously compilation artifacts as cached results to shorten compile times. I think we can safely compile to "output", no?

Yes, this seems reasonable. :) Thanks!


Add manual workflow trigger

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

v2.4.1
GitHub release

Your semantic-release bot :package::rocket:


Rack Handler

Hi,
I recently looked into adding trinidad as an option to use as a development server in Padrino for JRuby users. Sadly, I found that trinidad does not implement a Rack::Handler subclass class that can be used in the standard rack handler way:
h = Rack::Handler.get(:trinidad)
h.run(....server_opts....)

Is it possible to implement such a class so that we can implement a zero-config server environment with a proper webserver (not Webrick) for JRuby users as well?
If you have any questions on how the Handler protocol works, feel free to ask.
Regards,
Florian Gilcher

Hi,
I am facing the same issue, I'm running jruby 1.6.5. please help me to find a solution. thanks in advance.
I am pasting the log below:
--- System
jruby 1.6.5 (ruby-1.8.7-p330) (2011-10-25 9dcd388) (Java HotSpot(TM) Client VM 1.6.0_20) [linux-i386-java]
Time: Thu Jan 05 06:22:14 -0700 2012
Server: Apache Tomcat/7.0.23
jruby.home: /home/aarthi/.rvm/rubies/jruby-1.6.5
--- Context Init Parameters:
jruby.compat.version = 1.8.7
jruby.initial.runtimes = 1
jruby.max.runtimes = 5
jruby.min.runtimes = 1
public.root = /public
rails.env = development
rails.root = /
--- Backtrace
NoMethodError: undefined method `register' for Rack::Handler:Module
(root) at /home/aarthi/.rvm/gems/jruby-1.6.5/gems/trinidad-1.3.0/lib/rack/handler/trinidad.rb:33
require at org/jruby/RubyKernel.java:1038
require at /home/aarthi/Projects/ccwebapp/vendor/rails/activesupport/lib/active_support/dependencies.rb:156
new_constants_in at /home/aarthi/Projects/ccwebapp/vendor/rails/activesupport/lib/active_support/dependencies.rb:521
new_constants_in at /home/aarthi/Projects/ccwebapp/vendor/rails/activesupport/lib/active_support/dependencies.rb:520
require at /home/aarthi/Projects/ccwebapp/vendor/rails/activesupport/lib/active_support/dependencies.rb:156
(root) at /home/aarthi/.rvm/gems/jruby-1.6.5/gems/trinidad-1.3.0/lib/rack/handler/trinidad.rb:24
require at org/jruby/RubyKernel.java:1038
require at /home/aarthi/.rvm/gems/jruby-1.6.5/gems/trinidad-1.3.0/lib/trinidad.rb:68
each at org/jruby/RubyArray.java:1612
require at /home/aarthi/.rvm/gems/jruby-1.6.5/gems/bundler-1.0.21/lib/bundler/runtime.rb:66
each at org/jruby/RubyArray.java:1612
require at /home/aarthi/.rvm/gems/jruby-1.6.5/gems/bundler-1.0.21/lib/bundler/runtime.rb:55
require at /home/aarthi/.rvm/gems/jruby-1.6.5/gems/bundler-1.0.21/lib/bundler.rb:122
load_gems at /home/aarthi/Projects/ccwebapp/config/boot.rb:116
process at /home/aarthi/Projects/ccwebapp/vendor/rails/railties/lib/initializer.rb:164
send at org/jruby/RubyKernel.java:2093
run at /home/aarthi/Projects/ccwebapp/vendor/rails/railties/lib/initializer.rb:113
(root) at /home/aarthi/Projects/ccwebapp/config/environment.rb:62
load at org/jruby/RubyKernel.java:1063
load_environment at /home/aarthi/Projects/ccwebapp/config/environment.rb:54
to_app at file:/home/aarthi/.rvm/gems/jruby-1.6.5/gems/jruby-rack-1.1.2/lib/jruby-rack-1.1.2.jar!/jruby/rack/rails.rb:47
new at file:/home/aarthi/.rvm/gems/jruby-1.6.5/gems/jruby-rack-1.1.2/lib/jruby-rack-1.1.2.jar!/jruby/rack/rails.rb:192
(root) at <web.xml>:1
instance_eval at org/jruby/RubyKernel.java:2062
initialize at file:/home/aarthi/.rvm/gems/jruby-1.6.5/gems/jruby-rack-1.1.2/lib/jruby-rack-1.1.2.jar!/vendor/rack-1.3.6/rack/builder.rb:51
(root) at <web.xml>:1
--- RubyGems
Gem.dir: /home/aarthi/.rvm/gems/jruby-1.6.5
Gem.path:
/home/aarthi/Projects/ccwebapp/WEB-INF/gems
/home/aarthi/.rvm/gems/jruby-1.6.5
/home/aarthi/.rvm/gems/jruby-1.6.5@global
Activated gems:
rake-<IP_ADDRESS>
RedCloth-4.2.9-java
Selenium-1.1.14
activesupport-2.3.5
rack-1.0.1
actionpack-2.3.5
actionmailer-2.3.5
activerecord-2.3.5
activerecord-jdbc-adapter-0.9.2
jdbc-mysql-5.0.4
activerecord-jdbcmysql-adapter-0.9.2
activeresource-2.3.5
builder-3.0.0
mime-types-1.17.2
xml-simple-1.1.1
aws-s3-0.6.2
braintree-2.7.0
bundler-1.0.21
cancan-1.6.7
highline-1.6.9
net-ssh-2.2.2
net-scp-1.0.4
net-sftp-2.0.5
net-ssh-gateway-1.1.0
capistrano-2.9.0
capistrano-ext-1.2.1
diff-lcs-1.1.3
json_pure-1.6.4
polyglot-0.3.3
term-ansicolor-1.0.7
treetop-1.4.10
cucumber-0.6.2
cucumber-rails-0.2.4
database_cleaner-0.4.3
ezcrypto-0.7.2
gem_plugin-0.2.3
geoip-0.8.6
geonames-0.2.2
haml-3.1.4
hoptoad_notifier-2.4.11
icalendar-1.1.1
image_voodoo-0.8.0
is_paranoid-0.9.6
jruby-openssl-0.6
jruby-rack-1.1.2
json-1.6.4-java
weakling-0.0.4-java
nokogiri-1.4.4-java
ruby-hmac-0.4.0
oauth-0.3.6
open4-1.3.0
rack-test-0.6.1
rails-2.3.5
ri_cal-0.8.5
rspec-1.3.0
rspec-rails-1.3.2
ruby-openid-2.1.8
rufus-scheduler-2.0.6
selenium-client-1.2.18
syntax-1.0.0
tlb-core-0.3.2
tlb-rspec1-0.3.2
toadhopper-2.0
trinidad_jars-1.0.2
trinidad-1.3.0
tzinfo-0.3.22
webrat-0.7.0

Hey @kcpavan, I just committed a fix for some configuration errors that I got with the lastest rack version. Can you check master out and try with that version? If it works I'll go ahead and release a new stable version.

Just started to try Trinidad today with Sinatra. I can't seem to get trinidad to start with a simple Sinatra app. This issue seems to be related. Using rvm-installed jruby:
jruby 1.6.5 (ruby-1.9.2-p136) (2011-10-25 9dcd388) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_29) [darwin-x86_64-java]

Gemfile:
gem 'rack'
gem 'jruby-rack'
gem 'trinidad', :git => "https://github.com/trinidad/trinidad.git"
gem 'sinatra'

config.ru
require 'rubygems'
require 'trinidad'
require 'tester'
Tester.run! :host => 'localhost', :port => 8080

tester.rb
require 'sinatra/base'

class Tester < Sinatra::Base
  set :server, "trinidad"

  get '/' do
    "Hello!"
  end
end

Starting server with: bundle exec trinidad -r config.ru
Results:
NoMethodError: undefined method `register' for Rack::Handler:Module
    Handler at /Users/bporterfield/.rvm/gems/jruby-1.6.5@2j/bundler/gems/trinidad-c9f97fe94ebf/lib/rack/handler/trinidad.rb:40

Would love to know if new commits are related and/or if I'm doing something wrong? Thanks!

I tried with "bundle exec rackup" command it's starting webrick server.
even i tried with "bundle exec rackup -s trinidad" command its giving following error:
NameError: wrong constant name trinidad.
it's working fine without bundler.
I am using rack-1.1.3 and rails 2.3.14

"bundle exec rackup" with my setup appears to be working. The output is:
bporterfield@ ~/dev/2jrubytest$ bundle exec rackup
Jan 6, 2012 8:13:53 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-/<IP_ADDRESS>-8080"]
Jan 6, 2012 8:13:53 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Tomcat
Jan 6, 2012 8:13:53 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.23
2012-01-06 16:13:53 INFO: No global web.xml found
2012-01-06 16:13:54 INFO: Starting ProtocolHandler ["http-bio-/<IP_ADDRESS>-8080"]

And the my test page was served. Thank you!

I've released trinidad-1.3.1 with the latest fixes on master.
@kcpavan probably your issue is caused because you don't have Trinidad in your Gemfile. Check the README, I've added some lines about the rackup startup.
I'm going to close this issue but if your problems persist, please feel free to open it again.
Thank you!

That looks more like a JRuby-rack issue. Please open a ticket at http://github.com/jruby/jruby-rack/issues
I'm closing this ticket.
Thank you!!

I'm still seeing this issue with Trinidad 1.3.1:
[myproject@myhost current]$ jruby -S trinidad -e myhost
Jan 11, 2012 6:17:21 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-3000"]
Jan 11, 2012 6:17:21 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Tomcat
Jan 11, 2012 6:17:21 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.23
2012-01-11 11:17:21 INFO: No global web.xml found
2012-01-11 11:17:22 INFO: Info: received max runtimes = 5
2012-01-11 11:17:22 INFO: jruby 1.6.5 (ruby-1.9.2-p136) (2011-10-25 9dcd388) (OpenJDK 64-Bit Server VM 1.6.0_22) [linux-amd64-java]
2012-01-11 11:17:22 INFO: Info: using runtime pool timeout of 30 seconds
2012-01-11 11:17:22 INFO: Info: received min runtimes = 1
2012-01-11 11:17:22 INFO: Info: received max runtimes = 5

config/boot.rb
config/environment.rb
config/application.rb
/home/myproject/.rvm/gems/jruby-1.6.5@myproject-rails-gui/gems/rack-1.3.6/lib/rack.rb:14 warning: already initialized constant VERSION
/home/myproject/.rvm/gems/jruby-1.6.5@myproject-rails-gui/gems/jruby-rack-1.1.3/lib/jruby/rack/version.rb:10 warning: already initialized constant VERSION
2012-01-11 11:17:33 INFO: Info: received min runtimes = 1
2012-01-11 11:17:33 INFO: Info: received max runtimes = 5
2012-01-11 11:17:33 INFO: An exception happened during JRuby-Rack startup
undefined method `register' for Rack::Handler:Module
--- System
jruby 1.6.5 (ruby-1.9.2-p136) (2011-10-25 9dcd388) (OpenJDK 64-Bit Server VM 1.6.0_22) [linux-amd64-java]
Time: 2012-01-11 06:17:33 -0500
Server: Apache Tomcat/7.0.23
jruby.home: /home/myproject/.rvm/rubies/jruby-1.6.5

--- Context Init Parameters:
jruby.compat.version = 1.9.2
jruby.initial.runtimes = 1
jruby.max.runtimes = 5
jruby.min.runtimes = 1
public.root = /public
rails.env = myhost
rails.root = /
--- Backtrace
NoMethodError: undefined method `register' for Rack::Handler:Module
Handler at /home/myproject/.rvm/gems/jruby-1.6.5@myproject-rails-gui/gems/trinidad-1.3.1/lib/rack/handler/trinidad.rb:40
Rack at /home/myproject/.rvm/gems/jruby-1.6.5@myproject-rails-gui/gems/trinidad-1.3.1/lib/rack/handler/trinidad.rb:8
(root) at /home/myproject/.rvm/gems/jruby-1.6.5@myproject-rails-gui/gems/trinidad-1.3.1/lib/rack/handler/trinidad.rb:7
require at org/jruby/RubyKernel.java:1047
(root) at /home/myproject/.rvm/gems/jruby-1.6.5@myproject-rails-gui/gems/trinidad-1.3.1/lib/rack/handler/trinidad.rb:24
require at org/jruby/RubyKernel.java:1047
require at /home/myproject/.rvm/gems/jruby-1.6.5@myproject-rails-gui/gems/trinidad-1.3.1/lib/trinidad.rb:68
each at org/jruby/RubyArray.java:1612
require at /home/myproject/.rvm/gems/jruby-1.6.5@myproject-rails-gui/gems/bundler-1.0.21/lib/bundler/runtime.rb:66
each at org/jruby/RubyArray.java:1612
require at /home/myproject/.rvm/gems/jruby-1.6.5@myproject-rails-gui/gems/bundler-1.0.21/lib/bundler/runtime.rb:55
require at /home/myproject/.rvm/gems/jruby-1.6.5@myproject-rails-gui/gems/bundler-1.0.21/lib/bundler.rb:122
(root) at /home/myproject/myproject-rails-gui/20120111040632/config/application.rb:17
require at org/jruby/RubyKernel.java:1047
(root) at /home/myproject/myproject-rails-gui/20120111040632/config/application.rb:4
require at org/jruby/RubyKernel.java:1047
load_environment at /home/myproject/myproject-rails-gui/20120111040632/config/environment.rb:167
to_app at file:/home/myproject/.rvm/gems/jruby-1.6.5@myproject-rails-gui/gems/jruby-rack-1.1.3/lib/jruby-rack-1.1.3.jar!/jruby/rack/rails.rb:172
new at file:/home/myproject/.rvm/gems/jruby-1.6.5@myproject-rails-gui/gems/jruby-rack-1.1.3/lib/jruby-rack-1.1.3.jar!/jruby/rack/rails.rb:192
(root) at /home/myproject/myproject-rails-gui/20120111040632/config.ru:1
instance_eval at org/jruby/RubyBasicObject.java:1720
initialize at file:/home/myproject/.rvm/gems/jruby-1.6.5@myproject-rails-gui/gems/jruby-rack-1.1.3/lib/jruby-rack-1.1.3.jar!/vendor/rack-1.3.6/rack/builder.rb:51
(root) at /home/myproject/myproject-rails-gui/20120111040632/config.ru:1
--- RubyGems
Gem.dir: /home/myproject/.rvm/gems/jruby-1.6.5@myproject-rails-gui
Gem.path:
/home/myproject/myproject-rails-gui/20120111040632/WEB-INF/gems
/home/myproject/.rvm/gems/jruby-1.6.5@myproject-rails-gui
/home/myproject/.rvm/gems/jruby-1.6.5@global
Activated gems:
bundler-1.0.21
rake-0.8.7
multi_json-1.0.4
activesupport-3.1.3
builder-3.0.0
i18n-0.6.0
activemodel-3.1.3
erubis-2.7.0
rack-1.3.6
rack-cache-1.1
rack-mount-0.8.3
rack-test-0.6.1
hike-1.2.1
tilt-1.3.3
sprockets-2.0.3
actionpack-3.1.3
mime-types-1.17.2
polyglot-0.3.3
treetop-1.4.10
mail-2.3.0
actionmailer-3.1.3
arel-2.2.1
tzinfo-0.3.31
activerecord-3.1.3
activeresource-3.1.3
bouncy-castle-java-1.5.0146.1
nokogiri-1.5.0-java
ffi-1.0.11-java
childprocess-0.2.3
rubyzip-0.9.5
selenium-webdriver-2.14.0
xpath-0.1.4
capybara-1.1.3.pre
ci_reporter-1.6.5
client_side_validations-3.0.5
diff-lcs-1.1.3
json-1.6.4-java
gherkin-2.7.2-java
term-ansicolor-1.0.7
cucumber-1.1.4
cucumber-rails-1.1.1
factory_girl-2.0.5
rack-ssl-1.3.2
rdoc-3.12
thor-0.14.6
railties-3.1.3
factory_girl_rails-1.1.0
formtastic-1.2.4
headless-0.2.2
humanizer-2.4.3
jquery-rails-1.0.19
jruby-jars-1.6.5
jruby-openssl-0.7.4
jruby-rack-1.1.3
memcache-client-1.8.5
net-ldap-0.2.2
rails-3.1.3
rest-client-1.6.7
rspec-core-2.6.4
rspec-expectations-2.6.0
rspec-mocks-2.6.0
rspec-2.6.0
rspec-rails-2.6.1
shoulda-2.11.3
trinidad_jars-1.0.2
trinidad-1.3.1
warbler-1.3.2
will_paginate-3.0.2
--- Bundler
Bundler.bundle_path: /home/myproject/.rvm/gems/jruby-1.6.5@myproject-rails-gui
Bundler.root: /home/myproject/myproject-rails-gui/20120111040632
Gemfile: /home/myproject/myproject-rails-gui/20120111040632/Gemfile
Settings:
gemfile = /home/myproject/myproject-rails-gui/20120111040632/Gemfile
bin_path =<EMAIL_ADDRESS>--- JRuby-Rack Config
compat_version = RUBY1_9
filter_adds_html = true
filter_verifies_resource = false
ignore_environment = false
initial_runtimes = 1
jms_connection_factory =
jms_jndi_properties =
logger = org.jruby.rack.logging.ServletContextLogger@3af579de
logger_class_name = servlet_context
logger_name = jruby.rack
maximum_runtimes = 5
num_initializer_threads =
rackup =
rackup_path =
rewindable = true
runtime_arguments =
runtime_timeout_seconds =
serial_initialization = false
servlet_context = org.apache.catalina.core.ApplicationContextFacade@65612c8f
2012-01-11 11:17:33 SEVERE: Error: unable to initialize application
2012-01-11 11:17:53 INFO: Starting ProtocolHandler ["http-bio-3000"]

there is an open ticket in JRuby-rack talking about this:
https://github.com/jruby/jruby-rack/issues/83

Following the advice in that ticket I downgraded to jruby-rack-1.1.1.  Trinidad 1.3.1 requires jruby-rack >= 1.1.2, which forced me do downgrade Trinidad to version 1.2.3.  Once I did that I got things working.
Were there changes in jruby-rack-1.1.2 which Trinidad depends on?  If not then the dependency could be lowered to 1.1.1, which would allow people to use trinidad-1.3.1 until jruby-rack is fixed.  If that won't work then is there any way to get Trinidad 1.3.1 working right now or is it stuck until that issue in jruby-rack is resolved?  If there isn't any way to run it then it would be helpful if the README said something about this problem.
Thanks for your help and all of the work on Trinidad.

i have the same issue as @mhuffnagle 1.1.1 works fine 1.1.2/3 crash out

Linking to jruby/jruby-rack#83

It seems the issues were caused because Rack uses autoload to load Rack::Handler and when we tried to load Trinidad's rack handler that module wasn't initialized. This is the commit with the fix:
https://github.com/trinidad/trinidad/commit/7729f5afd9917ffaa34114f06a022d81fb09bf13
I've released Trinidad 1.3.2 with it.
I'm closing this issue. Thank you all for your patience.

works for me - thanks!


Update ms-rest-js dependency

By staying on v1 of @azure/ms-rest-js, this package is not usable on azure sdks that have moved on to using v2 of @azure/ms-rest-js.
The counterpart to this package in node is @azure/ms-rest-nodeauth that has long since released a major version update after upgrading to use v2 of @azure/ms-rest-js as below
"@azure/ms-rest-azure-env": "^2.0.0",
"@azure/ms-rest-js": "^2.0.4",

This issue is to request the same change to this package.
This will be a breaking change and therefore will need a major version update from 0 to 1
With this change,

Azure SDKs that have moved on to using v2 of @azure/ms-rest-js will need v3 of @azure/ms-rest-nodeauth if using node or v1 of @azure/ms-rest-browserauth
Azure SDKs that are still using v1 of @azure/ms-rest-js will need v2 of @azure/ms-rest-nodeauth if using node or v0 of @azure/ms-rest-browserauth

cc @HarshaNalluru, @daviwil

#30

Thanks @HarshaNalluru!
The version 1.0.0 of this package now has the updated dependencies


Removed redundant highlight for code example

Removed redundant highlight in the code snippet example.
Furthermore, on the docs, line 43 isn't highlighted but should be according to the context of the docs and the URL provided for the code snippet.
link to documentation in question: https://docs.microsoft.com/en-us/aspnet/core/tutorials/first-mvc-app/search?view=aspnetcore-6.0
Code snippet URL before:
~/tutorials/first-mvc-app/start-mvc/sample/MvcMovie22/Views/Movies/IndexFormGenreNoRating.cshtml?highlight=1,15,16,17,19,28,31,34,37,43)
Code snippet URL after:
~/tutorials/first-mvc-app/start-mvc/sample/MvcMovie22/Views/Movies/IndexFormGenreNoRating.cshtml?highlight=1,15,16,17,28,31,34,37,43)

I will close this later if I don't see further comment, but please do let me know if I am missing something.

Line 43 highlight was needed as you pointed out, so added that.  Line 19 was missing from highlight on version >= 6.0 so I added that.


makeToast function not working, but makeToastActivity works

I'm trying to get Toast-Swift to work and my sample calls are:
self.view.makeToastActivity(.center) and self.view.makeToast("SUCCESS")
If I call makeToastActivity alone, it works.
If I call them both in order, both work.
But if I call makeToast alone, I get this error:
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UIView makeToast:]: unrecognized selector sent to instance 0x7fe1b0d3e8c0'
Any insight as to why this is happening?

Oddly,
calling ToastManager.shared.queueEnabled = false or self.view.hideToastActivity() before hand will allow makeToast to work without a hitch.
I guess it's now working as intended.


Different Data returned in onPaymentMethodReceived in PayPal Single payment flow verses Future Payment

When you initiate the paypal single payment flow the following is returned:
{
"nonce": "c812933e-fc0c-4786-a712-afbde4d8e280",
"details": {
"email"<EMAIL_ADDRESS>"firstName": "John",
"lastName": "Doe",
"phone": "312-123-4567",
"shippingAddress": {
"streetAddress": "123 Division Street",
"extendedAddress": "Apt. #1",
"locality": "Chicago",
"region": "IL",
"postalCode": "60618",
"countryCodeAlpha2": "US",
"recipientName": "John Doe"
}
},
"type": "PayPalAccount"
}
When you initiate the future payments flow the following is returned:
{
"nonce": "ac592269-0501-4985-a34e-9f0a6d03a8db",
"details": {
"email"<EMAIL_ADDRESS>"shippingAddress": {
"id": "1807238",
"defaultAddress": true,
"preferredAddress": false,
"postalCode": "123456",
"region": "CT",
"type": "HOME_OR_WORK",
"streetAddress": "2300 Park Road",
"recipientName": "Jane Doe",
"countryCodeAlpha2": "US",
"locality": "Ridgefield",
"extendedAddress": "56688 B Street"
}
},
"type": "PayPalAccount"
}
I really need the first name and last name separated out like the single payments flow.  Should be consistent between the 2 flows.

Hi @trainerbill,
Currently we support a Vault Flow and Checkout Flow for our PayPal integration.  The 'Checkout Flow' is using a UI developed and designed by PayPal which allows us easy access to buyer information including the firstName, lastName, and phone.

You are using Oauth + REST for the Vault Flow correct?  You should get all this information back when submitting the Get User Information api call:
https://developer.paypal.com/docs/api/#get-user-information

That's a valid point. We are currently working on returning additional information for both flows, and will do our best to unify the responses as a part of that initiative.
Thank you for the feedback.

As @schneiderik said, in the future we will do our best to unify those responses. Unfortunately, there is no timeline for that work.
I am going to close this issue and we will be sure to communicate any future changes that may affect the format of these responses.


Change instances of uController to microcontroller

And instances of uC as well.

@steven-bellock pls confirm: figure 7, 10, 11, 12, 13: we should update Caliptra uC to Caliptra microcontroller. If so, please assign to me.


NewVoxelMesh: index out of range panic

I've been encountering an "index out of range" panic when creating a VoxelMesh similar to the following:
voxels := []Voxel{
		{X: 0, Y: 2, Z: 0}, {X: 1, Y: 0, Z: 0},
		{X: 0, Y: 1, Z: 0}, {X: 1, Y: 1, Z: 0},
		{X: 0, Y: 2, Z: 0}, {X: 1, Y: 2, Z: 0},
		{X: 1, Y: 1, Z: 1},
	}
vm := NewVoxelMesh(voxels)

It seems to generally happen with any "plane" of voxels with a few more voxels above it.
This mesh (and other similar ones) reproduces the following error consistently:

panic: runtime error: index out of range [-1] [recovered]
panic: runtime error: index out of range [-1]
...
github.com/fogleman/fauxgl.combineVoxelFaces({0xc000114280?, 0x3, 0x1?})
/projects/github.com/fogleman/fauxgl/voxel.go:179 +0x545
github.com/fogleman/fauxgl.NewVoxelMesh({0xc00008ddd8, 0x7, 0x7?})
/projects/github.com/fogleman/fauxgl/voxel.go:93 +0x273

I am not sure if this is user error on my part or a bug as I'm very new to this library and the concept of voxel meshes.

argh, I realized my example had a typo and had an overlapping voxel... and of course, fixing that doesn't reproduce the bug... so perhaps my original issue was also an overlapping voxel.
I'll double-check all that and close this issue if it is just user error on my part. I expect that overlapping voxels is not a valid use case.

Oof yeah, as far as I can tell this has only been happening when I have overlapping voxels added to the same mesh and I'm assuming this is not a valid use case.
I'll close the issue. Sorry for the false alarm.


Add source generator for IsLongRunning property

Prereqs:

[x] https://github.com/ppy/osu-framework/pull/5760

Removes yet another reflection usage inside Drawable.

Have fixed merge conflicts and resolved blockers. @smoogipoo please check on my changes where able and take a look whether I haven't broken anything.
If everything looks okay I'll proceed with further testing with game prior to merge.

Only thing is, I want to see if this can be changed to use the same structure as https://github.com/ppy/osu-framework/pull/5761


Extremely Limited; Missing Parameters to address missing fields

The HubSpot connector works in a limited fashion but is missing functionality on specifying additional fields for sync.  For some Syncs like " HubSpot", "Company Properties" this is not really a problem.  However, the fields that sync on objects like CONTACT, COMPANIES, DEALS, etc make this almost useless.
For sake of discussion, I will focus on the CONTACT object.  The problem is that the "out of the box" sync for the HubSpot connector is to only sync a small SUBSET of the fields in your Hubspot org.  There is no ability to add parameters to the HubSpot ADF Connector (HADFC) to allow this to happen.
I spoke with HubSpot on this and thought this was initially a problem with them to which they had this to say:
Thank you for getting back to me on this. I think you hit the nail on the head there. Looking at the screenshots and
based on the information I could find it looks like the software itself is missing functionality that would allow you
to control what information is passed so that our API can return the right information.

The way our API works is that it will only return the data that you ask for. In this case, if you are looking for
specific properties, you need to "ask" for these properties when sending an API request. In this situation,
it would be in a form of a &properties={{value}} parameter in the endpoint URL. It looks to me like the
developer team that created the plugin you are currently using did not implement an option to specify
these parameters which means that the app was not designed to allow for this level of flexibility.

Our API is available to everyone and can be accessed by all external systems, however, if you are using
an external integration, it is entirely up to the app developer to build out a UI and a logic that would
interface with the end user. My recommendation here would be to reach out to the app developer
to check if this is something that they could add into their plugin so that it can fully utilize HubSpot API.

So I believe this is a BUG and probably needs to be addressed as it really makes this connector someone useless for doing syncs.
If it is NOT a bug, then the documentation on this page should be adjusted to give better concrete examples of what parameters need to be added to the "HubSpot ADF connector" to make it work properly.

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

ID: 4d9d4670-d8f7-2c1a-b93c-2d260f32ab84
Version Independent ID: 6756005b-8c21-9dac-3837-340b30565078
Content: Copy data from HubSpot - Azure Data Factory & Azure Synapse
Content Source: articles/data-factory/connector-hubspot.md
Service: data-factory
Sub-service: data-movement
GitHub Login: @jianleishen
Microsoft Alias: jianleishen

@cjland-cog  Thanks for the question! We are investigating and will update you shortly.

@jianleishen Could you please validate customer feedback and see document can be updated as appropriate?

25 days and no further action.  any update on this?

Thanks for your dedication to our documentation. Unfortunately, at this time we have been unable to review your issue in a timely manner and we sincerely apologize for the delayed response. Though the scope of our feedback channel here on GitHub covers specific documentation fixes, we can help redirect you to the right support channel to get an answer to your question: Azure Data Factory Q&A. Because this issue does not relate to documentation, we are closing this issue. #please-close


[ISSUE #525] Support the message track,add the function which supports trace topic name value configurable by users.

What is the purpose of the change
Support the feature which trace topic name value can be configurable by users.
Brief changelog
The change codes are as followers.Users can configure the trace topic name in broker sides.And then,they can use their predefined trace topic name to send or consumer the message.At last,they can use this trace topic name in the rocketmq's console project.Of course,they can use the default trace topic name value—"RMQ_SYS_TRACK_TRACE".
Verifying this change
I have already test this change code in my rocketmq cluster enviroment.
Follow this checklist to help us incorporate your contribution quickly and easily. Notice, it would be helpful if you could finish the following 5 checklist(the last one is not necessary)before request the community to review your PR.

[x] Make sure there is a Github issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a Github issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Format the pull request title like [ISSUE #123] Fix UnknownException when host config not exist. Each commit in the pull request should have a meaningful subject line and body.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Write necessary unit-test(over 80% coverage) to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[x] Run mvn -B clean apache-rat:check findbugs:findbugs checkstyle:checkstyle to make sure basic checks pass. Run mvn clean install -DskipITs to make sure unit-test pass. Run mvn clean test-compile failsafe:integration-test  to make sure integration-test pass.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Coverage decreased (-0.009%) to 43.904% when pulling cde6f404414b5aff72a88c0d80f6464068e8ce75 on zongtanghu:msg_track into c50ada6ef1ffabae105efb234c9c98bf4c4c8c06 on apache:msg_track.


Canbewell 1.0: capture click event on subject

Research and enhance the functionality to capture click event on subjects for analytics

Duplicate to #230


All Update app catalog instructions for on-premise

These are updates to the UI instructions for how to create an app catalog, and how to register an Office add-in for the on-premises SharePoint Server scenario.

Docs Build status updates of commit 57c9151:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/publish/publish-task-pane-and-content-add-ins-to-an-add-in-catalog.md
:white_check_mark:Succeeded

docs/toc.yml
:white_check_mark:Succeeded

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

Docs Build status updates of commit 47c5ea9:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/concepts/add-in-development-lifecycle.md
:white_check_mark:Succeeded

docs/concepts/privacy-and-security.md
:white_check_mark:Succeeded

docs/concepts/requirements-for-running-office-add-ins.md
:white_check_mark:Succeeded

docs/develop/loading-the-dom-and-runtime-environment.md
:white_check_mark:Succeeded

docs/includes/grant-admin-consent-to-an-add-in-include.md
:white_check_mark:Succeeded

docs/project/create-a-project-add-in-that-uses-rest-with-an-on-premises-odata-service.md
:white_check_mark:Succeeded

docs/project/project-add-ins.md
:white_check_mark:Succeeded

docs/publish/centralized-deployment.md
:white_check_mark:Succeeded

docs/publish/publish-task-pane-and-content-add-ins-to-an-add-in-catalog.md
:white_check_mark:Succeeded

docs/publish/publish.md
:white_check_mark:Succeeded

docs/testing/debug-add-ins-in-office-online.md
:white_check_mark:Succeeded

docs/toc.yml
:white_check_mark:Succeeded

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

Docs Build status updates of commit f10757d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/concepts/add-in-development-lifecycle.md
:white_check_mark:Succeeded

docs/concepts/privacy-and-security.md
:white_check_mark:Succeeded

docs/concepts/requirements-for-running-office-add-ins.md
:white_check_mark:Succeeded

docs/develop/loading-the-dom-and-runtime-environment.md
:white_check_mark:Succeeded

docs/includes/grant-admin-consent-to-an-add-in-include.md
:white_check_mark:Succeeded

docs/project/create-a-project-add-in-that-uses-rest-with-an-on-premises-odata-service.md
:white_check_mark:Succeeded

docs/project/project-add-ins.md
:white_check_mark:Succeeded

docs/publish/centralized-deployment.md
:white_check_mark:Succeeded

docs/publish/publish-task-pane-and-content-add-ins-to-an-add-in-catalog.md
:white_check_mark:Succeeded

docs/publish/publish.md
:white_check_mark:Succeeded

docs/testing/debug-add-ins-in-office-online.md
:white_check_mark:Succeeded

docs/toc.yml
:white_check_mark:Succeeded

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

@kbrandl Okay, good recommendations. I uploaded new changes to review. Thanks!

Docs Build status updates of commit 1111bdb:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/concepts/add-in-development-lifecycle.md
:white_check_mark:Succeeded

docs/concepts/privacy-and-security.md
:white_check_mark:Succeeded

docs/concepts/requirements-for-running-office-add-ins.md
:white_check_mark:Succeeded

docs/develop/loading-the-dom-and-runtime-environment.md
:white_check_mark:Succeeded

docs/includes/grant-admin-consent-to-an-add-in-include.md
:white_check_mark:Succeeded

docs/project/create-a-project-add-in-that-uses-rest-with-an-on-premises-odata-service.md
:white_check_mark:Succeeded

docs/project/project-add-ins.md
:white_check_mark:Succeeded

docs/publish/centralized-deployment.md
:white_check_mark:Succeeded

docs/publish/publish-task-pane-and-content-add-ins-to-an-add-in-catalog.md
:white_check_mark:Succeeded

docs/publish/publish.md
:white_check_mark:Succeeded

docs/testing/debug-add-ins-in-office-online.md
:white_check_mark:Succeeded

docs/toc.yml
:white_check_mark:Succeeded

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

Docs Build status updates of commit b9ee419:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/concepts/add-in-development-lifecycle.md
:white_check_mark:Succeeded

docs/concepts/privacy-and-security.md
:white_check_mark:Succeeded

docs/concepts/requirements-for-running-office-add-ins.md
:white_check_mark:Succeeded

docs/develop/loading-the-dom-and-runtime-environment.md
:white_check_mark:Succeeded

docs/includes/grant-admin-consent-to-an-add-in-include.md
:white_check_mark:Succeeded

docs/project/create-a-project-add-in-that-uses-rest-with-an-on-premises-odata-service.md
:white_check_mark:Succeeded

docs/project/project-add-ins.md
:white_check_mark:Succeeded

docs/publish/centralized-deployment.md
:white_check_mark:Succeeded

docs/publish/publish-task-pane-and-content-add-ins-to-an-add-in-catalog.md
:white_check_mark:Succeeded

docs/publish/publish.md
:white_check_mark:Succeeded

docs/testing/debug-add-ins-in-office-online.md
:white_check_mark:Succeeded

docs/toc.yml
:white_check_mark:Succeeded

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


Update 2021-08-10-poly-network.md

/qualitycheck

/payout

@kishoian please send me your preferred payment method along with the wallet address to<EMAIL_ADDRESS>


[FIX] Transaction amount in popup window incorrect

Fixes #768.

away from my linux node atm, will test gitian

away from my linux node atm, will test gitian

A new build of 65eb7b7856c292a2c962ce39f16b0246f588136b has completed succesfully!
Binaries available at https://build.nav.community/binaries/fix-subtract-fee


Dronekit improvements

Simplifying mode change and apply new json mission format

Can you enable the CI test in the test script so that its actually being run? Or did I miss that it's already running?

@dagar i don't have the SITL docker image running so i cannot test this. could you add this?
@LorenzMeier maybe merge first?

We can merge first. I'll send a new PR which just enables it in CI.

It does rely on https://github.com/ArduPilot/pymavlink/pull/42


Release 5.0.0

Time for a release!

Time for a release!

HUGE 🚀

I would like to be removed as a lead for this project, but I don't know how that's done. I haven't worked with Django or django-model-utils for quite a few years now, and wouldn't even feel competent to evaluate the state of this project (let alone having any idea how to make a release.)

Maybe @jezdez can be of help and remove you?

Also, I'm all in for making you lead and replace Carl if he no longer wants to be involved. It's just not something I'm allowed to do myself.

@charettes the release is available now on jazzband. Do you know who is allowed to make changes to the leads?

the release is available now on jazzband

@foarsitter just uploaded to Pypi

Do you know who is allowed to make changes to the leads?

It looks like it happened through @jezdez at the time https://github.com/jazzband/help/issues/151


[PE-D][Tester D] Lack of Information on import Command in UG

Expected outcome of trying to import invalid inputs (but valid filepath) from a csv file is not documented in the UG or DG.
Error Message shown:
none

corruptedCSV.csv contains contacts with bits of missing information:

Labels: severity.Low type.DocumentationBug
original: vinc3leong/ped#7

not sure what he's trying to say here tbh

i think he means when the csv file is corrupted, its not imported but there is no error message

Added into DG planned enhancements section.


MariaDB Updates: Configure Replication Before Updating Primary in Semi-Sync Cluster

This PR addresses this issue https://github.com/mariadb-operator/mariadb-operator/issues/845
It aims to improve the update flow of the MariaDB CR and makes these changes:

Ensure replication is configured before restarting the primary pod during updates
Gracefully handle the case when replication is not configured not to re-queue the reconciliation loop; otherwise, replication will never be configured
Allow Replication reconciliation during updates, this has also been mentioned here https://github.com/mariadb-operator/mariadb-operator/issues/928
Enable the existing related tests that were skipped following this issue https://github.com/mariadb-operator/mariadb-operator/issues/738, now they should pass successfully

Additionally, this PR does the following:

Update the logic of checking if replication is configured. While the test result is the same as the current version, it makes sense to check that at least one replica pod is running to avoid any temporary issues when the replica is not present in the status at all. However, this change is optional and I can revert it
Remove extra spaces in various files so that the IDE doesn't complain

Hello @mmontes11! Thank you for all the comments, I addressed them:)
Regarding https://github.com/mariadb-operator/mariadb-operator/issues/746, I agree there is an issue but I think this PR is not related to it because it handles only the issue with updating the MariaDB custom resources.
FYI: I tried deleting 2 pods simultaneously to reproduce the issue and the replica and master pods were restored correctly; however, from my experience of using the operator, I faced similar issues and they seem to occur randomly (maybe race conditions). One such issue is mentioned here https://github.com/mariadb-operator/mariadb-operator/issues/928
Also, I experienced issues with enabled replication probes replication.probesEnabled (when the master pod is recreated, replicas sometimes fail the probe, and k8s restarts the pod. As a result, the switchover cannot happen and all pods get stuck in the NotConfigured state). Disabling probes helped with some of them.
This is just to say that there are multiple issues with the replication and this PR addresses just one of them.
Do you think we need to handle those cases in this PR or do you see how these 2 issues are related?


Shared Memory Area Serialization

Hi,
trying to import Shared Memory Area will bring an error message "Error serializing SHMA".
The object is not created properly in the system. I see a helper class ZCL_ABAPGIT_SHMA_HELPER is needed. How to install it?
best regards,
JNN

hmm, not sure
https://github.com/larshp/abapGit/blob/master/src/objects/zcl_abapgit_object_shma.clas.abap#L49
@christianguenter2 can you help?

try changing to "LCL_SHMA_HELPER" instead of "ZCL_ABAPGIT_SHMA_HELPER", looks like a copy/paste error when moving to global classes
original code: https://github.com/larshp/abapGit/pull/899/files

@nomssi try again, latest version

mixed results:
I still have a syntax error in the created root class (formal parameter INST_NAME does not exist in method GET_INSTANCE_INFOS). I can get it to work from there, in some systems just by repeating the  zip-mport. I could not test with a pull yet. I will repeat the test once I have staged with the new version.

It seems to me that once the Shared Memory Area class is corrupted (e.g. syntax error), it cannot be fixed by abapGit and I have to use transaction SHMA.

@nomssi
Can you reproduce the error? If yes I can look into it.

I guess it is:
1: create SHMA, push it to git
2: introduce syntax error
3: reset local => error?

@nomssi

Method IF_SHM_TRACE~TRIN_GET_INSTANCE_INFOS( ) of class CL_SHM_TRACE_ADAPTER has an optional parameter INST_NAME in newer systems like 7.50 that does not exist in e.g. 7.40 SP08. The generated code uses this parameter, so I always have to generate the area class with transaction SHMA again or suffer a short dump.

Old issue but seems changing no_class_generation to false could solve it:
ZCL_ABAPGIT_OBJECT_SHMA
ZIF_ABAPGIT_OBJECT~DESERIALIZE
...
        CALL METHOD ('\PROGRAM=SAPLSHMA\CLASS=LCL_SHMA_HELPER')=>('INSERT_AREA')
          EXPORTING
            area_name           = lv_area_name
            attributes          = ls_area_attributes
            force_overwrite     = abap_true
            no_class_generation = abap_false  "<<< force generation
            silent_mode         = abap_true.

@nomssi try again, latest version


wsl --exec won't mount drvfs on WSL 1

Environment
Windows build number: Microsoft Windows [版本 10.0.18363.1316]
Your Distribution version: Ubuntu 20.04.1 LTS
Whether the issue is on WSL 2 and/or WSL 1: 1

Steps to reproduce
Iets imagine one who broke his WSL instance by messing with glibc

rm /usr/lib/x86_64-linux-gnu/libc-2.31.so
A system reboot, or wsl.exe --shutdown, or to kill init process in Task Manger in Windows side.

Then he wants to rescue the system via a busybox-static binrary placed in C:/

wsl -d Ubuntu-20.04 --exec /mnt/c/misc/busybox-x86_64 sh and hoping to see a shell

If the guy is lucky enough to have a busybox in WSL rootfs, for example /busybox-x86_64

wsl -d Ubuntu-20.04 --exec /busybox-x86_64 sh and hoping to see a shell

Expected behavior
One may wants to see shell in both step 3 or step 4
Actual behavior
Only step 4 will work, which means /mnt/c/ as drvfs is not accessible when wsl --exec is used. This may block people from fixing a broken WSL release.

Looks like this is addressed in WSL2.


Narwhalify ModeImputer

What
make ModeImputer polars compatible while maintaining backwards compatibility with pandas.
Why?
Making the project polars compatible for speed benefits. Narwhals allows us to do this piece by piece and maintain compatibility between components as it makes it possible to pass pandas dataframes to polars logic. This involves converting between pandas/polars dataframes.
How?
convert logic in ModeImputer to function with polars dataframes and add narwhalify decorators to methods to ensure compatibility with pandas dataframes.
Update testing where required.

think this will be relevant https://github.com/narwhals-dev/narwhals/issues/981

PR https://github.com/lvgig/tubular/pull/345


Using higher for hyperparameter optimization

Hi,
I believe that higher could be used for hyperparameter optimization using bilevel programming. I have attempted to adapt the given meta-learning example for bilevel programming. However, I am somewhat unsure as to whether I have done it correctly. Here is a general structure of what I have done:
# Get optimizers
inner_optim = torch.optim.Adam(params=model.parameters(), lr=args.learning_rate)
outer_optim = torch.optim.Adam(params=hp.parameters(), lr=args.learning_rate)

# Training loop
num_inner_iter = args.inner_loop
for epoch in range(args.epochs):
    outer_optim.zero_grad()
    with higher.innerloop_ctx(
        model=model,
        opt=inner_optim,
        copy_initial_weights=False,
        track_higher_grads=False,
    ) as (fmodel, diffopt):
        for _ in range(num_inner_iter):
            # Forward pass
            train_out = fmodel(transformed_features, hp)
            train_loss = custom_loss(predicted=train_out, actual=train_labels)
            diffopt.step(train_loss)

        val_out = fmodel(transformed_features_val, hp)
        val_loss = custom_loss(predicted=val_out, actual=val_labels)
        val_loss.backward()
    outer_optim.step()

Does the above look correct? Or am I misunderstanding something?

I am working on something related to two-level optimization, and Higher could help simplify the code. I would like to see some examples of meta-learners using Higher.


I found that there some code styles are different from GitHub and Gist.

Hi, it's me again.
As mentioned in the title, FIRST, I found that GitHub uses 4 spaces as TAB indentation width, but highlight.js use 8 spaces as default. See the following two pictures for details.
The display style in GitHub:

The display style in EmGitHub:

I wonder if we can make them consistently, in order to avoid wasting space.
SECONDLY, I found that Gist's CSS style uses a font size of 12px gist-meta: { font: 12px ... }, and EmGitHub uses a font size of 0.8rem file-meta:{ font: 0.8rem ... }.
https://github.com/yusanshi/embed-like-gist/blob/08eaecb705659cc9253a9688461987b20cdad8f7/embed.js#L32-L37
In my user experience, on a page that contains both Gist and EmGitHub, it looks a little strange that the font size is different, but it’s okay.
FINALLY, I wonder if we can use the params.toString() value as the id attribute of the outermost div and change the class attribute to a common class name. Because I hope I can modify some styles of EmGitHub externally by matching the class name, or is there any other way to implement this 🤔
https://github.com/yusanshi/embed-like-gist/blob/08eaecb705659cc9253a9688461987b20cdad8f7/embed.js#L5
https://github.com/yusanshi/embed-like-gist/blob/08eaecb705659cc9253a9688461987b20cdad8f7/embed.js#L28

The way to change the TAB width in highlight.js is in this issue: https://github.com/highlightjs/highlight.js/issues/508

Thanks for your suggestions!
All the changes are made at branch improve-code-display. You can try and test yourself. If that is OK to you, we can merge it into master :)
TAB width
Sorry but after searching it seems that 8 is the default width for TAB.

https://stackoverflow.com/questions/50524579/how-to-set-tab-size-in-github-web-interface
https://github.com/isaacs/github/issues/170
https://stackoverflow.com/questions/8833953/how-to-change-tab-size-on-github

Also I did a test, TABs in the files were rendered as 8 space width, on my PC and phone.

https://github.com/yusanshi/embed-like-gist/blob/test/test-tab-width.java
https://github.com/yusanshi/embed-like-gist/blob/test/test-tab-width.txt

So I think directly set TAB size to 4 is not ideal.
However, on GitHub web surface, TAB width can be specified by ?ts=X, I think we can take it into this project. Although hljs.configure({tabReplace: '    '}) does work, I didn't use this since it will modify the original content, i.e. you copy the code but all TABs become spaces. I use CSS style tab-size: X instead. In fact, I found that GitHub implements ts=X using tab-size: X.
Currently, https://github.com/yusanshi/embed-like-gist/blob/test/test-tab-width.java?ts=2#L2-L4 in this project should behave basically the same as it does on GitHub web interface.
Font size
Make sense! Changed to 12px.
Id and class
Good suggestion! Currently id is used to locate DIV (to support the same code embedded many times, a random string instead of params.toString() is used).
Also, The outermost div has a class attribute emgithub-container. So you can any hacks you want.

Well, it may be that .editorconfig affects the TAB size on GitHub 😅
I have tested them all and everything is working fine! Thank you very much!

I'll close this issue and merge the PR


Deeper config feature

Hi Bill,
bigger PR this time - hopefully to move the tool forward and allow it be more easily tuned for specific systems / setups / use cases. Driven by my need to add to the rsync excludes - which naturally lead to conf & excludes files. This then led naturally to the need for an installer to make it easy for the less experienced. Updated readme with a but more basic info - a few open issues are essentially mistakes in understanding - the installer and readme changes alone should resolve these. I also cleaned up a few other little housekeeping bits while I "had the bonnet open" :)
Obviously the PR looks like a big change, but actually no change has been made to it's operation - so is 100% backward compatible.
I hope this change opens up future expansion of the tool. My next PR will be another thing I'd like to tune it for my system - pre & post rsync script hooks. Something like this in the new rpi-clone.conf file...
POST_RSYNC_SCRIPT="/etc/rpi-clone/post-rsync.sh"

This would be useful for your standard use case detailed in the readme too... "I do that with a script that takes my desired Pi hostname as an argument" 👍
Finally - I've merged in your latest 1.6 changes and resolved merge conflicts - this 1.7 candidate should be clean and ready to merge if you like it :)

Closing pull request as these changes are now part of new ClonePi tool...
https://github.com/SpoddyCoder/clonepi


touch keyboard come up behavior

Type: Bug
Hello,
can you introduce/fix into Visual Studio Code a touchscreen keyboard functionality similar to what Word has?
That is, do not come up on each (scrolling) touch.
Only come up on editing touch. Then, stay back until another editing touch.
I have many feature suggestions, to make VSC richer, better :).
Hire me to code on these :)
Best regards,
Petr Buben
<EMAIL_ADDRESS>VS Code version: Code 1.80.1 (74f6148eb9ea00507ec113ec51c489d6ffb4b771, 2023-07-12T17:22:07.651Z)
OS version: Windows_NT x64 10.0.22621
Modes:

System Info

Item
Value

CPUs
Intel(R) Celeron(R) N4020 CPU @ 1.10GHz (2 x 1094)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: disabled_offopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
3.81GB (0.44GB free)

Process Argv
--crash-reporter-id c7e4cd5c-d657-438e-bcc3-9d48b4c15bcb

Screen Reader
no

VM
0%

Extensions (26)

Extension
Author (truncated)
Version

vscode-astyle
chi
0.9.0

c-cpp-compile-run
dan
1.0.48

c-cpp-runner
fra
7.0.2

cmake-test-adapter
fre
0.17.1

remotehub
Git
0.60.0

vscode-pull-request-github
Git
0.68.1

vscode-test-explorer
hbe
2.21.1

better-cpp-syntax
jef
1.17.2

cpptask
kay
0.0.1

cortex-debug
mar
1.12.0

debug-tracker-vscode
mcu
0.0.15

memory-view
mcu
0.0.23

peripheral-viewer
mcu
1.4.6

rtos-views
mcu
0.0.7

vscode-ros
ms-
0.9.2

python
ms-
2023.12.0

vscode-pylance
ms-
2023.7.20

remote-wsl
ms-
0.80.2

azure-repos
ms-
0.36.0

cpptools
ms-
1.16.3

cpptools-extension-pack
ms-
1.3.0

makefile-tools
ms-
0.7.0

remote-repositories
ms-
0.38.1

test-adapter-converter
ms-
0.1.8

dsdl
uav
1.0.0

vscode-lldb
vad
1.9.2

(2 theme extensions excluded)

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vsdfh931:30280409
vshan820:30294714
vstes263:30335439
vscoreces:30445986
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30410667
py29gd2263cf:30789497
vsclangdf:30486550
c4g48928:30535728
dsvsc012:30540252
pynewext54:30695312
azure-dev_surveyone:30548225
2e4cg342:30602488
pyind779:30671433
89544117:30613380
vscrpc:30673769
pythonsymbol12:30671437
showlangstatbar:30737416
vsctsb:30748421
pythonms35:30701012
03d35959:30757346
pythonfmttext:30731395
pythoncmv:30756943
fixshowwlkth:30771522
showindicator:30785052
pythongtdpath:30769146
bgfeh915:30780428
pythonnosmt12:30779714
pythonidxpt:30784022
pythonnocebcf:30776496
h7j2d465:30786200
dsvsc013:30789517

Hi, I'm wondering how to reproduce this issue? Afaik my Windows device doesn't come with a touchscreen keyboard other than the on-screen keyboard, which is always at the top.

Seems related to https://github.com/microsoft/vscode/issues/76560

This holds back the usability of VS Code on touch devices, including Surface Pro.
It regularly interrupts flow when reading / navigating with a pen or finger. Code jumps around as the window resizes to accomodate the touch keyboard.
When something other than an editor control has focus (e.g. there is no caret visible within an editor), the virtual keyboard does not automatically display on scroll.
But focusing a control which won't trigger another action is tricky, and many actions return focus to the editor, making the solution long lived.


Segmentation fault when running clstmocr on pre-trained model

I am trying to build clstm on an ubuntu 16.04 machine. My steps of installation are
sudo apt-get install scons libprotobuf-dev libprotobuf9v5 protobuf-compiler libpng-dev libeigen3-dev swig
scons
sudo scons install
./run_tests
This has a happy ending where the build succeeds and all tests pass.
Now onto the problem
I start by downloading a pre-trained model and download a random image from the web (I don't really care about the results now)
wget https://www.alislam.org/quran/search2/verses/017-002.png
wget https://raw.githubusercontent.com/mittagessen/kraken-models/master/clstm/arabic-buldan/arabic-buldan.clstm
echo "./017-002.png" > files
load=arabic-buldan.clstm  ./clstmocr files
The last line results in segmentation fault.
I ran protobuf on the clstm file against clstm.proto and the NetworkProto message was read successfully.
I ran the core dump through gdb and got
#0  0x00000000004195be in std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, ocropus::String>, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, ocropus::String> >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, ocropus::String> > >::_M_begin (this=0xa8) at /usr/include/c++/5/bits/stl_tree.h:652 652           { return static_cast<_Link_type>(this->_M_impl._M_header._M_parent); }
I first encountered this problem in the python module and tracked it down to clstm.load_net() call, the call doesn't segfault if I supply an invalid path or an invalid model only when I supply a working model does it fail.
I am running Ubuntu 16.04 with 4 gigs of ram

I managed to get a debugging environment going and localized the error to clstmhl.h line 107
The saved model has a layer of the kind "NPLSTM_SigmoidTanhTanh" and apparently it is not registered with the factory and as such it returns an empty pointer that is then dereferenced causing the crash.
What can I do to address this problem? Should I read the model outside clstm, modify it and reserialize it or maybe build an earlier version of the code where that layer existed


Ensure Hash#select's results are a Hash

Context
https://github.com/envato/rails_4_session_flash_backport/pull/20/files#r101234532
Change
Wrap the call to @used.select in a method that returns a Hash.
Cc
@zedtux & @jacobbednarz
Fixes #19

That's a better way to do it 👍


Enhancement Request: Allow to show Update Log of Offline System

Brief summary of your request
Allow to show Update Log of offline system
Request details
It would be great if it was possible to see the logs of a different system partition (not the one of the system it runs on) and see the log of that system without having to boot it up.
Anything else?
Either allow to point to the system drive ("use drive e:") or allow to import just the relevant artefacts/files (like x.log and y.evtx) - well, or both :)

@JustMyGithub, I've investigated this, and I don't see a straightforward way to fulfill your request.
WUView uses the Windows Update Agent API (WUApiLib.dll) to get the list of updates. From what I can tell, there isn't a way to point it to a specific file, drive, or machine. It just gets the updates from the machine that it's on.
I'll keep this in mind if I ever run across a way to do it.
Sorry to disappoint.
Tim

Thanks for checking. Too bad that it's not doable in straightforward fashion.


Add GitHub Actions Setup

As copied from https://github.com/crossplane-contrib/provider-helm

Applied version from https://github.com/crossplane/crossplane


cohorts can be slow for really large resampling problems

Example ERA5
import dask.array
import flox.xarray
import pandas as pd
import xarray as xr

dims = ("time", "level", "lat", "lon")
# nyears is number of years, adjust to make bigger,
# full dataset is 60-ish years.
nyears = 10
shape = (nyears * 365 * 24, 37, 721, 1440)
chunks = (1, -1, -1, -1)

ds = xr.Dataset(
    {"U": (dims, dask.array.random.random(shape, chunks=chunks))},
    coords={"time": pd.date_range("2001-01-01", periods=shape[0], freq="H")},
)
ds.resample(time="D").mean()

All the overhead is in subset_to_blocks

Now the overhead is in creating 1000s of dask arrays: here's the profile of dask.array.Array.__new__ which is totally since I'm passing in valid chunks and meta
  1331     14606  124899000.0   8551.2     10.5          meta = meta_from_array(meta, dtype=dtype)
  1332
  1333                                                   if (
  1334     14606    2636000.0    180.5      0.2              isinstance(chunks, str)
  1335     14606    2500000.0    171.2      0.2              or isinstance(chunks, tuple)
  1336      3656     510000.0    139.5      0.0              and chunks
  1337      3656    5453000.0   1491.5      0.5              and any(isinstance(c, str) for c in chunks)
  1338                                                   ):
  1339                                                       dt = meta.dtype
  1340                                                   else:
  1341     14606    1583000.0    108.4      0.1              dt = None
  1342     14606  259910000.0  17794.7     21.9          self._chunks = normalize_chunks(chunks, shape, dtype=dt)
  1343     14606    5396000.0    369.4      0.5          if self.chunks is None:
  1344                                                       raise ValueError(CHUNKS_NONE_ERROR_MESSAGE)
  1345     14606  587524000.0  40224.8     49.5          self._meta = meta_from_array(meta, ndim=self.ndim, dtype=dtype)

cc @phofl
The current approach in flox is pretty flawed --- it will create 10,000-ish layers hehe but perhaps there are some quick wins.

Alternatively, we need a better approach.
The current way is to select out a cohort, make that a new dask array, apply the tree reduction, then concatenate across cohorts.

Just linking my other comment here: https://github.com/dask/dask/issues/11026#issuecomment-2455922728

Yes some clever use of shuffle might be the way here.

Can you help me understand a bit better what high-level API would be useful here?
My understanding of the steps involved is as follows:

map blocks to do a groupby().reducer() for every chunk in the beginning (?)
Push every group into a new array and then do a tree-reduce on each array
concatenation

The pattern of creating a new array per group comes with significant overhead and also makes life for the scheduler harder. A type of highlevel API that would be useful here (based on my understanding):

Select each group into a different "branch" of an array
run a tree reduction on each branch of said array

Basically each array now would be a branch in the future, kind of like a shuffle but with no guarantee that each group ends up in a single array. Is that understanding roughly correct?

No worries, let's just tackle this a bit later then.

While working on my talk, I just remembered that you all had fixed a major scheduling problem that made "cohorts" better than "map-reduce" in many more cases. That isn't true anymore, so we should revisit the algorithm and the heuristics for when it's a good automatic choice.

Can you elaborate a bit more? Did we break something in Dask since we fixed the ordering?

No your fix makes my heuristics useless :P we need to update them and choose "map-reduce" in more cases than we do currently. The graph is significantly better and easier to schedule with "map-reduce"

Puuuh, you had me worried there for a bit 😂


session_extensions argument on the SQLAlchemy constructor doesn't exist anymore

The docs for the SQLAlchemy class describing how to customize session behaviour are very outdated. The session_extensions argument exists only in the 0.16 version, and even the SessionExtensions from SQLAlchemy have been deprecated on 0.9.
Would be nice to have updated documentation, and also some example of how customization of the Session class should be done now.
UPDATE:
Digging in the code, just found out the proper way of using SessionExtensions:
    db = SQLAlchemy(session_options={'extension': [YourSessionExtension()]})

Session extension classes were deprecated in SQLAlchemy 0.7 in favor of session event callbacks.  I'll just remove this section altogether, the versioning example referred to doesn't even exist in that form anymore.


url: Merge BaseParser into UrlParser

BaseParser was only used in //url and most of its methods were only
tested via UrlParser.

You don't think we might use something like BaseParser again in the future? It's gonna be annoying to separate it out again if it does come up.

Probably not. Sharing it between the different parsers was causing more work than it gave benefit, so all other parsers have also already copied the BaseParser-bits they were using. The functionality was trivial and most of it only used in the parser being worked on when it was added.Not having to think about what effects touching the BaseParser might have on HTML/CSS/URL parsing when working on JS parsing is nice enough that I never want to see BaseParser again.On Mar 30, 2024 03:03, David Zero @.***> wrote:
You don't think we might use something like BaseParser again in the future? It's gonna be annoying to separate it out again if it does come up.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>


fix(TFD-3558): Use ui:placeholder for JDBC URL.

What is the current behavior? (You can also link to an open issue here)
The JDBC URL doesn't show the default value when the user hasn't entered anything.
What is the new behavior?
The JDBC URL shows the default value when the user has entered data.
Please check if the PR fulfills these requirements

[X] The commit message follows Talend standard
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features) ?
[ ] The code coverage on new code >75%
[ ] The new code does not introduce new technical issues (sonar / eslint)

What kind of change does this PR introduce?

[X] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build / CI related changes
[ ] Other... Please describe:

Does this PR introduce a breaking change?

[ ] Yes
[X] No

https://github.com/Talend/daikon/pull/351

Pull request test result: failure :x:

Pull request test result: success :star:
Sonar results


0.1.4 Alpha Release

Jenkins job istio/presubmit passed

@andraxylia @sebastienvas for future reference, please don't do a release until it has been tested on multiple clouds. Or atleast inform the respective parties so that they get a chance to test before a release is done. With more people pouring in, we need to streamline this process, and make sure that multiple people sign off on a release

+1 on Shriram's comment.
We should also document it's a release candidate - and automate the build
and testing process, and increase the soak testing time. In many open
source projects the actual release is labeled and uploaded to various sites
after an announcement on the dev mailing list.
On Tue, May 23, 2017 at 6:36 AM, Shriram Rajagopalan <
<EMAIL_ADDRESS>wrote:

@andraxylia https://github.com/andraxylia @sebastienvas
https://github.com/sebastienvas for future reference, please don't do a
release until it has been tested on multiple clouds. Or atleast inform the
respective parties so that they get a chance to test before a release is
done. With more people pouring in, we need to streamline this process, and
make sure that multiple people sign off on a release
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/pull/313#issuecomment-303400057, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAFI6oY4ZyEVdndoQOr_thGavquFfwgnks5r8uD6gaJpZM4NjGfC
.

I didn't tag the release on istio/istio yet so that you can try it.
On May 23, 2017 7:26 AM, "Costin Manolache"<EMAIL_ADDRESS>wrote:

+1 on Shriram's comment.
We should also document it's a release candidate - and automate the build
and testing process, and increase the soak testing time. In many open
source projects the actual release is labeled and uploaded to various sites
after an announcement on the dev mailing list.
On Tue, May 23, 2017 at 6:36 AM, Shriram Rajagopalan <
<EMAIL_ADDRESS>wrote:

@andraxylia https://github.com/andraxylia @sebastienvas
https://github.com/sebastienvas for future reference, please don't do
a
release until it has been tested on multiple clouds. Or atleast inform
the
respective parties so that they get a chance to test before a release is
done. With more people pouring in, we need to streamline this process,
and
make sure that multiple people sign off on a release
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/pull/313#issuecomment-303400057, or
mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAFI6oY4ZyEVdndoQOr_
thGavquFfwgnks5r8uD6gaJpZM4NjGfC>
.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/pull/313#issuecomment-303415384, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AQ80ZxA-uI8xG56a0HUmPsCSCpR7IE21ks5r8uyrgaJpZM4NjGfC
.

I didn't tag the release on istio/istio yet so that you can try it.
On May 23, 2017 7:26 AM, "Costin Manolache"<EMAIL_ADDRESS>wrote:
+1 on Shriram's comment.
We should also document it's a release candidate - and automate the build
and testing process, and increase the soak testing time. In many open
source projects the actual release is labeled and uploaded to various sites
after an announcement on the dev mailing list.
On Tue, May 23, 2017 at 6:36 AM, Shriram Rajagopalan <
<EMAIL_ADDRESS>wrote:

@andraxylia https://github.com/andraxylia @sebastienvas
https://github.com/sebastienvas for future reference, please don't do a

release until it has been tested on multiple clouds. Or atleast inform the
respective parties so that they get a chance to test before a release is
done. With more people pouring in, we need to streamline this process, and
make sure that multiple people sign off on a release
—
You are receiving this because you are subscribed to this thread.

Reply to this email directly, view it on GitHub
https://github.com/istio/istio/pull/313#issuecomment-303400057, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAFI6oY4ZyEVdndoQOr_
thGavquFfwgnks5r8uD6gaJpZM4NjGfC>
.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/pull/313#issuecomment-303415384, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AQ80ZxA-uI8xG56a0HUmPsCSCpR7IE21ks5r8uyrgaJpZM4NjGfC
.

@rshriram It's a release candidate, we will make it "the" alpha release if it is good, please try it.

I did not create the release 0.1.4 https://github.com/istio/istio/releases.
Last time we made release the issues were in istio/istio so as long as we don't update Manager, Mixer or auth we can still cut 0.1.4. If we need new package from Manager, Mixer and Auth, then we need to skip 0.1.4. As @andraxylia pointed out every release is a release candidate until we say it's alpha.
By the way @rshriram where is that testing on PR for IBM cluster you guys were working on ?
@costinm the build and testing process is automated, this is just retagging. Have you actually looked at https://github.com/istio/istio/tree/master/release? Right now we need an human to say it s the release, so we might have that human do all those steps as well.


Support granular selection of tools to build

Ref #35.
This is one step closer to solving the issue; it allows you to disable/enable tools granularly.
By disabling geometryc and texturev and only building shaderc and texturec, I can now successfully pull in an external meshoptimizer, stb, freetype2 and harfbuzz without any issues.
The reason for moving cmake/tools.cmake's contents into the root was that if I didn't, I'd have to check each of the tool's options in an if() statement, which would be prone to error if a tool was added later on (adding an option, putting it in tools.cmake but not including it in the if statement). It felt more correct.
The edit at the bottom of https://github.com/JoshuaBrookover/bgfx.cmake/issues/35#issuecomment-532594750 explains what needs to be done to have geometryc and texturev play nicely with parent projects, but those aren't covered by this PR.

Just for clarity this is almost completely unrelated to #35.
I don't see what this fixes or what the point of it is, but It also won't really break anything, so I don't feel strongly either way

I agree, it has nothing to do with the original issue in #35. It does relate to the discussion taking place in there. It's a good change, especially since texturev forces you to pull in example's dependencies.

Sorry, did not mean to close.

Probably worth adding a warning/error when trying to build texturev without the examples too so it’s clear?

@pezcode good catch :)

@widberg why was this closed?

It is unrelated to the issue you referenced. You seem to be the only person that needs this. You changed the submodule remotes. If you want I’ll leave it open for others to comment, but the problem you are trying to solve does not appear to exist. I have no intention of merging this.

but the problem you are trying to solve does not appear to exist

Is nobody else using this in their project? Shaderc recompiles almost every time we do an incremental rebuild. Relinking it takes almost 20 seconds.
There's something very wrong with the cmake config as-is.

It wasn't going to be merged with the changes to .gitmodules pointing to a different branch than upstream. Not to mention suggestions to fix the PR being ignored for months.
Your quick reply suggests that you are active on github.
I don't mind the issue you're trying to fix and if the PR is cleaned, then I'd very much like to see it merged.
As for your rebuild issue, have you tried setting the target property EXCLUDE_FROM_ALL from your host projet? https://cmake.org/cmake/help/latest/prop_tgt/EXCLUDE_FROM_ALL.html#prop_tgt:EXCLUDE_FROM_ALL

It wasn't going to be merged with the changes to .gitmodules

Guys, I have already mentioned I understood this. This isn't what I'm arguing for.

As for your rebuild issue, have you tried setting the target property EXCLUDE_FROM_ALL from your host projet?

No, shaderc is not part of my own project. It's part of this project.
I'm not going to respond to this, this is an innane discussion. I'll fork and maintain my own.


"torch.DoubleTensor.t not currently supported". Workarounds?

I'm trying a toy example of auto-differentiated pairwise L2 distances module:
require 'nn'
autograd = require 'autograd'

function pdist(embeddings)
    local pdist = torch.mm(embeddings, embeddings:t())
    local norm = pdist:diag():view(pdist:size(1), 1):expandAs(pdist)
    return pdist:mul(-2.0):add(norm):add(norm:t()):sqrt()
end

m = autograd.nn.AutoModule('AutoPairwiseL2')(pdist)

print(nn.Jacobian.testJacobian(m, torch.rand(50, 128)))

Unfortunately it breaks:
function: 0x41b0ef00
...fix/bin/luajit: ...fix/share/lua/5.1/autograd/runtime/direct/DirectTape.lua:50: function torch.DoubleTensor.t not currently supported by autograd
stack traceback:
        [C]: in function 'error'
        ...fix/share/lua/5.1/autograd/runtime/direct/DirectTape.lua:50: in function 't'
        test.lua:5: in function 'fun'
        ...fix/share/lua/5.1/autograd/runtime/direct/DirectTape.lua:112: in function 'funOnly'
        ...fix/share/lua/5.1/autograd/runtime/direct/DirectTape.lua:218: in function 'b'
        ...wigwam/prefix/share/lua/5.1/autograd/auto/AutoModule.lua:52: in function 'updateGradInput'
        ..._gpu101_105/.wigwam/prefix/share/lua/5.1/nn/Jacobian.lua:21: in function 'backward'
        ..._gpu101_105/.wigwam/prefix/share/lua/5.1/nn/Jacobian.lua:235: in function 'testJacobian'
        test.lua:12: in main chunk
        [C]: in function 'dofile'
        ...105/.wigwam/prefix/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk
        [C]: at 0x00410a40

Any workarounds suggested?

torch.permute is not supported too...

Since torch.transpose is not supported in regular Torch, I had to define:
torch.transpose = function(x) return x:t() end

I think it is supported in autograd.
2016-10-21 17:02 GMT-04:00 Vadim Kantorov<EMAIL_ADDRESS>
Since torch.transpose is not supported in regular Torch, I had to define:
torch.transpose = function(x) return x:t() end
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/twitter/torch-autograd/issues/159#issuecomment-255464405,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGlLXB3UlmvQVaUyaTD2LK2pj9-xDIIaks5q2ShigaJpZM4KdO8s
.

Hey Vadim,
In-place operations are not really supported in torch-autograd. Could you
use the full torch primitives? i.e. embeddings:t() -> embeddingsT =
torch.transpose(embeddings) and so on.
Best,
Nico
2016-10-21 10:03 GMT-04:00 Vadim Kantorov<EMAIL_ADDRESS>
torch.permute is not supported too...
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/twitter/torch-autograd/issues/159#issuecomment-255385477,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGlLXC31xQpKZi0HeD6COD-IATK04p7Vks5q2MYzgaJpZM4KdO8s
.

torch.transpose isn't supported in regular Torch (master branch from a few days ago):
a = torch.rand(5, 10)
print(a:transpose(2, 1):size())
print(torch.transpose(a, 2, 1):size())

will print:

 10
  5
[torch.LongStorage of size 2]
.../prefix/bin/luajit: transpose.lua:3: attempt to call field 'transpose' (a nil value)
stack traceback: ...


network wizard

Change chatflows
Make chatflow that is responsible for creating the network
All other chatflows will require this

verified.


Open new tab after click on result in overview

In the current version when we click on the result in overview page it open open in current tab, when user wants to go again on overview page the result again fetch.
This pull request contains open in new-tab when we click on the result.

also closing this one, good addition!