Help Text for Calculation Mode needs updating

From Chatter

"Seems the default help text for Calculation Mode need to update to include Scheduled, as it also need to deploy child trigger, but correct me if I am wrong"

I think it is correct because if it is Scheduled Mode you do not need to set it as Active.   I have Scheduled rollups that run on a schedule without the triggers and without being marked as active.

Could someone verify whether JimBTek is correct? I very much want to have scheduled rollups without needing the child trigger. But I can't see how the scheduled rollup would be able to only re-calculate the children that have changed if there's no child trigger to keep track of that. Or am I missing something?

I have had the same performance as JimBTek, Scheduled Rollups will run even if the Rollup is de-activated.  I believe the Active checkbox only applies to Realtime mode.

Perhaps we are not talking about the same thing. I am not using "Schedule Calculate". That does a complete recalculation of every record for the rollup. I am using the scheduled Apex job "rollupjob", which will only recalculate rollups for the records that have been added/deleted/updated since the last run. That is needed because we have too many records and would take too long to do a calculation every night. I have tried doing this without deploying the child trigger, and without making the rollup active. It seems to be that both are needed. But if I am missing something, I would definitely want to hear because I would love to remove the child trigger as it sometimes causes conflicts.

"But I can't see how the scheduled rollup would be able to only re-calculate the children that have changed if there's no child trigger to keep track of that. Or am I missing something?" No your not, i plan on updating the tool to make the two schedule modes more clear. But you have got it in the meantime, Schedule Calculate does not require a trigger and does full recalc on the schedule each time (set the Calculation Mode to something like Process Builder). For Calculation Mode = Scheduled, you need the trigger to log what parent records need updating and thus make the RollupJob you schedule via Apex Classes more efficient. True you can schedule this without any rollups defined for Scheduled mode, but it would not do anything then.

Fixed v2.8.

Just a comment - how about changing the name of the "Scheduled" calculation mode to "Deferred"? Cause the onus is on the admin to schedule the calculation, whereas "Scheduled" makes it sound like DLRS will do it for you.


Out of Memory Error

Hi,
I keep getting the error below:
Exception in thread "main" java.lang.OutOfMemoryError even after increasing my heap size.
XML-Flattener.txt
Is there a limit to the number of nested levels?
Thanks in advance.

Hi,
Yes indeed, the deeper you nest the structure and the more 'peer' levels to each nested structure you have the higher the demand on memory becomes. An exact limit is hard to define given the richness and variety of XML can take on.  Certainly for the use-case I originally develop this for, nesting was no more then about a dozen so levels.
Would be interested to follow up on this. Not sure if you would be able to share with me your XML (or at least a 'masked' version of your XML), and perhaps your -Xmx memory settings or a heap dump?
Regards,


Database seperate to servers

Hi,
Thank you for your awesome work first, my question is it possible to create each tenancy different database servers or separate my app from the tenancy database with this package?

Hi,
sure.
v2
Tenant::new()->withData([
    '_tenancy_db_connection' => 'some-specific-connection',
])->save();

Note that you need to create the connection in config/database.php.
v3 (recommended)
Tenant::create([
    'tenancy_db_connection' => 'some-specific-connection',
]);

or, you can specify parts of the connection details, e.g. the hostname
Tenant::create([
    'tenancy_db_hostname' => 'foo',
]);


198 change goal to workspace

This pull request IS NOT FINISHED. This request needs to be worked on by front end in order to make this work. However, the back end section of this is done, and so it is ready to be pushed to their side.

Make sure to pull main into this branch! there are a lot of conflicts that need to be taken care off.

All the changes

The duplication here is to be closed, no further work on this PR needed


Use font spec names for scalar types in codegen inputs

Today, with the exception of Uint24, we use Rust type names for scalars. Use the names given in https://learn.microsoft.com/en-us/typography/opentype/spec/otff#data-types instead, e.g. uint16 instead of u16, etc.

thinking about this a bit more:

we need a distinction between 'raw' (bigendian) and native types.
we could say that the names in the spec are the 'raw' types, but this gets weird and unclear: we end up with uint16/u16, and then FWORD/FWord, and then Fixed/what, exactly? Basically this seems extremely confusing.
I believe we want to privilege the native types, since they will be used much more, and ultimately they're what matters; the raw types are essentially an encoding detail.
So this means we probably end up with raw types that something like BigEndian<u16>, Raw<u16> (same idea, different name) or RawU16 (a non-generic type, that follows a "prepend 'Raw' to indicate the raw type" naming convention).
And then a consequence of that is that the types in our codegen inputs, in the general case, no longer reflect an actual type in our code at all. As in: in our inputs we say uint16 and UFWORD, but in our code we have types like u16/BigEndian<u16> or UfWord/RawUfWord.

Does this bother us? it does not especially bother me in a world where these inputs really are some sort of language-agnostic schema, but if we are treating these inputs as a project-specific shorthand for what we're generating, then I don't love it.

Does this bother us?

I would argue the codegen inputs are incrementally moving closer to being a language-agnostic schema, that that is desirable, and that this is a clear step in that direction

This was addressed in #81


Detect port

The other pull request was on the wrong branch :)
This change would allow wdio-selenium-standalone-service to detect a custom port defined in the wdio config file for the Selenium standalone server. This would be helpful for people running multiple instances of a test suite concurrently on the same machine, allowing them to pass in the desired port number only to the wdio command, and not have to also specify it in seleniumArgs in the config file. A custom port for the standalone server is necessary to prevent conflicts between different testing instances.

I suppose there needs to be a flag specifying if you want the port copied.

Sure. I can update the readme as well with some info, if that makes sense.

@crw2998 that would be awesome!

@crw2998 tests are still failing due to connection issues. I think it is related to the change

Hmm. If I clone the master branch and run the tests locally, the test fails even without my code, which is why I was ignoring the test failure. I see the same errors on this PR as on the master branch, but in both of my local runs, the browser instance launches but I get a failed to exec test script which looks like a different problem than the connection issue.

@crw2998 I just ran a build from master and it passed: https://travis-ci.org/webdriverio/wdio-selenium-standalone-service/builds/250575620 .. so it seems it definitely is connected to the change

Okay, I'll take a look.

@christian-bromann
My pull request today just changes the README and tests are still failing...


⚠ Bofrost.at has degraded performance

In 62ac364, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1443 ms

Resolved: Bofrost.at performance has improved in 051d735 after 6 minutes.


connection from a LAN machine to WAN machine trouble

Hello,
I am testing pinecone connections at the moment on a Windows (LAN) machine and a Linux (WAN) vps with public IP.
Up till now, I have been able to connect multiple local Windows LAN <-> Windows LAN machines with no trouble, but when connecting
Linux LAN<->Windows LAN
and
Windows LAN<->Linux WAN
systems then pinecone does not seem to connect.
Any thoughts

Is there any update on this?

Hey! Sorry for the late response.
Were you able the figure out what was happening here?

No still the same issues, my friend.
Maybe you could give me some examples of how you are able to test it across WAN and LAN in that maybe I am doing something wrong here.
Any thoughts or suggestions would be greatly appreciated.

What are you using to test this out? Are you running this tool: https://github.com/matrix-org/pinecone/blob/main/cmd/pinecone/main.go or something else?
I just tested it out by trying to connect to our publicly hosted node and it connected without issue.
Our publicly hosted node can be dialled at "wss://pinecone.matrix.org/public"
So to test, I ran go run cmd/pinecone/main.go -connect wss://pinecone.matrix.org/public
It looks like we don't have it configured to allow the tcp port through to the container right now, so trying to connect via tcp to that server won't work.
It's running a docker container with this config: https://github.com/matrix-org/pinecone/blob/main/Dockerfile
For a lot more context about how the p2p matrix demo apps work:
The android app calls into the Dendrite bindings here: https://github.com/vector-im/element-android-p2p/blob/p2p/vector/src/main/java/im/vector/app/core/services/DendriteService.kt#L250
That calls down into pinecone here: https://github.com/matrix-org/dendrite/blob/main/build/gobind-pinecone/monolith.go#L137
Which then attempts to connect to the static peer here: https://github.com/matrix-org/pinecone/blob/main/connections/manager.go#L149
And does the usual connection dialling here: https://github.com/matrix-org/pinecone/blob/main/connections/manager.go#L92
The cmd/pinecone/main.go app does exactly the same thing, it just skips the Android & Dendrite bits by calling AddPeer directly here: https://github.com/matrix-org/pinecone/blob/main/cmd/pinecone/main.go#L81

