react-native-svg 6.3.1 support

There were a lot of improvements on react-native-svg 6.3.1 that makes svg faster on both android and ios
is it compatible with latest version of this package?

@sibelius I tried react-native-svg 6.3.1.
You might give it a try and see if it works for you.
I found it broke a number of things on my victory-native line chart.
Things like axis tick scaling.  It seemed to only plot axis scales for half of the screen.
Rolling back to 6.2.1 resolved the problems.
	"react": "^16.2.0",
	"react-native": "^0.53.3",
             "react-native-svg": "6.2.1",
	"victory-native": "^0.17.4",

My main problem with react-native-svg 6.3.1 was this one https://github.com/react-native-community/react-native-svg/issues/665#issuecomment-384410039
transform={{}} does not work anymore I guess
you need to use transform="translate() rotate()" instead

@sibelius I just searched my repo for "transform" and found no hits.
My app's line chart problem with react-native-svg 6.3.1 must be something else.
Or perhaps a result victory-native using transform that 6.3.1 has broken.

transform should be fixed here https://github.com/FormidableLabs/victory-native/pull/203
maybe we could be something else

@sibelius @esutton This is a known issue<EMAIL_ADDRESS>has breaking changes for victory-native including changes in path caching, that mean that clipPath path dimensions are never updated. This is what causes VictoryLine and VictoryArea charts to appear invisible when animating. The clipPath starts with zero width and just stays there rather than expanding to reveal the line / area.

@boygirl do you have an idea of what the path towards SVG compatibility looks like? I'd be happy to work on a PR, just need a pointer in the right direction.
Also, at this point we should be looking to make it compatible with 6.4.1, right?

@JulianKingman
Thank you for offering to help out. I took a look at the 6.4.0 release notes, and based on the notes, the issue with clipPath property caching should be fixed. Unfortunately, the animation issue with VictoryLine and VictoryArea persists, so I need to do some more digging. If you would like to investigate as well, I would be happy for the help.
To clarify, the persisting issue with<EMAIL_ADDRESS>is the following:
VictoryLine and VictoryArea components are rendered within a ClipPath. The width of the ClipPath starts at zero for animating components and then expands so that the components appear to curtain in. In newer versions of react-native-svg the width is never updated, so the components never appear.

I've made a small PR to react-native-svg that fixes the issue for ios:
https://github.com/react-native-community/react-native-svg/pull/741

@sibelius @JulianKingman @esutton
The clipPath caching issue that was preventing victory-native from working correctly with recent versions of react-native-svg hav been corrected in<EMAIL_ADDRESS>


Fixed tagString implementation

Added case in which there is only 1 tag for a podcast

Make that one change then feel free to merge in


org-static-blog created a page from the wrong file

Hello -- I had an org buffer named rice.org open somewhere that was not related to my drafts-dir (abusing for static pages) rice.org file. When I generated my site, the open buffer of that name got scooped and generated instead of the intended draft page org source file. Just a gotcha to be aware of

Yes, org-static-blog tries to reuse open buffers, for better or worse. I'd be grateful if you implemented a better way in a pull request!


Feature request: move cursor up/down between paragraphs

