Host Not Able to Use Key Bindings for Reserved Slots

When I host a game, I've noticed the keybinds to interact with the items on the reserved slots don't work. I can't hold x to chat, and the f key doesn't toggle the flashlight like it used to. I double checked to ensure it wasn't a key binding issue. The other person playing with me is able to use it just fine though. Not sure if there's a coincidence in that or not.
Great mod btw

I will be looking into this ASAP, thank you!

Could you let me know if these issues are still around in 2.0.6? Thanks! I think I have fixed them all! (or most of them)

Looks good for this issue. Thanks!


[plugin-dev] question: when plugin cannot find the definition of a symbol for completion, how to do to fallback to editor raw completion ?

VSCode Version: 1.14.0
OS Version: windows 7

i have develope a language plugin which provide completion support, the plugin use symbol definitions as completion list, but when the plugin cannot find the definition of a symbol for completion, how can i do to fallback to the editor word completion ?

how can i do to fallback to the editor word completion ?

The editor does that automatically when no other completions are returns. So, when you plugin fails to look up symbols then just let is return undefined or an empty array


[PORT] fix memory scope for class memory sscope to evaluate expressionProperties

Port this change from botbuilder-dotnet/master branch:
https://github.com/microsoft/botbuilder-dotnet/pull/3463

#3460
Changes:

Add IExpressionProperty to make it easier to work with untyped expression properties
Add internal class ExpressionPropertyBinder which evaluates properties that are expressionProperties.
Change ClassScope and DialogClassScope to use ExpressionPropertyBinder
Remove some legacy unused classes
Fix DialogStateManager to take in configuration of memory scopes
Add unit tests for coverage of bug.

Changed projects

AdaptiveExpressions
Microsoft.Bot.Builder.Dialogs.Adaptive
Microsoft.Bot.Builder.Dialogs
Microsoft.Bot.Builder.Dialogs.Tests

[adaptive,bug]

Needs porting

@chon219, @vishwacsena Can we get an update on this?

@chon219, @vishwacsena Can we get an update on this?

I'm working on this.

We have to check if a property in dialog is  expression property or not, but we don't want to introduce dependency to AdaptiveExpression in botbuilder-dialogs.
@Stevenic Do you know which is the best practice to implement this part since it seems to be quite different from C#'s.
And do we need to push this issue to R9 since it is not a blocking issue to our major functionally?

pulling back so we can get this done in time for RC builds.


unfreeze blaze

context is https://github.com/http4s/blaze/issues/97

test run: https://scala-ci.typesafe.com/job/scala-2.12.x-integrate-community-build/2342/consoleFull


Remove abstract findButton function in interface

Paging @goodevilgenius to review the back-end work in this pull request!

back-end 👍  2793f34


bash: No such file or directory

Describe the bug
When connecting to a newly created ubuntu 22.04 vm with the defaults set, I'm unable to connect via SSH with the following errors being raise:
λ ssh orb
bash: No such file or directory
mm_receive_fd: recvmsg: expected received 1 got 0
proxy dialer did not pass back a connection

My hunch is that due to the homebrew version of bash that's installed (/opt/homebrew/Cellar/bash/5.2.21/bin/bash), it's not getting picked up by the Orbstack Helper and the attempt to override with a generic bash ssh RemoteCommand doesn't work as expected.
To Reproduce
Create ubuntu 22.04 vm with arm64 arch (m2 pro mac host)
orb create -a arm64 ubuntu:jammy

Attempt to connect with default ~/.orbstack/ssh/config
λ ssh orb
bash: No such file or directory
mm_receive_fd: recvmsg: expected received 1 got 0
proxy dialer did not pass back a connection

Override orbstack ssh config in ~/.ssh/config
# Include ~/.orbstack/ssh/config

Host orb
    Hostname <IP_ADDRESS>
    Port 32222
    User default
    IdentityFile ~/.orbstack/ssh/id_ed25519
    IdentitiesOnly yes
    # ProxyCommand '/Applications/OrbStack.app/Contents/Frameworks/OrbStack Helper.app/Contents/MacOS/OrbStack Helper' ssh-proxy-fdpass 501
    ProxyUseFdpass yes
    # RequestTTY force
    # RemoteCommand /usr/bin/bash -l

ssh back into running vm
λ ssh orb
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

lance.stephens@ubuntu:~$

Expected behavior
No response
Diagnostic report (REQUIRED)
OrbStack info:
Version: 1.5.1
Commit: 4cfac15e1080617c70eb163966e1cb2009dac1c2 (v1.5.1)
System info:
macOS: 14.4 (23E214)
CPU: arm64, 10 cores
CPU model: Apple M2 Pro
Model: Mac14,9
Memory: 16 GiB
Full report: https://orbstack.dev/_admin/diag/orbstack-diagreport_2024-04-03T16-49-55.038053Z.zip

Screenshots and additional context (optional)
This could be related to my PATH not picking up on the homebrew bash that's installed. I use iTerm2 and just work around the wonky install via my terminal profile using the bash command by itself.

I get that this is a freemium product, but that's a really dismissive response and didn't address the root issue. I honestly don't appreciate you closing the issue and chalking it up to user error here.
To your points:

It looks like your default shell is set to a nonexistent path. Please fix it with sudo chsh -s /bin/bash $USER.

If you had asked, I could tell you that it already is set to the generic bash binary via chsh. To be fair, my login shell at a system level (i.e., System Preferences) was still pointing to the incorrect version of the homebrew bash, but that's a red herring — I wouldn't be able to launch a shell if it wasn't already in my PATH.

RequestTTY and RemoteCommand are not set by OrbStack. It looks like you added those?

Yes. Was testing a workaround to force the absolute path or env path of bash. Neither was successful, hence why they're commented out my ~/.ssh/config.
Currently I am able to use the modified ssh config and just forego whatever minor improvements the helper implements.


Print address the server is running on

This PR is a one line change that prints out Running on <IP_ADDRESS>:7878 or whatever address it is running on.
When trying out cargonauts I was confused about which port it was running on, so I thought it might be useful to print it out.

Thanks I had always been meaning to do this!


Remove FireFox tests

Selenium IDE is not compatible with Firefox 55: https://github.com/SeleniumHQ/selenium/issues/4406
Thus, FireFox tests were removed to avoid broken builds.

How about downgrading FF instead?
https://www.appveyor.com/docs/how-to/selenium-testing/#firefox-46-and-below


feat: remove java faker, bump versions to most current

What this PR changes/adds
Removes the java-faker dependency, as it is not needed. Also bumps all versions of all dependencies to most current, and depends on EDC -milestone-6.
Why it does that
Makes sure we have the most updated version of third-party dependencies, and paves the road for using artefacts as opposed to: checking out locally.
Further notes
Should only be merged once the IdentityHub has a release version on MavenCentral.
Linked Issue(s)
Closes # <-- insert Issue number if one exists
Checklist

[ ] added appropriate tests?
[ ] performed checkstyle check locally?
[ ] added/updated copyright headers?
[ ] documented public classes/methods?
[ ] added/updated relevant documentation?
[ ] added relevant details to the changelog? (skip with label no-changelog)
[ ] formatted title correctly? (take a look at the CONTRIBUTING and styleguide for details)

Codecov Report

Merging #38 (376e1d0) into main (aa72096) will decrease coverage by 0.05%.
The diff coverage is 66.66%.

@@             Coverage Diff              @@
##               main      #38      +/-   ##
============================================
- Coverage     76.28%   76.22%   -0.06%
+ Complexity       92       90       -2
============================================
  Files            27       27
  Lines           409      408       -1
  Branches         25       25
============================================
- Hits            312      311       -1
+ Misses           94       93       -1
- Partials          3        4       +1

Impacted Files
Coverage Δ

...paceconnector/registration/AuthorityExtension.java
0.00% <0.00%> (ø)

...taspaceconnector/registration/cli/ClientUtils.java
100.00% <100.00%> (ø)

.../registration/auth/DidJwtAuthenticationFilter.java
94.44% <100.00%> (ø)

...r/registration/store/InMemoryParticipantStore.java
85.71% <0.00%> (-14.29%)
:arrow_down:

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

@bscholtes1A @juliapampus if either one of you could have a look


[project] bump for Xyce 7.4

Depends on: https://github.com/JuliaPackaging/Yggdrasil/pull/3930

Seems there is a missing dll on windows?
 ERROR: LoadError: LoadError: InitError: could not load library "C:\Users\runneradmin\.julia\artifacts\cabf27aa69e9590e7c187e52fb98fba1d9b6841d\bin\libbelos.dll"
A dynamic link library (DLL) initialization routine failed.

Codecov Report

Merging #19 (e300a1d) into main (b95bb87) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main       #19   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            1         1
  Lines           19        19
=========================================
  Hits            19        19

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 b95bb87...e300a1d. Read the comment docs.

That shouldn't be happening. That DLL is from Trilinos. Maybe it also needs a bump?

Maybe

Trilinos stopped working on 1.6.3. Not sure what the issue is, but I filed as https://github.com/JuliaPackaging/Yggdrasil/issues/3971. In the meantime, I'll force CI here to 1.6.2, which should let us move forward.

Can someone on Windows try to use DependencyWalker.jl to debug the issue?

It's not a dependency issue - I just posted the crashing function over in the Yggdrasil issue. Let's discuss there, since it's not Xyce related.


Refactor parser

This PR will refactor the .env parser which makes it actually not break stuff and useful 👀
Also updated the tests to not use deprecated expectations anymore and actually test more with less tests overall
The Parser will use ErrorNoHalt if it finds invalid keys (e.g. =Broken) to notify the user about their error to avoid confusion
Should fix #8

Looks good so far, would be great if you could break the parse function down into smaller ones.


Allow a default sheet to be whatever the script is bound to.

e.g. If a Script was created off of a Spreadsheet and is bound to it, use that sheet as the default.

Fixed!


Missing .node-version

Describe the bug
Repo is missing node-version

:tada: This issue has been resolved in version 1.0.0 :tada:
The release is available on:

GitHub release
1.0.0

Your semantic-release bot :package::rocket:


bcsandbox: -assignPremiumPlan does not enable Manufacturing, Service, or Advanced in Application Areas

