Microsoft IIS and Microsoft SQL Server

Check if the plugin works with Microsoft IIS and Microsoft SQL Server

I tested it. The "create table" statement will not work on Microsoft SQL Server, nor SQLite, Access and probably also PgSQL.
Maybe we could make an interface to the database (sql slang) plugins to create tables? But then we would need to stick to very simple types (int, bool, string?) which exist on all supported DBMS

Hello Daniel,
I know you are not a fan of frameworks and dependencies.
But surely I have a Database favorite I like to show you, as it would be ONE File dependency:
Its Meedo: https://medoo.in/api/new
PHP must be >= 7.3, maybe you want to support 7.0 for OIDplus?
But maybe you can get inspiration or fork the class, if the license allows it, to make it ready for OIDplus, rather to "reinvent the wheel"?
As for the table creation, I would suggest to provide install/upgrade/install plugin scripts in extra/admin processes. Plugins can define their tables in config files which the install/upgrade script reads (and "compiles"). That is how I did it in the previous version of the Frdlweb Framework.

Yes, I would like to keep PHP 7.0 compatibility as long as it is possible without too much effort or problems. I don't have problems with dependencies if they are so tiny, but I'd like to prevent frameworks.
Medoo sounds very interesting. But I'd only be interested in the "create table" part.
Unfortunately, it doesn't seem to be right in my opnion:
For example, take this example:  https://medoo.in/api/create
In their definition, they write "AUTO_INCREMENT", which is not valid for Microsoft SQL. So, it doesn't work. In this case, Medoo only takes care of the correct column and table quotes, but it does not abstract the types.
I would like to implement something similar, but my library should handle the types correctly.  (e.g. I enter "BOOL" and it will be converted to "bit" for MSSQL, for example)

There is another one out there: https://www.doctrine-project.org/
Maybe this does what you mean by "abstraction".
But it is big chunk of dependencies, probably too heavy.