This would be the same as the { and } commands in vi(m):

}: move to next blank line
{: move to previous blank line

I find this a helpful way to move up/down in a file faster than line-by-line but slower than page-by-page.

@danvk This is a good request. But this can be always achieved by writing an extension. Extension API provides all required information to come up with commands to do this and assign keyboard short cuts. This is the same approach followed by the Vim Extension.
Thanks

In case someone wandered here in search of this feature just like me: https://github.com/sashaweiss/vscode_block_travel

There's also this: https://marketplace.visualstudio.com/items?itemName=jmfirth.vsc-space-block-jumper


Create repository for colcon-ros-cargo

We already have colcon-cargo for pure Cargo projects, but we'd need another repo for ament_cargo, would it be possible to create colcon-ros-cargo and add @nnmm and me as admins? Thanks!

https://github.com/colcon/colcon-ros-cargo/ has been created and maintainer invites have been dispatched. Please close this issue once both of you have confirmed your access.

@nuclearsandwich thanks. I have admin access for colcon-cargo, would it be possible to have the same access level for colcon-ros-cargo? Thanks

I have admin access for colcon-cargo, would it be possible to have the same access level for colcon-ros-cargo? Thanks

Yep, just changed for both you and @nnmm I default to maintain for everything to reduce the accidental/compromised deletion chance but there is enough of a gap between Maintain and Admin that it isn't really tenable to have no active admins on a project.

@nuclearsandwich thank you so much, closing this ticket now.


Handle Google refresh token

My OAuth token used to access the People API expires after some time. I then have to log out and log back in to get a new one. I should be handling the refresh token to get a new token automatically so I don't have to log out and log back in.

I think the approach I should take is to add middleware that checks if the access token is expired (not sure yet how to do that) and if it is, go through the refresh token flow. That middleware has to issue new cookies and save the refresh token associated with the user.
Unfortunately, it’s been hard to find docs that show how to do this with the Google client library. You would think someone has a solution for this already.

Actually, I don't think middleware is the right approach. I wish there was more guidance on this. 😆
According to https://stackoverflow.com/a/52176000/598, the way to do this is to do it in the OnValidatePrincipal event of CookieAuthenticationEvents. I should check to see if the current credentials are expired, and if so, use the refresh token to retrieve new tokens.
As much as possible, I'd like to use the Google API .NET Client (https://developers.google.com/api-client-library/dotnet) to make these requests rather than using raw HTTP Client.


Golint fixed for modules/setting

Done. @tboerger

Why did you change
Foo,  Bar string

Into

Foo string
Bar string

?

It's golint's indication. 👎

LGTM (although I'd have preferred smaller PR)

LGTM

resolved #70


panic: interrupted system call

I ran the sample program on my Raspberry Pi model B. It worked but when I sent SIGINT to the application, it resulted in a panic:
panic: EpollWait error: interrupted system call

goroutine 20 [running]:
runtime.panic(0xb1460, 0x1030e100)
        /usr/lib/go/src/pkg/runtime/panic.c:279 +0x1a0
github.com/davecheney/gpio.func·001()
        /home/pi/go/src/github.com/davecheney/gpio/gpio_linux.go:77 +0x208
created by github.com/davecheney/gpio.setupEpoll
        /home/pi/go/src/github.com/davecheney/gpio/gpio_linux.go:90 +0x194s

Thanks for the issue report. I have some potentially bad news. This package isn't really maintained any more, I haven't looked at it in several years. However if you wanted to send a pull request to add a loop around the EpollWait call i'd be happy to look at it.

Thanks for letting me know. I was kinda wondering (based on the revision history) if this repository was still being maintained. I've forked it and I'll see what I can do.


Unable to use custom views for emails

Environment

Ruby 2.5
Rails 5.2
Devise 4.4.3

Current behavior
For some reason, we're having a complete custom path for views
We have to define a custom path for the mailers views. The mailer custom path is being ignored with the following, seem that template_path has no effects :
class DeviseMailer < Devise::Mailer
  prepend_view_path Rails.root.join('app', 'ui')
  include Devise::Controllers::UrlHelpers
  layout 'devise_mailer' # is in app/ui/layouts/devise_mailer.html.haml
  default template_path: 'devise_mailers' # is in app/ui/devise_mailers/...
end

The above is using the expected layout, but for the views, nothing to do, it picks the default devise views (fallbacking to the ones stored in the gem - if i'm not wrong)
The custom mailer is correctly defined in devise.rb
Expected behavior
Being able to use custom mailer views based on the tutorial in the wiki
current solution
Ended up with the following workaround :
class DeviseMailer < Devise::Mailer
  prepend_view_path Rails.root.join('app', 'ui')
  include Devise::Controllers::UrlHelpers
  layout 'devise_mailer' # is in app/ui/layouts/devise_mailer.html.haml

  # this below has no effect
  default template_path: 'devise_mailers' # is in app/ui/devise_mailers/...

  # this below enables effectively the custom views path
  def headers_for(action, opts)
      super.merge!(template_path: 'devise_mailers')
  end
end

(from here)
Is the above code okay/acceptable ? Did I miss something from the doc ?

Hello @benbonnet, thanks for your report.
Can you provide us a sample application that reproduces the issue in isolation?
You can also use our bug report template.
That would help us find the issue.
Thank you!

Same here (rails 4.2), thank you for your headers_for-workaround @benbonnet  !

@tegon is that an acceptable setup ?

@benbonnet I haven't got the change to look at it yet, sorry. I'll do it when I have some time.

I experienced the same problem. By debbugging I discovered that internally there is a method that apply default values, including the default path for views, even if something different is specified!
Hope that helps!
Please solve...

@benbonnet I've made some tests with your app and discovered that default has no effect here because we're explicit sending this value inside headers_for, so I think your approach is ok 👍

Why did you close this issue? Someone just found a workaround but the DOC is still out of date and wrong. Even though, I don't think the workaround is the correct/acceptable approach.

It is a bug, but seems like that unless the bug affects many people, no one cares.

@marcosanfilippo When that happens, please open another issue. When you comment on closed issues is very hard for us to keep track of it. It's not that nobody cares, it's just that it's hard enough to reply to all notifications in the open issues that some of the closed ones pass by (I'm not saying that as an excuse, it's just that it works better to open new ones).
Now, I don't know exactly how this could be solved, so I'm open to suggestions.

I've the same problem.
I just run rails generate devise:views only.
Custom mailer views is rendered correctly.
But they not render  after convert from ERB to HAML.
Environment

Ruby 2.6.3
Rails 5.2.3
Devise 4.6.2

In my case, I had a similar issue where layout 'my/layout/file/here worked but default template_path: 'my/template/source' did not work.
I solved it by setting the config.scoped_views = true

This bug still persists.
Rails 7.2, devise 4.9.4
class CustomDeviseMailer < Devise::Mailer   layout "mailer"   default template_path: "users/mailer" end
Had to use the work around to make it read from template_path


Aspect ratio correction

Hey,
I have a custom raspi screen (with driver and all) and the ratio comes out slightly wrong... not much but a bit.
Is there an INI file or something where a correction could be set?
Thanks,
Andreas

Is it only the teleframe software, that is shown with wrong ratio? Or also the raspbian stuff?

Not sure but don't think. Background and icons look ok. Driver inst went ok and the pixels are not blurry or anything (which I think they would be if the resolution is not okay). But since I do not use this device for anything else a hint how to change the overall ratio would be appreciated quite the same.
BR
Andreas


Inaccurate birthday computation

As of today, its November 13, 2018.
I set a birthdate of November 14, 2000 which should be 17 years old (will be 18 tomorrow), but Period.between returns 18.
Is it just basing on number of years not the actual days (including leap years.)
Thanks, I would appreciate any help or suggestion and/or any mistake on my end.
Currently this is my implementation just same with what we have on official Java8 implementation.
       org.threeten.bp.LocalDate birthDate = org.threeten.bp.LocalDate.of(calendar.get(Calendar.YEAR), calendar.get(Calendar.MONTH), calendar.get(Calendar.DAY_OF_MONTH));        org.threeten.bp.LocalDate today = org.threeten.bp.LocalDate.now();        org.threeten.bp.Period between = org.threeten.bp.Period.between(birthDate, today);        int ageInYears = between.getYears();
Thanks,
Ralph

Both the Java 8 implementation (openjdk version "1.8.0_191-1-redhat") and threetenbp (v1.3.8) calculate the period between November 14th, 2000 and November 13th, 2018 to be P17Y11M30D with a years component equal to 17. Perhaps your value of calendar is erroneous. It suggests the use of java.util.Calendar which is notoriously hard to use right as well as unnecessary when java.time or TTBP is available.
Recommend issue be closed.
package com.example;

public class AgeTest {

    public static void main(String[] args) {
        org.threeten.bp.LocalDate bpBirthDate = org.threeten.bp.LocalDate.of(2000, 11, 14);
        org.threeten.bp.LocalDate bpRefDate = org.threeten.bp.LocalDate.of(2018, 11, 13);
        org.threeten.bp.Period bpPeriod = org.threeten.bp.Period.between(bpBirthDate, bpRefDate);
        System.out.println("bpPeriod = " + bpPeriod);
        System.out.println("bpPeriod.years = " + bpPeriod.getYears());

        java.time.LocalDate jBirthDate = java.time.LocalDate.of(2000, 11, 14);
        java.time.LocalDate jRefDate = java.time.LocalDate.of(2018, 11, 13);
        java.time.Period jPeriod = java.time.Period.between(jBirthDate, jRefDate);
        System.out.println("jPeriod = " + jPeriod);
        System.out.println("jPeriod.years = " + jPeriod.getYears());
    }
}

Outputs:
bpPeriod = P17Y11M30D
bpPeriod.years = 17
jPeriod = P17Y11M30D
jPeriod.years = 17


Uncaught TypeError: Cannot read property 'destroy' of undefined at CBattleSelectionState.Shutdown

I am getting this error occasionally whenever a round has ended, but before printing "round done" to console, and the script has been unable to recover from it.
Uncaught TypeError: Cannot read property 'destroy' of undefined
    at CBattleSelectionState.Shutdown (game.js?v=cQtonveOglA4&l=english:1299)
    at CGame.Update (game.js?v=cQtonveOglA4&l=english:108)
    at t.gApp.ticker.add [as fn] (game.js?v=cQtonveOglA4&l=english:69)
    at t.emit (pixi.min.js?v=.tDHAybGykI1O:16)
    at t.update (pixi.min.js?v=.tDHAybGykI1O:16)
    at Window._tick (pixi.min.js?v=.tDHAybGykI1O:16)
    at <anonymous>:2:491
    at e.string.g.function.c.(/saliengame/play/anonymous function) (eval at exec_fn (:1:107), <anonymous>:52:483)

I made some makeshift adjustments to the code, and it has been running for 9 hours without any major issue. There may still be difficulty exiting the planet once it has been conquered, but it is very likely that it is Steam's issue rather than the script's, as I cannot manually leave the planet either, for minutes.
Step 1: Add a global error catching function in an empty space just below the header comments and above the first line of real code  "(function() {..." , to allow recovery after the occurrence of the above exception (or in fact any uncatched exception).
window.onerror = function(msg, url, line, col, error) {
    // Basically I copied the original reload method to a "global" level.
    setTimeout(function() {
        if (typeof unsafeWindow !== "undefined")
            unsafeWindow.location.reload();
        else
            window.location.reload();
    }, 750);

    var suppressErrorAlert = true;
    // If you return true, then error alerts (like in older versions of
    // Internet Explorer) will be suppressed.
    return suppressErrorAlert;
};

Step 2: I am not certain if it really is useful. But the rate of error was reduced after I increased the interval of the "loop".
Change all
setInterval(gameCheck, 100)

into
setInterval(gameCheck, 200)

Effectively doubling the timer interval, whatever it does.
Step 3: This change is irrelevant, but I added it to keep track of my progress (score) in the console.
Look for the line:
console.log('Joining zone:', zoneId);

And add the following line below it:
console.log('Current score: ' + gPlayerInfo.score);

My only worry with overwriting window.onerror is being able to help users that are saying that they are just constantly refreshing. They could keep "Preserve Log" checked in console, but it adds an extra problem to try support them with.


Improve Library-classes.

Replace std::vector to std::unordered_map.
Can be done after implementing #19

Duplicate, see #92


Investigate github API for star functionality

Overview
Staring our repo functionality takes us to Github but doesnt actually star the repo. The Github API should be reviewed to see if we can have the repo starred when the user clicks the embedded star
Action Items

[ ] investigate if we can embed star functionality for repo's to our website
[ ] if possible implement functionality: when clicking github star on website CTI repo will be starred

Resources/Instructions

Is this feasible based on past research? May not be feasible as it is dependent on logins etc.


[Task]: Implement filtering of Playground catalog to not include web-site examples in the catalog

What needs to happen?
Implement filtering of Playground catalog to not include web-site examples in the catalog
TBD: clarifying requirements
Issue Priority
Priority: 3
Issue Component
Component: beam-playground

Static Apache Beam code snippets to be replaced with Playground embeddings. (e.g. https://beam.apache.org/get-started/try-apache-beam/). Such snippets should be stored in examples catalog, but they shouldn't be visible for Playground users (https://play.beam.apache.org/)


OPS and WHITELIST variables don't work with FTB

FTB looks for these files in another location, so it breaks.

Sorry for the delay. This fix is now pushed to Docker Hub. Let me know if it still doesn't seem to work.

For some reason, I would like to play Minecraft server on Forge before 1.17, which need to use itzg/minecraft-server:java8-multiarch version. I know this is resolved on latest version, but this issue still presented on that version, so my question is what could I do to be able to whitelist on java8-multiarch version?


improve playground loading times

doclets with many playgrounds get stuck, because of pretty slow load times of the playgrounds supported by the awesome tonicdev.
example:
https://doclets.io/dleitee/strman/master
how can this be solved? the main focus should be to allow to user to scroll the page, even if not all playgrounds are loaded. this is the code which loads / embeds the playgrounds:
https://github.com/lipp/doclets/blob/master/views/doclayout.jade#L36

Hi, the real solution is for us to make them load faster. However, while we work on that, I have had success simply delaying the loading. If you look at this blog post I wrote, it loads many examples and still remains fast scrolling: http://tolmasky.com/2016/03/24/generalizing-jsx/ . The code is in that same file.

@tolmasky Thank you very much!!!! 💯  I'll try to integrate your temp solution.

@tolmasky ... sorry... could you please point me to the piece of code which handles the loading/delaying/whatever of the tonicdev examples? Thanks!!!

Sure, its just:
var samples = document.querySelectorAll(".highlighter-rouge");
var index = 0;
var count = samples.length;

function load(aSample)
{
    var source = Tonic.sourceFromElement(aSample);

    aSample.innerHTML = "";

    Tonic.createNotebook(
    {
        // the parent element for the new notebook
        element: aSample,

        // specify the source of the notebook
        source: source,
        nodeVersion: "4.x.x",
        onLoad:function (aNotebook)
        {
            //aNotebook.evaluate();
        }
    });
}

function loadAll(samples, index)
{
    while (index < count && samples[index].tagName !== "DIV")
        ++index;

    if (!(index < count))
        return;

    load(samples[index]);

    setTimeout(loadAll, 1000, samples, index + 1);
}

loadAll(samples, 0);

@tolmasky Thanks 💯  again! This is in now...
As long as the tonic devs don't load faster, this is probably an as-good-as-possible solution, so i'll close this for now.

@dleitee this improves the strman usability a lot (though, still not great)
https://doclets.io/dleitee/strman/v1.3.0

@lipp Thank you, I will see doclets project and verify if I can contribute with improvements and fixes.

Another strategy is to do what lodash has done: lodash.github.io (show the embed/ run it when clicked)


"safety_vest" feat(schema): Add BytesFixed solidity types"

Description
Add fixed byte type to schema package
Testing
Explain the quality checks that have been done on the code changes
Additional Information

[ ] I read the contributing docs (if this is your first contribution)

Your ENS/address:

Current dependencies on/for this PR:

main

PR #510   👈

This comment was auto-generated by Graphite.


Can’t open menu while reading using iPad 2 page mode

In single page mode the menu can be opened when I tap, but in two page mode nothing show up

fixed


[Enhancement] Upgrade jindosdk version to 4.6.8

Fixes #issue
What type of PR is this:

[ ] BugFix
[ ] Feature
[x] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[ ] I have checked the version labels which the pr will be auto-backported to the target branch

[ ] 3.0
[ ] 2.5
[ ] 2.4
[ ] 2.3

Plz check your thirdparty update ci, I think it build docker image failed.

@mergifyio backport branch-3.1


[Bug]: Improve output for non-taquified project

What happened?
For not taquified project the output of any command is
taq [command]
Commands:
taq init [projectDir]                     Initialize a new project
taq opt-in                                Opt-in to sharing anonymous usage analytics
taq opt-out                               Opt-out of sharing anonymous usage analytics
taq scaffold [scaffoldUrl] [scaffoldProj  Generate a new project using pre-mad
ectDir]                                   e scaffold
Options:
--version     Show version number                                [boolean]
--build       Display build information about the current version[boolean]
-p, --projectDir  Path to your project directory               [default: "./"]
-e, --env         Specify an environment configuration
Taqueria is currently in BETA. You've been warned. :)
Your config.json file is invalid
That has a lot of additional information and also does not correct info that project was not taquified
What should have happened?
It would be nice to have one line output if config.json does not exists at all to tell user:
"Project is not taquifed!"
Steps to reproduce the bug

Install taqueria
Create a test folder on your machine
Run taq install without running taq init

Relevant log output
No response
Screenshots and images
Screenshot and images
Code of Conduct

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

Please add a verbose mode to debug what is going on

@zamrokk, there are two dev flags you can try out in the meantime:

--logPluginRequests
--debug

I did some config cleaning and use the vscode plugin, now the state seems
to be ok. I can do all actions
Don't know what happened
Ben
Le mar. 9 août 2022 à 19:46, Houston @.***> a écrit :

@zamrokk https://github.com/zamrokk, there are two dev flags you can
try out in the meantime:

--logPluginRequests
--debug

—
Reply to this email directly, view it on GitHub
https://github.com/ecadlabs/taqueria/issues/1033#issuecomment-1209687368,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AATLHMDA7JJTT4FPLOZVTATVYKKODANCNFSM54IP6SQA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Thanks for the update @zamrokk! Will close this out for now


Log where we mutate containers with inconsistent requests/limits

We have some code that looks to see if a user has specified a resource in requests but not limits or vice versa.  If they have then the missing resource value is automatically filled in.  A practical example here would be if a user has specified a 1 core cpu limit but does not specify a cpu request.  In  this case we would autopopulate a 1 core cpu request.
I'm largely against this logic because:

It has a somewhat complex interaction with the other defaulting/checking we do
It will hide mistakes from the user.

Ideally I think we'd either a) remove this completely, or b) replace with something simpler where we will populate an entire missing requests/limits section but not individual resources.
As this would be a breaking api change, I've added a log line so we can determine if this feature is actually being used.

Another reason to be against this is that not specifying limits is a valid case in kubernetes. Pods get assigned a QoS based on if limits=requests (guaranteed QoS) or request != limits (burstableable) or best effort in all other cases.
This influences the oom_score for OOMKiller so setting limits to equal requests means you are forcing the guaranteed Qos.
https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#node-out-of-memory-behavior


pagination generator incomplete

The pagination generator only returns one page of results:
My code is  :
page_gen = graph.get('me?fields=id,name,posts.include_hidden(true){created_time,from,message,comments{created_time,from,message,comments{created_time,from,message},attachment},full_picture}', page=True, retry=3)
I then call next(page_gen) and I get one page of results.  The following call to next(page_gen) returns StopIteration.
Many thanks for your help

Perhaps it is because:
from graph_api.py : 300
def paginate(method, url, data):
while url:
result, url = load_with_retry(method, url, data)
            # Reset pagination parameters.
            for key in ['offset', 'until', 'since']:
                if key in data:
                    del data[key]

            yield result

the pagination params are reset each page?

doh.


Develop -> Main

Problem
Update structure home page and templates
Solution
What I/we did to solve this problem
with @pairperson1
Change Summary:

Something else I/we did

Steps to Verify:

A setup step / beginning state
What to do next
Any other instructions
Expected behavior
Suggestions for testing

Level of Risk (low / medium / high):
How much risk is present with the changes? (i.e styling fix that only touches 1 component --> low risk, refactoring all api calls --> high risk). Helpful for reviewers to know how much attention should be given to the proposed changes.
Screenshots (optional):
Show-n-tell images/animations here

Codecov Report

Merging #34 (9bff4ed) into main (e34c23e) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main       #34   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            1         3    +2
  Lines           12        31   +19
  Branches         1         3    +2
=========================================
+ Hits            12        31   +19

Impacted Files
Coverage Δ

pages/index.tsx
100.00% <100.00%> (ø)

src/pages/Home/index.tsx
100.00% <100.00%> (ø)

src/pages/Home/styles.ts
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Support for PNG files?

The library we have been using for exif data, exif-rs, seems to have issues parsing png files, and breaks with some kinds of IFD issues on many images. Do you have any plans to support png files?

Of course, I will consider including PNG support in future versions. Thank you for the feedback!

I am happy to take a shot at working on this feature, though there is a peculiarity of PNG files that is worth discussing before I start on a feature branch.
PNG files have several kinds of metadata chunks:
EXIF -- this encodes standard exif data that can be read as a normal exif block
tEXt -- this is a single block that encodes a single key-value pair, basically two ascii bytestrings
itxt, ztxt -- these are more complex, internationalized, compressed string blocks
How would you like to deal with these kinds of blocks? The tEXt metadata is quite common for PNG files, but doesn't fit neatly into the IFD format.
In my own little library, I simply treat the tEXt blocks as a set of custom exif tags with IFD 0. However, the logic for that requires a separate iterator to handle that. Secondly, the tEXT blocks are just ascii strings, which may hinder them fitting into the EXIF system, which usually has much more scoped data representations.

Thank you! I'm glad you're willing to get involved!
I think it could be done like this:

If standard Exif information is present in the PNG, MediaSource::has_exif should return true, and the MimeImage::Png support should be extended in the exif::extract_exif_with_mime function.

If the PNG contains tEXt, itxt, or ztxt, then MediaSource::has_txt_key_values (a new method) should return true.
Additionally, a data type TxtKeyValues should be added, and ParseOutput/AsyncParseOutput traits should be implemented for TxtKeyValues.

This is just an initial idea and might not have been thoroughly thought through (including naming), so it's for your reference. If you decide to adopt this approach, please add the necessary documentation for the has_txt_key_values method and specify the supported file types.


Manga long description scrolling not working

(details to be added)
r291

I was just doing that. Check it now. :)

Works better, but you can only scroll down, scrolling up trigger data refresh. I  would prefer the whole page to be scrolling, not just text inside description.

Ok, is it good now?

Yes :+1:


Choose different position for the text in columns in the table widget.

Problem
I want to be able to choose the position of the text in the columns of a table.
Right now, it seems that the text is always position at the left.

Cell accepts Text. Each line in the text has an alignment, which is respected when rendering the cell.
Cell::new(Line::from("asdf").alignment(Alignment::Right))

Excellent, I did not see that one.
Thanks for the answer.


Fix paginated footers & Format alarm time

Fixes #774.

lgtm except you should really just be using arrow for the time humanization.

No suggesting changes? Surely you can write it.

Yolod this review, let's hope it works


Dates in historical csv are wrong. What's up?

The downloadable elevation data do not seem to go back as far as the gauge height data.


build: hardcode original implementation in factory

:notebook: Overview

hardcode implementation factory as part of the constructor in deploy scripts
update implementation address if different from the original (by reading from factory storage, so the separate deploy scripts do not clash)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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 97.971%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1311

Relevant Lines:
1319

💛  - Coveralls


define node struct, add init and malloc

notes

Added struct definition for node
Added global var for head
Added init and malloc functions

Testing

idk it builds

@hanyuanye cant request a review until you join :^)

@hanyuanye cant request a review until you join :^)


ARROW-12288: [C++] Create Scanner interface

9947

 Quality gate: Failed
21 Issues

 1 Vulnerabilities
 20 Code issues

Details


Rename git alias to better reflect name convention

This will rename the previous alias gmv to gbm to better reflect the naming as it will rename the branch not move a file. Also introduce gmv as an alias for git mv to move files.

Great - thanks!


Actions to build the image disabled

Hello,
First, thank you for this image.
I realised that the GitHub Actions to build this image and push it to DockerHub are all disabled, so no new image is available on DockerHub.
Is it possible to activate the actions ?
Thank you in advance.

With pleasure!
I just wanted to see if anyone was still using the project ;-)
All workflows are now activated again. Have fun with the image!