Apologies if this belongs in the nav-docker repository. Let me know and I will move it there.
In prep for setting up a demo with the latest version of Business Central, I wanted to set up a container to play around with. When I did that, I noted that there was none of the manufacturing functionality there.
With help from your article on the navteam blog, I learnt about the -assignPremiumPlan parameter, but it doesn't seem to be doing anything.
Running NavContainerHelper, version <IP_ADDRESS>, and using the latest microsoft/bcsandbox:dk
Command:
New-NavContainer
    -containerName bc-onprem-dk
    -imageName microsoft/bcsandbox:dk
    -accept_eula
    -auth NavUserPassword
    -assignPremiumPlan
    -includeCSide
    -doNotExportObjectsToText
    -updateHosts

Initialisation output:
Removing container bc-onprem-dk
Removing bc-onprem-dk from hosts
Removing C:\ProgramData\NavContainerHelper\Extensions\bc-onprem-dk
Creating Nav container bc-onprem-dk
Using image microsoft/bcsandbox:dk
NAV Version: 13.0.24630.24844-DK
Generic Tag: <IP_ADDRESS>
Container OS Version: 10.0.14393.2430
Host OS Version: 10.0.17134.0
The container operating system does not match the host operating system, forcing hyperv isolation.
Creating container bc-onprem-dk from image microsoft/bcsandbox:dk
Waiting for container bc-onprem-dk to be ready
Initializing...
Starting Container
Hostname is bc-onprem-dk
PublicDnsName is bc-onprem-dk
Using Windows Authentication
Starting Local SQL Server
Starting Internet Information Server
Modifying Service Tier Config File with Instance Specific Settings
Starting NAV Service Tier
Creating DotNetCore Web Server Instance
Enabling Financials User Experience
Creating http download site
Creating Windows user mt
Setting SA Password and enabling SA
Creating SUPER user
Assign Premium plan for MT
Container IP Address: <IP_ADDRESS>
Container Hostname  : bc-onprem-dk
Container Dns Name  : bc-onprem-dk
Web Client          : http://bc-onprem-dk/NAV/
Dev. Server         : http://bc-onprem-dk
Dev. ServerInstance : NAV

Files:
http://bc-onprem-dk:8080/al-2.0.43900.vsix

Initialization took 162 seconds
Ready for connections!
Set TimeZone in Container to Romance Standard Time
Reading CustomSettings.config from bc-onprem-dk
Creating Desktop Shortcuts for bc-onprem-dk
Nav container bc-onprem-dk successfully created

However, when accessing the service tier through the web client, I do not see any of Application Areas ticked in the list, and I am not able to modify them:

I do not have other users to set up than my own, so I did not use the Setup-NavContainerTestUsers cmdlet.
Let me know if you require any further information.

You container is called bc-onprem - but you are spinning up a bcsandbox.
Looking here: https://hub.docker.com/r/microsoft/bconprem/
the image you want to use for on-prem is
mcr.microsoft.com/businesscentral/onprem:dk
That should not require premiumplan. I think premiumplan is something for online.

Thank you, Freddy.
I don't think I've seen that Docker image referred in any of the documentation I've read so far, which made me think that it was the same for both on-premise and cloud.
I'll close this out. I appreciate the quick response.


Again problems with Russian localization

Guild BiS lists - Right Click Icon
https://imgur.com/a/Hw2kn

Will fix later today

Will be fixed with next release.


fix: DEV-601: Add value type for url in parse config

Codecov Report

Merging #9 (be40c5c) into master (1b0f60f) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master        #9   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            2         2
  Lines          151       155    +4
=========================================
+ Hits           151       155    +4

Impacted Files
Coverage Δ

test_core_label_config.py
100.00% <0.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 1b0f60f...be40c5c. Read the comment docs.


Added Level as prefix for loggers.

Added Level as prefix for loggers.

@dotnet-bot test this.

@dotnet-bot test this please.

Having prefix=true always makes finding warning and error messages easy, especially output is redirect to files in CI/CD scenarios. Currently user can identify the level of message by color of message in console which we loss once it redirect to file.
Update help for vstest.console.exe and dotnet test, update doc in vstest-docs.


Allow YAML parser to ignore properties that are not in the C# object model

Some new tracks have additional data properties that cause the deserializer to fail (the specific property was "AIRosterName" in the WeekendInfo section on one of the newer iRacing tracks, though I don't know which one it was)
I lack permission to create a PR, but the fix very simple: in "src\irsdkSharp.Serialization\Models\Session\IRacingSessionModel.cs", change line 24 from:
        `IDeserializer deserializer = new DeserializerBuilder().Build();`

to
        `IDeserializer deserializer = new DeserializerBuilder().IgnoreUnmatchedProperties().Build();`

This is in the dev branch and ready to go.


Feature/new topic modal

Added POST request for new topic modal - going to a trash can api now, but the responses look like this:

Type of change
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
Change Status
[ ] Complete, tested, ready to review and merge
[ ] Complete, but not tested (may need new tests)
[x] Incomplete/work-in-progress, PR is for discussion/feedback
Has This Been Tested?
[ ] Yes
[ ] What was tested?
[x] No
Checklist
[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] My code has been reviewed and commented by at least two peers
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[x] There are no merge conflicts

See some merge conflicts in
src/components/Navigation.js
src/components/pages/NewTopicModal/RenderNewTopicModal.js


component wrapped by withRouter is unmounted on every re-render

With regard to withRouter in v4:
I wrapped a component with withRouter in order to get access to push.  My component maintained a small amount of state in order to manage user interactions with child components (e.g. currently selected tab).
As soon as I added withRouter, my component started behaving strangely, and I eventually tracked it down to the fact my component, now wrapped by withRouter, was being unmounted and re-mounted every time a user interaction caused what would previously have been an update / re-render.  The result was of course that state was being lost every time.
Is this intended behaviour?  It seems to me that the implied contract of an HOC is that it adds behaviour or properties to the wrapped component without changing the previous behaviour of that component, and this side-effect breaks that contract.  It certainly makes it hard to use withRouter when one has to consider whether a) it's safe to use withRouter with any specific component and then b) worry about that component might need to change some time in the future, in a way that will make it retrospectively incompatible with withRouter.
I don't yet understand the internals of react-router very well, but I assume this behaviour is a result of the implementation of withRouter by rendering a Route and passing the wrapped component as a prop to be rendered.  Is this essential?  Presumably the problem goes away if withRouter accesses the ancestor Router's context and renders the wrapped component directly?

Yes, something happened or changed with withRouter in beta.7. In version beta.6 everything worked correctly.

I'm sorry, the previous comment is probably not related to this topic. But there's something really wrong with the beta.7. When routes changed, all components are not updated. While I do not understand what the problem is.
Now the question about withRouter v4.
If the Component wrapped by withRouter and url is /items/:itemID then match.params is always empty. Is it normal behavior? Why itemID is not available through params in Component?

there's something really wrong with the beta.7

Are you using react-redux or shouldComponentUpdate in your route components?

@mjackson I am using react-redux and seeing the same problems as @Shaxmatist. I suppose the props aren't being compared properly and thus the components aren't updating. What specifically changed in beta7 for this to occur? Perhaps it should be changed as the current behavior seems a bit backwards and having to manually re-implement shouldComponentUpdate to tailor to specific things in react-router feels a bit tedious.

Subscriptions were removed in beta 7.
Navigation re-renders should propagate from the<Router>, not every location aware component. If you have a component that uses sCU to prevent re-renders, React Router shouldn't have to try to get around that. InsteadsCU should recognize that the location is different and return true. When it comes to react-redux, you can do this by passing the location as a prop to the connected component.

@pshrmn That would probably explain some of the issues I've been having, but I still can't get my app to update.
I have a Root component that renders the following only:
      <Provider store={this.props.store}>
        <Router>
          <MainContainer />
        </Router>
      </Provider>

And then MainContainer contains a bunch of routes in a switch. It depends on react-redux so I've overwritten shouldComponentUpdate to always return true. Regardless of this change it does not work.

Pass the { pure: false } option to connect (fourth argument) and it should work.

@pshrmn That seems to have solved one of my issues, but the remounting of components (which I believe was the root of this issue) is still present.

Are you using react-redux or shouldComponentUpdate in your route components?

I'm using react-redux. Thanks to @pshrmn for the answer. But question about withRouter and match.params is actual.

@Shaxmatist Right now, withRouter renders a pathless <Route>, which creates a new, "empty" match object. That is why your parameters are not showing up (and this is different than what would happen if you accessed the parent match directly through context, so I would consider this a bug).
Based on my work with relative routes, I believe that a pathless <Route> should inherit the match from its parent. If that is the case, then the match prop inside of withRouter would have the correct params.

@pshrmn Let's fix the bug and create a doc for people using react-redux and/or shouldComponentUpdate.

@pshrmn @mjackson
This conversation feels like it's taken a slight tangent from my original question, if you're only looking at how match params are passed down to the component wrapped by withRouter.
Is the repeated unmounting of the wrapped component intended behaviour?  Should it be?
(my app wasn't using react-redux and the relevant component didn't define shouldComponentUpdate).

You're right, @marksweston. My apologies.
What beta version are you using? We recently fixed a re-mounting issue in #4592 (released in beta 7). Could be that it's already fixed.

Also, some example code would be really helpful here.

@timdorr, I'm trying to create a simple example, but can't seem to find the globally exported ReactRouter object. I am getting a reference error when I try and access things like BrowserRouter and Route from it. Am I missing something?
http://jsbin.com/dohoya/edit?html,js,console

It seems like this change was explicitly stating that only the closest <Route>'s match would be available when using withRouter, but it doesn't state that a pathless <Route> will (or should) inherit match from its parent in order to get access to, say, match.params.
Was this not the intentional behavior? I think I'm agreeing with most people on this thread that it feels like a bug not to have access to params in child components using withRouter.
For example, when I have something like
const Root = () => (
  <Router>
    <Route path='/:filter' component={TodoApp} />
  </Router>
)

// later
const TodoApp = () => (

    <AddTodo />
    <VisibleTodoList />

)

Where, let's say, <VisibleTodoList /> is wrapped by withRouter.
I should be able to access the filter param from within <VisibleTodoList />, correct?

@marksweston An example would be appreciated. I am not seeing any difference in the mount/updates between a component wrapped with withRouter and one that is not in this codepen

@mjackson I was using beta.6, but updating to beta.7 gives me the same behaviour.
It's a bit tough to extract a readable example from our apps codebase, so I'll try to construct something in Codepen or an example app.

Update: So far I'm failing to come up with an example that fits easily in Codepen and reproduces the unmounting behaviour.
I can still reproduce the problem in my app at will, but have worked round it by simply removing withRouter and having a component that's already router-aware pass push down the tree as a prop.
I will have another go at creating an example app that reproduces the problem tonight.

Some guesses:

you call withRouter(..) during rendering which would create a new component class each time
you pass a new function to Route.component each render, e.g. using anonymous function <Route component={() =>
{...}
} />

  render() {
    const RoutedInvoicesTable = withRouter(InvoicesTable);
    ...
  }

Good guess, thank you.  At the time it seemed like a good idea to put the const declaring the component class as close as possible to where it was used, for future readability.  Doh.
I guess I'm ready to close this issue, but it did start a parallel conversation which might still be about a genuine bug.  So should I leave it open for now?

The other issue has been resolved as well.

Thanks @taurose :)

Thanks all. We had been pulling our hair trying to resolve this issue. This helped a lot.

Thanks to all of u

Thanks @taurose! Have literally saved my last few hairs. However, if we can't pass in anonymous functions, how do we go about passing in wrapped components? Eg.
export default function preload(WrappedComponent, props) {
    class Preload extends React.Component {
        componentWillMount() {
            getDataForComponent(props);
        }

        render() {
            return <WrappedComponent {...props} />;
        }
    }
    return Preload;
}

Hey @timdorr why did you delete my previous comment? It's directly related to this issue and would help me and others out a lot


Seems to work on macOS Catalina 10.15.7 too?

Hi,
after initial testing with dockutil 3.0.2 it seems to work on macOS Catalina 10.15.7 too.
At least adding and removing and dock restart seems to be fine.
Are there any known or possible issues with older macOS versions with this new Swifted dockutil?
I may do some further testing later on with macOS 10.15, 10.14, and maybe even 10.13. Those older OS versions need Swift runtime library, of course.

Hi @MiqViq !
Yes I think I set it to compile for Catalina but I didn’t test it there.
I’m not sure how OS version compatibility will work going forward with the Swift version but if you have requirements for older OS versions I’ll do my best to accommodate.

@kcrawford
A Mojave 10.14.6 deployment version would be much appreciated! (as the last version supporting legacy 32-bit apps - some use cases require legacy OS support)


Need example input for Custom Dataset as well

When submitting a system:

The example for System Output is super helpful. I think it may be better if we move Need help generating system output under System Output row, so that user know this is the guide for system output file. Also, can we add that guide for Custom Dataset row as well?

Modify description field (url -> md) in the script
    TaskCategory(
        "text-classification",
        "predicting a class index or boolean value.  ",
        [
            Task(
                name=TaskType.text_classification,
                description="""
Classify a text into one or multiple predefined categories.
See more details about the format of upload files:
https://github.com/neulab/ExplainaBoard/blob/main/docs/task_text_classification.md
""",
            )
        ],
    )

I will fix this issue.

Hi @PaulCCCCCCH
I have added concrete information about custom dataset formats. Feel free to go ahead.

Thanks!


Fix weight decay

tl;dr: applies weight decay only to some layers, excluding Mamba's A_log and D, as well as biases and normalization layers.
Fixes #5
For a more thorough discussion, see #5

Thanks! Similar changes to weight decay should actually also be applied to other operator primitives, depending on your objective. Can you report if you observe differences in scores (even a simple representative task is ok) with and without your PR?


fix: Remove handlePaste escape when clipboard holds multiple types

Overview
Closes https://github.com/Doist/typist/issues/397
In https://github.com/Doist/typist/pull/290, we tried to support pasting tables from Numbers more predictable by discarding the image from the clipboard when it holds multiple types, however, this also affected copying an image from the browser, as it puts both images and some HTML data on the clipboard. Here, we revert the change so that the RichTextImage extension is allowed handle cases with multiple clipboard types again.
PR Checklist

[x] Pull request title follows the Conventional Commits Specification
[ ] Added/updated unit test cases and/or end-to-end test cases
[ ] Added/updated documentation to Storybook or README.md

Test plan

[x] Copy some spreadsheet data from Numbers and paste it into the editor. You should see an image of the table being added to the content, with a datauri as the image link in markdown
[x] Paste the same spreadsheet data using shift + cmd + v. You should see a the data in the editor's content formatted with the correct line breaks and spacing. You should not see it formatted as a markdown or HTML table
[x] Copy an image from the browser and paste it into the editor. You should see the image in the editor, and a datauri for the image in markdown

Demo

Before
After

cc. @rfgamaral

Thank you, @nats12.
@frankieyan I'm going to take the liberty of merging this, so I can this fix (and another one that I'll open a PR soon), into Todoist and Twist in one go.


[BUG] DNS drivers missing data

Describe the issue:
Stroll is classified as DNS for the Singapore Grand Prix. His entry in the corresponding session.results has many missing entries that are non-race related. This is not an issue for DNF drivers.
Compare Tsunoda:
DriverNumber                                                         22
BroadcastName                                                 Y TSUNODA
Abbreviation                                                        TSU
DriverId                                                        tsunoda
TeamName                                                     AlphaTauri
TeamColor                                                        5E8FAA
TeamId                                                       alphatauri
FirstName                                                          Yuki
LastName                                                        Tsunoda
FullName                                                   Yuki Tsunoda
HeadshotUrl           https://www.formula1.com/content/dam/fom-websi...
CountryCode                                                         JPN
Position                                                           19.0
ClassifiedPosition                                                    R
GridPosition                                                       15.0
Q1                                                                  NaT
Q2                                                                  NaT
Q3                                                                  NaT
Time                                                                NaT
Status                                                        Collision
Points                                                              0.0

to Stroll:
DriverNumber                    18
BroadcastName                  nan
Abbreviation                   nan
DriverId                    stroll
TeamName                       nan
TeamColor                      nan
TeamId                aston_martin
FirstName                      nan
LastName                       nan
FullName                       nan
HeadshotUrl                    nan
CountryCode                    nan
Position                      20.0
ClassifiedPosition               W
GridPosition                   0.0
Q1                             NaT
Q2                             NaT
Q3                             NaT
Time                           NaT
Status                    Withdrew
Points                         0.0

The information provided in Position, ClassifiedPosition, and GridPosition are also somewhat contradictory. For reference, Stroll is left out of the official classification
Reproduce the code example:
import fastf1 as f