The plugin does not use database anymore ( #10 ), therefore, there is no incompatibility with Microsoft SQL Server, PostgreSQL, etc. anymore
The idea of having a "create table" abstraction is listed in the TODO file of the OIDplus system
Therefore, closing this issue.


Add a post on comments

✍  on comments

I'm  also pretty sure that auto-deploys aren't working yet either - as my call to action re: comments isn't showing

ef388e7 fixed deploys


Begin linting with PDK

Added gems needed for pdk validate and cleaned up metadata.
https://puppet.com/docs/pdk/1.x/pdk_testing.html
There are 750+ puppet-lint / rubocop violations in the module that may affect the code quality score.
https://gist.github.com/shermdog/4c5c464467d334ea7badfc5dd3ecabef
May want to consider using pdk convert to bring module template in line with ours.
https://puppet.com/blog/guide-converting-module-pdk
https://puppet.com/docs/pdk/1.x/pdk_converting_modules.html
Note on removing PE version from metadata
https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/puppet-users/nkRPvG4q0Oo/GmXa109aJQAJ

@shermdog ... Thank you for the PRs. I have merged the other two PRs. We have added rubocop and puppet-lint to our code-base and this should resolve all the linting issues. I'm closing this PR, and  incorporating the metadata.json changes in https://github.com/cisco/ciscoacipuppet/pull/9.


Support for Multiline Strings

Example:
var text = This Is A Multiline String;
http://www.ecma-international.org/ecma-262/6.0/#sec-template-literal-lexical-components
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/template_strings
https://developers.google.com/web/updates/2015/01/ES6-Template-Strings?hl=en#multiline-strings

+1

This seems to be a duplicate of already implemented #2193?

#2070 (this issue) was submitted on 11-04-2015. #2193 is a duplicate that was later submitted on 01-04-2016. Call me petty and I'll call you Betty!

Added "multiline" as search keyword for https://caniuse.com/#feat=template-literals


Persistent Shares

Can the system persist a share/mount between sessions and different computers?
Actually, I want the the share to be available after I switch from one Chromebook to another, assuming the Chromebook has access to the network of course.
Thanks, Jerry

@jcrick69 I think that a shareing of configurations can be implemented, but a sharing of such mounting state (ex. if you mount some server on your Chromebook A, the server is mounted automatically on your Chromebook B) cannot be implemented (at least, I don't want such feature).
For example, currently, the chrome.storage.local has been using: https://github.com/yoichiro/chromeos-filesystem-cifs/blob/master/app/scripts/window.js#L261 When I change it to the chrome.storage.sync, the configurations will be shared with your Google account. Is this the feature you're expecting?

OK, thanks. Actually, the mount is also lost when you logoff.
Jerry


hello,could anyone can tell me why?Could not resolve com.google.ar.sceneform:plugin:1.12.0.

my android stuido version is 3.5.1
i run hellosceneform throws error:
org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all artifacts for configuration ':classpath'......
........................
org.gradle.internal.resolve.ModuleVersionResolveException: Could not resolve com.google.ar.sceneform:plugin:1.12.0.

i can download the plugin from:https://dl.google.com/dl/android/maven2/com/google/ar/sceneform/plugin/1.12.0/plugin-1.12.0.jar
but the android studio cannot download this plugin ,why?


negative percentage offset in relative mode

It's either working differently than I thought or it doesn't work at all.

This should change opacity from 1 to 0, when 10% of the #foo is above the fold, right? but it doesn't..

or basically when #foo is 2000px, and I use data--200-top to data--300-top, I should get the same result as from data--10p-top to data--15p-top, right??

so it seems that it's really relative to viewport, I've made a couple of changes, introducing ep which stands for "element percentage", so given anchor target is 2000px, data--200-top is gonna be the same as data--10ep-top..

Your changes look good, but honestly I haven't looked at the skrollr source in ages.


[Wiki] Add documentation of ActionKeys for PT-Run

📝 Provide a description of requested docs changes
We should list the action keywords for search queries in PT Run in our wiki.

Duplicate of #7678

Oooops. Loks like @enricogior had the same idea at the same time. 😂


Snippets Approve not working

Describe the bug
when we navigate to admin page on /root route we can approve or reject the snippets .Reject works perfect but when we try to accept it throws the error
To Reproduce
Steps to reproduce the behavior:

Go to   admin page
Click on  Approve of any pending snippet
It gives you a toast message "Error accepting snippet request"

Expected behavior
we should be able to approve seemlessly
Screenshots

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.

Hey @notsoocool Can you add it under gssoc-ext and also the level and assign me, i have the solution in my local repo

I solved the issue just add the labels so that i can raise pr

it because you have not filled all the property, thats why its throwing an error

Sure you can go ahead, i dont know how it was not working, it was working before

Sure you can go ahead, i dont know how it is not working, it was working before

i checked got the error, you can go ahead, if you get stuck do tell me

raise a pr #28 to resolve the issue


In webconsole I see message about that it can't load bar-card.js

HA: 0.110.4
HACS: 1.0.3
Bar-card: 3.1.6
I have installed bar-card through HACS. I've had it installed for a while, but just noticed this message in the webconsole:

I've tried uninstalling bar-card and searching for remnants, and removed a few, and then reinstall the bar card, but no change, it still shows up?
I have no idea if it's a bar-card issue or a lovelace issue, or maybe even a hacs issue?

Seeing this as well.

Also in the Ha log:
Tried to serve up '/config/www/community/bar-card/index.m.js.map' but it does not exist

Should be fixed in 3.1.7.


Using local schema.graphql, getting error "ApolloGraphQL: cannot find schema.[json | sdl]"

We're using a local schema in SDL, instead of puling in schema.json through introspection. The file (schema.graphql) is added to the folder path "./src/main/graphql/com/android/data/", in relation to the Android project directory.
On build we're getting the error: "ApolloGraphQL: cannot find schema.[json | sdl]".
One thought is maybe the schema is mal-formatted, however the same schema.graphql file works fine on iOS. Seems like there may be some unexpected handling of local SDL schema on Android side?  Our server does not allow introspection, so this is the only way for us to setup graphql.

Hi @RLEE0731 👋
You'll have to rename your schema.graphql file to schema.sdl. This is so that it's not confused with other *.graphql operation files. Alternatively, you can also use schema.graphqls starting with version 2.5.5

ah I see, that did the trick! Thanks for the clarification :)


delta - pull data for an interesting month with high solar production

Detailed Description
For the delta view prototype, it would be good to run the delta view on data with lots of sunshine (ie. July in the UK).

@braddf and @rachel-labri-tipton have a meeting with @peterdudfield next week (16/11/22) to learn more about thos

Would you prefer raw SQL commands, or python code to do the data fetching?
Perhaps the python way would be better to learn, it looked something like
# import packages
from nowcasting_datamodel.connection import DatabaseConnection
from nowcasting_datamodel.read.read_gsp import get_gsp_yield
from datetime import datetime

# make connection
url='need-to-set)
connection = DatabaseConnection(url=db_url, echo=True)

with connection.get_session() as session:
    # read database
    gsp_yields = get_gsp_yield(session=session,
                                                    gsp_ids=[0,1,2,3]
                                                    start_datetime_utc=datetime(2022,7,1)
                                                    gsp_ids=datetime(2022,7,2))

# change to json and save

i haven't tested this., but this gives you an idea

personally, I'd prefer working with python to do the fetching. but let's see what @braddf feels like.

prep for meeting
# import packages
from nowcasting_datamodel.connection import DatabaseConnection
from nowcasting_datamodel.read.read_gsp import get_gsp_yield
from nowcasting_datamodel.read.read import get_latest_forecast_for_gsps
from nowcasting_datamodel.models.gsp import GSPYield
from nowcasting_datamodel.models.forecast import Forecast
from datetime import datetime

# make connection
url = "need-to-set"
connection = DatabaseConnection(url=url, echo=True)

# get gsp yields
with connection.get_session() as session:
    # read database
    gsp_yields = get_gsp_yield(
        session=session,
        gsp_ids=range(0, 1),  # could be 0 to 318
        start_datetime_utc=datetime(2022, 7, 1),
        end_datetime_utc=datetime(2022, 7, 2),
    )

    # list of pydantic objects
    gsp_yields = [GSPYield.from_orm(gsp_yield) for gsp_yield in gsp_yields]

# get latest foreasts
with connection.get_session() as session:
    forecasts = get_latest_forecast_for_gsps(
        session=session,
        gsp_ids=range(0, 1),
        historic=True,
        start_target_time=datetime(2022, 7, 1),
        end_target_time=datetime(2022, 7, 2),
    )

    forecasts = [Forecast.from_orm_latest(forecast) for forecast in forecasts]

# plot
import plotly.graph_objects as go

x_pv_live = [gsp_yield.datetime_utc for gsp_yield in gsp_yields]
y_pv_live = [gsp_yield.solar_generation_kw / 1000 for gsp_yield in gsp_yields]

x_forecast = [forecast_value.target_time for forecast_value in forecasts[0].forecast_values]
y_forecast = [
    forecast_value.expected_power_generation_megawatts
    for forecast_value in forecasts[0].forecast_values
]

fig = go.Figure(
    data=[
        go.Scatter(x=x_pv_live, y=y_pv_live, name="pvlive"),
        go.Scatter(x=x_forecast, y=y_forecast, name="forecast"),
    ]
)
fig.show(renderer="browser")


Get rid of time crate, use std::time instead

I worked on this and got pretty far, it needs the signal crate to be ported to std::time, too.
https://github.com/skade/vagga/tree/issue-231-get-rid-of-time-crate
I'll work on that later.

Seems to be solved.


Add some more type definitions

Here are a bunch of type definitions that we need to use SIP.js. Up until now, they were either included in @typings/sip.js or we were casting objects to any.
Here is a list of the changes:

add constructor and invite() for InviteClientContext
While it is debatable whether these are part of the public API or not,
they are currently the only way to create a new session asynchronously,
e.g. within a Promise.

add missing peerConnection in SessionDescriptionHandler
I set it as a non-optional field, because it is set in the constructor
and never unset; this makes the using code easier as it removes the
necessity to check for the peerConnection property to be defined.

add missing assertedIdentity field in Session

export NameAddrHeader class
This is required to be able to perform such a construct:
import * as SIP from "sip.js"
const h = SIP.NameAddrHeader.parse(request.getHeader("Diversion"));

add basic type information for Subscription

Just as a heads up, we are actively transitioning the entirety of the code to typescript/es6. This will hopefully make the types folder unnecessary, but at minimum the new code will match what is in the types folder at the time of the transition getting onto master.

@egreenmachine thanks for merging.
I know about these plans (it's nice); my understanding was that you would likely try to keep the interface unchanged, so the better the current interface, the more likely things won't get forgotten.
Also getting rid of @types/sip.js would be nice.

Yes we are trying to make sure we match these interfaces.
Let me look into getting us removed from DefinitelyTyped

We have been removed from DefinitelyTyped. https://github.com/DefinitelyTyped/DefinitelyTyped/commit/6e2665ccc54cd52fc3b7774d3accd43e7fcc1be0


Research how to support portal apps

[ ] Create simple example in the EDS environment
[ ] Document procedure in issue

Portals:
In short, Power App Portals was made to quickly create a website and customise it with pages, layout, and content. Makers can reuse page designs through templates, add forms and views to display key data from Dataverse, and publish to users. Since it's web-based, CSS is used under the hood.
Edit CSS for themes in Power Apps portal
By default, bootstrap.min.css and theme.css files are available. You can edit the existing CSS files and upload new CSS files. When you upload a new CSS file, it will be available as a web file in the Portal Management app.

Portals use the Bootstrap front-end framework  to control the design and layout of the website.  You can take advantage of the customisation options that are provided by Bootstrap to tailor the theme in a way that’s applied consistently to the entire portal.

Using CSS, where possible, has certain advantages:

CSS applies on load; it’s faster because you don’t have to wait for the document to finish loading.
CSS is always on and continues to apply to the relevant elements, even if JavaScript changes the document structure and adds or removes the elements.
For certain tasks that are related to an element’s visibility and responsive layout, CSS can be simpler to use than JavaScript, meaning less maintenance and less room for error.

Portals:
In short, Power App Portals was made to quickly create a website and customise it with pages, layout, and content. Makers can reuse page designs through templates, add forms and views to display key data from Dataverse, and publish to users. Since it's web-based, CSS is used under the hood.
Edit CSS for themes in Power Apps portal
By default, bootstrap.min.css and theme.css files are available. You can edit the existing CSS files and upload new CSS files. When you upload a new CSS file, it will be available as a web file in the Portal Management app.

Portals use the Bootstrap front-end framework  to control the design and layout of the website.  You can take advantage of the customisation options that are provided by Bootstrap to tailor the theme in a way that’s applied consistently to the entire portal.

Using CSS, where possible, has certain advantages:

CSS applies on load; it’s faster because you don’t have to wait for the document to finish loading.
CSS is always on and continues to apply to the relevant elements, even if JavaScript changes the document structure and adds or removes the elements.
For certain tasks that are related to an element’s visibility and responsive layout, CSS can be simpler to use than JavaScript, meaning less maintenance and less room for error.

So what that basically means is we would need a bootstrap theme to support Power App Portals 🤔 I wonder how that applies to components, assuming Microsoft is using Fluent UI components in the web portal. Have they added that as custom Bootstrap components?

Waiting for access in Power Apps Portals


Hypermedia links for actuator web endpoints are incomplete

Spring Cloud Gateway provides an Actuator API, which can be enabled via config properties.
Once enabled, the hypermedia controls on the Spring Boot /actuator endpoint now includes a link named gateway, which links to /actuator/gateway.
Problems

Following the link to /actuator/gateway results in an HTTP 404 - this path is not mapped directly
The actual Gateway actuator endpoints are not discoverable via hypermedia controls

Expected Result
The Spring Cloud Gateway actuator endpoints are fully discoverable via hypermedia controls (aka following links starting from /actuator)
Suggested solution 1:
The endpoint /actuator/gateway could provide links to the actual Gateway actuator mapped paths in the table below.
Suggested solution 2:
The Gateway actuator mapped paths are all linked from the main /actuator endpoint
References
The following table below summarizes the Spring Cloud Gateway actuator endpoints (note that each endpoint has /actuator/gateway as the base-path):

Source: Spring Cloud Gateway Docs

ID
HTTP Method
Description

globalfilters
GET
Displays the list of global filters applied to the routes.

routefilters
GET
Displays the list of GatewayFilter factories applied to a particular route.

refresh
POST
Clears the routes cache.

routes
GET
Displays the list of routes defined in the gateway.

routes/{id}
GET
Displays information about a particular route.

routes/{id}
POST
Adds a new route to the gateway.

routes/{id}
DELETE
Removes an existing route from the gateway.

Same issue. I was having trouble setting up my gateway routes and without the actuator endpoints it is like working blind. I had to debug the spring gateway code to find out my route configuration.

Does #3163 solve your issues?

Yes, thank you!
(but a little surprised that this doesn't follow what Spring HATEOAS preaches)


Access violation when trying to print with POS printer

Describe the bug
I don't know, which repo is the best for report, but here are the most active people, so sorry if it is unrelated.
I have POS printer Rongta RP80 with support DLL POSDLL.dll. Printing on WPF is absolutely okay, but with WinUI app it is problem. Printer is connected via USB, drivers are installed and windows test print is working.

Is any solution for this problem? Any hack or workaround to solve it? Or is possible to solve it with unpackaged app instead of packaged?
Printer is okay, is connected and opened, but commands fail.
Steps to reproduce the bug

Steps to reproduce the behavior:

WinUI app with library POSDLL.dll and trying to print

Expected behavior
Should print
Version Info
ProjectReunion - 0.8.1

Windows version
Saw the problem?

Insider Build (22000.120)
Yes

October 2020 Update (19042)

May 2020 Update (19041)

November 2019 Update (18363)

May 2019 Update (18362)

October 2018 Update (17763)

April 2018 Update (17134)

Fall Creators Update (16299)

Creators Update (15063)

Device form factor
Saw the problem?

Desktop
Yes

Xbox

Surface Hub

IoT

I think WindowsAppSDK is more approriate for this.

Thanks for reporting this! @AdamBraden would you be the right person to initially take "Things that worked in unpackaged apps but don't work in packaged apps" like this issue?

@JanRajnoha - the attached project appears to be winforms app, not using the WindowsAppSDK nor WinUI. Can you provide a github repo of a WinUI project?
Thanks,
Adam

I create repo with solution of WPF and WinApp SDK, where I have problem. Currently I have only solution in project for customer.

Maybe, repo won't be necessary. I found out, when I yesterday was trying to make new Epson pos printer functional, I installed many and many different drivers and so on and during creating test repo for you @AdamBraden, I was shocked, because Rongta printer worked. I think, one thing, what wasn't mentioned, was OPOS for .NET, which I installed during Epson installation. So, for this time, it is working, and I will try to confirm this solution.

it looks problem was with missing OPOS for .NET. Now it is working all okay


Fix typescript regex attribute error

Fix issue #28
Really strange behaviour. I don't want to do fingerpointing, but to me it seems like a TypeScript error. Not 100% sure though. Will investigate more later where the problem actually was.
Anyway it works now as expected.

I see that you changed the parser files, but why is there no test for how many items are there? That way, we could watch changes to TypeScript/NodeJS regexes, and periodically see if they've fixed our use case.
There is a performance hit with this change, but it's likely not relevant to our circumstances.

@proegssilb
Yes thats a great idea. Thought do you have an idea how we get the moves / avatarcostumization lengthwhich will be tested? What I mean by that; currently the array of output/move.json has 177 items. Can we be sure that this is currently the actual amount of moves in pogo, or does our code has another bug?
I think we should not bother about that performance issue.

http://www.serebii.net/pokemongo/moves.shtml lists 58 fast moves and 118 special moves, totaling 176. That's close enough for a possible math error, since Serebii's tables don't have proper thead tags. Feel free to double-check my math, though.

@proegssilb I count 176 using jQuery counting the ""-Elements of those tables. Kinda hard to find out who's wrong :/

I tried to use python to do a diff against the moves in the JSON and the moves on Serebii, but the results were extremely poor. Manually searched for all moves reported in the issue, and they're present, possibly with the suffix "Fast". Merging.

I also saw that Serebii removed the "Fast" suffix. I think we should do that too. I create an issue for that.


feat(docs): Add common use cases

Adds common use cases of Firezone.

Adding @ReactorScram for another set of eyes -- 10 minutes of review should be more than enough 🙏


HBASE-27406 Make "/prometheus" endpoint accessible from HBase UI

Before this change, Prometheus metrics were only accessible via the '/prometheus' endpoint.
I made changes in the UI, so instead of Metrics Dump there's a dropdown menu called Metrics with the JMX and Prometheus metrics.
I also included the metrics description, so there are four endpoints available from there:

JMX
JMX with description
Prometheus
Prometheus with description

Apache JIRA: https://issues.apache.org/jira/browse/HBASE-27406

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 35s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ master Compile Tests _

+0 :ok:
mvndep
0m 13s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
2m 18s
master passed

+1 :green_heart:
spotless
0m 38s
branch has no errors when running spotless:check.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 10s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
2m  2s
the patch passed

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
spotless
0m 36s
patch has no errors when running spotless:check.

_ Other Tests _

+1 :green_heart:
asflicense
0m 21s
The patch does not generate ASF License warnings.

8m  4s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4833/1/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/4833

Optional Tests
dupname asflicense javac spotless

uname
Linux 801624ec7a90 5.4.0-1081-aws #88~18.04.1-Ubuntu SMP Thu Jun 23 16:29:17 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / b68229c479

Default Java
Temurin-1.8.0_345-b01

Max. process+thread count
64 (vs. ulimit of 30000)

modules
C: hbase-server hbase-thrift hbase-rest U: .

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4833/1/console

versions
git=2.17.1 maven=3.6.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m  2s
Docker mode activated.

-0 :warning:
yetus
0m  3s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ master Compile Tests _

+0 :ok:
mvndep
0m 13s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
3m 28s
master passed

+1 :green_heart:
javadoc
1m 15s
master passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 12s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
3m 16s
the patch passed

+1 :green_heart:
javadoc
1m 19s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
238m 14s
hbase-server in the patch passed.

+1 :green_heart:
unit
7m 12s
hbase-thrift in the patch passed.

+1 :green_heart:
unit
4m 22s
hbase-rest in the patch passed.

262m 39s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4833/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/4833

Optional Tests
javac javadoc unit

uname
Linux 0d9ffc01c3e5 5.4.0-1081-aws #88~18.04.1-Ubuntu SMP Thu Jun 23 16:29:17 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / b68229c479

Default Java
Eclipse Adoptium-<IP_ADDRESS>+1

Test Results
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4833/1/testReport/

Max. process+thread count
2737 (vs. ulimit of 30000)

modules
C: hbase-server hbase-thrift hbase-rest U: .

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4833/1/console

versions
git=2.17.1 maven=3.6.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.


Question

how can I change the size of the numbers?

The numbers are locked to scale consistently with the rest of your GUI. Trust me when I say they don't scale well otherwise


Advice about STP exporting/KiCad?

I've been designing a PCB with KiCad and I've been finding it handy to make a footprint out of a proposed YAPP box in order to sanity check it and make sure everything's where I think it is. For a 2d footprint, I've found that adding

projection(cut=true) translate([0,0,-8])

just before the YAPPgenerate(); will give me a 2d drawing I can export to a DXF and import directly into KiCad. Adjust the z value in order to define what z level to make the projection through.
But what if you want to add a 3d model to the footprint? Well, KiCad requires a STEP file and a WRL file for its 3d models and OpenSCAD doesn't support that. The recommendation I've found for turning an OpenSCAD document into STEP/WRL files is to use FreeCad as an intermediary. I've attempted some simple OpenSCAD example documents in FreeCad and they work fine, but I've pretty much had no luck importing an YAPP model into FreeCad. At best I get a dozen or so primitive objects imported and hundreds of lines of DXF import error messages. I've tried both the built-in OpenSCAD importer and the "Alternate" importer that's a plugin (which claims to support more native OpenSCAD directives).
Before I throw more time into trying to get this working, I was wondering if anybody had already found a set of import preferences and plugins that work acceptably for this purpose. Thanks!

This is not an issue.
For questions you can better use my website.
See this comment.


replaced flask.ext with flask_

Tested with Flask 0.12 and Flask 0.8 locally on the tests in test_session.py
Addresses #59

Fixed in #49


Subtle UX bug

This will fail:
g := NewGraph()
x := NewVector(g, Float64, WithShape(4))
e := NewMatrix(g, Float64, WithShape(4, 10))
w := NewMatrix(g, Float64, WithShape(20, 10))
w2 := NewMatrix(g, Float64, WithShape(10, 20))
xe := Must(Mul(x, e))
act := Must(Cube(Must(Mul(w, xe))))
do := Must(Dropout(act, 0.5))

act2 := Must(Cube(Must(Mul(do, w2))))
cost := Must(Sum(act2))

_, err := Grad(cost, x, w, w2)
if err != nil {
	// ioutil.WriteFile("fullGraph.dot", []byte(g.ToDot()), 0644)
	t.Errorf("%+v", err)
}

Specifically it will fail when calculating the gradients of this line:
Must(Mul(do, w2))

>>> Shape mismatch: (20) and (10)

This is because Mul(a, b) has its semantics overloaded. When a is a vector and b is a matrix, Mul does bᵀ × a, but there is no way for the Grad function to know this. Therefore Mul(vec, Mat) is allowed (no panics), but when it comes to calculating the symbolic derivatives, it fails due to shape mismatch.
Current Solution
A hacky solution would be to do this: where Mul(vec, Mat) is called, switch the mat and vec around, to be this: Mul(Mat, vec), but this should still be fixed because it is poor usability

Would there be time when you want to do a Vec * Mat without a transpose as a tensor product to create a 3-d tensor?


Added ability to delete all messages from channels

Channel messages are just ads. We need to delete them on the spot.

Wrong repo :D


iam report charts not drawing correctly

When an IAM principal is using 3/3 services it is showing as 3 used and 3 unused, instead of 3 used and 0 unused.

Resolved by #347


fix #484: allow to skip camel k check

Fixes #484
Proposed Changes
This adds a way to force the controller to consider camel k already installed without checking.
Release Note

NONE

/ok-to-test

/lgtm
/approve


Limiting Concurrency

Thanks for this library! Would it be hard to add limitting concurrency? Would love to use this library with upstash redis to limit API calls, but a few APIs incur concurrency/parallelity limitations. Currently using bottleneck.

Could you please give some more details about what you are trying to achieve?

Lets say I want to call API a, which has these limitations:

100 requests per minute
2 concurrent requests max at the same time

Here is an example with Bottleneck:
const limiter = new Bottleneck({
  reservoir: 100, // initial value
  reservoirRefreshAmount: 100,
  reservoirRefreshInterval: 60 * 1000,
  maxConcurrent: 2,
});

With upstash ratelimit:
const ratelimit = new Ratelimit({
  redis: Redis.fromEnv(),
  limiter: Ratelimit.slidingWindow(100, "60 s"),
});

But we're missing the concurrency part to limit this to 2 maximum requests in parallel.

I believe, without locking we can't achieve that right now. We are about to release a distributed lock soon. Maybe we can couple it with this and allow users to limit the concurrent access.

Thanks @ogzhanolguncu, Sounds cool, is there any info about the distributed lock already?

We released it yesterday, here you go. https://github.com/upstash/lock

bump

I've just tried to use the ratelimitter of up stash again. lock doesn't really help because it neither allows to wait for until the lock is resolved nor does it allow to set a concurrency @ogzhanolguncu :(

We are planning to add a native support for concurrency pretty soon.

Great, would love to be pinged. I've implemented Bottleneck for now. Happy to switch to ratelimit-js once concurrency works well.


Update 5.property-reference.md

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Mounting nfs filesystem not working

Cookbook version
1.0.0
Chef-client version
14.12.9
Platform Details
Ubuntu 18
Scenario:
Mount a nfs filesystem, specially AWS efs filesystem.
Steps to Reproduce:
Use the following attributes:
    "filesystems": {
      "postgres_archive": {
        "device": "XXXXX.efs.us-east-1.amazonaws.com:/",
        "mount": "/mnt/mount_point",
        "package": "nfs-common",
        "fstype": "nfs",
        "options": "nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2,noresvport"
      }

Expected Result:
The mount action is not ignored and the filesystem is mounted.
Actual Result:
The mount action is ignored because of the only_if https://github.com/sous-chefs/filesystem/blob/master/providers/default.rb#L210
I'm not sure if this is expected behaviour but test -b fs-dns always returns status code 1 when the fs is actually available.

Nice diagnosis of the problem.  test -b looks for a block device.  The embedded mount command would need work to mount NFS file systems.  This cookbook is really designed to manage block devices, not NFS.  There is an embedded mount resource, but the mount resource can be called by itself without using filesystem.

#90 should resolve mounting an NFS filesystem.  Support for NFS is going to be limited though.


Using additional (pose) parameters

Hello,
I first want to thank you for getting the 3D pose detection up and running so quickly :).
I have a question though, because I do not have much experience with the details of graphs.
I managed to toggle smooth landmarks in the pose graph by adding "input_side_packet: "SMOOTH_LANDMARKS:smooth_landmarks"" to the PoseLandmarkGpu/Cpu node in the graphs. And the bool value was already being loaded into a SidePacket form C#. This seems to work fine.
But I saw on the MediaPipe site that there is also a MIN_TRACKING_CONFIDENCE parameter that I would like to play with. However, when I add that to the graph and the SidePacket in the same way, Unity Editor just crashes. I did not find much about enabling this parameter in MediaPipe, except some python examples.
Does this only work on Gpu? (I did not try making an Android build yet but I will)
Or otherwise, is there any way to modify these kind of parameters? (For pose, there are also MIN_DETECTION_CONFIDENCE and STATIC_IMAGE_MODE, for instance, although I don't need to change those)
Thank you for the great work :)

I'm not familiar with Python APIs, but I suppose min_tracking_confidence is only supported in Python (and maybe CPU only).
See https://github.com/google/mediapipe/blob/374f5e2e7e818bde5289fb3cffa616705cec6f73/mediapipe/python/solution_base.py#L393 and https://github.com/google/mediapipe/blob/374f5e2e7e818bde5289fb3cffa616705cec6f73/mediapipe/python/solutions/holistic.py#L115
smooth_landmarks can be passed to MediaPipe through input_side_packet, but min_tracking_confidence is not declared as such. In the above code, they rewrite the CalculatorConfig dynamically like this (of course, you can apply a patch and modify the definitions of internal graphs (e.g. PoseLandmarkGpu) instead).

However, when I add that to the graph and the SidePacket in the same way, Unity Editor just crashes.

I'm not sure but there may be some bugs in your code. If the given side packet is not used in the CalculatorConfig, it is usually ignored.

Thank you for the explanation. I understand the problem, but I have no experience with modifying the internal graphs, so I will not try that now :).
Just to clarify, what I mentioned was that I just did this in the C#:
sidePacket = new SidePacket();
sidePacket.Emplace("smooth_landmarks", new BoolPacket(smoothLandmarks));
sidePacket.Emplace("min_tracking_confidence", new FloatPacket(minTrackingConfidence));
And modified the pose_tracking_XXX.txt files in the samples like this:
node {
  calculator: "PoseLandmarkXXX"
  input_stream: "IMAGE:transformed_input_video"
  input_side_packet: "SMOOTH_LANDMARKS:smooth_landmarks"
  input_side_packet: "MIN_TRACKING_CONFIDENCE:min_tracking_confidence"
  output_stream: "LANDMARKS:pose_landmarks"
  output_stream: "WORLD_LANDMARKS:pose_world_landmarks"
  output_stream: "DETECTION:pose_detection"
  output_stream: "ROI_FROM_LANDMARKS:roi_from_landmarks"
}
But I understand that the input_side_packet is not defined in the referenced internal graph, and that is why this crashes. (The smooth_landmarks side packet works fine, of course)
Thank you for your help, I will close this and look into modifying graphs another day :)


Drop now-deleted -a option from vg pileup options

Glenn dropped this option, but toil-vg still wants to pass it, which makes the bakeoff script not work.
This is going to screw up your pileups unless you switch your VG containers to a build after today, or pass your own pileup options.

Starting to think removing -a was more trouble than it's worth.


Number converted to string when the form is submitted

Hello,
I'm playing with the example at the same time developing my own application, and first I would like to say thanks a lot for this library !
I have notice a bug when a form is submitted: numbers are converted to strings.
For example logging the "values" object when submit is performed:
 { name: 'joel', age: '34', gender: 'alien' }

The quote around the 34 value should not be there :) Age is defined as a "number" in my schema.
Joel

Hello Joel
Numbers are not converted to string, at least not on modern browsers that support the type="number" input.
Have a look in the playground: https://jsonform.github.io/jsonform/playground/index.html?example=schema-morecomplex
BR

Hello Joel
Numbers are not converted to string, at least not on modern browsers that support the type="number" input.
Have a look in the playground: https://jsonform.github.io/jsonform/playground/index.html?example=schema-morecomplex
BR

Hello @tchapi
Thanks for the quick reply. Double checked what I was doing in my app and found what was wrong. I was using a form defined with:
<form id="myform" action="/url" method="POST"></form>

And without using "onSubmit" callback.
Maybe you can indicate in the wiki it's mandatory to use onSubmit to avoid unwanted behavior.
Thanks for the help.
Joel

Hello @tchapi
Thanks for the quick reply. Double checked what I was doing in my app and found what was wrong. I was using a form defined with:
<form id="myform" action="/url" method="POST"></form>

And without using "onSubmit" callback.
Maybe you can indicate in the wiki it's mandatory to use onSubmit to avoid unwanted behavior.
Thanks for the help.
Joel


Can't import the named export 'createContext'.

I'm getting this error, can you help me?
<EMAIL_ADDRESS>Can't import the named export 'createContext' from non EcmaScript module (only default export is available)

Hello, if you're are using create-react-app please see https://github.com/remotelock/react-week-scheduler/issues/7#issuecomment-664485857 there is a fix !

Hello, if you're are using create-react-app please see https://github.com/remotelock/react-week-scheduler/issues/7#issuecomment-664485857 there is a fix !

thank you so much!!

thank you so much!!


[BUG] When browsing plugins in obsidian comunity store the text overview is not in the correct position

[BUG] When browsing plugins in obsidian comunity store the text overview is not in the correct position

Other than that just wow, great job

@Maldonacho plz check my PR - this bug is fixed in my PR #5


Fix rename of columns after a summarise

We can´t be sure the order of columns after a summarise is performed by
polars. So using a proper rename makes sure that we are rename the
correct - named - column.
Fixes https://github.com/elixir-nx/explorer/issues/310

Maybe as a fix it would be better if we guaranteed that summarize has the given order? Or is that not possible? We may have a similar issue with mutate too, as it has a similar API.

Apparently polars does not guarantee an order, so I think this is the correct approach. I will just push a tiny improvement.

@josevalim awesome! I can't approve my own PR, but I assume I can merge now, right? :smile:


protoc: not found

Hi!
I encountered this problem when compiling protoc. I followed the steps. Why is this?
“Compiling protos in /home/dl4/jyw/avod-master/avod/protos
avod/protos/run_protoc.sh: 8: avod/protos/run_protoc.sh: protoc: not found”

sudo apt-get install  protobuf-compiler


StableHorde API

There are a few available but not sure whether they'll actually be kept maintained... The swagger for the api is out there so we can try to shift to an in house version.

https://stablehorde.net/api/


Brave 5.8.0

cc @adriancole
btw, seems I don't have permission to merge this one.

intentional :D
On Wed, Oct 9, 2019, 1:28 PM Jorge Quilcate Otoya<EMAIL_ADDRESS>wrote:

cc @adriancole https://github.com/adriancole
btw, seems I don't have permission to merge this one.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/openzipkin/brave-webmvc-example/pull/38?email_source=notifications&email_token=AAAPVV6SVYIR6JQTFAUEPF3QNYPFJA5CNFSM4I5NEN4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAY3PGQ#issuecomment-540129178,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAPVV3IUC44ZHLXRRBA5C3QNYPFJANCNFSM4I5NEN4A
.

try now!


docs: Update the documentation and add usage examples

:tada: This PR is included in version 2.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


PHP 5.2.17 phpbrew command fail with syntax error

Output
PHP Parse error:  syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING or '(' in /usr/bin/phpbrew on line 8

Command
phpbrew --debug ext install gd

phpbrew list

Platform
OS: Ubuntu 14.04 64b
Running PHP: 5.2.17
PHP.INI with detect_unicode=off patch

sorry, phpbrew needs php 5.3+ to run. (phar was introduced since php 5.3)

thanks.
but how can I install GD extension into old 5.2.17 version?

http://php.net/manual/en/image.installation.php


Absence of Offline Ads Management Support in Shaka Player for Primarily Offline Solutions

Have you read the Tutorials?
Yes
Have you read the FAQ and checked for duplicate open issues?
Yes
What version of Shaka Player are you using?
3
Please ask your question
The Shaka Player has solidified its reputation as a versatile media player that excels across various platforms. However, a critical functionality appears to be missing from its feature set, particularly for solutions that primarily operate offline: the capacity to manage and display advertisements (ads) in an offline environment.
In contexts where offline content consumption takes precedence, such as applications intended for low-connectivity environments or scenarios where users prefer downloaded content, offline ad support is crucial. Integrating this capability within Shaka Player could open new avenues for content monetization and improve user engagement for primarily offline solutions.

While waiting for an official implementation, would it be possible to explore workarounds or unconventional methods to manually integrate offline advertisement management into my codebase using Shaka Player? Are there any potential resources or insights you can provide to assist in this endeavor?

Thank you for your commitment to the Shaka Player project. We eagerly anticipate your guidance and input on the possibility of incorporating offline advertisement management capabilities into primarily offline solutions and any interim measures that could be explored.

Currently no one is working on this part and Shaka's maintainer team is not focused on providing this functionality. If anyone in the community is interested in working on it, we will be happy to review the designs and PR.
None of us have had the need for this scenario, so I can't guide you in a correct way to solve it, I'm sorry.

Ok, thanks.


$(this) not working inside of .api().

Hi.
I have this code:
$('.like.icon')
  .api({
    url: '/',
    method: 'POST',
    data: {
      id: $(this).attr('post-id'),
    }
  });
;

I have this element in my template:
<form method="post">

     Like

</form>

The idea is I have multiple posts with the same element (same class), but with different post-id, of course.
When a user click on one of that elements, I need to be able to get the post-id attribute from that clicked element, so I need to use $(this), but it's not working.
I've tested on .click() event:
$('.like.icon').click(function() {
    console.log($(this).attr('post-id'));
});

and It's working perfectly, but when I use the .api() is returning undefined.
Can someone explain me why it's not working? Am I doing something wrong?

Hi @cythgear, you don’t have to do any of that, you can set up a url with parameters instead, which is described in the “Attaching API events” section on this page. Here’s an example: https://jsfiddle.net/e0nbdpyh/ data-id will be automatically sent with the request—you can open the “Network” tab of your browser’s developer tools to see the request.
If you have more questions, I’ll be happy to answer them either in this thread, or in our Gitter chatroom.

Thanks!


Align detect_helper with log message change

"unknown func " log message, produced by  BPF verifier may change in future to  "program of this type cannot use helper ". Corresponding kernel change:
<EMAIL_ADDRESS>

@mykyta5 Thanks for the update! Did this get merged into linus's tree yet or just bpf-next?

@mykyta5 Thanks for the update! Did this get merged into linus's tree yet or just bpf-next?

just bpf-next.

Maybe let's wait until it hits mainline / linus - Not sure if I'm being overly cautious (cc @ajor @viktormalik @danobi)

Maybe let's wait until it hits mainline / linus - Not sure if I'm being overly cautious (cc @ajor @viktormalik @danobi)

Yeah, let's wait for the patch to be merged to Linus' tree.


fix(app): properly manage the ipcRenderer notify event emitter

Closes RQA-2459

Overview
Do not instantiate new notification ipcRenderer event listeners for each component that intends to subscribe to the notification server. Instead re-use the same ipcRenderer listener. This not only reduces the number of emitters created, but fixes a bug in which ipcRenderer listeners were not properly disposed.

Test Plan

Verified via Chrome console that there is no memory leak warning, which often appears after navigating to the devices page or the robot details page.
Verified via smoke test that notifications still work as expected.
Using this build of the app, update a robot on the devices tab via the robot update banner, click a lot, let the app sit on the device details page for a while, etc. etc., and verify the app doesn't whitescreen.

Changelog

Fixed a memory leak.

Review requests

Read the ticket if you'd like more context. I've asked QA to try and repro this as well. Regardless of whether or not this actually solves the whitescreen (although I think this does), this should make it into 7.2.1.

Risk assessment
medium-low. The code touches the app's ipcRenderer for notifications, but it's pretty straightforward: if notifications still work as expected, we're good.

We explicitly prevent testing of remote.ts, since it breaks all our Jest tests, meaning writing a unit test for appShellListener requires moving it out remote.ts and doing some import/export changes. This seems like a big workaround for Jest considering we no longer use it in edge. My plan is to do the 7.2.1 mergeback into edge with the unit test, but I'm open to suggestions if we think it's worth changing the plan.


Fixed issue where input is cut off on mobile

On mobile devices, the input is off-screen, due to the fixed width set by its parent.

Before

After

Thank you for the screenshots and the pull request!
Merging (and at some point this will get re-deployed.)


Automated installation fails due to interactions with existing .local/lib/python2.7/site-packages/

I originally installed gemini from source, but then decided to try the anaconda-based auto-install to see if that would solve an issue I was having.
I assumed the anaconda environment would be isolated from other python installs, but this wasn't the case. The auto-install ran into trouble due to interactions with ~/.local/bin and ~/.local/lib/python2.7/site-packages.
In my first attempt, the auto-install completed successfully, but when I went to run gemini, the executable anaconda/bin/gemini was missing. This was resolved after I deleted ~/.local/bin/gemini and re-ran the automated install from scratch.
Next, the install again completed, but when I launched the gemini tests, they all failed with weird errors:
Are you trying to `import zmq` from the pyzmq source dir?
Traceback (most recent call last):
  File "/humgen/atgu1/fs03/weisburd/gemini_install/bin/gemini", line 6, in <module>
    gemini.gemini_main.main()
  File "/humgen/atgu1/fs03/weisburd/gemini_install/anaconda/lib/python2.7/site-packages/gemini/gemini_main.py", line 1141, in main
    args.func(parser, args)
  File "/humgen/atgu1/fs03/weisburd/gemini_install/anaconda/lib/python2.7/site-packages/gemini/gemini_main.py", line 134, in load_fn
    import gemini_load
  File "/humgen/atgu1/fs03/weisburd/gemini_install/anaconda/lib/python2.7/site-packages/gemini/gemini_load.py", line 11, in <module>
    from cluster_helper.cluster import cluster_view
  File "/home/unix/weisburd/.local/lib/python2.7/site-packages/ipython_cluster_helper-0.4.3-py2.7.egg/cluster_helper/cluster.py", line 21, in <module>
    from IPython.parallel import Client
  File "/home/unix/weisburd/.local/lib/python2.7/site-packages/ipython-3.0.0-py2.7.egg/IPython/parallel/__init__.py", line 21, in <module>
    import zmq
  File "/home/unix/weisburd/.local/lib/python2.7/site-packages/zmq/__init__.py", line 62, in <module>
    raise ImportError("%s\nAre you trying to `import zmq` from the pyzmq source dir?" % e)
ImportError: /home/unix/weisburd/.local/lib/python2.7/site-packages/zmq/utils/initthreads.so: undefined symbol: PyUnicodeUCS2_DecodeUTF8

The auto-install only worked after I moved aside ~/.local and reinstalled from scratch one more time. Now all tests pass.
A possible work around (other than deleting ~/.local/) might be to use export PYTHONNOUSERSITE=1 as described in  https://github.com/conda/conda/issues/394 although I haven't tested this.

hi @bw2 is PYTHONHOME or PYTHONPATH set? @chapmanb recently commited a fix for this.

@brentp I did add some unrelated directories to my PYTHONPATH, but AFAIK those didn't change anything.  I just double-checked, and python is automatically adding '~/.local/lib/python2.7/site-packages' to sys.path regardless of what PYTHONPATH is set to, so I'm not sure that   https://github.com/arq5x/gemini/commit/cf5340acbac5583cf0e0ddf9a2fe4aa602e296ea will help.

Thanks much for the tip on PYTHONNOUSERSITE, that is a really useful option I didn't know about. I added documentation about that and added it to the variables we scrub during installation, as well as ignoring it explicitly when calling the GEMINI script with the -s flag. If you run an update --devel or add the -s flag manually to the anaconda/bin/gemini command, I hope that will resolve your issue and skip using the .local directory at all. Thanks again for the tips and feedback.

Thanks for the quick response @chapmanb. I didn't know about the -s option - that's going to be really useful.
I updated, but am now getting
$ gemini
Unknown option: -
usage: /humgen/atgu1/fs03/weisburd/gemini_install/anaconda/bin/python [option] ... [-c cmd | -m mod | file | -] [arg] ...
Try `python -h' for more information.

where the gemini script starts with:
#!/humgen/atgu1/fs03/weisburd/gemini_install/anaconda/bin/python -E -s

This seems to be an issue with how my shell handles shebangs, and the only work around I can find is described here:
http://stackoverflow.com/questions/17458528/why-does-this-snippet-work

Ben;
Apologies, that is my fault. I pushed a fix which uses the shortened syntax (-Es) which seems to avoid the problem. Hope that fixes everything for you.

Oh nice! That does fix it.
Thanks
-Ben

@arq5x or @chapmanb can close this.


Fix missing notify-send command for nix

This adds the notify-send command which I've noticed is needed for mautgen theme generation

we did this in the latest update to astal, thanks for the PR though


Change name to AtChem2

Change every occurrence of 'atchem' to 'atchem2', including changing file names.

This will fail tests, as the name of the repo hasn't been changed yet.

@rs028. I think I have now completed the transfer to the name AtChem2, including changing it in the wiki, and renaming the repository and organisation.

Change your local repo: update to the latest version, rename the folder to atchem2, and update your remotes:

git remote -v

then for each remote, e.g. origin, do
git remote set-url origin https://github.com/rs028/AtChem2.git

or for the upstream,
git remote set-url upstream https://github.com/AtChem2/AtChem2.git

After that, update any bookmarks or anything you have, and we're done! The old links should continue to work, but it's best to update them as another user could potentially make a new one with our old name! Any questions, shout.

All looking good. Just one question: Would it make sense to keep the name of the organization as AtChem and only change the name of the repo to AtChem2? I am thinking that maybe in the future the web interface, if they will want to rebuild it, could be hosted in the same organization in its own repo. What do you think?

I'm loathe to do that right now, as I've just changed it, but it sounds a good idea if they do want to do that in the future. For now, the GitHub organisation doesn't include AtChem online, so it might be less confusing if the name doesn't suggest otherwise?

Fair enough. For my reference, if I need to do that in the future, changing the name of the organization is done via the web interface (settings) and then updating the git remotes? or is it more complicated?

Yep, it's as simple as that. 😄
https://help.github.com/articles/renaming-an-organization/


(maint) Update lookup help to specify running on master

Prior to this commit, the --help message for lookup did not make it
clear that lookup needs to be run on a puppet master or a masterless
node. Update the docs to reflect this fact so the workflow is more
clear to users.

Whoops, accidentally targeted master. Closing this to open a new pull request.


search:matches result cannot be used in multiple triples construct query

search:matches result cannot be used in multiple triples construct query.
For example if I have normal SELECT query:
select * where {
?sub search:matches [
     search:query "abc1" ;
    ........ cut........
    ]
}

I have correct result. The same if I use single triple CONSTRUCT query:
construct {
?sub a <urn:types/MyType> .
} where {
   ?sub search:matches [
   ....... cut .........

However when I try to build multiple triples CONSTRUCT query:
construct {
?sub a <urn:types/MyType> .
?sub <urn:types/score> ?score .
}

all subjects are binded to ?sub variable.
This issue is probably related to #220 and probably @pulquero response will fix that.

Closed as it is related to issue #220


Show Provide/Inject in devtools

This actually helps what component provides the data and show the inject values from the parent component

Note: injected data is now shown

Thanks


Data not match with netstat

In netstat
netstat -tnlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 <IP_ADDRESS>:27017           <IP_ADDRESS>:*               LISTEN      2045/mongod
tcp        0      0 <IP_ADDRESS>:3306         <IP_ADDRESS>:*               LISTEN      8789/mongosqld
tcp        0      0 <IP_ADDRESS>:22              <IP_ADDRESS>:*               LISTEN      1513/sshd
tcp        0      0 <IP_ADDRESS>:25            <IP_ADDRESS>:*               LISTEN      1726/master
tcp        0      0 <IP_ADDRESS>:10050           <IP_ADDRESS>:*               LISTEN      43154/zabbix_agentd
while in ss
ss -tl
State      Recv-Q Send-Q                                                       Local Address:Port                                                                        Peer Address:Port
LISTEN     0      128                                                                      *:27017                                                                                :
LISTEN     0      8192                                                           *:mysql                                                                                :
LISTEN     0      128                                                                      *:ssh                                                                                :
LISTEN     0      100                                                              <IP_ADDRESS>:smtp                                                                                :
LISTEN     0      128                                                                      *:10050                                                                                :
In in zabbix value is diff.

I don't see the issue. Can you please clarify? You ss and netstat samples only appear to include LISTEN sockets. The zabbix graph shows the sum of all sockets.

yes, then how to get listen socket send or receive using zabbix.

@cavaliercoder  sorry my bad, i was using key sockets.recvq[tcp] in zabbix and on server i was checking data  netstat -tnlp that is why recv-Q data was diff, I forgot to add sockets.recvq[tcp,LISTEN].
Thats man.


objectMapper.readValue does not work for classes which extends hashmap

Expected Behavior
Given :
@io.micronaut.serde.annotation.Serdeable
@Introspected
public class Content extends HashMap<String, String> {
}
Then
final String someContent = """
{
"someKey": "someValue"
}
""";
.......
List contentList = Arrays.asList(objectMapper.readValue(someContent, Argument.of(Content.class)));
Content content = contentList.get(0);
var someValue = content.get("someKey");
assertEquals("someValue", someValue);
Should work.
Actual Behaviour
Content becomes empty.
However :
List contentList = Arrays.asList(objectMapper.readValue(someContent, Argument.mapOf(String.class, String.class)));
HashMap<String, String> content = (HashMap<String, String>) contentList.get(0);
var someValue = content.get("someKey");
assertEquals("someValue", someValue);
Works.
Which does not help me a lot since Content may be an attribute in another class.
Steps To Reproduce

Download example application from GitHub
./gradlew test

Environment Information
JDK : 17
OS : MacOS
Example Application
https://github.com/oddaolse/serdedemo
Version
4

It is a rather annoying error. If I have not explained it - please give instructions on how to submit this which seams like a bug.

How do you expect it to work? Does it work with Jackson?
The best would be to write a custom deserializer.

Hi. I expect it to work as described in "Expected behaviour". Let me know if it is unclear. The link to github contains a small project which shows what fails.
Yes. It works with Jackson.
I am implementing a custom deserializer as a workaround. The deserialize works. However - since I  have "implements Serde" I have to implement both deserialize and serialize. And the serialize part I am struggeling with.

I implemented workaround - custom deserializer. I will close this, even if I still consider it as a bug.


Bug: Not Working on IOS  - Not copying

Location: http://jdc20181.github.io/SpeedTest/speedtest.html
Important It only occurs on the MOBILE site, which is redirected automatically on mobile devices.
Additionally, To repoduce you MUST use a IOS device, works fine on Android devices, as well as Windows.
You will automatically be redirected to the mobile site.
The code is IDENTICAL to the desktop version. Only differences are in progress and will be visual.
What the code Should do:
Copy the text from the following:

It should give a snackbar notification of success - if successful.
And don't say it!!
I did that! I tried pasting to see if copied maybe the Snackbar didn't work.
So Far the browsers I have tested: Safari, Chrome.  All are up to date to the latest version. I am running IOS 10.2 (whatever is the latest) on a Iphone 7 +
Any solutions would be great.
Thanks!

+1

+1

Just tested this URL you sent on iPhone and iPad both on iOS 10.2, both work normally.

Also check v1.6.0 for new iOS fixes.

You shouldn't have closed it until I checked but it finally worked - just a
FYI idk what I did. Anyways the code didn't change any it must have been a
connection issue with the server and CDN but others +1 the issue so be sure
to keep a open eye.
On Wed, Feb 8, 2017 at 3:04 AM Zeno Rocha<EMAIL_ADDRESS>wrote:

Also check v1.6.0 for new iOS fixes.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/zenorocha/clipboard.js/issues/362#issuecomment-278257682,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMphButENzmPswd4-FgFxB5zWTTnY-Iqks5raXcEgaJpZM4LZT20
.

I'll, thanks!

+1

@yijiaqingilm this issue is closed and the url that the originator used is no longer accessable.
I have just tested the demo site using an iPad and it is working perfectly. If you have issues, then you have to create a JSBin so we can see your code that demonstrates your issue.


[feature] Friendlier checking of validator directive names

Angular builtin validators are suffixed with Validator, not Directive.
Would it be possible to allow directives to follow that, as long as they implement the Validator interface?

it seems to make sense. I'm ok.

I had thought about that, but as you say, its not context dependent.  I prefer the second option even if it's not extensible.
We should also manage the case of AsyncValidator.

Yes, the second option seems the way to go.
And in addition to AsyncValidator, suffix ValueAccesor for the ControlValueAccessor interface.
I've checked the Angular API for more interesting directive naming cases and I don't see any other naming schema of interest for developers. Either they begin with Ng (which seems to give them permission to skip the naming guidelines) or are too core to think someone will need to do anything similar.
And if someone does, well, after all you are not following the guidelines, so a lint is what you deserve. :)

mhm, i'm not in favour of implementing a rule for a ControlValueAccessor . For me, it's just a Component with a specific behaviour. @mgechev , an opinion ?

The check would be for directives implementing that interface, allowing/forcing them to have the right suffix in their name.
That is, leaving components alone.

@wKoza, this sounds good.

Will take this one right now.


ValueFromRemainingArguments parameters in compiled cmdlets such as Write-Host break a hashtable argument into key-value pairs

Closely related to #2035.
It seems to me that, again, advanced functions behave correctly, while compiled cmdlets do not.
Hashtables are generally treated as scalars in PowerShell.
Therefore, when passing a hashtable as an argument, it should bind as a whole.
Using the example of cmdlet Write-Host, which applies .ToString() to each of its arguments, and a seemingly analogous Write-Host2 advanced function:
Steps to reproduce
# Call Write-Host with a hashtable.
Write-Host @{ one=1; two = 2 }
# Define an analogous advanced function and call it the same way.
Function Write-Host2 { param([parameter(ValueFromRemainingArguments)] $Object) $Object[0].ToString() }
Write-Host2  @{ one=1; two = 2 }

Expected behavior
System.Collections.Hashtable
System.Collections.Hashtable

Actual behavior
System.Collections.DictionaryEntry System.Collections.DictionaryEntry
System.Collections.Hashtable

Cmdlet Write-Host bound the hashtable entries (key-value pairs) individually to the ValueFromRemainingArguments parameter.
Environment data
PowerShell Core v6.0.0-beta.5 on macOS 10.12.6
PowerShell Core v6.0.0-beta.5 on Ubuntu 16.04.3 LTS
PowerShell Core v6.0.0-beta.5 on Microsoft Windows 10 Pro (64-bit; v10.0.15063)
Windows PowerShell v5.1.15063.483 on Microsoft Windows 10 Pro (64-bit; v10.0.15063)

It is not binding problem. Write-Host itself enumerate every IEnumerable, when it generate string for printing.

Good find, @PetSerAl, thanks - closing this.


Follow convention for LeetHub Explore Card

@SysSn13 LeetHub explore card should also include problem link and problem name. Could you please check to see if this is possible? See this. Currently, this is how solving an explore card looks like. @tuminzee can u take a look at this since u worked on the new format.
Overall, this release looks solid! Good job both of u :D

sure I will take a look;


Parse schema names instead of model only

The current version of prance resolver could not return schema names when it resolves ref links. In order to solve that problem there are several solutions:

Make some changes to prance library
Use another package
Write a custom resolver for that functionality

@yoyossef also suggested adding ref as a field of schema

Is there a workaround to currently get the schema name of a ref ?

Hey @emelymw, nope, currently there is no workaround since the initial parsing is out of the scope of this package.


Support return nullable value.

The return value type supports:

Future<String?>
Future<User?>
Future<HttpReponse<String?>>
etc.

fix #335


timeline: init at 2.4.0

Motivation for this change
i want to use the package

Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

Right now it crashes with this error:
[davidak@gaming:~/code/nixpkgs]$ timeline
Traceback (most recent call last):
  File "/nix/store/ym3y2jcpkk3hfvh0j8argw46wd82635v-timeline-2.4.0/bin/.timeline-wrapped", line 64, in <module>
    start_wx_application(application_arguments)
  File "/nix/store/ym3y2jcpkk3hfvh0j8argw46wd82635v-timeline-2.4.0/lib/python3.8/site-packages/timelinelib/wxgui/setup.py", line 39, in start_wx_application
    main_frame = MainFrame(application_arguments)
  File "/nix/store/ym3y2jcpkk3hfvh0j8argw46wd82635v-timeline-2.4.0/lib/python3.8/site-packages/timelinelib/wxgui/frames/mainframe/mainframe.py", line 74, in __init__
    self._create_gui()
  File "/nix/store/ym3y2jcpkk3hfvh0j8argw46wd82635v-timeline-2.4.0/lib/python3.8/site-packages/timelinelib/wxgui/frames/mainframe/guicreator.py", line 49, in _create_gui
    self._create_main_panel()
  File "/nix/store/ym3y2jcpkk3hfvh0j8argw46wd82635v-timeline-2.4.0/lib/python3.8/site-packages/timelinelib/wxgui/frames/mainframe/guicreator.py", line 57, in _create_main_panel
    self.main_panel = MainPanel(self, self.config, self)
  File "/nix/store/ym3y2jcpkk3hfvh0j8argw46wd82635v-timeline-2.4.0/lib/python3.8/site-packages/timelinelib/wxgui/components/mainpanel.py", line 67, in __init__
    self._create_gui()
  File "/nix/store/ym3y2jcpkk3hfvh0j8argw46wd82635v-timeline-2.4.0/lib/python3.8/site-packages/timelinelib/wxgui/components/mainpanel.py", line 213, in _create_gui
    self.searchbar = SearchBar(self)
  File "/nix/store/ym3y2jcpkk3hfvh0j8argw46wd82635v-timeline-2.4.0/lib/python3.8/site-packages/timelinelib/wxgui/components/searchbar/view.py", line 52, in __init__
    self._create_gui()
  File "/nix/store/ym3y2jcpkk3hfvh0j8argw46wd82635v-timeline-2.4.0/lib/python3.8/site-packages/timelinelib/wxgui/components/searchbar/guicreator/guicreator.py", line 26, in _create_gui
    self._create_components()
  File "/nix/store/ym3y2jcpkk3hfvh0j8argw46wd82635v-timeline-2.4.0/lib/python3.8/site-packages/timelinelib/wxgui/components/searchbar/guicreator/guicreator.py", line 43, in _create_components
    components.CloseButton(self)
  File "/nix/store/ym3y2jcpkk3hfvh0j8argw46wd82635v-timeline-2.4.0/lib/python3.8/site-packages/timelinelib/wxgui/components/searchbar/guicreator/components/closebutton.py", line 34, in __init__
    parent.AddTool(wx.ID_CLOSE, LABEL, self._bmp(parent), shortHelp=HELP_TEXT)
  File "/nix/store/ym3y2jcpkk3hfvh0j8argw46wd82635v-timeline-2.4.0/lib/python3.8/site-packages/timelinelib/wxgui/components/searchbar/guicreator/components/closebutton.py", line 41, in _bmp
    return wx.ArtProvider.GetBitmap(wx.ART_CROSS_MARK, wx.ART_TOOLBAR, parent._icon_size)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x88 in position 2: invalid start byte

Result of nixpkgs-review pr 120453 run on x86_64-linux 1

5 packages built:

python38Packages.humblewx
python38Packages.pysvg-py3
python39Packages.humblewx
python39Packages.pysvg-py3
timeline

Result of nixpkgs-review pr 120453 at 6dacc710 run on x86_64-linux 1

3 packages failed to build:

python38Packages.pysvg-py3
python39Packages.pysvg-py3
timeline

2 packages built successfully:

python38Packages.humblewx
python39Packages.humblewx

2 suggestions:

warning: python-include-tests
Consider adding a checkPhase for tests, or if not feasible, pythonImportsCheck.
Near pkgs/development/python-modules/humblewx/default.nix:34:0:
   |
34 |     description = "Library that simplifies creating user interfaces with wxPython";
   | ^

warning: python-inconsistent-interpreters
Between buildPythonPackage and propagatedBuildInputs, this derivation seems
to be simultaneously trying to use packages from multiple different Python package sets.
Mixing package sets like this is not supported.
Detected Python packages:

python3-3.8.8
python3-3.9.2

Note that build failures may predate this PR, and could be nondeterministic or hardware dependent.
Please exercise your independent judgement.

Result of nixpkgs-review pr 120453 run on x86_64-linux 1

5 packages built:

python38Packages.humblewx
python38Packages.pysvg-py3
python39Packages.humblewx
python39Packages.pysvg-py3
timeline

@rmcgibbo would you be so kind and retest on ARM?

Result of nixpkgs-review pr 120453 run on x86_64-linux 1

1 package built:

timeline

I have rebased and fixed the merge conflict.
Also used it the last days and tested every feature. It works perfectly.
Can we get it merged?

the nix-shell failure is because the PYTHONPATH is including packages from both interpreters:
  File "/nix/store/8h7dh80qxvg0bsbp1rxb9k3854ngxdk0-timeline-2.4.0/lib/python3.8/site-packages/timelinelib/meta/about.py", line 22, in <module>
    import wx.adv
  File "/nix/store/ii08mxqpcxlywbpirqjk4pnydi9l3b5d-python3.9-wxPython-4.0.7.post2/lib/python3.9/site-packages/wx/__init__.py", line 17, in <module>
    from wx.core import *

This shouldn't be the case in practice

@jonringer can you review again?


Create Mean Variance Error Estimator

Closes https://github.com/enjine-com/mcos/issues/9

The tests didn't need to be updated?
On Mon, Feb 3, 2020 at 2:47 PM Andrew Stanley<EMAIL_ADDRESS>wrote:

@andystanley commented on this pull request.
In mcos/error_estimator.py
https://github.com/enjine-com/mcos/pull/22#discussion_r374303990:

@@ -15,3 +15,17 @@ def estimate(self, mu: np.array, cov: np.array, allocation: np.array, optimal_al
@return
"""
pass

+class ExpectedOutcomeErrorEstimator(AbstractErrorEstimator):

"""Error Estimator that calculates the mean difference in expected outcomes"""

def estimate(self, mu: np.array, cov: np.array, allocation: np.array, optimal_allocation: np.array) -> float:

   return np.dot(optimal_allocation - allocation, mu)

+class VarianceErrorEstimator(AbstractErrorEstimator):

"""Error Estimator that calculates the mean difference in variance"""

def estimate(self, mu: np.array, cov: np.array, allocation: np.array, optimal_allocation: np.array) -> float:

   return np.dot(optimal_allocation - allocation, np.dot(optimal_allocation - allocation, cov))

Updated
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/enjine-com/mcos/pull/22?email_source=notifications&email_token=AAXTIXM7USYIESA7PJSNMELRBBYEDA5CNFSM4KNJ6JVKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCUBPKSI#discussion_r374303990,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAXTIXMDV66RD3J2QT77DRLRBBYEDANCNFSM4KNJ6JVA
.

The tests didn't need to be updated?

@moneygeek nope. I guess the order didn't matter? Tests still passes with the same value.

Right, I forgot that covariance matrices are symmetric, so it doesn't
matter. Thanks.
On Mon, Feb 3, 2020 at 2:53 PM Andrew Stanley<EMAIL_ADDRESS>wrote:

The tests didn't need to be updated?
@moneygeek https://github.com/moneygeek nope. I guess the order didn't
matter? Tests still passes with the same value.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/enjine-com/mcos/pull/22?email_source=notifications&email_token=AAXTIXOE3R6LSVVNARBQ54DRBBY3PA5CNFSM4KNJ6JVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKVFOBA#issuecomment-581588740,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAXTIXKUSLRKT5UC3SQPAUTRBBY3PANCNFSM4KNJ6JVA
.


⚠ gorzdrav.org has degraded performance

In 1fb910b, gorzdrav.org (https://gorzdrav.org) experienced degraded performance:

HTTP code: 200
Response time: 2710 ms

Resolved: gorzdrav.org performance has improved in 86a03bd.


Unable to run

Hi Jim,
I'm run node9 it fails with the following stdout:
$ node9 First Edition (20150610), build:<PHONE_NUMBER>  main (pid=41700)
Tue Jun 16 03:48:07 2015  node9/kernel: initializing terminal
Tue Jun 16 03:48:07 2015  node9/kernel: loading
Tue Jun 16 03:48:07 2015  node9/kernel: initializing namespace
Tue Jun 16 03:48:07 2015  node9/kernel: binding standard streams
Tue Jun 16 03:48:07 2015  node9/kernel: initializing host environment
Tue Jun 16 03:48:07 2015  node9/kernel: accepting requests
Tue Jun 16 03:48:07 2015  node9/kernel: starting luaspace ...
Tue Jun 16 03:48:07 2015  signals set
Tue Jun 16 03:48:07 2015  node9: pcall: did not exit cleanly, err = 2
Tue Jun 16 03:48:07 2015

FATAL ERROR:
  node9/init: could not start lua scheduler: /Users/serega/devel/node9/src/fs/os/lib/kernel.lua:19: module 'pl.List' not found:
	no field package.preload['pl.List']
	no file '/Users/serega/devel/node9/src/fs/os/init/pl/List.lua'
	no file '/Users/serega/devel/node9/src/fs/os/lib/pl/List.lua'
	no file './pl/List.lua'
	no file '/usr/local/share/luajit-2.0.3/pl/List.lua'
	no file '/usr/local/share/lua/5.1/pl/List.lua'
	no file '/usr/local/share/lua/5.1/pl/List/init.lua'
	no file './pl/List.so'
	no file '/usr/local/lib/lua/5.1/pl/List.so'
	no file '/usr/local/lib/lua/5.1/loadall.so'
	no file './pl.so'
	no file '/usr/local/lib/lua/5.1/pl.so'
	no file '/usr/local/lib/lua/5.1/loadall.so'

Where can I get that "pl" module?

Sergil...
Sorry.  I forgot that you need the 'penlight' library for Lua.  It's
available at most Lua repositories.  Google it.
Are you running on OSX?
Jim
On Mon, Jun 15, 2015 at 10:56 PM, Sergii Rudchenko<EMAIL_ADDRESS>
wrote:

Hi Jim,
I'm run node9 it fails with the following stdout:
$ node9 First Edition (20150610), build:<PHONE_NUMBER>  main (pid=41700)
Tue Jun 16 03:48:07 2015  node9/kernel: initializing terminal
Tue Jun 16 03:48:07 2015  node9/kernel: loading
Tue Jun 16 03:48:07 2015  node9/kernel: initializing namespace
Tue Jun 16 03:48:07 2015  node9/kernel: binding standard streams
Tue Jun 16 03:48:07 2015  node9/kernel: initializing host environment
Tue Jun 16 03:48:07 2015  node9/kernel: accepting requests
Tue Jun 16 03:48:07 2015  node9/kernel: starting luaspace ...
Tue Jun 16 03:48:07 2015  signals set
Tue Jun 16 03:48:07 2015  node9: pcall: did not exit cleanly, err = 2
Tue Jun 16 03:48:07 2015
FATAL ERROR:
node9/init: could not start lua scheduler: /Users/serega/devel/node9/src/fs/os/lib/kernel.lua:19: module 'pl.List' not found:
no field package.preload['pl.List']
no file '/Users/serega/devel/node9/src/fs/os/init/pl/List.lua'
no file '/Users/serega/devel/node9/src/fs/os/lib/pl/List.lua'
no file './pl/List.lua'
no file '/usr/local/share/luajit-2.0.3/pl/List.lua'
no file '/usr/local/share/lua/5.1/pl/List.lua'
no file '/usr/local/share/lua/5.1/pl/List/init.lua'
no file './pl/List.so'
no file '/usr/local/lib/lua/5.1/pl/List.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
no file './pl.so'
no file '/usr/local/lib/lua/5.1/pl.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
Where can I get that "pl" module?
—
Reply to this email directly or view it on GitHub
https://github.com/jvburnes/node9/issues/9.

I'll see if I can integrate 'penlight' into the distribution.
Jim
On Mon, Jun 15, 2015 at 10:59 PM, Jim Burnes<EMAIL_ADDRESS>wrote:

Sergil...
Sorry.  I forgot that you need the 'penlight' library for Lua.  It's
available at most Lua repositories.  Google it.
Are you running on OSX?
Jim
On Mon, Jun 15, 2015 at 10:56 PM, Sergii Rudchenko <
<EMAIL_ADDRESS>wrote:

Hi Jim,
I'm run node9 it fails with the following stdout:
$ node9 First Edition (20150610), build:<PHONE_NUMBER>  main (pid=41700)
Tue Jun 16 03:48:07 2015  node9/kernel: initializing terminal
Tue Jun 16 03:48:07 2015  node9/kernel: loading
Tue Jun 16 03:48:07 2015  node9/kernel: initializing namespace
Tue Jun 16 03:48:07 2015  node9/kernel: binding standard streams
Tue Jun 16 03:48:07 2015  node9/kernel: initializing host environment
Tue Jun 16 03:48:07 2015  node9/kernel: accepting requests
Tue Jun 16 03:48:07 2015  node9/kernel: starting luaspace ...
Tue Jun 16 03:48:07 2015  signals set
Tue Jun 16 03:48:07 2015  node9: pcall: did not exit cleanly, err = 2
Tue Jun 16 03:48:07 2015
FATAL ERROR:
node9/init: could not start lua scheduler: /Users/serega/devel/node9/src/fs/os/lib/kernel.lua:19: module 'pl.List' not found:
no field package.preload['pl.List']
no file '/Users/serega/devel/node9/src/fs/os/init/pl/List.lua'
no file '/Users/serega/devel/node9/src/fs/os/lib/pl/List.lua'
no file './pl/List.lua'
no file '/usr/local/share/luajit-2.0.3/pl/List.lua'
no file '/usr/local/share/lua/5.1/pl/List.lua'
no file '/usr/local/share/lua/5.1/pl/List/init.lua'
no file './pl/List.so'
no file '/usr/local/lib/lua/5.1/pl/List.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
no file './pl.so'
no file '/usr/local/lib/lua/5.1/pl.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
Where can I get that "pl" module?
—
Reply to this email directly or view it on GitHub
https://github.com/jvburnes/node9/issues/9.

Yes, I'm on OSX.
I have cloned https://github.com/stevedonovan/Penlight and copied lua/pl to /usr/local/share/lua/5.1
$ git clone git@github.com:stevedonovan/Penlight.git
...
$ mkdir -p /usr/local/share/lua/5.1
$ cp -rv Penlight/lua/pl /usr/local/share/lua/5.1/

Thanks!

Penlight is in node9 repository now, commit 108eb43829e7ed1fdf6c9cbc197035d5aab7821d


Rewrite models.py to load models from huggingface instead

Models:

LLaMa2 7B/13B
Mistral 7B/8x7B
Zephyr 7B

#18


Does not work for Python 2.7 - annotations are invalid syntax

  File "c:\projects\octoprint\venv\lib\site-packages\pyvesync\vesync.py", line 72
    def energy_update_interval(self) -> int:
                                     ^
SyntaxError: invalid syntax

Library only support 3.5+, type hinting is the reason this is failing.  You must have an earlier version of python

Can update the readme to say this? I also ran into this problem when I first started using the library.


Auto populate list of programs

The model currently in QCEngine requires the coder to add their new Python file and then modify two other locations to enable it.  This PR allows the coder to simply add their new Python file to the proper location and have a similarly named function inside of it and that's it.

Codecov Report

Merging #9 into master will increase coverage by 1.23%.
The diff coverage is 100%.

I worry a little that this might catch strays with all the psi4.py, core.so, plugin.sos running around.

What about a qcengine.programs.register_program(alias, function) kind of thing where we have a global dict in the programs folder that we can add to via the above.
Sorry, I didn't get back to this earlier. I had forgotten to watch this repo.

There shouldn't be a problem catching strays as it only imports files from that directory. Doing qcengine.programs.register_program(alias, function) may be a good idea if we ever need multiple entry points in a file. I'll work on changing over to that.

Let me know if you need help getting this in.


Bump to 4.1.0

What
Bump to 4.1.0

#298  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @devinmorgan and the rest of your teammates on  Graphite

Merge activity

Aug 2, 1:14 PM EDT: @devinmorgan merged this pull request with Graphite.


using standard error code to replace terror (#982)

What problem does this PR solve?
cherry-pick #982  to release-4.0
According to RFC, TiDB need to adjust error format and using standard error to replace terror. The standard error has been implemented in https://github.com/pingcap/errors/tree/standard-error
What is changed and how it works?
Since standard error is very similar with terror. We can change very few api to replace the terror. Just rename terror.Error with errors.Error
Check List
Tests

Unit test

Code changes

Has exported function/method change
Has exported variable/fields change

Side effects

Increased code complexity
Breaking backward compatibility

Related changes

None

LGTM


pkg builds wrong centos version

I'm submitting a ...

bug report
other

Traffic Control components affected ...

CDN in a Box
Build

Current behavior:
When using pkg to build centos8 rpms followed by centos7 rpms, it uses the centos8 docker image and thus skips centos7 rpms.
Expected behavior:

Both EL7 and EL8 rpms should be generated.
Minimal reproduction of the problem with instructions:

Remove all existing docker data:
(docker ps -qa | xargs docker rm -f;) && (docker image list -qa | xargs docker image rm -f;) && (docker system prune -a -f --volumes)
./pkg -a -v -8 && ./pkg -a -v -7

Anything else:

I'm not positive if this is because of the local cache being outdated, or because we only publish one image to dockerhub which happens to be centos8.  The fix I think is the same regardless by including the centos version in the image name since our tags only use the word master

Super weird, but I think this may actually have something to do with linux vs osx.

Ok, further pinpointed it down to using sudo with pkg, which I can just drop for now I believe.


Enhanced Setup Flow

A better on boarding process with in "app" instructions for setup.

I wonder if I could write a script that can extract the token automatically based on the ip/domain?  That would make this 1000 times more user friendly.
But the idea is step by step instructions, even opening ports if you want to access it from outside the network.
But that's like a project on its own.

maybe connect to the api using plex itself? like this project does: https://overseerr.dev/


[19.03] dovecot apply CVE-2019-11500 patches

Motivation for this change
Follow-up on #67623 & #67637
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Notify maintainers
cc @tokudan @rickynils

Successfully ran nix-review for this pr and the tests for dovecot.


Feature/report UI inputs

Addresses #339, #284

Okay, everything should be implemented now and is ready for review.

Should be all good to go now @krmaffey
The navigation bug seems to be a vue bug that is being tracked on the nuxt side here: https://github.com/nuxt/nuxt/issues/13309
The fix that worked for me was just downgrading the version of vue. So to get that version updated in your environment you can navigate to the mlte/frontend/nuxt-app directory and then just run
rm -Rf .nuxt node_modules
npm install
``

Then once those finish `npm run dev` to run the frontend again and it should navigate correctly and not show any console errors.


HBASE-22474 Add --mvn-custom-repo parameter to yetus calls

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
57
Docker mode activated.

_ Prechecks _

0
shelldocs
1
Shelldocs was not available.

+1
@author
0
The patch does not contain any @author tags.

_ master Compile Tests _

_ Patch Compile Tests _

+1
shellcheck
0
There were no new shellcheck issues.

+1
whitespace
0
The patch has no whitespace issues.

_ Other Tests _

+1
asflicense
15
The patch does not generate ASF License warnings.

4965

Subsystem
Report/Notes

Docker
Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-252/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/252

Optional Tests
dupname  asflicense  shellcheck  shelldocs

uname
Linux 7bc0792f2297 3.13.0-153-generic #203-Ubuntu SMP Thu Jun 14 08:52:28 UTC 2018 x86_64 GNU/Linux

Build tool
maven

Personality
/testptch/patchprocess/precommit/personality/provided.sh

git revision
master / 27c02a0b95

maven
version: Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T18:33:14Z)

shellcheck
v0.4.4

Max. process+thread count
42 (vs. ulimit of 10000)

modules
C: . U: .

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-252/1/console

Powered by
Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.


Object position is changing without any logic

I have the following script which is intended to move an object between 2 fixed points with a random nonlinear path(with the addition of middlePathPoint).  However the object starts its motion, irrespective of where I position the transform and does not go along the created path. I would be glad if you can help me with it.
`
[RequireComponent(typeof(PathCreator))]
public class NonlinearMotion : MonoBehaviour
{
public StarAnimationManagerScriptableObject starAnimationManager;

public Transform startTransform;
public Transform endTransform;

public Vector3 initialPathPoint;
private Vector3 middlePathPoint;
public Vector3 lastPathPoint;

float curveDeflaction;
private List<Vector3> waypoints = new List<Vector3>();
private BezierPath bezierPath;

PathCreator pathCreator;

private float speed;

float distanceTravelled = 0;

void Start()
{

    pathCreator = GetComponent<PathCreator>();

    if (pathCreator != null)
    {
        // Subscribed to the pathUpdated event so that we're notified if the path changes during the game
        pathCreator.pathUpdated += OnPathChanged;
    }

    GetPath();

    //if (waypoints.Length > 0)
    //{
    //    // Create a new bezier path from the waypoints.
    //    pathCreator.bezierPath = bezierPath;
    //}

    speed  = starAnimationManager.minStarSpeed + Random.Range(0 , starAnimationManager.starSpeedRange);
}

// Update is called once per frame
void Update()
{
    //distanceTravelled += speed * Time.deltaTime;
    //Debug.Log(pathCreator.path.GetPointAtDistance(distanceTravelled, starAnimationManager.endOfPathInstruction));
    Debug.Log(distanceTravelled);
    transform.position = pathCreator.path.GetPointAtDistance(distanceTravelled);
}

void OnPathChanged()
{
    distanceTravelled = pathCreator.path.GetClosestDistanceAlongPath(transform.position);
}

void GetPath()
{
    initialPathPoint = startTransform.position;
    lastPathPoint = endTransform.position;
    curveDeflaction = Random.Range(-starAnimationManager.curveDeflectionRange, starAnimationManager.curveDeflectionRange);
    middlePathPoint = (initialPathPoint + lastPathPoint) / 2;// + Vector3.right * curveDeflaction;

    Debug.Log(initialPathPoint);
    Debug.Log(middlePathPoint);
    Debug.Log(lastPathPoint);

    waypoints.Add(initialPathPoint);
    waypoints.Add(middlePathPoint);
    waypoints.Add(lastPathPoint);

    bezierPath = new BezierPath(waypoints, isClosed: false, space: PathSpace.xyz);

    if (waypoints.Count > 0)
    {
        // Create a new bezier path from the waypoints.
        pathCreator.bezierPath = bezierPath;
    }

}

}
`

I understood what the problem is. User has to seperate pathCreator from the follower, otherwise the path is dynamically changed and the follower goes to infinity.


Declare protocol version

Shouldn't the protocol version be declared somewhere when initialising the connection to the server? Maybe inside the ClientCapabilities and ServerCapabilities values?
It's not a given that the server is always delivered together with the client, and it is possible that future versions of the protocol will confuse older clients or servers.

Agree. Right no the assumption is made that an extension delivers the client and the server.

I got a little confused -- why is there a 4.0 milestone but not a 3.0 one?

There is a 3.0 implementation coming soon. But this one only fixes issues with the current protocol instead of adding new features. The 3.0 was meant to be a feature milestone which might even be breaking. Hence I renamed it to 4.0.
This being said I added capability flags to the 3.0 version in a compatible way. I choose capability flags instead of protocol version since it makes things more explicit from a client side. You might want to have a look here: https://github.com/Microsoft/language-server-protocol/blob/master/protocol.md#initialize-request with the new ClientCapabilities.
Setting to January since it will come soon.

I see. Then I think it should be specified that all messages may include extra keys, and for compability unknown ones should be ignored. There are implementations that compile the spec to code, an these need to be able to handle data they don't recognise.

Clarified in the protocol spec.