Hello,
Sorry for the extremely late reply to this as I had gotten side tracked with my day job and some other research areas.
Recently, I have had a chance to really start digging in on my P2P effort since I want to make a number of P2P services but still have not settled on the underlying core framework and had been looking at Pinecone (overlay), Yggdrasil (TUN/TAP), NKN (https://nkn.org) as well as a number of other blockchains in this area.
Of course, and probably like you folks over at Matrix, I am seeking very low latency, routing mesh network, which ultra-high scalability, and written in Golang for cross-platform capabilities.
My efforts are to write and roll out a number of P2P analog competitors to centralized services like Google/Bing Search, YouTube, Amazon, and others but in a P2P design so that users can also control their own private information as well as have their local commodity system interact and support the P2P network.
Pinecone seems most suited since it is an overlay but Yggdrasil seems to be pretty stable and functional as with a large number of users while NKN has some 60K users but is blockchain based and I am not completely sure I want the project to be crypto based at this point.
For pinecone, I was able to get 2 nodes on the same LAN to see each other and make a connection. Now I want to look into message passing between the 2 nodes while I also will expand to 3 or 4 LAN nodes for testing (Windows and Linux nodes), but need to see how that can be done once the connections have been made.
Thanks again and have a great day

Forgot to ask, but is there an API and some SDK's perhaps to interface local applications (Golang, etc.) with the local Pinecone node once it has connected to the mesh network?
If it was a TUN/TAP system then applications could talk through the local TUN/TAP device like Yggdrasil, but as Pinecone is an overlay network, I was thinking that maybe there is some type of API for communications through the network as well as to interface for information and metrics from the local Pinecone network as well.


Add a Gitter chat badge to README.md

panchishin/alphabeta now has a Chat Room on Gitter
@panchishin has just created a chat room. You can visit it here: https://gitter.im/panchishin/alphabeta.
This pull-request adds this badge to your README.md:

If my aim is a little off, please let me know.
Happy chatting.
PS: Click here if you would prefer not to receive automatic pull-requests from Gitter in future.

Already added.  Thanks gitter


NBS UpdateRoot() returns false when last != nbs.Root()

This code initially panicked in this case, because there didn't used
to be a reasonable way that a caller might wind up trying to update
away from a Root that didn't match NomsBlockStore's internal
bookkeeping. Now, given the new Flush() behavior there is. So, just
return false and allow the caller to take appropriate action.
Towards #3089

PTAL
There's detailed explanation of what Dan's seeing at https://github.com/attic-labs/noms/issues/3089#issuecomment-274892962

LGTM


[fix][deps] Update react-with-styles from 4.0.0 -> 4.0.1

Summary
Updates the version of react-with-styles from 4.0.0 to 4.0.1, which uses a WeakMap for caching of stylesFn results to avoid high memory usage.
Reviewers
@ljharb @majapw @ahuth @TaeKimJR @indiesquidge @joeuy

Coverage remained the same at 84.958% when pulling 1e19c55025b7a26ecb00a4898ebeb52d24471516 on nora--rws--4-0-1 into e365eb3542f04517a3b069f9de7edfe967f2c158 on master.

Coverage remained the same at 84.958% when pulling 558c8989c912e2652f684a0fec3a9e5618e34228 on nora--rws--4-0-1 into e365eb3542f04517a3b069f9de7edfe967f2c158 on master.

Coverage remained the same at 84.958% when pulling ba0b6768d48a1078f0a873e8fbedcc30c003d9d3 on nora--rws--4-0-1 into e365eb3542f04517a3b069f9de7edfe967f2c158 on master.


Create a backup of data file everytime TA-Assist is run

Resolves #212.

Codecov Report
Base: 67.13% // Head: 66.78% // Decreases project coverage by -0.34% :warning:

Coverage data is based on head (9fe0cfe) compared to base (13dee64).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #215      +/-   ##
============================================
- Coverage     67.13%   66.78%   -0.35%
  Complexity      592      592
============================================
  Files           104      104
  Lines          1917     1927      +10
  Branches        211      211
============================================
  Hits           1287     1287
- Misses          557      567      +10
  Partials         73       73

Impacted Files
Coverage Δ

src/main/java/seedu/taassist/MainApp.java
0.00% <0.00%> (ø)

...in/java/seedu/taassist/storage/StorageManager.java
73.91% <0.00%> (-20.54%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Make "connection" NameResolver behavior consistent

For "connection" properties the value provided must be an app setting name. We then "auto resolve" this to the app setting value at runtime. We do this for properties in general as well, but only if those values request resolution via %% syntax (see example below). We actually DONT allow you to specify the %% on the connection property value. This is somewhat inconsistent, and some users have commented (see SO post).
We should probably support %% syntax for connection properties as well, perhaps changing our default portal logic to start injecting them for the value, once the runtime allows them. Note that any changes here will require updates to the portal picker as well.
{
    "bindings": [
        {
            "type": "eventHubTrigger",
            "name": "input",
            "direction": "in",
            "connection": "AzureWebJobsEventHubReceiver",
            "path": "%AzureWebJobsEventHubPath%",
            "consumerGroup": "$Default"
        },
        {
            "type": "eventHub",
            "name": "output",
            "direction": "out",
            "connection": "AzureWebJobsEventHubSender",
            "path": "%AzureWebJobsEventHubPath%"
        }
    ]
}

However, the reason it is the way it is now is because unlike other values that we allow raw values for (values that won't be auto resolved), for connection we do not  - the value must ALWAYS be the name of an app setting. Indeed, according to NameResolver rules, if %MyConnection% was specified, it actually means to name resolve the %MyConnection% value to get the name of the connection app setting name (a double indirection).
So I'm not sure now whether we should really change this - let's discuss.

Suggestion: %% is ignored in "connection" so it remains semantically similar without having to understand the difference (for people doing best practice). Needs more discussion.

To summarize the current state of things -- from the WebJobs perspective, you can have a string property that will be handled in one of the following ways:

it can be a literal and have no replacements performed
it can have all '%token%' strings replaced
it can be treated as the entire string is a token to be replaced (to prevent people from checking in secrets). I recently changed a bunch of WebJob Extension properties that use this pattern to end with Setting as a convention.

If we think that preventing secret check-in is valuable (I do) -- then we need a way to restrict some properties from ever being treated as literals. And we need to make it clear (docs maybe?) that some properties, notably 'connection', behave this way.
Whether we also allow them to be wrapped in %% is another question -- we could just auto-strip any trailing or ending %% as Chris suggests before we try to resolve. I guess if you really want to use '%%' in your app settings, then you'd need to double them up.
I do wonder if that is just begging for subtle little differences popping up from extensions (that may or may not use our helpers to do this) -- and whether it's worth it. Someone poking around by wrapping 'connection' in '%%' may think 'Oh okay then I can remove %% to use a literal!'. But then that doesn't do what they expect based on the other properties. It feels easier to just say 'This is a setting property, meant to indicate a setting name. We look it up directly'. Our errors could make the rules clear that if we can't find a setting after calling Resolve().
My vote would be to improve the error messages and docs in the interest of keeping the behavior simpler. I'd also wonder if we need to separate scenario 1 and 2 above -- is there any reason that we shouldn't just always try to replace? Then we can explain in wiki/docs/etc that we have two kinds of properties...
Linking some related issues:

https://github.com/projectkudu/AzureFunctionsPortal/issues/117 (this has obviously confused me in the past)
https://github.com/Azure/azure-webjobs-sdk/issues/653

@brettsam I believe we're done with this work.


Duplicate of #1035 / pls re-open

Describe the bug
Duplicate to #1035 for lack of acknowledgement to the persisting issue.
Thank you!

Closing, #1035 reopened.


*-keyboard-response plugins do not recognize NO_KEYS

The documentation for audio-keyboard-response (@1.0.0) says that specifying choices: jsPsych.NO_KEYS will prevent the trial from accepting any keyboard input. This is not the behavior, and the experiment will in fact accept any key as a response.
The second code example provides a minimal working example for this incorrect behavior:
var trial = {
    type: jsPsychAudioKeyboardResponse,
    stimulus: 'sound/tone.mp3',
    choices: jsPsych.NO_KEYS,
    trial_ends_after_audio: true
};

Expected behavior:

accepts no keys as input
ends when the audio file is finished only

What occurs:

Pressing any key ends the trial
If no key is pressed, the trial ends when the audio file is finished

Workaround:

The user can add response_ends_trial: false to the example code. The experiment will still recognize the input, but it will not end the trial. Instead, the trial will continue until the audio finishes and then end as expected.

I ran into this while coding a new experiment, so I can confirm this extends beyond the code examples in documentation. I tested the other *-keyboard-response code examples and they show the same bug. It seems that NO_KEYS is not being respected or has some kind of bug.

We had to change this to a string because of some of the other things that changed in 7.0. It looks like we missed the update to the docs. Thanks for flagging this. I believe the new version is simply:
choices: "NO_KEYS"

This might be worth a mention in the migration guide as well. I forgot about this change when I wrote it.


Field inside a tooltipster.

Hello there,
My boss is requesting me to put an autocomplete field inside a tooltipster and I'm not sure if this is actually possible.As you can see in this printscreen http://screencast.com/t/nTSifsTs2Ls I managed to add it there and it is fired, but when I click inside the field it doesn't get the focus(the cursor). Also nothing happens when clicking on the save button.
Any answer/solution is apriciated.Thanks!

Hi, yes, this is possible. Just keep in mind to initialize your autocomplete field after the tooltip has opened (obviously). Good luck.

Hi, thank you for the quick response. Yes the initialization of the autocomplete is putted inside the functionReady. but as I said in the first post, it doesn't get the cursor inside the field:( and I have set interactive:true.

Ok but I can't see what you write if you edit your post after I replied :)
The only possible error that could be due to Tooltipster is if your plugin used a delegated click listener, because v3 does stop click event coming from inside the tooltip. Try Tooltipster v4 and if it still does not work, it means that the error is on your end of the application.

The click event inside the tooltipster works.As you can see here http://screencast.com/t/1vdXHRfgNBIm I've added an alert inside the click event on the save button and it is triggered.It stil doesn't work oin the input field.It's like the field is disabled or something.:(

this is the js:
$('[data-toggle="tooltipster2"]').tooltipster({
theme: 'tooltipster-bootstrapP',
touchDevices: true,
trigger: 'hover',
contentAsHTML: true,
interactive:true,
functionReady: function(origin)
{
tooltip_origin2=origin;
$(".affiliate-modal-div #addpartner").autocomplete({
source: "/members/sales/get_users/ajax_do_member_search/"+$('#product_id').val(),
minLength: 3,
select: function( event, ui ) {
if (ui.item.id!=undefined)
{
$('.affiliate-modal-div .partner_set').removeClass('svg_icon_new-x-orange20');
$('.affiliate-modal-div .partner_set').addClass('svg_icon_new-check-green20');
$('.affiliate-modal-div #aff_offered_commission').val(ui.item.commission);
if(ui.item.commission_type=='percent')
{
$('.affiliate-modal-div #aff_offered_commission').prev().hide();
$('.affiliate-modal-div #aff_offered_commission').next().show();
$('.affiliate-modal-div #aff_offered_commission').parent().removeClass('input-prepend').addClass('input-append');
}
else
{
$('.affiliate-modal-div #aff_offered_commission').prev().show();
$('.affiliate-modal-div #aff_offered_commission').next().hide();
$('.affiliate-modal-div #aff_offered_commission').parent().removeClass('input-append').addClass('input-prepend');
}
}
}
});
$["ui"]["autocomplete"].prototype["_renderItem"] = function( ul, item) {
return $( "" )
.data( "item.autocomplete", item )
.append( $( "" ).html( item.label ) )
.appendTo( ul );
};
           }
        });

and this is the html:

There is no issue with Tooltipster. Please head over help forums for implementation help. Thanks

OK.Thank you for your time!


<EMAIL_ADDRESS>should not be tagged as latest

Issue Summary
<EMAIL_ADDRESS>is tagged as latest at the npmjs.com registry:

https://www.npmjs.com/package/mathjax?activeTab=versions

It should be tagged as beta or dev. Now, executing npm i mathjax installs<EMAIL_ADDRESS>See:

By default, the latest tag is used by npm to identify the current version of a package, and npm install  (without any @ or @ specifier) installs the latest tag.

https://docs.npmjs.com/cli/v7/commands/npm-dist-tag#purpose

Technical details:

MathJax Version<EMAIL_ADDRESS>

I believe I have reset the tags so that 3.2.2 is latest.  Thanks for the report and links.


Temp container

Support creating temporary container and waiting for container finish executing.
Work with https://github.com/hyperhq/hyperstart/pull/103 and https://github.com/hyperhq/hyperd/pull/328

travis fails because this needs https://github.com/hyperhq/hyperstart/pull/103 to support tempContainer field. otherwise it fails with get unknown section tempContainer in container


Cannot access Windows taskbar that's on auto-hide when Terminus is maximised

I put my taskbar at the top and auto-hide it - don't ask why, just how I've always had Windows set up ever since 98.
There's a really silly bug in a lot of software that makes the taskbar inaccessible when the app is full-screen. I'm not entirely sure but it's something to do with custom window frames (  https://docs.microsoft.com/en-us/windows/desktop/dwm/customframe) when sized to the screen size and being drawn over the trigger zone for showing a hidden taskbar. (a lot of software tries to implement its own "maximise" feature with frameless windows and it's never perfect)
This issue was also raised in VS Code: https://github.com/microsoft/vscode/issues/81102 and there's a clip demonstrating the problem:

I'm not familiar with Electron otherwise I'd try and solve it, but it seems like a problem that's been solved elsewhere so that gives me hope that I can maximise Terminus instead of resizing the window to almost fullscreen!

Thanks for the detailed report. Are you on the latest release? According to the vscode ticket, it's fixed in Electron version we're using.

Yes I was confused at that because it claims it was fixed but none of my Electron applications have caught the fix. Terminus is at 1.0.111 and it's still happening.
The user-side solution for VS Code was to set "window.titleBarStyle": "native", which disables the seamless one-colour custom window frame and uses the default normal window chrome, not sure if that might help here. I'd be happy with Terminus using standard window chrome for the title bar if it solved this problem tbh.

You can set Terminus to use the native window frame from Settings -> Application -> Window frame.

Ah, didn't know that setting existed, thanks!
I'll leave that as resolved then as I'm happy with the solution and I'm pretty sure this is the electron bug and it wasn't fixed after all (both apps with the issue are still after the supposedly fixed electron version so... 🤷♀)

It would be nice if "thin" frame also worked with auto-hide taskbar...


[ui5-OverflowToolbar]: focus outline is clipped

OpenUI5 version: latest
Browser/version (+device/version): firefox, Mac
Any other tested browsers/devices(OK/FAIL): chrome, edge(Fail)
Bug Description
When selected/clicked on the currentLocationText of the Breadcrumbs. The Focus is not on all sides of the UI.
Visible in the Sample:
https://sdk.openui5.org/entity/sap.m.Table/sample/sap.m.sample.TableBreadcrumb
In Page.view.xml, Ln14, replace it with Breadcrumbs id="breadcrumb" currentLocationText="Document"
(currentLocationText="Document" is added to the Breadcrumbs)

The above image shows that the boundary/focus outline is clipped.
The issue doesn't occur when Breadcrumbs is used with Toolbar. Instead, it happens when using the OverflowToolbar.
Affected Component
ui5-breadcrumbs
Steps to reproduce the problem:

Go to the sample application: https://sdk.openui5.org/entity/sap.m.Table/sample/sap.m.sample.TableBreadcrumb
Open the Page.view.xml file and change the Line 14 by < Breadcrumbs id="breadcrumb" currentLocationText="Click Here" />
Just added currentLocationText to the
Click on the "Click Here" located at the header section of the table in the application UI which is running in parallel
The Focus is not adequately visible on all sides

Expected Behaviour
The focus outline must be adequately visible on all sides, as shown in the image below.

When replacing the OverflowToolbar with the Toolbar, it works as expected.
Observed behaviour

For more information check the video attached below:
https://github.com/user-attachments/assets/7eeb33b0-a57d-45dc-b278-85ab1abc438f

Hi @MahendraSai024,
I've created the internal incident DINC0305045 for your issue. We'll have a look and contact you once we find a solution.

The fix https://github.com/SAP/openui5/commit/521b2b01e04e8013ce9893490f322b0e10d3d53c is planned to be available with the release of 1.131.


HHH-11147 - (5.3) Allow enhanced entities to be returned in a completely uninitialized state

https://hibernate.atlassian.net/browse/HHH-11147

Supersedes https://github.com/hibernate/hibernate-orm/pull/2854

Superseded by https://github.com/hibernate/hibernate-orm/pull/2865.


Equation heaters compatibility

There’s a parallel Rointe brand named equation.
Is it possible to make it compatible with them on future versions?
Maybe this resource helps:
https://github.com/AndreMiras/equation-connect
Thanks in advance.

Hello, I don't own an Equation device so I would be shooting in the dark a bit. It is something I would be interested in but I would probably fork the Rointe project and mange them independently

If you owned a device I would be happy to work with you on this feature

I have created an experimental release 3.0.0 (https://www.npmjs.com/package/homebridge-rointe-unofficial/v/3.0.0)
Change "Use rointe backend" to false (uncheck it) - This change has been done blind so my expectation is low

Good evening @jwcnewton I’d love to help you with the project! I own 3 hera devices! So.. you’re the boss how can I help?

I have created an experimental release 3.0.0 (https://www.npmjs.com/package/homebridge-rointe-unofficial/v/3.0.0)
Change "Use rointe backend" to false (uncheck it) - This change has been done blind so my expectation is low

Is not working, actually apparently it connects.. but returns an error like this,

Hmm okay - im going to trying integrating with https://github.com/AndreMiras/equation-connect.js and I'll get back to you

Perfect! If I can help any other way just let me know

Hello sorry I have been quiet on this, I have a few open source project i juggle -
I have created a super rough release to allow connectivity with Equation - Try version 4.0.0 and let me know how you get on

Hello @bigjoky sorry I have been quiet on this, I have a few open source project i juggle -
I have created a quick and dirty release to allow connectivity with Equation - Try the latest version and let me know how you get on.

No problem man! I've been busy too...
Just updated the plugin and the magically appeared!! It works!! as you said just with one room but.. is a beginning! :)

Please let me know if you have any issues and if you get a moment star the project ⭐

Sure! where can I do that?

Done! 👍🏻

Please let me know if you have any issues and if you get a moment star the project ⭐ @bigjoky

I've got one issue, but don't know how to solve it, I have 2 units with the same ending, and cant't change the name so, Homebridge takes them as duplicate. only imports one, how to make them available by serial number not the name?

That is a weird one! Sure let me dig into that


Add license and remove "production" env var from release step

[X] Ready for review
[X] Follows CONTRIBUTING rules
[x] Reviewed by Snyk internal team

What does this PR do?

add LICENSE to the files in package.json to include it with the npmjs release
remove the production env var from the release job in CCI so that typescript (a dev dependency) will be available for when running npx semantic-release

Any background context you want to provide?
Failing CI: https://app.circleci.com/pipelines/github/snyk/snyk-php-plugin/11/workflows/e635ac4b-038c-4554-ac41-26c06b3681ee/jobs/47

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


updated more model files

@lisaong,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Allow 't' as shorthand for HDF format specifier

[x] Tests added / passed
[x] Passes flake8 dask
[x] Fully documented, including docs/source/changelog.rst for all changes
and one of the docs/source/*-api.rst files for new API

pandas allows both table and t as format specifiers for HDF5 files in table format in to_hdf(). This PR adds the t shorthand to dask for pandas compatibility.

This looks good to me.  Merging on passed tests.

This is in.  Thanks @joergdietrich !


Created a deleted notifications page where users can look at deleted notifications and move them back to the inbox

Addresses issue #339
In the user's inbox, they can now click on a button called "Show Deleted Notifications" which will take them to a page displaying all their deleted notifications. On this page, for each notification, they have the option to move it back to their main inbox, which will mark the notification as unread. A new HTML template page was created to show the deleted notifications, and it can be accessed from the user's main inbox. On the deleted notifications page, the user also has the option to return to their main inbox through a "Back" button.

Sorry, mistaken earlier - not sure deleted_notifications.html has been added so I think this needs to be added as the delete button does not currently lead to a valid page.

Forgot to git add that earlier on. Just pushed the deleted_notifications.html file. Thanks!

I think the template is in the wrong directory. The deleted_notifications.html template should be in src/templates/users as user_inbox.html is.

Sorry about that! For some reason there were two copies of the template in my local repository and I pushed the wrong one. I moved the deleted_notifications.html file to the correct folder now.

Closing statement:
The issue has been addressed. In the user's inbox, they can now choose to see all their deleted notifications and move it back into their main inbox (marked as unread) if they want. All the assignees worked together to write the code but I was in charge of making the GitHub PR.

Issue Score: Excellent
Comments:
Nice work on this PR!


[XR] Introduce support for WebXR Layer API

Following the specs - https://www.w3.org/TR/webxrlayers-1/
Explainer - https://github.com/immersive-web/layers/blob/main/explainer.md
WebXR layers should be introduced as an XR feature.
Still TBD:

What would be the fallback to systems not supporting this? A polyfill but that depends on the dev integrating it.
Should we introduce a new WebXRVideoTexture (to support video layers) or can we adjust the video texture accordingly?
Will (or should) it be a single feature or a few features using the same underlying API?
Are there any changes required to the rendering pipeline? Any changes required to the engine itself?

Great to see an issue for this @RaananW !

The work is currently in progress, hope to have a testable version soon

Thanks @rgerd !


Added bulgarian translation

Hello,
I have just created Bulgarian translation of this plugin.
Please review it and eventually merge it in the plugin code base.

Great! Thnx!


How to tell when the timer is done?

Sorry but I don't think I understood the Usage Instructions but how can I "know" when a timer is done? For example if the timer is done it could launch a function.
I like the flexibility of this package but I really need help with this.
Thank You in Advance.

Hi! a timer is done when you explicitly call .stop() which concludes the running time of it. You can check if a timer has been stopped by calling .isStopped().  This is not count-down library and it does not emit any events, its purpose is to measure the elapsed time manually for running tasks. If you need something to notify you when a timer is done after x seconds for example, you should use the usual setTimeout(callback, timeInMs)


Do not use arrays in function parameter types

Context and rationale
A few functions in the API have a parameter of array type. Array types are equivalent to pointers in function parameters as far as the C language is concerned: the array size is purely indicative. However, static analyzers including compilers don't always see it that way and may treat the array size as meaningful.
See https://github.com/ARMmbed/mbedtls/issues/4130 for why this is a problem. Popular compilers are increasingly likely to complain that mbedtls_sha512_finish should not output to a 48-byte buffer, even when it's calculating a SHA-384 hash, because its output is declared as unsigned char[64].
Proposal
Change array types in API function parameters to pointers.
Work items for 3.0

At least address sha512_finish, which is the only case I'm aware of that is a problem in practice.
If time permits, address all API functions. I think the following command finds them all plus a few false positives:egrep '\w+\[[^][]*\] *[,)]' include/mbedtls/*.h

Work items for 3.x

Remove the workaround we introduced for the sake of GCC 11, which won't be enough for GCC 12.

https://github.com/ARMmbed/mbedtls/pull/4506 has done the critical part, which is the sha512 functions. I'm leaving this task open for all the other array parameters, but this is low-importance since all the remaining ones actually do have a fixed size so they aren't causing trouble, and we may well want to stop here.


Fabric 1.21.1 (PortingLib) error in console - Could not decode GlobalLootModifier

Minecraft version
1.21.1
Farmer's Delight version
FarmersDelight-1.21.1-2.2.3+refabricated.jar
Fabric Loader version
fabric-server-mc.1.21.1-loader.0.16.9-launcher.1.0.1.jar
Fabric API version
fabric-api-0.110.0+1.21.1.jar
Description
https://mclo.gs/0T7EWXf
Steps to reproduce
https://mclo.gs/0T7EWXf
Mod list
artifacts
trinkets
farmer's delight
Logs
No response
Minimal instance

[X] I have tested this on a minimal instance

Performance and shader mods

[ ] I am using performance or shader mods

Artifacts seems to reimplement the exact same NeoForge system.
The solution would be for Artifacts to use Fabric's Loot system.


Add extra threads to a session

Hi, I've been using oneVPL to do some video processing tasks, and I found that in some cases when I connect a decode session with a vpp session, the MFXVideoCORE_SyncOperation function in the vpp session takes a long time to execute, leading to a slow overall processing speed.
Based on my understanding, this MFXVideoCORE_SyncOperation calls the internal scheduler to run the existing awaiting tasks, I'm guessing the slow processing speed is probably caused by the limited thread number assigned to the scheduler in the session, so I wonder if there is any code I can refer to to manually add some extra threads to a session. I'm using API version>2.0 by the way.
Thanks in advance.

Yes, there's AsyncDepth, https://spec.oneapi.io/versions/latest/search.html?q=AsyncDepth
Please review sample_decode tool under tools/legacy/sample_decode folder for the proper implementation for that case.
And command line option is -async.

@llin60 do you have any remaining questions post the comment above?


Scrolling in settings issue

Scrolling using touchpad in the settings view is not working. I have to manually resize the window in order to see the controls ( buttons etc. ).
The graphical performance is a bit worrying since this is a terminal application and the printouts feel kinda laggy. What I mean is that letters render a bit slow, both while typing and while the command are listing output.
Sorry for putting two issues in one, I can open a second one for the graphics part.
Version: 1.0.90
Platform: win32 10.0.18362
Plugins: none

I believe that this is a duplicate and already reported in #1439

Sorry for the trouble. Closing it.


cv2.error: OpenCV(4.5.5)

import dxcam
import cv2
camera = dxcam.create()
camera.grab()
region=[0,0,480,480]
while True:
img = camera.grab(region=region)
img = cv2.cvtColor(img,cv2.COLOR_RGB2BGR)
cv2.imshow("window",img)
if cv2.waitKey(1) & 0xFF ==ord('d'):
cv2.destroyAllWindows()
break
I always get an error when I test, the program can only run for a short time before the error occurs
Erro Code:
Traceback (most recent call last):
File "c:/Users/Administrator/Desktop/DXcam-main/dxcamtest.py", line 9, in
img = cv2.cvtColor(img,cv2.COLOR_RGB2BGR)
cv2.error: OpenCV(4.5.5) D:\a\opencv-python\opencv-python\opencv\modules\imgproc\src\color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cv::cvtColor'

It is worth noting that .grab will return None if there is no new frame since the last time you called .grab. Usually it means there's nothing new to render since last time (E.g. You are idling).

You should add an additional condition to check if the returned value is None. Also, if you want BGR output you can simply use:
camera = dxcam.create(output_color=“BGR”)

import dxcam
import cv2
left, top = (2560 - 640) // 2, (1440 - 640) // 2
right, bottom = left + 640, top + 640
region = (left, top, right, bottom)
camera = dxcam.create(output_color="BGR")
while True:
img = camera.grab(region=region)
if camera.grab(region=region) is not None:
cv2.imshow('window',img)
if cv2.waitKey(1) & 0xFF ==ord('d'):
cv2.destroyAllWindows()
break
I changed my code and it still seems to be a problem, it still doesn't work.


Include datasets with underscores when listing BigQuery datasets

Pretty sure I ran into the same thing @rsmichaeldunn ran into in #873?
Here's a PR.

hey @k4y3ff -- thanks for the PR! This looks great!
I haven't seen this error in the wild yet, so I don't have a great understanding of BigQuery's semantics here. I can dig into this further today, but @rsmichaeldunn also mentioned in the issue:

...and changing the create_schema method to check for the existence of the dataset id in the output of get_existing_schemas instead of using get_dataset

It sounds to me like client.get_dataset(dataset) doesn't return the dataset if it begins with an underscore? Is that consistent with your understanding?
I think it would be really great to add a quick test for this, as the BigQuery client library is updated  pretty frequently and this is a super easy thing to miss


[ci skip] using tag for skip builds - just docs build

What does this PR do?

Fixes #3942
Before submitting

[ ] Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together? Otherwise, we ask you to create a separate PR for every change.
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?
[ ] Did you verify new and existing tests pass locally with your changes?
[ ] If you made a notable change (that affects users), did you update the CHANGELOG?

PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃

@Borda including [ci skip] in commit message also skip build docs CI. And there is no way to skip certain workflows in CircleCI.

So, there is no commit in github object and the only way to ci skip is retrieving PR title.

hi @ydcjeff! want to finish this one?

hi @ydcjeff! want to finish this one?

It's almost already good to go. but we want to test every PR on drone [as from slack] so this is also okay not to merge or merge this

@Borda this [ci skip] still needed?

@Borda this [ci skip] still needed?

not anymore, in fact, it cannot be merged without passing test son GPU :]

Okay closing it


iOS 17 PlatformException(401, The user has not allowed this application to modify their calendar(s), null, null)

ios 17.0
var calendarsResult = await _deviceCalendarPlugin.retrieveCalendars() has error PlatformException(401, The user has not allowed this application to modify their calendar(s), null, null)
await _deviceCalendarPlugin.requestPermissions();
await _deviceCalendarPlugin.hasPermissions();
var calendarsResult = await _deviceCalendarPlugin.retrieveCalendars();

errorcode：599
errorMessage：Device calendar plugin ran into an issue. Platform specific exception [401], with message :"The user has not allowed this application to modify their calendar(s)", has been thrown.
When getting the fullaccess privileges for a calendar, running await _deviceCalendarPlugin.requestPermissions() gives true after the user grants the privileges, but await _deviceCalendarPlugin.hasPermissions() says is false, and only becomes true after restarting the app.

make sure that this line of code await _deviceCalendarPlugin.hasPermissions(); returns true. Otherwise permissions have not been granted.

确保此行代码await _deviceCalendarPlugin.hasPermissions();返回true。否则权限未授予。

It shows authorized inside the app settings, but await _deviceCalendarPlugin.hasPermissions() return false

That is strange, can you provide a minimum example to reproduce this issue?

Here's my running order
    await _deviceCalendarPlugin.requestPermissions();     await _deviceCalendarPlugin.hasPermissions();     var calendarsResult = await _deviceCalendarPlugin.retrieveCalendars();

That is strange, can you provide a minimum example to reproduce this issue?

Here's my running order
await _deviceCalendarPlugin.requestPermissions();
await _deviceCalendarPlugin.hasPermissions();
var calendarsResult = await _deviceCalendarPlugin.retrieveCalendars();

You can check separately the permission status returned by these two lines of code.
await _deviceCalendarPlugin.requestPermissions();
await _deviceCalendarPlugin.hasPermissions();

private func requestPermissions(completion: @escaping (Bool) -> Void) {
if hasEventPermissions() {
completion(true)
return
}
if #available(iOS 17, *) {
eventStore.requestFullAccessToEvents {
(accessGranted: Bool, _: Error?) in
completion(accessGranted)
}
} else {
eventStore.requestAccess(to: .event, completion: {
(accessGranted: Bool, : Error?) in
completion(accessGranted)
})
}
}
private func requestPermissions( result: @escaping FlutterResult) {
if hasEventPermissions()  {
result(true)
}
eventStore.requestAccess(to: .event, completion: {
(accessGranted: Bool, _: Error?) in
result(accessGranted)
})
}
It should be caused by two methods with the same name


💡 configure ssh-agent by default

Summary
What do you think adding ssh-agent to the default configuration?
Drawbacks
If a user don't use SSH, it will waste <1MiB memory, and some negligible CPU time.
Implementation idea
There are multiple possibilities, if the idea is accepted, we can brainstorm about the implementation.
Will you be able to contribute a PR for this?

[ ] Yes I will be able to get that feature a lot quicker.

I think that is a great idea!

I would recommend starting it as systemd user service.
https://wiki.archlinux.org/title/Ssh_keys#Start_ssh-agent_with_systemd_user

This is how I've solved it for myself (I use keychain)
cat ~/.zsh.before/ssh-gpg-agent.zsh:
keychain --quiet --agents ssh,gpg

export GPG_TTY=$(tty)

# fix for mosh
if ! ssh-add > /dev/null 2>&1; then
  # https://unix.stackexchange.com/questions/90853/how-can-i-run-ssh-add-automatically-without-a-password-prompt
  # if [ -z "$SSH_AUTH_SOCK" ] ; then
    eval "$(ssh-agent -s)" > /dev/null
    ssh-add > /dev/null 2>&1
  # fi
fi

What are the advantages compared to the one I linked?

What are the advantages compared to the one I linked?

keychain does also support gpg https://man.archlinux.org/man/keychain.1.  No need for that.

So... could we just add keychain and this script @andrius posted?

So... we could just add systemctl --user enable gcr-ssh-agent.socket to our autostart and set SSH_AUTH_SOCK=$XDG_RUNTIME_DIR/gcr/ssh in our env? sound easy enough...

Tbh this all sounds too easy to provide more than just an entry in our Support.md so far. Wouldn't you agree?


Repo sync for protected CLA branch

The pull request is created from main637915359115672650 to main to fix git push error for protected CLA branch

@ghogen : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Enhancement Request: GUI - Increase size of translation language list

Brief summary of your request
The box for translation language leist could be bigger
Request details
@Timthreetwelve
Please check screenshot
If you can increase box width/height

Thanks.
Anything else?
No response

@bovirus
I've never been completely happy with it either, do you like the way I changed it in GetMyIP?

@Timthreetwelve
Any solution that you like is ok.
My idea is to use as much as possible the GUI space to avoid when you can scroll to show all info.


Interactive outliner mode

Currently, in Starling, if a view expression is missing it is treated like a {| ? |}.  This is ok, but really to my mind a missing view expression is a hole in the proof and the {| ? |} is just the laziest way Starling can fill it.
With this in mind, I think there should be a flag to Starling that causes it instead to step through every missing view, probably just after modelling, and ask the user what to do with it.  It would be armed with some pattern heuristics to allow it to make useful suggestions.
An example session, given the input
shared int counter;
thread int t;

view count(int t);
constraint count(ta) * count(tb) -> counter == ta + tb;
constraint count(ta) * count(tb) * count(tc) -> false;

method multiIncrement() {
  t = 0;
  do {
       t=t+1;
       <| counter++; |>
  } while (t != 10);
}

could be:
Missing method precondition before command
-> t = 0;
Suggestions:
e) {| emp |}
i) Infer using HSF
m) Specify manually
> m
Type view expression below:
> count(0)
OK, using {| count(0) |}.

Missing view between command
-> t = 0;
and
-> do { ...
Suggestions:
1) {| count(t) |} (reason: substitution)
p) {| count(0) |} (previous)
e) {| emp |}
i) Infer using HSF
m) Specify manually
> 1
OK, using {| count(t) |}.

...

Possible patterns I can think of for inference:

{| F(x) |} x = G(x); {| F(G^-1(x)) |}, though this would need symbolic function inversion for the general case;
{| F(k) |} x = k; {| F(x) |};
If a view at the end of a do-while or while with condition C is missing but the while block precondition is K and the next view is L, infer {| if C then K else L |};
We could do deep stuff based on the known view constraints, like if we have constraint V(x) -> y = F(x) and we see y = F(x) then we can infer {| V(x) |}.

It'd be nice to have this built into a text editor like Emacs, but that's probably beyond the scope of what we can do.

Is this something that you could do using abduction?
On 17 February 2017 at 15:18, Matt Windsor<EMAIL_ADDRESS>wrote:

Currently, in Starling, if a view expression is missing it is treated like
a {| ? |}. This is ok, but really to my mind a missing view expression is
a hole in the proof and the {| ? |} is just the laziest way Starling can
fill it.
With this in mind, I think there should be a flag to Starling that causes
it instead to step through every missing view, probably just after
modelling, and ask the user what to do with it. It would be armed with some
pattern heuristics to allow it to make useful suggestions.
An example session, given the input
shared int counter;
thread int t;
view count(int t);
constraint count(ta) * count(tb) -> counter == ta + tb;
constraint count(ta) * count(tb) * count(tc) -> false;
method multiIncrement() {
t = 0;
do {
t=t+1;
<| counter++; |>
} while (t != 10);
}
could be:
Missing method precondition before command
-> t = 0;
Suggestions:
e) {| emp |}
i) Infer using HSF
m) Specify manually

m
Type view expression below:
count(0)
OK, using {| count(0) |}.

Missing view between command
-> t = 0;
and
-> do { ...
Suggestions:

{| count(t) |} (reason: substitution)
p) {| count(0) |} (previous)
e) {| emp |}
i) Infer using HSF
m) Specify manually

1
OK, using {| count(t) |}.

...
Possible patterns I can think of for inference:

{| F(x) |} x = G(x); {| F(G^-1(x)) |}, though this would need
symbolic function inversion for the general case;
{| F(k) |} x = k; {| F(x) |};
If a view at the end of a do-while or while with condition C is
missing but the while block precondition is K and the next view is L,
infer {| if C then K else L |};
We could do deep stuff based on the known view constraints, like if
we have constraint V(x) -> y = F(x) and we see y = F(x) then we can
infer {| V(x) |}.

It'd be nice to have this built into a text editor like Emacs, but that's
probably beyond the scope of what we can do.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/septract/starling-tool/issues/143, or mute the thread
https://github.com/notifications/unsubscribe-auth/AANd9tk1rc7LrQCS-Vg_NJTTV7rqKKb5ks5rdbpagaJpZM4MEYvD
.

--
http://www-users.cs.york.ac.uk/~miked/

Don't think I've actually come across abduction aside from by name yet, so I'm unsure.

We should talk Monday
On 17 February 2017 at 16:52, Matt Windsor<EMAIL_ADDRESS>wrote:

Don't think I've actually come across abduction aside from by name yet, so
I'm unsure.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/septract/starling-tool/issues/143#issuecomment-280704048,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AANd9pK_VcCaH41-cD4koCv9etZeDPURks5rddBLgaJpZM4MEYvD
.

--
http://www-users.cs.york.ac.uk/~miked/

@septract drat, I forgot to talk to you today.  Is tomorrow ok?

Yes - although I'm quite busy. Let's see if we can find a time.
On Monday, 20 February 2017, Matt Windsor<EMAIL_ADDRESS>wrote:

@septract https://github.com/septract drat, I forgot to talk to you
today. Is tomorrow ok?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/septract/starling-tool/issues/143#issuecomment-281141096,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AANd9jRnTy4osPkwTuljOmAVBnqUF2o5ks5redA2gaJpZM4MEYvD
.

--
http://www-users.cs.york.ac.uk/~miked/


Namespaces not enabled for FreeBSD 11.3

netDriver_initNsIfNeeded():124 Honggfuzz Net Driver (pid=3572): Namespaces not enabled for this OS platform
Although Linux network namespaces can solve the problem of starting multiple TCP servers using same TCP ports，they work with Linux OS only.
So... how to solve this problem?

I receive the same log message when running macOS Catalina v10.15.4

It's Linux only feature. I think FreeBSD has jails, and maybe they could be repurposed, but AFAIR they're not as easy to set-up, e.g. they require root and additional IP?


Remove ManagedZone API

ToDo:

[x] Review/Update quickstart
[x] Review/Update all docs
[x] Review/Update all tests

Requires:

https://github.com/Kuadrant/dns-operator/pull/203

@eguzki @azgabur should be updated now with the changes

@azgabur my bad sorry. I updated a different doc. I see what you are referring to now 👍

LGTM


Adjust to fit in Altoid's tin

Migrated from https://github.com/jadonk/beaglebone-blue-jadonk/issues/33
Originally created by @jadonk on Wed, 12 Oct 2016 21:34:23 GMT

Migrated from https://github.com/jadonk/beaglebone-blue-jadonk/issues/33#issuecomment-278795022
Originally created by @jadonk on Thu, 09 Feb 2017 22:27:55 GMT

@StrawsonDesign For rev B, can we switch the power input to a JST connector?
https://www.sparkfun.com/products/8734
I wonder how much it would cost to include that in the kit. :-/

Migrated from https://github.com/jadonk/beaglebone-blue-jadonk/issues/33#issuecomment-261055039
Originally created by @jonnycowboy on Wed, 16 Nov 2016 20:00:47 GMT

Would implementing issue 39 (new BMS) allow us to use a different power connector? Is the barrel jack currently used to charge the battery or is it used for directly powering the processor?
https://github.com/jadonk/beaglebone-blue/issues/39

Migrated from https://github.com/jadonk/beaglebone-blue-jadonk/issues/33#issuecomment-258951818
Originally created by @jadonk on Mon, 07 Nov 2016 20:24:26 GMT

I've ordered some PCBs from OSH Park to do a mechanical mock-up to verify the fix. I've not identified a source of a shorter power connector.

Migrated from https://github.com/jadonk/beaglebone-blue-jadonk/issues/33#issuecomment-265813023
Originally created by @jadonk on Thu, 08 Dec 2016 18:17:05 GMT

I've not been able to find a shorter jack, which is very surprising to me.
A2 still does NOT fit in an Altoids tin. :-(

Migrated from https://github.com/jadonk/beaglebone-blue-jadonk/issues/33#issuecomment-278941519
Originally created by @jadonk on Fri, 10 Feb 2017 13:27:12 GMT

Even if we included the cable?

On Feb 9, 2017, at 7:31 PM, StrawsonDesign<EMAIL_ADDRESS>wrote:
Hmmmm, sorry but I really really like the universal barrel jack.  I do adore the Altoids tin concept, don't get me wrong! But
in practice I don't think anyone is running their board in a conductive
tin, whereas everyone will need to charge it and everyone with a wifi
router has one of these 12v dc wallwarts in their home already.
Charging via a 9v or 12v capable USB-C connector may get initial pushback
too but at least that's looking a bit more towards a future universal
standard.
Respectfully,
James
On 9 Feb 2017 2:27 pm, "Jason Kridner"<EMAIL_ADDRESS>wrote:

@StrawsonDesign https://github.com/StrawsonDesign For rev B, can we
switch the power input to a JST connector?
https://www.sparkfun.com/products/8734
I wonder how much it would cost to include that in the kit. :-/
―
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jadonk/beaglebone-blue/issues/33#issuecomment-278795022,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF9HoD6GTmkTX53KhxxFVraWTu7sq_Zgks5ra5LrgaJpZM4KVPuS
.

―
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Migrated from https://github.com/jadonk/beaglebone-blue-jadonk/issues/33#issuecomment-261112953
Originally created by @StrawsonDesign on Thu, 17 Nov 2016 00:03:50 GMT

The barrel jack is primarily for charging the battery but can provide power to the 5V regulator when no battery is connected. We picked this connector because of how ubiquitous 12v wallwarts are with this 5.5mm barrel jack. I just wish there were half-length jacks available.

Migrated from https://github.com/jadonk/beaglebone-blue-jadonk/issues/33#issuecomment-257662795
Originally created by @erikwelsh on Tue, 01 Nov 2016 19:06:23 GMT

Moved power connector in as much as possible.  I think it should fit but will not know until we get the A2 boards back.

Migrated from https://github.com/jadonk/beaglebone-blue-jadonk/issues/33#issuecomment-257756706
Originally created by @jadonk on Wed, 02 Nov 2016 02:38:53 GMT

Still would like to find a shorter power connector.

Migrated from https://github.com/jadonk/beaglebone-blue-jadonk/issues/33#issuecomment-278821889
Originally created by @StrawsonDesign on Fri, 10 Feb 2017 00:31:23 GMT

Hmmmm, sorry but I really really like the universal barrel jack.  I do adore the Altoids tin concept, don't get me wrong! But
in practice I don't think anyone is running their board in a conductive
tin, whereas everyone will need to charge it and everyone with a wifi
router has one of these 12v dc wallwarts in their home already.
Charging via a 9v or 12v capable USB-C connector may get initial pushback
too but at least that's looking a bit more towards a future universal
standard.
Respectfully,
James
On 9 Feb 2017 2:27 pm, "Jason Kridner"<EMAIL_ADDRESS>wrote:

@StrawsonDesign https://github.com/StrawsonDesign For rev B, can we
switch the power input to a JST connector?
https://www.sparkfun.com/products/8734
I wonder how much it would cost to include that in the kit. :-/
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jadonk/beaglebone-blue/issues/33#issuecomment-278795022,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF9HoD6GTmkTX53KhxxFVraWTu7sq_Zgks5ra5LrgaJpZM4KVPuS
.

For rev C, let's just use a single type-C connector for power. We'll need to either negotiate 20V or add a boost circuit for charging. I think negotiating 20V should be quite possible.


unify message format of exception/assertion

closes https://github.com/Azure/azure-sdk-for-cpp/issues/2366
Pull Request Checklist
Please leverage this checklist as a reminder to address commonly occurring feedback when submitting a pull request to make sure your PR can be reviewed quickly:
See the detailed list in the contributing guide.

[x] C++ Guidelines
[x] Doxygen docs
[x] Unit tests
[x] No unwanted commits/changes
[x] Descriptive title/description

[x] PR is single purpose
[x] Related issue listed

[x] Comments in source
[x] No typos
[x] Update changelog
[x] Not work-in-progress
[x] External references or docs updated
[x] Self review of PR done
[x] Any breaking changes?

/azp run cpp - storage

/azp run cpp - storage


Ephemral secret keys seem to be too ephemeral.

As of version 0.4, there's no way to construct a secret key from bytes. As such, it's not possible to serialize a secret key. In our use case, the key exchange is considered to be expensive, so we'd like to serialize the private key to disk and read it from disk at a later time. So it'd be nice to be able to still construct an x25519 private key from bytes.
Now, since you have introduced the Ephemeral{Secret,Public}Key, I understand that you wouldn't want them to be serialized. Would there be any chance of having non-ephemeral x25519 key types, or just a plain fn generate_public(private_key: [u8;32]) -> [u8; 32] exposed in this library?

Hi @pinkisemils! If I understand your use case correctly, I think the StaticSecret type should work for you. Please note that reusing Diffie-Hellman secrets is extremely not recommended, and if you can spare the expense it's much safer to use the EphemeralSecret type.


AnimatedCrossFade triggers animation exception with duration of zero milliseconds

Main issue
As was also reported elsewhere, when using the AnimatedCrossFade widget with a duration of milliseconds: 0, Flutter throws an exception:
════════ Exception caught by animation library ═════════════════════════════════
The following assertion was thrown while notifying listeners for AnimationController:
'package:flutter/src/rendering/object.dart': Failed assertion: line 1530 pos 12: '_debugCanPerformMutations': is not true.

Additionally, documentation in the error itself is severely lacking! It doesn't provide any relevant stack trace, or a thread of information about the offending code line. It is only by trial and error that a developer can figure out that this is caused by an offending AnimatedCrossFade widget.

Debug Console
════════ Exception caught by animation library ═════════════════════════════════
The following assertion was thrown while notifying listeners for AnimationController:
'package:flutter/src/rendering/object.dart': Failed assertion: line 1530 pos 12: '_debugCanPerformMutations': is not true.

Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause.
In either case, please report this assertion by filing a bug on GitHub:
  https://github.com/flutter/flutter/issues/new?template=BUG.md

When the exception was thrown, this was the stack
#2      RenderObject.markNeedsLayout
package:flutter/…/rendering/object.dart:1530
#3      RenderBox.markNeedsLayout
package:flutter/…/rendering/box.dart:2147
#4      new RenderAnimatedSize.<anonymous closure>
package:flutter/…/rendering/animated_size.dart:95
#5      AnimationLocalListenersMixin.notifyListeners
package:flutter/…/animation/listener_helpers.dart:136
#6      AnimationController._animateToInternal
package:flutter/…/animation/animation_controller.dart:585
...
The AnimationController notifying listeners was: AnimationController#34c52(⏮ 1.000; paused)
════════════════════════════════════════════════════════════════════════════════

Sample app
When the widget is first rendered, no exceptions are thrown. It is only once you trigger a cross-fade that the exceptions are thrown on each consecutive call.
One can prevent this exception by increasing the duration, but the amount depends on system resources and complexity of code. For example, in the sample app below, setting the duration to millisecond: 1 is enough. However, in a more complex app, even milliseconds: 60 might not be enough.

main.dart
// main.dart
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: HomePage(),
    );
  }
}

class HomePage extends StatefulWidget {
  @override
  _HomePageState createState() => _HomePageState();
}

class _HomePageState extends State<HomePage> {
  CrossFadeState _crossFadeState = CrossFadeState.showFirst;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: [
            RaisedButton(
              child: Text('Toggle'),
              onPressed: _crossFadeNext,
            ),
            AnimatedCrossFade(
              firstChild: Text('First'),
              secondChild: Text('Second'),
              crossFadeState: _crossFadeState,
              duration: Duration(milliseconds: 0),
            ),
          ],
        ),
      ),
    );
  }

  void _crossFadeNext() {
    setState(() => _crossFadeState =
        (_crossFadeState == CrossFadeState.showFirst)
            ? CrossFadeState.showSecond
            : CrossFadeState.showFirst);
  }
}

Flutter Doctor

Blissfully ignorant, as always. 😐
[✓] Flutter (Channel stable, 1.22.4, on macOS 11.0.1 20B29 darwin-x64, locale en-US)
    • Flutter version 1.22.4 at /Users/benPesso/Projects/flutter
    • Framework revision 1aafb3a8b9 (12 days ago), 2020-11-13 09:59:28 -0800
    • Engine revision 2c956a31c0
    • Dart version 2.10.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/benPesso/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.2, Build version 12B45b
    • CocoaPods version 1.9.3

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 50.0.1
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.51.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.16.0

[✓] Connected device (1 available)
    • iPhone SE (2nd generation) (mobile) • ED880130-98FA-4356-8F56-B89E9888798E • ios •
      com.apple.CoreSimulator.SimRuntime.iOS-14-2 (simulator)

• No issues found!

Reproducible on stable channel.
@benPesso can you elaborate why do you want an animation with zero milliseconds? I can't understand how Flutter can animate without a duration. If you want to switch widgets you can just use a Visibility widget or similars.
Logs
Performing hot restart...
Syncing files to device sdk gphone x86 arm...
Restarted application in 3,234ms.

════════ Exception caught by animation library ═════════════════════════════════════════════════════
The following assertion was thrown while notifying listeners for AnimationController:
'package:flutter/src/rendering/object.dart': Failed assertion: line 1530 pos 12: '_debugCanPerformMutations': is not true.

Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause.
In either case, please report this assertion by filing a bug on GitHub:
  https://github.com/flutter/flutter/issues/new?template=BUG.md

When the exception was thrown, this was the stack:
#2      RenderObject.markNeedsLayout (package:flutter/src/rendering/object.dart:1530:12)
#3      RenderBox.markNeedsLayout (package:flutter/src/rendering/box.dart:2147:11)
#4      new RenderAnimatedSize.<anonymous closure> (package:flutter/src/rendering/animated_size.dart:95:9)
#5      AnimationLocalListenersMixin.notifyListeners (package:flutter/src/animation/listener_helpers.dart:136:19)
#6      AnimationController._animateToInternal (package:flutter/src/animation/animation_controller.dart:585:9)
...
The AnimationController notifying listeners was: AnimationController#c7f81(⏮ 1.000; paused)
════════════════════════════════════════════════════════════════════════════════════════════════════

flutter doctor -v
[✓] Flutter (Channel stable, 1.22.4, on Mac OS X 10.15.7 19H2 darwin-x64, locale en)
    • Flutter version 1.22.4 at /Users/pedromassango/dev/SDKs/flutter_stable
    • Framework revision 1aafb3a8b9 (12 days ago), 2020-11-13 09:59:28 -0800
    • Engine revision 2c956a31c0
    • Dart version 2.10.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/pedromassango/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.1, Build version 12A7403
    • CocoaPods version 1.9.3

[!] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Community Edition (version 2020.2.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin installed
    • Dart plugin version 202.8070

[✓] VS Code (version 1.51.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.16.0

[✓] Connected device (1 available)
    • sdk gphone x86 arm (mobile) • emulator-5554 • android-x86 • Android 11 (API 30) (emulator)

! Doctor found issues in 1 category.

@pedromassangocode You don't necessarily want to set it to zero. As I wrote, it can also happen if the duration is set to something other than zero, like 60 milliseconds. It depends on how fast the code is processed on the given device, I guess. I ran into this issue in one of my projects where I used a 60ms duration. While researching it, I came across #28434 and decided to make a proper report for it. Hence this post.
One use case is in a preference-based interface; a user might prefer to have a "fast" interface, and the easiest way to achieve that is by setting the duration to zero (or something low, like the above 60ms) when the user switches on "Fast Mode". Especially if you have the same duration configured globally for multiple widgets.

CC @shihaohong @goderbauer

@dnfield This is a case where the stack trace is truncated (originally brought up in https://github.com/flutter/flutter/issues/52732). I'm not sure how to get more of the stack trace showing, which might help me with figuring out what's wrong here.

I took some time looking at the code, it might be the result of an interaction between the AnimatedSize and AnimatedCrossFade's default layout builder, which uses a Stack. When I modify the code to use a layoutBuilder using a Column, it no longer happens:
            AnimatedCrossFade(
              layoutBuilder: (one, oneKey, two, twoKey) {
                return Column(
                  children: [
                    Container(
                      key: oneKey,
                      child: one,
                    ),
                    Container(
                      key: twoKey,
                      child: two,
                    ),
                  ],
                );
              },
              // ....

I'm not exactly sure why this is happening, but since the assertion is happening while attempting to lay out AnimatedSize, AnimatedCrossFade may not have the chance to lay out its Stack before AnimatedSize wants to lay out.

Any progress on this issue? Seems to be stale for quite a while now. 😐


[fix] datetimepicker : step option is not working

Coverage increased (+0.01%) to 84.615% when pulling a66b2482cb7730b2b9a91cc4282676cf2c3f297e on fix-datetimepicker into 17f899bed6a32536283382faca1c837a5633087a on master.


Op type not registered 'CudnnRNNParamsSize' in binary

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): example
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Win10 64bit
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): 1.3.0
Python version: 3.6
CUDA/cuDNN version: Cude - 8.0, cuDNN - 6.0
GPU model and memory: M1000M
Exact command to reproduce:

Describe the problem
The tutorial RNN model fails due to: "Op type not registered 'CudnnRNNParamsSize' in binary"
Source code / logs
https://github.com/tensorflow/models/blob/master/tutorials/rnn/ptb/ptb_word_lm.py
b'unknown' 1.3.0
2017-08-31 16:25:32.021526: W C:\tf_jenkins\home\workspace\rel-win\M\windows-gpu\PY\36\tensorflow\core\platform\cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX instructions, but these are available on your machine and could speed up CPU computations.
2017-08-31 16:25:32.021822: W C:\tf_jenkins\home\workspace\rel-win\M\windows-gpu\PY\36\tensorflow\core\platform\cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX2 instructions, but these are available on your machine and could speed up CPU computations.
2017-08-31 16:25:32.959216: I C:\tf_jenkins\home\workspace\rel-win\M\windows-gpu\PY\36\tensorflow\core\common_runtime\gpu\gpu_device.cc:955] Found device 0 with properties:
name: Quadro M1000M
major: 5 minor: 0 memoryClockRate (GHz) 1.0715
pciBusID 0000:01:00.0
Total memory: 2.00GiB
Free memory: 1.65GiB
2017-08-31 16:25:32.959478: I C:\tf_jenkins\home\workspace\rel-win\M\windows-gpu\PY\36\tensorflow\core\common_runtime\gpu\gpu_device.cc:976] DMA: 0
2017-08-31 16:25:32.959642: I C:\tf_jenkins\home\workspace\rel-win\M\windows-gpu\PY\36\tensorflow\core\common_runtime\gpu\gpu_device.cc:986] 0:   Y
2017-08-31 16:25:32.959848: I C:\tf_jenkins\home\workspace\rel-win\M\windows-gpu\PY\36\tensorflow\core\common_runtime\gpu\gpu_device.cc:1045] Creating TensorFlow device (/gpu:0) -> (device: 0, name: Quadro M1000M, pci bus id: 0000:01:00.0)
Traceback (most recent call last):
  File "C:/Work/Projects/tensorflow-models/tutorials/rnn/ptb/ptb_word_lm.py", line 526, in <module>
    tf.app.run()
  File "C:\Programs\Anaconda3\lib\site-packages\tensorflow\python\platform\app.py", line 48, in run
    _sys.exit(main(_sys.argv[:1] + flags_passthrough))
  File "C:/Work/Projects/tensorflow-models/tutorials/rnn/ptb/ptb_word_lm.py", line 470, in main
    m = PTBModel(is_training=True, config=config, input_=train_input)
  File "C:/Work/Projects/tensorflow-models/tutorials/rnn/ptb/ptb_word_lm.py", line 135, in __init__
    output, state = self._build_rnn_graph(inputs, config, is_training)
  File "C:/Work/Projects/tensorflow-models/tutorials/rnn/ptb/ptb_word_lm.py", line 174, in _build_rnn_graph
    return self._build_rnn_graph_cudnn(inputs, config, is_training)
  File "C:/Work/Projects/tensorflow-models/tutorials/rnn/ptb/ptb_word_lm.py", line 186, in _build_rnn_graph_cudnn
    params_size_t = self._cell.params_size()
  File "C:\Programs\Anaconda3\lib\site-packages\tensorflow\contrib\cudnn_rnn\python\ops\cudnn_rnn_ops.py", line 597, in params_size
    direction=self._direction)[0]
  File "C:\Programs\Anaconda3\lib\site-packages\tensorflow\contrib\cudnn_rnn\ops\gen_cudnn_rnn_ops.py", line 283, in cudnn_rnn_params_size
    name=name)
  File "C:\Programs\Anaconda3\lib\site-packages\tensorflow\python\framework\op_def_library.py", line 767, in apply_op
    op_def=op_def)
  File "C:\Programs\Anaconda3\lib\site-packages\tensorflow\python\framework\ops.py", line 2632, in create_op
    set_shapes_for_outputs(ret)
  File "C:\Programs\Anaconda3\lib\site-packages\tensorflow\python\framework\ops.py", line 1911, in set_shapes_for_outputs
    shapes = shape_func(op)
  File "C:\Programs\Anaconda3\lib\site-packages\tensorflow\python\framework\common_shapes.py", line 595, in call_cpp_shape_fn
    require_shape_fn)
  File "C:\Programs\Anaconda3\lib\site-packages\tensorflow\python\framework\common_shapes.py", line 654, in _call_cpp_shape_fn_impl
    input_tensors_as_shapes, status)
  File "C:\Programs\Anaconda3\lib\contextlib.py", line 89, in __exit__
    next(self.gen)
  File "C:\Programs\Anaconda3\lib\site-packages\tensorflow\python\framework\errors_impl.py", line 466, in raise_exception_on_not_ok_status
    pywrap_tensorflow.TF_GetCode(status))
tensorflow.python.framework.errors_impl.NotFoundError: Op type not registered 'CudnnRNNParamsSize' in binary running on ULTRALISK. Make sure the Op and Kernel are registered in the binary running in this process.

I can confirm that the Op exists in the build_pip_package.runfiles/org_tensorflow/tensorflow/contrib/cudnn_rnn/python/ops/_cudnn_rnn_ops.so built from the head of master (yesterday), so perhaps this is an issue that has been fixed and will be in the 1.4 release.

It looks as if that tutorial was not present in 1.3 so it is possible it won't work unless you use a more recent version. Can you try that?

I have the answer, this seems a bug when using cuDnn. The parameter --model=... in your command line must be small. In another word, you must run this tutorial using the command like: "python ptb_word_lm.py --data_path=... --model=small". Through reading the code, I found that if I do not use cuDnn which means I type the following command: "python ptb_word_lm.py --data_path=... --model=medium" or "python ptb_word_lm.py --data_path=... --model=large", such errors will be eliminated. Hope this will help.

I also encounter this issue.I also use the Win 10,but I installed Tensorflow-GPU from pip,and the version of tensorflow is also 1.3.0 . As @yangyixiaof  sayed , this issue is eliminated when I try to set "the model" as medium".

After install tf_nightly_gpu-1.5.0.dev, this problem is solved.

It has been 14 days with no activity and the awaiting response label was assigned. Is this still an issue? Please update the label and/or status accordingly.

Nagging Awaiting Response: It has been 14 days with no activityand the awaiting response label was assigned. Is this still an issue?

Closing due to lack of activity, and because the most recent comment indicates the problem was solved.

NotFoundError                             Traceback (most recent call last)
 in ()
5     serialized_graph = fid.read()
6     od_graph_def.ParseFromString(serialized_graph)
----> 7     tf.import_graph_def(od_graph_def, name='')
C:\Users\310211146\AppData\Local\Continuum\Anaconda3\lib\site-packages\tensorflow\python\util\deprecation.py in new_func(*args, **kwargs)
430                 'in a future version' if date is None else ('after %s' % date),
431                 instructions)
--> 432       return func(*args, **kwargs)
433     return tf_decorator.make_decorator(func, new_func, 'deprecated',
434                                        _add_deprecated_arg_notice_to_docstring(
C:\Users\310211146\AppData\Local\Continuum\Anaconda3\lib\site-packages\tensorflow\python\framework\importer.py in import_graph_def(graph_def, input_map, return_elements, name, op_dict, producer_op_list)
487         try:
488           results = c_api.TF_GraphImportGraphDefWithResults(
--> 489               graph._c_graph, serialized, options)  # pylint: disable=protected-access
490           results = c_api_util.ScopedTFImportGraphDefResults(results)
491         except errors.InvalidArgumentError as e:
NotFoundError: Op type not registered 'NonMaxSuppressionV3' in binary running on YY041775. Make sure the Op and Kernel are registered in the binary running in this process.


Chatbot for telegram

made chatbot for telegram in python. Do review my pr and merge it under hacktoberfest label.
Thank You

@vibhoooo Assign to someone else, closing this issue


Use FPM to build rpm's and binaries

http://fpm.readthedocs.io/en/latest/

i'm closing this in favor of generated release binaries for different architectures in the Release section of github.


Grab IP from containers sharing network namespace

Kubernetes pods create a single container which holds the IP for all other containers in the pod. Thus, when using Registrator, services could appear without an IP address. This PR solves that issue by detecting the namespace is shared, and extracting the IP information from the container holding it.

@balexx Looks, the PR #507 is working well for k8s v1.5. Can you please check?

@meganesh it's working well for me on k8s 1.5 on bare metal nodes. I didn't test on GKE, as referenced here.
And please don't throw a comment every few minutes, I don't work in Registrator tech support :-)

Sorry for that @balexx. I have found some workaround for my issue. Thanks for your help so far.

@meganesh What is the workaround? can you please provide some info?

Hi @balexx, Can I know the docker version on your bare metal (where docker container of kubernetes can show their IP Address)?

@meganeshkaila sure, we're currently on 1.12.3.


LEGO: Pull request from lego/hb_04604851-bac4-4681-9f74-73de611d6e48_20240327154101383 to main

LEGO: Pull request from lego/hb_04604851-bac4-4681-9f74-73de611d6e48_20240327154101383 to main with localized lcls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 41.757%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
30827

Relevant Lines:
69082

💛  - Coveralls


How can I use a Lidar for live feed to the network?

I want to use just a Lidar like Ydlidar to get live detection from the point cloud.
Can You guide me?

Hi @husnejahan
Thanks for your interest in my work.
The steps are:

Extract your data as same as the KITTI format, please refer to the KITTI official website.
Change the configuration of the dataset here
Refer to the demo_dataset.py to see how to create the dataset for the task
Refer demo_2_sides.py to see how the working flow is

@maudzung Thank you for you great work! Based on this topic, just curious that if the detection is made on ROS platform, can we just use/modify this script for point cloud topic subscriptions, and achieve similar detection as Kitti dataset? (Do we need any additional data-processing for live lidar data?) Thanks in advance.

how can I make that from a data lidar itself? I mean a real-time instead of getting a saved data only


CC 4.0 plain text licenses: third level numbering in lower case but referencing in upper case

Description
The CC 4.0 plain text licenses use lower characters (a, b, ...) in the third level of the numbering, e.g. Section 2(a)(1) or 2(a)(5), but the internal references use upper case letters (A, B, ...), e.g. Section 2(a)(6) or Section 3(a)(3).  This is inconsistent and potentially misleading.
The HTML versions of the license text does consistently use upper cases across all third level enumerations and references.
Expectation
Consistent naming equal to the HTML version.
Resolution

[x] I would be interested in resolving this bug.

I would be willing to capitalise those ~30 letters if I get a go ahead.

Should I combine these changes with the ones in pull request #1198 ? So we only break licensee et al once.

g

Any update on this? As said before, I'm willing to provide a PR but I'm still waiting for an answer on whether to combine this with #1198 / #1199.

@TimidRobot  I've created a pull request for this: https://github.com/creativecommons/creativecommons.org/pull/1240.
Hopefully, this brings this a step closer to being resolved.


Problem with meta

I want to use mod object in my program:
+alias org.eolang.txt.sprintf
+alias org.eolang.io.stdout
+alias org.eolang.txt.text
+alias org.eolang.math.number

[args...] > main
  [y] > leap
    or. > @
      and.
        eq. (mod. y 4) 0
        not. (eq. (mod. y 100) 0)
      eq. (mod. y 400) 0
  stdout > @
    sprintf
      "%d is %sa leap year!"
      (text (args.at 0)).as-int > year!
      if. (leap year:y) "" "not "

but I get this error. What could be wrong?
[ERROR] [main:4] The alias "org.eolang.math.number" is not used (unused-aliases:27)

@Graur @maxonfjvipon @mximp could you help pls?

@ivan-egorov42 You need to remove +alias org.eolang.math.number since it didn't used

@Graur but I need the mod object in my program from this library. I realized my mistake, I had to use (number y).mod for this. This program is working:
+alias org.eolang.txt.sprintf
+alias org.eolang.io.stdout
+alias org.eolang.txt.text
+alias org.eolang.math.number

[args...] > main
  [y] > leap
    or. > @
      and.
        eq. (mod. (number y) 4) 0
        not. (eq. (mod. (number y) 100) 0)
      eq. (mod. y 400) 0
  stdout > @
    sprintf
      "%d is %sa leap year!"
      (text (args.at 0)).as-int > year!
      if. (leap year:y) "" "not "

@ivan-egorov42 So we can close this issue?

@Graur yeah, sorry for disturbing)


Fixed some documentation

What is this PR for?
Fixed some documentation
What type of PR is it?
Documentation

Thanks for the fix. LGTM

Merge if there're no more discussions.

test failure - possibly a bug in the test?
17:40:41,096 ERROR org.apache.zeppelin.rest.NotebookRestApi:404 - Exception in NotebookRestApi while moveParagraph
java.lang.IndexOutOfBoundsException: paragraph size is 2 , index is 10
	at org.apache.zeppelin.notebook.Note.moveParagraph(Note.java:319)
	at org.apache.zeppelin.rest.NotebookRestApi.moveParagraph(NotebookRestApi.java:398)

@felixcheung  I think that's expected exception from https://github.com/apache/incubator-zeppelin/blob/master/zeppelin-server/src/test/java/org/apache/zeppelin/rest/ZeppelinRestApiTest.java#L666


Update the CLI to specify the target output type

Originally written by @grjte in this discussion:

Now that we have multiple codegen options, we should update the CLI to accept another input that specifies the target output type.

Closing this as it has already been implemented. We currently can output either Winterfell Rust code or MASM.


ValueError: Found missing inputs in X_df. It should have one row per id and date for the complete forecasting horizon

I kept getting this error ValueError: Found missing inputs in X_df. It should have one row per id and date for the complete forecasting horizon
Even though a very thorough validation shows there's absolutely no missing.
Background:
Lightgbm time series forecast with external features (already forecasted).
And train model like this, when yX_train is all historical data per cohort with daily continuous date and target value, and 3 external features [feat1, feat2, feat3]
f_reg.fit(
    df=yX_train,
    id_col="cohort",
    time_col="date",
    target_col="target",
    static_features=[],
)

And predict like this, in which it has the next year's daily non-missing feature forecast of [feat1~feat3]
y_pred_reg = f_reg.predict(
        h=365,
        X_df=X_test,
    )

Thanks for using LightGBM.
LightGBM does not raise an error message like that. Based on a quick search of GitHub, I strongly suspect that the error you encountered is coming from mlforecast:
https://github.com/Nixtla/mlforecast/blob/f1c4d9f936a422b09043274b35dd235968461a38/mlforecast/core.py#L595-L599
Please report this there: https://github.com/Nixtla/mlforecast/issues.
When you do that, please provide enough information for maintainers to help you without guessing and unnecessary effort.:

a minimal, reproducible example that reproduces this error (click here to learn what that is)
version of LightGBM and mlforecast you are using
how you installed those libraries
any logs or error traces printed by the code you're running
any other information which might help (Python version? numpy version? pandas version?)


On run, Spectre.exe gives gl_surface_wgl.cc and gl_surface_qt.cpp error then stops working

Screenshot above.
[5436:1996:0613/131953.887:ERROR:gl_surface_wgl.cc(374)] wglCreatePbufferARB not available.
[5436:1996:0613/131953.887:ERROR:gl_surface_qt.cpp(312)] Requested OpenGL implementation is not supported. Implementation: 1
spectre.exe then stops working.

Please try again with 2.0.5.

Closed because of inactivity and probably fixed with 2.0.5.


fix: only pass NRIA_PASSTHROUGH_ENVIRONMENT variables to v4 integrations

Only environment variables that are present in NRIA_PASSTHROUGH_ENVIRONMENT should be passed to integration. These should have precedence over the integration ones.

I see the tests reference a fn called NewManager, which has a new argument, but I'm not seeing that change the in the diff. Am I missing something?

If I understood what you meant, it is not a new parameter, but it is populating a field of the configuration struct:

I see manager_test.go uses a fn called NewManager, which has a new argument. However I'm not seeing that change the in the diff. Am I missing something?

Is the object populated from config. I'm setting the env vars to be passthrough as if they would be set from config.

Thanks for clarifying @paologallinaharbur @rubenruizdegauna, it's clear I should not leave review comments before coffee kicks in :P


Rendering issues with Fugitive branch format 2

environment

vim: 8.0 patches 1-553
vim-airline: 958f783
OS: macOS 10.13.3
Have you reproduced with a minimal vimrc: Reproducible with just vim-airline and fugitive
What is your airline configuration: default except for setting branch format to 2
if you are using terminal:
terminal: iTerm 2 3.1.5
$TERM variable: screen-256color
color configuration (:set t_Co?): t_Co=256
if you are using Neovim:
does it happen in Vim: Yes

actual behavior
Airline text is shifted over and garbled. From what I can tell, this only happens with format 2

expected behavior
Airline text is normal

what is the branch name?

can you check, if current head fixes it?

The branch name is feature/user-registration.
4237bfb still has the same issue.

and what is the value of b:airline_head? BTW: I find your statusline  picture hard to read. The highlihgting seems to switch arbitrarily between the same section. That looks suspicious. Can you check with a different terminal please?

So I'm trying this one two machine, and only one has this problem. However, both machines are running the same OS, same version of vim, iTerm, and dotfiles are all sync'd.
b:airline_head give f/user-registration<c9>… for the computer with the problem, f/user-registration for the one without.
That <c9> is shifting output over, which is what's causing the messed up rendering in the screenshot I provided. I have no idea what it is or where it's coming from, though. On the problem machine it only happens when using let g:airline#extensions#branch#format = 2. 0 and 1 both work without problem as far as I can tell.

I just noticed that on the working machine, my master branch looks like this:

On the problem machine, it looks like this:

That extra character seems suspect. Any idea what it may be or what's causing it?

that is the "Not exists" Symbol, that is displayed when you are editing a file, that is unknown to git.
This might as well be a bug in fugitive or Vim. Please check those versions as well.
I would try debug airline#extensions#branch#head using :break func *airline#extensions#branch#head, then :unlet b:airline_head and step through the function as explained at :h debug-scripts.
See, if you can find out, where the <9> is added.

any update here?


use same semantic as fastly to deliver static files

best would be to consider the manifest.json if to deliver a static file or not.
otherwise, for now just check if file exists below ./dist/

Quick recap on how our VCL does it:

fetch the requested path from the action
if status==404, retry using static delivery


Add development guide

Adds a development guide to the docs site. See here for a live preview.

"Add a CONTRIBUTING.md" is on my todo list, this is a great time to do that! I'll push one up to this branch.