session = f.get_session(2023, "Singapore", "Race")
session.load(telemetry=False, weather=False, messages=False)
print(session.results.iloc[19)

Error message:
No response

DNF drivers are listed on the driver info endpoint of the F1 livetiming API. DNS drivers apparently are not. This causes the first part of the issue with the missing data. This could be solved by populating this information from Ergast when it is available, but that requires a more complicated join operation than what is currently implemented in FastF1 for joining result data from both APIs.
The result data for "Position", "ClassifiedPosition", "GridPosition" is taken as is from Ergast. What would be your expected result here? Stoll is not listed in the results to mirror the official classification?


Strong distortion in the center of the envmap

Hi, thanks for your amazing work. There is a strong distortion in the center of the envmap. It can also be seen in the paper (Fig. 7). Could you let me know why this happens and how can I remove this distortion?

This happened because we assumed orthographic projection to unwrap the chromeball, which is not true in the reality.
Given our setup (using single image, unknown camera setup), I don't think it has an easy way to fix this problem.

Thanks. If I know perspective camera parameters, how can I remove this distortion? I can't find orthographic projection part in this code: https://github.com/DiffusionLight/DiffusionLight/blob/main/ball2envmap.py

With orthographic assumption, we assume that chromeball covers $[0,2\pi]$ in theta (horizontal) and $[0,\pi]$ in phi (verifcal), which leads to the artifact.
https://github.com/DiffusionLight/DiffusionLight/blob/3e90bfc7eda193709cc4bc0c35acc59c08446d70/ball2envmap.py#L35-L36
But in reality, we need to know FoV for compute the actual. the phi and theta.
Assume you can obtain FOV of the camera.
Following this image:

The purple-dot line shows where the ray is touching the surface of the chromeball.

The blue angle is  $\frac{FOV}{4}$ (since our setup is chromeball size 256px and the input image size 1024px)

When the ray touching the circle, We known it's a right angle (90 degree).

All corners in the triangle combined must be 180 degrees. So, we get that the purple angle is $90 - \frac{FOV}{4}$

that imply that  $\phi = 2 \times (90 - \frac{FOV}{4}) = 180 - \frac{FOV}{2}$

Since our input is square, then $\theta = \phi$

However, given the correct $\phi$ and $\theta$ we can obtain only a part of the chromeball (orange region). where the rest of ball (gray region) still unseen. You might need a multi-view input to fill entire the environment map to fit this definition of the camera.

Awesome. Great thanks!


Enable styling YouTube shortcodes

I use Bootstrap. When I use the built-in YouTube shortcode, the rendered player doesn't have any margin or padding below it, so it sits right on top of the next paragraph or header, which looks bad. Margin and padding on the iframe itself does nothing, and the parent element is just a div tag with some random styling applied. I don't see a way to fix this.

There's a way to supply a CSS class, so that technically works. Closing.


[SPARK-25528][SQL] data source v2 API refactor (batch read)

What changes were proposed in this pull request?
This is the first step of the data source v2 API refactor proposal
It adds the new API for batch read, without removing the old APIs, as they are still needed for streaming sources.
More concretely, it adds

TableProvider, works like an anonymous catalog
Table, represents a structured data set.
ScanBuilder and Scan, a logical represents of data source scan
Batch, a physical representation of data source batch scan.

How was this patch tested?
existing tests

@rxin @rdblue @jose-torres @gatorsmile @gengliangwang @mccheah

Test build #99003 has started for PR 23086 at commit 207b0b9.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/5142/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/5143/
Test PASSed.

Test build #99005 has started for PR 23086 at commit f06b5c5.

Test build #99004 has started for PR 23086 at commit 77a2c08.

Test build #99004 has finished for PR 23086 at commit 77a2c08.

This patch fails to build.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/99004/
Test FAILed.

Test build #99005 has finished for PR 23086 at commit f06b5c5.

This patch fails to build.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/99005/
Test FAILed.

Test build #99038 has started for PR 23086 at commit 83818fa.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/5165/
Test PASSed.

Test build #99038 has finished for PR 23086 at commit 83818fa.

This patch fails to build.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class DataSourceV2StreamingScanExec(

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/99038/
Test FAILed.

Test build #99042 has started for PR 23086 at commit 4407d51.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/5170/
Test PASSed.

Test build #99042 has finished for PR 23086 at commit 4407d51.

This patch fails Java style tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class DataSourceV2StreamingScanExec(

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/99042/
Test FAILed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/5201/
Test PASSed.

Test build #99088 has started for PR 23086 at commit 188be4f.

Test build #99088 has finished for PR 23086 at commit 188be4f.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class DataSourceV2StreamingScanExec(

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/99088/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/5242/
Test PASSed.

Test build #99135 has finished for PR 23086 at commit d769a47.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/99135/
Test PASSed.

@cloud-fan, sorry to spread review comments over two days, but I've finished the first pass. Overall, it looks great.
I think we can simplify a couple of areas, like all of the args passed to the ScanExec node and its equals method. I'd also like to add name to table to return an identifying string (even if that is a set of options or paths in some cases).
Thanks for working on this!

Test build #99379 has started for PR 23086 at commit 211a7b4.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/5455/
Test PASSed.

Test build #99379 has finished for PR 23086 at commit 211a7b4.

This patch fails to generate documentation.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/99379/
Test FAILed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/5456/
Test PASSed.

Test build #99381 has started for PR 23086 at commit 13f65ee.

Test build #99381 has finished for PR 23086 at commit 13f65ee.

This patch fails to generate documentation.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/99381/
Test FAILed.

Test build #99383 has started for PR 23086 at commit c24aeab.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/5458/
Test PASSed.

Test build #99383 has finished for PR 23086 at commit c24aeab.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/99383/
Test FAILed.

Test build #99428 has started for PR 23086 at commit 38fdac6.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/5501/
Test PASSed.

Test build #99428 has finished for PR 23086 at commit 38fdac6.

This patch fails to build.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/99428/
Test FAILed.

Test build #99459 has finished for PR 23086 at commit 7c8a527.

This patch fails to build.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/99459/
Test FAILed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/5529/
Test PASSed.

Test build #99461 has started for PR 23086 at commit 811481a.

Test build #99461 has finished for PR 23086 at commit 811481a.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
 public static class AdvancedBatch implements Batch
class AdvancedBatch(val filters: Array[Filter], val requiredSchema: StructType) extends Batch

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/99461/
Test FAILed.

+1
There are only minor suggestions left from me. I'd like to see the default implementation of Table.name removed, but I don't think that should block committing this.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/5559/
Test PASSed.

Test build #99493 has started for PR 23086 at commit eecb161.

Test build #99493 has finished for PR 23086 at commit eecb161.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/99493/
Test PASSed.

I still do not think we should mix the catalog support with the data source APIs. Catalog is a well-defined concept. The so-called "table catalog" is not a catalog to me.
The data source APIs in this PR looks good to me. Merged to master.

I still do not think we should mix the catalog support with the data source APIs

We are trying to keep these separate. Table is the only overlap between the two. If you prefer more separation, we could move the newScanBuilder method to a separate interface that readable data sources implement.

Catalog is a well-defined concept in database systems, as what Spark SQL follows. The so-called "table catalog" is not a catalog to me.

I'm glad that you're interested in joining the discussion on multi-catalog support. Let's have that discussion on the catalog issues or discussion threads on the dev list, not here on an update to the read API.

@cloud-fan, thanks for getting this done! I'll wait for the equivalent write-side PR.


Improve default interpreter path suggestion in quickpick UI

[x] Move "star" icon next to the suggested interpreter in quickpick list instead of showing it as a new entry
[x] Show default Interpreter path suggestion only if user has set python.defaultInterpreterPath entry
[x] In the above case show default Interpreter path entry at the top of the list instead, but below "Enter interpreter path" suggestion. Make it the active entry.

https://github.com/microsoft/vscode-python-internalbacklog/issues/277

Verification steps:

Make sure you have "python.experiments.optInto": ["All"], in your user settings. If not, add it and reload.
Create 2 workspaces with Python files in it, and create a virtual environment in one of them (python -m venv .venv). Let's name them with and without

1. python .defaultInterpreterPath not set, no virtual environment

Make sure that the python.defaultIntepreterPath entries in your user and workspace settings are at their default value python
Open the without workspace, wait for the extension to load, and click on the interpreter in the status bar on the bottom left:

Make sure that the interpreter that is currently highlighted in the quickpick is the same as the one that is currently selected (same path being shown in Current: ....), that the entry label starts with star ⭐ , and that its description says "Recommended"
Make sure that there is no "Use Python from python.defaultInterpreterPath setting" entry

2. python.defaultInterpreterPath set, no virtual environment

Set one of the python.defaultIntepreterPath entries in your user and workspace settings to a valid Python interpreter path that is not python (for example /usr/local/bin/python3)
Open the without workspace, wait for the extension to load, and click on the interpreter in the status bar on the bottom left
Make sure that the interpreter currently selected has the same path as what's in python.defaultInterpreterPath
Make sure there is a "Use Python from python.defaultInterpreterPath setting" entry with the same path, that this entry is highlighted, and that it's the second on the list starting from the top (right below "Enter interpreter path...")

3. python.defaultInterpreterPath not set, with virtual environment

Make sure the python.defaultIntepreterPath entry in your user and workspace settings is at its default value python
Open the with workspace, wait for the extension to load
Make sure that the interpreter in the status bar on the bottom left is the .venv virtual environment you created above, and then click it
Make sure that the interpreter that is currently highlighted in the quickpick is the .venv one, that the entry should be the second one from the top, that its label starts with a star ⭐, and that its description says "Recommended"
Make sure that there are no duplicate entries with the same interpreter path
Make sure that there is no "Use Python from python.defaultInterpreterPath setting" entry

4. python.defaultInterpreterPath set, with virtual environment

Set one of the python.defaultIntepreterPath entries in your user and workspace settings to a valid Python interpreter path that is not python (for example /usr/local/bin/python3)
Open the with workspace, wait for the extension to load, and click on the interpreter in the status bar on the bottom left
Make sure that the interpreter currently selected has the same path as what's in python.defaultInterpreterPath
Make sure there is a "Use Python from python.defaultInterpreterPath setting" entry with the same path, that this entry is highlighted, and that it's the second on the list starting from the top (right below "Enter interpreter path...")
Make sure that the third entry is the .venv environment, that its label starts with a star ⭐, and that its description says "Recommended"

@kimadeline This looks like it has enough steps to be a test plan item on its own. I had to turn one of mine to test-pan item as well.

Sounds good, I'll move it to a test plan. Thanks!


Link to CDN JS results in 404 error

In the docs, ie here https://flowbite.com/docs/getting-started/introduction/#init-functions
you mention to link via
https://cdnjs.cloudflare.com/ajax/libs/flowbite/1.6.5/flowbite.min.js
but this link throws 404 File not found error ...

Hey @RadekHavelka,
Thanks for reporting - CDNJS takes about 8 hours to pick up new releases.
It should work now.
Cheers,
Zoltan


edit typo, babmoo -> bamboo / 2. edit port for bamboo, 8080 -> 8085

Thank you for this repo.

Thank you for the fix!


bug: Error: out of bounds move - What happened and how can it be solved?

Overview
Similar to ticket #7180 :
When running script in Jupyter notebook on OT-2 at each operation with pipettes, including home, tips pick up and drop, etc the following output is produced:

I did the OT-2 calibration very recently. This is the first time I have used Jupyter notebook to run a script. I have never noticed any issue when using Opentrons Software.
Steps to reproduce
import opentrons.execute
protocol = opentrons.execute.get_protocol_api("2.19")
temp_mod_pos1 = protocol.load_module('temperature module gen2',location="1")
tiprack_20ul = protocol.load_labware('opentrons_96_filtertiprack_20ul',location="4")
temp_plate_pos1 = temp_mod_pos1.load_labware("opentrons_96_aluminumblock_generic_pcr_strip_200uL")
tiprack_20ul.set_offset(x=0.30, y=0.30, z=-0.50)
temp_plate_pos1.set_offset(x=-0.20, y=0.20, z=7.30)
p20 = protocol.load_instrument('p20_single_gen2','right',[tiprack_20ul])
p20.flow_rate.aspirate = 1
p20.flow_rate.dispense = 1
positions = ['C3']
eBlocklist01 = [temp_plate_pos1.wells_by_name()[pos].bottom(z=0.6) for pos in positions]
protocol.home()
R1 = temp_plate_pos1.wells_by_name()['D3'].bottom(z=0.6)
p20.transfer(
volume=5.0,
new_tip="always",
source=eBlocklist01,
dest=[R1],
blow_out='true',
blowout_location='destination well',
)
protocol.home()
for line in protocol.commands():
print(line)
Current behavior
I seem to have a calibration error between the way the robot can move and the way it can actually move.
Expected behavior
No error ...
Operating system
None
System and robot setup or anything else?
Using robot on local server with anothers robots (not OT-2). The script is running on OT-2 (local raspberry) with Jupyter Notebook. I am using my computer in USB to interact with all the robots

Message from OT-2 support :
"Message that you are seeing is normal and can be safely ignored. However, if you are noticing any alignment issue when running your protocol, please let me know."


Create 'resend all messages' button

Based on @cpacia's commit: https://github.com/OpenBazaar/OpenBazaar-Server/commit/d6ff2fb3232bafba47517392b46bc952a6f583b2

Looks like this will be addressed on the server side here: https://github.com/OpenBazaar/OpenBazaar-Server/pull/319


Image to image flow

Description (what's changed?)
Go to the Image to Image tab in the toolbar in the editor. Generate an image.

Task linked: CU-86aykjmy3 Implement image upload for image to image


dyld: Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib

with the current openssl on my macos the file for dylib is
/usr/local/opt/openssl/lib/libssl.1.1.dylib
and on startup the mariadb4j is refering to
/usr/local/opt/openssl/lib/libssl.1.0.0.dylib
is it possible to update the dependency for<EMAIL_ADDRESS>?

There's a problem with getting working binaries for OSX that has been tried to be fixed by multiple different people.
There's a workaround for your problem at hand in this thread:
https://github.com/vorburger/MariaDB4j/issues/288

There's a problem with getting working binaries for OSX that has been tried to be fixed by multiple different people.
There's a workaround for your problem at hand in this thread:
https://github.com/vorburger/MariaDB4j/issues/288

Apparently when upgrading OSX to Big Sur the workaround does not work anymore and it will be blocked by Cortex.

Creating these symlinks helped me on MacOS 11.2.3 (Big Sur).
ln -s /usr/lib/libcrypto.dylib /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib
ln -s /usr/lib/libssl.dylib /usr/local/opt/openssl/lib/libssl.1.0.0.dylib

You need to create these symlinks even you don't have target files /usr/lib/libcrypto.dylib and /usr/lib/libssl.dylib

Hi, I'm trying to get MariaDB4J working on my new M1 MacBook Pro, and I'm not doing so great.
I've added symlinks like this and other threads have suggested, and while it now finds the ssl dylib files, I get another error message:
"Reason: tried: '/usr/local/opt/openssl/lib/libssl.1.0.0.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64'))"
I am running the M1 version of both libssl and mariadb, both installed with Homebrew.
Anyone knows how to get this working?

M1 CPU architecture support is a separate problem from this issue; I've created new #497 specifically re. M1.

Closing this because my understanding is that the"right way to properly fix this" is probably "just" needs someone who needs this to work to contribute a PR for #484, or #344 or #293.

Hi, I'm trying to get MariaDB4J working on my new M1 MacBook Pro, and I'm not doing so great.
I've added symlinks like this and other threads have suggested, and while it now finds the ssl dylib files, I get another error message:
"Reason: tried: '/usr/local/opt/openssl/lib/libssl.1.0.0.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64'))"
I am running the M1 version of both libssl and mariadb, both installed with Homebrew.
Anyone knows how to get this working?

I found the "libssl.1.0.0.dylib" and "libcrypto.1.0.0.dylib" in another app's /Contents/Resources/libs dir, and I copy these two files into /usr/local/opt/openssl/lib/ dir, then it works

Hi, I'm trying to get MariaDB4J working on my new M1 MacBook Pro, and I'm not doing so great.
I've added symlinks like this and other threads have suggested, and while it now finds the ssl dylib files, I get another error message:
"Reason: tried: '/usr/local/opt/openssl/lib/libssl.1.0.0.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64'))"
I am running the M1 version of both libssl and mariadb, both installed with Homebrew.
Anyone knows how to get this working?

I found the "libssl.1.0.0.dylib" and "libcrypto.1.0.0.dylib" in another app's /Contents/Resources/libs dir, and I copy these two files into /usr/local/opt/openssl/lib/ dir, then it works

Maybe just need these two files in x86_64 architecture, you can download a openssl package with x86_64 architecture for a try

Silly addition: cloning or linking /usr/local/opt/openssl/ from<EMAIL_ADDRESS>directory seems to make it work. I followed all steps and installed openssl 1.0 with lots of weird work but it insisted on loading from /usr/local/opt/openssl/ and links didn't work, so I dumped the whole folder. Now /usr/local/opt/openssl/ is a clone of<EMAIL_ADDRESS>and the test tool which uses mariadb runs successfully.

Hi, I'm trying to get MariaDB4J working on my new M1 MacBook Pro, and I'm not doing so great.
I've added symlinks like this and other threads have suggested, and while it now finds the ssl dylib files, I get another error message:
"Reason: tried: '/usr/local/opt/openssl/lib/libssl.1.0.0.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64'))"
I am running the M1 version of both libssl and mariadb, both installed with Homebrew.
Anyone knows how to get this working?

following steps worked for me:

arch -x86_64 /usr/local/bin/brew install<EMAIL_ADDRESS>sudo mkdir -p /usr/local/opt/openssl/lib
sudo ln -s<EMAIL_ADDRESS>/usr/local/opt/openssl/lib/libssl.1.0.0.dylib
sudo ln -s<EMAIL_ADDRESS>/usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib

嗨，我正在尝试让 MariaDB4J 在我的新 M1 MacBook Pro 上运行，但我做得不是很好。
我已经添加了这样的符号链接，并且其他线程已经建议了，虽然它现在找到了 ssl dylib 文件，但我收到了另一条错误消息：
“原因：尝试过：'/usr/local/opt/openssl/lib/libssl.1.0.0.dylib'（mach-o 文件，但架构不兼容（有'arm64'，需要'x86_64'））”
我正在运行 libssl 和 mariadb 的 M1 版本，它们都与 Homebrew 一起安装。
任何人都知道如何让这个工作？

以下步骤对我有用：

拱 -x86_64 /usr/local/bin/brew install<EMAIL_ADDRESS>sudo mkdir -p /usr/local/opt/openssl/lib
sudo ln -s<EMAIL_ADDRESS>/usr/local/opt/openssl/lib/libssl.1.0.0.dylib
sudo ln -s<EMAIL_ADDRESS>/usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib

i cant install<EMAIL_ADDRESS>and where can i find this code

Following steps worked for me:

cd ~/Downloads
mkdir homebrew
curl -L https://github.com/Homebrew/brew/tarball/master | tar xz --strip 1 -C homebrew
sudo mv homebrew /usr/local/homebrew
export PATH=$HOME/bin:/usr/local/bin:$PATH ( only if this is not already present in ~/.zshrc file )
curl https://raw.githubusercontent.com/rbenv/homebrew-tap/e472b7861b49cc082d1db0f66f265368da107589/Formula/openssl%401.0.rb -o<EMAIL_ADDRESS>Edit this file ->
add # sign to the line system "make", "test" (comment out)
replace 1.0.2u with 1.0.2t ( for my specific use case I wanted 1.0.2t or else you can skip this )
arch -x86_64 /usr/local/bin/brew install<EMAIL_ADDRESS>rm -rf<EMAIL_ADDRESS>sudo mkdir -p /usr/local/opt/openssl/lib
sudo ln -s<EMAIL_ADDRESS>/usr/local/opt/openssl/lib/libssl.1.0.0.dylib
sudo ln -s<EMAIL_ADDRESS>/usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib


ServiceFabricDeploy fails for UserCredential constructor arity in latest hosted agent

The latest update of the hosted agent, which seems to have been released on 1/13/2017, is causing the ServiceFabricDeploy task to fail on line 97 of Tasks/ServiceFabricDeploy/utilities.ps1:
$userCredential = Create-Object -TypeName Microsoft.IdentityModel.Clients.ActiveDirectory.UserCredential -ArgumentList @($authParams.Username, $authParams.Password)
With this error:
##[error]Cannot find an overload for "UserCredential" and the argument count: "2".
The failing Service Fabric Application Deployment task is version 1.2.1 and the failing agent version is 2.111.1
The last successful release in my environment was deploy task version 1.2.1 and the failing agent version is 2.110.0
So it looks like an incompatibility of some kind introduced in the agent since the exact same task version used to work. I"ll create a ticket in the agent repo too, but thought you should know.

The bug is understood now. The task leverages the a DLL delivered by the agent (fragile assumption) and should pull the DLL it needs when the task is built.
From offline discussion, it sounds like the needed version of the DLL can be obtained from this package https://www.nuget.org/packages/Microsoft.IdentityModel.Clients.ActiveDirectory/
And the tasks repo has infrastructure to pull the dependency at build time. Reference example here: https://github.com/Microsoft/vsts-tasks/blob/master/Tasks/PublishSymbols/make.json#L3

I'm having the same issue and it is blocking the deployment of new builds. Any ETA on a fix?

This is blocking deployment for us too. Updates please?

@MikkelHegn or @kmkumaran would know more details. i know the issue is being worked on.

It looks like the issue only affects connections using AAD auth. Using a different auth type would workaround the issue.
Additionally, while the hotfix is being worked on, I published a private here that you can use TFX to upload to your account. I don't have a proper Service Fabric env to test against (AAD creds), but I think this will work.

@ericsciple I installed the hotfix on our account and was able to deploy. Thanks!

@justinpatten thanks for confirming the fix!

@ericsciple When can we expect an official fix? This is directly influencing our production deployment atm.

@yorgovs If you can post your account name here or send it to ersciple, I can see what we can do to expedite the roll-out to your scale unit (mail to me at microsoft.com). Same goes for anyone else, feel free to send me your account name.

...e.g. https://account.visualstudio.com

Some folks were asking so I updated the instructions on the release page for the private.

The fix has rolled out to about half of the accounts now. ETA for all accounts is later this evening.

@ericsciple Just FYI, this was still occurring on the 'bynalogic' tenant as of 15 minutes ago, but installing the hotfix has resolved the issue for me as well. Thanks so much!

The fix has rolled out everywhere now. Thanks everyone!


createDir error

Describe the bug
ffmpeg.createDir('/videos')
it makes mistakes under certain circumstances,  But I can't find the error message
and I can't find it. Why is there an error
To Reproduce
Please provide a GitHub link or code snippet.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

error is ' Fs error '


Rollback transaction after a failed query seems to never work

If a query fails during a transaction, the connection state is set to fail. This prevents conn.rollback() from working, because self.canQuery() will always return false.
I'm currently trying to rollback if there's a unique constraint error (based on data a user provides to our REST API). I tried manually setting the connection state to transaction when this error is hit as a work-around, but it feels a bit hacky having to do that manually from outside the library.

I looked at a few different libraries to see how they handle this. Seems like they have a pretty generous "exec" and never stop a query from being executed, even if the state is failed/unknown. I'm not sure I like the idea of this being the default, so for now, I've special-cased rollback. It'll always try to issue the rollback command, regardless of the connection state.

Thanks for doing this!
Would it be possible to backport this fix for zig 0.13.0? We're using that version in production as it's the stable release.

I merged master back into the 0.13 branch and made it compatible with Zig 0.13 again. The only other major changes was to the row -> struct mapping to support arrays and such.

Thank you!


make toBlob async

there are problems with this script when used in angular 4 as described here -> https://github.com/angular/zone.js/issues/867

the error is because your toBlob polyfill is not an async operation, zone.js expect that toBlob should be an async operation, so you need to make it async.

wrap every callback in a setTimeout so it is async and works with zone.js
All the credit goes to @JiaLiPassion

Unfortunately my IDE changed the intentation so I had to commit again after I the initial commit.

Thanks, @Arikael
There were too many whitespace changes in your pull request, but I've added your code in the referenced commit with credit to you and @JiaLiPassion.


quartoMinimal: 1.5.56 -> 1.5.57

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/quarto-dev/quarto-cli/releases.
meta.description for quartoMinimal is: Open-source scientific and technical publishing system built on Pandoc
meta.homepage for quartoMinimal is: https://quarto.org/
meta.changelog for quartoMinimal is: https://github.com/quarto-dev/quarto-cli/releases/tag/v24.11.20240830.dirty
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.5.57 with grep in /nix/store/mpaxx8y1ahv4ng788mkrmydmfknbvs8n-quarto-1.5.57
found 1.5.57 in filename of file in /nix/store/mpaxx8y1ahv4ng788mkrmydmfknbvs8n-quarto-1.5.57

Rebuild report (if merged into master) (click to expand)

7 total rebuild path(s)

7 package rebuild(s)

First fifty rebuilds by attrpath

quarto
quartoMinimal
rstudio
rstudio-server
rstudioServerWrapper
rstudioWrapper

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/mpaxx8y1ahv4ng788mkrmydmfknbvs8n-quarto-1.5.57 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A quartoMinimal https://github.com/r-ryantm/nixpkgs/archive/88e3910398149ea7274068e37cef31416f264255.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/88e3910398149ea7274068e37cef31416f264255#quartoMinimal

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/mpaxx8y1ahv4ng788mkrmydmfknbvs8n-quarto-1.5.57
ls -la /nix/store/mpaxx8y1ahv4ng788mkrmydmfknbvs8n-quarto-1.5.57/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

6 packages built:

quarto
quartoMinimal
rstudio
rstudio-server
rstudioServerWrapper
rstudioWrapper

Maintainer pings
cc @minijackson @MrTarantoga for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.

Done in #338311


Forbid unsafe code

We already depend on bytemuck_derive through font-types, so we might as well use this to remove any remaining unsafe code.

Nice, ty


workload run in Specific project?

When I run rio run command it always run the workload in default project,
rio run -p 9090/http --name test1 <image name>:latest:v0
now my question is when I need to run any workload in specific project other than default what keyword or flag  we need to use with rio run in rancher

@chaets You can run with --name ${namespace}/name to change to other namespace.

@StrongMonkey  I am not talking about namespace, I talking about the project, that has different different namespaces.
Like I have insights-ihies as project under insight cluster

If you follow the command and create workload under a different namespace, if that is included in your project, then it will show up in that project. Right now in rio you can't point your workload to a rancher project as there is no relationship between rancher concept and rio.

Closing based on answer provided. You'll need to move any namespaces to your project in Rancher as needed.


Is possiable to add span tag and class name for annotation

For example "Australian Securities and Investments Commission Act 2001" in the text
"Securities" word contain strikeoutAnnotation i need to add Securities. please help me this method i am very struggle  on this.

When opening an issue you need to provide all of the information requested in ISSUE_TEMPLATE.md (which was also explained in e.g. issue #10627); as is this issue is INVALID.
Furthermore, it's very unclear what you're trying to ask here, but note that as previously mentioned PDF.js does not support adding annotations which is also explained in the FAQ.

I agree. PDF.js does not provide editing capabilities since it's only a viewer/renderer.

For example "Australian Securities and Investments Commission Act 2001" in the text
"Securities" word contain strikeoutAnnotation i need to add Securities. please help me this method i am very struggle on this.

When opening an issue you need to provide all of the information requested in ISSUE_TEMPLATE.md (which was also explained in e.g. issue #10627); as is this issue is INVALID.
Furthermore, it's very unclear what you're trying to ask here, but note that as previously mentioned PDF.js does not support adding annotations which is also explained in the FAQ.

Yes i know pdf js only reader and viewer. i am just asking is this possible?

The text layer and annotation layers are DOM elements, so additional elements can be inserted if you want. It's just not something that the library itself provides.

I search all functions I can't able to find where I need to add this tag
for annotation text Please help me I am working this task more then one
month I am very struggle.
On Sat, 5 Oct, 2019, 2:29 AM Tim van der Meij<EMAIL_ADDRESS>wrote:

The text layer and annotation layers are DOM elements, so additional
elements can be inserted if you want. It's just not something that the
library itself provides.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mozilla/pdf.js/issues/11196?email_source=notifications&email_token=ABYHDS3GULSA2ZNPIEBA4TDQM6VDJA5CNFSM4I47JU4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAM3Z4A#issuecomment-538557680,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABYHDSYPK5NDRTMYN5MTUT3QM6VDJANCNFSM4I47JU4A
.

Any update mr.timvandermeij

How to fetch annotation data from pdf. what type of render process done for annotation.

You can use the getAnnotations API call to get the data. Note that this is not a support forum, but a bug tracker, so this issue is closed now.

var rect=[96.3125,110.021,571.771,150.831];
is this possible to insert annotation tag into text layer  Securities. please help me this method i am try solve more than month i cant able to find the right solution. are excepting any payment.


Arm64 unified recipe for Raspberry Pi 3 and 4

renamed recipe rpi3bplus to rpi64
use U-Boot rpi_arm64 flavor allowing to boot the same image for  RPi 3&4
additional variables:

mirror -- for the nearest or local Debian mirror
suite and kernel -- allow to use other Debian versions and
kernels, for example:
debos -t suite:sid -t kernel:linux-image-5.8.0-1-arm64-unsigned
will use experimental suite with last available kernel atm.

If firmware_version variable is set to debian then using firmware version packaged in Debian.
minor recipe optimizations

Worked out of the box for me.


Remove timeout on feedback submission api call

Summary of Changes
I cannot remember the context of why this was added, and I wonder if this was a copy paste mistake. There is no reason for this api to have a timeout, and it risks causing issues if someone's custom mail client takes longer than that to complete the request.
Tests
Updated api test.
Documentation
N/A
CheckList
Make sure you have checked all steps below to ensure a timely review.

[x] PR title addresses the issue accurately and concisely. Example: "Updates the version of Flask to v1.0.2"

In case you are adding a dependency, check if the license complies with the ASF 3rd Party License Policy.

[x] PR includes a summary of changes, including screenshots of any UI changes.
[x] PR adds unit tests, updates existing unit tests, OR documents why no test additions or modifications are needed.
[x] In case of new functionality, my PR adds documentation that describes how to use it.

All the public python functions and the classes in the PR contain docstrings that explain what it does

[ ] PR passes all tests documented in the developer guide
[x] I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message"

Codecov Report

Merging #232 into master will increase coverage by 4.04%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #232      +/-   ##
==========================================
+ Coverage   70.09%   74.14%   +4.04%
==========================================
  Files         125       24     -101
  Lines        3227     1052    -2175
  Branches      390       87     -303
==========================================
- Hits         2262      780    -1482
+ Misses        934      245     -689
+ Partials       31       27       -4

Impacted Files
Coverage Δ

...ication/static/js/components/common/Tabs/index.tsx

...ndsen_application/static/js/ducks/search/api/v0.ts

...ication/static/js/components/common/Flag/index.tsx

...ts/common/ResourceListItem/TableListItem/index.tsx

...sen_application/static/js/ducks/allTags/reducer.ts

...tatic/js/components/common/ScrollTracker/index.tsx

...pplication/static/js/ducks/popularTables/api/v0.ts

...static/js/components/common/ResourceList/index.tsx

...tic/js/components/common/ResourceList/constants.ts

...tatic/js/components/common/PopularTables/index.tsx

... and 90 more

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 f8699a3...664bb03. Read the comment docs.


[question] A unique ID known to both the message submitter and the smart contract apply()

Hi, this might be a bit of a n00b question, but I couldn't find this by looking at the documentation yet...
 I assume that this ID is unique to my message. When my smart contract gets the apply() method called for my message I would like to obtain this unique transaction ID, so that I can put this as a key in the database for the result of the smart contract work. Is it possible to find out this transaction ID in the apply() method? Or of not, is there another way to automatically generate an ID that is given to the client when the message is sent and then obtained in the apply()?
Many thanks

transaction_id is actually just the sha256 digest of the transaction. If you want to get the transaction_id, you can first read the transaction and then just hash it, i.e.
char buffer[transaction_size()];
read_transaction(buffer, transaction_size());
checksum256 txid;
sha256(buffer, transaction_size(), &txid);
printhex(&txid, sizeof(txid)/sizeof(uint8_t));


SQLite db metadata reader

Implement SQLite db metadata reader using sqlite_master and PRAGMA statements. This includes:

tables, with columns
functions
indexes, with columns
schemas (virtual tables) - since SQLite's SQL syntax does refer to them as <schema>.<table>

sqlite_master also contains a list of triggers, but the reader API doesn't yet have triggers defined.
This PR also fixes locations of the Dockerfile used in all metadata related tests.
Minor unrelated bugfixes include:

define more table types, like SYSTEM TABLE - this is related to #169
avoid filtering functions by type, if not requested
don't print schema name when empty in table titles

For tests, I used the official Docker Go SDK. Turns out the ory/dockertest module uses a copy of some other client. We can migrate away from it in future PRs.
These tests only use a container to fetch the example schema. This might be overkill, but I wanted to avoid committing it to the repo, creating yet another copy.
Closes #175

Merged.


keplr upgrades

Hey @liujun93 we may need to do this on your branch, but a few notes if we want to reproduce this one:

[ ] remove the "babel-core": "7.0.0-bridge.0", in root package.json

[ ] remove the packages/example/.babelrc inside of example

[ ] remove chain-registry as a dep inside of packages/core

[ ] upgrade packages (dont upgrade lerna or next) using yarn upgrade-interactive --latest

[ ] temporarily update the keplr packages to use the new alpha version that fixes compat issues

    "@keplr-wallet/types": "0.11.16-alpha.0",
    "@keplr-wallet/wc-client": "0.11.16-alpha.0",

in root package.json:
"resolutions": {
    "@keplr-wallet/types": "0.11.16-alpha.0",
    "@keplr-wallet/wc-client": "0.11.16-alpha.0"
  },

[ ] update peer deps across all packages that use them (see below)

  "peerDependencies": {
    "@cosmjs/cosmwasm-stargate": ">= 0.28",
    "@cosmjs/stargate": ">= 0.28"
  }


Search Request with empty Search Term causes Internal Server Error 500 with SQLite Backend

Working on the Docker Deployment #26 I tried to reproduce different URLs from the Production Site like https://perldoc.pl/5.28.1/search
But the empty Search Term produces a SQL Error in the SQLite Backend which leads to an Internal Server Error 500:
$ wget -S -O search_noresult.html --max-redirect=0 "http://localhost:3000/5.28.1/search"
--2020-11-24 16:32:06--  http://localhost:3000/5.28.1/search
Resolviendo localhost (localhost)... ::1, <IP_ADDRESS>
Conectando con localhost (localhost)[::1]:3000... conectado.
Petición HTTP enviada, esperando respuesta...
  HTTP/1.1 500 Internal Server Error
  Content-Type: text/html;charset=UTF-8
  Date: Tue, 24 Nov 2020 16:32:06 GMT
  Content-Security-Policy: default-src 'self'; connect-src 'self' www.google-analytics.com; img-src 'self' data: www.google-analytics.com www.googletagmanager.com; script-src 'self' 'unsafe-inline' cdnjs.cloudflare.com code.jquery.com stackpath.bootstrapcdn.com www.google-analytics.com www.googletagmanager.com; style-src 'self' 'unsafe-inline' cdnjs.cloudflare.com stackpath.bootstrapcdn.com; report-uri /csp-reports
  Server: Mojolicious (Perl)
  Content-Length: 30901
2020-11-24 16:32:06 ERROR 500: Internal Server Error.

which is documented in the Web Service Log like this:
[2020-11-24 16:32:06.23318] [22] [debug] [GcRSLW_i] GET "/5.28.1/search"
[2020-11-24 16:32:06.23391] [22] [debug] [GcRSLW_i] Routing to a callback
[2020-11-24 16:32:06.26225] [22] [error] [GcRSLW_i] DBD::SQLite::st execute failed: fts5: syntax error near "" at /home/perldoc-browser/lib/PerldocBrowser/Plugin/PerldocSearch/SQLite.pm line 87.
 at /home/perldoc-browser/lib/PerldocBrowser/Plugin/PerldocSearch/SQLite.pm line 87.

[2020-11-24 16:32:06.26287] [22] [debug] [GcRSLW_i] Template "exception.development.html.ep" not found
[2020-11-24 16:32:06.26315] [22] [debug] [GcRSLW_i] Template "exception.html.ep" not found
[2020-11-24 16:32:06.26343] [22] [debug] [GcRSLW_i] Rendering template "mojo/debug.html.ep"
[2020-11-24 16:32:06.30368] [22] [debug] Your secret passphrase needs to be changed
[2020-11-24 16:32:06.30888] [22] [debug] [GcRSLW_i] 500 Internal Server Error (0.07567s, 13.215/s)

Enabling the DBI SQL Trace in /lib/PerldocBrowser/Plugin/PerldocSearch/SQLite.pm :
sub _function_search ($c, $perl_version, $query, $limit = undef) {
  my $limit_str = defined $limit ? ' LIMIT ?' : '';
  my @limit_param = defined $limit ? $limit : ();
  $query =~ s/"/""/g;
  $query = join ' ', map { qq{"$_"} } split ' ', $query;

  $c->app->log->debug("_function_search - query dmp:\n"
    . dump $query);

  $c->sqlite->db->{TraceLevel} = "3|SQL";
  $c->sqlite->db->dbh->trace('3|SQL', 'log/development.log');

  my $res = undef;

  eval
  {
    $res = $c->sqlite->db->query(q{SELECT "name",
    snippet("functions_index", 1, '__HEADLINE_START__', '__HEADLINE_STOP__', ' ... ', 36) AS "headline"
    FROM "functions_index" WHERE "rowid" IN (SELECT "id" FROM "functions" WHERE "perl_version" = ? AND "description" != '')
    AND "functions_index" MATCH ? ORDER BY "rank"} . $limit_str,
    $perl_version, $query, @limit_param);

    $res = $res->hashes;
  };

  if($@)
  {
    $c->app->log->debug("_function_search - query failed!");

    die($@);
  }

  return $res;
}

documents the following Error Report:
[2020-11-24 17:24:45.85865] [20] [debug] [MhTNx5Ng] GET "/5.28.1/search"
[2020-11-24 17:24:45.86123] [20] [debug] [MhTNx5Ng] Routing to a callback
[2020-11-24 17:24:45.86733] [20] [debug] _function_search - query dmp:
""
    DBI::db=HASH(0x558fd9edc5c8) trace level set to 0x100/3 (DBI @ 0x0/0) in DBI 1.642-ithread (pid 20)
    -> FETCH for DBD::SQLite::db (DBI::db=HASH(0x558fd9edc5c8)~INNER 'Active') thr#558fd77e5260
    .. FETCH DBI::db=HASH(0x558fd9edc5c8) 'Active' = 1
    <- FETCH= ( 1 ) [1 items] at SQLite.pm line 106 via  at Database.pm line 32
    -> ping for DBD::SQLite::db (DBI::db=HASH(0x558fd9edc520)~0x558fd9edc5c8) thr#558fd77e5260
1   <- sqlite_db_filename= ( '/home/perldoc-browser/./perldoc-browser.sqlite' ) [1 items] at SQLite.pm line 248 via  at SQLite.pm line 78
    .. FETCH DBI::db=HASH(0x558fd9edc5c8) 'Active' = 1
1   <- FETCH= ( 1 ) [1 items] at SQLite.pm line 252 via  at SQLite.pm line 78
    <- ping= ( 1 ) [1 items] at SQLite.pm line 78 via  at SQLite.pm line 118
    <> FETCH= ( CODE(0x558fd9a5e258) ) [1 items] ('HandleError' from cache) at Database.pm line 53 via  at SQLite.pm line 98
    -> EXISTS in DBD::_::common for DBD::SQLite::db (DBI::db=HASH(0x558fd9edc5c8)~INNER 'HandleError') thr#558fd77e5260
1   <> FETCH= ( CODE(0x558fd9a5e258) ) [1 items] ('HandleError' from cache) at DBI.pm line 1371 via  at Database.pm line 55
    <- EXISTS= ( 1 ) [1 items] at Database.pm line 55 via  at SQLite.pm line 98
    <> FETCH= ( CODE(0x558fd9a5e258) ) [1 items] ('HandleError' from cache) at Database.pm line 55 via  at SQLite.pm line 98
    -> STORE for DBD::SQLite::db (DBI::db=HASH(0x558fd9edc5c8)~INNER 'HandleError' CODE(0x558fda641218)) thr#558fd77e5260
    STORE DBI::db=HASH(0x558fd9edc5c8) 'HandleError' => CODE(0x558fda641218)
    <- STORE= ( 1 ) [1 items] at Database.pm line 55 via  at SQLite.pm line 98
    -> prepare_cached in DBD::_::db for DBD::SQLite::db (DBI::db=HASH(0x558fd9edc520)~0x558fd9edc5c8 'SELECT "name",
    snippet("functions_index", 1, '__HEADLINE_START__', '__HEADLINE_STOP__', ' ... ', 36) AS "headline"
    FROM "functions_index" WHERE "rowid" IN (SELECT "id" FROM "functions" WHERE "perl_version" = ? AND "description" != '')
    AND "functions_index" MATCH ? ORDER BY "rank" LIMIT ?' undef 3) thr#558fd77e5260
sqlite trace: prepare statement: SELECT "name",
    snippet("functions_index", 1, '__HEADLINE_START__', '__HEADLINE_STOP__', ' ... ', 36) AS "headline"
    FROM "functions_index" WHERE "rowid" IN (SELECT "id" FROM "functions" WHERE "perl_version" = ? AND "description" != '')
    AND "functions_index" MATCH ? ORDER BY "rank" LIMIT ? at dbdimp.c line 903
1   <- prepare= ( DBI::st=HASH(0x558fda675ac8) ) [1 items] at DBI.pm line 1733 via  at Database.pm line 62
    <- prepare_cached= ( DBI::st=HASH(0x558fda675ac8) ) [1 items] at Database.pm line 62 via  at Database.pm line 60
    -> bind_param for DBD::SQLite::st (DBI::st=HASH(0x558fda675ac8)~0x558fda675a80 1 '5.28.1') thr#558fd77e5260
sqlite trace: bind into 0x558fda675ae0: 1 => 5.28.1 (0) pos 0 at dbdimp.c line 1515
    <- bind_param= ( 1 ) [1 items] at Database.pm line 111 via  at Database.pm line 63
    -> bind_param for DBD::SQLite::st (DBI::st=HASH(0x558fda675ac8)~0x558fda675a80 2 '') thr#558fd77e5260
sqlite trace: bind into 0x558fda675ae0: 2 =>  (0) pos 2 at dbdimp.c line 1515
    <- bind_param= ( 1 ) [1 items] at Database.pm line 111 via  at Database.pm line 63
    -> bind_param for DBD::SQLite::st (DBI::st=HASH(0x558fda675ac8)~0x558fda675a80 3 21) thr#558fd77e5260
sqlite trace: bind into 0x558fda675ae0: 3 => 21 (0) pos 4 at dbdimp.c line 1515
    <- bind_param= ( 1 ) [1 items] at Database.pm line 111 via  at Database.pm line 63
    -> execute for DBD::SQLite::st (DBI::st=HASH(0x558fda675ac8)~0x558fda675a80) thr#558fd77e5260
sqlite trace: executing SELECT "name",
    snippet("functions_index", 1, '__HEADLINE_START__', '__HEADLINE_STOP__', ' ... ', 36) AS "headline"
    FROM "functions_index" WHERE "rowid" IN (SELECT "id" FROM "functions" WHERE "perl_version" = ? AND "description" != '')
    AND "functions_index" MATCH ? ORDER BY "rank" LIMIT ? at dbdimp.c line 973
sqlite trace: Execute returned 2 cols at dbdimp.c line 1086
    -- HandleSetErr err=1, errstr='fts5: syntax error near ""', state=undef, undef
sqlite error 1 recorded: fts5: syntax error near "" at dbdimp.c line 1132
    -- HandleSetErr err=1, errstr='fts5: syntax error near ""', state=undef, undef
sqlite error 1 recorded: fts5: syntax error near "" at dbdimp.c line 1134
    !! ERROR: 1 'fts5: syntax error near ""' (err#2)
    <- execute= ( undef ) [1 items] at Database.pm line 64 via  at Database.pm line 60
    -> HandleError on DBI::st=HASH(0x558fda675a80) via CODE(0x558fda641218) (undef)
    <- HandleError= 0 (undef)
    -> STORE for DBD::SQLite::db (DBI::db=HASH(0x558fd9edc5c8)~INNER 'HandleError' CODE(0x558fd9a5e258)) thr#558fd77e5260
    STORE DBI::db=HASH(0x558fd9edc5c8) 'HandleError' => CODE(0x558fd9a5e258)
       ERROR: 1 'fts5: syntax error near ""' (err#0)
    <- STORE= ( 1 ) [1 items] at Database.pm line 70 via  at SQLite.pm line 98
    -> FETCH for DBD::SQLite::db (DBI::db=HASH(0x558fd9edc5c8)~INNER 'Active') thr#558fd77e5260
    .. FETCH DBI::db=HASH(0x558fd9edc5c8) 'Active' = 1
       ERROR: 1 'fts5: syntax error near ""' (err#0)
    <- FETCH= ( 1 ) [1 items] at SQLite.pm line 106 via  at Database.pm line 32
[2020-11-24 17:24:45.87228] [20] [debug] _function_search - query failed!
[2020-11-24 17:24:45.87366] [20] [error] [MhTNx5Ng] DBD::SQLite::st execute failed: fts5: syntax error near "" at /home/perldoc-browser/lib/PerldocBrowser/Plugin/PerldocSearch/SQLite.pm line 98.
 at /home/perldoc-browser/lib/PerldocBrowser/Plugin/PerldocSearch/SQLite.pm line 98.

[2020-11-24 17:24:45.87547] [20] [debug] [MhTNx5Ng] Template "exception.development.html.ep" not found
[2020-11-24 17:24:45.87578] [20] [debug] [MhTNx5Ng] Template "exception.html.ep" not found
[2020-11-24 17:24:45.87607] [20] [debug] [MhTNx5Ng] Rendering template "mojo/debug.html.ep"
[2020-11-24 17:24:45.90578] [20] [debug] Your secret passphrase needs to be changed
[2020-11-24 17:24:45.91161] [20] [debug] [MhTNx5Ng] 500 Internal Server Error (0.052952s, 18.885/s)

Thanks, should be fixed now.


[BUG] Error in types.generated.ts when schema has interface Record

Describe the bug
When a schema.graphql file has an interface called Record the types.generated.ts file with throw an error. In my case the first error is with export type WithIndex<TObject> = TObject & Record<string, any>; as well as:
/** Mapping of interface types */
export type ResolversInterfaceTypes<RefType extends Record<string, unknown>> = ResolversObject<{
To Reproduce

in the schema.graphql file make an interface with name 'Record'
run graphql-codegen

Expected behavior
I am currently getting around this by manually adding a TypeScriptRecord and updating where Record is called:
export type TypeScriptRecord<K extends string | number | symbol, T> = {   [key in K]: T; };
Versions

OS: MacOS
OS Version: 0.7.2
Package name and version:   "@eddeee888/gcg-typescript-resolver-files": "^0.7.2"

Hi @keckrich ,
Interesting problem! Looks like a clash in reserved keywords in TypeScript. I talked to someone at the Codegen team about this issue previously but I'm not sure when or what the fix would be 🙂.
Do you mind creating an issue at https://github.com/dotansimha/graphql-code-generator instead please? If it's implemented there, it would just work with the preset in this repo. 🙂


Node exporter reporting errors for wrong apparmor profile

This is happening with grafana-agent ver 0.35.4 , snap rev. 16, channel latest/stable.
Node exporter stopped collecting metrics and reporting following errors on logs:
Nov 19 10:06:18 juju-204eff-stg-bootstacktools-2 grafana-agent.grafana-agent[3845640]: ts=2023-11-19T10:06:18.644327672Z caller=collector.go:169 level=error integration=node_exporter msg="collector failed" name=systemd duration_seconds=0.013925124 err="couldn't get units: An AppArmor policy prevents this sender from sending this message to this recipient; type=\"method_call\", sender=\":1.4452\" (uid=0 pid=3845640 comm=\"/snap/grafana-agent/16/agent -config.expand-env -c\" label=\"snap.grafana-agent.grafana-agent (enforce)\") interface=\"org.freedesktop.systemd1.Manager\" member=\"ListUnits\" error name=\"(unset)\" requested_reply=\"0\" destination=\"org.freedesktop.systemd1\" (uid=0 pid=1 comm=\"/sbin/init \" label=\"unconfined\")"
Nov 19 10:06:18 juju-204eff-stg-bootstacktools-2 grafana-agent.grafana-agent[3845640]: ts=2023-11-19T10:06:18.700389079Z caller=collector.go:169 level=error integration=node_exporter msg="collector failed" name=processes duration_seconds=0.089580946 err="unable to retrieve limit number of threads: open /proc/sys/kernel/threads-max: permission denied"

I have updated the bug since, since I've just realized that node-exporter is actually working. It is probably just failing to collect processes metrics.

I've deployed grafana-agent snap version 0.35.4, rev 16, from charm rev 65, still seeing these entries on dmesg and syslog output.


Camera access in browser on iPhone

So I am having issues getting the scanner working for chrome on iPhone. I have my app working on a computer and on my android on chrome but when I use an iPhone I am getting a play button with a line through it where the video feed should be. Any suggestions?
(I'm using npm to access the library)

The getUserMedia API is unsupported as of iOS 10.3.1, so LiveStream won't work on a device running iOS.

@liorp... you mean all the browsers on iOS 10 will not see camera LiveStream?
http://caniuse.com/#feat=webworkers,canvas,typedarrays,bloburls,blobbuilder,stream

Yep... cause they don't support getUserMedia()

Darn. I knew Safari wouldn't work but I was expecting it would work in Chrome at least. Step up your web game, Apple! Works on my Nokia Lumia Icon Windows Phone that I've had for nearly 4 years!! 🙄

Hi
In crome would work?

As Chrome on iOS runs on the same WebKit engine as Safari (limited by Apple), it does not support it either. Guess we'll have to wait to iOS 11 to find out if things are better.

On 31 Aug 2017, at 8:18 PM, eddyeHa<EMAIL_ADDRESS>wrote:
Hi
In crome would work?
―
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Hi
I did some research on this and as of iOS 11 access to getUserMedia() is enabled.
But I can't get it to work on my iPhone running iOS 11 (same issue as OP described)...
Will there be a new release in order to support iOS11?
Cheers

Did you try running over HTTPS? It only works over HTTPS

Yep, always over HTTPS.

https://webkit.org/blog/6784/new-video-policies-for-ios/

On iPhone,  elements will now be allowed to play inline, and will not automatically enter fullscreen mode when playback begins.
 elements without playsinline attributes will continue to require fullscreen mode for playback on iPhone.
When exiting fullscreen with a pinch gesture,  elements without playsinline will continue to play inline.

https://github.com/webrtc/samples/commit/37ebbb0b17ccbe7a40215a2b5c55cf206f740e33

So this means we are waiting on a new release of quaggaJS, right?

Dunno, it works for me on iOS 11 with the standard config

@liorp can you please post your config here?
It doesn't work for me, but maybe I can spot any differences in your config which might help.

giftSystem.txt

@reda-alaoui I checked on the generated video tag and the attributes are added correctly:
<video autoplay="true" preload="auto" src="" muted="true" playsinline="true"></video>
But it still doesn't work on iOS...

Has anyone figured out how to get this to work on iOS?

im facing the same issue unable to get ipad camera working in chrome with quaggajs. Both http or https

any movement on this ?

I was able to achieve iPad camera working on safari. I had to include the following files in same order to achieve this:
1.adapter.js
2.Quagga.js
3.live_w_locator.js(Not mandatory - you can use your own js based on your html)
For me chrome is still an issue in iPad as current iOS version 11 also uses the same webkit engine as safari which is limited.

I found out after some debuging without a mac
https://stackoverflow.com/questions/11403107/capturing-javascript-console-log
I found I was getting a constraint error, wich led me here
https://stackoverflow.com/questions/46981889/how-to-resolve-ios-11-safari-getusermedia-invalid-constraint-issue
Then I notice 640x480 size works. BUt not 320x240....
Off the example page https://serratus.github.io/quaggaJS/examples/live_w_locator.html
So glad I finally got it working... Though what sucks is not sure how to copy the example where it scales it down but. Get it sooner or later....

Finally, I can get this camera works on Safari only, Chrome and Edge still displays "getUserMedia is not defined".
Seems like Apple doesn't allow other browsers to play fair with their Safari. Shame.

How did you get it to work on safari? @thaibinh1909

@nove1398 you can check a sample here
https://github.com/ijmacgregor/sapui5-barcode-scanner/
Regarding the author

@thaibinh1909  thanks i will look into it,because I needed to get this done for a project

got it working on safari ios with
but ONLY if running in browser not when started as webapp from the homescreen.
I am curious if there are workarounds for that or if apple communicated somewhere that in standalone it behaves differently. could not find anything.

I am curious if there are workarounds for that or if apple communicated somewhere that in standalone it behaves differently. could not find anything.

I have read somewhere that a webapp place on homescreen is not properly covered by Safari so iOS revoke media access and at this moment, there is no workaround but use Safari bookmark. We have to wait for next iOS release

Not sure what you guys mean by web app but I can use the camera on safari through a shortcut from the home screen just fine. ios 12.1.4.. Just use the demo as a test > https://serratus.github.io/quaggaJS/examples/live_w_locator.html
Unless I'm miss understanding what you guys are talking about, seems to work just fine.

@KurtBliss: to clarify: I mean a Progressive WebApp with <meta name="apple-mobile-web-app-capable" content="yes" /> in it's head.

Yep... cause they don't support getUserMedia()

Actually, they do support but from IOS 11 and on....

I read this whole thing I am still looking Thank you all for the input


creates tutorial page and styles

Got the tutorial page up and roughed in with some initial styling.

Looks good!

That looks fantastic Elizabeth! Awesome job.
On Wed, Mar 6, 2019 at 12:59 PM Karolyn Wooley<EMAIL_ADDRESS>wrote:

Merged #2 https://github.com/andylwilson/itc134-wn19-a6-nodejs/pull/2
into master.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/andylwilson/itc134-wn19-a6-nodejs/pull/2#event-2185384606,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ako5RNggkhv_ThaA0o0iv9WrzmPGmmmcks5vUCwrgaJpZM4bhwit
.


How to calculate the energy-dependent self energy from both three-phonon and four-phonon scattering?

Dear developer,
The lineshape section of manual shows " This code calculates the energy-dependent self energy from three-phonon scattering, as well as the contributions from mass imperfections and four-phonon scattering". But I didn't find any introduction on how to include the four-phonon scattering. Meanwhile, your paper entitled “Anharmonicity and ultralow thermal conductivity in lead-free halide double perovskites” also includes the contribution of the four-phonon scattering. So I wondered what command can be used to incorporate four-phonon scattering into self-energy calculation. Thank you very much.
Best regards,
Junwei Che

Hi @chejunwei2 ,
you can include fourth order scattering via lineshape --fourthorder. You can check with --verbose that it is included, you should get output like
...
 Calculating lineshapes for a single q-point
          liso: T
   lthirdorder: T
  lfourthorder: T
...

Please note that this will include the fourth-order terms only in the real part of the self energy, i.e., for the frequency shifts. Linewidths/lifetimes will be unaffected!

Thank you very much for your reply.


nested sub-categories

Hello :)
While using this package i noticed that everytime i retrieved my categories collection while eager loading it's children's sub categories. The children's doesn't really get eager loaded and we end up with the tipical 1 +x n problem. If we loop through each child categories.
How can we avoid this?

By doing things like:
$category->load('children');
$categories = $this->api('category.index')
            ->parameters(['with' => ['children']])
            ->get();
$category = Category::with('children')->find(1);

It have to be done in the Controller and not the Model with the $with attribute cause in this case it will run in an endless stack of loop and recursiv function calls and this will be end with an 500 error.