Update apim_v1alpha1_ratelimitpolicy.yaml

removing the host from the sample. I want to link to this example so don't want to show a host there currently. There maybe a place for it in the future but which hosts can be added there should be governed/restricted by the targeted resource

Can you please review #116 instead? I have removed hosts there as well but don't expect it to work since changes are required in the shim now.

#116 is merged, you can use refer the same :)


Now with evidence on GP to anonymous MF edges.

@dosumis I had thought that yesterday's was the final for a bit.  I'll be on and off for a couple of weeks from Friday, so if there is anything that you'd like in before mid-September, we should coordinate.

@dosumis Are you unable to provide ORCIDs for your users? I believe that's what we want to go with for the GO annotations; I also recall we had this discussion before, but I can't find it.
As well, weren't the titles a bit more informative in a previous iteration?

I had thought that yesterday's was the final for a bit. I'll be on and off for a couple of weeks from Friday, so if there is anything that you'd like in before mid-September, we should coordinate.

Kind of inevitable that I'd notice more issues once we loaded.  It would be good to get the latest batch loaded soon as we'd like to test GPAD conversion.  I was too conservative with which edges I put evidence on for conversion to work reliably with the current load.  We will likely want at least one more batch loaded before the annual SynGO project meeting on the 23rd September, but these will not be ready this week so this can be done when you get back.

@dosumis Are you unable to provide ORCIDs for your users? I believe that's what we want to go with for the GO annotations; I also recall we had this discussion before, but I can't find it.

Not yet.  The various expert contributors need to be asked for ORCIDs and these need to end up in the SynGO JSON.  We've asked the SynGO guys to request ORCIDs from their experts, but don't know how much progress  has been made. @ftwkoopmans should be able to fill us in on progress.  For now, we've agreed to use 'SynGO:' for the contributors field.  This is no different from GO-CAM models that just have GOC: for contributor (don't know how common this is now, but I've certainly seen some).

As well, weren't the titles a bit more informative in a previous iteration?

I think the only difference is that they no longer have 'test' in the title.  Longer, descriptive titles with 'syngo' in come from Barbara's work.

Fair enough. I'll try and get this batch up tonight (which, looking at the mod flag on the Noctua landing page, may revert some unsaved changes from @BarbaraCzub and @LiNiMGI ).
I'll be unavailable for the next week, then available sporadically the week after that.

The ORCHIDs are coming, for each annotation we will provide the ORCHID of each contributing annotator, please bear with us as we sort this out throughout the consortium.

@ftwkoopmans No problem at all. I'm going to put out what is currently in this PR tonight and can do another one when I am back online in a week or so.

@dosumis Merged and now in production.

@cmungall As an aside, it takes about 10m to rebuild the journal. I'm pretty happy about that for now.


A fragmented dash timeline using shaka-player

Have you read the Tutorials?
Yes
Have you read the FAQ and checked for duplicate open issues?
Yes
What version of Shaka Player are you using?
3.3.0
Please ask your question
Hello,
I have a collection of dash packaged mp4 video files of varying time length. These video files can be anywhere from 30 seconds to 5 minute duration and each with its own mpd; the collection of files spawns one day period.  Can shaka-player be used to display one time line bar of 24 hour period but with gaps or chapters in it (much like youtube has on some timelines)? The goal is for the user to easily see what time segments during the 24 hour period there is video content available for playback.
I started by manually creating one large mpd file by adding all the periods in and adjusting period id, start and duration.  This works if there are no gaps. Also, I don't know if there a way to control the timeline bar color to display gabs or periods where there isn't video.
Looking forward to hearing some suggestions on how to accomplish such feature.
Thank you

I don't think this is something Shaka Player can do today, but there are some ideas out there that might get you closer.
We have had a low-priority feature request open for some time now (https://github.com/shaka-project/shaka-player/issues/764) to allow an app to append VOD clips together in the client.  It sounds like this would cover everything except the timeline UI, but nobody is working on this right now.  If you're interested, you could comment on that issue and start a PR.
As for the UI, the closest thing we have now is ad markers.  For ad-supported content, we mark the timeline to show where the ads are located.  You could do something similar for your various content regions, based on the ad marker support we already have.  (This would involve modifying or customizing our UI in some way.)
Does this help?


Tesseract creates PDF with no spaces for Arabic

I am trying Tesseract with arabic document, and I noticed that text recognition works extremely well (I am actually quite surprised by the accuracy of it).
However, when I try to generate a PDF with a text overlay on top of the image using : tesseract -l ara test-ocr.jpg result pdf the document generated doesn't contain any spaces in it.
Here is a snippet of the extracted TXT using tesseract -l ara test-ocr.jpg result :
الموضوع : حول تنفيذ مشروع انتزاع للمصلحة العامة

Here is the same snippet, but copied from the PDF generated with this command tesseract -l ara test-ocr.jpg result pdf :
الموضوع:حولتنفيذمشروعانتزاعللمصلحةالعامة

Sample image to test this out : https://imgur.com/a/TsfudZ6

Environment

Tesseract Version:

09:50 $ tesseract --version
tesseract 4.0.0
 leptonica-1.78.0
  libgif 5.1.4 : libjpeg 9c : libpng 1.6.37 : libtiff 4.0.10 : zlib 1.2.11 : libwebp 1.0.2 : libopenjp2 2.3.1
 Found AVX2
 Found AVX
 Found SSE

Platform:

Darwin XXXX 18.5.0 Darwin Kernel Version 18.5.0: Mon Mar 11 20:40:32 PDT 2019; root:xnu-4903.251.3~3/RELEASE_X86_64 x86_64

Please use the latest code when reporting issue.

@zdenop Please consider releasing 4.1 RC2.
On Mon, 20 May 2019, 14:25 zdenop<EMAIL_ADDRESS>wrote:

Please use the latest code when reporting issue.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/tesseract-ocr/tesseract/issues/2446?email_source=notifications&email_token=ABG37I3UD5HXLILEJONV4Q3PWJRQDA5CNFSM4HN7LX72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVYEO7I#issuecomment-493897597,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABG37IYX6NBEMF3IVZIPNJTPWJRQDANCNFSM4HN7LX7Q
.

Also test with other pdf viewers. The default pdf viewer in macOS is not so good at displaying Tesseract's output. The built-in pdf viewer in Google's Chrome browser is recommended.

Tried both actually, along with pdfJS and tika parsers inside Alfresco Content Services.

On 20 May 2019, at 14:05, Amit D<EMAIL_ADDRESS>wrote:
Also test with other pdf viewers. The default pdf viewer in macOS is not so good at displaying Tesseract's output. The built-in pdf viewer in Google's Chrome browser is recommended.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/tesseract-ocr/tesseract/issues/2446?email_source=notifications&email_token=ACYW6TNDCFSSSHSVLGFCNDDPWKHZ7A5CNFSM4HN7LX72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVYTIZA#issuecomment-493958244, or mute the thread https://github.com/notifications/unsubscribe-auth/ACYW6TKWIFROY2LRI74ER43PWKHZ7ANCNFSM4HN7LX7Q.

Just an update : Following the recommendation from @zdenop I have built tesseract from sources (5.0 alpha) and retried. And I can confirm that I still get the same results as with 4.0.0.
I have also tried out all possible --psm options (read somewhere that it made a difference with Japanese) but it doesn't seem to help in my case !

I'll take a look but no promises.

That would be highly appreciated. I have been working for this pro-bono project for a couple of months, and it would be a shame to abandon at this stage due to this bug.
@jbreiden Also if you manage to locate the culprit but you don't have enough time to fine-tune/experiment I would be more than happy to help :)

Source image is great, but please also attach a problematic PDF to bug.

Tried with stock Tesseract shipping with Debian, which is a pretty recent
build.
Did not reproduce the problem. Seeing all sorts of spaces in Chrome's PDF
viewer during highlight and copy-paste operations.
http://metadata.ftp-master.debian.org/changelogs/main/t/tesseract/unstable_changelog
tesseract -v
tesseract 4.0.0
leptonica-1.76.0
libgif 5.1.4 : libjpeg 6b (libjpeg-turbo 1.5.2) : libpng 1.6.36 : libtiff
4.0.10 : zlib 1.2.11 : libwebp 0.6.1 : libopenjp2 2.3.0
Found AVX
Found SSE
There was a really recent change to spacing in PDF about 25 days ago which
conceivably could
mess things up. If older Tesseract works and newer Tesseract fails, that's
the most obvious possible
culprit.
https://github.com/tesseract-ocr/tesseract/issues/1900

Getting back to this issue, Indeed I do see space now, at least on Adobe Acrobat Reader DC, not sure what did I miss when I first raised this issue, in Alfresco and PDFJS though I was searching for a word and I assumed I had the same issue as in the MacOS preview app, but it turns out I was stumbling on  #238 which is even more annoying !
Thanks guys and sorry for the wrong Alarm


Doesn't work on android 14 (Pixel 7 pro)

Doesn't work on android 14 (Pixel 7 pro)

Same on Pixel 6a. Would love to see an update.

https://github.com/Displax/modem-fix/commit/eaf1370c34a6c35df52640fa139e98250185a36f


[Suggestion] Allow bounds for Draggable

I'd like to limit the movement of the element to a certain bound.
Today, It's possible with the following code
 <div style={translateY <= 0 ? {transform: ``translate3d(0, ${translateY}px, 0)``}: {}}...
Where translateY is the property passed from the draggable function.
The code above will prevent the element from moving below its current position.
However, the <draggable/> component keeps an internal registry of the position, so if I'll move it down for a while - nothing will happen to the UI, but when I'll try to move it up - it will remain still until the internal value reaches below zero.

There are two possible solutions I can think of:

create a configurable threshold and prevent the internal counter from keeping out of bound values
poll the position data from the UI (don't like it) so that it basically acts the same.

What do you think?

The first one is obviously best. I'll take a look at some point. Good shout.


update parse STRICT tables

close #898
What changes are included in this PR?
add STRICT keyword.
add some to enable parse STRICT table.
add one test about STRICT table.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

14 of 16 (87.5%)  changed or added relevant lines in 4 files are covered.
2 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.001%) to 86.92%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/ast/helpers/stmt_create_table.rs
5
6
83.33%

src/parser.rs
1
2
50.0%

Files with Coverage Reduction
New Missed Lines
%

src/ast/mod.rs
1
78.25%

src/parser.rs
1
82.92%

Totals

Change from base Build<PHONE_NUMBER>:
0.001%

Covered Lines:
15058

Relevant Lines:
17324

💛  - Coveralls


Only import backports._datetime_fromisoformat dependency when python version is before 3.11

Pull request checklist
Please check if your PR fulfills the following requirements:

[ ] Docs have been reviewed and added / updated if needed (for bug fixes / features)
[ ] Tests have been added that prove the fix is effective or that the feature works.
[ ] New and existing tests pass locally with the changes.
[x] Code follows the style guidelines of this project (PEP8, clean code, linter).
[x] A self-review of the code has been done.

What is the ticket or issue number?
#520
Pull Request Description
This is an implementation of a conditional backports._datetime_fromisoformat depedency based on the python version. The MonkeyPatch method is the default usage recommended on https://github.com/movermeyer/backports.datetime_fromisoformat
Does this introduce a breaking change?

[ ] Yes
[x] No

Should be transparent to user before and after 3.11, as backports._datetime_fromisoformat backports the datetime.fromisoformat functionality identically. Would simplify installation process by removing the need of a C compiler on the machine for engineers using python 3.11 or 3.12.

How Has This Been Tested?
Only minimal tests done to ensure implementation worked. May need further evaluation.

Did you run the pytests as I see the following fail?
FAILED src/tests/unit/platform/test_alertsv6_api.py::test_query_basealert_with_create_time_as_start_end - cbc_sdk.errors.ApiError: Start and end time must be a string in ISO 8601 format or an object of datetime. Start time 2023-09-19T12:34:56 is a <class 'str'>. End time 2023-09-20T12:00:12 is a <class 'str'>.
FAILED src/tests/unit/platform/test_alertsv6_api.py::test_query_basealert_with_create_time_as_start_end_as_objs - cbc_sdk.errors.ApiError: Start and end time must be a string in ISO 8601 format or an object of datetime. Start time 2024-07-09T15:36:24.447549 is a <class 'str'>. End time 2024-07-09T15:36:24.447549 is...
FAILED src/tests/unit/platform/test_alertsv7_api.py::test_time_range_formatting[2023-10-03T08:46:52.302222+00:00-2023-10-07T08:46:52.302222+00:00-time_filter0] - cbc_sdk.errors.ApiError: Start and end time must be a string in ISO 8601 format or an object of datetime. Start time 2023-10-03T08:46:52.302222+00:00 is a <class 'str'>. End time 2023-10-07T08:46:52.302...
FAILED src/tests/unit/platform/test_alertsv7_api.py::test_time_range_formatting[2023-10-03T08:46:52.302222Z-2023-10-07T08:46:52.302222Z-time_filter1] - cbc_sdk.errors.ApiError: Start and end time must be a string in ISO 8601 format or an object of datetime. Start time 2023-10-03T08:46:52.302222Z is a <class 'str'>. End time 2023-10-07T08:46:52.302222Z ...
FAILED src/tests/unit/platform/test_alertsv7_api.py::test_time_range_formatting[2023-10-03T08:46:52.302Z-2023-10-07T08:46:52.302Z-time_filter2] - cbc_sdk.errors.ApiError: Start and end time must be a string in ISO 8601 format or an object of datetime. Start time 2023-10-03T08:46:52.302Z is a <class 'str'>. End time 2023-10-07T08:46:52.302Z is a <...
FAILED src/tests/unit/platform/test_alertsv7_v6_compatibility.py::test_set_create_time - cbc_sdk.errors.ApiError: Start and end time must be a string in ISO 8601 format or an object of datetime. Start time 2023-09-19T21:00:00 is a <class 'str'>. End time 2023-09-20T01:00:00 is a <class 'str'>.
FAILED src/tests/unit/platform/test_audit.py::test_search_audit_logs_with_all_bells_and_whistles - cbc_sdk.errors.ApiError: Start and end time must be a string in ISO 8601 format or an object of datetime. Start time 2024-03-01T00:00:00 is a <class 'str'>. End time 2024-03-31T22:00:00 is a <class 'str'>.

Closing as duplicate of https://github.com/carbonblack/carbon-black-cloud-sdk-python/pull/523


CMSIS-DAP_for_STLINK-V3MINI compiled with  IROM1 @ 0x08020000

Awesome project!
I'm building a utility which implements the ST USB DFU protocol and encryption, it can already flash YAB without issues. But when I flash YAB (@0x08020000) + slv3app1.bin (@0x08040000) it does not jump to the app and remains in YAB mode. I've also tried flashing slv3app1.bin directly to 0x08020000 over USB and it does work likely because the target IROM settings.
I cannot compile the project myself without a license though to resolve the issue. Would you be able to compile the The CMSIS apps to run at 0x08020000 and push them here?

Hi, easy, new bin code attached, with:

start address 0x08020000.
update all software pack to latest.
VCP uart part using DMA mode, if you have problem on VCP, please let me know

Btw, your new DFU works with latest version stlink-v3 device?
Thanks.
slv3app1.zip

Awesome! Thanks so much!
You had me worried that ST made changes to the boot loader in the new version as I had not tested that yet. I have now using stsw-link007-v3.9.3 to update my probe to version V3J9M3 which is the latest. Still works.
I was starting to work on some ugly patches for YAB but this is so much better. This will install the slv3app1.bin (STLINKv3DAPv1_HID+VCP) automatically:
❯ stloader flash --dapv1
Probe successfully placed into Loader mode
  [------------------------------------]    0% Setting up device for flashing
  [####################################]  100%
Flashing slv3app1.bin to 0x08020000
  [####################################]  100%
Finishing up
  [####################################]  100%
Flashing complete!

❯ dmesg
...
[166666.318629] usb 2-4.1: New USB device found, idVendor=0483, idProduct=572c, bcdDevice= 1.00
[166666.318632] usb 2-4.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[166666.318634] usb 2-4.1: Product: HighSpeed-HID CMSIS-DAP
[166666.318635] usb 2-4.1: Manufacturer: RadioOperator
[166666.318636] usb 2-4.1: SerialNumber: 0001A0000000
...

The tool will be uploaded to pypi and install with a simple pip command. you can also use it to restore the ST factory firmware or install YAB. It can also encrypt/decrypt arbitrary files using the hardcoded bootloader AES keys.
Do you know a good resource which details all the differences between dapv1 vs dapv2 and also all the features like VCP, HID, WinUSB, and mass storage and why someone my want to install one over the other? I think this would be helpful documentation.
Also, if you can compile the rest of the apps with the same settings, I will integrate them as options in the stloader tool with their own command switches:
STLINKv3DAPv1_HID+VCP -------- PID 0x572C
STLINKv3DAPv2_WinUSB+VCP --- PID 0x572D
STLINKv3DAPv2_WinUSB ---------- PID 0x572E
STLINKv3DAP_v1+v2 -------------- PID 0x572F

Though STLINKv3DAPv1_HID+VCP doesn't seem to work with pyOCD:
 self._has_swo_uart = (self._capabilities & Capabilities.SWO_UART) != 0
TypeError: unsupported operand type(s) for &: 'NoneType' and 'int'

I 'm wondering if it does not advertise it's cablities properly or as pyOCD expects here?

I do not know what INFOs expected by pyOCD SWO function, my cmsis-dap code from ARM official many years and ok on other IDEs.
If you know how to change my code to meet pyOCD requirement, please tell me.
Or maybe you patch pyOCD to do right.
Attached is the code, not tested.
STLINKv3DAP_08020000.zip


Onedrive link to ViT-L/14* model is expired

Hi, I would like to try the zero-shot inference but the link to Onedrive to download the ViT-L/14* checkpoint is expired. Could you please update it? Thank you!

Thank you for the reminder. The OneDrive link had already exceeded its validity period, but I have now updated the link for the model, extending its validity for an additional six months.


Unable to locate custom controls in CRM

For Custom Controls, CRM embeds a div at the bottom of the page and client.Browser.Driver.FindElement doesn't find out the element.

When can I except this to be a part of EasyRepro?

Any updates?


Scenario viz change

Place density plot with histogram.

Things left to do:

[x] Update documentation
[x] Allow user to hide legend (looks nicer when composing multiple plots together)

@Rosejoycrocker ready for review. Note I've updated example usage in the documentation, but not the corresponding figure. I intend to update all figures over the next few weeks.

@ConnectedSystems have you considered using a Kernel Density plot instead of histogram? It can be easier to visualize when you only need the shape and there's intersection.

@Zapiano yes, that's essentially what we're moving away from.
Reason is the density plot can be interpreted in a misleading way (in my view).
Perhaps this will change after the MCDA assessments @Rosejoycrocker is doing currently.


Updating Files

Hello,
im wondering what is the current optimal way to update files with this package?
Im currently using this in the onAfterUpload hook
export function removeOldFiles(filter) {
    let currentFile = Files.findOne(filter)
    // console.log("remove old files ", filter, currentFile)
    if (currentFile) {
        let duplicateDbEntry = Files.findOne({_id: {$ne: currentFile._id}, path: currentFile.path})
        if(duplicateDbEntry) {
            return Files.collection.remove({ _id: currentFile._id })
        } else {
            return Files.remove({ _id: currentFile._id })
        }
    } else return false;
}

Here i had to use Files.collection.remove(), because otherwise the newly inserted file (that replaced the old file in the filesystem) would be removed. The Problem i had is that on new insert, a file might have been replaced with a file with the same name, but the old mongoDB entry was still there - so in the end i had 2 entries in the DB for one file.
Thanks in advance for your feedback

@chrschae please rephrase what are you trying to achieve. Why do you think that inserting the same file twice should result in having only single file?
For more details please follow our ISSUE_TEMPLATE

@dr-dimitru Ok no problem.
So my setup is as follows:
For Example, my fileDir could look like this :  root-> userdir-> userid ->  userProfileImage.png
The name and path of the file is controlled by the namingFunction. So when a user is uploading a profileImage, it will be saved with the same name always. I use one FileCollection for different types of files and save relevant info for me in the metadata of the file. I want to keep the directory structured similar to my example.
On Insert of another picture for the same user, my file in the filedirectory gets replaced (by the package because of same naming) and in the end ill have a dead entry in the DB (for that file that got replaced). Because of that circumstance, i try to remove the old database entry after the new file was uploaded, so i dont have duplicated DB entries for one file.
An optimal case would be to just call an update function that updates my DB entry instead of inserting new one, or even better an upsert function.
In general, i think the insert should deny overwriting files, if such a update/upsert function would exist.
So as you see with my approach, i am inserting the same "kind" of file (userProfileImage for same user) and get multiple db entries for one file.
In my case, an upsert function would be really helpful. It could check if the file already exists at specific path and just update the db entry instead of creating a new one.
I hope this is more helpful to you

The only proper (your case only) way is to .remove() file and upload a new one or remove after upload and rename in order to replace old file

Feel free to close it in case if the issue is solved on your end.


Fix: Wrap JSON.stringify for text widget binding(suggested widgets)

Wrap JSON.stringify for text widget binding while adding from suggested widgets.
Description
To not show the widget as an error the binding is wrapped with JSON.stringify.
Fixes #6568
Type of change

Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?
Manually
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

Test coverage results :test_tube:
:red_circle: Total coverage has decreased
// Code coverage diff between base branch:release and head branch: fix/text-widget

Status
File
% Stmts
% Branch
% Funcs
% Lines

:red_circle:
total
54.91 (-0.01)
36.92 (-0.02)
33.26 (0)
55.5 (0)

:red_circle:
app/client/src/components/editorComponents/ActionRightPane/SuggestedWidgets.tsx
42.55 (-0.93)
26.67 (-1.9)
0 (0)
43.48 (-0.96)

:red_circle:
app/client/src/sagas/DebuggerSagas.ts
17.28 (-0.22)
5.11 (-0.08)
17.65 (0)
19.18 (-0.13)

:red_circle:
app/client/src/utils/autocomplete/TernServer.ts
50.47 (-0.24)
37.72 (-0.88)
36.21 (0)
55.08 (-0.27)

/ok-to-test sha=deecc33

/ok-to-test sha=62efee8

/ok-to-test sha=f0cfbc3

/ok-to-test sha=0d80811

/ok-to-test sha=34c437e

/ok-to-test sha=4e3e01b

/ok-to-test sha=46e366a


Correction for raw affiliation Department Research Center STIS, M2CS, National Graduate School of Arts and Crafts of Rabat (ENSAM), Biomedical Engineering, Mohammed V University in Rabat, Rabat, MOROCCO

Correction needed for raw affiliation Department Research Center STIS, M2CS, National Graduate School of Arts and Crafts of Rabat (ENSAM), Biomedical Engineering, Mohammed V University in Rabat, Rabat, MOROCCO
raw_affiliation_name: Department Research Center STIS, M2CS, National Graduate School of Arts and Crafts of Rabat (ENSAM), Biomedical Engineering, Mohammed V University in Rabat, Rabat, MOROCCO
new_rors: 00r8w8f84;02b3gqy34
previous_rors: 00r8w8f84;02b3gqy34;018pp1107
works_examples: W4386541999
contact: 93b646707a6f44cdf2d6229de3e8dfb1:e9518fe89e10104a187b106c2d @ ensam.eu

This issue was accepted and ingested by the OpenAlex team on 2024-10-10. The new affiliations should be visible within the next 7 days.


Can't access by a public ip, I install it on a linux server

Describe the bug
A clear and concise description of what the bug is.
Browser and Version

Browser edge
Version the newest one

To Reproduce
Steps to reproduce the behavior:

Go to 'linux'
Click on ' run langflow'
Scroll down to '....'
See error

Screenshots

Additional context
I can curl by the linux server but couldn't use UI to access even on a local network windows

Hey.
If you are using WSL maybe you haven't forwarded the port?

Hey.
If you are using WSL maybe you haven't forwarded the port?

Just a common Ubuntu server on Azure Cloud, I can access public port such as jupyter and so on, but for langflow, it can't , even using private IP to access on another windows which is in the same subnet, I want to check if there is some setting for openning public access authorization ?

After I change to another server, the problem is still there

same issue here running on amazon linux
[2023-05-18 13:49:54 +0000] [2549] [INFO] Starting gunicorn 20.1.0
[2023-05-18 13:49:54 +0000] [2549] [INFO] Listening at: http://<IP_ADDRESS>:7860 (2549)
[2023-05-18 13:49:54 +0000] [2549] [INFO] Using worker: uvicorn.workers.UvicornWorker
[2023-05-18 13:49:54 +0000] [2566] [INFO] Booting worker with pid: 2566
[2023-05-18 13:49:54 +0000] [2566] [INFO] Started server process [2566]
[2023-05-18 13:49:54 +0000] [2566] [INFO] Waiting for application startup.
[2023-05-18 13:49:54 +0000] [2566] [INFO] Application startup complete.

langflow --host --port 7860 this can solve my problem

How to fill the host, I try <IP_ADDRESS>(private ip) still not could access in public internet

hi,How did you do it? Can you take a look at examples，thanks

Start Langflow like this:
langflow --host <IP_ADDRESS>
langflow --help for details

The problem might be due to port listening configuration. Try changing the host and port using this command:
langflow --host <IP_ADDRESS> --port 7860.


package registration

package not registered for pkg] add Xtals

According to https://github.com/JuliaRegistries/General/pull/26323, package should be registered w/ v0.2.0 on 12/17


Specify project-specific updates in the README todo

Short description of the changes:

Update the README to specify locations of package-specific changes
Long description of the changes:

Check list for the pull request

[X] I have read the [CONTRIBUTING]
[X] I have read the [CODE_OF_CONDUCT]
[ ] I have added tests for my changes
[X] I have updated the documentation accordingly

Check list for the reviewer

[ ] I have read the [CONTRIBUTING]
[ ] I have verified the proposed changes
[ ] best software practices

[ ] all internal functions have an underbar, as is python standard
[ ] clearly named variables (better to be verbose in variable names)
[ ] code comments explaining the intent of code blocks

[ ] All the tests are passing
[ ] The documentation is up to date
[ ] code comments added when explaining intent

Manual test for the reviewer

References

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

Comparison is base (df49fa4) 44.44% compared to head (a3a6f21) 44.44%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main       #5   +/-   ##
=======================================
  Coverage   44.44%   44.44%
=======================================
  Files           2        2
  Lines           9        9
=======================================
  Hits            4        4
  Misses          5        5

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


Error: TypeError: this.e is null

When the owl is open in Colorbox and resize window:
Frirebug:
TypeError: this.e is null
...tion(){b.clearTimeout(this.resizeTimer),this.resizeTimer=b.setTimeout(this.e._on...

@abryser Can you please provide a fiddle?


Add ListSyntaxFixer.

please rebase.
still WIP ?

depends on https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/2475

While waiting for the test results, I'm happy to take review comments on this one as it should as good as done.

nope, Travis is sad

ah yes, the test fail because of missing PHP version constraints.

still failing
(btw, check out gitter)

fabbot.io — The rules contain unknown fixers (list_syntax).

well yeah ^_^

@SpacePossum please rebase

Thank you @SpacePossum.


feat(pixesls): add pixel for dtbullock

Checklist

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

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

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

Didn't clobber anyone else's name.


opening html files gives Unknown function: htmlcomplete#DetectOmniFlavor

With the latest version pulled from GitHub I get the following error when I
open html/erb/php file with html tags inside:

Error detected while processing
/Applications/MacVim.app/Contents/Resources/vim/runtime/ftplugin/html.vim:
line   25:
E117: Unknown function: htmlcomplete#DetectOmniFlavor

Commenting out the line seems to fix the issue, but anyway what's the proper
solution?

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 21 Nov 2014 at 10:48

This issue was moved to macvim-dev/macvim#19


Feature/Credential

Add credentials to be able to store encrypted sensitive info like API keys, and not being exposed to client side

Then use in node:

This is awesome stuff and a GODSEND @HenryHengZJ ! I was going through the code and appreciating your handywork!
Architecture wise though, I was wondering though whether there are plans to steer away from file based storage as it will require persistent disk setup. With the other feature waiting merging (non sqlite file based database) #575, it would be good if api keys and credentials do not have to rely on file based storage solely and have options to use alternative storage mechanism.

what are the other storage mechanism you recommend @goldzulu ?

@HenryHengZJ there are cloud based like AWS Key Management Service (AWS KMS), Google Cloud Key Management Service (Google Cloud KMS), Azure Key Vault: Microsoft Azure Key Vault, HashiCorp Vault: HashiCorp Vault. There's also https://supabase.com/blog/supabase-vault. Potentially you can also use any database table (isolated) from the one storing chat flows etc. and store the content encrypted (this is probably the fastest option for now)

@goldzulu yeah with @atishamte changes, you can use postgres and connect to supabase, then encrypt your table. As most folks that use Flowise don't have the technical expertise to do so, thats why settling for in-house file based storage sqlite for ease to use

@HenryHengZJ Yes sqlite is right choice for quick start. The @atishamte change if I am not wrong only for the sqlite replacement. However there is no current way to store the apikeys and credentials that you have just introduced using the same non sqlite database. Do you think it is a big change to use database (encrypted) for apikeys and credentials?

it might not be straight-forward. Because chatflow is currently using the id from credential table to retrieve the apikeys, isolating credential table might need additional logic


Homework 2

Current dependencies on/for this PR:

main

PR #12

PR #13   👈

This comment was auto-generated by Graphite.


Neovim crashes after updating to v0.8.0

Make sure you have done the following

[X] I have updated to the latest version of blink.cmp
[X] I have read the README

Bug Description
I've just updated blink.cmp to the latest release (v0.8.0) And immediately it crashes causing all kind of issues.
Example of one of the errors once I open nvim . with Oil.

When I try to run :checkhealth

And so many different errors scattered around when I try to use nvim in general. even ctags_lsp for some reason:

P.S. It's my first time submitting a bug report on Github so sorry if I'm missing something / not doing it correctly.
For the time being I had to revert back to v0.7.6 until this is resolved so nvim is usable.
Relevant configuration
{
    'saghen/blink.cmp',
    version = 'v0.*',
    event = { "LspAttach" },
    -- enabled = false,
    dependencies = {
      'rafamadriz/friendly-snippets',
      'L3MON4D3/LuaSnip',
      'mikavilpas/blink-ripgrep.nvim',
    },

    opts = {
      keymap = { preset = 'default', },

      appearance = {
        use_nvim_cmp_as_default = true,
        nerd_font_variant = 'mono'
      },

      snippets = {
        expand = function(snippet)
          require('luasnip.loaders.from_vscode').lazy_load()

          require('luasnip').filetype_extend('java', { 'javadoc', 'java-tests' })
          require('luasnip').filetype_extend('scala', { 'javadoc' })
          require('luasnip').filetype_extend('sh', { 'shelldoc' })
          require('luasnip').filetype_extend('typescript', { 'tsdoc' })
          require('luasnip').filetype_extend('javascript', { 'jsdoc' })

          require('luasnip').lsp_expand(snippet)
        end,
        active = function(filter)
          if filter and filter.direction then
            return require('luasnip').jumpable(filter.direction)
          end
          return require('luasnip').in_snippet()
        end,
        jump = function(direction) require('luasnip').jump(direction) end,
      },

      sources = {
        default = function(_)
          local node = vim.treesitter.get_node()
          if vim.bo.filetype == 'lua' then
            return { 'lsp', 'luasnip', 'path' }
          elseif node and vim.tbl_contains({ 'comment', 'line_comment', 'block_comment' }, node:type()) then
            return { 'path', 'buffer' }
          else
            return { 'lsp', 'path', 'luasnip', 'buffer', 'lazydev', 'ripgrep', "cmdline" }
          end
        end,

        providers = {
          luasnip = { score_offset = -5 },

          lazydev = {
            name = 'LazyDev',
            module = 'lazydev.integrations.blink',
            fallbacks = { 'lsp' },
            score_offset = 10
          },

          ripgrep = {
            module = "blink-ripgrep",
            name = "Ripgrep",
            score_offset = -4,
            opts = {
              prefix_min_len = 3,
              context_size = 5,
              max_filesize = "1M",
              additional_rg_options = {},
              search_casing = "--smart-case",
              fallback_to_regex_highlighting = true,
            },
          },
        },
      },

      signature = {
        enabled = true,
        trigger = {
          show_on_insert_on_trigger_character = false,
        },
        window = {
          border = "rounded",
          treesitter_highlighting = true,
        }
      },

      fuzzy = {
        use_typo_resistance = false,
        use_proximity = false,
        sorts = { 'score', 'sort_text', 'kind', 'label' },
      },

      completion = {
        menu = {
          border = vim.g.border_style,
          scrollbar = false,
          draw = {
            treesitter = { 'lsp' },
            columns = { { 'kind_icon' }, { 'label', 'label_description', gap = 1 }, { 'kind' } },
          },
        },

        documentation = {
          auto_show_delay_ms = 0,
          auto_show = true,
          treesitter_highlighting = true,
          window = {
            border = "rounded",
            scrollbar = false,
          },
        },
      },
    },

    opts_extend = { 'sources.default' }
  }

neovim version
NVIM v0.10.2 Build type: Release LuaJIT 2.1.1713484068
blink.cmp version: branch, tag, or commit
v0.8.0

I'm getting the same thing 😢
blink.cmp: require("blink.cmp.health").check()

blink.cmp healthcheck ~
- OK curl is installed
- OK git is installed
- OK Your system is supported by pre-built binaries (aarch64-apple-darwin)
- ERROR Failed to run healthcheck for "blink.cmp" plugin. Exception:
  ...local/share/nvim/lazy/blink.cmp/lua/blink/cmp/health.lua:27: bad argument #1 to 'fs_stat' (string expected, got nil)

...

lazy.nvim ~
- {lazy.nvim} version `11.16.2`
- OK {git} `version 2.47.1`
- OK no existing packages found by other package managers
- OK packer_compiled.lua not found

  "blink-cmp-copilot": { "branch": "main", "commit": "c38d3e4201b135ab290c7ad126a9720cf76c788c" },
  "blink.cmp": { "branch": "main", "commit": "ca05bb33eb071d916d33af08cae8034c3d8002b5" },
...
  "lazy.nvim": { "branch": "main", "commit": "7e6c863bc7563efbdd757a310d17ebc95166cef3" },

  $  nvim --version
NVIM v0.10.2
Build type: Release
LuaJIT 2.1.1734355927
Run "nvim -V1 -v" for more info

Update LazyVim to latest, if you guys are using that.

@quebn I'm on the latest Lazy.nvim and LazyVim
 ● lazy.nvim 22.97ms  init.lua
        dir     /Users/jmandel/.local/share/nvim/lazy/lazy.nvim
        url     https://github.com/folke/lazy.nvim
        version 11.16.2
        tag     stable
        branch  main
        commit  7e6c863
        readme  README.md
        help    |lazy.nvim.txt|

      ✔ [task] fetch 560.49ms
      ✔ [task] status 238.23ms
      ✔ [task] checkout 556.18ms
        HEAD is now at 7e6c863 chore(main): release 11.16.2 (#1854)
    ● LazyVim 6.49ms  start
        dir     /Users/jmandel/.local/share/nvim/lazy/LazyVim
        url     https://github.com/LazyVim/LazyVim
        version 14.6.0
        tag     stable
        branch  main
        commit  d0c366e
        readme  README.md
        help    |LazyVim.txt|

      ✔ [task] fetch 302.09ms
      ✔ [task] status 19.98ms
      ✔ [task] checkout 359.48ms
        HEAD is now at d0c366e chore(main): release 14.6.0 (#5176)

here's my blink.cmp for completeness
 ● blink.cmp 5.23ms 󰢱 blink.cmp  nvim-lspconfig
        dir     /Users/jmandel/.local/share/nvim/lazy/blink.cmp
        url     https://github.com/saghen/blink.cmp
        version 0.8.0
        tag     v0.8.0
        branch  main
        commit  ca05bb3
        readme  README.md
        event    InsertEnter

      ✔ [task] fetch 249.63ms
      ✔ [task] status 48.55ms
      ✔ [task] checkout 341.97ms
        HEAD is now at ca05bb3 chore: bump version to 0.8.0

Im not using LazyVim but you could try to delete the blink.cmp directory in ~/.local/share/nvim/lazy and try to install blink.cmp again thats what worked for me, the problem might have something to do with the blink.cmp binary not being updated when updating blink.

@quebn cheers mate! that did it for me!

@quebn 's solution worked for me as well to fix my neovim crash.

Im not using LazyVim but you could try to delete the blink.cmp directory in ~/.local/share/nvim/lazy and try to install blink.cmp again thats what worked for me, the problem might have something to do with some files within the blink.cmp (might be the binary), not being updated when updating to a new version.

I'm not using any distros just plain neovim with lazy.nvim as a plugin manager. I have lazy.nvim plugin as the latest version and I've completely removed the blink.cmp directory and reinstalled it again but v0.8 seems to be still breaking nvim with the same errors above.

make sure you've set blink version to v0.8 in your config before removing the directory and installing it again.

make sure you've set blink version to v0.8 in your config first before removing the directory and installing it again.

Here are the steps I've done:

Updated Lazy.nvim and blink.cmp to latest version.
Closed nvim after getting the errors.
Removed the blink directory above (and blink-ripgrep just incase)
Reopened nvim.
While still in oil.nvim, it shows "Downloading pre-built libraries." then once I click on anything, I get the same error from above.

could you try waiting for the pre-built binary to finish downloading before doing anything and see what happens?

could you try waiting for the pre-built binary to finish downloading before doing anything and see what happens?

Still nothing changes... :(

Same thing here,
It makes nvim to crash as soon as I edit something. !
But, by removing  opts = { ...}  in my Lazy  plugin setup , it works.
even an empty opts = {} make it fail.  I am guessing opts is calling a setup.
OK:
return {
  'saghen/blink.cmp',
  -- optional: provides snippets for the snippet source
  dependencies = 'rafamadriz/friendly-snippets',
}

NOT-OK:
return {
  'saghen/blink.cmp',
  -- optional: provides snippets for the snippet source
  dependencies = 'rafamadriz/friendly-snippets',
 opts = {}
}

Same thing here, It makes nvim to crash as soon as I edit something. ! But, by removing opts = { ...} in my Lazy plugin setup , it works. even an empty opts = {} make it fail. I am guessing opts is calling a setup.

If I know correctly, removing opts prevents the plugin from starting properly (like calling require(...).setup({}) which is why it works since blink isn't being configured then.

Duplicate of #68

I'm hopeful this won't be an issue for future versions due to some new checksum checks, but I'll re-open that issue if it is

I'm hopeful this won't be an issue for future versions due to some new checksum checks, but I'll re-open that issue if it is

I have checked the previous issue before submitting this one and the "solutions" mentioned there didn't work either. Especially that the rest of the discussion there was about a different OS (I'm using Ubuntu 24.04 LTS) and a different blink release. I'm not sure if I'm missing something here.

Additional info / tries:

Explicitly disabling Lazy.nvim caching:

require("lazy").setup("plugins", {   performance = {     cache = {       enabled = false,     } },

Even cloning the repo into ~/.local/share/nvim/lazy/blink.cmp and rebuilding from source with cargo build --release

Still doesn't work.

It seems like you have the same issue as https://github.com/Saghen/blink.cmp/issues/685#issue-2753683162, where vim.treesitter.get_node should be in a pcall

It seems like you have the same issue as #685 (comment), where vim.treesitter.get_node in your configuration should be in a pcall

Wrapping it in pcall seems to resolve the startup issue, but this one related to ctags is still broken for some reason:

This might be unrelated to blink since we should report the error differently. Are you able to reproduce the error on old versions (i.e. v0.7.6)?

I'm also getting this error on a fresh install of LazyVim with all configs and locals removed when I run LazyHealth.
blink.cmp healthcheck ~
- OK curl is installed
- OK git is installed
- OK Your system is supported by pre-built binaries (aarch64-apple-darwin)
- ERROR Failed to run healthcheck for "blink.cmp" plugin. Exception:
  ...local/share/nvim/lazy/blink.cmp/lua/blink/cmp/health.lua:27: bad argument #1 to 'fs_stat' (string expected, got nil)

That error is a red herring, it's fixed on main but it's not causing any issues

This might be unrelated to blink since we should report the error differently. Are you able to reproduce the error on old versions (i.e. v0.7.6)?

It seems to work just fine with v0.7.6 when editing lua files (I have ctags-lsp.nvim setup to only work on lua files.
The only way to reproduce this issue on v0.7.6 is to change ctags-lsp setup to work with a language that doesn't currently have universal ctags support (ex. Scala). but that's irrelevant since I'm testing for Lua atm.
P.S. I've also posted an issue on ctags-lsp.nvim repo in case they have something to do with it even tho it definitely breaks with the new v0.8 update. But I'll report back on that when I get something from them.
Oh and btw I also get the same error on healthcheck, forgot to mention earlier.

I also experienced this issue (nvim crashing right after completion was initiated) yesterday. The issue disappeared after I uninstalled the plugin, reinstalled it, and gave the computer a good hard hit. I’m glad the old tricks still work with nvim.

Author of ctags-lsp here. The "Method not found" error was me. I didn't handle the "$/cancelRequest" request, which blink.cmp didn't send before. This is fixed in v0.6.1.

Author of ctags-lsp here. The "Method not found" error was me. I didn't handle the "$/cancelRequest" request, which blink.cmp didn't send before. This is fixed in v0.6.1.

Seems like everything now is working more or less as expected. Thank you everyone and happy holidays!


MatrixStore: second sprint

There are two high level aims here:

Integrate the MatrixStore build step into the import pipeline.
Switch out the Analyse API backend to be powered by the MatrixStore.

1. Integrate the MatrixStore build step into the import pipeline

[ ] The filename argument to the matrixstore_build command should become optional. Omitting the filename should result in the file be created in the "appropriate" place, with that to be decided as per questions below.
[ ] A step should be added to the import pipeline which runs matrixstore_build. This should be after the prescribing and practice statistics data is loaded into BigQuery, but doesn't need to wait for any data to be loaded into Postgres.

Things to consider:
This step will add several hours to the import time. Do we want to consider consider removing the "import warning" banner, sending the Slack message etc before this step has completed? How awkward is it to do this?
Where should the SQLite file live? Initially I thought PIPELINE_DATA_BASE_DIR was the obvious choice, but this is on the root partition which isn't enormous. So perhaps it needs to go on one of the much larger partitions in /mnt.
How should the file be named? My preference based on similar past use cases would be something like:
prescribing_<DATETIME_OF_BUILD>_<HASH_OF_FILE_CONTENTS>.sqlite
Including the build date gives a useful natural ordering, and having the hash is useful as part of a key for caching purposes.
2. Switch out the Analyse API backend to be powered by the MatrixStore

[ ] Add some state which tells us what the currently live MatrixStore file is. Probably a new database table, but see discussion below
[ ] Add a management command which updates this state to make a new version of the file live.
[ ] Add a step to the import pipeline which calls this command after successfully building the new file. (In future we will want to be able to review data before pushing live, but for now it's better that it automatically stays in sync with the data in Postgres.)
[ ] Replace the endpoints used by the Analyse page with MatrixStore powered ones. These are

[ ] spending_by_practice which takes:

an optional list of BNF code prefixes (or things which can be converted to that)
an optional list of practice codes (or CCG codes which get translated to practice codes)
an optional date

[ ] spending_by_ccg which takes:

an optional list of BNF code prefixes (or things which can be converted to that)
an optional list of CCG codes

Things to consider:
Both endpoints can accept an empty list of BNF prefixes and will sum over all prescribing. The interface won't allow you to do this for the numerator, but it will allow it for the denominator so we need to support it. This is currently quite an expensive query to do in the MatrixStore as it involves loading all the data which, from memory, can take in the order of 45 seconds.
One option would be to precompute global totals matrices. This feels a bit icky as part of the point of the MatrixStore was to avoid all the complexity and inflexibility of pre-computation. But summing over the next level down in the BNF hierarchy (chapter, is it?) is sufficiently fast that it may be we only need this one kludge.
We need some state which tells us which file to use for live data. There are various ways to do this, including using symlinks, but I think my preference would be to store this in Postgres. The simplest implementation would be a single row in a dedicated table which stores the filename. There would also be the option for keeping a log of when each new version was deployed.
Wherever this state ends up being we will want some mechanism for updating it. Now that we have the shiny new ebmbot, a reasonable option might be to do this via a management command and then have an ebmbot task that calls the management command. This saves us building a web UI for it.

@sebbacon @inglesp This is ready for review and discussion now I think


Update for PATCH change

Choose a PR Template
Switch to "Preview" on this description then select one of the choices below.
Click here to open a PR for a Data Plane API.
Click here to open a PR for a Control Plane (ARM) API.

is this pr duplicate with https://github.com/Azure/azure-rest-api-specs/pull/29834 ?


How to authenticate?

In the documentation you say “We don't recommend expose the API in the internet without authentication!”
I imagine that somebody has already done it.
Do you provide a way to do it or I should add the piece of code to do it? If so, please give me some guidance on how to do it.

@martinmineo hi!
There's security page in the documentation about it.
It's available "built-in" in WAHA Plus version which is available via donations
Let us know if there's any questions left!

Another way is to put the API behind a firewall and not to expose it on the internet


feat: Add script to disconnect dualshock/sense with HOME + TRIANGLE

Reimplementation of pr #1416 to Python
Use udev rules to activate when connected
Disabled by default, can be enabled with ujust toggle-ds45-workaround

NOTE: This PR enters in conflict with #1484. Apply one or other.

Forgot this PR existed 😅. Will have to do a rewrite sadly, given:

Workaround spans 3 files, too many:

script that tracks button press.
udev rule that detects DualShock/sense connected, then starts scripts passing it's MAC address as argument.
empty udev rule that nullifies the previous one.

Lack of reactivation mechanism
This is due the udev rule that starts the script only triggers once per session, requiring the script to keep running all the time, even when no DualShock/sense is not connected anymore.

Script is poorly written


Direct Message Multiple Values

https://github.com/nats-io/nats-architecture-and-design/issues/250

Hi @mtmk . Do i understand correctly that the changes should only affect the kv store api? I want to prepare a request

Hi @Ivandemidov00, yes it looks like it. that'd be great, thank you!


Fix reconnecting after hibernation on Windows

Pull Request Description
Fixes #11716
The previoud implementation of restoring execution context assumed, that any synchronization in progress on connection close will fail - but actually if the synchronization just waited for executionContext/create, it might be successfull and effective after reconnecting.
Also, show "Language Server connection lost" when the actual language server connection is lost, and dismiss the message on reconnect.
Important Notes
The hibernation still does not work properly - connection to Project Manager is not restored.
Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:

[x] The documentation has been updated, if necessary.
[ ] Screenshots/screencasts have been attached, if there are any visual changes. For interactive or animated visual changes, a screencast is preferred.
[x] All code follows the
Scala,
Java,
TypeScript,
and
Rust
style guides. In case you are using a language not listed above, follow the Rust style guide.
[ ] Unit tests have been written where possible.
[ ] If meaningful changes were made to logic or tests affecting Enso Cloud integration in the libraries,
or the Snowflake database integration, a run of the Extra Tests has been scheduled.

If applicable, it is suggested to paste a link to a successful run of the Extra Tests.

I still need to test it: let nobody attach "Ready to merge" label too eagerly!

Tested: the fix works fine.


Algorithm updates: Documentation to be retained?

Looking at https://github.com/open-quantum-safe/oqs-provider/compare/main...open-quantum-safe:oqs-provider:update-algs?expand=1 it seems we could do a PR to bring oqs-provider in sync with liboqs again. However, all "old" algorithms in generate.yml got removed. Why?
Key question (I guess to @dstebila ): Do we want to retain (the ability to generate) "old" (O)IDs? If no, we can also close
https://github.com/open-quantum-safe/oqs-provider/issues/157. If Yes, @xvzcf please bring back the work done as part of https://github.com/open-quantum-safe/oqs-provider/pull/158.

Key question (I guess to @dstebila ): Do we want to retain (the ability to generate) "old" (O)IDs?

I say "no, we don't".

Closed by #167


Upgrade Dagger from 2.11 to 2.12

Upgrade this project's Dagger version from 2.11 to 2.12.
The release notes for 2.12 seem to indicate that this project should still work with no code changes.
Acceptance Criteria

This project's master branch should still work with Dagger 2.12.
This project's master-support branch should still work with Dagger 2.12.

oye amigo, ya está la versión 2.13 de dagger

@danielflores108 I have another issue for that: https://github.com/vestrel00/android-dagger-butterknife-mvp/issues/56

@danielflores108 I have another issue for that: https://github.com/vestrel00/android-dagger-butterknife-mvp/issues/56

@danielflores108 I have another issue for that: https://github.com/vestrel00/android-dagger-butterknife-mvp/issues/56

@danielflores108 I have another issue for upgrading dagger to 2.13: https://github.com/vestrel00/android-dagger-butterknife-mvp/issues/56


Release 2.0.2

Version 2.0.2
We design new cluster solution for kvrocks, but it is experimental, don't recommend
in production environments. What's more, we have a plan to release a config server
to support to deploy and maintain kvrocks cluster.
Here is a comprehensive list of changes in this release compared to 2.0.1.
New features

Support rename command in config file (#272)
Support transaction (#285)
Support MULTI, EXEC, DISCARD command, but don't support
WATCH and UNWATCH commands.
Support the auto-resize-block-and-sst config directive (#289)
Support to resize rocksdb.block_size automatically (#294)
Support cluster mode (#302)
Similar with redis cluster mode, use CLUSTERX command to set
cluster topology (#324).

Behavior changes

Encode key with slot id (#291)
To be efficient to migrate keys by slot when scale. By default,
it is disable, please note that wrong config will make data corrupt.

Bugfixes

Set TCP_KEEPALIVE for replication connection (#284)
Replicas can handle network failure with master, before this commit,
network failure may result in unrecoverable replication interrupt.
Fix ZSET can't add the same member with different scores (#298)
Make CONFIG SET command thread safe (#310)
Fix LTRIM only delete first item, LREM can't correctly remove
repeated items (#314)

Improvements

HSET command supports to set multiple fields (#274)
Allow to use host in the master-slave replication (#301)
Adapt redis sentinel ping check (#316)

For Encode key with slot id #291 , if you don't use cluster mode, please don't change that, just use default config, ignore that.


Drivers using the consumer app

One the drivers suggested that they use the consumer app to see where the other trolley is so they can better time the driving and we don't get into the situation where two trolleys are basically following each other around the loop.
Seems like a pretty good idea. The one question Greenlink had was, "how much data would be used if they kept the app running for an entire day."
The other thing was we'd have to change the app to keep the device screen on at all times. A positive for this would be that we at least know the device would be on.
Any other thoughts?
CC: @ajhodges

I'd have to make the app tablet friendly, but I think that should be done anyways.
As far as data goes, it should really be minimal. I'm estimating ~90kb/hr, which would be 0.72Mb if the trolley was left on for 8 hours.
As for keeping the screen on, that's about 1 line of code. The question is if we want to include that feature in the general version of the client, or limit it to the trolleys? I think that might be a good feature to include, just wanted to open up discussion about it.

Yeah I don’t know that I’d want the app forcing my phone to stay awake indefinitely if it were running on my phone.
On Sep 23, 2015, at 5:10 PM, Adam Hodges<EMAIL_ADDRESS>wrote:

I'd have to make the app tablet friendly, but I think that should be done anyways.
As far as data goes, it should really be minimal. I'm estimating ~90kb/hr, which would be 0.72Mb if the trolley was left on for 8 hours.
As for keeping the screen on, that's about 1 line of code. The question is if we want to include that feature in the general version of the client, or limit it to the trolleys? I think that might be a good feature to include, just wanted to open up discussion about it.
—
Reply to this email directly or view it on GitHub.

It's not necessarily that it forces it to stay awake, it just disables the screen sleep timeout. If you press the power button, it would still turn off. And you can switch apps and the screen sleep timeout works normally.
I think Google Maps does this if you want to see what I mean.

My thought was to have second app, but if we think through it there might be a good way to do it with one app. I think the Google Maps only stays on if plugged in or at least prompt to dim the screen if not plugged in. That might be a good way to handle the issue.


AppArmor profiles are broken in Ubuntu

For some time TBL doesn't work for me on Ubuntu 14.04. It's installed via your repository.
Tor Browser Launcher
By Micah Lee, licensed under GPLv3
version 0.1.3
https://github.com/micahflee/torbrowser-launcher
Initializing Tor Browser Launcher
Successfully loaded mirrors from /usr/share/torbrowser-launcher/mirrors.txt
Warning: can't load mirrors from /usr/local/share/torbrowser-launcher/mirrors.txt
Importing keys
gpg: key 63FEE659: "Erinn Clark<EMAIL_ADDRESS>not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
Starting launcher dialog
LATEST VERSION 0
Checking for update

(torbrowser-launcher:10968): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

(torbrowser-launcher:10968): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

(torbrowser-launcher:10968): GLib-GIO-CRITICAL **: g_dbus_connection_get_unique_name: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
Running task: download_update_check
Downloading https://check.torproject.org/RecommendedTBBVersions
Updating over Tor
Download error: Connection was refused by other side: 111: Connection refused. <class 'twisted.internet.error.ConnectionRefusedError'>

BryanQuigley<EMAIL_ADDRESS>who submitted #215 (which is basically the same as this issue) just closed that one, so I suppose this can be closed too…

Is this issue still relevant? It was submitted in 2014, last comment in 2016, but there are still workarounds present in the codebase today:
https://github.com/micahflee/torbrowser-launcher/blob/e0fdbbfbebfb1ac26ce54ca1fa09fe29c05dcf8b/setup.py#L77
The distro import that is part of this workaround is causing issues though:
<eschwartz> they do this in setup.py so you cannot setup_requires on it

(credits to @eli-schwartz)


Fix Hub Post Install

In the recent release the concept of using remote inference with validators was introduced.  Along with this came the option to skip installing a validator's ML models with the intention of using said remote inference endpoints instead.  While there is a flag to control this behaviour, it was defaulted to skip model installation unless told otherwise.
First, this is a bad assumption since it can leave validators in an unusable state without knowing and referencing the docs for this feature.
Second, post-install is also currently where other hub validators that a particular validator depends on are installed.  See https://github.com/guardrails-ai/guardrails/issues/966 as an example of this.
This PR corrects this behaviour by implementing the following:

The local_models option defaults to None instead of False
We only auto-skip running the post-install if use_remote_inferencing is set to true in the .guardrailsrc and the validator being installed is tagged as having a remote inference endpoint (i.e. module_manifest.tags.has_guardrails_endpoint).
The --install-local-models flag always indicates the post-install should be run
The --no-install-local-models flag always indicates the post-install should not be run
If no flag is passed, and remote inferencing is not to be used (either through settings or lack of support), the post install is run

A different and better solution can be implemented once we move the hub to a private pypi registry since the dependee could be included in the pyproject.toml (barring any custom directory work).

Line 273 isn't a dealbreaker but it would be nice to change.

Addressed


tubectl command line arguments

tubectl is a thin wrapper on top of kubectl, however it should handle at least some command line options on its own.
Currently there is no way to check tubectl version. This would be quite useful to add as an extra test in #1.

Hi! Thanks for the suggestion, tubectl definitely missed it. I've added several flags:
https://github.com/reconquest/tubekit#custom-flags


Embedded Python 3.10 interpreters not detected by debugger

Describe the bug
The embedded Python 3.10.2 interpreter within Blender 3.1 is not recognised by PTVS. You can attach to the process, but not debug any Python scripts running within it. Neither Python nor Python+Native debugging work.
This bug is a duplicate of #6930, which was closed without having been fixed. I am not able to re-open that issue.
Steps to Reproduce

Download Blender 3.1
Start Blender and wait for it to finish loading
Try to attach to blender.exe from Visual Studio

Expected behavior
Python is displayed in the "Type" column of the Attach to Process window, and Python breakpoints are hit in script files.
This image shows Blender 3.0 (Python 3.9) and Blender 3.1 (Python 3.10) side-by-side. Note how Python is only detected in Blender 3.0.

Additional context and screenshots
Python scripts within earlier versions of Blender can still be debugged. This bug persists even if I delete the python310.dll file that Blender ships with and let it fall back on my system installation.
Configuration information (If you are providing a diagnostics file (see below), skip this section)
VS Version: VisualStudio.17.Preview/17.2.0-pre.5.0+32422.2
PTVS version: 17.0.22089.1
Python version: 3.10.2
Debugger Type (if applicable): No idea, can't see anything about this in the settings

I confirm, the same story with Version 17.3.0 Preview 1.0.

Please add python 3.10 support.

looks fixed

Confirmed fixed, at long last!

Confirmed fix with 17.3.0 Preview 2.0

Confirmed. Thank you!